Repository navigation
Chore(deps): move the /mcp tools to tui v0.17.1 - #75
Merged
Merged
Conversation
An assistant with a path scope reads and edits a database's record pages and leaves them in place, and a database is not a folder to it. The README's list of limits says so. vendorHash changes with the modules.
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.
Moves the
/mcptools togithub.com/ZenNotes/tuiv0.17.1, withgo.sumandvendorHashto match. The version line stays at 2.82.1 for the release.What changes for
/mcpAn assistant with a path scope:
With no paths in its scope, an assistant treats record pages as ordinary notes, as before. The README's "Not in this version" list now says this.
Tested
Run with Go 1.26.10.
go vet ./...,go test -p 1 ./.../mcp(ThroughHTTP,TestHTTPMCP)TestRecordPageStaysPutThroughHTTPandTestDatabaseIsNotAFolderThroughHTTP./internal/mcp,./internal/remote)nix-buildwith CI's pinned image,aarch64vendorHashlinux/arm64,--cpus 2/mcpanswers 405 until it's turned on, and with it on: 39 tools with a path scope and write access, no session ID, MCP token refused on REST, server token refused on/mcp, restart OK, no tokens or note text in the logmemoryallowed and one page deniedwrite_noteedits a page, and the denied page and anything outside the scope answer as missingzn mcp --serveragainst the same image andzn mcpon a local vault gave the same answers, except thatrename_noteisn't offered through/mcp, where those two refuse it.Left to CI:
linux/amd64, Windows andx86_64Nix.