openai: add adolf-llm conversational Kimi-CLI wrapper (:8010) [Adolf P2]

Model backend for the Adolf gateway. OpenAI-compatible (model 'adolf'), real
SSE streaming, chat_id session-keying (parsed from OpenClaw's untrusted-metadata
block per SPIKE gate 2) -> 1:1 kimi -r resume, media persistence for the CLI's
ReadMediaFile, per-session project-root .mcp.json (gate 1; no --mcp-config-file).
Cognee auto-memory hooks and shared-MCP server list are non-blocking stubs with
TODO(P4/P5) markers. New service + workspace/home volumes in compose.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
This commit is contained in:
2026-07-05 09:59:50 +00:00
parent f5c14efb37
commit eadda808d2
4 changed files with 547 additions and 0 deletions

View File

@@ -167,7 +167,23 @@ services:
- cognee-llm-home:/root/.kimi-code
restart: unless-stopped
# adolf-llm — conversational Kimi-CLI wrapper (:8010), the model backend for
# the Adolf OpenClaw gateway (P2). Real streaming (SSE), chat_id session-keying
# + 1:1 kimi resume, media, per-session .mcp.json (shared-MCP servers stubbed
# until P4/P5). Needs `kimi login` in adolf-llm-home.
adolf-llm:
build: ./adolf-llm
container_name: adolf-llm
ports:
- "8010:8010"
volumes:
- adolf-llm-workspace:/workspace
- adolf-llm-home:/root/.kimi-code
restart: unless-stopped
volumes:
kimi-agent-home:
adolf-state:
cognee-llm-home:
adolf-llm-workspace:
adolf-llm-home: