Skip to content

Commit 6e429a8

Browse files
Merge pull request #74 from gleanwork/speakeasy-sdk-regen-1770418493
chore: 🐝 Update SDK - Generate 0.11.24
2 parents 5eb8907 + 745bfbf commit 6e429a8

17 files changed

Lines changed: 199 additions & 63 deletions

File tree

.speakeasy/gen.lock

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
lockVersion: 2.0.0
22
id: 9d90eb9e-33f8-4170-8944-988f4000aad0
33
management:
4-
docChecksum: aee950fecf1c657983edfc4e58e7b866
4+
docChecksum: 6845d7558101de8454f10ae168f387c7
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.708.0
7-
generationVersion: 2.811.2
8-
releaseVersion: 0.11.23
9-
configChecksum: a8339de30642643108411fe3e664295e
6+
speakeasyVersion: 1.709.1
7+
generationVersion: 2.812.2
8+
releaseVersion: 0.11.24
9+
configChecksum: bae3a55572e61bca45d709f1c86a796d
1010
repoURL: https://github.com/gleanwork/api-client-go.git
1111
installationURL: https://github.com/gleanwork/api-client-go
1212
persistentEdits:
13-
generation_id: 1c258c1b-e36e-402d-80de-92634e5177ba
14-
pristine_commit_hash: 62bf15c9dff3bb324e9aab76e49b6af3830d9feb
15-
pristine_tree_hash: ed71e77e1b06e2d95ce04202ba30b89b0fcc302a
13+
generation_id: f52ffcff-a076-4b04-b8fb-6bf65f716a1d
14+
pristine_commit_hash: 561d109d9df2d5af1b8581f8527880a48412463d
15+
pristine_tree_hash: 9d01037012c9a1927e516746a2cbcb9e829bd2e8
1616
features:
1717
go:
1818
additionalDependencies: 0.1.0
@@ -124,6 +124,10 @@ trackedFiles:
124124
id: a48fead5ccc0
125125
last_write_checksum: sha1:2f65e6e33a8dd61c80098d858e2546466311cba2
126126
pristine_git_object: 419fddeebfd71985b8044ac320d93e3903eba868
127+
docs/models/components/actionsummary.md:
128+
id: f9f286d7b5c6
129+
last_write_checksum: sha1:7668ff37fe5bc3debe04803c8cd344a65ec94966
130+
pristine_git_object: d7bb675088527e569289a8bf53e9d99c6a0f6406
127131
docs/models/components/activity.md:
128132
id: a2d8273e4214
129133
last_write_checksum: sha1:5793af93a85c85a322ebfbe8660bd955b2ab4685
@@ -202,8 +206,8 @@ trackedFiles:
202206
pristine_git_object: 662e2ebd1221cf9ad467b2d684636655801f1d1a
203207
docs/models/components/agentschemas.md:
204208
id: 077480e4519f
205-
last_write_checksum: sha1:438086e57c06d73a3d2a90144d655446822b9d8b
206-
pristine_git_object: be7c4e069b309ae5779bbbbb925d29c254e35186
209+
last_write_checksum: sha1:245af77394753a106df731faa49559df5bf2ee22
210+
pristine_git_object: dc4603990aaa2167e4af75d68e58ebc1cfd6a45e
207211
docs/models/components/agentsinsightsv2request.md:
208212
id: 5e256461f4fa
209213
last_write_checksum: sha1:7ac5a5021380a960aabb302aba3b050d6e43cbf9
@@ -422,8 +426,8 @@ trackedFiles:
422426
pristine_git_object: 4c35336057fd9744fda50e7b369c3427becb5946
423427
docs/models/components/chatmessage.md:
424428
id: 3c4787aac1da
425-
last_write_checksum: sha1:a3544521f3e13ddfbe4eaf6419818229c2174bdd
426-
pristine_git_object: 4c4f23df00fc52036880c0ccbc3245d316958298
429+
last_write_checksum: sha1:04fb45095944c5730c6e9f0a31df6c7f66c94504
430+
pristine_git_object: f0c862386e8a8c417f72f453ff0490db0f9ed0e6
427431
docs/models/components/chatmessagecitation.md:
428432
id: f779f459e302
429433
last_write_checksum: sha1:66a664931554039f197ad777711bd4f6dcb0f8e0
@@ -3214,8 +3218,8 @@ trackedFiles:
32143218
pristine_git_object: 87f13ac7b1bb396e778a90fbb59d605bd00a9276
32153219
glean.go:
32163220
id: f5ed099b8e85
3217-
last_write_checksum: sha1:ccfea1d0c3890b185bfa5dd1c29d89aea284cb0b
3218-
pristine_git_object: 8b270b5d6e32ba72e40f8abd809b7a2d2af079af
3221+
last_write_checksum: sha1:effeda0db6d06e6e9dac57281d97efdd472bc797
3222+
pristine_git_object: 62f684c086eeb7ee52421eee818e821c176c53f9
32193223
go.mod:
32203224
id: c47645c391ad
32213225
last_write_checksum: sha1:86e3d2575dc26780579383eddbc5be5adbd21501
@@ -3324,6 +3328,10 @@ trackedFiles:
33243328
id: f132d0ae5f23
33253329
last_write_checksum: sha1:99e17fda511ac95fd8a87175e48bdde005f28bd8
33263330
pristine_git_object: 0cb29cc11dad811222df83cf13166329eb6a6573
3331+
models/components/actionsummary.go:
3332+
id: 6e681273cd50
3333+
last_write_checksum: sha1:b5debec7d5417a6cde1ee7e84f8a7b4827990ec7
3334+
pristine_git_object: 1c6e212a7f304ab84c13bd53cd884063c9a381bf
33273335
models/components/activity.go:
33283336
id: 07e39884b96a
33293337
last_write_checksum: sha1:2c47c0c6063833abad107283ff43394f136c88ae
@@ -3378,8 +3386,8 @@ trackedFiles:
33783386
pristine_git_object: 634199af2f0c97ad3291bc8266126c740f2a8f6f
33793387
models/components/agentschemas.go:
33803388
id: 6d165063a2b7
3381-
last_write_checksum: sha1:c8e401e05dc01db2493db90c1c515a18520e9405
3382-
pristine_git_object: 3ccea47a87cee56c3649071fe4e5c1e9bdd52e89
3389+
last_write_checksum: sha1:f4188daac5b1038f13da8e55def179a30a6264ec
3390+
pristine_git_object: 460fb0bc2185867c5291ba2689353b49a9ec11ba
33833391
models/components/agentsinsightsv2request.go:
33843392
id: 131e6362cccf
33853393
last_write_checksum: sha1:1572aa34cb9b053dd2501814ac54367a6e17361a
@@ -3538,8 +3546,8 @@ trackedFiles:
35383546
pristine_git_object: 7f192a89e4157cad5606fcc948460f8f341698db
35393547
models/components/chatmessage.go:
35403548
id: ae6f429dd4b1
3541-
last_write_checksum: sha1:79d477ad8e61e307f3bcbee77f72be2661992304
3542-
pristine_git_object: f27b99545b55bbd9681abcf042e3417989d0b8bc
3549+
last_write_checksum: sha1:57aadf3df54353f0ba2b7542aad9a5a4f23e30af
3550+
pristine_git_object: d47057e68e298c70b84057e92807d399189dda46
35433551
models/components/chatmessagecitation.go:
35443552
id: ed01eb6fe323
35453553
last_write_checksum: sha1:94bea6a05c4084e3e5cb3840d01e3d5595513f30
@@ -5832,6 +5840,8 @@ trackedFiles:
58325840
last_write_checksum: sha1:af9187f31972ef308fb4bc82de73d6dd71b9fb64
58335841
tests/mockserver/internal/logging/oas_operation_call.go:
58345842
last_write_checksum: sha1:1ec2244b5fc171dfe7e4e339420b2b17f0df48c9
5843+
tests/mockserver/internal/sdk/models/components/actionsummary.go:
5844+
last_write_checksum: sha1:26174d625f915fc8a07febb491ccce4dd6d1cbbd
58355845
tests/mockserver/internal/sdk/models/components/activity.go:
58365846
last_write_checksum: sha1:62ed2988de11a8af0b36342f9e557621d32cb6d4
58375847
tests/mockserver/internal/sdk/models/components/activityevent.go:
@@ -5859,7 +5869,7 @@ trackedFiles:
58595869
tests/mockserver/internal/sdk/models/components/agentrunwaitresponse.go:
58605870
last_write_checksum: sha1:75b0a516ab1c183abeeb9e27abc8a00f265f32ad
58615871
tests/mockserver/internal/sdk/models/components/agentschemas.go:
5862-
last_write_checksum: sha1:ba9fa6589e1aaf087991f798c495b4a113bdb928
5872+
last_write_checksum: sha1:f5a60dbfccd07c90dd33675735d521285485286c
58635873
tests/mockserver/internal/sdk/models/components/agentsinsightsv2request.go:
58645874
last_write_checksum: sha1:5bbebc8109a68e2b22dc0ca044b009a4ff491d1f
58655875
tests/mockserver/internal/sdk/models/components/agentsinsightsv2response.go:
@@ -5939,7 +5949,7 @@ trackedFiles:
59395949
tests/mockserver/internal/sdk/models/components/chatfilestatus.go:
59405950
last_write_checksum: sha1:4f1e95ea4c1f64cfb9daab23820e907fe24f4efe
59415951
tests/mockserver/internal/sdk/models/components/chatmessage.go:
5942-
last_write_checksum: sha1:1ee0ca5662402074d2303aa74531f433a288c82e
5952+
last_write_checksum: sha1:aa41b48667e9bd173818cc0df6016099b7dc1346
59435953
tests/mockserver/internal/sdk/models/components/chatmessagecitation.go:
59445954
last_write_checksum: sha1:c6225814e79eac17f90ebb8d86a98bb0038c20b6
59455955
tests/mockserver/internal/sdk/models/components/chatmessagefragment.go:
@@ -6976,8 +6986,8 @@ trackedFiles:
69766986
pristine_git_object: 7e35d7db9d50e38d63c3631ca878bf183a7bb6f5
69776987
tests/summarize_test.go:
69786988
id: 1b63b0a16e69
6979-
last_write_checksum: sha1:6da9f736fef20def1b16946fe93d02a1c5cb94ec
6980-
pristine_git_object: 4bfe1645d67bb70c7dc680bf793b2c4d9ae38d2f
6989+
last_write_checksum: sha1:7c2dd1971ef08363eb64aac3c8a2da389411b637
6990+
pristine_git_object: 8f8003ff8749d018e6b02af41ac3cffaf4436542
69816991
tests/testclient.go:
69826992
id: 78d36c6e169c
69836993
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
@@ -7903,6 +7913,9 @@ generatedTests:
79037913
setdocvisibility: "2025-06-09T17:49:25Z"
79047914
listfindingsexports: "2025-12-10T18:23:50Z"
79057915
downloadfindingsexport: "2025-12-10T18:23:50Z"
7916+
releaseNotes: |
7917+
## Go SDK Changes:
7918+
* `Glean.Client.Agents.RetrieveSchemas()`: `response.Tools` **Added**
79067919
generatedFiles:
79077920
- .devcontainer/README.md
79087921
- .devcontainer/devcontainer.json

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ generation:
3131
generateNewTests: true
3232
skipResponseBodyAssertions: true
3333
go:
34-
version: 0.11.23
34+
version: 0.11.24
3535
additionalDependencies: {}
3636
allowUnknownFieldsInWeakUnions: false
3737
baseErrorName: GleanError

