Documentation
¶
Overview ¶
Package notes exposes wick's notes as a fixed single-instance MCP connector.
Notes carry knowledge across sessions. A session attached to a ticket reads and writes the TICKET's notes, so opening a fresh conversation on the same ticket picks up what the last one learned; a session attached to nothing keeps its own.
Deliberately separate from the tickets connector: notes work without tickets at all, so an agent can be granted note-taking with no access to the ticket board, and a project that never enables ticket mode still gets notes.
Note bodies are never injected into the system prompt — a long-lived ticket would then charge its whole history on every turn. Sessions get a one-line pointer and the agent reads through these ops on demand.
File layout:
- connector.go — Meta, Input structs, Operations, handler struct
- ops.go — handler implementations
Wire-up: connectors.Register(notes.Module(layout)) before connectors.Service.Bootstrap.
Index ¶
Constants ¶
const Key = "notes"
Variables ¶
This section is empty.
Functions ¶
func Module ¶
func Module(layout agentconfig.Layout) connector.Module
Module returns the fully-wired connector.Module.
func Operations ¶
func Operations(layout agentconfig.Layout) []connector.Category
Operations builds the op list, capturing layout so handlers can reach the on-disk store.