@vibes.diy/prompts 14.3.289 → 14.3.290

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 CHANGED
@@ -521,6 +521,10 @@ const budget = await ctx.youtube.status(); // { available, unitsLeftToday, daily
521
521
  `path` is optional — match the object form in the example above, which is the
522
522
  calling convention (codegen has been observed passing these positionally).
523
523
  The message lands in that person's bell, inbox, and push notifications.
524
+ A notify to the app's own owner (`ctx.appInfo.ownerHandle`) also reaches
525
+ the assistant that made the app, in the chat it was made from, so send the
526
+ owner a notify when something needs a decision or a job is done, never on
527
+ every tick.
524
528
  - `toHandle` is one handle, and the platform delivers to people already in
525
529
  this app: the owner, who always qualifies, an accepted invite or approved
526
530
  request, a handle named in the access function's persisted grant state, or
@@ -133,8 +133,10 @@ the job is done, so most ticks are silent.
133
133
  The notify goes to the app's owner, and `dedupeKey` keeps it to one
134
134
  notification per reason. When a chat's assistant made the app for a group,
135
135
  the owner is the group's handle, so that notification is the job handing
136
- itself back to the chat's assistant, which reads the plan and speaks to the
137
- group.
136
+ itself back to the chat's assistant: that notification wakes the assistant in
137
+ the chat it was made from, which reads the plan and speaks to the group, so
138
+ write the `body` as one plain line the assistant can act on ("Quorum: Thursday
139
+ 7pm, 5 of 6 answered"), and pass `path` when the plan has its own screen.
138
140
 
139
141
  ### `backend.js`
140
142
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/prompts",
3
- "version": "14.3.289",
3
+ "version": "14.3.290",
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.289",
43
- "@vibes.diy/call-ai-v2": "14.3.289",
44
- "@vibes.diy/identity": "14.3.289",
45
- "@vibes.diy/use-vibes-types": "14.3.289",
42
+ "@vibes.diy/api-types": "14.3.290",
43
+ "@vibes.diy/call-ai-v2": "14.3.290",
44
+ "@vibes.diy/identity": "14.3.290",
45
+ "@vibes.diy/use-vibes-types": "14.3.290",
46
46
  "arktype": "~2.2.9",
47
47
  "json-schema-faker": "~0.6.3"
48
48
  },