@ikenga/pkg-engine-claude-code
v0.2.0
Published
Claude Code engine adapter for Ikenga — wraps the `claude` CLI as the default AI engine.
Readme
@ikenga/pkg-engine-claude-code
Default engine adapter for Ikenga — wraps the claude CLI binary, parses its stream-json output, and persists sessions.
| | |
|---|---|
| Pkg id | com.ikenga.engine-claude-code |
| Kind | engine |
| Requires | claude on $PATH (set explicitly via the claude_binary setting) |
| Sessions | /sessions, /sessions/by-agent/$agent, /sessions/$id |
Layout
pkgs/engine-claude-code/
├── manifest.json
├── src-tauri/src/
│ ├── claude/ # stream-json parser, jsonl reader, artifact watcher
│ └── commands/claude.rs
└── src/
├── chat/ # adapter contract + claude-cli/mock adapters, store, persist, ui
├── routes/sessions/ # /sessions tree
└── shell/claude-config/The chat adapter contract (src/chat/adapter.ts + adapters/) is the foundation for swapping engines. Today it ships only the claude-cli adapter; future engine pkgs (Codex, Aider, OpenAI Agents) will implement the same interface.
Status
v0.1.0 — initial snapshot carve from royalti-io/ikenga. The shell still owns these sources at src/chat/, src/routes/sessions/, etc.; this pkg is a parallel home for ongoing development. See HISTORY.md for the cutover plan.
