@vibes.diy/prompts 14.3.292 → 14.3.294
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/backend.md +10 -3
- package/package.json +5 -5
package/llms/backend.md
CHANGED
|
@@ -650,14 +650,21 @@ const budget = await ctx.youtube.status(); // { available, unitsLeftToday, daily
|
|
|
650
650
|
```
|
|
651
651
|
|
|
652
652
|
For the button, an `sms:` link opens Messages with the ask written out.
|
|
653
|
-
|
|
653
|
+
Vibes answers texts over iMessage, so on an iPhone, iPad or Mac the button
|
|
654
|
+
texts; anywhere else (Android, Windows) the same ask opens Vibes in the
|
|
655
|
+
browser with the words waiting in the box (`https://vibes.diy/agent?text=`),
|
|
656
|
+
and the reminders arrive as Vibes notifications. iPadOS reports itself as a
|
|
657
|
+
Mac. `target="_blank"` is what lets the tap leave the app's frame:
|
|
654
658
|
|
|
655
659
|
```jsx
|
|
656
660
|
const ask = `Please notify me about changes to the schedule on ${appUrl}`;
|
|
657
|
-
|
|
661
|
+
const imessage = /iPhone|iPad|iPod|Macintosh/.test(navigator.userAgent);
|
|
662
|
+
const href = imessage
|
|
663
|
+
? `sms:vibes@vibes.diy&body=${encodeURIComponent(ask)}`
|
|
664
|
+
: `https://vibes.diy/agent?text=${encodeURIComponent(ask)}`;
|
|
665
|
+
<a href={href} target="_blank" rel="noopener">{imessage ? "Text me reminders" : "Get reminders"}</a>
|
|
658
666
|
```
|
|
659
667
|
|
|
660
|
-
It works where iMessage does (iPhone, iPad, Mac), so label it for that.
|
|
661
668
|
A follower ends it by replying "stop", and their follow lapses on its own
|
|
662
669
|
after the days Vibes set for it.
|
|
663
670
|
- **`ctx.log(level?, ...args)` is the handler's diagnostic lane.** It is the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/prompts",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.294",
|
|
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.294",
|
|
43
|
+
"@vibes.diy/call-ai-v2": "14.3.294",
|
|
44
|
+
"@vibes.diy/identity": "14.3.294",
|
|
45
|
+
"@vibes.diy/use-vibes-types": "14.3.294",
|
|
46
46
|
"arktype": "~2.2.9",
|
|
47
47
|
"json-schema-faker": "~0.6.3"
|
|
48
48
|
},
|