文件最后提交记录最后更新时间
Fix diff line number contrast for built-in themes (#22464)1 个月前
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 天前
feat(tui): add Claude Code-style --fork flag to duplicate sessions before continuing (resolves #11137) (#11340) 3 个月前
sync: OpenCode v1.14.41 -> v1.14.42 Upstream commits: - feat(core): add scout agent for repo research (#24149) - Add native LLM core foundation (#24712) - feat(opencode): add interactive split-footer mode to run (#23557) - feat(server): add HTTP API response compression (#26440) - feat(core): be smarter about generating a worktree name (#26368) - feat(core): allow external workspace creation (#26212) - feat(desktop): working indicator on project sidebar (#26223) - feat(desktop): allow silent install and only user-wide scope (#26253) - feat(websearch): add parallel provider rollout (#26227) - fix(server): clean up post-Hono-deletion scar tissue (#26542) - fix(server): validate permission and question ids (#26456) - fix(server): include auth challenge on typed 401 (#26455) - fix(server): return structured validation errors (#26457) - fix(server): match Hono wire format for authorize errors (#26474) - fix(tui): sort session picker by full updated timestamp (#24725) - fix(cli): forward signals from npm shim (#26259) - fix(workspace): claim detached sessions to source project (#26413) - fix(tui): retain cleared prompt drafts (#26258) - fix(provider): align Gemini thinking controls (#26279) - fix(provider): align Anthropic Opus 4.5 efforts (#26275) - fix(provider): constrain OpenAI deep research efforts (#26273) - fix(provider): align GPT-5 reasoning variants (#26268) - fix(skill): allow missing descriptions (#26391) - fix: ensure tools are always in same order (#26370) - fix: adjust tui retry dialog logic (#26366) - fix(web): normalize shell output carriage returns (#26426) - fix: tweaks to transform logic for anthropic and bedrock (#26276) - flatten to keybind compatible config (#26421) - introduce opentui keymap as sole key/cmd engine (#26053) - internal which-key plugin, inactive by default (#26337) - refactor(desktop): convert main process to Effect-TS (#26148) - research: delete Hono backend (#25667) - release: v1.14.42 Conflicts resolved: 77 files - package.json (17): accepted upstream versions, preserved name: "codegenie" - bun.lock, nix/hashes.json: accepted upstream - extension.toml: accepted upstream version and download URL - server source (12): accepted upstream architecture, preserved CODEGENIE_ brand - server tests (27): accepted upstream test structure, preserved CODEGENIE_ brand - tui/plugin (6): accepted upstream TUI changes, preserved CodeGenie customizations - desktop (2): accepted upstream Effect-TS refactor, preserved brand - bin/codegenie: preserved CODEGENIE_BIN_PATH and .codegenie cache - modify/delete (6): accepted upstream deletions (Hono cleanup) - sdk/build (1): accepted upstream - flag.ts: accepted upstream flags, converted OPENCODE_ to CODEGENIE_ Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com> 20 天前
add codegenie cli 29 天前
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 天前
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 天前
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 天前
fix(tui): clear alternate screen on enter and erase exit banner rows Clear the terminal when starting the TUI so stale logo frames do not persist in reused alternate-screen buffers. Erase matching rows before writing exit messages so prior session art does not bleed through. Signed-off-by: can2 <279319529@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com> 5 天前
OpenTUI is here (#2685) 6 个月前
fix(kv): reduce Flock stale timeout and clean up stale lock on startup The KV provider used Flock.withLock with the default 60s staleness timeout. On Windows, when the process exits via Ctrl+C, the lock directory is sometimes not cleaned up because bun CTRL_C_EVENT handling may kill the process before async cleanup runs. The next process then blocks for 54s waiting for the stale lock to expire. Changes: - Reduce staleMs from 60s to 3s for the KV read lock - Before acquiring the lock, check the heartbeat file mtime and delete the lock directory if stale (>30s old) - All lock lifecycle management stays in kv.tsx Signed-off-by: lizhuohang <lizhuohang911@126.com> 6 天前
sync: OpenCode v1.15.1 -> v1.15.2 Upstream commits: - fix(sync): publish events on injected project bus (#27825) - core: reduce prompts for shell, todowrite, and task tools (#26821) - tui: newly pinned sessions now append to the end of the list - fixed issue in opencode run (InstanceRef provider) - chore: reduce alerts noise - feat(nix): add opencode-electron derivation (#16163) - Remove Ring 2.6 1T from Zen docs (#27849) - sync release versions for v1.15.1 Conflicts resolved: 20 files - **/package.json: accepted upstream version bumps, kept name: "deveco" - bun.lock: accepted upstream - packages/extensions/zed/extension.toml: accepted upstream version + URL Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com> 14 天前
sync: OpenCode v1.14.46 -> v1.14.47 Upstream commits (50): - feat(scout): materialize configured reference repos (#26692) - feat: better image handling (auto resize & max size constraints) (#26401) - feat(http-recorder): default mode to "auto" (#26719) - Source HTTP API ID path patterns (#26623) - Source workspace path pattern (#26632) - Source diff message query pattern (#26638) - Persist session model switches outside event flag (#26765) - restore managed textarea keymap handling (#26771) - fix(server): return diagnosable body for schema rejections (#26631) - Add explicit LLM stream lifecycle events (#26722) - refactor(http-recorder): use Schema.TaggedErrorClass for cassette errors (#26729) - refactor(http-recorder): hide cassette format behind Cassette seam (#26725) - refactor(http-recorder): Redactor + Recorder seams, README (#26636) - Scope boolean query overrides - Drop unused ID Zod statics (#26740) - Drop compaction create facade (#26739) - Replace compaction create test fixtures (#26738) - Migrate compaction tool-call/plugin/LLM/overflow tests - Use Effect timeout in compaction test (#26728) - Format TUI paths relative to session directory (#26648) - Remove redundant ID Zod overrides (#26633) - Zen: Ring 2.6 1T, fix usage css, fix reasoning token - Go: hy3 preview, tencent icon - Various chore: generate commits - release: v1.14.47 Conflicts resolved: - 17 package.json: version bump, kept codegenie name - packages/opencode/package.json: version bump, kept name=codegenie - packages/web/package.json: version bump, fixed workspace dep - bun.lock: accepted upstream - extension.toml: version/URL upgrade - AGENTS.md: kept local CodeGenie docs index - agent.ts: accepted Reference.resolveAll refactor, kept CODEGENIE_ brand - read.ts: merged imports (isImageAttachment + Reference) - event.ts: accepted bypassExperimentalEventSystem option, kept CODEGENIE_ brand - prompt-traits.test.ts: accepted upstream new test file Brand cleanup: - reference.ts, reference.test.ts, read.test.ts: OPENCODE_ -> CODEGENIE_ Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com> 20 天前
fix(tui): tui resiliency when workspace is dead, disable directory filter in session list (#23013)1 个月前
Preserve prompt input when creating new session (#4993) 5 个月前
feat: complete brand migration from CodeGenie to DevEco Code Migrate all remaining CODEGENIE/codegenie references to DEVECO/deveco across the entire codebase: - Fix critical build define mismatch (CODEGENIE_* → DEVECO_*) that caused version/channel to always be "local" in built artifacts - Rename npm scope to @deveco and package name to @deveco/deveco - Rename plugin files: codegenie.ts → deveco.ts, codegenie-models.ts → deveco-models.ts, codegenie-onboarding.tsx → deveco-onboarding.tsx - Update provider ID, class names, and function names - Update all env vars, build scripts, SDK headers, and display text - Fix electron.vite.config.ts CODEGENIE_SERVER_DIST variable reference bug - Update binary output name from bin/codegenie to bin/deveco Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com> 18 天前
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com> 19 天前
sync: OpenCode v1.14.35 -> v1.14.37 Upstream commits: 6b852774e sync release versions for v1.14.35 ca2411d33 Run UI unit tests in CI (#25792) 84afd2bef update: normalize download asset names to match new naming convention (#25796) 22a4a9df8 feat(core): session warping (#25768) f33b17e8a chore: generate 2740d398f devex: Enable Electron MCP servers with DevTools debug port (#25795) edd480f56 fix(tui): fix type error for calling workspace.warp (#25801) f6a3615f5 fix(console): remove Cloudflare cache config from download fetch (#25804) 0df2bb0f3 docs: restore v2 todo 39c88f9af Improve v2 session message rendering (#25634) 75d141b57 fix(session): cancel subtask child sessions (#25798) 2d0a757eb chore: generate 07f1c8c0a fix(desktop): stabilize Windows titlebar zoom (#25813) 6f7d63e9c chore: generate b4147c8d0 refactor(desktop): consolidate desktop-electron into desktop package (#25822) 03544a26c fix(desktop): update main process (#25825) 301ab3615 chore: update nix node_modules hashes 5e75b15eb release: v1.14.37 Key changes: - feat(core): session warping (#25768) - refactor(desktop): consolidate desktop-electron into desktop package (#25822) - fix(session): cancel subtask child sessions (#25798) - fix(desktop): stabilize Windows titlebar zoom (#25813) - Improve v2 session message rendering (#25634) - fix(console): remove Cloudflare cache config from download fetch (#25804) - fix(tui): fix type error for calling workspace.warp (#25801) - devex: Enable Electron MCP servers with DevTools debug port (#25795) - Run UI unit tests in CI (#25792) Conflicts resolved: 31 files (package.json version bumps, bun.lock, extension.toml, desktop-electron deletion, workspace.ts SessionWarpInput + EffectBridge.fromPromise, workspace route WarpPayload, titlebar.tsx navigation buttons, dialog-session-list.tsx WorkspaceLabel, dialog-workspace-create.tsx rewrite, httpapi-workspace.test.ts 3 new tests) Brand identifiers preserved (codegenie naming) HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com> 21 天前
修复加密文件错误处理导致模型不可用问题 Signed-off-by: m0_63466981 <634451364@qq.com> 11 天前
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 天前
feat(tui): sync upstream reasoning header styling with orange theme, Spinner animation and reasoningSummary() Signed-off-by: zhangyuchen45 <zhangyuchen45@huawei.com> 1 天前
sync: OpenCode v1.14.41 -> v1.14.42 Upstream commits: - feat(core): add scout agent for repo research (#24149) - Add native LLM core foundation (#24712) - feat(opencode): add interactive split-footer mode to run (#23557) - feat(server): add HTTP API response compression (#26440) - feat(core): be smarter about generating a worktree name (#26368) - feat(core): allow external workspace creation (#26212) - feat(desktop): working indicator on project sidebar (#26223) - feat(desktop): allow silent install and only user-wide scope (#26253) - feat(websearch): add parallel provider rollout (#26227) - fix(server): clean up post-Hono-deletion scar tissue (#26542) - fix(server): validate permission and question ids (#26456) - fix(server): include auth challenge on typed 401 (#26455) - fix(server): return structured validation errors (#26457) - fix(server): match Hono wire format for authorize errors (#26474) - fix(tui): sort session picker by full updated timestamp (#24725) - fix(cli): forward signals from npm shim (#26259) - fix(workspace): claim detached sessions to source project (#26413) - fix(tui): retain cleared prompt drafts (#26258) - fix(provider): align Gemini thinking controls (#26279) - fix(provider): align Anthropic Opus 4.5 efforts (#26275) - fix(provider): constrain OpenAI deep research efforts (#26273) - fix(provider): align GPT-5 reasoning variants (#26268) - fix(skill): allow missing descriptions (#26391) - fix: ensure tools are always in same order (#26370) - fix: adjust tui retry dialog logic (#26366) - fix(web): normalize shell output carriage returns (#26426) - fix: tweaks to transform logic for anthropic and bedrock (#26276) - flatten to keybind compatible config (#26421) - introduce opentui keymap as sole key/cmd engine (#26053) - internal which-key plugin, inactive by default (#26337) - refactor(desktop): convert main process to Effect-TS (#26148) - research: delete Hono backend (#25667) - release: v1.14.42 Conflicts resolved: 77 files - package.json (17): accepted upstream versions, preserved name: "codegenie" - bun.lock, nix/hashes.json: accepted upstream - extension.toml: accepted upstream version and download URL - server source (12): accepted upstream architecture, preserved CODEGENIE_ brand - server tests (27): accepted upstream test structure, preserved CODEGENIE_ brand - tui/plugin (6): accepted upstream TUI changes, preserved CodeGenie customizations - desktop (2): accepted upstream Effect-TS refactor, preserved brand - bin/codegenie: preserved CODEGENIE_BIN_PATH and .codegenie cache - modify/delete (6): accepted upstream deletions (Hono cleanup) - sdk/build (1): accepted upstream - flag.ts: accepted upstream flags, converted OPENCODE_ to CODEGENIE_ Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com> 20 天前