Ivanko1608
25a4687611
Merge remote-tracking branch 'origin/main' into add-claude-code-support
...
# Conflicts:
# src/agent/models.ts
# src/server/model-catalog.ts
2026-10-25 19:36:30 +04:00
Ivanko1608
6112bd9ae6
docs: correct idle timeout comments for question tools
2026-10-25 03:11:31 +04:00
Ivanko1608
0b77ede6ff
test: cover tool results arriving before and after the idle timeout
2026-10-25 03:11:31 +04:00
Ivanko1608
43d7ec5577
fix: count claude-code as configured when the CLI is installed
2026-10-25 02:16:51 +04:00
Ivanko1608
49181a1a8d
Merge remote-tracking branch 'origin/main' into add-claude-code-support
...
# Conflicts:
# package-lock.json
# src/agent/models.ts
2026-10-25 02:08:15 +04:00
Ivanko1608
a86a4622fb
refactor: split dense lines in binary lookup and transcript replay
2026-10-25 02:04:22 +04:00
Ivanko1608
2b2cf79b9a
feat: register claude-code provider
2026-10-25 02:04:22 +04:00
Ivanko1608
c41c5f3132
feat: stream turns through the claude CLI
...
Each turn runs claude -p with stream-json in and out and maps its events onto pi's assistant message stream. A process that stops on tool calls is kept alive and continued when pi sends the results back, instead of replaying the whole transcript. API credentials are removed from the CLI environment so turns always bill to the signed-in subscription.
2026-10-25 02:04:22 +04:00
Ivanko1608
6650f91eca
feat: add MCP bridge exposing pi tools to the CLI
...
A localhost-only MCP HTTP server, guarded by a per-turn bearer token, lists pi's tools and holds each call until pi has run it and returned the result.
2026-10-25 02:04:22 +04:00
Ivanko1608
76b91dc1e5
fix: prefer claude.exe over claude.cmd on Windows
...
Node cannot spawn a .cmd file without a shell, so a claude.cmd found
earlier on PATH would hide a working claude.exe.
2026-10-25 01:06:50 +04:00
Ivanko1608
5c0425901c
feat: replay pi transcript as CLI input
2026-10-24 20:35:20 +04:00
Ivanko1608
913b29efe5
feat: add subscription CLI provider catalog
...
opus, sonnet and haiku aliases, low..max thinking, zero cost, keyless
auth. Streaming is injected.
2026-10-24 20:24:57 +04:00
Ivanko1608
1df95fdfdd
feat: locate CLI binary
...
Search PATH, then standard install dirs, since the packaged app often
starts with a minimal PATH.
2026-10-24 20:24:57 +04:00
Ivanko1608
8981456dfd
chore: add MCP SDK and CLI stream fixtures
...
Pin @modelcontextprotocol/sdk 1.32.1 for the tool bridge. Fixtures are
sanitized `-p` stream-json recordings (text, tool, signed-out).
2026-10-24 20:24:57 +04:00