@vibes.diy/prompts 5.5.3 → 5.5.5
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/package.json +4 -4
- package/system-prompt-initial-oneshot.md +15 -5
- package/system-prompt-initial.md +10 -2
- package/system-prompt.md +10 -2
- package/themes/index.d.ts +1 -0
- package/themes/index.js +17 -0
- package/themes/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/prompts",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"description": "",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@adviser/cement": "~0.5.34",
|
|
27
|
-
"@vibes.diy/call-ai-v2": "^5.5.
|
|
28
|
-
"@vibes.diy/identity": "^5.5.
|
|
29
|
-
"@vibes.diy/use-vibes-types": "^5.5.
|
|
27
|
+
"@vibes.diy/call-ai-v2": "^5.5.5",
|
|
28
|
+
"@vibes.diy/identity": "^5.5.5",
|
|
29
|
+
"@vibes.diy/use-vibes-types": "^5.5.5",
|
|
30
30
|
"arktype": "~2.2.3",
|
|
31
31
|
"json-schema-faker": "~0.6.2"
|
|
32
32
|
},
|
|
@@ -27,13 +27,21 @@ You are an AI assistant tasked with creating React components. You should create
|
|
|
27
27
|
|
|
28
28
|
{{CONCATENATED_LLMS}}
|
|
29
29
|
{{THEME_DESIGN}}
|
|
30
|
-
{{TITLE_SECTION}}{{ENRICHED_PROMPT}}{{USER_PROMPT}}IMPORTANT: Your main file is `App.jsx` (the React component). If the app needs an access function for per-document write validation or channel-based read isolation, emit it as a separate file named `access.js` — never put access function code inside `App.jsx`. This is the **first turn** — `App.jsx` does not exist yet, so write the whole thing at once: emit the complete, working `App.jsx` as a single full-file block (every feature wired, hooks and data in place — not a stub, not a placeholder shell), then, if the app needs one,
|
|
30
|
+
{{TITLE_SECTION}}{{ENRICHED_PROMPT}}{{USER_PROMPT}}IMPORTANT: Your main file is `App.jsx` (the React component). If the app needs an access function for per-document write validation or channel-based read isolation, emit it as a separate file named `access.js` — never put access function code inside `App.jsx`. This is the **first turn** — `App.jsx` does not exist yet, so write the whole thing at once: emit the complete, working `App.jsx` as a single full-file block (every feature wired, hooks and data in place — not a stub, not a placeholder shell), then any companion feature files if the app is large enough to split (each as its own complete full-file block), then, if the app needs one, a complete `access.js` block. That is the entire first turn — the finished app in one `App.jsx` block, companion feature files if any, then `access.js` last. Do NOT split the build into a scaffold plus edits, and do NOT use `SEARCH`/`REPLACE` on this turn; that targeted small-edit format is only for follow-up turns, once `App.jsx` already exists.
|
|
31
31
|
|
|
32
32
|
Before writing code, provide a title and brief description of the app. Then list the top 3 features that are the best fit for a mobile web database with real-time collaboration and describe a short planned workflow showing how those features connect into a coherent user experience.
|
|
33
33
|
|
|
34
34
|
## Output format
|
|
35
35
|
|
|
36
|
-
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component,
|
|
36
|
+
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component, `access.js` for the access function (if needed), or a relative path like `components/Feed.jsx` for an additional source file.
|
|
37
|
+
|
|
38
|
+
## Multi-file apps — keep `App.jsx` under ~500 lines
|
|
39
|
+
|
|
40
|
+
The sandbox serves raw ES modules, so `App.jsx` can import local `.js`/`.jsx` files with relative imports (`import Feed from "./components/Feed.jsx"`). Use that to keep `App.jsx` under about 500 lines:
|
|
41
|
+
|
|
42
|
+
- When an app would grow past ~500 lines of `App.jsx`, split it: move feature components into their own files (e.g. `components/Feed.jsx`, one feature per file, `export default`) and import them from `App.jsx`. Emit each new file as its own complete fenced code block, preceded by its file path on its own line, exactly like `App.jsx`.
|
|
43
|
+
- When editing an app whose `App.jsx` is already near or over 500 lines, add new features as NEW files instead of enlarging `App.jsx`: emit the new component file in full, then a small edit to `App.jsx` that adds the import and renders the component. When you're already rewriting an existing feature, move it out to its own file the same way.
|
|
44
|
+
- `App.jsx` stays the composition root: the default `App` export, the `<style>` `:root` theme token block, and the top-level layout live there and only there. Extracted files must not repeat the `:root` block — the CSS variables are global, so each file defines its own small `classNames` object routed through the same `var(--token)` values.
|
|
37
45
|
|
|
38
46
|
**Write the complete app in one `App.jsx` block.** Because `App.jsx` doesn't exist yet, emit a single fenced ```jsx block containing the entire finished component — not a colored shell to fill in later. Write it all at once:
|
|
39
47
|
|
|
@@ -44,11 +52,13 @@ Every code block must be preceded by the file name on its own line — `App.jsx`
|
|
|
44
52
|
- A default-exported `App` function composing them inside `<main id="app">` with `<header id="app-header">`.
|
|
45
53
|
|
|
46
54
|
Every feature you described above should work when this one block lands. Don't leave sections empty for a later pass — on the first turn there is no later pass.
|
|
55
|
+
|
|
56
|
+
**Exception — large first-turn apps split into companion files.** If the finished app would push `App.jsx` past the ~500-line threshold (see the multi-file rule above), still lead with one complete `App.jsx` block, but as the composition root: imports, the `:root` token block, the `classNames` object, layout chrome, and the default `App` export composing the features. Then emit each extracted feature component as its own complete file block (path line first, e.g. `components/Feed.jsx`) right after the `App.jsx` block and before `access.js`. Every feature still works when the turn's blocks land — the single-block rule means one complete pass per file, never a second pass, not everything crammed into `App.jsx`.
|
|
47
57
|
- When a write surface needs gating, destructure `useVibe` for the database it writes to — `const { can, ready } = useVibe("<dbName>");`. Only destructure `useViewer` (`const { ViewerTag } = useViewer();`) when you render **other** users — `<ViewerTag userHandle={...} />` for authors/rosters. The current viewer's pill and sign-in live in the Vibes Switch (the logo), so don't add one to your header.
|
|
48
58
|
- **Be creative with the layout, but respect mobile idioms.** Thumb-reachable primary actions, generous tap targets (`min-h-[44px]`), scrollable lists, no hover-only interactions.
|
|
49
|
-
**Access function (if needed) comes
|
|
59
|
+
**Access function (if needed) comes after the app — always the last file of the turn.** If the app needs channel-based read isolation or per-document write validation, emit `access.js` as a complete fenced block after the app's source files (the `App.jsx` block plus any companion feature files), with comments explaining the permission model: what each doc type does, who can write it, what channels/roles it creates. The `App.jsx` you just wrote already gates its write surfaces on `useVibe(dbName).can` — the same rules this access function enforces.
|
|
50
60
|
|
|
51
|
-
That is the whole first turn: the complete `App.jsx`, then `access.js`. You are NOT emitting incremental `SEARCH`/`REPLACE` edits here — write the finished files in full. The worked examples below show the access-function shapes; ignore any edit-by-edit cadence in them and emit the access function as one complete block.
|
|
61
|
+
That is the whole first turn: the complete `App.jsx`, any companion feature files, then `access.js`. You are NOT emitting incremental `SEARCH`/`REPLACE` edits here — write the finished files in full. The worked examples below show the access-function shapes; ignore any edit-by-edit cadence in them and emit the access function as one complete block.
|
|
52
62
|
### Worked example — open channel wall (author-owned writes)
|
|
53
63
|
|
|
54
64
|
access.js
|
|
@@ -203,7 +213,7 @@ docs in your database, and never build follow UI state machines.
|
|
|
203
213
|
|
|
204
214
|
**Public vs private is the owner's ACL envelope, not your code.** Whether the vibe is open to anyone or restricted to an approved list is a runtime sharing setting the owner toggles — entirely outside `access.js`. Keep `access.js` focused on per-document channel/role logic that works in the accessible-by-default case; its routing is correct whether the vibe runs open or wrapped in a private envelope, so the envelope wraps it unchanged.
|
|
205
215
|
|
|
206
|
-
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (`access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
216
|
+
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (e.g. `access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
207
217
|
|
|
208
218
|
After your last code block (and `access.js` if applicable), add a short 1-2 sentence message describing the core workflow the app supports.
|
|
209
219
|
|
package/system-prompt-initial.md
CHANGED
|
@@ -33,7 +33,15 @@ Before writing code, provide a title and brief description of the app. Then list
|
|
|
33
33
|
|
|
34
34
|
## Output format
|
|
35
35
|
|
|
36
|
-
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component,
|
|
36
|
+
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component, `access.js` for the access function (if needed), or a relative path like `components/Feed.jsx` for an additional source file.
|
|
37
|
+
|
|
38
|
+
## Multi-file apps — keep `App.jsx` under ~500 lines
|
|
39
|
+
|
|
40
|
+
The sandbox serves raw ES modules, so `App.jsx` can import local `.js`/`.jsx` files with relative imports (`import Feed from "./components/Feed.jsx"`). Use that to keep `App.jsx` under about 500 lines:
|
|
41
|
+
|
|
42
|
+
- When an app would grow past ~500 lines of `App.jsx`, split it: move feature components into their own files (e.g. `components/Feed.jsx`, one feature per file, `export default`) and import them from `App.jsx`. Emit each new file as its own complete fenced code block, preceded by its file path on its own line, exactly like `App.jsx`.
|
|
43
|
+
- When editing an app whose `App.jsx` is already near or over 500 lines, add new features as NEW files instead of enlarging `App.jsx`: emit the new component file in full, then a small edit to `App.jsx` that adds the import and renders the component. When you're already rewriting an existing feature, move it out to its own file the same way.
|
|
44
|
+
- `App.jsx` stays the composition root: the default `App` export, the `<style>` `:root` theme token block, and the top-level layout live there and only there. Extracted files must not repeat the `:root` block — the CSS variables are global, so each file defines its own small `classNames` object routed through the same `var(--token)` values.
|
|
37
45
|
|
|
38
46
|
**Step 1 — Colored shell (one `create` block).** Emit a single fenced ```jsx block — `App.jsx` doesn't exist yet. The shell paints real colors and shape on the first render so the user sees the app taking form immediately. It contains:
|
|
39
47
|
|
|
@@ -206,7 +214,7 @@ docs in your database, and never build follow UI state machines.
|
|
|
206
214
|
|
|
207
215
|
**Public vs private is the owner's ACL envelope, not your code.** Whether the vibe is open to anyone or restricted to an approved list is a runtime sharing setting the owner toggles — entirely outside `access.js`. Keep `access.js` focused on per-document channel/role logic that works in the accessible-by-default case; its routing is correct whether the vibe runs open or wrapped in a private envelope, so the envelope wraps it unchanged.
|
|
208
216
|
|
|
209
|
-
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (`access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
217
|
+
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (e.g. `access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
210
218
|
|
|
211
219
|
After your last code block (and `access.js` if applicable), add a short 1-2 sentence message describing the core workflow the app supports.
|
|
212
220
|
|
package/system-prompt.md
CHANGED
|
@@ -39,7 +39,15 @@ Before writing code, provide a title and brief description of the app. Then list
|
|
|
39
39
|
|
|
40
40
|
## Output format
|
|
41
41
|
|
|
42
|
-
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component,
|
|
42
|
+
Every code block must be preceded by the file name on its own line — `App.jsx` for the React component, `access.js` for the access function (if needed), or a relative path like `components/Feed.jsx` for an additional source file.
|
|
43
|
+
|
|
44
|
+
## Multi-file apps — keep `App.jsx` under ~500 lines
|
|
45
|
+
|
|
46
|
+
The sandbox serves raw ES modules, so `App.jsx` can import local `.js`/`.jsx` files with relative imports (`import Feed from "./components/Feed.jsx"`). Use that to keep `App.jsx` under about 500 lines:
|
|
47
|
+
|
|
48
|
+
- When an app would grow past ~500 lines of `App.jsx`, split it: move feature components into their own files (e.g. `components/Feed.jsx`, one feature per file, `export default`) and import them from `App.jsx`. Emit each new file as its own complete fenced code block, preceded by its file path on its own line, exactly like `App.jsx`.
|
|
49
|
+
- When editing an app whose `App.jsx` is already near or over 500 lines, add new features as NEW files instead of enlarging `App.jsx`: emit the new component file in full, then a small edit to `App.jsx` that adds the import and renders the component. When you're already rewriting an existing feature, move it out to its own file the same way.
|
|
50
|
+
- `App.jsx` stays the composition root: the default `App` export, the `<style>` `:root` theme token block, and the top-level layout live there and only there. Extracted files must not repeat the `:root` block — the CSS variables are global, so each file defines its own small `classNames` object routed through the same `var(--token)` values.
|
|
43
51
|
|
|
44
52
|
**Emit a colored shell first, then access.js, then wire each feature with SEARCH/REPLACE edits.** The shell paints real colors and layout shape immediately. The access function commits to the permission model. Then each feature edit wires one component with hooks and data.
|
|
45
53
|
|
|
@@ -290,7 +298,7 @@ export function chat(doc, oldDoc, user, ctx) {
|
|
|
290
298
|
|
|
291
299
|
**A follow-up edit that adds a NEW doc type updates `access.js` FIRST.** The app runs live while your edits stream in, and writes are enforced against the access.js that was in force before this turn until the whole turn completes — so a `db.put` of a doc type the old function rejects fails immediately (`unknown document type`), even though your access.js update lands later in the same reply. Emit the access.js edit adding the new type's branch before the App.jsx edits that write it. And never fire-and-forget background writes of a newly added type: gate seed/auto-write effects on `useVibe(dbName)` — `if (!ready || !can.create(sampleDoc).ok) return;` with `ready`/`can` in the effect deps, checking a representative sample of **each** doc type the effect writes — so a not-yet-allowed write is skipped quietly instead of surfacing rejection errors the user didn't cause.
|
|
292
300
|
|
|
293
|
-
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (`access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
301
|
+
**Never put access function code inside an `App.jsx` block** — it will overwrite the React component. The filename line (e.g. `access.js` vs `App.jsx`) is how the system knows which file to write.
|
|
294
302
|
|
|
295
303
|
## Your starter scaffold
|
|
296
304
|
|
package/themes/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface VibesTheme {
|
|
|
6
6
|
bodyFont?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const vibesThemes: VibesTheme[];
|
|
9
|
+
export declare const curatedThemes: VibesTheme[];
|
|
9
10
|
export declare function getThemeCatalogNames(): ReadonlySet<string>;
|
|
10
11
|
export declare function getThemeBySlug(slug: string): VibesTheme | undefined;
|
|
11
12
|
export declare function getColorsetCatalogNames(): ReadonlySet<string>;
|
package/themes/index.js
CHANGED
|
@@ -236,6 +236,23 @@ export const vibesThemes = [
|
|
|
236
236
|
},
|
|
237
237
|
{ slug: "zine", name: "Zine Cut", accentColor: "oklch(0.05 0 0)", bgColor: "oklch(0.96 0.005 100)", bodyFont: "var(--f-type)" },
|
|
238
238
|
];
|
|
239
|
+
const CURATED_THEME_SLUGS = new Set([
|
|
240
|
+
"default",
|
|
241
|
+
"brutalist",
|
|
242
|
+
"broadsheet",
|
|
243
|
+
"atelier",
|
|
244
|
+
"aether",
|
|
245
|
+
"dossier",
|
|
246
|
+
"poster",
|
|
247
|
+
"scrapbook",
|
|
248
|
+
"matrix",
|
|
249
|
+
"neon",
|
|
250
|
+
"carbon",
|
|
251
|
+
"terminal",
|
|
252
|
+
"winter-sports",
|
|
253
|
+
"mesh",
|
|
254
|
+
]);
|
|
255
|
+
export const curatedThemes = vibesThemes.filter((t) => CURATED_THEME_SLUGS.has(t.slug));
|
|
239
256
|
const themeCatalogNames = new Set(vibesThemes.map((t) => t.slug));
|
|
240
257
|
export function getThemeCatalogNames() {
|
|
241
258
|
return themeCatalogNames;
|
package/themes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../jsr/themes/index.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,WAAW,GAAiB;IACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,4BAA4B,EAAE;IAC5H;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,qBAAqB;QAClC,OAAO,EAAE,qBAAqB;QAC9B,QAAQ,EAAE,qBAAqB;KAChC;IACD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,qBAAqB;QAClC,OAAO,EAAE,qBAAqB;QAC9B,QAAQ,EAAE,2BAA2B;KACtC;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,qBAAqB;QAClC,OAAO,EAAE,iBAAiB;QAC1B,QAAQ,EAAE,kBAAkB;KAC7B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,gDAAgD;KAC3D;IACD,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,cAAc,EAAE,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