Commit graph

3155 commits

Author SHA1 Message Date
1b988028ad Revert "ci"
This reverts commit 19e52ac7c1.
2026-03-06 23:52:54 -08:00
19e52ac7c1 ci 2026-03-06 23:22:50 -08:00
Hari
cb7e083f9e
Merge pull request #15 from getcompanion-ai/hari/migrate-openclaw-to-pi-mono
feat: extend GatewayRuntime with session management and API endpoints
2026-03-06 22:58:33 -05:00
4e1cdf1102 models 2026-03-06 19:58:19 -08:00
6bdf0ec058 fixes 2026-03-06 17:40:33 -08:00
48d3e90b8c fix 2026-03-06 17:23:49 -08:00
d207cf37c3 feat: extend GatewayRuntime with session management, model, config, and history endpoints
Add new HTTP endpoints to the pi-mono gateway for companion-cloud web app integration:
- GET /models, POST /sessions/:key/model - model listing and switching
- GET /config, POST /config - settings read/write with redacted secrets
- GET /sessions/:key/history - conversation history as UI-friendly parts
- PATCH /sessions/:key, DELETE /sessions/:key - session rename and delete
- GET /channels/status, GET /logs, POST /sessions/:key/reload - ops endpoints
- Enhanced GatewaySessionSnapshot with name, lastMessagePreview, updatedAt
- Added log ring buffer (1000 entries) for /logs endpoint
2026-03-06 15:59:15 -08:00
Hari
c1748a21c1
Merge pull request #14 from getcompanion-ai/macos-install
macos install
2026-03-06 16:42:24 -05:00
8ee69fd0bf macos install 2026-03-06 13:42:09 -08:00
Hari
0c31586efa
Merge pull request #12 from getcompanion-ai/rathi/vercelaisdk
Add Vercel AI SDK v6 chat endpoint
2026-03-06 14:57:03 -05:00
2cb87538c4 fix 2026-03-06 10:13:13 -08:00
5a2172fb9d fix 2026-03-06 10:05:58 -08:00
ca0861400d Fix Vercel AI SDK v6 protocol compliance
- Add messageId to start chunk (required by useChat)
- Remove undocumented tool-output-error wire type, use
  tool-output-available for all tool results
