Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
plugin
下载当前目录
A
AlphaZx
fix: 更新mcp-bridge依赖版本至1.1.8;增强verify_ui功能以支持sessionID
f0ff92b1
创建于
1 天前
历史提交
文件
最后提交记录
最后更新时间
analytics
feat(opencode): adjust provider priority for domestic AI models Signed-off-by: liujianghang <liujianghang@huawei.com>
4 天前
github-copilot
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 天前
azure.ts
sync: OpenCode v1.14.30 + v1.14.31 Key changes: - feat(workspace): Effect Service/Layer refactor - feat(plugin): add AzureAuthPlugin - feat(server): ServerBackend, ProxyUtil, CORS middleware - feat(skill): support external Claude/Agents directories - feat(session): path filtering support - fix(desktop): Path mismatches + strong ID fix (
#25013
) - fix: login flow improvements (cancel support, token refresh) - chore: remove broken codesearch tool - chore: ignore specs and docs directories Signed-off-by: eline <eline-han@foxmail.com>
25 天前
cloudflare.ts
fix(opencode): drop max_tokens for OpenAI reasoning models on Cloudflare AI Gateway (
#22864
) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
1 个月前
codex.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
deveco-models.ts
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 天前
deveco.ts
feat(deveco): enhance error logging and refine onboarding privacy UI - Restructure privacy step: extract loading/error states outside OnboardingContent - Reset privacyIndex on step entry; default to 'Agree' after check completes - Upgrade agreement service warnings to errors with structured context - Add error/warn logs to auth, token storage, and login flow catch blocks - Eliminate silent empty catches with descriptive log messages Signed-off-by: liujianghang <liujianghang@huawei.com>
1 天前
digitalocean.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 天前
harmony-napi-dynamic-tools.ts
fix: 更新mcp-bridge依赖版本至1.1.8;增强verify_ui功能以支持sessionID Signed-off-by: AlphaZx <congjiye@outlook.com>
1 天前
index.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 天前
install.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
loader.ts
add codegenie cli
29 天前
meta.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
shared.ts
add codegenie cli
29 天前