Commit Graph
77 Commits
Author SHA1 Message Date
musistudio e52f037d38 Support DeepSeek cache usage for OpenCode Go 2026-09-18 10:22:55 +08:00
musistudio 7a711b9006 Merge branch 'main' into feat/v3.1.1 2026-09-16 11:08:47 +08:00
musistudio 1691980170 Default Codex app approvals to user review 2026-09-15 19:31:54 +08:00
Aser-Osama 0c070c6201 fix(opencode-go): read account usage from the official usage endpoint 2026-09-12 00:01:56 +03:00
Aser-Osama e84d6927e5 fix(opencode-go): align credentials and discovered models 2026-09-11 04:09:27 +03:00
Aser-Osama 14df423cd0 fix(opencode-go): support Go provider identity and required session header
OpenCode Go now requires x-opencode-session on requests to
https://opencode.ai/zen/go/v1; without it users receive 400 MissingSessionID
(#1754, #1780). Injecting that header safely requires CCR to know which
provider is really Go, so OpenCode Go is now a distinct local provider from
Zen when reading OpenCode configuration, credentials, and cached catalog
metadata.

- Read opencode and opencode-go entries independently from models.json,
  opencode.json[c], auth.json, and OPENCODE_GO_API_KEY.
- Add x-opencode-session only for the official Go endpoint: explicit
  configuration wins, otherwise forward x-claude-code-session-id or
  x-claude-session-id, then metadata.user_id, then a stable process-level
  fallback; values are sanitized for header safety.
- Keep Zen discovery/import unchanged, including public models, candidate
  ids, fallback models, plugin suffixes, and the model cap.
- Keep Go and Zen separately importable and scope provider model discovery
  to the requested protocol so Go providers only list models that work on
  that protocol.
- Preserve catalog model ids, display names, and protocol classification;
  surface locked Go candidates with actionable guidance; update EN/ZH docs.
2026-09-11 03:49:42 +03:00
musistudio 4afd350eef Implement comprehensive application updates 2026-09-02 18:37:11 +08:00
musistudio 3ba195f893 Improve Claude Code router configuration and provider support 2026-08-19 17:19:07 +08:00
musistudio 586dd0242f Expose browser account fetch helper to runtime plugins 2026-08-18 15:39:03 +08:00
musistudio e4072137d4 Increase route script source size limit to 5 MiB 2026-08-14 11:44:33 +08:00
musistudio 2c424588f1 Merge remote-tracking branch 'origin/dev/3.1' into dev/3.1 2026-08-14 11:14:17 +08:00
musi 013965d95f Refactor codebase and remove obsolete implementation 2026-08-14 08:37:29 +08:00
musistudio 2a7aa9286b Update router configuration and provider handling 2026-08-11 16:15:53 +08:00
musistudio c8825cf5cd Rename browser usage mode to Browser request 2026-08-07 15:04:43 +08:00
musistudio 4097bbe5e7 Improve router configuration and request handling 2026-08-06 17:41:41 +08:00
musistudio 6e431de9b5 Update agent and provider configuration documentation 2026-08-06 14:56:10 +08:00
musi 3c71252de1 Add interactive docs demos 2026-08-06 14:10:32 +08:00
musi d09dd7b6cb Update provider and agent configuration guides 2026-08-04 09:19:14 +08:00
musi 454daec31c Improve documentation navigation and extension guidance 2026-08-03 08:40:36 +08:00
musi ca3563ae66 Merge branch 'dev/3.1' into dev/docs
# Conflicts:
#	README.md
#	README_zh.md
#	docs/src/content/docs/en/agentclaw/weixin-ilink.md
#	docs/src/content/docs/en/configuration.md
#	docs/src/content/docs/en/configuration/bot-setup.md
#	docs/src/content/docs/en/configuration/extensions.md
#	docs/src/content/docs/en/configuration/profiles.md
#	docs/src/content/docs/en/configuration/routing.md
#	docs/src/content/docs/en/guides.md
#	docs/src/content/docs/en/guides/agent-profile.md
#	docs/src/content/docs/en/guides/cli.md
#	docs/src/content/docs/en/index.md
#	docs/src/content/docs/en/troubleshooting.md
#	docs/src/content/docs/zh/agentclaw/dingtalk.md
#	docs/src/content/docs/zh/agentclaw/discord.md
#	docs/src/content/docs/zh/agentclaw/feishu.md
#	docs/src/content/docs/zh/agentclaw/line.md
#	docs/src/content/docs/zh/agentclaw/slack.md
#	docs/src/content/docs/zh/agentclaw/telegram.md
#	docs/src/content/docs/zh/agentclaw/wecom.md
#	docs/src/content/docs/zh/agentclaw/weixin-ilink.md
#	docs/src/content/docs/zh/configuration.md
#	docs/src/content/docs/zh/configuration/bot-setup.md
#	docs/src/content/docs/zh/configuration/profiles.md
#	docs/src/content/docs/zh/configuration/providers.md
#	docs/src/content/docs/zh/configuration/routing.md
#	docs/src/content/docs/zh/guides.md
#	docs/src/content/docs/zh/guides/agent-profile.md
#	docs/src/content/docs/zh/guides/cli.md
#	docs/src/content/docs/zh/index.md
#	docs/src/i18n/content.ts
#	docs/src/pages/configuration/[slug].astro
#	docs/src/pages/en/configuration/[slug].astro
#	docs/src/pages/en/guides/[slug].astro
#	docs/src/pages/guides/[slug].astro
2026-07-30 12:40:44 +08:00
musi 8f0b2d91e5 Refactor routing architecture and update project structure 2026-07-29 09:30:04 +08:00
musistudio 755b00f829 Update Infistar referral links 2026-07-28 15:02:25 +08:00
musistudio fa5559435f Merge remote-tracking branch 'origin/dev/3.1' into codex/claude-design-profile
# Conflicts:
#	.test-dist/core/runtime/request-log-worker.js
#	.test-dist/core/test/integration/gateway/gateway-client-disconnect.test.js
#	.test-dist/core/test/integration/gateway/gateway-virtual-models.test.js
#	.test-dist/core/test/integration/mcp/grok-media-service.test.js
#	.test-dist/core/test/integration/mcp/local-ai-gateway-media-live.test.js
#	.test-dist/core/test/integration/observability/request-log-pricing-transaction.test.js
#	.test-dist/core/test/integration/observability/request-log-runtime.test.js
#	.test-dist/core/test/integration/observability/request-log-store.test.js
#	.test-dist/core/test/integration/plugins/plugin-service.test.js
#	.test-dist/core/test/integration/profiles/profile-service.test.js
#	.test-dist/core/test/integration/usage/usage-store.test.js
#	.test-dist/core/test/unit/agents/bot-gateway-env.test.js
#	.test-dist/core/test/unit/agents/claude-app-gateway-models.test.js
#	.test-dist/core/test/unit/agents/claude-app-launch.test.js
#	.test-dist/core/test/unit/agents/claude-environment.test.js
#	.test-dist/core/test/unit/agents/codex-app-model-catalog.test.js
#	.test-dist/core/test/unit/agents/codex-media-preview-bridge.test.js
#	.test-dist/core/test/unit/agents/codex-model-catalog.test.js
#	.test-dist/core/test/unit/agents/local-agent-provider-codex.test.js
#	.test-dist/core/test/unit/agents/local-agent-provider-grok.test.js
#	.test-dist/core/test/unit/agents/local-agent-provider-kimi.test.js
#	.test-dist/core/test/unit/agents/opencode-profile-config.test.js
#	.test-dist/core/test/unit/agents/provider-model-metadata.test.js
#	.test-dist/core/test/unit/config/config-env-interpolation.test.js
#	.test-dist/core/test/unit/config/theme-preference.test.js
#	.test-dist/core/test/unit/gateway/codex-patch-bridge.test.js
#	.test-dist/core/test/unit/gateway/gateway-billing-sync.test.js
#	.test-dist/core/test/unit/gateway/gateway-claude-code-oauth.test.js
#	.test-dist/core/test/unit/gateway/gateway-media-config.test.js
#	.test-dist/core/test/unit/gateway/gateway-runtime-change.test.js
#	.test-dist/core/test/unit/gateway/gateway-status.test.js
#	.test-dist/core/test/unit/gateway/router-builtins.test.js
#	.test-dist/core/test/unit/gateway/routing-architecture.test.js
#	.test-dist/core/test/unit/mcp/toolhub-browser-automation-config.test.js
#	.test-dist/core/test/unit/models/pricing-service.test.js
#	.test-dist/core/test/unit/observability/raw-trace-sync.test.js
#	.test-dist/core/test/unit/profiles/ccr-cli-runtime.test.js
#	.test-dist/core/test/unit/profiles/profile-app-process-detection.test.js
#	.test-dist/core/test/unit/profiles/profile-launch-core.test.js
#	.test-dist/core/test/unit/profiles/windows-ccr-launcher.test.js
#	.test-dist/core/test/unit/providers/credential-pool.test.js
#	.test-dist/core/test/unit/providers/provider-account-service.test.js
#	.test-dist/core/test/unit/providers/provider-model-catalog.test.js
#	.test-dist/core/test/unit/providers/provider-preset-utils.test.js
#	.test-dist/core/test/unit/providers/provider-probe.test.js
#	.test-dist/core/test/unit/proxy/proxy-upstream.test.js
#	.test-dist/core/test/unit/routing/route-script-runtime.test.js
#	.test-dist/core/test/unit/web/web-management-server.test.js
#	.test-dist/ui/test/component/components.test.js
#	.test-dist/ui/test/component/layout.test.js
#	.test-dist/ui/test/component/overview-components.test.js
#	.test-dist/ui/test/component/profiles.test.js
#	.test-dist/ui/test/component/tray-components.test.js
#	.test-dist/ui/test/integration/providers.test.js
#	.test-dist/ui/test/unit/mcp-server-config.test.js
#	.test-dist/ui/test/unit/model-selector-format.test.js
#	.test-dist/ui/test/unit/routing.test.js
#	.test-dist/ui/test/unit/usage-activity.test.js
#	.test-dist/ui/test/unit/usage-format.test.js
#	.test-dist/ui/test/unit/virtual-models.test.js
#	README.md
#	README_zh.md
2026-07-26 18:17:48 +08:00
musi 01488216fe Merge remote-tracking branch 'origin/dev/3.1' into dev/3.1 2026-07-25 20:01:11 +08:00
musi a0d793680b Update project implementation and configuration 2026-07-25 20:00:57 +08:00
musistudio 28a613c26a Merge branch 'dev/extensions' into codex/claude-design-profile 2026-07-24 23:19:13 +08:00
musistudio 084b660cd4 Document Pi agent profile support 2026-07-24 17:38:39 +08:00
musistudio 7867065099 Support Claude Code model aliases in profiles 2026-07-24 16:38:24 +08:00
musi 018db8f566 chore: checkpoint local changes 2026-07-23 23:06:32 +08:00
musi 86a383f647 Merge branch 'main' into dev/compact
# Conflicts:
#	packages/core/src/config/config.ts
#	packages/core/src/contracts/app.ts
#	packages/core/src/gateway/service.ts
#	packages/core/src/profiles/service.ts
#	packages/core/test/unit/agents/context-archive.test.mjs
#	packages/core/test/unit/gateway/codex-patch-bridge.test.mjs
#	packages/ui/src/pages/home/components/profiles.tsx
#	packages/ui/src/pages/home/shared/profiles.ts
#	tests/main/profile-service.test.mjs
#	tests/main/router-builtins.test.mjs
2026-07-23 09:24:28 +08:00
musistudio 6fa4712ee9 Refactor routing implementation and project structure 2026-07-21 19:04:53 +08:00
musi 062158a00a Merge remote-tracking branch 'origin/main' into dev/extensions
# Conflicts:
#	packages/cli/src/cli.ts
#	packages/core/src/agents/codex/model-catalog.ts
#	packages/core/src/config/config.ts
#	packages/core/test/unit/agents/agent-console-launcher.test.mjs
#	packages/core/test/unit/agents/plugin-permissions.test.mjs
#	packages/core/test/unit/agents/plugin-stop-reason.test.mjs
#	packages/core/test/unit/agents/socket-compat.test.mjs
#	packages/electron/src/main/ipc.ts
#	packages/ui/test/component/extensions.test.ts
#	tests/main/codex-model-catalog.test.mjs
2026-07-21 12:43:12 +08:00
musistudio ecdf2fec0f Support xAI video generation and isolate Codex authentication 2026-07-20 15:38:13 +08:00
musistudio 225b3c23df Improve Codex authentication and app-server launch handling 2026-07-20 14:36:26 +08:00
musistudio 42cc9dbd74 Add NVIDIA NIM provider preset and preserve Claude model selection 2026-07-20 11:08:04 +08:00
musistudio 3f8d450366 Refactor routing architecture and update related modules 2026-07-20 10:10:57 +08:00
musistudio 5021cc35c0 Enable apply_patch bridging for all non-GPT Codex models 2026-07-20 07:13:53 +08:00
musistudio 9fb8a89831 Update routing workflows and supporting configuration 2026-07-19 20:07:40 +08:00
musi 5b8f64160e Refactor router internals and update related integrations 2026-07-16 09:29:48 +08:00
musistudio 2e979d9e48 Merge branch 'dev/3.1' into dev/extensions
# Conflicts:
#	packages/core/src/agents/codex/cli-middleware-runtime.ts
#	packages/core/src/config/config.ts
#	packages/core/src/gateway/service.ts
#	packages/ui/src/pages/home/App.tsx
#	packages/ui/src/pages/home/shared/controls.tsx
#	tests/main/codex-cli-middleware-runtime.test.mjs
2026-07-15 10:14:30 +08:00
musistudio 9e56580334 feat: enhance app bot relay 2026-07-14 20:58:08 +08:00
musistudio 2bf349fe03 Add OpenCode bot worker support 2026-07-14 17:30:37 +08:00
musi f1930b249c Refactor router pipeline and improve provider handling 2026-07-14 06:23:02 +08:00
musi 21ab38dd47 Add Unity2.Ai provider preset and docs 2026-07-13 21:57:18 +08:00
musistudio a8bfa6363e Improve router configuration and request handling 2026-07-13 20:02:45 +08:00
musistudio 2bb2611447 Add Qiniu Cloud AI and Fenno provider presets 2026-07-10 23:14:35 +08:00
musistudio 222ccfa208 Update provider links for code0.ai and claudeapi 2026-07-10 22:31:50 +08:00
musistudio 9014d7bf7f Merge branch 'refs/heads/dev/3.1' into dev/extensions
# Conflicts:
#	packages/core/src/agents/codex/model-catalog.ts
#	packages/core/src/plugins/service.ts
#	tests/main/codex-model-catalog.test.mjs
2026-07-10 15:41:08 +08:00
musi ee243fbfe5 Refine Codex app-server auth bootstrap and plugin handling 2026-07-10 13:11:46 +08:00
musi 8cfd4bbd8b Rename Codex desktop app references to ChatGPT 2026-07-10 12:22:14 +08:00