nexarch 0.9.30 → 0.9.31

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.
@@ -56,13 +56,20 @@ export async function setup(args) {
56
56
  console.log(`✗ failed — ${message}`);
57
57
  }
58
58
  }
59
- console.log("\nDone. Restart your MCP client for the changes to take effect.");
60
59
  }
61
- console.log("\nRegistering this runtime as a Nexarch agent…\n");
60
+ console.log("\nWriting Nexarch agent instructions…\n");
62
61
  const initAgentArgs = args.includes("--strict") ? [...args] : [...args, "--strict"];
63
62
  if (!initAgentArgs.includes("--from-setup"))
64
63
  initAgentArgs.push("--from-setup");
64
+ if (!initAgentArgs.includes("--allow-instruction-write"))
65
+ initAgentArgs.push("--allow-instruction-write");
65
66
  await initAgent(initAgentArgs);
66
- console.log("\nSetup complete: MCP client config + agent registration are now in place.");
67
- console.log("\n➡ Next step: in your coding agent, run:\n\nrun npx nexarch@latest init-agent");
67
+ if (clients.length > 0) {
68
+ const names = clients.map((c) => c.name);
69
+ const listed = names.length === 1 ? names[0] : `${names.slice(0, -1).join(", ")} and ${names[names.length - 1]}`;
70
+ console.log(`\nSetup complete. Open a new ${listed} session — Nexarch will self-register on startup.`);
71
+ }
72
+ else {
73
+ console.log("\nSetup complete. Once you have configured an MCP client (see above), open a new session — Nexarch will self-register on startup.");
74
+ }
68
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.9.30",
3
+ "version": "0.9.31",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",