internal/

directory
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT

Directories

Path Synopsis
Package acp provides the AGH ACP client implementation.
Package acp provides the AGH ACP client implementation.
Package agentidentity resolves daemon-validated caller identity for agent-facing CLI and UDS operations.
Package agentidentity resolves daemon-validated caller identity for agent-facing CLI and UDS operations.
api
contract
Package contract defines the canonical shared daemon API request and response DTOs.
Package contract defines the canonical shared daemon API request and response DTOs.
core
Package core provides the shared transport-facing API layer used by HTTP and UDS bindings.
Package core provides the shared transport-facing API layer used by HTTP and UDS bindings.
httpapi
Package httpapi serves the AGH transport API over TCP HTTP/SSE.
Package httpapi serves the AGH transport API over TCP HTTP/SSE.
testutil
Package testutil provides shared helpers for API-layer tests.
Package testutil provides shared helpers for API-layer tests.
udsapi
Package udsapi serves the AGH transport API over a Unix domain socket.
Package udsapi serves the AGH transport API over a Unix domain socket.
Package automation hosts the runtime automation components and re-exports the canonical automation model from `internal/automation/model`.
Package automation hosts the runtime automation components and re-exports the canonical automation model from `internal/automation/model`.
model
Package model defines the transport-agnostic automation domain model shared by configuration, persistence, runtime, and API layers.
Package model defines the transport-agnostic automation domain model shared by configuration, persistence, runtime, and API layers.
Package bridges defines the daemon-owned bridge domain models shared by persistence, runtime, and transport layers.
Package bridges defines the daemon-owned bridge domain models shared by persistence, runtime, and transport layers.
Package bridgesdk provides the shared provider-runtime substrate for bridge adapters.
Package bridgesdk provides the shared provider-runtime substrate for bridge adapters.
cli
Package cli provides the AGH Cobra command tree.
Package cli provides the AGH Cobra command tree.
docpost
Package docpost transforms raw Cobra-generated markdown into Fumadocs-compatible MDX files with YAML frontmatter.
Package docpost transforms raw Cobra-generated markdown into Fumadocs-compatible MDX files with YAML frontmatter.
codegen
Package config loads and validates AGH configuration.
Package config loads and validates AGH configuration.
lifecycle
Package lifecycle owns the config-apply lifecycle matrix shared by runtime, API, CLI, web, docs, and codegen checks.
Package lifecycle owns the config-apply lifecycle matrix shared by runtime, API, CLI, web, docs, and codegen checks.
Package daemon wires the AGH runtime packages into a single long-lived process.
Package daemon wires the AGH runtime packages into a single long-lived process.
Package events owns canonical runtime event names and metadata shared by producers, logs, notifications, and contract tests.
Package events owns canonical runtime event names and metadata shared by producers, logs, notifications, and contract tests.
Package extension enforces capability grants for extension security checks.
Package extension enforces capability grants for extension security checks.
surfaces
Package surfaces defines the static extension resource surface policy.
Package surfaces defines the static extension resource surface policy.
Package fileutil provides shared filesystem helpers for AGH components.
Package fileutil provides shared filesystem helpers for AGH components.
Package heartbeat resolves optional HEARTBEAT.md wake-policy artifacts.
Package heartbeat resolves optional HEARTBEAT.md wake-policy artifacts.
Package hooks defines the dependency-free core types for the AGH lifecycle hooks platform.
Package hooks defines the dependency-free core types for the AGH lifecycle hooks platform.
Package logger configures AGH structured logging.
Package logger configures AGH structured logging.
mcp
contract
Package contract defines the shared Memory v2 data contract.
Package contract defines the shared Memory v2 data contract.
prompts
Package prompts provides explicit, versioned Memory v2 prompt assets.
Package prompts provides explicit, versioned Memory v2 prompt assets.
scan
Package scan provides deterministic Memory v2 pre-write content checks.
Package scan provides deterministic Memory v2 pre-write content checks.
Package network defines the AGH Network v0 protocol surface shared by the transport, router, and delivery layers.
Package network defines the AGH Network v0 protocol surface shared by the transport, router, and delivery layers.
Package observe records global AGH observability data derived from live sessions.
Package observe records global AGH observability data derived from live sessions.
Package procutil provides shared process helpers for AGH runtime components.
Package procutil provides shared process helpers for AGH runtime components.
Package providerauth contains provider-auth diagnostics shared by CLI and daemon settings surfaces.
Package providerauth contains provider-auth diagnostics shared by CLI and daemon settings surfaces.
Package providers owns provider authentication classification and probes.
Package providers owns provider authentication classification and probes.
clawhub
Package clawhub implements the ClawHub registry adapter.
Package clawhub implements the ClawHub registry adapter.
github
Package github implements the GitHub Releases registry adapter.
Package github implements the GitHub Releases registry adapter.
Package resources provides the canonical desired-state persistence kernel and typed adapter boundary for extensibility resources.
Package resources provides the canonical desired-state persistence kernel and typed adapter boundary for extensibility resources.
Package retry provides small context-aware retry and backoff primitives.
Package retry provides small context-aware retry and backoff primitives.
Package sandbox defines execution-sandbox contracts shared by daemon-native providers, session orchestration, and ACP launch plumbing.
Package sandbox defines execution-sandbox contracts shared by daemon-native providers, session orchestration, and ACP launch plumbing.
daytona
Package daytona contains Daytona execution-sandbox provider code.
Package daytona contains Daytona execution-sandbox provider code.
local
Package local implements the daemon-host execution sandbox provider.
Package local implements the daemon-host execution sandbox provider.
providertest
Package providertest contains reusable provider conformance checks.
Package providertest contains reusable provider conformance checks.
Package scheduler implements the daemon-owned mechanical task scheduler.
Package scheduler implements the daemon-owned mechanical task scheduler.
Package session orchestrates AGH session lifecycle around ACP-backed agents.
Package session orchestrates AGH session lifecycle around ACP-backed agents.
sessions
ledger
Package ledger materializes read-only forensic session ledgers from events.db.
Package ledger materializes read-only forensic session ledgers from events.db.
Package settings provides the daemon-facing settings orchestration service.
Package settings provides the daemon-facing settings orchestration service.
Package situation assembles the bounded runtime context agents need to act.
Package situation assembles the bounded runtime context agents need to act.
Package skills provides the core types and loading primitives for AgentSkills `SKILL.md` files.
Package skills provides the core types and loading primitives for AgentSkills `SKILL.md` files.
Package soul resolves optional SOUL.md persona artifacts.
Package soul resolves optional SOUL.md persona artifacts.
Package sse provides shared server-sent event decoding helpers.
Package sse provides shared server-sent event decoding helpers.
Package store provides shared persistence types, validation, and helper primitives.
Package store provides shared persistence types, validation, and helper primitives.
workspacedb
Package workspacedb owns per-workspace SQLite database lifecycle helpers.
Package workspacedb owns per-workspace SQLite database lifecycle helpers.
Package subprocess provides shared subprocess lifecycle primitives for AGH.
Package subprocess provides shared subprocess lifecycle primitives for AGH.
Package support builds daemon-owned support bundles and tracks bundle operations.
Package support builds daemon-owned support bundles and tracks bundle operations.
Package task defines the canonical task-domain models, interfaces, limits, and validation helpers shared by persistence, runtime, and transport layers.
Package task defines the canonical task-domain models, interfaces, limits, and validation helpers shared by persistence, runtime, and transport layers.
Package testutil provides shared test helpers for internal packages.
Package testutil provides shared test helpers for internal packages.
e2e
Package e2e provides shared runtime and artifact helpers for daemon-level end-to-end tests.
Package e2e provides shared runtime and artifact helpers for daemon-level end-to-end tests.
Package toolruntime tracks long-running tool subprocess ownership and scoped interrupts.
Package toolruntime tracks long-running tool subprocess ownership and scoped interrupts.
Package tools defines canonical Tool Registry contracts.
Package tools defines canonical Tool Registry contracts.
Package transcript assembles canonical replay messages from persisted session events.
Package transcript assembles canonical replay messages from persisted session events.
Package vault owns encrypted daemon-managed secret material.
Package vault owns encrypted daemon-managed secret material.
Package version provides build metadata injected via ldflags.
Package version provides build metadata injected via ldflags.
Package workref provides tiny shared workspace reference value objects used to pass workspace identifiers and paths through transport and runtime helpers.
Package workref provides tiny shared workspace reference value objects used to pass workspace identifiers and paths through transport and runtime helpers.
Package workspace defines workspace domain models, sentinel errors, and resolver contracts used across AGH runtime packages.
Package workspace defines workspace domain models, sentinel errors, and resolver contracts used across AGH runtime packages.

Jump to

Keyboard shortcuts

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