@1agh/maude 2.1.2 → 2.2.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.
@@ -448,82 +448,9 @@
448
448
  }
449
449
 
450
450
  /* ─── The bar (Maude's chrome over the user's design — the HUD island tokens, never the DS and never CSS
451
- system colours, so it follows the APP theme: 13 `.island.ds-bar`) ─── */
452
- .ds-bar {
453
- position: fixed;
454
- left: 50%;
455
- top: 16px;
456
- translate: -50% 0;
457
- z-index: 2147483000;
458
- display: flex;
459
- align-items: center;
460
- gap: 8px;
461
- height: 44px;
462
- padding: 0 8px 0 12px;
463
- border-radius: var(--maude-hud-radius-lg, 14px);
464
- background: var(--maude-hud-island-bg);
465
- color: var(--maude-chrome-fg-0);
466
- -webkit-backdrop-filter: saturate(1.4) blur(18px);
467
- backdrop-filter: saturate(1.4) blur(18px);
468
- box-shadow:
469
- var(--maude-hud-island-shadow),
470
- inset 0 0 0 0.5px var(--maude-hud-island-edge);
471
- font: 400 var(--maude-hud-type-sm, 12px) / 1 var(--maude-chrome-font-body);
472
- white-space: nowrap;
473
- }
474
- .ds-bar-ic {
475
- display: grid;
476
- place-items: center;
477
- width: 24px;
478
- height: 24px;
479
- border-radius: var(--maude-hud-radius-xs, 4px);
480
- background: var(--maude-hud-accent-muted);
481
- color: var(--maude-hud-accent-text);
482
- }
483
- .ds-bar b {
484
- font-weight: 600;
485
- }
486
- .ds-bar-seg {
487
- display: inline-flex;
488
- margin: 0 0 0 8px;
489
- min-width: 0;
490
- border: 0;
491
- padding: 2px;
492
- border-radius: var(--maude-hud-radius-md, 10px);
493
- background: var(--maude-chrome-bg-3);
494
- }
495
- .ds-bar-b {
496
- appearance: none;
497
- border: 0;
498
- border-radius: calc(var(--maude-hud-radius-md, 10px) - 2px);
499
- padding: 4px 12px;
500
- background: transparent;
501
- color: var(--maude-chrome-fg-1);
502
- font: inherit;
503
- font-size: var(--maude-hud-type-xs, 11px);
504
- cursor: pointer;
505
- }
506
- .ds-bar-b[aria-pressed="true"] {
507
- background: var(--maude-chrome-bg-2);
508
- color: var(--maude-chrome-fg-0);
509
- box-shadow:
510
- var(--maude-hud-shadow-md),
511
- inset 0 0 0 1px var(--maude-hud-accent);
512
- }
513
- .ds-bar-b--ic {
514
- display: grid;
515
- place-items: center;
516
- padding-inline: 7px;
517
- }
518
-
519
- .ds-bar-b:disabled {
520
- opacity: 0.4;
521
- cursor: default;
522
- }
523
- .ds-bar-b:focus-visible {
524
- outline: 2px solid var(--maude-hud-focus-ring);
525
- outline-offset: 1px;
526
- }
451
+ system colours, so it follows the APP theme: 13 `.island.ds-bar`). #225: the island itself, its glyph tile,
452
+ name and Light | Dark are the canvas pill's (`CanvasTopIsland`, canvas-theme-pill.tsx — placed in the shell's
453
+ free top band); only the bar's own extras are styled here. ─── */
527
454
  .ds-bar-p {
528
455
  display: inline-flex;
529
456
  align-items: center;
@@ -571,8 +498,7 @@
571
498
  }
572
499
 
