@epoch-agent/tui 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6757,14 +6757,19 @@ export {
|
|
|
6757
6757
|
* 这个文件只做**装配和键位**:一轮对话怎么跑在 useAgentRun,斜杠命令怎么执行在
|
|
6758
6758
|
* useSlashCommands。原来这三件事挤在一个 handleSubmit 里,改一处必然碰另两处。
|
|
6759
6759
|
*
|
|
6760
|
-
* ## ⚠️
|
|
6760
|
+
* ## ⚠️ 这个文件大 —— **往这儿加东西之前先问一句能不能摘成 hook**
|
|
6761
6761
|
*
|
|
6762
|
-
*
|
|
6763
|
-
*
|
|
6764
|
-
*
|
|
6765
|
-
*
|
|
6766
|
-
*
|
|
6767
|
-
*
|
|
6762
|
+
* 历次改动一直照这条走,而它确实压得住:方案 27 PR-3 把回退的状态机摘进
|
|
6763
|
+
* `hooks/use-rewind.ts`(形状同 `use-slash-commands`),净增收到 52 行;
|
|
6764
|
+
* 方案 31 PR-2 加序列时净增 **14 行**(状态机整台在
|
|
6765
|
+
* `keybindings/use-key-sequences.ts`,而 Esc Esc 那段特例反而删掉了)。
|
|
6766
|
+
* 真要把它拆小得动键位和布局那两块,那是独立的一件事,别顺手夹在别的 PR 里做。
|
|
6767
|
+
* 这条判据原来只写在方案 27 的 md 里,随那份 md 删除搬来。
|
|
6768
|
+
*
|
|
6769
|
+
* ⚠️ **这一节原来的抬头是「破着铁律 3 的『单文件 ≤500 行』,而且是存量债」——
|
|
6770
|
+
* 2026-09-02 起那是假话,别再照它当欠账办。** 铁律 3 改成量**代码行**、线是 800,
|
|
6771
|
+
* 而这一份代码 635 行(`node scripts/code-lines.mjs`),**没过线**。
|
|
6772
|
+
* 上面那条「先摘 hook」是这个文件自己的纪律,不是在还谁的债。
|
|
6768
6773
|
*
|
|
6769
6774
|
* @license Apache-2.0 (adapted from google-gemini/gemini-cli DefaultAppLayout)
|
|
6770
6775
|
* Copyright 2025 Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epoch-agent/tui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "epoch-agent Ink TUI 界面",
|
|
6
6
|
"repository": {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"mnemonist": "0",
|
|
30
30
|
"string-width": "8",
|
|
31
31
|
"strip-ansi": "7",
|
|
32
|
-
"@epoch-agent/protocol": "0.
|
|
33
|
-
"@epoch-agent/view": "0.
|
|
32
|
+
"@epoch-agent/protocol": "0.14.0",
|
|
33
|
+
"@epoch-agent/view": "0.14.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^26.1.2",
|