Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
server
/
shared
下载当前目录
O
OwenO
sync: OpenCode v1.14.50 -> v1.14.51
2d4aac55
创建于
15 天前
历史提交
文件
最后提交记录
最后更新时间
fence.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
pty-ticket.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 天前
public-ui.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 天前
tui-control.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 天前
ui.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 天前
workspace-routing.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 天前