feat(context): announce the current note in the turn text - #80
Open
luoxuanzao wants to merge 3 commits into
Open
luoxuanzao wants to merge 3 commits into
luoxuanzao wants to merge 3 commits into
Conversation
The chip above the composer showed which note was attached, but the note was sent only once per session, so the agent kept assuming a stale note after the user switched. Drop the chip and resolve the active note when a turn is built instead: append <linked_note> to the turn text only when it changed since the last announcement — first turn, note switch, reopening after close — and replay it once after a session switch, mirroring <external_context>. Excluded tags still keep a note out of context.
The tag carries the note the user is viewing and is sent when it changes, so current_note says what it is; linked_note stays understood as the legacy name and the system prompt now explains both.
Rebasing onto main moved them into the released 1.0.12 section, since that is where their neighbouring context lines now live. Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
<current_note>tag, and switching conversations reports it again, so the chip above the composer is no longer needed and is removed.<linked_note>keep working — the tag was renamed tocurrent_note, and the prompt context accepts both.Removed.[Unreleased]inCHANGELOG.md(Changed + Removed). The branch was just rebased onto the latestmain(1.0.15); the changelog fix-up that the rebase required is its own commit.Verification
npm run typechecknpm run lintnpm run test(171 suites, 3586 tests)npm run buildnpm run release:checknpm run audit:prodSafety
CHANGELOG.md