@arvoretech/hub 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +12 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -803,6 +803,10 @@ Follow each step sequentially, applying the role-specific instructions from the
803
803
  }
804
804
  const stepTitle = step.step.charAt(0).toUpperCase() + step.step.slice(1);
805
805
  parts.push(`### ${stepTitle}`);
806
+ if (step.mode === "plan") {
807
+ parts.push(`**This step is a planning phase.** Do NOT make any code changes. Focus on reading, analyzing, and collaborating with the user to define requirements before proceeding.`);
808
+ parts.push(``);
809
+ }
806
810
  if (step.agent) {
807
811
  parts.push(`Follow the instructions from the \`agent-${step.agent}.md\` steering file.${step.output ? ` Write output to \`${step.output}\`.` : ""}`);
808
812
  if (step.step === "refinement") {
@@ -997,6 +1001,10 @@ function buildPipelineSection(steps) {
997
1001
  }
998
1002
  const stepTitle = step.step.charAt(0).toUpperCase() + step.step.slice(1);
999
1003
  parts.push(`### ${stepTitle}`);
1004
+ if (step.mode === "plan") {
1005
+ parts.push(`**Before starting this step, switch to Plan Mode** by calling \`SwitchMode\` with \`target_mode_id: "plan"\`. This ensures collaborative planning with the user in a read-only context before any implementation begins.`);
1006
+ parts.push(``);
1007
+ }
1000
1008
  if (step.agent) {
1001
1009
  parts.push(`Call the \`${step.agent}\` agent.${step.output ? ` It writes to \`${step.output}\`.` : ""}`);
1002
1010
  if (step.step === "refinement") {
@@ -1032,6 +1040,10 @@ If any coding agent has doubts, they will write questions in their document. App
1032
1040
  If any validation agent leaves comments requiring fixes, call the relevant coding agents again to address them.`);
1033
1041
  }
1034
1042
  }
1043
+ if (step.mode === "plan") {
1044
+ parts.push(`
1045
+ **After this step is complete and approved**, switch back to Agent Mode to proceed with the next step.`);
1046
+ }
1035
1047
  parts.push("");
1036
1048
  }
1037
1049
  return parts.join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvoretech/hub",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "CLI for managing AI-aware multi-repository workspaces",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",