@rallycry/conveyor-agent 4.0.1 → 4.1.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.
@@ -1261,7 +1261,12 @@ function buildModePrompt(agentMode, context) {
1261
1261
  `- You can create and manage subtasks`,
1262
1262
  `- You cannot write code or edit files (except .claude/plans/)`,
1263
1263
  `- Goal: collaborate with the user to create a clear plan`,
1264
- `- Proactively fill task properties (SP, tags, icon) as the plan takes shape`
1264
+ `- Proactively fill task properties (SP, tags, icon) as the plan takes shape`,
1265
+ ``,
1266
+ `### Self-Update vs Subtasks`,
1267
+ `- If the work fits in a single task (1-3 SP), update YOUR OWN plan and properties \u2014 do not create subtasks`,
1268
+ `- Only create subtasks when the work genuinely requires multiple independent pieces (e.g., Pack-tier work, 8+ SP)`,
1269
+ `- When planning for yourself: use update_task to save the plan, then set_story_points, set_task_title, set_task_icon`
1265
1270
  ];
1266
1271
  if (context) {
1267
1272
  parts.push(...buildPropertyInstructions(context));
@@ -2111,7 +2116,10 @@ function createConveyorMcpServer(connection, config, context) {
2111
2116
  let modeTools;
2112
2117
  switch (agentMode) {
2113
2118
  case "building":
2114
- modeTools = buildTaskTools(connection);
2119
+ modeTools = context?.isParentTask ? [
2120
+ ...buildTaskTools(connection),
2121
+ ...buildPmTools(connection, context?.storyPoints, { includePackTools: true })
2122
+ ] : buildTaskTools(connection);
2115
2123
  break;
2116
2124
  case "review":
2117
2125
  modeTools = buildPmTools(connection, context?.storyPoints, {
@@ -2125,7 +2133,9 @@ function createConveyorMcpServer(connection, config, context) {
2125
2133
  break;
2126
2134
  case "discovery":
2127
2135
  case "help":
2128
- modeTools = buildPmTools(connection, context?.storyPoints, { includePackTools: false });
2136
+ modeTools = buildPmTools(connection, context?.storyPoints, {
2137
+ includePackTools: !!context?.isParentTask
2138
+ });
2129
2139
  break;
2130
2140
  default:
2131
2141
  modeTools = config.mode === "pm" ? buildPmTools(connection, context?.storyPoints, { includePackTools: false }) : buildTaskTools(connection);
@@ -3657,4 +3667,4 @@ export {
3657
3667
  ProjectRunner,
3658
3668
  FileCache
3659
3669
  };
3660
- //# sourceMappingURL=chunk-Q2LN2YBW.js.map
3670
+ //# sourceMappingURL=chunk-BBGSX2AX.js.map