@1agh/maude 0.38.0 → 0.38.1
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.
|
@@ -292,7 +292,18 @@ export async function resolveBrowser({ download = true } = {}) {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
// CLI entry — only when invoked directly (not when imported by readiness.ts).
|
|
295
|
-
|
|
295
|
+
// `import.meta.main` is the reliable "am I the entry module?" flag under `bun
|
|
296
|
+
// --compile`: the argv/url string compare below FALSELY matched inside the
|
|
297
|
+
// standalone binary (embedded modules resolve to /$bunfs/root while argv[1] is
|
|
298
|
+
// the binary path), so this block fired on plain import and killed the server
|
|
299
|
+
// with a stray browser-path print + process.exit before Bun.serve ever ran —
|
|
300
|
+
// the v0.38.0 "Starting…" hang (DDR-045-class compiled-path divergence). Bun
|
|
301
|
+
// sets import.meta.main=false for imported modules; Node <24 leaves it
|
|
302
|
+
// undefined, so fall back to the argv compare for the `node`-fallback CLI path
|
|
303
|
+
// in ensure-browser.sh (a non-compiled process where that compare is correct).
|
|
304
|
+
const runDirectly =
|
|
305
|
+
import.meta.main ?? (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href);
|
|
306
|
+
if (runDirectly) {
|
|
296
307
|
const result = await resolveBrowser({ download: !NO_DOWNLOAD });
|
|
297
308
|
if (JSON_OUT) {
|
|
298
309
|
process.stdout.write(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1agh/maude",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.1",
|
|
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": {
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"test:e2e:desktop:onboarding": "pnpm --filter @maude/desktop-e2e e2e:onboarding"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@1agh/maude-darwin-arm64": "0.38.
|
|
54
|
-
"@1agh/maude-darwin-x64": "0.38.
|
|
55
|
-
"@1agh/maude-linux-arm64": "0.38.
|
|
56
|
-
"@1agh/maude-linux-arm64-musl": "0.38.
|
|
57
|
-
"@1agh/maude-linux-x64": "0.38.
|
|
58
|
-
"@1agh/maude-linux-x64-musl": "0.38.
|
|
59
|
-
"@1agh/maude-win32-x64": "0.38.
|
|
53
|
+
"@1agh/maude-darwin-arm64": "0.38.1",
|
|
54
|
+
"@1agh/maude-darwin-x64": "0.38.1",
|
|
55
|
+
"@1agh/maude-linux-arm64": "0.38.1",
|
|
56
|
+
"@1agh/maude-linux-arm64-musl": "0.38.1",
|
|
57
|
+
"@1agh/maude-linux-x64": "0.38.1",
|
|
58
|
+
"@1agh/maude-linux-x64-musl": "0.38.1",
|
|
59
|
+
"@1agh/maude-win32-x64": "0.38.1"
|
|
60
60
|
},
|
|
61
61
|
"files": [
|
|
62
62
|
"cli",
|