Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
server
下载当前目录
J
Josie_0306
feat(tui): add user guide and open it via /help
a0dfde18
创建于
1 天前
历史提交
文件
最后提交记录
最后更新时间
routes
feat(tui): add user guide and open it via /help Add DevEco Code USER_GUIDE.md with screenshot assets and open the guide in the default browser from /help instead of the in-TUI help dialog. Centralize DevEco external links in deveco-links.ts. Signed-off-by: Josie_0306 <zhaojunjie15@h-partners.com> Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Josie_0306 <zhaojunjie15@h-partners.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 天前
shared
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 天前
auth.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
cors.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 天前
event.ts
add codegenie cli
29 天前
global-lifecycle.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 天前
init-projectors.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 天前
mdns.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
projectors.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 天前
proxy-util.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
proxy.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
server.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 天前
workspace.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 天前