Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
develop
deveco-code
/
packages
/
opencode
/
src
/
cli
下载当前目录
can2
fix(tui): improve privacy onboarding layout on small terminals
7697bd66
创建于
17 小时前
历史提交
文件
最后提交记录
最后更新时间
cmd
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>
17 小时前
effect
修复加密文件错误处理导致模型不可用问题 Signed-off-by: m0_63466981 <634451364@qq.com>
11 天前
bootstrap.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 天前
deveco-agreement.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 天前
deveco-legal.ts
fix(opencode): update privacy/terms URLs and add Terms of Use dialog option Signed-off-by: liujianghang <liujianghang@huawei.com>
4 天前
deveco-links.ts
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 天前
effect-cmd.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 天前
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 天前
heap.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
logo.ts
style(opencode): refine TUI banner layout and onboarding UI wording Signed-off-by: liujianghang <liujianghang@huawei.com>
6 天前
network.ts
feat: migrate brand from CodeGenie to DevEco Code Signed-off-by: eline <eline-han@foxmail.com>
19 天前
ui.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 天前
upgrade.ts
fix(upgrade): default to notify for all release types including patch Previously only minor/major versions showed update notifications while patch versions were silently auto-installed. Now the default behavior notifies for all versions. Users can opt into auto-upgrade by setting autoupdate: true in config. Signed-off-by: zhangyuchen <zhangyuchen45@huawei.com>
5 天前