Skip to content

Commit 427c7d1

Browse files
Merge pull request #40 from gleanwork/speakeasy-sdk-regen-1749247134
chore: 🐝 Update SDK - Generate 0.6.1
2 parents 11d92a0 + e21efaf commit 427c7d1

File tree

19 files changed

+54
-44
lines changed

19 files changed

+54
-44
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
33
management:
4-
docChecksum: a0748babeea2c91be038da9e477a97f3
4+
docChecksum: 895c9d213122353173d7c129b2c8d4b7
55
docVersion: 0.9.0
66
speakeasyVersion: 1.551.0
77
generationVersion: 2.610.0
8-
releaseVersion: 0.5.3
9-
configChecksum: f4be71cf1dbe0f8d7bc0a4f061b7c9ce
8+
releaseVersion: 0.6.1
9+
configChecksum: c067068dbea5bbba98f9dfa395498f4b
1010
repoURL: https://github.com/gleanwork/api-client-typescript.git
1111
installationURL: https://github.com/gleanwork/api-client-typescript
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: true
2727
typescript:
28-
version: 0.5.3
28+
version: 0.6.1
2929
additionalDependencies:
3030
dependencies: {}
3131
devDependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,8 @@ paths:
945945
post:
946946
tags:
947947
- Agents
948-
summary: Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
949-
description: Executes an agent run and returns the final response.
948+
summary: Create an agent run and wait for the response
949+
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
950950
operationId: createAndWaitRun
951951
x-visibility: Preview
952952
requestBody:
@@ -7475,11 +7475,11 @@ components:
74757475
input_schema:
74767476
type: object
74777477
title: Input Schema
7478-
description: The schema for the agent input. In JSON schema format.
7478+
description: The schema for the agent input. In JSON Schema format.
74797479
output_schema:
74807480
type: object
74817481
title: Output Schema
7482-
description: The schema for the agent output. In JSON schema format.
7482+
description: The schema for the agent output. In JSON Schema format.
74837483
type: object
74847484
required:
74857485
- agent_id

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.551.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
6-
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
5+
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
6+
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749236901
9+
- speakeasy-sdk-regen-1749247134
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
22-
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
21+
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
22+
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:dbf79590683cfb44f7bb0df22c57219f427a10eb32febfbee5bcd60154d06655
24+
codeSamplesRevisionDigest: sha256:bd42033c370222a0c48a8a5f82ee0cb8007a873c14191c841ab9eb1a64c7e0fe
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ For more information on obtaining the appropriate token type, please contact you
297297
* [retrieveSchemas](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
298298
* [list](docs/sdks/agents/README.md#list) - Search agents
299299
* [runStream](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
300-
* [run](docs/sdks/agents/README.md#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
300+
* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
301301

302302
#### [client.announcements](docs/sdks/announcements/README.md)
303303

@@ -511,7 +511,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
511511
- [`clientAgentsList`](docs/sdks/agents/README.md#list) - Search agents
512512
- [`clientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
513513
- [`clientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
514-
- [`clientAgentsRun`](docs/sdks/agents/README.md#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
514+
- [`clientAgentsRun`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
515515
- [`clientAgentsRunStream`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
516516
- [`clientAnnouncementsCreate`](docs/sdks/announcements/README.md#create) - Create Announcement
517517
- [`clientAnnouncementsDelete`](docs/sdks/announcements/README.md#delete) - Delete Announcement
@@ -650,7 +650,7 @@ To learn about this feature and how to get started, check
650650
- [`useClientAgentsListMutation`](docs/sdks/agents/README.md#list) - Search agents
651651
- [`useClientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
652652
- [`useClientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
653-
- [`useClientAgentsRunMutation`](docs/sdks/agents/README.md#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
653+
- [`useClientAgentsRunMutation`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
654654
- [`useClientAgentsRunStreamMutation`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
655655
- [`useClientAnnouncementsCreateMutation`](docs/sdks/announcements/README.md#create) - Create Announcement
656656
- [`useClientAnnouncementsDeleteMutation`](docs/sdks/announcements/README.md#delete) - Delete Announcement

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,14 @@ Based on:
178178
### Generated
179179
- [typescript v0.5.3] .
180180
### Releases
181-
- [NPM v0.5.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.5.3 - .
181+
- [NPM v0.5.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.5.3 - .
182+
183+
## 2025-06-06 21:58:33
184+
### Changes
185+
Based on:
186+
- OpenAPI Doc
187+
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
188+
### Generated
189+
- [typescript v0.6.1] .
190+
### Releases
191+
- [NPM v0.6.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.6.1 - .

docs/models/components/agentschemas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ let value: AgentSchemas = {
1919
| Field | Type | Required | Description | Example |
2020
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
2121
| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | mho4lwzylcozgoc2 |
22-
| `inputSchema` | [components.InputSchema](../../models/components/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON schema format. | |
23-
| `outputSchema` | [components.OutputSchema](../../models/components/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON schema format. | |
22+
| `inputSchema` | [components.InputSchema](../../models/components/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON Schema format. | |
23+
| `outputSchema` | [components.OutputSchema](../../models/components/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON Schema format. | |

docs/models/components/inputschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# InputSchema
22

3-
The schema for the agent input. In JSON schema format.
3+
The schema for the agent input. In JSON Schema format.
44

55
## Example Usage
66

docs/models/components/outputschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OutputSchema
22

3-
The schema for the agent output. In JSON schema format.
3+
The schema for the agent output. In JSON Schema format.
44

55
## Example Usage
66

docs/sdks/agents/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* [retrieveSchemas](#retrieveschemas) - List an agent's schemas
1010
* [list](#list) - Search agents
1111
* [runStream](#runstream) - Create an agent run and stream the response
12-
* [run](#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
12+
* [run](#run) - Create an agent run and wait for the response
1313

1414
## retrieve
1515

@@ -401,7 +401,7 @@ import {
401401

402402
## run
403403

404-
Executes an agent run and returns the final response.
404+
Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
405405

406406
### Example Usage
407407

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@gleanwork/api-client",
5-
"version": "0.5.3",
5+
"version": "0.6.1",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gleanwork/api-client",
3-
"version": "0.5.3",
3+
"version": "0.6.1",
44
"author": "Speakeasy",
55
"type": "module",
66
"tshy": {

src/__tests__/mockserver/internal/sdk/models/components/agentschemas.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/funcs/clientAgentsRun.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import { APICall, APIPromise } from "../types/async.js";
2424
import { Result } from "../types/fp.js";
2525

2626
/**
27-
* Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
27+
* Create an agent run and wait for the response
2828
*
2929
* @remarks
30-
* Executes an agent run and returns the final response.
30+
* Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
3131
*/
3232
export function clientAgentsRun(
3333
client: GleanCore,

src/lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6464
export const SDK_METADATA = {
6565
language: "typescript",
6666
openapiDocVersion: "0.9.0",
67-
sdkVersion: "0.5.3",
67+
sdkVersion: "0.6.1",
6868
genVersion: "2.610.0",
6969
userAgent:
70-
"speakeasy-sdk/typescript 0.5.3 2.610.0 0.9.0 @gleanwork/api-client",
70+
"speakeasy-sdk/typescript 0.6.1 2.610.0 0.9.0 @gleanwork/api-client",
7171
} as const;

src/models/components/agentschemas.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { Result as SafeParseResult } from "../../types/fp.js";
99
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
1010

1111
/**
12-
* The schema for the agent input. In JSON schema format.
12+
* The schema for the agent input. In JSON Schema format.
1313
*/
1414
export type InputSchema = {};
1515

1616
/**
17-
* The schema for the agent output. In JSON schema format.
17+
* The schema for the agent output. In JSON Schema format.
1818
*/
1919
export type OutputSchema = {};
2020

@@ -27,11 +27,11 @@ export type AgentSchemas = {
2727
*/
2828
agentId: string;
2929
/**
30-
* The schema for the agent input. In JSON schema format.
30+
* The schema for the agent input. In JSON Schema format.
3131
*/
3232
inputSchema: InputSchema;
3333
/**
34-
* The schema for the agent output. In JSON schema format.
34+
* The schema for the agent output. In JSON Schema format.
3535
*/
3636
outputSchema: OutputSchema;
3737
};

src/react-query/clientAgentsRun.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ export type ClientAgentsRunMutationVariables = {
2424
export type ClientAgentsRunMutationData = components.AgentRunWaitResponse;
2525

2626
/**
27-
* Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
27+
* Create an agent run and wait for the response
2828
*
2929
* @remarks
30-
* Executes an agent run and returns the final response.
30+
* Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
3131
*/
3232
export function useClientAgentsRunMutation(
3333
options?: MutationHookOptions<

src/sdk/agents.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ export class Agents extends ClientSDK {
8585
}
8686

8787
/**
88-
* Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
88+
* Create an agent run and wait for the response
8989
*
9090
* @remarks
91-
* Executes an agent run and returns the final response.
91+
* Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
9292
*/
9393
async run(
9494
request: components.AgentRunCreate,

0 commit comments

Comments
 (0)