@comput/pi-intercom 0.8.1 → 0.9.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 (42) hide show
  1. package/README.md +48 -2
  2. package/dist/config.d.ts +7 -0
  3. package/dist/config.js +10 -0
  4. package/dist/config.js.map +1 -1
  5. package/dist/core-monitor.d.ts +30 -0
  6. package/dist/core-monitor.js +528 -0
  7. package/dist/core-monitor.js.map +1 -0
  8. package/dist/core-pane-close.d.ts +34 -0
  9. package/dist/core-pane-close.js +335 -0
  10. package/dist/core-pane-close.js.map +1 -0
  11. package/dist/core-worker-layout.d.ts +50 -0
  12. package/dist/core-worker-layout.js +236 -0
  13. package/dist/core-worker-layout.js.map +1 -0
  14. package/dist/herdr-core.d.ts +53 -0
  15. package/dist/herdr-core.js +380 -0
  16. package/dist/herdr-core.js.map +1 -0
  17. package/dist/index.js +42 -10
  18. package/dist/index.js.map +1 -1
  19. package/dist/launcher.d.ts +2 -0
  20. package/dist/launcher.js +48 -2
  21. package/dist/launcher.js.map +1 -1
  22. package/dist/monitor-launcher.d.ts +8 -0
  23. package/dist/monitor-launcher.js +111 -25
  24. package/dist/monitor-launcher.js.map +1 -1
  25. package/dist/pane-close.js +3 -0
  26. package/dist/pane-close.js.map +1 -1
  27. package/dist/runtime.d.ts +17 -1
  28. package/dist/runtime.js +51 -1
  29. package/dist/runtime.js.map +1 -1
  30. package/package.json +5 -3
  31. package/references/herdr-core-migration.md +44 -0
  32. package/references/v1-specification.md +7 -4
  33. package/src/config.ts +10 -1
  34. package/src/core-monitor.ts +410 -0
  35. package/src/core-pane-close.ts +328 -0
  36. package/src/core-worker-layout.ts +240 -0
  37. package/src/herdr-core.ts +287 -0
  38. package/src/index.ts +38 -11
  39. package/src/launcher.ts +46 -2
  40. package/src/monitor-launcher.ts +95 -21
  41. package/src/pane-close.ts +2 -0
  42. package/src/runtime.ts +47 -1
package/README.md CHANGED
@@ -110,7 +110,7 @@ Created/resumed workers receive `--intercom-root /absolute/session/root` explici
110
110
 
111
111
  **Upgrade note:** Existing subfolder workers cannot rejoin a parent roster by supplying a flag. Their saved history/config entries are retained, but launching them in a subfolder with the parent's config is refused. Use workers whose configured directory is the coordinator root, and explicitly describe any subfolder work in their assignment. Independent sessions started in subfolders use only their own local config; ancestor files are left untouched.
112
112
 
