Documentation
¶
Overview ¶
Copyright © 2026 Aleksandr Garin <garin1221@yandex.ru>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Directories
¶
| Path | Synopsis |
|---|---|
|
gen
|
|
|
internal
|
|
|
config
Package config merges and compiles agentd configuration into immutable snapshots.
|
Package config merges and compiles agentd configuration into immutable snapshots. |
|
daemon
Package daemon runs the user-level agentd process: start, stop, lock, status, reload, and login autostart registration.
|
Package daemon runs the user-level agentd process: start, stop, lock, status, reload, and login autostart registration. |
|
decision
Package decision maps between agenthooks Decision and the agentd.v1 Decision proto.
|
Package decision maps between agenthooks Decision and the agentd.v1 Decision proto. |
|
dispatch
Package dispatch routes hook Invoke through sync and async pipelines.
|
Package dispatch routes hook Invoke through sync and async pipelines. |
|
dispatch/targets
Package targets implements dispatch target adapters: builtin, exec, http, grpc, log, file.
|
Package targets implements dispatch target adapters: builtin, exec, http, grpc, log, file. |
|
guard
Package guard implements declarative checks: secrets, shell, MCP, paths.
|
Package guard implements declarative checks: secrets, shell, MCP, paths. |
|
hookclient
Package hookclient provides a gRPC client for the local agentd daemon.
|
Package hookclient provides a gRPC client for the local agentd daemon. |
|
hookedge
Package hookedge is the CLI wire edge: decode/encode provider hooks via agenthooks and forward Invoke to the local daemon.
|
Package hookedge is the CLI wire edge: decode/encode provider hooks via agenthooks and forward Invoke to the local daemon. |
|
install
Package install writes provider hook configs via agenthooks/install.
|
Package install writes provider hook configs via agenthooks/install. |
|
provider
Package provider canonicalizes coding-agent provider ids shared across hookedge, install, trajectory, and dispatch.
|
Package provider canonicalizes coding-agent provider ids shared across hookedge, install, trajectory, and dispatch. |
|
server
Package server implements thin gRPC mapping for DaemonService, HookService, ConfigService, SessionService, and TrajectoryService.
|
Package server implements thin gRPC mapping for DaemonService, HookService, ConfigService, SessionService, and TrajectoryService. |
|
trajectory
Package trajectory implements the append-only session ledger (M9–M12).
|
Package trajectory implements the append-only session ledger (M9–M12). |
|
trajectory/importer
Package importer maps provider on-disk transcripts into trajectory events.
|
Package importer maps provider on-disk transcripts into trajectory events. |
|
trajectory/statistics
Package statistics implements trajectory counters and session stats aggregation.
|
Package statistics implements trajectory counters and session stats aggregation. |
|
transport
Package transport provides cross-platform listeners and dialers for the daemon IPC socket.
|
Package transport provides cross-platform listeners and dialers for the daemon IPC socket. |
|
version
Package version holds the build-time agentd version string.
|
Package version holds the build-time agentd version string. |