Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kolk
command
Kolkrabbi (binary: kolk) is a fast, lightweight agentic CLI for any model on OpenRouter (or any OpenAI-compatible endpoint): three modes — chat, code (Claude-Code style tool loop), and agent (orchestrated plan/delegate/synthesize) — with an effort dial that scales model tier and orchestration depth, persistent sessions, rewindable file checkpoints, and a 100% local usage/rating dashboard.
|
Kolkrabbi (binary: kolk) is a fast, lightweight agentic CLI for any model on OpenRouter (or any OpenAI-compatible endpoint): three modes — chat, code (Claude-Code style tool loop), and agent (orchestrated plan/delegate/synthesize) — with an effort dial that scales model tier and orchestration depth, persistent sessions, rewindable file checkpoints, and a 100% local usage/rating dashboard. |
|
kolk-mock
command
mockserver is a standalone scripted fake of the OpenRouter API for sandboxed manual testing of kolk — no network, no API key, no cost.
|
mockserver is a standalone scripted fake of the OpenRouter API for sandboxed manual testing of kolk — no network, no API key, no cost. |
|
kolkd
command
|
|
|
internal
|
|
|
arch
Package arch encodes kolkrabbi's structural rules as data.
|
Package arch encodes kolkrabbi's structural rules as data. |
|
atomicfile
Package atomicfile replaces a file's contents in one step, or not at all.
|
Package atomicfile replaces a file's contents in one step, or not at all. |
|
buildinfo
Package buildinfo reports which build of kolk is running.
|
Package buildinfo reports which build of kolk is running. |
|
bus
Package bus owns Kolkrabbi's per-session ordered event journal.
|
Package bus owns Kolkrabbi's per-session ordered event journal. |
|
checkpoint
Package checkpoint records the state of files before the agent modifies them (via write_file/edit_file), so changes can be rewound turn by turn — same idea as Claude Code's checkpoints.
|
Package checkpoint records the state of files before the agent modifies them (via write_file/edit_file), so changes can be rewound turn by turn — same idea as Claude Code's checkpoints. |
|
cli
Package cli is kolk's terminal surface: the command table, flag parsing and the REPL that turn a command line into engine turns.
|
Package cli is kolk's terminal surface: the command table, flag parsing and the REPL that turn a command line into engine turns. |
|
commands
Package commands loads markdown files that act as slash commands.
|
Package commands loads markdown files that act as slash commands. |
|
config
Package config handles kolk's persistent settings: the default model, the endpoint, and the effort tiers.
|
Package config handles kolk's persistent settings: the default model, the endpoint, and the effort tiers. |
|
continuity
Package continuity holds the state and rules of plan 35 that more than one layer must agree on: what a paused session is, and which limits waiting can lift.
|
Package continuity holds the state and rules of plan 35 that more than one layer must agree on: what a paused session is, and which limits waiting can lift. |
|
dash
Package dash renders Kolkrabbi's local usage dashboard.
|
Package dash renders Kolkrabbi's local usage dashboard. |
|
devices
Package devices records which devices may reach a running Kolkrabbi.
|
Package devices records which devices may reach a running Kolkrabbi. |
|
diff
Package diff renders a unified diff of two texts.
|
Package diff renders a unified diff of two texts. |
|
diskspace
Package diskspace answers how much room is left where Kolkrabbi wants to write.
|
Package diskspace answers how much room is left where Kolkrabbi wants to write. |
|
engine
Package engine ties the API client, tools, session persistence, file checkpoints and local stats together, and implements the release modes:
|
Package engine ties the API client, tools, session persistence, file checkpoints and local stats together, and implements the release modes: |
|
enginetest
Package mockrouter provides a scripted, in-process fake of the OpenRouter chat-completions endpoint for sandboxed end-to-end testing: no network, no API key, fully deterministic.
|
Package mockrouter provides a scripted, in-process fake of the OpenRouter chat-completions endpoint for sandboxed end-to-end testing: no network, no API key, fully deterministic. |
|
hooks
Package hooks runs a shell command at a named moment.
|
Package hooks runs a shell command at a named moment. |
|
keystore
Package keystore is the only package that persists provider credentials.
|
Package keystore is the only package that persists provider credentials. |
|
lock
Package lock serializes file-backed read-modify-write operations across independent kolk processes.
|
Package lock serializes file-backed read-modify-write operations across independent kolk processes. |
|
mcp
Package mcp is kolk's Model Context Protocol client (plan 16 §3): JSON-RPC 2.0 over a newline-delimited stdio transport the shell package owns, the tools a server lists namespaced <server>__<tool> so a permission rule can name one server and nothing else, and the schema budget respected by loading only what fits.
|
Package mcp is kolk's Model Context Protocol client (plan 16 §3): JSON-RPC 2.0 over a newline-delimited stdio transport the shell package owns, the tools a server lists namespaced <server>__<tool> so a permission rule can name one server and nothing else, and the schema budget respected by loading only what fits. |
|
mockagent
Package mockagent writes fake vendor CLIs for tests that need to observe how a real child process reacts to signals.
|
Package mockagent writes fake vendor CLIs for tests that need to observe how a real child process reacts to signals. |
|
netaddr
Package netaddr answers one question: does this bind address reach only this machine?
|
Package netaddr answers one question: does this bind address reach only this machine? |
|
paths
Package paths resolves where kolk keeps things.
|
Package paths resolves where kolk keeps things. |
|
ports
Package ports reports which TCP ports a command started listening on.
|
Package ports reports which TCP ports a command started listening on. |
|
projectfiles
Package projectfiles lists the files in a project for completion.
|
Package projectfiles lists the files in a project for completion. |
|
provider
Package api implements a minimal client for the OpenRouter chat-completions API (OpenAI-compatible), including streamed responses, tool calling, and usage/cost accounting.
|
Package api implements a minimal client for the OpenRouter chat-completions API (OpenAI-compatible), including streamed responses, tool calling, and usage/cost accounting. |
|
provider/agentcli
Package agentcli defines credential-blind invocations of provider-owned agent CLIs.
|
Package agentcli defines credential-blind invocations of provider-owned agent CLIs. |
|
redact
Package redact owns credential-shape facts that are safe to use without importing a credential type.
|
Package redact owns credential-shape facts that are safe to use without importing a credential type. |
|
secret
Package secret holds API keys without leaking them.
|
Package secret holds API keys without leaking them. |
|
selfupdate
Package selfupdate verifies and installs Kolkrabbi releases from the one official GitHub release origin.
|
Package selfupdate verifies and installs Kolkrabbi releases from the one official GitHub release origin. |
|
session
Package session persists conversations to disk so they survive restarts and can be resumed.
|
Package session persists conversations to disk so they survive restarts and can be resumed. |
|
shell
Package shell runs external processes.
|
Package shell runs external processes. |
|
stats
Package stats is the 100% local usage/rating store behind `kolk stats`.
|
Package stats is the 100% local usage/rating store behind `kolk stats`. |
|
term
Package term answers questions about the terminal kolk is attached to, without any dependency on how a particular OS represents one.
|
Package term answers questions about the terminal kolk is attached to, without any dependency on how a particular OS represents one. |
|
tools
Package tools defines the agentic tools exposed to the model (bash execution, file read/write/edit, directory listing) and executes them locally, gating side-effecting actions behind a caller-supplied confirm callback.
|
Package tools defines the agentic tools exposed to the model (bash execution, file read/write/edit, directory listing) and executes them locally, gating side-effecting actions behind a caller-supplied confirm callback. |
|
tui
Package tui owns Kolkrabbi's interactive terminal screen model.
|
Package tui owns Kolkrabbi's interactive terminal screen model. |
|
xid
Package xid makes the identifiers kolk puts on sessions, turns and events.
|
Package xid makes the identifiers kolk puts on sessions, turns and events. |
|
Package protocol is Go's view of Kolkrabbi's language-neutral wire contract.
|
Package protocol is Go's view of Kolkrabbi's language-neutral wire contract. |
Click to show internal directories.
Click to hide internal directories.