Commit Graph

412 Commits

Author SHA1 Message Date
Matt Toohey 4889539ebb feat(observability): trace provider/model at every reply hand-off
- Always populate Message.metadata.inference in reply_internal so the
  client has a per-message ground truth even when fetch_model_info()
  cannot resolve a canonical model (resolved_model: None is now a
  legitimate carried value).
- Add gen_ai.provider and gen_ai.request.model fields to the existing
  tracing::instrument on stream_response_from_provider, which wraps
  every Provider::stream call. (Instrumenting the trait method
  directly is not possible: it has no body for tracing-attributes to
  wrap and the in-tree comment at base.rs explicitly forbids it.)
- Add structured tracing::info! at the four reply hand-off points,
  tagged with session.id for end-to-end correlation:
  * /reply entry, after the session is loaded
    (goose-server/src/routes/reply.rs)
  * restore_provider_from_session, with provider_source and
    model_source = "session" | "config_default"
    (goose/src/agents/agent.rs)
  * update_provider, with source = "explicit_update"
    (goose/src/agents/agent.rs)
  * just before provider.stream(...)
    (goose/src/agents/reply_parts.rs)
  * MessageEvent::Message emit, with the message's inference metadata
    (goose-server/src/routes/reply.rs)
- ACP path: add symmetric entry and emit logs in
  GooseAcpAgent::on_prompt (goose/src/acp/server.rs). The actual LLM
  call site is shared via Agent::reply, so the agent-level changes
  cover both /reply and ACP.

Together these allow correlating one log chain per session and
locating where the requested model and the actually-used model
diverge.

