{"modulePath":"github.com/r-hashi01/kairocode","version":"v0.1.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/r-hashi01/kairocode/cmd/kairocode","name":"main","synopsis":"Command kairocode is a coding agent on kairo: it survives crashes, waits without a process, and runs subagents in parallel without redoing finished work.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/acp","name":"acp","synopsis":"Package acp is KairoCode as an ACP agent (Agent Client Protocol v1, ADR 0002): an editor starts `kairocode acp` and talks JSON-RPC over its stdin and stdout.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/agents","name":"agents","synopsis":"Package agents is the ACP agents a user can install from ACP's registry and run as a provider (ADR 0015): the registry, read and kept for an hour; what this machine can run; installing one, when the user chose to; and what is installed, and how to start it.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/api","name":"api","synopsis":"","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/atomicfile","name":"atomicfile","synopsis":"Package atomicfile writes a file whole or not at all: to a temporary file of its own in the same directory, synced, then renamed over the file.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/cli","name":"cli","synopsis":"Package cli is the kairocode command (design 8.2).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/clipboard","name":"clipboard","synopsis":"Package clipboard reads the clipboard's image, for a paste (ADR 0026, 追記 2026-10-28): the terminal sends only text, so the UI reads the clipboard itself, with the system's own command, outside KairoCode's sandbox (the clipboard is the desktop's).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/config","name":"config","synopsis":"Package config is where KairoCode's settings are: kairocode.json, the user's ($XDG_CONFIG_HOME/kairocode, else ~/.config/kairocode) and a project's (at its root), and the user's other files beside it.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/daemon","name":"daemon","synopsis":"Package daemon is the one process per data directory that runs kairo (ADR 0008), and the client every other kairocode process uses to reach it.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/flowchart","name":"flowchart","synopsis":"Package flowchart is the shape of a flow (ADR 0003), read from its Starlark script: the primitives it calls (agent, tool, ask, decide, parallel), in the order, branches and loops the script puts them.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/flowfile","name":"flowfile","synopsis":"Package flowfile reads and writes a project's flow scripts (ADR 0003): \u003cdir\u003e/.kairocode/workflows/\u003cname\u003e.star, and their drafts (ADR 0030).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/invariants","name":"invariants","synopsis":"Package invariants checks the invariants in AGENTS.md that can be read off the sources: deterministic workflow code (1), declared tool effects (3) and no secrets in the tree (6).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/jsonrpc","name":"jsonrpc","synopsis":"Package jsonrpc is JSON-RPC 2.0 over newline-delimited JSON: ACP's stdio transport (ADR 0002), for KairoCode as an ACP agent and as an ACP client of other agents (ADR 0014).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/locale","name":"locale","synopsis":"Package locale is the language a person reads KairoCode's reviews in: the words of a flow's review (what it reaches, what a try did), not its labels (REACHES, models), which stay as they are, as a pull request's do.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/lsp","name":"lsp","synopsis":"Package lsp gives a file's errors as language servers see them (ADR 0009): after a tool writes a file, the server for its language is told of the new content, and the errors it publishes for that file are added to the tool's result, in opencode's form.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/msg","name":"msg","synopsis":"Package msg holds the conversation's types.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/opencode","name":"opencode","synopsis":"Package opencode reads opencode's project definitions, with opencode's meaning (ADR 0002): agents (.opencode/agents/*.md), commands (.opencode/commands/*.md) and skills (SKILL.md under .opencode/skills, .claude/skills and .agents/skills).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/permission","name":"permission","synopsis":"Package permission decides whether a tool call may run: allow, ask, or deny, from rules shaped as opencode writes them (ADR 0002).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/plugins","name":"plugins","synopsis":"","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/provider","name":"provider","synopsis":"Package provider adapts model providers to one request/response shape.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/runtime","name":"runtime","synopsis":"Package runtime opens kairo, declares KairoCode's actions and workflows on it, and gives the server and the CLI a small API over sessions.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/sandbox","name":"sandbox","synopsis":"Package sandbox runs the commands KairoCode starts inside the operating system's sandbox, after Codex (ADR 0005): writes only under the session's working directory and the temporary directories, no network unless asked, and the directories that hold KairoCode's and other agents' settings kept out of reach.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/sandbox/sandboxtest","name":"sandboxtest","synopsis":"Package sandboxtest skips a test that starts commands in KairoCode's sandbox where there is none, and notes so: inside another sandbox (an agent's, or KairoCode's own) one cannot be started (ADR 0031), and scripts/check.sh says how many tests did not run (KAIROCODE_SKIPPED).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/secrets","name":"secrets","synopsis":"Package secrets keeps plugins' credentials (ADR 0025): in the system's key store (macOS's keychain through security, Linux's Secret Service through secret-tool), else in a file only the user can read.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/server","name":"server","synopsis":"Package server is KairoCode's HTTP API (design 8.1): sessions, messages, turns, approvals, undo and redo, and a session's events (SSE).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/store","name":"store","synopsis":"Package store keeps conversation content by the hash of its content, once (design 2.2, NFR-5).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/tools","name":"tools","synopsis":"Package tools holds the built-in tools.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/trust","name":"trust","synopsis":"Package trust keeps the folders the user said they trust (ADR 0010): the chat asks before it reads a folder's kairocode.json and .opencode, whose rules and instructions the session would follow.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/tui","name":"tui","synopsis":"Package tui is kairo's terminal UI (ADR 0010), shaped as claude's: what is done is written into the terminal's flow (it stays in the scrollback), and under it stay the reply being written, the input box and a status line.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/tui/screen","name":"screen","synopsis":"Package screen draws the terminal UI's area below the conversation, and writes the conversation above it, as Codex's TUI does (ADR 0033).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/tui/screen/vtest","name":"vtest","synopsis":"Package vtest is a small terminal for tests of what internal/tui/screen writes (ADR 0033).","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/internal/workflows","name":"workflows","synopsis":"Package workflows is KairoCode's kairo workflows: a session, and the turns it runs one after another.","isRedistributable":true},{"path":"github.com/r-hashi01/kairocode/scripts/envcheck","name":"main","synopsis":"envcheck says whether this environment can run the tests (scripts/check.sh runs it before them): they listen on 127.0.0.1 and on Unix sockets (fake servers, the daemon), and start commands in KairoCode's sandbox.","isRedistributable":true}],"total":33}}
