@vibes.diy/prompts 14.3.214 → 14.3.216

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/llms/github.md CHANGED
@@ -159,6 +159,27 @@ call. It is how a route answers "which of these repos are mine?": keep the rows
159
159
  whose `binderHandle` is `ctx.userInfo.userHandle`. Check a repo name the page
160
160
  sends against that list before building a path from it.
161
161
 
162
+ **The repos a person connected are the app's watched repos.** Connecting is
163
+ the opt-in: a delivery arrives only for a repo someone connected, so the app
164
+ does its work on every delivery that reaches it. The page lists the person's
165
+ repos from `routes()` (through a `GET /repos` route like the one in the
166
+ example), each with a **Pause** switch: a per-repo record keyed by the
167
+ connected repo, like the example's `settings:` record, that starts on when no
168
+ record exists yet. The person picks repos on the platform's page when they
169
+ connect, so the app's own page offers no typed-in owner or repo name, and the
170
+ delivery handler never skips a connected repo for lacking a record of its own.
171
+ A pull request that opened before the repo was connected gets a **Review it
172
+ now** route by number, gated on the caller being that repo's `binderHandle`.
173
+
174
+ **Every GitHub name the page shows is a link to it on GitHub, opened in a new tab.**
175
+ A repo links to `https://github.com/${repo}`, a pull request to its `html_url`
176
+ (or `https://github.com/${repo}/pull/${number}`), an issue to
177
+ `https://github.com/${repo}/issues/${number}`, a person to
178
+ `https://github.com/${login}`, a commit to `https://github.com/${repo}/commit/${sha}`,
179
+ and a review or comment the app posted to the `html_url` GitHub returned for it.
180
+ Each link takes `target="_blank" rel="noreferrer"`, so the person reads the
181
+ code where it lives and the app stays open in its own tab.
182
+
162
183
  **A delivery arrives as `POST /github-webhook` with the event name in `x-vibes-github-event`**
163
184
  (`pull_request`, `issues`, `push`, …) and GitHub's delivery id in
164
185
  `x-vibes-github-delivery`. The platform has already verified it came from
@@ -289,6 +289,13 @@ membership it reads. When two calls write at once, the second meets
289
289
  backend reads the membership again, and a membership bound to this same
290
290
  checkout is the answer it gives.
291
291
 
292
+ When a checkout binds a new subscription, backend.js tells the owner with ctx.notify — toHandle ctx.appInfo.ownerHandle, a body naming the member, the plan and its price, and a dedupeKey built from the subscription's id — so each new member reaches the owner once.
293
+
294
+ The notice goes out where the membership first holds its subscription, so the
295
+ return and the sweep send it alike, and a test subscription says *Test*
296
+ first. A notice that cannot be delivered is logged and never undoes the
297
+ membership.
298
+
292
299
  A scheduled sweep refreshes every live subscription from Stripe, so a failed renewal or a cancellation reaches the app without a webhook.
293
300
 
294
301
  - **The sweep.** Every half hour `scheduled` reads each membership whose
@@ -508,9 +515,26 @@ async function settlePending(ctx, m, appMode) {
508
515
  if (!s.subscription) return m; // not completed yet
509
516
  const bound = await write(ctx, { ...m, subscriptionId: s.subscription, customerId: s.customer }, m);
510
517
  if (bound.subscriptionId !== s.subscription) return bound;
518
+ await tellOwner(ctx, bound);
511
519
  return refresh(ctx, await ctx.db.get(m._id, { db: DB }), appMode);
512
520
  }
513
521
 
522
+ // The owner hears about each new member once: the dedupeKey is the subscription, so the return
523
+ // and the sweep binding the same checkout send one notice between them.
524
+ async function tellOwner(ctx, m) {
525
+ const fmt = m.amount ? new Intl.NumberFormat("en-US", { style: "currency", currency: m.currency }) : null;
526
+ const price = fmt ? ` at ${fmt.format(m.amount / 10 ** fmt.resolvedOptions().maximumFractionDigits)} a ${m.interval}` : ""; // minor units: JPY has none
527
+ try {
528
+ await ctx.notify({
529
+ toHandle: ctx.appInfo.ownerHandle,
530
+ body: `${m.mode === "test" ? "Test subscription" : "New subscription"}: @${m.memberHandle} joined ${m.plan}${price}`.slice(0, 500),
531
+ dedupeKey: `subscribed-${m.subscriptionId}`,
532
+ });
533
+ } catch (err) {
534
+ ctx.log("warn", "subscription notice not delivered", { membershipId: m._id, reason: err.message }); // the membership stands either way
535
+ }
536
+ }
537
+
514
538
  export async function fetch(request, ctx) {
515
539
  const url = new URL(request.url);
516
540
  const me = ctx.userInfo?.userHandle;
package/llms/stripe.md CHANGED
@@ -334,6 +334,17 @@ reading Stripe. A buyer never edits an order; they make a new one.
334
334
  order. A guest sees the thing they paid toward: the table's check moving to
335
335
  *Paid in full*, the tip jar's total rising, and a thank-you the moment they
336
336
  come back from Stripe.
337
+ - The owner hears about every sale the moment it settles.
338
+
339
+ When an order settles as paid, backend.js tells the owner with ctx.notify — toHandle ctx.appInfo.ownerHandle, a body that says what sold and for how much, and a dedupeKey built from the order's id — so each sale reaches the owner once, however many times it settles.
340
+
341
+ The notice goes out from `settle`, the one place a payment becomes paid,
342
+ after the write that marks it, so the return and the sweep send it alike
343
+ and a buyer who closed the tab still makes the owner's phone buzz. A test
344
+ payment says *Test* first, so the owner can tell a rehearsal from real
345
+ money. A notice that cannot be delivered is logged and never undoes the
346
+ sale. Every recipe on this page does it: an order, a guest's payment on a
347
+ check or an invoice, a tip.
337
348
  - The owner sees every order: who, what, how much, when, and a total of what
338
349
  has been paid. This is the app's own ledger; it is also in the Stripe
339
350
  dashboard, and the two agree because the app only ever copies Stripe's
@@ -449,6 +460,22 @@ async function stripe(ctx, mode, method, path, form, headers = {}) {
449
460
  return { ok: true, body };
450
461
  }
451
462
 
463
+ // The owner hears about each sale once: the dedupeKey is the order, so a second settle sends nothing.
464
+ async function tellOwner(ctx, { id, mode, amount, currency, what, path }) {
465
+ const fmt = new Intl.NumberFormat("en-US", { style: "currency", currency });
466
+ const price = fmt.format(amount / 10 ** fmt.resolvedOptions().maximumFractionDigits); // minor units: JPY has none
467
+ try {
468
+ await ctx.notify({
469
+ toHandle: ctx.appInfo.ownerHandle,
470
+ body: `${mode === "test" ? "Test sale" : "Sale"}: ${what}, ${price}`.slice(0, 500),
471
+ dedupeKey: `sale-${id}`,
472
+ ...(path ? { path } : {}), // a "#…" fragment, or nothing: a malformed path fails the call
473
+ });
474
+ } catch (err) {
475
+ ctx.log("warn", "sale notice not delivered", { id, reason: err.message }); // the sale stands either way
476
+ }
477
+ }
478
+
452
479
  // Move one pending order to what Stripe says about its session. Returns the order as settled.
453
480
  async function settle(ctx, order) {
454
481
  if (order.status !== "pending") return order;
@@ -486,6 +513,9 @@ async function settle(ctx, order) {
486
513
  if (stored && stored.status !== "pending" && stored.sessionId === order.sessionId) return stored;
487
514
  throw err;
488
515
  }
516
+ if (next.status === "paid") {
517
+ await tellOwner(ctx, { id: next._id, mode: next.mode, amount: next.amountPaid, currency: next.currency, what: `${next.title} to @${next.buyerHandle}` });
518
+ }
489
519
  return next;
490
520
  }
491
521
 
@@ -1185,9 +1215,24 @@ async function settle(ctx, p, giveUp = false) {
1185
1215
  if (stored && stored.status !== "pending") return stored;
1186
1216
  throw err;
1187
1217
  }
1218
+ if (outcome === "paid") {
1219
+ const check = await ctx.db.get(p.checkId, { db: DB }).catch(() => null); // the payment is settled; a failed lookup only shortens the notice
1220
+ await tellOwner(ctx, { id: p._id, mode: p.mode, amount: p.amount, currency: p.currency, what: `${check?.table ?? "a check"} paid`, path: `#check=${p.checkId}` });
1221
+ }
1188
1222
  return next;
1189
1223
  }
1190
1224
 
1225
+ // The owner hears about each payment once: the dedupeKey is the payment, so a second settle sends nothing.
1226
+ async function tellOwner(ctx, { id, mode, amount, currency, what, path }) {
1227
+ const fmt = new Intl.NumberFormat("en-US", { style: "currency", currency });
1228
+ const price = fmt.format(amount / 10 ** fmt.resolvedOptions().maximumFractionDigits); // minor units: JPY has none
1229
+ try {
1230
+ await ctx.notify({ toHandle: ctx.appInfo.ownerHandle, body: `${mode === "test" ? "Test payment" : "Payment"}: ${what}, ${price}`.slice(0, 500), dedupeKey: `sale-${id}`, ...(path ? { path } : {}) });
1231
+ } catch (err) {
1232
+ ctx.log("warn", "payment notice not delivered", { id, reason: err.message }); // the payment stands either way
1233
+ }
1234
+ }
1235
+
1191
1236
  // A payer who came back without paying lets go of what they reserved, straight away.
1192
1237
  async function release(ctx, paymentId) {
1193
1238
  const p = typeof paymentId === "string" ? await ctx.db.get(paymentId, { db: DB }) : null;
@@ -1821,6 +1866,9 @@ page with no account, and the same ledger, `/confirm` read-back and sweep make
1821
1866
  - **Paid, open, overdue.** The owner's list reads each invoice's ledger: *Paid*
1822
1867
  at zero left, *Overdue* once today is past `payBy` with money left, *Open*
1823
1868
  otherwise, with a count of each above the list.
1869
+ - **The owner's notice names the invoice**: `settle` passes
1870
+ `` `Invoice ${invoice.number} from ${invoice.client} paid` `` and
1871
+ `#invoice=<id>` to `tellOwner`, so the bell says who paid which bill.
1824
1872
  - **Stripe's line item names the invoice**:
1825
1873
  `` `Invoice ${invoice.number} · ${invoice.client}` ``, and the session's
1826
1874
  `metadata` carries `invoiceId`, so the owner finds it in their Stripe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/prompts",
3
- "version": "14.3.214",
3
+ "version": "14.3.216",
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.214",
43
- "@vibes.diy/call-ai-v2": "14.3.214",
44
- "@vibes.diy/identity": "14.3.214",
45
- "@vibes.diy/use-vibes-types": "14.3.214",
42
+ "@vibes.diy/api-types": "14.3.216",
43
+ "@vibes.diy/call-ai-v2": "14.3.216",
44
+ "@vibes.diy/identity": "14.3.216",
45
+ "@vibes.diy/use-vibes-types": "14.3.216",
46
46
  "arktype": "~2.2.8",
47
47
  "json-schema-faker": "~0.6.3"
48
48
  },
package/themes/fonts.d.ts CHANGED
@@ -9,3 +9,5 @@ export interface VibeFont {
9
9
  export declare const VIBE_FONTS: readonly VibeFont[];
10
10
  export declare function getVibeFont(slug: string | undefined): VibeFont | undefined;
11
11
  export declare function getVibeFontByFamily(stack: string | undefined): VibeFont | undefined;
12
+ export declare const LOOK_DEFAULT_FONT_SLUG = "nunito";
13
+ export declare function fontStructuralTokens(slug: string | undefined): Record<string, string>;
package/themes/fonts.js CHANGED
@@ -113,4 +113,13 @@ export function getVibeFontByFamily(stack) {
113
113
  }
114
114
  return undefined;
115
115
  }
116
+ export const LOOK_DEFAULT_FONT_SLUG = "nunito";
117
+ export function fontStructuralTokens(slug) {
118
+ const font = getVibeFont(slug);
119
+ if (font === undefined)
120
+ return {};
121
+ return font.slug === LOOK_DEFAULT_FONT_SLUG
122
+ ? { "font-family": font.family }
123
+ : { "font-family": font.family, "font-pick": font.family };
124
+ }
116
125
  //# sourceMappingURL=fonts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../../jsr/themes/fonts.ts"],"names":[],"mappings":"AAkCA,MAAM,YAAY,GAAG,qFAAqF,CAAC;AAE3G,MAAM,CAAC,MAAM,UAAU,GAAwB;IAC7C;QACE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,YAAY;QACpB,IAAI,EAAE,qDAAqD;KAC5D;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,YAAY,YAAY,EAAE;QAClC,SAAS,EAAE,8EAA8E;QACzF,IAAI,EAAE,qDAAqD;KAC5D;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,cAAc,YAAY,EAAE;QACpC,SAAS,EAAE,gFAAgF;QAC3F,IAAI,EAAE,gDAAgD;KACvD;IACD;QAIE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,aAAa,YAAY,EAAE;QACnC,SAAS,EAAE,+EAA+E;QAC1F,IAAI,EAAE,0CAA0C;KACjD;IACD;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,eAAe;QACtB,MAAM,EAAE,oBAAoB,YAAY,EAAE;QAC1C,SAAS,EAAE,sFAAsF;QACjG,IAAI,EAAE,gDAAgD;KACvD;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,eAAe,YAAY,EAAE;QACrC,SAAS,EAAE,iFAAiF;QAC5F,IAAI,EAAE,oDAAoD;KAC3D;IACD;QACE,IAAI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