Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1
Package v1 is the public API of a Skylands world: the NATS subject namespace, versioned by its first token, and the event and command types carried on it.
|
Package v1 is the public API of a Skylands world: the NATS subject namespace, versioned by its first token, and the event and command types carried on it. |
|
cmd
|
|
|
skylands
command
Command skylands is the one binary behind every Skylands role: "devworld up" for a one-machine world, "citadel up" and "daemon up" for the two roles, "world init" and "daemon enroll" for setting up a world, and the local CLI that talks to the daemon on this host.
|
Command skylands is the one binary behind every Skylands role: "devworld up" for a one-machine world, "citadel up" and "daemon up" for the two roles, "world init" and "daemon enroll" for setting up a world, and the local CLI that talks to the daemon on this host. |
|
internal
|
|
|
approval
Package approval defines the signed approval format and verifies it.
|
Package approval defines the signed approval format and verifies it. |
|
citadel
Package citadel implements the citadel role: the world's web application and observer.
|
Package citadel implements the citadel role: the world's web application and observer. |
|
citadel/projections
Package projections holds the citadel's in-memory views of the world.
|
Package projections holds the citadel's in-memory views of the world. |
|
citadel/web
Package web is the citadel's HTTP and WebSocket server for browsers.
|
Package web is the citadel's HTTP and WebSocket server for browsers. |
|
cli
Package cli wires the skylands binary's subcommands to the packages that implement them, and holds the Unix socket client the local CLI uses to talk to the daemon on this host.
|
Package cli wires the skylands binary's subcommands to the packages that implement them, and holds the Unix socket client the local CLI uses to talk to the daemon on this host. |
|
daemon
Package daemon implements the daemon role, which turns one host into an island.
|
Package daemon implements the daemon role, which turns one host into an island. |
|
daemon/agents
Package agents launches agents as child processes and drives them over the Agent Client Protocol on stdio.
|
Package agents launches agents as child processes and drives them over the Agent Client Protocol on stdio. |
|
daemon/fetch
Package fetch answers on-demand reads from the host's disk: a session's transcript, the diff in its worktree, where its changes stand, and the record of one of its tool calls.
|
Package fetch answers on-demand reads from the host's disk: a session's transcript, the diff in its worktree, where its changes stand, and the record of one of its tool calls. |
|
daemon/host
Package host is the Host aggregate on a daemon.
|
Package host is the Host aggregate on a daemon. |
|
daemon/session
Package session is the Session aggregate on a daemon.
|
Package session is the Session aggregate on a daemon. |
|
daemon/socket
Package socket is the daemon's local API for the CLI: HTTP over a Unix socket that only the OS user owning the daemon can open.
|
Package socket is the daemon's local API for the CLI: HTTP over a Unix socket that only the OS user owning the daemon can open. |
|
daemon/terrain
Package terrain turns a repository on the host into the files the world shows as buildings: it lists the tracked files and their sizes.
|
Package terrain turns a repository on the host into the files the world shows as buildings: it lists the tracked files and their sizes. |
|
es
Package es is the event-sourcing kit over JetStream shared by the citadel and the daemon: streams and mirrors created idempotently, appends that return the stream sequence, and ordered reads for aggregates and projections.
|
Package es is the event-sourcing kit over JetStream shared by the citadel and the daemon: streams and mirrors created idempotently, appends that return the stream sequence, and ordered reads for aggregates and projections. |
|
fakeagent
Package fakeagent is a scripted agent that speaks ACP over stdio.
|
Package fakeagent is a scripted agent that speaks ACP over stdio. |
|
filelock
Package filelock holds an exclusive lock on a file for as long as a process runs.
|
Package filelock holds an exclusive lock on a file for as long as a process runs. |
|
natsembed
Package natsembed runs nats-server in-process.
|
Package natsembed runs nats-server in-process. |
|
preflight
Package preflight checks that a host has what Skylands needs to run agents: git for worktrees, Node for agents that come from npm, each agent starting over ACP and, where it says, logged in, gh for pull requests, and a daemon on the local socket.
|
Package preflight checks that a host has what Skylands needs to run agents: git for worktrees, Node for agents that come from npm, each agent starting over ACP and, where it says, logged in, gh for pull requests, and a daemon on the local socket. |
|
rules
Package rules defines the rule language that settles tool calls on a host before they reach a person, and evaluates a rule set against a tool call to allow it, deny it, or leave it for a person to decide.
|
Package rules defines the rule language that settles tool calls on a host before they reach a person, and evaluates a rule set against a tool call to allow it, deny it, or leave it for a person to decide. |
|
service
Package service installs a skylands command as a user service, so it starts when its user logs in, restarts when it fails, and outlives the terminal it was installed from: a systemd user unit on Linux and a launchd agent on macOS.
|
Package service installs a skylands command as a user service, so it starts when its user logs in, restarts when it fails, and outlives the terminal it was installed from: a systemd user unit on Linux and a launchd agent on macOS. |
|
stub
Package stub holds the placeholder error returned by scaffolding whose behavior is designed but not yet implemented.
|
Package stub holds the placeholder error returned by scaffolding whose behavior is designed but not yet implemented. |
|
titles
Package titles asks an agent to name a conversation, and cleans up what it says.
|
Package titles asks an agent to name a conversation, and cleans up what it says. |
|
watchdog
Package watchdog ends a daemon's agents if the daemon dies without ending them itself, as in a crash, SIGKILL, or the OOM killer.
|
Package watchdog ends a daemon's agents if the daemon dies without ending them itself, as in a crash, SIGKILL, or the OOM killer. |
|
world
Package world creates and administers worlds.
|
Package world creates and administers worlds. |
|
Package web holds the citadel's browser client.
|
Package web holds the citadel's browser client. |
Click to show internal directories.
Click to hide internal directories.