Commit Graph

1964 Commits

Author SHA1 Message Date
Will Pfleger 8612764974 fix: prevent set_active_provider from recreating removed providers
In a read-modify-write where the client removes a provider from the
providers map but sends the full object (including the goose_provider
field from the read), set_active_provider would re-create the deleted
entry. Now checks whether the provider exists in the new map before
calling set_active_provider; clears both active_provider and
GOOSE_PROVIDER if it was removed.

Signed-off-by: Will Pfleger <wpfleger@block.xyz>
2026-06-08 17:15:01 -04:00
Will Pfleger 6f1e2b1a55 fix: widen timeout/limit fields from u32 to u64 to match runtime types
14 fields in GooseConfigSchema and ConfigSchemaDto used Option<u32> but
runtime code reads them as u64 or usize. The u32 narrowing was originally
intended to avoid TypeScript bigint issues, but schemars produces identical
JSON Schema for both types and the Zod generator never emits bigint.

Signed-off-by: Will Pfleger <wpfleger@block.xyz>
2026-06-08 15:30:47 -04:00
Will Pfleger cb844c97a8 fix: use u64 for ExtensionConfigDto timeout fields
Match the canonical ExtensionConfig type. The u32 narrowing was only
needed for flat config keys exposed through TypeScript Zod; these nested
extension fields don't hit that path.

Signed-off-by: Will Pfleger <wpfleger@block.xyz>
2026-06-08 15:02:48 -04:00
Will Pfleger f467c1e142 feat: add typed config schema with ACP custom methods
Introduce GooseConfigSchema that reads/writes all non-secret goose config
keys through a single Rust struct, with a parallel ConfigSchemaDto for ACP
wire format. Exposes two new ACP custom methods:
  _goose/unstable/config/read  — returns full typed config
  _goose/unstable/config/write — sparse-patch update

Includes hidden extension merge preservation, stale active_provider
clearing (both active_provider and legacy GOOSE_PROVIDER), custom Envs
deserialization with DISALLOWED_KEYS enforcement, and u32 timeout types
for TypeScript compatibility. Coverage via 6 unit tests and 4 integration
tests.

