@engenty/wizards-runtime 0.12.2 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/apps/runtime/dist/agents/architect.js +8 -7
  2. package/apps/runtime/dist/agents/goose-connections.js +82 -0
  3. package/apps/runtime/dist/agents/space-agent.js +9 -2
  4. package/apps/runtime/dist/agents/studio-assistant.js +126 -71
  5. package/apps/runtime/dist/agents/website.js +1 -1
  6. package/apps/runtime/dist/app.js +28 -3
  7. package/apps/runtime/dist/assistant/knows.js +6 -5
  8. package/apps/runtime/dist/authoring/guide.js +25 -5
  9. package/apps/runtime/dist/broker/account.js +166 -0
  10. package/apps/runtime/dist/broker/call.js +417 -0
  11. package/apps/runtime/dist/broker/caller.js +10 -0
  12. package/apps/runtime/dist/broker/grant.js +152 -0
  13. package/apps/runtime/dist/broker/host.js +51 -0
  14. package/apps/runtime/dist/broker/index.js +8 -0
  15. package/apps/runtime/dist/broker/kept.js +31 -0
  16. package/apps/runtime/dist/broker/log.js +240 -0
  17. package/apps/runtime/dist/broker/registry.js +9 -0
  18. package/apps/runtime/dist/broker/rwx.js +367 -0
  19. package/apps/runtime/dist/broker/send.js +189 -0
  20. package/apps/runtime/dist/connectors/builtin.js +1 -1
  21. package/apps/runtime/dist/connectors/external.js +38 -37
  22. package/apps/runtime/dist/connectors/index.js +30 -91
  23. package/apps/runtime/dist/connectors/mail.js +0 -8
  24. package/apps/runtime/dist/connectors/person-sign-ins.js +73 -0
  25. package/apps/runtime/dist/connectors/plugin-connections.js +65 -92
  26. package/apps/runtime/dist/connectors/smtp.js +1 -1
  27. package/apps/runtime/dist/connectors/space-connections.js +436 -0
  28. package/apps/runtime/dist/credits/estimate.js +3 -3
  29. package/apps/runtime/dist/db/adopt.js +3 -3
  30. package/apps/runtime/dist/db/client.js +9 -0
  31. package/apps/runtime/dist/db/live-triggers.js +65 -23
  32. package/apps/runtime/dist/db/migrations/tenant/0027_work_chats.sql +52 -0
  33. package/apps/runtime/dist/db/migrations/tenant/0028_chat_approvals.sql +17 -0
  34. package/apps/runtime/dist/db/migrations/tenant/0029_work_chats_live.sql +49 -0
  35. package/apps/runtime/dist/db/migrations/tenant/0031_space.sql +624 -0
  36. package/apps/runtime/dist/db/migrations/tenant/0032_rwx_rule.sql +18 -0
  37. package/apps/runtime/dist/db/migrations/tenant/0033_broker_log.sql +23 -0
  38. package/apps/runtime/dist/db/migrations/tenant/0034_space_connection.sql +35 -0
  39. package/apps/runtime/dist/db/migrations/tenant/0035_run_grant.sql +1 -0
  40. package/apps/runtime/dist/db/migrations/tenant/0036_approval_held_for.sql +1 -0
  41. package/apps/runtime/dist/db/migrations/tenant/0037_ways_out.sql +5 -0
  42. package/apps/runtime/dist/db/migrations/tenant/0038_heard.sql +11 -0
  43. package/apps/runtime/dist/db/migrations/tenant/0039_members_studio.sql +1 -0
  44. package/apps/runtime/dist/db/migrations/tenant/meta/0027_snapshot.json +383 -155
  45. package/apps/runtime/dist/db/migrations/tenant/meta/0028_snapshot.json +4468 -0
  46. package/apps/runtime/dist/db/migrations/tenant/meta/0029_snapshot.json +4475 -0
  47. package/apps/runtime/dist/db/migrations/tenant/meta/0030_snapshot.json +4629 -0
  48. package/apps/runtime/dist/db/migrations/tenant/meta/0031_snapshot.json +4629 -0
  49. package/apps/runtime/dist/db/migrations/tenant/meta/0032_snapshot.json +4757 -0
  50. package/apps/runtime/dist/db/migrations/tenant/meta/0033_snapshot.json +5039 -0
  51. package/apps/runtime/dist/db/migrations/tenant/meta/0034_snapshot.json +5022 -0
  52. package/apps/runtime/dist/db/migrations/tenant/meta/0035_snapshot.json +5029 -0
  53. package/apps/runtime/dist/db/migrations/tenant/meta/0036_snapshot.json +5037 -0
  54. package/apps/runtime/dist/db/migrations/tenant/meta/0037_snapshot.json +5076 -0
  55. package/apps/runtime/dist/db/migrations/tenant/meta/0038_snapshot.json +5145 -0
  56. package/apps/runtime/dist/db/migrations/tenant/meta/0039_snapshot.json +5153 -0
  57. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +86 -2
  58. package/apps/runtime/dist/db/schema.js +295 -72
  59. package/apps/runtime/dist/docs/dev/architecture.md +215 -0
  60. package/apps/runtime/dist/docs/dev/broker.md +298 -0
  61. package/apps/runtime/dist/docs/dev/index.md +5 -1
  62. package/apps/runtime/dist/docs/dev/integration/index.md +2 -0
  63. package/apps/runtime/dist/docs/dev/meta.json +3 -0
  64. package/apps/runtime/dist/docs/dev/plugins/connections.md +8 -5
  65. package/apps/runtime/dist/docs/dev/plugins/events.md +1 -1
  66. package/apps/runtime/dist/docs/dev/plugins/examples.md +1 -0
  67. package/apps/runtime/dist/docs/dev/plugins/index.md +2 -2
  68. package/apps/runtime/dist/docs/dev/plugins/reference.md +3 -2
  69. package/apps/runtime/dist/docs/dev/plugins/space.md +16 -6
  70. package/apps/runtime/dist/docs/dev/plugins/studio.md +2 -2
  71. package/apps/runtime/dist/docs/dev/plugins/tools.md +0 -1
  72. package/apps/runtime/dist/docs/dev/skills.md +16 -9
  73. package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +59 -6
  74. package/apps/runtime/dist/docs/dev/wizard-format/lists-and-connections.md +17 -2
  75. package/apps/runtime/dist/docs/dev/wizard-format/templates.md +2 -0
  76. package/apps/runtime/dist/docs/dev/wizard-format/views-and-widgets.md +22 -2
  77. package/apps/runtime/dist/docs/user-guide/capabilities.md +132 -0
  78. package/apps/runtime/dist/docs/user-guide/cloud-sync.md +2 -0
  79. package/apps/runtime/dist/docs/user-guide/command-line.md +1 -0
  80. package/apps/runtime/dist/docs/user-guide/connectors.md +63 -7
  81. package/apps/runtime/dist/docs/user-guide/index.md +10 -1
  82. package/apps/runtime/dist/docs/user-guide/meta.json +6 -1
  83. package/apps/runtime/dist/docs/user-guide/models.md +105 -30
  84. package/apps/runtime/dist/docs/user-guide/protocol.md +80 -0
  85. package/apps/runtime/dist/docs/user-guide/skills.md +8 -4
  86. package/apps/runtime/dist/docs/user-guide/space.md +5 -4
  87. package/apps/runtime/dist/docs/user-guide/together.md +29 -2
  88. package/apps/runtime/dist/docs/user-guide/troubleshooting.md +2 -2
  89. package/apps/runtime/dist/docs/user-guide/work-mode.md +128 -0
  90. package/apps/runtime/dist/engenty/connections-external/build-connector.js +2 -5
  91. package/apps/runtime/dist/engenty/connections-external/importer/classify.js +72 -0
  92. package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +1 -1
  93. package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +3 -2
  94. package/apps/runtime/dist/engenty/connections-sdk/types.js +2 -0
  95. package/apps/runtime/dist/engenty/connections-slack/connector.js +2 -1
  96. package/apps/runtime/dist/engine/decide.js +1 -1
  97. package/apps/runtime/dist/engine/requirements.js +139 -11
  98. package/apps/runtime/dist/engine/resources.js +43 -12
  99. package/apps/runtime/dist/engine/runner.js +121 -27
  100. package/apps/runtime/dist/engine/steps.js +42 -16
  101. package/apps/runtime/dist/engine/template.js +35 -1
  102. package/apps/runtime/dist/env.js +9 -4
  103. package/apps/runtime/dist/index.js +18 -2
  104. package/apps/runtime/dist/link-preview.js +9 -0
  105. package/apps/runtime/dist/live/feed.js +2 -2
  106. package/apps/runtime/dist/live/origin.js +2 -2
  107. package/apps/runtime/dist/live/views.js +51 -26
  108. package/apps/runtime/dist/manage.js +32 -0
  109. package/apps/runtime/dist/mcp/flow-app.js +1 -1
  110. package/apps/runtime/dist/mcp/handler.js +55 -1
  111. package/apps/runtime/dist/mcp/seen.js +47 -0
  112. package/apps/runtime/dist/mcp/tools.js +75 -34
  113. package/apps/runtime/dist/models.js +203 -12
  114. package/apps/runtime/dist/motion-graphics/project.js +8 -8
  115. package/apps/runtime/dist/motion-graphics/step.js +2 -2
  116. package/apps/runtime/dist/motion-graphics/tools.js +1 -1
  117. package/apps/runtime/dist/plugins/events.js +2 -2
  118. package/apps/runtime/dist/plugins/jobs.js +4 -1
  119. package/apps/runtime/dist/plugins/loader.js +2 -2
  120. package/apps/runtime/dist/prompts/architect.md +3 -3
  121. package/apps/runtime/dist/prompts/authoring.md +46 -12
  122. package/apps/runtime/dist/prompts/goose.md +14 -13
  123. package/apps/runtime/dist/prompts/mcp.md +6 -6
  124. package/apps/runtime/dist/prompts/safety.md +18 -0
  125. package/apps/runtime/dist/prompts/services.md +4 -4
  126. package/apps/runtime/dist/prompts/step.md +3 -3
  127. package/apps/runtime/dist/prompts/tools.md +39 -10
  128. package/apps/runtime/dist/routes/api.js +31 -20
  129. package/apps/runtime/dist/routes/broker.js +316 -0
  130. package/apps/runtime/dist/routes/connections.js +71 -0
  131. package/apps/runtime/dist/routes/delivery.js +25 -0
  132. package/apps/runtime/dist/routes/discover.js +17 -0
  133. package/apps/runtime/dist/routes/live.js +11 -1
  134. package/apps/runtime/dist/routes/marketplace.js +3 -3
  135. package/apps/runtime/dist/routes/person.js +4 -1
  136. package/apps/runtime/dist/routes/plugins.js +3 -1
  137. package/apps/runtime/dist/routes/rules.js +26 -0
  138. package/apps/runtime/dist/routes/runs.js +59 -33
  139. package/apps/runtime/dist/routes/skills.js +6 -6
  140. package/apps/runtime/dist/routes/studio.js +256 -148
  141. package/apps/runtime/dist/routes/work.js +199 -0
  142. package/apps/runtime/dist/safety.js +60 -18
  143. package/apps/runtime/dist/sandbox/index.js +27 -0
  144. package/apps/runtime/dist/services/access.js +38 -17
  145. package/apps/runtime/dist/services/api.js +38 -13
  146. package/apps/runtime/dist/services/architect.js +3 -3
  147. package/apps/runtime/dist/services/assistant-chats.js +9 -1
  148. package/apps/runtime/dist/services/brand.js +12 -12
  149. package/apps/runtime/dist/services/broker-bell.js +69 -0
  150. package/apps/runtime/dist/services/broker-notify.js +127 -0
  151. package/apps/runtime/dist/services/client-steps.js +79 -0
  152. package/apps/runtime/dist/services/cloud.js +42 -42
  153. package/apps/runtime/dist/services/command-risk.js +51 -0
  154. package/apps/runtime/dist/services/discover.js +85 -0
  155. package/apps/runtime/dist/services/knowledge-model.js +13 -13
  156. package/apps/runtime/dist/services/knowledge.js +117 -80
  157. package/apps/runtime/dist/services/manage-reports.js +77 -7
  158. package/apps/runtime/dist/services/marketplace.js +7 -31
  159. package/apps/runtime/dist/services/members-studio.js +165 -0
  160. package/apps/runtime/dist/services/onboarding.js +22 -22
  161. package/apps/runtime/dist/services/package-file.js +1 -1
  162. package/apps/runtime/dist/services/package.js +22 -22
  163. package/apps/runtime/dist/services/pages.js +13 -9
  164. package/apps/runtime/dist/services/runs.js +4 -3
  165. package/apps/runtime/dist/services/seen.js +55 -0
  166. package/apps/runtime/dist/services/shares.js +28 -13
  167. package/apps/runtime/dist/services/site.js +23 -23
  168. package/apps/runtime/dist/services/skills-registry.js +15 -15
  169. package/apps/runtime/dist/services/skills.js +44 -44
  170. package/apps/runtime/dist/services/space-categories.js +35 -35
  171. package/apps/runtime/dist/services/space-data.js +130 -111
  172. package/apps/runtime/dist/services/{project-files.js → space-files.js} +84 -75
  173. package/apps/runtime/dist/services/{project-index.js → space-index.js} +116 -73
  174. package/apps/runtime/dist/services/space-origin.js +19 -11
  175. package/apps/runtime/dist/services/spaces.js +478 -598
  176. package/apps/runtime/dist/services/synced-spaces.js +668 -0
  177. package/apps/runtime/dist/services/themes.js +15 -15
  178. package/apps/runtime/dist/services/widgets.js +6 -6
  179. package/apps/runtime/dist/services/wizards.js +112 -38
  180. package/apps/runtime/dist/services/work-ai.js +257 -0
  181. package/apps/runtime/dist/services/work-approvals.js +104 -0
  182. package/apps/runtime/dist/services/work-chats.js +908 -0
  183. package/apps/runtime/dist/services/work-connections.js +90 -0
  184. package/apps/runtime/dist/services/work-files.js +85 -0
  185. package/apps/runtime/dist/services/work-mastra.js +73 -0
  186. package/apps/runtime/dist/services/work-sandbox.js +42 -0
  187. package/apps/runtime/dist/sharing/files.js +14 -4
  188. package/apps/runtime/dist/sharing/index.js +40 -39
  189. package/apps/runtime/dist/sharing/jobs.js +67 -17
  190. package/apps/runtime/dist/sharing/targets/connector.js +10 -6
  191. package/apps/runtime/dist/sharing/targets/email.js +10 -8
  192. package/apps/runtime/dist/sharing/targets/slack.js +10 -8
  193. package/apps/runtime/dist/sharing/targets/storage.js +6 -4
  194. package/apps/runtime/dist/store/index.js +14 -3
  195. package/apps/runtime/dist/store/shared-lists.js +4 -2
  196. package/apps/runtime/dist/sync/apply.js +2 -2
  197. package/apps/runtime/dist/sync/client.js +113 -113
  198. package/apps/runtime/dist/sync/hub.js +41 -41
  199. package/apps/runtime/dist/sync/log.js +12 -12
  200. package/apps/runtime/dist/sync/records.js +118 -120
  201. package/apps/runtime/dist/texts.js +44 -2
  202. package/apps/runtime/dist/tools/connections.js +112 -0
  203. package/apps/runtime/dist/tools/connector.js +157 -67
  204. package/apps/runtime/dist/tools/index.js +31 -15
  205. package/apps/runtime/dist/tools/mail.js +40 -11
  206. package/apps/runtime/dist/tools/pages.js +11 -5
  207. package/apps/runtime/dist/tools/plugin.js +43 -7
  208. package/apps/runtime/dist/tools/skills.js +1 -1
  209. package/apps/runtime/dist/tools/{project.js → space.js} +30 -25
  210. package/apps/runtime/dist/tools/store.js +3 -2
  211. package/apps/runtime/dist/widgets/step.js +10 -10
  212. package/apps/web/dist/assets/AboutDialog-DgfeipUc.js +1 -0
  213. package/apps/web/dist/assets/CapabilitiesPage-BoYJvgIu.js +2 -0
  214. package/apps/web/dist/assets/{ChangelogDialog-CKLgFL6r.js → ChangelogDialog-Duab4zTO.js} +1 -1
  215. package/apps/web/dist/assets/{CodeEditor-B3nto_26.js → CodeEditor-nxoOt8ge.js} +1 -1
  216. package/apps/web/dist/assets/EditorPage-ZrgGpYMC.js +3 -0
  217. package/apps/web/dist/assets/{FlowPreview-zJCtixSi.js → FlowPreview-aMfwcPul.js} +1 -1
  218. package/apps/web/dist/assets/LangSwitch-DpD0inR4.js +1 -0
  219. package/apps/web/dist/assets/Marketplace-CpzD9pNQ.js +2 -0
  220. package/apps/web/dist/assets/NewWizardChannels-IB18afWN.js +1 -0
  221. package/apps/web/dist/assets/NewWizardPage-rYbcmPGG.js +7 -0
  222. package/apps/web/dist/assets/OnboardingPage-ztHT01ah.js +1 -0
  223. package/apps/web/dist/assets/PreviewPane-DviWTLfi.js +9 -0
  224. package/apps/web/dist/assets/PublicRunner-C2geZhhM.js +1 -0
  225. package/apps/web/dist/assets/ReadOnly-kSb_Kbdm.js +1 -0
  226. package/apps/web/dist/assets/SettingsPage-DM2h8N0J.js +2 -0
  227. package/apps/web/dist/assets/SetupPage-Wfyz6xH4.js +1 -0
  228. package/apps/web/dist/assets/SharePage-CyWQorWB.js +1 -0
  229. package/apps/web/dist/assets/SkillEditor-CqQMg2MC.js +1 -0
  230. package/apps/web/dist/assets/Skills-CnhpgoOA.js +9 -0
  231. package/apps/web/dist/assets/SpacePage-q4Bk3N7k.js +2 -0
  232. package/apps/web/dist/assets/UpdateCheck-C2CE6CC3.js +2 -0
  233. package/apps/web/dist/assets/changelog-B6hN1Cp7.js +1 -0
  234. package/apps/web/dist/assets/circle-alert-C8Ma-bPY.js +1 -0
  235. package/apps/web/dist/assets/circle-check-Bu9Z3mlJ.js +1 -0
  236. package/apps/web/dist/assets/code-editor-CfTGqOpp.js +2 -0
  237. package/apps/web/dist/assets/{code-xml-Hx7YxCg0.js → code-xml-B4kLFZSj.js} +1 -1
  238. package/apps/web/dist/assets/connection-sign-in-CIiv0t2p.js +1 -0
  239. package/apps/web/dist/assets/esm-Xwn4GtqG.js +7 -0
  240. package/apps/web/dist/assets/{eye-BkMFLnYu.js → eye-BpoKpIdt.js} +1 -1
  241. package/apps/web/dist/assets/host-BrP-ENHg.css +1 -0
  242. package/apps/web/dist/assets/host-DJ7-p0Sc.js +118 -0
  243. package/apps/web/dist/assets/i18n-BJ7Ld6O6.js +55 -0
  244. package/apps/web/dist/assets/index-D18DvnxX.css +1 -0
  245. package/apps/web/dist/assets/index-D2akynS-.js +10 -0
  246. package/apps/web/dist/assets/logo-BpnjXTRy.js +1 -0
  247. package/apps/web/dist/assets/oss-credits-IdX5bc71.js +1 -0
  248. package/apps/web/dist/assets/{phone-DMfwuh9V.js → phone-Ctvf-Am-.js} +1 -1
  249. package/apps/web/dist/assets/read-aloud-Da_RSm2S.js +1 -0
  250. package/apps/web/dist/assets/{runners-D5qz6b_s.js → runners-CyIvJIHr.js} +1 -1
  251. package/apps/web/dist/assets/scroll-text-ChrjRu9Y.js +1 -0
  252. package/apps/web/dist/assets/session-SXPtTWRK.js +2 -0
  253. package/apps/web/dist/assets/theme-CbTcTFWy.js +11 -0
  254. package/apps/web/dist/assets/ui-Uqnx1UpK.js +82 -0
  255. package/apps/web/dist/assets/{upload-DQJwLSGj.js → upload-BchUnQGV.js} +1 -1
  256. package/apps/web/dist/assets/{useMutation-C20c2EH3.js → useMutation-DEkZhp5c.js} +1 -1
  257. package/apps/web/dist/assets/{volume-2-CC5qamYT.js → volume-2-CU_oy81Z.js} +1 -1
  258. package/apps/web/dist/assets/with-selector-CoMyWBAX.js +1 -0
  259. package/apps/web/dist/index.html +17 -10
  260. package/apps/web/dist/mcp/flow.html +119 -64
  261. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +20 -10
  262. package/node_modules/@engenty/wizards-shared/dist/assistant.d.ts +7 -1
  263. package/node_modules/@engenty/wizards-shared/dist/assistant.js +11 -1
  264. package/node_modules/@engenty/wizards-shared/dist/connectors.d.ts +236 -2
  265. package/node_modules/@engenty/wizards-shared/dist/connectors.js +52 -2
  266. package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +257 -8
  267. package/node_modules/@engenty/wizards-shared/dist/definition.js +113 -15
  268. package/node_modules/@engenty/wizards-shared/dist/discover.d.ts +21 -0
  269. package/node_modules/@engenty/wizards-shared/dist/discover.js +1 -0
  270. package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +38 -2
  271. package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +38 -2
  272. package/node_modules/@engenty/wizards-shared/dist/fit.js +1 -1
  273. package/node_modules/@engenty/wizards-shared/dist/json-schema.d.ts +1 -1
  274. package/node_modules/@engenty/wizards-shared/dist/json-schema.js +1 -1
  275. package/node_modules/@engenty/wizards-shared/dist/live.d.ts +2 -2
  276. package/node_modules/@engenty/wizards-shared/dist/live.js +1 -1
  277. package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +0 -5
  278. package/node_modules/@engenty/wizards-shared/dist/marketplace.js +3 -1
  279. package/node_modules/@engenty/wizards-shared/dist/run.d.ts +115 -6
  280. package/node_modules/@engenty/wizards-shared/dist/run.js +135 -0
  281. package/node_modules/@engenty/wizards-shared/dist/runner-texts.d.ts +15 -1
  282. package/node_modules/@engenty/wizards-shared/dist/runner-texts.js +14 -0
  283. package/node_modules/@engenty/wizards-shared/dist/rwx.d.ts +42 -0
  284. package/node_modules/@engenty/wizards-shared/dist/rwx.js +29 -0
  285. package/node_modules/@engenty/wizards-shared/dist/skills.d.ts +1 -1
  286. package/node_modules/@engenty/wizards-shared/dist/space-data.d.ts +2 -2
  287. package/node_modules/@engenty/wizards-shared/dist/{projects.d.ts → spaces.d.ts} +39 -15
  288. package/node_modules/@engenty/wizards-shared/dist/{projects.js → spaces.js} +16 -9
  289. package/node_modules/@engenty/wizards-shared/dist/store.d.ts +7 -2
  290. package/node_modules/@engenty/wizards-shared/dist/surface.d.ts +35 -4
  291. package/node_modules/@engenty/wizards-shared/dist/surface.js +121 -3
  292. package/node_modules/@engenty/wizards-shared/dist/sync.d.ts +1 -1
  293. package/node_modules/@engenty/wizards-shared/dist/theme-look.js +1 -1
  294. package/node_modules/@engenty/wizards-shared/dist/tiers.d.ts +195 -0
  295. package/node_modules/@engenty/wizards-shared/dist/tiers.js +98 -0
  296. package/node_modules/@engenty/wizards-shared/dist/wizard-package.d.ts +2 -2
  297. package/node_modules/@engenty/wizards-shared/dist/wizard-package.js +3 -3
  298. package/package.json +4 -1
  299. package/plugin/.claude-plugin/plugin.json +1 -1
  300. package/plugin/plugin.json +1 -1
  301. package/plugin/skills/build-wizard/SKILL.md +1 -1
  302. package/apps/runtime/dist/services/projects.js +0 -473
  303. package/apps/web/dist/assets/AboutDialog-CLgnoYTI.js +0 -1
  304. package/apps/web/dist/assets/EditorPage-D9JDdAAI.js +0 -3
  305. package/apps/web/dist/assets/Marketplace-D4e0Oac9.js +0 -2
  306. package/apps/web/dist/assets/NewWizardChannels-B4N7GIYh.js +0 -1
  307. package/apps/web/dist/assets/NewWizardPage-Dpt0Mzk8.js +0 -7
  308. package/apps/web/dist/assets/OnboardingPage-CDoYVjRC.js +0 -1
  309. package/apps/web/dist/assets/PreviewPane-DPB5nEd5.js +0 -10
  310. package/apps/web/dist/assets/ProjectPage-408YOoNa.js +0 -10
  311. package/apps/web/dist/assets/PublicRunner-BZ66xdRX.js +0 -1
  312. package/apps/web/dist/assets/ReadOnly-C9oGMkUB.js +0 -1
  313. package/apps/web/dist/assets/SettingsPage-Dq3AZwJS.js +0 -2
  314. package/apps/web/dist/assets/SetupPage-CP3lbyZc.js +0 -1
  315. package/apps/web/dist/assets/SharePage-DdMm1Y8K.js +0 -1
  316. package/apps/web/dist/assets/SkillEditor-b5NMFB90.js +0 -1
  317. package/apps/web/dist/assets/changelog-82-DHogQ.js +0 -1
  318. package/apps/web/dist/assets/esm-BdxDT9Km.js +0 -7
  319. package/apps/web/dist/assets/i18n-CKKh3Pn0.js +0 -55
  320. package/apps/web/dist/assets/index-Cy2NHzAx.js +0 -49
  321. package/apps/web/dist/assets/index-wR_-1hfN.css +0 -1
  322. package/apps/web/dist/assets/lock-CGXM95Mi.js +0 -1
  323. package/apps/web/dist/assets/logo-CGNoptDg.js +0 -1
  324. package/apps/web/dist/assets/oss-credits-DpRWUPjD.js +0 -1
  325. package/apps/web/dist/assets/session-DRy0k0nh.js +0 -2
  326. package/apps/web/dist/assets/theme-DNPm6r4e.js +0 -11
  327. package/apps/web/dist/assets/ui-CwFQAfE-.js +0 -83
  328. /package/apps/runtime/dist/db/migrations/tenant/{0027_space_skill.sql → 0030_space_skill.sql} +0 -0
