James Feng
|
9870abbd83
|
fix: resolve ~45 more unused-variable alerts across 35+ files
- @ant packages: computer-use-input, computer-use-mcp, computer-use-swift, ink, model-provider
- builtin-tools: AgentTool, BashTool, ExecuteTool, MonitorTool, PowerShellTool, SearchExtraToolsTool, WebSearchTool, bingAdapter, ScheduleCronTool
- Others: acp-link, image-processor-napi, sessionMemory, acp/agent
- UI: PromptInput, Notifications, SearchExtraToolsHint, Spinner, App
Fix ConsoleOAuthFlow.tsx regression from previous batch (doSave was accidentally removed)
|
2026-06-08 17:30:56 +08:00 |
|
James Feng
|
76c47956dd
|
fix: resolve ~50 CodeQL alerts — unused, injection, type issues
unused-local-variable / useless-assignment (~30 alerts):
- mcp-client: manager.ts (11), connection.ts (3)
- acp-link: server.ts (4), rcs-upstream.ts
- remote-control-server: 10 files (SessionDetail, acp/client, transports, etc.)
- src: constants/tools.ts, attribution.ts, win32.ts, main.tsx, attachments.ts
log-injection (2):
- chromeNativeHost.ts, rcs-upstream.ts — apply sanitizeLog()
indirect-command-line-injection (4):
- imagePaste.ts: convert shell:true to explicit sh -c pattern
use-before-declaration (4):
- query.ts, claude.ts, tools.ts, attachments.ts — move feature() import up
comparison-between-incompatible-types (2):
- ExitPlanModePermissionRequest.tsx, useTerminalNotification.ts
shared: sensitive.ts — sanitizeLog() helper
|
2026-06-08 17:15:22 +08:00 |
|
claude-code-best
|
0397506694
|
chore: merge 4 upstream commits — Grok adapter, OpenAI image, CodeRabbit fix, tsc fix
|
2026-06-04 21:30:40 +08:00 |
|
James Feng
|
2191e0f4de
|
Apply memory peak reductions
|
2026-06-01 20:40:36 +08:00 |
|
James Feng
|
ed197502af
|
fix: resolve tsc errors (remaining upstream type fixes)
|
2026-06-01 19:01:38 +08:00 |
|
James Feng
|
fe7fcf7dad
|
fix: resolve tsc errors (provider and print refinements)
|
2026-06-01 18:47:27 +08:00 |
|
James Feng
|
d70de46605
|
fix: resolve tsc errors (upstream type cleanup batch)
|
2026-06-01 18:44:46 +08:00 |
|
James Feng
|
45f74ffb25
|
fix: resolve Vite build imports
|
2026-06-01 18:30:24 +08:00 |
|
xiaoFjun-eng
|
cff6b16ab6
|
Fix type (#1242)
* 完善所有用到的type对象,并添加中文注释
* 补充遗失的type
* 修复claude-for-chrome-mcp中的type和interface类型缺失
* 完善注释
|
2026-06-01 17:48:55 +08:00 |
|
xiaoFjun-eng
|
b78beb7c39
|
Fix type (#1239)
* 完善所有用到的type对象,并添加中文注释
* 补充遗失的type
|
2026-06-01 17:48:55 +08:00 |
|
claude-code-best
|
e86573ac2f
|
fix: 修复 -r 模式下键盘输入无响应
两个根因:
1. earlyInput 的 readableHandler 残留在 stdin 上
setAppCallbacks() 在反编译项目中从未被调用,导致
stopCapturingEarlyInput() 是 no-op,readableHandler
在 Ink 的 handleReadable 之前消费所有 stdin 数据。
修复:在 handleSetRawMode(true) 时移除非自身的 readable listeners。
2. React 19 layout effect cleanup 顺序问题
React 19 先运行新树的 layout effects,再清理旧树。
当旧树(showSetupDialog)比新树(launchResumeChooser)
有更多 useInput hooks 时,旧树 cleanup 把
rawModeEnabledCount 降到 0,错误关闭 raw mode。
修复:当 count=0 但仍有活跃 EventEmitter listeners 时恢复 count。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-07 23:54:09 +08:00 |
|
claude-code-best
|
91b9366f64
|
refactor: 大规模迁移原有组件到 ink 包内
|
2026-04-07 22:26:45 +08:00 |
|
claude-code-best
|
f268b16b31
|
feat: 将 keybinding 纳入 ink 管辖
|
2026-04-07 17:51:01 +08:00 |
|
claude-code-best
|
e5782e732c
|
Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)"
This reverts commit 88d4c3ba24.
|
2026-04-07 16:17:48 +08:00 |
|
claude-code-best
|
88d4c3ba24
|
Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)
This reverts commit c445f43f8d.
|
2026-04-07 15:05:03 +08:00 |
|
claude-code-best
|
c445f43f8d
|
feat: 第一个可以用的 ink 组件抽象 (#158)
|
2026-04-06 23:56:45 +08:00 |
|