Repository navigation
feat: add the Session tool mode and its registry projection #2197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
bc975d6
feat: add the Session tool mode and the registry projection
eric8810 d187447
feat: expose session.tool_mode and session.create.toolMode
eric8810 e2607a2
docs: carry toolMode in the Session and registry contracts
eric8810 515259b
fix: do not advertise the mode before the surface follows
eric8810 5c196ee
feat: project the request surface and admit by origin
eric8810 4de3892
test: carry the applied tool mode and cover the mode surface
eric8810 46336cf
fix: explain the input queue's registry dependency and guard the Unix…
eric8810 58ff3ef
fix: bind the callable when the host prepares the request
eric8810 2494abf
feat: register execute as a tool and route the live stop
eric8810 87f66a8
feat: settle goals on an effective shell transition
eric8810 64abfb2
docs: document the shell parts and the mode faces
eric8810 274d0f6
fix: use the settle handler's question mark
eric8810 3fa4938
fix: read the tool mode without refreshing providers
eric8810 1647ef4
feat: choose the tool mode in the web composer
eric8810 1d60b2f
style: format the mode transition and goal settle
eric8810 d5b6644
feat: choose the tool mode in the TUI settings panel
eric8810 8992eac
feat: withdraw queued goal inputs when shell takes over
eric8810 78534ee
feat: advertise the modes the daemon can serve
eric8810 18546da
feat: settle an entry registration before its turns run
eric8810 e6a39da
test: give the chat page mock the mode readers
eric8810 ab9f645
fix: keep the settings rows visible and list execute in the run tools
eric8810 5f3e1b2
test: select the isolation row above the tools group
eric8810 860e6a6
fix: address the tool mode review
eric8810 0b90fef
test: pin the request surface against a hidden top-level call
eric8810 ba4501f
test: pause an active goal on an effective shell update
eric8810 143d030
test: a member inherits the leader's live tool mode
eric8810 2237cd9
test: apply a restored queued input under the persisted mode
eric8810 6bf71fc
test: reprice usage after a mode-only switch
eric8810 e72b830
fix: close the second tool mode review round
eric8810 a62b940
fix: re-read the tool mode whenever /settings opens
eric8810 8012523
fix: send only a saved tool mode the protocol names
eric8810 7ef399c
fix: take the queued goal inputs when a settle withdraws them
eric8810 7673ce5
test: the native probe declares the normal-visible run tools
eric8810 7338bf0
fix: settle the pause before shell is effective and retry withdrawals
eric8810 4b92cc2
fix: list all three TUI modes and guard Home settings
eric8810 0fa5b95
fix: price usage by the turn's pinned mode
eric8810 38d54a0
test: pin the rebuild release and a member's effective mode
eric8810 1fa465e
fix: retry a pause whose application failed
eric8810 e29c134
fix: price usage from the turn's start and correct the picker mark
eric8810 b32b6b0
fix: keep usage on the live mode for an idle Session
eric8810 e9649ae
fix: pause an active goal when its branch activates under shell
eric8810 9d96d2f
fix: start a turn only after an entry registration settles
eric8810 bddb34e
fix: restore the lint gate and finish the settle window
eric8810 c875178
feat: record the turn pin and keep a failed shell registration normal
eric8810 9d43a4a
refactor: keep goal_update visible in shell and drop the Goal settle
eric8810 9c13f83
refactor: price usage from the request and drop recorded mode fields
eric8810 fea154b
refactor: keep the tool mode out of the turn and use it live
eric8810 44e1920
chore: drop the Goal and applied-mode leftovers
eric8810 32b0d03
docs: align the design with the live mode read
eric8810 b29d288
docs: state the request-declaration usage source
eric8810 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P3] The two doc comments are stacked on
NoTools: the pre-existingInstalls driver as the Session ToolHostline above now documentsNoTools, and this added comment documents it too, whilepub fn tool_hostbelow has no doc. Move the first line back abovetool_host.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Fixed]
NoToolsandtool_hosteach have their own doc comment again (crates/dim-agent-capabilities/src/defaults.rs:335-354).