@north-light/crouter-api 0.3.234 → 0.3.236

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.
@@ -37,9 +37,10 @@ export interface CreateNodeRequest {
37
37
  description?: string;
38
38
  parent?: NodeIdDTO | null;
39
39
  root?: boolean;
40
- /** Lifecycle of an independent root. Defaults to `resident`; use `terminal`
41
- * for bounded, unattended work that must finalize rather than remain an
42
- * ongoing conversation. Only valid with `root: true`. */
40
+ /** Lifecycle of the new node. Roots default to `resident`; managed children
41
+ * default to `terminal`. Use `resident` for a child that remains wakeable
42
+ * without owing a final, or `terminal` for a bounded worker that must
43
+ * finalize. */
43
44
  root_lifecycle?: LifecycleDTO;
44
45
  /** Worktree branch name, or true for an auto-named managed worktree. */
45
46
  worktree?: string | boolean;
@@ -144,6 +145,15 @@ export interface NodeReviewBindingDTO {
144
145
  branch_file: string;
145
146
  target_file: string;
146
147
  }
148
+ /** The active fault projection shown by node inspection. */
149
+ export interface NodeFaultDTO {
150
+ link: string;
151
+ kind: string;
152
+ retry: {
153
+ disposition: string;
154
+ };
155
+ since: IsoTime;
156
+ }
147
157
  /** The full node view — summary ∪ identity extras ∪ edges ∪ paths. Returned by
148
158
  * `GET /v1/nodes/{id}` and by the create/lifecycle actions that yield a node. */
149
159
  export interface NodeDetailDTO extends NodeSummaryDTO {
@@ -173,6 +183,8 @@ export interface NodeDetailDTO extends NodeSummaryDTO {
173
183
  edges: NodeEdgesDTO;
174
184
  paths: NodePathsDTO;
175
185
  worktree?: NodeWorktreeDTO | null;
186
+ /** The currently active runtime fault, when one is present. */
187
+ fault?: NodeFaultDTO | null;
176
188
  /** Present only on a `POST /promote` response — the roadmap/goal facts the
177
189
  * promote primitive returns beyond the node meta (spec §6.2). A plain detail
178
190
  * read omits them. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/crouter-api",
3
- "version": "0.3.234",
3
+ "version": "0.3.236",
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",