nexarch 0.2.6 → 0.2.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.
@@ -40,7 +40,7 @@ const COMMAND_TYPE_HINTS = {
40
40
  drift_audit: "Compare the current codebase to the architecture graph and report any drift or missing entities.",
41
41
  access_audit: "Audit which agents and users have access to this application and report findings.",
42
42
  gap_check: "Run a gap analysis: identify architecturally significant platforms or infrastructure not yet in the graph.",
43
- policy_check: "Use nexarch_get_entity_policy_controls with the target entity key to fetch the policy controls linked to this application, evaluate the application against each control, and report findings. If no controls are returned, inform the user that policy_control entities must be linked to the application via 'governs' relationships in the workspace.",
43
+ policy_check: "Call nexarch_get_entity_policy_controls with argument entityExternalKey set to the target_entity_key value. If controls are returned, evaluate the application against each one and report findings, then mark the command done. If controls array is empty, do NOT mark the command done — instead run: npx nexarch command-fail --id <id> --error \"No policy controls linked\" and tell the user they must create policy_control entities in the nexarch workspace and link them to the application via 'governs' relationships before this check can run.",
44
44
  enrich_entity: "Update the entity description, subtype, and metadata using information from the README or codebase.",
45
45
  register_aliases: "Find internal package names that are unresolved and register them as company aliases.",
46
46
  custom: "Execute the custom instructions provided.",
package/dist/lib/mcp.js CHANGED
@@ -62,7 +62,7 @@ export async function mcpInitialize(options = {}) {
62
62
  return callMcpRpc("initialize", {
63
63
  protocolVersion: "2024-11-05",
64
64
  capabilities: {},
65
- clientInfo: { name: "nexarch-cli", version: "0.2.6" },
65
+ clientInfo: { name: "nexarch-cli", version: "0.2.7" },
66
66
  }, options);
67
67
  }
68
68
  export async function mcpListTools(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Connect AI coding tools to your Nexarch architecture workspace",
5
5
  "keywords": [
6
6
  "nexarch",