113
- Default launcher `herdr` requires the coordinator to be inside Herdr (`HERDR_ENV=1` and workspace context), with `herdr` on PATH. Windows needs `powershell.exe` plus `pi.ps1` in the worker pane; Linux needs `sh` plus `pi`. Each worker gets **one tab, one pane, no split, no focus change**. The Windows-only `none` launcher requires `pi.cmd` and Windows PowerShell on PATH and opens a separate visible PowerShell terminal. Missing launcher is an error, not fallback. Launch acknowledgment means command submission/terminal creation, not Pi readiness. A failed launch can leave a tab or process behind; no automatic cleanup occurs. See the scoped live evidence below.
113
+ The `herdr` launcher selects the new core when `HC_TERMINAL_ID` is present; see [new Herdr compatibility](#new-herdr-coreapp-compatibility). For the **legacy backend**, the coordinator must be inside Herdr (`HERDR_ENV=1` and workspace context), with `herdr` on PATH. Windows needs `powershell.exe` plus `pi.ps1` in the worker pane; Linux needs `sh` plus `pi`. Each worker gets **one tab, one pane, no split, no focus change**. The Windows-only `none` launcher requires `pi.cmd` and Windows PowerShell on PATH and opens a separate visible PowerShell terminal. Missing launcher is an error, not fallback. Launch acknowledgment means command submission/terminal creation, not Pi readiness. A failed launch can leave a tab or process behind; no automatic cleanup occurs. See the scoped live evidence below.
114
114
 
115
115
  ## Explicit workflow
116
116
 
@@ -145,6 +145,9 @@ Every tool rereads current config and checks the live Pi session ID. Names are c
145
145
  | `intercom_resume_worker` | `to`, `confirmClosed` | Coordinator; user-confirmed old-session closure, saved session/launcher/directory, guarded launch |
146
146
  | `intercom_remove_worker` | `to` (worker name) | Coordinator; config entry only, no shutdown/session deletion |
147
147
  | `intercom_set_multiplexer` | `multiplexer`: `herdr` or `none` | Coordinator; future launches only |
148
+ | `intercom_open_monitor` | Required `placement`: `coordinator-tab` or `new-tab` | Coordinator; open/preserve the Herdr monitor; ask the user if placement is unknown, never infer it from saved settings; allows an empty roster |
149
+ | `intercom_close_monitor` | None | Coordinator; close only the verified owned monitor pane, never worker panes or a whole tab |
150
+ | `intercom_configure_monitor` | `autoOpen?`, `placement?` (at least one) | Coordinator; persist startup/reload preferences only; does not open, close or move existing panes |
148
151
 
149
152
  **Removal precondition:** close a running worker before removing its entry. Removal forgets the registration; it is not how to park a worker for later resume. Active/uncertain close jobs fence removal and other lifecycle/work operations. Saved IDs/ports alone do not prove closure; no force-kill fallback occurs.
150
153
 
@@ -212,9 +215,43 @@ Version 0.2.0 telemetry adds an optional envelope `correlationId` for one transp
212
215
 
213
216
  Tool text output is bounded to 50 KiB/2000 lines. The full saved roster remains in the shared config file. Name sync errors are surfaced; startup retains the useful endpoint, and explicit reload reports failure (Pi name/responsibility may already have changed before a Herdr tab rename fails).
214
217
 
218
+ ## New Herdr core/app compatibility
219
+
220
+ Intercom now detects `HC_TERMINAL_ID` and uses the reviewed **herdr-core 0.1.18** protocol. The Windows UI can be local or connected to a Linux/Windows core. Worker creation/resume, actual tab names, and monitor layout use a single verified core connection and the machine-owned `herdr-app` document. This is a source-backed adapter for the **herdr-app 0.1.13 layout format**, not a public versioned tab API. Unsupported layouts (including stacks and terminal floats) fail closed. Shared-state confirmation is not proof that a remote window rendered it.
221
+
222
+ Configured workers rename their own actual tab on startup/reload; the coordinator retains its title (for example, **Main**). New workers get a dedicated tab in the coordinator's space. No provider/model override or initial task is injected. Core launches retain independent worker lifetimes; creating a terminal is not proof of Pi readiness.
223
+
224
+ Unix connects directly to the existing core socket without starting a server. `HC_SOCKET` selects an explicit endpoint; otherwise documented default paths are used only when no core config file is present. If a config file could override the socket, set `HC_SOCKET` explicitly. Windows uses the reviewed existing-core status preflight; a core disappearing between preflight and connect is not an atomic no-autostart guarantee. Legacy `HERDR_*` support remains selected only by explicit legacy context, never as fallback after an HC error.
225
+
226
+ Monitor open/close supports both core platforms. Close refuses observed live descendants, persists a pending fence, revalidates ownership, stops the owned monitor once and removes only its layout pane. Core termination can cascade to dependent terminals: another client concurrently attaching children is outside the non-atomic preflight guarantee. Worker handoff-close remains Linux-only, requires session-header/PID-start proof and the existing persistence/settlement/commit checks, and likewise refuses observed live descendants. Neither close promises atomic quiescence or an all-descendants guarantee. Uncertain operations are not replayed.
227
+
228
+ Old monitor ownership records are not converted into new-core ownership. They require inspection before removal; Intercom will not adopt or delete an unknown pane. See [migration validation and limitations](references/herdr-core-migration.md).
229
+
215
230
  ## Standalone terminal status monitor
216
231
 
217
- When at least one worker is registered, the coordinator automatically checks for its monitor pane on startup inside Herdr. If missing, it creates a small pane **above the coordinator**, preserving coordinator focus. With no workers, it does not create/check the monitor. Configuring the first worker triggers the check; disconnected saved workers still count. This does not automatically close an already-existing monitor when the final worker is removed. This is a standalone Node/pi-tui program, **not another Pi instance**. The old inline widget implementation has been removed. Source installations must run `npm run build` before reloading Pi; published packages include the compiled `dist/monitor.js` entry.
232
+ By default, when at least one worker is registered, the coordinator automatically checks for its monitor pane on startup/reload inside Herdr. If missing, it creates a small pane **above the coordinator**, preserving coordinator focus. Set `monitor.autoOpen` to false to disable automatic opening, or set `monitor.placement` to `new-tab` to use a separate tab instead. With no workers, it does not create/check the monitor. Configuring the first worker triggers the check; disconnected saved workers still count. This does not automatically close an already-existing monitor when the final worker is removed. This is a standalone Node/pi-tui program, **not another Pi instance**. The old inline widget implementation has been removed. Source installations must run `npm run build` before reloading Pi; published packages include the compiled `dist/monitor.js` entry.
233
+
234
+ ### Explicit monitor controls and saved preferences
235
+
236
+ ```js
237
+ intercom_configure_monitor({ autoOpen: true, placement: "new-tab" })
238
+ intercom_open_monitor({ placement: "new-tab" }) // Explicit choice required, even with no workers.
239
+ intercom_close_monitor({}) // Only the verified monitor pane.
240
+ intercom_open_monitor({ placement: "coordinator-tab" }) // One-off placement override.
241
+ ```
242
+
243
+ The optional project-config section is:
244
+
245
+ ```json
246
+ "monitor": {
247
+ "autoOpen": true,
248
+ "placement": "coordinator-tab"
249
+ }
250
+ ```
251
+
252
+ Older configurations without this section retain the defaults above. Configuration updates affect future automatic opening, not an existing pane. Explicit `intercom_open_monitor` calls must always supply `placement` as a string. The tool schema intentionally has no enum; its description lists the currently supported strings (`coordinator-tab` and `new-tab`), and runtime validation rejects unsupported values. If the agent does not know the user's choice, it must ask rather than guess or use the saved preference. The explicit placement does not change the saved automatic-opening preference. If the monitor already exists in a different placement, close it first; Intercom does not relocate it or create a duplicate. A manual close invalidates earlier automatic-opening requests, but does not disable `autoOpen`: a later startup/reload can reopen it when workers are registered. To keep it closed, disable automatic opening too. Concurrent operations may report a lock or partial-operation fence instead of succeeding; they are not automatically retried. Preferences are checked at automatic admission, not an atomic cancellation of an already-submitted Herdr command.
253
+
254
+ Both placements preserve coordinator focus. New-tab placement creates a monitor pane in its own tab; close targets that recorded pane only, even if other panes were later added to the tab or the saved placement preference changed. Ownership uncertainty or partial creation/closure requires inspection, not blind retries. Legacy panes adopted from their label alone are not authorized for tool-driven closure; they require manual inspection. Close rechecks ownership before submitting one pane-close request and observes pane absence afterward; Herdr does not provide an atomic compare-and-close operation, and pane absence does not prove all child processes exited. Monitor controls do not arm worker-follow-up reminders and do not stop workers.
218
255
 
219
256
  The table uses aligned **Worker | Connection | Report | Activity | Seen | Last activity** columns (activity age/detail give way first on narrow panes). Report is explicitly worker-authored and separate from host activity. Activity is the last reported `working`, `thinking`, `idle`, `closed`, or `unknown` state. Seen marks evidence older than 60 seconds with `(old)`; this is not a live connection indicator. Last activity uses fixed public labels such as Reading files, Running command or Writing response and can persist after the worker settles. Recent working/thinking/idle observations use restrained colors; old evidence remains neutral and explicitly marked. `NO_COLOR` disables styling. Version 0.5.2 adds a small footer label for the Intercom package version loaded by the monitor at startup; restart the monitor after updating to load the new version. Narrow panes use a compact version label and preserve the quit hint. No read-only banner or busy/idle count summary is shown. It reads the bounded config/log snapshot and performs read-only loopback health checks, then refreshes roughly three seconds after completion, without worker prompts or model calls. Checks are bounded by 750 ms per endpoint, a four-second batch budget, 16 concurrent requests and 256 workers; no overlapping batches or retries. Closing the monitor aborts checks. Only observed activity is shown, not inferred assignments/completion. Evidence over 60 seconds old is stale; missing evidence is unknown. The number of worker rows adapts to the pane height, with an omitted count when needed. The display is clipped to pane dimensions. In the monitor pane, use **↑/↓** to select a worker and **Enter** to toggle its details (configured responsibility and observed status). Selection follows the worker across roster reorder and scrolls the visible window. **Escape** closes details first, then quits; **q** or **Ctrl+C** always quits only the display process, never agents or their panes.
220
257
 
@@ -312,6 +349,15 @@ Follow the [release procedure](references/releasing.md): review → choose an un
312
349
 
313
350
  The tag-only workflow is a source change for future releases; historical tags retain their original workflow snapshots. Any security findings must be resolved before the audit gate can pass.
314
351
 
352
+ ### 0.9.0 — new Herdr core/app integration
353
+
354
+ - Add explicit string-placement monitor tools and saved automatic-opening preferences.
355
+ - Add core-backed worker launch/resume, actual remote tab naming and monitor layout, preserving coordinator names and focus state.
356
+ - Add guarded monitor closure and Linux worker handoff-close for the new core, with identity checks, descendant refusal, CAS and uncertainty fences.
357
+ - Isolate adapter tests from inherited live `HC_*`/`HERDR_*` identities; a fixture must never rename a real tab.
358
+ - Update the development SDK's scoped `minimatch` override to 11.0.1 to address the new audit advisory; installed dependency and compatibility tests are checked separately.
359
+ - Native Windows execution and remote-window rendering remain acceptance checks, not claims established by mocked tests.
360
+
315
361
  ### 0.8.1 Tag-only releases and dependency security updates
316
362
 
317
363
  - Publish only from pushed, annotated stable version tags, with exact-commit and package/lockfile version checks. GitHub Release and manual-dispatch publication triggers are removed.
package/dist/config.d.ts CHANGED
@@ -11,11 +11,18 @@ export interface Agent {
11
11
  handoff?: Handoff;
12
12
  closeJob?: CloseJob;
13
13
  }
14
+ export interface MonitorSettings {
15
+ autoOpen: boolean;
16
+ placement: 'coordinator-tab' | 'new-tab';
17
+ }
14
18
  export interface Config {
15
19
  version: 1;
16
20
  multiplexer: 'herdr' | 'none';
17
21
  agents: Agent[];
22
+ monitor?: MonitorSettings;
18
23
  }
24
+ export declare function monitorSettings(config: Config): MonitorSettings;
25
+ export declare function validateMonitorSettings(value: unknown): asserts value is MonitorSettings;
19
26
  export declare const DEFAULT_DESCRIPTION = "Coordinate workers, delegate work, and manage shared configuration.";
20
27
  export declare const key: (name: string) => string;
21
28
  export declare function fail(message: string): never;
package/dist/config.js CHANGED
@@ -2,6 +2,14 @@ import { mkdir, readFile, realpath, rename, unlink, open, link, stat, lstat } fr
2
2
  import path from 'node:path';
3
3
  import { randomUUID } from 'node:crypto';
4
4
  import { fencedClose, validateHandoff, validateCloseJob } from './handoff.js';
5
+ export function monitorSettings(config) {
6
+ return config.monitor ? { ...config.monitor } : { autoOpen: true, placement: 'coordinator-tab' };
7
+ }
8
+ export function validateMonitorSettings(value) {
9
+ const settings = value;
10
+ if (!settings || typeof settings !== 'object' || Array.isArray(settings) || typeof settings.autoOpen !== 'boolean' || !['coordinator-tab', 'new-tab'].includes(settings.placement) || Object.keys(settings).some(key => !['autoOpen', 'placement'].includes(key)))
11
+ fail('invalid monitor settings');
12
+ }
5
13
  export const DEFAULT_DESCRIPTION = 'Coordinate workers, delegate work, and manage shared configuration.';
6
14
  export const key = (name) => name.toLowerCase();
7
15
  export function fail(message) { throw new Error(`PiIntercom: ${message}`); }
@@ -22,6 +30,8 @@ export function validateConfig(value) {
22
30
  const c = value;
23
31
  if (!c || c.version !== 1 || !['herdr', 'none'].includes(c.multiplexer) || !Array.isArray(c.agents))
24
32
  fail('invalid config schema/version');
33
+ if (c.monitor !== undefined)
34
+ validateMonitorSettings(c.monitor);
25
35
  const names = new Set(), ids = new Set();
26
36
  for (const a of c.agents) {
27
37
  if (!a || typeof a.coordinator !== 'boolean')
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,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import { type CoreCall } from './herdr-core.js';
2
+ export type CoreMonitorPlacement = 'coordinator-tab' | 'new-tab';
3
+ export interface CoreMonitorOptions {
4
+ root: string;
5
+ sessionId: string;
6
+ script: string;
7
+ node?: string;
8
+ env?: NodeJS.ProcessEnv;
9
+ platform?: string;
10
+ placement?: CoreMonitorPlacement;
11
+ call?: CoreCall;
12
+ assertCurrent?(): void;
13
+ }
14
+ export interface CoreMonitorResult {
15
+ outcome: string;
16
+ pane?: string;
17
+ terminal?: string;
18
+ }
19
+ /** Explicit open only. This edits the local core's machine-owned document; a
20
+ * remote Windows app qualifies its IDs when projecting it. No app commands,
21
+ * window launch, focus changes, terminal labels for auto-adoption, or retries.
22
+ * Success proves shared data, NOT attached-window rendering or process readiness. */
23
+ export declare function ensureCoreMonitorPane(options: CoreMonitorOptions): Promise<CoreMonitorResult>;
24
+ /** Best-effort owned-monitor close: reject existing live descendants, persist a
25
+ * fence, recheck identity and inventory, stop once, then remove only its pane.
26
+ * Core completion may cascade to die_with_parent children; other clients must
27
+ * not concurrently attach children to this owned monitor. This is not an atomic
28
+ * child-registration barrier or an all-descendants guarantee. Uncertainty stays
29
+ * fenced and never authorizes replay. No whole-tab close command is issued. */
30
+ export declare function closeCoreMonitorPane(options: CoreMonitorOptions): Promise<CoreMonitorResult>;