@aragon-agent/cli 0.6.58 → 0.6.61

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.
@@ -44,6 +44,15 @@
44
44
  * held pipe, it is a slow notification, and the model must not be told to
45
45
  * background a command that already finished.
46
46
  *
47
+ * AND THAT WINDOW IS SIZED FROM THE HOST, NOT FROM HABIT. The THIRD failure of
48
+ * the same sentence (2026-11-10, AC-9b in `bash-settle.test.ts`) came from a
49
+ * window calibrated by eyeball: one second was inside the measured distribution
50
+ * of last-byte-to-EOF lag on a loaded machine, so the wait expired before the
51
+ * notification did. `PROC_LIMITS.drainVerifyMs` records the measurement that
52
+ * replaced it; the takeaway for anyone editing either number is that the
53
+ * quantity being raced belongs to the host, so the window has to be justified
54
+ * against a loaded one.
55
+ *
47
56
  * ASCII ONLY: `src/proc/**` is inside the glyph scanner's scope.
48
57
  */
49
58
  import type { Readable } from 'node:stream';
@@ -44,6 +44,15 @@
44
44
  * held pipe, it is a slow notification, and the model must not be told to
45
45
  * background a command that already finished.
46
46
  *
47
+ * AND THAT WINDOW IS SIZED FROM THE HOST, NOT FROM HABIT. The THIRD failure of
48
+ * the same sentence (2026-11-10, AC-9b in `bash-settle.test.ts`) came from a
49
+ * window calibrated by eyeball: one second was inside the measured distribution
50
+ * of last-byte-to-EOF lag on a loaded machine, so the wait expired before the
51
+ * notification did. `PROC_LIMITS.drainVerifyMs` records the measurement that
52
+ * replaced it; the takeaway for anyone editing either number is that the
53
+ * quantity being raced belongs to the host, so the window has to be justified
54
+ * against a loaded one.
55
+ *
47
56
  * ASCII ONLY: `src/proc/**` is inside the glyph scanner's scope.
48
57
  */
49
58
  /**
@@ -494,6 +494,13 @@ export function makeBash(deps, options = {}) {
494
494
  * So keep waiting - event driven, so an ordinary release still settles the
495
495
  * instant it happens with no note - and only claim a held pipe if it is
496
496
  * STILL held `drainVerifyMs` later. See `PROC_LIMITS.drainVerifyMs`.
497
+ *
498
+ * WAITING TWICE IS NOT WAITING LONG ENOUGH (third failure, same sentence,
499
+ * same day: AC-9b). Both samples above are still clocks, and the quantity
500
+ * they race - a child's last byte to libuv dispatching its EOF - is a
501
+ * property of the HOST: measured at up to 1.46 s on a loaded machine
502
+ * against 0.5 s idle. The window is therefore a measured budget now, not
503
+ * a guess, and this branch is the only place it is spent.
497
504
  */
498
505
  const pastDrain = () => {
499
506
  if (settled || !exitInfo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon-agent/cli",
3
- "version": "0.6.58",
3
+ "version": "0.6.61",
4
4
  "description": "AragonAgent CLI — a Claude-Code / Codex-style interactive terminal UI (TUI) on top of the @aragon-agent/core engine. Installable and runnable via npm / npx.",
5
5
  "license": "MIT",
6
6
  "author": "AragonAgent contributors",
@@ -58,8 +58,8 @@
58
58
  "prepublishOnly": "npm run build"
59
59
  },
60
60
  "dependencies": {
61
- "@aragon-agent/core": "^0.2.70",
62
- "@aragon-agent/tui": "0.0.11",
61
+ "@aragon-agent/core": "^0.2.73",
62
+ "@aragon-agent/tui": "0.0.14",
63
63
  "commander": "^12.1.0",
64
64
  "dotenv": "^16.6.1",
65
65
  "env-paths": "^3.0.0",