Directories
¶
| Path | Synopsis |
|---|---|
|
Package api embeds Peen's OpenAPI document, the single source for the generated server, the Go client, and the web client's types.
|
Package api embeds Peen's OpenAPI document, the single source for the generated server, the Go client, and the web client's types. |
|
envexample
command
Command envexample writes .env.example from the env file template.
|
Command envexample writes .env.example from the env file template. |
|
repogen
command
|
|
|
internal
|
|
|
pkg/agent
Package agent owns Peen's transport-independent agent runtime.
|
Package agent owns Peen's transport-independent agent runtime. |
|
pkg/auditlog
Package auditlog adds a durable JSON sink beside the process logger.
|
Package auditlog adds a durable JSON sink beside the process logger. |
|
pkg/config
Package config loads Peen's deployment configuration from PEEN_ variables.
|
Package config loads Peen's deployment configuration from PEEN_ variables. |
|
pkg/config/envtemplate
Package envtemplate renders Peen's commented .env file.
|
Package envtemplate renders Peen's commented .env file. |
|
pkg/contentblob
Package contentblob stores the repeated parts of a JSON document once, by content, and replaces them in the document with short references.
|
Package contentblob stores the repeated parts of a JSON document once, by content, and replaces them in the document with short references. |
|
pkg/control
Package control owns the control surface's workspace policy and session registry.
|
Package control owns the control surface's workspace policy and session registry. |
|
pkg/control/client
Package client is the local control client behind Peen's CLI commands.
|
Package client is the local control client behind Peen's CLI commands. |
|
pkg/db
Package db opens Peen's SQLite database, applies its embedded migrations, and wires the generated gorm/gen repositories.
|
Package db opens Peen's SQLite database, applies its embedded migrations, and wires the generated gorm/gen repositories. |
|
pkg/events
Package events carries typed notices about things that happened which the agent did not directly ask about: a process job ended, a child agent finished, or something outside Peen reported a change.
|
Package events carries typed notices about things that happened which the agent did not directly ask about: a process job ended, a child agent finished, or something outside Peen reported a change. |
|
pkg/hooks
Package hooks runs validated layered hook actions at agent lifecycle points.
|
Package hooks runs validated layered hook actions at agent lifecycle points. |
|
pkg/http/api
Package api provides primitives to interact with the openapi HTTP API.
|
Package api provides primitives to interact with the openapi HTTP API. |
|
pkg/http/server
Package server exposes Peen's client-facing Serbewr HTTP API.
|
Package server exposes Peen's client-facing Serbewr HTTP API. |
|
pkg/http/wsapi
Package wsapi holds Peen's generated WebSocket contract types, decoded and validated from api/asyncapi.yaml.
|
Package wsapi holds Peen's generated WebSocket contract types, decoded and validated from api/asyncapi.yaml. |
|
pkg/memlistener
Package memlistener is a net.Listener with no network address.
|
Package memlistener is a net.Listener with no network address. |
|
pkg/metrics
Package metrics owns Peen's application Prometheus registry and its bounded runtime collectors.
|
Package metrics owns Peen's application Prometheus registry and its bounded runtime collectors. |
|
pkg/naming
Package naming holds the shape rule for names Peen invents and owns: tool names, hook event names, and session event types.
|
Package naming holds the shape rule for names Peen invents and owns: tool names, hook event names, and session event types. |
|
pkg/nondumpable
Package nondumpable keeps a Peen process's memory and environment away from other processes that run as the same user.
|
Package nondumpable keeps a Peen process's memory and environment away from other processes that run as the same user. |
|
pkg/oneshot
Package oneshot runs one turn from the command line and exits.
|
Package oneshot runs one turn from the command line and exits. |
|
pkg/publicerror
Package publicerror turns an error into text that is safe to show a client.
|
Package publicerror turns an error into text that is safe to show a client. |
|
pkg/runtimecontext
Package runtimecontext carries local embedding dependencies across calls.
|
Package runtimecontext carries local embedding dependencies across calls. |
|
pkg/services/control-api
Package controlapi serves the control surface that control-core opened.
|
Package controlapi serves the control surface that control-core opened. |
|
pkg/services/control-core
Package controlcore opens the control surface's durable state and runtime.
|
Package controlcore opens the control surface's durable state and runtime. |
|
pkg/session
Package session owns Peen's durable transport-neutral session transcript.
|
Package session owns Peen's durable transport-neutral session transcript. |
|
pkg/worker
Package worker is the boundary between Peen's control plane and the session-bound processes that actually run work.
|
Package worker is the boundary between Peen's control plane and the session-bound processes that actually run work. |
|
pkg/worker/controlspace
Package controlspace launches a session worker in the control agent space, as a child process of the controller.
|
Package controlspace launches a session worker in the control agent space, as a child process of the controller. |
|
pkg/worker/docker
Package docker launches a session worker as a psyb0t/peen sibling container.
|
Package docker launches a session worker as a psyb0t/peen sibling container. |
|
pkg/worker/dockerproxy
Package dockerproxy is the read-only Docker Engine API proxy behind `docker: readonly`.
|
Package dockerproxy is the read-only Docker Engine API proxy behind `docker: readonly`. |
|
pkg/worker/protocol
Package protocol carries Peen's private, session-bound worker protocol.
|
Package protocol carries Peen's private, session-bound worker protocol. |
|
pkg/worker/run
Package run is the body of the internal `peen worker` command.
|
Package run is the body of the internal `peen worker` command. |
|
pkg/worker/supervisor
Package supervisor owns the lifecycle of one controller's session workers.
|
Package supervisor owns the lifecycle of one controller's session workers. |
|
pkg/worker/workerlog
Package workerlog carries a worker process's log records into the controller's own logging stack.
|
Package workerlog carries a worker process's log records into the controller's own logging stack. |
|
pkg/workspacefs
Package workspacefs supplies the filesystem boundary shared by tools and harness discovery.
|
Package workspacefs supplies the filesystem boundary shared by tools and harness discovery. |
|
pkg
|
|
|
http/api/client
Package client provides primitives to interact with the openapi HTTP API.
|
Package client provides primitives to interact with the openapi HTTP API. |
|
peen
Package peen embeds the durable agent engine inside a Go process.
|
Package peen embeds the durable agent engine inside a Go process. |
|
tests
|
|
|
testinfra
Package testinfra is the extendable integration-test harness for a servicepack app.
|
Package testinfra is the extendable integration-test harness for a servicepack app. |
Click to show internal directories.
Click to hide internal directories.