@north-light/crouter-api 0.3.240 → 0.3.242

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.
@@ -65,6 +65,7 @@ export interface BrokerExtensionNodeDTO {
65
65
  node_id: string;
66
66
  name: string;
67
67
  description?: string;
68
+ title?: string;
68
69
  icon?: string;
69
70
  kind: string;
70
71
  mode: 'base' | 'orchestrator';
@@ -124,26 +125,30 @@ export interface BrokerExtensionStateDTO {
124
125
  export type BrokerGeneratedNameRequest = {
125
126
  kind: 'initial';
126
127
  description: string;
128
+ title: string;
127
129
  icon: string;
128
130
  } | {
129
131
  kind: 'recap';
130
132
  description: string;
133
+ title: string;
131
134
  icon: string;
132
135
  expected: {
133
136
  name: string;
134
137
  description: string;
138
+ title: string;
135
139
  icon: string;
136
140
  kind: string;
137
141
  };
138
142
  };
139
143
  /** A daemon-selected Pi editor-label directive. No handler calls a broker.
140
- * `description`/`icon` are the values as STORED (an empty icon is left unset),
141
- * so the broker announces what the node now carries rather than what it asked
142
- * for. All three are present exactly when `applied`. */
144
+ * `description`/`title`/`icon` are the values as STORED (an empty title or icon
145
+ * is left unset), so the broker announces what the node now carries rather than
146
+ * what it asked for. All four are present exactly when `applied`. */
143
147
  export interface BrokerGeneratedNameResultDTO {
144
148
  applied: boolean;
145
149
  editorLabel?: string;
146
150
  description?: string;
151
+ title?: string;
147
152
  icon?: string;
148
153
  }
149
154
  export interface BrokerPersonaAckRequest {
@@ -55,12 +55,14 @@ export interface BrokerWelcomeFrame<M = unknown> {
55
55
  * It exists because the name lands SECONDS AFTER the turn that triggered it — a
56
56
  * consumer that settles its own display state on turn-end reads an unnamed node and
57
57
  * has nothing left to re-read on. This frame is the push: `description` is the
58
- * 3-8 word kebab-case handle, `icon` the Nerd Font glyph the namer chose (empty
59
- * when it chose none), and `editorLabel` crtrd's own rendered label for the node.
58
+ * 3-8 word kebab-case handle, `title` the prose sentence a conversation list
59
+ * shows, `icon` the Nerd Font glyph the namer chose (empty when it chose none),
60
+ * and `editorLabel` crtrd's own rendered label for the node.
60
61
  */
61
62
  export interface BrokerNodeNamedFrame {
62
63
  type: 'node_named';
63
64
  description: string;
65
+ title: string;
64
66
  icon: string;
65
67
  editorLabel: string;
66
68
  }
@@ -162,6 +162,7 @@ export interface PageFeedbackDeliveryDTO {
162
162
  status: 'delivered' | 'failed';
163
163
  via?: 'engine' | 'inbox';
164
164
  woke: boolean;
165
+ reason?: 'capacity_frozen';
165
166
  error?: string;
166
167
  }
167
168
  /** Create result: the new comment, the ticket's full feedback state after it,
@@ -166,6 +166,10 @@ export interface NodeFaultDTO {
166
166
  * `GET /v1/nodes/{id}` and by the create/lifecycle actions that yield a node. */
167
167
  export interface NodeDetailDTO extends NodeSummaryDTO {
168
168
  description?: string;
169
+ /** The namer's prose form of `description` — sentence case, punctuation intact
170
+ * (`NodeMeta.title`). What a surface showing this node to a person reads;
171
+ * absent on a node named before titles existed. */
172
+ title?: string;
169
173
  /** The Nerd Font glyph the namer chose for this node's work, when it has one
170
174
  * (`NodeMeta.icon`). Rendered ahead of the label by surfaces that want it. */
171
175
  icon?: string;
@@ -63,6 +63,7 @@ export interface ReviewCommentDeliveryDTO {
63
63
  status: 'delivered' | 'skipped' | 'failed';
64
64
  via?: 'engine' | 'inbox';
65
65
  woke: boolean;
66
+ reason?: 'capacity_frozen';
66
67
  error?: string;
67
68
  }
68
69
  /** Daemon-derived result of one comment mutation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/crouter-api",
3
- "version": "0.3.240",
3
+ "version": "0.3.242",
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",