@engenty/wizards-runtime 0.11.12 → 0.12.0
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/apps/runtime/dist/app.js +2 -0
- package/apps/runtime/dist/auth/index.js +14 -2
- package/apps/runtime/dist/cli/account.js +1 -1
- package/apps/runtime/dist/cli/features.js +45 -2
- package/apps/runtime/dist/docs/dev/plugins/reference.md +3 -3
- package/apps/runtime/dist/docs/dev/plugins/studio.md +1 -1
- package/apps/runtime/dist/docs/user-guide/models.md +22 -2
- package/apps/runtime/dist/docs/user-guide/server.md +15 -2
- package/apps/runtime/dist/features.js +9 -0
- package/apps/runtime/dist/index.js +7 -0
- package/apps/runtime/dist/local-models.js +192 -0
- package/apps/runtime/dist/models.js +250 -75
- package/apps/runtime/dist/plugins/install.js +120 -0
- package/apps/runtime/dist/plugins/loader.js +33 -3
- package/apps/runtime/dist/plugins/pro.js +9 -9
- package/apps/runtime/dist/prompts/tools.md +1 -1
- package/apps/runtime/dist/routes/plugins.js +110 -2
- package/apps/runtime/dist/routes/runtime-settings.js +108 -0
- package/apps/runtime/dist/routes/studio.js +64 -2
- package/apps/runtime/dist/services/project-files.js +11 -1
- package/apps/runtime/dist/services/project-index.js +47 -4
- package/apps/runtime/dist/texts.js +4 -0
- package/apps/runtime/dist/update.js +10 -2
- package/apps/web/dist/assets/AboutDialog-BOJjBIYk.js +1 -0
- package/apps/web/dist/assets/{ChangelogDialog-Dc66LqBg.js → ChangelogDialog-I9DEn_ra.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-BijLsoJX.js → CodeEditor-BgUofYLQ.js} +1 -1
- package/apps/web/dist/assets/EditorPage-DEOxHFXn.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-Wjt28MdG.js → FlowPreview-C6DeATyk.js} +1 -1
- package/apps/web/dist/assets/{Marketplace-CpjRqTvn.js → Marketplace-Dt7ktvc3.js} +2 -2
- package/apps/web/dist/assets/{NewWizardChannels-g3CJzwr5.js → NewWizardChannels-BrVFc6PV.js} +1 -1
- package/apps/web/dist/assets/{NewWizardPage-DGHwvXLf.js → NewWizardPage-Dl8sMR2e.js} +1 -1
- package/apps/web/dist/assets/OnboardingPage-BN5IfLGL.js +1 -0
- package/apps/web/dist/assets/{PreviewPane-BgIEsVjy.js → PreviewPane-BDzDuTz1.js} +5 -5
- package/apps/web/dist/assets/ProjectPage-BqkkyEpP.js +1 -0
- package/apps/web/dist/assets/PublicRunner-bAakEGwv.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-C3SYrBNk.js → ReadOnly-MBVPGEhw.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-DDe1BC-3.js +2 -0
- package/apps/web/dist/assets/SetupPage-CmTC9K8_.js +1 -0
- package/apps/web/dist/assets/{SharePage-BDeYhYRB.js → SharePage-D9_IxO3M.js} +1 -1
- package/apps/web/dist/assets/changelog-iTu1De5h.js +1 -0
- package/apps/web/dist/assets/i18n-7CvqRUdn.js +55 -0
- package/apps/web/dist/assets/index-CNwXyMzH.js +49 -0
- package/apps/web/dist/assets/index-Dxwbli0m.css +1 -0
- package/apps/web/dist/assets/{wrench-Dr19y-10.js → lock-D1093O6-.js} +1 -1
- package/apps/web/dist/assets/{phone-JGS60FQU.js → phone-YeDiW-kN.js} +1 -1
- package/apps/web/dist/assets/{runners-CwTP03YR.js → runners-DP0vYvTF.js} +1 -1
- package/apps/web/dist/assets/session-Bio3Vaq1.js +2 -0
- package/apps/web/dist/assets/{theme-DftQJmEW.js → theme-AlaEfdLQ.js} +2 -2
- package/apps/web/dist/assets/{ui-Bhp_a_44.js → ui-CU-cIuyK.js} +2 -2
- package/apps/web/dist/assets/{upload-DPLDQsRT.js → upload-DbWtEr1f.js} +1 -1
- package/apps/web/dist/assets/{useMutation-Cmn8b7tT.js → useMutation-erJIov3t.js} +1 -1
- package/apps/web/dist/assets/{volume-2-DGqbhyPO.js → volume-2-V1P9DYWO.js} +1 -1
- package/apps/web/dist/index.html +8 -8
- package/apps/web/dist/manifest.webmanifest +1 -1
- package/apps/web/dist/mcp/flow.html +25 -25
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +6 -0
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +6 -0
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/apps/web/dist/assets/AboutDialog-DKGBCS3o.js +0 -1
- package/apps/web/dist/assets/EditorPage-CWtOGKs7.js +0 -3
- package/apps/web/dist/assets/Harness-BrP-ENHg.css +0 -1
- package/apps/web/dist/assets/Harness-CdmCoeEZ.js +0 -16
- package/apps/web/dist/assets/OnboardingPage-CoCBYKvL.js +0 -1
- package/apps/web/dist/assets/ProjectPage-Cmhm9qh1.js +0 -1
- package/apps/web/dist/assets/PublicRunner-C7i0QdlT.js +0 -1
- package/apps/web/dist/assets/SettingsPage-Ctul7RLy.js +0 -2
- package/apps/web/dist/assets/SetupPage-CuuQVDH2.js +0 -1
- package/apps/web/dist/assets/changelog-BXyvVCpB.js +0 -1
- package/apps/web/dist/assets/i18n-BYeH2Dmi.js +0 -55
- package/apps/web/dist/assets/index-BYZBN0xx.css +0 -1
- package/apps/web/dist/assets/index-C0yASttP.js +0 -34
- package/apps/web/dist/assets/session-CngLvd02.js +0 -2
- package/apps/web/dist/assets/settings-menu-C0yo5q3t.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Xn as e}from"./ui-
|
|
1
|
+
import{Xn as e}from"./ui-CU-cIuyK.js";var t={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t}from"./jsx-runtime-BNakU3Ej.js";import{Mr as n,Or as r,Tr as i,br as a,gr as o,kr as s,mr as c,pr as l,vr as u}from"./ui-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t}from"./jsx-runtime-BNakU3Ej.js";import{Mr as n,Or as r,Tr as i,br as a,gr as o,kr as s,mr as c,pr as l,vr as u}from"./ui-CU-cIuyK.js";var d=class extends l{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||f(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=c({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),o.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function f(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var p=class extends u{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),r(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&a(t.mutationKey)!==a(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#n&&(this.#n.addObserver(this),this.#i())}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??f();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){o.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},m=e(t(),1);function h(e,t){let r=n(t),[a]=m.useState(()=>new p(r,e));m.useEffect(()=>{a.setOptions(e)},[a,e]);let c=m.useSyncExternalStore(m.useCallback(e=>a.subscribe(o.batchCalls(e)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),l=m.useCallback((...e)=>{a.mutate(e[0],e[1]).catch(i)},[a]);if(c.error&&s(a.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:l,mutateAsync:c.mutate}}export{d as n,h as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Xn as e}from"./ui-
|
|
1
|
+
import{Xn as e}from"./ui-CU-cIuyK.js";var t={name:`bot`,size:24,node:[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]};t.node;var n=e(t),r={name:`globe`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]};r.node;var i=e(r),a={name:`plug`,size:24,node:[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]};a.node;var o=e(a),s={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};s.node;var c=e(s);export{n as i,o as n,i as r,c as t};
|
package/apps/web/dist/index.html
CHANGED
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
dispatchEvent(new Event("wizard-install"));
|
|
35
35
|
});
|
|
36
36
|
</script>
|
|
37
|
-
<script type="module" crossorigin src="/studio/assets/index-
|
|
37
|
+
<script type="module" crossorigin src="/studio/assets/index-CNwXyMzH.js"></script>
|
|
38
38
|
<link rel="modulepreload" crossorigin href="/studio/assets/rolldown-runtime-hePW80VL.js">
|
|
39
39
|
<link rel="modulepreload" crossorigin href="/studio/assets/jsx-runtime-BNakU3Ej.js">
|
|
40
40
|
<link rel="modulepreload" crossorigin href="/studio/assets/preload-helper-DpV6A1kQ.js">
|
|
41
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/i18n-
|
|
42
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/ui-
|
|
43
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/useMutation-
|
|
44
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/volume-2-
|
|
41
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/i18n-7CvqRUdn.js">
|
|
42
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/ui-CU-cIuyK.js">
|
|
43
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/useMutation-erJIov3t.js">
|
|
44
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/volume-2-V1P9DYWO.js">
|
|
45
45
|
<link rel="modulepreload" crossorigin href="/studio/assets/engenty-CNjaZCVM.js">
|
|
46
46
|
<link rel="modulepreload" crossorigin href="/studio/assets/logo-CGNoptDg.js">
|
|
47
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/session-
|
|
48
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/Marketplace-
|
|
47
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/session-Bio3Vaq1.js">
|
|
48
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/Marketplace-Dt7ktvc3.js">
|
|
49
49
|
<link rel="modulepreload" crossorigin href="/studio/assets/react-dom-hf6EcyAr.js">
|
|
50
50
|
<link rel="modulepreload" crossorigin href="/studio/assets/media-Cej-H610.js">
|
|
51
|
-
<link rel="stylesheet" crossorigin href="/studio/assets/index-
|
|
51
|
+
<link rel="stylesheet" crossorigin href="/studio/assets/index-Dxwbli0m.css">
|
|
52
52
|
</head>
|
|
53
53
|
<body>
|
|
54
54
|
<div id="root"></div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"short_name": "wizards",
|
|
5
5
|
"description": "Make a wish, describe it once, and let the wizards run it on your own AI or in the cloud",
|
|
6
6
|
"start_url": "./",
|
|
7
|
-
"scope": "
|
|
7
|
+
"scope": "../studio",
|
|
8
8
|
"display": "standalone",
|
|
9
9
|
"background_color": "#faf8f5",
|
|
10
10
|
"theme_color": "#faf8f5",
|