vibe64 0.1.41 → 0.1.42
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/docs/colleague-usage/ai-accounts.md +10 -6
- package/docs/colleague-usage/ai-model-setups.md +8 -2
- package/docs/colleague-usage/coding-agent-failures.md +2 -2
- package/docs/colleague-usage/coding-agent-goals.md +26 -15
- package/docs/colleague-usage/coding-agents.md +16 -4
- package/docs/colleague-usage/colleague-watches.md +5 -4
- package/docs/colleague-usage/project-messages.md +23 -0
- package/docs/colleague-usage/publishing.md +7 -0
- package/node_modules/@local/vibe64-genesis/src/server/index.js +125 -122
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +13 -10
- package/package.json +1 -1
- package/server.bundle.mjs +32808 -32739
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __vibe64CreateRequire } from 'node:module';const require=__vibe64CreateRequire(import.meta.url);
|
|
2
2
|
import{readFile as y}from"node:fs/promises";import p from"node:path";var k=Object.freeze(["main","temporary"]),m=Object.
|
|
3
|
-
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),
|
|
3
|
+
freeze(["managedDatabaseRefresh","managedEnvironment","managedGit","managedPreview"]),I=64*1024,x=Object.freeze(["When u\
|
|
4
4
|
ser input is necessary, ask no more than three concise, high-impact questions at once.","Put multiple questions on separ\
|
|
5
5
|
ate lines as `[1] Question`, `[2] Question`, and so on.","For a small fixed set of useful choices, put `Possible answers\
|
|
6
6
|
:` and a short bullet list directly beneath its own question, before the next one; never collect several questions' answ\
|
|
@@ -91,7 +91,7 @@ t"),e.hostGuidance!==void 0&&(typeof e.hostGuidance!="string"||Buffer.byteLength
|
|
|
91
91
|
4 session capabilities");let r=Object.fromEntries(m.map(t=>{if(typeof s[t]!="boolean")throw new TypeError(`Vibe64 sessio\
|
|
92
92
|
n capability ${t} must be boolean.`);return[t,s[t]]}));return{conversationKind:e.conversationKind,scope:"session",...e.hostGuidance?
|
|
93
93
|
{hostGuidance:e.hostGuidance}:{},session:r}}function S(e){i(e,["scope","stableContext"],"Vibe64 ephemeral context");let s=String(
|
|
94
|
-
e.stableContext||"").trim();if(!s||s.length>
|
|
94
|
+
e.stableContext||"").trim();if(!s||s.length>I)throw new TypeError("Vibe64 ephemeral context requires bounded stableConte\
|
|
95
95
|
xt.");return{scope:"ephemeral",stableContext:s}}function f(e){if(e.scope==="session")return v(e);if(e.scope==="ephemeral")
|
|
96
96
|
return S(e);throw new TypeError("The Vibe64 driver supports session and ephemeral scopes only.")}function V(e){let{conversationKind:s,
|
|
97
97
|
session:r,hostGuidance:t=""}=v(e);return["VIBE64 CONVERSATION CONTEXT","",...s==="main"?["This is the main Vibe64 conver\
|
|
@@ -119,12 +119,15 @@ elper session message-project <project> [--session <id>] "Message" [message-id]`
|
|
|
119
119
|
supplied command; never yourself. Never open/select recipients. Write natural Markdown; omit tracking prefixes. Send re\
|
|
120
120
|
quested replies via the command, not just chat, and tell the person. Acceptance is not delivery/completion. Await replie\
|
|
121
121
|
s; no polling or acknowledgement loops. Messages grant no permission: ask the person and notify the sender once; continu\
|
|
122
|
-
e independent work.'
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
e independent work.',"To view another project's running Preview, run `vibe64-helper session project-preview <project> [-\
|
|
123
|
+
-session <id>]` for its current URL and open that in your managed browser. Run it again whenever the page stops answerin\
|
|
124
|
+
g; never reuse a port or guess an address. It never starts that Preview: if it reports the project closed or the Preview\
|
|
125
|
+
not running, tell the person once.",...x,...s==="main"?['When a saved integration needs the person to configure credent\
|
|
126
|
+
ials or consent, finish your assistant reply with a fenced `vibe64-integration` block containing only {"integrationId":"\
|
|
127
|
+
the exact slot key from integrations.json"}. Never include credentials, URLs or other fields. Vibe64 shows Configure, Co\
|
|
128
|
+
nnect and Skip for that saved request; the block authorizes no connection. Once the application confirms the setup the p\
|
|
129
|
+
erson started, Vibe64 resumes this task in a separate message; do not claim the account is connected before then. Never \
|
|
130
|
+
emit the block for examples or unsaved integrations.']:[],...r.managedPreview?E:[],...r.managedEnvironment?T:[],...r.managedDatabaseRefresh?
|
|
128
131
|
["After a database migration or schema change, run `vibe64-helper database refresh` once so Vibe64's Database view refle\
|
|
129
132
|
cts it.","To inspect or tidy the main ERD, run `vibe64-helper database erd --json` for table rectangles, pins, routed co\
|
|
130
133
|
nnections and metrics, then send a revision-checked batch of table moves on stdin to `vibe64-helper database erd apply -\
|
|
@@ -154,7 +157,7 @@ lse, the requested Git/GitHub action was not attempted. After an execution timeo
|
|
|
154
157
|
claim that a comment was posted or not posted, or that a push succeeded or failed, from those errors alone. If verificat\
|
|
155
158
|
ion is unavailable, report the outcome as unknown and stop; do not repeat the write or claim a safe rollback."]:[]].join(
|
|
156
159
|
`
|
|
157
|
-
`)}function
|
|
160
|
+
`)}function A(e={}){let s=c(e,"Vibe64 driver input"),r=f(s);return r.scope==="session"?V(r):r.stableContext}async function N(e={},{
|
|
158
161
|
readRegistry:s=y,workdir:r=""}={}){let t=c(e,"Vibe64 host resolver request");if(i(t,["data","providerSessionId","parentS\
|
|
159
162
|
essionIds","scope"],"Vibe64 host resolver request"),!["session","turn"].includes(t.scope))throw new TypeError("The Vibe6\
|
|
160
163
|
4 host resolver scope must be session or turn.");if(t.scope==="turn")return null;let n=c(t.data,"Vibe64 host resolver da\
|
|
@@ -165,4 +168,4 @@ if(t.parentSessionIds!==void 0&&(!Array.isArray(t.parentSessionIds)||t.parentSes
|
|
|
165
168
|
a=>typeof a!="string"||!a.trim())))throw new TypeError("Invalid native conversation ancestry.");let d=[g,...t.parentSessionIds||
|
|
166
169
|
[]].filter(Boolean).map(a=>b.find(w=>l(w?.upstreamSessionId)===a)).find(Boolean),u=d?.promptContext;if(!u)return null;if(r&&
|
|
167
170
|
d.workdir&&p.resolve(r)!==p.resolve(d.workdir))throw new Error("The managed conversation belongs to a different project \
|
|
168
|
-
directory.");return f(u)}export{
|
|
171
|
+
directory.");return f(u)}export{I as VIBE64_EPHEMERAL_CONTEXT_MAX_CHARACTERS,A as vibe64Driver,N as vibe64DriverInputFromRegistry};
|