internal/

directory
v0.1.1 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package cmd assembles the tai CLI's urfave/cli command tree.
Package cmd assembles the tai CLI's urfave/cli command tree.
Package cmdframework parses, hashes, and tracks the bundled Claude slash-command markdowns that tai ships and that `tai install` writes into ~/.claude/commands/tai/.
Package cmdframework parses, hashes, and tracks the bundled Claude slash-command markdowns that tai ships and that `tai install` writes into ~/.claude/commands/tai/.
Package cmdtest is the test harness for the triage plugin's CLI.
Package cmdtest is the test harness for the triage plugin's CLI.
Package importer persists a validated import payload into tai's SQLite database under a single transaction.
Package importer persists a validated import payload into tai's SQLite database under a single transaction.
payload
Package payload owns tai's import-payload JSON schema: the Go shape of `tai import -`'s stdin, the strict decoder that rejects unknown fields, and the validator that walks a decoded payload and collects every schema violation in one pass.
Package payload owns tai's import-payload JSON schema: the Go shape of `tai import -`'s stdin, the strict decoder that rejects unknown fields, and the validator that walks a decoded payload and collects every schema violation in one pass.
Package installer contains the file-state classifier and supporting types that `tai install` and `tai uninstall` use to decide what to do with each target file.
Package installer contains the file-state classifier and supporting types that `tai install` and `tai uninstall` use to decide what to do with each target file.
installtest
Package installtest provides shared test helpers for code that exercises installer.Install and installer.Uninstall.
Package installtest provides shared test helpers for code that exercises installer.Install and installer.Uninstall.
Package repoctx resolves the current repository's `owner/name` identity from the working directory's git remote — or returns a structured error pointing the user at `--repo` when the working directory is not a usable git repo.
Package repoctx resolves the current repository's `owner/name` identity from the working directory's git remote — or returns a structured error pointing the user at `--repo` when the working directory is not a usable git repo.
Package storage owns tai's SQLite database — the schema, connection policy, migration runner, and the boundary every other internal package goes through for reads and writes.
Package storage owns tai's SQLite database — the schema, connection policy, migration runner, and the boundary every other internal package goes through for reads and writes.
storagetest
Package storagetest provides test fixtures for the storage layer.
Package storagetest provides test fixtures for the storage layer.
Package triage owns tai's read-and-mutate state machine for triaged review comments: per-target position translation, transitions to accepted/dismissed/completed, batch member iteration, and batch status recomputation.
Package triage owns tai's read-and-mutate state machine for triaged review comments: per-target position translation, transitions to accepted/dismissed/completed, batch member iteration, and batch status recomputation.
scope
Package scope resolves the operating scope for every triage verb (except `tai forget --repo`, which carries its own identity).
Package scope resolves the operating scope for every triage verb (except `tai forget --repo`, which carries its own identity).
Package version exposes the triage plugin binary's version string.
Package version exposes the triage plugin binary's version string.

Jump to

Keyboard shortcuts

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