wizards 0.2.29 → 0.2.31

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.
Files changed (61) hide show
  1. package/apps/runtime/dist/auth/account.js +8 -0
  2. package/apps/runtime/dist/auth/index.js +3 -0
  3. package/apps/runtime/dist/authoring/guide.js +1 -0
  4. package/apps/runtime/dist/engine/steps.js +3 -1
  5. package/apps/runtime/dist/env.js +5 -0
  6. package/apps/runtime/dist/files/storage.js +3 -0
  7. package/apps/runtime/dist/files/web-images.js +101 -0
  8. package/apps/runtime/dist/index.js +4 -0
  9. package/apps/runtime/dist/manage.js +6 -1
  10. package/apps/runtime/dist/plugins/loader.js +9 -2
  11. package/apps/runtime/dist/plugins/pro-keys.js +34 -0
  12. package/apps/runtime/dist/plugins/pro-state.js +83 -0
  13. package/apps/runtime/dist/plugins/pro.js +316 -0
  14. package/apps/runtime/dist/render/downloads.js +5 -3
  15. package/apps/runtime/dist/routes/plugins.js +49 -0
  16. package/apps/runtime/dist/routes/studio.js +3 -0
  17. package/apps/runtime/dist/widgets/step.js +10 -4
  18. package/apps/web/dist/assets/{Account-BaOouMw9.js → Account-v7Iqkep5.js} +1 -1
  19. package/apps/web/dist/assets/{ChangelogDialog-3t_EKUPH.js → ChangelogDialog-CnYW-DMa.js} +1 -1
  20. package/apps/web/dist/assets/{CreditsDialog-BW-RETl-.js → CreditsDialog-BtID6slV.js} +1 -1
  21. package/apps/web/dist/assets/{EditorPage-DrJhgEHO.js → EditorPage-UqOALINq.js} +1 -1
  22. package/apps/web/dist/assets/{FlowPreview-Wu5ovKrU.js → FlowPreview-CxBGhnMi.js} +1 -1
  23. package/apps/web/dist/assets/{Harness-Oh4MEjiK.js → Harness-BBUVWLMx.js} +1 -1
  24. package/apps/web/dist/assets/{HomePage-eYqUUwzG.js → HomePage-E2kbDAWI.js} +1 -1
  25. package/apps/web/dist/assets/{ImportWizard-BSjp83g0.js → ImportWizard-DBxxe467.js} +1 -1
  26. package/apps/web/dist/assets/{LocalRuntime-CqBfKp8q.js → LocalRuntime-DMU_dzV1.js} +1 -1
  27. package/apps/web/dist/assets/{NewWizardPage-Bpqk-BwW.js → NewWizardPage-B9rqko-D.js} +2 -2
  28. package/apps/web/dist/assets/{ProjectPage-SK7e8kxV.js → ProjectPage-cqeSCfvy.js} +1 -1
  29. package/apps/web/dist/assets/{PublicRunner-Cu056QMy.js → PublicRunner-CrRc-QgY.js} +1 -1
  30. package/apps/web/dist/assets/{RunDrawer-BdcgNjPZ.js → RunDrawer-DRKc8Bm5.js} +1 -1
  31. package/apps/web/dist/assets/{RunnerView-JOMD-e27.js → RunnerView-BH2sXBlx.js} +1 -1
  32. package/apps/web/dist/assets/SettingsPage-DeehkMtv.js +1 -0
  33. package/apps/web/dist/assets/{SetupPage-DdWIlUCF.js → SetupPage-D13qI_dd.js} +1 -1
  34. package/apps/web/dist/assets/{SharePage-C5JlCg9u.js → SharePage-8ji9ACWJ.js} +1 -1
  35. package/apps/web/dist/assets/arrow-right-CzoY677S.js +1 -0
  36. package/apps/web/dist/assets/changelog-D536XAHL.js +1 -0
  37. package/apps/web/dist/assets/{circle-alert-BG9P3ewL.js → circle-alert-CN6dFS0d.js} +1 -1
  38. package/apps/web/dist/assets/{definition-CwX2olVF.js → definition-Cx9uG0KU.js} +1 -1
  39. package/apps/web/dist/assets/{esm-MDvpTvd_.js → esm-CSQNLh1s.js} +1 -1
  40. package/apps/web/dist/assets/{external-link-BwCtn1nW.js → external-link-DvkH63pi.js} +1 -1
  41. package/apps/web/dist/assets/{image-DG4q2P1H.js → image-BUbtvL1h.js} +1 -1
  42. package/apps/web/dist/assets/{index-knnf98Fv.js → index-CYZmm7HU.js} +4 -4
  43. package/apps/web/dist/assets/{lock-DH_BntP_.js → lock-COAprdab.js} +1 -1
  44. package/apps/web/dist/assets/{meta-cFJejpIa.js → meta-Daw62MfH.js} +1 -1
  45. package/apps/web/dist/assets/{pen-line-B1dsy3Sr.js → pen-line-JsP-r_aH.js} +1 -1
  46. package/apps/web/dist/assets/{refresh-cw-B9M1g3SH.js → refresh-cw-DLXaS3Ri.js} +1 -1
  47. package/apps/web/dist/assets/{settings-menu-DC825gd1.js → settings-menu-br026gwt.js} +1 -1
  48. package/apps/web/dist/assets/{star-axQV_3EC.js → star-CpnGQZXD.js} +1 -1
  49. package/apps/web/dist/assets/{surface-D7bnQtqR.js → surface-BFwNWkx9.js} +1 -1
  50. package/apps/web/dist/assets/{trash-3S1_XpVa.js → trash-CQZuqdcu.js} +1 -1
  51. package/apps/web/dist/assets/{ui-BZ01zr3i.js → ui-BTkH_7CG.js} +1 -1
  52. package/apps/web/dist/assets/{upload-U0i8fAW3.js → upload-Dok4YeXQ.js} +1 -1
  53. package/apps/web/dist/assets/{video-Db4o719f.js → video-BjQoPIsn.js} +1 -1
  54. package/apps/web/dist/assets/{volume-2-6f7qN_LM.js → volume-2-D-Bn77h4.js} +1 -1
  55. package/apps/web/dist/assets/{wand-sparkles-MelvBtiK.js → wand-sparkles-D3sDsFFG.js} +1 -1
  56. package/apps/web/dist/index.html +3 -3
  57. package/apps/web/dist/mcp/flow.html +1 -1
  58. package/package.json +1 -1
  59. package/apps/web/dist/assets/SettingsPage-BSu-2gL5.js +0 -1
  60. package/apps/web/dist/assets/arrow-right-hy38IBRU.js +0 -1
  61. package/apps/web/dist/assets/changelog-C2q3P5lJ.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wizards",
3
- "version": "0.2.29",
3
+ "version": "0.2.31",
4
4
  "description": "Make a wish. Get your wizard. It guides you step by step. Let AI do the work. Runs on your machine, on the AI subscription you already have.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "homepage": "https://engenty.ai",
