notes

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 9 Imported by: 0

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

View Source
const Key = "notes"

Variables

This section is empty.

Functions

func Meta

func Meta() connector.Meta

Meta returns the static metadata block.

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.

Types

type Configs

type Configs struct{}

Configs is intentionally empty — notes live on wick's own disk.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL