1993 Commits

Author SHA1 Message Date
Michael Neale d1969e4dec feat(memory): enable user profile and chat recall by default
Flip GOOSE_USER_PROFILE_ENABLED and GOOSE_CHAT_RECALL_AUTO defaults to on
so the memory features work without setting env vars; the flags remain as
opt-outs.

Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-06-16 11:34:25 +10:00
Michael Neale e76c9ee7cb feat(memory): rolling user profile + cited chat recall
Two opt-in memory features that bring ChatGPT-style memory to goose,
both computed lazily with the fast model and surfaced at session start.

User profile (GOOSE_USER_PROFILE_ENABLED):
- Distills recent sessions (generated names + opening user messages)
  into a ~20-line 'about the user' blurb injected into the system prompt.
- Refresh is a revision, not a rewrite: the existing profile is fed back
  in so durable facts and long-standing preferences persist, new signal
  is folded in, and only clearly stale entries are dropped.
- Stored as plain markdown at ~/.local/share/goose/user_profile.md; no DB
  schema change. Background refresh keeps session start latency at zero.

Auto chat recall (GOOSE_CHAT_RECALL_AUTO):
- A pre-turn 'remembering' step: a fast-model gate decides whether recall
  is warranted and extracts keywords (NONE skips, so trivial turns are
  free), retrieves relevant past sessions, injects them as agent-visible
  grounded context, and surfaces cited sources (title + date) to the user.

Chat history search ranking overhaul:
- Rank sessions by keyword coverage then frequency, with recency only as a
  tiebreaker (was: newest matching message wins).
- Stopword/short-word filtering; candidate pool decoupled from limit, which
  now bounds returned sessions.
- Snippet is the best-matching message, not the session opener.
- Compaction/continuation summaries are deprioritized so a message that
  genuinely discusses the topic outranks a keyword-dense session recap.

Tests: auto_recall (6), user_profile (8), search ranking (4, including
older-on-topic-beats-recent-noise and summary-deprioritization).

Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-06-16 11:27:10 +10:00
jeffa-block 5d5986fd4f fix(summon): evict stale completed tasks to prevent unbounded memory growth (#9514)
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
2026-06-15 20:13:48 +00:00
jeffa-block bbcbb8b92c feat(summon): add working_dir override for delegate tasks (#9520)
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
2026-06-15 20:08:12 +00:00
Matt Van Horn 6364087318 oauth: time out the MCP callback wait instead of hanging in WSL (#9536)
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-06-15 20:02:35 +00:00
xilema2 cb6ece752c feat(providers): add OrcaRouter as a declarative OpenAI-compatible provider (#9515)
Signed-off-by: maxile <xile.ma@myflashcloud.com>
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
2026-06-15 19:53:44 +00:00
jeffa-block 0ed51a5873 fix(summon): warn on unmatched extension names in delegate (#9513)
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
2026-06-15 19:47:31 +00:00
Matt Van Horn ee1a2e4950 feat: propagate elicitation decline and cancel actions end-to-end (#9437)
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
2026-06-15 15:23:22 +00:00
Steve Marshall c4d2d84827 fix(agent): ensure tool request timestamp precedes tool response timestamp (#9462)
Signed-off-by: Steve Marshall <steve.marshall@fasthosts.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 15:03:59 +00:00
github-actions[bot] ca2490026e chore(release): bump version to 1.38.0 (minor) (#9684)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-15 14:43:16 +00:00
dependabot[bot] 114ae52b6b chore(deps): bump uniffi from 0.29.5 to 0.31.1 (#9628)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-15 14:06:49 +00:00
dependabot[bot] d6fa46c301 chore(deps): bump lopdf from 0.40.0 to 0.41.0 (#9629)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-15 14:06:46 +00:00
Matt Toohey b3aa4c2e13 feat(session): add opt-in ACP last message snippets (#9798)
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-06-15 06:28:27 +00:00
Sean Murphy 3063de7584 fix: correctly map ollama_cloud to canonical provider and update max_… (#9639)
Signed-off-by: Sean Murphy <murphysean84@gmail.com>
2026-06-15 02:55:41 +00:00
BestCodes e612d8120c fix incorrect max tokens values for groq provider (#9790) 2026-06-15 00:03:50 +00:00
Douwe Osinga 9d166ecee9 Mark stream decode errors retryable (#9723)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-06-13 11:50:04 +00:00
Michael Neale 0629f9951f fix: classify Bedrock ValidationException as ExecutionError (#9735)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-06-13 06:49:57 +00:00
dorien-koelemeijer 8b5a7b8f8e feat(security): unified OTLP logging schema for cross-tool detection (#9713) 2026-06-12 04:32:37 +00:00
Kalvin C f23347fc30 fix: page through all Databricks AI Gateway v2 endpoints when listing models (#9753)
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
2026-06-11 23:53:02 +00:00
jh-block 86e2f04264 Add canonical thinking modes (#9743)
Signed-off-by: jh-block <jhugo@block.xyz>
2026-06-11 15:59:58 +00:00
Matt Van Horn c6a3b5b4e1 fix: preserve unparseable extension entries during config refresh (#9439)
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2026-06-11 05:10:06 +00:00
Lifei Zhou 523aaee24b feat: custom acp method to get session info (#9729) 2026-06-11 01:37:50 +00:00
Kalvin C e8d5622630 feat(acp): support GOOSE_SERVER__SECRET_KEY at goose serve acp endpoint (#9726)
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
2026-06-10 23:32:25 +00:00
Kalvin C 32722e6ef3 feat: surface Anthropic stream refusals as visible errors (#9724)
Signed-off-by: Kalvin Chau <kalvin@block.xyz>
2026-06-10 22:40:27 +00:00
Lifei Zhou be91189afb feat: use acp search session in Desktop (#9717) 2026-06-10 21:42:54 +00:00
Michael Neale 40315b5ac2 feat: steering messages with ACP (#9560)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
2026-06-10 21:05:30 +00:00
Douwe Osinga fde407c9d3 Update analyze extension instructions (#9585)
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2026-06-10 20:51:00 +00:00
Lifei Zhou d2ab78604e feat: acp list session with keyword and type filter (#9695) 2026-06-10 10:26:46 +00:00
morgmart 10e665a9b9 expose ACP thinking effort config option (#9711)
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Lifei Zhou <lifei@squareup.com>
2026-06-10 09:20:14 +00:00
dorien-koelemeijer 390dfb8c78 feat(security): Re-adjust pattern-based detection for prompt injection detection confidence scores (#9690) 2026-06-10 00:41:05 +00:00
dorien-koelemeijer f52d717dce feat(security): enable prompt injection mitigation by default for internal users via non-overridable env vars (#9612) 2026-06-10 00:13:29 +00:00
Bradley Axen d396767be8 chore: refresh canonical model registry (#9709)
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-06-09 23:39:32 +00:00
Lifei Zhou f4ecdaefc0 feat: use acp list sessions and manage sessions in Desktop (#9687) 2026-06-09 21:48:35 +00: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