@engenty/wizards-runtime 0.11.4 → 0.11.6
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/agents/architect.js +6 -7
- package/apps/runtime/dist/agents/chat-clients.js +3 -0
- package/apps/runtime/dist/agents/studio-assistant.js +26 -7
- package/apps/runtime/dist/agents/subscription.js +24 -11
- package/apps/runtime/dist/assistant/knows.js +1 -1
- package/apps/runtime/dist/auth/index.js +15 -2
- package/apps/runtime/dist/authoring/guide.js +2 -8
- package/apps/runtime/dist/credits/estimate.js +1 -1
- package/apps/runtime/dist/data/chat-models.json +116 -0
- package/apps/runtime/dist/db/migrations/tenant/0025_drop_mcp_servers.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0025_snapshot.json +3959 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
- package/apps/runtime/dist/db/schema.js +0 -4
- package/apps/runtime/dist/docs/dev/plugins/events.md +2 -2
- package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +1 -2
- package/apps/runtime/dist/docs/dev/wizard-format/wizard-file.md +6 -8
- package/apps/runtime/dist/docs/user-guide/cloud-sync.md +2 -2
- package/apps/runtime/dist/docs/user-guide/connectors.md +1 -10
- package/apps/runtime/dist/docs/user-guide/models.md +15 -5
- package/apps/runtime/dist/docs/user-guide/steps.md +2 -3
- package/apps/runtime/dist/engine/steps.js +126 -131
- package/apps/runtime/dist/env.js +5 -0
- package/apps/runtime/dist/live/views.js +1 -3
- package/apps/runtime/dist/mcp/tools.js +1 -1
- package/apps/runtime/dist/models.js +8 -9
- package/apps/runtime/dist/routes/studio.js +39 -6
- package/apps/runtime/dist/services/architect.js +5 -5
- package/apps/runtime/dist/services/chat-models.js +58 -0
- package/apps/runtime/dist/services/package-file.js +0 -1
- package/apps/runtime/dist/services/package.js +0 -10
- package/apps/runtime/dist/services/projects.js +1 -31
- package/apps/runtime/dist/services/spaces.js +5 -23
- package/apps/runtime/dist/services/wizards.js +8 -0
- package/apps/runtime/dist/sync/records.js +0 -9
- package/apps/runtime/dist/tools/index.js +0 -28
- package/apps/web/dist/assets/{AboutDialog-B7ThTqw4.js → AboutDialog-30Mc1_N_.js} +1 -1
- package/apps/web/dist/assets/{ChangelogDialog-DBpXTjxr.js → ChangelogDialog-Vjxg6JV8.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-BTcAUlGY.js → CodeEditor-CmMRfVhS.js} +1 -1
- package/apps/web/dist/assets/EditorPage-Di5KB-Ei.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-Sjnlj0OO.js → FlowPreview-BkcO3iCf.js} +1 -1
- package/apps/web/dist/assets/{Harness-BKl73EG5.js → Harness-D_Hr80Fo.js} +1 -1
- package/apps/web/dist/assets/Marketplace-BxFBMUsi.js +2 -0
- package/apps/web/dist/assets/{NewWizardChannels-DarxdQRt.js → NewWizardChannels-BIzOtfc8.js} +1 -1
- package/apps/web/dist/assets/{NewWizardPage-BCoPZjp5.js → NewWizardPage-BenzMrPD.js} +1 -1
- package/apps/web/dist/assets/{OnboardingPage-qV_YA_mZ.js → OnboardingPage-DuckyzQr.js} +1 -1
- package/apps/web/dist/assets/{PreviewPane-B5_GY6Cv.js → PreviewPane-D9hmriSm.js} +2 -2
- package/apps/web/dist/assets/{ProjectPage-Bcc81_KO.js → ProjectPage-A8Z8cS1E.js} +1 -1
- package/apps/web/dist/assets/{PublicRunner-hlxaESAv.js → PublicRunner-QPvlEAxx.js} +1 -1
- package/apps/web/dist/assets/{ReadOnly-BUnTzhA3.js → ReadOnly-DFn32cvo.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-ByP15ndy.js +2 -0
- package/apps/web/dist/assets/{SetupPage-DAgnVxDA.js → SetupPage-WNHH74hu.js} +1 -1
- package/apps/web/dist/assets/{SharePage-aKBNZDby.js → SharePage-Bw4TRWtv.js} +1 -1
- package/apps/web/dist/assets/changelog-Dr9tAFY9.js +1 -0
- package/apps/web/dist/assets/{coins-C8RAtYAu.js → coins-DTH3SKgZ.js} +1 -1
- package/apps/web/dist/assets/i18n-CLxuuhp_.js +55 -0
- package/apps/web/dist/assets/index-Bha72INy.css +1 -0
- package/apps/web/dist/assets/index-HhslPV6N.js +34 -0
- package/apps/web/dist/assets/oss-credits-CZT1KRIp.js +1 -0
- package/apps/web/dist/assets/{phone-DTuPPVhC.js → phone-DymZ7rLO.js} +1 -1
- package/apps/web/dist/assets/{runners-BcK_yEKU.js → runners-UfKeoOe4.js} +1 -1
- package/apps/web/dist/assets/{session-C7ciCzbV.js → session-COf_im0l.js} +1 -1
- package/apps/web/dist/assets/{settings-menu-b7am2SP5.js → settings-menu-mtOjI15L.js} +1 -1
- package/apps/web/dist/assets/{theme-BOAjs_xb.js → theme-DWoTWDAG.js} +1 -1
- package/apps/web/dist/assets/{ui-DKK_O65k.js → ui-D_0Xdrjh.js} +2 -2
- package/apps/web/dist/assets/{upload-Cbcw8l_0.js → upload-BizIzwxa.js} +1 -1
- package/apps/web/dist/assets/{useMutation-D8Bpwvs1.js → useMutation-BJfRETsQ.js} +1 -1
- package/apps/web/dist/assets/{volume-2-CgRP_A7r.js → volume-2-BGkyA8T9.js} +1 -1
- package/apps/web/dist/assets/{wrench-me5bf7bd.js → wrench-Be5zav03.js} +1 -1
- package/apps/web/dist/index.html +9 -9
- package/apps/web/dist/mcp/flow.html +3 -3
- package/node_modules/@engenty/wizards-shared/dist/assistant.d.ts +1 -0
- package/node_modules/@engenty/wizards-shared/dist/assistant.js +2 -0
- package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +0 -4
- package/node_modules/@engenty/wizards-shared/dist/definition.js +0 -3
- package/node_modules/@engenty/wizards-shared/dist/fit.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/fit.js +0 -4
- package/node_modules/@engenty/wizards-shared/dist/marketplace.js +2 -2
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +1 -2
- package/node_modules/@engenty/wizards-shared/dist/run.js +2 -4
- package/node_modules/@engenty/wizards-shared/dist/wizard-package.d.ts +0 -4
- package/node_modules/@engenty/wizards-shared/dist/wizard-package.js +0 -5
- package/package.json +1 -2
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/apps/web/dist/assets/EditorPage-B_cFXR-B.js +0 -3
- package/apps/web/dist/assets/Marketplace-BNu-Hjzu.js +0 -2
- package/apps/web/dist/assets/SettingsPage-BoA-ykQU.js +0 -2
- package/apps/web/dist/assets/changelog-DwJOKc4z.js +0 -1
- package/apps/web/dist/assets/i18n-Bq6dt_qv.js +0 -55
- package/apps/web/dist/assets/index-BdwA-8jc.js +0 -34
- package/apps/web/dist/assets/index-DQc1EITf.css +0 -1
- package/apps/web/dist/assets/oss-credits-C6bPkfSE.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Xn as e}from"./ui-
|
|
1
|
+
import{Xn as e}from"./ui-D_0Xdrjh.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-D_0Xdrjh.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-D_0Xdrjh.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Xn as e}from"./ui-
|
|
1
|
+
import{Xn as e}from"./ui-D_0Xdrjh.js";var t={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};t.node;var n=e(t),r={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};r.node;var i=e(r),a={name:`wrench`,size:24,node:[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]};a.node;var o=e(a);export{i as n,n as r,o as t};
|
package/apps/web/dist/index.html
CHANGED
|
@@ -34,22 +34,22 @@
|
|
|
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-HhslPV6N.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-
|
|
45
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/coins-
|
|
41
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/i18n-CLxuuhp_.js">
|
|
42
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/ui-D_0Xdrjh.js">
|
|
43
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/useMutation-BJfRETsQ.js">
|
|
44
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/volume-2-BGkyA8T9.js">
|
|
45
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/coins-DTH3SKgZ.js">
|
|
46
46
|
<link rel="modulepreload" crossorigin href="/studio/assets/engenty-CNjaZCVM.js">
|
|
47
47
|
<link rel="modulepreload" crossorigin href="/studio/assets/logo-CGNoptDg.js">
|
|
48
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/session-
|
|
49
|
-
<link rel="modulepreload" crossorigin href="/studio/assets/Marketplace-
|
|
48
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/session-COf_im0l.js">
|
|
49
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/Marketplace-BxFBMUsi.js">
|
|
50
50
|
<link rel="modulepreload" crossorigin href="/studio/assets/react-dom-hf6EcyAr.js">
|
|
51
51
|
<link rel="modulepreload" crossorigin href="/studio/assets/media-Cej-H610.js">
|
|
52
|
-
<link rel="stylesheet" crossorigin href="/studio/assets/index-
|
|
52
|
+
<link rel="stylesheet" crossorigin href="/studio/assets/index-Bha72INy.css">
|
|
53
53
|
</head>
|
|
54
54
|
<body>
|
|
55
55
|
<div id="root"></div>
|