573
500
  @media (prefers-reduced-motion: reduce) {
574
- .ds-board *,
575
- .ds-bar * {
501
+ .ds-board * {
576
502
  transition-duration: 1ms !important;
577
503
  animation-duration: 1ms !important;
578
504
  }
@@ -8,13 +8,15 @@
8
8
  // 13 `DsBar`: island · 24 px `system` glyph tile · name · `.seg` Light | Dark · Review… as the primary button.
9
9
  // 2.0.7 polish (decision `v2-207-pages-on-ds-canvas`): Canvas | Pages and, in Pages, ‹ n / N › after Light | Dark —
10
10
  // the switch every ordinary canvas has on its pill (canvas-pages-view.tsx), which this canvas does not draw.
11
+ // #225: the bar IS the canvas pill's island (`CanvasTopIsland`) with these controls on its row — the same place in the
12
+ // shell's free top band, the same chrome, the path line above; board.css no longer keeps a copy of the island.
11
13
 
12
14
  import type { ReactNode } from 'react';
13
15
  import { createPortal } from 'react-dom';
14
- import { DsIcon } from '../../canvas-ds-icons.tsx';
15
16
  import { CanvasPagesSwitch } from '../../canvas-pages-view.tsx';
16
17
  import { setCanvasTheme } from '../../canvas-theme.ts';
17
18
  import { THEME_WORD, ThemeIcon } from '../../canvas-theme-icons.tsx';
19
+ import { CanvasTopIsland, TopIslandTitle } from '../../canvas-theme-pill.tsx';
18
20
  import { isEmbedCanvas } from '../../read-only-mode.ts';
19
21
  import { useBoardMode, useBoardModel } from './state.ts';
20
22
  import type { BoardMode, BoardModel } from './types.ts';
@@ -45,17 +47,21 @@ export function DsBarView({
45
47
  const waiting = linked ? null : waitingWords(model.pendingCount);
46
48
  const hasDark = model.themes.dark !== null;
47
49
  return (
48
- <div className="ds-bar" data-testid="ds-bar" role="toolbar" aria-label="Design system">
49
- <span className="ds-bar-ic" aria-hidden="true">
50
- <DsIcon name="system" size={14} />
51
- </span>
52
- <b>{model.label}</b>
53
- <fieldset className="ds-bar-seg" aria-label="Show the system in">
50
+ // #225 — the same island as every canvas's pill (canvas-theme-pill.tsx): placed in the shell's free top band, the
51
+ // canvas's path on its own line above this row; never a second copy of the chrome
52
+ <CanvasTopIsland
53
+ testid="ds-bar"
54
+ ariaLabel="Design system"
55
+ rowTestid="ds-bar-row"
56
+ pathTestid="ds-bar-path"
57
+ >
58
+ <TopIslandTitle name={model.label} />
59
+ <fieldset className="dc-theme-pill-seg" aria-label="Show the system in">
54
60
  {(['light', 'dark'] as const).map((m) => (
55
61
  <button
56
62
  key={m}
57
63
  type="button"
58
- className="ds-bar-b ds-bar-b--ic k-seg-b"
64
+ className="dc-theme-pill-b dc-theme-pill-b--ic"
59
65
  data-testid={`ds-bar-mode-${m}`}
60
66
  aria-pressed={mode === m}
61
67
  aria-label={THEME_WORD[m]}
@@ -96,7 +102,7 @@ export function DsBarView({
96
102
  ) : null}
97
103
  </>
98
104
  ) : null}
99
- </div>
105
+ </CanvasTopIsland>
100
106
  );
101
107
  }
102
108
 
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "$schema": "./whats-new.schema.json",
3
3
  "entries": [
4
+ {
5
+ "id": "ds-screen-fixes-2-2-1",
6
+ "version": "2.2.1",
7
+ "date": "2026-11-12",
8
+ "kind": "fix",
9
+ "title": "Design system screen fixes",
10
+ "summary": "The left panel scrolls again while a Design system is open, and its top bar now sits in the same place as on every canvas, with the path above the buttons.",
11
+ "surface": "design-ui"
12
+ },
4
13
  {
5
14
  "id": "export-and-chat-fixes-2026-11",
6
15
  "version": "2.1.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agh/maude",
3
- "version": "2.1.2",
3
+ "version": "2.2.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": {
@@ -72,13 +72,13 @@
72
72
  "test:e2e:desktop:parity:cloud": "pnpm --filter @maude/desktop-e2e e2e:parity:cloud"
73
73
  },
74
74
  "optionalDependencies": {
75
- "@1agh/maude-darwin-arm64": "2.1.2",
76
- "@1agh/maude-darwin-x64": "2.1.2",
77
- "@1agh/maude-linux-arm64": "2.1.2",
78
- "@1agh/maude-linux-arm64-musl": "2.1.2",
79
- "@1agh/maude-linux-x64": "2.1.2",
80
- "@1agh/maude-linux-x64-musl": "2.1.2",
81
- "@1agh/maude-win32-x64": "2.1.2"
75
+ "@1agh/maude-darwin-arm64": "2.2.1",
76
+ "@1agh/maude-darwin-x64": "2.2.1",
77
+ "@1agh/maude-linux-arm64": "2.2.1",
78
+ "@1agh/maude-linux-arm64-musl": "2.2.1",
79
+ "@1agh/maude-linux-x64": "2.2.1",
80
+ "@1agh/maude-linux-x64-musl": "2.2.1",
81
+ "@1agh/maude-win32-x64": "2.2.1"
82
82
  },
83
83
  "files": [
84
84
  "cli",
@@ -669,9 +669,19 @@
669
669
  "default": "ORBIT_MCP_TOKEN",
670
670
  "description": "Name of the environment variable holding the per-machine bearer token for the tracker's MCP server — used by `provider: orbit`; other providers ignore it. Only the variable NAME is stored here; the token lives in the user's environment and `.mcp.json` references it as `${<tokenEnv>}`. Flow commands check whether it is set — they never read, print or write its value."
671
671
  },
672
+ "attachScreenshots": {
673
+ "type": "boolean",
674
+ "default": true,
675
+ "description": "Only meaningful with `provider: orbit`; other providers ignore it. When not `false`, `/flow:done` attaches 1-6 key screenshots from the scenario report to the task (as a comment saying where to find the change) if the change touches UI, and asks for or records a blocker when a UI change has no screenshot. Set `false` to turn it off."
676
+ },
677
+ "regressionCheck": {
678
+ "type": "boolean",
679
+ "default": true,
680
+ "description": "Only meaningful with `provider: orbit`; other providers ignore it. When not `false`, `/flow:done` looks at the closed parent and linked tasks of the current task (at most 5), takes the scenario names and test paths from their plans that exist in this repo and overlap the branch diff, and re-runs them through `quality.tests` and the scenario runner within a 10 minute budget (scenarios only under `/flow:done --full`, tests otherwise). A failure asks before anything else; a bug task is created only after explicit confirmation. Set `false` to turn it off."
681
+ },
672
682
  "defaults": {
673
683
  "type": "object",
674
- "description": "Free-form project-specific defaults (list IDs, milestone names, custom field IDs, status labels, …). Generic commands pass this object through to MCP calls untouched. Schema-free on purpose — your tracker's idiosyncrasies belong here, not in the plugin.",
684
+ "description": "Free-form project-specific defaults (list IDs, milestone names, custom field IDs, status labels, …). Generic commands pass this object through to MCP calls untouched. `doneStatus` (status name or category, default `done`) is the status `/flow:done` sets at close; flow never moves a task further than it. Schema-free on purpose — your tracker's idiosyncrasies belong here, not in the plugin.",
675
685
  "additionalProperties": true
676
686
  },
677
687
  "artifacts": {