Skip to content

Conversation

@alexhancock
Copy link
Collaborator

@alexhancock alexhancock commented Aug 19, 2025

Improvements to the context management UX, making it much simpler and more consistent in the language it presents to users

Changes

  • No more UI in the chat itself other than simple markers that auto-compaction occurred, or the user compacted
  • "Compact now" button always in the alert popup about context
  • Session automatically continues for the user after the summarization occurs, keeping things moving without mentioning in any verbose way that the agent read a summary

Demo

Goose.Simple.Compact.mov

@alexhancock alexhancock marked this pull request as draft August 19, 2025 19:33
@alexhancock alexhancock mentioned this pull request Aug 19, 2025
@zanesq
Copy link
Collaborator

zanesq commented Aug 19, 2025

@alexhancock just a note to pull main and npm install, had to fix some dependencies from the upgrade

@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 5 times, most recently from 7aa01ff to 9c26e47 Compare August 20, 2025 14:24
@alexhancock alexhancock changed the title alexhancock/context-ux Goose Simple Compact UX Aug 20, 2025
@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 2 times, most recently from 2675a40 to 6e4c5e6 Compare August 20, 2025 15:51
@alexhancock alexhancock marked this pull request as ready for review August 20, 2025 16:00
@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 2 times, most recently from 6f4216f to f210830 Compare August 20, 2025 18:54
@alexhancock alexhancock marked this pull request as draft August 20, 2025 20:51
@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 9 times, most recently from 23e8de7 to dd2c7ea Compare August 21, 2025 15:49
@alexhancock alexhancock requested a review from katzdave August 21, 2025 15:51
@alexhancock alexhancock marked this pull request as ready for review August 21, 2025 15:51
chat,
setChat,
summarizedThread,
summarizedThread: [],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zanesq I wanted to ask you about this one. Can you clarify why the useSessionContinuation hook needed the summarized thread before? Likely need to make some kind of change here before going ahead.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this new architecture has replaced what useSessionContinuation was doing so I think we can remove the hook completely now 👍

@alexhancock alexhancock requested review from DOsinga and zanesq August 21, 2025 15:56
@alexhancock
Copy link
Collaborator Author

.bundle

@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 4 times, most recently from c2661cd to df861f6 Compare August 22, 2025 19:04
@alexhancock
Copy link
Collaborator Author

Updated demo screen capture

UX.mov

@alexhancock
Copy link
Collaborator Author

alexhancock commented Aug 25, 2025

#4284 fixes the summarize button in the UI at the end of the context to your error.

Saw some weird stuff rendered, but wasn't sure how to properly suppress that; not the end of the world though as we're targeting fixing this next with message metadata. (the top message is the summary which is also visible). Screenshot 2025-08-22 at 11 50 14 AM

I also don't see the context window display green dot after resuming a session (but before finishing processing on the first message). I think if we fix the green dot to stop disappearing this should be good to go.

I fixed this one

@block block deleted a comment from github-actions bot Aug 25, 2025
@alexhancock
Copy link
Collaborator Author

.bundle

@github-actions
Copy link
Contributor

macOS ARM64 Desktop App (Apple Silicon)

📱 Download macOS Desktop App (arm64, unsigned)

Instructions:
After downloading, unzip the file and drag the Goose.app to a location you prefer. The app is unsigned, so to run it run xattr -r -d com.apple.quarantine '/path/to/Goose.app' and then open the app

