nexarch 0.5.5 → 0.5.6

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.5";
8
+ const CLI_VERSION = "0.5.6";
9
9
  const AGENT_ENTITY_TYPE = "agent";
10
10
  const TECH_COMPONENT_ENTITY_TYPE = "technology_component";
11
11
  function parseFlag(args, flag) {
@@ -3,11 +3,6 @@ import { detectClientsFromRegistry, writeClientConfig, nexarchServerBlockFromReg
3
3
  import { fetchAgentRegistryOrThrow } from "../lib/agent-registry.js";
4
4
  import { initAgent } from "./init-agent.js";
5
5
  import { login } from "./login.js";
6
- import { callMcpTool } from "../lib/mcp.js";
7
- function parseToolText(result) {
8
- const text = result.content?.[0]?.text ?? "{}";
9
- return JSON.parse(text);
10
- }
11
6
  export async function setup(args) {
12
7
  try {
13
8
  requireCredentials();
@@ -17,13 +12,6 @@ export async function setup(args) {
17
12
  await login(args);
18
13
  }
19
14
  requireCredentials(); // ensure login succeeded before continuing
20
- const creds = requireCredentials();
21
- // Block setup until onboarding is complete for the selected company.
22
- const onboardingRaw = await callMcpTool("nexarch_get_company_onboarding", {}, { companyId: creds.companyId });
23
- const onboarding = parseToolText(onboardingRaw);
24
- if (onboarding.isComplete !== true) {
25
- throw new Error(`Company onboarding is incomplete (status=${onboarding.onboardingStatus ?? "unknown"}). Complete onboarding before running nexarch setup.`);
26
- }
27
15
  let registry;
28
16
  try {
29
17
  registry = await fetchAgentRegistryOrThrow();
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.5" },
71
+ clientInfo: { name: "nexarch-cli", version: "0.5.6" },
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.5",
3
+ "version": "0.5.6",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",