Signed-off-by: Will Pfleger <wpfleger@block.xyz>
2026-06-08 12:36:07 -04:00
Jack Amadeo e5fd568e01 move formats/openai.rs into goose-providers crate, along with several dependencies (#9633) 2026-06-08 15:26:33 +00:00
Douwe Osinga 4904e3c856 Image read tool (#9607)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-06-05 20:50:34 +00:00
Jack Amadeo 826f13f343 create goose-providers crate with canonical models, conversation and other types (#9588) 2026-06-05 19:28:50 +00:00
Lifei Zhou 2f99664222 feat: acp methods for config extensions (#9581) 2026-06-05 08:08:19 +00:00
Lifei Zhou ec519eeaaf feat: Only send custom notifications when ACP client specifies this capability in the initialization request (#9596) 2026-06-04 22:39:59 +00:00
Alex Hancock 6251e56347 feat(sdk): minimal uniffi setup for cross language sdk (#9593) 2026-06-04 13:58:31 +00:00
Lifei Zhou dc59e41945 Lifei/acp session setup refactor (#9488) 2026-06-04 03:12:04 +00:00
dependabot[bot] 1a52f21c08 chore(deps): bump tokenizers from 0.21.4 to 0.22.2 (#9503)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 13:37:16 -04:00
dependabot[bot] 1205a4a042 chore(deps): bump clap_mangen from 0.2.33 to 0.3.0 (#9508)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 13:36:29 -04:00
dependabot[bot] 1ab48f5dca chore(deps): bump pkcs8 from 0.10.2 to 0.11.0 (#9510)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 13:35:18 -04:00
dependabot[bot] 302dafc41b chore(deps): bump mockall from 0.13.1 to 0.14.0 (#9511)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 13:34:15 -04:00
dependabot[bot] 0e4a367db1 chore(deps): bump the cargo-minor-and-patch group across 1 directory with 10 updates (#9587)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 13:25:23 -04:00
jh-block 08e7480513 Use LRU cache for token counting (#9586)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-06-03 16:04:54 +00:00
jh-block 30034b9b32 Add Hugging Face OAuth support, add auth tab to settings (#9552)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-06-03 13:30:33 +00:00
Lucas Conti 9626b4c3c1 Replace review subprocess timeout with turn limits (#9571)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 20:45:24 +00:00
Douwe Osinga 003252fb52 Import sesssions (#9474)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-06-02 20:35:57 +00:00
dorien-koelemeijer 030dbb0c51 feat(security): Add directionality to egress logging (#9546) 2026-06-02 18:44:38 +00:00
Douwe Osinga 7982086893 Pick the last canonical model (#9568)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-06-02 17:56:29 +00:00
github-actions[bot] fdc1994bc1 chore(release): bump version to 1.37.0 (minor) (#9557)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-02 14:40:15 +00:00
Alex Hancock 942a4564e3 Revert "refactor: convert desktop v1 and goose-server extensions to ACP+ (#9448)" (#9564) 2026-06-02 09:44:18 -04:00
Cameron Yick 586bb15d40 fix(extension-manager): forward custom headers through OAuth connect path (#9388)
Signed-off-by: Cameron Yick <cameron.yick@datadoghq.com>
2026-06-02 01:16:42 +00:00
Angie Jones cd8f718bbb Fix scheduled recipe session params (#9553)
Signed-off-by: Angie Jones <jones.angie@gmail.com>
2026-06-01 23:28:58 +00:00
Joah Gerstenberg f69a1780da fix(otel): skip OTLP signals when protocol=grpc to avoid background-thread panic (#9512)
Co-authored-by: Joah's AI agent <noreply@blockxyz.com>
Co-authored-by: Amp <amp@ampcode.com>
2026-06-01 21:10:19 +00:00
John Matthew Tennant 5e160e51e4 Honor blocking Stop hook decisions (#9468)
Signed-off-by: John Tennant <jtennant@squareup.com>
2026-06-01 18:59:45 +00:00
Bradley Axen 5508079bba chore: update canonical model registry (#9551)
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-06-01 16:05:50 +00:00
Michael Neale 8af2f7609a feat(providers): add xAI SuperGrok OAuth subscription provider (#9420)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-06-01 02:19:22 +00:00
Kalvin C 13f7be2ed5 feat: replay acp images on session load (#9496)
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
2026-05-29 19:34:25 +00:00
Bradley Axen 25ff547487 Expose raw provider supported models over ACP (#9475)
Signed-off-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-authored-by: Matt Toohey <contact@matttoohey.com>
2026-05-29 02:18:42 +00:00
Matt Toohey a3bdb918e7 fix(acp): forward ACP server context window size to clients (#9455)
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-05-29 01:05:45 +00:00
Bradley Axen 104cc17758 Add ACP session system prompt setter (#9478)
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-05-29 00:35:12 +00:00
Rodolfo Olivieri 2116f88908 feat: add tui feature flag to gate the tui command (#9428)
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
2026-05-28 14:12:31 +00:00
Jack Amadeo d10d009b97 CLI to list skills with token counts (#9326) 2026-05-28 14:09:11 +00:00
Alex Hancock 9c403b1560 refactor: convert desktop v1 and goose-server extensions to ACP+ (#9448) 2026-05-27 20:59:48 +00:00
dependabot[bot] c9945bca5d chore(deps): bump sha2 from 0.10.9 to 0.11.0 (#8963)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
2026-05-27 19:08:54 +00:00
James Liounis e9b0d9247b feat(providers): add Perplexity as a declarative OpenAI-compatible provider (#9324) 2026-05-27 19:07:03 +00:00
Jeremy Dawes 4c88f4b91c feat(providers): add Alibaba (Qwen via DashScope) declarative provider (#9443)
Signed-off-by: Jeremy Dawes <jeremy@jezweb.net>
2026-05-27 18:45:48 +00:00
Douwe Osinga 1125e8dd54 fix: make azure api-version query param optional (#9221)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-27 18:32:19 +00:00
Douwe Osinga 10ac6b18c9 feat: make tool output size limit configurable via GOOSE_MAX_TOOL_RESPONSE_SIZE (#9256)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-27 18:31:22 +00:00
Angie Jones d017295f32 fix: tolerate missing responses output (#9449)
Signed-off-by: Angie Jones <jones.angie@gmail.com>
2026-05-27 18:05:00 +00:00
jh-block 27b41d93f5 local inference: stricter GGUF requirements, auto detection of tool calling support, fixed thinking output parsing (#9442)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-27 18:00:30 +00:00
Bradley Axen d90b349a69 feat: add /model slash command to CLI for session model switching (#8747)
Signed-off-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-27 13:38:59 +00:00
Bradley Axen 17493540e1 Prefer goose aliases for Databricks v2 inventory (#9430)
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-05-27 01:32:32 +00:00
Bradley Axen 7dc904e1e2 add databricks ai gateway provider (#9274)
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-05-26 22:45:01 +00:00
github-actions[bot] b0cd61aa42 chore(release): bump version to 1.36.0 (minor) (#9417)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-26 18:02:17 +00:00
jh-block 27dc0d5f83 Improve dependency hygiene (#9360)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-26 16:09:03 +00:00
Douwe Osinga e1cc44f7ec Build summon instructions per turn (#9329)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-25 00:55:58 +00:00