Commit Graph

10 Commits

Author SHA1 Message Date
Arvin Xu 9b41a57fd2 ♻️ refactor: move LLM finalization into agent runtime (#17078)
♻️ refactor: move llm finalization into runtime
2026-07-12 13:09:13 +08:00
Rylan Cai e8af5258a7 ♻️ refactor(Agent): Configurable graph agent (#16944)
* ♻️ refactor: rebuild graph agent runtime

* ✅ test graph runtime integration paths

* 🐛 fix(agent-runtime): stabilize graph agent tests

* ✅ test: fix agent settings content mock

* 🐛 fix graph prompt value typing

* 🐛 fix(agent-runtime): preserve dynamically activated tools

* ✅ test: use offered web browsing tool name

* 🔧 remove graph runtime feature flag gate

* 📝 restore internal flag comment
2026-07-10 15:01:35 +08:00
YuTengjing be0255b746 🔨 chore: update dependency baseline (#16465)
* 🔨 chore: update dependency baseline

* 🔨 chore(cli): update dependency baseline

* 🔨 chore(desktop): update dependency baseline

* 🔨 chore: fix dependency baseline blockers

* 🔨 chore: update TypeScript and Next baseline
2026-06-30 23:18:08 +08:00
Arvin Xu 88a7e82ab8 ⬆️ fix(model-runtime): upgrade openai SDK to v6 to drop node-fetch@2 (#16090)
OpenAI SDK v4 bundles node-fetch@2, whose gzip response-stream handling
breaks under the Node.js June 2026 security release and throws
ERR_STREAM_PREMATURE_CLOSE (surfaced as "LLM stream error: Premature
close" across all providers). SDK v6 uses native fetch, removing the
node-fetch@2 dependency from the LLM call path.

Migration touch-ups for v6's type changes:
- narrow `apiKey` back to `string` (v6 widened it to `string | ApiKeySetter`)
- access `.function` via the function-tool variant (`ChatCompletionTool` /
  `ChatCompletionMessageToolCall` are now function|custom unions)
- pass real `Headers` instead of plain objects to `APIError` in tests
  (v6 calls `headers.get()`)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 15:57:56 +08:00
Arvin Xu 4363994945 ✨ feat: support use remote device in IM integration (#12798)
* support timezone in system prompt

refactor to improve user prompts

refactor tool engine

refactor tools map mode

add bot callback service

clean

improve cli

update agentic tracing

refactor cli login

refactor cli

add device auth

improve device gateway implement

implement gateway pipeline

support device Gateway connect

support gateway

* revert electron device

* inject builtins agent prompts

* update tracing

* add testing

* refactor the activeDeviceId

* refactor BotCallbackService

* fix test and lint

* fix test and lint

* add tests

* fix tests

* fix lint
2026-03-09 01:17:56 +08:00
CanisMinor c5fe456aec 🔨 chore: update compoents version (#10957)
chore: update deps
2025-12-25 12:52:31 +08:00
Rdmclin2 8c42a934b3 ✨ feat: mobile native better auth support (#10871)
* feat: mobile native better auth support

* chore: add android assetlinks

* chore: add android assetlinks

* chore: add expo fingerpoint

* chore: add relation

* chore: add android origin hash

* chore: update passkey table

* chore: optimize version

* chore: remove as any

* fix: sql not exits problem

* fix: passkey statement

* fix:  passkey origin null

* chore: remove strict peer dependencies

* fix: test case

* chore: remove local passkey origin
2025-12-23 15:19:42 +08:00
renovate[bot] b76e3c85b9 Update all non-major dependencies (#10177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 09:56:56 +08:00
YuTengjing 1762dc9148 ♻️ chore: refactor router runtime (#9306) 2025-09-17 23:30:04 +08:00
Arvin Xu d942a635b3 🔨 chore: add agent-runtime (#9206)
* add agent runtime

* add agent runtime

* support finish reason

* update workflow

* 支持中断

* 支持 token usage 统计

* refactor

* add example

* add docs

* update
2025-09-14 17:29:19 +08:00