Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
cli
/
cmd
下载当前目录
can2
fix(tui): improve privacy onboarding layout on small terminals
7697bd66
创建于
18 小时前
历史提交
文件
最后提交记录
最后更新时间
debug
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 天前
devecoUI
refactor: rename CodeGenie branding to DevEco Code Replace all CodeGenie branding identifiers with DevEco Code equivalents: - Logo files: codegenie-logo.jpg → deveco-code-logo.jpg - Directory rename: codegenieUI/ → devecoUI/ - File rename: codegenie-legal.ts → deveco-legal.ts - Update comments and import paths across TUI components - Update analytics test guide paths Signed-off-by: OwenO <ouwen7@huawei.com>
15 天前
run
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 天前
tui
fix(tui): improve privacy onboarding layout on small terminals Add a scrollable agreement panel with fixed action footer, top-align the home body slot during onboarding, and shrink horizontal padding as the terminal narrows. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: can2 <279319529@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com>
18 小时前
account.ts
sync: OpenCode v1.14.33 -> v1.14.34 Upstream commits: - release: v1.14.34 - fix: ensure effect server middleware properly parses errors (
#25717
) - test(agent): skip InstanceBootstrap in plugin-agent regression test (
#25737
) - fix(server): provide fresh ConfigProvider per HttpApi listener (
#25726
) - fix(worktree): fork workspace worktree boot (
#25723
) - chore(docs): rename firmware provider to frogbot (
#25453
) - fix: ensure anthropic sdk properly resolves when using azure (
#25721
) - test(server): regression reproducers for
#25698
(
#25714
) - fix(opencode): strip transfer-encoding in UI proxy and allow public manifest assets (
#25698
) - fix(app): prevent terminal recovery loops (
#25710
) - feat(server): pty websocket auth tickets (
#25660
) - fix: allow Codex Spark with Codex OAuth (
#25640
) - Effectify plugin agent regression test (
#25646
) - fix(app): preserve auth token credentials (
#25636
) - refactor(cli): effectify provider commands (
#25633
) - fix(server): serve embedded UI from bunfs (
#25632
) - Add v2 session failure events (
#25628
) - fix(server): support desktop PTY websockets with HttpApi (
#25598
) - fix(auth): add username option for basic auth in RunCommand (
#25600
) - refactor(cli/providers): flatten — Effect-native handlers end-to-end (
#25537
) - refactor(cli/github+run): Stage 4 — drop AppRuntime.runPromise bridges (
#25539
) - refactor(config+core): drop ConfigPaths.readFile, add AppFileSystem.readFileStringSafe, flatten TuiConfig.loadState (
#25602
) - fix(auth): respect server username in clients (
#25596
) - feat: group changelog bugfixes (
#25597
) - fix(httpapi): add basic auth challenge for browser login - fix(sdk+cli): surface real errors instead of bare {} when server returns empty body (
#25592
) - fix(acp): pass server auth to internal client (
#25591
) - feat(server): native HttpApi listener with Bun.serve + WS upgrade (
#25547
) - feat(server): Server.openapi() backed by HttpApi spec, parity-checked against Hono output (
#25545
) - refactor(server): extract Hono-coupled utilities to backend-neutral modules (
#25542
) - fix(vcs): avoid unbounded diff memory usage (
#25581
) - Add debug info command (
#25550
) - fix(cli): bridge Instance.current ALS in effectCmd handlers (regression from
#25522
) (
#25546
) - refactor(cli/providers): Stage 4 — drop inline AppRuntime.runPromise calls (
#25532
) - refactor(cli/mcp+agent): Stage 4 — drop AppRuntime.runPromise bridges (
#25530
) - fix: regression w/ auth login where stderr was ignored instead of inherited (
#25529
) - feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd (
#20039
) - refactor(lifecycle): bootstrap as pure orchestration (
#25510
) - Refactor v2 session events as schemas (
#24512
) - feat(cli): auto-dispose InstanceContext after effectCmd handlers (
#25481
) - fix(instance): run bootstrap from instance store (
#25475
) - Normalize instance lifecycle wiring (
#25501
) - feat(cli): add instance: false opt-out to effectCmd (
#25507
) - feat: default HTTP API backend to on for dev/beta channels - feat(cli): allow effectCmd instance to be a function of args (
#25517
) - refactor(cli): convert all commands to effectCmd (
#25465
-
#25525
) - refactor(cli/stats): Stage 4 — fully Effect-native body (
#25523
) - chore: bump Effect beta (
#25524
) - refactor(acp): drop async from synchronous ACP.init (
#25520
) - refactor(cli): drop redundant explicit Effect.ensuring(store.dispose) (
#25503
) - fix(session): encode v2 session responses (
#25528
) - fix(httpapi): pagination Link header echoes request host (
#25527
) - ci: only build electron desktop (
#19067
) - test(httpapi): add route exerciser Conflicts resolved: 62 files - package.json (17 files): version bump to 1.14.34, name preserved as codegenie - packages/web/package.json: workspace dep opencode→codegenie - bun.lock: accepted upstream - packages/core/src/flag/flag.ts: accepted upstream HTTPAPI channel defaults + new flags, preserved CODEGENIE_ branding - packages/opencode/src/config/config.ts: preserved Instance/InstanceStore imports - packages/opencode/src/project/instance.ts: preserved containsPath + AppFileSystem import - packages/opencode/src/plugin/index.ts: adopted ServerAuth.headers(), preserved CodegenieAuthPlugin/HarmonyNapiDynamicToolsPlugin - CLI commands (12 files): accepted upstream effectCmd migration, brand identifiers CODEGENIE_ preserved - Server files (6 files): accepted upstream HttpApi refactor, CODEGENIE_ brand preserved - Test files (10 files): accepted upstream, OPENCODE_→CODEGENIE_ brand fix - Auto-merged files: batch-fixed OPENCODE_→CODEGENIE_ residuals in test fixtures and scripts - shell.ts: fixed containsPath import to use Instance.containsPath - fixture/db.ts: fixed disposeAllInstances import path to instance-runtime - extension.toml: version URL updated to v1.14.34 Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
21 天前
acp.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
agent.ts
sync: OpenCode v1.15.2 -> v1.15.3 Upstream commits: - fix(cli): preserve instance context in async commands - fix read stream byte cap - fix(cli): agent create InstanceRef context Conflicts resolved: 20 files - **/package.json, bun.lock, extension.toml: version bump (theirs) - packages/opencode/package.json: version bump, kept name "deveco" - packages/web/package.json: version bump, restored "deveco" workspace dep Brand identifiers preserved throughout Baseline updated in BASELINE.md Signed-off-by: OwenO <ouwen7@huawei.com>
13 天前
cmd.ts
sync: OpenCode v1.14.33 -> v1.14.34 Upstream commits: - release: v1.14.34 - fix: ensure effect server middleware properly parses errors (
#25717
) - test(agent): skip InstanceBootstrap in plugin-agent regression test (
#25737
) - fix(server): provide fresh ConfigProvider per HttpApi listener (
#25726
) - fix(worktree): fork workspace worktree boot (
#25723
) - chore(docs): rename firmware provider to frogbot (
#25453
) - fix: ensure anthropic sdk properly resolves when using azure (
#25721
) - test(server): regression reproducers for
#25698
(
#25714
) - fix(opencode): strip transfer-encoding in UI proxy and allow public manifest assets (
#25698
) - fix(app): prevent terminal recovery loops (
#25710
) - feat(server): pty websocket auth tickets (
#25660
) - fix: allow Codex Spark with Codex OAuth (
#25640
) - Effectify plugin agent regression test (
#25646
) - fix(app): preserve auth token credentials (
#25636
) - refactor(cli): effectify provider commands (
#25633
) - fix(server): serve embedded UI from bunfs (
#25632
) - Add v2 session failure events (
#25628
) - fix(server): support desktop PTY websockets with HttpApi (
#25598
) - fix(auth): add username option for basic auth in RunCommand (
#25600
) - refactor(cli/providers): flatten — Effect-native handlers end-to-end (
#25537
) - refactor(cli/github+run): Stage 4 — drop AppRuntime.runPromise bridges (
#25539
) - refactor(config+core): drop ConfigPaths.readFile, add AppFileSystem.readFileStringSafe, flatten TuiConfig.loadState (
#25602
) - fix(auth): respect server username in clients (
#25596
) - feat: group changelog bugfixes (
#25597
) - fix(httpapi): add basic auth challenge for browser login - fix(sdk+cli): surface real errors instead of bare {} when server returns empty body (
#25592
) - fix(acp): pass server auth to internal client (
#25591
) - feat(server): native HttpApi listener with Bun.serve + WS upgrade (
#25547
) - feat(server): Server.openapi() backed by HttpApi spec, parity-checked against Hono output (
#25545
) - refactor(server): extract Hono-coupled utilities to backend-neutral modules (
#25542
) - fix(vcs): avoid unbounded diff memory usage (
#25581
) - Add debug info command (
#25550
) - fix(cli): bridge Instance.current ALS in effectCmd handlers (regression from
#25522
) (
#25546
) - refactor(cli/providers): Stage 4 — drop inline AppRuntime.runPromise calls (
#25532
) - refactor(cli/mcp+agent): Stage 4 — drop AppRuntime.runPromise bridges (
#25530
) - fix: regression w/ auth login where stderr was ignored instead of inherited (
#25529
) - feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd (
#20039
) - refactor(lifecycle): bootstrap as pure orchestration (
#25510
) - Refactor v2 session events as schemas (
#24512
) - feat(cli): auto-dispose InstanceContext after effectCmd handlers (
#25481
) - fix(instance): run bootstrap from instance store (
#25475
) - Normalize instance lifecycle wiring (
#25501
) - feat(cli): add instance: false opt-out to effectCmd (
#25507
) - feat: default HTTP API backend to on for dev/beta channels - feat(cli): allow effectCmd instance to be a function of args (
#25517
) - refactor(cli): convert all commands to effectCmd (
#25465
-
#25525
) - refactor(cli/stats): Stage 4 — fully Effect-native body (
#25523
) - chore: bump Effect beta (
#25524
) - refactor(acp): drop async from synchronous ACP.init (
#25520
) - refactor(cli): drop redundant explicit Effect.ensuring(store.dispose) (
#25503
) - fix(session): encode v2 session responses (
#25528
) - fix(httpapi): pagination Link header echoes request host (
#25527
) - ci: only build electron desktop (
#19067
) - test(httpapi): add route exerciser Conflicts resolved: 62 files - package.json (17 files): version bump to 1.14.34, name preserved as codegenie - packages/web/package.json: workspace dep opencode→codegenie - bun.lock: accepted upstream - packages/core/src/flag/flag.ts: accepted upstream HTTPAPI channel defaults + new flags, preserved CODEGENIE_ branding - packages/opencode/src/config/config.ts: preserved Instance/InstanceStore imports - packages/opencode/src/project/instance.ts: preserved containsPath + AppFileSystem import - packages/opencode/src/plugin/index.ts: adopted ServerAuth.headers(), preserved CodegenieAuthPlugin/HarmonyNapiDynamicToolsPlugin - CLI commands (12 files): accepted upstream effectCmd migration, brand identifiers CODEGENIE_ preserved - Server files (6 files): accepted upstream HttpApi refactor, CODEGENIE_ brand preserved - Test files (10 files): accepted upstream, OPENCODE_→CODEGENIE_ brand fix - Auto-merged files: batch-fixed OPENCODE_→CODEGENIE_ residuals in test fixtures and scripts - shell.ts: fixed containsPath import to use Instance.containsPath - fixture/db.ts: fixed disposeAllInstances import path to instance-runtime - extension.toml: version URL updated to v1.14.34 Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
21 天前
db.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 天前
export.ts
sync: OpenCode v1.14.44 -> v1.14.45 Upstream commits: - fix(config): allow active provider model status (
#26592
) - refactor(provider): share model status schema (
#26595
) - fix(tui): aggregate bootstrap request failures - fix(sdk): wrap thrown error bodies in Error - fix(tool/read): match permission patterns against worktree-relative path - test(server): cover HttpApi context inheritance - fix(httpapi): align runtime query schemas with workspace routing params (
#26581
) - fix(session): accept legacy summary diffs (
#26579
) - test(session): regression test for
#26574
+ mirror loosening on Vcs.FileDiff (
#26578
) - fix(sessions): allow optional patch field in diff for migrated sessions (
#26574
) - test(session): cover workspace-routed messages (
#26576
) - fix(session): accept routing params in message list (
#26569
) - fix(tui): guard messages.data in session.sync against undefined (
#26566
) - Plugin command API shim (
#26564
) - Move schema utilities into core (
#26565
) - fix(provider): isolate plugin model mutations (
#26561
) Conflicts resolved: 22 files - package.json (18 files): accept upstream version, preserve name=codegenie - bun.lock: accept upstream - extension.toml: accept upstream version/URL - config.ts: accept core imports migration, preserve InstanceRef + containsPath - lsp.ts: accept core imports migration, preserve AppFileSystem + containsPath - packages/opencode/package.json: preserve name=codegenie, add mcp-bridge devDeps - packages/web/package.json: fix workspace dep to codegenie Brand identifiers preserved throughout, HarmonyOS tools and plugins retained Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
20 天前
generate.ts
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 天前
github.ts
feat(opencode): adjust provider priority for domestic AI models Signed-off-by: liujianghang <liujianghang@huawei.com>
4 天前
import.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 天前
mcp.ts
refactor: unify project config directory from .opencode to .deveco Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
15 天前
models.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 天前
plug.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
pr.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
prompt-display.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 天前
providers.ts
feat(opencode): adjust provider priority for domestic AI models Signed-off-by: liujianghang <liujianghang@huawei.com>
4 天前
run.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 天前
serve.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
session.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
stats.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 天前
uninstall.ts
fix(cli): use DevEco banner logo on uninstall command Replace the legacy OpenCode logo with the same lettermark shown when exiting the TUI. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: can2 <279319529@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com>
11 天前
upgrade.ts
fix(cli): use DevEco banner logo on upgrade command Replace the legacy OpenCode logo with the wordFullSmall lettermark, matching uninstall and exit screen output. Signed-off-by: can2 <279319529@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com>
7 天前
web.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前