@1agh/maude 0.51.0 → 0.51.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.
@@ -213,7 +213,7 @@ function isMaudeRuntimeState(p: string): boolean {
213
213
  p
214
214
  ) ||
215
215
  /(^|\/)_server\.(?:lock|log)$/.test(p) ||
216
- /(^|\/)_(?:history|trash|draw|photo|smoke|canvas-state|state|chat|comments|untrusted|export-jobs)(?:\/|$)/.test(
216
+ /(^|\/)_(?:history|trash|draw|photo|smoke|reports|canvas-state|state|chat|comments|untrusted|export-jobs)(?:\/|$)/.test(
217
217
  p
218
218
  ) ||
219
219
  // kgai per-machine graph projection (feature-kgai-ecosystem-integration,
@@ -26,6 +26,7 @@ import { type AiActivityEntry, createAiActivity } from './collab/ai-activity.ts'
26
26
  import { createGitLifecycle } from './collab/git-lifecycle.ts';
27
27
  import { createCollab } from './collab/index.ts';
28
28
  import { createContext, reloadConfig } from './context.ts';
29
+ import { installLogRing } from './debug-bundle.ts';
29
30
  import { createExportJobQueue } from './exporters/jobs.ts';
30
31
  import { createFsWatch } from './fs-watch.ts';
31
32
  import { createGenerationJobQueue } from './generation/jobs.ts';
@@ -42,6 +43,12 @@ import {
42
43
  } from './workspace-mode.ts';
43
44
  import { createWs, isLoopbackHost, isSameOriginWs, parseCollabSlug, type WsData } from './ws.ts';
44
45
 
46
+ // feature-bug-report-button — mirror console output into the in-memory log
47
+ // ring BEFORE anything else logs, so a bug report's serverLogTail covers the
48
+ // boot sequence too (where "wrong project root" class failures announce
49
+ // themselves). Stdout/stderr behavior is unchanged.
50
+ installLogRing();
51
+
45
52
  // Phase 19 / DDR-044 — covers the marketplace-cache-install gap where
46
53
  // node_modules/ ships empty (git clone honors .gitignore). Auto-installs +
47
54
  // builds on first boot; opt out with MAUDE_NO_AUTOBUILD=1.
@@ -128,6 +128,14 @@ describe('canvas-origin gate — A1/A2 traversal + privilege containment', () =>
128
128
  // same MAIN-ORIGIN-ONLY posture as the other artboard structural ops
129
129
  // right above.
130
130
  '/_api/duplicate-artboard',
131
+ // feature-bug-report-button — the debug bundle reveals server logs +
132
+ // project context, the submit proxy triggers outbound network, and the
133
+ // fallback writes to disk. All three are MAIN-ORIGIN ONLY: absent from
134
+ // CANVAS_SAFE_API + startCanvasServer's routes, so a GET from the
135
+ // canvas origin 403s at the gate, never reaching the handler.
136
+ '/_api/debug-bundle',
137
+ '/_api/report',
138
+ '/_api/report-fallback',
131
139
  // Stage F1 — the AssetPicker's asset-listing GET is a shell (main-origin)
132
140
  // concern; the untrusted canvas iframe must not enumerate project media.
133
141
  '/_api/assets',
@@ -47,6 +47,7 @@ export function buildBlock(designRel = '.design', { s3Assets = false } = {}) {
47
47
  `${root}/_draw/`, // draw-agent proof canvases (regenerable — Phase 25)
48
48
  `${root}/_photo/`, // photo-bg-remove headless proof canvases (regenerable — feature-photo-editor)
49
49
  `${root}/_smoke/`, // batch-screenshot output (regenerable — DDR-021)
50
+ `${root}/_reports/`, // offline bug-report bundles (feature-bug-report-button — local fallback, may hold screenshots)
50
51
  `${root}/_canvas-state/`, // per-machine canvas scratch + camera (`*.view.json`, DDR-115)
51
52
  `${root}/_chat/`, // ACP transcripts (per-machine)
52
53
  `${root}/_untrusted/`, // hub-synced untrusted file mirror (DDR-054)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agh/maude",
3
- "version": "0.51.0",
3
+ "version": "0.51.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": {
@@ -52,13 +52,13 @@
52
52
  "test:e2e:desktop:acp-cold-start": "pnpm --filter @maude/desktop-e2e e2e:acp-cold-start"
53
53
  },
54
54
  "optionalDependencies": {
55
- "@1agh/maude-darwin-arm64": "0.51.0",
56
- "@1agh/maude-darwin-x64": "0.51.0",
57
- "@1agh/maude-linux-arm64": "0.51.0",
58
- "@1agh/maude-linux-arm64-musl": "0.51.0",
59
- "@1agh/maude-linux-x64": "0.51.0",
60
- "@1agh/maude-linux-x64-musl": "0.51.0",
61
- "@1agh/maude-win32-x64": "0.51.0"
55
+ "@1agh/maude-darwin-arm64": "0.51.1",
56
+ "@1agh/maude-darwin-x64": "0.51.1",
57
+ "@1agh/maude-linux-arm64": "0.51.1",
58
+ "@1agh/maude-linux-arm64-musl": "0.51.1",
59
+ "@1agh/maude-linux-x64": "0.51.1",
60
+ "@1agh/maude-linux-x64-musl": "0.51.1",
61
+ "@1agh/maude-win32-x64": "0.51.1"
62
62
  },
63
63
  "files": [
64
64
  "cli",