claude-code-best/src/types
claude-code-best fc438bd222
Feature/add auto mode settings and fix bug (#368)
* refactor: 将 convertMessagesToLangfuse 参数类型从 unknown 收窄为联合类型

将 readonly unknown[] 改为 readonly LangfuseInputMessage[],
其中 LangfuseInputMessage = UserMessage | AssistantMessage | ChatCompletionMessageParam,
让调用方获得编译期类型检查。

* fix: 修复 Config 面板第二次进入时左右键无反应的问题

将左右键枚举值切换从依赖 DOM 焦点的 onKeyDown 改为 useKeybindings 系统,
确保按键在任何焦点状态下都能正确响应。同时修复 isSearchMode 初始值和布局问题。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: 修复 PowerShellTool.isSearchOrReadCommand 在 input 为 undefined 时崩溃的问题

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat: 添加 RSS 内存指示器并解绑 auto 权限模式与 TRANSCRIPT_CLASSIFIER

- 在 REPL 底栏添加 RSS 内存使用显示,512MB 以下 dimColor,512MB-1GB warning 色,1GB 以上 error 色
- auto 权限模式不再依赖 TRANSCRIPT_CLASSIFIER feature flag,classifier 不可用时 fallback 到 prompting
- Config 面板 defaultPermissionMode 使用类型安全的 permissionModeFromString,显示改用 shortTitle
- bypassPermissions title 缩短为 Bypass 与 shortTitle 一致

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: 同步 permissionModeTitle 测试断言与 bypassPermissions 的新 title 值

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-26 15:43:25 +08:00
..
generated feat: build 2026-03-31 19:22:47 +08:00
command.ts feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-04-17 16:21:27 +08:00
connectorText.ts feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
fileSuggestion.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
global.d.ts Add Ultraplan Feature for Advanced Multi-Agent Planning (#232) 2026-04-10 22:17:00 +08:00
hooks.ts feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
ids.ts feat: build 2026-03-31 19:22:47 +08:00
ink-elements.d.ts Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
ink-jsx.d.ts Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
internal-modules.d.ts feat: 全部类型问题解决 2026-04-11 10:24:00 +08:00
logs.ts feat: build 2026-03-31 19:22:47 +08:00
message.ts feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
messageQueueTypes.ts feat: 完成大部分操作 2026-03-31 21:40:37 +08:00
notebook.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
permissions.ts Feature/add auto mode settings and fix bug (#368) 2026-04-26 15:43:25 +08:00
plugin.ts feat: build 2026-03-31 19:22:47 +08:00
react-compiler-runtime.d.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
sdk-stubs.d.ts feat: 完成大部分操作 2026-03-31 21:40:37 +08:00
statusLine.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
textInputTypes.ts Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
tools.ts feat: 完成stub 2026-03-31 20:40:16 +08:00
utils.ts feat: 完成stub 2026-03-31 20:40:16 +08:00