@@ -1 +0,0 @@
1
- import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";import{D as r,Q as i}from"./surface-D7bnQtqR.js";import{$ as a,F as o,G as s,H as c,V as l,Y as u,a as d,d as f,et as p,f as m,g as h,j as g,k as _,l as v,m as y,n as b,o as x,q as S,r as C,s as w,t as T,tt as E,x as D}from"./ui-BZ01zr3i.js";import{t as O}from"./arrow-right-hy38IBRU.js";import{n as ee}from"./HomePage-eYqUUwzG.js";import{t as k}from"./circle-alert-BG9P3ewL.js";import{n as A,t as te}from"./image-DG4q2P1H.js";import{n as ne,r as j}from"./upload-U0i8fAW3.js";import{t as M}from"./external-link-BwCtn1nW.js";import{n as re,t as ie}from"./volume-2-6f7qN_LM.js";import{c as ae,t as oe}from"./Account-BaOouMw9.js";import{n as se,t as ce}from"./trash-3S1_XpVa.js";import{t as le}from"./pen-line-B1dsy3Sr.js";import{t as ue}from"./refresh-cw-B9M1g3SH.js";import{N as de,P as fe,Q as pe,U as me,V as he,W as ge,Y as _e,_t as N,dt as ve,et as ye,ht as be,n as xe,q as Se,r as Ce,rt as we,st as Te,t as Ee}from"./index-knnf98Fv.js";import{s as De}from"./definition-CwX2olVF.js";import{n as Oe}from"./LocalRuntime-CqBfKp8q.js";import{a as P,c as ke,d as Ae,f as je,i as F,l as Me,m as Ne,n as Pe,o as Fe,p as Ie,r as Le,s as Re,t as ze,u as Be}from"./settings-menu-DC825gd1.js";import{t as Ve}from"./Harness-Oh4MEjiK.js";var He={name:`ear`,size:24,node:[[`path`,{d:`M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0`,key:`1dfaln`}],[`path`,{d:`M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4`,key:`1qnva7`}]]};He.node;var Ue=s(He),We={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};We.node;var I=s(We),Ge={name:`mail-plus`,size:24,node:[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}]]};Ge.node;var Ke=s(Ge),qe={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};qe.node;var Je=s(qe),Ye={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};Ye.node;var Xe=s(Ye),Ze={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`}]]};Ze.node;var Qe=s(Ze),L=e(t(),1),R=e(n(),1);function $e(){let e=Ce(),[t,n]=(0,L.useState)(null),[r,i]=(0,L.useState)(null),a=async e=>{n(e??`*`),i(null);try{await xe(e)}catch(e){i(e.message)}finally{n(null)}};return(0,R.jsxs)(ae,{title:g(`plugins.title`),hint:e.canReload?g(`plugins.hint`):g(`plugins.hintManaged`),action:e.canReload?(0,R.jsx)(T,{variant:`secondary`,busy:t===`*`,onClick:()=>void a(),children:g(`plugins.rescan`)}):null,children:[(0,R.jsxs)(`ul`,{className:`divide-y divide-border-soft`,children:[e.plugins.map(n=>{let r=e.failed[n.id];return(0,R.jsxs)(`li`,{className:`flex items-start gap-4 py-4 first:pt-0 last:pb-0`,children:[(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2.5 gap-y-1`,children:[(0,R.jsx)(`span`,{className:`font-medium text-[0.9375rem]`,children:n.name}),n.name===n.id?null:(0,R.jsxs)(`span`,{className:`font-mono text-[0.75rem] text-ink-4`,children:[n.id,` · `,n.version]})]}),n.description?(0,R.jsx)(`p`,{className:`mt-0.5 text-[0.875rem] text-ink-3`,children:n.description}):null,n.tools.length?(0,R.jsxs)(`div`,{className:`mt-2 flex flex-wrap items-center gap-1.5 text-[0.75rem] text-ink-3`,children:[g(`plugins.tools`),n.tools.map(e=>(0,R.jsx)(C,{children:e.id},e.id))]}):null,n.error?(0,R.jsx)(`p`,{className:`mt-2 text-[0.8125rem] text-rose`,children:g(`plugins.serverFailed`,{error:n.error})}):null,r?(0,R.jsx)(`p`,{className:`mt-2 text-[0.8125rem] text-rose`,children:g(`plugins.studioFailed`,{error:r})}):null]}),e.canReload?(0,R.jsx)(x,{label:g(`plugins.reload`),disabled:t!==null,onClick:()=>void a(n.id),children:(0,R.jsx)(Xe,{className:t===n.id?`size-4 animate-spin`:`size-4`})}):null]},n.id)}),e.problems.map(e=>(0,R.jsxs)(`li`,{className:`py-4 first:pt-0 last:pb-0`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2.5 gap-y-1`,children:[(0,R.jsx)(C,{tone:`warn`,children:g(`plugins.problems`)}),(0,R.jsx)(`span`,{className:`break-all font-mono text-[0.75rem] text-ink-3`,children:e.path})]}),(0,R.jsx)(`p`,{className:`mt-1.5 text-[0.8125rem] text-ink-3`,children:e.message})]},e.path))]}),r?(0,R.jsx)(`p`,{className:`mt-4 text-[0.8125rem] text-rose`,children:r}):null]})}function et({connector:e}){let[t,n]=(0,L.useState)(!1);return(0,R.jsxs)(`div`,{className:`rounded-lg bg-paper ring-1 ring-border-soft`,children:[(0,R.jsxs)(`button`,{type:`button`,onClick:()=>n(e=>!e),className:`flex w-full items-center gap-3 px-3 py-2 text-left`,children:[(0,R.jsx)(`span`,{className:h(`size-2 shrink-0 rounded-full`,e.usable?`bg-moss`:`bg-ink-4`)}),(0,R.jsxs)(`span`,{className:`min-w-0 flex-1 truncate text-[0.8125rem]`,children:[e.name,` `,(0,R.jsx)(`span`,{className:`font-mono text-[0.6875rem] text-ink-4`,children:e.id})]}),(0,R.jsx)(`span`,{className:`shrink-0 text-[0.75rem] text-ink-3`,children:e.usable?g(`connectors.actions`,{n:e.actions.length,r:e.actions.filter(e=>e.group===`read`).length}):g(`connectors.notSetUp`)})]}),t?(0,R.jsxs)(`div`,{className:`border-border-soft border-t px-3 py-2 text-[0.75rem]`,children:[e.missingSetup?(0,R.jsxs)(`p`,{className:`mb-1 text-ink-3`,children:[g(`connectors.setup`),` `,(0,R.jsx)(`span`,{className:`font-mono text-ink-2`,children:e.missingSetup})]}):null,(0,R.jsx)(`p`,{className:`text-ink-4`,children:e.actions.map(e=>e.group===`read`?e.id:`${e.id} (${g(`connectors.group.${e.group}`)})`).join(` · `)})]}):null]})}var tt={none:`connectors.authNone`,oauth2:`connectors.authOauth`,api_key:`connectors.authKey`};function nt({projectId:e,connector:t,readOnly:n}){let r=i(),[a,o]=(0,L.useState)(!1),s=()=>r.invalidateQueries({queryKey:[`connectors`,e]}),c=`/api/studio/projects/${e}/connectors/${t.id}`,l=N({mutationFn:()=>D.post(`${c}/refresh`),onSuccess:s}),u=N({mutationFn:()=>D.del(c),onSuccess:s}),d=t.actions.filter(e=>e.group===`read`).length;return(0,R.jsxs)(`div`,{className:`rounded-lg bg-paper ring-1 ring-border-soft`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3 p-3`,children:[(0,R.jsx)(`div`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-paper-2 text-ink-2`,children:(0,R.jsx)(we,{className:`size-4`})}),(0,R.jsxs)(`button`,{type:`button`,onClick:()=>o(e=>!e),className:`min-w-0 flex-1 text-left`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(`span`,{className:`truncate font-medium text-[0.875rem]`,children:t.name}),(0,R.jsx)(`span`,{className:`font-mono text-[0.6875rem] text-ink-4`,children:t.id})]}),(0,R.jsxs)(`div`,{className:`truncate text-[0.75rem] text-ink-3`,children:[t.domain,` · `,t.sourceKind===`mcp`?`MCP`:`OpenAPI`,` ·`,` `,g(tt[t.auth]),` ·`,` `,t.toolsPending?g(`connectors.pending`):g(`connectors.actions`,{n:t.actions.length,r:d})]})]}),n?null:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(x,{label:g(`connectors.refresh`),onClick:()=>l.mutate(),children:l.isPending?(0,R.jsx)(m,{className:`size-4`}):(0,R.jsx)(ue,{className:`size-4`})}),(0,R.jsx)(x,{label:g(`connectors.remove`),className:`hover:text-rose`,onClick:()=>confirm(`${t.name}: ${g(`connectors.remove`)}?`)&&u.mutate(),children:(0,R.jsx)(ce,{className:`size-4`})})]})]}),t.needsOAuthClient?(0,R.jsx)(`p`,{className:`border-border-soft border-t px-3 py-2 text-[0.75rem] text-rose`,children:g(`connectors.needsClient`)}):null,l.error??u.error?(0,R.jsx)(`p`,{className:`border-border-soft border-t px-3 py-2 text-[0.75rem] text-rose`,children:(l.error??u.error).message}):null,a&&t.actions.length?(0,R.jsx)(`ul`,{className:`max-h-64 overflow-y-auto border-border-soft border-t px-3 py-2`,children:t.actions.map(e=>(0,R.jsxs)(`li`,{className:`flex items-baseline gap-2 py-1 text-[0.75rem]`,children:[(0,R.jsx)(`span`,{className:h(`w-14 shrink-0 text-[0.6875rem] uppercase tracking-wide`,e.group===`read`?`text-moss`:e.group===`write`?`text-ink-3`:`text-rose`),children:g(`connectors.group.${e.group}`)}),(0,R.jsx)(`span`,{className:`shrink-0 font-mono text-ink-2`,children:e.id}),(0,R.jsx)(`span`,{className:`min-w-0 truncate text-ink-4`,children:e.summary})]},e.id))}):null]})}function rt({projectId:e,domain:t,source:n,taken:r,onDone:a}){let o=i(),[s,c]=(0,L.useState)({id:``,secret:``}),[l,u]=(0,L.useState)(!1),d=r.includes(n.suggestedId),f=N({mutationFn:()=>D.post(`/api/studio/projects/${e}/connectors`,{domain:t,sourceKind:n.sourceKind,sourceUrl:n.sourceUrl,id:n.suggestedId,toolPrefix:n.suggestedToolPrefix,...n.name?{name:n.name}:{},...s.id&&s.secret?{oauthClientId:s.id,oauthClientSecret:s.secret}:{}}),onSuccess:async t=>{await o.invalidateQueries({queryKey:[`connectors`,e]}),a(t.warnings)}});return(0,R.jsxs)(`div`,{className:`rounded-lg bg-card p-3 ring-1 ring-border-soft`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(C,{tone:n.sourceKind===`mcp`?`ember`:`neutral`,children:n.sourceKind===`mcp`?`MCP`:`OpenAPI`}),(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`div`,{className:`truncate text-[0.8125rem]`,children:n.name??n.suggestedId}),(0,R.jsx)(`div`,{className:`truncate font-mono text-[0.6875rem] text-ink-4`,children:n.sourceUrl})]}),n.blocked||d?null:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`button`,{type:`button`,onClick:()=>u(e=>!e),className:`text-[0.75rem] text-ink-3 hover:text-ink`,children:g(`connectors.ownClient`)}),(0,R.jsx)(T,{size:`sm`,busy:f.isPending,onClick:()=>f.mutate(),children:g(`connectors.import`)})]})]}),n.blocked?(0,R.jsx)(`p`,{className:`mt-2 text-[0.75rem] text-ink-3`,children:n.blocked}):null,d?(0,R.jsx)(`p`,{className:`mt-2 text-[0.75rem] text-ink-3`,children:g(`connectors.exists`)}):null,l?(0,R.jsxs)(`div`,{className:`mt-3 grid gap-2 sm:grid-cols-2`,children:[(0,R.jsx)(w,{placeholder:`OAuth Client-ID`,value:s.id,onChange:e=>c(t=>({...t,id:e.target.value}))}),(0,R.jsx)(w,{type:`password`,autoComplete:`off`,placeholder:`OAuth Client-Secret`,value:s.secret,onChange:e=>c(t=>({...t,secret:e.target.value}))})]}):null,f.error?(0,R.jsx)(`p`,{className:`mt-2 text-[0.75rem] text-rose`,children:f.error.message}):null]})}function it({projectId:e,readOnly:t}){let[n,i]=(0,L.useState)(``),[a,o]=(0,L.useState)(null),[s,c]=(0,L.useState)(null),[u,d]=(0,L.useState)([]),f=r({queryKey:[`connectors`,e],queryFn:()=>D.get(`/api/studio/projects/${e}/connectors`)}),p=N({mutationFn:()=>D.post(`/api/studio/connectors/search`,{query:n}),onSuccess:e=>{o(e),c(null),d([])}}),h=N({mutationFn:e=>D.get(`/api/studio/connectors/registry/${encodeURIComponent(e)}`),onSuccess:c}),_=f.data??[],v=_.filter(e=>e.sourceKind===`builtin`&&(me.unsetConnectors||e.usable)),y=_.filter(e=>e.sourceKind!==`builtin`);return(0,R.jsxs)(b,{className:`p-4 sm:p-6`,children:[(0,R.jsx)(`h2`,{className:`font-display font-semibold text-lg`,children:g(`connectors.title`)}),(0,R.jsx)(`p`,{className:`mt-1 mb-5 text-[0.875rem] text-ink-3`,children:g(`connectors.hint`)}),v.length?(0,R.jsx)(`div`,{className:`mb-5 grid gap-1.5 sm:grid-cols-2`,children:v.map(e=>(0,R.jsx)(et,{connector:e},e.id))}):null,(0,R.jsx)(`h3`,{className:`mb-2 font-medium text-[0.75rem] text-ink-3 uppercase tracking-[0.07em]`,children:g(`connectors.imported`)}),y.length?(0,R.jsx)(`div`,{className:`mb-4 flex flex-col gap-2`,children:y.map(n=>(0,R.jsx)(nt,{projectId:e,connector:n,readOnly:t},n.id))}):null,t?y.length?null:(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-ink-3`,children:g(`connectors.noneImported`)}):(0,R.jsxs)(`form`,{className:`flex gap-2`,onSubmit:e=>{e.preventDefault(),n.trim()&&p.mutate()},children:[(0,R.jsx)(w,{value:n,placeholder:g(`connectors.search`),onChange:e=>i(e.target.value)}),(0,R.jsxs)(T,{type:`submit`,variant:`secondary`,busy:p.isPending,children:[(0,R.jsx)(ne,{className:`size-4`}),` `,g(`connectors.find`)]})]}),p.error?(0,R.jsx)(`p`,{className:`mt-3 text-[0.8125rem] text-rose`,children:p.error.message}):null,a&&!s?(0,R.jsxs)(`div`,{className:`mt-3 flex flex-col gap-1`,children:[a.length?null:(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-ink-3`,children:g(`connectors.none`)}),a.map(e=>(0,R.jsxs)(`button`,{type:`button`,disabled:!e.kinds.length,onClick:()=>h.mutate(e.domain),className:`flex items-center gap-3 rounded-lg px-3 py-2 text-left transition hover:bg-paper-2 disabled:opacity-50`,children:[(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`div`,{className:`truncate text-[0.875rem]`,children:e.domain}),(0,R.jsx)(`div`,{className:`truncate text-[0.75rem] text-ink-3`,children:e.description})]}),(0,R.jsx)(`span`,{className:`text-[0.6875rem] text-ink-4 uppercase`,children:e.kinds.join(` · `)}),(0,R.jsx)(l,{className:`-rotate-90 size-4 text-ink-4`})]},e.domain)),h.isPending?(0,R.jsx)(m,{className:`mx-auto mt-2 size-4 text-ink-4`}):null,h.error?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-rose`,children:h.error.message}):null]}):null,s?(0,R.jsxs)(`div`,{className:`mt-4 flex flex-col gap-2`,children:[(0,R.jsxs)(`div`,{className:`flex items-baseline justify-between gap-3`,children:[(0,R.jsx)(`div`,{className:`font-medium text-[0.875rem]`,children:s.domain}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>c(null),className:`text-[0.75rem] text-ink-3 hover:text-ink`,children:g(`run.back`)})]}),s.summary?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-ink-3`,children:s.summary}):null,s.sources.map(t=>(0,R.jsx)(rt,{projectId:e,domain:s.domain,source:t,taken:_.map(e=>e.id),onDone:d},`${t.sourceKind}:${t.sourceUrl}`)),s.credentials.filter(e=>e.setup||e.url).map(e=>(0,R.jsxs)(`p`,{className:`text-[0.75rem] text-ink-3`,children:[(0,R.jsxs)(`span`,{className:`text-ink-2`,children:[e.label,`:`]}),` `,e.setup,` `,e.url?(0,R.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,className:`text-ember underline`,children:e.url}):null]},e.label)),u.map(e=>(0,R.jsx)(`p`,{className:`text-[0.75rem] text-ink-3`,children:e},e))]}):null]})}var z=`engenty-wizards`,at=`ENGENTY_WIZARDS_KEY`,ot=[{id:`claude-desktop`,name:`Claude Desktop`,widgets:!0},{id:`claude-code`,name:`Claude Code`,widgets:!1},{id:`codex`,name:`Codex · ChatGPT app`,widgets:!1},{id:`cursor`,name:`Cursor`,widgets:!0},{id:`vscode`,name:`VS Code (Copilot)`,widgets:!0},{id:`windsurf`,name:`Windsurf`,widgets:!1},{id:`gemini`,name:`Gemini CLI`,widgets:!1},{id:`goose`,name:`Goose`,widgets:!0},{id:`openclaw`,name:`OpenClaw`,widgets:!1},{id:`lm-studio`,name:`LM Studio`,widgets:!1},{id:`claude-ai`,name:`claude.ai`,widgets:!0,oauth:!0},{id:`chatgpt`,name:`ChatGPT`,widgets:!0,oauth:!0}];function B({text:e}){let[t,n]=(0,L.useState)(!1);return(0,R.jsxs)(`div`,{className:`flex items-start gap-2 rounded-lg bg-paper-2 p-3`,children:[(0,R.jsx)(`code`,{className:`min-w-0 flex-1 whitespace-pre-wrap break-all font-mono text-[0.75rem] leading-relaxed`,children:e}),(0,R.jsx)(x,{label:g(t?`settings.copied`:`settings.copy`),onClick:async()=>{await navigator.clipboard.writeText(e),n(!0),setTimeout(()=>n(!1),1500)},children:t?(0,R.jsx)(c,{className:`size-4`}):(0,R.jsx)(ve,{className:`size-4`})})]})}function st(e){try{let t=new URL(e);return t.protocol===`https:`&&!/(^|\.)localhost$/.test(t.hostname)&&!/^(127\.|10\.|192\.168\.|\[::1\])/.test(t.hostname)}catch{return!1}}function V({children:e}){return(0,R.jsx)(`p`,{className:`text-[0.875rem] text-ink-3`,children:e})}function H({title:e,children:t}){return(0,R.jsxs)(`section`,{className:`flex flex-col gap-2.5 border-border-soft border-t pt-5 first:border-t-0 first:pt-0`,children:[(0,R.jsx)(`h3`,{className:`font-medium text-[0.9375rem]`,children:e}),t]})}function U(e,t){return JSON.stringify({[e]:{[z]:t}},null,2)}function ct({id:e,url:t,apiKey:n}){let r=n?`Authorization: Bearer ${n}`:null,i=n?{headers:{Authorization:`Bearer ${n}`}}:{};switch(e){case`claude-code`:{let e=t.replace(/\/api\/mcp$/,`/api/claude-plugin`);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.terminal`)}),(0,R.jsx)(B,{text:`claude mcp add --transport http --scope user ${z} ${t}${r?` --header "${r}"`:``}`}),!n&&st(t)?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.ccPlugin`)}),(0,R.jsx)(B,{text:`claude plugin marketplace add ${e}/marketplace.json`}),(0,R.jsx)(B,{text:`claude plugin install ${z}@engenty`})]}):null]})}case`codex`:return n?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.codexKey`)}),(0,R.jsx)(B,{text:`echo 'export ${at}=${n}' >> ~/.zshrc && source ~/.zshrc`}),(0,R.jsx)(B,{text:`codex mcp add ${z} --url ${t} --bearer-token-env-var ${at}`})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.terminal`)}),(0,R.jsx)(B,{text:`codex mcp add ${z} --url ${t}`}),(0,R.jsx)(B,{text:`codex mcp login ${z}`})]});case`gemini`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.terminal`)}),(0,R.jsx)(B,{text:`gemini mcp add --scope user --transport http ${z} ${t}${r?` -H "${r}"`:``}`})]});case`cursor`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.file`,{file:`~/.cursor/mcp.json`})}),(0,R.jsx)(B,{text:U(`mcpServers`,{url:t,...i})})]});case`vscode`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.vscode`)}),(0,R.jsx)(B,{text:U(`servers`,{type:`http`,url:t,...i})})]});case`windsurf`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.file`,{file:`~/.codeium/windsurf/mcp_config.json`})}),(0,R.jsx)(B,{text:U(`mcpServers`,{serverUrl:t,...i})})]});case`lm-studio`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.file`,{file:`~/.lmstudio/mcp.json`})}),(0,R.jsx)(B,{text:U(`mcpServers`,{url:t,...i})})]});case`claude-desktop`:case`claude-ai`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.claudeAi`)}),(0,R.jsx)(B,{text:t})]});case`chatgpt`:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.chatgpt`)}),(0,R.jsx)(B,{text:t})]});default:return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.generic`)}),(0,R.jsx)(B,{text:t}),r?(0,R.jsx)(B,{text:r}):null]})}}function lt(){let e=i(),t=r({queryKey:[`api-keys`],queryFn:()=>D.get(`/api/studio/api-keys`)}),n=N({mutationFn:e=>D.del(`/api/studio/api-keys/${e}`),onSuccess:()=>e.invalidateQueries({queryKey:[`api-keys`]})});return t.data?.length?(0,R.jsxs)(`section`,{children:[(0,R.jsx)(`h2`,{className:`font-display font-semibold text-lg`,children:g(`mcp.keys`)}),(0,R.jsx)(`p`,{className:`mt-1 mb-4 text-[0.875rem] text-ink-3`,children:g(`mcp.keysHint`)}),(0,R.jsx)(b,{className:`flex flex-col gap-2 p-3`,children:t.data.map(e=>(0,R.jsxs)(`div`,{className:`flex items-center gap-3 rounded-lg px-3 py-2`,children:[(0,R.jsx)(I,{className:`size-4 shrink-0 text-ink-4`}),(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`div`,{className:`truncate text-[0.875rem]`,children:e.name}),(0,R.jsxs)(`div`,{className:`font-mono text-[0.6875rem] text-ink-4`,children:[e.start,`… ·`,` `,e.lastRequest?g(`settings.lastUsed`,{when:new Date(e.lastRequest).toLocaleString()}):g(`settings.neverUsed`)]})]}),(0,R.jsx)(x,{label:g(`settings.revoke`),onClick:()=>n.mutate(e.id),className:`hover:text-rose`,children:(0,R.jsx)(ce,{className:`size-4`})})]},e.id))})]}):null}function ut({state:e,title:t,children:n}){return(0,R.jsxs)(`li`,{className:`grid grid-cols-[22px_minmax(0,1fr)] gap-x-3`,children:[(0,R.jsx)(`span`,{className:h(`mt-0.5 grid size-[22px] place-items-center rounded-full`,e===`done`&&`bg-moss text-white`,e===`now`&&`bg-amber-tint text-ink-2`,e===`later`&&`bg-paper-2 ring-1 ring-border-soft`),children:e===`done`?(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}):e===`now`?(0,R.jsx)(m,{className:`size-3`}):null}),(0,R.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2 pb-4`,children:[(0,R.jsx)(`span`,{className:h(`text-[0.875rem]`,e===`later`?`text-ink-3`:`font-medium`),children:t}),e===`now`?n:null]})]})}function dt({widgets:e}){return(0,R.jsxs)(`p`,{className:`mt-1 flex flex-wrap items-center gap-x-4 gap-y-1 text-[0.8125rem] text-ink-3`,children:[(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,title:g(`integrate.kindMcp`),children:[(0,R.jsx)(Qe,{className:`size-3.5 text-ember-strong`}),(0,R.jsx)(`span`,{className:`font-medium text-ink-2`,children:`MCP`}),` `,g(`integrate.kindMcpShort`)]}),(0,R.jsxs)(`span`,{className:h(`inline-flex items-center gap-1.5`,e?null:`opacity-60`),title:g(e?`integrate.kindApp`:`integrate.kindAppNo`),children:[(0,R.jsx)(be,{className:h(`size-3.5`,e?`text-ember-strong`:`text-ink-4`)}),(0,R.jsx)(`span`,{className:`font-medium text-ink-2`,children:`MCP App`}),` `,g(e?`integrate.kindAppShort`:`integrate.kindAppNoShort`)]})]})}function ft({at:e,done:t}){let n=[g(`setup.stage.connect`),g(`setup.stage.test`),g(`setup.stage.done`)];return(0,R.jsx)(`ol`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 font-medium text-[0.6875rem] uppercase tracking-[0.14em]`,children:n.map((n,r)=>{let i=t||r<e;return(0,R.jsxs)(`li`,{"aria-current":!i&&r===e?`step`:void 0,className:h(`flex items-center gap-1`,i?`text-moss`:r===e?`text-ember-strong`:`text-ink-4`),children:[i?(0,R.jsx)(c,{className:`size-3`,strokeWidth:3}):null,n]},n)})})}function pt({client:e,local:t,seen:n,managed:r,url:a}){let s=i(),l=st(a),u=!r&&!!t&&!e.oauth,[d,f]=(0,L.useState)(u&&t?.installed!==!1?`here`:`address`),[p,m]=(0,L.useState)(null),[_,v]=(0,L.useState)(),y=N({mutationFn:t=>D.post(`/api/studio/local/apps/${e.id}`,{connect:t}),onSuccess:e=>m(e),onError:e=>m({ok:!1,message:e.message}),onSettled:()=>s.invalidateQueries({queryKey:[`local-apps`]})}),x=N({mutationFn:()=>D.post(`/api/studio/api-keys`,{name:e.name.slice(0,32)}),onSuccess:async e=>{v(e.key),await s.invalidateQueries({queryKey:[`api-keys`]})}}),S=e.oauth===!0||e.id===`claude-desktop`,C=d===`address`&&S&&!(r&&l),w=d===`here`?!!t?.connected:r||!!_,E=!!n?.toolAt,O=E?2:w||n?1:0,ee=e=>(0,R.jsx)(B,{text:e});return(0,R.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-start gap-x-4 gap-y-2`,children:[(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`h2`,{className:`font-display font-semibold text-[1.375rem] leading-tight tracking-tight`,children:e.name}),(0,R.jsx)(dt,{widgets:e.widgets})]}),(0,R.jsx)(ft,{at:O,done:E})]}),(0,R.jsxs)(b,{className:`flex flex-col gap-6 p-3.5 sm:p-5 sm:p-6`,children:[u||!e.oauth?(0,R.jsx)(`fieldset`,{"aria-label":g(`integrate.where`),className:`min-w-0`,children:(0,R.jsx)(`div`,{className:`grid gap-2 sm:grid-cols-2`,children:[`here`,`address`].map(e=>{let t=e===`here`&&!u;return(0,R.jsxs)(`button`,{type:`button`,disabled:t,onClick:()=>f(e),"aria-pressed":d===e,className:h(`flex items-start gap-3 rounded-xl px-3.5 py-2.5 text-left ring-1 transition`,d===e?`bg-ember-tint/50 ring-ember-strong/40`:`ring-border-soft hover:bg-accent`,t&&`cursor-not-allowed opacity-50 hover:bg-transparent`),children:[e===`here`?(0,R.jsx)(Je,{className:`mt-0.5 size-4 shrink-0 text-ink-3`}):(0,R.jsx)(re,{className:`mt-0.5 size-4 shrink-0 text-ink-3`}),(0,R.jsxs)(`span`,{className:`min-w-0`,children:[(0,R.jsx)(`span`,{className:`block font-medium text-[0.875rem]`,children:g(e===`here`?`integrate.here`:`integrate.address`)}),(0,R.jsx)(`span`,{className:`block text-[0.75rem] text-ink-3`,children:g(e===`here`?r?`integrate.hereManaged`:`integrate.hereHint`:`integrate.addressHint`)})]})]},e)})})}):null,C?(0,R.jsx)(H,{title:g(`mcp.notHere`),children:(0,R.jsx)(V,{children:g(r?`mcp.needsPublic`:`integrate.oauthLocal`)})}):d===`here`?(0,R.jsxs)(H,{title:g(`integrate.connectTitle`),children:[t?.installed===!1&&!t.connected?(0,R.jsx)(V,{children:g(`integrate.notInstalled`,{app:e.name})}):null,t?.connected?(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,R.jsxs)(`span`,{className:`flex items-center gap-2 text-[0.875rem] text-ink-2`,children:[(0,R.jsx)(c,{className:`size-4 text-moss`}),g(`integrate.connected`,{app:e.name})]}),(0,R.jsx)(T,{size:`sm`,variant:`ghost`,busy:y.isPending&&y.variables===!1,onClick:()=>y.mutate(!1),children:g(`mcp.appsDisconnect`)})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`integrate.connectHint`,{app:e.name})}),(0,R.jsx)(`div`,{children:(0,R.jsxs)(T,{busy:y.isPending,onClick:()=>y.mutate(!0),children:[(0,R.jsx)(o,{className:`size-4`}),` `,g(`integrate.connect`,{app:e.name})]})})]}),p&&!p.ok?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-rose`,children:p.message}):null,p?.snippet?(0,R.jsx)(B,{text:p.snippet}):null,t?.where?(0,R.jsx)(`p`,{className:`font-mono text-[0.6875rem] text-ink-4`,children:t.where}):null]}):(0,R.jsxs)(R.Fragment,{children:[r||S?null:(0,R.jsx)(H,{title:g(`mcp.keyTitle`),children:_?(0,R.jsxs)(`p`,{className:`flex items-center gap-2 text-[0.875rem] text-ink-2`,children:[(0,R.jsx)(c,{className:`size-4 text-moss`}),` `,g(`mcp.keyReady`)]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(V,{children:g(`mcp.keyHint`)}),(0,R.jsx)(`div`,{children:(0,R.jsxs)(T,{variant:`secondary`,busy:x.isPending,onClick:()=>x.mutate(),children:[(0,R.jsx)(o,{className:`size-4`}),` `,g(`mcp.keyCreate`,{client:e.name})]})})]})}),(0,R.jsxs)(H,{title:g(`mcp.add`),children:[r||_||S?(0,R.jsx)(ct,{id:e.id,url:a,apiKey:_}):(0,R.jsx)(V,{children:g(`mcp.keyFirst`)}),r?(0,R.jsx)(V,{children:g(`mcp.oauth`)}):null,(0,R.jsx)(`p`,{className:`text-[0.75rem] text-ink-4`,children:g(l?`mcp.addressPublic`:`mcp.addressLocal`)})]})]}),C?null:(0,R.jsxs)(H,{title:g(`integrate.test`),children:[(0,R.jsxs)(`ol`,{className:`flex flex-col`,children:[(0,R.jsx)(ut,{state:n?`done`:w?`now`:`later`,title:g(`integrate.seen`,{app:e.name}),children:(0,R.jsx)(V,{children:g(d===`here`?`integrate.restart`:`integrate.reload`,{app:e.name})})}),(0,R.jsxs)(ut,{state:n?.toolAt?`done`:n?`now`:`later`,title:g(`integrate.tool`),children:[(0,R.jsx)(V,{children:g(`integrate.askHint`,{app:e.name})}),ee(g(`integrate.askTool`))]}),e.widgets?(0,R.jsxs)(ut,{state:n?.widgetAt?`done`:n?.toolAt?`now`:`later`,title:g(`integrate.widget`),children:[(0,R.jsx)(V,{children:g(`integrate.widgetHint`)}),ee(g(`integrate.askWidget`))]}):null]}),E?(0,R.jsxs)(`p`,{className:`flex items-center gap-2 font-medium text-[0.875rem] text-moss`,children:[(0,R.jsx)(c,{className:`size-4`,strokeWidth:3}),g(`integrate.works`,{app:e.name})]}):null]})]})]})}function mt(){let e=pe(),t=e.data?.mode===`managed`,n=r({queryKey:[`local-apps`],queryFn:()=>D.get(`/api/studio/local/apps`),enabled:e.data?.mode===`local`}),i=r({queryKey:[`integrations-seen`],queryFn:()=>D.get(`/api/studio/integrations/seen`),refetchInterval:2500}),[a,o]=E(),{narrow:s}=Ae(),c=a.get(`show`),l=e=>n.data?.find(t=>t.id===e),u=e=>i.data?.[e],d=e=>{let t=l(e);return t?.installed||t?.connected?0:1},f=[...ot].sort((e,t)=>d(e.id)-d(t.id)),p=f.find(e=>e.id===c)??f[0];if(Me(c||!s?p.name:null),!e.data||!t&&!n.data)return null;let m=e.data.mcpUrl??``,h=e=>{let t=l(e);return u(e)?.toolAt?{tone:`done`,toneLabel:g(`integrate.stateWorks`)}:t?.connected?{tone:`on`,toneLabel:g(`integrate.stateConnected`)}:t?.installed?{tone:`off`,toneLabel:g(`integrate.stateInstalled`)}:{}},_=e=>!(!c&&s)&&e===p.id;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-10`,children:[(0,R.jsxs)(Re,{children:[(0,R.jsx)(F,{label:g(`integrate.groupApps`),children:f.map(e=>(0,R.jsx)(P,{icon:e.widgets?be:Qe,label:e.name,...h(e.id),selected:_(e.id),onPick:()=>o({show:e.id},{replace:!s})},e.id))}),(0,R.jsxs)(F,{label:g(`integrate.groupShare`),children:[(0,R.jsx)(P,{icon:se,label:g(`integrate.shareLink`),badge:(0,R.jsx)(`span`,{className:`text-[0.6875rem] text-ink-4`,children:g(`integrate.soon`)}),selected:!1,disabled:!0}),(0,R.jsx)(P,{icon:re,label:g(`integrate.shareSite`),badge:(0,R.jsx)(`span`,{className:`text-[0.6875rem] text-ink-4`,children:g(`integrate.soon`)}),selected:!1,disabled:!0})]})]}),(0,R.jsx)(pt,{client:p,local:l(p.id),seen:u(p.id),managed:t,url:m},p.id),t?null:(0,R.jsx)(lt,{}),(0,R.jsxs)(`p`,{className:`flex items-start gap-2 text-[0.8125rem] text-ink-3`,children:[(0,R.jsx)(se,{className:`mt-0.5 size-3.5 shrink-0`}),g(`mcp.notReverse`)]})]})}var ht=[`text`,`image`,`video`,`speech`,`listening`],gt={text:[`classifier`,`standard`,`high`,`highest`],image:[`image`],video:[`video`],speech:[`speech`],listening:[`audio`]},_t=`credits`,vt=`${_t}:`;function yt(e){return e===`credits`||!!e?.startsWith(vt)}function bt(e){return e?.startsWith(vt)&&e.slice(vt.length)||null}function xt(e){return e?`${vt}${e}`:_t}function St(e){return e===`transcription`?`listening`:e}var Ct=[`openai`,`anthropic`,`google`,`fal`,`elevenlabs`,`replicate`,`gateway`],W=(e,t)=>({de:e,en:t}),G=[{id:`openai`,name:`OpenAI`,about:W(`GPT-Modelle, GPT Image und Stimmen.`,`GPT models, GPT Image and voices.`),keyUrl:`https://platform.openai.com/api-keys`,keyPlaceholder:`sk-…`,text:{classifier:`openai:gpt-5.4-mini`,standard:`openai:gpt-5.4-mini`,high:`openai:gpt-5.5`,highest:`openai:gpt-5.5`},models:{text:[{ref:`openai:gpt-5.4-mini`,label:`GPT-5.4 mini`,note:W(`schnell`,`fast`)},{ref:`openai:gpt-5.5`,label:`GPT-5.5`,note:W(`gründlich`,`thorough`)}],image:[{ref:`openai:gpt-image-2`,label:`GPT Image 2`,note:W(`vielseitig`,`versatile`)},{ref:`openai:gpt-image-1-mini`,label:`GPT Image 1 mini`,note:W(`günstig`,`low cost`)}],speech:[{ref:`openai:gpt-4o-mini-tts`,label:`GPT-4o mini TTS`,note:W(`günstig`,`low cost`)}],listening:[{ref:`openai:gpt-4o-mini-transcribe`,label:`GPT-4o mini Transcribe`,note:W(`schnell, günstig`,`fast, low cost`)},{ref:`openai:whisper-1`,label:`Whisper`}]}},{id:`anthropic`,name:`Anthropic`,about:W(`Die Claude-Modelle.`,`The Claude models.`),keyUrl:`https://console.anthropic.com/settings/keys`,keyPlaceholder:`sk-ant-…`,text:{classifier:`anthropic:claude-haiku-4-5`,standard:`anthropic:claude-haiku-4-5`,high:`anthropic:claude-sonnet-5-5`,highest:`anthropic:claude-opus-5-5`},models:{text:[{ref:`anthropic:claude-haiku-4-5`,label:`Claude Haiku 4.5`,note:W(`schnell`,`fast`)},{ref:`anthropic:claude-sonnet-5-5`,label:`Claude Sonnet 5.5`},{ref:`anthropic:claude-opus-5-5`,label:`Claude Opus 5.5`,note:W(`am stärksten`,`strongest`)}]}},{id:`google`,name:`Google Gemini`,about:W(`Gemini, Veo für Videos und Stimmen – ein Key aus dem AI Studio.`,`Gemini, Veo for video and voices – one key from AI Studio.`),keyUrl:`https://aistudio.google.com/apikey`,keyPlaceholder:`AIza…`,text:{classifier:`google:gemini-flash-lite-latest`,standard:`google:gemini-flash-latest`,high:`google:gemini-pro-latest`,highest:`google:gemini-pro-latest`},models:{text:[{ref:`google:gemini-flash-lite-latest`,label:`Gemini Flash-Lite`,note:W(`günstig`,`low cost`)},{ref:`google:gemini-flash-latest`,label:`Gemini Flash`},{ref:`google:gemini-pro-latest`,label:`Gemini Pro`,note:W(`gründlich`,`thorough`)}],image:[{ref:`google:gemini-3.1-flash-image-preview`,label:`Gemini 3.1 Flash Image`,note:W(`schnell, bearbeitet Fotos`,`fast, edits photos`)},{ref:`google:gemini-3-pro-image-preview`,label:`Gemini 3 Pro Image`,note:W(`beste Qualität`,`best quality`)}],video:[{ref:`google:veo-3.1-fast-generate-preview`,label:`Veo 3.1 Fast`,note:W(`mit Ton`,`with sound`)},{ref:`google:veo-3.1-generate-preview`,label:`Veo 3.1`,note:W(`beste Qualität`,`best quality`)}],speech:[{ref:`google:gemini-3.8-flash-tts`,label:`Gemini Flash TTS`}],listening:[{ref:`google:gemini-flash-lite-latest`,label:`Gemini Flash-Lite`}]}},{id:`fal`,name:`fal.ai`,about:W(`Hunderte Bild-, Video- und Audio-Modelle mit einem Key: FLUX, Recraft, Veo, Luma, MiniMax.`,`Hundreds of image, video and audio models with one key: FLUX, Recraft, Veo, Luma, MiniMax.`),keyUrl:`https://fal.ai/dashboard/keys`,keyPlaceholder:`xxxxxxxx-…:…`,models:{image:[{ref:`fal:fal-ai/flux/schnell`,label:`FLUX.1 schnell`,note:W(`schnell, günstig`,`fast, low cost`)},{ref:`fal:fal-ai/flux-pro/v1.1`,label:`FLUX 1.1 pro`,note:W(`hohe Qualität`,`high quality`)},{ref:`fal:fal-ai/recraft/v3/text-to-image`,label:`Recraft V3`,note:W(`Grafiken, Logos, Text im Bild`,`graphics, logos, text in images`)},{ref:`fal:fal-ai/imagen4/preview`,label:`Imagen 4`,note:W(`fotorealistisch`,`photorealistic`)}],video:[{ref:`fal:veo3/fast`,label:`Veo 3 Fast`,note:W(`mit Ton`,`with sound`)},{ref:`fal:luma-ray-2-flash`,label:`Luma Ray 2 Flash`,note:W(`schnell`,`fast`)},{ref:`fal:minimax-video`,label:`MiniMax Hailuo`}],speech:[{ref:`fal:fal-ai/minimax/speech-02-turbo`,label:`MiniMax Speech-02 Turbo`,note:W(`schnell`,`fast`)},{ref:`fal:fal-ai/minimax/speech-02-hd`,label:`MiniMax Speech-02 HD`}],listening:[{ref:`fal:wizper`,label:`Wizper`,note:W(`schnell`,`fast`)},{ref:`fal:whisper`,label:`Whisper`}]}},{id:`elevenlabs`,name:`ElevenLabs`,about:W(`Natürliche Stimmen in vielen Sprachen und genaue Transkripte.`,`Natural voices in many languages and accurate transcripts.`),keyUrl:`https://elevenlabs.io/app/settings/api-keys`,keyPlaceholder:`sk_…`,models:{speech:[{ref:`elevenlabs:eleven_multilingual_v2`,label:`Multilingual v2`,note:W(`natürlich, viele Sprachen`,`natural, many languages`)},{ref:`elevenlabs:eleven_flash_v2_5`,label:`Flash v2.5`,note:W(`schnell, günstig`,`fast, low cost`)},{ref:`elevenlabs:eleven_v3`,label:`Eleven v3`,note:W(`ausdrucksstark`,`expressive`)}],listening:[{ref:`elevenlabs:scribe_v2`,label:`Scribe v2`,note:W(`sehr genau`,`very accurate`)}]}},{id:`replicate`,name:`Replicate`,about:W(`Offene Bild- und Video-Modelle, abgerechnet pro Lauf.`,`Open image and video models, billed per run.`),keyUrl:`https://replicate.com/account/api-tokens`,keyPlaceholder:`r8_…`,models:{image:[{ref:`replicate:black-forest-labs/flux-schnell`,label:`FLUX.1 schnell`,note:W(`schnell, günstig`,`fast, low cost`)},{ref:`replicate:black-forest-labs/flux-1.1-pro`,label:`FLUX 1.1 pro`},{ref:`replicate:recraft-ai/recraft-v3`,label:`Recraft V3`}],video:[{ref:`replicate:minimax/video-01`,label:`MiniMax Video-01`}]}},{id:`gateway`,name:`Vercel AI Gateway`,about:W(`Ein Key für die Modelle vieler Anbieter, abgerechnet bei Vercel.`,`One key for many providers' models, billed by Vercel.`),keyUrl:`https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai-gateway%2Fapi-keys`,keyPlaceholder:`vck_…`,text:{classifier:`anthropic/claude-haiku-4.5`,standard:`anthropic/claude-haiku-4.5`,high:`anthropic/claude-sonnet-5.5`,highest:`anthropic/claude-sonnet-5.5`},models:{text:[{ref:`anthropic/claude-haiku-4.5`,label:`Claude Haiku 4.5`,note:W(`schnell`,`fast`)},{ref:`anthropic/claude-sonnet-5.5`,label:`Claude Sonnet 5.5`},{ref:`openai/gpt-5.5`,label:`GPT-5.5`},{ref:`google/gemini-3.5-flash`,label:`Gemini 3.5 Flash`}],image:[{ref:`google/gemini-3.1-flash-image`,label:`Gemini 3.1 Flash Image`}],video:[{ref:`google/veo-3.1-fast-generate-001`,label:`Veo 3.1 Fast`,note:W(`mit Ton`,`with sound`)}],speech:[{ref:`google/gemini-3.8-flash-tts`,label:`Gemini Flash TTS`}],listening:[{ref:`google/gemini-3.5-flash-lite`,label:`Gemini 3.5 Flash-Lite`}]}}];function K(e){return G.find(t=>t.id===e)??null}function wt(e){if(yt(e))return null;let t=/^([a-z]+):/.exec(e)?.[1];return t?Ct.includes(t)?t:null:e?.includes(`/`)?`gateway`:null}function q(e){for(let t of G)for(let n of Object.values(t.models)){let t=n?.find(t=>t.ref===e);if(t)return t.label}return e.replace(/^[a-z]+:/,``)}function Tt(e,t){let n=t===`auto`?e.mode===`managed`:t===`cloud`,r=t===`auto`||t===`linked`?e.account??(t===`linked`?{name:e.user.name,email:e.user.email,credits:1250,expiring:[],url:``,cloudUrl:``,signedIn:!0}:null):null;return{cloud:n,account:n?null:r,credits:n||!!r?.signedIn,balance:n?e.credits??(t===`cloud`?1250:null):r?.credits??null,topUp:de(e),harnesses:n?[]:e.harnesses,canEdit:!n||e.tenant.role!==`member`,ownKeys:!n||e.features.ownKeys!==!1}}var J={text:le,image:te,video:A,speech:ie,listening:Ue},Y={text:`standard`,image:`image`,video:`video`,speech:`speech`,listening:`audio`},X=e=>e===`text`,Et=(e,t)=>e?.[t]??``;function Dt(e,t){return JSON.stringify(e)===JSON.stringify(t)}function Ot(e,t,n){let r=Y[t];if(X(t)&&!n.cloud){if(e.source===`account`)return{kind:`credits`};if(e.source!==`own`)return{kind:`client`,id:e.source}}let i=e.bindings[r];if(yt(i))return{kind:`credits`};if(i?.startsWith(`ollama:`))return{kind:`local`};let a=i?wt(i):null;if(a)return{kind:`key`,provider:a};if(i&&/^(claude|codex|gemini|cursor)\//.test(i))return{kind:`client`,id:i.split(`/`)[0]};let o=e.ways[r];switch(o.kind){case`client`:return{kind:`client`,id:o.by};case`key`:return K(o.by??``)?{kind:`key`,provider:o.by}:null;case`local`:return{kind:`local`};case`credits`:return{kind:`credits`};default:return null}}function kt(e,t,n){if(X(t)&&e.text)return e.text;let r=Y[t],i=n.bindings[r],a=i&&wt(i)===e.id?i:e.models[t]?.[0]?.ref;return a?{[r]:a}:{}}function At(e){return e.version===null?{note:g(`models.noteMissing`),noteTone:`warn`}:e.auth===`none`?{note:g(`models.noteSignedOut`),noteTone:`warn`}:e.auth===`api_key`?{note:g(`models.noteShellKey`)}:{note:g(`models.noteIncluded`),noteTone:`done`}}function jt(e,t){switch(e.kind){case`client`:return{text:t.harnesses.find(t=>t.id===e.by)?.name??e.by??``,tone:`done`};case`key`:return{text:K(e.by??``)?.name??e.by??``,tone:`done`};case`local`:return{text:g(`models.way.local`),tone:`done`};case`credits`:return{text:t.cloud?g(`models.way.creditsTeam`):g(`models.way.credits`),tone:`ok`};default:return{text:g(`models.way.none`),tone:`warn`}}}function Mt(){return r({queryKey:[`models`],queryFn:()=>D.get(`/api/studio/models`)})}function Z(){let e=i();return N({mutationFn:e=>D.put(`/api/studio/models`,e),onSuccess:async t=>{e.setQueryData([`models`],t),await e.invalidateQueries({queryKey:[`me`]})}})}function Q({title:e,aside:t,children:n}){return(0,R.jsxs)(`section`,{className:`flex flex-col gap-3 border-border-soft border-t pt-5 first:border-t-0 first:pt-0`,children:[(0,R.jsxs)(`div`,{className:`flex items-baseline justify-between gap-3`,children:[(0,R.jsx)(`h3`,{className:`font-medium text-[0.875rem]`,children:e}),t]}),n]})}function $({children:e}){return(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-ink-3`,children:e})}function Nt({text:e,tone:t}){return(0,R.jsxs)(`span`,{className:h(`inline-flex h-7 shrink-0 items-center gap-1.5 rounded-full px-3 font-medium text-[0.75rem]`,t===`done`&&`bg-moss-tint text-moss`,t===`ok`&&`bg-amber-tint text-ink-2`,t===`warn`&&`bg-paper-2 text-ink-3`),children:[t===`done`?(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}):null,t===`ok`?(0,R.jsx)(j,{className:`size-3.5`}):null,t===`warn`?(0,R.jsx)(k,{className:`size-3.5`}):null,e]})}function Pt({icon:e,title:t,lead:n,status:r}){return(0,R.jsxs)(`div`,{className:`flex items-start gap-3 sm:gap-4`,children:[(0,R.jsx)(`span`,{className:`grid size-10 shrink-0 place-items-center rounded-xl bg-ember-tint text-ember-strong`,children:(0,R.jsx)(e,{className:`size-5`})}),(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1`,children:[(0,R.jsx)(`h2`,{className:`font-display font-semibold text-[1.375rem] leading-tight tracking-tight`,children:t}),r]}),(0,R.jsx)(`p`,{className:`mt-0.5 text-[0.875rem] text-ink-3`,children:n})]})]})}function Ft({label:e,children:t}){return(0,R.jsxs)(`div`,{className:`grid items-start gap-x-4 gap-y-1.5 sm:grid-cols-[7.5rem_minmax(0,1fr)]`,children:[(0,R.jsx)(`span`,{className:`pt-2 text-[0.75rem] text-ink-3`,children:e}),(0,R.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:t})]})}function It({selected:e,title:t,note:n,noteTone:r,disabled:i,onPick:a}){return(0,R.jsxs)(`button`,{type:`button`,onClick:a,disabled:i,"aria-pressed":e,title:n,className:h(`inline-flex h-9 items-center gap-1.5 rounded-full border px-3.5 text-[0.8125rem] transition coarse:h-11`,e?`border-ember bg-ember-tint font-medium text-ink`:r===`done`?`border-input bg-card text-ink hover:border-ink-4`:`border-border-soft border-dashed text-ink-3 hover:border-ink-4 hover:text-ink`,i&&`cursor-not-allowed opacity-50`),children:[r===`done`?(0,R.jsx)(c,{className:`size-3.5 text-moss`,strokeWidth:3}):null,t,(0,R.jsxs)(`span`,{className:`sr-only`,children:[`: `,n]})]})}function Lt({provider:e,stored:t,place:n}){let r=Z(),[i,a]=(0,L.useState)(``),[o,s]=(0,L.useState)(!1),[l,u]=(0,L.useState)(null),d=N({mutationFn:t=>D.post(`/api/studio/models/keys/${e.id}/check`,t?{key:t}:{})}),f=async()=>{u(null);let t=await d.mutateAsync(i.trim());if(!t.ok){u({ok:!1,message:t.message??g(`models.keyBad`)});return}await r.mutateAsync({keys:{[e.id]:i.trim()}}),a(``),s(!1),u({ok:!0,message:g(`models.keyOk`)})},p=!t||o;return n.ownKeys?(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[p?(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,R.jsx)(w,{type:`password`,autoComplete:`off`,className:`min-w-0 flex-1 font-mono text-[0.8125rem]`,placeholder:e.keyPlaceholder,value:i,disabled:!n.canEdit,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&i.trim()&&f()}}),(0,R.jsx)(T,{busy:d.isPending||r.isPending,disabled:!i.trim()||!n.canEdit,onClick:()=>void f(),children:g(`models.keySave`)}),o?(0,R.jsx)(T,{variant:`ghost`,onClick:()=>s(!1),children:g(`common.cancel`)}):null]}):(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-2`,children:[(0,R.jsxs)(`span`,{className:`flex items-center gap-2 text-[0.875rem] text-ink-2`,children:[(0,R.jsx)(I,{className:`size-4 text-moss`}),` `,g(`models.keyStored`)]}),(0,R.jsx)(T,{size:`sm`,variant:`ghost`,busy:d.isPending,onClick:async()=>{let e=await d.mutateAsync(void 0);u(e.ok?{ok:!0,message:g(`models.keyOk`)}:{ok:!1,message:e.message??g(`models.keyBad`)})},children:g(`models.keyCheck`)}),n.canEdit?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(T,{size:`sm`,variant:`ghost`,onClick:()=>s(!0),children:g(`models.keyReplace`)}),(0,R.jsx)(T,{size:`sm`,variant:`danger`,busy:r.isPending,onClick:()=>{u(null),r.mutate({keys:{[e.id]:``}})},children:g(`models.keyRemove`)})]}):null]}),l?(0,R.jsxs)(`p`,{className:h(`flex items-center gap-1.5 text-[0.8125rem]`,l.ok?`text-moss`:`text-rose`),children:[l.ok?(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}):null,l.message]}):null,(0,R.jsxs)(`p`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1 text-[0.75rem] text-ink-4`,children:[(0,R.jsxs)(`button`,{type:`button`,onClick:()=>Oe(e.keyUrl),className:`inline-flex items-center gap-1 font-medium text-ember-strong hover:underline`,children:[g(`models.keyGet`,{name:e.name}),` `,(0,R.jsx)(M,{className:`size-3`})]}),(0,R.jsx)(`span`,{children:n.cloud?g(`models.keyWhereCloud`):g(`models.keyWhereLocal`)})]})]}):(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-ink-3`,children:g(`models.ownKeysPlan`)})}var Rt=`__custom__`;function zt({provider:e,cap:t,value:n,onPick:r,disabled:i}){let a=_,o=e.models[t]??[],s=o.some(e=>e.ref===n),[c,l]=(0,L.useState)(!s&&!!n),[u,d]=(0,L.useState)(s?``:n.replace(/^[a-z]+:/,``)),p=e.id===`gateway`?``:`${e.id}:`;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,R.jsx)(f,{value:c?Rt:n,onChange:e=>{if(e===Rt){l(!0);return}l(!1),r(e)},options:[...o.map(e=>({value:e.ref,label:e.note?`${e.label} – ${Et(e.note,a)}`:e.label})),{value:Rt,label:g(`models.modelCustom`)}]}),c?(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,R.jsx)(w,{className:`min-w-0 flex-1 font-mono text-[0.8125rem]`,value:u,disabled:i,placeholder:o[0]?.ref.replace(/^[a-z]+:/,``)??``,onChange:e=>d(e.target.value)}),(0,R.jsx)(T,{variant:`secondary`,disabled:!u.trim()||i,onClick:()=>r(`${p}${u.trim()}`),children:g(`settings.save`)})]}):null]})}function Bt({provider:e,state:t}){let n=n=>q(t.bindings[n]??e.text?.[n]??``);return(0,R.jsxs)(`dl`,{className:`grid grid-cols-[auto_minmax(0,1fr)] gap-x-4 gap-y-1 text-[0.875rem]`,children:[(0,R.jsx)(`dt`,{className:`text-ink-3`,children:g(`models.textSimple`)}),(0,R.jsx)(`dd`,{className:`truncate font-medium`,children:n(`standard`)}),(0,R.jsx)(`dt`,{className:`text-ink-3`,children:g(`models.textDemanding`)}),(0,R.jsx)(`dd`,{className:`truncate font-medium`,children:n(`high`)})]})}function Vt({provider:e,state:t,onPick:n,disabled:r}){return(0,R.jsxs)(`details`,{className:`group rounded-lg ring-1 ring-border-soft`,children:[(0,R.jsx)(`summary`,{className:`cursor-pointer list-none px-3 py-2.5 text-[0.8125rem] text-ink-2 hover:text-ink`,children:(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,R.jsx)(O,{className:`size-3.5 transition group-open:rotate-90`}),g(`models.perClass`)]})}),(0,R.jsx)(`div`,{className:`flex flex-col gap-3 px-3 pt-1 pb-3`,children:De.map(i=>(0,R.jsxs)(`div`,{className:`grid items-center gap-2 sm:grid-cols-[9rem_minmax(0,1fr)]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[0.8125rem] text-ink-2`,children:g(`class.${i}`)}),(0,R.jsx)(`div`,{className:`text-[0.6875rem] text-ink-4 leading-snug`,children:g(`class.${i}.hint`)})]}),(0,R.jsx)(zt,{provider:e,cap:`text`,value:t.bindings[i]??e.text?.[i]??``,disabled:r,onPick:e=>n(i,e)})]},i))})]})}function Ht({cap:e,disabled:t}){let n=Y[e],r=N({mutationFn:()=>D.post(`/api/studio/models/test`,{cls:n,lang:_})}),i=r.data;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,R.jsx)(T,{variant:`secondary`,busy:r.isPending,disabled:t,onClick:()=>r.mutate(),children:g(`models.try.${e}`)}),(0,R.jsx)(`span`,{className:`text-[0.75rem] text-ink-4`,children:e===`video`?g(`models.tryCostVideo`):X(e)?null:g(`models.tryCost`)})]}),r.isPending&&e!==`text`?(0,R.jsxs)(`p`,{className:`flex items-center gap-2 text-[0.8125rem] text-ink-3`,children:[(0,R.jsx)(m,{className:`size-3.5`}),` `,g(e===`video`?`models.tryWaitVideo`:`models.tryWait`)]}):null,i?.ok?(0,R.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[i.media&&e===`image`?(0,R.jsx)(`img`,{src:i.media,alt:``,className:`size-48 rounded-lg object-cover ring-1 ring-border-soft`}):null,i.media&&e===`speech`?(0,R.jsx)(`audio`,{src:i.media,controls:!0,autoPlay:!0,className:`w-full max-w-sm`}):null,i.media&&e===`video`?(0,R.jsx)(`video`,{src:i.media,controls:!0,autoPlay:!0,muted:!0,className:`w-full max-w-md rounded-lg`}):null,(0,R.jsxs)(`p`,{className:`flex items-start gap-2 text-[0.8125rem] text-ink-2`,children:[(0,R.jsx)(c,{className:`mt-0.5 size-3.5 shrink-0 text-moss`,strokeWidth:3}),(0,R.jsx)(`span`,{children:e===`listening`?i.reply?g(`models.tryHeard`,{text:i.reply}):g(`models.tryHeardNothing`):X(e)?g(`local.testOk`,{s:(i.ms/1e3).toFixed(1),ref:q(i.ref??``),reply:i.reply??``}):g(`models.tryOk`,{s:(i.ms/1e3).toFixed(1),model:q(i.ref??``)})})]})]}):null,i&&!i.ok?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-rose`,children:g(`models.tryFailed`,{error:i.error??``})}):null,r.isError?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-rose`,children:g(`models.tryFailed`,{error:r.error.message})}):null]})}function Ut(e){let t=e=>(e<10?Math.round(e*10)/10:Math.ceil(e)).toLocaleString();return e?.creditsPerImage?g(`models.notePerImage`,{n:t(e.creditsPerImage)}):e?.creditsPerSecond?g(`models.notePerSecond`,{n:t(e.creditsPerSecond)}):e?.creditsPer1kCharacters?g(`models.notePer1k`,{n:t(e.creditsPer1kCharacters)}):e?.creditsPerMinute?g(`models.notePerMinute`,{n:t(e.creditsPerMinute)}):g(`models.noteUsage`)}function Wt(e,t){let n=bt(t.bindings[Y[e]]);return Ut((n?t.creditModels.find(e=>e.id===n):null)??t.prices?.[Y[e]])}function Gt(e,t,n){return e.creditModels.filter(e=>St(e.kind)===t&&(!n||e.source===n||e.provider===n))}function Kt({cap:e,state:t,disabled:n}){let r=Z(),i=Y[e],a=bt(t.bindings[i]),o=Gt(t,e),s=t.prices?.[i]?.model,c=e=>e.source===`ai-gateway`?K(e.provider)?.name??e.provider:K(e.source)?.name??e.source;return(0,R.jsx)(f,{value:a??``,onChange:e=>r.mutate({bindings:{[i]:xt(e||null)}}),options:[{value:``,label:s?g(`models.creditsAuto`,{model:q(s)}):g(`models.creditsAutoNone`)},...o.map(e=>({value:e.id,label:`${e.name} · ${c(e)} – ${Ut(e)}`,disabled:n}))]})}function qt({models:e,state:t,place:n}){let r=Z();return(0,R.jsx)(`ul`,{className:`flex flex-col divide-y divide-border-soft`,children:e.map(e=>{let i=St(e.kind),a=Y[i],o=t.bindings[a]===xt(e.id);return(0,R.jsxs)(`li`,{className:`flex flex-wrap items-center gap-3 py-2.5`,children:[(0,R.jsx)(j,{className:`size-4 shrink-0 text-ink-3`}),(0,R.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`span`,{className:`block font-medium text-[0.875rem]`,children:e.name}),(0,R.jsxs)(`span`,{className:`block text-[0.75rem] text-ink-3`,children:[g(`models.cap.${i}`),` · `,Ut(e)]})]}),o?(0,R.jsxs)(`span`,{className:`flex items-center gap-1 font-medium text-[0.75rem] text-moss`,children:[(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}),` `,g(`models.inUse`)]}):(0,R.jsx)(T,{size:`sm`,variant:`secondary`,disabled:!n.canEdit||!n.credits,busy:r.isPending&&r.variables?.bindings?.[a]===xt(e.id),onClick:()=>r.mutate({bindings:{[a]:xt(e.id)}}),children:g(`models.useFor`)})]},e.id)})})}function Jt({cap:e,state:t,place:n,me:r,onOpen:i}){let a=Z(),o=Y[e],s=t.ways[o],c=Ot(t,e,n),[l,u]=(0,L.useState)(!1),d=jt(s,n),f=n.harnesses.filter(t=>(X(e)||e===`image`&&t.images)&&(t.version!==null||c?.kind===`client`&&c.id===t.id)),p=G.filter(t=>t.models[e]?.length),m=r=>{if(u(!1),r.kind===`credits`&&!n.credits){u(!0);return}if(Dt(r,c))return;let i=gt[e],s=e=>Object.fromEntries(i.map(t=>[t,e]));switch(r.kind){case`client`:a.mutate(X(e)?{source:r.id}:{bindings:{[o]:`${r.id}/image`}});return;case`key`:{let i=K(r.provider);a.mutate({...X(e)&&!n.cloud?{source:`own`}:{},bindings:kt(i,e,t)});return}case`local`:a.mutate({source:`own`,bindings:s(`ollama:qwen3`)});return;case`credits`:a.mutate(X(e)&&!n.cloud?{source:`account`}:{bindings:s(_t)});return}},h=c?.kind===`key`?K(c.provider):null,_=h?!t.keys[h.id]:!1,y=c?.kind===`client`?n.harnesses.find(e=>e.id===c.id):null,x=s.kind!==`none`;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,R.jsx)(Pt,{icon:J[e],title:g(`models.cap.${e}`),lead:g(`models.cap.${e}.hint`),status:(0,R.jsx)(Nt,{...d})}),(0,R.jsxs)(b,{className:`flex flex-col gap-6 p-3.5 sm:p-5 sm:p-6`,children:[(0,R.jsxs)(Q,{title:g(`models.who`),children:[(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[f.length?(0,R.jsx)(Ft,{label:g(`models.optSubscription`),children:f.map(e=>(0,R.jsx)(It,{title:e.name,...At(e),selected:c?.kind===`client`&&c.id===e.id,disabled:!n.canEdit,onPick:()=>m({kind:`client`,id:e.id})},e.id))}):null,(0,R.jsx)(Ft,{label:g(`models.optKey`),children:p.map(e=>(0,R.jsx)(It,{title:e.name,note:t.keys[e.id]?g(`models.noteKey`):g(`models.noteNoKey`),noteTone:t.keys[e.id]?`done`:void 0,selected:c?.kind===`key`&&c.provider===e.id,disabled:!n.canEdit,onPick:()=>m({kind:`key`,provider:e.id})},e.id))}),(0,R.jsxs)(Ft,{label:X(e)&&!n.cloud?g(`models.optOther`):g(`models.optCreditsGroup`),children:[X(e)&&!n.cloud?(0,R.jsx)(It,{title:g(`models.optLocal`),note:g(`models.optLocalNote`),selected:c?.kind===`local`,disabled:!n.canEdit,onPick:()=>m({kind:`local`})}):null,(0,R.jsx)(It,{title:n.cloud?g(`models.creditsTeam`):g(`models.creditsName`),note:n.credits?Wt(e,t):g(`models.noteNeedsAccount`),noteTone:n.credits?`done`:void 0,selected:c?.kind===`credits`,disabled:!n.canEdit,onPick:()=>m({kind:`credits`})})]})]}),l?(0,R.jsxs)(`p`,{className:`text-[0.8125rem] text-ink-2`,children:[g(`local.sourceNeedsAccount`),` `,(0,R.jsx)($t,{})]}):null,a.isError?(0,R.jsx)(`p`,{className:`text-[0.8125rem] text-rose`,children:a.error.message}):null]}),h?(0,R.jsxs)(R.Fragment,{children:[_?(0,R.jsxs)(Q,{title:g(`models.keyFor`,{name:h.name}),children:[(0,R.jsx)(Lt,{provider:h,stored:!1,place:n}),n.credits?(0,R.jsxs)($,{children:[(0,R.jsx)(j,{className:`mr-1 inline size-3.5 align-[-2px]`}),g(`models.keyFallback`)]}):null]}):null,_&&n.credits&&Gt(t,e,h.id).length?(0,R.jsx)(Q,{title:g(`models.viaCredits`,{name:h.name}),children:(0,R.jsx)(qt,{models:Gt(t,e,h.id),state:t,place:n})}):null,(0,R.jsx)(Q,{title:g(`models.model`),aside:_?null:(0,R.jsx)(`button`,{type:`button`,onClick:()=>i({type:`provider`,id:h.id}),className:`text-[0.75rem] text-ink-3 hover:text-ink`,children:g(`models.manageKey`,{name:h.name})}),children:X(e)&&h.text?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Bt,{provider:h,state:t}),(0,R.jsx)(Vt,{provider:h,state:t,disabled:!n.canEdit,onPick:(e,t)=>a.mutate({bindings:{[e]:t}})})]}):(0,R.jsx)(zt,{provider:h,cap:e,value:t.bindings[o]??h.models[e]?.[0]?.ref??``,disabled:!n.canEdit,onPick:e=>a.mutate({bindings:{[o]:e}})},`${h.id}:${t.bindings[o]??``}`)})]}):null,c?.kind===`client`&&y?X(e)?(0,R.jsx)(Q,{title:y.name,children:(0,R.jsx)(Ve,{me:r,id:y.id})}):(0,R.jsx)(Q,{title:y.name,children:(0,R.jsx)($,{children:g(`models.clientImages`,{name:y.name,sub:g(`harness.sub.${y.id}`)})})}):null,c?.kind===`local`?(0,R.jsx)(Yt,{state:t,disabled:!n.canEdit}):null,c?.kind===`credits`&&n.credits?X(e)?(0,R.jsx)(Q,{title:g(`models.creditsName`),children:(0,R.jsxs)($,{children:[g(`models.creditsPicks`),s.kind===`credits`&&s.ref?` ${g(`models.creditsModel`,{model:q(s.ref)})}`:``]})}):(0,R.jsxs)(Q,{title:g(`models.model`),children:[(0,R.jsx)(Kt,{cap:e,state:t,disabled:!n.canEdit}),(0,R.jsx)($,{children:g(`models.creditsPickHint`)})]}):null,s.problem?(0,R.jsxs)(`p`,{className:`flex items-start gap-2 rounded-lg bg-paper-2 px-3 py-2.5 text-[0.8125rem] text-ink-2`,children:[(0,R.jsx)(k,{className:`mt-0.5 size-3.5 shrink-0 text-ink-3`}),(0,R.jsx)(`span`,{children:(0,R.jsx)(v,{text:s.problem})})]}):null,c?.kind===`client`&&X(e)?null:(0,R.jsx)(Q,{title:g(`models.try`),children:(0,R.jsx)(Ht,{cap:e,disabled:!x||!n.canEdit},`${e}:${s.ref}`)}),X(e)&&r.subscriptions.includes(`claude`)&&!n.cloud?(0,R.jsx)(Xt,{me:r}):null]})]})}function Yt({state:e,disabled:t}){let n=Z(),[r,i]=(0,L.useState)(e.ollamaUrl),[a,o]=(0,L.useState)((e.bindings.standard??`ollama:qwen3`).replace(/^ollama:/,``));return(0,R.jsxs)(Q,{title:g(`models.optLocal`),children:[(0,R.jsx)($,{children:g(`models.ollamaHint`)}),(0,R.jsxs)(`div`,{className:`grid gap-2 sm:grid-cols-[minmax(0,1fr)_12rem_auto]`,children:[(0,R.jsx)(w,{className:`font-mono text-[0.8125rem]`,value:r,disabled:t,onChange:e=>i(e.target.value)}),(0,R.jsx)(w,{className:`font-mono text-[0.8125rem]`,value:a,disabled:t,onChange:e=>o(e.target.value)}),(0,R.jsx)(T,{variant:`secondary`,busy:n.isPending,disabled:t||!a.trim(),onClick:()=>n.mutate({ollamaUrl:r,bindings:Object.fromEntries(De.map(e=>[e,`ollama:${a.trim()}`]))}),children:g(`settings.save`)})]})]})}function Xt({me:e}){let t=i(),n=N({mutationFn:e=>D.put(`/api/studio/local/chat`,{engine:e}),onSuccess:()=>t.invalidateQueries({queryKey:[`me`]})});return(0,R.jsxs)(Q,{title:g(`local.chat`),children:[(0,R.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:[`models`,`claude`].map(t=>(0,R.jsx)(`button`,{type:`button`,"aria-pressed":e.chatEngine===t,onClick:()=>n.mutate(t),className:h(`h-9 rounded-full border px-3.5 text-[0.8125rem] transition`,e.chatEngine===t?`border-ember bg-ember-tint text-ink`:`border-input bg-card text-ink-2 hover:text-ink`),children:g(t===`claude`?`local.chatClaude`:`local.chatModels`)},t))}),(0,R.jsx)($,{children:g(`local.subscription`)})]})}function Zt({provider:e,state:t,place:n,onOpen:r}){let i=Z(),a=ht.filter(t=>e.models[t]?.length),o=t.keys[e.id],s=e.id===`gateway`?[]:t.creditModels.filter(t=>t.source===e.id||t.provider===e.id);return(0,R.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,R.jsx)(Pt,{icon:I,title:e.name,lead:Et(e.about,_),status:(0,R.jsx)(Nt,{text:g(o?`models.keyStored`:`models.keyNone`),tone:o?`done`:`warn`})}),(0,R.jsxs)(b,{className:`flex flex-col gap-6 p-3.5 sm:p-5 sm:p-6`,children:[(0,R.jsx)(Q,{title:g(`models.key`),children:(0,R.jsx)(Lt,{provider:e,stored:o,place:n})}),(0,R.jsx)(Q,{title:g(`models.uses`),children:(0,R.jsx)(`ul`,{className:`flex flex-col divide-y divide-border-soft`,children:a.map(a=>{let o=J[a],s=Ot(t,a,n),l=s?.kind===`key`&&s.provider===e.id;return(0,R.jsxs)(`li`,{className:`flex flex-wrap items-center gap-3 py-2.5`,children:[(0,R.jsx)(o,{className:`size-4 shrink-0 text-ink-3`}),(0,R.jsxs)(`button`,{type:`button`,onClick:()=>r({type:`cap`,id:a}),className:`min-w-0 flex-1 text-left`,children:[(0,R.jsx)(`span`,{className:`block font-medium text-[0.875rem]`,children:g(`models.cap.${a}`)}),(0,R.jsx)(`span`,{className:`block truncate text-[0.75rem] text-ink-3`,children:(e.models[a]??[]).map(e=>e.label).join(` · `)})]}),l?(0,R.jsxs)(`span`,{className:`flex items-center gap-1 font-medium text-[0.75rem] text-moss`,children:[(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}),` `,g(`models.inUse`)]}):(0,R.jsx)(T,{size:`sm`,variant:`secondary`,disabled:!n.canEdit,busy:i.isPending&&i.variables?.bindings!==void 0,onClick:()=>i.mutate({...X(a)&&!n.cloud?{source:`own`}:{},bindings:kt(e,a,t)}),children:g(`models.useFor`)})]},a)})})}),s.length?(0,R.jsxs)(Q,{title:g(`models.viaCredits`,{name:e.name}),children:[(0,R.jsx)($,{children:n.credits?g(`models.viaCreditsHint`):g(`models.viaCreditsNeedsAccount`)}),(0,R.jsx)(qt,{models:s,state:t,place:n})]}):null]})]})}function Qt({me:e,id:t,state:n,place:r}){let i=Z(),a=r.harnesses.find(e=>e.id===t);if(!a)return null;let o=n.source===t,s=a.version!==null&&a.auth!==`none`;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,R.jsx)(Pt,{icon:Te,title:a.name,lead:g(`harness.desc.${t}`),status:(0,R.jsx)(Nt,{text:At(a).note,tone:s?`done`:`warn`})}),(0,R.jsxs)(b,{className:`flex flex-col gap-6 p-3.5 sm:p-5 sm:p-6`,children:[(0,R.jsx)(Q,{title:g(`models.clientSignIn`),children:(0,R.jsx)(Ve,{me:e,id:t})}),(0,R.jsxs)(Q,{title:g(`models.uses`),children:[(0,R.jsx)(`ul`,{className:`flex flex-col divide-y divide-border-soft`,children:[`text`,...a.images?[`image`]:[]].map(e=>{let a=J[e],o=Ot(n,e,r),s=o?.kind===`client`&&o.id===t;return(0,R.jsxs)(`li`,{className:`flex items-center gap-3 py-2.5`,children:[(0,R.jsx)(a,{className:`size-4 shrink-0 text-ink-3`}),(0,R.jsx)(`span`,{className:`min-w-0 flex-1 font-medium text-[0.875rem]`,children:g(`models.cap.${e}`)}),s?(0,R.jsxs)(`span`,{className:`flex items-center gap-1 font-medium text-[0.75rem] text-moss`,children:[(0,R.jsx)(c,{className:`size-3.5`,strokeWidth:3}),` `,g(`models.inUse`)]}):(0,R.jsx)(T,{size:`sm`,variant:`secondary`,busy:i.isPending,onClick:()=>i.mutate(e===`text`?{source:t}:{bindings:{image:`${t}/image`}}),children:g(`models.useFor`)})]},e)})}),o?null:(0,R.jsx)($,{children:g(`models.clientNotChosen`,{name:a.name})})]})]})]})}function $t(){return(0,R.jsx)(S,{to:`/settings/account`,className:`font-medium text-ember-strong underline-offset-2 hover:underline`,children:g(`local.toAccount`)})}function en({state:e,place:t,onOpen:n}){let r=Z(),i=ht.filter(t=>e.ways[Y[t]].kind===`credits`),a=t.cloud?g(`models.creditsTeam`):g(`models.creditsName`);return(0,R.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,R.jsx)(Pt,{icon:j,title:a,lead:t.cloud?g(`models.creditsCloudHint`):g(`models.creditsLocalLead`),status:t.balance===null?void 0:(0,R.jsx)(`span`,{className:`font-display font-semibold text-[1.25rem] tabular-nums`,children:g(`nav.credits`,{n:Math.floor(t.balance).toLocaleString()})})}),(0,R.jsxs)(b,{className:`flex flex-col gap-6 p-3.5 sm:p-5 sm:p-6`,children:[!t.cloud&&!t.account?(0,R.jsxs)(Q,{title:g(`models.creditsConnectTitle`),children:[(0,R.jsx)($,{children:g(`models.creditsLocalHint`)}),(0,R.jsx)(`div`,{children:(0,R.jsx)(S,{to:`/settings/account`,children:(0,R.jsx)(T,{children:g(`models.creditsConnect`)})})})]}):null,t.account&&!t.account.signedIn?(0,R.jsxs)(`p`,{className:`text-[0.8125rem] text-rose`,children:[g(`local.accountExpired`),` `,(0,R.jsx)($t,{})]}):null,t.account?(0,R.jsx)(Q,{title:g(`models.creditsFallback`),children:(0,R.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,R.jsx)(y,{checked:e.creditFallback,disabled:!t.canEdit,onChange:e=>r.mutate({creditFallback:e}),label:g(`models.creditsFallback`)}),(0,R.jsx)($,{children:e.creditFallback?g(`models.creditsFallbackOn`):g(`models.creditsFallbackOff`)})]})}):null,t.credits?(0,R.jsx)(Q,{title:g(`models.creditsOn`),aside:t.topUp?(0,R.jsxs)(`a`,{href:t.topUp,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-1 font-medium text-[0.8125rem] text-ember-strong hover:underline`,children:[g(`models.creditsTopUp`),` `,(0,R.jsx)(M,{className:`size-3`})]}):null,children:i.length?(0,R.jsx)(`ul`,{className:`flex flex-col divide-y divide-border-soft`,children:i.map(t=>{let r=J[t],i=e.ways[Y[t]];return(0,R.jsx)(`li`,{children:(0,R.jsxs)(`button`,{type:`button`,onClick:()=>n({type:`cap`,id:t}),className:`flex w-full items-center gap-3 py-2.5 text-left`,children:[(0,R.jsx)(r,{className:`size-4 shrink-0 text-ink-3`}),(0,R.jsx)(`span`,{className:`min-w-0 flex-1 font-medium text-[0.875rem]`,children:g(`models.cap.${t}`)}),(0,R.jsxs)(`span`,{className:`truncate text-[0.75rem] text-ink-3`,children:[i.ref?q(i.ref):``,` · `,Wt(t,e)]})]})},t)})}):(0,R.jsx)($,{children:g(`models.creditsNone`)})}):null]})]})}function tn(e){return e?e===`credits`?{type:`credits`}:ht.includes(e)?{type:`cap`,id:e}:K(e)?{type:`provider`,id:e}:{type:`client`,id:e}:{type:`cap`,id:`text`}}var nn=e=>e.type===`credits`?`credits`:e.id;function rn({view:e,onView:t}){return null}function an(e){return e.kind===`none`?`off`:e.kind===`credits`?`credits`:`done`}function on(e,t){switch(e.type){case`cap`:return g(`models.cap.${e.id}`);case`provider`:return K(e.id)?.name??e.id;case`client`:return t?.harnesses.find(t=>t.id===e.id)?.name??e.id;default:return t?.mode===`managed`?g(`models.creditsTeam`):g(`models.creditsName`)}}function sn(){let e=pe(),t=Mt(),[n,r]=E(),[i,a]=(0,L.useState)(`auto`),{narrow:o}=Ae(),s=n.get(`show`),c=tn(s);if(Me(s||!o?on(c,e.data):null),!e.data||!t.data)return t.isError?(0,R.jsx)(`p`,{className:`text-[0.875rem] text-rose`,children:t.error.message}):null;let l=t.data,u=Tt(e.data,i),d=e=>r({show:nn(e)},{replace:!o}),f=e=>!(!s&&o)&&nn(e)===nn(c),p=u.harnesses.filter(e=>e.version!==null||l.source===e.id),m=G.filter(e=>l.keys[e.id]),h=G.filter(e=>!l.keys[e.id]);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(Re,{children:[(0,R.jsx)(F,{label:g(`models.groupCaps`),children:ht.map(e=>{let t=l.ways[Y[e]];return(0,R.jsx)(P,{icon:J[e],label:g(`models.cap.${e}`),tone:an(t),toneLabel:jt(t,u).text,selected:f({type:`cap`,id:e}),onPick:()=>d({type:`cap`,id:e})},e)})}),(0,R.jsxs)(F,{label:g(`models.groupAccess`),children:[(0,R.jsx)(P,{icon:j,label:u.cloud?g(`models.creditsTeam`):g(`models.creditsName`),badge:u.balance===null?null:(0,R.jsx)(`span`,{className:`text-[0.75rem] text-ink-3 tabular-nums`,children:Math.floor(u.balance).toLocaleString()}),tone:u.credits?void 0:`off`,toneLabel:u.credits?void 0:g(`models.noteNeedsAccount`),selected:f({type:`credits`}),onPick:()=>d({type:`credits`})}),p.map(e=>(0,R.jsx)(P,{icon:Te,label:e.name,tone:e.version!==null&&e.auth===`subscription`?`done`:e.auth===`api_key`?`on`:`off`,toneLabel:At(e).note,selected:f({type:`client`,id:e.id}),onPick:()=>d({type:`client`,id:e.id})},e.id)),m.map(e=>(0,R.jsx)(P,{icon:I,label:e.name,tone:`done`,toneLabel:g(`models.noteKey`),selected:f({type:`provider`,id:e.id}),onPick:()=>d({type:`provider`,id:e.id})},e.id))]}),h.length?(0,R.jsx)(F,{label:g(`models.groupMore`),collapsible:!0,open:h.some(e=>f({type:`provider`,id:e.id})),count:h.length,children:h.map(e=>(0,R.jsx)(P,{icon:I,label:e.name,selected:f({type:`provider`,id:e.id}),onPick:()=>d({type:`provider`,id:e.id})},e.id))}):null,(0,R.jsx)(rn,{view:i,onView:a})]}),u.canEdit?null:(0,R.jsx)(`p`,{className:`mb-4 rounded-lg bg-paper-2 px-3 py-2 text-[0.8125rem] text-ink-2`,children:g(`models.readOnly`)}),c.type===`cap`?(0,R.jsx)(Jt,{cap:c.id,state:l,place:u,me:e.data,onOpen:d},c.id):c.type===`provider`&&K(c.id)?(0,R.jsx)(Zt,{provider:K(c.id),state:l,place:u,onOpen:d},c.id):c.type===`client`?(0,R.jsx)(Qt,{me:e.data,id:c.id,state:l,place:u},c.id):(0,R.jsx)(en,{state:l,place:u,onOpen:d})]})}function cn({name:e,image:t}){return t?(0,R.jsx)(`img`,{src:t,alt:``,className:`size-9 shrink-0 rounded-full object-cover`}):(0,R.jsx)(`span`,{className:`flex size-9 shrink-0 items-center justify-center rounded-full bg-paper-2 font-medium text-[0.75rem] text-ink-2`,children:ge(e)})}function ln({me:e}){let t=r({queryKey:[`team`,e.tenant.id],queryFn:()=>D.get(`/api/studio/team`)}),n=t.data,i=n?.plan??e.tenant.plan,a=n?.seats;return(0,R.jsxs)(`div`,{className:`flex flex-col gap-9`,children:[(0,R.jsxs)(ae,{title:g(`team.title`),hint:g(`team.hint`),children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-4 gap-y-3`,children:[(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsx)(`div`,{className:`text-[0.8125rem] text-ink-3`,children:g(`team.plan`)}),(0,R.jsxs)(`div`,{className:`mt-0.5 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{className:`font-medium text-[0.9375rem]`,children:i?.name??g(`team.planFree`)}),a?(0,R.jsx)(C,{children:a.limit===null?g(`team.seatsUnlimited`):g(`team.seats`,{taken:a.taken,limit:a.limit})}):null]})]}),(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,R.jsxs)(T,{variant:`secondary`,onClick:()=>Oe(`${e.manageUrl}/billing`),children:[g(`team.changePlan`),` `,(0,R.jsx)(M,{className:`size-4`})]}),n?.canManage?(0,R.jsxs)(T,{onClick:()=>Oe(`${e.manageUrl}/`),children:[g(`team.manage`),` `,(0,R.jsx)(M,{className:`size-4`})]}):null]})]}),(0,R.jsx)(`p`,{className:`mt-4 text-[0.8125rem] text-ink-3 leading-relaxed`,children:e.tenant.role===`member`?g(`team.memberNote`):g(`team.roles`)})]}),(0,R.jsx)(ae,{title:g(`team.members`),children:t.isPending?(0,R.jsx)(m,{}):t.isError||!n?(0,R.jsx)(`p`,{className:`text-[0.875rem] text-rose`,children:g(`team.failed`)}):(0,R.jsxs)(`div`,{className:`flex flex-col divide-y divide-border-soft`,children:[n.members.map(t=>(0,R.jsxs)(`div`,{className:`flex items-center gap-3 py-3 first:pt-0 last:pb-0`,children:[(0,R.jsx)(cn,{name:t.name,image:t.image}),(0,R.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,R.jsxs)(`div`,{className:`truncate text-[0.9375rem]`,children:[t.name,t.userId===e.user.id?(0,R.jsxs)(`span`,{className:`text-ink-4`,children:[` · `,g(`team.you`)]}):null]}),(0,R.jsx)(`div`,{className:`truncate text-[0.8125rem] text-ink-3`,children:t.email})]}),(0,R.jsx)(C,{tone:t.role===`member`?void 0:`live`,children:g(`team.role.${t.role}`)})]},t.userId)),n.invitations.map(e=>(0,R.jsxs)(`div`,{className:`flex items-center gap-3 py-3 first:pt-0 last:pb-0`,children:[(0,R.jsx)(`span`,{className:`flex size-9 shrink-0 items-center justify-center rounded-full bg-paper-2 text-ink-3`,children:(0,R.jsx)(Ke,{className:`size-4`})}),(0,R.jsx)(`div`,{className:`min-w-0 flex-1 truncate text-[0.9375rem]`,children:e.email}),(0,R.jsxs)(C,{tone:`warn`,children:[g(`team.invited`),` · `,g(`team.role.${e.role}`)]})]},e.id)),n.members.length===0&&n.invitations.length===0?(0,R.jsxs)(`div`,{className:`flex items-center gap-3 text-[0.875rem] text-ink-3`,children:[(0,R.jsx)(ye,{className:`size-4`}),` –`]}):null]})})]})}function un(e,t){let n=e.toLowerCase().replace(/[^a-z0-9]+/g,`_`).replace(/^_+|_+$/g,``).replace(/^[^a-z]+/,``).slice(0,24)||`system`,r=n,i=2;for(;t.includes(r);)r=`${n}_${i++}`;return r}function dn({project:e}){let t=i(),[n,r]=(0,L.useState)(e.mcpServers.map(e=>({...e,auth:e.headers?.Authorization??e.headers?.authorization??``}))),[a,s]=(0,L.useState)(!1),c=e.readOnly,l=N({mutationFn:()=>D.patch(`/api/studio/projects/${e.id}`,{mcpServers:n.filter(e=>e.name&&e.url).map(({auth:e,headers:t,...n})=>({...n,headers:e?{...t,Authorization:e}:void 0}))}),onSuccess:async()=>{await t.invalidateQueries({queryKey:[`projects`]}),s(!0),setTimeout(()=>s(!1),1800)}});return(0,R.jsxs)(b,{className:`p-4 sm:p-6`,children:[(0,R.jsx)(`h2`,{className:`font-display font-semibold text-lg`,children:g(`settings.mcp`)}),(0,R.jsx)(`p`,{className:`mt-1 mb-5 text-[0.875rem] text-ink-3`,children:g(`settings.mcpHint`)}),(0,R.jsxs)(`fieldset`,{disabled:c,className:`flex min-w-0 flex-col gap-3`,children:[n.map((e,t)=>(0,R.jsxs)(`div`,{className:`grid gap-2 rounded-lg bg-paper p-3 ring-1 ring-border-soft sm:grid-cols-[1fr_2fr_auto]`,children:[(0,R.jsx)(w,{placeholder:g(`settings.serverName`),value:e.name,onChange:e=>r(n=>n.map((r,i)=>i===t?{...r,name:e.target.value,id:r.id||un(e.target.value,n.map(e=>e.id))}:r))}),(0,R.jsx)(w,{placeholder:`${g(`settings.serverUrl`)} (https://…/mcp)`,value:e.url,onChange:e=>r(n=>n.map((n,r)=>r===t?{...n,url:e.target.value}:n))}),c?(0,R.jsx)(`span`,{}):(0,R.jsx)(x,{label:`Entfernen`,onClick:()=>r(e=>e.filter((e,n)=>n!==t)),className:`hover:text-rose`,children:(0,R.jsx)(ce,{className:`size-4`})}),(0,R.jsx)(w,{className:`sm:col-span-2`,placeholder:g(`settings.serverHeader`),value:e.auth??``,onChange:e=>r(n=>n.map((n,r)=>r===t?{...n,auth:e.target.value}:n))}),e.id?(0,R.jsx)(`span`,{className:`self-center font-mono text-[0.6875rem] text-ink-4`,children:e.id}):null]},t)),c?null:(0,R.jsxs)(T,{variant:`secondary`,className:`self-start`,onClick:()=>r(e=>[...e,{id:``,name:``,url:``,auth:``}]),children:[(0,R.jsx)(o,{className:`size-4`}),` `,g(`settings.addServer`)]})]}),c?null:(0,R.jsxs)(`div`,{className:`mt-5 flex items-center justify-end gap-3`,children:[l.error?(0,R.jsx)(`p`,{className:`text-[0.875rem] text-rose`,children:l.error.message}):null,(0,R.jsx)(T,{busy:l.isPending,onClick:()=>l.mutate(),children:g(a?`settings.saved`:`settings.save`)})]})]})}var fn=new Set([`models`,`integrate`]);function pn(){let{section:e}=p(),[t]=E(),n=a(),r=pe(),{project:i,loading:o}=Se(),s=_e(),[c,l]=(0,L.useState)(i?.id);(0,L.useEffect)(()=>l(i?.id),[i?.id]);let f=Ce(),m=Be(),[_,v]=(0,L.useState)(null),[y,b]=(0,L.useState)(null),[x,S]=(0,L.useState)(null),C=he(r.data,f),w=C.find(t=>t.id===e),T=C.map(e=>({...e,to:`/settings/${e.id}`})),D=T.find(t=>t.id===e),O=w?fn.has(w.id):!1,k=w?O&&!t.get(`show`)?1:2:0,A=m?Math.min(k,1):O&&x!==e?1:0,te=je(A),ne=je(k),j=(0,L.useMemo)(()=>({slot:_,narrow:m,setDetail:b}),[_,m]);if(fe([{label:g(`settings.title`),to:`/settings`},...w?[{label:w.label,to:`/settings/${w.id}`}]:[],...w&&y?[{label:y}]:[]]),!w){if(e===`build`)return(0,R.jsx)(u,{to:`/settings/integrate`,replace:!0});if(e===`project`)return(0,R.jsx)(u,{to:`/space`,replace:!0});if(e!==void 0||!m)return f.status===`ready`||e===void 0?(0,R.jsx)(u,{to:`/settings/account`,replace:!0}):null}let M=w?.id===`connectors`&&s;return(0,R.jsx)(Fe.Provider,{value:j,children:(0,R.jsx)(`div`,{className:`animate-rise`,children:(0,R.jsxs)(`div`,{className:`grid gap-6 md:grid-cols-[13.5rem_minmax(0,1fr)] md:gap-8 lg:grid-cols-[15rem_minmax(0,1fr)] lg:gap-10`,children:[(0,R.jsxs)(`aside`,{className:h(`min-w-0 md:sticky md:top-20 md:self-start`,m&&k===2&&`hidden`,m&&ne===`back`&&ke(`back`)),children:[(0,R.jsx)(Pe,{title:g(`settings.title`),open:A===1?D??null:null,onBack:()=>m?n(`/settings`):S(e??null)}),(0,R.jsx)(`div`,{className:h(ke(te)),children:A===0?(0,R.jsx)(Le,{entries:T,current:m?void 0:D,onPick:()=>S(null)}):(0,R.jsx)(`div`,{ref:v})},A)]}),w?(0,R.jsxs)(`div`,{className:h(`min-w-0`,![`integrate`,`models`].includes(w.id)&&`max-w-2xl`,m&&k<2&&`hidden`,m&&ne===`deeper`&&ke(`deeper`)),children:[m?(0,R.jsx)(`div`,{className:`mb-3`,children:(0,R.jsx)(ze,{label:O?w.label:g(`settings.title`),onBack:()=>n(O?`/settings/${w.id}`:`/settings`)})}):null,M?(0,R.jsx)(`div`,{className:`mb-6`,children:(0,R.jsx)(ee,{})}):null,w.id===`connectors`&&i?(0,R.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[i.readOnly?(0,R.jsx)(Ie,{children:Ne(i)}):null,(0,R.jsx)(it,{projectId:i.id,readOnly:i.readOnly},c),(0,R.jsx)(dn,{project:i},c)]}):null,w.id===`connectors`&&!i&&!o?(0,R.jsx)(d,{children:g(`settings.noProject`)}):null,w.id===`models`?(0,R.jsx)(sn,{}):null,w.id===`integrate`?(0,R.jsx)(mt,{}):null,w.id===`account`&&r.data?(0,R.jsx)(oe,{me:r.data}):null,w.id===`team`&&r.data?(0,R.jsx)(ln,{me:r.data}):null,w.id===`plugins`?(0,R.jsx)($e,{}):null,w.plugin?(0,R.jsx)(Ee,{of:w.plugin,children:(0,R.jsx)(w.plugin.component,{})}):null]}):null]})})})}export{pn as SettingsPage};
@@ -1 +0,0 @@
1
- import{G as e}from"./ui-BZ01zr3i.js";var t={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +0,0 @@
1
- var e=JSON.parse(`[{"version":"v0.2.29","timestamp":1791489396,"commits":[{"id":"ff33bd7","message":"an AI step can call one plugin tool without a model – call { tool, input } with the inputs filled from earlier answers (a whole number or true/false passed as one, an empty one left out), checked against the tool's schema, the answer kept as the step's json output (output.fields name the keys later steps read); it costs no credits, needs no model and answers as fast as the tool; the authoring guide and the plugin docs show it for free appointment times","group":"Added","scope":"engine","breaking":false}]},{"version":"v0.2.28","timestamp":1791485787,"commits":[{"id":"adfb75b","message":"the catalog knows which plugins a wizard needs and the plan that has them – an entry carries plugins (read from its tools named <plugin>.<tool>), plan (free, or pro as soon as it uses a plugin) and the plugin starter it stands for; searching filters by plan with its counts; a runtime with the plugin lists the plugin's own starter and leaves out the entry for it, one without marks the entry with what it needs and refuses to start it; the studio shows Pro on such templates, a Paket filter beside the others and what is missing, list_starters says needsPro","group":"Added","scope":"marketplace","breaking":false}]},{"version":"v0.2.27","timestamp":1791481636,"commits":[{"id":"c8fe868","message":"a time picker in the studio's look – a field that opens an hour and a minute column below it, arrow keys move the time by its step, compact without the clock for narrow rows; the plugin docs list it with the page menu and the composer","group":"Added","scope":"ui","breaking":false},{"id":"57339da","message":"what a booking plugin needs from the runtime – a plugin connects accounts of the space itself (server.connections: start, list, call, remove, with the shared sign-in callback and token refresh), brings starters to the marketplace (registerStarter), learns whether a step runs as a test (step.mode) and in which wizard, and tells the space assistant what its own page holds (registerAssistantContext), where the assistant now stands docked (studio.Assistant) and the page names its place in the top bar's trail (studio.useCrumbs); a page field of kind slot offers free times as chips by day; the studio has a date picker and a date range picker, a composer shared by every chat (a pill on one line, the buttons level with the text, a menu beside the mic to choose the microphone and to hold to record) that floats docked over a blurred band clear of a phone's home bar, and a page menu that slides one level down at the side and becomes tabs on a phone; Google Calendar and Outlook events take a location, Google's an invitation to send and Outlook lists every event with its free/busy; the first slash of the trail stands as close to the wordmark as the others","group":"Added","scope":"plugins","breaking":false}]},{"version":"v0.2.26","timestamp":1791464989,"commits":[{"id":"0b3552e","message":"the wizard editor has a Memory tab – the wizard's part of the space data, the notes its AI steps keep with the pages tool and the tables of its shared lists, a short list that opens each in the space's own editor, with a new note at hand; a test run reads the memory but writes into a copy of its own in the run, which goes with it; files dropped on the Files tab are uploaded and files dropped on the conversation are attached to the next message, each with a drop sign over the pane; the Files and Memory explanations sit small at the foot of their pane; holding to delete takes 1.2 seconds; costs say credits instead of cr","group":"Added","scope":null,"breaking":false},{"id":"0073896","message":"a view step shows a preview of itself with sample data in the shape of what it reads (a kept list's rows by its columns, an AI step's table and fields by their kind), and a small button in its corner turns it into its JSON with highlighting, edited in place and kept when it is valid; deleting a step takes holding its button for two seconds while it fills up, a short press says to hold; the step panel's resize grip sits outside the panel beside its edge, clear of its scrollbar","group":"Added","scope":null,"breaking":false},{"id":"dab5525","message":"a step can be added that only some runs take – the add-step prompt asks when the step comes (always, only if a condition the admin writes in their own words holds, or when the AI finds a statement true) and the assistant builds it as a side path; a branch with only a target is now the step's \\"otherwise\\", where every run goes that no other branch takes, so a side step rejoins the flow – the engine, decided branches and the required-steps checks follow it, the step panel shows and edits its target, the diagram labels it and draws no plain line beside it; the diagram's add action is now \\"Add step\\" on the selected step's lower edge instead of a + on every line, and the step panel's button says the same","group":"Added","scope":null,"breaking":false},{"id":"e8a548e","message":"a step is added by saying what it should do – the step panel's one-line footer opens a prompt (and a + on a line in the diagram does too) where the admin describes the step and picks its kind or leaves it to the AI; the request goes to the conversation as the admin's message, the new step is shown in its place as being built and selected once the assistant has built it completely (a widget with its HTML and sample data); an empty step can still be inserted; a widget without its HTML offers to let the assistant build it or to upload an HTML file instead of a dead end","group":"Added","scope":null,"breaking":false},{"id":"55b5517","message":"the step panel shows where the run goes next – a step without branches shows the step that follows, folded to its title and unfolding to what it asks or makes, its cost and where it leads; a step with branches lists one row per way (conditions, the statements the AI decides, otherwise) with its target, each unfolding to edit it, and conditions can now be added and edited there too; how a decision is made moved into the AI chip's hint; a test run's decision is shown only while the step's branches are still the ones it decided over","group":"Added","scope":null,"breaking":false},{"id":"a325060","message":"a wizard's branches can be inspected in the studio – a click on a branch line in the diagram opens the step's branches: its conditions in the order they are checked, the statements the AI decides together in one call with their target steps, where the run goes when none clearly holds, how it is decided and how often a loop may run; statements can be edited, added and removed there; after a test run the diagram marks the branch the decision took with how probable it found it, and the step shows the probability of each statement and whether a decision model or the language model decided","group":"Added","scope":null,"breaking":false},{"id":"3963759","message":"a wizard can show what a run found in its own look – a new step type \\"surface\\" (a view) is built from a fixed set of native parts (text, facts, key figures, lists with pictures, tables, bar, line and ring charts, buttons) bound to the run's answers, results and kept lists, written once by the assistant and free on every run; a view can leave some of its parts to the AI, which shows a chart only when there is something to compare; an AI step with json output can lay out a view of its own result, checked against the parts before it is kept; reviews and the result page show a step's view instead of a plain table, a view's button can ask for a new version in a review or open a file, and a view downloads as JSON","group":"Added","scope":null,"breaking":false},{"id":"04fe9e7","message":"the AI can decide how a wizard goes on and which questions it asks – a branch can carry a statement instead of a condition (\\"the person wants a refund\\") and all such branches of a step are decided together in one small call, a field can be shown when the AI finds a statement true and fields of a group are alternatives of which it shows the one that fits, decided once as the run reaches the page; every decision goes to a decision model where there is a way to one (Jev through the credits, an AI Gateway key or a TypeSafe key) and otherwise to the classifier class's language model, so decision steps now carry how probable their answers are (branches read it as steps.<id>.<field>.p) and Wissen's relevance check works without Jev; decision steps answer scores on a scale; a branch back to an earlier step is a loop that stops after its max (ten without one) and the step that runs again sees what it made last time; an AI step can run once per row of a table or a kept list and hands on one table of the results","group":"Added","scope":null,"breaking":false},{"id":"0d1fe8d","message":"a field can be shown only under a condition – it appears as the person answers another field of the same page, or depends on anything known before the page – and a hidden field is neither required nor kept; the choices of a select can come from earlier data (a list an AI step found, a column of its table, or a column of a list the wizard keeps), with the fixed choices standing in while that data is empty; branches compare numbers (greater, less), look into multiselects, lists and texts (contains), read how many rows a kept list has, and take several conditions that must all hold; the studio edits a field's condition and the source of its choices, the diagram labels the new conditions, and the assistant is told to use conditions instead of one copy of a page per answer","group":"Added","scope":null,"breaking":false},{"id":"edd24e9","message":"Gmail, Drive, Calendar and Contacts connect on a local install without a Google client of its own: through the linked engenty account, which holds the client and refreshes the tokens; before an account is linked, connecting asks to link it first","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.25","timestamp":1791351205,"commits":[{"id":"d144800","message":"connecting a mailbox over IMAP finds Google Workspace on a company domain through its MX record, gives up after 15 seconds instead of spinning, and a failed connect names the server it tried and says what to check","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.24","timestamp":1791319759,"commits":[{"id":"762d5f2","message":"a run opened in the drawer (editor test runs and the space's results) can be dragged wider or narrower at its left edge – arrow keys too, a double click resets – and an expand button in its bar makes it fill the browser window; width and expansion are remembered per browser","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.23","timestamp":1791319363,"commits":[{"id":"4db55b6","message":"a wizard's brand colour no longer makes its buttons unreadable: the text on a button is light or dark by the button's own colour, not by the theme (a black accent in dark mode got dark text), and ember as text and marks on the page keeps a lightness the paper can carry; the selected chip of an output follows the same rule instead of always white","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.22","timestamp":1791318739,"commits":[{"id":"cacabd1","message":"a model an own AI Gateway key may not use is found before a run starts, not after minutes of work: the check before a run (and the runtime's start, and the Models page) asks Vercel once per key and model with a call of a token or a word – a refusal of the free tier costs nothing, is asked again after five minutes so a top-up counts, and an allowed model is not asked again for a day; videos and images not made by a chat model cannot be asked that cheaply, there a refusal a run met counts; a step refused for the free tier says so and how to fix it (top up at Vercel, with the link, or pick another way under Einstellungen → Modelle) instead of Vercel's raw message, and web addresses in a run's error, the editor's missing-models notice and the Models page are links","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.21","timestamp":1791314990,"commits":[{"id":"23b5001","message":"a wizard can make a film with Claude Code: the new step type \\"film\\" lets the AI client installed on this computer write a motion-graphics film as code in a folder of its own – with HyperFrames' skills (fetched once from GitHub at a pinned version), the wizard's style kit (a .zip in its workspace, unpacked as the bar to reach), the space's brand (name, colours named by use, facts, logos) and the run's material (voice, script, pictures, uploads) – and the runtime renders the MP4 with HyperFrames (installed into the data folder on the first film); the client's shell runs in its sandbox, writing only inside the folder and without network, and reaches HyperFrames' render, snapshots and checks through a tool of the step limited to the folder; sounds come only from a catalog of CC0 effects (soundcn by Kenney, HyperFrames' own); a film runs only where Claude Code is the AI subscription, never on credits or in the cloud, the runner says so before a run starts and the marketplace shows it as a capability; a film that stops picks up the client's session on the next try, a failed final render goes back to the client to fix, and a review's note changes the film's code instead of making it again; the folder goes with the run's files","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.20","timestamp":1791314485,"commits":[{"id":"d6a5fca","message":"a team's plan reaches the runtime: the Manage-App names the plan, its feature switches and the people it allows, and a count of spaces may be unbounded (null); in a team the owner and the admins make and delete wizards, spaces and connectors while a member edits, tests and publishes the wizards there are – enforced in the services for studio, API and MCP alike (403 forbidden); the settings get a Team page with the plan, the places and who is in the team, managed at the Manage-App; own API keys in the cloud studio are a feature of the plan; and the Manage-App learns which plugins a runtime carries (GET /api/internal/plugins)","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.19","timestamp":1791313075,"commits":[{"id":"3243a25","message":"the gallery has three more categories (Bilder & Video, Anfragen & Termine, Beratung & Preise) so the category row fills two even rows","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.18","timestamp":1791312078,"commits":[{"id":"661b2c9","message":"Wissen in the space: what the space's wizards look things up in, as pages with sub-pages, tables and files sorted by typed Kategorien (choice, date, number, text, yes/no), filtered by them and searched by words and meaning, with a classifier that keeps only what answers the question; an upload is converted on arrival (a long document becomes a page with sub-pages, a sheet a table, the original stays beside it) and a model fills its Kategorien; every value of a Kategorie has its Übersicht and its entries, numbers in ranges; steps get project_search with a filter, project_list, page_read and table_read by path; the assistant docks at the bottom of an opened item and knows Wissen; plugins write into Wissen through server.spaceData (pages, tables, files, documents with their Kategorien), and what a person edits stays theirs","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.17","timestamp":1791310689,"commits":[{"id":"6a0e1ba","message":"a run's price follows one way through the wizard instead of adding up branches that exclude each other, and leaves out the steps that have no model here (the video ad: about 111 credits with clips, 11 without a video model, was 207 either way); what a step reports while it works shows in the language the person reads, the run's log keeps it in German; English wizards write amounts and today's date the English way (€2,400.00) instead of the German one","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.16","timestamp":1791307427,"commits":[{"id":"883404e","message":"a wizard that needs a model not set up here says so before anything is paid for: in the gallery, video, speech output or voice notes that only some answers need no longer block a template (\\"Works without: …\\"); on its pages, the choices that would lead to such a step are locked with the reason and the default moves to one that works, an optional voice note nothing here can listen to gives way to the reason, and the server refuses those answers","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.15","timestamp":1791294678,"commits":[{"id":"2c5ae49","message":"on phones and small tablets the editor's pane is a bottom sheet whose height is dragged at its handle, touch included; a tap on the handle folds it to its tabs and unfolds it to the height it had, a step tapped in the diagram or a tab unfolds it too, and the height is remembered per browser; the sheet and the diagram now fit the screen, so the chat's input is no longer cut off at the bottom","group":"Added","scope":null,"breaking":false},{"id":"cfe23fa","message":"a saved wizard whose link is gone (a new link, or the wizard deleted) shows as unavailable instead of offering Start into the runner's not-found page","group":"Fixed","scope":"mobile","breaking":false}]},{"version":"v0.2.14","timestamp":1791291788,"commits":[{"id":"ff63c86","message":"\\"What's new\\" in the banner about a newer release opens the changelog of that release in the studio instead of its page on GitHub; offline it shows the changelog this version came with","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.13","timestamp":1791289689,"commits":[{"id":"94297b8","message":"the space opens behind the folder in the top bar and has four parts in the settings' sliding menu: Info & Marke (Basis, Logos, Farben, Assets, Fakten), Wissen (Dokumente), Daten and Ergebnisse; Daten holds tables with typed columns, edited cell by cell, and Markdown pages, of the space or of one of its wizards; a wizard's list can be shared, one table for every run that the person running it never sees, and a step with the new Pages tool writes the wizard's pages; the space's own tables and pages go to the cloud with each published wizard and are read-only there, while what runs write stays where they ran; Ergebnisse lists the finished runs of all wizards or of one, the wizard with the latest result first, with search, live or test and the last days; a plugin's section of the space chooses its part; the studio is a step smaller on laptops and nearer the edge on phones; the run-log example no longer adds an icon to the top bar","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.12","timestamp":1791289473,"commits":[{"id":"3aaf939","message":"the documentation deploys like the cloud runtime: its image is built on GitHub's runners beside the checks of a release tag and pushed to GHCR, and the server only pulls it (deploy/Dockerfile.docs, built with --pull); the docs Dockerfile keeps its install cached across releases; a change of the docs image no longer redeploys the runtime","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.11","timestamp":1791287681,"commits":[{"id":"50041f3","message":"the cloud runtime deploys in minutes: its two images are built on GitHub's runners beside the checks of a release tag, with their layers cached in the registry, and pushed to GHCR; once both are green they become latest and the server pulls them instead of building for up to an hour; the runtime's Dockerfile keeps both dependency installs cached across releases (the root version blanked out, the production install in its own stage) and puts what changes every release last; IMAGE_TAG on the server pins a release","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.10","timestamp":1791286327,"commits":[{"id":"c5c99b0","message":"signing in from the studio returns to the studio page that asked for it, not to the host's root, which is the landing page since the studio moved to /studio","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.9","timestamp":1791284806,"commits":[{"id":"fff4ab3","message":"plugins add to the space: sections of the space page under the plugin's name in its menu, tools of the space assistant whose results the plugin draws as cards in its chat, a block and tools for every AI step of the space, texts in the space's search index that project_search finds beside its documents, events when a space is made, changed or deleted and when a file is read or removed, jobs that run on a schedule, public routes under an address of their own, and the runtime's web reader and document parser; the run-log example shows a space's last runs on the space page; the plugin docs describe the space","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.8","timestamp":1791284267,"commits":[{"id":"040a292","message":"Settings → Models says what the wizards can do (text, images, videos, voice, voice notes) and who does each: an AI subscription on this computer, an own API key (OpenAI, Anthropic, Google, fal.ai, ElevenLabs, Replicate, AI Gateway), a local model, or the credits, which step in where nothing of one's own is set up (a switch, on with a linked account) and may name a model of the gateway (credits:<model>: fal, ElevenLabs, Veo …); each provider's key is checked with the provider before it is kept, and a try makes a text, an image, a voice or a short clip to look at; in the cloud the page is the team's, its keys sealed per tenant and changed by its admins; voice notes run on transcription models (Scribe, Whisper) where one is bound, also on the credits; the settings show their name in the top bar's trail instead of a heading, and one container on the left slides one level down to the menu of Models and Integrate and back; on a phone the sections, a section's menu and the page take turns with a way back; Integrate puts the app's name, what it gets and its steps on one line","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.7","timestamp":1791281338,"commits":[{"id":"cc15aad","message":"the space is a page of its own: the top bar opens it beside the gear, and a menu at its left jumps to Basis, Logos, Farben, Assets, Dokumente and Fakten and marks the one in view (a picker on a phone); the studio, its assistant and the docs call a project a space (German „Space“), the address is /space and /settings/project leads there; the settings keep Konto, Connectors, Modelle and Einbinden, and the gear opens Konto; the assistant's input is one line until the text needs more, in its card and docked at the bottom","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.6","timestamp":1791280942,"commits":[{"id":"198e23c","message":"a wizard's link installs and bookmarks with the wizard's own icon: its engenty in its own colour on a pale ground of that colour with its name in small capitals below, drawn by the runtime for the manifest, the iPhone's home screen and phones that cut icons to their own shape; the page's favicon is the engenty alone, so a bookmark or tab shows it too; the name keeps the whole words that fit and never ends on a short word like \\"aus\\"; the studio's icon stands in where the runtime cannot draw; on a computer the start page offers a bookmark (⌘ D or Strg + D) instead of an install, phones keep \\"Zum Startbildschirm hinzufügen\\"","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.5","timestamp":1791272370,"commits":[{"id":"fc58644","message":"a local install says where each wizard runs and which link others can open: the cards and the editor's top bar show Live with a cloud when engenty.ai runs the version, Lokal when it runs only on this computer, Wird gesendet or Nicht in der Cloud when it did not arrive; a card's Link copies the cloud's address; the share dialog leads with that one link, says on top where the wizard runs and what the cloud lacks, folds website, QR code and the settings away, and creates a new link in the cloud too; the avatar and its menu show whether an account is connected, with its credits; Settings → Konto puts engenty.ai first and takes name and e-mail from the account; without an account the share dialog, a card's Link and the note about missing models say what an account would add","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.4","timestamp":1791242529,"commits":[{"id":"fbcfbc3","message":"a wizard a local install sends arrives whole or not at all, and the install sends again by itself: the cloud runtime keeps the files' bytes first and writes the project, the wizard, its workspace, the version and the logo in one transaction, so an object store that fails in the middle leaves nothing half done; the install plans another try after a minute, then twice as long each time up to an hour, when the cloud was out of reach or answered with an error of its own, and the share dialog says when; refusals stay with the person; a first sync that stops at an unreachable cloud marks the remaining wizards for the retry too; the public link is set on every sync; the runtime asks GitHub for a newer release once an hour instead of every six","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.2.3","timestamp":1791238483,"commits":[{"id":"38d161b","message":"the mobile app's data folder (apps/mobile/src/data) is in the repository: the ignore rule for the runtime's data folder hid every folder of that name, so main neither typechecked nor passed the mobile app's tests; the rule now names the runtime's two data folders","group":"Fixed","scope":null,"breaking":false},{"id":"251d6f4","message":"with an account signed in, what a local install publishes also runs in the cloud: the published version and its files go to the account's cloud runtime under the ids they have here, which shows the project without editing and makes the link; Settings → Konto signs in or creates an account with an invitation code and shows the credits and when they end; the share dialog says what a wizard lacks in the cloud; a team without building rights changes nothing on the server, and what visitors send is capped in size","group":"Added","scope":null,"breaking":false},{"id":"d80eb4e","message":"inside the mobile app the runner reads in the system's font, like the app's own screens; headings keep the brand's","group":"Added","scope":null,"breaking":false},{"id":"4604875","message":"the mobile app looks native: the system font, Liquid Glass (a blur before iOS 26) on the floating tab bar and the nav buttons, inset grouped lists with hairlines, Add as a form sheet with eight ID boxes, swipe to share or delete a result, files listed as the Files app does, settings rows with icon tiles","group":"Added","scope":null,"breaking":false},{"id":"d9edbe4","message":"the mobile app runs on Android: no iOS-only WebView prop that crashed the Run screen, plain http only for a runtime on this computer, result rows in the wizard's colour","group":"Fixed","scope":null,"breaking":false},{"id":"34a4588","message":"the mobile app (apps/mobile, Expo): wizards added by QR code, ID or link, runs in the runtime's runner with the app's scanner, share sheet, downloads, notifications and sign-in sheet, results kept on the phone and shared from there; engenty.ai's /w/ and /s/ links and engenty-wizards:// open in it","group":"Added","scope":null,"breaking":false},{"id":"2c19636","message":"a run tells the mobile app's device when it is done, failed or waits for the person: the app gives the run its device (POST /api/runs/:id/notify), the runtime asks the Manage-App to push (POST /v1/push in the contract); the app's own requests name the visitor in an x-wizards-visitor header, since iOS merges a Cookie header with its cookie store","group":"Added","scope":null,"breaking":false},{"id":"767e170","message":"the runner works inside the mobile app: ?app=1 drops the web's header, footer and install hint, and window.engentyApp takes over the scanner, share sheet, downloads, wake lock, notifications and account sign-in; a wizard gets an 8-character ID (GET /api/public/codes/:code) and the studio's share dialog shows it with a QR code to download as PNG or SVG; the runtime serves apple-app-site-association and assetlinks.json for the app","group":"Added","scope":null,"breaking":false},{"id":"d8f3712","message":"plan for the mobile app that runs wizards on iOS and Android","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.2.2","timestamp":1791237386,"commits":[{"id":"a6c55de","message":"server.generate asks a model of the current tenant (a class, a prompt, optionally a zod schema for an object), on the models its studio is set up with and paid like any other call; without a model it throws with status 503 and the code no_model, which a route passes on","group":"Added","scope":"plugins","breaking":false},{"id":"e895e50","message":"the documentation deploys to engenty.ai/docs: an image of its own (apps/docs/Dockerfile, a standalone Next.js server on port 8896), and a release tag moves the branch deploy/docs when the site or its pages changed","group":"Deploy","scope":null,"breaking":false},{"id":"4d8b773","message":"a documentation site with a user guide and the developer docs for plugins, built like the engenty repo's: Next.js and Fumadocs in apps/docs, the pages in docs/content, in the app's light and dark colours; docs/plugins.md became its pages, and the product's build, image, package and credits leave the site out","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.2.1","timestamp":1791223500,"commits":[{"id":"9c16b47","message":"the AI apps start the MCP server as the wizards command, after the rename from engenty-wizards","group":"Fixed","scope":null,"breaking":false},{"id":"f118703","message":"the wizards run in the person's own AI apps — connect writes the MCP server into Claude Desktop, Cursor, Codex and others, a run shows the wizard itself as an MCP App widget, and Settings → Einbinden adds an app with one click and tests it until it works","group":"Added","scope":null,"breaking":false}]},{"version":"v0.2.0","timestamp":1791223087,"commits":[{"id":"4404371","message":"a runtime takes plugins: tools for agent steps, routes with tables of their own, listeners on runs that end, and pages, top bar icons and settings sections in the studio; they load from modules/ and PLUGINS_DIR at start and again while it runs","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.11","timestamp":1791208594,"commits":[{"id":"85facbd","message":"the package is on npm as wizards, and the README's studio picture shows the branches with their conditions","group":"Docs","scope":null,"breaking":false},{"id":"6ca5cfc","message":"a branch that skips steps runs beside them in the editor, with its condition readable on the line; it ran behind the step with the condition hidden","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.10","timestamp":1791206923,"commits":[{"id":"8f35bf0","message":"the README shows the studio with a branched flow and a wizard in use, from its first page to the result","group":"Docs","scope":null,"breaking":false},{"id":"7abf9df","message":"the editor's review notes, tool names and branch labels follow the language; they were German in the English studio","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.9","timestamp":1791203125,"commits":[{"id":"5182fec","message":"the installer is engenty.ai/install.sh (was wizards.sh), and the command and the npm package are wizards (were engenty-wizards); the installer renames an install made under the old names","group":"Changed","scope":null,"breaking":false},{"id":"c6500f9","message":"the proxy sends the runtime /w/ and /s/ with the slash","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.8","timestamp":1791196160,"commits":[{"id":"a965d36","message":"the marketplace's pages are written by the site at engenty.ai, at /wizards/<slug> and /de/wizards/<slug>","group":"Docs","scope":null,"breaking":false}]},{"version":"v0.1.7","timestamp":1791194770,"commits":[{"id":"66e9109","message":"a banner in the studio says when a newer release is out; the update installs from there, the runtime restarts into the new version and the page reloads","group":"Added","scope":null,"breaking":false},{"id":"5e27bf6","message":"the studio chat counts the seconds of a turn and says what the architect is doing and thinking; pasted pictures show in the thread and the architect sees them","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.6","timestamp":1791167380,"commits":[{"id":"481807b","message":"video models render at 720p, or 480p when a step asks; a larger clip is scaled down, and the price follows the resolution","group":"Added","scope":null,"breaking":false},{"id":"bb20f2b","message":"the settings say Codex makes images on the sign-in too; only video and audio still need a key","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.5","timestamp":1791151312,"commits":[{"id":"f4b7e43","message":"plan for a setup by capability","group":"Docs","scope":null,"breaking":false},{"id":"8ddaab7","message":"a wizard says which models it lacks before it runs, and only refuses to start when every path needs one; templates can be filtered by capability, and those this install cannot run are greyed out","group":"Added","scope":null,"breaking":false},{"id":"2689c74","message":"Codex makes images on the ChatGPT plan, and runs each model class on its own model (Luna, Sol, Astra); image, video and voice stay empty without a gateway key instead of naming models nothing can reach","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.4","timestamp":1791144283,"commits":[{"id":"071e6ca","message":"the changelog's groups read NEW, FIXED, DOCS in every language, like the entries they stand before","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.3","timestamp":1791142528,"commits":[{"id":"32d1698","message":"the publish job fetches the package artifact by name; with one artifact left it no longer lands in its own folder","group":"Fixed","scope":"release","breaking":false}]},{"version":"v0.1.2","timestamp":1791140122,"commits":[{"id":"4bc37b9","message":"a marketplace entry opens in the local studio at localhost:24368 instead of the Mac app's engenty-wizards:// link","group":"Added","scope":null,"breaking":false},{"id":"e09e748","message":"the Mac app is no longer built or offered; the studio offers to install itself as a Chrome app in a banner, starting at login on a Mac is a LaunchAgent that runs the command, and the setup, README and docs point there","group":"Added","scope":null,"breaking":false},{"id":"ab10b49","message":"engenty wizards starts at login — the Mac app opens in the menu bar without its window (\\"Open at Login\\" in its menus), on Linux a systemd user service; the setup asks, \`engenty-wizards autostart on|off\` switches it, and the Mac app's server takes port 24368 too","group":"Added","scope":null,"breaking":false},{"id":"239e338","message":"the setup page installs a missing AI client in its own terminal, and both setups suggest the client whose app is on the Mac — its subscription is most likely already paid for","group":"Added","scope":null,"breaking":false},{"id":"b479df7","message":"an inline terminal's stream sends its last lines and its end before it closes; a page that opens it afterwards gets them all","group":"Fixed","scope":null,"breaking":false}]},{"version":"v0.1.1","timestamp":1791138130,"commits":[{"id":"21f70df","message":"the German tagline on the sign-in page follows the new one","group":"Docs","scope":null,"breaking":false},{"id":"765ae7c","message":"the studio says when a newer release is out and, on an install made by wizards.sh, updates it from the footer","group":"Added","scope":null,"breaking":false},{"id":"825da6c","message":"the tagline is \\"Make a wish. Get your wizard.\\" In the README, the npm package description and the banner of wizards.sh.","group":"Docs","scope":null,"breaking":false},{"id":"05e2e5c","message":"the local runtime listens on 24368, AGENT on a phone keypad; the Docker image stays on 8891","group":"Added","scope":null,"breaking":false},{"id":"71bb778","message":"Ctrl-C stops engenty-wizards again — the login shell that reads the person's variables runs in a session of its own and no longer keeps the terminal","group":"Fixed","scope":null,"breaking":false},{"id":"ee20646","message":"wizards.sh opens with the tall engenty — one eye; it wakes up, looks around, hops and blinks","group":"Added","scope":null,"breaking":false},{"id":"81d4f21","message":"the studio moves to /studio; the root of a host is free for a landing page","group":"Added","scope":null,"breaking":false},{"id":"f6058fd","message":"the marketplace is an app of its own; the runtime searches it live and keeps its starters and the starred entries for offline use","group":"Added","scope":null,"breaking":false},{"id":"e6fdeab","message":"engenty-wizards://new?starter=<id> opens a marketplace template in the desktop app","group":"Added","scope":null,"breaking":false}]},{"version":"v0.1.0","timestamp":1791100948,"commits":[{"id":"71cc075","message":"install with wizards.sh; the local install and how its pieces share it","group":"Docs","scope":null,"breaking":false},{"id":"6ae641d","message":"the desktop app is a window on the local install and brings no runtime along","group":"Added","scope":null,"breaking":false},{"id":"9c9dbb8","message":"an installer, wizards.sh, that every runtime serves","group":"Added","scope":null,"breaking":false},{"id":"34d0a1a","message":"an engenty-wizards command for a local install in ~/.engenty/wizards","group":"Added","scope":null,"breaking":false},{"id":"4ac6329","message":"the search skips filler words with umlauts too","group":"Fixed","scope":null,"breaking":false},{"id":"3bda9a6","message":"the gallery's footer stays without version, changelog and open-source links","group":"Fixed","scope":null,"breaking":false},{"id":"9e65725","message":"a changelog and open-source credits in the studio's footer; pnpm release cuts a release from the commits","group":"Added","scope":null,"breaking":false},{"id":"45d2906","message":"an entry's search terms are scored one by one, not as one long text","group":"Fixed","scope":null,"breaking":false},{"id":"648819c","message":"marketplace entries carry the words people ask for, so a search by words finds them","group":"Added","scope":null,"breaking":false},{"id":"0838373","message":"one project unless the limit says more; an account page; previews and layouts in the project settings","group":"Added","scope":null,"breaking":false},{"id":"8da2aaf","message":"a project holds base infos, logos, colours, assets, documents and facts for all its wizards","group":"Added","scope":null,"breaking":false},{"id":"8679ae2","message":"the gallery has the studio's footer line","group":"Fixed","scope":null,"breaking":false},{"id":"d5086f3","message":"the gallery's field is narrower","group":"Fixed","scope":null,"breaking":false},{"id":"4a82b26","message":"the gallery invites to start a wizard from a template","group":"Other","scope":null,"breaking":false},{"id":"07d2def","message":"a template's header is the dialog's own colour under a spotlight; in the light a tinted grey","group":"Fixed","scope":null,"breaking":false},{"id":"d10be9f","message":"a template opens with its flow as a diagram; the gallery's field is narrower, its chips centred","group":"Added","scope":null,"breaking":false},{"id":"fbee998","message":"the gallery says what it is, compact and from the left; its search is a two-line field to write into","group":"Added","scope":null,"breaking":false},{"id":"478f271","message":"the gallery opens with one question and the search field; quieter filter chips","group":"Added","scope":null,"breaking":false},{"id":"15d7f94","message":"the marketplace search asks the model for the signed-in tenant; a sentence without a model keeps only close finds","group":"Fixed","scope":null,"breaking":false},{"id":"c254357","message":"a marketplace of wizards to start from, with a gallery, admin, translation and search","group":"Added","scope":null,"breaking":false},{"id":"4d6e270","message":"AI media is marked in its file and labelled with the EU icons (AI Act, Art. 50)","group":"Added","scope":null,"breaking":false},{"id":"f86f070","message":"two writers of the same blob no longer share a temporary file","group":"Fixed","scope":null,"breaking":false},{"id":"c6a06cc","message":"plan for definition versions and importing older packages","group":"Docs","scope":null,"breaking":false},{"id":"a37e826","message":"wizard packages carry their own extension, .wizard","group":"Added","scope":null,"breaking":false},{"id":"e104574","message":"wizards export as a package (.wizard.zip) and import into a project","group":"Added","scope":null,"breaking":false},{"id":"b389539","message":"the editor pane's resize handle is a short, thick pill","group":"Added","scope":null,"breaking":false},{"id":"670c3ce","message":"chat composer takes files (+) and dictation","group":"Added","scope":null,"breaking":false},{"id":"766f6fd","message":"editor side pane resizable; Steps tab steps with ← / →, header and strip spacing fixed","group":"Added","scope":null,"breaking":false},{"id":"8205c88","message":"the arrow on a live wizard's card opens it in a new tab","group":"Added","scope":null,"breaking":false},{"id":"2696a50","message":"the AI clients page says it is an MCP server and sets a client up step by step","group":"Added","scope":null,"breaking":false},{"id":"6004a7d","message":"settings in sub-pages with a nav on the left (a dropdown on phones); MCP servers under Connectors","group":"Added","scope":null,"breaking":false},{"id":"49054fa","message":"settings button in the top bar; the user menu closes on Einstellungen","group":"Added","scope":null,"breaking":false},{"id":"65c9867","message":"at most 5 projects per tenant","group":"Added","scope":null,"breaking":false},{"id":"7ecca24","message":"the project switcher switches the wizard list","group":"Fixed","scope":null,"breaking":false},{"id":"c037604","message":"light / dark in the user menu, in place of the top bar's toggle","group":"Added","scope":null,"breaking":false},{"id":"ef464ab","message":"upload limits and sorting, pictures while a step works, faster photo steps, a feedback box on reviews","group":"Added","scope":null,"breaking":false},{"id":"1cbc02f","message":"starters for receipts, video ad, property film, window offer, menu plan and ten website helpers","group":"Added","scope":null,"breaking":false},{"id":"8069115","message":"photos reach an installed AI client, and a photo without text is described","group":"Fixed","scope":null,"breaking":false},{"id":"013f7df","message":"embed a wizard in a website, inline or behind a button that opens it in a window","group":"Added","scope":null,"breaking":false},{"id":"78c2a2a","message":"the editor at /edit/<id>, signed-out visitors of the start page go to SIGNED_OUT_URL","group":"Fixed","scope":null,"breaking":false},{"id":"deb4942","message":"wizards at /w/<token>, the app at the root of https://engenty.ai","group":"Added","scope":null,"breaking":false},{"id":"b811b4c","message":"serve the app under a path (https://engenty.ai/w)","group":"Added","scope":null,"breaking":false},{"id":"4821fb1","message":"the hosted addresses (engenty.ai) as defaults, no private repo names in the public sources","group":"Fixed","scope":null,"breaking":false},{"id":"ca2207e","message":"the drop engenty as app icon, tray icon and favicon","group":"Added","scope":null,"breaking":false},{"id":"90fcbce","message":"a README for people who install it, developer notes in docs/development.md","group":"Docs","scope":null,"breaking":false},{"id":"4b0c54a","message":"a built runtime links to its own port, the sandbox falls back to agentOS","group":"Fixed","scope":null,"breaking":false},{"id":"7071edf","message":"no links to the clients' pages, a placeholder dot in the footer","group":"Fixed","scope":"setup","breaking":false},{"id":"14171bf","message":"installed AI clients as the model of a local runtime, first-start setup as a wizard","group":"Added","scope":null,"breaking":false},{"id":"ca3f3a7","message":"align vertical head turn with pointer gaze","group":"Fixed","scope":"engenty","breaking":false},{"id":"e1f04ff","message":"add furry and jelly renderers with an interactive builder","group":"Added","scope":"engenty","breaking":false},{"id":"99207af","message":"whole credits in the top bar, a footer line with the account's places","group":"Added","scope":null,"breaking":false},{"id":"e498ab1","message":"decision steps — yes/no and choice output fields, branches on step outputs","group":"Added","scope":null,"breaking":false},{"id":"e83a433","message":"pnpm workspace with apps/ and packages/","group":"Changed","scope":null,"breaking":false},{"id":"281e3a3","message":"desktop app — Tauri shell with the runtime as a Node sidecar","group":"Added","scope":null,"breaking":false},{"id":"9296521","message":"a database per tenant, model classes, sign-in at the Manage-App, phone inputs","group":"Added","scope":null,"breaking":false},{"id":"63b1693","message":"engenty's built-in connectors — Gmail, Drive, Calendar, Contacts, Outlook, OneDrive, Slack, GitHub, HubSpot, S3","group":"Added","scope":null,"breaking":false},{"id":"cd431c9","message":"connectors from the integrations registry, asked-first changes in connected accounts","group":"Added","scope":null,"breaking":false},{"id":"8dbe30d","message":"harden browser and file downloads, step navigation in the inspector, store and mailbox docs","group":"Added","scope":null,"breaking":false},{"id":"54370e8","message":"light/dark mode with engenty-coloured dark pages, jelly and fur coats, quiet focus rings","group":"Added","scope":null,"breaking":false},{"id":"371b033","message":"lists and connections kept between runs, mail and browser tools, camera and ask panel","group":"Added","scope":null,"breaking":false},{"id":"07df228","message":"setup per AI client and a self-served plugin with /wizard","group":"Added","scope":null,"breaking":false},{"id":"de27ae8","message":"interactive widgets with a workspace per wizard, shareable results","group":"Added","scope":null,"breaking":false},{"id":"12854e1","message":"live studio — MCP and other edits show up without a reload","group":"Added","scope":null,"breaking":false},{"id":"7f72420","message":"OAuth sign-in for MCP clients, connected apps in settings","group":"Added","scope":null,"breaking":false},{"id":"3014699","message":"MCP endpoint for authoring wizards with personal API keys","group":"Added","scope":null,"breaking":false},{"id":"985e612","message":"engenty wizards — prompt-built AI wizards with shareable links","group":"Added","scope":null,"breaking":false}]}]`);export{e as default};