@vibes.diy/prompts 14.3.302 → 14.3.303

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/square.js CHANGED
@@ -17,6 +17,23 @@ export const squareConfig = {
17
17
  "sell on square",
18
18
  "square pos",
19
19
  ],
20
+ routeCues: [
21
+ "via square",
22
+ "pay through square",
23
+ "payment through square",
24
+ "payments through square",
25
+ "paid through my square",
26
+ "square account",
27
+ "pay with square",
28
+ "pays with square",
29
+ "square checkout",
30
+ "square payment",
31
+ "square payments",
32
+ "square payment link",
33
+ "sell on square",
34
+ "square pos",
35
+ ],
36
+ routeDisplaces: ["stripe"],
20
37
  needs: ["owner-secret"],
21
38
  credential: "owner-secret",
22
39
  egress: [
@@ -1 +1 @@
1
- {"version":3,"file":"square.js","sourceRoot":"","sources":["../../jsr/llms/square.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,YAAY,GAAc;IACrC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,iBAAiB;IACxB,WAAW,EACT,4vCAA4vC;IAC9vC,IAAI,EAAE;QACJ,aAAa;QACb,gBAAgB;QAChB,YAAY;QACZ,cAAc;QACd,gBAAgB;QAChB,mBAAmB;QACnB,iBAAiB;QACjB,iBAAiB;QACjB,gBAAgB;QAChB,iBAAiB;QACjB,qBAAqB;QACrB,gBAAgB;QAChB,YAAY;KACb;IACD,KAAK,EAAE,CAAC,cAAc,CAAC;IACvB,UAAU,EAAE,cAAc;IAG1B,MAAM,EAAE;QACN,EAAE,GAAG,EAAE,8CAA8C,EAAE,GAAG,EAAE,UAAU,EAAE;QACxE,EAAE,GAAG,EAAE,2CAA2C,EAAE,GAAG,EAAE,UAAU,EAAE;QACrE,EAAE,GAAG,EAAE,+DAA+D,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE;QACzG,EAAE,GAAG,EAAE,oDAAoD,EAAE,GAAG,EAAE,UAAU,EAAE;QAC9E,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GAAG,EAAE,oDAAoD,EAAE,GAAG,EAAE,UAAU,EAAE;QAC9E,EAAE,GAAG,EAAE,qDAAqD,EAAE,GAAG,EAAE,UAAU,EAAE;QAC/E,EAAE,GAAG,EAAE,kDAAkD,EAAE,GAAG,EAAE,UAAU,EAAE;QAC5E,EAAE,GAAG,EAAE,sEAAsE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE;QAChH,EAAE,GAAG,EAAE,2DAA2D,EAAE,GAAG,EAAE,UAAU,EAAE;KACtF;CACF,CAAC"}
package/llms/stripe.js CHANGED
@@ -1,7 +1,8 @@
1
+ import { squareConfig } from "./square.js";
1
2
  export const stripeConfig = {
2
3
  name: "stripe",
3
4
  label: "Stripe payments",
4
- description: "Taking real money through Stripe Checkout: load it whenever the person asks for money to move — pay the bill, split the check, a restaurant check, pay at the table or at the counter, a tip or a tip jar, donate or a donation page, sell tickets, sell products buyers pay for, buy now or purchase online, a charge, a deposit, dues, a checkout, a client paying an invoice online (pay an invoice, bill a client), pay with Stripe, the word Stripe, or a named payment app buyers pay through (Apple Pay, Cash App, Zelle, Venmo, Chime: card, Apple Pay and Cash App Pay ride Checkout, and a P2P app the person keeps is a manual lane beside it whose handle the owner types) — one-time charges into the owner's own Stripe account through ctx.stripe, connected once with Connect Stripe (a monthly or yearly subscription is the stripe-subscriptions skill): what is for sale and its price is the owner's product catalog, product records in the app's database that only the owner writes (access.js) from the app's own Products screen, starting empty with the owner's first product, and backend.js charges the price it reads from the product the buyer names, never an amount from the browser or a constant in backend.js; anyone pays by default, signed in or not (a guest's order is written by backend.js for them, and sign-in only when the owner asks for it: members only, a roster, a my-orders page), a venue's guest checkout (a check, a tip, a donation, an invoice paid by link with a pay-by date and an overdue state — the payment keyed to the thing paid and its session), one payer paying the whole check by default with splitting as a second choice and the balance reserved with a revision-checked write before any session opens, the Connect Stripe setup item read from ctx.stripe.status(), test mode first with the order's mode passed on every call and live once the owner takes this app live, every Stripe call in backend.js with no Stripe.js in the page, one pending order then one Checkout Session opened in a new tab, an order marked paid only after the backend reads the session back from Stripe and matches it to the order, integer amounts in cents, and a scheduled sweep that settles orders whose buyer never came back. A storefront, plans page, booking page or invoice maker that only records orders or marks invoices paid by hand takes no payment and does not need this; offer it as the [pay] option instead",
5
+ description: "Taking real money through Stripe Checkout: load it whenever the person asks for money to move — pay the bill, split the check, a restaurant check, pay at the table or at the counter, a tip or a tip jar, donate or a donation page, sell tickets, sell products buyers pay for, buy now or purchase online, a charge, a deposit, dues, a checkout, a client paying an invoice online (pay an invoice, bill a client), pay with Stripe, the word Stripe, or a named payment app buyers pay through (Apple Pay, Cash App, Zelle, Venmo, Chime: card, Apple Pay and Cash App Pay ride Checkout, and a P2P app the person keeps is a manual lane beside it whose handle the owner types); money through Square (pay with Square, my Square account, a Square checkout) is the square skill instead, never this one — one-time charges into the owner's own Stripe account through ctx.stripe, connected once with Connect Stripe (a monthly or yearly subscription is the stripe-subscriptions skill): what is for sale and its price is the owner's product catalog, product records in the app's database that only the owner writes (access.js) from the app's own Products screen, starting empty with the owner's first product, and backend.js charges the price it reads from the product the buyer names, never an amount from the browser or a constant in backend.js; anyone pays by default, signed in or not (a guest's order is written by backend.js for them, and sign-in only when the owner asks for it: members only, a roster, a my-orders page), a venue's guest checkout (a check, a tip, a donation, an invoice paid by link with a pay-by date and an overdue state — the payment keyed to the thing paid and its session), one payer paying the whole check by default with splitting as a second choice and the balance reserved with a revision-checked write before any session opens, the Connect Stripe setup item read from ctx.stripe.status(), test mode first with the order's mode passed on every call and live once the owner takes this app live, every Stripe call in backend.js with no Stripe.js in the page, one pending order then one Checkout Session opened in a new tab, an order marked paid only after the backend reads the session back from Stripe and matches it to the order, integer amounts in cents, and a scheduled sweep that settles orders whose buyer never came back. A storefront, plans page, booking page or invoice maker that only records orders or marks invoices paid by hand takes no payment and does not need this; offer it as the [pay] option instead",
5
6
  cues: [
6
7
  "stripe",
7
8
  "take payments",
@@ -62,23 +63,6 @@ export const stripeConfig = {
62
63
  "accept payments",
63
64
  "accepts payments",
64
65
  ],
65
- routeBlockers: [
66
- "subscribe",
67
- "subscription",
68
- "subscriptions",
69
- "a month",
70
- "per month",
71
- "monthly",
72
- "through square",
73
- "via square",
74
- "square account",
75
- "pay with square",
76
- "square checkout",
77
- "square payment",
78
- "square payments",
79
- "square payment link",
80
- "sell on square",
81
- "square pos",
82
- ],
66
+ routeBlockers: ["subscribe", "subscription", "subscriptions", "a month", "per month", "monthly", ...(squareConfig.routeCues ?? [])],
83
67
  };
84
68
  //# sourceMappingURL=stripe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.js","sourceRoot":"","sources":["../../jsr/llms/stripe.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,YAAY,GAAc;IACrC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,iBAAiB;IACxB,WAAW,EACT,u2EAAu2E;IACz2E,IAAI,EAAE;QACJ,QAAQ;QACR,eAAe;QACf,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,cAAc;QACd,aAAa;QACb,UAAU;QACV,SAAS;QACT,MAAM;QACN,cAAc;QACd,SAAS;QACT,YAAY;QACZ,iBAAiB;QACjB,iBAAiB;QACjB,QAAQ;QACR,SAAS;QACT,cAAc;QACd,iBAAiB;QACjB,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB;QACpB,SAAS;QACT,QAAQ;QACR,UAAU;QACV,WAAW;QACX,iBAAiB;QAIjB,WAAW;QACX,UAAU;QACV,OAAO;QACP,OAAO;QAGP,gBAAgB;QAChB,iBAAiB;QACjB,cAAc;QACd,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;QAClB,eAAe;QACf,cAAc;QACd,iBAAiB;KAClB;IAKD,SAAS,EAAE;QACT,aAAa;QACb,gBAAgB;QAChB,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,gBAAgB;QAChB,aAAa;QACb,cAAc;QACd,eAAe;QACf,cAAc;QACd,eAAe;QACf,eAAe;QACf,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;KACnB;IAOD,aAAa,EAAE;QACb,WAAW;QACX,cAAc;QACd,eAAe;QACf,SAAS;QACT,WAAW;QACX,SAAS;QACT,gBAAgB;QAChB,YAAY;QACZ,gBAAgB;QAChB,iBAAiB;QACjB,iBAAiB;QACjB,gBAAgB;QAChB,iBAAiB;QACjB,qBAAqB;QACrB,gBAAgB;QAChB,YAAY;KACb;CACF,CAAC"}
1
+ {"version":3,"file":"stripe.js","sourceRoot":"","sources":["../../jsr/llms/stripe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAW3C,MAAM,CAAC,MAAM,YAAY,GAAc;IACrC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,iBAAiB;IACxB,WAAW,EACT,i+EAAi+E;IACn+E,IAAI,EAAE;QACJ,QAAQ;QACR,eAAe;QACf,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,cAAc;QACd,aAAa;QACb,UAAU;QACV,SAAS;QACT,MAAM;QACN,cAAc;QACd,SAAS;QACT,YAAY;QACZ,iBAAiB;QACjB,iBAAiB;QACjB,QAAQ;QACR,SAAS;QACT,cAAc;QACd,iBAAiB;QACjB,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB;QACpB,SAAS;QACT,QAAQ;QACR,UAAU;QACV,WAAW;QACX,iBAAiB;QAIjB,WAAW;QACX,UAAU;QACV,OAAO;QACP,OAAO;QAGP,gBAAgB;QAChB,iBAAiB;QACjB,cAAc;QACd,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;QAClB,eAAe;QACf,cAAc;QACd,iBAAiB;KAClB;IAKD,SAAS,EAAE;QACT,aAAa;QACb,gBAAgB;QAChB,YAAY;QACZ,cAAc;QACd,iBAAiB;QACjB,gBAAgB;QAChB,aAAa;QACb,cAAc;QACd,eAAe;QACf,cAAc;QACd,eAAe;QACf,eAAe;QACf,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;KACnB;IAOD,aAAa,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;CACpI,CAAC"}
package/llms/types.d.ts CHANGED
@@ -6,6 +6,7 @@ export interface LlmConfig {
6
6
  cues?: string[];
7
7
  routeCues?: string[];
8
8
  routeBlockers?: string[];
9
+ routeDisplaces?: string[];
9
10
  needs?: string[];
10
11
  teaches?: string[];
11
12
  menu?: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/prompts",
3
- "version": "14.3.302",
3
+ "version": "14.3.303",
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.302",
43
- "@vibes.diy/call-ai-v2": "14.3.302",
44
- "@vibes.diy/identity": "14.3.302",
45
- "@vibes.diy/use-vibes-types": "14.3.302",
42
+ "@vibes.diy/api-types": "14.3.303",
43
+ "@vibes.diy/call-ai-v2": "14.3.303",
44
+ "@vibes.diy/identity": "14.3.303",
45
+ "@vibes.diy/use-vibes-types": "14.3.303",
46
46
  "arktype": "~2.2.9",
47
47
  "json-schema-faker": "~0.6.3"
48
48
  },