Repository navigation
Let Notes tools read content from files - #470
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://feat-note-content-path-caffold.taehoon-moon.workers.dev (commit 5a5f5dd)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
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.
Saving an existing file as a Note currently makes agents resend its entire content. Add
contentPathtocreate_noteandupdate_note_contentas an alternative to inlinecontent; each call must supply exactly one.Relative paths resolve from the calling Task's effective working directory, including managed worktrees. Absolute paths need no Task cwd lookup. Resolved targets must remain inside the server's
RootedFsroot, allowing sibling directories and other worktrees within that boundary.Read regular UTF-8 files up to 1 MiB without changing their content. Descriptor-relative opens refuse replacement symlinks, and bounded reads enforce the limit even if a file grows. Reads finish before the store transaction; updates retain the transactional
expectedContentVersioncheck. Failed reads or version conflicts leave Notes unchanged.Validation completed locally on macOS:
cargo fmt --check,cargo clippy --locked --all-targets -- -D warnings, andcargo test --locked.Native Linux execution and a live Grok CLI session were not run.
Closes #469.