aegiscode 7.0.43 → 7.0.44

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aegiscode",
3
3
  "productName": "AEGIS Code",
4
- "version": "7.0.43",
4
+ "version": "7.0.44",
5
5
  "description": "aegiscode — the command-line version of AEGIS One. The shared tool surface in your shell, over the same thin transport and tool registry as the MCP plugin and the desktop app. Ships transport + UI only; no brain.",
6
6
  "author": {
7
7
  "name": "AEGIS Code",
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  // SPDX-License-Identifier: AGPL-3.0-or-later
3
3
  // Copyright (C) 2026 Niklas Borneklint — AEGIS Code (aegiscode) / Aegiscloud.
4
- import{readdirSync as t}from"node:fs";import{spawnSync as s}from"node:child_process";import{dirname as e,join as o,resolve as r}from"node:path";import{fileURLToPath as n}from"node:url";const i=r(e(n(import.meta.url)),"..","..","test"),c=t(i).filter((t=>/^cli-.*\.test\.mjs$/.test(t))).sort();0===c.length&&(process.stderr.write(`no cli-*.test.mjs found in ${i}\n`),process.exit(1));const p=[],l=[];for(const t of c){const e=o(i,t);process.stdout.write(`\n── ${t} ${"─".repeat(Math.max(0,60-t.length))}\n`);const r=s(process.execPath,[e],{stdio:"inherit"});0===r.status?l.push(t):p.push({f:t,status:r.status,signal:r.signal})}if(process.stdout.write(`\n${"═".repeat(64)}\n`),process.stdout.write(`cli suite: ${l.length}/${c.length} files passed\n`),p.length){process.stdout.write(`\nFAILED (${p.length}):\n`);for(const{f:t,status:s,signal:e}of p)process.stdout.write(` ✗ ${t}${e?` (signal ${e})`:` (exit ${s})`}\n`);process.exit(1)}
4
+ import{readdirSync as t}from"node:fs";import{spawnSync as s}from"node:child_process";import{dirname as e,join as o,resolve as r}from"node:path";import{fileURLToPath as n}from"node:url";const i=r(e(n(import.meta.url)),"..","..","test"),c=t(i).filter((t=>/^cli-.*\.test\.mjs$/.test(t))).sort();0===c.length&&(process.stderr.write(`no cli-*.test.mjs found in ${i}\n`),process.exit(1));const p=[],l=[],E=["AEGIS_REDUCED_MODE","AEGIS_SKIP_PERMISSIONS","AEGISONE_SKIP_PERMISSIONS","AEGIS_NO_PROVENANCE_CHECK","AEGIS_SKIP_PROVENANCE","AEGIS_NO_INTERLOCK"],f={...process.env};for(const t of E)delete f[t];for(const t of c){const e=o(i,t);process.stdout.write(`\n── ${t} ${"─".repeat(Math.max(0,60-t.length))}\n`);const r=s(process.execPath,[e],{stdio:"inherit",env:f});0===r.status?l.push(t):p.push({f:t,status:r.status,signal:r.signal})}if(process.stdout.write(`\n${"═".repeat(64)}\n`),process.stdout.write(`cli suite: ${l.length}/${c.length} files passed\n`),p.length){process.stdout.write(`\nFAILED (${p.length}):\n`);for(const{f:t,status:s,signal:e}of p)process.stdout.write(` ✗ ${t}${e?` (signal ${e})`:` (exit ${s})`}\n`);process.exit(1)}