@themoltnet/pi-runtime 0.5.0 → 0.6.1
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.
- package/dist/index.d.ts +14 -14
- package/dist/index.js +2753 -29453
- package/package.json +11 -5
package/dist/index.d.ts
CHANGED
|
@@ -498,18 +498,11 @@ export declare interface ExecutePiTaskOptions {
|
|
|
498
498
|
*/
|
|
499
499
|
maxBashTimeouts?: number;
|
|
500
500
|
/**
|
|
501
|
-
* Number of
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* Number of same-session re-prompts when the model ends its turn WITHOUT
|
|
508
|
-
* calling the submit-output tool at all (no captured payload and no
|
|
509
|
-
* exhausted validation budget). Distinct from
|
|
510
|
-
* `maxSubmitValidationRetries`, which recovers *invalid-args* submit calls.
|
|
511
|
-
* Each re-prompt names the submit tool and forbids a prose reply. When the
|
|
512
|
-
* budget is spent the attempt still fails with `submit_output_missing`.
|
|
501
|
+
* Number of same-session re-prompts when the model ends its turn without a
|
|
502
|
+
* valid submit-output call. A missing call receives the ordinary submit
|
|
503
|
+
* reminder; an invalid call receives its latest validation failure. When the
|
|
504
|
+
* budget is spent the attempt fails with the latest validation error, or
|
|
505
|
+
* `submit_output_missing` if the tool was never called.
|
|
513
506
|
* Only applies to task types that register a submit tool. Default `3`. Set
|
|
514
507
|
* to `0` to disable. See #1528.
|
|
515
508
|
*/
|
|
@@ -956,10 +949,16 @@ export declare interface PiTaskExecutionPlan {
|
|
|
956
949
|
*/
|
|
957
950
|
workspaceId: string | null;
|
|
958
951
|
/**
|
|
959
|
-
* Branch to create or reopen for the workspace. `null`
|
|
960
|
-
* worktree is
|
|
952
|
+
* Branch to create or reopen for the workspace. `null` may instead mean a
|
|
953
|
+
* detached dedicated worktree when `workspaceRevision` is present.
|
|
961
954
|
*/
|
|
962
955
|
worktreeBranch: string | null;
|
|
956
|
+
/**
|
|
957
|
+
* Immutable commit that must back the selected workspace. Shared mounts are
|
|
958
|
+
* verified against it; dedicated review worktrees are created detached at
|
|
959
|
+
* it. `null` preserves the existing branch-oriented behavior.
|
|
960
|
+
*/
|
|
961
|
+
workspaceRevision?: string | null;
|
|
963
962
|
/**
|
|
964
963
|
* Base ref a NEW `worktreeBranch` is cut from. Used by `fork` continuations
|
|
965
964
|
* to branch from the parent's tip instead of the default (main/HEAD). Ignored
|
|
@@ -1149,6 +1148,7 @@ declare interface RuntimeInstructorContext {
|
|
|
1149
1148
|
|
|
1150
1149
|
declare interface RuntimeInstructorSandbox {
|
|
1151
1150
|
workspaceMode: 'shared_mount' | 'dedicated_worktree' | 'scratch_mount';
|
|
1151
|
+
workspaceRevision?: string | null;
|
|
1152
1152
|
vfsShadowMode: 'none' | 'deny' | 'tmpfs';
|
|
1153
1153
|
vfsShadowPatterns: readonly string[];
|
|
1154
1154
|
nodeModulesWriteMode?: 'tmpfs';
|