Verified: cargo build -p goose -p goose-server, cargo clippy
--all-targets -p goose -p goose-server -- -D warnings, and
cargo test -p goose --lib conversation:: all pass. Pre-existing
sqlx-runtime-feature test failures under cargo test -p goose --lib
are unrelated to this change (confirmed via git stash).

Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-06-01 10:33:02 +10:00
Alex Hancock 9c403b1560 refactor: convert desktop v1 and goose-server extensions to ACP+ (#9448) 2026-05-27 20:59:48 +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
jh-block 27dc0d5f83 Improve dependency hygiene (#9360)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-26 16:09:03 +00:00
Angie Jones c4d64d1a83 Fix desktop chat search session limiting (#9366)
Signed-off-by: Angie Jones <jones.angie@gmail.com>
2026-05-24 23:33:44 +00:00
jh-block 8f9270e295 Surface resolved Databricks model metadata (#9206)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-20 10:50:44 +00:00
jh-block 98a54e9ec6 Add unified thinking effort control across all providers (#9242)
Signed-off-by: jh-block <jhugo@block.xyz>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 08:42:42 +00:00
Lifei Zhou 3631e3cbf1 feat: slash commands (built-in, skill, recipe) in acp server (#9238) 2026-05-20 04:48:34 +00:00
jh-block bdb7d214e7 Add Linux musl CLI builds (#9240)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-19 07:28:20 +00:00
ayourk badb97a01e Structured per-provider config block, non-destructive provider switching (#8977)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Aaron Yourk <ayourk@gmail.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-18 18:22:50 +00:00
Douwe Osinga 64edb978cd Flush OTLP traces reliably on exit with configurable timeout (#9228)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-18 09:58:05 -04:00
Lifei Zhou 1fafd74413 mount acp in the goosed server to migrate using acp protocols iteratively (#9097) 2026-05-17 23:43:30 +00:00
dependabot[bot] 4b88eabac1 chore(deps): bump the cargo-minor-and-patch group with 6 updates (#9266)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-15 14:05:39 -04:00
dependabot[bot] 594d8bc3be chore(deps): bump tokio-tungstenite from 0.28.0 to 0.29.0 (#9271)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-15 14:05:30 -04:00
jh-block 537eb23fb2 Preserve thinking content for providers that require it (#8857)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-15 10:36:25 +00:00
Douwe Osinga 4671053985 fix: persist accumulated cost in session DB to survive reload (#9191)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-14 16:57:06 +00:00
Rodolfo Olivieri 4de5fcdff8 refactor(logging): consolidate logging setup into shared helper in goose crate (#8817)
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-13 18:35:41 +00:00
callebtc dbbee1cdbf add encrypted Nostr session sharing (#8922)
Signed-off-by: callebtc <93376500+callebtc@users.noreply.github.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2026-05-13 03:06:44 +00:00
Spike Wang ba60b597fa feat(CLI): Add optional --parameters to scheduled recipe (#8741)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-05-12 23:30:38 +00:00
g.sunilkumar f2df168bec Fix frontend extension session state and tool routes (#8464)
Signed-off-by: sunilkumarvalmiki <g.sunilkumarvalmiki@gmail.com>
Signed-off-by: jh-block <jhugo@block.xyz>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Angie Jones <jones.angie@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Adam Miller <admiller@redhat.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Signed-off-by: Andrew Harvard <aharvard@squareup.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Signed-off-by: Wes <wesb@block.xyz>
Signed-off-by: Clay Delk <clay.delk@gmail.com>
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Alex Hancock <alexhancock@block.xyz>
Signed-off-by: Treebird <treebird@treebird.dev>
Signed-off-by: tulsi <tulsi@block.xyz>
Signed-off-by: vonbai <nswanqi@gmail.com>
Signed-off-by: olaservo <olahungerford@gmail.com>
Signed-off-by: Abhijay Jain <Abhijay007j@gmail.com>
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Signed-off-by: fresh3nough <anonwurcod@proton.me>
Signed-off-by: Jheison Martinez Bolivar <jheison.mb@gmail.com>
Co-authored-by: Matt Toohey <contact@matttoohey.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Lifei Zhou <lifei@squareup.com>
Co-authored-by: jh-block <jhugo@block.xyz>
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
Co-authored-by: Jack Amadeo <jackamadeo@block.xyz>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
Co-authored-by: Angie Jones <jones.angie@gmail.com>
Co-authored-by: SomeSolutionsArchitect <139817767+SomeSolutionsArchitect@users.noreply.github.com>
Co-authored-by: Christian <chvargas@wfscorp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Co-authored-by: Adam Miller <admiller@redhat.com>
Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
Co-authored-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrew Harvard <aharvard@squareup.com>
Co-authored-by: Kalvin C <kalvinnchau@users.noreply.github.com>
Co-authored-by: Adewale Abati <acekyd01@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Kalvin Chau <kalvin@block.xyz>
Co-authored-by: Clay Delk <clay.delk@gmail.com>
Co-authored-by: dorien-koelemeijer <62866702+dorien-koelemeijer@users.noreply.github.com>
Co-authored-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Monroe Williams <monroe@pobox.com>
Co-authored-by: Spike Wang <spike@spikewang.me>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Treebird <treebird@treebird.dev>
Co-authored-by: Sarthak Bhardwaj <100398847+SarthakB11@users.noreply.github.com>
Co-authored-by: Douwe Osinga <douwe@block.xyz>
Co-authored-by: tulsi <tulsi@block.xyz>
Co-authored-by: Vonbai <107612985+vonbai@users.noreply.github.com>
Co-authored-by: Ola Hungerford <olahungerford@gmail.com>
Co-authored-by: Lucas Kim <45152028+Raptors65@users.noreply.github.com>
Co-authored-by: Abhijay Jain <abhijay007j@gmail.com>
Co-authored-by: Rodolfo Olivieri <rolivier@redhat.com>
Co-authored-by: fre$h <anonwurcod@proton.me>
Co-authored-by: Jheison Martinez Bolivar <78370841+JheisonMB@users.noreply.github.com>
2026-05-12 19:04:26 +00:00
Rodolfo Olivieri 1dc2749430 fix: return 400 instead of panicking on invalid CSP header value (#8810)
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
2026-05-12 18:16:48 +00:00
jh-block f325a9d8e3 Add Linux Vulkan support for local inference (#9038)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-05-07 07:12:18 +00:00
Alex Hancock cadae27bb0 fix: 8531 - elicitation fixes (#8999)
Signed-off-by: Alex Hancock <alexhancock@block.xyz>
2026-05-05 18:47:25 +00:00
Angie Jones 17c12bfbd8 fix: unscheduling a recipe should not delete them (#8978)
Signed-off-by: Angie Jones <jones.angie@gmail.com>
2026-05-04 01:26:54 +00:00
Kalvin C ef73610cc1 feat: goose2 add support for custom providers in ui & acp (#8924) 2026-04-30 21:05:10 +00:00
Jack Amadeo 23d3db445f mergeable configs + cleanup (#8378) 2026-04-28 20:26:31 +00:00
Lifei Zhou 96fa25bce8 fix: remove defaults yaml (#8854) 2026-04-27 21:57:32 +00:00
dependabot[bot] 978ff24b10 chore(deps): bump the cargo-minor-and-patch group across 1 directory with 23 updates (#8855)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lifei Zhou <lifei@squareup.com>
2026-04-27 07:43:43 +00:00
Lifei Zhou 8014adf982 fix: lazy init local inference runtime in router instead of app start (#8656) 2026-04-27 03:16:53 +00:00
dependabot[bot] 958f63c94b chore(deps): bump rcgen from 0.13.2 to 0.14.7 (#8827)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 02:49:18 +00:00
dependabot[bot] ba88d336f1 chore(deps): bump winreg from 0.55.0 to 0.56.0 (#8829)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 02:48:20 +00:00
Jack Amadeo 5dd9f08d57 Dedupe and organize skills/sources (#8731) 2026-04-23 19:07:45 +00:00
Treebird 092a40c44b fix(goose-server): cache TLS cert to disk to avoid slow startup on first launch (#8174)
Signed-off-by: Treebird <treebird@treebird.dev>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 00:16:02 +00:00
Douwe Osinga 04514c6d20 Feature/at agent mention (#8571)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-04-22 14:17:43 +00:00
jh-block 2067a564ce ci: declare and enforce MSRV of 1.91.1 (#8670)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-04-21 16:03:11 +00:00
jh-block 1a18c2748c fix: eliminate ~5s delay when opening Switch Models panel with local provider (#8626)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-04-17 19:08:41 +00:00
jh-block d52cde3fb9 Register IconTheme in OpenAPI schema after rmcp 1.5.0 upgrade (#8621)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-04-17 12:14:58 +00:00
Lifei Zhou 23755aa458 Lifei/oltp data (#8458) 2026-04-15 23:47:09 +00:00
Gandalf_Le_Dev 890ad15934 fix(desktop): accept self-signed certs from configured external goosed host (#8400)
Signed-off-by: jh-block <jhugo@block.xyz>
Co-authored-by: Mathis Rocher <mathis.rocher@corp.ovh.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: jh-block <jhugo@block.xyz>
2026-04-15 19:10:37 +00:00
jh-block 65e5d97cac Improve local inference settings and model downloader (#8467)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-04-14 08:50:50 +00:00
jh-block de317d5445 Add vision/image support for local inference models (#8442)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-04-13 08:17:04 +00:00
Michael Neale 331d1e2efb fix: prevent 'active request' error from showing blocking error screen (#8398)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-04-09 05:04:16 +00:00
Lifei Zhou 0450aaa39f enable gemma 4 local model (#8366)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 09:51:57 +00:00
Alex Hancock ca806fa128 feat: skills platform ext (#8377) 2026-04-08 01:02:29 +00:00
Alex Hancock a6ce7a37da Revert "refactor: skills as its own platform ext (#8244)" (#8375) 2026-04-07 15:03:29 +00:00
Jack Amadeo 583acd4335 chore(aaif): rename a bunch of repository references (#8152)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>

continuing migration to aaif
2026-04-07 15:34:48 +10:00
Alex Hancock de730da900 fix: hide hidden extensions in UI (#8346) 2026-04-07 01:19:43 +00:00
Alex Hancock fb04c8973b refactor: skills as its own platform ext (#8244) 2026-04-07 00:53:38 +00:00
Vincenzo Palazzo 9feb3f3bca feat: show installed skills in UI (#7910)
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-03-26 20:57:12 +00:00
Rabi Mishra f5ad3384b8 fix(acp): separate acp sessions from user sessions (#7857)
Signed-off-by: Rabi Mishra <mishra.rabi@gmail.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-03-26 16:52:42 +00:00