nexarch 0.9.29 → 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
  }
@@ -119,6 +119,7 @@ export function findClientProfile(registry, code) {
119
119
  const aliases = {
120
120
  "continue": "continue-dev",
121
121
  "claude": "claude-code",
122
+ "codex": "codex-cli",
122
123
  };
123
124
  const resolved = aliases[normalized] ?? normalized;
124
125
  return registry.mcpClientProfiles.find((c) => c.code === resolved) ?? null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.9.29",
3
+ "version": "0.9.31",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",