internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT

Directories

Path Synopsis
Package agentid is the single source of truth for "what string the user can type to mean Claude Code / Codex / Cursor / …".
Package agentid is the single source of truth for "what string the user can type to mean Claude Code / Codex / Cursor / …".
archive
local
Package local implements ports.Archive on the local filesystem.
Package local implements ports.Archive on the local filesystem.
Package cli wires tape's commands.
Package cli wires tape's commands.
Package config persists tape's user preferences as a single JSON file at ~/.tape/config.json.
Package config persists tape's user preferences as a single JSON file at ~/.tape/config.json.
core
model
Package model defines tape's provider-agnostic session model (the IR).
Package model defines tape's provider-agnostic session model (the IR).
ports
Package ports defines the capability interfaces of tape's hexagonal core.
Package ports defines the capability interfaces of tape's hexagonal core.
service
Package service contains the use-case orchestration of tape's core.
Package service contains the use-case orchestration of tape's core.
export
bundle
Package bundle defines the on-disk manifest tape stamps into every export bundle (tape-bundle.json at the bundle root).
Package bundle defines the on-disk manifest tape stamps into every export bundle (tape-bundle.json at the bundle root).
snapshot
Package snapshot writes the archive (or a filter-scoped subset of it) as a single artifact on disk.
Package snapshot writes the archive (or a filter-scoped subset of it) as a single artifact on disk.
index
sqlitefts
Package sqlitefts implements ports.Index with SQLite FTS5 (pure Go via modernc.org/sqlite).
Package sqlitefts implements ports.Index with SQLite FTS5 (pure Go via modernc.org/sqlite).
Package llm runs prompts through LLMs the user already has: the agent CLIs installed on this machine (claude, codex, cursor-agent).
Package llm runs prompts through LLMs the user already has: the agent CLIs installed on this machine (claude, codex, cursor-agent).
Package mirror abstracts "where do we fetch tape's release metadata from", with a built-in latency probe so users in mainland China (where github.com can be 10× slower than gitee.com) get a fast install + update path without having to know the alias names.
Package mirror abstracts "where do we fetch tape's release metadata from", with a built-in latency probe so users in mainland China (where github.com can be 10× slower than gitee.com) get a fast install + update path without having to know the alias names.
Package oplog records what tape actually did, one JSONL line per invocation, to a single rolling file at ~/.tape/operations.log.
Package oplog records what tape actually did, one JSONL line per invocation, to a single rolling file at ~/.tape/operations.log.
Package redact detects and masks secrets in session content.
Package redact detects and masks secrets in session content.
Package remote mirrors agent session directories from SSH-reachable machines into a local cache, so the regular sources can parse them as if they were local.
Package remote mirrors agent session directories from SSH-reachable machines into a local cache, so the regular sources can parse them as if they were local.
Package restore turns an archived session into something a different agent can continue from.
Package restore turns an archived session into something a different agent can continue from.
Package schedule wraps "ask the OS to run tape sync every N minutes" in one verb: Install / Uninstall / Status.
Package schedule wraps "ask the OS to run tape sync every N minutes" in one verb: Install / Uninstall / Status.
source
aider
Package aider reads Aider chat history from `.aider.chat.history.md`.
Package aider reads Aider chat history from `.aider.chat.history.md`.
antigravity
Package antigravity reads Google Antigravity CLI sessions from ~/.gemini/antigravity-cli/brain/<conversation-id>/.system_generated/logs/transcript_full.jsonl.
Package antigravity reads Google Antigravity CLI sessions from ~/.gemini/antigravity-cli/brain/<conversation-id>/.system_generated/logs/transcript_full.jsonl.
claudecode
Package claudecode reads Claude Code sessions from ~/.claude/projects/<project-slug>/<session-uuid>.jsonl.
Package claudecode reads Claude Code sessions from ~/.claude/projects/<project-slug>/<session-uuid>.jsonl.
codex
Package codex reads Codex CLI sessions from ~/.codex/sessions/YYYY/MM/DD/rollout-<ts>-<uuid>.jsonl.
Package codex reads Codex CLI sessions from ~/.codex/sessions/YYYY/MM/DD/rollout-<ts>-<uuid>.jsonl.
cursor
Package cursor reads Cursor CLI sessions from ~/.cursor/chats/<workspace-md5>/<session-uuid>/store.db.
Package cursor reads Cursor CLI sessions from ~/.cursor/chats/<workspace-md5>/<session-uuid>/store.db.
gemini
Package gemini reads Google Gemini CLI sessions from ~/.gemini/tmp/<project-hash>/chats/session-*.jsonl.
Package gemini reads Google Gemini CLI sessions from ~/.gemini/tmp/<project-hash>/chats/session-*.jsonl.
iflow
Package iflow reads iFlow CLI sessions from ~/.iflow/{projects,conversations}.
Package iflow reads iFlow CLI sessions from ~/.iflow/{projects,conversations}.
internal/scan
Package scan holds small helpers shared by source parsers.
Package scan holds small helpers shared by source parsers.
kimicode
Package kimicode reads Moonshot AI's Kimi Code CLI sessions from ~/.kimi-code/sessions/<workDirKey>/<sessionId>/.
Package kimicode reads Moonshot AI's Kimi Code CLI sessions from ~/.kimi-code/sessions/<workDirKey>/<sessionId>/.
mimo
Package mimo reads Xiaomi MiMo Code sessions.
Package mimo reads Xiaomi MiMo Code sessions.
opencode
Package opencode reads sst/opencode sessions from ~/.local/share/opencode/opencode.db (Linux/macOS) — a SQLite database managed by Drizzle ORM.
Package opencode reads sst/opencode sessions from ~/.local/share/opencode/opencode.db (Linux/macOS) — a SQLite database managed by Drizzle ORM.
qoder
Package qoder reads Qoder CLI sessions from ~/.qoder/projects/<project>/<sessionId>.jsonl.
Package qoder reads Qoder CLI sessions from ~/.qoder/projects/<project>/<sessionId>.jsonl.
qwen
Package qwen reads Qwen Code CLI sessions from ~/.qwen/projects/<project-hash>/chats/<sessionId>.jsonl.
Package qwen reads Qwen Code CLI sessions from ~/.qwen/projects/<project-hash>/chats/<sessionId>.jsonl.

Jump to

Keyboard shortcuts

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