Directories
¶
| Path | Synopsis |
|---|---|
|
Package askuser holds the daemon-side coordinator for the ask_user MCP tool.
|
Package askuser holds the daemon-side coordinator for the ask_user MCP tool. |
|
Package capability declares per-provider hook-support metadata and a self-registering registry for it.
|
Package capability declares per-provider hook-support metadata and a self-registering registry for it. |
|
Package channels provides message channel implementations for the Agents subsystem.
|
Package channels provides message channel implementations for the Agents subsystem. |
|
rest
Package rest implements an OpenAI Chat Completions compatible HTTP channel for the agents pool.
|
Package rest implements an OpenAI Chat Completions compatible HTTP channel for the agents pool. |
|
setup
Package setup composes channel implementations into a registry.
|
Package setup composes channel implementations into a registry. |
|
slack
Package slack — send.go: local agent-proxy send handler + reply helpers.
|
Package slack — send.go: local agent-proxy send handler + reply helpers. |
|
slack/workflow
Slack picker resolvers — feed workflow_picker_resolve so AI authors editing a trigger match (channel_id whitelist, user whitelist) can get real IDs instead of guessing C123/U456.
|
Slack picker resolvers — feed workflow_picker_resolve so AI authors editing a trigger match (channel_id whitelist, user whitelist) can get real IDs instead of guessing C123/U456. |
|
telegram
Package telegram implements the Telegram transport for the agents channel registry.
|
Package telegram implements the Telegram transport for the agents channel registry. |
|
Package config holds the runtime-editable Agents config (General / Slack / Workspace structs reflected into the configs DB table) plus the on-disk Layout — the single source of truth for path math under the platform default data directory (~/.<app>/agents).
|
Package config holds the runtime-editable Agents config (General / Slack / Workspace structs reflected into the configs DB table) plus the on-disk Layout — the single source of truth for path math under the platform default data directory (~/.<app>/agents). |
|
Package event holds the CLI-agnostic event abstraction.
|
Package event holds the CLI-agnostic event abstraction. |
|
Package gate is the command whitelist enforcement layer.
|
Package gate is the command whitelist enforcement layer. |
|
Package pool manages the global agent subprocess slot count + FIFO queue.
|
Package pool manages the global agent subprocess slot count + FIFO queue. |
|
Package preset manages reusable agent templates stored at `<BaseDir>/presets/<name>/agent.md`.
|
Package preset manages reusable agent templates stored at `<BaseDir>/presets/<name>/agent.md`. |
|
Package runtime owns the per-AI-CLI runtime layer for agents:
|
Package runtime owns the per-AI-CLI runtime layer for agents: |
|
claude
Package claude is the Claude-CLI specific Spawner implementation.
|
Package claude is the Claude-CLI specific Spawner implementation. |
|
codex
Package codex will hold the Codex-CLI specific Spawner implementation.
|
Package codex will hold the Codex-CLI specific Spawner implementation. |
|
gemini
Package gemini will hold the Gemini-CLI specific Spawner implementation.
|
Package gemini will hold the Gemini-CLI specific Spawner implementation. |
|
Package providersync syncs provider credential files to/from the DB.
|
Package providersync syncs provider credential files to/from the DB. |
|
Package registry holds the in-memory cache of on-disk Agents state (Registry) plus a mutator wrapper (Manager) and the boot entrypoint (Bootstrap).
|
Package registry holds the in-memory cache of on-disk Agents state (Registry) plus a mutator wrapper (Manager) and the boot entrypoint (Bootstrap). |
|
Package session manages on-disk session entries at `<BaseDir>/sessions/<id>/`.
|
Package session manages on-disk session entries at `<BaseDir>/sessions/<id>/`. |
|
Package state holds the per-agent runtime state machine.
|
Package state holds the per-agent runtime state machine. |
|
Package storage holds the filesystem primitives used by every other agents subpackage: atomic JSON write, JSONL append/read/tail/truncate, directory scan, and identifier validation.
|
Package storage holds the filesystem primitives used by every other agents subpackage: atomic JSON write, JSONL append/read/tail/truncate, directory scan, and identifier validation. |
|
Package store is the agents pipeline sink: it consumes AgentEvent values produced by a Parser and writes them to the on-disk session folder (conversation.jsonl, raw.jsonl, agents.json cli_session_id).
|
Package store is the agents pipeline sink: it consumes AgentEvent values produced by a Parser and writes them to the on-disk session folder (conversation.jsonl, raw.jsonl, agents.json cli_session_id). |
|
Package transport defines the boundary between Agents and message sources (Slack, UI, future API).
|
Package transport defines the boundary between Agents and message sources (Slack, UI, future API). |
|
api
Package api will hold the HTTP API transport — external integrations that POST messages directly into a session, bypassing UI / Slack.
|
Package api will hold the HTTP API transport — external integrations that POST messages directly into a session, bypassing UI / Slack. |
|
slack
Package slack will hold the Slack transport: socket-mode (default) or HTTP Event API listener, reaction lifecycle, chunked replies, access control, and meta-command routing.
|
Package slack will hold the Slack transport: socket-mode (default) or HTTP Event API listener, reaction lifecycle, chunked replies, access control, and meta-command routing. |
|
ui
Package ui will hold the UI transport: an HTTP handler glue layer that turns POST /tools/agents/sessions/{id}/send into an IncomingMessage and pumps it through the pool.
|
Package ui will hold the UI transport: an HTTP handler glue layer that turns POST /tools/agents/sessions/{id}/send into an IncomingMessage and pumps it through the pool. |
|
Package workflow is the domain for AI-orchestrated multi-step automations stored at `<BaseDir>/workflows/<id>/`.
|
Package workflow is the domain for AI-orchestrated multi-step automations stored at `<BaseDir>/workflows/<id>/`. |
|
canvas
Package canvas mutates a Workflow's graph atomically.
|
Package canvas mutates a Workflow's graph atomically. |
|
channel
Package channel is a thin adapter over internal/agents/channels.
|
Package channel is a thin adapter over internal/agents/channels. |
|
connector
Package connector is the workflow-facing index of connector modules.
|
Package connector is the workflow-facing index of connector modules. |
|
cost
Package cost aggregates per-node + per-workflow LLM usage.
|
Package cost aggregates per-node + per-workflow LLM usage. |
|
dataset
Package dataset is the workflow-facing data store.
|
Package dataset is the workflow-facing data store. |
|
engine
Package engine — multi-subscriber event broker.
|
Package engine — multi-subscriber event broker. |
|
env
Package env validates and resolves the workflow's env schema + values.
|
Package env validates and resolves the workflow's env schema + values. |
|
guard
Package guard reviews a workflow body for safety violations before publish.
|
Package guard reviews a workflow body for safety violations before publish. |
|
integration
Package integration is the workflow-side surface for per-event + per-action node descriptors.
|
Package integration is the workflow-side surface for per-event + per-action node descriptors. |
|
mcp
Package mcp — workflow_describe implementation.
|
Package mcp — workflow_describe implementation. |
|
nodes
Package nodes contains the concrete Executor impls for every Node type.
|
Package nodes contains the concrete Executor impls for every Node type. |
|
parse
Package parse decodes and validates workflow.yaml bodies.
|
Package parse decodes and validates workflow.yaml bodies. |
|
provider
Package provider is the abstraction the workflow engine talks to for classify + agent nodes.
|
Package provider is the abstraction the workflow engine talks to for classify + agent nodes. |
|
scaffold
Package scaffold provides workflow starter templates used by `workflow_create` MCP op + UI "New workflow" form.
|
Package scaffold provides workflow starter templates used by `workflow_create` MCP op + UI "New workflow" form. |
|
service
Package service is the CRUD facade over `<BaseDir>/workflows/`.
|
Package service is the CRUD facade over `<BaseDir>/workflows/`. |
|
setup
Package setup wires every workflow subpkg together.
|
Package setup wires every workflow subpkg together. |
|
state
Package state persists per-run state.json + events.jsonl under `<BaseDir>/workflows/<id>/runs/<run-id>/`.
|
Package state persists per-run state.json + events.jsonl under `<BaseDir>/workflows/<id>/runs/<run-id>/`. |
|
template
Package template renders Go text/template strings against a workflow.RenderCtx.
|
Package template renders Go text/template strings against a workflow.RenderCtx. |
|
trigger
Package trigger is the dispatch + queue + dedup layer between trigger sources (cron, channel adapter, webhook, manual, error) and the engine.
|
Package trigger is the dispatch + queue + dedup layer between trigger sources (cron, channel adapter, webhook, manual, error) and the engine. |
|
wftest
Package wftest runs workflow test cases loaded from `__tests__/` fixtures.
|
Package wftest runs workflow test cases loaded from `__tests__/` fixtures. |
|
Package workspace manages on-disk workspace entries at `<BaseDir>/workspaces/<name>/` (managed) or any user-supplied absolute path (custom).
|
Package workspace manages on-disk workspace entries at `<BaseDir>/workspaces/<name>/` (managed) or any user-supplied absolute path (custom). |
Click to show internal directories.
Click to hide internal directories.