@oisin-ee/pi-prewalk 0.1.0 → 0.2.0
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/README.md +2 -2
- package/package.json +3 -3
- package/src/generated/prewalk_core_bg.wasm +0 -0
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -20,14 +20,14 @@ The target needs a provider-qualified model ID and configured credentials. Alias
|
|
|
20
20
|
|
|
21
21
|
## Controls
|
|
22
22
|
|
|
23
|
-
Use `/prewalk` to arm from the active model. Use `/prewalk off` to cancel without changing the model or config.
|
|
23
|
+
Use `/prewalk` or `/prewalk on` to arm from the active model. Use `/prewalk off` to cancel without changing the model or config.
|
|
24
24
|
Use `/prewalk restart` to select the saved default and arm again. Use `/prewalk status` to inspect branch state and config errors.
|
|
25
25
|
|
|
26
26
|
The startup flags are `--prewalk`, `--no-prewalk`, and `--prewalk-into provider/model`.
|
|
27
27
|
Do not combine `--no-prewalk` with either arming flag.
|
|
28
28
|
Flags affect only the startup session. New sessions use `enabled` from config. Resumed sessions do not arm automatically.
|
|
29
29
|
|
|
30
|
-
For a
|
|
30
|
+
For a wrangle child, add `"pi_args": ["--prewalk-into", "alias/luna"]` to its profile.
|
|
31
31
|
To suppress configured prewalk for that child, use `"pi_args": ["--no-prewalk"]`.
|
|
32
32
|
|
|
33
33
|
## State and context
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oisin-ee/pi-prewalk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A one-shot planner-to-executor handoff for pi, with branch-backed Rust rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-extension",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/oisin-ee/
|
|
13
|
+
"url": "git+https://github.com/oisin-ee/oisinpi.git",
|
|
14
14
|
"directory": "packages/pi-prewalk"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"extensions": [
|
|
36
36
|
"./src/index.ts"
|
|
37
37
|
],
|
|
38
|
-
"image": "https://raw.githubusercontent.com/oisin-ee/
|
|
38
|
+
"image": "https://raw.githubusercontent.com/oisin-ee/oisinpi/main/assets/prewalk.png"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
Binary file
|
package/src/index.ts
CHANGED
|
@@ -74,7 +74,7 @@ export default function prewalk(pi: ExtensionAPI): void {
|
|
|
74
74
|
return { action: "continue" };
|
|
75
75
|
});
|
|
76
76
|
pi.registerCommand("prewalk", {
|
|
77
|
-
description: "Arm a handoff, or use off, restart, status.",
|
|
77
|
+
description: "Arm a handoff (no argument or on), or use off, restart, status.",
|
|
78
78
|
async handler(command, ctx) {
|
|
79
79
|
await adapter.run({ command: command.trim(), kind: "command" }, ctx);
|
|
80
80
|
},
|