@askexenow/exe-os 0.9.80 → 0.9.81

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.
@@ -172,6 +172,29 @@ test("Support intake \u2014 API health route and cloud-sync license fallback exi
172
172
  if (!wrangler.includes('binding = "CLOUD_SYNC"')) return "CLOUD_SYNC service binding missing";
173
173
  return true;
174
174
  });
175
+ test("CLI/MCP parity \u2014 customer ops wrappers are registered", () => {
176
+ const registry = readSrc("src/mcp/register-tools.ts");
177
+ const gates = readSrc("src/mcp/tool-gates.ts");
178
+ const parity = readSrc("src/mcp/tools/cli-parity.ts");
179
+ const requiredTools = [
180
+ "healthcheck",
181
+ "doctor",
182
+ "rename_employee",
183
+ "status_brief",
184
+ "pending_work_summary",
185
+ "key_status",
186
+ "key_rotation_preflight",
187
+ "check_update",
188
+ "stack_update_check",
189
+ "cloud_status"
190
+ ];
191
+ if (!registry.includes("registerCliParityTools")) return "CLI parity tools not registered";
192
+ if (!gates.includes("registerCliParityTools")) return "CLI parity tools missing role gate";
193
+ for (const tool of requiredTools) {
194
+ if (!parity.includes(`"${tool}"`)) return `Missing MCP wrapper: ${tool}`;
195
+ }
196
+ return true;
197
+ });
175
198
  console.log(`
176
199
  \x1B[1m${pass + fail} tests: ${pass} passed, ${fail} failed\x1B[0m
177
200
  `);