@@ -336,6 +336,49 @@ export function pluginToolOf(id) {
336
336
  */
337
337
  export const TEXT_CLASSES = ["classifier", "low", "standard", "high"];
338
338
  export const MODEL_CLASSES = [...TEXT_CLASSES, "image", "video", "audio", "speech"];
339
+ /**
340
+ * The makers a step may name next to its class (`maker`), and each one's classes. With a maker
341
+ * the step asks for `wizards/<maker>/<class>`: the organization's tier binds it to one of that
342
+ * maker's models, never another maker's. `highest` is the top line some makers have; it exists
343
+ * only with a maker. The classifier class takes none.
344
+ */
345
+ export const MAKERS = ["anthropic", "openai", "google", "mistral"];
346
+ export const STEP_CLASSES = [...TEXT_CLASSES, "highest"];
347
+ export const MAKER_CLASSES = {
348
+ anthropic: ["low", "standard", "high", "highest"],
349
+ openai: ["low", "standard", "high", "highest"],
350
+ google: ["low", "standard", "high"],
351
+ mistral: ["low", "high"],
352
+ };
353
+ /** The text class a step runs on where no maker class can be asked for: `highest` is `high` there. */
354
+ export function textClassOf(model) {
355
+ return model === "highest" ? "high" : model;
356
+ }
357
+ /** What the gateway is asked for: `<maker>/<class>` with a maker, else the class. */
358
+ export function classIdOf(step, fallback) {
359
+ const model = step.model ?? fallback;
360
+ return step.maker ? `${step.maker}/${model}` : textClassOf(model);
361
+ }
362
+ /** Why a step's maker and class don't go together; null where they do. */
363
+ export function makerProblem(step) {
364
+ if (!step.maker) {
365
+ return step.model === "highest"
366
+ ? `The class "highest" needs a maker: ${makersWith("highest").join(" or ")}.`
367
+ : null;
368
+ }
369
+ if (!step.model) {
370
+ return `A step with a maker names its class too: one of ${MAKER_CLASSES[step.maker].join(", ")}.`;
371
+ }
372
+ if (step.model === "classifier") {
373
+ return "The classifier class takes no maker.";
374
+ }
375
+ return MAKER_CLASSES[step.maker].includes(step.model)
376
+ ? null
377
+ : `"${step.maker}" has no class "${step.model}": it has ${MAKER_CLASSES[step.maker].join(", ")}.`;
378
+ }
379
+ function makersWith(model) {
380
+ return MAKERS.filter((maker) => MAKER_CLASSES[maker].includes(model));
381
+ }
339
382
  /** How hard the model should think, where the bound model can be told. */
340
383
  export const EFFORTS = ["low", "medium", "high"];
341
384
  export const ASSET_KINDS = ["image", "video", "voice", "document", "dashboard"];
@@ -522,6 +565,8 @@ export const pageStepSchema = z.object({
522
565
  groups: z.array(fieldGroupSchema).max(6).optional(),
523
566
  cta: z.string().optional(),
524
567
  });
568
+ /** A host name a step may list in `hosts`: labels of letters, digits and dashes, or `*.` before them. */
569
+ export const HOST_PATTERN = /^(\*\.)?([a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z][a-z0-9-]{0,61}[a-z0-9]$/i;
525
570
  /** A plugin's tool as a step names it: `<plugin>.<tool>`. */
526
571
  const pluginToolIdSchema = z.templateLiteral([
527
572
  z.string().regex(PLUGIN_ID),
@@ -534,20 +579,37 @@ export const agentStepSchema = z.object({
534
579
  /** What the agent does. A template: {{field}}, {{steps.id}}, {{brand.name}}. Empty with `call`. */
535
580
  instructions: z.string().default(""),
536
581
  /**
537
- * One tool of a plugin, called once with these inputs and no model: its answer is the step's
538
- * json output, as it is. For data a later page shows unchanged (free appointment times), where
539
- * a model would only copy it. String inputs are templates; a filled-in whole number or
540
- * true/false is passed as one, an empty one is left out.
582
+ * A fixed step: one tool of a plugin, or one action of a connection of the wizard, called once
583
+ * with these inputs and no model; its answer is the step's json output, as it is. For data a
584
+ * later page shows unchanged (free appointment times), where a model would only copy it, and
585
+ * for every write through a connection that signs in as the space: the fields are the wizard's,
586
+ * so nothing a person typed can steer the call. String inputs are templates; a filled-in whole
587
+ * number or true/false is passed as one, an empty one is left out.
541
588
  */
542
589
  call: z
543
- .object({
544
- tool: pluginToolIdSchema,
545
- input: z.record(z.string(), z.unknown()).default({}),
546
- })
590
+ .union([
591
+ z.object({
592
+ tool: pluginToolIdSchema,
593
+ input: z.record(z.string(), z.unknown()).default({}),
594
+ }),
595
+ z.object({
596
+ /** A connection of the wizard, by id. */
597
+ connection: id,
598
+ /** The connector's action to run. */
599
+ action: z.string().min(1).max(120),
600
+ input: z.record(z.string(), z.unknown()).default({}),
601
+ }),
602
+ ])
547
603
  .optional(),
548
604
  tools: z.array(z.union([z.enum(TOOL_IDS), pluginToolIdSchema])).default([]),
549
605
  /** Ids of wizard connections (the person's accounts) this step may use. */
550
606
  connections: z.array(z.string()).optional(),
607
+ /**
608
+ * Hosts `http_request` may reach, as names: `api.example.com`, or `*.example.org` for every
609
+ * host below example.org. A guest's run reaches no other host; a member's run every public one
610
+ * until the space's broker switch is on. Part of the run's grant, fixed when it starts.
611
+ */
612
+ hosts: z.array(z.string().regex(HOST_PATTERN).max(253)).max(20).optional(),
551
613
  output: z
552
614
  .object({
553
615
  format: z.enum(["text", "markdown", "json"]),
@@ -567,7 +629,9 @@ export const agentStepSchema = z.object({
567
629
  })
568
630
  .default({ format: "markdown" }),
569
631
  /** The model class the step needs; default `standard`. The model itself is bound elsewhere. */
570
- model: z.enum(TEXT_CLASSES).optional(),
632
+ model: z.enum(STEP_CLASSES).optional(),
633
+ /** The maker whose model runs the class; without one the organization's tier picks it. */
634
+ maker: z.enum(MAKERS).optional(),
571
635
  effort: z.enum(EFFORTS).optional(),
572
636
  /** Shown to the person while it works. */
573
637
  /**
@@ -610,7 +674,9 @@ export const generateStepSchema = z.object({
610
674
  */
611
675
  each: z.string().optional(),
612
676
  /** For document/dashboard: the model class that writes it; default `standard`. */
613
- model: z.enum(TEXT_CLASSES).optional(),
677
+ model: z.enum(STEP_CLASSES).optional(),
678
+ /** The maker whose model runs the class; without one the organization's tier picks it. */
679
+ maker: z.enum(MAKERS).optional(),
614
680
  effort: z.enum(EFFORTS).optional(),
615
681
  working: z.string().optional(),
616
682
  });
@@ -685,7 +751,9 @@ export const motionGraphicsStepSchema = z.object({
685
751
  /** About how long the video runs, in seconds. */
686
752
  seconds: z.number().int().min(3).max(600).optional(),
687
753
  /** The model class; default `low` — the kit carries the craft. */
688
- model: z.enum(TEXT_CLASSES).optional(),
754
+ model: z.enum(STEP_CLASSES).optional(),
755
+ /** The maker whose model runs the class; without one the organization's tier picks it. */
756
+ maker: z.enum(MAKERS).optional(),
689
757
  effort: z.enum(EFFORTS).optional(),
690
758
  working: z.string().optional(),
691
759
  });
@@ -837,8 +905,10 @@ export const connectionSchema = z.object({
837
905
  id,
838
906
  /** A built-in kind of account … */
839
907
  kind: z.enum(CONNECTION_KINDS).optional(),
840
- /** … or the id of one of the project's imported connectors. */
908
+ /** … or the id of one of the space's imported connectors … */
841
909
  connector: z.string().optional(),
910
+ /** … or a connection of the space, by id: its audience and rules decide, `policy` has no say. */
911
+ spaceConnection: z.string().max(40).optional(),
842
912
  /** Imported connectors: the actions steps may call. Default: every action that only reads. */
843
913
  actions: z.array(z.string()).max(200).optional(),
844
914
  /** Imported connectors, per action: "allow" runs it without asking, "ask" asks the person first. */
@@ -885,7 +955,8 @@ export function upgradeDefinition(raw, unversioned = 1) {
885
955
  return { ...def, version: DEFINITION_VERSION, steps };
886
956
  }
887
957
  /** A definition of this version, as it is written: what the JSON Schema describes. */
888
- export const currentWizardSchema = z.object({
958
+ export const currentWizardSchema = z
959
+ .object({
889
960
  version: z.literal(DEFINITION_VERSION).default(DEFINITION_VERSION),
890
961
  title: z.string().min(1),
891
962
  description: z.string().default(""),
@@ -916,6 +987,19 @@ export const currentWizardSchema = z.object({
916
987
  */
917
988
  themes: z.array(z.string().regex(THEME_ID)).max(8).optional(),
918
989
  steps: z.array(stepSchema).min(1),
990
+ })
991
+ .superRefine((def, ctx) => {
992
+ def.steps.forEach((step, i) => {
993
+ const classed = step.type === "agent" || step.type === "generate" || step.type === "motion-graphics";
994
+ const problem = classed ? makerProblem(step) : null;
995
+ if (classed && problem) {
996
+ ctx.addIssue({
997
+ code: "custom",
998
+ path: ["steps", i, step.maker ? "maker" : "model"],
999
+ message: problem,
1000
+ });
1001
+ }
1002
+ });
919
1003
  });
920
1004
  /** A definition of any version this app reads, brought to this one. */
921
1005
  export const wizardSchema = z.preprocess((raw) => upgradeDefinition(raw), currentWizardSchema);
@@ -1031,9 +1115,10 @@ export function validateWizard(def, files) {
1031
1115
  issues.push({ message: `Duplicate connection id "${connection.id}".` });
1032
1116
  }
1033
1117
  connectionIds.add(connection.id);
1034
- if (Boolean(connection.kind) === Boolean(connection.connector)) {
1118
+ const ways = [connection.kind, connection.connector, connection.spaceConnection].filter(Boolean).length;
1119
+ if (ways !== 1) {
1035
1120
  issues.push({
1036
- message: `Connection "${connection.id}" needs either "kind" or "connector", not both.`,
1121
+ message: `Connection "${connection.id}" needs one of "kind", "connector" or "spaceConnection".`,
1037
1122
  });
1038
1123
  }
1039
1124
  }
@@ -1350,6 +1435,19 @@ export function validateWizard(def, files) {
1350
1435
  issues.push({ stepId: step.id, message: `Step uses unknown connection "${c}".` });
1351
1436
  }
1352
1437
  }
1438
+ if (step.call && "connection" in step.call) {
1439
+ const called = step.call.connection;
1440
+ const named = (def.connections ?? []).find((c) => c.id === called);
1441
+ if (!named) {
1442
+ issues.push({ stepId: step.id, message: `Step calls unknown connection "${called}".` });
1443
+ }
1444
+ else if (named.kind) {
1445
+ issues.push({
1446
+ stepId: step.id,
1447
+ message: `A "call" names an action of a connector: connection "${called}" is of kind "${named.kind}".`,
1448
+ });
1449
+ }
1450
+ }
1353
1451
  if (step.output.surface && step.output.format !== "json") {
1354
1452
  issues.push({
1355
1453
  stepId: step.id,
@@ -0,0 +1,21 @@
1
+ import type { RegistryHit } from "./connectors.js";
2
+ import type { SkillHit } from "./skills.js";
3
+ /**
4
+ * Fähigkeiten › Entdecken (docs/plans/capabilities.md): one search over the two public
5
+ * directories, skills.sh for skills and integrations.sh for connectors.
6
+ */
7
+ /** A service of integrations.sh, marked where the space has it already. */
8
+ export interface DiscoverConnector extends RegistryHit {
9
+ /** The space imported it, or has a connection to it. */
10
+ setUp: boolean;
11
+ }
12
+ /** What one search found. A directory that failed leaves its list empty and says why. */
13
+ export interface DiscoverAnswer {
14
+ skills: SkillHit[];
15
+ connectors: DiscoverConnector[];
16
+ /** In plain words, in the asker's language. */
17
+ errors: {
18
+ skills?: string;
19
+ connectors?: string;
20
+ };
21
+ }
@@ -107,9 +107,9 @@ export declare const FEATURES: {
107
107
  };
108
108
  readonly skills: {
109
109
  readonly kind: "release";
110
- readonly default: false;
110
+ readonly default: true;
111
111
  readonly label: "Skills";
112
- readonly hint: "Skills in a space's sources: from skills.sh, uploaded or written; always on in every AI step, or read by a wizard when it needs one.";
112
+ readonly hint: "Skills, a place of their own in the app bar: from skills.sh, uploaded or written; always on in every AI step, or read by a wizard when it needs one.";
113
113
  };
114
114
  readonly plugins: {
115
115
  readonly kind: "release";
@@ -123,6 +123,42 @@ export declare const FEATURES: {
123
123
  readonly label: "Goose";
124
124
  readonly hint: "The studio's assistant: its chat at the foot of the page and in the sidebar.";
125
125
  };
126
+ readonly workMode: {
127
+ readonly kind: "release";
128
+ readonly default: false;
129
+ readonly label: "Work mode";
130
+ readonly hint: "The switch between Studio and Work in the app bar, and Work's chats. Client comes with the public page (`pages`).";
131
+ };
132
+ readonly workWip: {
133
+ readonly kind: "release";
134
+ readonly default: false;
135
+ readonly label: "Work – WiP";
136
+ readonly hint: "Work's places that aren't built yet, in the app bar under the chats: engenties, files, data, results and the bell.";
137
+ };
138
+ readonly modelTiers: {
139
+ readonly kind: "release";
140
+ readonly default: false;
141
+ readonly label: "Model tiers";
142
+ readonly hint: "The organization's model tier: steps may name a maker, calls say what they are for, and the studio shows what each class runs on in the tier.";
143
+ };
144
+ readonly customDomains: {
145
+ readonly kind: "release";
146
+ readonly default: false;
147
+ readonly label: "Own domains";
148
+ readonly hint: "Settings › Allgemein: the organization's wizards under a domain of its own, once a TXT record confirms it.";
149
+ };
150
+ readonly broker: {
151
+ readonly kind: "release";
152
+ readonly default: true;
153
+ readonly label: "Broker";
154
+ readonly hint: "RWX rules per space: who may read, write and execute what; enforced at every reader.";
155
+ };
156
+ readonly capabilities: {
157
+ readonly kind: "release";
158
+ readonly default: true;
159
+ readonly label: "Capabilities";
160
+ readonly hint: "One place in the app bar for Skills and Verbindungen: the space's connections with sign-in, audience and rules, each person's own sign-ins, the broker's Protokoll, Entdecken.";
161
+ };
126
162
  readonly ownKeys: {
127
163
  readonly kind: "plan";
128
164
  readonly default: true;
@@ -99,9 +99,9 @@ export const FEATURES = {
99
99
  },
100
100
  skills: {
101
101
  kind: "release",
102
- default: false,
102
+ default: true,
103
103
  label: "Skills",
104
- hint: "Skills in a space's sources: from skills.sh, uploaded or written; always on in every AI step, or read by a wizard when it needs one.",
104
+ hint: "Skills, a place of their own in the app bar: from skills.sh, uploaded or written; always on in every AI step, or read by a wizard when it needs one.",
105
105
  },
106
106
  plugins: {
107
107
  kind: "release",
@@ -115,6 +115,42 @@ export const FEATURES = {
115
115
  label: "Goose",
116
116
  hint: "The studio's assistant: its chat at the foot of the page and in the sidebar.",
117
117
  },
118
+ workMode: {
119
+ kind: "release",
120
+ default: false,
121
+ label: "Work mode",
122
+ hint: "The switch between Studio and Work in the app bar, and Work's chats. Client comes with the public page (`pages`).",
123
+ },
124
+ workWip: {
125
+ kind: "release",
126
+ default: false,
127
+ label: "Work – WiP",
128
+ hint: "Work's places that aren't built yet, in the app bar under the chats: engenties, files, data, results and the bell.",
129
+ },
130
+ modelTiers: {
131
+ kind: "release",
132
+ default: false,
133
+ label: "Model tiers",
134
+ hint: "The organization's model tier: steps may name a maker, calls say what they are for, and the studio shows what each class runs on in the tier.",
135
+ },
136
+ customDomains: {
137
+ kind: "release",
138
+ default: false,
139
+ label: "Own domains",
140
+ hint: "Settings › Allgemein: the organization's wizards under a domain of its own, once a TXT record confirms it.",
141
+ },
142
+ broker: {
143
+ kind: "release",
144
+ default: true,
145
+ label: "Broker",
146
+ hint: "RWX rules per space: who may read, write and execute what; enforced at every reader.",
147
+ },
148
+ capabilities: {
149
+ kind: "release",
150
+ default: true,
151
+ label: "Capabilities",
152
+ hint: "One place in the app bar for Skills and Verbindungen: the space's connections with sign-in, audience and rules, each person's own sign-ins, the broker's Protokoll, Entdecken.",
153
+ },
118
154
  ownKeys: {
119
155
  kind: "plan",
120
156
  default: true,
@@ -115,7 +115,7 @@ export function needs(step, def) {
115
115
  }
116
116
  break;
117
117
  case "agent": {
118
- const tools = step.call ? [...step.tools, step.call.tool] : step.tools;
118
+ const tools = step.call && "tool" in step.call ? [...step.tools, step.call.tool] : step.tools;
119
119
  for (const tool of tools) {
120
120
  const plugin = pluginToolOf(tool);
121
121
  if (plugin) {
@@ -9,7 +9,7 @@
9
9
  type JsonSchema = Record<string, unknown>;
10
10
  /** A wizard's definition: what `get_wizard` returns and `replace_wizard` takes. */
11
11
  export declare function wizardJsonSchema(): JsonSchema;
12
- /** `wizard.json` in a `.wizard` package: the definition with what it needs from its project. */
12
+ /** `wizard.json` in a `.wizard` package: the definition with what it needs from its space. */
13
13
  export declare function packageJsonSchema(): JsonSchema;
14
14
  /** A theme: how a wizard's pages look, values only (docs/plans/themes.md). Versioned apart from the wizard's. */
15
15
  export declare function themeJsonSchema(): JsonSchema;
@@ -47,7 +47,7 @@ export function wizardJsonSchema() {
47
47
  ...withSchemaProperty(generate(currentWizardSchema)),
48
48
  };
49
49
  }
50
- /** `wizard.json` in a `.wizard` package: the definition with what it needs from its project. */
50
+ /** `wizard.json` in a `.wizard` package: the definition with what it needs from its space. */
51
51
  export function packageJsonSchema() {
52
52
  const manifest = generate(manifestSchema);
53
53
  const properties = manifest.properties;
@@ -3,7 +3,7 @@
3
3
  * in the tenant's `live_change` feed, and an open studio hears of it. The kinds start equal to
4
4
  * the two-way sync's; they are their own list so a kind can be live without syncing.
5
5
  */
6
- export declare const LIVE_KINDS: readonly ["space", "wizard", "translation", "message", "page", "table", "row", "category", "file", "connector", "skill", "presence"];
6
+ export declare const LIVE_KINDS: readonly ["space", "wizard", "translation", "message", "page", "table", "row", "category", "file", "connector", "skill", "presence", "chat"];
7
7
  export type LiveKind = (typeof LIVE_KINDS)[number];
8
8
  /** `put`: the item was added or changed. `del`: the item itself was deleted. */
9
9
  export type LiveOp = "put" | "del";
@@ -13,7 +13,7 @@ export interface LiveItem {
13
13
  op: LiveOp;
14
14
  /** The changed item's id, as the two-way sync names it. */
15
15
  item: string;
16
- projectId: string | null;
16
+ spaceId: string | null;
17
17
  /** Where the item shows when its id alone doesn't say: a row's table, a translation's wizard. */
18
18
  parent: string | null;
19
19
  /** The feed's number of the item's last change in this batch. */
@@ -4,6 +4,6 @@ import { SYNC_KINDS } from "./sync.js";
4
4
  * in the tenant's `live_change` feed, and an open studio hears of it. The kinds start equal to
5
5
  * the two-way sync's; they are their own list so a kind can be live without syncing.
6
6
  */
7
- export const LIVE_KINDS = [...SYNC_KINDS, "presence"];
7
+ export const LIVE_KINDS = [...SYNC_KINDS, "presence", "chat"];
8
8
  /** The kinds of item presence is kept for. */
9
9
  export const PRESENCE_KINDS = ["wizard", "page", "table"];
@@ -115,11 +115,6 @@ export interface MarketplaceSummary {
115
115
  updatedAt: string;
116
116
  /** One of the entries an app keeps for offline use without being asked. */
117
117
  starter: boolean;
118
- /**
119
- * The level from which a team's catalog shows it (Manage's levels, 1 to 5). A marketplace older
120
- * than this field leaves it out: read it as 1.
121
- */
122
- level?: number;
123
118
  /** Shown first, under "Recommended". Left out by an older marketplace: not featured. */
124
119
  featured?: boolean;
125
120
  /** The language of `title` and `pitch`; the entry's own where it is not translated. */
@@ -266,7 +266,9 @@ export function pluginsOf(def) {
266
266
  const found = new Set();
267
267
  for (const step of def.steps) {
268
268
  if (step.type === "agent") {
269
- for (const tool of step.call ? [...step.tools, step.call.tool] : step.tools) {
269
+ for (const tool of step.call && "tool" in step.call
270
+ ? [...step.tools, step.call.tool]
271
+ : step.tools) {
270
272
  const of = pluginToolOf(tool);
271
273
  if (of) {
272
274
  found.add(of.plugin);
@@ -45,6 +45,10 @@ export interface RunState {
45
45
  history: string[];
46
46
  /** Regenerate notes per step. */
47
47
  notes: Record<string, string>;
48
+ /** A guest's run: a hash of the answers the input check passed, so the same are not asked again. */
49
+ inputChecked?: string;
50
+ /** What the content rules stopped, where they stopped the run (safety.ts ContentKind). */
51
+ blocked?: string;
48
52
  /** Steps that make several results: the entries (from 0) to make again; the others stay. */
49
53
  redo?: Record<string, number[]>;
50
54
  /** The step whose `ask` branches are being decided; the run waits on that decision. */
@@ -216,6 +220,22 @@ declare const NOTES_EN: {
216
220
  readonly downloads: "Downloading {name}";
217
221
  readonly attaches: "Attaching {name}";
218
222
  readonly runs: "Running: {command}";
223
+ readonly noSandbox: "Working without the sandbox – this run can’t run code";
224
+ readonly grant: "This run may: {what}";
225
+ readonly grantReads: "read in {name}";
226
+ readonly grantWrites: "write in {name}";
227
+ readonly grantSends: "send through {name}";
228
+ readonly grantDeletes: "delete in {name}";
229
+ readonly grantCalls: "call {actions} in {name}";
230
+ readonly grantSearchesWeb: "search the web";
231
+ readonly grantReadsWeb: "read web pages";
232
+ readonly grantBrowser: "use the browser";
233
+ readonly grantRunsCode: "run code";
234
+ readonly grantDrawsImages: "draw images";
235
+ readonly grantCallsApis: "call APIs on the web";
236
+ readonly grantCallsHosts: "call {hosts}";
237
+ readonly grantWritesPages: "write pages";
238
+ readonly grantPlugin: "use the plugin {name}";
219
239
  readonly python: "Running Python";
220
240
  readonly runsProgram: "Working through the data in one go";
221
241
  readonly drawing: "Drawing an image";
@@ -299,6 +319,9 @@ declare const NOTES_EN: {
299
319
  readonly googleNoLongerAccepts: "Google no longer accepts this connection. Connect the account again.";
300
320
  readonly googleNotConnectedThrough: "Google can’t be connected through your engenty account right now.";
301
321
  readonly stepNeedsToolPlugin: "This step needs the tool “{id}”. The plugin “{plugin}” isn’t installed here.";
322
+ readonly stepCallsUnknownConnection: "This step calls the connection “{id}”, which the wizard doesn’t have.";
323
+ readonly stepCallNotAllowed: "The change in {service} wasn’t allowed, so this step stopped.";
324
+ readonly stepCallRefused: "{service} didn’t run “{action}” for this step: {reason}";
302
325
  readonly clientNotSignedIn: "{name} isn’t signed in on this computer. Sign in under Settings → Models.";
303
326
  readonly clientNotInstalled: "{name} isn’t installed on this computer. Install it under Settings → Models.";
304
327
  readonly clientNoCredit: "The account {name} is signed in with has no credit or quota left.";
@@ -361,6 +384,14 @@ declare const NOTES_EN: {
361
384
  readonly pageSlugTaken: "Another space of your organization has this address.";
362
385
  readonly pageTaken: "The page is already at “{space}”.";
363
386
  readonly notDeleteLastSpace: "You can’t delete the last space.";
387
+ readonly connectorGone: "There is no connector “{id}” in this space.";
388
+ readonly connectorNoAction: "{name} has no action “{id}”.";
389
+ readonly tooManyConnections: "This space has as many connections as it can hold.";
390
+ readonly connectionEachPersonSignsIn: "Each person signs in to this connection themselves.";
391
+ readonly connectionSignsInAsSpace: "This connection signs in as the space. Its admins sign it in.";
392
+ readonly connectionNotForYou: "This connection is not open to you.";
393
+ readonly connectorSignsIn: "{name} is connected by signing in, not with keys.";
394
+ readonly connectorTakesKeys: "{name} takes keys, not a sign-in.";
364
395
  readonly notFound: "This doesn’t exist or was deleted.";
365
396
  readonly categoryNeedsName: "A category needs a name.";
366
397
  readonly unknownCategoryType: "Unknown type “{type}”.";
@@ -411,6 +442,20 @@ declare const NOTES_EN: {
411
442
  readonly unknownSpace: "There’s no space “{space}”.";
412
443
  readonly noParentPage: "There’s no page with the key “{parent}” to put this page under.";
413
444
  readonly onlyOrganizationAdmins: "Only organization admins can do that. As a member, you can edit the wizards that already exist.";
445
+ readonly studioClosedToMembers: "This space’s studio is open to its admins only. An admin can let members in, in the space’s info.";
446
+ readonly onlyAdminsPublish: "Only the space’s admins publish a wizard or share it outside the space. Ask one of them.";
447
+ readonly forbidden: "You don’t have permission to {verb} this {what} ({id}). An admin of the space can change that.";
448
+ readonly resultKeptInSpace: "This part of the result stays with the team that made the wizard.";
449
+ readonly rwxDocument: "document";
450
+ readonly rwxTable: "table";
451
+ readonly rwxPage: "page";
452
+ readonly rwxConnection: "connection";
453
+ readonly rwxMail: "email";
454
+ readonly rwxHost: "host";
455
+ readonly rwxSandbox: "sandbox";
456
+ readonly rwxRead: "read";
457
+ readonly rwxWrite: "change";
458
+ readonly rwxRun: "run";
414
459
  readonly spaceEditedLocally: "You edit this space in engenty wizards on your computer, not here.";
415
460
  readonly wizardsRunOncePublished: "Wizards run here once you publish them in engenty wizards on your computer. You build and edit them there.";
416
461
  readonly logoImagePngSvg: "A logo is an image (PNG, SVG, JPEG, WebP).";
@@ -494,6 +539,58 @@ declare const NOTES_EN: {
494
539
  readonly makesVideos: "videos";
495
540
  readonly makesSpeech: "speech";
496
541
  readonly makesVoiceNotes: "voice notes";
542
+ readonly makesDecisions: "decisions";
543
+ readonly makesSearch: "search";
544
+ readonly tierLeavesOutMaker: "{tier}, your organization’s tier, leaves out {maker}. Pick another maker in the Inspector.";
545
+ readonly tierOffersNo: "{tier}, your organization’s tier, offers no model for {what}.";
546
+ readonly tierOffersNoWhy: "{tier}, your organization’s tier, offers no model for {what} ({why}).";
547
+ readonly tierWhyUnbound: "none is bound yet";
548
+ readonly tierWhyRegion: "no route in the tier’s regions";
549
+ readonly tierWhyRetention: "{model} keeps data on every route";
550
+ readonly tierWhyTraining: "{model} may train on what it gets";
551
+ readonly tierRefused: "Didn’t run: {problem} Change the step, or ask an admin.";
552
+ readonly tierNoSearch: "{tier}, your organization’s tier, allows no web search. This step runs without it.";
553
+ readonly notInPolicy: "Didn’t run: your organization’s admins haven’t approved {what} for wizards. Pick an approved model in the Inspector, or ask an admin.";
554
+ readonly masked: {
555
+ readonly one: "{count} personal detail masked and put back in the answer: {kinds}";
556
+ readonly other: "{count} personal details masked and put back in the answer: {kinds}";
557
+ };
558
+ readonly maskedPerson: {
559
+ readonly one: "{count} name";
560
+ readonly other: "{count} names";
561
+ };
562
+ readonly maskedEmail: {
563
+ readonly one: "{count} e-mail address";
564
+ readonly other: "{count} e-mail addresses";
565
+ };
566
+ readonly maskedPhone: {
567
+ readonly one: "{count} phone number";
568
+ readonly other: "{count} phone numbers";
569
+ };
570
+ readonly maskedIban: {
571
+ readonly one: "{count} IBAN";
572
+ readonly other: "{count} IBANs";
573
+ };
574
+ readonly maskedId: {
575
+ readonly one: "{count} ID number";
576
+ readonly other: "{count} ID numbers";
577
+ };
578
+ readonly maskedAddress: {
579
+ readonly one: "{count} address";
580
+ readonly other: "{count} addresses";
581
+ };
582
+ readonly maskedContract: {
583
+ readonly one: "{count} contract number";
584
+ readonly other: "{count} contract numbers";
585
+ };
586
+ readonly maskedTerm: {
587
+ readonly one: "{count} term of your own";
588
+ readonly other: "{count} terms of your own";
589
+ };
590
+ readonly maskedOther: {
591
+ readonly one: "{count} other detail";
592
+ readonly other: "{count} other details";
593
+ };
497
594
  };
498
595
  export type RunNoteCode = keyof typeof NOTES_EN;
499
596
  export declare const RUN_NOTES: Texts<RunNoteCode>;
@@ -527,6 +624,18 @@ export interface RunEvent {
527
624
  /** A picture of the run this is about (a photo being looked at, an image just made). */
528
625
  asset?: string | null;
529
626
  }
627
+ /** One step's output as the current step shows it. */
628
+ export interface ShownStep {
629
+ step: Step;
630
+ output: StepOutput | null;
631
+ formats: Format[];
632
+ label: string | null;
633
+ /**
634
+ * A guest's result: the step read a connection the space keeps for its members, so its output
635
+ * stays in the space (`output` is null here) and the page says so.
636
+ */
637
+ kept?: boolean;
638
+ }
530
639
  export interface RunView {
531
640
  id: string;
532
641
  status: RunStatus;
@@ -566,12 +675,7 @@ export interface RunView {
566
675
  closed: Record<string, ClosedChoice>;
567
676
  outputs: Record<string, StepOutput>;
568
677
  /** Steps whose outputs the current step shows, with their definitions. */
569
- shown: {
570
- step: Step;
571
- output: StepOutput | null;
572
- formats: Format[];
573
- label: string | null;
574
- }[];
678
+ shown: ShownStep[];
575
679
  progress: {
576
680
  done: number;
577
681
  total: number;
@@ -724,6 +828,11 @@ export interface StepEstimate {
724
828
  /** A model class a wizard needs that this runtime cannot serve, with the steps that call it. */
725
829
  export interface MissingModel {
726
830
  cls: ModelClass;
831
+ /**
832
+ * The class as the organization's model tier names it (`anthropic/highest`, `video`), where
833
+ * the tier doesn't offer it; only admins can change that.
834
+ */
835
+ tierClass?: string;
727
836
  /** Why the class cannot run, as the person reads it. */
728
837
  problem: string;
729
838
  steps: {