From 8025755f7559fa12b6a0839a6472b66b333afe49 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 25 Aug 2026 05:39:42 +0000 Subject: [PATCH 1/2] ## Java SDK Changes: * `glean.client.chat.create()`: * `request.chatRequest.messages[].fragments[]` **Changed** * `response.messages[].fragments[]` **Changed** * `glean.client.chat.retrieve()`: `response.chatResult.chat.messages[].fragments[]` **Changed** * `glean.client.chat.createStream()`: * `request.chatRequest.messages[].fragments[]` **Changed** * `glean.client.agents.runStream()`: `error.authenticationSuggestions[].requestType.enum(sandboxEgress)` **Added** * `glean.client.agents.run()`: `error.authenticationSuggestions[].requestType.enum(sandboxEgress)` **Added** --- .speakeasy/gen.lock | 86 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 27 +++++- .speakeasy/workflow.lock | 12 +-- README.md | 4 +- RELEASES.md | 12 ++- docs/models/components/ChatMessageFragment.md | 22 ++--- .../ServerToolRequestRequestType.md | 3 +- docs/models/components/ServerToolResponse.md | 3 + .../ServerToolResponseRequestType.md | 3 +- .../PlatformAgentsCreateRunRequest.md | 8 +- .../operations/PlatformSkillsUpdateRequest.md | 8 +- docs/sdks/agents/README.md | 14 +-- docs/sdks/chat/README.md | 2 +- docs/sdks/skills/README.md | 14 +-- gradle.properties | 2 +- .../glean_api_client/SDKConfiguration.java | 2 +- .../components/ChatMessageFragment.java | 18 ++++ .../ServerToolRequestRequestType.java | 6 +- .../models/components/ServerToolResponse.java | 3 + .../ServerToolResponseRequestType.java | 6 +- 21 files changed, 164 insertions(+), 93 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 6e024b7c..ce7618a8 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1 management: - docChecksum: 89c2eac364945e9c2e201f80cb8a2d72 + docChecksum: 7e87ed5a374c0e4c90b16c9cca228ad5 docVersion: 0.9.0 - speakeasyVersion: 1.795.1 + speakeasyVersion: 1.795.3 generationVersion: 2.932.9 - releaseVersion: 0.16.0 - configChecksum: 05a83106bf0460e0e41a3965278c7a79 + releaseVersion: 0.16.1 + configChecksum: 48d2ac7302ce9a63522c253c9c4a471c repoURL: https://github.com/gleanwork/api-client-java.git installationURL: https://github.com/gleanwork/api-client-java published: true persistentEdits: - generation_id: 47ae3e51-6749-481b-afbe-49fc66a8c649 - pristine_commit_hash: 710f40aaa4df20a0fa775afb567f06e43495580d - pristine_tree_hash: ddac7f43d9b5deacfe24b76a44ddcb307c28c023 + generation_id: 7fa7448b-a054-4f7f-a68d-6d87e8ebe032 + pristine_commit_hash: 5e25a0f9ab4385004fd952999a9e44481972e60e + pristine_tree_hash: 4cf4dbd9ca51225f09d11cc726585e4ec10ff92a features: java: acceptHeaders: 2.81.2 @@ -437,8 +437,8 @@ trackedFiles: pristine_git_object: 235e7b43733c93c935c589d0c8ea224ff5c8f976 docs/models/components/ChatMessageFragment.md: id: 998e5c5b431f - last_write_checksum: sha1:faf23b9edd3dc87c519210e4686dfe21f535f788 - pristine_git_object: 5a63122a95e107b0e56727757114e0bd08fe7d53 + last_write_checksum: sha1:2c33fb950c1a4879055f65e4f169df0fe1f2962f + pristine_git_object: 6b3784453654331bc970d443341260e220f4d60c docs/models/components/ChatMetadata.md: id: cc43eff646ef last_write_checksum: sha1:f594ff1895ab08264e1029f275a3c9bfc1c9b748 @@ -2597,16 +2597,16 @@ trackedFiles: pristine_git_object: ca9d9d2d2967e287cfc51bfd31253f9fce6b9800 docs/models/components/ServerToolRequestRequestType.md: id: e03c37fb8df1 - last_write_checksum: sha1:86a9d45016aee61f48b0f4152949a776603a0497 - pristine_git_object: fea3c7738cfc15d5c99a3146c8416c33c98f3c9a + last_write_checksum: sha1:f4f5ef2fbd9d3c0f1cbd31d2982029bc194deeb3 + pristine_git_object: 337eaa64b6591dfb1fcdcd4560dbb4ac6ffac54b docs/models/components/ServerToolResponse.md: id: 321ae6bbc38c - last_write_checksum: sha1:dd318bdec66752c55cafb370053e38d3d10f313e - pristine_git_object: 3d365d8f117f8547ec1cf19c756e56656e5f31c7 + last_write_checksum: sha1:4c550a16bfd876448edb40dcb69d159486d52184 + pristine_git_object: bf6a7b338607ad3eb99e4bdcbef8a7d4c8010447 docs/models/components/ServerToolResponseRequestType.md: id: 0758c2646390 - last_write_checksum: sha1:9307693e1fa90cdcdd84700129e00af145a56774 - pristine_git_object: 0e9b4702876be671623cc42ea140612244344a89 + last_write_checksum: sha1:6faca6eecd71767a0965dd5e3390a5fe12f95483 + pristine_git_object: f7afd9bc3eb6c88e4bc57f2911ffdddb2be226d3 docs/models/components/SessionInfo.md: id: 39dc62adea74 last_write_checksum: sha1:8ea632cff00745aa3ef4746f798693b6a3bd6635 @@ -3685,8 +3685,8 @@ trackedFiles: pristine_git_object: 7ec951818fbef87d1867f6c1756937757ce80b4f docs/models/operations/PlatformAgentsCreateRunRequest.md: id: 2f5db74d38b8 - last_write_checksum: sha1:6e41fce8e34041c52aceb856120088a71e219b71 - pristine_git_object: 5824662e101dec34cea7d95571b953f34c9cbf0f + last_write_checksum: sha1:a7778577c151d610ffded94a2e24466ebd91343e + pristine_git_object: 9661efaa7b454fcd8a948a1d62417588476b4040 docs/models/operations/PlatformAgentsCreateRunResponse.md: id: 8d49f44f776a last_write_checksum: sha1:87760fd7793a4f9bf8b1a8bd8b230a19350b887b @@ -3813,8 +3813,8 @@ trackedFiles: pristine_git_object: ab107473ae2b09689ac83c86f8236ed354609ee9 docs/models/operations/PlatformSkillsUpdateRequest.md: id: 2692217b61e5 - last_write_checksum: sha1:b5e6532d7511db810fade1fb26262851b4bd5cd3 - pristine_git_object: 09e62ae8d0ba522ea19b5ce6474d5c261a9aa6bb + last_write_checksum: sha1:4f33e4a7bf96793d19e817bf1c94c08c16f87c66 + pristine_git_object: 5cdfc3b9e3ed9818357d78f689250eb6a424b567 docs/models/operations/PlatformSkillsUpdateResponse.md: id: 6057bcad9a86 last_write_checksum: sha1:1d43e00eeadd464570e5eded37d4b800dfcdbdf2 @@ -4213,8 +4213,8 @@ trackedFiles: pristine_git_object: f3ecb5fda2b888721a48e50acb4e541bcc09a757 docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:f16716509e89dd8d19a1a5c7dc391dcad4375493 - pristine_git_object: 0a59344534a59d2476be83b11d2c666caf2d09eb + last_write_checksum: sha1:e94641869ee01675bab21e5a9d95c5e7e4d4c7d6 + pristine_git_object: 533ce032f047619546e1ee660ba66f5678bab8ca docs/sdks/announcements/README.md: id: 3d2e130a217c last_write_checksum: sha1:d518fe37c613bdef6f738b2e1ef52918bc782324 @@ -4225,8 +4225,8 @@ trackedFiles: pristine_git_object: 6603db8c8828357d67059a746ee541aee6c45301 docs/sdks/chat/README.md: id: 393193527c2c - last_write_checksum: sha1:36c595a0690289f5cf94877d506c537b7e366f18 - pristine_git_object: 3996d64f769ae6b62e3749561467d9257cdb3d1a + last_write_checksum: sha1:aa8e2380bd25a27804130a980ef4c944518b9578 + pristine_git_object: 5b57b52cddaf421eba965b743f88a4ef1d18cdd0 docs/sdks/clientagents/README.md: id: 8e00e6d6b64e last_write_checksum: sha1:615a2f97f25e280e0396d9af0beb3931ecb67c42 @@ -4325,8 +4325,8 @@ trackedFiles: pristine_git_object: bbc29f620235b3508b12b22e9e1551f4ef8958ee docs/sdks/skills/README.md: id: 3a14a5c90791 - last_write_checksum: sha1:2cc2175160f0d48c3176bd58fd82e9c73e19baa2 - pristine_git_object: b6e66173eedbb1a5067244dd1fd727313e18dc23 + last_write_checksum: sha1:1b61b775e75e104b21a0b908613f01f7db486dd5 + pristine_git_object: 028bc2a4155874c35c16ee30b744aa551df9e1bd docs/sdks/tools/README.md: id: 044286549bac last_write_checksum: sha1:a27f265c26b26d70b8b11dcfd1289ac92c7f8dde @@ -4349,8 +4349,8 @@ trackedFiles: pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:f73a2a3237328e1d3d4410a4b9d3d5612fe6d0a8 - pristine_git_object: 34dfd5c9d0aad531c5deab951442253e7a5f944b + last_write_checksum: sha1:0768003c524b3e51f5ae9cfcb87250ccd5af56e4 + pristine_git_object: c482e4d00d808621b14f8c303ffa48dbe7ab048f gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -4673,8 +4673,8 @@ trackedFiles: pristine_git_object: ffae914775eb41ff311371f62504344a59d090fd src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java: id: d5fcc61f5992 - last_write_checksum: sha1:f1fb999dfd444c61579db75f4fe04ffdd4744aad - pristine_git_object: 053e9244ad818fde213e2587cfa9daf56d5a99b4 + last_write_checksum: sha1:10cc7201e955c02b33802b56a9b79036f7771be0 + pristine_git_object: 0edfb78753136e4fbf29910a31445ec7436fb467 src/main/java/com/glean/api_client/glean_api_client/Search.java: id: f22d94b920b5 last_write_checksum: sha1:14e024607aebae4b1197445ad31984898c4735a3 @@ -5093,8 +5093,8 @@ trackedFiles: pristine_git_object: 2546c775b695452bcc1a8d8e134e99c2a70c9976 src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java: id: c22528520aec - last_write_checksum: sha1:c85711c365cbbfffbf3a57ae201a83c7def0f9b4 - pristine_git_object: d2653b525807e0772994134636ceccee0c8d498e + last_write_checksum: sha1:6673a4bdb67f5620d0c1a7fe446a63ab4b5d4c59 + pristine_git_object: bea60ac335b6e1f8595b6e2289999de245c574c3 src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMetadata.java: id: b6d2e9d21bd1 last_write_checksum: sha1:400c3443ecc621cf6e43f7e6855c7fcbdcd97e36 @@ -7261,16 +7261,16 @@ trackedFiles: pristine_git_object: 9049008ca617ac2b7b0b8bae694f597bbf1a2bcf src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolRequestRequestType.java: id: 81b43757fd9f - last_write_checksum: sha1:e2ec7e57ea2e8e9cd7dac87c6bbfdea17beaaab9 - pristine_git_object: 919d6f6683f2c8fa2b92ed0dba7e526d1199eb51 + last_write_checksum: sha1:be2ba483fcd291f728295b62b2e29951b8615682 + pristine_git_object: b63ae210e960ed6049578a54aa53e640f874705b src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponse.java: id: eaf5337ab5b0 - last_write_checksum: sha1:7b5ff6372620b3b928f17e2ff36506c7d466c826 - pristine_git_object: f99f596211293fb341759b7ddecc5c8124275e2e + last_write_checksum: sha1:471cfbf470c60204515613b6c79cf6815b140756 + pristine_git_object: 2097dfe1e52cdbda2ad0afedf6ca18413b4a3045 src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponseRequestType.java: id: 200aa88b7317 - last_write_checksum: sha1:28864f16fa852c3122a2fab6b1ac75384c700fda - pristine_git_object: ece0a53d2c8f4e3d51c2b2608f5c95caa8fe9f0c + last_write_checksum: sha1:1117c5f1718e7588f4328aaebbef0ba53d54e3cf + pristine_git_object: 16fab3c40b3a0160032d19965ef26bcd411c90bf src/main/java/com/glean/api_client/glean_api_client/models/components/SessionInfo.java: id: ad7b0e031edf last_write_checksum: sha1:3d997e0f6931e66eebac4a8269640e7233299f47 @@ -12804,7 +12804,7 @@ examples: path: agent_id: "" requestBody: - application/json: {"messages": [{"role": "USER", "content": []}], "stream": false} + application/json: {"messages": [{"role": "USER", "content": [{"text": "What is our parental leave policy?", "type": "text"}]}], "stream": false} responses: "200": application/json: {"run": {"agent_id": "", "messages": [{"role": "USER", "content": []}], "status": "error"}, "messages": [{"role": "USER", "content": []}], "request_id": ""} @@ -12969,7 +12969,7 @@ examples: platform-chat-create: speakeasy-default-platform-chat-create: requestBody: - application/json: {"input": "", "stream": false, "store": true} + application/json: {"input": "What is our parental leave policy?", "stream": false, "store": true} responses: "200": application/json: {"id": "", "object": "RESPONSE", "created_at": "2026-05-19T05:32:52.505Z", "status": "COMPLETED", "output": [{"type": "MESSAGE", "role": "ASSISTANT", "content": [{"type": "OUTPUT_TEXT", "text": ""}]}], "store": false, "request_id": ""} @@ -12981,7 +12981,7 @@ examples: platform-skills-import: speakeasy-default-platform-skills-import: requestBody: - application/json: {"source_urls": [""]} + application/json: {"source_urls": ["https://github.com/anthropics/skills/tree/main/skills/skill-creator"]} responses: "200": application/json: {"skills": [], "request_id": ""} @@ -12992,7 +12992,7 @@ examples: platform-skills-preview-source: speakeasy-default-platform-skills-preview-source: requestBody: - application/json: {"source_url": "https://ugly-information.name/", "stream": false} + application/json: {"source_url": "https://github.com/anthropics/skills", "stream": false} responses: "200": application/json: {"skills": [], "failures": [{"source_url": "https://slimy-availability.org", "code": "SKILL_FETCH_FAILED", "detail": ""}], "request_id": ""} @@ -13007,7 +13007,7 @@ examples: path: skill_id: "" requestBody: - application/json: {"status": "DISABLED"} + application/json: {"status": "ENABLED"} responses: "200": application/json: {"skill": {"id": "", "display_name": "Afton14", "description": "taut netsuke duh sonata boastfully elegantly management come", "latest_version": 425795, "latest_minor_version": 741364, "status": "DISABLED", "origin": "CUSTOM", "owner": {"name": ""}, "created_at": "2024-12-20T01:31:39.364Z", "updated_at": "2025-12-04T02:59:37.124Z"}, "request_id": ""} @@ -13333,7 +13333,7 @@ generatedTests: get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z" post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z" listpolicies: "2025-06-09T18:03:44Z" -releaseNotes: "## Java SDK Changes:\n* `glean.chat.create()`: \n * `request.input.union(Array)[].role` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `glean.triggers.listPresets()`: **Added**\n* `glean.triggers.listPresetInputValues()`: **Added**\n* `glean.triggers.update()`: **Added**\n* `glean.triggers.delete()`: **Added**\n* `glean.triggers.searchEvents()`: **Added**\n* `glean.triggers.create()`: **Added**\n* `glean.triggers.getPreset()`: **Added**\n* `glean.triggers.get()`: **Added**\n* `glean.triggers.searchPresetEvents()`: **Added**\n* `glean.triggers.list()`: **Added**\n* `glean.client.chat.create()`: \n * `request.chatRequest.messages[].citations[].sourceSkill` **Added**\n * `response.messages[].citations[].sourceSkill` **Added**\n* `glean.client.chat.retrieve()`: `response.chatResult.chat.messages[].citations[].sourceSkill` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatRequest.messages[].citations[].sourceSkill` **Added**\n* `glean.client.search.retrieveFeed()`: \n * `request.feedRequest.categories[]` **Changed**\n * `response.results[]` **Changed**\n" +releaseNotes: "## Java SDK Changes:\n* `glean.client.chat.create()`: \n * `request.chatRequest.messages[].fragments[]` **Changed**\n * `response.messages[].fragments[]` **Changed**\n* `glean.client.chat.retrieve()`: `response.chatResult.chat.messages[].fragments[]` **Changed**\n* `glean.client.chat.createStream()`: \n * `request.chatRequest.messages[].fragments[]` **Changed**\n* `glean.client.agents.runStream()`: `error.authenticationSuggestions[].requestType.enum(sandboxEgress)` **Added**\n* `glean.client.agents.run()`: `error.authenticationSuggestions[].requestType.enum(sandboxEgress)` **Added**\n" generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 9e0c5724..8551c974 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 0.16.0 + version: 0.16.1 additionalDependencies: [] additionalPlugins: [] artifactID: glean-api-client diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index c9540561..2e919506 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,8 +2,8 @@ openapi: 3.0.0 info: version: "0.9.0" title: Glean API - x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e - x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999 + x-source-commit-sha: 57c5ed97e505b6f223d7a45ad5a2a341e256c949 + x-open-api-commit-sha: 9ada039d29c22a526e3f2aedf1e2592fa53f9662 description: | # Introduction 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. @@ -6747,6 +6747,8 @@ components: PlatformAgentsSearchRequest: type: object additionalProperties: false + example: + name: HR Policy Agent properties: name: type: string @@ -7070,6 +7072,12 @@ components: additionalProperties: false description: | Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents). + example: + messages: + - role: USER + content: + - text: What is our parental leave policy? + type: text properties: input: type: object @@ -7186,6 +7194,8 @@ components: additionalProperties: false required: - input + example: + input: What is our parental leave policy? properties: input: description: | @@ -7586,6 +7596,9 @@ components: additionalProperties: false required: - source_urls + example: + source_urls: + - https://github.com/anthropics/skills/tree/main/skills/skill-creator properties: source_urls: type: array @@ -7678,6 +7691,8 @@ components: additionalProperties: false required: - source_url + example: + source_url: https://github.com/anthropics/skills properties: source_url: type: string @@ -7800,6 +7815,8 @@ components: additionalProperties: false required: - status + example: + status: ENABLED properties: status: $ref: "#/components/schemas/PlatformSkillUpdateStatus" @@ -12896,15 +12913,18 @@ components: - EXECUTION - AUTHENTICATION_SUGGESTION - VOTE_SUGGESTION + - SANDBOX_EGRESS description: The type of request made to the user. x-enumDescriptions: EXECUTION: Request for approving execution of the tool. AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion. VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool. + SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox. x-speakeasy-enum-descriptions: EXECUTION: Request for approving execution of the tool. AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion. VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool. + SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox. requestId: type: string description: Unique identifier for this request. @@ -13004,6 +13024,9 @@ components: For VOTE_SUGGESTION requests: - voted: whether the user voted for this tool + + For SANDBOX_EGRESS requests: + - isGranted: whether the sandbox egress call is approved x-visibility: Preview x-glean-experimental: id: 3eae3ee7-2c06-4027-be14-98260a3ce608 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b2fc4041..e29f1c86 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.795.1 +speakeasyVersion: 1.795.3 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae - sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27 + sourceRevisionDigest: sha256:e01ddc11a28e6d9d70b5fbdca734adda6afd78d0f036fdacd1e45bc1018c71e3 + sourceBlobDigest: sha256:dfcec6e88b95c1857e5d16505ee38ec177a63a994df6b9f9658f360cc93b9ba6 tags: - latest Glean-OAS: @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae - sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27 + sourceRevisionDigest: sha256:e01ddc11a28e6d9d70b5fbdca734adda6afd78d0f036fdacd1e45bc1018c71e3 + sourceBlobDigest: sha256:dfcec6e88b95c1857e5d16505ee38ec177a63a994df6b9f9658f360cc93b9ba6 codeSamplesNamespace: glean-api-specs-java-code-samples - codeSamplesRevisionDigest: sha256:ddf9dd5cbbd862309aa41daa91879d560ebe98abe45b256ed28022e253b91eb1 + codeSamplesRevisionDigest: sha256:7156be7e486f10278fd9af21f32cb7d781183cfe96ac1ffaaa880b1ea5858389 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 3920e2b9..3a2326f2 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.glean.api-client:glean-api-client:0.16.0' +implementation 'com.glean.api-client:glean-api-client:0.16.1' ``` Maven: @@ -75,7 +75,7 @@ Maven: com.glean.api-client glean-api-client - 0.16.0 + 0.16.1 ``` diff --git a/RELEASES.md b/RELEASES.md index 3935b27d..f1ae4975 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -828,4 +828,14 @@ Based on: ### Generated - [java v0.16.0] . ### Releases -- [Maven Central v0.16.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.16.0 - . \ No newline at end of file +- [Maven Central v0.16.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.16.0 - . + +## 2026-08-25 05:33:40 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.795.3 (2.932.9) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.16.1] . +### Releases +- [Maven Central v0.16.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.16.1 - . \ No newline at end of file diff --git a/docs/models/components/ChatMessageFragment.md b/docs/models/components/ChatMessageFragment.md index 5a63122a..6b378445 100644 --- a/docs/models/components/ChatMessageFragment.md +++ b/docs/models/components/ChatMessageFragment.md @@ -5,14 +5,14 @@ Represents a part of a ChatMessage that originates from a single action/tool. It ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `structuredResults` | List\<[StructuredResult](../../models/components/StructuredResult.md)> | :heavy_minus_sign: | An array of entities in the work graph retrieved via a data request. | | -| `trackingToken` | *Optional\* | :heavy_minus_sign: | An opaque token that represents this particular result in this particular query. To be used for /feedback reporting. | | -| `text` | *Optional\* | :heavy_minus_sign: | N/A | | -| `querySuggestion` | [Optional\](../../models/components/QuerySuggestion.md) | :heavy_minus_sign: | N/A | {
"query": "app:github type:pull author:mortimer",
"label": "Mortimer's PRs",
"datasource": "github"
} | -| `file` | [Optional\](../../models/components/ChatFile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | | -| `action` | [Optional\](../../models/components/ToolInfo.md) | :heavy_minus_sign: | N/A | | -| `citation` | [Optional\](../../models/components/ChatMessageCitation.md) | :heavy_minus_sign: | Information about the source for a ChatMessage. | | -| `serverToolRequest` | [Optional\](../../models/components/ServerToolRequest.md) | :heavy_minus_sign: | N/A | | -| `serverToolResponse` | [Optional\](../../models/components/ServerToolResponse.md) | :heavy_minus_sign: | Response to a server tool request. The applicable fields depend on requestType:

For EXECUTION requests:
- isGranted: whether tool execution is approved
- reason: optional explanation

For AUTHENTICATION_SUGGESTION requests:
- isGranted: whether auth completed successfully (true=connected, false=skipped)
- authContext: contains serverId or actionPackId for identifying the authenticated entity
- reason: optional explanation for skip

For VOTE_SUGGESTION requests:
- voted: whether the user voted for this tool
| | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `structuredResults` | List\<[StructuredResult](../../models/components/StructuredResult.md)> | :heavy_minus_sign: | An array of entities in the work graph retrieved via a data request. | | +| `trackingToken` | *Optional\* | :heavy_minus_sign: | An opaque token that represents this particular result in this particular query. To be used for /feedback reporting. | | +| `text` | *Optional\* | :heavy_minus_sign: | N/A | | +| `querySuggestion` | [Optional\](../../models/components/QuerySuggestion.md) | :heavy_minus_sign: | N/A | {
"query": "app:github type:pull author:mortimer",
"label": "Mortimer's PRs",
"datasource": "github"
} | +| `file` | [Optional\](../../models/components/ChatFile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | | +| `action` | [Optional\](../../models/components/ToolInfo.md) | :heavy_minus_sign: | N/A | | +| `citation` | [Optional\](../../models/components/ChatMessageCitation.md) | :heavy_minus_sign: | Information about the source for a ChatMessage. | | +| `serverToolRequest` | [Optional\](../../models/components/ServerToolRequest.md) | :heavy_minus_sign: | N/A | | +| `serverToolResponse` | [Optional\](../../models/components/ServerToolResponse.md) | :heavy_minus_sign: | Response to a server tool request. The applicable fields depend on requestType:

For EXECUTION requests:
- isGranted: whether tool execution is approved
- reason: optional explanation

For AUTHENTICATION_SUGGESTION requests:
- isGranted: whether auth completed successfully (true=connected, false=skipped)
- authContext: contains serverId or actionPackId for identifying the authenticated entity
- reason: optional explanation for skip

For VOTE_SUGGESTION requests:
- voted: whether the user voted for this tool

For SANDBOX_EGRESS requests:
- isGranted: whether the sandbox egress call is approved
| | \ No newline at end of file diff --git a/docs/models/components/ServerToolRequestRequestType.md b/docs/models/components/ServerToolRequestRequestType.md index fea3c773..337eaa64 100644 --- a/docs/models/components/ServerToolRequestRequestType.md +++ b/docs/models/components/ServerToolRequestRequestType.md @@ -20,4 +20,5 @@ ServerToolRequestRequestType custom = ServerToolRequestRequestType.of("custom_va | --------------------------- | --------------------------- | | `EXECUTION` | EXECUTION | | `AUTHENTICATION_SUGGESTION` | AUTHENTICATION_SUGGESTION | -| `VOTE_SUGGESTION` | VOTE_SUGGESTION | \ No newline at end of file +| `VOTE_SUGGESTION` | VOTE_SUGGESTION | +| `SANDBOX_EGRESS` | SANDBOX_EGRESS | \ No newline at end of file diff --git a/docs/models/components/ServerToolResponse.md b/docs/models/components/ServerToolResponse.md index 3d365d8f..bf6a7b33 100644 --- a/docs/models/components/ServerToolResponse.md +++ b/docs/models/components/ServerToolResponse.md @@ -14,6 +14,9 @@ For AUTHENTICATION_SUGGESTION requests: For VOTE_SUGGESTION requests: - voted: whether the user voted for this tool +For SANDBOX_EGRESS requests: +- isGranted: whether the sandbox egress call is approved + ## Fields diff --git a/docs/models/components/ServerToolResponseRequestType.md b/docs/models/components/ServerToolResponseRequestType.md index 0e9b4702..f7afd9bc 100644 --- a/docs/models/components/ServerToolResponseRequestType.md +++ b/docs/models/components/ServerToolResponseRequestType.md @@ -20,4 +20,5 @@ ServerToolResponseRequestType custom = ServerToolResponseRequestType.of("custom_ | --------------------------- | --------------------------- | | `EXECUTION` | EXECUTION | | `AUTHENTICATION_SUGGESTION` | AUTHENTICATION_SUGGESTION | -| `VOTE_SUGGESTION` | VOTE_SUGGESTION | \ No newline at end of file +| `VOTE_SUGGESTION` | VOTE_SUGGESTION | +| `SANDBOX_EGRESS` | SANDBOX_EGRESS | \ No newline at end of file diff --git a/docs/models/operations/PlatformAgentsCreateRunRequest.md b/docs/models/operations/PlatformAgentsCreateRunRequest.md index 5824662e..9661efaa 100644 --- a/docs/models/operations/PlatformAgentsCreateRunRequest.md +++ b/docs/models/operations/PlatformAgentsCreateRunRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. | -| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. | | +| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A | {
"messages": [
{
"role": "USER",
"content": [
{
"text": "What is our parental leave policy?",
"type": "text"
}
]
}
]
} | \ No newline at end of file diff --git a/docs/models/operations/PlatformSkillsUpdateRequest.md b/docs/models/operations/PlatformSkillsUpdateRequest.md index 09e62ae8..5cdfc3b9 100644 --- a/docs/models/operations/PlatformSkillsUpdateRequest.md +++ b/docs/models/operations/PlatformSkillsUpdateRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `skillId` | *String* | :heavy_check_mark: | Glean skill ID. | -| `platformSkillUpdateRequest` | [PlatformSkillUpdateRequest](../../models/components/PlatformSkillUpdateRequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `skillId` | *String* | :heavy_check_mark: | Glean skill ID. | | +| `platformSkillUpdateRequest` | [PlatformSkillUpdateRequest](../../models/components/PlatformSkillUpdateRequest.md) | :heavy_check_mark: | N/A | {
"status": "ENABLED"
} | \ No newline at end of file diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index 0a593445..533ce032 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -208,7 +208,11 @@ public class Application { .messages(List.of( PlatformMessage.builder() .role(PlatformMessageRole.USER) - .content(List.of()) + .content(List.of( + PlatformMessageTextBlock.builder() + .text("What is our parental leave policy?") + .type(PlatformContentType.TEXT) + .build())) .build())) .build()) .call(); @@ -222,10 +226,10 @@ public class Application { ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. | -| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A | +| Parameter | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. | | +| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A | {
"messages": [
{
"role": "USER",
"content": [
{
"text": "What is our parental leave policy?",
"type": "text"
}
]
}
]
} | ### Response diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index 3996d64f..5b57b52c 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -33,7 +33,7 @@ public class Application { .build(); PlatformChatCreateRequest req = PlatformChatCreateRequest.builder() - .input(Input.of("")) + .input(Input.of("What is our parental leave policy?")) .build(); PlatformChatCreateResponse res = sdk.chat().create() diff --git a/docs/sdks/skills/README.md b/docs/sdks/skills/README.md index b6e66173..028bc2a4 100644 --- a/docs/sdks/skills/README.md +++ b/docs/sdks/skills/README.md @@ -161,7 +161,7 @@ public class Application { PlatformSkillImportRequest req = PlatformSkillImportRequest.builder() .sourceUrls(List.of( - "")) + "https://github.com/anthropics/skills/tree/main/skills/skill-creator")) .build(); PlatformSkillsImportResponse res = sdk.skills().import_() @@ -280,7 +280,7 @@ public class Application { .build(); PlatformSkillSourcePreviewRequest req = PlatformSkillSourcePreviewRequest.builder() - .sourceUrl("https://ugly-information.name/") + .sourceUrl("https://github.com/anthropics/skills") .build(); PlatformSkillsPreviewSourceResponse res = sdk.skills().previewSource() @@ -341,7 +341,7 @@ public class Application { PlatformSkillsUpdateResponse res = sdk.skills().update() .skillId("") .platformSkillUpdateRequest(PlatformSkillUpdateRequest.builder() - .status(PlatformSkillUpdateStatus.DISABLED) + .status(PlatformSkillUpdateStatus.ENABLED) .build()) .call(); @@ -354,10 +354,10 @@ public class Application { ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `skillId` | *String* | :heavy_check_mark: | Glean skill ID. | -| `platformSkillUpdateRequest` | [PlatformSkillUpdateRequest](../../models/components/PlatformSkillUpdateRequest.md) | :heavy_check_mark: | N/A | +| Parameter | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `skillId` | *String* | :heavy_check_mark: | Glean skill ID. | | +| `platformSkillUpdateRequest` | [PlatformSkillUpdateRequest](../../models/components/PlatformSkillUpdateRequest.md) | :heavy_check_mark: | N/A | {
"status": "ENABLED"
} | ### Response diff --git a/gradle.properties b/gradle.properties index 34dfd5c9..c482e4d0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.glean.api-client artifactId=glean-api-client -version=0.16.0 +version=0.16.1 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java index 053e9244..0edfb787 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java +++ b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java @@ -25,7 +25,7 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "0.9.0"; - public static final String SDK_VERSION = "0.16.0"; + public static final String SDK_VERSION = "0.16.1"; public static final String GEN_VERSION = "2.932.9"; private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client"; public static final String USER_AGENT = diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java index d2653b52..bea60ac3 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java @@ -91,6 +91,9 @@ public class ChatMessageFragment { * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("serverToolResponse") @@ -206,6 +209,9 @@ public Optional serverToolRequest() { * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ @SuppressWarnings("unchecked") @JsonIgnore @@ -362,6 +368,9 @@ public ChatMessageFragment withServerToolRequest(OptionalFor VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ public ChatMessageFragment withServerToolResponse(ServerToolResponse serverToolResponse) { Utils.checkNotNull(serverToolResponse, "serverToolResponse"); @@ -384,6 +393,9 @@ public ChatMessageFragment withServerToolResponse(ServerToolResponse serverToolR * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ public ChatMessageFragment withServerToolResponse(Optional serverToolResponse) { Utils.checkNotNull(serverToolResponse, "serverToolResponse"); @@ -604,6 +616,9 @@ public Builder serverToolRequest(Optional serverToo * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ public Builder serverToolResponse(ServerToolResponse serverToolResponse) { Utils.checkNotNull(serverToolResponse, "serverToolResponse"); @@ -625,6 +640,9 @@ public Builder serverToolResponse(ServerToolResponse serverToolResponse) { * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ public Builder serverToolResponse(Optional serverToolResponse) { Utils.checkNotNull(serverToolResponse, "serverToolResponse"); diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolRequestRequestType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolRequestRequestType.java index 919d6f66..b63ae210 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolRequestRequestType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolRequestRequestType.java @@ -29,6 +29,7 @@ public class ServerToolRequestRequestType { public static final ServerToolRequestRequestType EXECUTION = new ServerToolRequestRequestType("EXECUTION"); public static final ServerToolRequestRequestType AUTHENTICATION_SUGGESTION = new ServerToolRequestRequestType("AUTHENTICATION_SUGGESTION"); public static final ServerToolRequestRequestType VOTE_SUGGESTION = new ServerToolRequestRequestType("VOTE_SUGGESTION"); + public static final ServerToolRequestRequestType SANDBOX_EGRESS = new ServerToolRequestRequestType("SANDBOX_EGRESS"); // This map will grow whenever a Color gets created with a new // unrecognized value (a potential memory leak if the user is not @@ -105,6 +106,7 @@ private static final Map createValuesMap() map.put("EXECUTION", EXECUTION); map.put("AUTHENTICATION_SUGGESTION", AUTHENTICATION_SUGGESTION); map.put("VOTE_SUGGESTION", VOTE_SUGGESTION); + map.put("SANDBOX_EGRESS", SANDBOX_EGRESS); return map; } @@ -113,6 +115,7 @@ private static final Map createEnumsMa map.put("EXECUTION", ServerToolRequestRequestTypeEnum.EXECUTION); map.put("AUTHENTICATION_SUGGESTION", ServerToolRequestRequestTypeEnum.AUTHENTICATION_SUGGESTION); map.put("VOTE_SUGGESTION", ServerToolRequestRequestTypeEnum.VOTE_SUGGESTION); + map.put("SANDBOX_EGRESS", ServerToolRequestRequestTypeEnum.SANDBOX_EGRESS); return map; } @@ -121,7 +124,8 @@ public enum ServerToolRequestRequestTypeEnum { EXECUTION("EXECUTION"), AUTHENTICATION_SUGGESTION("AUTHENTICATION_SUGGESTION"), - VOTE_SUGGESTION("VOTE_SUGGESTION"),; + VOTE_SUGGESTION("VOTE_SUGGESTION"), + SANDBOX_EGRESS("SANDBOX_EGRESS"),; private final String value; diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponse.java index f99f5962..2097dfe1 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponse.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponse.java @@ -34,6 +34,9 @@ * *

For VOTE_SUGGESTION requests: * - voted: whether the user voted for this tool + * + *

For SANDBOX_EGRESS requests: + * - isGranted: whether the sandbox egress call is approved */ public class ServerToolResponse { /** diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponseRequestType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponseRequestType.java index ece0a53d..16fab3c4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponseRequestType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ServerToolResponseRequestType.java @@ -29,6 +29,7 @@ public class ServerToolResponseRequestType { public static final ServerToolResponseRequestType EXECUTION = new ServerToolResponseRequestType("EXECUTION"); public static final ServerToolResponseRequestType AUTHENTICATION_SUGGESTION = new ServerToolResponseRequestType("AUTHENTICATION_SUGGESTION"); public static final ServerToolResponseRequestType VOTE_SUGGESTION = new ServerToolResponseRequestType("VOTE_SUGGESTION"); + public static final ServerToolResponseRequestType SANDBOX_EGRESS = new ServerToolResponseRequestType("SANDBOX_EGRESS"); // This map will grow whenever a Color gets created with a new // unrecognized value (a potential memory leak if the user is not @@ -105,6 +106,7 @@ private static final Map createValuesMap( map.put("EXECUTION", EXECUTION); map.put("AUTHENTICATION_SUGGESTION", AUTHENTICATION_SUGGESTION); map.put("VOTE_SUGGESTION", VOTE_SUGGESTION); + map.put("SANDBOX_EGRESS", SANDBOX_EGRESS); return map; } @@ -113,6 +115,7 @@ private static final Map createEnumsM map.put("EXECUTION", ServerToolResponseRequestTypeEnum.EXECUTION); map.put("AUTHENTICATION_SUGGESTION", ServerToolResponseRequestTypeEnum.AUTHENTICATION_SUGGESTION); map.put("VOTE_SUGGESTION", ServerToolResponseRequestTypeEnum.VOTE_SUGGESTION); + map.put("SANDBOX_EGRESS", ServerToolResponseRequestTypeEnum.SANDBOX_EGRESS); return map; } @@ -121,7 +124,8 @@ public enum ServerToolResponseRequestTypeEnum { EXECUTION("EXECUTION"), AUTHENTICATION_SUGGESTION("AUTHENTICATION_SUGGESTION"), - VOTE_SUGGESTION("VOTE_SUGGESTION"),; + VOTE_SUGGESTION("VOTE_SUGGESTION"), + SANDBOX_EGRESS("SANDBOX_EGRESS"),; private final String value; From 2ffcba519f30fc3368c79ba6499d18ac52d631d7 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Tue, 25 Aug 2026 05:39:51 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow