Skip to main content

Crate kcode_k1_daemon_lib

Crate kcode_k1_daemon_lib 

Source
Expand description

§kcode-k1-daemon-lib 0.13.9

run(PathBuf) -> ExitCode starts the complete private loopback K1 daemon beneath <k1_root>/state, writes readiness, serves port 4450, and shuts down gracefully.

The process composes KTO-backed state, Access, Audio, Chat, Launch Nodes, providers, authenticated HTTP, public Web serving, and process-owned RustCode/WebCode services. This release adopts Chat Service 0.10.8 and daemon code services 0.1.5. RustCode remains the unreleased V1 model-facing contract and now persists created and overwritten unpublished work through KTO, supports exact published and unpublished selectors, carries exact source revisions through conversation recovery, and keeps unpublished source authority-restricted while published source is public. One retained K1WebHttp supplies both HTTP and WebCode with the same projection. Code-service tool images and disposable caches are prepared automatically without configuration environment variables.

Ordinary startup failures preserve their complete safe child errors. Vault and Gemini-key initialization deliberately remain redacted. Existing authentication, replay, CORS, shutdown, invite, and readiness behavior is unchanged.

The package performs no dependency selection, host deployment, local rebuild/restart, live code-tool call, browser integration, UI selection, proxy, or TLS work.

Functions§

run