@@ -0,0 +1,4032 @@
diff --git a/crates/goose/src/agents/agent.rs b/crates/goose/src/agents/agent.rs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -0,0 +1,19 @@
commit eace087d25a96aa1e85db299f7484c335d385e24
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

} else if (isTokenLimitLoaded && tokenLimit) {
// Always show context window info even when no tokens are present (start of conversation)
// Only show context window alert if there are tokens being used
if ((numTokens && numTokens > 0) || (isTokenLimitLoaded && tokenLimit)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@alexhancock alexhancock force-pushed the alexhancock/context-ux branch 2 times, most recently from c134ad7 to 4547f98 Compare August 26, 2025 01:03
@alexhancock alexhancock requested a review from katzdave August 26, 2025 01:13
alexhancock and others added 3 commits August 26, 2025 09:53
Remove special handling for token limit errors - all errors from providers
should now show the retry/summarize UI buttons in BaseChat
@alexhancock alexhancock force-pushed the alexhancock/context-ux branch from 4547f98 to 55a4343 Compare August 26, 2025 13:53
Copy link
Collaborator

@katzdave katzdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@alexhancock alexhancock merged commit a4fc5ec into main Aug 26, 2025
11 checks passed
@alexhancock alexhancock deleted the alexhancock/context-ux branch August 26, 2025 22:12
shellz-n-stuff pushed a commit to shellz-n-stuff/goose that referenced this pull request Aug 27, 2025
Co-authored-by: David Katz <[email protected]>
Signed-off-by: Alex Rosenzweig <[email protected]>
zanesq added a commit that referenced this pull request Aug 27, 2025
…nscribing

* 'main' of github.com:block/goose:
  update tetrate blog date to today (#4368)
  tetrate signup: blog/launch post (#4313)
  Implement graceful recipe error handling with filename display (#4363)
  docs: airgapped operation by bypassing hermit for desktop app (#4063)
  remove Ollama card from welcome screen (#4348)
  feat: initial implementation of extension malware check (#4272)
  Add Tetrate Agent Router Service to Provider Registry (#4354)
  Goose Simple Compact UX (#4202)
  Refactor Extensions Install Modal (#4328)
  fix: url path trailing slash for custom-providers (#4345)
  docs: update available and onboarding providers list (#4356)
katzdave added a commit that referenced this pull request Aug 27, 2025
* 'main' of github.com:block/goose:
  Fix eleven labs audio transcription and added more logging (#4358)
  feat: re-introduce session sharing (#4370)
  remove duplicate blog post (#4369)
  fix focus ring under form submits (#4332)
  Trigger docs deployment
  update tetrate blog date to today (#4368)
  tetrate signup: blog/launch post (#4313)
  Implement graceful recipe error handling with filename display (#4363)
  docs: airgapped operation by bypassing hermit for desktop app (#4063)
  remove Ollama card from welcome screen (#4348)
  feat: initial implementation of extension malware check (#4272)
  Add Tetrate Agent Router Service to Provider Registry (#4354)
  Goose Simple Compact UX (#4202)
michaelneale added a commit that referenced this pull request Aug 28, 2025
* main: (38 commits)
  feat: linux computer control for android (termux) (#3890)
  feat: Added scroll state support for chat-session-list navigation (#4360)
  docs: typo fix (#4376)
  blog: goose janitor (#4131)
  Fix eleven labs audio transcription and added more logging (#4358)
  feat: re-introduce session sharing (#4370)
  remove duplicate blog post (#4369)
  fix focus ring under form submits (#4332)
  Trigger docs deployment
  update tetrate blog date to today (#4368)
  tetrate signup: blog/launch post (#4313)
  Implement graceful recipe error handling with filename display (#4363)
  docs: airgapped operation by bypassing hermit for desktop app (#4063)
  remove Ollama card from welcome screen (#4348)
  feat: initial implementation of extension malware check (#4272)
  Add Tetrate Agent Router Service to Provider Registry (#4354)
  Goose Simple Compact UX (#4202)
  Refactor Extensions Install Modal (#4328)
  fix: url path trailing slash for custom-providers (#4345)
  docs: update available and onboarding providers list (#4356)
  ...
dorien-koelemeijer pushed a commit to dorien-koelemeijer/goose that referenced this pull request Sep 2, 2025
Co-authored-by: David Katz <[email protected]>
Signed-off-by: Dorien Koelemeijer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants