@vibes.diy/prompts 14.3.204 → 14.3.206
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/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/llms/backend.md +17 -1
- package/llms/github.md +5 -0
- package/llms/stripe-subscriptions.js +1 -1
- package/llms/stripe-subscriptions.js.map +1 -1
- package/llms/stripe-subscriptions.md +179 -35
- package/llms/stripe.js +21 -1
- package/llms/stripe.js.map +1 -1
- package/llms/stripe.md +245 -56
- package/llms/touch-games.md +38 -6
- package/llms/types.d.ts +2 -0
- package/llms/ui-storefront.js +1 -1
- package/llms/ui-storefront.js.map +1 -1
- package/llms/ui-storefront.md +326 -151
- package/llms/voxel.md +8 -9
- package/package.json +5 -5
- package/system-prompt-initial-oneshot.md +1 -1
- package/system-prompt-initial.md +1 -1
- package/system-prompt.md +1 -1
- package/look-restyle.d.ts +0 -49
- package/look-restyle.js +0 -199
- package/look-restyle.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/prompts",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.206",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"exports": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@adviser/cement": "~0.5.34",
|
|
42
|
-
"@vibes.diy/api-types": "14.3.
|
|
43
|
-
"@vibes.diy/call-ai-v2": "14.3.
|
|
44
|
-
"@vibes.diy/identity": "14.3.
|
|
45
|
-
"@vibes.diy/use-vibes-types": "14.3.
|
|
42
|
+
"@vibes.diy/api-types": "14.3.206",
|
|
43
|
+
"@vibes.diy/call-ai-v2": "14.3.206",
|
|
44
|
+
"@vibes.diy/identity": "14.3.206",
|
|
45
|
+
"@vibes.diy/use-vibes-types": "14.3.206",
|
|
46
46
|
"arktype": "~2.2.8",
|
|
47
47
|
"json-schema-faker": "~0.6.3"
|
|
48
48
|
},
|
|
@@ -455,7 +455,7 @@ Rules for the items:
|
|
|
455
455
|
|
|
456
456
|
A second visitor should arrive at a party, not a parking lot: within five seconds of the app opening there is something to react to — seeded life, a visible trace of activity, one obvious fun thing to do. Build that in by default — except where noted, private-by-nature apps (a diary, journal, health/finance log — anything whose core purpose is personal record-keeping) and strictly solo tools skip the social bullets and get their aliveness from vivid copy and motion instead:
|
|
457
457
|
|
|
458
|
-
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the person asks for the examples or
|
|
458
|
+
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the builder adds it to a first build that reads better full, the person asks for the examples, or they tap the seed option — so it ships whether the request is open-ended or specified, whether the records are shared or private-by-nature (a diary's seed is a few vivid entries nobody but the demo ever sees), and whether the owner authors the content for others — a menu, a price list, a schedule — or keeps it for themselves. What the request's specificity sets is the screen, not the file: a specified request opens empty and ready for the person's first entry while its demo lives in `seed.json`, and an open-ended one opens showing a world already in motion rather than a form asking to be filled. The one app with no seed is a stateless toy that stores nothing — a sound toy, a sandbox that saves no record. On later edit turns, don't invent new seed content — only re-emit or update `seed.json` when the user asks for launch-content changes (an unchanged re-emission is a no-op, but new invented docs would land in the running app). Seed docs are written **as the owner** at launch, and applying them stamps nothing on a record, so personality lives in content fields (titles, descriptions, names) while a record keyed on its writer (`authorHandle`, `creatorHandle`, `hostHandle`) carries `"@owner"` — the platform fills in the owner's handle, the value the app's rules compare against the writer.
|
|
459
459
|
- **Generated images as content, not decoration.** Where pictures naturally belong (avatars, covers, cards, monsters, prizes), render them with `<ImgGen>` and a vivid specific prompt — never a placeholder box or a generic prompt like "an image".
|
|
460
460
|
- **Motion on state changes.** Small fast transitions (150–300ms) when things appear, complete, or score — enough that actions feel acknowledged, not a light show.
|
|
461
461
|
- **Empty states invite, they don't announce.** "Draw the first monster" with the button right there, not "No data yet".
|
package/system-prompt-initial.md
CHANGED
|
@@ -457,7 +457,7 @@ Rules for the items:
|
|
|
457
457
|
|
|
458
458
|
A second visitor should arrive at a party, not a parking lot: within five seconds of the app opening there is something to react to — seeded life, a visible trace of activity, one obvious fun thing to do. Build that in by default — except where noted, private-by-nature apps (a diary, journal, health/finance log — anything whose core purpose is personal record-keeping) and strictly solo tools skip the social bullets and get their aliveness from vivid copy and motion instead:
|
|
459
459
|
|
|
460
|
-
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the person asks for the examples or
|
|
460
|
+
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the builder adds it to a first build that reads better full, the person asks for the examples, or they tap the seed option — so it ships whether the request is open-ended or specified, whether the records are shared or private-by-nature (a diary's seed is a few vivid entries nobody but the demo ever sees), and whether the owner authors the content for others — a menu, a price list, a schedule — or keeps it for themselves. What the request's specificity sets is the screen, not the file: a specified request opens empty and ready for the person's first entry while its demo lives in `seed.json`, and an open-ended one opens showing a world already in motion rather than a form asking to be filled. The one app with no seed is a stateless toy that stores nothing — a sound toy, a sandbox that saves no record. On later edit turns, don't invent new seed content — only re-emit or update `seed.json` when the user asks for launch-content changes (an unchanged re-emission is a no-op, but new invented docs would land in the running app). Seed docs are written **as the owner** at launch, and applying them stamps nothing on a record, so personality lives in content fields (titles, descriptions, names) while a record keyed on its writer (`authorHandle`, `creatorHandle`, `hostHandle`) carries `"@owner"` — the platform fills in the owner's handle, the value the app's rules compare against the writer.
|
|
461
461
|
- **Generated images as content, not decoration.** Where pictures naturally belong (avatars, covers, cards, monsters, prizes), render them with `<ImgGen>` and a vivid specific prompt — never a placeholder box or a generic prompt like "an image".
|
|
462
462
|
- **Motion on state changes.** Small fast transitions (150–300ms) when things appear, complete, or score — enough that actions feel acknowledged, not a light show.
|
|
463
463
|
- **Empty states invite, they don't announce.** "Draw the first monster" with the button right there, not "No data yet".
|
package/system-prompt.md
CHANGED
|
@@ -762,7 +762,7 @@ Rules for the items:
|
|
|
762
762
|
|
|
763
763
|
A second visitor should arrive at a party, not a parking lot: within five seconds of the app opening there is something to react to — seeded life, a visible trace of activity, one obvious fun thing to do. Build that in by default — except where noted, private-by-nature apps (a diary, journal, health/finance log — anything whose core purpose is personal record-keeping) and strictly solo tools skip the social bullets and get their aliveness from vivid copy and motion instead:
|
|
764
764
|
|
|
765
|
-
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the person asks for the examples or
|
|
765
|
+
- **Every first build of an app that holds records ships a `seed.json` demo.** On the turn that first creates the app, emit a `seed.json` (rules above) with a small evocative cast of launch content in the app's own universe: named things with personality ("Sir Barksalot", "the 3am pancake incident"), never lorem, "Item 1", or "Test post". The file is the demo — the platform's screenshot renders it in a sandbox database, and it reaches the live app only when the builder adds it to a first build that reads better full, the person asks for the examples, or they tap the seed option — so it ships whether the request is open-ended or specified, whether the records are shared or private-by-nature (a diary's seed is a few vivid entries nobody but the demo ever sees), and whether the owner authors the content for others — a menu, a price list, a schedule — or keeps it for themselves. What the request's specificity sets is the screen, not the file: a specified request opens empty and ready for the person's first entry while its demo lives in `seed.json`, and an open-ended one opens showing a world already in motion rather than a form asking to be filled. The one app with no seed is a stateless toy that stores nothing — a sound toy, a sandbox that saves no record. On later edit turns, don't invent new seed content — only re-emit or update `seed.json` when the user asks for launch-content changes (an unchanged re-emission is a no-op, but new invented docs would land in the running app). Seed docs are written **as the owner** at launch, and applying them stamps nothing on a record, so personality lives in content fields (titles, descriptions, names) while a record keyed on its writer (`authorHandle`, `creatorHandle`, `hostHandle`) carries `"@owner"` — the platform fills in the owner's handle, the value the app's rules compare against the writer.
|
|
766
766
|
- **Generated images as content, not decoration.** Where pictures naturally belong (avatars, covers, cards, monsters, prizes), render them with `<ImgGen>` and a vivid specific prompt — never a placeholder box or a generic prompt like "an image".
|
|
767
767
|
- **Motion on state changes.** Small fast transitions (150–300ms) when things appear, complete, or score — enough that actions feel acknowledged, not a light show.
|
|
768
768
|
- **Empty states invite, they don't announce.** "Draw the first monster" with the button right there, not "No data yet".
|
package/look-restyle.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export interface LookDirection {
|
|
2
|
-
readonly colorway: string;
|
|
3
|
-
readonly mode: "light" | "dark";
|
|
4
|
-
readonly headingFont: string;
|
|
5
|
-
readonly bodyFont: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const LOOK_DIRECTIONS: readonly LookDirection[];
|
|
8
|
-
export interface LookColours {
|
|
9
|
-
readonly background: string;
|
|
10
|
-
readonly surface: string;
|
|
11
|
-
readonly textPrimary: string;
|
|
12
|
-
readonly textSecondary: string;
|
|
13
|
-
readonly border: string;
|
|
14
|
-
readonly primary: string;
|
|
15
|
-
readonly accent: string;
|
|
16
|
-
}
|
|
17
|
-
export interface ResolvedLookDirection extends LookDirection {
|
|
18
|
-
readonly name: string;
|
|
19
|
-
readonly colours: LookColours;
|
|
20
|
-
}
|
|
21
|
-
export declare function resolveLookDirection(d: LookDirection): ResolvedLookDirection | undefined;
|
|
22
|
-
export interface CurrentLook {
|
|
23
|
-
readonly colorway?: string;
|
|
24
|
-
readonly page?: string;
|
|
25
|
-
readonly accent?: string;
|
|
26
|
-
readonly font?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare function pickLookDirections(current: CurrentLook, count?: number): readonly ResolvedLookDirection[];
|
|
29
|
-
export declare function lookDirectionText(d: ResolvedLookDirection): string;
|
|
30
|
-
export declare const LOOK_STYLE_DIRECTION_LEAD = "Style direction: ";
|
|
31
|
-
export declare const LOOK_PAINT_NOT_TEXT = "The colour values and font names in the style direction are paint for you to use, never words: do not write them, or any word that is not already in the screenshot, anywhere in the image.";
|
|
32
|
-
export declare function lookRestyleRenderPrompt(d: ResolvedLookDirection): string;
|
|
33
|
-
export interface LookPickData {
|
|
34
|
-
readonly colorway: string;
|
|
35
|
-
readonly mode: "light" | "dark";
|
|
36
|
-
readonly headingFont: string;
|
|
37
|
-
readonly bodyFont: string;
|
|
38
|
-
}
|
|
39
|
-
export declare const LOOK_PICK_PREFIX = "Restyle only \u2014 ";
|
|
40
|
-
export declare const LOOK_PICK_DATA_LEAD = "look: ";
|
|
41
|
-
export declare function lookPickFileName(n: number): string;
|
|
42
|
-
export declare function lookPickText(args: {
|
|
43
|
-
readonly name: string;
|
|
44
|
-
readonly data: LookPickData;
|
|
45
|
-
}): string;
|
|
46
|
-
export declare function parseLookPickText(text: string): LookPickData | undefined;
|
|
47
|
-
export declare function isLookPickFileName(name: string): boolean;
|
|
48
|
-
export declare function isLookPickMessage(content: readonly unknown[]): boolean;
|
|
49
|
-
export declare const LOOK_RESTYLE_INSTRUCTION: string;
|
package/look-restyle.js
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { exception2Result } from "@adviser/cement";
|
|
2
|
-
import { type } from "arktype";
|
|
3
|
-
import { lazyType } from "@vibes.diy/api-types/lazy-type";
|
|
4
|
-
import { cssToHex } from "./themes/color-math.js";
|
|
5
|
-
import { getVibeFont } from "./themes/fonts.js";
|
|
6
|
-
import { generatePalette } from "./themes/palette-gen.js";
|
|
7
|
-
import { oklabDistance } from "./themes/pouf-rooms.js";
|
|
8
|
-
import { getStylePreset } from "./themes/style-presets.js";
|
|
9
|
-
export const LOOK_DIRECTIONS = [
|
|
10
|
-
{ colorway: "atelier", mode: "light", headingFont: "playfair-display", bodyFont: "lora" },
|
|
11
|
-
{ colorway: "matrix", mode: "dark", headingFont: "vt323", bodyFont: "vt323" },
|
|
12
|
-
{ colorway: "neon", mode: "dark", headingFont: "rajdhani", bodyFont: "rajdhani" },
|
|
13
|
-
{ colorway: "brutalist", mode: "light", headingFont: "space-grotesk", bodyFont: "jetbrains-mono" },
|
|
14
|
-
{ colorway: "broadsheet", mode: "light", headingFont: "bebas-neue", bodyFont: "helvetica" },
|
|
15
|
-
{ colorway: "carbon", mode: "dark", headingFont: "inter", bodyFont: "jetbrains-mono" },
|
|
16
|
-
{ colorway: "scrapbook", mode: "light", headingFont: "source-serif-4", bodyFont: "dm-sans" },
|
|
17
|
-
{ colorway: "house", mode: "light", headingFont: "nunito", bodyFont: "nunito" },
|
|
18
|
-
{ colorway: "peach", mode: "light", headingFont: "nunito", bodyFont: "nunito" },
|
|
19
|
-
{ colorway: "lilac", mode: "light", headingFont: "nunito", bodyFont: "dm-sans" },
|
|
20
|
-
{ colorway: "rose", mode: "dark", headingFont: "playfair-display", bodyFont: "dm-sans" },
|
|
21
|
-
{ colorway: "mint", mode: "light", headingFont: "dm-sans", bodyFont: "dm-sans" },
|
|
22
|
-
{ colorway: "aqua", mode: "dark", headingFont: "space-grotesk", bodyFont: "inter" },
|
|
23
|
-
{ colorway: "celery", mode: "light", headingFont: "lora", bodyFont: "nunito" },
|
|
24
|
-
{ colorway: "periwinkle", mode: "light", headingFont: "inter", bodyFont: "inter" },
|
|
25
|
-
];
|
|
26
|
-
export function resolveLookDirection(d) {
|
|
27
|
-
const preset = getStylePreset(d.colorway);
|
|
28
|
-
if (preset === undefined)
|
|
29
|
-
return undefined;
|
|
30
|
-
const palette = generatePalette(preset.palette);
|
|
31
|
-
const c = d.mode === "dark" ? palette.dark : palette.light;
|
|
32
|
-
const background = cssToHex(c.background);
|
|
33
|
-
const surface = cssToHex(c.surface) ?? background;
|
|
34
|
-
const textPrimary = cssToHex(c["text-primary"]);
|
|
35
|
-
const textSecondary = cssToHex(c["text-secondary"]) ?? textPrimary;
|
|
36
|
-
const border = cssToHex(c.border) ?? textSecondary;
|
|
37
|
-
const primary = cssToHex(c.primary);
|
|
38
|
-
const accent = cssToHex(c.accent) ?? primary;
|
|
39
|
-
if (background === undefined ||
|
|
40
|
-
surface === undefined ||
|
|
41
|
-
textPrimary === undefined ||
|
|
42
|
-
textSecondary === undefined ||
|
|
43
|
-
border === undefined ||
|
|
44
|
-
primary === undefined ||
|
|
45
|
-
accent === undefined) {
|
|
46
|
-
return undefined;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
...d,
|
|
50
|
-
name: preset.label,
|
|
51
|
-
colours: { background, surface, textPrimary, textSecondary, border, primary, accent },
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
const WHITE = "#FFFFFF";
|
|
55
|
-
function isDarkPage(hex) {
|
|
56
|
-
return hex !== undefined && oklabDistance(hex, WHITE) > 0.5;
|
|
57
|
-
}
|
|
58
|
-
function distanceFromCurrent(d, current) {
|
|
59
|
-
const page = current.page === undefined ? 0.5 : oklabDistance(d.colours.background, current.page);
|
|
60
|
-
const accent = current.accent === undefined ? 0.25 : oklabDistance(d.colours.accent, current.accent);
|
|
61
|
-
const font = current.font !== undefined && (d.headingFont === current.font || d.bodyFont === current.font) ? 0.15 : 0;
|
|
62
|
-
return page * 2 + accent - font;
|
|
63
|
-
}
|
|
64
|
-
function distanceBetween(a, b) {
|
|
65
|
-
return oklabDistance(a.colours.background, b.colours.background) + oklabDistance(a.colours.accent, b.colours.accent);
|
|
66
|
-
}
|
|
67
|
-
function nextPick(args) {
|
|
68
|
-
let best = 0;
|
|
69
|
-
let bestScore = -Infinity;
|
|
70
|
-
args.left.forEach((d, i) => {
|
|
71
|
-
const spread = args.picked.length === 0 ? 0 : Math.min(...args.picked.map((p) => distanceBetween(d, p)));
|
|
72
|
-
const sameFont = args.picked.some((p) => p.headingFont === d.headingFont) ? 0.2 : 0;
|
|
73
|
-
const score = distanceFromCurrent(d, args.current) + spread * 0.75 - sameFont;
|
|
74
|
-
if (score > bestScore) {
|
|
75
|
-
bestScore = score;
|
|
76
|
-
best = i;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
return best;
|
|
80
|
-
}
|
|
81
|
-
export function pickLookDirections(current, count = 4) {
|
|
82
|
-
const nearWhite = current.page !== undefined && oklabDistance(current.page, WHITE) < 0.05;
|
|
83
|
-
const left = LOOK_DIRECTIONS.filter((d) => d.colorway !== current.colorway)
|
|
84
|
-
.filter((d) => (nearWhite && d.colorway === "broadsheet") === false)
|
|
85
|
-
.map(resolveLookDirection)
|
|
86
|
-
.filter((d) => d !== undefined);
|
|
87
|
-
const picked = [];
|
|
88
|
-
while (picked.length < count && left.length > 0) {
|
|
89
|
-
const [next] = left.splice(nextPick({ left, picked, current }), 1);
|
|
90
|
-
if (next !== undefined)
|
|
91
|
-
picked.push(next);
|
|
92
|
-
}
|
|
93
|
-
const flipTo = isDarkPage(current.page) ? "light" : "dark";
|
|
94
|
-
if (picked.length > 0 && picked.every((d) => d.mode !== flipTo)) {
|
|
95
|
-
const flip = left
|
|
96
|
-
.filter((d) => d.mode === flipTo)
|
|
97
|
-
.sort((a, b) => distanceFromCurrent(b, current) - distanceFromCurrent(a, current))[0];
|
|
98
|
-
if (flip !== undefined)
|
|
99
|
-
picked[picked.length - 1] = flip;
|
|
100
|
-
}
|
|
101
|
-
return picked;
|
|
102
|
-
}
|
|
103
|
-
function fontPhrase(slug) {
|
|
104
|
-
const f = getVibeFont(slug);
|
|
105
|
-
return f === undefined ? slug : `${f.label} (${f.mood})`;
|
|
106
|
-
}
|
|
107
|
-
export function lookDirectionText(d) {
|
|
108
|
-
const c = d.colours;
|
|
109
|
-
const roles = [
|
|
110
|
-
`background ${c.background}`,
|
|
111
|
-
`surface ${c.surface}`,
|
|
112
|
-
`text-primary ${c.textPrimary}`,
|
|
113
|
-
`text-secondary ${c.textSecondary}`,
|
|
114
|
-
`border ${c.border}`,
|
|
115
|
-
`primary ${c.primary}`,
|
|
116
|
-
`accent ${c.accent}`,
|
|
117
|
-
].join(", ");
|
|
118
|
-
const faces = d.headingFont === d.bodyFont
|
|
119
|
-
? `every heading, label and line of body text set in ${fontPhrase(d.headingFont)}`
|
|
120
|
-
: `headings set in ${fontPhrase(d.headingFont)}; body text, labels and buttons set in ${fontPhrase(d.bodyFont)}`;
|
|
121
|
-
return `the "${d.name}" colour scheme, ${d.mode} mode — ${roles}; ${faces}`;
|
|
122
|
-
}
|
|
123
|
-
export const LOOK_STYLE_DIRECTION_LEAD = "Style direction: ";
|
|
124
|
-
export const LOOK_PAINT_NOT_TEXT = "The colour values and font names in the style direction are paint for you to use, never words: do not write them, or any word that is not already in the screenshot, anywhere in the image.";
|
|
125
|
-
export function lookRestyleRenderPrompt(d) {
|
|
126
|
-
return `This image is a screenshot of a real, working web app on a phone. Make a new screenshot of the SAME app in a new visual style.
|
|
127
|
-
|
|
128
|
-
This is a change of look, not a change of features.
|
|
129
|
-
|
|
130
|
-
KEEP EXACTLY:
|
|
131
|
-
- every element on screen, in the same position and order, with the same layout and proportions;
|
|
132
|
-
- every word: each heading, label, button text, tab, input placeholder, number, date and list item, spelled exactly as shown;
|
|
133
|
-
- the same count of cards, rows, buttons, tabs, pads and badges;
|
|
134
|
-
- the same icons, emoji and pictures in the same places (they may be restyled).
|
|
135
|
-
|
|
136
|
-
CHANGE ONLY: colour palette, typeface, corner shape, borders, shadows, texture, decoration and light-or-dark.
|
|
137
|
-
Change those boldly: the new look should be unmistakably different at a glance — a new typeface for headings and body, a new background, new colours on every surface and accent, new corner shapes and shadows — while the app underneath stays exactly the same.
|
|
138
|
-
|
|
139
|
-
Output a single flat, straight-on phone screenshot of the restyled app, filling the whole frame. No device frame, no hands, no captions, no annotations, nothing added or removed. The black "VIBES DIY" pill in the bottom-right corner is platform chrome: draw it unchanged.
|
|
140
|
-
|
|
141
|
-
${LOOK_STYLE_DIRECTION_LEAD}${lookDirectionText(d)}.
|
|
142
|
-
${LOOK_PAINT_NOT_TEXT}`;
|
|
143
|
-
}
|
|
144
|
-
export const LOOK_PICK_PREFIX = "Restyle only — ";
|
|
145
|
-
export const LOOK_PICK_DATA_LEAD = "look: ";
|
|
146
|
-
export function lookPickFileName(n) {
|
|
147
|
-
return `look-${n}.png`;
|
|
148
|
-
}
|
|
149
|
-
const LOOK_FILE_NAME = /^look-\d+\.png$/;
|
|
150
|
-
export function lookPickText(args) {
|
|
151
|
-
const { data } = args;
|
|
152
|
-
const json = JSON.stringify({
|
|
153
|
-
colorway: data.colorway,
|
|
154
|
-
mode: data.mode,
|
|
155
|
-
headingFont: data.headingFont,
|
|
156
|
-
bodyFont: data.bodyFont,
|
|
157
|
-
});
|
|
158
|
-
return `${LOOK_PICK_PREFIX}keep every feature, screen, label and behaviour exactly as it is, and change only the look to "${args.name}".
|
|
159
|
-
${LOOK_PICK_DATA_LEAD}${json}
|
|
160
|
-
The attached picture is a mood reference for the colours and surfaces, never content: keep every word of the app as it is.`;
|
|
161
|
-
}
|
|
162
|
-
const lookPickData = lazyType(() => type({
|
|
163
|
-
colorway: "string > 0",
|
|
164
|
-
mode: "'light' | 'dark'",
|
|
165
|
-
headingFont: "string > 0",
|
|
166
|
-
bodyFont: "string > 0",
|
|
167
|
-
}));
|
|
168
|
-
export function parseLookPickText(text) {
|
|
169
|
-
if (text.startsWith(LOOK_PICK_PREFIX) === false)
|
|
170
|
-
return undefined;
|
|
171
|
-
const line = text.split("\n").find((l) => l.startsWith(LOOK_PICK_DATA_LEAD));
|
|
172
|
-
if (line === undefined)
|
|
173
|
-
return undefined;
|
|
174
|
-
const json = exception2Result(() => JSON.parse(line.slice(LOOK_PICK_DATA_LEAD.length)));
|
|
175
|
-
if (json.isErr())
|
|
176
|
-
return undefined;
|
|
177
|
-
const parsed = lookPickData(json.Ok());
|
|
178
|
-
if (parsed instanceof type.errors)
|
|
179
|
-
return undefined;
|
|
180
|
-
return { colorway: parsed.colorway, mode: parsed.mode, headingFont: parsed.headingFont, bodyFont: parsed.bodyFont };
|
|
181
|
-
}
|
|
182
|
-
export function isLookPickFileName(name) {
|
|
183
|
-
return LOOK_FILE_NAME.test(name);
|
|
184
|
-
}
|
|
185
|
-
export function isLookPickMessage(content) {
|
|
186
|
-
return content.some((part) => {
|
|
187
|
-
if (typeof part !== "object" || part === null)
|
|
188
|
-
return false;
|
|
189
|
-
const p = part;
|
|
190
|
-
return p.type === "text" && typeof p.text === "string" && parseLookPickText(p.text) !== undefined;
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
export const LOOK_RESTYLE_INSTRUCTION = "New looks. The person picked a new look for their app from the Look tab. Their message opens with " +
|
|
194
|
-
`"${LOOK_PICK_PREFIX.trim()}" and carries the look as data on its "${LOOK_PICK_DATA_LEAD.trim()}" line: a colourway slug, light or dark, ` +
|
|
195
|
-
"and heading and body font slugs from the font catalog. Restyle only: keep every feature, screen, label and behaviour. " +
|
|
196
|
-
"Apply the look with set_app_style, naming that colourway, the mode and both fonts in the instruction. " +
|
|
197
|
-
"The attached picture is a mood reference painted by an image model: read its colours and surfaces, never its words, " +
|
|
198
|
-
"and never rebuild the app from it.";
|
|
199
|
-
//# sourceMappingURL=look-restyle.js.map
|
package/look-restyle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"look-restyle.js","sourceRoot":"","sources":["../jsr/look-restyle.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC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