- Pass structured tool output through instead of JSON-stringifying
2026-03-06 01:36:19 -08:00
998945afe5 Add unit tests for vercel-ai-stream extractUserText and stream listener
Tests cover extractUserText with v5+ parts format, v4 content string,
last-user-message extraction, simple text/prompt fields, null cases, and
preference ordering. Stream listener tests verify text event translation
and the writableEnded guard.
2026-03-06 01:27:43 -08:00
8a61de15fa Add reasoning events and abort-aware finish reason to chat endpoint
Map thinking_start/delta/end to Vercel AI SDK reasoning-start/delta/end
chunk types. Derive finish reason from enqueueMessage result - aborted
sessions get a clean finish with reason "error" instead of an error chunk.
2026-03-06 01:25:22 -08:00
fcd51005e2 Add tool call streaming and tool execution results to chat endpoint
Extend the Vercel stream listener to handle toolcall_start,
toolcall_delta, toolcall_end, and tool_execution_end events.
Maps to tool-input-start, tool-input-delta, tool-input-available,
and tool-output-available/tool-output-error Vercel SDK chunk types.
2026-03-06 01:21:40 -08:00
f83648c5c5 Add Vercel AI SDK v5+ chat endpoint with text streaming
New POST /sessions/:key/chat endpoint that speaks the Vercel AI SDK
UI message SSE protocol (x-vercel-ai-ui-message-stream: v1). Accepts
both useChat format ({ messages: UIMessage[] }) and simple gateway
format ({ text: string }). Streams text-start, text-delta, text-end
events through the existing session infrastructure.
2026-03-06 01:17:51 -08:00
Hari
52211fa3d2
Merge pull request #9 from getcompanion-ai/remove
remove shit
2026-03-06 01:28:45 -05:00
Hari
fcdfe82bd8
Merge pull request #10 from getcompanion-ai/dumb-init
dumb init
2026-03-06 01:25:42 -05:00
Hari
65bdd0886b
Merge pull request #11 from getcompanion-ai/soul
soul
2026-03-06 01:25:36 -05:00
fcb434bd57 fix 2026-03-05 22:24:46 -08:00
3cf69a35f8 soul 2026-03-05 22:17:20 -08:00
4ca2086cd4 dumb init 2026-03-05 22:10:38 -08:00
88e7883051 remove 2026-03-05 22:01:45 -08:00
0973c1cbc5 rename daemon 2026-03-05 21:37:29 -08:00
Hari
01a18a96aa
Merge pull request #8 from getcompanion-ai/rename
rename
2026-03-05 22:33:22 -05:00
09d5fc3ab4 rename 2026-03-05 19:32:56 -08:00
Hari
ef3ea5ec79
Merge pull request #7 from getcompanion-ai/hotfix
hotfix
2026-03-05 22:24:10 -05:00
8b720e916a hotfix 2026-03-05 19:23:54 -08:00
Hari
76358ef4b0
Merge pull request #6 from getcompanion-ai/feature/20260305-185827
new gateway
2026-03-05 22:00:12 -05:00
9a0b848789 new gateway 2026-03-05 18:58:27 -08:00
Hari
01958298e0
Merge pull request #4 from getcompanion-ai/fix/daemon-install-runtime
fix(installer): avoid unbound asset variable in release download
2026-03-05 20:39:40 -05:00
b6b6bf12d6 fix(installer): avoid unbound asset variable in release download
Co-authored-by: Codex <noreply@openai.com>
2026-03-05 17:39:07 -08:00
Hari
45cb0d0479
Merge pull request #3 from getcompanion-ai/fix/daemon-install-runtime
fix(runtime): keep daemon alive and localize package installs
2026-03-05 20:37:09 -05:00
3f04822f58 fix(runtime): keep daemon alive and localize package installs
Co-authored-by: Codex <noreply@openai.com>
2026-03-05 17:36:25 -08:00
Hari
fa208bca73
Merge pull request #2 from getcompanion-ai/daemon
daemon with coding agent
2026-03-05 20:27:00 -05:00
3e72ca7f4b daemon with coding agent 2026-03-05 17:26:42 -08:00
a20a72cd2e models 2026-03-05 16:45:36 -08:00
18f723480f fix(install): recreate local install script and source fallback launcher
Co-authored-by: Codex <noreply@openai.com>
2026-03-05 16:40:12 -08:00
35a74fc1f2 fix(installer): add source fallback and make pre-commit staged-file checks
Co-authored-by: Codex <noreply@openai.com>
2026-03-05 16:35:34 -08:00
7eb36bf2de feat: add public install flow
Add a public install script and instructions so users can install a packaged co-mono binary and preconfigured remote packages without cloning source.\n\nCo-authored-by: Codex <noreply@openai.com>
2026-03-05 16:29:24 -08:00
6506288db4 chore: rebrand monorepo references to co-mono 2026-03-05 16:00:17 -08:00
354c4c1f8c Merge remote-tracking branch 'origin/main' 2026-03-05 15:56:23 -08:00
43337449e3 packages 2026-03-05 15:55:27 -08:00
Mario Zechner
b14c359289 Add [Unreleased] section for next cycle 2026-03-06 00:42:35 +01:00
Mario Zechner
45a8499c8f Release v0.56.2 2026-03-06 00:41:33 +01:00
Mario Zechner
4110d93369 docs(changelog): audit unreleased entries 2026-03-06 00:39:41 +01:00
Mario Zechner
84655e814c fix(coding-agent): prefer workspace dist files for extension aliases 2026-03-06 00:39:13 +01:00
Mario Zechner
9bcf06c056 fix(tui): add Kitty CSI-u printable decoding to Input component, closes #1857 2026-03-06 00:33:58 +01:00
Mario Zechner
863135d429 fix(ai): keep mistral browser-safe 2026-03-06 00:16:18 +01:00