Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
server
/
routes
/
instance
/
httpapi
/
middleware
下载当前目录
O
OwenO
sync: OpenCode v1.15.0 -> v1.15.1
d6ce9a94
创建于
14 天前
历史提交
文件
最后提交记录
最后更新时间
authorization.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 天前
compression.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 天前
cors-vary.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 天前
error.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 天前
fence.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
instance-context.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 天前
proxy.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 天前
schema-error.ts
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 天前
workspace-routing.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 天前