vibe64 0.1.46 → 0.1.47
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/bin/upgrade-state.js +694 -693
- package/docs/colleague-usage/coding-agents.md +4 -7
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@local/vibe64-genesis/src/server/index.js +64 -63
- package/package.json +5 -5
- package/server.bundle.mjs +31000 -31036
|
@@ -166,14 +166,11 @@ A message sent while a turn is still running joins that turn, with that turn's
|
|
|
166
166
|
mode and model. This includes a Claude turn whose reply is ready while a
|
|
167
167
|
background task (for example a long test run) still runs: the status reads
|
|
168
168
|
**Reply ready · background task still running…**. If you changed **Chat mode**
|
|
169
|
-
(or chose another Custom model) since that turn started,
|
|
170
|
-
|
|
171
|
-
the
|
|
172
|
-
background task) or wait for the turn to finish, then choose **Retry** to send it
|
|
173
|
-
as a new request on your current Chat mode. During a goal, the goal's own mode
|
|
169
|
+
(or chose another Custom model) since that turn started, the message still joins
|
|
170
|
+
the running turn on its original mode and model; your new choice applies from
|
|
171
|
+
the next new request. During a goal, the goal's own mode
|
|
174
172
|
governs its turns (see [Goals and model changes](coding-agent-goals.md)). This
|
|
175
|
-
applies on desktop and mobile
|
|
176
|
-
Stop and Retry.
|
|
173
|
+
applies on desktop and mobile.
|
|
177
174
|
|
|
178
175
|
To change the model for an active Update merge repair, open **Chat mode** in
|
|
179
176
|
that repair's composer, then **Choose model**. In **Custom AI**, choose a
|
|
@@ -548,67 +548,68 @@ HOST_CONTEXT_RESOLVER_ENV:tr,addStack:nr,applyTemplate:sr,generatePrompt:rr,inde
|
|
|
548
548
|
inspectDerivedArtifacts:cr,inspectEngineering:ur,inspectEnvironment:ye,inspectProject:pr,inspectProjectFormat:lr,inspectAgentIntegrations:dr,
|
|
549
549
|
inspectSkills:mr,inspectStackSection:fr,inspectStackSections:hr,inspectSubsystems:gr,listTemplates:Er,parserEnvironment:br,
|
|
550
550
|
setCollaboration:yr,setEngineeringProfile:vr,syncAgentIntegrations:wr,syncSkills:Ir,withTrustedGitRepository:Sr,SOURCE_EXPLANATION_PROMPT_VERSION:Mi,
|
|
551
|
-
sourceExplanationGuidance:ji,validateArchitectureFacts:Gi,mergeArchitectureObservations:Ui
|
|
552
|
-
|
|
553
|
-
"
|
|
554
|
-
start"}),_r=new Set(["adopt","
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
e.genesisTask)||"work"}function Rr(e={},t={}){
|
|
558
|
-
map(J).find(Boolean)||"Continue the
|
|
559
|
-
|
|
560
|
-
"
|
|
561
|
-
"
|
|
562
|
-
|
|
563
|
-
r))),t]}function Cr(e={},{prompt:t=!1}={}){
|
|
564
|
-
return
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
contract!==_.derivedArtifacts)throw new Error(
|
|
568
|
-
.`);let t=Array.isArray(e.artifacts)?
|
|
569
|
-
|
|
570
|
-
map(
|
|
571
|
-
if(!Pr||!$r)throw new Error(
|
|
572
|
-
t.projectRoot);if(!s||!G.
|
|
573
|
-
return Sr(s,()=>e(Cr(t,
|
|
574
|
-
|
|
575
|
-
e,
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
e)}
|
|
587
|
-
status.");return{...t}}function
|
|
588
|
-
|
|
589
|
-
t)]);return{...Pt({environment:i,section:n,
|
|
590
|
-
|
|
591
|
-
await W(
|
|
592
|
-
return{...await jt({projectRoot:e.projectRoot,section:t}),
|
|
593
|
-
async function
|
|
594
|
-
async function
|
|
595
|
-
environment:t,projectRoot:s,request:i,sessionContextInstalled:!0,
|
|
596
|
-
hasOwn(Kt,String(p?.code))?Kt[p.code]:"";if(!d||d===r)
|
|
597
|
-
requestedTask:r,task:c,verificationCommands:u.verificationCommands,
|
|
598
|
-
promptId:J(e.promptId||e.id)||c}}export{
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
551
|
+
sourceExplanationGuidance:ji,validateArchitectureFacts:Gi,mergeArchitectureObservations:Ui,validateCityDocument:Bi,MACHINE_CITY_SCHEMA:Hi,
|
|
552
|
+
PROGRAM_CITY_SCHEMA:zi,CITY_SCHEMA_VERSION:Wi}=re,qi="genesis/blueprint.md",Fi="genesis/subsystems.md",Tr=Object.freeze(
|
|
553
|
+
["vue","django-postgresql","jskit-postgresql","postgresql","rails-postgresql","spring-boot-postgresql"]),kr=Object.freeze(
|
|
554
|
+
["genesis-stack"]),Kt=Object.freeze({BLUEPRINT_INVALID:"blueprint",BLUEPRINT_REQUIRED:"start"}),_r=new Set(["adopt","blu\
|
|
555
|
+
eprint","describe","deslop","program","review","start","work"]);function J(e=""){return String(e||"").trim()}function Xt(e,{
|
|
556
|
+
required:t=!1}={}){let n=J(e);if(!n&&!t)return"";if(!_r.has(n))throw new TypeError(n?`Unknown Genesis prompt task: ${n}.`:
|
|
557
|
+
"Genesis prompt actions require an explicit task.");return n}function Or(e={}){return Xt(e.genesisTask)||"work"}function Rr(e={},t={}){
|
|
558
|
+
return[e.conversationRequest,e.feedback,e.request,e.plan,e.description,t.label].map(J).find(Boolean)||"Continue the requ\
|
|
559
|
+
ested project work."}function Ki(e={}){return br(e)}function Ar(){let e=(Yt.resolve.paths("genesis-compiler")||[]).find(
|
|
560
|
+
t=>Ft(G.join(t,"genesis-compiler"))&&Ft(G.join(t,".bin","genesis")));if(!e)throw new Error("The installed Genesis compil\
|
|
561
|
+
er executable could not be located.");return G.join(e,".bin")}function Jt(){let e=Yt.resolve("@local/vibe64-genesis/serv\
|
|
562
|
+
er");return G.resolve(G.dirname(e),"../../bin")}function Nr(){return G.resolve(Jt(),"vibe64-genesis-host-context")}function Yi(e=[]){
|
|
563
|
+
let t=Jt(),n=Ar();return[...(Array.isArray(e)?e:[]).filter(r=>![t,n].includes(J(r))),t]}function Cr(e={},{prompt:t=!1}={}){
|
|
564
|
+
return{...e,...t?{hiddenStackPieces:Tr}:{},stackPackages:kr}}function Xi(e={}){return N(nr,e)}function Ji(e={}){return N(
|
|
565
|
+
or,e)}function Zi(e={}){return N(mr,e)}function Qi(e={}){return N(Ir,e)}function eo(e={}){return N(wr,e)}function to(e={}){
|
|
566
|
+
return N(dr,e)}function no(e={}){return N(gr,e)}async function so(e={}){return et(await W(Je,e))}async function ro(e={}){
|
|
567
|
+
return nt(await W(tt,e))}function io(e={}){return N(ir,e)}function Dr(){let e=cr();if(e?.contract!==_.derivedArtifacts)throw new Error(
|
|
568
|
+
`Genesis returned ${e?.contract||"no contract identity"}; expected ${_.derivedArtifacts}.`);let t=Array.isArray(e.artifacts)?
|
|
569
|
+
e.artifacts:[];if(!t.length||t.some(n=>!J(n?.path)))throw new Error("Genesis returned an invalid derived-artifact contra\
|
|
570
|
+
ct.");return{...e,artifacts:t.map(n=>({...n}))}}var Zt=Dr(),oo=Object.freeze(Zt.artifacts.map(e=>e.path)),Qt=new Map(Zt.
|
|
571
|
+
artifacts.map(e=>[e.id,e])),Pr=Qt.get("machine-city")?.path,$r=Qt.get("program-city")?.path;if(!Pr||!$r)throw new Error(
|
|
572
|
+
"Genesis did not declare both City projection artifacts.");async function N(e,t={},n={}){let s=J(t.projectRoot);if(!s||!G.
|
|
573
|
+
isAbsolute(s))throw new TypeError("Genesis operations require an explicit absolute projectRoot.");return Sr(s,()=>e(Cr(t,
|
|
574
|
+
n)))}async function ao({workdir:e,promptContext:t}){let n=Q(t);return t.scope==="ephemeral"?n:(await N(re.projectSessionContext,
|
|
575
|
+
{projectRoot:e,hostDriver:Q,hostDriverInput:t})).output}async function x(e,t,n={}){let s=await N(e,n);if(s?.contract!==t)
|
|
576
|
+
throw new Error(`Genesis returned ${s?.contract||"no contract identity"}; expected ${t}.`);return s}function W(e,t={}){return x(
|
|
577
|
+
n=>fr({...n,name:e}),_.stackSection,t)}async function ze(e,t={}){let n=await N(s=>hr({...s,names:e}),t);if(!Array.isArray(
|
|
578
|
+
n)||n.length!==e.length||n.some((s,r)=>s?.contract!==_.stackSection||s.name!==e[r]))throw new Error("Genesis returned an\
|
|
579
|
+
invalid Stack section inspection batch.");return n}async function co(e={}){if((await Vr(e)).status!=="current")throw Object.
|
|
580
|
+
assign(new Error("The project needs a current Genesis format before its Stack can be inspected."),{code:"vibe64_stack_fo\
|
|
581
|
+
rmat_required"});await Js(G.join(e.projectRoot,"genesis/stack.md"),"utf8");let n=await W(ne,e);return{components:n.components,
|
|
582
|
+
stackHash:n.stackHash}}async function uo(e={}){let[t,n]=await Promise.all([W(pt,e),x(ye,_.environment,e)]);return dt({environment:n,
|
|
583
|
+
section:t})}async function po(e={}){let[t,n]=await Promise.all([W(bt,e),x(ye,_.environment,e)]);return St({environment:n,
|
|
584
|
+
section:t})}function lo(e={}){return N(re.verify,e)}function mo(e={}){return x(ye,_.environment,e)}function fo(e={}){return x(
|
|
585
|
+
pr,_.projectInspection,e)}function ho(e={}){return x(Er,_.templates,e)}function go(e={}){return x(sr,_.templateApplication,
|
|
586
|
+
e)}function Eo(e={}){return x(ur,_.engineering,e)}function bo(e={}){return x(ar,_.collaboration,e)}async function Vr(e={}){
|
|
587
|
+
let t=await N(lr,e);if(!J(t?.status))throw new Error("Genesis did not return a project-format status.");return{...t}}function yo(e={}){
|
|
588
|
+
return x(vr,_.engineering,e)}function vo(e={}){return x(yr,_.collaboration,e)}async function wo({resourcesPreparing:e=!1,
|
|
589
|
+
...t}={}){let[[n,s,r],i]=await Promise.all([ze([me,ge,ne],t),x(ye,_.environment,t)]);return{...Pt({environment:i,section:n,
|
|
590
|
+
resourcesPreparing:e===!0}),resourceEstimates:Ee({section:s,outputsSection:n,workspaceSetupSection:r})}}async function Io(e={}){
|
|
591
|
+
let t=await W(zt,e);return qt({section:t})}async function So(e={}){return Xe(await W(Ke,e))}async function To(e={}){return xt(
|
|
592
|
+
await W($t,e))}async function ko(e={}){let[t,n,s]=await ze([ne,ge,me],e);return{...await jt({projectRoot:e.projectRoot,section:t}),
|
|
593
|
+
resourceEstimates:Ee({section:n,outputsSection:s,workspaceSetupSection:t})}}async function _o(e={}){let[t,n,s]=await ze(
|
|
594
|
+
[ge,me,ne],e);return Ee({section:t,outputsSection:n,workspaceSetupSection:s})}async function Oo({action:e={},environment:t=process.
|
|
595
|
+
env,input:n={},projectRoot:s}={}){let r=Or(e),i=Rr(n,e),o=p=>N(rr,{environment:t,projectRoot:s,request:i,sessionContextInstalled:!0,
|
|
596
|
+
task:p},{prompt:!0}),a=r,u;try{u=await o(a)}catch(p){let d=Object.hasOwn(Kt,String(p?.code))?Kt[p.code]:"";if(!d||d===r)
|
|
597
|
+
throw p;a=d,u=await o(a)}let c=Xt(u.task)||a;return{context:{genesis:!0,requestedTask:r,task:c,verificationCommands:u.verificationCommands,
|
|
598
|
+
warnings:u.warnings},originalPrompt:i,prompt:u.prompt,promptId:J(e.promptId||e.id)||c}}export{Wi as CITY_SCHEMA_VERSION,qi as GENESIS_BLUEPRINT_PATH,oo as GENESIS_DERIVED_ARTIFACT_PATHS,Pr as GENESIS_MACHINE_CITY_PATH,
|
|
599
|
+
$r as GENESIS_PROGRAM_CITY_PATH,st as GENESIS_STACK_SECTION_AMBIGUOUS,Fi as GENESIS_SUBSYSTEMS_PATH,Hi as MACHINE_CITY_SCHEMA,
|
|
600
|
+
zi as PROGRAM_CITY_SCHEMA,Mi as SOURCE_EXPLANATION_PROMPT_VERSION,ut as VIBE64_APPLICATION_DEPLOYMENT_CONTRACT,ue as VIBE64_PACKAGING_CONTRACT,
|
|
601
|
+
de as VIBE64_PREVIEW_IDENTITY_COMMAND_PROTOCOL,Xi as addGenesisStack,go as applyGenesisTemplate,Xt as assertGenesisPromptTask,
|
|
602
|
+
Jt as genesisCommandShimDirectory,Ar as genesisPackageBinDirectory,Ki as genesisParserEnvironment,An as genesisProjectContractNeedsAttention,
|
|
603
|
+
Rr as genesisPromptRequest,Or as genesisPromptTask,Ji as initializeGenesisProject,to as inspectGenesisAgentIntegrations,
|
|
604
|
+
bo as inspectGenesisCollaboration,Dr as inspectGenesisDerivedArtifacts,Eo as inspectGenesisEngineering,mo as inspectGenesisEnvironment,
|
|
605
|
+
fo as inspectGenesisProject,Vr as inspectGenesisProjectFormat,Zi as inspectGenesisSkills,co as inspectGenesisStackComponents,
|
|
606
|
+
no as inspectGenesisSubsystems,so as inspectVibe64ArchitectureInspection,ro as inspectVibe64ArchitectureLayout,So as inspectVibe64ConnectedDevelopment,
|
|
607
|
+
uo as inspectVibe64Deployment,Io as inspectVibe64IntegrationSetup,wo as inspectVibe64Outputs,po as inspectVibe64Packaging,
|
|
608
|
+
To as inspectVibe64ProjectServices,_o as inspectVibe64ResourceEstimates,ko as inspectVibe64WorkspaceSetup,ho as listGenesisTemplates,
|
|
609
|
+
Ui as mergeArchitectureObservations,lt as parseVibe64DeploymentLines,Wt as parseVibe64IntegrationSetupLines,fe as parseVibe64OutputsLines,
|
|
610
|
+
wt as parseVibe64PackagingLines,Vt as parseVibe64ProjectServicesLines,Ht as parseVibe64ResourceEstimatesLines,he as parseVibe64WorkspaceSetupLines,
|
|
611
|
+
io as refreshGenesisCities,Oo as renderGenesisPrompt,ks as resolveVibe64OutputParameters,It as resolveVibe64PackagingEnvironment,
|
|
612
|
+
vo as setGenesisCollaboration,yo as setGenesisEngineeringProfile,ji as sourceExplanationGuidance,eo as syncGenesisAgentIntegrations,
|
|
613
|
+
Qi as syncGenesisSkills,Gi as validateArchitectureFacts,Bi as validateCityDocument,lo as verifyGenesisProject,ao as vibe64ConversationInstructions,
|
|
613
614
|
Q as vibe64Driver,Li as vibe64HostContextEnvironment,Qs as vibe64HostContextRegistry,Nr as vibe64HostContextResolverPath,
|
|
614
|
-
|
|
615
|
+
Yi as withGenesisCommandShim};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibe64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Run Vibe64 against the current project.",
|
|
6
6
|
"type": "module",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"@fastify/send": "4.1.1",
|
|
50
50
|
"@fastify/static": "10.1.4",
|
|
51
51
|
"@fastify/websocket": "11.3.1",
|
|
52
|
-
"@jskit-ai/assistant-core": "0.1.
|
|
53
|
-
"@jskit-ai/assistant-runtime": "0.1.
|
|
54
|
-
"@jskit-ai/assistant-voice": "0.1.
|
|
52
|
+
"@jskit-ai/assistant-core": "0.1.242",
|
|
53
|
+
"@jskit-ai/assistant-runtime": "0.1.236",
|
|
54
|
+
"@jskit-ai/assistant-voice": "0.1.43",
|
|
55
55
|
"@jskit-ai/connector-google-calendar": "0.1.63",
|
|
56
56
|
"@jskit-ai/connectors-catalog": "0.1.65",
|
|
57
57
|
"@jskit-ai/connectors-core": "0.1.63",
|
|
58
58
|
"@jskit-ai/http-runtime": "0.1.244",
|
|
59
59
|
"@jskit-ai/kernel": "0.1.246",
|
|
60
60
|
"@jskit-ai/payments-core": "0.1.62",
|
|
61
|
-
"@jskit-ai/realtime": "0.1.
|
|
61
|
+
"@jskit-ai/realtime": "0.1.246",
|
|
62
62
|
"@jskit-ai/resource-core": "0.1.188",
|
|
63
63
|
"@jskit-ai/resource-crud-core": "0.1.188",
|
|
64
64
|
"@jskit-ai/uploads-runtime": "0.1.221",
|