docs

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

tapper Documentation

Tapper helps teams build a shared organizational brain: durable project memory for people and AI agents. Use these docs to set up Tapper, decide how to structure KEGs, connect agents, and operate the system safely over time.

Start Here

Choose Your Path

You need to... Read
Set up hosted Tapper defaults Configuration Overview
Make a repo resolve to the right team keg Project Config
Understand @namespace/keg resolution Resolution Order
Connect AI agents to shared memory AI Coding Agents
Capture consistent notes, tags, and links KEG Structure Patterns
Preserve or restore important node states Node Snapshots
Back up, migrate, or archive a keg Backups And Archives
Debug setup or resolution failures Troubleshooting
Understand internals before contributing Architecture Overview
Change Tapper itself: build, test, lint, contribute Development

Core Workflows

Bootstrap A Machine
tap bootstrap --kind cloud
tap auth login
tap keg create @alice/personal
tap use personal --user

For an enterprise deployment, use tap bootstrap --kind enterprise --endpoint <url> instead.

Work In A Team Keg
tap namespace create acme
tap keg create @acme/engineering
tap use @acme/engineering
tap node create
tap node search "release plan"

Use tap use @namespace/keg in a repository to set that repo's default keg in .tapper/config.yaml. Use tap use @namespace/keg --user to set your personal fallback keg.

Share Access
tap namespace add-member @teammate editor --namespace acme
tap keg grant @teammate editor --keg @acme/engineering
tap keg visibility private --keg @acme/engineering
tap keg rename @acme/engineering docs

Namespace membership handles organization-level access. Keg grants handle per-keg access when a domain needs a tighter boundary. Adding a member or a grantee sends an invitation: access starts only when they accept it.

tap invitation list          # invitations addressed to you
tap invitation accept 42     # or: tap invitation decline 42
tap invitation revoke 42     # withdraw one you sent
Connect An Agent
tap integrate codex
tap integrate claude
tap integrate opencode

Every integration exposes the Tapper MCP server plus host-specific prompts or skills embedded in tap. tap integrate HOST is the official supported installation and upgrade surface. Repeat --plugin, for example --plugin tapper-dev, to add optional plugins. --scope defaults to user; Claude also supports project and local, opencode supports project, and Codex is user-only. Agents should use the mcp__tapper__* tools rather than reading or writing KEG files directly.

Command Quick Reference

Targeting
  • --keg @namespace/name - select a keg explicitly.
  • --namespace NAME - resolve a bare keg name inside a namespace.
  • --hub NAME - force the hub used for namespace resolution.
  • --flight @namespace/+slug - apply flight context for orient/MCP.
  • --config PATH - bypass the user/project config cascade.
Common Node Operations
  • tap node create - create a node.
  • tap node read NODE_ID - display node content and metadata.
  • tap node edit NODE_ID - edit a node.
  • tap node list - list indexed nodes.
  • tap node search QUERY... - find the nodes most relevant to a query, ranked by the hub across every keg you can read, one keg (--keg), or listed kegs (--kegs @ns/a,@ns/b, at most 50). The query takes plain terms, "quoted phrases", and -exclusions. Each hit prints reference, score, title, and a highlighted snippet; --limit caps a page (the hub chooses by default), the next page's cursor is printed to stderr for --cursor, --id-only prints references, and --json prints the hub's response. MCP's node_search takes kegs, cursor, and limit: an empty kegs searches the call's whole flight cover, and naming a KEG outside the cover is an error that names it.
  • tap node grep PATTERN - match node content lines in one keg against a regex (MCP node_grep), for exact identifiers and audits.
  • tap tag list [EXPR] - list tags or query tagged nodes.
  • tap node backlinks NODE_ID - show nodes that link to a node.
  • tap node links NODE_ID - show outgoing links from a node.
Keg And Organization Operations
  • tap bootstrap - create or refresh user-level setup.
  • tap use [@namespace/keg] - set or inspect project/user keg selection.
  • tap keg create @namespace/name - create a keg. --kegv 2026-09 creates a KEGv2 preview keg where the hub enables it; the default, 2025-07, is a Markdown KEGv1. A hub with the preview off refuses --kegv 2026-09 with KEG_VERSION_UNSUPPORTED; a hub that predates versioned kegs creates a KEGv1 keg, and tap reports that the keg exists as KEGv1 rather than succeeding. A keg's version never changes after creation. Keg listings, tap keg info, and orientation label KEGv2 kegs, and an operation a keg's version does not offer fails with KEG_VERSION_UNSUPPORTED.
  • tap info - show the hub and signed-in user, the default keg, the active flight, and the kegs that flight covers.
  • tap url [REF] - print the hub web link for the current keg, a node (42, @namespace/keg/42, keg:~alias/42), a keg, a flight (+slug), or a namespace (@namespace). --open also opens it in the browser and --json adds the kind and canonical reference. MCP's url tool returns the same link.
  • tap keg list - list your kegs on a hub. The list is complete; search is only for the public directory.
  • tap explore kegs|flights|people QUERY - search the hub's public directory. A match grants no access.
  • tap keg grant|grants|revoke - manage per-keg access.
  • tap keg visibility public|private - set keg visibility.
  • tap keg rename @namespace/old new - rename a keg alias in its namespace.
  • tap namespace create|list|members|add-member|set-role|remove-member - manage namespaces and membership. Member management requires the owner role.
  • tap invitation list|accept|decline|revoke - review invitations to namespaces and kegs; access starts only when accepted.
  • tap hub list|status|add|remove|set-default - manage hub connections.
Safety And Operations
  • tap snapshot create NODE_ID -m "message" - capture a node revision.
  • tap snapshot list NODE_ID - list node revisions.
  • tap snapshot restore NODE_ID REV --yes - restore a revision.
  • tap archive export -o out.keg.tar.gz - export a keg archive.
  • Restore an archive on the keg's hub; see Backups And Archives.
  • tap keg check - check keg health.
  • tap index rebuild - rebuild indexes.

Next Steps

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Content embed.FS

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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