.speakeasy/glean-merged-spec.yaml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 2a745f932cc47169f6ceb0e7b3e9869d02726cea
5+
x-source-commit-sha: 7cb24e246b05f2b9bef2eb5a0de443756d8b2e62
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: c9207631abff9271cdd02433399797f6ee15e063
25+
x-open-api-commit-sha: 9164805c95e3fac7bb472685c0d3811323a3e1e3
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -7674,7 +7674,14 @@ components:
76747674
type: array
76757675
items:
76767676
$ref: "#/components/schemas/ChatMessageCitation"
7677-
description: A list of Citations that were used to generate the response.
7677+
description: "Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility."
7678+
deprecated: true
7679+
x-glean-deprecated:
7680+
id: 6446f85e-c90e-4c00-9717-796f9db3dc61
7681+
introduced: "2026-02-06"
7682+
message: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility.
7683+
removal: "2026-10-15"
7684+
x-speakeasy-deprecation-message: "Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility."
76787685
uploadedFileIds:
76797686
type: array
76807687
items:
@@ -7974,6 +7981,19 @@ components:
79747981
type: string
79757982
title: ErrorResponse
79767983
description: Error message returned from the server
7984+
ActionSummary:
7985+
type: object
7986+
description: Represents a minimal summary of an action.
7987+
required:
7988+
- tool_id
7989+
- display_name
7990+
properties:
7991+
tool_id:
7992+
type: string
7993+
description: The unique identifier of the action.
7994+
display_name:
7995+
type: string
7996+
description: The display name of the action.
79777997
AgentSchemas:
79787998
properties:
79797999
agent_id:
@@ -7989,6 +8009,12 @@ components:
79898009
type: object
79908010
title: Output Schema
79918011
description: The schema for the agent output. In JSON Schema format.
8012+
tools:
8013+
type: array
8014+
title: Tools
8015+
description: List of tools that the agent can invoke. Only included when include_tools query parameter is set to true.
8016+
items:
8017+
$ref: "#/components/schemas/ActionSummary"
79928018
type: object
79938019
required:
79948020
- agent_id

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.708.0
1+
speakeasyVersion: 1.709.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
6-
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
5+
sourceRevisionDigest: sha256:396b920dfdf9bbf92e6489cf8c90f87904f4a8829eaeaaa5b5afb02b98c14af2
6+
sourceBlobDigest: sha256:fce7520b2ff57ff3d213b2c218a05d4892542ceadfe50c252707658cc306ec6f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1770409597
9+
- speakeasy-sdk-regen-1770418493
1010
petstore-oas:
1111
sourceNamespace: petstore-oas
1212
sourceRevisionDigest: sha256:97b2eff2f43ce14276d28efc41ec5de8034cde61db8445f12b626e4dc88ea40e
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
22-
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
21+
sourceRevisionDigest: sha256:396b920dfdf9bbf92e6489cf8c90f87904f4a8829eaeaaa5b5afb02b98c14af2
22+
sourceBlobDigest: sha256:fce7520b2ff57ff3d213b2c218a05d4892542ceadfe50c252707658cc306ec6f
2323
codeSamplesNamespace: glean-api-specs-go-code-samples
24-
codeSamplesRevisionDigest: sha256:fba27ca394fd9f8632eaf36554a04bcd2fb13f996c7885649b16de100e6db68b
24+
codeSamplesRevisionDigest: sha256:2cead8ba38ec120ca39d26b07b878248cd06f9f61098d25c3accf9ec6248aa6a
2525
petstore:
2626
source: petstore-oas
2727
sourceNamespace: petstore-oas

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,4 +528,14 @@ Based on:
528528
### Generated
529529
- [go v0.11.23] .
530530
### Releases
531-
- [Go v0.11.23] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.23 - .
531+
- [Go v0.11.23] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.23 - .
532+
533+
## 2026-02-09 08:15:11
534+
### Changes
535+
Based on:
536+
- OpenAPI Doc
537+
- Speakeasy CLI 1.709.1 (2.812.2) https://github.com/speakeasy-api/speakeasy
538+
### Generated
539+
- [go v0.11.24] .
540+
### Releases
541+
- [Go v0.11.24] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.24 - .
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ActionSummary
2+
3+
Represents a minimal summary of an action.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
10+
| `ToolID` | *string* | :heavy_check_mark: | The unique identifier of the action. |
11+
| `DisplayName` | *string* | :heavy_check_mark: | The display name of the action. |

docs/models/components/agentschemas.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Defines the structure and properties of an agent.
55

66
## Fields
77

8-
| Field | Type | Required | Description | Example |
9-
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
10-
| `AgentID` | *string* | :heavy_check_mark: | The ID of the agent. | mho4lwzylcozgoc2 |
11-
| `InputSchema` | [components.InputSchema](../../models/components/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON Schema format. | |
12-
| `OutputSchema` | [components.OutputSchema](../../models/components/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON Schema format. | |
8+
| Field | Type | Required | Description | Example |
9+
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
10+
| `AgentID` | *string* | :heavy_check_mark: | The ID of the agent. | mho4lwzylcozgoc2 |
11+
| `InputSchema` | [components.InputSchema](../../models/components/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON Schema format. | |
12+
| `OutputSchema` | [components.OutputSchema](../../models/components/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON Schema format. | |
13+
| `Tools` | [][components.ActionSummary](../../models/components/actionsummary.md) | :heavy_minus_sign: | List of tools that the agent can invoke. Only included when include_tools query parameter is set to true. | |

0 commit comments

Comments
 (0)