@north-light/crouter-api 0.3.301 → 0.3.302
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.
|
@@ -22,13 +22,13 @@ export interface PushReportResultDTO {
|
|
|
22
22
|
from: string;
|
|
23
23
|
to: string;
|
|
24
24
|
};
|
|
25
|
-
/** Present (and true) only for a `final` push
|
|
26
|
-
* managed
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* an `open_managed_worktree` error. */
|
|
25
|
+
/** Present (and true) only for a `final` push that closes the reporting
|
|
26
|
+
* node's managed-worktree record without `node worktree close`. An existing
|
|
27
|
+
* checkout must be clean with its tip contained in the local base and stays
|
|
28
|
+
* pending cleanup; a missing checkout must be proven delivered. Work not
|
|
29
|
+
* proven delivered blocks with an `open_managed_worktree` error. */
|
|
30
30
|
worktree_auto_dropped?: boolean;
|
|
31
|
-
/** Present only alongside `worktree_auto_dropped`: the
|
|
31
|
+
/** Present only alongside `worktree_auto_dropped`: the closed managed-worktree path; an existing checkout remains until pending cleanup. */
|
|
32
32
|
worktree_auto_dropped_path?: string;
|
|
33
33
|
}
|
|
34
34
|
/** Why a node declined a structured result. `reason` is one plain sentence
|
|
@@ -55,8 +55,8 @@ export type SubmitResultRequest = {
|
|
|
55
55
|
retryable: boolean;
|
|
56
56
|
};
|
|
57
57
|
/** Result of a structured-result submission (`crtr push result`). Terminal
|
|
58
|
-
* mode reuses the final-push machinery, so `transitioned` and the worktree
|
|
59
|
-
*
|
|
58
|
+
* mode reuses the final-push machinery, so `transitioned` and the managed-worktree
|
|
59
|
+
* closure fields carry the same meaning as on PushReportResultDTO. */
|
|
60
60
|
export interface SubmitResultDTO {
|
|
61
61
|
/** Which request this answered: `terminal` finished the node; `oneoff` left it working. */
|
|
62
62
|
mode: 'terminal' | 'oneoff';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/crouter-api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.302",
|
|
4
4
|
"description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, the CrtrClient, and the command-plugin manifest format. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/api/index.js",
|