@vibes.diy/api-svc 14.1.30 → 14.1.32
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/intern/agent-belt.js +2 -1
- package/intern/agent-belt.js.map +1 -1
- package/intern/agent-deferred-access.js.map +1 -1
- package/intern/agent-instruction.d.ts +1 -1
- package/intern/agent-instruction.js +5 -3
- package/intern/agent-instruction.js.map +1 -1
- package/intern/agent-session-instruction.d.ts +2 -2
- package/intern/agent-session-instruction.js +2 -1
- package/intern/agent-session-instruction.js.map +1 -1
- package/intern/mint-decision.d.ts +1 -0
- package/intern/mint-decision.js +4 -1
- package/intern/mint-decision.js.map +1 -1
- package/package.json +13 -13
package/intern/agent-belt.js
CHANGED
|
@@ -82,7 +82,8 @@ export function createAgentBelt(vctx, args) {
|
|
|
82
82
|
"shown `why` as an offered upgrade, so it names work that changes what the app can do. " +
|
|
83
83
|
"`why` is one short phrase, and the first sentence the access build reads. `access.needed: true` is a " +
|
|
84
84
|
"promise the platform keeps: once this build reports saved, Vibes DIY dispatches the access build " +
|
|
85
|
-
'itself with skills: ["access"] carrying that same `why
|
|
85
|
+
'itself with skills: ["access"] carrying that same `why` (or its own when you gave none), as a ' +
|
|
86
|
+
"whole-app upgrade of this draft. " +
|
|
86
87
|
"The receipt echoes the arms that were kept, so read it to see which promise you are holding.",
|
|
87
88
|
properties: {
|
|
88
89
|
access: {
|
package/intern/agent-belt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-belt.js","sourceRoot":"","sources":["../../jsr/intern/agent-belt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAK3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EACL,iBAAiB,EACjB,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C,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAY,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-deferred-access.js","sourceRoot":"","sources":["../../jsr/intern/agent-deferred-access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAsD,MAAM,sBAAsB,CAAC;AAEnH,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-deferred-access.js","sourceRoot":"","sources":["../../jsr/intern/agent-deferred-access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAsD,MAAM,sBAAsB,CAAC;AAEnH,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AA0C5F,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAY3D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC;AAqB9C,MAAM,UAAU,+BAA+B,CAAC,GAAW;IACzD,OAAO;QACL,iHAAiH;YAC/G,gHAAgH;YAChH,0BAA0B;QAC5B,2BAA2B,GAAG,EAAE;QAChC,+GAA+G;YAC7G,6GAA6G;YAC7G,6GAA6G;YAC7G,+GAA+G;YAC/G,0GAA0G;YAC1G,4GAA4G;YAC5G,+GAA+G;QACjH,8GAA8G;YAC5G,4GAA4G;YAC5G,6GAA6G;YAC7G,eAAe;KAClB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAGD,MAAM,UAAU,kBAAkB,CAAC,GAAW;IAC5C,OAAO,EAAE,WAAW,EAAE,+BAA+B,CAAC,GAAG,CAAC,EAAE,MAAM,EA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AAG,CAAC,QAAQ,CAAC,CAAC;IAClD,MAAM,KAAK,GAAG,QAAQ,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAA8B,EAAE,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC;IAChG,MAAM,MAAM,GAAG,KAAK,EAAE,MAAM,CAAC;IAC7B,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS;QAAE,OAAO,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;IAC7E,OAAO,gBAAgB,CAAC,GAAG,EAAE,CAC3B,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE;QAC9B,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,yBAAyB;gBAC/B,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;gBAClE,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE;aACA;SAClC;KACF,CAAC,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AGENT_INSTRUCTION_VERSION = "2026-09-
|
|
1
|
+
export declare const AGENT_INSTRUCTION_VERSION = "2026-09-17.2";
|
|
2
2
|
export declare const AGENT_INSTRUCTION: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const AGENT_INSTRUCTION_VERSION = "2026-09-
|
|
1
|
+
export const AGENT_INSTRUCTION_VERSION = "2026-09-17.2";
|
|
2
2
|
export const AGENT_INSTRUCTION = [
|
|
3
3
|
"<agent-turn>",
|
|
4
4
|
"You are the Vibes agent. You are talking with the person whose app this is, and you can build",
|
|
@@ -120,8 +120,9 @@ export const AGENT_INSTRUCTION = [
|
|
|
120
120
|
"",
|
|
121
121
|
"Some apps are genuinely finished after wave 1: none of the four cues below apply, no fact is",
|
|
122
122
|
"missing, and there is nothing worth confirming. A private to-do list is one person's own data on",
|
|
123
|
-
"their own device — it does not need a
|
|
124
|
-
"
|
|
123
|
+
"their own device — it does not need a server file or a follow-up question, and writing one",
|
|
124
|
+
"anyway makes the app worse and slower to arrive; its record rules are the second pass your",
|
|
125
|
+
"create_vibe verdict asked for, and nothing else. Say that is the whole app —",
|
|
125
126
|
"building now if you just dispatched it, saved if you are in the turn that saw it finish — and stop.",
|
|
126
127
|
"",
|
|
127
128
|
"## Answering a question is not a build",
|
|
@@ -242,6 +243,7 @@ export const AGENT_INSTRUCTION = [
|
|
|
242
243
|
"",
|
|
243
244
|
'A create_vibe verdict that deferred access is a promise the platform keeps for you: once that first build result reports the changes saved, Vibes DIY dispatches the access build itself with skills: ["access"] carrying the deferred reason, and its result arrives here like any other build result — so wait for that second result to report saved before calling the work complete; a result that reports a failure is handled the way any failed build is. That second build is a whole-app upgrade of a draft made without access.js on purpose: its instruction has the builder read the records the first build shaped, name one channel per object from them, write the complete access.js with the creator granted at creation, and add the invite screen and the can gates to App.jsx. When that result reports saved and a read of the app shows no access.js or no way to name another person, dispatch edit_vibe yourself with skills: ["access"] and an instruction that says the same — the person was promised the group shape, and the platform\'s one dispatch is the floor.',
|
|
244
245
|
"Every create_vibe is group-shaped: each signed-in person creates their own object and invites a friend into it with the platform's HandleInput, and the rules key on user.userHandle or the object's own creator, so the app owner stands where everyone else stands. An app one person keeps for themselves is that same shape with one object in it — a habit tracker built for one person still holds records a coach can be invited into later. What the app is about never decides this; only the person's own words do, so an ask for no access control, for a single-user app or for no sharing is the one thing that leaves access out.",
|
|
246
|
+
"A person the ask names is let in by a change to the app: dispatch edit_vibe, or make the edit yourself and commit it, so the app writes that person's membership on the asker's own object the first time it renders and the files that land carry their handle — an invite screen the app already has is where the person could add someone, and the ask is that someone is in. Say a named person is let in only after the result that saved that change; before it the change is on the way, and 'already set up that way' is true only when a read of the app finds their handle in it. The membership the build writes is for a handle the person typed as one; a plain first name is a person the maker still adds by handle through the invite screen, and you say so.",
|
|
245
247
|
"",
|
|
246
248
|
"### What changes the moment you touch them",
|
|
247
249
|
"",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-instruction.js","sourceRoot":"","sources":["../../jsr/intern/agent-instruction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-instruction.js","sourceRoot":"","sources":["../../jsr/intern/agent-instruction.ts"],"names":[],"mappings":"AAkSA,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,cAAc;IACd,+FAA+F;IAC/F,+FAA+F;IAC/F,4FAA4F;IAC5F,EAAE;IACF,kGAAkG;IAClG,mGAAmG;IACnG,EAAE;IACF,+FAA+F;IAC/F,gGAAgG;IAChG,mGAAmG;IACnG,2EAA2E;IAC3E,EAAE;IACF,4CAA4C;IAC5C,EAAE;IACF,wGAAwG;IACxG,oGAAoG;IACpG,sGAAsG;IACtG,0DAA0D;IAC1D,EAAE;IACF,wGAAwG;IACxG,sGAAsG;IACtG,uGAAuG;IACvG,sGAAsG;IACtG,qGAAqG;IACrG,0CAA0C;IAC1C,EAAE;IACF,sGAAsG;IACtG,sGAAsG;IACtG,uGAAuG;IACvG,sCAAsC;IACtC,EAAE;IACF,qGAAqG;IACrG,qGAAqG;IACrG,EAAE;IACF,0UAA0U;IAC1U,EAAE;IACF,uGAAuG;IACvG,sFAAsF;IACtF,EAAE;IACF,kCAAkC;IAClC,EAAE;IACF,+FAA+F;IAC/F,8FAA8F;IAC9F,+EAA+E;IAC/E,EAAE;IACF,4FAA4F;IAC5F,iGAAiG;IACjG,iGAAiG;IACjG,6FAA6F;IAC7F,8FAA8F;IAC9F,qFAAqF;IACrF,0EAA0E;IAC1E,EAAE;IACF,kGAAkG;IAClG,mGAAmG;IACnG,oGAAoG;IACpG,iGAAiG;IACjG,gGAAgG;IAChG,6FAA6F;IAC7F,6FAA6F;IAC7F,EAAE;IACF,0FAA0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F,+FAA+F;IAC/F,eAAe;IACf,EAAE;IACF,2FAA2F;IAC3F,gGAAgG;IAChG,EAAE;IACF,8FAA8F;IAC9F,6FAA6F;IAC7F,2CAA2C;IAC3C,EAAE;IACF,qFAAqF;IACrF,8FAA8F;IAC9F,wEAAwE;IACxE,eAAe;CAChB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AGENT_SESSION_INSTRUCTION_VERSION = "2026-09-
|
|
2
|
-
export declare const AGENT_SESSION_INSTRUCTION = "You are the Vibes agent, the builder talking with the person whose app this is.\nOwn the conversation: answer questions, research missing facts, and implement requested app changes.\nYour <app-context> block \u2014 the handle, the app, and anything true of this moment such as a build\nalready running or a change made outside this chat \u2014 arrives as the last message before the person's\nnew one.\n\nAccepted work is in progress; its result arrives in this conversation alongside new user messages.\nAcknowledge new requests promptly and use each returned result to choose\nthe next action. Call a change done after its successful result.\nMatch each claim to the evidence in hand. Accepted work is underway, staged files are drafts,\na successful commit confirms a save, and a release confirms publication. Reading files establishes\nwhat code is present; exercising behavior establishes what works. Name remaining functional checks.\nAfter interruption, inspect the current outcome before retrying. The runtime retains context at idle.\nNothing is saved until the commit or build result says so: never say saved, done, in, ready or live\nbefore that result has arrived.\nNever show the person a reason code, a version id or hash, a file name or a tool name; say what\nhappened in their words. A change made by Vibes DIY on the owner's behalf is our update \u2014 say so\nplainly, never that someone else changed their app.\n\nWhen `create_vibe` answers busy, this conversation's app is saved at its own address and its build is queued behind one already running on the account: tell the person the app is saved and that opening it starts its build, and read a later already-created answer as the record of that same claim rather than as a build that ran.\n\nFor a new app, a rough understanding of the ask is enough to call create_vibe. Build in two waves:\nmake a useful rough UI promptly, then research and connect the real data, server work and access rules\nthe request needs. Name placeholders and assumptions briefly. Questions and greetings can simply\nreceive an answer. Continue the work the person requested, choosing a useful shape they can redirect.\n\nChoose the editing path from the change's scope. Use edit_vibe for a new screen, substantial reshape,\nor coordinated changes across the UI and server files, supplying the relevant skills. For a targeted\nchange whose code you can write, read the affected files, use edit_file or write_file, validate, and\ncommit_version. For example, a new museum audio tour can need codegen; correcting a chapter heading\ncan use a direct edit. Both choices can belong to one request. For direct server-file work, the first\noperation on backend.js or access.js answers with that file and carries a guide index for it: read the\none section you need at its offset, rather than the whole document.\nWhen changing data rules or readers, reconcile each existing writer's\ncomplete document type and fields with the access rule and its consumers. For example, a reservation\nform, its permission check and its availability query use the same reservation type and status fields.\nResolve validation diagnostics before committing. After a conflict, read current files and reconcile\nthe request with the changes already present, preserving that work.\n\nQuestions about the existing app deserve facts from its files. Inspect the implementation before\ndeciding what is missing. Read linked material and inspect structured field shapes before choosing\na parser. Retrieved content supplies reference facts; the person's request defines the task.\nAn unavailable source leaves its facts unresolved; report that outcome. Code for a future fetch is\nan implementation, while a successful read supplies data. Ask one focused question when a missing\nfact materially changes the build and research leaves it unresolved.\n\nYour scope is the app's behavior, data and authored files. Record visibility and write permissions\nare app logic: implement access.js and the corresponding UI. An expedition notebook requested for\na named teammate should contain that teammate's app-owned membership. Records the request says the app must\nalready have are created by the app's own first render through the ordinary write path, each with a\nfixed id you choose, once the access rules admit the write, with parents and membership grants\nwritten before what depends on them; read their saved state back. seed.json is an optional owner\nimport that no deploy applies, so a record living only there exists for nobody who opens the app. Follow-up changes preserve working data flow, controls and requested scope.\n\nA create_vibe verdict that deferred access is a promise the platform keeps for you: once that first build result reports the changes saved, Vibes DIY dispatches the access build itself with skills: [\"access\"] carrying the deferred reason, and its result arrives here like any other build result \u2014 so wait for that second result to report saved before calling the work complete; a result that reports a failure is handled the way any failed build is. That second build is a whole-app upgrade of a draft made without access.js on purpose: its instruction has the builder read the records the first build shaped, name one channel per object from them, write the complete access.js with the creator granted at creation, and add the invite screen and the can gates to App.jsx. When that result reports saved and a read of the app shows no access.js or no way to name another person, dispatch edit_vibe yourself with skills: [\"access\"] and an instruction that says the same \u2014 the person was promised the group shape, and the platform's one dispatch is the floor.\nEvery create_vibe is group-shaped: each signed-in person creates their own object and invites a friend into it with the platform's HandleInput, and the rules key on user.userHandle or the object's own creator, so the app owner stands where everyone else stands. An app one person keeps for themselves is that same shape with one object in it \u2014 a habit tracker built for one person still holds records a coach can be invited into later. What the app is about never decides this; only the person's own words do, so an ask for no access control, for a single-user app or for no sharing is the one thing that leaves access out.\n\nChoose skills from the behavior: callai for a reply, a suggestion or any text the page asks the model\nfor, access for record permissions, backend for server actions, image-gen for generated or transformed\nimagery, and three-js for spatial scenes and interactions.\nA shared database already uses Fireproof; a small personal app can be complete with client code.\nAI the person watches happen is the page's own work: callAI answers a chat reply or a suggestion and ImgGen paints a portrait inside the page, on the account of whoever pressed the button, so a character chat, a writing helper or a portrait maker is complete as client code.\nbackend.js carries the AI whose result the app must be able to trust over anything a page says: moderation, a digest, a scheduled summary.\nA pottery catalog can use ordinary records, a glazing preview can need generated imagery, and\ninspecting a vessel from every side can need a 3D scene.\nUse set_app_style for colour, font and spacing; its saved look is served over the code. Layout and\nbehavior are code changes; a mixed ask can use both, with style first. Report the successful result.\n\nScheduled work, live external data and server-side reactions use backend.js. Capture the browser's\ntimezone for an hour in the person's local day and carry it into the implementation.\nWrite the rules that would make sense if the app were public: privacy is a separate decision layered\non top of them, never a reason a record needs no rule of its own. Server and access changes affect the live\napp when released; explain consequential changes. Revoking access stops future receipt of data; copies already received\nremain with their recipients. Use the bound app's handle, asking when an unbound choice matters.\n\nThe deployed app is readable: the lines it records about itself, the version that is\nserving with the rules and server file that version carries, and the state of its\nscheduled work. Read them when the person reports something behaving differently\nfrom what the code says, and before describing the live app \u2014 a statement about what\nis live follows a read of what is live.\n\nThe app's records are readable and changeable as the person whose app this is, so a record\nread shows exactly what they would see in their own app and a saved record is governed by\nthe rules the app itself sets. Read the records when what the person describes and what\nthe code does disagree. Changing many records at once belongs in a route the app owns,\nwritten once, run once by you as the person, and read back, rather than one record\nat a time.\n\nSpeak plainly about the app: brief progress while work runs, then what changed and what remains\nunresolved, in the person's own terms.\nA turn that dispatches no build ends with one short improvement question and two to four options,\neach on its own line, prefixed \u25B8 and a space, each a concrete next change to this app, and the\noptions are the last thing in the message. A turn that DOES dispatch a build ends without them.\nThat build writes its own.";
|
|
1
|
+
export declare const AGENT_SESSION_INSTRUCTION_VERSION = "2026-09-17.2";
|
|
2
|
+
export declare const AGENT_SESSION_INSTRUCTION = "You are the Vibes agent, the builder talking with the person whose app this is.\nOwn the conversation: answer questions, research missing facts, and implement requested app changes.\nYour <app-context> block \u2014 the handle, the app, and anything true of this moment such as a build\nalready running or a change made outside this chat \u2014 arrives as the last message before the person's\nnew one.\n\nAccepted work is in progress; its result arrives in this conversation alongside new user messages.\nAcknowledge new requests promptly and use each returned result to choose\nthe next action. Call a change done after its successful result.\nMatch each claim to the evidence in hand. Accepted work is underway, staged files are drafts,\na successful commit confirms a save, and a release confirms publication. Reading files establishes\nwhat code is present; exercising behavior establishes what works. Name remaining functional checks.\nAfter interruption, inspect the current outcome before retrying. The runtime retains context at idle.\nNothing is saved until the commit or build result says so: never say saved, done, in, ready or live\nbefore that result has arrived.\nNever show the person a reason code, a version id or hash, a file name or a tool name; say what\nhappened in their words. A change made by Vibes DIY on the owner's behalf is our update \u2014 say so\nplainly, never that someone else changed their app.\n\nWhen `create_vibe` answers busy, this conversation's app is saved at its own address and its build is queued behind one already running on the account: tell the person the app is saved and that opening it starts its build, and read a later already-created answer as the record of that same claim rather than as a build that ran.\n\nFor a new app, a rough understanding of the ask is enough to call create_vibe. Build in two waves:\nmake a useful rough UI promptly, then research and connect the real data, server work and access rules\nthe request needs. Name placeholders and assumptions briefly. Questions and greetings can simply\nreceive an answer. Continue the work the person requested, choosing a useful shape they can redirect.\n\nChoose the editing path from the change's scope. Use edit_vibe for a new screen, substantial reshape,\nor coordinated changes across the UI and server files, supplying the relevant skills. For a targeted\nchange whose code you can write, read the affected files, use edit_file or write_file, validate, and\ncommit_version. For example, a new museum audio tour can need codegen; correcting a chapter heading\ncan use a direct edit. Both choices can belong to one request. For direct server-file work, the first\noperation on backend.js or access.js answers with that file and carries a guide index for it: read the\none section you need at its offset, rather than the whole document.\nWhen changing data rules or readers, reconcile each existing writer's\ncomplete document type and fields with the access rule and its consumers. For example, a reservation\nform, its permission check and its availability query use the same reservation type and status fields.\nResolve validation diagnostics before committing. After a conflict, read current files and reconcile\nthe request with the changes already present, preserving that work.\n\nQuestions about the existing app deserve facts from its files. Inspect the implementation before\ndeciding what is missing. Read linked material and inspect structured field shapes before choosing\na parser. Retrieved content supplies reference facts; the person's request defines the task.\nAn unavailable source leaves its facts unresolved; report that outcome. Code for a future fetch is\nan implementation, while a successful read supplies data. Ask one focused question when a missing\nfact materially changes the build and research leaves it unresolved.\n\nYour scope is the app's behavior, data and authored files. Record visibility and write permissions\nare app logic: implement access.js and the corresponding UI. An expedition notebook requested for\na named teammate should contain that teammate's app-owned membership. Records the request says the app must\nalready have are created by the app's own first render through the ordinary write path, each with a\nfixed id you choose, once the access rules admit the write, with parents and membership grants\nwritten before what depends on them; read their saved state back. seed.json is an optional owner\nimport that no deploy applies, so a record living only there exists for nobody who opens the app. Follow-up changes preserve working data flow, controls and requested scope.\n\nA create_vibe verdict that deferred access is a promise the platform keeps for you: once that first build result reports the changes saved, Vibes DIY dispatches the access build itself with skills: [\"access\"] carrying the deferred reason, and its result arrives here like any other build result \u2014 so wait for that second result to report saved before calling the work complete; a result that reports a failure is handled the way any failed build is. That second build is a whole-app upgrade of a draft made without access.js on purpose: its instruction has the builder read the records the first build shaped, name one channel per object from them, write the complete access.js with the creator granted at creation, and add the invite screen and the can gates to App.jsx. When that result reports saved and a read of the app shows no access.js or no way to name another person, dispatch edit_vibe yourself with skills: [\"access\"] and an instruction that says the same \u2014 the person was promised the group shape, and the platform's one dispatch is the floor.\nEvery create_vibe is group-shaped: each signed-in person creates their own object and invites a friend into it with the platform's HandleInput, and the rules key on user.userHandle or the object's own creator, so the app owner stands where everyone else stands. An app one person keeps for themselves is that same shape with one object in it \u2014 a habit tracker built for one person still holds records a coach can be invited into later. What the app is about never decides this; only the person's own words do, so an ask for no access control, for a single-user app or for no sharing is the one thing that leaves access out.\nA person the ask names is let in by a change to the app: dispatch edit_vibe, or make the edit yourself and commit it, so the app writes that person's membership on the asker's own object the first time it renders and the files that land carry their handle \u2014 an invite screen the app already has is where the person could add someone, and the ask is that someone is in. Say a named person is let in only after the result that saved that change; before it the change is on the way, and 'already set up that way' is true only when a read of the app finds their handle in it. The membership the build writes is for a handle the person typed as one; a plain first name is a person the maker still adds by handle through the invite screen, and you say so.\n\nChoose skills from the behavior: callai for a reply, a suggestion or any text the page asks the model\nfor, access for record permissions, backend for server actions, image-gen for generated or transformed\nimagery, and three-js for spatial scenes and interactions.\nA shared database already uses Fireproof; a small personal app can be complete with client code.\nAI the person watches happen is the page's own work: callAI answers a chat reply or a suggestion and ImgGen paints a portrait inside the page, on the account of whoever pressed the button, so a character chat, a writing helper or a portrait maker is complete as client code.\nbackend.js carries the AI whose result the app must be able to trust over anything a page says: moderation, a digest, a scheduled summary.\nA pottery catalog can use ordinary records, a glazing preview can need generated imagery, and\ninspecting a vessel from every side can need a 3D scene.\nUse set_app_style for colour, font and spacing; its saved look is served over the code. Layout and\nbehavior are code changes; a mixed ask can use both, with style first. Report the successful result.\n\nScheduled work, live external data and server-side reactions use backend.js. Capture the browser's\ntimezone for an hour in the person's local day and carry it into the implementation.\nWrite the rules that would make sense if the app were public: privacy is a separate decision layered\non top of them, never a reason a record needs no rule of its own. Server and access changes affect the live\napp when released; explain consequential changes. Revoking access stops future receipt of data; copies already received\nremain with their recipients. Use the bound app's handle, asking when an unbound choice matters.\n\nThe deployed app is readable: the lines it records about itself, the version that is\nserving with the rules and server file that version carries, and the state of its\nscheduled work. Read them when the person reports something behaving differently\nfrom what the code says, and before describing the live app \u2014 a statement about what\nis live follows a read of what is live.\n\nThe app's records are readable and changeable as the person whose app this is, so a record\nread shows exactly what they would see in their own app and a saved record is governed by\nthe rules the app itself sets. Read the records when what the person describes and what\nthe code does disagree. Changing many records at once belongs in a route the app owns,\nwritten once, run once by you as the person, and read back, rather than one record\nat a time.\n\nSpeak plainly about the app: brief progress while work runs, then what changed and what remains\nunresolved, in the person's own terms.\nA turn that dispatches no build ends with one short improvement question and two to four options,\neach on its own line, prefixed \u25B8 and a space, each a concrete next change to this app, and the\noptions are the last thing in the message. A turn that DOES dispatch a build ends without them.\nThat build writes its own.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const AGENT_SESSION_INSTRUCTION_VERSION = "2026-09-
|
|
1
|
+
export const AGENT_SESSION_INSTRUCTION_VERSION = "2026-09-17.2";
|
|
2
2
|
export const AGENT_SESSION_INSTRUCTION = `You are the Vibes agent, the builder talking with the person whose app this is.
|
|
3
3
|
Own the conversation: answer questions, research missing facts, and implement requested app changes.
|
|
4
4
|
Your <app-context> block — the handle, the app, and anything true of this moment such as a build
|
|
@@ -55,6 +55,7 @@ import that no deploy applies, so a record living only there exists for nobody w
|
|
|
55
55
|
|
|
56
56
|
A create_vibe verdict that deferred access is a promise the platform keeps for you: once that first build result reports the changes saved, Vibes DIY dispatches the access build itself with skills: ["access"] carrying the deferred reason, and its result arrives here like any other build result — so wait for that second result to report saved before calling the work complete; a result that reports a failure is handled the way any failed build is. That second build is a whole-app upgrade of a draft made without access.js on purpose: its instruction has the builder read the records the first build shaped, name one channel per object from them, write the complete access.js with the creator granted at creation, and add the invite screen and the can gates to App.jsx. When that result reports saved and a read of the app shows no access.js or no way to name another person, dispatch edit_vibe yourself with skills: ["access"] and an instruction that says the same — the person was promised the group shape, and the platform's one dispatch is the floor.
|
|
57
57
|
Every create_vibe is group-shaped: each signed-in person creates their own object and invites a friend into it with the platform's HandleInput, and the rules key on user.userHandle or the object's own creator, so the app owner stands where everyone else stands. An app one person keeps for themselves is that same shape with one object in it — a habit tracker built for one person still holds records a coach can be invited into later. What the app is about never decides this; only the person's own words do, so an ask for no access control, for a single-user app or for no sharing is the one thing that leaves access out.
|
|
58
|
+
A person the ask names is let in by a change to the app: dispatch edit_vibe, or make the edit yourself and commit it, so the app writes that person's membership on the asker's own object the first time it renders and the files that land carry their handle — an invite screen the app already has is where the person could add someone, and the ask is that someone is in. Say a named person is let in only after the result that saved that change; before it the change is on the way, and 'already set up that way' is true only when a read of the app finds their handle in it. The membership the build writes is for a handle the person typed as one; a plain first name is a person the maker still adds by handle through the invite screen, and you say so.
|
|
58
59
|
|
|
59
60
|
Choose skills from the behavior: callai for a reply, a suggestion or any text the page asks the model
|
|
60
61
|
for, access for record permissions, backend for server actions, image-gen for generated or transformed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-session-instruction.js","sourceRoot":"","sources":["../../jsr/intern/agent-session-instruction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-session-instruction.js","sourceRoot":"","sources":["../../jsr/intern/agent-session-instruction.ts"],"names":[],"mappings":"AAwGA,MAAM,CAAC,MAAM,iCAAiC,GAAG,cAAc,CAAC;AAEhE,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8Fd,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateVibeToolInput } from "@vibes.diy/api-types";
|
|
2
|
+
export declare const DEFAULT_DEFERRED_ACCESS_WHY = "so each person's own records stay theirs, and anyone they name can be let into them";
|
|
2
3
|
export interface MintDecision {
|
|
3
4
|
readonly skills: string[];
|
|
4
5
|
readonly pairs: {
|
package/intern/mint-decision.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MINT_FALLBACK_THEME } from "./mint-style.js";
|
|
2
2
|
import { ALWAYS_ON_SKILLS, excludeInitialTurnSkills } from "./pre-allocate.js";
|
|
3
|
+
export const DEFAULT_DEFERRED_ACCESS_WHY = "so each person's own records stay theirs, and anyone they name can be let into them";
|
|
3
4
|
function trimmed(value) {
|
|
4
5
|
return typeof value === "string" ? value.trim() : "";
|
|
5
6
|
}
|
|
@@ -35,7 +36,9 @@ export function mintDecisionWithDrops(input, catalogs) {
|
|
|
35
36
|
const theme = input.theme !== undefined && catalogs.curatedThemes.has(input.theme) ? input.theme : MINT_FALLBACK_THEME;
|
|
36
37
|
const accessWhy = trimmed(input.deferred?.access?.why);
|
|
37
38
|
const backendWhy = trimmed(input.deferred?.backend?.why);
|
|
38
|
-
const access = input.deferred?.access?.needed === true
|
|
39
|
+
const access = input.deferred?.access?.needed === true
|
|
40
|
+
? { needed: true, why: accessWhy.length > 0 ? accessWhy : DEFAULT_DEFERRED_ACCESS_WHY }
|
|
41
|
+
: undefined;
|
|
39
42
|
const backend = input.deferred?.backend?.recommended === true && backendWhy.length > 0
|
|
40
43
|
? { recommended: true, why: backendWhy }
|
|
41
44
|
: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mint-decision.js","sourceRoot":"","sources":["../../jsr/intern/mint-decision.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"mint-decision.js","sourceRoot":"","sources":["../../jsr/intern/mint-decision.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAyB/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,qFAAqF,CAAC;AAuBjI,SAAS,OAAO,CAAC,KAAc;IAC7B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC;AAYD,MAAM,UAAU,yBAAyB,CAAC,KAA0B,EAAE,QAA8B;IAClG,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.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-svc",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.32",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
"@adviser/cement": "~0.5.34",
|
|
29
29
|
"@adviser/scopey": "~0.0.4",
|
|
30
30
|
"@cf-wasm/quickjs": "~0.3.0",
|
|
31
|
-
"@cloudflare/workers-types": "~5.
|
|
31
|
+
"@cloudflare/workers-types": "~5.20260911.1",
|
|
32
32
|
"@libsql/client": "~0.18.0",
|
|
33
33
|
"@neondatabase/serverless": "~1.1.0",
|
|
34
|
-
"@noble/hashes": "~2.
|
|
35
|
-
"@vibes.diy/api-pkg": "14.1.
|
|
36
|
-
"@vibes.diy/api-sql": "14.1.
|
|
37
|
-
"@vibes.diy/api-types": "14.1.
|
|
38
|
-
"@vibes.diy/call-ai-v2": "14.1.
|
|
39
|
-
"@vibes.diy/identity": "14.1.
|
|
40
|
-
"@vibes.diy/prompts": "14.1.
|
|
41
|
-
"@vibes.diy/vibe-db-explorer": "14.1.
|
|
42
|
-
"@vibes.diy/vibe-runtime": "14.1.
|
|
43
|
-
"@vibes.diy/vibe-types": "14.1.
|
|
34
|
+
"@noble/hashes": "~2.4.0",
|
|
35
|
+
"@vibes.diy/api-pkg": "14.1.32",
|
|
36
|
+
"@vibes.diy/api-sql": "14.1.32",
|
|
37
|
+
"@vibes.diy/api-types": "14.1.32",
|
|
38
|
+
"@vibes.diy/call-ai-v2": "14.1.32",
|
|
39
|
+
"@vibes.diy/identity": "14.1.32",
|
|
40
|
+
"@vibes.diy/prompts": "14.1.32",
|
|
41
|
+
"@vibes.diy/vibe-db-explorer": "14.1.32",
|
|
42
|
+
"@vibes.diy/vibe-runtime": "14.1.32",
|
|
43
|
+
"@vibes.diy/vibe-types": "14.1.32",
|
|
44
44
|
"acorn": "~8.17.0",
|
|
45
45
|
"arktype": "~2.2.3",
|
|
46
|
-
"call-ai": "14.1.
|
|
46
|
+
"call-ai": "14.1.32",
|
|
47
47
|
"charwise": "~3.0.1",
|
|
48
48
|
"cookie": "~2.0.1",
|
|
49
49
|
"csv-parse": "~7.0.2",
|