@1agh/maude 1.6.9 → 1.6.11

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.
@@ -110,6 +110,13 @@ const TIMING_LINE = /^MAUDE_TIMING (.+)$/;
110
110
  export async function spawnShim(args: string[], opts: SpawnShimOptions): Promise<SpawnShimResult> {
111
111
  const proc = Bun.spawn([resolveExportRuntime(), ...args], {
112
112
  cwd: opts.cwd,
113
+ // EXPLICIT, not inherited. Bun.spawn without `env` hands the child the
114
+ // environment the process STARTED with — a variable set at runtime never
115
+ // arrives (Bun 1.3.3, measured). The render worker sets
116
+ // MAUDE_RENDER_SKIP_WHOLE_COMP=1 at startup exactly that way, so every
117
+ // cloud mp4 still burned the 90 s renderMediaOnWeb timeout before falling
118
+ // to frame-step (2026-10-02).
119
+ env: { ...process.env },
113
120
  stdout: 'pipe',
114
121
  stderr: 'pipe',
115
122
  signal: opts.signal,
@@ -8,10 +8,13 @@
8
8
  // design systems and a tokens path that did not exist, so canvases relying on
9
9
  // the shell's tokens stylesheet lost their brand fonts (2026-10-02, alligators).
10
10
  //
11
- // OWNER ONLY, and decided from LOCAL state (the stored hub record), never from
12
- // anything the hub said — the same rule as code modules. Only a sanitized
13
- // subset leaves this machine: names and contained relative paths. `linkedHub`,
14
- // tokens and everything else in config.json stay here.
11
+ // OWNER ONLY — and note WHOSE word that is (security review F3): the gate is
12
+ // `storedRecord.role`, which is copied from the hub's sign-in response, i.e.
13
+ // the hub's own claim about us. That is acceptable ONLY because what is sent
14
+ // is a sanitized subset the hub can already see (names and contained relative
15
+ // paths) and the hub enforces the owner bar itself. If this subset ever grows
16
+ // past that, gate it on a recorded local consent the way `codeModulesAllowed`
17
+ // is. `linkedHub`, tokens and everything else in config.json stay here.
15
18
 
16
19
  import { readFileSync } from 'node:fs';
17
20
  import path from 'node:path';
@@ -119,7 +122,10 @@ export function createProjectConfigPusher({
119
122
  if (body === lastAccepted) return 'unchanged' as const;
120
123
  let res: Response;
121
124
  try {
122
- res = await fetchImpl(new URL('/api/project-config', hubUrl), {
125
+ // `${base}/api/...` like the file plane — `new URL('/api/…', hubUrl)`
126
+ // would drop a hub's path prefix and send the owner's token to whatever
127
+ // answers at the host root (review F4).
128
+ res = await fetchImpl(`${hubUrl.replace(/\/+$/, '')}/api/project-config`, {
123
129
  method: 'PUT',
124
130
  headers: { authorization: `Bearer ${token()}`, 'content-type': 'application/json' },
125
131
  body,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agh/maude",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "description": "Marketplace of Claude Code plugins by Michal Dovrtěl: `design` (canvas-first design iteration) + `flow` (generic agentic workflow loop with .ai second brain). Ships the `maude` CLI (with `mdcc` legacy alias) to scaffold workspace, run the design dev server, and manage configs.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -58,13 +58,13 @@
58
58
  "test:e2e:desktop:parity:cloud": "pnpm --filter @maude/desktop-e2e e2e:parity:cloud"
59
59
  },
60
60
  "optionalDependencies": {
61
- "@1agh/maude-darwin-arm64": "1.6.9",
62
- "@1agh/maude-darwin-x64": "1.6.9",
63
- "@1agh/maude-linux-arm64": "1.6.9",
64
- "@1agh/maude-linux-arm64-musl": "1.6.9",
65
- "@1agh/maude-linux-x64": "1.6.9",
66
- "@1agh/maude-linux-x64-musl": "1.6.9",
67
- "@1agh/maude-win32-x64": "1.6.9"
61
+ "@1agh/maude-darwin-arm64": "1.6.11",
62
+ "@1agh/maude-darwin-x64": "1.6.11",
63
+ "@1agh/maude-linux-arm64": "1.6.11",
64
+ "@1agh/maude-linux-arm64-musl": "1.6.11",
65
+ "@1agh/maude-linux-x64": "1.6.11",
66
+ "@1agh/maude-linux-x64-musl": "1.6.11",
67
+ "@1agh/maude-win32-x64": "1.6.11"
68
68
  },
69
69
  "files": [
70
70
  "cli",