Skip to content

Commit e002d52

Browse files
Merge pull request #10 from gleanwork/speakeasy-sdk-regen-1747101678
chore: 🐝 Update SDK - Generate 0.4.0
2 parents e248a74 + 897c517 commit e002d52

File tree

241 files changed

+94080
-7448
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+94080
-7448
lines changed

.speakeasy/gen.lock

Lines changed: 457 additions & 491 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: true
1818
java:
19-
version: 0.3.0
19+
version: 0.4.0
2020
additionalDependencies: []
2121
additionalPlugins: []
2222
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 1027 additions & 117 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.543.4
1+
speakeasyVersion: 1.546.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
6-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
5+
sourceRevisionDigest: sha256:12025ddda6d78666c39b69cec5ea04504ae09fc142cbdb3c33b0c4018d9e7493
6+
sourceBlobDigest: sha256:2ad51e5bc2b18513ffbe1cce35e497bba4fc3a86bdf55f9ffe2463b8f7e154ee
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746758232
9+
- speakeasy-sdk-regen-1747101678
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
22-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
21+
sourceRevisionDigest: sha256:12025ddda6d78666c39b69cec5ea04504ae09fc142cbdb3c33b0c4018d9e7493
22+
sourceBlobDigest: sha256:2ad51e5bc2b18513ffbe1cce35e497bba4fc3a86bdf55f9ffe2463b8f7e154ee
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:f4812c9938a6c78e0b397b856c155fa3461f1a4ace9146b3fc0054c431526b99
24+
codeSamplesRevisionDigest: sha256:fd65415cb5183d51ecf0fbc2644039ed9a6d99ddd625ffb795de4707f00518ed
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 275 additions & 184 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [java v0.3.0] .
4040
### Releases
41-
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.3.0 - .
41+
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.3.0 - .
42+
43+
## 2025-05-16 18:15:54
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.546.1 (2.604.2) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [java v0.4.0] .
50+
### Releases
51+
- [Maven Central v0.4.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.4.0 - .

USAGE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ public class Application {
1313
public static void main(String[] args) throws Exception {
1414

1515
Glean sdk = Glean.builder()
16-
.apiToken("<YOUR_BEARER_TOKEN_HERE>")
16+
.security(Security.builder()
17+
.actAsBearerToken("<YOUR_API_KEY_HERE>")
18+
.build())
1719
.build();
1820

1921
ChatResponse res = sdk.client().chat().create()
@@ -49,7 +51,9 @@ public class Application {
4951
public static void main(String[] args) throws Exception {
5052

5153
Glean sdk = Glean.builder()
52-
.apiToken("<YOUR_BEARER_TOKEN_HERE>")
54+
.security(Security.builder()
55+
.actAsBearerToken("<YOUR_API_KEY_HERE>")
56+
.build())
5357
.build();
5458

5559
ChatStreamResponse res = sdk.client().chat().createStream()

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ publishing {
103103
// https://github.com/gradle/gradle/issues/18619
104104
groupId = "com.glean.api-client"
105105
artifactId = "glean-api-client"
106-
version = "0.3.0"
106+
version = "0.4.0"
107107

108108
from components.java
109109

docs/models/components/Agent.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
8-
| `author` | [Optional\<Person>](../../models/components/Person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
9-
| `createTimestamp` | *Optional\<Long>* | :heavy_minus_sign: | Server Unix timestamp of the creation time. | |
10-
| `lastUpdateTimestamp` | *Optional\<Long>* | :heavy_minus_sign: | Server Unix timestamp of the last update time. | |
11-
| `lastUpdatedBy` | [Optional\<Person>](../../models/components/Person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
12-
| `id` | *Optional\<String>* | :heavy_minus_sign: | The ID of the agent. | |
13-
| `name` | *Optional\<String>* | :heavy_minus_sign: | The name of the agent. | |
14-
| `permissions` | [Optional\<ObjectPermissions>](../../models/components/ObjectPermissions.md) | :heavy_minus_sign: | N/A | |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `agentId` | *String* | :heavy_check_mark: | The ID of the agent. |
9+
| `name` | *String* | :heavy_check_mark: | The name of the agent |
10+
| `description` | *Optional\<String>* | :heavy_minus_sign: | The description of the agent. |
11+
| `metadata` | [Optional\<AgentMetadata>](../../models/components/AgentMetadata.md) | :heavy_minus_sign: | The agent metadata. |
12+
| `capabilities` | [AgentCapabilities](../../models/components/AgentCapabilities.md) | :heavy_check_mark: | Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability). |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AgentCapabilities
2+
3+
Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability).
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
10+
| `apIoMessages` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether the agent supports Messages as input/output/state. If true, the agent uses the `messages` key in threads/runs endpoints. |
11+
| `apIoStreaming` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether the agent supports streaming output. |
12+
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)