aegis-desktop 0.8.26 → 0.8.27

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.
@@ -376,6 +376,15 @@ function normalizeArgs(name, args, ctx = {}) {
376
376
  const value = input[key];
377
377
  if (typeof value !== 'string' || !value.trim()) continue; // absent → the executor's default
378
378
  const res = platform.resolvePath(value, {
379
+ // The tool layer's platform seam, the same one `client/platform.js`
380
+ // takes on every function and `shell.js` already passes at its call
381
+ // site: `ctx.platform` names the host whose path rules apply. Absent
382
+ // (every existing caller), `resolvePath` falls back to
383
+ // `process.platform`, so this changes nothing at runtime — but it is
384
+ // what lets the win32 and darwin branches of THIS layer be exercised
385
+ // from a Linux CI, instead of being reachable only on a foreign host.
386
+ // See test/platform-parity.test.mjs.
387
+ platform: ctx && ctx.platform ? ctx.platform : undefined,
379
388
  cwd: ctx && ctx.cwd ? ctx.cwd : undefined,
380
389
  desktopdir: ctx && ctx.desktopdir ? ctx.desktopdir : undefined,
381
390
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aegis-desktop",
3
3
  "productName": "AEGIS Desktop",
4
- "version": "0.8.26",
4
+ "version": "0.8.27",
5
5
  "description": "Thin Electron host for AEGIS — a local chat UI over the shared client/aegis.js transport. Ships transport + UI only; engine logic stays server-side.",
6
6
  "author": {
7
7
  "name": "AEGIS Code",
@@ -38,6 +38,7 @@
38
38
  "test:budget": "node ../test/budget.test.mjs",
39
39
  "test:foreign-memory": "node ../test/foreign-memory.test.mjs",
40
40
  "test:tools": "node ../test/local-tools.test.mjs",
41
+ "test:platform-parity": "node ../test/platform-parity.test.mjs",
41
42
  "test:engine": "node ../test/local-engine.test.mjs",
42
43
  "test:highlight": "node ../test/aegis-highlight.test.mjs",
43
44
  "test:markdown": "node ../test/markdown.test.mjs",