@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.
- package/apps/runtime/dist/agents/architect.js +8 -7
- package/apps/runtime/dist/agents/goose-connections.js +82 -0
- package/apps/runtime/dist/agents/space-agent.js +9 -2
- package/apps/runtime/dist/agents/studio-assistant.js +126 -71
- package/apps/runtime/dist/agents/website.js +1 -1
- package/apps/runtime/dist/app.js +28 -3
- package/apps/runtime/dist/assistant/knows.js +6 -5
- package/apps/runtime/dist/authoring/guide.js +25 -5
- package/apps/runtime/dist/broker/account.js +166 -0
- package/apps/runtime/dist/broker/call.js +417 -0
- package/apps/runtime/dist/broker/caller.js +10 -0
- package/apps/runtime/dist/broker/grant.js +152 -0
- package/apps/runtime/dist/broker/host.js +51 -0
- package/apps/runtime/dist/broker/index.js +8 -0
- package/apps/runtime/dist/broker/kept.js +31 -0
- package/apps/runtime/dist/broker/log.js +240 -0
- package/apps/runtime/dist/broker/registry.js +9 -0
- package/apps/runtime/dist/broker/rwx.js +367 -0
- package/apps/runtime/dist/broker/send.js +189 -0
- package/apps/runtime/dist/connectors/builtin.js +1 -1
- package/apps/runtime/dist/connectors/external.js +38 -37
- package/apps/runtime/dist/connectors/index.js +30 -91
- package/apps/runtime/dist/connectors/mail.js +0 -8
- package/apps/runtime/dist/connectors/person-sign-ins.js +73 -0
- package/apps/runtime/dist/connectors/plugin-connections.js +65 -92
- package/apps/runtime/dist/connectors/smtp.js +1 -1
- package/apps/runtime/dist/connectors/space-connections.js +436 -0
- package/apps/runtime/dist/credits/estimate.js +3 -3
- package/apps/runtime/dist/db/adopt.js +3 -3
- package/apps/runtime/dist/db/client.js +9 -0
- package/apps/runtime/dist/db/live-triggers.js +65 -23
- package/apps/runtime/dist/db/migrations/tenant/0027_work_chats.sql +52 -0
- package/apps/runtime/dist/db/migrations/tenant/0028_chat_approvals.sql +17 -0
- package/apps/runtime/dist/db/migrations/tenant/0029_work_chats_live.sql +49 -0
- package/apps/runtime/dist/db/migrations/tenant/0031_space.sql +624 -0
- package/apps/runtime/dist/db/migrations/tenant/0032_rwx_rule.sql +18 -0
- package/apps/runtime/dist/db/migrations/tenant/0033_broker_log.sql +23 -0
- package/apps/runtime/dist/db/migrations/tenant/0034_space_connection.sql +35 -0
- package/apps/runtime/dist/db/migrations/tenant/0035_run_grant.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0036_approval_held_for.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0037_ways_out.sql +5 -0
- package/apps/runtime/dist/db/migrations/tenant/0038_heard.sql +11 -0
- package/apps/runtime/dist/db/migrations/tenant/0039_members_studio.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0027_snapshot.json +383 -155
- package/apps/runtime/dist/db/migrations/tenant/meta/0028_snapshot.json +4468 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0029_snapshot.json +4475 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0030_snapshot.json +4629 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0031_snapshot.json +4629 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0032_snapshot.json +4757 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0033_snapshot.json +5039 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0034_snapshot.json +5022 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0035_snapshot.json +5029 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0036_snapshot.json +5037 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0037_snapshot.json +5076 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0038_snapshot.json +5145 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0039_snapshot.json +5153 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +86 -2
- package/apps/runtime/dist/db/schema.js +295 -72
- package/apps/runtime/dist/docs/dev/architecture.md +215 -0
- package/apps/runtime/dist/docs/dev/broker.md +298 -0
- package/apps/runtime/dist/docs/dev/index.md +5 -1
- package/apps/runtime/dist/docs/dev/integration/index.md +2 -0
- package/apps/runtime/dist/docs/dev/meta.json +3 -0
- package/apps/runtime/dist/docs/dev/plugins/connections.md +8 -5
- package/apps/runtime/dist/docs/dev/plugins/events.md +1 -1
- package/apps/runtime/dist/docs/dev/plugins/examples.md +1 -0
- package/apps/runtime/dist/docs/dev/plugins/index.md +2 -2
- package/apps/runtime/dist/docs/dev/plugins/reference.md +3 -2
- package/apps/runtime/dist/docs/dev/plugins/space.md +16 -6
- package/apps/runtime/dist/docs/dev/plugins/studio.md +2 -2
- package/apps/runtime/dist/docs/dev/plugins/tools.md +0 -1
- package/apps/runtime/dist/docs/dev/skills.md +16 -9
- package/apps/runtime/dist/docs/dev/wizard-format/agent-steps.md +59 -6
- package/apps/runtime/dist/docs/dev/wizard-format/lists-and-connections.md +17 -2
- package/apps/runtime/dist/docs/dev/wizard-format/templates.md +2 -0
- package/apps/runtime/dist/docs/dev/wizard-format/views-and-widgets.md +22 -2
- package/apps/runtime/dist/docs/user-guide/capabilities.md +132 -0
- package/apps/runtime/dist/docs/user-guide/cloud-sync.md +2 -0
- package/apps/runtime/dist/docs/user-guide/command-line.md +1 -0
- package/apps/runtime/dist/docs/user-guide/connectors.md +63 -7
- package/apps/runtime/dist/docs/user-guide/index.md +10 -1
- package/apps/runtime/dist/docs/user-guide/meta.json +6 -1
- package/apps/runtime/dist/docs/user-guide/models.md +105 -30
- package/apps/runtime/dist/docs/user-guide/protocol.md +80 -0
- package/apps/runtime/dist/docs/user-guide/skills.md +8 -4
- package/apps/runtime/dist/docs/user-guide/space.md +5 -4
- package/apps/runtime/dist/docs/user-guide/together.md +29 -2
- package/apps/runtime/dist/docs/user-guide/troubleshooting.md +2 -2
- package/apps/runtime/dist/docs/user-guide/work-mode.md +128 -0
- package/apps/runtime/dist/engenty/connections-external/build-connector.js +2 -5
- package/apps/runtime/dist/engenty/connections-external/importer/classify.js +72 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +1 -1
- package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +3 -2
- package/apps/runtime/dist/engenty/connections-sdk/types.js +2 -0
- package/apps/runtime/dist/engenty/connections-slack/connector.js +2 -1
- package/apps/runtime/dist/engine/decide.js +1 -1
- package/apps/runtime/dist/engine/requirements.js +139 -11
- package/apps/runtime/dist/engine/resources.js +43 -12
- package/apps/runtime/dist/engine/runner.js +121 -27
- package/apps/runtime/dist/engine/steps.js +42 -16
- package/apps/runtime/dist/engine/template.js +35 -1
- package/apps/runtime/dist/env.js +9 -4
- package/apps/runtime/dist/index.js +18 -2
- package/apps/runtime/dist/link-preview.js +9 -0
- package/apps/runtime/dist/live/feed.js +2 -2
- package/apps/runtime/dist/live/origin.js +2 -2
- package/apps/runtime/dist/live/views.js +51 -26
- package/apps/runtime/dist/manage.js +32 -0
- package/apps/runtime/dist/mcp/flow-app.js +1 -1
- package/apps/runtime/dist/mcp/handler.js +55 -1
- package/apps/runtime/dist/mcp/seen.js +47 -0
- package/apps/runtime/dist/mcp/tools.js +75 -34
- package/apps/runtime/dist/models.js +203 -12
- package/apps/runtime/dist/motion-graphics/project.js +8 -8
- package/apps/runtime/dist/motion-graphics/step.js +2 -2
- package/apps/runtime/dist/motion-graphics/tools.js +1 -1
- package/apps/runtime/dist/plugins/events.js +2 -2
- package/apps/runtime/dist/plugins/jobs.js +4 -1
- package/apps/runtime/dist/plugins/loader.js +2 -2
- package/apps/runtime/dist/prompts/architect.md +3 -3
- package/apps/runtime/dist/prompts/authoring.md +46 -12
- package/apps/runtime/dist/prompts/goose.md +14 -13
- package/apps/runtime/dist/prompts/mcp.md +6 -6
- package/apps/runtime/dist/prompts/safety.md +18 -0
- package/apps/runtime/dist/prompts/services.md +4 -4
- package/apps/runtime/dist/prompts/step.md +3 -3
- package/apps/runtime/dist/prompts/tools.md +39 -10
- package/apps/runtime/dist/routes/api.js +31 -20
- package/apps/runtime/dist/routes/broker.js +316 -0
- package/apps/runtime/dist/routes/connections.js +71 -0
- package/apps/runtime/dist/routes/delivery.js +25 -0
- package/apps/runtime/dist/routes/discover.js +17 -0
- package/apps/runtime/dist/routes/live.js +11 -1
- package/apps/runtime/dist/routes/marketplace.js +3 -3
- package/apps/runtime/dist/routes/person.js +4 -1
- package/apps/runtime/dist/routes/plugins.js +3 -1
- package/apps/runtime/dist/routes/rules.js +26 -0
- package/apps/runtime/dist/routes/runs.js +59 -33
- package/apps/runtime/dist/routes/skills.js +6 -6
- package/apps/runtime/dist/routes/studio.js +256 -148
- package/apps/runtime/dist/routes/work.js +199 -0
- package/apps/runtime/dist/safety.js +60 -18
- package/apps/runtime/dist/sandbox/index.js +27 -0
- package/apps/runtime/dist/services/access.js +38 -17
- package/apps/runtime/dist/services/api.js +38 -13
- package/apps/runtime/dist/services/architect.js +3 -3
- package/apps/runtime/dist/services/assistant-chats.js +9 -1
- package/apps/runtime/dist/services/brand.js +12 -12
- package/apps/runtime/dist/services/broker-bell.js +69 -0
- package/apps/runtime/dist/services/broker-notify.js +127 -0
- package/apps/runtime/dist/services/client-steps.js +79 -0
- package/apps/runtime/dist/services/cloud.js +42 -42
- package/apps/runtime/dist/services/command-risk.js +51 -0
- package/apps/runtime/dist/services/discover.js +85 -0
- package/apps/runtime/dist/services/knowledge-model.js +13 -13
- package/apps/runtime/dist/services/knowledge.js +117 -80
- package/apps/runtime/dist/services/manage-reports.js +77 -7
- package/apps/runtime/dist/services/marketplace.js +7 -31
- package/apps/runtime/dist/services/members-studio.js +165 -0
- package/apps/runtime/dist/services/onboarding.js +22 -22
- package/apps/runtime/dist/services/package-file.js +1 -1
- package/apps/runtime/dist/services/package.js +22 -22
- package/apps/runtime/dist/services/pages.js +13 -9
- package/apps/runtime/dist/services/runs.js +4 -3
- package/apps/runtime/dist/services/seen.js +55 -0
- package/apps/runtime/dist/services/shares.js +28 -13
- package/apps/runtime/dist/services/site.js +23 -23
- package/apps/runtime/dist/services/skills-registry.js +15 -15
- package/apps/runtime/dist/services/skills.js +44 -44
- package/apps/runtime/dist/services/space-categories.js +35 -35
- package/apps/runtime/dist/services/space-data.js +130 -111
- package/apps/runtime/dist/services/{project-files.js → space-files.js} +84 -75
- package/apps/runtime/dist/services/{project-index.js → space-index.js} +116 -73
- package/apps/runtime/dist/services/space-origin.js +19 -11
- package/apps/runtime/dist/services/spaces.js +478 -598
- package/apps/runtime/dist/services/synced-spaces.js +668 -0
- package/apps/runtime/dist/services/themes.js +15 -15
- package/apps/runtime/dist/services/widgets.js +6 -6
- package/apps/runtime/dist/services/wizards.js +112 -38
- package/apps/runtime/dist/services/work-ai.js +257 -0
- package/apps/runtime/dist/services/work-approvals.js +104 -0
- package/apps/runtime/dist/services/work-chats.js +908 -0
- package/apps/runtime/dist/services/work-connections.js +90 -0
- package/apps/runtime/dist/services/work-files.js +85 -0
- package/apps/runtime/dist/services/work-mastra.js +73 -0
- package/apps/runtime/dist/services/work-sandbox.js +42 -0
- package/apps/runtime/dist/sharing/files.js +14 -4
- package/apps/runtime/dist/sharing/index.js +40 -39
- package/apps/runtime/dist/sharing/jobs.js +67 -17
- package/apps/runtime/dist/sharing/targets/connector.js +10 -6
- package/apps/runtime/dist/sharing/targets/email.js +10 -8
- package/apps/runtime/dist/sharing/targets/slack.js +10 -8
- package/apps/runtime/dist/sharing/targets/storage.js +6 -4
- package/apps/runtime/dist/store/index.js +14 -3
- package/apps/runtime/dist/store/shared-lists.js +4 -2
- package/apps/runtime/dist/sync/apply.js +2 -2
- package/apps/runtime/dist/sync/client.js +113 -113
- package/apps/runtime/dist/sync/hub.js +41 -41
- package/apps/runtime/dist/sync/log.js +12 -12
- package/apps/runtime/dist/sync/records.js +118 -120
- package/apps/runtime/dist/texts.js +44 -2
- package/apps/runtime/dist/tools/connections.js +112 -0
- package/apps/runtime/dist/tools/connector.js +157 -67
- package/apps/runtime/dist/tools/index.js +31 -15
- package/apps/runtime/dist/tools/mail.js +40 -11
- package/apps/runtime/dist/tools/pages.js +11 -5
- package/apps/runtime/dist/tools/plugin.js +43 -7
- package/apps/runtime/dist/tools/skills.js +1 -1
- package/apps/runtime/dist/tools/{project.js → space.js} +30 -25
- package/apps/runtime/dist/tools/store.js +3 -2
- package/apps/runtime/dist/widgets/step.js +10 -10
- package/apps/web/dist/assets/AboutDialog-DgfeipUc.js +1 -0
- package/apps/web/dist/assets/CapabilitiesPage-BoYJvgIu.js +2 -0
- package/apps/web/dist/assets/{ChangelogDialog-CKLgFL6r.js → ChangelogDialog-Duab4zTO.js} +1 -1
- package/apps/web/dist/assets/{CodeEditor-B3nto_26.js → CodeEditor-nxoOt8ge.js} +1 -1
- package/apps/web/dist/assets/EditorPage-ZrgGpYMC.js +3 -0
- package/apps/web/dist/assets/{FlowPreview-zJCtixSi.js → FlowPreview-aMfwcPul.js} +1 -1
- package/apps/web/dist/assets/LangSwitch-DpD0inR4.js +1 -0
- package/apps/web/dist/assets/Marketplace-CpzD9pNQ.js +2 -0
- package/apps/web/dist/assets/NewWizardChannels-IB18afWN.js +1 -0
- package/apps/web/dist/assets/NewWizardPage-rYbcmPGG.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-ztHT01ah.js +1 -0
- package/apps/web/dist/assets/PreviewPane-DviWTLfi.js +9 -0
- package/apps/web/dist/assets/PublicRunner-C2geZhhM.js +1 -0
- package/apps/web/dist/assets/ReadOnly-kSb_Kbdm.js +1 -0
- package/apps/web/dist/assets/SettingsPage-DM2h8N0J.js +2 -0
- package/apps/web/dist/assets/SetupPage-Wfyz6xH4.js +1 -0
- package/apps/web/dist/assets/SharePage-CyWQorWB.js +1 -0
- package/apps/web/dist/assets/SkillEditor-CqQMg2MC.js +1 -0
- package/apps/web/dist/assets/Skills-CnhpgoOA.js +9 -0
- package/apps/web/dist/assets/SpacePage-q4Bk3N7k.js +2 -0
- package/apps/web/dist/assets/UpdateCheck-C2CE6CC3.js +2 -0
- package/apps/web/dist/assets/changelog-B6hN1Cp7.js +1 -0
- package/apps/web/dist/assets/circle-alert-C8Ma-bPY.js +1 -0
- package/apps/web/dist/assets/circle-check-Bu9Z3mlJ.js +1 -0
- package/apps/web/dist/assets/code-editor-CfTGqOpp.js +2 -0
- package/apps/web/dist/assets/{code-xml-Hx7YxCg0.js → code-xml-B4kLFZSj.js} +1 -1
- package/apps/web/dist/assets/connection-sign-in-CIiv0t2p.js +1 -0
- package/apps/web/dist/assets/esm-Xwn4GtqG.js +7 -0
- package/apps/web/dist/assets/{eye-BkMFLnYu.js → eye-BpoKpIdt.js} +1 -1
- package/apps/web/dist/assets/host-BrP-ENHg.css +1 -0
- package/apps/web/dist/assets/host-DJ7-p0Sc.js +118 -0
- package/apps/web/dist/assets/i18n-BJ7Ld6O6.js +55 -0
- package/apps/web/dist/assets/index-D18DvnxX.css +1 -0
- package/apps/web/dist/assets/index-D2akynS-.js +10 -0
- package/apps/web/dist/assets/logo-BpnjXTRy.js +1 -0
- package/apps/web/dist/assets/oss-credits-IdX5bc71.js +1 -0
- package/apps/web/dist/assets/{phone-DMfwuh9V.js → phone-Ctvf-Am-.js} +1 -1
- package/apps/web/dist/assets/read-aloud-Da_RSm2S.js +1 -0
- package/apps/web/dist/assets/{runners-D5qz6b_s.js → runners-CyIvJIHr.js} +1 -1
- package/apps/web/dist/assets/scroll-text-ChrjRu9Y.js +1 -0
- package/apps/web/dist/assets/session-SXPtTWRK.js +2 -0
- package/apps/web/dist/assets/theme-CbTcTFWy.js +11 -0
- package/apps/web/dist/assets/ui-Uqnx1UpK.js +82 -0
- package/apps/web/dist/assets/{upload-DQJwLSGj.js → upload-BchUnQGV.js} +1 -1
- package/apps/web/dist/assets/{useMutation-C20c2EH3.js → useMutation-DEkZhp5c.js} +1 -1
- package/apps/web/dist/assets/{volume-2-CC5qamYT.js → volume-2-CU_oy81Z.js} +1 -1
- package/apps/web/dist/assets/with-selector-CoMyWBAX.js +1 -0
- package/apps/web/dist/index.html +17 -10
- package/apps/web/dist/mcp/flow.html +119 -64
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +20 -10
- package/node_modules/@engenty/wizards-shared/dist/assistant.d.ts +7 -1
- package/node_modules/@engenty/wizards-shared/dist/assistant.js +11 -1
- package/node_modules/@engenty/wizards-shared/dist/connectors.d.ts +236 -2
- package/node_modules/@engenty/wizards-shared/dist/connectors.js +52 -2
- package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +257 -8
- package/node_modules/@engenty/wizards-shared/dist/definition.js +113 -15
- package/node_modules/@engenty/wizards-shared/dist/discover.d.ts +21 -0
- package/node_modules/@engenty/wizards-shared/dist/discover.js +1 -0
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.d.ts +38 -2
- package/node_modules/@engenty/wizards-shared/dist/feature-flags.js +38 -2
- package/node_modules/@engenty/wizards-shared/dist/fit.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/json-schema.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/json-schema.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/live.d.ts +2 -2
- package/node_modules/@engenty/wizards-shared/dist/live.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/marketplace.d.ts +0 -5
- package/node_modules/@engenty/wizards-shared/dist/marketplace.js +3 -1
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +115 -6
- package/node_modules/@engenty/wizards-shared/dist/run.js +135 -0
- package/node_modules/@engenty/wizards-shared/dist/runner-texts.d.ts +15 -1
- package/node_modules/@engenty/wizards-shared/dist/runner-texts.js +14 -0
- package/node_modules/@engenty/wizards-shared/dist/rwx.d.ts +42 -0
- package/node_modules/@engenty/wizards-shared/dist/rwx.js +29 -0
- package/node_modules/@engenty/wizards-shared/dist/skills.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/space-data.d.ts +2 -2
- package/node_modules/@engenty/wizards-shared/dist/{projects.d.ts → spaces.d.ts} +39 -15
- package/node_modules/@engenty/wizards-shared/dist/{projects.js → spaces.js} +16 -9
- package/node_modules/@engenty/wizards-shared/dist/store.d.ts +7 -2
- package/node_modules/@engenty/wizards-shared/dist/surface.d.ts +35 -4
- package/node_modules/@engenty/wizards-shared/dist/surface.js +121 -3
- package/node_modules/@engenty/wizards-shared/dist/sync.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/theme-look.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/tiers.d.ts +195 -0
- package/node_modules/@engenty/wizards-shared/dist/tiers.js +98 -0
- package/node_modules/@engenty/wizards-shared/dist/wizard-package.d.ts +2 -2
- package/node_modules/@engenty/wizards-shared/dist/wizard-package.js +3 -3
- package/package.json +4 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/plugin/skills/build-wizard/SKILL.md +1 -1
- package/apps/runtime/dist/services/projects.js +0 -473
- package/apps/web/dist/assets/AboutDialog-CLgnoYTI.js +0 -1
- package/apps/web/dist/assets/EditorPage-D9JDdAAI.js +0 -3
- package/apps/web/dist/assets/Marketplace-D4e0Oac9.js +0 -2
- package/apps/web/dist/assets/NewWizardChannels-B4N7GIYh.js +0 -1
- package/apps/web/dist/assets/NewWizardPage-Dpt0Mzk8.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-CDoYVjRC.js +0 -1
- package/apps/web/dist/assets/PreviewPane-DPB5nEd5.js +0 -10
- package/apps/web/dist/assets/ProjectPage-408YOoNa.js +0 -10
- package/apps/web/dist/assets/PublicRunner-BZ66xdRX.js +0 -1
- package/apps/web/dist/assets/ReadOnly-C9oGMkUB.js +0 -1
- package/apps/web/dist/assets/SettingsPage-Dq3AZwJS.js +0 -2
- package/apps/web/dist/assets/SetupPage-CP3lbyZc.js +0 -1
- package/apps/web/dist/assets/SharePage-DdMm1Y8K.js +0 -1
- package/apps/web/dist/assets/SkillEditor-b5NMFB90.js +0 -1
- package/apps/web/dist/assets/changelog-82-DHogQ.js +0 -1
- package/apps/web/dist/assets/esm-BdxDT9Km.js +0 -7
- package/apps/web/dist/assets/i18n-CKKh3Pn0.js +0 -55
- package/apps/web/dist/assets/index-Cy2NHzAx.js +0 -49
- package/apps/web/dist/assets/index-wR_-1hfN.css +0 -1
- package/apps/web/dist/assets/lock-CGXM95Mi.js +0 -1
- package/apps/web/dist/assets/logo-CGNoptDg.js +0 -1
- package/apps/web/dist/assets/oss-credits-DpRWUPjD.js +0 -1
- package/apps/web/dist/assets/session-DRy0k0nh.js +0 -2
- package/apps/web/dist/assets/theme-DNPm6r4e.js +0 -11
- package/apps/web/dist/assets/ui-CwFQAfE-.js +0 -83
- /package/apps/runtime/dist/db/migrations/tenant/{0027_space_skill.sql → 0030_space_skill.sql} +0 -0
|
@@ -75,7 +75,6 @@ interface PluginStepContext {
|
|
|
75
75
|
stepId: string;
|
|
76
76
|
tenantId: string;
|
|
77
77
|
space: { id: string; name: string }; // the space of the step's wizard
|
|
78
|
-
project: { id: string; name: string }; // the same, by its older name
|
|
79
78
|
wizard: { id: string; title: string };
|
|
80
79
|
mode: "test" | "live"; // "test": a test run from the studio
|
|
81
80
|
signal: AbortSignal; // aborted when the run is cancelled
|
|
@@ -184,6 +183,8 @@ interface PluginAssistantTool<S extends z.ZodType = z.ZodType> {
|
|
|
184
183
|
description: string; // for the model
|
|
185
184
|
inputSchema: S;
|
|
186
185
|
card?: boolean; // the result also goes to the chat, for the studio half's card
|
|
186
|
+
risk?: "read" | "space" | "outside"; // "outside" waits for a person's approval in Work chats
|
|
187
|
+
label?: { de: string; en: string }; // what a call does, as a Work chat's step line says it
|
|
187
188
|
execute(input: z.infer<S>, turn: PluginAssistantContext): unknown | Promise<unknown>;
|
|
188
189
|
}
|
|
189
190
|
|
|
@@ -234,7 +235,7 @@ interface PluginStarter {
|
|
|
234
235
|
```ts
|
|
235
236
|
interface PluginRunEvent {
|
|
236
237
|
run: { id: string; wizardId: string; mode: "test" | "live"; status: "done" | "failed" | "cancelled" };
|
|
237
|
-
wizard: { id: string; title: string;
|
|
238
|
+
wizard: { id: string; title: string; spaceId: string };
|
|
238
239
|
values: Record<string, unknown>; // what the person answered, by field id
|
|
239
240
|
}
|
|
240
241
|
```
|
|
@@ -6,14 +6,13 @@ version: 0.5.0
|
|
|
6
6
|
|
|
7
7
|
A space holds what all its wizards share: a name, its brand (logos, colours, fonts), facts, and
|
|
8
8
|
Knowledge – pages, tables and files with their categories. A plugin can write Knowledge and add to
|
|
9
|
-
what the space’s AI steps know, to what its search finds and to what its assistant can do.
|
|
10
|
-
|
|
11
|
-
a space’s id.
|
|
9
|
+
what the space’s AI steps know, to what its search finds and to what its assistant can do.
|
|
10
|
+
`wizard.spaceId` in a [run event](./events.md) is a space’s id.
|
|
12
11
|
|
|
13
12
|
## Knowledge a plugin writes
|
|
14
13
|
|
|
15
14
|
`server.spaceData` writes pages, tables and files into a space’s Knowledge under keys of the
|
|
16
|
-
plugin’s own, with their categories. Every write is indexed: `
|
|
15
|
+
plugin’s own, with their categories. Every write is indexed: `space_search` finds it a moment
|
|
17
16
|
later, filtered by its categories and checked like everything else in Knowledge. `space` is the
|
|
18
17
|
space’s id.
|
|
19
18
|
|
|
@@ -114,7 +113,7 @@ const brand = await server.spaces.brand(space.id);
|
|
|
114
113
|
|
|
115
114
|
## The search index
|
|
116
115
|
|
|
117
|
-
Every agent step can search the space with `
|
|
116
|
+
Every agent step can search the space with `space_search`. It finds Knowledge, written by
|
|
118
117
|
people and by `server.spaceData`, and the texts plugins put in themselves, outside Knowledge:
|
|
119
118
|
|
|
120
119
|
```ts
|
|
@@ -137,7 +136,7 @@ await server.index.remove(space.id); // every text of the plugin in the space
|
|
|
137
136
|
model set up, it also searches by meaning. A classifier then judges each candidate.
|
|
138
137
|
- Such a text has no categories, so a search with a filter leaves it out. Write Knowledge with
|
|
139
138
|
`server.spaceData` when it should be filtered.
|
|
140
|
-
- A step gets `
|
|
139
|
+
- A step gets `space_search` as soon as the space has Knowledge or a plugin’s text.
|
|
141
140
|
- A tenant without the plugin does not find its texts. They are deleted with the space.
|
|
142
141
|
|
|
143
142
|
## Tools of the space assistant
|
|
@@ -175,6 +174,17 @@ server.registerAssistantTool({
|
|
|
175
174
|
- The assistant doesn’t keep a tool’s result from one message to the next. Keep what a later
|
|
176
175
|
message needs in the plugin’s tables.
|
|
177
176
|
|
|
177
|
+
### What a tool does
|
|
178
|
+
|
|
179
|
+
`risk` says what a call does: `read` only reads, `space` changes the space’s own data,
|
|
180
|
+
`outside` reaches past the space (sends, books, cancels with someone, publishes, deletes on a
|
|
181
|
+
connected service). In a Work chat, a call of an `outside` tool, or of a tool without `risk`,
|
|
182
|
+
doesn’t run when the AI makes it: a person approves or denies it first, and an approved call runs
|
|
183
|
+
once.
|
|
184
|
+
|
|
185
|
+
`label` is what a call does, in a few words, as a Work chat’s step line and its approval say it:
|
|
186
|
+
`{ de: "Mail senden", en: "Send a mail" }`. Without it they show the plugin’s name and the tool’s.
|
|
187
|
+
|
|
178
188
|
### A card in the chat
|
|
179
189
|
|
|
180
190
|
With `card: true` the result also goes to the chat. The studio half draws it:
|
|
@@ -123,7 +123,7 @@ studio.registerSettingsSection({
|
|
|
123
123
|
## The space
|
|
124
124
|
|
|
125
125
|
A space holds what all its wizards share: a title, logos, colours, facts and Knowledge. The
|
|
126
|
-
space page, behind the layers icon (
|
|
126
|
+
space page, behind the layers icon (Resources) in the app bar, shows them in five parts:
|
|
127
127
|
|
|
128
128
|
| Part | `group` | Holds |
|
|
129
129
|
|---|---|---|
|
|
@@ -171,7 +171,7 @@ studio.registerSpaceSection({
|
|
|
171
171
|
hold of the look: `name`, `colors` (`{ name, value }`, the first is the accent) and `fonts`
|
|
172
172
|
(`{ family, role, weights }`).
|
|
173
173
|
- Every wizard belongs to a space: a [run event](./events.md) names it as
|
|
174
|
-
`wizard.
|
|
174
|
+
`wizard.spaceId`. Keep it with what the plugin stores to show a space’s part of it.
|
|
175
175
|
|
|
176
176
|
### A part of the plugin’s own
|
|
177
177
|
|
|
@@ -49,7 +49,6 @@ The second argument is the step that calls the tool:
|
|
|
49
49
|
| `step.runId`, `step.stepId` | The run and the step |
|
|
50
50
|
| `step.tenantId` | The tenant |
|
|
51
51
|
| `step.space` | `{ id, name }`: the space of the step’s wizard |
|
|
52
|
-
| `step.project` | The same as `step.space`, by its older name |
|
|
53
52
|
| `step.wizard` | `{ id, title }` |
|
|
54
53
|
| `step.mode` | `"test"` for a test run from the studio, else `"live"`. Keep what a test run makes apart, such as a booking or a message to someone outside |
|
|
55
54
|
| `step.signal` | Aborted when the run is cancelled. Pass it to `fetch` |
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Skills
|
|
3
3
|
description: The skills of a space – the SKILL.md engenty wizards reads, its limits, the studio’s routes, the two tools a step reads skills with and how their scripts run in the sandbox.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
A space’s skills are instructions in the Agent Skills format that its AI steps follow. They sit
|
|
8
|
-
behind the `skills` switch, which is
|
|
8
|
+
behind the `skills` switch, which is on by default. While it is off, every route below answers
|
|
9
9
|
404 and no step sees a skill.
|
|
10
10
|
|
|
11
11
|
## The format
|
|
@@ -64,7 +64,8 @@ them. A file for scripts answers that it isn’t text to read.
|
|
|
64
64
|
A step that writes HTML (a document, a dashboard) gets the skills always on, without tools. A
|
|
65
65
|
model that runs no tools (an on-device model) gets the skills always on alone. The run shows
|
|
66
66
|
“Reading the skill …” for each read. Goose gets the same two tools and a list of the space’s
|
|
67
|
-
skills.
|
|
67
|
+
skills. So does the space’s AI in a Work chat: the skills always on in its instructions, the ones
|
|
68
|
+
on demand by name, and the chat shows “Read the skill …” for each read.
|
|
68
69
|
|
|
69
70
|
## Scripts in the sandbox
|
|
70
71
|
|
|
@@ -87,18 +88,24 @@ If the folder can’t be written, `skill_load` still answers the instructions, a
|
|
|
87
88
|
the scripts can’t run in this step. A skill with `run_scripts` off, a step without the sandbox,
|
|
88
89
|
and Goose get the text alone. The code is in `apps/runtime/src/tools/skills.ts`.
|
|
89
90
|
|
|
91
|
+
A Work chat has a sandbox of its own where the server has one: `run_command` runs there, and
|
|
92
|
+
`skill_load` writes a skill’s folder there the same way. One sandbox per chat, made on its first
|
|
93
|
+
command and kept while the chat is used, so a file one turn writes is there for the next; it is
|
|
94
|
+
gone after 30 minutes without a command, when the chat is deleted, or when the runtime stops
|
|
95
|
+
(`apps/runtime/src/services/work-sandbox.ts`).
|
|
96
|
+
|
|
90
97
|
## Routes
|
|
91
98
|
|
|
92
99
|
Under `/api/studio`, signed in as for the studio:
|
|
93
100
|
|
|
94
101
|
| Route | What it does |
|
|
95
102
|
| --- | --- |
|
|
96
|
-
| `GET /
|
|
97
|
-
| `POST /
|
|
98
|
-
| `POST /
|
|
99
|
-
| `GET /
|
|
100
|
-
| `GET /
|
|
101
|
-
| `POST /
|
|
103
|
+
| `GET /spaces/:id/skills` | The space’s skills, without their content |
|
|
104
|
+
| `POST /spaces/:id/skills` | A new skill: `{ name, description, body?, mode? }` |
|
|
105
|
+
| `POST /spaces/:id/skills/upload` | A `SKILL.md`, `.zip` or `.skill` in the form field `file` |
|
|
106
|
+
| `GET /spaces/:id/skills/registry?q=` | A search on skills.sh |
|
|
107
|
+
| `GET /spaces/:id/skills/registry/preview?ref=` | A skill of skills.sh read whole: `owner/repo/skill` |
|
|
108
|
+
| `POST /spaces/:id/skills/registry` | Adds one: `{ ref, mode? }` |
|
|
102
109
|
| `GET`, `PATCH`, `DELETE /skills/:id` | One skill. `PATCH` takes `name`, `description`, `body`, `meta`, `files`, `mode`, `runScripts`, or the whole `skillMd` |
|
|
103
110
|
| `POST /skills/:id/copy` | A copy as the space’s own skill |
|
|
104
111
|
| `GET /skills/:id/zip` | The skill’s folder as a zip |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Agent steps
|
|
3
|
-
description: An AI step
|
|
4
|
-
version: 0.
|
|
3
|
+
description: An AI step’s instructions, tools, output, model class and maker, decisions, and one run per entry.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
An `agent` step is an AI step. It reads its `instructions`, may call tools, and returns its
|
|
@@ -27,10 +27,25 @@ output.
|
|
|
27
27
|
|---|---|
|
|
28
28
|
| `tools` | Built-in tools: `web_search`, `web_fetch`, `browser`, `sandbox`, `image`, `http`, `pages`, `code`. A plugin’s tool by its full id, `<plugin>.<tool>` |
|
|
29
29
|
| `connections` | Ids of the wizard’s connections. See [Lists and connections](./lists-and-connections.md) |
|
|
30
|
+
| `hosts` | Hosts `http_request` may call, up to 20: `api.example.com`, or `*.example.org` for every host below it |
|
|
30
31
|
|
|
31
32
|
A wizard that names a plugin’s tool runs only where that plugin is installed. See
|
|
32
33
|
[Tools](../plugins/tools.md).
|
|
33
34
|
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"id": "prices", "type": "agent", "title": "Get the prices",
|
|
38
|
+
"instructions": "Read today’s prices from https://api.example.com/v1/prices.",
|
|
39
|
+
"tools": ["http"],
|
|
40
|
+
"hosts": ["api.example.com"]
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`hosts` is part of what the run may reach, fixed when it starts. A run someone starts at the
|
|
45
|
+
wizard’s link, without an account, calls only these hosts; a request to any other is refused and
|
|
46
|
+
logged. A member’s run calls any public host until the space switches the broker on, then the
|
|
47
|
+
same rule holds. `*.example.org` takes `api.example.org`, not `example.org` itself.
|
|
48
|
+
|
|
34
49
|
Every agent step also has a few tools without listing them: it reads and writes the wizard’s
|
|
35
50
|
lists, reads uploads and documents, and searches the space’s Knowledge.
|
|
36
51
|
|
|
@@ -77,6 +92,24 @@ outside the wizard.
|
|
|
77
92
|
| `standard` | Research with tools, long documents, reasoning over many sources. The default |
|
|
78
93
|
| `high` | Hard reasoning or writing code. Several times the cost of `standard` |
|
|
79
94
|
|
|
95
|
+
`maker` (`anthropic`, `openai`, `google`, `mistral`) asks for that maker’s model of the class,
|
|
96
|
+
never another maker’s. Each maker has its own classes:
|
|
97
|
+
|
|
98
|
+
| `maker` | `model` |
|
|
99
|
+
|---|---|
|
|
100
|
+
| `anthropic`, `openai` | `low`, `standard`, `high`, `highest` |
|
|
101
|
+
| `google` | `low`, `standard`, `high` |
|
|
102
|
+
| `mistral` | `low`, `high` |
|
|
103
|
+
|
|
104
|
+
`highest` exists only with a maker, and `classifier` takes none. A maker counts on engenty.ai,
|
|
105
|
+
where the organization’s model tier binds the maker’s class to one of its models. Elsewhere the
|
|
106
|
+
step runs on its plain class, `highest` as `high`. The editor writes `maker` when someone chooses a
|
|
107
|
+
step’s model by name.
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
{ "id": "draft", "type": "agent", "model": "high", "maker": "anthropic" }
|
|
111
|
+
```
|
|
112
|
+
|
|
80
113
|
`effort` (`low`, `medium`, `high`) tells the model how hard to think, where the bound model can be
|
|
81
114
|
told. Leave it out unless a step is clearly simple or clearly hard.
|
|
82
115
|
|
|
@@ -90,10 +123,10 @@ A `classifier` step with no tools whose `json` output holds only `yesno`, `choic
|
|
|
90
123
|
fields is a decision. It is answered in one fast, cheap call. A branch reads its answer, and
|
|
91
124
|
`steps.<id>.<field>.p` is how sure it is, from 0 to 1. See [Branches and loops](./branches.md).
|
|
92
125
|
|
|
93
|
-
## A
|
|
126
|
+
## A fixed step: `call` without a model
|
|
94
127
|
|
|
95
|
-
`call` runs one tool of a plugin once, with these inputs and no
|
|
96
|
-
`json` output, as it is. `instructions` stay empty.
|
|
128
|
+
`call` runs one tool of a plugin, or one action of a connection, once, with these inputs and no
|
|
129
|
+
model. Its answer is the step’s `json` output, as it is. `instructions` stay empty.
|
|
97
130
|
|
|
98
131
|
```json
|
|
99
132
|
{
|
|
@@ -103,7 +136,27 @@ fields is a decision. It is answered in one fast, cheap call. A branch reads its
|
|
|
103
136
|
}
|
|
104
137
|
```
|
|
105
138
|
|
|
106
|
-
Use it for data a later page shows unchanged. String inputs are templates
|
|
139
|
+
Use it for data a later page shows unchanged. String inputs are templates: `{{email}}` is a
|
|
140
|
+
field’s answer, `{{steps.read.summary}}` an earlier step’s output. A filled-in whole number or
|
|
141
|
+
`true`/`false` is passed as one, an empty input is left out.
|
|
142
|
+
|
|
143
|
+
With a connection, `call` names it and the connector’s action:
|
|
144
|
+
|
|
145
|
+
```json
|
|
146
|
+
{
|
|
147
|
+
"id": "save", "type": "agent", "title": "Save the lead",
|
|
148
|
+
"call": {
|
|
149
|
+
"connection": "crm", "action": "create_contact",
|
|
150
|
+
"input": { "email": "{{email}}", "note": "{{steps.read.summary}}" }
|
|
151
|
+
},
|
|
152
|
+
"output": { "format": "json" }
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
The step calls as the wizard, with the fields the wizard fixed: nothing a person typed can steer
|
|
157
|
+
it to another action. This is how a wizard writes through a connection of the space (see
|
|
158
|
+
[Lists and connections](./lists-and-connections.md)): an AI step only reads there. On the person’s
|
|
159
|
+
own connection the step asks them before it writes, as an AI step’s tool would.
|
|
107
160
|
|
|
108
161
|
## One run per entry
|
|
109
162
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Lists and connections
|
|
3
3
|
description: Tables a wizard keeps between runs, and accounts the person connects.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## Lists
|
|
@@ -58,8 +58,23 @@ wizard has up to 12.
|
|
|
58
58
|
|---|---|
|
|
59
59
|
| `kind` | `mail`: any mailbox, over Gmail, Outlook or IMAP. Steps only read it |
|
|
60
60
|
| `connector` | Instead of `kind`: a built-in connector or one imported into the space |
|
|
61
|
+
| `spaceConnection` | Instead of both: a connection of the space, by its id. The space’s admins set it up and chose how it signs in, who may use it and what each kind of action may do; the wizard holds no account of its own then, and `policy` has no say. Where it signs in as the space, AI steps read and fixed steps write (below) |
|
|
61
62
|
| `actions` | The connector’s actions steps may use. By default those that only read |
|
|
62
|
-
| `policy` | Per action: `allow` runs it, `ask` asks the person first. By default reading is allowed and writing asks |
|
|
63
|
+
| `policy` | Per action: `allow` runs it, `ask` asks the person first. By default reading is allowed, and writing and sending ask. Deleting always asks |
|
|
63
64
|
|
|
64
65
|
A page field of kind `connection` asks the person to connect. The agent step lists the connection
|
|
65
66
|
in `connections` and gets its actions as tools.
|
|
67
|
+
|
|
68
|
+
### Reading and writing as the space
|
|
69
|
+
|
|
70
|
+
A connection of the space that signs in as the space is the space’s account, not the person’s.
|
|
71
|
+
An AI step that lists it gets its read actions only, whatever `actions` says; a write it tries is
|
|
72
|
+
refused and logged. A write goes in a fixed step: an agent step with `call` naming the connection,
|
|
73
|
+
the action and the input, with fields from the run’s values (see
|
|
74
|
+
[Agent steps](./agent-steps.md)). The step runs as the wizard, so the person running is not asked,
|
|
75
|
+
and the connection’s rules decide. The validator refuses a wizard whose AI step lists a write
|
|
76
|
+
action on such a connection.
|
|
77
|
+
|
|
78
|
+
Where each person signs in to the connection, and on the wizard’s own connections, an AI step may
|
|
79
|
+
write and the person is asked first, as before. A fixed step on the person’s own connection asks
|
|
80
|
+
them too.
|
|
@@ -23,6 +23,8 @@ does not.
|
|
|
23
23
|
| `{{lists.listId}}` | A stored list as a table, as it is when the step starts |
|
|
24
24
|
| `{{today}}` | Today’s date |
|
|
25
25
|
| `{{brand.name}}`, `{{brand.about}}`, `{{brand.colors}}` | The space’s brand |
|
|
26
|
+
| `{{brand.brandName}}`, `{{brand.tagline}}` | The brand’s name as it is written (the title where it has none) and its tagline |
|
|
27
|
+
| `{{brand.voice}}`, `{{brand.links}}` | How the brand speaks (tone, audience, positioning, …) and where it is found on the web |
|
|
26
28
|
| `{{facts.key}}`, `{{facts}}` | One fact of the space, such as its address or VAT ID, or all of them |
|
|
27
29
|
|
|
28
30
|
Every AI step already knows the brand and the facts. Name one only where the text must carry it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Views and widgets
|
|
3
3
|
description: Surfaces built from the catalog, a view of an agent step's result, nested output, and HTML widgets.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
A result can show as a view instead of a plain table. There are three ways:
|
|
@@ -43,7 +43,11 @@ their children by id. A prop is a value, or `{ "path": "/key/…" }` into the da
|
|
|
43
43
|
| `Card`, `List`, `Row`, `Link` | Things: one card per thing, rows, an entry that opens in a sheet |
|
|
44
44
|
| `Chips`, `Checklist`, `Steps` | Short things, things to get or do, ordered work |
|
|
45
45
|
| `Table`, `BarChart`, `LineChart`, `DonutChart` | Figures compared across columns, charts |
|
|
46
|
-
| `
|
|
46
|
+
| `Markdown`, `Sources` | Formatted text, and where it was found as small chips |
|
|
47
|
+
| `Image`, `Gallery`, `Video`, `Audio`, `File` | A picture, pictures side by side, a clip, a recording, a file with its name (a PDF or picture shows itself) |
|
|
48
|
+
| `Actions`, `Button` | Buttons that make the result again or open a file |
|
|
49
|
+
|
|
50
|
+
A view in a [Work chat](#views-in-a-work-chat) has three more components and one more button.
|
|
47
51
|
|
|
48
52
|
`candidates` replaces `components` when the view should change per run. Each candidate is a piece
|
|
49
53
|
with a `description`, and a decision picks the pieces that fit: no chart when there is nothing to
|
|
@@ -52,6 +56,22 @@ and `required` pieces always show.
|
|
|
52
56
|
|
|
53
57
|
The MCP tool `get_authoring_guide` lists every component with its props.
|
|
54
58
|
|
|
59
|
+
### Views in a Work chat
|
|
60
|
+
|
|
61
|
+
In a Work chat, the space’s AI shows a view with its tool `show_view`. It uses the same catalog,
|
|
62
|
+
and the data is what the AI found. Everyone in the chat sees the view. A chat’s view can also ask
|
|
63
|
+
the team, which a wizard’s view never does, because a wizard asks on its pages:
|
|
64
|
+
|
|
65
|
+
| Component | For |
|
|
66
|
+
|---|---|
|
|
67
|
+
| `Form` with `Field`s | Questions to the team. A Field is one of the wizard’s field kinds that needs no run: text, number, choices, a date, a picture or the camera, a file, the place, a recording, a signature. Whoever is in the chat sends it, and the answers become their message. |
|
|
68
|
+
| `Ref` | A thing of the space that opens in the studio: a page, table or file of Knowledge, a chat, a wizard |
|
|
69
|
+
| `Button` with `"action": "ask"` | The person who taps it asks the AI the button’s `prompt`, or its label |
|
|
70
|
+
|
|
71
|
+
A chat’s view shows the space’s own files only, never a picture from an address on the web.
|
|
72
|
+
`show_view` checks a view before the chat draws it. When the check fails, the AI gets the
|
|
73
|
+
problems back and tries again.
|
|
74
|
+
|
|
55
75
|
## A view of an agent step’s result
|
|
56
76
|
|
|
57
77
|
An agent step with `output.format` `json` can carry its own view in `output.surface`, bound to
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Capabilities
|
|
3
|
+
description: One place for what your wizards, Work chats and Goose may use – skills, the space’s connections to other services, the audit of every call, and a search for more.
|
|
4
|
+
version: 0.13.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**Capabilities** in the app bar, after Resources, holds what a space’s wizards, Work chats and
|
|
8
|
+
Goose may use. On a phone you find it in the “More” menu. It belongs to the space you are in, and
|
|
9
|
+
each space has its own.
|
|
10
|
+
|
|
11
|
+
It opens on the **Overview**, then has three more sections. None of them has a menu of its own:
|
|
12
|
+
the list of sections stays beside the page.
|
|
13
|
+
|
|
14
|
+
| Section | What it holds | Who sees it |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| **Overview** | The skills that count, the space’s connections and the built-in connectors nobody connected yet, on one page, with a search over them. Its second tab, **Discover**, searches skills.sh and integrations.sh | Everyone who uses the studio. Only admins set up a connector from Discover |
|
|
17
|
+
| **Skills** | Instructions your wizards work by. See [Skills](./skills.md) | Everyone who uses the studio |
|
|
18
|
+
| **Connectors** | The space’s connections to other services, the built-in connectors and the ones from the registry | Everyone who uses the studio. Members see the connections open to them |
|
|
19
|
+
| **Audit** | Every call to a connection, allowed or not. See [Audit](./protocol.md) | The owner and the admins |
|
|
20
|
+
|
|
21
|
+
The old addresses still work: `/skills` opens Capabilities › Skills, the connectors’ old address
|
|
22
|
+
in the settings opens Capabilities › Connectors, and `/capabilities/discover` opens the Overview’s
|
|
23
|
+
Discover tab.
|
|
24
|
+
|
|
25
|
+
## Overview
|
|
26
|
+
|
|
27
|
+
The Overview shows the skills that are always on or on demand, with the ones always on first, and
|
|
28
|
+
the space’s connections, each with how it signs in and who may use it. “All” beside each part
|
|
29
|
+
opens its section, and the menu shows how many skills and connections the space has. The search
|
|
30
|
+
looks through both. The “Discover” tab, or a search for something the space doesn’t have, searches
|
|
31
|
+
skills.sh and integrations.sh in place, with the same words. “Add” leads to a new skill, a new
|
|
32
|
+
connection (admins) or Discover. Picking Skills in the menu again, with a skill open, shows all
|
|
33
|
+
skills.
|
|
34
|
+
|
|
35
|
+
## Skills
|
|
36
|
+
|
|
37
|
+
A skill is a set of instructions your wizards follow: how you write, what a quote must hold, how
|
|
38
|
+
to handle a PDF. Each one is always on, on demand or off. “In this space” lists the space’s
|
|
39
|
+
skills, and you add one from skills.sh, write one or upload one. [Skills](./skills.md) explains
|
|
40
|
+
each setting, the scripts a skill may bring, and the limits.
|
|
41
|
+
|
|
42
|
+
## Connectors
|
|
43
|
+
|
|
44
|
+
Under Connectors, “In this space” lists the space’s **connections**. A connection is one account
|
|
45
|
+
at a service that the space uses, such as Gmail · Orders or HubSpot · Sales. Below the list you
|
|
46
|
+
see the built-in connectors that nobody connected yet, and under “More connectors” the ones from
|
|
47
|
+
the integrations.sh registry.
|
|
48
|
+
|
|
49
|
+
A connection belongs to the space, not to the person who set it up. Its page says who set it up
|
|
50
|
+
and when (“set up by Matthias on 12 Oct”), and when it was last used. It stays when that person
|
|
51
|
+
leaves. Only the space’s admins set up a connection, change it or remove it.
|
|
52
|
+
|
|
53
|
+
When an admin sets one up, they choose how it signs in and who may use it. On its page they then
|
|
54
|
+
set what it may do.
|
|
55
|
+
|
|
56
|
+
**How it signs in.** This can’t be changed later.
|
|
57
|
+
|
|
58
|
+
| Signs in | What it means |
|
|
59
|
+
|---|---|
|
|
60
|
+
| As the space | An admin signs in once, with an API key, an app token or a team account such as orders@. Everyone uses that account, also when nobody is watching. The AI only reads through it. Changes come from fixed steps or from an action a person confirms in a Work chat |
|
|
61
|
+
| Each person signs in | Each person signs in once with their own account, on the connection’s page or in their menu. The connection then acts as that person, and asks them before it changes something |
|
|
62
|
+
|
|
63
|
+
**Who may use it.** Admins, Members or Everyone. Everyone includes guests who start a wizard from
|
|
64
|
+
its link. A guest’s run never uses a connection that is only for members or admins.
|
|
65
|
+
|
|
66
|
+
**What it may do.** One rule for each kind of action: Read, Change, Delete and Send. Each rule is
|
|
67
|
+
Allowed, With approval or Never. A new connection reads freely, asks for approval before a change
|
|
68
|
+
or a send, and never deletes.
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+
With approval on a connection that signs in as the space asks the space’s admins. The call waits
|
|
73
|
+
under the bell in Work until one of them agrees. Where each person signs in, With approval asks
|
|
74
|
+
that person.
|
|
75
|
+
|
|
76
|
+
Members see the connections open to them, with their rules, and change nothing. Where each person
|
|
77
|
+
signs in, they sign in right there. [Connectors](./connectors.md#connections-in-the-space) has the
|
|
78
|
+
details, and how a wizard uses a connector of its own.
|
|
79
|
+
|
|
80
|
+
## Your own connections
|
|
81
|
+
|
|
82
|
+
Your own menu, behind your avatar in the top bar, has **Connections**. It lists, for each of your spaces, the
|
|
83
|
+
connections open to you:
|
|
84
|
+
|
|
85
|
+
- Where each person signs in, you sign in or out. Your chats, your runs and your Goose then act as
|
|
86
|
+
you, and nobody else sees your sign-in.
|
|
87
|
+
- Where the space signs in, you see its account and who set it up.
|
|
88
|
+
|
|
89
|
+
You set up no connection there. That stays with the space’s admins.
|
|
90
|
+
|
|
91
|
+
## Audit
|
|
92
|
+
|
|
93
|
+
The Audit shows every call your space’s wizards, Work chats and Goose made to a connection, one line
|
|
94
|
+
each, whether it ran or not. Critical lines, such as a refused change, reach the admins under the
|
|
95
|
+
bell in Work. **Who may do what?** tries a rule before anything runs. Only the owner and the admins
|
|
96
|
+
see the Audit. [Audit](./protocol.md) explains each line, the filters and what counts as critical.
|
|
97
|
+
|
|
98
|
+
## Discover
|
|
99
|
+
|
|
100
|
+
Discover searches skills.sh for skills and integrations.sh for connectors at once. You view a skill
|
|
101
|
+
whole and add it right in the results. A connector’s result has “Set up” for the admins, which
|
|
102
|
+
starts a connection with it. What the space already has shows “In this space”.
|
|
103
|
+
|
|
104
|
+
## Who sees Capabilities
|
|
105
|
+
|
|
106
|
+
In an organization in the cloud, the space’s admins decide whether its members may use the studio:
|
|
107
|
+
in the space’s info, with **Members can use the studio**. The rule counts for every member of that
|
|
108
|
+
space. There is no switch for one person.
|
|
109
|
+
|
|
110
|
+
| | Owner, admin | Member, where the space lets members in | Member, where it doesn’t |
|
|
111
|
+
|---|---|---|---|
|
|
112
|
+
| Studio | Yes | Yes | No, Work only |
|
|
113
|
+
| Wizards | Build, test, publish and share | Build and test | Run them in Work |
|
|
114
|
+
| Skills, knowledge, data | Add and change | Add and change | – |
|
|
115
|
+
| Connections | Set up, choose how they sign in, set the rules and who may use them | Use the ones open to members. The rules are locked | Their Work chats use the ones open to them |
|
|
116
|
+
| Audit | Yes | No | No |
|
|
117
|
+
| Own sign-ins | In their menu | In their menu | In their menu |
|
|
118
|
+
|
|
119
|
+
Approvals always go to the space’s admins, never to a member. On your computer you are the only
|
|
120
|
+
person, so the rule doesn’t come up. [Working together](./together.md#members-in-the-studio) says
|
|
121
|
+
more about members.
|
|
122
|
+
|
|
123
|
+
## Switch it off
|
|
124
|
+
|
|
125
|
+
Capabilities is on by default. To turn it off on your computer, add this line to
|
|
126
|
+
`~/.engenty/wizards/.features`:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
capabilities=off
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Skills then has its own place in the app bar again, and the connectors move back to the settings.
|
|
@@ -13,6 +13,8 @@ A computer is signed in to one organization. Everything on it syncs with that or
|
|
|
13
13
|
work in another one, sign in again and pick it (Settings → Account, or
|
|
14
14
|
`wizards account sign-in` in the terminal).
|
|
15
15
|
|
|
16
|
+

|
|
17
|
+
|
|
16
18
|
## What syncs
|
|
17
19
|
|
|
18
20
|
| Syncs both ways | Stays where it was made |
|
|
@@ -69,6 +69,7 @@ the studio doesn’t: one `NAME=value` per line. Restart engenty wizards after a
|
|
|
69
69
|
| `CHROME_PATH` | The browser for PDF and PNG exports and steps on websites: Chrome, Edge, Chromium or Brave | The first one found: on a Mac Google Chrome, Microsoft Edge, Chromium or Brave in `/Applications` or `~/Applications`; on Linux `google-chrome`, `chromium`, `chromium-browser` or `microsoft-edge` on the PATH; on Windows Chrome, Edge, Chromium or Brave under Program Files or your local AppData. `wizards status` names it |
|
|
70
70
|
| `FFMPEG_PATH` | ffmpeg for MP4 videos | `ffmpeg` |
|
|
71
71
|
| `SANDBOX_ALLOW_HOSTS` | Addresses the sandbox reaches besides the npm and PyPI registries, comma-separated: `api.example.com`. It reaches nothing else | not set |
|
|
72
|
+
| `SANDBOX_GUESTS` | The sandbox for runs by people without an account – a wizard’s link, WhatsApp, SMS: `off` or `agentos`, never Docker. With `off`, such a run works without code and says so in its log; with `agentos`, only when agentOS is installed. Your own runs keep the server’s sandbox | `off` |
|
|
72
73
|
| `OLLAMA_URL` | Where Ollama answers | `http://127.0.0.1:11434/v1` |
|
|
73
74
|
| `PLUGINS_DIR` | Folders with plugins, comma-separated. If you set it, it replaces the default | `~/.engenty/wizards/plugins` |
|
|
74
75
|
| `PLUGINS_WATCH` | With `0`, plugins no longer load again when their files change | `1` |
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Connectors
|
|
3
3
|
description: Services a wizard works in for the person who runs it – built in, from the registry or over MCP.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
computer
|
|
7
|
+
**[Capabilities](./capabilities.md) › Connectors** lists the services the space’s wizards, Work
|
|
8
|
+
chats and Goose can work in. Each space has its own connectors. In the cloud, a space you publish
|
|
9
|
+
from your computer shows its connectors without letting you change them: you change them on your
|
|
10
|
+
computer.
|
|
11
|
+
|
|
12
|
+
A wizard reaches a service in one of two ways:
|
|
13
|
+
|
|
14
|
+
- through a [connection of the space](#connections-in-the-space), which the space’s admins set up
|
|
15
|
+
once;
|
|
16
|
+
- with the account of the person who runs it: they connect their account during the run, on a page
|
|
17
|
+
that asks for it.
|
|
11
18
|
|
|
12
19
|
## Built in
|
|
13
20
|
|
|
@@ -54,14 +61,18 @@ Any other service comes from the [integrations.sh](https://integrations.sh) regi
|
|
|
54
61
|
If a service needs an OAuth client of your own, it says so. Remove it and import it again with
|
|
55
62
|
“Your own OAuth client”.
|
|
56
63
|
|
|
64
|
+
The **Discover** tab of Capabilities › Overview searches integrations.sh and skills.sh at once. Admins set up a
|
|
65
|
+
service from its result with “Set up”, and a service the space already has shows “In this space”.
|
|
66
|
+
|
|
57
67
|
The editor’s chat does the same while it builds a wizard: ask it to work with a service, and it
|
|
58
68
|
finds and imports the connector. An [AI app](./ai-apps.md) connected to engenty wizards can do
|
|
59
69
|
this too.
|
|
60
70
|
|
|
61
71
|
## What a wizard may do
|
|
62
72
|
|
|
63
|
-
A wizard names the actions it uses. Without a list, it uses only the actions that read.
|
|
64
|
-
run
|
|
73
|
+
A wizard names the actions it uses. Without a list, it uses only the actions that read. What a run
|
|
74
|
+
may use is fixed when it starts: a change to the wizard during the run doesn’t widen it. On the
|
|
75
|
+
account of the person who runs it:
|
|
65
76
|
|
|
66
77
|
| The action | What happens |
|
|
67
78
|
|---|---|
|
|
@@ -69,6 +80,51 @@ run:
|
|
|
69
80
|
| Changes something | The person allows each call, or chooses “Allow for the rest of this run”. A wizard can let it run without asking |
|
|
70
81
|
| Deletes | The person allows it like a change. A wizard can never let it run without asking |
|
|
71
82
|
|
|
83
|
+
## Connections in the space
|
|
84
|
+
|
|
85
|
+
In Capabilities › Connectors, “In this space” lists the space’s connections. A connection belongs to
|
|
86
|
+
the space, not to the person who set it up: it stays when they leave. The page notes who set it up
|
|
87
|
+
and when, and when it was last used. Several connections to one service are fine, for example
|
|
88
|
+
Gmail · Orders and Gmail · Support.
|
|
89
|
+
|
|
90
|
+
Only the space’s admins set up connections. “Add connection” starts one, and so does a built-in
|
|
91
|
+
connector below the list or an imported one under “More connectors”, where you also search the
|
|
92
|
+
registry. When you set one up, you choose how it signs in:
|
|
93
|
+
|
|
94
|
+
| Signs in | What it means |
|
|
95
|
+
|---|---|
|
|
96
|
+
| As the space | An admin signs the space in once, with an API key, an app token or a team account. Everyone uses that account, even when nobody is watching. On this kind of connection the AI only reads; writing happens in fixed steps or as an action someone confirms |
|
|
97
|
+
| Each person signs in | Each person signs in once with their own account, here or in their menu › Connections. The connection then acts as that person, and asks them before it changes something |
|
|
98
|
+
|
|
99
|
+
You can’t change how a connection signs in later. Set up a new one instead.
|
|
100
|
+
|
|
101
|
+
**Who may use it.** Admins, Members or Everyone. Everyone includes guests who start a wizard from
|
|
102
|
+
its link.
|
|
103
|
+
|
|
104
|
+
**What it may do.** One rule for each kind of action:
|
|
105
|
+
|
|
106
|
+
| Kind | What it covers |
|
|
107
|
+
|---|---|
|
|
108
|
+
| Read | Searching and reading, in AI steps and chats |
|
|
109
|
+
| Change | Creating and changing, only in fixed steps or as a confirmed action |
|
|
110
|
+
| Delete | Removing something for good |
|
|
111
|
+
| Send | Sending emails and messages to others |
|
|
112
|
+
|
|
113
|
+
Each rule is Allowed, With approval or Never. A new connection reads freely, asks for approval
|
|
114
|
+
before a change or a send, and never deletes. With approval asks the space’s admins, and the action
|
|
115
|
+
waits until one of them agrees.
|
|
116
|
+
|
|
117
|
+
Members see the connections open to them, with their rules, but change nothing. Where each person
|
|
118
|
+
signs in, they sign in right there.
|
|
119
|
+
|
|
120
|
+
## Connections in your menu
|
|
121
|
+
|
|
122
|
+
A space’s admins set up a connection and choose how it signs in: once as the space, or each
|
|
123
|
+
person for themselves. Your menu › Connections lists the connections of your spaces that are open
|
|
124
|
+
to you. Where each person signs in, you sign in or out there; your chats, your runs and your Goose
|
|
125
|
+
then act as you, and nobody else sees your sign-in. Where the space signs in, you see its account
|
|
126
|
+
and who set it up. You set up no connection there: that stays with the space’s admins.
|
|
127
|
+
|
|
72
128
|
## The person’s mailbox
|
|
73
129
|
|
|
74
130
|
A wizard can ask for the person’s mailbox and read it: search emails, read them and keep
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: User Guide
|
|
3
3
|
description: Install engenty wizards, build a wizard, run and share it.
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
engenty wizards turns something you do again and again into a wizard: pages that ask what it
|
|
@@ -17,6 +17,8 @@ briefing, an invoice, a quote, a damage report.
|
|
|
17
17
|
| **Share a link** | Anyone can run the wizard in a browser, on a phone too. Results download as PDF, Word, HTML, Markdown, PNG, MP4, MP3, CSV, Excel or JSON, or go out as a link. |
|
|
18
18
|
| **In the cloud, or on your computer** | You sign up and build in the browser, and links run on your organization’s credits. Or you install it on your computer: there it runs on Codex, Claude Code, Antigravity or Cursor Agent with your own subscription, on your own API keys or on a local model, and your files stay with you. |
|
|
19
19
|
|
|
20
|
+

|
|
21
|
+
|
|
20
22
|
## Where to start
|
|
21
23
|
|
|
22
24
|
1. [Create an account](./create-account.md) at engenty.ai, with an invitation code.
|
|
@@ -37,6 +39,11 @@ briefing, an invoice, a quote, a damage report.
|
|
|
37
39
|
| Step | One part of the flow: a page, an AI step, a review, the result |
|
|
38
40
|
| Run | One person going through a wizard once |
|
|
39
41
|
| Model class | The kind of model a step needs. Which model serves a class is a setting, not part of the wizard |
|
|
42
|
+
| Work mode | Chats with the space’s AI and with your team, beside Studio. Not on for everyone yet ([Work mode](./work-mode.md)) |
|
|
43
|
+
| Capabilities | The place in the studio for what a space’s wizards, chats and Goose may use: skills, connections, the log and a search for more ([Capabilities](./capabilities.md)) |
|
|
44
|
+
| Connection | One account at another service that a space uses, such as Gmail · Orders. The space’s admins set it up |
|
|
45
|
+
| Owner, admin, member | The roles in an organization. The owner and the admins set up connections and approve what waits for approval |
|
|
46
|
+
| Guest | Someone who runs a wizard from its link without being a member |
|
|
40
47
|
|
|
41
48
|
## Two places it runs
|
|
42
49
|
|
|
@@ -47,3 +54,5 @@ the AI clients and keys on that computer, and what you publish there runs in the
|
|
|
47
54
|
([Test and share](./test-and-share.md#in-the-cloud)). In the cloud studio, that space is marked
|
|
48
55
|
“Edited on your computer.” – you change it on your computer, not there. Without an account,
|
|
49
56
|
engenty wizards stays [only on your computer](./local-only.md).
|
|
57
|
+
|
|
58
|
+

|