@marver-design/marver 0.15.0 → 0.16.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.
- package/CHANGELOG.md +101 -0
- package/README.md +2 -1
- package/dist/boards-BmxcT3Lc.mjs +290 -0
- package/dist/boards-PuVzw5Wp.mjs +62 -0
- package/dist/{build-DfuTQZlY.mjs → build-B4yPgFNF.mjs} +72 -29
- package/dist/cli.mjs +33 -13
- package/dist/{daemon-DalgvoA9.mjs → daemon-Bbh_jmui.mjs} +1 -1
- package/dist/{dev-BxCmeU_H.mjs → dev-DH2W7Ffw.mjs} +4 -4
- package/dist/{init-QKNi9gvF.mjs → init-B7YhcN2o.mjs} +6 -3
- package/dist/{manifest-BzxSMoDB.mjs → manifest-CaslQIAO.mjs} +175 -12
- package/dist/{plugin-DJyjmQeh.mjs → plugin-BeBGu3gH.mjs} +239 -82
- package/dist/{poster-CbpzSzJu.mjs → poster-CoyobbGW.mjs} +1 -1
- package/dist/{shot-BWhoz6cU.mjs → shot-z-d-zMzf.mjs} +2 -2
- package/docs/publish.md +4 -1
- package/package.json +1 -1
- package/src/client/shell/App.tsx +45 -259
- package/src/client/shell/BoardList.tsx +438 -0
- package/src/client/shell/ContextMenu.tsx +59 -0
- package/src/client/shell/LockedApp.tsx +2 -1
- package/src/client/shell/Play.tsx +1 -0
- package/src/client/shell/icons.tsx +6 -0
- package/src/client/shell/labels.ts +4 -4
- package/src/client/shell/store.ts +156 -51
- package/src/client/shell/styles.css +40 -4
- package/src/shared/board-tree.ts +343 -0
- package/templates/AGENTS-embedded.md +25 -5
- package/templates/AGENTS-studio.md +25 -5
- package/templates/instructions/boards.md +91 -2
- package/templates/instructions/craft.md +4 -0
- package/templates/instructions/discover.md +20 -3
- package/templates/instructions/iterate.md +5 -4
- package/templates/instructions/review.md +4 -0
- package/templates/instructions/shape.md +1 -1
- package/templates/instructions/welcome.md +4 -1
- package/templates/instructions/wireframe.md +3 -0
- package/dist/{comments-DHB_8BRa.mjs → comments-oYcZ3cE-.mjs} +1 -1
|
@@ -60,7 +60,7 @@ detection is lexical), and declare `intent` on every content frame:
|
|
|
60
60
|
```tsx
|
|
61
61
|
import { Doc, Row, Col, Md, Diagram, Img, Chart } from '@marver-design/marver/content'
|
|
62
62
|
|
|
63
|
-
export const meta = { title: 'Checkout - how it works', intent: 'diagram' }
|
|
63
|
+
export const meta = { title: 'Checkout - how it works', intent: 'diagram', description: 'The agreed flow, five screens - the source for the wireframes' }
|
|
64
64
|
|
|
65
65
|
export default () => (
|
|
66
66
|
<Doc layout="wide">
|
|
@@ -61,7 +61,10 @@ without narrating into the void; your next message is the reveal.
|
|
|
61
61
|
State your understanding of the product in 2-3 sentences, ask "did I get
|
|
62
62
|
that right?" - then STOP: no further tool calls, end your turn, resume when
|
|
63
63
|
the human replies. (Only exception: they explicitly asked for unattended
|
|
64
|
-
execution - assume, mark UNCONFIRMED, surface it first.)
|
|
64
|
+
execution - assume, mark UNCONFIRMED, surface it first.) Once they confirm,
|
|
65
|
+
write that understanding as one sentence into `description` in
|
|
66
|
+
design/config.ts - the project's line in design/manifest.json, the first
|
|
67
|
+
thing every later session reads.
|
|
65
68
|
2. **Confirm the stack aloud - what detection ACTUALLY found.** Read AGENTS.md's
|
|
66
69
|
UI line and design/theme.css and narrate the reality, for example: "Tailwind
|
|
67
70
|
+ shadcn/ui; brand tokens in <file>; design/theme.css imports them." No
|
|
@@ -14,6 +14,9 @@ lands on what is actually being decided.
|
|
|
14
14
|
|
|
15
15
|
## The rules (strict)
|
|
16
16
|
|
|
17
|
+
0. **Every frame says what it is.** `meta.title` and `meta.description` (one sentence:
|
|
18
|
+
the screen's job, and "wireframe" while it is one) - the manifest carries them, so
|
|
19
|
+
a later session knows the lo-fi from the hi-fi without opening files.
|
|
17
20
|
1. **Throwaway code is correct here.** Plain divs, inline layout, one file per frame.
|
|
18
21
|
Do NOT build proper components for wireframes and do NOT touch the app's
|
|
19
22
|
`components/` directory - lo-fi structure hardening into real components is how
|
|
@@ -4,8 +4,8 @@ import { i as readLog, r as listBoards, t as appendEvents } from "./comments-DZy
|
|
|
4
4
|
import { a as syncOnce, i as loadCollab, n as connectClaim, r as connectToken, t as connect } from "./sync-BZaCWqK-.mjs";
|
|
5
5
|
import { n as localProfile } from "./profile-BjAPAJSb.mjs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
|
-
import { createInterface } from "node:readline";
|
|
8
7
|
import { randomUUID } from "node:crypto";
|
|
8
|
+
import { createInterface } from "node:readline";
|
|
9
9
|
//#region src/cli/comments.ts
|
|
10
10
|
/**
|
|
11
11
|
* `marver comments <action>` - the collaboration CLI.
|