spets 0.1.77 → 0.1.79

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -272,9 +272,9 @@ type="checkpoint", checkpoint="clarify":
272
272
  - GOTO step 2
273
273
 
274
274
  type="checkpoint", checkpoint="approve":
275
- - READ \`specPath\`, summarize to user
276
- - ASK user: approve / revise / reject / stop
277
- - RUN matching \`onComplete\`
275
+ - READ \`specPath\`, summarize key points to user
276
+ - ASK user using AskUserQuestion with options: Approve / Revise / Reject / Stop
277
+ - RUN matching \`onComplete\` based on user's choice
278
278
  - GOTO step 2
279
279
 
280
280
  type="complete" or "error":
@@ -320,9 +320,9 @@ type="checkpoint", checkpoint="clarify":
320
320
  - GOTO step 2
321
321
 
322
322
  type="checkpoint", checkpoint="approve":
323
- - READ \`specPath\`, summarize to user
324
- - ASK user: approve / revise / reject / stop
325
- - RUN matching \`onComplete\`
323
+ - READ \`specPath\`, summarize key points to user
324
+ - ASK user using AskUserQuestion with options: Approve / Revise / Reject / Stop
325
+ - RUN matching \`onComplete\` based on user's choice
326
326
  - GOTO step 2
327
327
 
328
328
  type="complete" or "error":
@@ -363,9 +363,9 @@ type="checkpoint", checkpoint="clarify":
363
363
  - GOTO step 2
364
364
 
365
365
  type="checkpoint", checkpoint="approve":
366
- - READ \`specPath\`, summarize to user
367
- - ASK user: approve / revise / reject / stop
368
- - RUN matching \`onComplete\`
366
+ - READ \`specPath\`, summarize key points to user
367
+ - ASK user using AskUserQuestion with options: Approve / Revise / Reject / Stop
368
+ - RUN matching \`onComplete\` based on user's choice
369
369
  - GOTO step 2
370
370
 
371
371
  type="complete" or "error":
@@ -1992,6 +1992,7 @@ var StepExecutor = class {
1992
1992
  step,
1993
1993
  description: context.description,
1994
1994
  gatheredContext: context.gatheredContext,
1995
+ previousDecisions: context.previousDecisions,
1995
1996
  previousQA: context.previousQA,
1996
1997
  cwd: this.cwd
1997
1998
  };
@@ -3345,7 +3346,8 @@ async function startCommand(query, options) {
3345
3346
  description: clarifyResp.description,
3346
3347
  stepIndex: 0,
3347
3348
  totalSteps: 0,
3348
- gatheredContext: clarifyResp.gatheredContext
3349
+ gatheredContext: clarifyResp.gatheredContext,
3350
+ previousDecisions: clarifyResp.previousDecisions
3349
3351
  };
3350
3352
  const result = await stepExecutor.executeClarifyPhase(clarifyResp.step, stepContext);
3351
3353
  const clarifyOutput = result.clarifyOutput || { ready: true, decisions: [] };
@@ -3607,7 +3609,8 @@ async function resumeCommand(options) {
3607
3609
  description: clarifyResp.description,
3608
3610
  stepIndex: 0,
3609
3611
  totalSteps: 0,
3610
- gatheredContext: clarifyResp.gatheredContext
3612
+ gatheredContext: clarifyResp.gatheredContext,
3613
+ previousDecisions: clarifyResp.previousDecisions
3611
3614
  };
3612
3615
  const result = await stepExecutor.executeClarifyPhase(clarifyResp.step, stepContext);
3613
3616
  const clarifyOutput = result.clarifyOutput || { ready: true, decisions: [] };
@@ -3991,7 +3994,8 @@ async function githubCommand(options) {
3991
3994
  description: clarifyResp.description,
3992
3995
  stepIndex: 0,
3993
3996
  totalSteps: 0,
3994
- gatheredContext: clarifyResp.gatheredContext
3997
+ gatheredContext: clarifyResp.gatheredContext,
3998
+ previousDecisions: clarifyResp.previousDecisions
3995
3999
  };
3996
4000
  const result = await stepExecutor.executeClarifyPhase(clarifyResp.step, stepContext);
3997
4001
  const clarifyOutput = result.clarifyOutput || { ready: true, decisions: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spets",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "description": "Spec Driven Development Execution Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",