Documentation
¶
Overview ¶
Package ka holds the files the ka binary embeds from the repository root.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Skill string
Skill is the agent skill `ka setup` installs and `ka skill` prints.
var UI embed.FS
UI is the built web UI (web/, built by `npm run build` into ui/). The daemon serves a checkout's ui/ when one is set up and matches this binary's API, and these embedded files otherwise, so it works offline.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ka
command
Command ka is the KanArtist CLI, MCP server (ka mcp) and git merge driver (ka merge-driver).
|
Command ka is the KanArtist CLI, MCP server (ka mcp) and git merge driver (ka merge-driver). |
|
internal
|
|
|
api
Package api is the daemon's HTTP surface (PRD §12, §15): REST under /api/v1 with an OpenAPI 3.1 document, the token exchange for browsers, and the Host and Origin checks that keep other web pages out.
|
Package api is the daemon's HTTP surface (PRD §12, §15): REST under /api/v1 with an OpenAPI 3.1 document, the token exchange for browsers, and the Host and Origin checks that keep other web pages out. |
|
cli
Package cli implements the ka command line (PRD §14).
|
Package cli implements the ka command line (PRD §14). |
|
gitx
Package gitx runs the system git binary.
|
Package gitx runs the system git binary. |
|
mcpserver
Package mcpserver exposes the ka service as an MCP server (PRD §11): a few coarse tools whose input schemas carry the workspace's real vocabulary, compact text results, and actionable errors.
|
Package mcpserver exposes the ka service as an MCP server (PRD §11): a few coarse tools whose input schemas carry the workspace's real vocabulary, compact text results, and actionable errors. |
|
presence
Package presence tracks who is connected to a daemon right now (PRD §8.1): MCP sessions, their last tool call, and when they were last seen.
|
Package presence tracks who is connected to a daemon right now (PRD §8.1): MCP sessions, their last tool call, and when they were last seen. |
|
render
Package render produces the compact text forms of ka results.
|
Package render produces the compact text forms of ka results. |
|
setup
Package setup registers ka with the coding agents installed on this machine: the ka MCP server and the ka skill, at the user level, so every project the user opens gets them.
|
Package setup registers ka with the coding agents installed on this machine: the ka MCP server and the ka skill, at the user level, so every project the user opens gets them. |
|
testkit
Package testkit builds throwaway git remotes and clones of stores for tests: the multi-clone simulator, scenarios and token budgets.
|
Package testkit builds throwaway git remotes and clones of stores for tests: the multi-clone simulator, scenarios and token budgets. |
|
uisrc
Package uisrc decides which web UI the daemon serves: the ui/ directory of a ka checkout, when one is set up and was built against this binary's API, or the UI embedded in the binary.
|
Package uisrc decides which web UI the daemon serves: the ui/ directory of a ka checkout, when one is set up and was built against this binary's API, or the UI embedded in the binary. |
|
pkg
|
|
|
kaspec
Package kaspec implements the KanArtist Store Spec v1: parsing, canonical formatting, config layering and validation of store contents.
|
Package kaspec implements the KanArtist Store Spec v1: parsing, canonical formatting, config layering and validation of store contents. |
|
tools
|
|
|
migrate-v0
command
Command migrate-v0 imports a KanArtist v0 repository (Python-era layout) into Store Spec v1 stores.
|
Command migrate-v0 imports a KanArtist v0 repository (Python-era layout) into Store Spec v1 stores. |