@epoch-agent/tui 0.13.0 → 0.15.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.
Files changed (2) hide show
  1. package/dist/index.js +12 -7
  2. 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
- * ## ⚠️ 这个文件破着铁律 3 的「单文件 ≤500 行」,而且是**存量债**
6760
+ * ## ⚠️ 这个文件大 —— **往这儿加东西之前先问一句能不能摘成 hook**
6761
6761
  *
6762
- * 不是哪一轮弄出来的:方案 27 PR-3 开工前它就已经是 675 行了。历次改动的做法一直是
6763
- * **不把违规再推高一截** —— 那一轮把回退的状态机摘进了 `hooks/use-rewind.ts`
6764
- * (形状同 `use-slash-commands`),净增收到 52 行;方案 31 PR-2 加序列时净增
6765
- * **14 行**(状态机整台在 `keybindings/use-key-sequences.ts`,而 Esc Esc 那段特例
6766
- * 反而删掉了)。**往这儿加东西之前先问一句能不能摘成 hook。** 真要拆到 500 以下得动键位和布局那两块,那是独立的一件事,
6767
- * 别顺手夹在别的 PR 里做。这条判据原来只写在方案 27 的 md 里,随那份 md 删除搬来。
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.13.0",
3
+ "version": "0.15.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.13.0",
33
- "@epoch-agent/view": "0.13.0"
32
+ "@epoch-agent/protocol": "0.15.0",
33
+ "@epoch-agent/view": "0.15.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.1.2",