Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
session
下载当前目录
anieo
fix(retry): give each error category its own retry budget so QueueError doesn't reduce 403 maxAttempts
912741a0
创建于
1 天前
历史提交
文件
最后提交记录
最后更新时间
llm
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
prompt
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
compaction.ts
sync: OpenCode v1.15.3 -> v1.15.4 Upstream commits: - fix: preserve bus instance context (
#28051
) - fix(lsp): preserve instance ref for update events (
#28016
) - fix: hide task background instructions by default (
#27872
) - style(tui): distinguish markdown h1 headings (
#27814
) - zen: update monitoring query - docs: update README.es.md (
#27739
) Conflicts resolved: 41 files - README.{ar..zht}.md (21): kept local deletion - **/package.json (17): accepted upstream version bumps, preserved brand/deps - packages/opencode/package.json: kept name=deveco, bin=deveco, @deveco-codegenie/* deps - packages/web/package.json: kept deveco workspace dep - packages/extensions/zed/extension.toml: accepted upstream - packages/opencode/src/cli/upgrade.ts: accepted upstream GlobalBus refactoring - bun.lock: accepted upstream Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
exit-queue.ts
fix(session): add Chat-Id header to exit-queue request Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
14 天前
instruction.ts
sync: OpenCode v1.15.0 -> v1.15.1 Upstream commits: - feat(tui): add minimal thinking mode with click-to-expand - feat(tui): enable pinned session switching - refactor(instance): retire WithInstance adapter - refactor(lsp): require explicit instance context - refactor(workspace): centralize adapter invocation - refactor(flags): migrate flags to runtime flags - fix(tui): dedupe consecutive prompt history entries - fix(tui): show config error details on startup - fix(tool): bridge custom tool zod metadata - fix: markdown table rendering - fix(watcher): resolve symlinked .git path - Various Effect instance context refactoring Conflicts resolved: 44 files - package.json/bun.lock: accept upstream versions - flag/flag.ts: accepted upstream removals, kept DEVECO_ prefix - runtime-flags.ts: accepted upstream new flags, kept DEVECO_ prefix - bridge.ts: accepted upstream refactoring (standalone bind/fromPromise) - lsp/server.ts: accepted upstream flags parameter refactoring - instance.ts: accepted upstream deletion (retired WithInstance adapter) - TUI files: accepted upstream features, kept DEVECO_ branding - Test files: accepted upstream test updates, kept DEVECO_ env vars - config.ts: accepted upstream import changes - instruction.ts, skill, db, workspace-routing: accepted upstream refactoring Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
14 天前
llm.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
message-error.ts
sync: OpenCode v1.14.48 -> v1.14.49 Upstream commits: - fix keymap fallback priority and TUI config diagnostics (
#27384
) - fix(server): map busy sessions in http handlers (
#27375
) - fix(provider): restore model suggestions (
#27372
) - fix(run): restore non-interactive exit behavior (
#27371
) - refactor(flags): route installation/llm client through runtime flags (
#27368
,
#27369
) - effect(git/installation/worktree/format/snapshot): migrate to AppProcess.run (
#27185
-
#27190
) - refactor(flags): route control-plane/sync/session workspaces through runtime flags (
#27335
-
#27337
) - effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (
#27224
) - chore: delete unused util/lock and util/color modules (
#27223
,
#27331
) - core: expose v2 model listing API (
#25821
) - feat: session switching (DEVECO_EXPERIMENTAL_SESSION_SWITCHING) - feat(app): ctrl/cmd+number keybinds to switch projects (
#26280
) - feat(tui): pin, quick-switch, and cycle recent sessions (
#26858
) - Tests migrated to Effect style (testEffect, it.instance, it.live) - Zod removal from core, replaced with Effect Schema Conflicts resolved: 74 files - package.json (18): accept upstream version, preserve name=deveco and workspace deps - bun.lock: accept upstream - extension.toml: accept upstream version URL - flag.ts: keep DEVECO_* naming, add DEVECO_EXPERIMENTAL_SESSION_SWITCHING - llm.ts: keep x-deveco-* headers and User-Agent brand - websearch.ts: keep DEVECO_WEBSEARCH_PROVIDER env var - logo.tsx/ui.ts: keep local branded UI (not upstream animated logo) - AGENTS.md: keep local doc index, upstream content -> OPENCODE-AGENTS.md - Source files: accept upstream Flag->RuntimeFlags refactor, replace OPENCODE_->DEVECO_ - Test files: accept upstream Effect migration, replace OPENCODE_->DEVECO_ Brand identifiers preserved throughout, DEVECO_* flags maintained Product rebranded from CodeGenie to DevEco Code Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
message-v2.ts
fix(retry): retry ModelServiceRateLimit and 403 UserRateLimit errors up to 3 times For deveco provider 403 responses with error.type "UserRateLimit", retry with 10s/20s/30s delays. ModelServiceRateLimit is recognized as a dedicated error type matched by message "The server is busy. Please try again later." with the same retry policy. Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
4 天前
message.ts
sync: OpenCode v1.14.48 -> v1.14.49 Upstream commits: - fix keymap fallback priority and TUI config diagnostics (
#27384
) - fix(server): map busy sessions in http handlers (
#27375
) - fix(provider): restore model suggestions (
#27372
) - fix(run): restore non-interactive exit behavior (
#27371
) - refactor(flags): route installation/llm client through runtime flags (
#27368
,
#27369
) - effect(git/installation/worktree/format/snapshot): migrate to AppProcess.run (
#27185
-
#27190
) - refactor(flags): route control-plane/sync/session workspaces through runtime flags (
#27335
-
#27337
) - effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (
#27224
) - chore: delete unused util/lock and util/color modules (
#27223
,
#27331
) - core: expose v2 model listing API (
#25821
) - feat: session switching (DEVECO_EXPERIMENTAL_SESSION_SWITCHING) - feat(app): ctrl/cmd+number keybinds to switch projects (
#26280
) - feat(tui): pin, quick-switch, and cycle recent sessions (
#26858
) - Tests migrated to Effect style (testEffect, it.instance, it.live) - Zod removal from core, replaced with Effect Schema Conflicts resolved: 74 files - package.json (18): accept upstream version, preserve name=deveco and workspace deps - bun.lock: accept upstream - extension.toml: accept upstream version URL - flag.ts: keep DEVECO_* naming, add DEVECO_EXPERIMENTAL_SESSION_SWITCHING - llm.ts: keep x-deveco-* headers and User-Agent brand - websearch.ts: keep DEVECO_WEBSEARCH_PROVIDER env var - logo.tsx/ui.ts: keep local branded UI (not upstream animated logo) - AGENTS.md: keep local doc index, upstream content -> OPENCODE-AGENTS.md - Source files: accept upstream Flag->RuntimeFlags refactor, replace OPENCODE_->DEVECO_ - Test files: accept upstream Effect migration, replace OPENCODE_->DEVECO_ Brand identifiers preserved throughout, DEVECO_* flags maintained Product rebranded from CodeGenie to DevEco Code Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
oh-knowledge-async.ts
add codegenie cli
29 天前
overflow.ts
sync: OpenCode v1.15.0 -> v1.15.1 Upstream commits: - feat(tui): add minimal thinking mode with click-to-expand - feat(tui): enable pinned session switching - refactor(instance): retire WithInstance adapter - refactor(lsp): require explicit instance context - refactor(workspace): centralize adapter invocation - refactor(flags): migrate flags to runtime flags - fix(tui): dedupe consecutive prompt history entries - fix(tui): show config error details on startup - fix(tool): bridge custom tool zod metadata - fix: markdown table rendering - fix(watcher): resolve symlinked .git path - Various Effect instance context refactoring Conflicts resolved: 44 files - package.json/bun.lock: accept upstream versions - flag/flag.ts: accepted upstream removals, kept DEVECO_ prefix - runtime-flags.ts: accepted upstream new flags, kept DEVECO_ prefix - bridge.ts: accepted upstream refactoring (standalone bind/fromPromise) - lsp/server.ts: accepted upstream flags parameter refactoring - instance.ts: accepted upstream deletion (retired WithInstance adapter) - TUI files: accepted upstream features, kept DEVECO_ branding - Test files: accepted upstream test updates, kept DEVECO_ env vars - config.ts: accepted upstream import changes - instruction.ts, skill, db, workspace-routing: accepted upstream refactoring Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
14 天前
processor.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
projectors-next.ts
sync: OpenCode v1.14.51 -> v1.15.0 Upstream commits: - Add Effect-native core event system (
#27415
) - core: fix event projector lookup to use versioned type keys - feat(desktop): auto-hide menu bar on Linux and Windows (
#27618
) - fix(app): only run session.updated archive logic if archive state changes (
#27637
) - fix(session): ignore instruction lookup errors (
#27656
) - fix(tool): ignore invalid custom tool exports - Migrate v2 session-event/message to packages/core - HTTP API groups/v2/instance.ts -> location.ts rename Conflicts resolved: 21 files - 18 package.json + bun.lock + extension.toml: accept upstream versions - packages/opencode/package.json: accept upstream, keep name: "deveco" - packages/web/package.json: accept upstream, ensure "deveco": "workspace:*" - packages/opencode/src/session/processor.ts: accept upstream simplified layer type Brand identifiers preserved throughout Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
14 天前
projectors.ts
sync: OpenCode v1.14.48 -> v1.14.49 Upstream commits: - fix keymap fallback priority and TUI config diagnostics (
#27384
) - fix(server): map busy sessions in http handlers (
#27375
) - fix(provider): restore model suggestions (
#27372
) - fix(run): restore non-interactive exit behavior (
#27371
) - refactor(flags): route installation/llm client through runtime flags (
#27368
,
#27369
) - effect(git/installation/worktree/format/snapshot): migrate to AppProcess.run (
#27185
-
#27190
) - refactor(flags): route control-plane/sync/session workspaces through runtime flags (
#27335
-
#27337
) - effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (
#27224
) - chore: delete unused util/lock and util/color modules (
#27223
,
#27331
) - core: expose v2 model listing API (
#25821
) - feat: session switching (DEVECO_EXPERIMENTAL_SESSION_SWITCHING) - feat(app): ctrl/cmd+number keybinds to switch projects (
#26280
) - feat(tui): pin, quick-switch, and cycle recent sessions (
#26858
) - Tests migrated to Effect style (testEffect, it.instance, it.live) - Zod removal from core, replaced with Effect Schema Conflicts resolved: 74 files - package.json (18): accept upstream version, preserve name=deveco and workspace deps - bun.lock: accept upstream - extension.toml: accept upstream version URL - flag.ts: keep DEVECO_* naming, add DEVECO_EXPERIMENTAL_SESSION_SWITCHING - llm.ts: keep x-deveco-* headers and User-Agent brand - websearch.ts: keep DEVECO_WEBSEARCH_PROVIDER env var - logo.tsx/ui.ts: keep local branded UI (not upstream animated logo) - AGENTS.md: keep local doc index, upstream content -> OPENCODE-AGENTS.md - Source files: accept upstream Flag->RuntimeFlags refactor, replace OPENCODE_->DEVECO_ - Test files: accept upstream Effect migration, replace OPENCODE_->DEVECO_ Brand identifiers preserved throughout, DEVECO_* flags maintained Product rebranded from CodeGenie to DevEco Code Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
prompt.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
reminders.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
retry.ts
fix(retry): give each error category its own retry budget so QueueError doesn't reduce 403 maxAttempts Before this fix, the retry policy used Effect's global meta.attempt counter for all error types. When a 406 QueueError consumed attempt 1, subsequent 403 UserRateLimit only got 2 retries (attempts 2 and 3) instead of the intended 3, and its delays were offset (delays[1]=20s instead of delays[0]=10s). The fix adds per-category attempt tracking: getRetryCategory() categorizes errors into groups (queue, 403_user_rate_limit, model_service_rate_limit, etc.) and the policy resets categoryAttempt on category change, giving each error type with maxAttempts its own independent retry budget. Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
1 天前
revert.ts
sync: OpenCode v1.14.49 -> v1.14.50 Upstream commits: - fix(httpapi): preserve event stream context (
#27425
) - refactor(storage): remove not found wire serializer (
#27416
) - fix(session): type busy errors (
#27410
) - fix(provider): make small model fallback optional (
#27405
) - fix(llm): preserve tool error defects (
#27403
) - refactor(core): move models.dev into core (
#27347
) - effect(patch,tool): migrate patch/index and tool/read to AppFileSystem (
#27155
) - effect(server): typed errors in session/sync handlers, fix concurrency (
#27146
) - effect(core): track stderr truncation; polish AppProcess callers (
#27353
) - effect(util): migrate filesystem callers to AppFileSystem.Service (
#27152
) - fix(provider): type model not found errors (
#27334
) Conflicts resolved: 22 files - **/package.json (19 files): version bump, kept name: "deveco" for opencode package - bun.lock: accepted upstream - packages/extensions/zed/extension.toml: accepted upstream version/URL - packages/core/src/flag/flag.ts: accepted upstream (removed falsy/unstableDefault/EXPERIMENTAL_MARKDOWN/EXPERIMENTAL_CUSTOMIZE_SKILL), replaced OPENCODE_ → DEVECO_ Brand identifiers preserved throughout Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
run-state.ts
sync: OpenCode v1.14.50 -> v1.14.51 Upstream commits: - feat: add experimental background subagents (
#27084
) - feat(desktop): add mcp client registration status and authentication handling (
#27525
) - feat(provider): add NVIDIA endpoints origin header (
#27394
) - fix(session): prevent double auto-compaction from filterCompacted reorder (
#27545
) - fix(session): finalize interrupted assistant messages (
#27254
) - fix: image resizer wasm loading, reenable image resizing (
#26805
) - fix(provider): remove LiteLLM workarounds ported upstream (
#26819
) - fix(tui): preserve text selection on question prompt options (
#24988
) - fix(tool): close shell truncation stream (
#27517
) - fix(worktree): accept missing create payload (
#27582
) - fix: bug with azure gpt-5.5 w/ completions api (
#26222
) - refactor(server): simplify listener lifecycle (
#27413
) - refactor(server): centralize session busy mapping (
#27473
) - Refactor event HTTP API route modules (
#27441
) - refactor(flags): migrate multiple flags to runtime flags (
#27605
-
#27615
) - refactor(http-recorder): tighten cassette safety, fix WS leaks (
#26730
) Conflicts resolved: 46 files - package.json (18): accepted upstream versions, preserved name: "deveco" and workspace dep - bun.lock: accepted upstream - extension.toml: accepted upstream version + download URL - flag.ts, runtime-flags.ts: accepted upstream, replaced OPENCODE_ -> DEVECO_ env var prefixes - provider.ts, registry.ts, shell.ts, storage/db.ts: accepted upstream architecture, preserved DEVECO_ branding - lsp.ts, server.ts, formatter.ts, project.ts: accepted upstream, replaced OPENCODE_ -> DEVECO_ - image.ts: accepted upstream wasm fix, replaced __OPENCODE_PHOTON_WASM_PATH -> __DEVECO_PHOTON_WASM_PATH - skill/index.ts: accepted upstream, replaced OPENCODE_SKILL_PATTERN/OPENCODE_DISABLE_EXTERNAL_SKILLS -> DEVECO_ - server/shared/ui.ts, share/session.ts: accepted upstream - Test files (9): accepted upstream, replaced OPENCODE_ -> DEVECO_ env var prefixes Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
schema.ts
sync: OpenCode v1.14.51 -> v1.15.0 Upstream commits: - Add Effect-native core event system (
#27415
) - core: fix event projector lookup to use versioned type keys - feat(desktop): auto-hide menu bar on Linux and Windows (
#27618
) - fix(app): only run session.updated archive logic if archive state changes (
#27637
) - fix(session): ignore instruction lookup errors (
#27656
) - fix(tool): ignore invalid custom tool exports - Migrate v2 session-event/message to packages/core - HTTP API groups/v2/instance.ts -> location.ts rename Conflicts resolved: 21 files - 18 package.json + bun.lock + extension.toml: accept upstream versions - packages/opencode/package.json: accept upstream, keep name: "deveco" - packages/web/package.json: accept upstream, ensure "deveco": "workspace:*" - packages/opencode/src/session/processor.ts: accept upstream simplified layer type Brand identifiers preserved throughout Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
14 天前
session.sql.ts
sync: OpenCode v1.14.51 -> v1.15.0 Upstream commits: - Add Effect-native core event system (
#27415
) - core: fix event projector lookup to use versioned type keys - feat(desktop): auto-hide menu bar on Linux and Windows (
#27618
) - fix(app): only run session.updated archive logic if archive state changes (
#27637
) - fix(session): ignore instruction lookup errors (
#27656
) - fix(tool): ignore invalid custom tool exports - Migrate v2 session-event/message to packages/core - HTTP API groups/v2/instance.ts -> location.ts rename Conflicts resolved: 21 files - 18 package.json + bun.lock + extension.toml: accept upstream versions - packages/opencode/package.json: accept upstream, keep name: "deveco" - packages/web/package.json: accept upstream, ensure "deveco": "workspace:*" - packages/opencode/src/session/processor.ts: accept upstream simplified layer type Brand identifiers preserved throughout Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
14 天前
session.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
status.ts
feat: add queue retry mechanism with snail animation Integrate queue errors into standard retry policy and display a snail crawling animation in the prompt status bar when queuing. Remove unused QueuePart/QueuePartView/queue status type since queue info is now shown only in the bottom prompt bar. Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
15 天前
summary.ts
sync: OpenCode v1.14.48 -> v1.14.49 Upstream commits: - fix keymap fallback priority and TUI config diagnostics (
#27384
) - fix(server): map busy sessions in http handlers (
#27375
) - fix(provider): restore model suggestions (
#27372
) - fix(run): restore non-interactive exit behavior (
#27371
) - refactor(flags): route installation/llm client through runtime flags (
#27368
,
#27369
) - effect(git/installation/worktree/format/snapshot): migrate to AppProcess.run (
#27185
-
#27190
) - refactor(flags): route control-plane/sync/session workspaces through runtime flags (
#27335
-
#27337
) - effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (
#27224
) - chore: delete unused util/lock and util/color modules (
#27223
,
#27331
) - core: expose v2 model listing API (
#25821
) - feat: session switching (DEVECO_EXPERIMENTAL_SESSION_SWITCHING) - feat(app): ctrl/cmd+number keybinds to switch projects (
#26280
) - feat(tui): pin, quick-switch, and cycle recent sessions (
#26858
) - Tests migrated to Effect style (testEffect, it.instance, it.live) - Zod removal from core, replaced with Effect Schema Conflicts resolved: 74 files - package.json (18): accept upstream version, preserve name=deveco and workspace deps - bun.lock: accept upstream - extension.toml: accept upstream version URL - flag.ts: keep DEVECO_* naming, add DEVECO_EXPERIMENTAL_SESSION_SWITCHING - llm.ts: keep x-deveco-* headers and User-Agent brand - websearch.ts: keep DEVECO_WEBSEARCH_PROVIDER env var - logo.tsx/ui.ts: keep local branded UI (not upstream animated logo) - AGENTS.md: keep local doc index, upstream content -> OPENCODE-AGENTS.md - Source files: accept upstream Flag->RuntimeFlags refactor, replace OPENCODE_->DEVECO_ - Test files: accept upstream Effect migration, replace OPENCODE_->DEVECO_ Brand identifiers preserved throughout, DEVECO_* flags maintained Product rebranded from CodeGenie to DevEco Code Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
system.ts
sync: OpenCode v1.14.30 + v1.14.31 Key changes: - feat(workspace): Effect Service/Layer refactor - feat(plugin): add AzureAuthPlugin - feat(server): ServerBackend, ProxyUtil, CORS middleware - feat(skill): support external Claude/Agents directories - feat(session): path filtering support - fix(desktop): Path mismatches + strong ID fix (
#25013
) - fix: login flow improvements (cancel support, token refresh) - chore: remove broken codesearch tool - chore: ignore specs and docs directories Signed-off-by: eline <eline-han@foxmail.com>
25 天前
todo.ts
sync: OpenCode v1.14.48 -> v1.14.49 Upstream commits: - fix keymap fallback priority and TUI config diagnostics (
#27384
) - fix(server): map busy sessions in http handlers (
#27375
) - fix(provider): restore model suggestions (
#27372
) - fix(run): restore non-interactive exit behavior (
#27371
) - refactor(flags): route installation/llm client through runtime flags (
#27368
,
#27369
) - effect(git/installation/worktree/format/snapshot): migrate to AppProcess.run (
#27185
-
#27190
) - refactor(flags): route control-plane/sync/session workspaces through runtime flags (
#27335
-
#27337
) - effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (
#27224
) - chore: delete unused util/lock and util/color modules (
#27223
,
#27331
) - core: expose v2 model listing API (
#25821
) - feat: session switching (DEVECO_EXPERIMENTAL_SESSION_SWITCHING) - feat(app): ctrl/cmd+number keybinds to switch projects (
#26280
) - feat(tui): pin, quick-switch, and cycle recent sessions (
#26858
) - Tests migrated to Effect style (testEffect, it.instance, it.live) - Zod removal from core, replaced with Effect Schema Conflicts resolved: 74 files - package.json (18): accept upstream version, preserve name=deveco and workspace deps - bun.lock: accept upstream - extension.toml: accept upstream version URL - flag.ts: keep DEVECO_* naming, add DEVECO_EXPERIMENTAL_SESSION_SWITCHING - llm.ts: keep x-deveco-* headers and User-Agent brand - websearch.ts: keep DEVECO_WEBSEARCH_PROVIDER env var - logo.tsx/ui.ts: keep local branded UI (not upstream animated logo) - AGENTS.md: keep local doc index, upstream content -> OPENCODE-AGENTS.md - Source files: accept upstream Flag->RuntimeFlags refactor, replace OPENCODE_->DEVECO_ - Test files: accept upstream Effect migration, replace OPENCODE_->DEVECO_ Brand identifiers preserved throughout, DEVECO_* flags maintained Product rebranded from CodeGenie to DevEco Code Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
tools.ts
sync: OpenCode v1.15.4 -> v1.15.5 Upstream commits: - Preview native LLM runtime stack (
#27114
) - feat(tui): add syntax highlighting for elixir, fsharp, r, make, vim, xml, agda - perf(app): virtualize session timeline rows (
#26949
) - fix(plugin):
ask
in tools from plugins returns promise instead of effect - fix(bus): acquire PubSub subscription eagerly to close /event race - refactor(session): move prompt reminders out of core loop - refactor(session): extract prompt tool resolution - refactor(session): extract reference prompt helpers - refactor(reference): split materialization state - refactor(repository): add cache service + type cache failures - fix(core): fix file references in workspaces - fix(ui): guard reasoning renderer, fix question dock overflow - fix(tui): copy pasted prompt content, collapse long tool output lines - Load models.dev snapshot from build global (models-snapshot.js deleted) - Upgrade Bun to final non-rust version - Multiple test migrations to instance fixtures Conflicts resolved: 28 files - package.json (17): version bump, accept upstream - packages/opencode/package.json: accept upstream + keep name/bin/deveco-codegenie deps - packages/web/package.json: accept upstream + fix deveco workspace dep - bun.lock/extension.toml/sdks/vscode/package.json: accept upstream - build scripts (3): DEVECO_MODELS_DEV define, generate.ts export - runtime-flags.ts: new experimentalNativeLlm flag with DEVECO_ prefix - session/llm.ts: accept upstream native LLM runtime architecture, keep DEVECO_ headers + debug logging - test files (3): DEVECO_TEST_HOME branding Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前