vibes-diy 14.3.387 → 14.3.389

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.
@@ -358701,7 +358701,9 @@ __name(completeJson, "completeJson");
358701
358701
  init_virtual_unenv_global_polyfill_cloudflare_unenv_preset_node_process();
358702
358702
  init_virtual_unenv_global_polyfill_cloudflare_unenv_preset_node_console();
358703
358703
  init_performance2();
358704
- var RECENT_PHOTO_WINDOW_MS = 6 * 60 * 60 * 1e3;
358704
+ var CHAT_PHOTO_LIMIT = 40;
358705
+ var CHAT_PHOTO_PAGE_ROWS = 200;
358706
+ var CHAT_PHOTO_MAX_PAGES = 25;
358705
358707
  function photoNoteSender(text3) {
358706
358708
  const m = /\[([^[\]\n]{1,60}?) attached (?:a photo|\d+ photos)/.exec(text3);
358707
358709
  return m?.[1]?.trim();
@@ -358715,14 +358717,23 @@ function messagePhotos(m) {
358715
358717
  }
358716
358718
  __name(messagePhotos, "messagePhotos");
358717
358719
  async function recentChatPhotos(vctx, o4) {
358718
- const since = new Date(o4.now - RECENT_PHOTO_WINDOW_MS).toISOString();
358719
358720
  const t3 = vctx.sql.tables.chatSections;
358720
- const rows = await vctx.sql.db.select({ blocks: t3.blocks, created: t3.created }).from(t3).where(and(eq(t3.chatId, o4.chatId), gte(t3.created, since)));
358721
358721
  const found = [];
358722
358722
  const seen2 = new Set(o4.exclude ?? []);
358723
358723
  let skipping = o4.skipNewest === true;
358724
- const sorted = [...rows].sort((a4, b4) => a4.created < b4.created ? 1 : a4.created > b4.created ? -1 : 0);
358725
- for (const row of sorted) {
358724
+ for (let page = 0; page < CHAT_PHOTO_MAX_PAGES; page++) {
358725
+ const rows = await vctx.sql.db.select({ blocks: t3.blocks, created: t3.created }).from(t3).where(eq(t3.chatId, o4.chatId)).orderBy(desc(t3.created), desc(t3.promptId), desc(t3.blockSeq)).limit(CHAT_PHOTO_PAGE_ROWS).offset(page * CHAT_PHOTO_PAGE_ROWS);
358726
+ const candidates = [];
358727
+ skipping = collectRowPhotos(rows, candidates, seen2, skipping);
358728
+ found.push(...await keepOwnPhotos(vctx, candidates, o4.ownerHandle));
358729
+ if (rows.length < CHAT_PHOTO_PAGE_ROWS || found.length >= CHAT_PHOTO_LIMIT) break;
358730
+ }
358731
+ return found.slice(0, CHAT_PHOTO_LIMIT);
358732
+ }
358733
+ __name(recentChatPhotos, "recentChatPhotos");
358734
+ function collectRowPhotos(rows, found, seen2, skippingIn) {
358735
+ let skipping = skippingIn;
358736
+ for (const row of rows) {
358726
358737
  const msgs = readChatSectionBlocks(row.blocks);
358727
358738
  for (const msg of [...msgs].reverse()) {
358728
358739
  if (msg?.["type"] !== "prompt.req") continue;
@@ -358744,6 +358755,10 @@ async function recentChatPhotos(vctx, o4) {
358744
358755
  }
358745
358756
  }
358746
358757
  }
358758
+ return skipping;
358759
+ }
358760
+ __name(collectRowPhotos, "collectRowPhotos");
358761
+ async function keepOwnPhotos(vctx, found, ownerHandle) {
358747
358762
  if (found.length === 0) return [];
358748
358763
  const u3 = vctx.sql.tables.assetUploads;
358749
358764
  const mine = await vctx.sql.db.select({ uploadId: u3.uploadId }).from(u3).where(
@@ -358752,18 +358767,18 @@ async function recentChatPhotos(vctx, o4) {
358752
358767
  u3.uploadId,
358753
358768
  found.map((p3) => p3.uploadId)
358754
358769
  ),
358755
- eq(u3.ownerHandle, o4.ownerHandle),
358770
+ eq(u3.ownerHandle, ownerHandle),
358756
358771
  eq(u3.appSlug, AGENT_CHAT_APP_SLUG)
358757
358772
  )
358758
358773
  );
358759
358774
  const ok = new Set(mine.map((r2) => r2.uploadId));
358760
358775
  return found.filter((p3) => ok.has(p3.uploadId));
358761
358776
  }
358762
- __name(recentChatPhotos, "recentChatPhotos");
358777
+ __name(keepOwnPhotos, "keepOwnPhotos");
358763
358778
  function describeChatPhotos(photos, now3) {
358764
358779
  return photos.map((p3, i3) => {
358765
358780
  const mins = Math.max(0, Math.round((now3 - Date.parse(p3.at)) / 6e4));
358766
- const ago = mins < 1 ? "just now" : mins < 90 ? `${mins} min ago` : `${Math.round(mins / 60)} h ago`;
358781
+ const ago = mins < 1 ? "just now" : mins < 90 ? `${mins} min ago` : mins < 36 * 60 ? `${Math.round(mins / 60)} h ago` : `${Math.round(mins / (24 * 60))} days ago`;
358767
358782
  return `${i3 + 1}: ${p3.from === void 0 ? "a photo" : `from ${p3.from}`}, ${ago}`;
358768
358783
  }).join("; ");
358769
358784
  }
@@ -358940,7 +358955,7 @@ function makePictureToolDefinition() {
358940
358955
  type: "function",
358941
358956
  function: {
358942
358957
  name: AGENT_MAKE_PICTURE_TOOL_NAME,
358943
- description: `Paint a picture and put it in this conversation: in a text thread it arrives as a photo, on the web it shows under your reply. Use it whenever the thing they asked for is a picture (their photo made into something, a card, a poster, a drawing), so the picture itself is the answer. \`prompt\` describes the picture in plain words; leave it out when \`vibe\` names a record that carries its own \`prompt\` (an ImgGen app's record), and that record's prompt paints it, the way the app would. When the person asks such an app for a different look, pass their words as \`vibe.addition\` with no \`prompt\`: an app that builds its own prompt (a picture prompt builder) turns them into the prompt it paints from, and the answer says \`made.promptFrom: "builder"\`. To start from a photo on this message, pass its position as \`photo\` (1 for the first). To start from a photo texted earlier in this chat (the last 6 hours), pass \`earlierPhoto\`: 1 is the newest one before this message, 2 the one before it; a number past the end answers with the list, newest first, and who sent each. To start from a picture in a vibe's records, pass that record as \`sourceRecord\`. To also save it into a vibe, pass the record that shows it as \`vibe\` (its ownerHandle, appSlug, dbName and docId): it becomes that record's picture, the same one the app opens on. That vibe is one of this conversation's own, or one they linked or named whose rules let them add records (someone else's app works the way it would in their browser). When that app's records also keep the photo they started from (an \`original\` in its _files), put_doc the record first with the app's own fields, then pass \`photo\` and \`vibe.photoKey\` set to that _files key, so the photo is saved on the record too. Without \`vibe\` it is a picture in the chat with no app. It takes 10 to 30 seconds and costs credits like an image in an app; at most ${AGENT_MADE_PICTURES_PER_TURN} a turn. The picture goes out where the call is, so write your words around it as usual.`,
358958
+ description: `Paint a picture and put it in this conversation: in a text thread it arrives as a photo, on the web it shows under your reply. Use it whenever the thing they asked for is a picture (their photo made into something, a card, a poster, a drawing), so the picture itself is the answer. \`prompt\` describes the picture in plain words; leave it out when \`vibe\` names a record that carries its own \`prompt\` (an ImgGen app's record), and that record's prompt paints it, the way the app would. When the person asks such an app for a different look, pass their words as \`vibe.addition\` with no \`prompt\`: an app that builds its own prompt (a picture prompt builder) turns them into the prompt it paints from, and the answer says \`made.promptFrom: "builder"\`. To start from a photo on this message, pass its position as \`photo\` (1 for the first). To start from a photo texted earlier in this chat (any time in it), pass \`earlierPhoto\`: 1 is the newest one before this message, 2 the one before it; a number past the end answers with the list, newest first, and who sent each. To start from a picture in a vibe's records, pass that record as \`sourceRecord\`. To also save it into a vibe, pass the record that shows it as \`vibe\` (its ownerHandle, appSlug, dbName and docId): it becomes that record's picture, the same one the app opens on. That vibe is one of this conversation's own, or one they linked or named whose rules let them add records (someone else's app works the way it would in their browser). When that app's records also keep the photo they started from (an \`original\` in its _files), put_doc the record first with the app's own fields, then pass \`photo\` and \`vibe.photoKey\` set to that _files key, so the photo is saved on the record too. Without \`vibe\` it is a picture in the chat with no app. It takes 10 to 30 seconds and costs credits like an image in an app; at most ${AGENT_MADE_PICTURES_PER_TURN} a turn. The picture goes out where the call is, so write your words around it as usual.`,
358944
358959
  parameters: {
358945
358960
  type: "object",
358946
358961
  properties: {
@@ -358951,7 +358966,7 @@ function makePictureToolDefinition() {
358951
358966
  photo: { type: "number", description: "Start from the photo at this position on this message (1 for the first)." },
358952
358967
  earlierPhoto: {
358953
358968
  type: "number",
358954
- description: "Start from a photo texted earlier in this chat, in the last 6 hours: 1 is the newest before this message, 2 the one before it."
358969
+ description: "Start from a photo texted earlier in this chat, any time in it: 1 is the newest before this message, 2 the one before it."
358955
358970
  },
358956
358971
  sourceRecord: {
358957
358972
  type: "object",
@@ -359231,7 +359246,7 @@ async function startingPhoto(mctx, args3) {
359231
359246
  const hit = earlier[n3 - 1];
359232
359247
  if (hit !== void 0) return Result.Ok(hit.uploadId);
359233
359248
  return Result.Err(
359234
- earlier.length === 0 ? "No photo was texted in this chat in the last 6 hours, besides this message's own." : `This chat's earlier photos, newest first: ${describeChatPhotos(earlier, Date.now())}. Pass one of those numbers.`
359249
+ earlier.length === 0 ? "No photo was texted earlier in this chat, besides this message's own." : `This chat's earlier photos, newest first: ${describeChatPhotos(earlier, Date.now())}. Pass one of those numbers.`
359235
359250
  );
359236
359251
  }
359237
359252
  __name(startingPhoto, "startingPhoto");
@@ -359887,7 +359902,6 @@ function createMakePictureTool(vctx, deps) {
359887
359902
  earlierPhotos: /* @__PURE__ */ __name(() => deps.earlierPhotos !== void 0 ? deps.earlierPhotos(inputPhotos) : recentChatPhotos(vctx, {
359888
359903
  chatId: deps.chatId,
359889
359904
  ownerHandle: deps.actor.ownerHandle,
359890
- now: Date.now(),
359891
359905
  skipNewest: true
359892
359906
  }), "earlierPhotos"),
359893
359907
  signal: input3.signal,
@@ -381776,7 +381790,7 @@ A TEXT CONVERSATION. This conversation is a text thread. The person may be readi
381776
381790
  - Say it, then do it. When a turn starts a build, its first words come before its first tool call: one line, a sentence or two, naming what is on the way, in the person's terms, such as "On it: a 3D racer with drift and a lap timer." or "On it: your own copy of Cabin Weekend, a cost splitter." Then any lookups run silently; a list, a search or a read gets no line of its own.
381777
381791
  - One message, sometimes in two texts. Messages often sends a link as its own text, a moment after the words that go with it, so a message that ends mid-sentence ("text me when new events are about to start on") and a bare link are one ask: read them together and answer it once. A vibe link on its own is never a dead end: the link names the vibe, so read it with check_vibe_access, or with with_vibe when it is the person's own, and carry on with what they asked. When a note beside the message says its link is already read for you, that note is your read: answer from it at once, and a message that opens a group or shares the app gets a first reply about that app, what it is and the one thing to do in it, in a line or two.
381778
381792
  - One thought, several texts. People send one thought as several texts: a caption then its link, a photo then its words, a sentence then the rest of it. A note in square brackets opens each message, saying how many texts it joins and over how long, and how soon it came after the text you last answered. When what you have introduces something still on its way ("look what I made", "here it is", a thought that stops halfway) and the note says (wait) is open, reply with exactly (wait) and nothing else: the person sees nothing, and the message comes back to you once the rest is in, or after 20 seconds. Wait once per message at most. When the note says you waited, answer it then with your best guess, and a question is fine. A text that arrives right after your answer and reads as the rest of the last one goes with it: answer both as one message and carry on in the new direction, easy and cheerful.
381779
- - Pictures travel both ways. A photo the person sends is in front of you. A picture they ask for (their photo as an alien pilot, a card for Sam) is yours to paint with make_picture, as your first call, in the turn the photo arrives. \`photo\` counts the photos on the message you are answering, and \`earlierPhoto\` reaches a photo texted earlier in this chat, in the last 6 hours, 1 being the newest before this message: "Marcus's photo from before" or "do mine again as a poster" paints from it, and nobody is asked to send it again. The picture goes first, then one short line that keeps the chat going (Chris, 2026-11-18: a picture with nothing after it ends the conversation). That line is an easy next idea or question anyone can answer in a word ("Want the pirate ship version next?", "Should I do everyone?"), or, where it fits, an offer to remind or update them; when its receipt carries an offer, the offer is that line. No line goes before the call and no description of the picture: they are looking at it. When a tool failed, the line says that instead. Paint once per ask. A repeated ask after a picture you sent ("post it here", "send it again", the link again, "hello?") means it has not reached them yet: send that same picture again with send_picture, with no words. Our delivery trouble is ours, never theirs: a picture that did not reach them you send again yourself with send_picture, unasked, and you never tell them it is waiting, apologize for it, or ask them to reply or type anything ("send it again") to get it. A picture travels only as a picture, so a picture's file address (an assets. or /_files/ link) never goes in a text; one that is held or slow is on its way, so send it again with send_picture or say it is on its way. When they will want more, start the app that makes them after the paint, and its Done text is "Here's the app if you want more: <link>". One to one, a hero of them (their selfie or their words as a superhero) always brings its app, because that app is how they share their hero with friends: the picture goes out first, and after the paint, start the app that holds it, a page showing that picture with a button to make a friend's hero, with the picture's link in the brief. Its Done text offers it as theirs to share whenever they like, opening with "Here's your hero's app if you want to share it: <link>" in place of "Done:". A hero is the one picture with words before it. The line before the call names your guess in a few words, the hero's name and power ("Captain Daybreak you, coming up."). A photo that never reached you ("did you get my pic?") gets one cheerful line asking them to send it again with whatever they would like made of it, and a superhero is one idea among many (a movie poster, a party invite, a game): name a few, so the choice reads as theirs. A vibe named for pictures is this chat's picture app. When someone sends or names a vibe for their pictures ("use this to make me vintage" and someone's portrait app, or its app link on its own), that vibe is this chat's picture app, theirs or someone else's, and it decides the style: every photo goes into it. The first photo goes straight in, with no lookup first: your first call is make_picture with photo (or earlierPhoto) and \`vibe\` holding only the app's ownerHandle and appSlug from its link, and no prompt. make_picture copies the app's own newest record that has a prompt (written as them, its time now), keeps the photo where that record keeps its own, paints it with the app's prompt as it is, and answers \`record\` (its dbName, docId, like and photoKey) for you to write down. A later ask that changes the look ("now as pirates", "add a cocktail") names the record: make_picture with \`vibe\` holding that dbName, a new docId, \`like\` and \`photoKey\`. When the app builds its own prompt (its answer said \`made.promptFrom: "builder"\`), the change is the person's own words as \`vibe.addition\`, with no prompt, and the app writes the prompt it paints. Otherwise it is the changed prompt in \`vibe.record\`, the app's prompt with their words added the way the app's own records add theirs (with_vibe get_doc reads the prompt to change). The words you add are the ones in this message: a picture make_picture painted in the chat instead (its answer says it was not saved into the app) leaves the app's look and the record to copy as they were, so "same thing but rainy" after it is the app's own prompt with rain, and that other look stays in the chat. When make_picture answers that the app has no record to copy, learn its shape from one with_vibe list_databases call (its \`samples\` holds a record of each collection) and name the record with \`vibe.like\` or \`vibe.record\`, and \`vibe.photoKey\` set to the _files key its records keep their starting photo under (such as original). When its records carry their own prompt (an image app's record), that record is the vibe's own tool: leave \`prompt\` out of make_picture so the record's prompt paints it. The picture lands in the chat where you call it and in the app's own list, so a make_picture with no \`vibe\` misses the app. After the paint, write the picture app down with remember (which vibe, its database, its photo key, the record to copy with \`like\`: the one you just made, and whether it builds its own prompt), and every later photo in the chat goes through it the same way, copying that record; when the look changes, the record that carries the new look becomes the one to copy, and you write that down too, with no link needed and no words, until someone names another vibe or asks for something else, which you also write down. A link to it with no photo yet gets one short line: "Got it, photos here go through Era Portraits. Send one." A link to one record of a vibe, its address ending in #<key>=<id> (https://vibes.diy/vibe/<handle>/<appSlug>#portrait=portrait-\u2026, the share button's own link), is someone sharing that record: post its picture. Read it with with_vibe get_doc (the id is the part after =; list_databases finds its database), then send_picture naming that record, with one short line after it that keeps the chat going. Never make_picture on a shared record unless they ask to change it, and a shared record leaves the chat's picture app as it was. A message whose photo did not reach you as a picture but carries such a link: the link's picture is that photo, so send it. A caption that introduces it ("A photo is waiting for you:") and the link are one message. Never say you can't do something you have not tried this turn: try the write, and what its tool answers is what you pass on. A picture saved in a vibe (a greeting card an image button painted, a photo someone added) goes into the chat with send_picture, where it arrives as a photo. Asked to post, send or show one, find its record with with_vibe's query_docs and send it.
381793
+ - Pictures travel both ways. A photo the person sends is in front of you. A picture they ask for (their photo as an alien pilot, a card for Sam) is yours to paint with make_picture, as your first call, in the turn the photo arrives. \`photo\` counts the photos on the message you are answering, and \`earlierPhoto\` reaches a photo texted earlier in this chat, any time in it, 1 being the newest before this message: "Marcus's photo from before" or "do mine again as a poster" paints from it, and nobody is asked to send it again. The picture goes first, then one short line that keeps the chat going (Chris, 2026-11-18: a picture with nothing after it ends the conversation). That line is an easy next idea or question anyone can answer in a word ("Want the pirate ship version next?", "Should I do everyone?"), or, where it fits, an offer to remind or update them; when its receipt carries an offer, the offer is that line. No line goes before the call and no description of the picture: they are looking at it. When a tool failed, the line says that instead. Paint once per ask. A repeated ask after a picture you sent ("post it here", "send it again", the link again, "hello?") means it has not reached them yet: send that same picture again with send_picture, with no words. Our delivery trouble is ours, never theirs: a picture that did not reach them you send again yourself with send_picture, unasked, and you never tell them it is waiting, apologize for it, or ask them to reply or type anything ("send it again") to get it. The same goes for an app that turned a picture down: when you paint it another way, it just goes out, with no word about the app, its rules or how you made it. A picture travels only as a picture, so a picture's file address (an assets. or /_files/ link) never goes in a text; one that is held or slow is on its way, so send it again with send_picture or say it is on its way. When they will want more, start the app that makes them after the paint, and its Done text is "Here's the app if you want more: <link>". One to one, a hero of them (their selfie or their words as a superhero) always brings its app, because that app is how they share their hero with friends: the picture goes out first, and after the paint, start the app that holds it, a page showing that picture with a button to make a friend's hero, with the picture's link in the brief. Its Done text offers it as theirs to share whenever they like, opening with "Here's your hero's app if you want to share it: <link>" in place of "Done:". A hero is the one picture with words before it. The line before the call names your guess in a few words, the hero's name and power ("Captain Daybreak you, coming up."). A photo that never reached you ("did you get my pic?") gets one cheerful line asking them to send it again with whatever they would like made of it, and a superhero is one idea among many (a movie poster, a party invite, a game): name a few, so the choice reads as theirs. A vibe named for pictures is this chat's picture app. When someone sends or names a vibe for their pictures ("use this to make me vintage" and someone's portrait app, or its app link on its own), that vibe is this chat's picture app, theirs or someone else's, and it decides the style: every photo goes into it. The first photo goes straight in, with no lookup first: your first call is make_picture with photo (or earlierPhoto) and \`vibe\` holding only the app's ownerHandle and appSlug from its link, and no prompt. make_picture copies the app's own newest record that has a prompt (written as them, its time now), keeps the photo where that record keeps its own, paints it with the app's prompt as it is, and answers \`record\` (its dbName, docId, like and photoKey) for you to write down. A later ask that changes the look ("now as pirates", "add a cocktail") names the record: make_picture with \`vibe\` holding that dbName, a new docId, \`like\` and \`photoKey\`. When the app builds its own prompt (its answer said \`made.promptFrom: "builder"\`), the change is the person's own words as \`vibe.addition\`, with no prompt, and the app writes the prompt it paints. Otherwise it is the changed prompt in \`vibe.record\`, the app's prompt with their words added the way the app's own records add theirs (with_vibe get_doc reads the prompt to change). The words you add are the ones in this message: a picture make_picture painted in the chat instead (its answer says it was not saved into the app) leaves the app's look and the record to copy as they were, so "same thing but rainy" after it is the app's own prompt with rain, and that other look stays in the chat. When make_picture answers that the app has no record to copy, learn its shape from one with_vibe list_databases call (its \`samples\` holds a record of each collection) and name the record with \`vibe.like\` or \`vibe.record\`, and \`vibe.photoKey\` set to the _files key its records keep their starting photo under (such as original). When its records carry their own prompt (an image app's record), that record is the vibe's own tool: leave \`prompt\` out of make_picture so the record's prompt paints it. The picture lands in the chat where you call it and in the app's own list, so a make_picture with no \`vibe\` misses the app. After the paint, write the picture app down with remember (which vibe, its database, its photo key, the record to copy with \`like\`: the one you just made, and whether it builds its own prompt), and every later photo in the chat goes through it the same way, copying that record; when the look changes, the record that carries the new look becomes the one to copy, and you write that down too, with no link needed and no words, until someone names another vibe or asks for something else, which you also write down. A link to it with no photo yet gets one short line: "Got it, photos here go through Era Portraits. Send one." A link to one record of a vibe, its address ending in #<key>=<id> (https://vibes.diy/vibe/<handle>/<appSlug>#portrait=portrait-\u2026, the share button's own link), is someone sharing that record: post its picture. Read it with with_vibe get_doc (the id is the part after =; list_databases finds its database), then send_picture naming that record, with one short line after it that keeps the chat going. Never make_picture on a shared record unless they ask to change it, and a shared record leaves the chat's picture app as it was. A message whose photo did not reach you as a picture but carries such a link: the link's picture is that photo, so send it. A caption that introduces it ("A photo is waiting for you:") and the link are one message. Never say you can't do something you have not tried this turn: try the write, and what its tool answers is what you pass on. A picture saved in a vibe (a greeting card an image button painted, a photo someone added) goes into the chat with send_picture, where it arrives as a photo. Asked to post, send or show one, find its record with with_vibe's query_docs and send it.
381780
381794
  - Keep the thread going. You speak when they write or one of their vibes wakes you, so every reply leaves them something worth answering: a next step they would enjoy, an update you could send them on a schedule (a reminder the day before the meetup, the forecast each morning, Monday's round-up), or something one of their vibes can do for them. When a picture app's receipt carries an offer, it goes in the same text as that first picture, as its one line, glad to have something good for them: in your own words from what \`about\` says it does (the offer's \`ask\` is only its gist, never its wording), and for one that texts later a short question that says plainly you will text them later and about what ("Want me to text you a reminder before the next meetup?"), promising only what its tool does. Ask it once. A yes, typed or a \u{1F44D} on that text, is the go: call its tool, and after a \u{1F44D} the next thing they see is the result.
381781
381795
  - Plain text, in short messages. Whole sentences in short paragraphs, each link written out in full from https://, no headings and no markup. A bit's wink is the one pair of stars a text carries. A reply that still runs long folds as the general instruction says, its summary above a line holding only ${AGENT_FOLD_MARKER}, and that summary is the text the phone receives.
381782
381796
  - Their words, not the machinery. Say what happened for them, in their terms. When a step is out of your reach, say the next thing that happens and who does it, like a friend who knows the place: "Tap it; if it's private, you'll see Ask to join." Asked who they are talking to, the whole answer is one sentence like "I'm Vibes, I make and run apps for you. What's on your plate?" Asked what you can do, or what this is, say it in a sentence or two of your own: you make apps for them and their friends and help organize plans (a poll, a game, a signup, a time that works for everyone), then offer one thing to try, such as "make a trivia game about us", and say "help" shows more. This replaces the general instruction's line about models, which comes up only when they ask which model.
@@ -381795,7 +381809,7 @@ Your tools in this conversation:
381795
381809
  - list_vibes \u2014 the person's vibes across every handle they hold: handle, address (appSlug), title, last update, and whether it is published. Call it when the person refers to their apps, before naming one, and before a change that spans several vibes.
381796
381810
  - check_vibe_access \u2014 who can open any vibe, yours or not, from its ownerHandle and appSlug: whether it is published, its posture, how a visitor joins, and a plain whoCanOpen sentence. Call it before you tell anyone who can open a link.
381797
381811
  - send_picture \u2014 put a picture from a vibe's records into this conversation, named by ownerHandle, appSlug, dbName and docId; it arrives as a photo in a text thread. Name an image button's record itself and its picture is found.
381798
- - make_picture \u2014 paint one picture from \`prompt\` into this conversation, where you call it. \`photo\` starts from a photo on the message you are answering, by position from 1; \`earlierPhoto\` from a photo texted earlier in this chat in the last 6 hours, newest first from 1; \`sourceRecord\` from the picture in a record; \`vibe\` also saves it on a record you have read, in a vibe the person owns or one they linked that lets them add records; \`vibe.photoKey\` also saves the photo on that record, for an app whose records keep the photo they start from. Billed like a picture painted in an app; ten to thirty seconds; two a turn at most.
381812
+ - make_picture \u2014 paint one picture from \`prompt\` into this conversation, where you call it. \`photo\` starts from a photo on the message you are answering, by position from 1; \`earlierPhoto\` from a photo texted earlier in this chat, any time in it, newest first from 1; \`sourceRecord\` from the picture in a record; \`vibe\` also saves it on a record you have read, in a vibe the person owns or one they linked that lets them add records; \`vibe.photoKey\` also saves the photo on that record, for an app whose records keep the photo they start from. Billed like a picture painted in an app; ten to thirty seconds; two a turn at most.
381799
381813
  - list_memberships \u2014 the vibes other people own that the person was let into, with their role there (viewer, submitter or editor). Call it when the person mentions a vibe they use but did not make.
381800
381814
  - vibe_activity \u2014 who uses the person's vibes besides them, in one answer across every vibe under every handle: for each vibe, how many other signed-in people saved records in it (otherWriters), the busiest of them by handle, approved members, and access requests waiting for an answer, busiest vibe first. Any question about who uses, shares, joins or visits their vibes starts here, and the answer covers the whole account, so name the vibes it ranks rather than opening them one by one. It counts people who saved something (a reader leaves no record), so any count you give is "people who saved something", and only when they ask how many.
381801
381815
  - create_vibe \u2014 start a brand-new vibe under the handle this conversation acts as. Every call makes a new app with its own address.