Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hadron
command
|
|
|
internal
|
|
|
api
Package api wraps the Hadron GraphQL endpoint: a genqlient client for typed operations, a raw escape hatch for `hadron api`, and the mapping from transport/GraphQL errors to exit codes.
|
Package api wraps the Hadron GraphQL endpoint: a genqlient client for typed operations, a raw escape hatch for `hadron api`, and the mapping from transport/GraphQL errors to exit codes. |
|
auth
Package auth implements `hadron auth login` flows against the Hadron OAuth endpoints (spec 025: authorization-code + PKCE, public client via dynamic client registration).
|
Package auth implements `hadron auth login` flows against the Hadron OAuth endpoints (spec 025: authorization-code + PKCE, public client via dynamic client registration). |
|
auth/store
Package store persists the Hadron access token, preferring the OS keychain and falling back to a 0600 file when no keychain is available (CI containers, headless boxes).
|
Package store persists the Hadron access token, preferring the OS keychain and falling back to a 0600 file when no keychain is available (CI containers, headless boxes). |
|
build
Package build holds version metadata stamped at build time via -ldflags (see Makefile and .goreleaser.yaml).
|
Package build holds version metadata stamped at build time via -ldflags (see Makefile and .goreleaser.yaml). |
|
cmd
Package cmd assembles the hadron command tree and owns the single error → exit-code → rendering path.
|
Package cmd assembles the hadron command tree and owns the single error → exit-code → rendering path. |
|
cmd/agentic
Package agentic implements `hadron agentic-usage` (D8): a single document an agent can read to learn the CLI.
|
Package agentic implements `hadron agentic-usage` (D8): a single document an agent can read to learn the CLI. |
|
cmd/aiconfig
Package aiconfig implements `hadron ai-config ...` — the AI service config surface.
|
Package aiconfig implements `hadron ai-config ...` — the AI service config surface. |
|
cmd/apicmd
Package apicmd implements `hadron api`, the raw GraphQL escape hatch (same role as `gh api`).
|
Package apicmd implements `hadron api`, the raw GraphQL escape hatch (same role as `gh api`). |
|
cmd/app
Package app implements `hadron app ...`.
|
Package app implements `hadron app ...`. |
|
cmd/auth
Package auth implements `hadron auth ...`.
|
Package auth implements `hadron auth ...`. |
|
cmd/configcmd
Package configcmd implements `hadron config ...`.
|
Package configcmd implements `hadron config ...`. |
|
cmd/edge
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes.
|
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes. |
|
cmd/memory
Package memory implements `hadron memory ...`.
|
Package memory implements `hadron memory ...`. |
|
cmd/node
Package node implements `hadron node ...`.
|
Package node implements `hadron node ...`. |
|
cmd/spec
Package spec implements `hadron spec ...` — an opinionated layer over the generic node/edge commands for maintaining product-spec nodes that follow the loc-as-citation convention: a spec's loc IS its citation number, <module>:<feature>:<rule>:<flow> (e.g.
|
Package spec implements `hadron spec ...` — an opinionated layer over the generic node/edge commands for maintaining product-spec nodes that follow the loc-as-citation convention: a spec's loc IS its citation number, <module>:<feature>:<rule>:<flow> (e.g. |
|
cmd/version
Package version implements `hadron version`.
|
Package version implements `hadron version`. |
|
cmdutil
Package cmdutil provides the Factory injected into every command: lazily-resolved config, token store, and API client, plus the values of the persistent --json/--server/--app flags.
|
Package cmdutil provides the Factory injected into every command: lazily-resolved config, token store, and API client, plus the values of the persistent --json/--server/--app flags. |
|
config
Package config reads and writes ~/.config/hadron/config.toml.
|
Package config reads and writes ~/.config/hadron/config.toml. |
|
exitcode
Package exitcode defines the hadron CLI's stable, documented exit codes.
|
Package exitcode defines the hadron CLI's stable, documented exit codes. |
|
output
Package output renders command results as human-readable text or JSON.
|
Package output renders command results as human-readable text or JSON. |
Click to show internal directories.
Click to hide internal directories.