@engenty/wizards-runtime 0.11.2 → 0.11.3
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/studio-assistant.js +2 -2
- package/apps/runtime/dist/app.js +4 -0
- package/apps/runtime/dist/assistant/primer.js +2 -2
- package/apps/runtime/dist/auth/index.js +32 -7
- package/apps/runtime/dist/docs/dev/licensing.md +53 -28
- package/apps/runtime/dist/docs/dev/plugins/events.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/index.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/space.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/studio.md +5 -4
- package/apps/runtime/dist/docs/dev/wizard-format/index.md +5 -5
- package/apps/runtime/dist/docs/dev/wizard-format/motion-graphics-steps.md +17 -9
- package/apps/runtime/dist/docs/dev/wizard-format/themes.md +1 -1
- package/apps/runtime/dist/docs/user-guide/create-account.md +11 -4
- package/apps/runtime/dist/docs/user-guide/first-start.md +10 -2
- package/apps/runtime/dist/docs/user-guide/plugins.md +1 -1
- package/apps/runtime/dist/docs/user-guide/space.md +15 -7
- package/apps/runtime/dist/docs/user-guide/steps.md +10 -9
- package/apps/runtime/dist/docs/user-guide/troubleshooting.md +3 -3
- package/apps/runtime/dist/manage.js +60 -2
- package/apps/runtime/dist/routes/marketplace.js +26 -2
- package/apps/runtime/dist/routes/organization.js +114 -0
- package/apps/runtime/dist/routes/person.js +45 -0
- package/apps/runtime/dist/routes/studio.js +63 -7
- package/apps/runtime/dist/services/onboarding-find.js +123 -0
- package/apps/runtime/dist/services/onboarding.js +77 -16
- package/apps/runtime/dist/services/organization-context.js +40 -0
- package/apps/runtime/dist/texts.js +12 -1
- package/apps/web/dist/assets/{AboutDialog-Bx6j5lZO.js → AboutDialog-DlbfynVv.js} +1 -1
- package/apps/web/dist/assets/{ChangelogDialog-C620Sw_A.js → ChangelogDialog-DciD55wO.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-DifBNaqQ.js → CodeEditor-9kXX-juf.js} +1 -1
- package/apps/web/dist/assets/EditorPage-ovstPrvJ.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-ucwQ_dTr.js → FlowPreview-BY3kJO9l.js} +1 -1
- package/apps/web/dist/assets/{Harness-Br0Z_anI.js → Harness-BqcSaPmJ.js} +2 -2
- package/apps/web/dist/assets/Marketplace-DxcNtFdJ.js +2 -0
- package/apps/web/dist/assets/{NewWizardChannels-Cau6XSbl.js → NewWizardChannels-CmeAOy0q.js} +1 -1
- package/apps/web/dist/assets/NewWizardPage-C2Ne-QFZ.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-CGEgLpx0.js +1 -0
- package/apps/web/dist/assets/PreviewPane-VnxYvrbF.js +10 -0
- package/apps/web/dist/assets/ProjectPage-CGpsFPJ4.js +1 -0
- package/apps/web/dist/assets/PublicRunner-b4vSNmVB.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-DGBDtXFP.js → ReadOnly-C7Kk-1Vg.js} +1 -1
- package/apps/web/dist/assets/SettingsPage-Cgt3zVu5.js +2 -0
- package/apps/web/dist/assets/SetupPage-DmYnhiMq.js +1 -0
- package/apps/web/dist/assets/{SharePage-BhWeqF3w.js → SharePage-DMgm31Y_.js} +1 -1
- package/apps/web/dist/assets/changelog-CJYpF3Mx.js +1 -0
- package/apps/web/dist/assets/{coins-CwURUZyt.js → coins-Dd9IUAaR.js} +1 -1
- package/apps/web/dist/assets/i18n-QZC6TtrB.js +55 -0
- package/apps/web/dist/assets/index-Cfn8Jnfl.js +34 -0
- package/apps/web/dist/assets/index-DQc1EITf.css +1 -0
- package/apps/web/dist/assets/{phone-DTxGRwhK.js → phone-DKeaGjd9.js} +1 -1
- package/apps/web/dist/assets/{runners-BMOIT6Ze.js → runners-D2_oJdgS.js} +1 -1
- package/apps/web/dist/assets/session-DBNhp6sF.js +2 -0
- package/apps/web/dist/assets/settings-menu-B09fSEin.js +1 -0
- package/apps/web/dist/assets/theme-CdWeSjNs.js +11 -0
- package/apps/web/dist/assets/{ui-gsqxnFnT.js → ui-BPfapiMz.js} +4 -4
- package/apps/web/dist/assets/{upload-BkwjFS-0.js → upload-DCYRRi4d.js} +1 -1
- package/apps/web/dist/assets/{useMutation-BS-U9g_a.js → useMutation-BGqWiJkl.js} +1 -1
- package/apps/web/dist/assets/{volume-2-CYOgux-z.js → volume-2-D_FTVDPk.js} +1 -1
- package/apps/web/dist/assets/{wrench-DIfUvYPN.js → wrench-BYwez0dN.js} +1 -1
- package/apps/web/dist/index.html +9 -9
- package/apps/web/dist/mcp/flow.html +2 -2
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1 -1
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +5 -5
- package/node_modules/@engenty/wizards-shared/dist/addresses.d.ts +17 -0
- package/node_modules/@engenty/wizards-shared/dist/addresses.js +97 -0
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +9 -3
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +9 -3
- package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +7 -0
- package/node_modules/@engenty/wizards-shared/dist/sectors.d.ts +24 -0
- package/node_modules/@engenty/wizards-shared/dist/sectors.js +319 -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/EditorPage-DWf9QG-U.js +0 -3
- package/apps/web/dist/assets/Marketplace-CFDpVMWM.js +0 -2
- package/apps/web/dist/assets/NewWizardPage-CrFqInHR.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-BZk42_R7.js +0 -1
- package/apps/web/dist/assets/PreviewPane-D9n6tylf.js +0 -10
- package/apps/web/dist/assets/ProjectPage-CteRfxpz.js +0 -1
- package/apps/web/dist/assets/PublicRunner-CNanj6-w.js +0 -1
- package/apps/web/dist/assets/SettingsPage-ClFQewEL.js +0 -2
- package/apps/web/dist/assets/SetupPage-k9gyFvow.js +0 -1
- package/apps/web/dist/assets/changelog-BrhGlZT6.js +0 -1
- package/apps/web/dist/assets/i18n-DEmaSTJV.js +0 -55
- package/apps/web/dist/assets/index-ClNm5JaU.js +0 -34
- package/apps/web/dist/assets/index-DImS12WR.css +0 -1
- package/apps/web/dist/assets/session-xJpGiTU_.js +0 -2
- package/apps/web/dist/assets/settings-menu-DcPFhgGA.js +0 -1
- package/apps/web/dist/assets/theme-DTi1Zdw8.js +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Xn as e}from"./ui-BPfapiMz.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{
|
|
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-BPfapiMz.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{
|
|
1
|
+
import{Xn as e}from"./ui-BPfapiMz.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{
|
|
1
|
+
import{Xn as e}from"./ui-BPfapiMz.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-Cfn8Jnfl.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-QZC6TtrB.js">
|
|
42
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/ui-BPfapiMz.js">
|
|
43
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/useMutation-BGqWiJkl.js">
|
|
44
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/volume-2-D_FTVDPk.js">
|
|
45
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/coins-Dd9IUAaR.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-DBNhp6sF.js">
|
|
49
|
+
<link rel="modulepreload" crossorigin href="/studio/assets/Marketplace-DxcNtFdJ.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-DQc1EITf.css">
|
|
53
53
|
</head>
|
|
54
54
|
<body>
|
|
55
55
|
<div id="root"></div>
|