memory

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package memory implements the "ctx memory" command for bridging Claude Code's auto memory into the .context/ directory.

The memory bridge discovers MEMORY.md from Claude Code's project-scoped auto memory, mirrors it locally for drift detection, and supports importing classified entries into structured context files.

Subcommands:

  • sync: copy MEMORY.md to .context/memory/mirror.md with archival
  • status: show drift status and line counts
  • diff: show line-level differences between mirror and source
  • import: classify and promote entries into context files
  • publish: push curated context back into MEMORY.md
  • unpublish: remove published sections from MEMORY.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx memory" parent command.

Types

This section is empty.

Directories

Path Synopsis
cmd
diff
Package diff implements the ctx memory diff subcommand.
Package diff implements the ctx memory diff subcommand.
importer
Package importer implements the ctx memory import subcommand.
Package importer implements the ctx memory import subcommand.
publish
Package publish implements the ctx memory publish subcommand.
Package publish implements the ctx memory publish subcommand.
status
Package status implements the "ctx memory status" subcommand.
Package status implements the "ctx memory status" subcommand.
sync
Package sync implements the "ctx memory sync" subcommand.
Package sync implements the "ctx memory sync" subcommand.
unpublish
Package unpublish implements the ctx memory unpublish subcommand.
Package unpublish implements the ctx memory unpublish subcommand.
Package core provides shared helpers for memory subcommands.
Package core provides shared helpers for memory subcommands.

Jump to

Keyboard shortcuts

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