Directories
¶
| Path | Synopsis |
|---|---|
|
core
|
|
|
cmd/tai
command
Command tai is the core CLI entry point.
|
Command tai is the core CLI entry point. |
|
internal/cmd
Package cmd assembles the tai core CLI's urfave/cli command tree.
|
Package cmd assembles the tai core CLI's urfave/cli command tree. |
|
internal/config
Package config owns tai's YAML config file: where it lives, what it holds, and how it is read and written.
|
Package config owns tai's YAML config file: where it lives, what it holds, and how it is read and written. |
|
internal/installcmd
Package installcmd ships TAI's own bundled slash-command assets into every configured target's `<commands>/tai/` subdirectory.
|
Package installcmd ships TAI's own bundled slash-command assets into every configured target's `<commands>/tai/` subdirectory. |
|
internal/plugins
Package plugins owns the plugin-host machinery: the built-in first-party registry, the on-disk state, the fetch/install/update/ remove/list verb implementations, and the asset-namespacing rules.
|
Package plugins owns the plugin-host machinery: the built-in first-party registry, the on-disk state, the fetch/install/update/ remove/list verb implementations, and the asset-namespacing rules. |
|
internal/repoinit
Package repoinit owns the `tai repo init <path>` scaffold.
|
Package repoinit owns the `tai repo init <path>` scaffold. |
|
internal/standards
Package standards loads markdown standards from a tai source-repo clone and exposes them to the `tai standards list / load` verbs.
|
Package standards loads markdown standards from a tai source-repo clone and exposes them to the `tai standards list / load` verbs. |
|
internal/sync
Package sync owns the `tai sync` capability: cloning the configured source repo into <TAI_DATA_DIR>/source/, fetching updates, copying assets into configured targets with M1 existence-based overwrite detection, manifest tracking, and the --prune deletion path.
|
Package sync owns the `tai sync` capability: cloning the configured source repo into <TAI_DATA_DIR>/source/, fetching updates, copying assets into configured targets with M1 existence-based overwrite detection, manifest tracking, and the --prune deletion path. |
|
internal/testutil
Package testutil holds tiny shared helpers used across the `core/internal/...` test packages.
|
Package testutil holds tiny shared helpers used across the `core/internal/...` test packages. |
|
internal/verbs
Package verbs owns the canonical list of reserved top-level CLI verbs that the plugin host MUST refuse to install under.
|
Package verbs owns the canonical list of reserved top-level CLI verbs that the plugin host MUST refuse to install under. |
|
internal/version
Package version exposes the tai (core) binary's version string.
|
Package version exposes the tai (core) binary's version string. |
|
internal/workflow
Package workflow loads YAML workflow files from a tai source-repo clone and exposes them to the `tai workflow list / run` verbs.
|
Package workflow loads YAML workflow files from a tai source-repo clone and exposes them to the `tai workflow list / run` verbs. |
|
pkg
|
|
|
cliexec
Package cliexec runs a urfave/cli command with panic recovery.
|
Package cliexec runs a urfave/cli command with panic recovery. |
|
cliout
Package cliout renders user-facing CLI output.
|
Package cliout renders user-facing CLI output. |
|
datadir
Package datadir resolves and (lazily) creates tai's global per-user data directory.
|
Package datadir resolves and (lazily) creates tai's global per-user data directory. |
|
errcode
Package errcode is the stable, append-only taxonomy of tai error codes.
|
Package errcode is the stable, append-only taxonomy of tai error codes. |
|
exitcode
Package exitcode is the single home for tai's OS exit codes.
|
Package exitcode is the single home for tai's OS exit codes. |
|
taiplugin
Package taiplugin is the Go SDK for tai plugin authors.
|
Package taiplugin is the Go SDK for tai plugin authors. |
|
plugins
|
|
|
triage/cmd/ledger
command
Command tai-ledger keeps each bundled command's hash ledger in sync.
|
Command tai-ledger keeps each bundled command's hash ledger in sync. |
|
triage/cmd/triage
command
Command triage is the Triage AI plugin's subprocess entrypoint.
|
Command triage is the Triage AI plugin's subprocess entrypoint. |
|
triage/internal/cmd
Package cmd assembles the tai CLI's urfave/cli command tree.
|
Package cmd assembles the tai CLI's urfave/cli command tree. |
|
triage/internal/cmdframework
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/. |
|
triage/internal/cmdtest
Package cmdtest is the test harness for the triage plugin's CLI.
|
Package cmdtest is the test harness for the triage plugin's CLI. |
|
triage/internal/import
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. |
|
triage/internal/import/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. |
|
triage/internal/installer
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. |
|
triage/internal/installer/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. |
|
triage/internal/repoctx
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. |
|
triage/internal/storage
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. |
|
triage/internal/storage/storagetest
Package storagetest provides test fixtures for the storage layer.
|
Package storagetest provides test fixtures for the storage layer. |
|
triage/internal/triage
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. |
|
triage/internal/triage/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). |
|
triage/internal/version
Package version exposes the triage plugin binary's version string.
|
Package version exposes the triage plugin binary's version string. |
Click to show internal directories.
Click to hide internal directories.