spets 0.1.93 → 0.1.94

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 +14 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4959,6 +4959,20 @@ async function githubCommand(options) {
4959
4959
  };
4960
4960
  const result = await stepExecutor.executeVerifyPhase(verifyResp.step, stepContext);
4961
4961
  response = orchestrator.cmdVerifyDone(taskId, result.verifyOutput);
4962
+ } else if (phaseResponse.phase === "knowledge") {
4963
+ const knowledgeResp = phaseResponse;
4964
+ console.log("Extracting knowledge from workflow...\n");
4965
+ const result = await stepExecutor.executeKnowledgePhase(knowledgeResp.prompt, {
4966
+ taskId: knowledgeResp.taskId,
4967
+ description: knowledgeResp.description,
4968
+ stepIndex: 0,
4969
+ totalSteps: 0
4970
+ });
4971
+ if (result.knowledgeOutput) {
4972
+ response = orchestrator.cmdKnowledgeExtractDone(taskId, result.knowledgeOutput);
4973
+ } else {
4974
+ response = orchestrator.cmdKnowledgeSkip(taskId);
4975
+ }
4962
4976
  }
4963
4977
  } else if (response.type === "checkpoint") {
4964
4978
  if (response.checkpoint === "clarify") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spets",
3
- "version": "0.1.93",
3
+ "version": "0.1.94",
4
4
  "description": "Spec Driven Development Execution Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",