spets 0.1.60 → 0.1.61
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.js +13 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -327,25 +327,33 @@ Repeat until \`type\` is \`"complete"\` or \`"error"\`:
|
|
|
327
327
|
|
|
328
328
|
1. Parse JSON response
|
|
329
329
|
2. Do the action for \`type\`
|
|
330
|
-
3. Run \`onComplete\` command with JSON
|
|
330
|
+
3. Run \`onComplete\` command with JSON (single line, single quotes)
|
|
331
331
|
4. Go to step 1
|
|
332
332
|
|
|
333
|
+
## Shell Command Format
|
|
334
|
+
|
|
335
|
+
All commands must be a single line. Minify JSON (no newlines):
|
|
336
|
+
|
|
337
|
+
\`\`\`bash
|
|
338
|
+
npx spets orchestrate explore-done task-123 '{"summary":"...","relevantFiles":[]}'
|
|
339
|
+
\`\`\`
|
|
340
|
+
|
|
333
341
|
## Actions
|
|
334
342
|
|
|
335
343
|
### type: "phase"
|
|
336
344
|
|
|
337
345
|
| phase | Action |
|
|
338
346
|
|-------|--------|
|
|
339
|
-
| explore | Follow \`prompt\` \u2192 \`onComplete '<
|
|
340
|
-
| clarify | Follow \`prompt\` \u2192 \`onComplete '<
|
|
347
|
+
| explore | Follow \`prompt\` \u2192 \`onComplete '<minified_json>'\` |
|
|
348
|
+
| clarify | Follow \`prompt\` \u2192 \`onComplete '<minified_json>'\` |
|
|
341
349
|
| execute | Follow \`prompt\`, write to \`context.output\` \u2192 run \`onComplete\` |
|
|
342
|
-
| verify | Follow \`prompt\` \u2192 \`onComplete '<
|
|
350
|
+
| verify | Follow \`prompt\` \u2192 \`onComplete '<minified_json>'\` |
|
|
343
351
|
|
|
344
352
|
### type: "checkpoint"
|
|
345
353
|
|
|
346
354
|
| checkpoint | Action |
|
|
347
355
|
|------------|--------|
|
|
348
|
-
| clarify | Ask user each \`questions[]\` \u2192 \`onComplete '<
|
|
356
|
+
| clarify | Ask user each \`questions[]\` \u2192 \`onComplete '<minified_json>'\` |
|
|
349
357
|
| approve | Read \`specPath\`, summarize, ask user \u2192 run \`onComplete[choice]\` |
|
|
350
358
|
|
|
351
359
|
### type: "complete" / "error"
|