Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agentenv is the ONE definition of which environment variables an agent process (claude, codex) may inherit (root-0472; the ORDER-63 design).
Package agentenv is the ONE definition of which environment variables an agent process (claude, codex) may inherit (root-0472; the ORDER-63 design).
Package agentic shared_aliases.go — re-exports rysh-shared/agentic types.
Package agentic shared_aliases.go — re-exports rysh-shared/agentic types.
Package board is the agents-board store (design 025): the in-memory model of a threaded, push-based stream of what every agent in a session is doing.
Package board is the agents-board store (design 025): the in-memory model of a threaded, push-based stream of what every agent in a session is doing.
Package bridge provides NATSBridge for delivering NATS messages to actor mailboxes.
Package bridge provides NATSBridge for delivering NATS messages to actor mailboxes.
Package browserinstance manages persistent Chromium browser profiles for web-mode panes.
Package browserinstance manages persistent Chromium browser profiles for web-mode panes.
Package cdp is a minimal Chrome DevTools Protocol client used by rysh's headless web mode: it launches a Chromium with --remote-debugging-port, attaches over the browser-level WebSocket (flat session mode), and executes browser_action requests (see actions.go) without needing the desktop app.
Package cdp is a minimal Chrome DevTools Protocol client used by rysh's headless web mode: it launches a Chromium with --remote-debugging-port, attaches over the browser-level WebSocket (flat session mode), and executes browser_action requests (see actions.go) without needing the desktop app.
plugin
Package plugin implements the out-of-process channel plugin SDK (openclaw_roadmap design 002, WS2 P1-P3): a third party ships a channel as a separate process speaking a small wire contract, and the in-core PluginChannelAdapter shim proxies the ChannelAdapter interface to it over stdio JSON-RPC (fallback) or the embedded per-session NATS bus (preferred).
Package plugin implements the out-of-process channel plugin SDK (openclaw_roadmap design 002, WS2 P1-P3): a third party ships a channel as a separate process speaking a small wire contract, and the in-core PluginChannelAdapter shim proxies the ChannelAdapter interface to it over stdio JSON-RPC (fallback) or the embedded per-session NATS bus (preferred).
Package cli implements CLI subcommands that communicate with a running rysh session via NATS.
Package cli implements CLI subcommands that communicate with a running rysh session via NATS.
Package company follows one AI-native company on the upstream rysh-server for a session bound to it (design 037, "Company Connect"): a REST client that reads the company's state with the read-only workspace key, and a follower that keeps a snapshot fresh from live NATS hints and a poll.
Package company follows one AI-native company on the upstream rysh-server for a session bound to it (design 037, "Company Connect"): a REST client that reads the company's state with the read-only workspace key, and a follower that keeps a snapshot fresh from live NATS hints and a poll.
Package courier delivers agents-board commands into the recipient agent's own session — beside its keyboard, never through it (design 050, polling-stream).
Package courier delivers agents-board commands into the recipient agent's own session — beside its keyboard, never through it (design 050, polling-stream).
Package cron holds the pure scheduling domain for rysh's in-daemon cron service: the Job model, schedule parsing/validation (via robfig/cron), and next-run computation.
Package cron holds the pure scheduling domain for rysh's in-daemon cron service: the Job model, schedule parsing/validation (via robfig/cron), and next-run computation.
Package daemontest boots a real rysh daemon for tests.
Package daemontest boots a real rysh daemon for tests.
Package domain contains shared data types that are transport-agnostic.
Package domain contains shared data types that are transport-agnostic.
Package eval implements the agent eval harness (design 009): "unit tests for agents." A fixture describes a task and structural assertions; a Result is what running the agent produced; Evaluate checks the Result against the assertions.
Package eval implements the agent eval harness (design 009): "unit tests for agents." A fixture describes a task and structural assertions; a Result is what running the agent produced; Evaluate checks the Result against the assertions.
Package facetime provides local-only, user-confirmed macOS FaceTime handoff.
Package facetime provides local-only, user-confirmed macOS FaceTime handoff.
Package fleet is the session's registry of agent fleets (design 028 §6.5): which fleets exist, who is in them, and which board each one talks on.
Package fleet is the session's registry of agent fleets (design 028 §6.5): which fleets exist, who is in them, and which board each one talks on.
Package fleetgoal is the goal executor's mind (design 055): it observes a fleet, judges whether the fleet and each of its agents are on track to their goals, and plans the few messages that keep them moving in order.
Package fleetgoal is the goal executor's mind (design 055): it observes a fleet, judges whether the fleet and each of its agents are on track to their goals, and plans the few messages that keep them moving in order.
Package forge ties the Forge pipeline to the live rysh runtime: it stores per-project integration definitions, ingests their specs into the IR, builds tool-packs, and registers the resulting tools into the agent registry under the §5.6 exposure policy.
Package forge ties the Forge pipeline to the live rysh runtime: it stores per-project integration definitions, ingests their specs into the IR, builds tool-packs, and registers the resulting tools into the agent registry under the §5.6 exposure policy.
forgecmd
Package forgecmd implements the `forge` subcommand family (add / generate / list / diff / targets) independently of any particular front-end.
Package forgecmd implements the `forge` subcommand family (add / generate / list / diff / targets) independently of any particular front-end.
gen
Package gen defines the Forge generator framework: a pluggable Generator interface, a registry, and a FileSet output collector.
Package gen defines the Forge generator framework: a pluggable Generator interface, a registry, and a FileSet output collector.
gen/docs
Package docs generates Markdown API reference documentation from the IR.
Package docs generates Markdown API reference documentation from the IR.
gen/gosdk
Package gosdk is a Forge generator that emits a self-contained Go client SDK for an API described by the IR.
Package gosdk is a Forge generator that emits a self-contained Go client SDK for an API described by the IR.
gen/javasdk
Package javasdk is a Forge generator that emits a Java client SDK for an API described by the IR.
Package javasdk is a Forge generator that emits a Java client SDK for an API described by the IR.
gen/mcpserver
Package mcpserver generates a standalone Go MCP server for an API.
Package mcpserver generates a standalone Go MCP server for an API.
gen/pysdk
Package pysdk is a Forge generator that emits a Python client SDK (client.py + pyproject.toml + README.md) for an API described by the IR.
Package pysdk is a Forge generator that emits a Python client SDK (client.py + pyproject.toml + README.md) for an API described by the IR.
gen/tssdk
Package tssdk is a Forge generator that emits a TypeScript client SDK (client.ts + package.json + README.md) for an API described by the IR.
Package tssdk is a Forge generator that emits a TypeScript client SDK (client.ts + package.json + README.md) for an API described by the IR.
Package gateway is the daemon half of the LLM gateway's server-side control plane (design 023): it reports governed spend to rysh-server, leases a slice of an org-wide allowance and enforces locally against that slice, and pulls central policy.
Package gateway is the daemon half of the LLM gateway's server-side control plane (design 023): it reports governed spend to rysh-server, leases a slice of an org-wide allowance and enforces locally against that slice, and pulls central policy.
Package limits provides subscription resource limit checking for the rysh daemon.
Package limits provides subscription resource limit checking for the rysh daemon.
Package llms is the file-backed LLM model registry behind the ##llm command.
Package llms is the file-backed LLM model registry behind the ##llm command.
Package mcp implements a Model Context Protocol (MCP) client for the rysh CLI.
Package mcp implements a Model Context Protocol (MCP) client for the rysh CLI.
Package meeting implements a daemon-owned, explicitly started Recall.ai meeting bridge.
Package meeting implements a daemon-owned, explicitly started Recall.ai meeting bridge.
Package meetingexec connects approved meeting turns to the existing Rysh executor on a private, in-process-only bus.
Package meetingexec connects approved meeting turns to the existing Rysh executor on a private, in-process-only bus.
memory
vecindex
Package vecindex is the vector index behind semantic memory (design 010).
Package vecindex is the vector index behind semantic memory (design 010).
Package metrics implements an in-process metrics sink for the rysh agentic system.
Package metrics implements an in-process metrics sink for the rysh agentic system.
Package msg contains all typed message structs used for inter-actor communication via NATS.
Package msg contains all typed message structs used for inter-actor communication via NATS.
Package peer exchanges explicit messages with a server workspace.
Package peer exchanges explicit messages with a server workspace.
Package peercoord runs session-local peer listeners.
Package peercoord runs session-local peer listeners.
Package pipeline provides a thread-safe runtime registry for pipeline prompts.
Package pipeline provides a thread-safe runtime registry for pipeline prompts.
Package platform reports host capabilities that change what rysh can do, so the answer is a compile-time constant rather than a runtime surprise.
Package platform reports host capabilities that change what rysh can do, so the answer is a compile-time constant rather than a runtime surprise.
Package policy implements policy-as-code (design 013 §1): governance rules as a versioned file in the repo (.rysh/policy.yaml), loaded at session start, optionally constrained by an org-level policy file (config `policy.org_file` or RYSH_ORG_POLICY).
Package policy implements policy-as-code (design 013 §1): governance rules as a versioned file in the repo (.rysh/policy.yaml), loaded at session start, optionally constrained by an org-level policy file (config `policy.org_file` or RYSH_ORG_POLICY).
Package progname resolves the name this binary was invoked as, so that user-facing text names the command the user actually has.
Package progname resolves the name this binary was invoked as, so that user-facing text names the command the user actually has.
Package proxy implements the Universal Agent Governance Proxy (design 001): a loopback HTTP proxy that intercepts the LLM provider traffic of third-party agent CLIs (Claude Code, Codex, aider, …) running inside panes and applies rysh governance to it — SecretNAT redaction on request bodies, token/cost metering into the usage ledger (design 003), and audit — by base-URL environment injection, NOT TLS MITM.
Package proxy implements the Universal Agent Governance Proxy (design 001): a loopback HTTP proxy that intercepts the LLM provider traffic of third-party agent CLIs (Claude Code, Codex, aider, …) running inside panes and applies rysh governance to it — SecretNAT redaction on request bodies, token/cost metering into the usage ledger (design 003), and audit — by base-URL environment injection, NOT TLS MITM.
wirecheck
Package wirecheck answers one question about one CLI: if rysh points it at the governance proxy, does its provider traffic actually go there?
Package wirecheck answers one question about one CLI: if rysh points it at the governance proxy, does its provider traffic actually go there?
Package registry implements the client side of the rysh agent registry (design 005): install .md agents / loops / recipes / humanoids into a project's .rysh/ tree, reproducibly (lockfile) and with install-time consent (declared tools / channels / env are shown before anything is written).
Package registry implements the client side of the rysh agent registry (design 005): install .md agents / loops / recipes / humanoids into a project's .rysh/ tree, reproducibly (lockfile) and with install-time consent (declared tools / channels / env are shown before anything is written).
Package relay provides a thread-safe in-process registry that maps pane IDs to PTY relay handles.
Package relay provides a thread-safe in-process registry that maps pane IDs to PTY relay handles.
Package replay implements session replay / time-travel (design 006): capture a session's pane output and export it as an asciicast (.cast) file so demos and incidents become reproducible artifacts.
Package replay implements session replay / time-travel (design 006): capture a session's pane output and export it as an asciicast (.cast) file so demos and incidents become reproducible artifacts.
Package script turns a .rysh file — a bash script whose statement-position "##" lines are rysh commands — into plain bash (design 021).
Package script turns a .rysh file — a bash script whose statement-position "##" lines are rysh commands — into plain bash (design 021).
Package tools registry.go — re-exports rysh-shared/tools types as aliases.
Package tools registry.go — re-exports rysh-shared/tools types as aliases.
Package tunnel publishes a locally-bound rysh web server at a public HTTPS URL through ngrok.
Package tunnel publishes a locally-bound rysh web server at a public HTTPS URL through ngrok.
Package upstream provides HTTP helpers for fetching workspace-scoped data from the rysh-server using the local upstream API key.
Package upstream provides HTTP helpers for fetching workspace-scoped data from the rysh-server using the local upstream API key.
Package usage holds the cost-observability pricing table (design 003).
Package usage holds the cost-observability pricing table (design 003).
Package voice implements voice prompting for the rysh TUI: it records the microphone via a system recorder, transcribes the audio with a pluggable speech-to-text provider (Deepgram by default, OpenAI Whisper as an alternative), and hands the text back to the caller to drop into the prompt input field.
Package voice implements voice prompting for the rysh TUI: it records the microphone via a system recorder, transcribes the audio with a pluggable speech-to-text provider (Deepgram by default, OpenAI Whisper as an alternative), and hands the text back to the caller to drop into the prompt input field.
Package vterm wraps a virtual terminal emulator (vt10x) that interprets PTY output into a 2D screen buffer suitable for rendering in the TUI.
Package vterm wraps a virtual terminal emulator (vt10x) that interprets PTY output into a 2D screen buffer suitable for rendering in the TUI.
vt10x
Package terminal is a vt10x terminal emulation backend, influenced largely by st, rxvt, xterm, and iTerm as reference.
Package terminal is a vt10x terminal emulation backend, influenced largely by st, rxvt, xterm, and iTerm as reference.
Answering a gated tool from a non-TUI client (E-12b).
Answering a gated tool from a non-TUI client (E-12b).
Package webauto stores reusable, prompt-based automations ("recipes") for the ##auto command family.
Package webauto stores reusable, prompt-based automations ("recipes") for the ##auto command family.
Package worktree wraps git-worktree operations for per-agent isolation (design 008): give a pane/agent its own git worktree so parallel agents never collide on the same repo — "N agents, N branches, one tab, zero collisions."
Package worktree wraps git-worktree operations for per-agent isolation (design 008): give a pane/agent its own git worktree so parallel agents never collide on the same repo — "N agents, N branches, one tab, zero collisions."

Jump to

Keyboard shortcuts

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