Skip to content

Commit e12b86c

Browse files
Merge pull request #70 from gleanwork/speakeasy-sdk-regen-1760999714
chore: 🐝 Update SDK - Generate 0.13.0
2 parents d36cb11 + 9dffa37 commit e12b86c

File tree

524 files changed

+685
-624
lines changed

Some content is hidden

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

524 files changed

+685
-624
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
lockVersion: 2.0.0
22
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
33
management:
4-
docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
4+
docChecksum: 30752ad325475357749711c885ecb81f
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.636.3
7-
generationVersion: 2.723.11
8-
releaseVersion: 0.12.3
9-
configChecksum: 19b09114c1109bc696d1327e2687e1ea
6+
speakeasyVersion: 1.638.0
7+
generationVersion: 2.728.0
8+
releaseVersion: 0.13.0
9+
configChecksum: b38d27b694691645b8dbb467b345e3e1
1010
repoURL: https://github.com/gleanwork/api-client-typescript.git
1111
installationURL: https://github.com/gleanwork/api-client-typescript
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
16-
additionalProperties: 0.1.1
16+
additionalProperties: 0.1.2
1717
constsAndDefaults: 0.1.12
18-
core: 3.21.26
18+
core: 3.23.0
1919
defaultEnabledRetries: 0.1.0
2020
deprecations: 2.81.1
2121
devContainers: 2.90.1
@@ -2979,4 +2979,4 @@ generatedTests:
29792979
createpolicy: "2025-06-09T18:05:10Z"
29802980
createreport: "2025-06-09T18:05:10Z"
29812981
setdocvisibility: "2025-06-09T18:05:10Z"
2982-
releaseNotes: "## Typescript SDK Changes Detected:\n* `glean.client.messages.retrieve()`: \n * `request.datasource` **Changed** **Breaking** :warning:\n"
2982+
releaseNotes: "## Typescript SDK Changes Detected:\n* `glean.client.chat.create()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n * `response.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.retrieve()`: `response.chatresult.chat.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ generation:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
2222
hoistGlobalSecurity: true
23+
schemas:
24+
allOfMergeStrategy: shallowMerge
2325
mockServer:
2426
disabled: false
2527
tests:
2628
generateTests: true
2729
generateNewTests: true
2830
skipResponseBodyAssertions: true
2931
typescript:
30-
version: 0.12.3
32+
version: 0.13.0
3133
acceptHeaderEnum: true
3234
additionalDependencies:
3335
dependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -7047,6 +7047,9 @@ components:
70477047
enum:
70487048
- DEFAULT
70497049
- QUICK
7050+
useImageGeneration:
7051+
type: boolean
7052+
description: Whether the agent should create an image.
70507053
ChatFileStatus:
70517054
type: string
70527055
description: Current status of the file.
@@ -7427,6 +7430,19 @@ components:
74277430
deprecated: true
74287431
type: boolean
74297432
description: Signals there are additional response fragments incoming.
7433+
ChatRequestBase:
7434+
required:
7435+
- messages
7436+
description: The minimal set of fields that form a chat request.
7437+
properties:
7438+
messages:
7439+
type: array
7440+
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7441+
items:
7442+
$ref: "#/components/schemas/ChatMessage"
7443+
sessionInfo:
7444+
description: Optional object for tracking the session used by the client and for debugging purposes.
7445+
$ref: "#/components/schemas/SessionInfo"
74307446
ChatRestrictionFilters:
74317447
allOf:
74327448
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7441,45 +7457,38 @@ components:
74417457
items:
74427458
type: string
74437459
ChatRequest:
7444-
required:
7445-
- messages
7446-
properties:
7447-
saveChat:
7448-
type: boolean
7449-
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7450-
chatId:
7451-
type: string
7452-
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7453-
messages:
7454-
type: array
7455-
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7456-
items:
7457-
$ref: "#/components/schemas/ChatMessage"
7458-
agentConfig:
7459-
$ref: "#/components/schemas/AgentConfig"
7460-
description: Describes the agent that will execute the request.
7461-
inclusions:
7462-
$ref: "#/components/schemas/ChatRestrictionFilters"
7463-
description: A list of filters which only allows chat to access certain content.
7464-
exclusions:
7465-
$ref: "#/components/schemas/ChatRestrictionFilters"
7466-
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7467-
timeoutMillis:
7468-
type: integer
7469-
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7470-
example: 30000
7471-
sessionInfo:
7472-
description: Optional object for tracking the session used by the client and for debugging purposes.
7473-
$ref: "#/components/schemas/SessionInfo"
7474-
applicationId:
7475-
type: string
7476-
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7477-
agentId:
7478-
type: string
7479-
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7480-
stream:
7481-
type: boolean
7482-
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
7460+
allOf:
7461+
- $ref: "#/components/schemas/ChatRequestBase"
7462+
- type: object
7463+
properties:
7464+
saveChat:
7465+
type: boolean
7466+
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7467+
chatId:
7468+
type: string
7469+
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7470+
agentConfig:
7471+
$ref: "#/components/schemas/AgentConfig"
7472+
description: Describes the agent that will execute the request.
7473+
inclusions:
7474+
$ref: "#/components/schemas/ChatRestrictionFilters"
7475+
description: A list of filters which only allows chat to access certain content.
7476+
exclusions:
7477+
$ref: "#/components/schemas/ChatRestrictionFilters"
7478+
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7479+
timeoutMillis:
7480+
type: integer
7481+
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7482+
example: 30000
7483+
applicationId:
7484+
type: string
7485+
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7486+
agentId:
7487+
type: string
7488+
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7489+
stream:
7490+
type: boolean
7491+
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
74837492
ChatResponse:
74847493
description: A single response from the /chat backend.
74857494
properties:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.638.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
5+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
6+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760583314
9+
- speakeasy-sdk-regen-1760999714
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:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
22-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
21+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
22+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:f39d52ad7b6250d4ce109578496aeb8154198383e9550287a44430deb5e0cf3e
24+
codeSamplesRevisionDigest: sha256:9b0ef39bf4b934badf63687088c9c1ab15def16a13749aa544f7c66859a908e8
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,14 @@ Based on:
348348
### Generated
349349
- [typescript v0.12.3] .
350350
### Releases
351-
- [NPM v0.12.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.3 - .
351+
- [NPM v0.12.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.3 - .
352+
353+
## 2025-10-22 02:08:19
354+
### Changes
355+
Based on:
356+
- OpenAPI Doc
357+
- Speakeasy CLI 1.638.0 (2.728.0) https://github.com/speakeasy-api/speakeasy
358+
### Generated
359+
- [typescript v0.13.0] .
360+
### Releases
361+
- [NPM v0.13.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.0 - .

docs/models/components/agentconfig.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ let value: AgentConfig = {};
1616
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
1717
| `agent` | [components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
1818
| `toolSets` | [components.ToolSets](../../models/components/toolsets.md) | :heavy_minus_sign: | The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values |
19-
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
19+
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
20+
| `useImageGeneration` | *boolean* | :heavy_minus_sign: | Whether the agent should create an image. |

0 commit comments

Comments
 (0)