Commit graph

3143 commits

Author SHA1 Message Date
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
Mario Zechner
a31065166d Merge branch 'feat/use-mistral-sdk' 2026-03-05 23:49:29 +01:00
Mario Zechner
4c175790b1 fix(ai): preserve mistral thinking replay 2026-03-05 23:49:18 +01:00
Mario Zechner
0573612a89 fix(ai,coding-agent): simplify oauth subpath exports closes #1856 2026-03-05 23:28:56 +01:00
Mario Zechner
a74b18ca5a docs(changelog): add gpt-5.4 entries 2026-03-05 23:07:43 +01:00
Mario Zechner
8e77bb3272 merge: add gpt-5.4 support and cap context windows to 272k 2026-03-05 23:00:34 +01:00
Mario Zechner
16ec7de29c fix(ai): cap gpt-5.4 context windows to 272k 2026-03-05 22:57:20 +01:00
Markus Ylisiurunen
f8d731a134 fix codex context window and add a few tests 2026-03-05 22:54:16 +01:00
Markus Ylisiurunen
8a6384a925 add support for gpt-5.4 2026-03-05 22:53:08 +01:00
Mario Zechner
7aed39063b docs(coding-agent): add changelog entry for CRLF write preview fix (#1854) 2026-03-05 22:37:28 +01:00
Mario Zechner
daaabbeac5 fix(coding-agent): normalize CRLF in write preview rendering (fixes #1854) 2026-03-05 22:35:26 +01:00
lajarre
1f39cc776a
feat(coding-agent): add treeFilterMode setting for /tree default filter (#1852)
Add configurable initial filter mode for the session tree navigator.
Users who always switch to a specific filter (e.g. no-tools via Ctrl+T)
can now set it as default in settings.

Same pattern as doubleEscapeAction (#404). Filter infra from #747.
2026-03-05 22:25:58 +01:00
Mario Zechner
a0d839ce84 fix(ai): use skip_thought_signature_validator for unsigned Gemini 3 tool calls
Replace text fallback with the official sentinel value so unsigned function
calls retain structured context in multi-turn conversations.

closes #1829
2026-03-05 22:04:00 +01:00