@north-light/crouter-api 0.3.258 → 0.3.259

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.
@@ -5,6 +5,9 @@ export interface AttachEnsureRequest {
5
5
  resume?: boolean;
6
6
  /** Revive if dormant (default true); false returns a possibly-dead socket. */
7
7
  revive?: boolean;
8
+ /** Wake an exact unfinalized parked resident (default true). Focus/navigation
9
+ * sets false so it can open the saved conversation without launching. */
10
+ wakeParked?: boolean;
8
11
  }
9
12
  /** Result of a local attach-ensure. */
10
13
  export interface AttachEnsureResultDTO {
@@ -13,4 +16,7 @@ export interface AttachEnsureResultDTO {
13
16
  socket_path: string;
14
17
  revived: boolean;
15
18
  resumed: boolean;
19
+ /** True when a non-waking focus ensure found an exact parked resident with no
20
+ * live broker. `socket_path` is then the target the viewer will later redial. */
21
+ parked: boolean;
16
22
  }
@@ -239,8 +239,23 @@ export interface NodeSnapshotDTO {
239
239
  node_id: NodeIdDTO;
240
240
  snapshot: {
241
241
  messages: unknown[];
242
+ messageIds?: string[];
242
243
  stats: unknown;
243
244
  state: Record<string, unknown>;
245
+ display: {
246
+ statuses: Record<string, string>;
247
+ widgets: Record<string, {
248
+ lines: string[];
249
+ placement: 'aboveEditor' | 'belowEditor';
250
+ }>;
251
+ title?: string;
252
+ };
253
+ queued?: {
254
+ steering: string[];
255
+ followUp: string[];
256
+ };
257
+ toolGroupSummaries?: Record<string, unknown>;
258
+ workingActivity?: string;
244
259
  };
245
260
  commands: {
246
261
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/crouter-api",
3
- "version": "0.3.258",
3
+ "version": "0.3.259",
4
4
  "description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, and the CrtrClient. Zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/api/index.js",