Repository navigation
feat(cli): add Interactions API long-decode continuation - #198
Merged
Merged
Conversation
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
Upstream changes (v2.959.1 -> v2.960.7): - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) PiperOrigin-RevId: 1017739788
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
from
November 10, 2026 02:26
afab17e to
49c949a
Compare
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
Upstream changes (v2.959.1 -> v2.960.7): - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) PiperOrigin-RevId: 1017739788
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
from
November 16, 2026 01:01
49c949a to
eaf0e46
Compare
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 16, 2026
Upstream changes (v2.959.1 -> v2.961.2): - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) PiperOrigin-RevId: 1017739788
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 16, 2026
Upstream changes (v2.959.1 -> v2.961.2): - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) PiperOrigin-RevId: 1017739788
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
from
November 16, 2026 22:54
eaf0e46 to
b74cd68
Compare
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
Upstream changes (v2.959.1 -> v2.961.2): - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) Behavior note (Python SDK, #200): `Base64EncodedString` (`format: byte`) fields — including inline media `data` and step `signature` fields — now always treat `bytes`, `bytearray`, and `memoryview` inputs as raw binary bytes and base64-encode them. Callers who previously passed pre-encoded ASCII base64 `bytes` (e.g. `base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding. PiperOrigin-RevId: 1017739788
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
Upstream changes (v2.959.1 -> v2.961.2): - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) Behavior note (Python SDK, #200): `Base64EncodedString` (`format: byte`) fields — including inline media `data` and step `signature` fields — now always treat `bytes`, `bytearray`, and `memoryview` inputs as raw binary bytes and base64-encode them. Callers who previously passed pre-encoded ASCII base64 `bytes` (e.g. `base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding. PiperOrigin-RevId: 1017739788
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
Upstream changes (v2.959.1 -> v2.964.1): - cli: keep response metadata and issuing-hop bindings in continuation results (#219) - cli: add continuation primitives for omitted fields, request-shape skips, stalled tokens, and combined results (#218) - typescript: defer schema construction and add lazy Node entry point (#210) - typescript: validate request parameters against schema patterns (#212) - typescript,mcp: reject path parameters that form dot segments (#211) - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) Behavior note (Python SDK, #200): `Base64EncodedString` (`format: byte`) fields — including inline media `data` and step `signature` fields — now always treat `bytes`, `bytearray`, and `memoryview` inputs as raw binary bytes and base64-encode them. Callers who previously passed pre-encoded ASCII base64 `bytes` (e.g. `base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding. PiperOrigin-RevId: 1017739788
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
2 times, most recently
from
November 18, 2026 06:29
1389a0d to
ed2e716
Compare
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 18, 2026
Upstream changes (v2.959.1 -> v2.965.1): - cli,typescript,mcp: bound JSON number parsing and harden path parameter URLs (#220) - mcp: document HTTP auth for MCP Registry publishing in generated README (#199) - typescript: compile MCP server when the document defines no servers (#216) - cli: quote installer temporary directory in EXIT trap (#217) - cli: keep response metadata and issuing-hop bindings in continuation results (#219) - cli: add continuation primitives for omitted fields, request-shape skips, stalled tokens, and combined results (#218) - typescript: defer schema construction and add lazy Node entry point (#210) - typescript: validate request parameters against schema patterns (#212) - typescript,mcp: reject path parameters that form dot segments (#211) - go: fall back on empty error messages and prefix inferred messages with the error code (#215) - go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214) - cli: keep auto-assigned flag shorthands stable across regenerations (#208) - python: base64-encode raw bytes passed to base64 file input fields (#200) - ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206) - python: resolve enum discriminator tags in dict union input (#204) - go: read nested and inferred error messages in typed errors (#202) - java: read nested and inferred error messages in typed errors (#201) - cli: compose continuation recipes across command modes (#190) - cli: preserve error formats for raw artifact responses (#197) - cli: classify invalid path parameters as usage errors (#198) - typescript: type-check event streams against async-disposable ReadableStream iterators (#196) - csharp: add bodyVariantOverloads option for union request bodies (#188) - typescript,python,mcp: parse the debug environment variable as a boolean flag (#194) Behavior notes: - Python SDK (#200): `Base64EncodedString` (`format: byte`) fields — including inline media `data` and step `signature` fields — now always treat `bytes`, `bytearray`, and `memoryview` inputs as raw binary bytes and base64-encode them. Callers who previously passed pre-encoded ASCII base64 `bytes` (e.g. `base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding. - TypeScript SDK (#220): `allowReserved` path parameters containing `?` or `#` are now sent percent-encoded (`%3F`, `%23`), matching Go's `reservedPathChars`. PiperOrigin-RevId: 1017739788
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
2 times, most recently
from
November 19, 2026 23:02
de286fe to
bf1dde5
Compare
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
3 times, most recently
from
November 25, 2026 00:24
0ffa7f3 to
9062263
Compare
Enables automatic multi-hop continuation across JSON and SSE streaming on `generate` and `agent run`, exposes `--continuation-token`, `--previous-interaction-id`, and `--store`, and allows stored-mode manual resumes to omit prompt input. PiperOrigin-RevId: 1029428354
copybara-service
Bot
force-pushed
the
copybara/1017739794
branch
from
November 25, 2026 00:31
9062263 to
8c8dd8d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(cli): add Interactions API long-decode continuation
Enables automatic multi-hop continuation across JSON and SSE streaming on
generateandagent run, exposes--continuation-token,--previous-interaction-id, and--store, and allows stored-mode manualresumes to omit prompt input.