claude-nexus 0.30.1 → 0.31.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.
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "claude-nexus",
9
9
  "description": "Claude Code plugin for nexus-core agent orchestration",
10
- "version": "0.30.1",
10
+ "version": "0.31.0",
11
11
  "author": {
12
12
  "name": "kih"
13
13
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-nexus",
3
- "version": "0.30.1",
3
+ "version": "0.31.0",
4
4
  "description": "Claude Code plugin for nexus-core agent orchestration",
5
5
  "author": {
6
6
  "name": "kih"
@@ -20193,13 +20193,10 @@ var planUpdateTool = {
20193
20193
  var planDecideTool = {
20194
20194
  group: "plan",
20195
20195
  name: "nx_plan_decide",
20196
- description: "Record a decision for a plan issue",
20196
+ description: "Record the final decision for a plan issue",
20197
20197
  inputSchema: {
20198
20198
  issue_id: numberType().describe("Issue ID to decide"),
20199
- decision: stringType().describe("Decision text"),
20200
- how_agents: arrayType(stringType()).optional().describe("Names of HOW agents that contributed analysis"),
20201
- how_summary: recordType(stringType(), stringType()).optional().describe("Summary of each agent's key input"),
20202
- how_agent_ids: recordType(stringType(), stringType()).optional().describe("Mapping from agent name to agent ID")
20199
+ decision: stringType().describe("Decision text")
20203
20200
  }
20204
20201
  };
20205
20202
  var planResumeTool = {
@@ -20400,7 +20397,7 @@ var planToolBindings = [
20400
20397
  },
20401
20398
  {
20402
20399
  definition: planDecideTool,
20403
- handler: async ({ issue_id, decision, how_agents, how_summary, how_agent_ids }) => {
20400
+ handler: async ({ issue_id, decision }) => {
20404
20401
  const pPath = planPath();
20405
20402
  let responsePayload = {};
20406
20403
  await updateJsonFileLocked(pPath, null, (raw) => {
@@ -20416,23 +20413,6 @@ var planToolBindings = [
20416
20413
  }
20417
20414
  issue2.status = "decided";
20418
20415
  issue2.decision = decision;
20419
- if (how_agents && how_agents.length > 0) {
20420
- const now = new Date().toISOString();
20421
- if (!issue2.analysis) {
20422
- issue2.analysis = [];
20423
- }
20424
- for (const agentName of how_agents) {
20425
- const entry = {
20426
- role: agentName,
20427
- summary: how_summary?.[agentName] ?? "",
20428
- recorded_at: now
20429
- };
20430
- if (how_agent_ids?.[agentName]) {
20431
- entry.agent_id = how_agent_ids[agentName];
20432
- }
20433
- issue2.analysis.push(entry);
20434
- }
20435
- }
20436
20416
  const allComplete = raw.issues.every((candidate) => candidate.status === "decided");
20437
20417
  const remaining = raw.issues.filter((candidate) => candidate.status !== "decided");
20438
20418
  responsePayload = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-nexus",
3
- "version": "0.30.1",
3
+ "version": "0.31.0",
4
4
  "type": "module",
5
5
  "description": "Claude Code plugin for nexus-core agent orchestration",
6
6
  "author": "kih",
@@ -41,7 +41,7 @@
41
41
  "settings.json"
42
42
  ],
43
43
  "devDependencies": {
44
- "@moreih29/nexus-core": "^0.18.2",
44
+ "@moreih29/nexus-core": "^0.19.0",
45
45
  "@types/bun": "^1.3.0",
46
46
  "@types/node": "^22.0.0",
47
47
  "typescript": "^5.6.0"
@@ -96,7 +96,7 @@ Use `nx_plan_decide` to mark the issue as decided. The decision text MUST includ
96
96
  - The selected approach and its rationale
97
97
  - The rejected alternatives and their dismissal reasons
98
98
 
99
- If HOW subagents participated in the issue, bundle their contribution information so it can be referenced in future resumes and Step 7 task decomposition.
99
+ `nx_plan_decide` records only the final decision text and decision state — it does **not** append to `analysis`. If HOW subagents participated, their analysis and resume-routing records must already have been written via `nx_plan_analysis_add` in Step 4, and Step 7 should reference those records directly.
100
100
 
101
101
  If the decision creates follow-up questions or derived issues, add them with `nx_plan_update` and move to Step 6. Do not ask the user for confirmation.
102
102
 
@@ -111,7 +111,7 @@ Issues must be processed one at a time. For each issue:
111
111
 
112
112
  ### Step 5: Record Decision
113
113
 
114
- When a decision is reached, use `nx_plan_decide` to mark the issue as decided. If HOW subagents participated in the issue, bundle their contribution information so it can be referenced in future resumes and Step 7 task decomposition.
114
+ When a decision is reached, use `nx_plan_decide` to mark the issue as decided. `nx_plan_decide` records only the final decision text and decision state it does **not** add to `analysis`. All HOW analysis and resume routing records must already be stored via `nx_plan_analysis_add` in Step 4.
115
115
 
116
116
  - Immediately after recording, check overall progress with `nx_plan_status` and announce the next issue in one line.
117
117
  - Check whether new follow-up questions have emerged, and if so, add follow-up issues with `nx_plan_update`.