@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
@@ -17,8 +17,13 @@
17
17
  "space",
18
18
  "cloud-sync",
19
19
  "together",
20
- "---Settings---",
20
+ "work-mode",
21
+ "---Capabilities---",
22
+ "capabilities",
23
+ "skills",
21
24
  "connectors",
25
+ "protocol",
26
+ "---Settings---",
22
27
  "models",
23
28
  "ai-apps",
24
29
  "plugins",
@@ -1,26 +1,34 @@
1
1
  ---
2
2
  title: Models and account
3
3
  description: What runs the AI in your wizards – an AI client on your computer, your own API keys, a local model or credits.
4
- version: 0.11.13
4
+ version: 0.12.2
5
5
  ---
6
6
 
7
7
  Settings → Models decides what runs the AI in your wizards. On your computer you set it up
8
- yourself. On engenty.ai you set it in the studio there.
8
+ yourself. On engenty.ai the organization’s admins set it in the studio there, for everyone in it.
9
9
 
10
- ## What the wizards can do
10
+ ## Overview
11
11
 
12
- The menu lists five capabilities under “Capabilities”. A dot beside each one shows how it runs:
13
- green on something of your own, amber on credits, hollow when nothing is set up.
12
+ The page opens on “Overview”. Its card says what everything “Runs with” – your subscription, your
13
+ own API key, a model on this computer or your engenty credits – and what it is “Helped by”. In the
14
+ cloud it names the organization’s plan and, on a plan with tiers, the [tier](#which-models).
14
15
 
15
- | Capability | Used for | Classes |
16
- |---|---|---|
17
- | Text & reasoning | Writing, research and decisions in the steps | Classifier, Low, Standard, High |
18
- | Images | Logos, product shots, illustrations | Image |
19
- | Videos | Short clips from text or an image | Video |
20
- | Voice | Reading text aloud | Speech |
21
- | Voice notes | Turning speech into text | Audio |
16
+ Below that, “Which model for what” lists each job with a dot for its state: green when it is
17
+ ready, amber when something is missing, hollow when the tier doesn’t offer it. The menu beside
18
+ the page has the same jobs in two groups:
19
+
20
+ | Group | Job | Used for | Classes |
21
+ |---|---|---|---|
22
+ | In the studio | Studio chat (Goose) | Goose and the chat in the editor that builds your wizards | Its own, see [Studio chat](#studio-chat-goose) |
23
+ | Agents & wizards | Text & reasoning | Writing, research, decisions and knowledge search in the steps | Classifier, Low, Standard, High |
24
+ | Agents & wizards | Images & video | Logos, product shots, illustrations, short clips | Image, Video |
25
+ | Agents & wizards | Voice | Reading text aloud, turning voice notes into text | Speech, Audio |
26
+
27
+ “Access” lists what engenty can use: Credits, AI apps, Local models and API keys, and in the cloud
28
+ Masking for the admins. On engenty.ai a member sees Credits and API keys; AI apps and local models
29
+ are the admins’ choice there.
22
30
 
23
- A capability’s page asks “Who does it?”:
31
+ A job’s page asks “Who does it?”:
24
32
 
25
33
  | Choice | What it is | Cost |
26
34
  |---|---|---|
@@ -28,14 +36,14 @@ A capability’s page asks “Who does it?”:
28
36
  | Your own API key | OpenAI, Anthropic, Google Gemini, fal.ai, ElevenLabs, Replicate or Vercel AI Gateway | The provider bills your key |
29
37
  | Apple Intelligence | The model on this Mac: short texts and decisions (Classifier, Standard) and voice notes. See [Apple Intelligence](#apple-intelligence) | Nothing |
30
38
  | Local model | [Ollama](https://ollama.com) on this computer: text, search and decisions. See [Local models](#local-models) | Nothing |
31
- | engenty credits | Your account’s credits. engenty chooses the model, or you choose one it offers (FLUX on fal, ElevenLabs voices, Veo …) | Credits |
39
+ | engenty credits | Your account’s credits. Auto picks the model, or you choose one it offers (FLUX on fal, ElevenLabs voices, Veo …) | Credits |
32
40
 
33
41
  Below that you choose the provider’s model, and “Try it” makes one real call: a short answer, a
34
42
  test image, a voice to hear, a 4-second clip or a transcript. A try costs the same as a real call.
35
43
 
36
44
  With an account, credits step in where you have nothing of your own set up – for example,
37
- videos without your own API key. The switch “Credits step in” on the page “engenty credits” turns
38
- that off. A capability with nothing of its own set up then doesn’t run.
45
+ videos without your own API key. The switch “Credits step in” on the page “Credits” turns that
46
+ off. A job with nothing of its own set up then doesn’t run.
39
47
 
40
48
  ## Local models
41
49
 
@@ -87,12 +95,15 @@ engenty wizards checks a key with its provider before it stores it. On your comp
87
95
  in the Keychain on a Mac and in an encrypted file in the data folder elsewhere. On engenty.ai
88
96
  they are kept encrypted for the organization. They are never in the database, and nobody sees them again.
89
97
 
90
- Under “Access” you find the credits, the AI clients on this computer and each provider you gave
91
- a key. The other providers are under “More providers”. A provider’s page holds its key, what it
92
- is used for, and which of its models run on credits without your own API key.
98
+ “API keys” under “Access” lists each key there is, masked to its prefix and last four characters (`sk-…a1b2`), with
99
+ where it comes from: kept in the studio, or an environment variable on this computer. The other
100
+ providers are under “More providers”. A provider’s page holds its key, what it is used for, and
101
+ which of its models run on credits without your own API key. What runs on a key costs no credits.
93
102
 
94
- On engenty.ai, your own API keys come with the Pro plan. Without them, runs use the organization’s
95
- credits.
103
+ On engenty.ai, own API keys need a plan that has them: from Pro. The tier doesn’t forbid them.
104
+ The admins choose whether the organization uses them, and then the provider handles the data
105
+ under your contract with it, not under the tier’s promises. Without own keys, runs use the
106
+ organization’s credits.
96
107
 
97
108
  Vercel refuses many models for an AI Gateway key on its free tier. The Models page and the check
98
109
  before a run say so, with a link to top up at Vercel.
@@ -109,7 +120,10 @@ before a run say so, with a link to top up at Vercel.
109
120
 
110
121
  ## Model per class
111
122
 
112
- A step names a class, never a model. For text, “Adjust per class” sets the model of each class.
123
+ A step names a class, never a model. In the editor you choose a step’s model by name: “Auto” (the
124
+ right one for each task) or a model of the list, with a hint such as “fast · low cost” or
125
+ “thorough”. The step keeps the class, with the model’s maker where you chose one, so it follows
126
+ when a newer model takes the class. For text, “Adjust per class” sets the model of each class.
113
127
  Under each class the page shows what its model needs at least, and warns when the chosen model
114
128
  lacks some of it:
115
129
 
@@ -137,17 +151,16 @@ a Knowledge search found. Jev is reached through an AI Gateway key, a TypeSafe k
137
151
  (`TYPESAFE_API_KEY` in the settings file), the Clef-flash model in Ollama on this computer, or
138
152
  your account. Without any of them, the Classifier class decides.
139
153
 
140
- ## Agent chat
154
+ ## Studio chat (Goose)
141
155
 
142
- Settings → Models has two groups. “In the studio” holds **Agent chat**: what answers Goose and the
143
- editor’s chat that builds your wizards. “In runs” holds what your wizards’ steps use: text,
144
- images, video, voice and voice notes.
156
+ “In the studio” holds **Studio chat (Goose)**: what answers Goose and the editor’s chat that builds
157
+ your wizards. “Agents & wizards” holds what your wizards’ steps use.
145
158
 
146
159
  | Choice | Means |
147
160
  |---|---|
148
161
  | Your subscription: Claude Code, Codex, Cursor Agent | The program on this computer answers, using your sign-in there. It works only through the tools of engenty wizards: it runs no commands and changes no files of its own |
149
162
  | Your own API key: OpenAI, Anthropic, Google Gemini, Vercel AI Gateway | A model of that provider answers, on your key |
150
- | engenty credits | The credits pay, through your account. engenty picks the models |
163
+ | engenty credits | The credits pay, through your account. Auto picks the models |
151
164
 
152
165
  The list shows each program that is installed and signed in. Without a choice, Claude Code answers
153
166
  where it is the source of your models, else the first way that is ready. With none ready, the chat
@@ -160,8 +173,69 @@ type any name.
160
173
 
161
174
  In a message box’s **+** menu, **Extra effort** switches the chat to the more capable model for the
162
175
  conversation. The editor chat starts with it on, Goose with it off. When Goose sees demanding work,
163
- it offers a button under its answer. In the cloud, the organization’s credits pay and engenty picks
164
- the models.
176
+ it offers a button under its answer.
177
+
178
+ In the cloud, the organization’s credits pay and Auto picks the models from the tier. Where the
179
+ admins allow it, members can answer the chat with their own subscription (“AI apps”: Claude Code,
180
+ Codex, Cursor) or a model on their computer (“Local models”: Ollama, Apple). These serve the
181
+ studio chat only; agents and wizards never run on them. What the chat reads then goes to the
182
+ subscription’s provider under its terms; a local model keeps it on the computer.
183
+
184
+ ## Which models
185
+
186
+ On engenty.ai, an organization on Pro or Team has a model tier. Its admins choose it under
187
+ “Which models”, and it applies to everyone in the organization, in the studio and in every agent
188
+ and wizard.
189
+
190
+ | Tier | What it promises | Plans |
191
+ |---|---|---|
192
+ | All models | The best models worldwide. Providers process data on their own terms | Pro, Team |
193
+ | EU data protection | Models in EU data centres. Providers store nothing and don’t train on what they get | Pro, Team |
194
+ | EU sovereign | EU companies and EU servers only, open models. Less choice | Team |
195
+
196
+ An organization that hasn’t picked a tier, and one on Free, runs on All models. A tier set by
197
+ contract shows “Your organization’s contract sets this.” The tier’s page lists what it promises
198
+ (“Runs in the EU”, “Providers keep no data”, “Never used for training”) and what each class runs
199
+ on. A class the tier doesn’t offer shows “Not offered”, and a step that needs it counts as missing
200
+ a model. Web search can be off on a tier; steps that search the
201
+ web then run without it.
202
+
203
+ Own API keys and members’ subscriptions are allowed on every tier, as the admins’ choice. The
204
+ page says where the data then goes: to that provider, under its own terms or your contract, not
205
+ under the tier’s promises. Apps that read a space over MCP stay off on a tier whose providers
206
+ keep no data.
207
+
208
+ The account’s billing pages show which models and providers the organization’s calls went to
209
+ and the sub-processors of each tier.
210
+
211
+ ## Model choice
212
+
213
+ “Model choice” sets how the admins share out the tier, for wizards, Goose and work chats. Running
214
+ work finishes as it started.
215
+
216
+ | Way | Means |
217
+ |---|---|
218
+ | Preselection | People choose from the tier’s preselection: Auto and a few models that fit best. New models join on their own |
219
+ | You set defaults | A default per task. People switch to any model in the tier, up to the effort you allow |
220
+ | Expert mode | The admins decide which models people choose from, separately for wizards, Goose and work chats, with the efforts they allow. New models join only when they approve them |
221
+
222
+ The model menus in the editor and in Goose’s message box offer what the way allows.
223
+
224
+ ## Masking
225
+
226
+ In an organization with a tier, the admins can switch on “Mask personal data”. Then names, email addresses, phone numbers, IBANs and IDs become
227
+ placeholders before a call leaves engenty, and come back in the answer. A placeholder stays the
228
+ same within a run, so the model can still tell people apart. Each call that had something to
229
+ mask costs credits on top.
230
+
231
+ Under “What else to mask” the admins say in a sentence what else to look for, such as “Mask our
232
+ clients’ names, internal code names and anything about employees’ health.” engenty turns it into
233
+ things to look for (“Looks for”), in every call of the organization. They can remove one or add
234
+ their own: in English, as a plain word for what the thing is (“company” finds more than “customer
235
+ name”). “Try a sentence” shows what the model would see.
236
+
237
+ Not masked yet: decisions answered by the decision model, knowledge search, voice (what is read
238
+ aloud and voice notes) and files sent as they are, such as images and PDFs.
165
239
 
166
240
  ## Account
167
241
 
@@ -186,7 +260,8 @@ They stop when the credits are used up, until you top up.
186
260
  While you are signed in, the studio uses the name and email of your account. Settings → Account
187
261
  shows them under “Profile”, and you can’t change them there. The avatar carries a small cloud.
188
262
  Its menu says “Connected to engenty.ai” and shows your credits, or says “Sign-in expired” when
189
- you need to sign in again.
263
+ you need to sign in again. In the studio on engenty.ai, Settings → General shows the
264
+ organization’s credits with its plan, and Settings → Credits their entries.
190
265
 
191
266
  Without an account, engenty wizards isn’t connected to anything. Your wizards, the space and its
192
267
  files stay on your computer.
@@ -0,0 +1,80 @@
1
+ ---
2
+ title: Audit
3
+ description: Every time a wizard, a chat or Goose used a connection of your space, allowed or not – what critical means, and how to try a rule before anything runs.
4
+ version: 0.13.0
5
+ ---
6
+
7
+ **[Capabilities](./capabilities.md) › Audit** shows every call your space’s wizards, Work chats and
8
+ Goose made to a connection. Each call is one line, whether it ran or not.
9
+ Only the owner and the admins of the organization see the audit. Members don’t find it in their menu.
10
+
11
+ ## What a line says
12
+
13
+ A line reads like a sentence:
14
+
15
+ - **Who** called: a guest at a wizard’s link, a person by name, an admin, Goose for a person, a
16
+ plugin, or a fixed step for a guest or a person.
17
+ - **What** they wanted: reading, writing, deleting or sending, and the connector’s name for the
18
+ action, such as “Create a contact”.
19
+ - **On which connection**, such as “HubSpot · Sales”.
20
+ - **Where**: in a run of a wizard, in a test run, in a Work chat or with Goose.
21
+ - **What came of it**: *done*, *refused* with the reason in words, or *waiting for the admins’
22
+ approval*.
23
+
24
+ A refused line has a red frame. A critical line has an orange one and the mark *critical*.
25
+
26
+ Click a line to see more: when exactly it happened and how long it took, which fields went in and
27
+ how big the input and the result were, and which rule decided. A line from a run also shows the
28
+ run’s grant: what the wizard allowed that run through this connection when the run started. The
29
+ buttons below lead to the run, the chat or the connection.
30
+
31
+ The audit never holds a password, a token, a key or a whole email. Of the input it keeps the names of
32
+ the fields, their sizes and one short value that is no secret.
33
+
34
+ ## Filters
35
+
36
+ Above the lines you choose:
37
+
38
+ - **All**, **Refused**, **Critical** or **Waiting for approval**;
39
+ - who called: guests, members, admins, Goose, plugins or fixed steps;
40
+ - one connection;
41
+ - a time range, from the last hour to all time;
42
+ - a search. It finds a person’s name, a connection’s, a wizard’s, an action, a reason and the
43
+ short value of the input.
44
+
45
+ The newest lines come first. “Load more” shows older ones.
46
+
47
+ ## Critical
48
+
49
+ A line is critical when someone should hear of it:
50
+
51
+ - a write, a delete or a send was refused;
52
+ - a guest’s run reached a connection that is only for members or admins;
53
+ - a run asked for a host the wizard doesn’t allow;
54
+ - a limit was reached, such as the emails a guest’s run may send;
55
+ - a sign-in ran out or the service refused it;
56
+ - a connection was used for the first time;
57
+ - someone changed a rule.
58
+
59
+ The admins hear of a critical line at once, under the bell in Work. Where no admin was in the app,
60
+ they get one email an hour with the critical lines since the last one. The bell icon beside the
61
+ audit’s title, or **Settings › Notifications**, lets an admin turn the bell and the hourly email off
62
+ or on for the space.
63
+
64
+ ## Who may do what?
65
+
66
+ Rules are easier to understand when you can try them. **Who may do what?**, the button beside the
67
+ audit’s title, answers a question before anything runs, for example “May Julia send an email in this space?”.
68
+
69
+ 1. Choose **who**: a person of your organization, a guest, Goose, or a fixed step in a guest’s or
70
+ a member’s run.
71
+ 2. Choose the **connection** and the **action**.
72
+ 3. Choose **where**: in a run or in a Work chat.
73
+
74
+ The answer is one sentence:
75
+
76
+ - “Julia may send in Gmail · Orders – once the admins approve.”
77
+ - “A guest may not read in HubSpot · Sales – the connection is for members only.”
78
+
79
+ Below it you see which rule decided, and “Change the rules” opens the connection. The answer comes from the
80
+ same rules that decide every real call, and nothing runs or lands in the audit.
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  title: Skills
3
3
  description: Instructions your wizards work by – always, or when a wizard needs one. Add them from skills.sh, upload them or write your own.
4
- version: 0.11.6
4
+ version: 0.13.0
5
5
  ---
6
6
 
7
7
  A skill is a set of instructions your wizards work by: how you write, what a quote must hold, how
8
- to handle a PDF. You find them under **Sources › Skills**. Skills are not switched on for
9
- everyone yet.
8
+ to handle a PDF. You find them under **[Capabilities](./capabilities.md) › Skills** in the app bar,
9
+ after Resources.
10
10
 
11
11
  A skill is a folder in the open Agent Skills format: a `SKILL.md` with a name, a description and
12
12
  the instructions, and any text files the instructions point to. The same skill works in Claude,
@@ -25,7 +25,8 @@ Each skill has one of three settings:
25
25
  - **Off.** The skill stays in the space, and no wizard sees it.
26
26
 
27
27
  A wizard reads a file of a skill when the skill’s instructions point to it. Goose sees the
28
- space’s skills too and reads them when they help.
28
+ space’s skills too and reads them when they help, and so does the space’s AI in a Work chat. In a
29
+ Work chat a skill’s scripts run too, once you switched them on for the skill.
29
30
 
30
31
  ## Add a skill
31
32
 
@@ -46,6 +47,9 @@ such as fonts, templates or pictures, come along for the skill’s scripts, and
46
47
  as “for scripts”. skills.sh hands out text files only, so a skill that needs fonts or templates
47
48
  comes as a zip upload.
48
49
 
50
+ The **Discover** tab of Capabilities › Overview searches skills.sh and integrations.sh at once: you view or add a
51
+ skill right in the results, marked “In this space” once the space has it.
52
+
49
53
  ## Run a skill’s scripts
50
54
 
51
55
  Some skills bring scripts in Python or JavaScript, such as one that fills a PDF form. A script
@@ -10,16 +10,17 @@ wizard never has to ask for your company’s name or address.
10
10
  The app bar holds its places, below the space’s tile in its corner:
11
11
 
12
12
  - The house opens the space’s wizards: the list and “New wizard”.
13
- - The layers below it open the space’s sources (“Sources”): what your wizards know.
13
+ - The layers below it open the space’s resources (“Resources”): what your wizards know.
14
14
  - The tray below them opens the space’s results.
15
15
 
16
16
  On a phone the bar floats along the bottom with the house, the layers and “More” (⋯), which
17
17
  holds the results, the settings and the rest. The space’s tile and name sit at the top left, your
18
18
  picture at the top right.
19
19
 
20
- On Sources, the menu on the left shows its four parts. A part opens its own sections,
21
- and the arrow at the top leads back. On a phone, the parts, a part’s sections and the page take
22
- turns.
20
+ On Resources, the menu on the left starts with the Overview: each of the four parts with what it
21
+ is for and how far it is filled, Goose on top. Then the parts themselves. Where a part lists
22
+ things of its own (Knowledge’s categories, Data’s tables), it opens its menu under the other parts,
23
+ with a search (⌘F). On a phone, the parts, a part’s menu and the page take turns.
23
24
 
24
25
  Results have no menu: the list above them picks one wizard or all of them.
25
26
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Working together
3
- description: How the studio shows what others change while you work, merges it with what you type, and shows who else is in a wizard, page or table.
4
- version: 0.10.0
3
+ description: How the studio shows what others change while you work, merges it with what you type, shows who else is in a wizard, page or table, where an organization’s settings are, and who may use the studio.
4
+ version: 0.13.0
5
5
  ---
6
6
 
7
7
  The studio shows changes made elsewhere as they happen. You don’t reload anything. That holds
@@ -49,6 +49,33 @@ An app over MCP learns who else is in a wizard when it reads or changes it. When
49
49
  the same wizard, the app hears that their editor merges its change, and it tells you before
50
50
  larger changes.
51
51
 
52
+ ## Your organization
53
+
54
+ On engenty.ai the settings start with the organization’s:
55
+
56
+ | Page | What it holds |
57
+ |---|---|
58
+ | General | The organization’s name; its plan with what is in use (Spaces, Members, Credits left, Models: the [tier](./models.md#which-models) and the tiers the plan offers), and “Change plan” for owners and admins; its address, where the studio and the published wizards live |
59
+ | Members | Who is in it and who is invited, with their roles. Owners and admins change roles and remove people; owners invite, and on Team admins too. “Leave the organization” is here too, while someone else is in it |
60
+ | Credits, Usage, Invoices | The balance and its entries, what was spent, the bills |
61
+
62
+ The person who made the organization can change its address once, in its first 14 days. The
63
+ studio moves with it.
64
+
65
+ ### Members in the studio
66
+
67
+ Admins decide for each space whether its members may use the studio: in the space’s info, with
68
+ “Members can use the studio”. The rule counts for every member, not for one person.
69
+
70
+ With it on, members build and test wizards in that space. They add and change skills, knowledge
71
+ and data, and use the connections open to them. Admins still publish wizards and share them
72
+ outside the space, set up connections and change their rules. Approvals go to the admins, and only
73
+ they see the [Audit](./protocol.md). With it off, members work in Work and run the space’s wizards
74
+ there.
75
+
76
+ A new space starts with the studio closed to members. [Capabilities](./capabilities.md#who-sees-capabilities)
77
+ has a table of what each role sees.
78
+
52
79
  ## Switch it off
53
80
 
54
81
  To turn live changes off on your computer, add this line to `~/.engenty/wizards/.features`:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Troubleshooting
3
3
  description: What to do when a link no longer works, a client shows as not signed in, or an export fails.
4
- version: 0.11.2
4
+ version: 0.13.0
5
5
  ---
6
6
 
7
7
  `wizards doctor` checks engenty wizards on your computer and says what is wrong. Start there.
@@ -43,7 +43,7 @@ version: 0.11.2
43
43
  | “This wizard doesn’t exist or was deleted.” | It is not published, or its link was replaced by a new one |
44
44
  | Others can’t open the link | engenty wizards on your computer answers on `localhost` only. See [who can open the link](./test-and-share.md#who-can-open-the-link) |
45
45
  | The camera, microphone or location doesn’t work | Allow it in the browser’s site settings (the lock icon in the address bar) |
46
- | A built-in connector is missing from Settings → Connectors | It needs an OAuth client in the settings file. See [Connectors](./connectors.md) |
46
+ | A built-in connector is missing from Capabilities › Connectors | It needs an OAuth client in the settings file. See [Connectors](./connectors.md) |
47
47
  | A step stops at a plugin’s tool | That plugin is not installed here. See [Plugins](./plugins.md) |
48
48
 
49
49
  ## Updating
@@ -0,0 +1,128 @@
1
+ ---
2
+ title: Work mode
3
+ description: Chats with your space’s AI and with each other – the Studio · Work · Client switch, what the AI may use in a chat, approvals, and what Client shows.
4
+ version: 0.13.0
5
+ ---
6
+
7
+ Work mode is where your team works with the space: you write in chats, and the space’s AI
8
+ answers with what the space knows. Studio stays where you build wizards.
9
+
10
+ Work mode is not on for everyone yet. In the cloud, engenty switches it on for an organization. On
11
+ your computer you add this line to `~/.engenty/wizards/.features`:
12
+
13
+ ```bash
14
+ workMode=on
15
+ ```
16
+
17
+ Without it, the studio looks as before: Studio alone, with no switch.
18
+
19
+ Client comes with the public page, so it shows only where `pages=on` is set as well. Work’s
20
+ places past the chats aren’t finished. They show with `workWip=on`.
21
+
22
+ ## Studio, Work and Client
23
+
24
+ The switch sits in the app bar, right under the space. On a phone it sits in the top bar. The
25
+ engenty in the bar’s corner shows the mode you are in: green for Studio, blue for Work, violet
26
+ for Client.
27
+
28
+ | Mode | For | What it holds |
29
+ |---|---|---|
30
+ | **Studio** | The people who build | Wizards, Resources, Capabilities and the settings, as before |
31
+ | **Work** | Everyone in the organization | Chats with the space’s AI, and what waits for you |
32
+ | **Client** | A look at what your clients see | Nothing yet. “This view comes soon.” |
33
+
34
+ ![Studio, Work and Client all look at the same space](../../assets/diagrams/work-modes.svg)
35
+
36
+ The owner and the admins see all three. A member sees Work and Client. Where the space’s admins
37
+ switched on **Members can use the studio**, members get Studio as well
38
+ ([Capabilities](./capabilities.md#who-sees-capabilities)). A member who opens a Studio address of
39
+ a space that doesn’t let them in lands in Work. The studio remembers your mode in this browser.
40
+
41
+ ## Work’s places
42
+
43
+ Work’s app bar has Chats. With `workWip=on` it also has Engenties, Files, Data, Results and
44
+ **Waiting for you**. Engenties,
45
+ Files, Data and Results show nothing yet. You reach the space’s files from a chat.
46
+
47
+ **Start**, at the top of the chats, greets you and shows:
48
+
49
+ - **Needs you**: calls waiting for your approval, and chats with something new.
50
+ - **Running now**: chats in which the space’s AI is answering.
51
+ - **Wizards**: a few of the space’s published wizards. A click opens one in its own chat, in a
52
+ new tab, where it runs. Work’s chats don’t run wizards yet.
53
+ - **Recent**: the chats of late.
54
+ - A field to ask the space’s AI. It starts a new chat.
55
+
56
+ ## Chats
57
+
58
+ The sidebar holds a new chat, the search, your pinned chats, the sections, and the chats in no
59
+ section. A chat’s sub-threads sit beneath it. From a chat’s row you pin it, archive it, mark it
60
+ read or unread, rename it, move it to a section (or drag it there) and delete it. The filter shows
61
+ archived chats or unread ones only.
62
+
63
+ A chat is open to everyone in the organization, who joins it by writing in it. A **private** chat
64
+ is seen by its members only.
65
+
66
+ ## Ask the space’s AI
67
+
68
+ The space’s AI answers under the space’s name. It runs on the same models as the studio’s chat:
69
+ in the cloud on the organization’s models, on your computer on the way you chose under
70
+ [Studio chat](./models.md#studio-chat-goose).
71
+
72
+ - Alone in a chat with the AI, every message asks it.
73
+ - With more people in the chat, **Ask {space}** above the message box or a message that starts
74
+ with `@` asks it. Other messages are for the people.
75
+ - A message you send while the AI answers goes into the answer under way. ⌘↩ (Ctrl+↩ on Windows
76
+ and Linux) sends it for after the answer instead.
77
+ - **Stop** ends the answer. Your message stays in the chat.
78
+
79
+ In the message box’s **+** menu you choose files from the space, switch web search off, leave
80
+ out a plugin’s tools, and open one of the space’s wizards. The model menu beside it switches to
81
+ the more capable model for the chat. You add up to 10 files to a message. The AI reads pictures
82
+ and PDFs itself, and each file you add lands in the space’s files.
83
+
84
+ An answer may take up to 16 steps and 20 minutes. Under it you see what the AI did: what it
85
+ searched in the space and on the web, which skill it read, which commands it ran. **Details**
86
+ opens each step with its input and its result. Where a table or a form says more than text, the
87
+ AI draws one in the chat. Anyone in the chat may fill in and send a form the AI drew.
88
+
89
+ ## What the AI may use
90
+
91
+ | | In a chat |
92
+ |---|---|
93
+ | The space’s knowledge | It searches and reads it |
94
+ | [Skills](./skills.md) | It sees the space’s skills and reads one when it helps |
95
+ | A computer of its own | It runs commands and the scripts of skills that may run them ([Run a skill’s scripts](./skills.md#run-a-skills-scripts)) |
96
+ | [Connections](./capabilities.md#connectors) | The ones open to you. Where each person signs in, only the ones you signed in to |
97
+ | Plugins’ tools | Unless you left them out for the chat |
98
+ | The web | Unless you switched web search off |
99
+
100
+ The computer is a sandbox for this chat alone. It starts with the AI’s first command and keeps its
101
+ files while the chat is in use, so a file one answer writes is there for the next. After 30
102
+ minutes without a command it goes, and its files with it. Where your computer has no sandbox, the
103
+ AI runs no commands and reads scripts as text. [`wizards sandbox add`](./command-line.md) adds
104
+ one.
105
+
106
+ ## Approvals
107
+
108
+ Reading and searching run without asking. A call that acts outside the space, such as sending a
109
+ mail, changing a record or deleting, waits for approval. The chat shows a card with **Approve**
110
+ and **Deny**, and the AI goes on with its answer.
111
+
112
+ | Who decides | When |
113
+ |---|---|
114
+ | The person who asked, the owner or an admin | A change through a connection, or a plugin’s tool that acts outside the space |
115
+ | The owner or an admin alone | A connection that signs in as the space, where the rule is With approval |
116
+
117
+ An approved call runs once, with the arguments it waited with, and the AI hears how it went. A
118
+ denied call doesn’t run.
119
+
120
+ ![You ask the space’s AI to send an offer, it shows a card, you approve, and it sends once](../../assets/diagrams/work-approval.svg)
121
+
122
+ **Waiting for you** lists the calls waiting for your approval, each leading to its chat. For the
123
+ owner and the admins it also shows the critical lines of the space’s [Audit](./protocol.md), such
124
+ as a refused change or a connection used for the first time. Opening it marks them seen.
125
+
126
+ ## Client
127
+
128
+ Client is where you will see the space as your clients see it. It shows a placeholder for now.
@@ -1,6 +1,7 @@
1
1
  import { decryptToken, defineConnector, } from "../shims/connections-sdk.js";
2
2
  import { z } from "zod";
3
3
  import { headersFromRequired } from "./import-service.js";
4
+ import { groupOf } from "./importer/classify.js";
4
5
  import { executeHttpAction } from "./invoke/http-invoker.js";
5
6
  import { mcpCallTool } from "./invoke/mcp-client.js";
6
7
  import { connectionsRedirectUri, registerDynamicClient } from "./oauth-dcr.js";
@@ -47,11 +48,7 @@ function buildAction(record, action, live) {
47
48
  if (!inputSchema) {
48
49
  return null;
49
50
  }
50
- const group = action.classification === "read"
51
- ? "read"
52
- : action.classification === "destructive"
53
- ? "destructive"
54
- : "write";
51
+ const group = groupOf(action);
55
52
  return {
56
53
  description: action.description.slice(0, 1024),
57
54
  group,
@@ -32,3 +32,75 @@ export function classifyMcpTool(annotations) {
32
32
  }
33
33
  return "write";
34
34
  }
35
+ /** Words that say an action sends something to other people. */
36
+ const SEND_WORDS = new Set([
37
+ "send",
38
+ "sends",
39
+ "mail",
40
+ "mails",
41
+ "email",
42
+ "emails",
43
+ "message",
44
+ "messages",
45
+ "post",
46
+ "posts",
47
+ "notify",
48
+ "notification",
49
+ "notifications",
50
+ "reply",
51
+ "forward",
52
+ "sms",
53
+ ]);
54
+ /** Words that say it does not: a draft is kept, an edit or a delete is its own kind. */
55
+ const NOT_SEND_WORDS = new Set([
56
+ "draft",
57
+ "drafts",
58
+ "update",
59
+ "edit",
60
+ "delete",
61
+ "remove",
62
+ "destroy",
63
+ "purge",
64
+ "revoke",
65
+ "trash",
66
+ "archive",
67
+ "settings",
68
+ ]);
69
+ /** The words of an id or summary: `sendEmail`, `send_email`, "Send an e-mail" alike. */
70
+ function wordsOf(text) {
71
+ return text
72
+ .replace(/([a-z0-9])([A-Z])/gu, "$1 $2")
73
+ .replace(/e-mail/giu, "email")
74
+ .toLowerCase()
75
+ .split(/[^a-z0-9]+/u)
76
+ .filter(Boolean);
77
+ }
78
+ /**
79
+ * The group an imported action runs under. Neither an OpenAPI spec nor an MCP server says that
80
+ * an action sends something, so until the registry carries a group this is a guess by name: an
81
+ * action that is no read, whose id or summary says send, mail, message, post or notify (and not
82
+ * draft, update or delete), is a `send`. The HTTP method an OpenAPI action's id or summary
83
+ * starts with (`post_users`, "POST /users") is no word of the action's. Everything else keeps
84
+ * its classification.
85
+ */
86
+ export function groupOf(action) {
87
+ if (action.classification === "read" || action.classification === "send") {
88
+ return action.classification;
89
+ }
90
+ const id = wordsOf(action.id);
91
+ const summary = wordsOf(action.summary);
92
+ if (action.invoke.kind === "http") {
93
+ const method = action.invoke.method.toLowerCase();
94
+ if (id[0] === method) {
95
+ id.shift();
96
+ }
97
+ if (summary[0] === method) {
98
+ summary.shift();
99
+ }
100
+ }
101
+ const words = [...id, ...summary];
102
+ if (words.some((w) => NOT_SEND_WORDS.has(w))) {
103
+ return action.classification;
104
+ }
105
+ return words.some((w) => SEND_WORDS.has(w)) ? "send" : action.classification;
106
+ }