@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
@@ -48,6 +48,23 @@ const NOTES_EN = {
48
48
  downloads: "Downloading {name}",
49
49
  attaches: "Attaching {name}",
50
50
  runs: "Running: {command}",
51
+ noSandbox: "Working without the sandbox – this run can’t run code",
52
+ // What the run may reach outside, from its grant (broker/grant.ts), as its log opens.
53
+ grant: "This run may: {what}",
54
+ grantReads: "read in {name}",
55
+ grantWrites: "write in {name}",
56
+ grantSends: "send through {name}",
57
+ grantDeletes: "delete in {name}",
58
+ grantCalls: "call {actions} in {name}",
59
+ grantSearchesWeb: "search the web",
60
+ grantReadsWeb: "read web pages",
61
+ grantBrowser: "use the browser",
62
+ grantRunsCode: "run code",
63
+ grantDrawsImages: "draw images",
64
+ grantCallsApis: "call APIs on the web",
65
+ grantCallsHosts: "call {hosts}",
66
+ grantWritesPages: "write pages",
67
+ grantPlugin: "use the plugin {name}",
51
68
  python: "Running Python",
52
69
  runsProgram: "Working through the data in one go",
53
70
  drawing: "Drawing an image",
@@ -128,6 +145,9 @@ const NOTES_EN = {
128
145
  googleNoLongerAccepts: "Google no longer accepts this connection. Connect the account again.",
129
146
  googleNotConnectedThrough: "Google can’t be connected through your engenty account right now.",
130
147
  stepNeedsToolPlugin: "This step needs the tool “{id}”. The plugin “{plugin}” isn’t installed here.",
148
+ stepCallsUnknownConnection: "This step calls the connection “{id}”, which the wizard doesn’t have.",
149
+ stepCallNotAllowed: "The change in {service} wasn’t allowed, so this step stopped.",
150
+ stepCallRefused: "{service} didn’t run “{action}” for this step: {reason}",
131
151
  clientNotSignedIn: "{name} isn’t signed in on this computer. Sign in under Settings → Models.",
132
152
  clientNotInstalled: "{name} isn’t installed on this computer. Install it under Settings → Models.",
133
153
  clientNoCredit: "The account {name} is signed in with has no credit or quota left.",
@@ -190,6 +210,14 @@ const NOTES_EN = {
190
210
  pageSlugTaken: "Another space of your organization has this address.",
191
211
  pageTaken: "The page is already at “{space}”.",
192
212
  notDeleteLastSpace: "You can’t delete the last space.",
213
+ connectorGone: "There is no connector “{id}” in this space.",
214
+ connectorNoAction: "{name} has no action “{id}”.",
215
+ tooManyConnections: "This space has as many connections as it can hold.",
216
+ connectionEachPersonSignsIn: "Each person signs in to this connection themselves.",
217
+ connectionSignsInAsSpace: "This connection signs in as the space. Its admins sign it in.",
218
+ connectionNotForYou: "This connection is not open to you.",
219
+ connectorSignsIn: "{name} is connected by signing in, not with keys.",
220
+ connectorTakesKeys: "{name} takes keys, not a sign-in.",
193
221
  notFound: "This doesn’t exist or was deleted.",
194
222
  categoryNeedsName: "A category needs a name.",
195
223
  unknownCategoryType: "Unknown type “{type}”.",
@@ -240,6 +268,22 @@ const NOTES_EN = {
240
268
  unknownSpace: "There’s no space “{space}”.",
241
269
  noParentPage: "There’s no page with the key “{parent}” to put this page under.",
242
270
  onlyOrganizationAdmins: "Only organization admins can do that. As a member, you can edit the wizards that already exist.",
271
+ // A member and the rule of the space „Mitglieder dürfen ins Studio“ (docs/plans/capabilities.md).
272
+ studioClosedToMembers: "This space’s studio is open to its admins only. An admin can let members in, in the space’s info.",
273
+ onlyAdminsPublish: "Only the space’s admins publish a wizard or share it outside the space. Ask one of them.",
274
+ forbidden: "You don’t have permission to {verb} this {what} ({id}). An admin of the space can change that.",
275
+ // The result page of a guest: a step that read a connection the space keeps for its members.
276
+ resultKeptInSpace: "This part of the result stays with the team that made the wizard.",
277
+ rwxDocument: "document",
278
+ rwxTable: "table",
279
+ rwxPage: "page",
280
+ rwxConnection: "connection",
281
+ rwxMail: "email",
282
+ rwxHost: "host",
283
+ rwxSandbox: "sandbox",
284
+ rwxRead: "read",
285
+ rwxWrite: "change",
286
+ rwxRun: "run",
243
287
  spaceEditedLocally: "You edit this space in engenty wizards on your computer, not here.",
244
288
  wizardsRunOncePublished: "Wizards run here once you publish them in engenty wizards on your computer. You build and edit them there.",
245
289
  logoImagePngSvg: "A logo is an image (PNG, SVG, JPEG, WebP).",
@@ -323,6 +367,31 @@ const NOTES_EN = {
323
367
  makesVideos: "videos",
324
368
  makesSpeech: "speech",
325
369
  makesVoiceNotes: "voice notes",
370
+ makesDecisions: "decisions",
371
+ makesSearch: "search",
372
+ tierLeavesOutMaker: "{tier}, your organization’s tier, leaves out {maker}. Pick another maker in the Inspector.",
373
+ tierOffersNo: "{tier}, your organization’s tier, offers no model for {what}.",
374
+ tierOffersNoWhy: "{tier}, your organization’s tier, offers no model for {what} ({why}).",
375
+ tierWhyUnbound: "none is bound yet",
376
+ tierWhyRegion: "no route in the tier’s regions",
377
+ tierWhyRetention: "{model} keeps data on every route",
378
+ tierWhyTraining: "{model} may train on what it gets",
379
+ tierRefused: "Didn’t run: {problem} Change the step, or ask an admin.",
380
+ tierNoSearch: "{tier}, your organization’s tier, allows no web search. This step runs without it.",
381
+ 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.",
382
+ masked: {
383
+ one: "{count} personal detail masked and put back in the answer: {kinds}",
384
+ other: "{count} personal details masked and put back in the answer: {kinds}",
385
+ },
386
+ maskedPerson: { one: "{count} name", other: "{count} names" },
387
+ maskedEmail: { one: "{count} e-mail address", other: "{count} e-mail addresses" },
388
+ maskedPhone: { one: "{count} phone number", other: "{count} phone numbers" },
389
+ maskedIban: { one: "{count} IBAN", other: "{count} IBANs" },
390
+ maskedId: { one: "{count} ID number", other: "{count} ID numbers" },
391
+ maskedAddress: { one: "{count} address", other: "{count} addresses" },
392
+ maskedContract: { one: "{count} contract number", other: "{count} contract numbers" },
393
+ maskedTerm: { one: "{count} term of your own", other: "{count} terms of your own" },
394
+ maskedOther: { one: "{count} other detail", other: "{count} other details" },
326
395
  };
327
396
  const NOTES_DE = {
328
397
  entry: "Eintrag {n} von {total}",
@@ -364,6 +433,22 @@ const NOTES_DE = {
364
433
  downloads: "Lädt {name} herunter",
365
434
  attaches: "Hängt {name} an",
366
435
  runs: "Führt aus: {command}",
436
+ noSandbox: "Arbeitet ohne Sandbox – dieser Lauf kann keinen Code ausführen",
437
+ grant: "Dieser Lauf darf: {what}",
438
+ grantReads: "in {name} lesen",
439
+ grantWrites: "in {name} schreiben",
440
+ grantSends: "über {name} senden",
441
+ grantDeletes: "in {name} löschen",
442
+ grantCalls: "in {name} {actions} aufrufen",
443
+ grantSearchesWeb: "im Web suchen",
444
+ grantReadsWeb: "Webseiten lesen",
445
+ grantBrowser: "den Browser nutzen",
446
+ grantRunsCode: "Code ausführen",
447
+ grantDrawsImages: "Bilder zeichnen",
448
+ grantCallsApis: "APIs im Web aufrufen",
449
+ grantCallsHosts: "{hosts} aufrufen",
450
+ grantWritesPages: "Seiten schreiben",
451
+ grantPlugin: "das Plugin {name} nutzen",
367
452
  runsProgram: "Arbeitet die Daten in einem Zug durch",
368
453
  python: "Führt Python aus",
369
454
  drawing: "Zeichnet ein Bild",
@@ -444,6 +529,9 @@ const NOTES_DE = {
444
529
  googleNoLongerAccepts: "Google nimmt diese Verbindung nicht mehr an. Verbinde das Konto neu.",
445
530
  googleNotConnectedThrough: "Google lässt sich über dein engenty-Konto gerade nicht verbinden.",
446
531
  stepNeedsToolPlugin: "Dieser Schritt braucht das Werkzeug „{id}“. Das Plugin „{plugin}“ ist hier nicht installiert.",
532
+ stepCallsUnknownConnection: "Dieser Schritt ruft die Verbindung „{id}“ auf, die der Wizard nicht hat.",
533
+ stepCallNotAllowed: "Die Änderung in {service} wurde nicht erlaubt, darum hat dieser Schritt aufgehört.",
534
+ stepCallRefused: "{service} hat „{action}“ für diesen Schritt nicht ausgeführt: {reason}",
447
535
  clientNotSignedIn: "{name} ist auf diesem Computer nicht angemeldet. Melde dich unter Einstellungen → Modelle an.",
448
536
  clientNotInstalled: "{name} ist auf diesem Computer nicht installiert. Installiere es unter Einstellungen → Modelle.",
449
537
  clientNoCredit: "Das Konto, mit dem {name} angemeldet ist, hat kein Guthaben oder Kontingent mehr.",
@@ -506,6 +594,14 @@ const NOTES_DE = {
506
594
  pageSlugTaken: "Ein anderer Space deiner Organisation hat diese Adresse.",
507
595
  pageTaken: "Die Seite ist schon bei „{space}“.",
508
596
  notDeleteLastSpace: "Der letzte Space lässt sich nicht löschen.",
597
+ connectorGone: "In diesem Space gibt es keinen Connector „{id}“.",
598
+ connectorNoAction: "{name} hat keine Aktion „{id}“.",
599
+ tooManyConnections: "Dieser Space hat so viele Verbindungen, wie er halten kann.",
600
+ connectionEachPersonSignsIn: "Bei dieser Verbindung meldet sich jede Person selbst an.",
601
+ connectionSignsInAsSpace: "Diese Verbindung meldet sich als Space an. Die Admins melden sie an.",
602
+ connectionNotForYou: "Diese Verbindung steht dir nicht offen.",
603
+ connectorSignsIn: "{name} wird per Anmeldung verbunden, nicht mit Keys.",
604
+ connectorTakesKeys: "{name} nimmt Keys, keine Anmeldung.",
509
605
  notFound: "Das gibt es nicht oder nicht mehr.",
510
606
  categoryNeedsName: "Eine Kategorie braucht einen Namen.",
511
607
  unknownCategoryType: "Unbekannter Typ „{type}“.",
@@ -556,6 +652,20 @@ const NOTES_DE = {
556
652
  unknownSpace: "Den Space „{space}“ gibt es nicht.",
557
653
  noParentPage: "Es gibt keine Seite mit dem Schlüssel „{parent}“, unter die diese Seite könnte.",
558
654
  onlyOrganizationAdmins: "Das dürfen nur Admins der Organisation. Als Mitglied bearbeitest du die Wizards, die es schon gibt.",
655
+ studioClosedToMembers: "Das Studio dieses Space ist nur für seine Admins offen. Ein Admin kann Mitglieder in den Infos des Space hereinlassen.",
656
+ onlyAdminsPublish: "Wizards veröffentlichen oder außerhalb des Space teilen dürfen nur die Admins des Space. Frag einen von ihnen.",
657
+ forbidden: "Du darfst {what} {id} nicht {verb}. Das ändern die Admins des Space.",
658
+ resultKeptInSpace: "Dieser Teil des Ergebnisses bleibt beim Team, das den Wizard gemacht hat.",
659
+ rwxDocument: "Dokument",
660
+ rwxTable: "Tabelle",
661
+ rwxPage: "Seite",
662
+ rwxConnection: "Verbindung",
663
+ rwxMail: "E-Mail",
664
+ rwxHost: "Host",
665
+ rwxSandbox: "Sandbox",
666
+ rwxRead: "lesen",
667
+ rwxWrite: "ändern",
668
+ rwxRun: "ausführen",
559
669
  spaceEditedLocally: "Diesen Space bearbeitest du in engenty wizards auf deinem Computer, nicht hier.",
560
670
  wizardsRunOncePublished: "Hier laufen die Wizards, die du in engenty wizards auf deinem Computer veröffentlichst. Gebaut und bearbeitet wird dort.",
561
671
  logoImagePngSvg: "Ein Logo ist ein Bild (PNG, SVG, JPEG, WebP).",
@@ -633,6 +743,31 @@ const NOTES_DE = {
633
743
  makesVideos: "Videos",
634
744
  makesSpeech: "Sprachausgabe",
635
745
  makesVoiceNotes: "Sprachnotizen",
746
+ makesDecisions: "Entscheidungen",
747
+ makesSearch: "die Suche",
748
+ tierLeavesOutMaker: "{tier}, die Modellstufe deiner Organisation, lässt {maker} aus. Wähl im Inspector einen anderen Hersteller.",
749
+ tierOffersNo: "{tier}, die Modellstufe deiner Organisation, hat kein Modell für {what}.",
750
+ tierOffersNoWhy: "{tier}, die Modellstufe deiner Organisation, hat kein Modell für {what} ({why}).",
751
+ tierWhyUnbound: "noch keines festgelegt",
752
+ tierWhyRegion: "kein Weg in den Regionen der Stufe",
753
+ tierWhyRetention: "{model} speichert Daten auf jedem Weg",
754
+ tierWhyTraining: "{model} darf mit den Daten trainieren",
755
+ tierRefused: "Nicht gelaufen: {problem} Ändere den Schritt oder frag die Admins.",
756
+ tierNoSearch: "{tier}, die Modellstufe deiner Organisation, erlaubt keine Websuche. Dieser Schritt läuft ohne sie.",
757
+ notInPolicy: "Nicht gelaufen: Die Admins deiner Organisation haben {what} für Wizards nicht freigegeben. Wähl im Inspector ein freigegebenes Modell oder frag die Admins.",
758
+ masked: {
759
+ one: "{count} persönliche Angabe maskiert und in der Antwort wieder eingesetzt: {kinds}",
760
+ other: "{count} persönliche Angaben maskiert und in der Antwort wieder eingesetzt: {kinds}",
761
+ },
762
+ maskedPerson: { one: "{count} Name", other: "{count} Namen" },
763
+ maskedEmail: { one: "{count} E-Mail-Adresse", other: "{count} E-Mail-Adressen" },
764
+ maskedPhone: { one: "{count} Telefonnummer", other: "{count} Telefonnummern" },
765
+ maskedIban: { one: "{count} IBAN", other: "{count} IBANs" },
766
+ maskedId: { one: "{count} Ausweisnummer", other: "{count} Ausweisnummern" },
767
+ maskedAddress: { one: "{count} Adresse", other: "{count} Adressen" },
768
+ maskedContract: { one: "{count} Vertragsnummer", other: "{count} Vertragsnummern" },
769
+ maskedTerm: { one: "{count} eigener Begriff", other: "{count} eigene Begriffe" },
770
+ maskedOther: { one: "{count} andere Angabe", other: "{count} andere Angaben" },
636
771
  };
637
772
  export const RUN_NOTES = { en: NOTES_EN, de: NOTES_DE };
638
773
  /** A note: a line of `RUN_NOTES`, said in whichever language the reader reads. */
@@ -11,6 +11,13 @@ declare const en: {
11
11
  "surface.done": string;
12
12
  "surface.allDone": string;
13
13
  "surface.close": string;
14
+ "surface.file": string;
15
+ "surface.files": string;
16
+ "surface.openFile": string;
17
+ "surface.foundIn": string;
18
+ "surface.required": string;
19
+ "surface.sending": string;
20
+ "surface.sentBy": string;
14
21
  "data.view": string;
15
22
  "data.edit": string;
16
23
  "data.json": string;
@@ -285,6 +292,13 @@ export declare const RUNNER_TEXTS: {
285
292
  "surface.done": string;
286
293
  "surface.allDone": string;
287
294
  "surface.close": string;
295
+ "surface.file": string;
296
+ "surface.files": string;
297
+ "surface.openFile": string;
298
+ "surface.foundIn": string;
299
+ "surface.required": string;
300
+ "surface.sending": string;
301
+ "surface.sentBy": string;
288
302
  "data.view": string;
289
303
  "data.edit": string;
290
304
  "data.json": string;
@@ -543,6 +557,6 @@ export declare const RUNNER_TEXTS: {
543
557
  "video.you": string;
544
558
  "nav.language": string;
545
559
  };
546
- de: Record<"ai.generated" | "ai.modified" | "ai.publish" | "ask.allow" | "ask.allowRest" | "ask.deny" | "ask.done" | "ask.down" | "ask.hide" | "ask.pictureHint" | "ask.private" | "ask.remember" | "ask.signIn" | "ask.skip" | "ask.typeInto" | "ask.up" | "ask.wants" | "browser.driving" | "browser.handBack" | "browser.takeOver" | "camera.asking" | "camera.clipHint" | "camera.denied" | "camera.done" | "camera.flip" | "camera.hint" | "camera.hintMany" | "camera.native" | "camera.photo" | "camera.pick" | "camera.record" | "camera.recording" | "camera.shoot" | "camera.stop" | "camera.taken" | "camera.title" | "camera.torch" | "camera.video" | "cards.open" | "cards.pick" | "cards.picked" | "chat.above" | "chat.badEmail" | "chat.badNumber" | "chat.badUrl" | "chat.change" | "chat.checked" | "chat.connected" | "chat.dictate" | "chat.dictateStop" | "chat.file" | "chat.files" | "chat.listening" | "chat.micDenied" | "chat.placeholder" | "chat.readAloud" | "chat.readAloudOff" | "chat.required" | "chat.rows" | "chat.send" | "chat.skip" | "chat.skipped" | "chat.transcribing" | "chat.voice" | "check.noFile" | "check.noPreview" | "check.onlyOpen" | "check.progress" | "check.reopen" | "common.cancel" | "common.close" | "common.offline" | "common.retry" | "connect.connected" | "connect.disconnect" | "connect.go" | "connect.none" | "connect.openLink" | "data.add" | "data.close" | "data.copy" | "data.download" | "data.edit" | "data.json" | "data.menu" | "data.missing" | "data.modes" | "data.no" | "data.open" | "data.remove" | "data.save" | "data.saved" | "data.schema" | "data.view" | "data.yes" | "install.add" | "install.app" | "install.bookmark" | "install.bookmark.mac" | "install.bookmark.pc" | "install.ios" | "list.delete" | "list.empty" | "location.accuracy" | "location.denied" | "location.label" | "location.locating" | "location.manual" | "location.map" | "location.refining" | "location.remove" | "location.use" | "location.why" | "nav.language" | "notify.ask" | "notify.blocked" | "notify.done" | "notify.needsYou" | "notify.next" | "notify.on" | "notify.onHint" | "notify.quiet" | "notify.why" | "output.preview" | "package.badJson" | "package.newer" | "package.noManifest" | "package.unreadable" | "result.translate" | "run.accept" | "run.addRow" | "run.again" | "run.awake" | "run.back" | "run.camera" | "run.cancelled" | "run.closed" | "run.cls.account" | "run.cls.audio" | "run.cls.image" | "run.cls.speech" | "run.cls.text" | "run.cls.video" | "run.copy" | "run.edit" | "run.elapsed" | "run.elsewhere" | "run.failed" | "run.feedbackPick" | "run.feedbackPlaceholder" | "run.feedbackTarget" | "run.filesMin" | "run.filesOf" | "run.madeWith" | "run.maxFiles" | "run.moveFile" | "run.moveFileHint" | "run.net" | "run.next" | "run.no" | "run.notFound" | "run.openFull" | "run.orAs" | "run.pickItem" | "run.pickedItem" | "run.print" | "run.regenerateAll" | "run.regenerateGo" | "run.regeneratePicked" | "run.removeFile" | "run.resume" | "run.retry" | "run.share" | "run.shareFile" | "run.shareNow" | "run.start" | "run.total" | "run.unavailable" | "run.upload" | "run.uploadMore" | "run.uploadTouch" | "run.uploading" | "run.vat" | "run.working" | "run.yes" | "scan.asking" | "scan.button" | "scan.fromPhoto" | "scan.hint" | "scan.hintQr" | "scan.miss" | "scan.title" | "scan.typeInstead" | "share.copied" | "sign.accept" | "sign.again" | "sign.clear" | "sign.hint" | "sign.open" | "sign.pad" | "sign.remove" | "slot.later" | "slot.none" | "store.confirmDelete" | "store.delete" | "store.empty" | "store.explain" | "store.files" | "store.open" | "store.rows" | "store.signIns" | "store.title" | "surface.allDone" | "surface.close" | "surface.done" | "talk.camera" | "talk.cameraDenied" | "talk.cameraOff" | "talk.connecting" | "talk.failed" | "talk.hint" | "talk.joinHint" | "talk.listening" | "talk.live" | "talk.speaking" | "talk.start" | "talk.stop" | "translation.failed" | "translation.machine" | "translation.showOriginal" | "translation.showTranslated" | "translation.working" | "video.cameraOff" | "video.ended" | "video.flip" | "video.hint" | "video.join" | "video.leave" | "video.mute" | "video.rejoin" | "video.unmute" | "video.you" | "voice.again" | "voice.denied" | "voice.left" | "voice.noRecorder" | "voice.pick" | "voice.recording" | "voice.remove" | "voice.start" | "voice.stop" | "voice.why", Line>;
560
+ de: Record<"ai.generated" | "ai.modified" | "ai.publish" | "ask.allow" | "ask.allowRest" | "ask.deny" | "ask.done" | "ask.down" | "ask.hide" | "ask.pictureHint" | "ask.private" | "ask.remember" | "ask.signIn" | "ask.skip" | "ask.typeInto" | "ask.up" | "ask.wants" | "browser.driving" | "browser.handBack" | "browser.takeOver" | "camera.asking" | "camera.clipHint" | "camera.denied" | "camera.done" | "camera.flip" | "camera.hint" | "camera.hintMany" | "camera.native" | "camera.photo" | "camera.pick" | "camera.record" | "camera.recording" | "camera.shoot" | "camera.stop" | "camera.taken" | "camera.title" | "camera.torch" | "camera.video" | "cards.open" | "cards.pick" | "cards.picked" | "chat.above" | "chat.badEmail" | "chat.badNumber" | "chat.badUrl" | "chat.change" | "chat.checked" | "chat.connected" | "chat.dictate" | "chat.dictateStop" | "chat.file" | "chat.files" | "chat.listening" | "chat.micDenied" | "chat.placeholder" | "chat.readAloud" | "chat.readAloudOff" | "chat.required" | "chat.rows" | "chat.send" | "chat.skip" | "chat.skipped" | "chat.transcribing" | "chat.voice" | "check.noFile" | "check.noPreview" | "check.onlyOpen" | "check.progress" | "check.reopen" | "common.cancel" | "common.close" | "common.offline" | "common.retry" | "connect.connected" | "connect.disconnect" | "connect.go" | "connect.none" | "connect.openLink" | "data.add" | "data.close" | "data.copy" | "data.download" | "data.edit" | "data.json" | "data.menu" | "data.missing" | "data.modes" | "data.no" | "data.open" | "data.remove" | "data.save" | "data.saved" | "data.schema" | "data.view" | "data.yes" | "install.add" | "install.app" | "install.bookmark" | "install.bookmark.mac" | "install.bookmark.pc" | "install.ios" | "list.delete" | "list.empty" | "location.accuracy" | "location.denied" | "location.label" | "location.locating" | "location.manual" | "location.map" | "location.refining" | "location.remove" | "location.use" | "location.why" | "nav.language" | "notify.ask" | "notify.blocked" | "notify.done" | "notify.needsYou" | "notify.next" | "notify.on" | "notify.onHint" | "notify.quiet" | "notify.why" | "output.preview" | "package.badJson" | "package.newer" | "package.noManifest" | "package.unreadable" | "result.translate" | "run.accept" | "run.addRow" | "run.again" | "run.awake" | "run.back" | "run.camera" | "run.cancelled" | "run.closed" | "run.cls.account" | "run.cls.audio" | "run.cls.image" | "run.cls.speech" | "run.cls.text" | "run.cls.video" | "run.copy" | "run.edit" | "run.elapsed" | "run.elsewhere" | "run.failed" | "run.feedbackPick" | "run.feedbackPlaceholder" | "run.feedbackTarget" | "run.filesMin" | "run.filesOf" | "run.madeWith" | "run.maxFiles" | "run.moveFile" | "run.moveFileHint" | "run.net" | "run.next" | "run.no" | "run.notFound" | "run.openFull" | "run.orAs" | "run.pickItem" | "run.pickedItem" | "run.print" | "run.regenerateAll" | "run.regenerateGo" | "run.regeneratePicked" | "run.removeFile" | "run.resume" | "run.retry" | "run.share" | "run.shareFile" | "run.shareNow" | "run.start" | "run.total" | "run.unavailable" | "run.upload" | "run.uploadMore" | "run.uploadTouch" | "run.uploading" | "run.vat" | "run.working" | "run.yes" | "scan.asking" | "scan.button" | "scan.fromPhoto" | "scan.hint" | "scan.hintQr" | "scan.miss" | "scan.title" | "scan.typeInstead" | "share.copied" | "sign.accept" | "sign.again" | "sign.clear" | "sign.hint" | "sign.open" | "sign.pad" | "sign.remove" | "slot.later" | "slot.none" | "store.confirmDelete" | "store.delete" | "store.empty" | "store.explain" | "store.files" | "store.open" | "store.rows" | "store.signIns" | "store.title" | "surface.allDone" | "surface.close" | "surface.done" | "surface.file" | "surface.files" | "surface.foundIn" | "surface.openFile" | "surface.required" | "surface.sending" | "surface.sentBy" | "talk.camera" | "talk.cameraDenied" | "talk.cameraOff" | "talk.connecting" | "talk.failed" | "talk.hint" | "talk.joinHint" | "talk.listening" | "talk.live" | "talk.speaking" | "talk.start" | "talk.stop" | "translation.failed" | "translation.machine" | "translation.showOriginal" | "translation.showTranslated" | "translation.working" | "video.cameraOff" | "video.ended" | "video.flip" | "video.hint" | "video.join" | "video.leave" | "video.mute" | "video.rejoin" | "video.unmute" | "video.you" | "voice.again" | "voice.denied" | "voice.left" | "voice.noRecorder" | "voice.pick" | "voice.recording" | "voice.remove" | "voice.start" | "voice.stop" | "voice.why", Line>;
547
561
  };
548
562
  export {};
@@ -15,6 +15,13 @@ const de = {
15
15
  "surface.done": "{done} von {total}",
16
16
  "surface.allDone": "Alles erledigt",
17
17
  "surface.close": "Schließen",
18
+ "surface.file": "Datei",
19
+ "surface.files": "{n} Dateien",
20
+ "surface.openFile": "Öffnen",
21
+ "surface.foundIn": "Gefunden in",
22
+ "surface.required": "Das fehlt noch.",
23
+ "surface.sending": "Wird gesendet …",
24
+ "surface.sentBy": "Gesendet von {name}",
18
25
  "data.view": "Ansicht",
19
26
  "data.edit": "Bearbeiten",
20
27
  "data.json": "JSON",
@@ -272,6 +279,13 @@ const en = {
272
279
  "surface.done": "{done} of {total}",
273
280
  "surface.allDone": "All done",
274
281
  "surface.close": "Close",
282
+ "surface.file": "File",
283
+ "surface.files": "{n} files",
284
+ "surface.openFile": "Open",
285
+ "surface.foundIn": "Found in",
286
+ "surface.required": "This one is still empty.",
287
+ "surface.sending": "Sending…",
288
+ "surface.sentBy": "Sent by {name}",
275
289
  "data.view": "View",
276
290
  "data.edit": "Edit",
277
291
  "data.json": "JSON",
@@ -0,0 +1,42 @@
1
+ /**
2
+ * The broker's first part (docs/plans/broker.md, "First: RWX"): the words of a space's rules.
3
+ * A rule says who (a subject) may read, write or execute what (a resource); each flag is allow,
4
+ * deny or unset. Unset means deny, and a deny wins over every allow from any other rule. The
5
+ * runtime decides in apps/runtime/src/broker/rwx.ts; the studio will draw the rows as sentences.
6
+ */
7
+ /** Who a rule is about. A role's id is `member`, `admin` or `owner`; a guest has none. */
8
+ export declare const RWX_SUBJECT_KINDS: readonly ["guest", "person", "role", "goose", "wizard", "plugin"];
9
+ export type RwxSubjectKind = (typeof RWX_SUBJECT_KINDS)[number];
10
+ /** What a rule is about. The id is the resource's, or `*` for every resource of the kind. */
11
+ export declare const RWX_RESOURCE_KINDS: readonly ["document", "table", "page", "connection", "mail", "host", "sandbox"];
12
+ export type RwxResourceKind = (typeof RWX_RESOURCE_KINDS)[number];
13
+ export declare const RWX_PERMS: readonly ["r", "w", "x"];
14
+ export type RwxPerm = (typeof RWX_PERMS)[number];
15
+ export declare const RWX_FLAGS: readonly ["allow", "deny"];
16
+ export type RwxFlag = (typeof RWX_FLAGS)[number];
17
+ export declare const RWX_ROLES: readonly ["member", "admin", "owner"];
18
+ /** Every resource of a kind. */
19
+ export declare const RWX_ALL = "*";
20
+ export declare const RWX_LIMITS: {
21
+ /** Rules one space may hold. */
22
+ rules: number;
23
+ /** Characters of a subject's or resource's id. */
24
+ id: number;
25
+ };
26
+ /** A rule as an admin writes it. */
27
+ export interface RwxRuleInput {
28
+ subjectKind: RwxSubjectKind;
29
+ subjectId: string | null;
30
+ resourceKind: RwxResourceKind;
31
+ resourceId: string;
32
+ r: RwxFlag | null;
33
+ w: RwxFlag | null;
34
+ x: RwxFlag | null;
35
+ }
36
+ /** A rule as the studio lists it. */
37
+ export interface RwxRule extends RwxRuleInput {
38
+ id: string;
39
+ /** A user's id, or `seed` for the rows every space starts with. */
40
+ createdBy: string;
41
+ createdAt: string;
42
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The broker's first part (docs/plans/broker.md, "First: RWX"): the words of a space's rules.
3
+ * A rule says who (a subject) may read, write or execute what (a resource); each flag is allow,
4
+ * deny or unset. Unset means deny, and a deny wins over every allow from any other rule. The
5
+ * runtime decides in apps/runtime/src/broker/rwx.ts; the studio will draw the rows as sentences.
6
+ */
7
+ /** Who a rule is about. A role's id is `member`, `admin` or `owner`; a guest has none. */
8
+ export const RWX_SUBJECT_KINDS = ["guest", "person", "role", "goose", "wizard", "plugin"];
9
+ /** What a rule is about. The id is the resource's, or `*` for every resource of the kind. */
10
+ export const RWX_RESOURCE_KINDS = [
11
+ "document",
12
+ "table",
13
+ "page",
14
+ "connection",
15
+ "mail",
16
+ "host",
17
+ "sandbox",
18
+ ];
19
+ export const RWX_PERMS = ["r", "w", "x"];
20
+ export const RWX_FLAGS = ["allow", "deny"];
21
+ export const RWX_ROLES = ["member", "admin", "owner"];
22
+ /** Every resource of a kind. */
23
+ export const RWX_ALL = "*";
24
+ export const RWX_LIMITS = {
25
+ /** Rules one space may hold. */
26
+ rules: 500,
27
+ /** Characters of a subject's or resource's id. */
28
+ id: 200,
29
+ };
@@ -83,7 +83,7 @@ export interface SkillsList {
83
83
  }
84
84
  /** A skill opened: its instructions, the rest of its front matter and its files. */
85
85
  export interface SkillDetail extends SkillSummary {
86
- projectId: string;
86
+ spaceId: string;
87
87
  body: string;
88
88
  /** Front matter beside `name` and `description`, kept as it came (`license`, `metadata` …). */
89
89
  meta: Record<string, unknown>;
@@ -36,7 +36,7 @@ export interface SpaceTableRow {
36
36
  }
37
37
  export interface SpaceTable {
38
38
  id: string;
39
- projectId: string;
39
+ spaceId: string;
40
40
  wizardId: string | null;
41
41
  list: string | null;
42
42
  title: string;
@@ -63,7 +63,7 @@ export interface SpaceTable {
63
63
  }
64
64
  export interface SpacePage {
65
65
  id: string;
66
- projectId: string;
66
+ spaceId: string;
67
67
  wizardId: string | null;
68
68
  title: string;
69
69
  markdown: string;
@@ -1,7 +1,15 @@
1
1
  import type { RunFontFace, RunTheme } from "./run.js";
2
2
  export declare const FACT_TYPES: readonly ["text", "longtext", "number", "date", "url", "email", "phone", "boolean"];
3
3
  export type FactType = (typeof FACT_TYPES)[number];
4
- export interface ProjectFact {
4
+ /** How a space's admins hear of the broker's critical lines: the bell in Work, a mail once an hour. */
5
+ export declare const NOTIFY_MAIL: readonly ["hourly", "off"];
6
+ export type NotifyMail = (typeof NOTIFY_MAIL)[number];
7
+ export interface SpaceNotify {
8
+ bell: boolean;
9
+ mail: NotifyMail;
10
+ }
11
+ export declare const DEFAULT_SPACE_NOTIFY: SpaceNotify;
12
+ export interface SpaceFact {
5
13
  /** How templates name it: `{{facts.<key>}}`. Made from the label, stable afterwards. */
6
14
  key: string;
7
15
  label: string;
@@ -11,17 +19,17 @@ export interface ProjectFact {
11
19
  }
12
20
  /** The type a value looks like. A value that looks like nothing in particular is text. */
13
21
  export declare function detectFactType(value: string): FactType;
14
- export declare function factType(fact: Pick<ProjectFact, "value" | "type">): FactType;
22
+ export declare function factType(fact: Pick<SpaceFact, "value" | "type">): FactType;
15
23
  /** A fact's key from its label: lower case, a-z 0-9 and _, unique among `taken`. */
16
24
  export declare function factKey(label: string, taken?: string[]): string;
17
- /** Facts most projects have, by key; offered as empty rows to fill in (labels: `fact.<key>`). */
25
+ /** Facts most spaces have, by key; offered as empty rows to fill in (labels: `fact.<key>`). */
18
26
  export declare const BASIC_FACTS: readonly ["adresse", "plz", "ort", "uid", "telefon", "e_mail", "website", "iban"];
19
27
  export type BasicFact = (typeof BASIC_FACTS)[number];
20
28
  export declare const PAGE_LANGS: readonly ["de", "en"];
21
29
  export type PageLang = (typeof PAGE_LANGS)[number];
22
30
  /** How a German page addresses its readers. */
23
31
  export type PageForm = "du" | "sie";
24
- export interface ProjectPage {
32
+ export interface SpacePage {
25
33
  on: boolean;
26
34
  /** Its address under the organization's: `<organization>.wizards.page/<slug>`. */
27
35
  slug: string;
@@ -100,7 +108,7 @@ export interface BrandPattern {
100
108
  description?: string;
101
109
  /** The patterns section it is in. */
102
110
  section: string;
103
- /** The project file (kind `pattern`) with the picture. */
111
+ /** The space file (kind `pattern`) with the picture. */
104
112
  file: string;
105
113
  /** Repeated as a tile; else it fills the area. */
106
114
  tile?: boolean;
@@ -122,6 +130,18 @@ export declare function orderColors(colors: BrandColor[], sections: ColorSection
122
130
  * Optional. Logos in no section are the standard ones: they come first, without a title, and
123
131
  * the first of them is the main logo.
124
132
  */
133
+ /** A block of how the brand speaks: its tone, audience, positioning, values or one of its own. */
134
+ export interface VoiceBlock {
135
+ id: string;
136
+ title: string;
137
+ text: string;
138
+ }
139
+ /** A place the brand is found on the web: its website, a social profile. */
140
+ export interface BrandLink {
141
+ id: string;
142
+ label: string;
143
+ url: string;
144
+ }
125
145
  export interface LogoSection {
126
146
  id: string;
127
147
  title: string;
@@ -167,7 +187,7 @@ export interface BrandFont {
167
187
  */
168
188
  uses?: FontUse[];
169
189
  /**
170
- * Where a run page loads it from: a `.woff2` of the space (a project file), served from our
190
+ * Where a run page loads it from: a `.woff2` of the space (a space file), served from our
171
191
  * address, or the address of the font on the space's own website (the file or its stylesheet).
172
192
  * None: the family name alone, as a computer that has it installed shows it.
173
193
  */
@@ -226,20 +246,20 @@ export interface AssetSection {
226
246
  /** The sections as stored: each file in its first section only, ids not known to `files` left out. */
227
247
  export declare function cleanLogoSections(sections: LogoSection[], files?: string[]): LogoSection[];
228
248
  export declare function cleanAssetSections(sections: AssetSection[], files?: string[]): AssetSection[];
229
- export declare const PROJECT_FILE_KINDS: readonly ["logo", "asset", "document", "pattern"];
230
- export type ProjectFileKind = (typeof PROJECT_FILE_KINDS)[number];
249
+ export declare const SPACE_FILE_KINDS: readonly ["logo", "asset", "document", "pattern"];
250
+ export type SpaceFileKind = (typeof SPACE_FILE_KINDS)[number];
231
251
  /** `pending`: being read, described and indexed. */
232
- export type ProjectFileStatus = "pending" | "ready" | "failed";
233
- export interface ProjectFileView {
252
+ export type SpaceFileStatus = "pending" | "ready" | "failed";
253
+ export interface SpaceFileView {
234
254
  id: string;
235
- kind: ProjectFileKind;
255
+ kind: SpaceFileKind;
236
256
  name: string;
237
257
  mime: string;
238
258
  size: number;
239
259
  description: string;
240
260
  /** A web address the file was fetched from, when it was not uploaded. */
241
261
  source: string | null;
242
- status: ProjectFileStatus;
262
+ status: SpaceFileStatus;
243
263
  error: string | null;
244
264
  /** Documents: what the index holds of it. `embeddings` includes the keywords. */
245
265
  indexed: "embeddings" | "keywords" | null;
@@ -247,7 +267,7 @@ export interface ProjectFileView {
247
267
  chars: number | null;
248
268
  createdAt: string;
249
269
  }
250
- export declare const PROJECT_LIMITS: {
270
+ export declare const SPACE_LIMITS: {
251
271
  readonly facts: 100;
252
272
  readonly colors: 32;
253
273
  readonly fonts: 6;
@@ -256,6 +276,10 @@ export declare const PROJECT_LIMITS: {
256
276
  readonly logoSections: 8;
257
277
  /** Rows of logo rules. */
258
278
  readonly logoRules: 16;
279
+ /** Blocks of the brand's voice, and the words of one. */
280
+ readonly voiceBlocks: 12;
281
+ readonly voiceText: 2000;
282
+ readonly links: 20;
259
283
  readonly files: {
260
284
  readonly logo: 24;
261
285
  readonly asset: 100;
@@ -271,5 +295,5 @@ export declare const PROJECT_LIMITS: {
271
295
  readonly pattern: 10000000;
272
296
  };
273
297
  };
274
- /** The largest file of a kind and type a project takes. */
275
- export declare function projectFileLimit(kind: ProjectFileKind, mime: string): number;
298
+ /** The largest file of a kind and type a space takes. */
299
+ export declare function spaceFileLimit(kind: SpaceFileKind, mime: string): number;
@@ -1,6 +1,6 @@
1
1
  // --- facts ---------------------------------------------------------------------
2
- // What a project knows about itself as label and value: an address, a VAT id, anything. Every
3
- // step of the project's wizards can read them.
2
+ // What a space knows about itself as label and value: an address, a VAT id, anything. Every
3
+ // step of the space's wizards can read them.
4
4
  export const FACT_TYPES = [
5
5
  "text",
6
6
  "longtext",
@@ -11,6 +11,9 @@ export const FACT_TYPES = [
11
11
  "phone",
12
12
  "boolean",
13
13
  ];
14
+ /** How a space's admins hear of the broker's critical lines: the bell in Work, a mail once an hour. */
15
+ export const NOTIFY_MAIL = ["hourly", "off"];
16
+ export const DEFAULT_SPACE_NOTIFY = { bell: true, mail: "hourly" };
14
17
  const DATE_RE = /^(\d{4}-\d{2}-\d{2}|\d{1,2}\.\s?\d{1,2}\.\s?\d{4})$/;
15
18
  const NUMBER_RE = /^[+-]?\d{1,3}([.,\s']?\d{3})*([.,]\d+)?$/;
16
19
  const EMAIL_RE = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
@@ -68,7 +71,7 @@ export function factKey(label, taken = []) {
68
71
  }
69
72
  return key;
70
73
  }
71
- /** Facts most projects have, by key; offered as empty rows to fill in (labels: `fact.<key>`). */
74
+ /** Facts most spaces have, by key; offered as empty rows to fill in (labels: `fact.<key>`). */
72
75
  export const BASIC_FACTS = [
73
76
  "adresse",
74
77
  "plz",
@@ -335,8 +338,8 @@ export function cleanAssetSections(sections, files) {
335
338
  return sections.map((s, i) => ({ ...s, assets: lists[i] }));
336
339
  }
337
340
  // --- files -----------------------------------------------------------------------
338
- export const PROJECT_FILE_KINDS = ["logo", "asset", "document", "pattern"];
339
- export const PROJECT_LIMITS = {
341
+ export const SPACE_FILE_KINDS = ["logo", "asset", "document", "pattern"];
342
+ export const SPACE_LIMITS = {
340
343
  facts: 100,
341
344
  colors: 32,
342
345
  fonts: 6,
@@ -345,6 +348,10 @@ export const PROJECT_LIMITS = {
345
348
  logoSections: 8,
346
349
  /** Rows of logo rules. */
347
350
  logoRules: 16,
351
+ /** Blocks of the brand's voice, and the words of one. */
352
+ voiceBlocks: 12,
353
+ voiceText: 2000,
354
+ links: 20,
348
355
  files: { logo: 24, asset: 100, document: 2000, pattern: 24 },
349
356
  gradients: 24,
350
357
  bytes: {
@@ -355,10 +362,10 @@ export const PROJECT_LIMITS = {
355
362
  pattern: 10_000_000,
356
363
  },
357
364
  };
358
- /** The largest file of a kind and type a project takes. */
359
- export function projectFileLimit(kind, mime) {
365
+ /** The largest file of a kind and type a space takes. */
366
+ export function spaceFileLimit(kind, mime) {
360
367
  if (kind === "asset" && mime.startsWith("video/")) {
361
- return PROJECT_LIMITS.bytes.video;
368
+ return SPACE_LIMITS.bytes.video;
362
369
  }
363
- return PROJECT_LIMITS.bytes[kind];
370
+ return SPACE_LIMITS.bytes[kind];
364
371
  }
@@ -45,12 +45,17 @@ export declare const STORE_LIMITS: {
45
45
  /** Kinds of accounts a wizard can ask the person to connect. */
46
46
  export declare const CONNECTION_KINDS: readonly ["mail"];
47
47
  export type ConnectionKind = (typeof CONNECTION_KINDS)[number];
48
- /** An account the person connects: a built-in kind, or one of the project's imported connectors. */
48
+ /** An account the person connects (a built-in kind, or one of the space's imported connectors), or a connection of the space. */
49
49
  export interface ConnectionDef {
50
50
  id: string;
51
51
  kind?: ConnectionKind;
52
- /** Id of an imported connector of the project. */
52
+ /** Id of an imported connector of the space. */
53
53
  connector?: string;
54
+ /**
55
+ * A connection of the space (set up by its admins), by id. The wizard holds no sign-in of its
56
+ * own then: the connection's audience and rules decide, and `policy` has no say.
57
+ */
58
+ spaceConnection?: string;
54
59
  /** Imported connectors: the actions steps may call. Default: every action that only reads. */
55
60
  actions?: string[];
56
61
  /**