nexarch 0.5.6 → 0.5.7

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.
@@ -5,7 +5,7 @@ import process from "process";
5
5
  import { requireCredentials } from "../lib/credentials.js";
6
6
  import { fetchAgentRegistryOrThrow } from "../lib/agent-registry.js";
7
7
  import { callMcpTool, mcpInitialize, mcpListTools } from "../lib/mcp.js";
8
- const CLI_VERSION = "0.5.6";
8
+ const CLI_VERSION = "0.5.7";
9
9
  const AGENT_ENTITY_TYPE = "agent";
10
10
  const TECH_COMPONENT_ENTITY_TYPE = "technology_component";
11
11
  function parseFlag(args, flag) {
@@ -852,6 +852,12 @@ export async function initAgent(args) {
852
852
  console.log(" Paste this and fill in real values:");
853
853
  console.log(`\nrun npx nexarch@latest agent identify --agent-id \"${agentId}\" --provider \"<provider>\" --model \"<model>\" --client \"<client>\" --framework \"<openclaw|n8n|m365-agent-framework|other>\" --tool-version \"<tool-version>\" --capabilities \"<capability1,capability2>\" --json\n`);
854
854
  }
855
+ if (!fromSetup && appDetection.detected) {
856
+ console.log("\n➡ Optional next step: likely application detected in current directory.");
857
+ console.log(` Detected manifests: ${appDetection.evidence.join(", ")}`);
858
+ console.log(" Ask the user: 'I found a likely application here. Do you want me to run init-project next?'");
859
+ console.log(" Suggested command: npx nexarch@latest init-project --dir . --json");
860
+ }
855
861
  }
856
862
  else {
857
863
  console.log("⚠ Handshake/registration completed with issues.");
package/dist/lib/mcp.js CHANGED
@@ -68,7 +68,7 @@ export async function mcpInitialize(options = {}) {
68
68
  return callMcpRpc("initialize", {
69
69
  protocolVersion: "2024-11-05",
70
70
  capabilities: {},
71
- clientInfo: { name: "nexarch-cli", version: "0.5.6" },
71
+ clientInfo: { name: "nexarch-cli", version: "0.5.7" },
72
72
  }, options);
73
73
  }
74
74
  export async function mcpListTools(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",