@engenty/wizards-runtime 0.0.0-stage → 0.7.6
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/LICENSE +110 -0
- package/README.md +214 -2
- package/apps/runtime/dist/agents/architect.js +444 -0
- package/apps/runtime/dist/agents/studio-assistant.js +883 -0
- package/apps/runtime/dist/agents/subscription.js +207 -0
- package/apps/runtime/dist/agents/thought.js +21 -0
- package/apps/runtime/dist/agents/website.js +480 -0
- package/apps/runtime/dist/app.js +359 -0
- package/apps/runtime/dist/apple/wizards-apple +0 -0
- package/apps/runtime/dist/assistant/browser.js +26 -0
- package/apps/runtime/dist/assistant/docs.js +158 -0
- package/apps/runtime/dist/assistant/knows.js +353 -0
- package/apps/runtime/dist/assistant/primer.js +26 -0
- package/apps/runtime/dist/assistant/runs.js +24 -0
- package/apps/runtime/dist/auth/account.js +175 -0
- package/apps/runtime/dist/auth/device.js +112 -0
- package/apps/runtime/dist/auth/index.js +358 -0
- package/apps/runtime/dist/auth/keys.js +55 -0
- package/apps/runtime/dist/auth/local-ticket.js +26 -0
- package/apps/runtime/dist/authoring/example.js +74 -0
- package/apps/runtime/dist/authoring/guide.js +433 -0
- package/apps/runtime/dist/authoring/ops.js +117 -0
- package/apps/runtime/dist/browser/fast/action-space.js +160 -0
- package/apps/runtime/dist/browser/fast/classifier.js +91 -0
- package/apps/runtime/dist/browser/fast/decide.js +171 -0
- package/apps/runtime/dist/browser/fast/driver.js +141 -0
- package/apps/runtime/dist/browser/fast/instructions.js +33 -0
- package/apps/runtime/dist/browser/fast/run.js +249 -0
- package/apps/runtime/dist/browser/fast/span-picker.js +153 -0
- package/apps/runtime/dist/browser/fast/text-helper.js +178 -0
- package/apps/runtime/dist/browser/snapshot.js +335 -0
- package/apps/runtime/dist/cli/account.js +385 -0
- package/apps/runtime/dist/cli/autostart.js +182 -0
- package/apps/runtime/dist/cli/autoupdate.js +221 -0
- package/apps/runtime/dist/cli/clients.js +44 -0
- package/apps/runtime/dist/cli/connect.js +540 -0
- package/apps/runtime/dist/cli/environment.js +95 -0
- package/apps/runtime/dist/cli/exec.js +45 -0
- package/apps/runtime/dist/cli/features.js +50 -0
- package/apps/runtime/dist/cli/home.js +88 -0
- package/apps/runtime/dist/cli/install-env.js +33 -0
- package/apps/runtime/dist/cli/machine.js +107 -0
- package/apps/runtime/dist/cli/main.js +231 -0
- package/apps/runtime/dist/cli/mcp.js +136 -0
- package/apps/runtime/dist/cli/menu.js +202 -0
- package/apps/runtime/dist/cli/processes.js +72 -0
- package/apps/runtime/dist/cli/report.js +66 -0
- package/apps/runtime/dist/cli/sandbox.js +77 -0
- package/apps/runtime/dist/cli/setup.js +335 -0
- package/apps/runtime/dist/cli/start.js +276 -0
- package/apps/runtime/dist/cli/status.js +212 -0
- package/apps/runtime/dist/cli/ui.js +59 -0
- package/apps/runtime/dist/cli/uninstall-main.js +20 -0
- package/apps/runtime/dist/cli/uninstall.js +231 -0
- package/apps/runtime/dist/cli/update.js +86 -0
- package/apps/runtime/dist/cli/validate.js +75 -0
- package/apps/runtime/dist/cli/versions.js +123 -0
- package/apps/runtime/dist/connectors/builtin.js +86 -0
- package/apps/runtime/dist/connectors/external.js +409 -0
- package/apps/runtime/dist/connectors/gmail.js +107 -0
- package/apps/runtime/dist/connectors/imap.js +261 -0
- package/apps/runtime/dist/connectors/index.js +325 -0
- package/apps/runtime/dist/connectors/mail.js +72 -0
- package/apps/runtime/dist/connectors/outlook.js +90 -0
- package/apps/runtime/dist/connectors/plugin-connections.js +343 -0
- package/apps/runtime/dist/connectors/via-account.js +65 -0
- package/apps/runtime/dist/credits/credits.js +100 -0
- package/apps/runtime/dist/credits/estimate.js +152 -0
- package/apps/runtime/dist/db/adopt.js +149 -0
- package/apps/runtime/dist/db/client.js +173 -0
- package/apps/runtime/dist/db/control-schema.js +133 -0
- package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +47 -0
- package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +41 -0
- package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +3 -0
- package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +6 -0
- package/apps/runtime/dist/db/migrations/control/0005_chilly_oracle.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0006_sleepy_mojo.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0007_common_the_hand.sql +15 -0
- package/apps/runtime/dist/db/migrations/control/0008_runner.sql +8 -0
- package/apps/runtime/dist/db/migrations/control/0009_plugin_claim.sql +9 -0
- package/apps/runtime/dist/db/migrations/control/0010_tan_snowbird.sql +6 -0
- package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +311 -0
- package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +599 -0
- package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +607 -0
- package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +311 -0
- package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +350 -0
- package/apps/runtime/dist/db/migrations/control/meta/0005_snapshot.json +358 -0
- package/apps/runtime/dist/db/migrations/control/meta/0006_snapshot.json +365 -0
- package/apps/runtime/dist/db/migrations/control/meta/0007_snapshot.json +460 -0
- package/apps/runtime/dist/db/migrations/control/meta/0008_snapshot.json +505 -0
- package/apps/runtime/dist/db/migrations/control/meta/0009_snapshot.json +561 -0
- package/apps/runtime/dist/db/migrations/control/meta/0010_snapshot.json +600 -0
- package/apps/runtime/dist/db/migrations/control/meta/_journal.json +83 -0
- package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +188 -0
- package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +52 -0
- package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +6 -0
- package/apps/runtime/dist/db/migrations/tenant/0005_reflective_forgotten_one.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0006_hard_war_machine.sql +30 -0
- package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +43 -0
- package/apps/runtime/dist/db/migrations/tenant/0008_run_event_note.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0009_knowledge.sql +104 -0
- package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +15 -0
- package/apps/runtime/dist/db/migrations/tenant/0011_runners.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0012_assistant_chat.sql +40 -0
- package/apps/runtime/dist/db/migrations/tenant/0013_run_origin.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0014_run_answer.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0015_device_calls.sql +13 -0
- package/apps/runtime/dist/db/migrations/tenant/0016_even_trish_tilby.sql +12 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +1323 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +1330 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +1337 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +1605 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +1645 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0005_snapshot.json +1659 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0006_snapshot.json +1696 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +2012 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0008_snapshot.json +2019 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0009_snapshot.json +2837 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +2942 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0011_snapshot.json +2956 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0012_snapshot.json +3132 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0013_snapshot.json +3139 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0014_snapshot.json +3154 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0015_snapshot.json +3243 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0016_snapshot.json +3326 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +125 -0
- package/apps/runtime/dist/db/schema.js +602 -0
- package/apps/runtime/dist/debug.js +197 -0
- package/apps/runtime/dist/docs/dev/index.md +41 -0
- package/apps/runtime/dist/docs/dev/meta.json +7 -0
- package/apps/runtime/dist/docs/dev/plugins/connections.md +74 -0
- package/apps/runtime/dist/docs/dev/plugins/events.md +89 -0
- package/apps/runtime/dist/docs/dev/plugins/examples.md +101 -0
- package/apps/runtime/dist/docs/dev/plugins/index.md +78 -0
- package/apps/runtime/dist/docs/dev/plugins/layout.md +90 -0
- package/apps/runtime/dist/docs/dev/plugins/meta.json +28 -0
- package/apps/runtime/dist/docs/dev/plugins/quick-start.md +94 -0
- package/apps/runtime/dist/docs/dev/plugins/reference.md +348 -0
- package/apps/runtime/dist/docs/dev/plugins/reloading.md +76 -0
- package/apps/runtime/dist/docs/dev/plugins/routes.md +185 -0
- package/apps/runtime/dist/docs/dev/plugins/runners.md +230 -0
- package/apps/runtime/dist/docs/dev/plugins/server.md +281 -0
- package/apps/runtime/dist/docs/dev/plugins/shipping.md +79 -0
- package/apps/runtime/dist/docs/dev/plugins/space.md +297 -0
- package/apps/runtime/dist/docs/dev/plugins/starters.md +70 -0
- package/apps/runtime/dist/docs/dev/plugins/studio.md +363 -0
- package/apps/runtime/dist/docs/dev/plugins/styling.md +129 -0
- package/apps/runtime/dist/docs/dev/plugins/tables.md +104 -0
- package/apps/runtime/dist/docs/dev/plugins/tools.md +139 -0
- package/apps/runtime/dist/docs/dev/wizard-format.md +125 -0
- package/apps/runtime/dist/docs/meta.json +3 -0
- package/apps/runtime/dist/docs/user/ai-apps.md +112 -0
- package/apps/runtime/dist/docs/user/assistant.md +77 -0
- package/apps/runtime/dist/docs/user/build-a-wizard.md +116 -0
- package/apps/runtime/dist/docs/user/command-line.md +86 -0
- package/apps/runtime/dist/docs/user/connectors.md +90 -0
- package/apps/runtime/dist/docs/user/create-account.md +52 -0
- package/apps/runtime/dist/docs/user/data.md +66 -0
- package/apps/runtime/dist/docs/user/first-start.md +60 -0
- package/apps/runtime/dist/docs/user/index.md +49 -0
- package/apps/runtime/dist/docs/user/install.md +123 -0
- package/apps/runtime/dist/docs/user/local-only.md +42 -0
- package/apps/runtime/dist/docs/user/meta.json +32 -0
- package/apps/runtime/dist/docs/user/models.md +156 -0
- package/apps/runtime/dist/docs/user/plugins.md +71 -0
- package/apps/runtime/dist/docs/user/run.md +98 -0
- package/apps/runtime/dist/docs/user/server.md +52 -0
- package/apps/runtime/dist/docs/user/space.md +126 -0
- package/apps/runtime/dist/docs/user/steps.md +220 -0
- package/apps/runtime/dist/docs/user/test-and-share.md +224 -0
- package/apps/runtime/dist/docs/user/troubleshooting.md +67 -0
- package/apps/runtime/dist/docs/user/wordpress.md +121 -0
- package/apps/runtime/dist/documents/parse.js +246 -0
- package/apps/runtime/dist/engenty/connections-external/build-connector.js +193 -0
- package/apps/runtime/dist/engenty/connections-external/errors.js +11 -0
- package/apps/runtime/dist/engenty/connections-external/import-service.js +270 -0
- package/apps/runtime/dist/engenty/connections-external/importer/classify.js +34 -0
- package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +185 -0
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +63 -0
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +130 -0
- package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +143 -0
- package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +143 -0
- package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +119 -0
- package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +88 -0
- package/apps/runtime/dist/engenty/connections-external/registry-client.js +336 -0
- package/apps/runtime/dist/engenty/connections-external/registry-source.js +82 -0
- package/apps/runtime/dist/engenty/connections-external/types.js +7 -0
- package/apps/runtime/dist/engenty/connections-github/connector.js +209 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +381 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +94 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +290 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +567 -0
- package/apps/runtime/dist/engenty/connections-google/definitions.js +11 -0
- package/apps/runtime/dist/engenty/connections-google/shared.js +73 -0
- package/apps/runtime/dist/engenty/connections-hubspot/connector.js +140 -0
- package/apps/runtime/dist/engenty/connections-microsoft/action.js +17 -0
- package/apps/runtime/dist/engenty/connections-microsoft/graph.js +114 -0
- package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +286 -0
- package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +492 -0
- package/apps/runtime/dist/engenty/connections-s3/s3.js +328 -0
- package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +86 -0
- package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +150 -0
- package/apps/runtime/dist/engenty/connections-sdk/registry.js +89 -0
- package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +84 -0
- package/apps/runtime/dist/engenty/connections-sdk/types.js +30 -0
- package/apps/runtime/dist/engenty/connections-slack/connector.js +360 -0
- package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +178 -0
- package/apps/runtime/dist/engenty/csv-import/import-sources.js +87 -0
- package/apps/runtime/dist/engenty/csv-import/parse-csv.js +129 -0
- package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +20 -0
- package/apps/runtime/dist/engenty/csv-import/types.js +1 -0
- package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +159 -0
- package/apps/runtime/dist/engenty/doc-converter/interface.js +9 -0
- package/apps/runtime/dist/engenty/doc-converter/page-break.js +92 -0
- package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +72 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +30 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +4 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +73 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +63 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +40 -0
- package/apps/runtime/dist/engenty/search-index/chunks.js +164 -0
- package/apps/runtime/dist/engenty/search-index/contracts.js +9 -0
- package/apps/runtime/dist/engenty/shims/connections-sdk.js +39 -0
- package/apps/runtime/dist/engenty/shims/plugin-sdk.js +1 -0
- package/apps/runtime/dist/engenty/shims/web-ingest.js +19 -0
- package/apps/runtime/dist/engenty/web-ingest/ssrf.js +277 -0
- package/apps/runtime/dist/engine/asks.js +82 -0
- package/apps/runtime/dist/engine/decide.js +82 -0
- package/apps/runtime/dist/engine/device.js +194 -0
- package/apps/runtime/dist/engine/events.js +128 -0
- package/apps/runtime/dist/engine/input.js +208 -0
- package/apps/runtime/dist/engine/owner.js +32 -0
- package/apps/runtime/dist/engine/prepare.js +90 -0
- package/apps/runtime/dist/engine/push.js +58 -0
- package/apps/runtime/dist/engine/requirements.js +355 -0
- package/apps/runtime/dist/engine/resources.js +198 -0
- package/apps/runtime/dist/engine/runner.js +970 -0
- package/apps/runtime/dist/engine/steps.js +1000 -0
- package/apps/runtime/dist/engine/surface.js +91 -0
- package/apps/runtime/dist/engine/template.js +240 -0
- package/apps/runtime/dist/engine/types.js +4 -0
- package/apps/runtime/dist/env.js +279 -0
- package/apps/runtime/dist/features.js +123 -0
- package/apps/runtime/dist/files/blobs.js +22 -0
- package/apps/runtime/dist/files/objects.js +86 -0
- package/apps/runtime/dist/files/storage.js +120 -0
- package/apps/runtime/dist/files/web-images.js +101 -0
- package/apps/runtime/dist/film/project.js +257 -0
- package/apps/runtime/dist/film/skills.js +91 -0
- package/apps/runtime/dist/film/sounds.js +122 -0
- package/apps/runtime/dist/film/step.js +289 -0
- package/apps/runtime/dist/film/tools.js +99 -0
- package/apps/runtime/dist/geocode.js +58 -0
- package/apps/runtime/dist/harness/antigravity.js +129 -0
- package/apps/runtime/dist/harness/apple.js +270 -0
- package/apps/runtime/dist/harness/claude.js +147 -0
- package/apps/runtime/dist/harness/codex.js +229 -0
- package/apps/runtime/dist/harness/cursor.js +93 -0
- package/apps/runtime/dist/harness/env.js +124 -0
- package/apps/runtime/dist/harness/index.js +95 -0
- package/apps/runtime/dist/harness/model.js +279 -0
- package/apps/runtime/dist/harness/prompt.js +121 -0
- package/apps/runtime/dist/harness/terminal.js +194 -0
- package/apps/runtime/dist/harness/types.js +7 -0
- package/apps/runtime/dist/index.js +113 -0
- package/apps/runtime/dist/limits.js +81 -0
- package/apps/runtime/dist/link-preview.js +60 -0
- package/apps/runtime/dist/log.js +106 -0
- package/apps/runtime/dist/manage.js +249 -0
- package/apps/runtime/dist/mcp/auth.js +161 -0
- package/apps/runtime/dist/mcp/bridge.js +59 -0
- package/apps/runtime/dist/mcp/flow-app.js +97 -0
- package/apps/runtime/dist/mcp/handler.js +54 -0
- package/apps/runtime/dist/mcp/scopes.js +14 -0
- package/apps/runtime/dist/mcp/seen.js +65 -0
- package/apps/runtime/dist/mcp/tools.js +572 -0
- package/apps/runtime/dist/media/conversation.js +167 -0
- package/apps/runtime/dist/media/ffmpeg.js +121 -0
- package/apps/runtime/dist/media/generate.js +120 -0
- package/apps/runtime/dist/media/marking.js +121 -0
- package/apps/runtime/dist/media/transcribe.js +198 -0
- package/apps/runtime/dist/model-errors.js +42 -0
- package/apps/runtime/dist/models.js +1164 -0
- package/apps/runtime/dist/plugin.js +61 -0
- package/apps/runtime/dist/plugins/channels.js +78 -0
- package/apps/runtime/dist/plugins/claims.js +56 -0
- package/apps/runtime/dist/plugins/discovery.js +155 -0
- package/apps/runtime/dist/plugins/events.js +63 -0
- package/apps/runtime/dist/plugins/jobs.js +64 -0
- package/apps/runtime/dist/plugins/loader.js +508 -0
- package/apps/runtime/dist/plugins/migrations.js +69 -0
- package/apps/runtime/dist/plugins/pro-keys.js +34 -0
- package/apps/runtime/dist/plugins/pro-state.js +83 -0
- package/apps/runtime/dist/plugins/pro.js +310 -0
- package/apps/runtime/dist/plugins/public.js +44 -0
- package/apps/runtime/dist/plugins/registry.js +122 -0
- package/apps/runtime/dist/plugins/runs.js +210 -0
- package/apps/runtime/dist/render/browser-path.js +54 -0
- package/apps/runtime/dist/render/chromium.js +98 -0
- package/apps/runtime/dist/render/convert.js +158 -0
- package/apps/runtime/dist/render/downloads.js +299 -0
- package/apps/runtime/dist/render/guard.js +25 -0
- package/apps/runtime/dist/render/shaped.js +137 -0
- package/apps/runtime/dist/routes/api.js +440 -0
- package/apps/runtime/dist/routes/debug.js +42 -0
- package/apps/runtime/dist/routes/delivery.js +90 -0
- package/apps/runtime/dist/routes/internal.js +81 -0
- package/apps/runtime/dist/routes/lang.js +25 -0
- package/apps/runtime/dist/routes/marketplace.js +43 -0
- package/apps/runtime/dist/routes/plugin-public.js +113 -0
- package/apps/runtime/dist/routes/plugins.js +212 -0
- package/apps/runtime/dist/routes/runs.js +1422 -0
- package/apps/runtime/dist/routes/studio.js +1629 -0
- package/apps/runtime/dist/routes/wizard-stream.js +30 -0
- package/apps/runtime/dist/running.js +39 -0
- package/apps/runtime/dist/sandbox/agentos-package.js +73 -0
- package/apps/runtime/dist/sandbox/agentos.js +162 -0
- package/apps/runtime/dist/sandbox/docker.js +45 -0
- package/apps/runtime/dist/sandbox/index.js +52 -0
- package/apps/runtime/dist/sandbox/install.js +122 -0
- package/apps/runtime/dist/sandbox/mastra.js +71 -0
- package/apps/runtime/dist/sandbox/types.js +1 -0
- package/apps/runtime/dist/secrets/crypto.js +28 -0
- package/apps/runtime/dist/secrets/signing.js +52 -0
- package/apps/runtime/dist/secrets/vault.js +59 -0
- package/apps/runtime/dist/services/access.js +88 -0
- package/apps/runtime/dist/services/api.js +248 -0
- package/apps/runtime/dist/services/architect.js +95 -0
- package/apps/runtime/dist/services/assistant-chats.js +311 -0
- package/apps/runtime/dist/services/brand.js +85 -0
- package/apps/runtime/dist/services/cloud.js +456 -0
- package/apps/runtime/dist/services/draft-events.js +27 -0
- package/apps/runtime/dist/services/engenty-shapes.js +71 -0
- package/apps/runtime/dist/services/errors.js +29 -0
- package/apps/runtime/dist/services/files.js +178 -0
- package/apps/runtime/dist/services/knowledge-model.js +559 -0
- package/apps/runtime/dist/services/knowledge.js +721 -0
- package/apps/runtime/dist/services/links.js +16 -0
- package/apps/runtime/dist/services/marketplace.js +492 -0
- package/apps/runtime/dist/services/onboarding.js +152 -0
- package/apps/runtime/dist/services/package-file.js +82 -0
- package/apps/runtime/dist/services/package.js +170 -0
- package/apps/runtime/dist/services/profile.js +51 -0
- package/apps/runtime/dist/services/project-files.js +439 -0
- package/apps/runtime/dist/services/project-index.js +707 -0
- package/apps/runtime/dist/services/projects.js +387 -0
- package/apps/runtime/dist/services/relevance.js +58 -0
- package/apps/runtime/dist/services/runners.js +178 -0
- package/apps/runtime/dist/services/runs.js +524 -0
- package/apps/runtime/dist/services/shares.js +130 -0
- package/apps/runtime/dist/services/site.js +270 -0
- package/apps/runtime/dist/services/space-categories.js +861 -0
- package/apps/runtime/dist/services/space-data.js +792 -0
- package/apps/runtime/dist/services/space-origin.js +207 -0
- package/apps/runtime/dist/services/spaces.js +657 -0
- package/apps/runtime/dist/services/translations.js +306 -0
- package/apps/runtime/dist/services/widgets.js +34 -0
- package/apps/runtime/dist/services/wizard-icon.js +157 -0
- package/apps/runtime/dist/services/wizards.js +420 -0
- package/apps/runtime/dist/settings.js +16 -0
- package/apps/runtime/dist/store/errors.js +4 -0
- package/apps/runtime/dist/store/index.js +299 -0
- package/apps/runtime/dist/store/shared-lists.js +123 -0
- package/apps/runtime/dist/tenants/control.js +238 -0
- package/apps/runtime/dist/tenants/tenant.js +26 -0
- package/apps/runtime/dist/texts.js +207 -0
- package/apps/runtime/dist/tools/browser.js +703 -0
- package/apps/runtime/dist/tools/connector.js +204 -0
- package/apps/runtime/dist/tools/index.js +291 -0
- package/apps/runtime/dist/tools/mail.js +104 -0
- package/apps/runtime/dist/tools/net-guard.js +170 -0
- package/apps/runtime/dist/tools/pages.js +81 -0
- package/apps/runtime/dist/tools/plugin.js +180 -0
- package/apps/runtime/dist/tools/project.js +154 -0
- package/apps/runtime/dist/tools/shared.js +69 -0
- package/apps/runtime/dist/tools/store.js +238 -0
- package/apps/runtime/dist/update.js +113 -0
- package/apps/runtime/dist/widgets/bundle.js +99 -0
- package/apps/runtime/dist/widgets/render.js +329 -0
- package/apps/runtime/dist/widgets/runtime.js +108 -0
- package/apps/runtime/dist/widgets/script.js +30 -0
- package/apps/runtime/dist/widgets/step.js +223 -0
- package/apps/web/dist/ai-labels/ai-black.svg +20 -0
- package/apps/web/dist/ai-labels/ai-generated-black.svg +31 -0
- package/apps/web/dist/ai-labels/ai-generated-white.svg +32 -0
- package/apps/web/dist/ai-labels/ai-modified-black.svg +30 -0
- package/apps/web/dist/ai-labels/ai-modified-white.svg +31 -0
- package/apps/web/dist/ai-labels/ai-white.svg +21 -0
- package/apps/web/dist/assets/AboutDialog-DYgXPagX.js +1 -0
- package/apps/web/dist/assets/ChangelogDialog-BXqBW8j3.js +1 -0
- package/apps/web/dist/assets/ChatView-CK2--tsE.js +10 -0
- package/apps/web/dist/assets/EditorPage-jvcwyXbU.js +3 -0
- package/apps/web/dist/assets/FlowPreview-CusP7ci9.js +1 -0
- package/apps/web/dist/assets/Harness-BrP-ENHg.css +1 -0
- package/apps/web/dist/assets/Harness-CV9uYzbv.js +16 -0
- package/apps/web/dist/assets/NewWizardChannels-BakW5q6s.js +1 -0
- package/apps/web/dist/assets/NewWizardPage-BoA-LJuW.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-DaD1XnOe.js +1 -0
- package/apps/web/dist/assets/ProjectPage-BFgk1DEv.js +1 -0
- package/apps/web/dist/assets/PublicRunner-C9MwEvxy.js +1 -0
- package/apps/web/dist/assets/ReadOnly-DC2Kp7l8.js +1 -0
- package/apps/web/dist/assets/RunDrawer-CY6NZSrI.js +4 -0
- package/apps/web/dist/assets/RunnerView-BT26XgcY.js +1 -0
- package/apps/web/dist/assets/SettingsPage-AFt9IDLt.js +1 -0
- package/apps/web/dist/assets/SetupPage-DtFYAbwJ.js +1 -0
- package/apps/web/dist/assets/SharePage-t2xwNS61.js +1 -0
- package/apps/web/dist/assets/changelog-CATQFxCQ.js +1 -0
- package/apps/web/dist/assets/engenty-eXZ-EAwd.js +1 -0
- package/apps/web/dist/assets/esm-DXeMu8Lb.js +7 -0
- package/apps/web/dist/assets/fluffy-engenty-ClRou7yu.js +456 -0
- package/apps/web/dist/assets/index-AfUa8xKD.css +1 -0
- package/apps/web/dist/assets/index-Drw7FMTQ.js +14 -0
- package/apps/web/dist/assets/jsx-runtime-BNakU3Ej.js +1 -0
- package/apps/web/dist/assets/lock-R_CfU0Xo.js +1 -0
- package/apps/web/dist/assets/oss-credits-cZ9NUaLZ.js +1 -0
- package/apps/web/dist/assets/pdfmake-Cx9scTbD.js +228 -0
- package/apps/web/dist/assets/phone-CgrIS4_-.js +1 -0
- package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +1 -0
- package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +98 -0
- package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +1 -0
- package/apps/web/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/apps/web/dist/assets/settings-menu-2IMOOlLl.js +1 -0
- package/apps/web/dist/assets/ui-dzGvc3xk.js +137 -0
- package/apps/web/dist/assets/upload-BSuTilFF.js +1 -0
- package/apps/web/dist/assets/vfs_fonts-DllDSYt1.js +1 -0
- package/apps/web/dist/embed.js +266 -0
- package/apps/web/dist/favicon.svg +1 -0
- package/apps/web/dist/icons/apple-touch-icon.png +0 -0
- package/apps/web/dist/icons/icon-192.png +0 -0
- package/apps/web/dist/icons/icon-512.png +0 -0
- package/apps/web/dist/icons/icon-maskable-512.png +0 -0
- package/apps/web/dist/index.html +48 -0
- package/apps/web/dist/install.sh +577 -0
- package/apps/web/dist/manifest.webmanifest +21 -0
- package/apps/web/dist/mcp/flow.html +980 -0
- package/apps/web/dist/sw.js +15 -0
- package/bin/wizards.mjs +288 -0
- package/modules/README.md +15 -0
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1150 -0
- package/node_modules/@engenty/wizards/dist/plugin/index.js +4 -0
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +322 -0
- package/node_modules/@engenty/wizards/dist/plugin/studio.js +4 -0
- package/node_modules/@engenty/wizards/dist/plugin/thread.d.ts +174 -0
- package/node_modules/@engenty/wizards/dist/plugin/thread.js +821 -0
- package/node_modules/@engenty/wizards/package.json +11 -0
- package/node_modules/@engenty-wizards/shared/dist/assistant.d.ts +174 -0
- package/node_modules/@engenty-wizards/shared/dist/assistant.js +65 -0
- package/node_modules/@engenty-wizards/shared/dist/changes.d.ts +22 -0
- package/node_modules/@engenty-wizards/shared/dist/changes.js +61 -0
- package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +77 -0
- package/node_modules/@engenty-wizards/shared/dist/connectors.js +2 -0
- package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +76 -0
- package/node_modules/@engenty-wizards/shared/dist/decision.js +147 -0
- package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +2922 -0
- package/node_modules/@engenty-wizards/shared/dist/definition.js +1920 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +5 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +132 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +11 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +209 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +532 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +217 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +3 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +3 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +14 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +166 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +33 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +99 -0
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +78 -0
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +70 -0
- package/node_modules/@engenty-wizards/shared/dist/features.d.ts +41 -0
- package/node_modules/@engenty-wizards/shared/dist/features.js +89 -0
- package/node_modules/@engenty-wizards/shared/dist/fit.d.ts +71 -0
- package/node_modules/@engenty-wizards/shared/dist/fit.js +382 -0
- package/node_modules/@engenty-wizards/shared/dist/json-schema.d.ts +14 -0
- package/node_modules/@engenty-wizards/shared/dist/json-schema.js +66 -0
- package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +199 -0
- package/node_modules/@engenty-wizards/shared/dist/knowledge.js +68 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +35 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +107 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +20 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +136 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +227 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace.js +354 -0
- package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +7 -0
- package/node_modules/@engenty-wizards/shared/dist/merge.js +40 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +24 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.js +54 -0
- package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +224 -0
- package/node_modules/@engenty-wizards/shared/dist/projects.js +319 -0
- package/node_modules/@engenty-wizards/shared/dist/providers.d.ts +101 -0
- package/node_modules/@engenty-wizards/shared/dist/providers.js +390 -0
- package/node_modules/@engenty-wizards/shared/dist/run.d.ts +680 -0
- package/node_modules/@engenty-wizards/shared/dist/run.js +620 -0
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.d.ts +546 -0
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.js +523 -0
- package/node_modules/@engenty-wizards/shared/dist/runners.d.ts +93 -0
- package/node_modules/@engenty-wizards/shared/dist/runners.js +146 -0
- package/node_modules/@engenty-wizards/shared/dist/shape.d.ts +102 -0
- package/node_modules/@engenty-wizards/shared/dist/shape.js +318 -0
- package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +89 -0
- package/node_modules/@engenty-wizards/shared/dist/space-data.js +47 -0
- package/node_modules/@engenty-wizards/shared/dist/store.d.ts +117 -0
- package/node_modules/@engenty-wizards/shared/dist/store.js +81 -0
- package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +115 -0
- package/node_modules/@engenty-wizards/shared/dist/surface.js +442 -0
- package/node_modules/@engenty-wizards/shared/dist/texts.d.ts +45 -0
- package/node_modules/@engenty-wizards/shared/dist/texts.js +54 -0
- package/node_modules/@engenty-wizards/shared/dist/translation.d.ts +23 -0
- package/node_modules/@engenty-wizards/shared/dist/translation.js +154 -0
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.d.ts +48 -0
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +49 -0
- package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +16 -0
- package/node_modules/@engenty-wizards/shared/dist/workspace.js +51 -0
- package/node_modules/@engenty-wizards/shared/package.json +10 -0
- package/package.json +77 -4
- package/plugin/.claude-plugin/plugin.json +9 -0
- package/plugin/.mcp.json +8 -0
- package/plugin/commands/wizard.md +8 -0
- package/plugin/skills/build-wizard/SKILL.md +27 -0
- package/plugin/skills/use-wizard/SKILL.md +18 -0
|
@@ -0,0 +1,680 @@
|
|
|
1
|
+
import { type CardOption, type Format, type Lang, type ModelClass, type Step, type WizardDefinition } from "./definition.js";
|
|
2
|
+
import type { ConnectionView, ListDef, ListRow } from "./store.js";
|
|
3
|
+
import type { Surface } from "./surface.js";
|
|
4
|
+
import { type Gap, type Texts, type TextTable } from "./texts.js";
|
|
5
|
+
export type RunStatus = "waiting_input" | "running" | "done" | "failed" | "cancelled";
|
|
6
|
+
export interface AssetRef {
|
|
7
|
+
id: string;
|
|
8
|
+
/** image | video | html | text | json */
|
|
9
|
+
kind: string;
|
|
10
|
+
mime: string;
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* Media a model made ("generated") or changed ("edited"). Shown with a label wherever it is
|
|
14
|
+
* displayed; the file itself carries the marking in its metadata (EU AI Act, Art. 50).
|
|
15
|
+
*/
|
|
16
|
+
ai?: "generated" | "edited";
|
|
17
|
+
}
|
|
18
|
+
export interface StepOutput {
|
|
19
|
+
text?: string;
|
|
20
|
+
json?: unknown;
|
|
21
|
+
/** A decision step: how probable each answer is (1 or 0 where a language model answered). */
|
|
22
|
+
decided?: Record<string, number>;
|
|
23
|
+
/** A view from the surface catalog and the data it is bound to. */
|
|
24
|
+
surface?: Surface;
|
|
25
|
+
assets?: AssetRef[];
|
|
26
|
+
/**
|
|
27
|
+
* What the person did in the step's view, kept with the run: a checklist's ticks by component
|
|
28
|
+
* id, a widget's own state (`wizard.save`).
|
|
29
|
+
*/
|
|
30
|
+
view?: Record<string, unknown>;
|
|
31
|
+
/** Widgets: what loading it with this run's data showed. */
|
|
32
|
+
widget?: {
|
|
33
|
+
/** Seconds of animation the widget registered for video export; null = a still widget. */
|
|
34
|
+
duration: number | null;
|
|
35
|
+
errors: string[];
|
|
36
|
+
};
|
|
37
|
+
at: string;
|
|
38
|
+
}
|
|
39
|
+
export interface RunState {
|
|
40
|
+
values: Record<string, unknown>;
|
|
41
|
+
outputs: Record<string, StepOutput>;
|
|
42
|
+
/** Interactive steps answered, oldest first — "back" pops this. */
|
|
43
|
+
history: string[];
|
|
44
|
+
/** Regenerate notes per step. */
|
|
45
|
+
notes: Record<string, string>;
|
|
46
|
+
/** Steps that make several results: the entries (from 0) to make again; the others stay. */
|
|
47
|
+
redo?: Record<string, number[]>;
|
|
48
|
+
/** The step whose `ask` branches are being decided; the run waits on that decision. */
|
|
49
|
+
deciding?: string;
|
|
50
|
+
/** What decided `ask` branches answered, by step. */
|
|
51
|
+
decisions?: Record<string, BranchDecision>;
|
|
52
|
+
/** Pages whose fields a decision chose: the field ids kept, by page. */
|
|
53
|
+
pages?: Record<string, {
|
|
54
|
+
shown: string[];
|
|
55
|
+
}>;
|
|
56
|
+
/** How often each branch was taken, by "<step>→<goto>": loops stop at the rule's max. */
|
|
57
|
+
loops?: Record<string, number>;
|
|
58
|
+
/** File fields with `listen`: what is said in the recording, piece by piece with its times. */
|
|
59
|
+
heard?: Record<string, {
|
|
60
|
+
start: number;
|
|
61
|
+
end: number;
|
|
62
|
+
text: string;
|
|
63
|
+
}[]>;
|
|
64
|
+
/**
|
|
65
|
+
* A test run's own copy of the wizard's memory: the pages it wrote, by title. The wizard's
|
|
66
|
+
* pages stay as they are; the copy goes with the run.
|
|
67
|
+
*/
|
|
68
|
+
memory?: Record<string, string>;
|
|
69
|
+
/**
|
|
70
|
+
* Finished results translated on request, by language and step: the text the person reads in
|
|
71
|
+
* place of the step's own (`StepOutput.text`); the step's output stays as it was made.
|
|
72
|
+
*/
|
|
73
|
+
translated?: Record<string, Record<string, string>>;
|
|
74
|
+
}
|
|
75
|
+
/** What a decision over a step's `ask` branches found. */
|
|
76
|
+
export interface BranchDecision {
|
|
77
|
+
/** The index of the rule in the step's `next`, or null: none of them, go on. */
|
|
78
|
+
rule: number | null;
|
|
79
|
+
source: "systemone" | "llm";
|
|
80
|
+
probabilities?: Record<string, number>;
|
|
81
|
+
at: string;
|
|
82
|
+
}
|
|
83
|
+
/** A branch decision as the studio sees it: with the step's branches it was made over. */
|
|
84
|
+
export interface ShownDecision extends BranchDecision {
|
|
85
|
+
over: NonNullable<Step["next"]>;
|
|
86
|
+
}
|
|
87
|
+
interface AskBase {
|
|
88
|
+
id: string;
|
|
89
|
+
stepId: string;
|
|
90
|
+
/** Why the wizard asks, in the person's language. */
|
|
91
|
+
reason: string;
|
|
92
|
+
at: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* A running step asks the person to sign in on a page the wizard's browser has open. What the
|
|
96
|
+
* person types goes into that page; the model never sees it.
|
|
97
|
+
*/
|
|
98
|
+
export interface LoginAsk extends AskBase {
|
|
99
|
+
kind: "login";
|
|
100
|
+
site: {
|
|
101
|
+
host: string;
|
|
102
|
+
title: string;
|
|
103
|
+
};
|
|
104
|
+
/** Inputs found on the page, to fill here instead of clicking into the picture. */
|
|
105
|
+
fields: {
|
|
106
|
+
id: string;
|
|
107
|
+
label: string;
|
|
108
|
+
secret: boolean;
|
|
109
|
+
}[];
|
|
110
|
+
}
|
|
111
|
+
/** A running step wants to change something in one of the person's accounts and asks first. */
|
|
112
|
+
export interface ConfirmAsk extends AskBase {
|
|
113
|
+
kind: "confirm";
|
|
114
|
+
/** The connected service, e.g. "Notion". */
|
|
115
|
+
service: string;
|
|
116
|
+
action: {
|
|
117
|
+
id: string;
|
|
118
|
+
summary: string;
|
|
119
|
+
destructive: boolean;
|
|
120
|
+
};
|
|
121
|
+
/** What would be sent, as readable JSON. */
|
|
122
|
+
input: string;
|
|
123
|
+
}
|
|
124
|
+
/** What a running step asks the person; the step waits for the answer. */
|
|
125
|
+
export type RunAsk = LoginAsk | ConfirmAsk;
|
|
126
|
+
/** A question as a step puts it; the runner adds id, step and time. */
|
|
127
|
+
export type AskInput = Omit<LoginAsk, "id" | "stepId" | "at"> | Omit<ConfirmAsk, "id" | "stepId" | "at">;
|
|
128
|
+
/**
|
|
129
|
+
* `fill` and `done` answer a sign-in (remember = keep the sign-in); `done` also allows a change
|
|
130
|
+
* (remember = allow that action for the rest of the run); `skip` declines either.
|
|
131
|
+
*/
|
|
132
|
+
export type AskAnswer = {
|
|
133
|
+
type: "fill";
|
|
134
|
+
values: Record<string, string>;
|
|
135
|
+
remember?: boolean;
|
|
136
|
+
} | {
|
|
137
|
+
type: "done";
|
|
138
|
+
remember?: boolean;
|
|
139
|
+
} | {
|
|
140
|
+
type: "skip";
|
|
141
|
+
};
|
|
142
|
+
/** One thing the person does in the wizard's browser while it waits for them. */
|
|
143
|
+
export type BrowserAct =
|
|
144
|
+
/** Where on the picture, as a share of its width and height (0–1). */
|
|
145
|
+
{
|
|
146
|
+
type: "click";
|
|
147
|
+
fx: number;
|
|
148
|
+
fy: number;
|
|
149
|
+
} | {
|
|
150
|
+
type: "type";
|
|
151
|
+
text: string;
|
|
152
|
+
} | {
|
|
153
|
+
type: "key";
|
|
154
|
+
key: "Enter" | "Tab" | "Backspace" | "Escape";
|
|
155
|
+
} | {
|
|
156
|
+
type: "scroll";
|
|
157
|
+
dy: number;
|
|
158
|
+
};
|
|
159
|
+
/** A stored list the current step shows. */
|
|
160
|
+
export interface ShownList {
|
|
161
|
+
def: ListDef;
|
|
162
|
+
rows: ListRow[];
|
|
163
|
+
formats: Format[];
|
|
164
|
+
label: string | null;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* What a step reports while it works, in words for each language: the runtime writes the English
|
|
168
|
+
* line into the run's log, a runner shows it in the language the person reads. The runtime's
|
|
169
|
+
* answers to the person running a shared wizard (a refusal, a failure) are notes too: it answers
|
|
170
|
+
* them in the wizard's language.
|
|
171
|
+
*/
|
|
172
|
+
declare const NOTES_EN: {
|
|
173
|
+
readonly entry: "Entry {n} of {total}";
|
|
174
|
+
readonly deciding: "Deciding what to do next…";
|
|
175
|
+
readonly choosingFields: "Choosing the right questions…";
|
|
176
|
+
readonly batchDone: "{done} of {total} done";
|
|
177
|
+
readonly editing: "Editing {n} of {total}";
|
|
178
|
+
readonly filming: "Filming {n} of {total}";
|
|
179
|
+
readonly clipsRendering: {
|
|
180
|
+
readonly one: "Rendering {count} clip – this takes a few minutes.";
|
|
181
|
+
readonly other: "Rendering {count} clips – this takes a few minutes.";
|
|
182
|
+
};
|
|
183
|
+
readonly videoRendering: "Rendering the video – this usually takes 1–3 minutes.";
|
|
184
|
+
readonly photo: "Looking at photo {n} of {total}";
|
|
185
|
+
readonly found: "{label}: {name}";
|
|
186
|
+
readonly listen: "Listening to “{label}”…";
|
|
187
|
+
readonly listenFailed: "“{label}” couldn’t be transcribed.";
|
|
188
|
+
readonly filmCutting: "Cutting the film – this takes about a minute.";
|
|
189
|
+
readonly filmProgress: "{pct} % cut";
|
|
190
|
+
readonly filmError: "The film reports: {detail}";
|
|
191
|
+
readonly widgetError: "The widget reports an error: {detail}";
|
|
192
|
+
readonly mcpConnected: "Connected to {names}";
|
|
193
|
+
readonly mcpUnreachable: "MCP server unreachable: {detail}";
|
|
194
|
+
readonly reads: "Reading {name}";
|
|
195
|
+
readonly readsMany: {
|
|
196
|
+
readonly one: "Reading {count} document";
|
|
197
|
+
readonly other: "Reading {count} documents";
|
|
198
|
+
};
|
|
199
|
+
readonly opens: "Opening {name}";
|
|
200
|
+
readonly clicks: "Clicking in the browser";
|
|
201
|
+
readonly clicksOn: "Clicking “{name}”";
|
|
202
|
+
readonly types: "Typing in the browser";
|
|
203
|
+
readonly typesText: "Typing “{text}”";
|
|
204
|
+
readonly selects: "Choosing “{option}”";
|
|
205
|
+
readonly scrolls: "Scrolling";
|
|
206
|
+
readonly presses: "Pressing {key}";
|
|
207
|
+
readonly goesBack: "Going back a page";
|
|
208
|
+
readonly waitsForPage: "Waiting for the page";
|
|
209
|
+
readonly fastLoop: "Doing in the browser: {goal}";
|
|
210
|
+
readonly personDrives: "You’re driving the browser – the wizard waits";
|
|
211
|
+
readonly agentDrives: "The wizard carries on in the browser";
|
|
212
|
+
readonly looksAtPage: "Looking at the page";
|
|
213
|
+
readonly waitsForSignIn: "Waiting for you to sign in to {name}";
|
|
214
|
+
readonly downloads: "Downloading {name}";
|
|
215
|
+
readonly runs: "Running: {command}";
|
|
216
|
+
readonly python: "Running Python";
|
|
217
|
+
readonly drawing: "Drawing an image";
|
|
218
|
+
readonly writesPage: "Writing the page “{title}”";
|
|
219
|
+
readonly searchesDocuments: "Searching the documents: {query}";
|
|
220
|
+
readonly searchesKnowledge: "Searching knowledge: {query} – {relevant} of {candidates} fit";
|
|
221
|
+
readonly listsKnowledge: "Listing knowledge";
|
|
222
|
+
readonly searchesMail: "Searching {label}";
|
|
223
|
+
readonly savesReceipts: {
|
|
224
|
+
readonly one: "Saving {count} receipt from {label}";
|
|
225
|
+
readonly other: "Saving {count} receipts from {label}";
|
|
226
|
+
};
|
|
227
|
+
readonly remembers: "Remembering {title}";
|
|
228
|
+
readonly files: {
|
|
229
|
+
readonly one: "Filing {count} file";
|
|
230
|
+
readonly other: "Filing {count} files";
|
|
231
|
+
};
|
|
232
|
+
readonly filmSetup: "Setting up the folder for the film";
|
|
233
|
+
readonly filmClient: "{client} is working on the film – this usually takes 10–40 minutes.";
|
|
234
|
+
readonly filmTask: "On the film: {task}";
|
|
235
|
+
readonly filmLooks: "Looking at frames of the film";
|
|
236
|
+
readonly filmFix: "The film didn’t render – Claude Code is fixing it";
|
|
237
|
+
readonly filmResume: "Picking the film up where it stopped";
|
|
238
|
+
readonly wizardUnavailable: "This wizard isn’t available right now.";
|
|
239
|
+
readonly translationFailed: "This wizard can’t be translated right now. It’s shown as it was written.";
|
|
240
|
+
readonly translationOff: "This wizard is only offered as it was written.";
|
|
241
|
+
readonly translationPlaceholder: "The translation of “{text}” needs every placeholder in curly brackets the original has.";
|
|
242
|
+
readonly wizardLimit: "This wizard has reached its limit for today. Try again tomorrow.";
|
|
243
|
+
readonly confirmHuman: "Confirm that you’re a person.";
|
|
244
|
+
readonly tooManyRuns: "You’ve started a lot of runs just now. Try again in an hour.";
|
|
245
|
+
readonly runOver: "The run is over.";
|
|
246
|
+
readonly runBusy: "The wizard is working right now.";
|
|
247
|
+
readonly pageOutdated: "This page is out of date.";
|
|
248
|
+
readonly noStepBefore: "There is no step before this one.";
|
|
249
|
+
readonly checkFields: "Check the marked fields.";
|
|
250
|
+
readonly talkOff: "Live conversations aren’t turned on for this wizard.";
|
|
251
|
+
readonly talkKeyRefused: "The conversation couldn’t start: the OpenAI API key was refused.";
|
|
252
|
+
readonly talkFailed: "The conversation couldn’t start ({status}).";
|
|
253
|
+
readonly talkNoSecret: "The conversation couldn’t start: no access key came back.";
|
|
254
|
+
readonly tryLater: "Try again later.";
|
|
255
|
+
readonly recordingTooLarge: "The recording can be 10 MB at most.";
|
|
256
|
+
readonly fileTooLarge: "Choose a file of {mb} MB or less.";
|
|
257
|
+
readonly askClosed: "This question is no longer open.";
|
|
258
|
+
readonly noBrowser: "The wizard has no browser open right now.";
|
|
259
|
+
readonly notWaiting: "The wizard isn’t waiting for you right now.";
|
|
260
|
+
readonly pageActFailed: "That didn’t work on the page.";
|
|
261
|
+
readonly linkGone: "This link has expired or was withdrawn.";
|
|
262
|
+
readonly connected: "Connected. You can close this window.";
|
|
263
|
+
readonly connectFailed: "Connecting didn’t work. Try again.";
|
|
264
|
+
readonly connectCancelled: "Connecting was cancelled.";
|
|
265
|
+
readonly appleOff: "Apple Intelligence is turned off on this Mac. Turn it on in System Settings → Apple Intelligence & Siri.";
|
|
266
|
+
readonly appleLoading: "Apple is still loading the model for Apple Intelligence onto this Mac. Try again in a moment.";
|
|
267
|
+
readonly appleMissing: "The helper for Apple Intelligence (wizards-apple) is missing from this install.";
|
|
268
|
+
readonly appleOs: "Apple Intelligence needs macOS 26 or later.";
|
|
269
|
+
readonly appleDevice: "Apple Intelligence only works on a Mac with Apple silicon.";
|
|
270
|
+
readonly appleBusy: "Apple Intelligence isn’t taking more requests right now. Try again in a moment.";
|
|
271
|
+
readonly appleTooLong: "The text is too long for Apple Intelligence on this Mac (4,096 tokens for question and answer). Choose another model for this class under Settings → Models.";
|
|
272
|
+
readonly appleRefused: "Apple Intelligence turned the request down: Apple’s content rules don’t allow it.";
|
|
273
|
+
readonly appleLanguage: "Apple Intelligence doesn’t understand the language of this request.";
|
|
274
|
+
readonly appleFormat: "Apple Intelligence can’t answer in this format: {detail}";
|
|
275
|
+
readonly appleFailed: "Apple Intelligence: {detail}";
|
|
276
|
+
readonly appleNoFfmpeg: "Apple Intelligence can’t read {type}, and without ffmpeg the recording can’t be converted. Install ffmpeg or record as MP4 in the browser.";
|
|
277
|
+
readonly appleNotConverted: "Apple Intelligence couldn’t convert the recording: {detail}";
|
|
278
|
+
readonly connectorAlreadyExistsSpace: "The connector “{id}” already exists in this space.";
|
|
279
|
+
readonly connectorNotExist: "This connector doesn’t exist.";
|
|
280
|
+
readonly fieldMissing: "“{label}” is missing.";
|
|
281
|
+
readonly mailServerNotExist: "The mail server{host} doesn’t exist. Enter the IMAP server. For Gmail and Google Workspace, it’s imap.gmail.com.";
|
|
282
|
+
readonly mailServerNotResponding: "The mail server{host} isn’t responding. Check the IMAP server and port.";
|
|
283
|
+
readonly connectingNotWork: "Connecting didn’t work{host}: {detail}";
|
|
284
|
+
readonly connectEngentyAccountFirst: "Connect your engenty account first (Settings → Account). Then you can connect Google here.";
|
|
285
|
+
readonly engentyAccountNotReached: "Your engenty account can’t be reached right now. Try again later.";
|
|
286
|
+
readonly googleNoLongerAccepts: "Google no longer accepts this connection. Connect the account again.";
|
|
287
|
+
readonly googleNotConnectedThrough: "Google can’t be connected through your engenty account right now.";
|
|
288
|
+
readonly stepNeedsToolPlugin: "This step needs the tool “{id}”. The plugin “{plugin}” isn’t installed here.";
|
|
289
|
+
readonly clientNotSignedIn: "{name} isn’t signed in on this computer. Sign in under Settings → Models.";
|
|
290
|
+
readonly clientNotInstalled: "{name} isn’t installed on this computer. Install it under Settings → Models.";
|
|
291
|
+
readonly clientNoCredit: "The account {name} is signed in with has no credit or quota left.";
|
|
292
|
+
readonly clientAccountNotServed: "{name} no longer serves the account it is signed in with. Sign it in with another account, or choose another way under Settings → Models.";
|
|
293
|
+
readonly anthropicAccountClaudeCode: "The Anthropic account Claude Code is signed in with has no credit. Sign Claude Code in with your subscription under Settings → Models.";
|
|
294
|
+
readonly chatgptAccountCodexSigned: "The ChatGPT account Codex is signed in with has used up its quota. Try again later or choose another client.";
|
|
295
|
+
readonly builtTerminalNotAvailable: "The built-in terminal isn’t available on this computer. Run the command in your own terminal.";
|
|
296
|
+
readonly terminalNoLongerExists: "This terminal no longer exists.";
|
|
297
|
+
readonly imageTypeNotReadable: "Images of type {mime} can’t be read (PNG, JPEG and WebP work).";
|
|
298
|
+
readonly fileNotReadable: "“{name}” ({mime}) can’t be read.";
|
|
299
|
+
readonly creditsNotSignedIn: "This is set to run on credits, but you’re not signed in to an account.";
|
|
300
|
+
readonly accountNoLongerSigned: "The account is no longer signed in. Sign in again under Settings → Account.";
|
|
301
|
+
readonly modelNotUsedYet: "The model “{ref}” can’t be used yet. Add an API key under Settings → Models, or sign in to an account.";
|
|
302
|
+
readonly noModelForImages: "No model is set up for images.";
|
|
303
|
+
readonly noModelForVideos: "No model is set up for videos.";
|
|
304
|
+
readonly noModelForSpeech: "No model is set up for speech.";
|
|
305
|
+
readonly noOpenaiApiKey: "No OpenAI API key is set for voice conversations (Settings → Models).";
|
|
306
|
+
readonly modelNotAvailableAccount: "This model isn’t available with your account.";
|
|
307
|
+
readonly accountNoModelSet: "Your account has no model set up for this.";
|
|
308
|
+
readonly claudeCodeMakesFilms: "Claude Code makes films on this computer, using your subscription. Set it up as an AI subscription under Settings → Models.";
|
|
309
|
+
readonly macNeedsFfmpegTranscribe: "This Mac needs ffmpeg to transcribe recordings from Chrome or Firefox (WebM, Ogg). Safari and the app don’t. Install ffmpeg, e.g. with “brew install ffmpeg”.";
|
|
310
|
+
readonly fieldRequired: "Required";
|
|
311
|
+
readonly chooseAtLeast: "Choose at least {min}";
|
|
312
|
+
readonly chooseAtMost: "At most {max} – remove some";
|
|
313
|
+
readonly enterNumber: "Enter a number";
|
|
314
|
+
readonly invalidChoice: "Invalid choice";
|
|
315
|
+
readonly timeNotOffered: "This time isn’t offered";
|
|
316
|
+
readonly notValidEmailAddress: "Not a valid email address";
|
|
317
|
+
readonly notValidUrl: "Not a valid URL";
|
|
318
|
+
readonly wizardRunOutCredits: "This wizard has run out of credits for now. Try again later.";
|
|
319
|
+
readonly providerCreditLow: "Your credit with the model provider isn’t enough for this (videos need a minimum balance there). Top up there and try again.";
|
|
320
|
+
readonly aiServiceBusyRight: "The AI service is busy right now. Try again in a moment.";
|
|
321
|
+
readonly stepTookTooLong: "The step took too long. Try again.";
|
|
322
|
+
readonly aiServiceNotReached: "The AI service can’t be reached right now. Try again later.";
|
|
323
|
+
readonly notAvailableNow: "That isn’t available here right now.";
|
|
324
|
+
readonly fileNotFound: "File not found";
|
|
325
|
+
readonly connectFirst: "Connect first";
|
|
326
|
+
readonly noEntriesStepWork: "There are no entries for this step to work on.";
|
|
327
|
+
readonly stepNotReturnResult: "The step didn’t return a result.";
|
|
328
|
+
readonly documentNotCreated: "The document couldn’t be created.";
|
|
329
|
+
readonly stepMissingSourcesImages: "This step is missing its sources (images or scenes).";
|
|
330
|
+
readonly noTextReadAloud: "There is no text to read aloud.";
|
|
331
|
+
readonly wizardStillErrors: "The wizard still has errors.";
|
|
332
|
+
readonly noLanguageModelSet: "No language model is set up here.";
|
|
333
|
+
readonly creditsUsedUp: "Your credits are used up.";
|
|
334
|
+
readonly chooseFile: "Choose a file.";
|
|
335
|
+
readonly pageNotReached: "The page can’t be reached.";
|
|
336
|
+
readonly unknownEntry: "Unknown entry.";
|
|
337
|
+
readonly chooseWizardFileMb: "Choose a wizard file ({PACKAGE_EXTENSION}) of 30 MB or less.";
|
|
338
|
+
readonly recordingMbMost: "The recording can be 10 MB at most.";
|
|
339
|
+
readonly onlyFinishedResultsShared: "Only finished results can be shared.";
|
|
340
|
+
readonly gradientFailed: "Couldn’t make a gradient from that. Try describing it differently.";
|
|
341
|
+
readonly onlyOneSpaceAllowed: "Only one space is allowed here.";
|
|
342
|
+
readonly mostSpaces: {
|
|
343
|
+
readonly one: "You can have at most {count} space here.";
|
|
344
|
+
readonly other: "You can have at most {count} spaces here.";
|
|
345
|
+
};
|
|
346
|
+
readonly twoEntriesSameKey: "Two entries have the same key.";
|
|
347
|
+
readonly notDeleteLastSpace: "You can’t delete the last space.";
|
|
348
|
+
readonly notFound: "This doesn’t exist or was deleted.";
|
|
349
|
+
readonly categoryNeedsName: "A category needs a name.";
|
|
350
|
+
readonly unknownCategoryType: "Unknown type “{type}”.";
|
|
351
|
+
readonly spaceMostCategories: {
|
|
352
|
+
readonly one: "A space can have at most {count} category.";
|
|
353
|
+
readonly other: "A space can have at most {count} categories.";
|
|
354
|
+
};
|
|
355
|
+
readonly categoryAlreadyExists: "The category “{name}” already exists.";
|
|
356
|
+
readonly onlyChoiceCategoriesValues: "Only choice categories have values.";
|
|
357
|
+
readonly onlyValuesOneCategory: "Only values of one category can be merged.";
|
|
358
|
+
readonly templateNeedsNewerVersion: "This template needs a newer version of engenty wizards. Update engenty wizards first.";
|
|
359
|
+
readonly chatNotExist: "This chat doesn’t exist.";
|
|
360
|
+
readonly unknownRunner: "There’s no runner “{unknown}” here.";
|
|
361
|
+
readonly leastOneRunnerStay: "At least one runner has to stay on.";
|
|
362
|
+
readonly linkOpenRunnerTurned: "The link has to open a runner that’s turned on.";
|
|
363
|
+
readonly jobNotExistAlready: "This job doesn’t exist or has already finished.";
|
|
364
|
+
readonly accountAlreadySpace: "This account already has a space here.";
|
|
365
|
+
readonly accountAlreadySpaces: {
|
|
366
|
+
readonly one: "This account already has {count} space here.";
|
|
367
|
+
readonly other: "This account already has {count} spaces here.";
|
|
368
|
+
};
|
|
369
|
+
readonly roomMostPublishedWizards: {
|
|
370
|
+
readonly one: "There’s room for at most {count} published wizard here.";
|
|
371
|
+
readonly other: "There’s room for at most {count} published wizards here.";
|
|
372
|
+
};
|
|
373
|
+
readonly spaceIdAlreadyExists: "A space with this ID already exists here and didn’t come from your computer.";
|
|
374
|
+
readonly wizardIdAlreadyBelongs: "A wizard with this ID already belongs to another space here.";
|
|
375
|
+
readonly idAlreadyUse: "This ID is already in use here.";
|
|
376
|
+
readonly wizardNotSpace: "This wizard isn’t in the space.";
|
|
377
|
+
readonly invalidColumns: "Invalid columns.";
|
|
378
|
+
readonly spaceMostTables: {
|
|
379
|
+
readonly one: "A space can have at most {count} table.";
|
|
380
|
+
readonly other: "A space can have at most {count} tables.";
|
|
381
|
+
};
|
|
382
|
+
readonly tableBelongsOneWizard: "This table belongs to one of the wizard’s lists. Its columns come from the wizard.";
|
|
383
|
+
readonly entryAlreadyExists: "This entry already exists.";
|
|
384
|
+
readonly tableMostRows: {
|
|
385
|
+
readonly one: "A table can have at most {count} row.";
|
|
386
|
+
readonly other: "A table can have at most {count} rows.";
|
|
387
|
+
};
|
|
388
|
+
readonly spaceMostPages: {
|
|
389
|
+
readonly one: "A space can have at most {count} page.";
|
|
390
|
+
readonly other: "A space can have at most {count} pages.";
|
|
391
|
+
};
|
|
392
|
+
readonly pageNotSubpages: "This page can’t have subpages.";
|
|
393
|
+
readonly pageNotOwnSubpage: "A page can’t be its own subpage.";
|
|
394
|
+
readonly pageNeedsTitle: "A page needs a title.";
|
|
395
|
+
readonly unknownSpace: "There’s no space “{space}”.";
|
|
396
|
+
readonly noParentPage: "There’s no page with the key “{parent}” to put this page under.";
|
|
397
|
+
readonly onlyTeamAdmins: "Only team admins can do that. As a member, you can edit the wizards that already exist.";
|
|
398
|
+
readonly spaceEditedLocally: "You edit this space in engenty wizards on your computer, not here.";
|
|
399
|
+
readonly wizardsRunOncePublished: "Wizards run here once you publish them in engenty wizards on your computer. You build and edit them there.";
|
|
400
|
+
readonly logoImagePngSvg: "A logo is an image (PNG, SVG, JPEG, WebP).";
|
|
401
|
+
readonly patternImageSvgPng: "A pattern is an image (SVG, PNG, JPEG, WebP).";
|
|
402
|
+
readonly filesGoHere: "Images, videos, audio, PDFs, fonts, Lottie and 3D models go here. Texts to look things up in go under knowledge.";
|
|
403
|
+
readonly addressNotReached: "The address can’t be reached.";
|
|
404
|
+
readonly addressResponded: "The address responded with {status}.";
|
|
405
|
+
readonly addressLeadsWebPage: "The address leads to a web page, not an image.";
|
|
406
|
+
readonly addressFileTooLarge: "The file is too large.";
|
|
407
|
+
readonly onlyDocumentsIndex: "Only documents are in the index.";
|
|
408
|
+
readonly emptyTooLargeDocument: "“{name}” is empty or too large for a document.";
|
|
409
|
+
readonly spaceMostDocuments: {
|
|
410
|
+
readonly one: "A space can have at most {count} document.";
|
|
411
|
+
readonly other: "A space can have at most {count} documents.";
|
|
412
|
+
};
|
|
413
|
+
readonly accountSignedOut: "The account is signed out. Sign in again.";
|
|
414
|
+
readonly cloudNotReachedRight: "The cloud can’t be reached right now.";
|
|
415
|
+
readonly publishWizardFirst: "Publish the wizard first.";
|
|
416
|
+
readonly wizardJsonUnreadable: "This isn’t a wizard file: its wizard.json can’t be read.";
|
|
417
|
+
readonly wizardFileComesNewer: "This wizard file comes from a newer version, or it’s damaged. Update engenty wizards or export the wizard again.";
|
|
418
|
+
readonly fileOver5Mb: "{name} is larger than 5 MB.";
|
|
419
|
+
readonly wizardFileTooLarge: "The wizard file is too large: a workspace holds at most 200 files and 25 MB.";
|
|
420
|
+
readonly wizardFileNotOpened: "The wizard file can’t be opened. Export the wizard again and try once more.";
|
|
421
|
+
readonly wizardJsonMissing: "This isn’t a wizard file: wizard.json is missing.";
|
|
422
|
+
readonly notValidFilePath: "“{name}” isn’t a valid file path.";
|
|
423
|
+
readonly workspaceWizardFileLarger: "The workspace in the wizard file is larger than 25 MB.";
|
|
424
|
+
readonly unknownTemplate: "There’s no template “{starterId}”.";
|
|
425
|
+
readonly wizardChangedMeantime: "The wizard was changed in the meantime.";
|
|
426
|
+
readonly valueNotExist: "This value doesn’t exist.";
|
|
427
|
+
readonly nothingFiledUnderValue: "Nothing is filed under this value yet.";
|
|
428
|
+
readonly filmNotRenderedNeeds: "The film couldn’t be rendered. It needs ffmpeg and a timeline in the widget.";
|
|
429
|
+
readonly signInRefused: "The sign-in was refused{host}. Are the address and (app) password right? Gmail and Google Workspace need an app password and IMAP turned on.{answer}";
|
|
430
|
+
readonly serverSaid: " The server said: {answer}";
|
|
431
|
+
readonly viaAccountFailed: "Connecting through your engenty account didn’t work ({code}).";
|
|
432
|
+
readonly pluginInvalidInput: "“{id}” got invalid input: {path} – {problem}";
|
|
433
|
+
readonly filmClientStopped: "{name} stopped working on the film: {detail}. The work is saved. A new try carries on from there.";
|
|
434
|
+
readonly filmWorkSaved: "{problem} The work is saved. A new try carries on from there.";
|
|
435
|
+
readonly filmRenderFailed: "The film couldn’t be rendered: {detail}";
|
|
436
|
+
readonly commandNotStarted: "The command couldn’t start: {detail}";
|
|
437
|
+
readonly providerKeyMissing: "{provider} is chosen for {makes}, but no API key is set.";
|
|
438
|
+
readonly noModelFor: "No model is set up for {makes}.";
|
|
439
|
+
readonly noApiKeyFor: "No API key is set for {provider}.";
|
|
440
|
+
readonly freeTier: "Your AI Gateway key is on Vercel’s free tier, which doesn’t include {model}. Top up at Vercel ({url}) or choose another model under Settings → Models.";
|
|
441
|
+
readonly thisModel: "this model";
|
|
442
|
+
readonly quoted: "“{text}”";
|
|
443
|
+
readonly viewErrors: "The view has errors: {detail}";
|
|
444
|
+
readonly blockedSteps: "{steps}: {problem}";
|
|
445
|
+
readonly joined: "{first} {second}";
|
|
446
|
+
readonly stepFailed: "This step failed: {detail}";
|
|
447
|
+
readonly answersMissing: "Answers are missing or don’t fit: {answers}";
|
|
448
|
+
readonly fieldError: "{field} – {message}";
|
|
449
|
+
readonly templateNeedsPlugins: {
|
|
450
|
+
readonly one: "This template needs the plugin {plugins}: included with Pro on engenty.ai.";
|
|
451
|
+
readonly other: "This template needs the plugins {plugins}: included with Pro on engenty.ai.";
|
|
452
|
+
};
|
|
453
|
+
readonly pageMostChars: {
|
|
454
|
+
readonly one: "A page can have at most {count} character.";
|
|
455
|
+
readonly other: "A page can have at most {count} characters.";
|
|
456
|
+
};
|
|
457
|
+
readonly chooseFileUpTo: "Choose a file of {mb} MB or less.";
|
|
458
|
+
readonly roomMostFiles: {
|
|
459
|
+
readonly one: "There’s room for at most {count} file here.";
|
|
460
|
+
readonly other: "There’s room for at most {count} files here.";
|
|
461
|
+
};
|
|
462
|
+
readonly makesText: "text";
|
|
463
|
+
readonly makesImages: "images";
|
|
464
|
+
readonly makesVideos: "videos";
|
|
465
|
+
readonly makesSpeech: "speech";
|
|
466
|
+
readonly makesVoiceNotes: "voice notes";
|
|
467
|
+
};
|
|
468
|
+
export type RunNoteCode = keyof typeof NOTES_EN;
|
|
469
|
+
export declare const RUN_NOTES: Texts<RunNoteCode>;
|
|
470
|
+
/** What fills a note's gaps: words, numbers, other notes (said in the same language), lists. */
|
|
471
|
+
export type NoteGap = Gap | RunNote | readonly NoteGap[];
|
|
472
|
+
/** A line of `RUN_NOTES` with what goes into its gaps. */
|
|
473
|
+
export interface RunNote {
|
|
474
|
+
code: RunNoteCode;
|
|
475
|
+
params?: Record<string, NoteGap | undefined>;
|
|
476
|
+
}
|
|
477
|
+
/** What the person reads: plain words, or a note that has a line for each language. */
|
|
478
|
+
export type Said = string | RunNote;
|
|
479
|
+
/** A note: a line of `RUN_NOTES`, said in whichever language the reader reads. */
|
|
480
|
+
export declare function note(code: RunNoteCode, params?: Record<string, NoteGap | undefined>): RunNote;
|
|
481
|
+
/** What is said, in a language. */
|
|
482
|
+
export declare function saidText(said: Said, lang: Lang): string;
|
|
483
|
+
/**
|
|
484
|
+
* A note in a language, its gaps filled; English where the language lacks the line. A language
|
|
485
|
+
* outside `LANGS` reads its lines from `table`, the notes translated on request.
|
|
486
|
+
*/
|
|
487
|
+
export declare function noteText(note: RunNote, lang: string, table?: TextTable): string;
|
|
488
|
+
export interface RunEvent {
|
|
489
|
+
id: number;
|
|
490
|
+
at: string;
|
|
491
|
+
stepId: string | null;
|
|
492
|
+
type: "step_started" | "step_done" | "tool" | "info" | "error";
|
|
493
|
+
/** In German, as the run's log keeps it. */
|
|
494
|
+
message: string;
|
|
495
|
+
/** The same as a note a runner shows in the person's language; null for free text. */
|
|
496
|
+
note?: RunNote | null;
|
|
497
|
+
/** A picture of the run this is about (a photo being looked at, an image just made). */
|
|
498
|
+
asset?: string | null;
|
|
499
|
+
}
|
|
500
|
+
export interface RunView {
|
|
501
|
+
id: string;
|
|
502
|
+
status: RunStatus;
|
|
503
|
+
mode: "test" | "live";
|
|
504
|
+
wizard: Pick<WizardDefinition, "title" | "description" | "avatar" | "intro">;
|
|
505
|
+
/** The language the wizard speaks, by its code: what is read aloud, and in which voice. */
|
|
506
|
+
lang: string;
|
|
507
|
+
/**
|
|
508
|
+
* The run in the viewer's language (a wizard translated on request): every text of the view
|
|
509
|
+
* is written in it, the choices keep their values and show `labels[value]`. Null: the
|
|
510
|
+
* wizard's own words.
|
|
511
|
+
*/
|
|
512
|
+
translation: RunTranslation | null;
|
|
513
|
+
/** A live conversation can be started on this run: the runtime has a model for it and the wizard has live voice or video on (always in a test). */
|
|
514
|
+
talk: boolean;
|
|
515
|
+
/** The step the person is on (interactive) or the one running. */
|
|
516
|
+
step: Step | null;
|
|
517
|
+
/** Pages and reviews answered before it, oldest first: what a chat shows above the current step. */
|
|
518
|
+
answered: Step[];
|
|
519
|
+
values: Record<string, unknown>;
|
|
520
|
+
/** What fields of the current page start with, from earlier steps (`prefill`). */
|
|
521
|
+
prefill: Record<string, unknown>;
|
|
522
|
+
/** What the `when` of the current page's fields read from before the page, by reference. */
|
|
523
|
+
known?: Record<string, unknown>;
|
|
524
|
+
/** Choices of the current page's fields that come from earlier data (`optionsFrom`). */
|
|
525
|
+
options?: Record<string, string[]>;
|
|
526
|
+
/** The same choices as cards, for fields that have `cards`. */
|
|
527
|
+
cards?: Record<string, CardOption[]>;
|
|
528
|
+
/** The decided fields (`ask`, `group`) of the current page that a decision kept. */
|
|
529
|
+
decidedFields?: string[];
|
|
530
|
+
/**
|
|
531
|
+
* What decided branches answered so far, by step, with the branches decided over (test runs:
|
|
532
|
+
* the studio shows them while the draft's branches are still those).
|
|
533
|
+
*/
|
|
534
|
+
decisions?: Record<string, ShownDecision>;
|
|
535
|
+
/** Choices of the current page that lead to a step without a model here, by field id. */
|
|
536
|
+
closed: Record<string, ClosedChoice>;
|
|
537
|
+
outputs: Record<string, StepOutput>;
|
|
538
|
+
/** Steps whose outputs the current step shows, with their definitions. */
|
|
539
|
+
shown: {
|
|
540
|
+
step: Step;
|
|
541
|
+
output: StepOutput | null;
|
|
542
|
+
formats: Format[];
|
|
543
|
+
label: string | null;
|
|
544
|
+
}[];
|
|
545
|
+
progress: {
|
|
546
|
+
done: number;
|
|
547
|
+
total: number;
|
|
548
|
+
};
|
|
549
|
+
canBack: boolean;
|
|
550
|
+
error: string | null;
|
|
551
|
+
events: RunEvent[];
|
|
552
|
+
brand: BrandView;
|
|
553
|
+
/** What the running step asks the person right now. */
|
|
554
|
+
ask: RunAsk | null;
|
|
555
|
+
/** Stored lists the current step shows (a page's list fields, a review, the result). */
|
|
556
|
+
lists: ShownList[];
|
|
557
|
+
/** The wizard's connections with what the person has connected. */
|
|
558
|
+
connections: ConnectionView[];
|
|
559
|
+
/** The wizard keeps things for the person between runs (lists, files, accounts). */
|
|
560
|
+
keeps: boolean;
|
|
561
|
+
/** Set once the result is shared. */
|
|
562
|
+
shareUrl: string | null;
|
|
563
|
+
/** When the run and its shared link are deleted; null = kept. */
|
|
564
|
+
expiresAt: string | null;
|
|
565
|
+
}
|
|
566
|
+
/** How a run in the viewer's language shows. */
|
|
567
|
+
export interface RunTranslation {
|
|
568
|
+
/** The language, by its code ("fr"): any language, not only one of `LANGS`. */
|
|
569
|
+
lang: string;
|
|
570
|
+
/** What a choice shows, by its value. */
|
|
571
|
+
labels: Record<string, string>;
|
|
572
|
+
/** A model wrote some of it; false where the author wrote every text by hand. */
|
|
573
|
+
machine: boolean;
|
|
574
|
+
/** Results shown in this language, by step (`RunState.translated`). */
|
|
575
|
+
results: Record<string, string>;
|
|
576
|
+
}
|
|
577
|
+
/** A shared result: what `/s/<token>` shows. Never the person's answers. */
|
|
578
|
+
export interface ShareView {
|
|
579
|
+
token: string;
|
|
580
|
+
title: string;
|
|
581
|
+
message: string | null;
|
|
582
|
+
wizard: Pick<WizardDefinition, "title" | "description" | "avatar">;
|
|
583
|
+
brand: BrandView;
|
|
584
|
+
shown: RunView["shown"];
|
|
585
|
+
createdAt: string;
|
|
586
|
+
expiresAt: string | null;
|
|
587
|
+
/** The wizard's public link, to make your own — when it is published and open. */
|
|
588
|
+
wizardUrl: string | null;
|
|
589
|
+
}
|
|
590
|
+
export interface BrandView {
|
|
591
|
+
name: string;
|
|
592
|
+
accent: string | null;
|
|
593
|
+
logoUrl: string | null;
|
|
594
|
+
/** How the pages look: the run page sets its tokens from it. */
|
|
595
|
+
theme: RunTheme;
|
|
596
|
+
}
|
|
597
|
+
/** How a wizard's pages look, taken from its space's brand (`runTheme`). Null: the runner's own. */
|
|
598
|
+
export interface RunTheme {
|
|
599
|
+
/** Buttons and marks. */
|
|
600
|
+
accent: string | null;
|
|
601
|
+
/** What is there, done or good to know: ticks, tips, group headings. */
|
|
602
|
+
second: string | null;
|
|
603
|
+
/** The ground the pages stand on; its hue tints paper and ink. */
|
|
604
|
+
background: string | null;
|
|
605
|
+
/** Typefaces as CSS names them. */
|
|
606
|
+
display: string | null;
|
|
607
|
+
body: string | null;
|
|
608
|
+
/** The brand stands on a dark ground. */
|
|
609
|
+
dark: boolean;
|
|
610
|
+
}
|
|
611
|
+
export interface PublicWizard {
|
|
612
|
+
token: string;
|
|
613
|
+
title: string;
|
|
614
|
+
description: string;
|
|
615
|
+
avatar: string;
|
|
616
|
+
intro: string | null;
|
|
617
|
+
brand: BrandView;
|
|
618
|
+
turnstileSiteKey: string | null;
|
|
619
|
+
available: boolean;
|
|
620
|
+
unavailableReason: string | null;
|
|
621
|
+
/**
|
|
622
|
+
* The runners switched on for this wizard, the one its link opens first: what the page offers
|
|
623
|
+
* beside "Let's go". A page runner has an address; a channel (a number, a bot) has none.
|
|
624
|
+
*/
|
|
625
|
+
runners: {
|
|
626
|
+
id: string;
|
|
627
|
+
label: string;
|
|
628
|
+
kind: "page" | "channel";
|
|
629
|
+
url: string | null;
|
|
630
|
+
}[];
|
|
631
|
+
/** The language the wizard is written in, by its code: the page opens in it. */
|
|
632
|
+
lang: string;
|
|
633
|
+
/** The author offers the wizard in the viewer's language, translated on request. */
|
|
634
|
+
translatable: boolean;
|
|
635
|
+
/** The page in the viewer's language, where it was asked for (`?lang=`); null: the original. */
|
|
636
|
+
translation: Omit<RunTranslation, "results"> | null;
|
|
637
|
+
}
|
|
638
|
+
/** The runner's own words in a language outside `LANGS`: `GET /api/public/texts/:lang`. */
|
|
639
|
+
export interface UiTexts {
|
|
640
|
+
lang: string;
|
|
641
|
+
/** The runner's table (`packages/shared/src/runner-texts.ts`). */
|
|
642
|
+
runner: TextTable;
|
|
643
|
+
/** The run notes (`RUN_NOTES`). */
|
|
644
|
+
notes: TextTable;
|
|
645
|
+
}
|
|
646
|
+
/** What a step is expected to cost, in credits. `high` is the 90th percentile once measured. */
|
|
647
|
+
export interface StepEstimate {
|
|
648
|
+
credits: number;
|
|
649
|
+
high: number;
|
|
650
|
+
/** From at least five runs of this version; otherwise from a formula. */
|
|
651
|
+
measured: boolean;
|
|
652
|
+
}
|
|
653
|
+
/** What a run is expected to cost. `available` is false where no credits are involved. */
|
|
654
|
+
/** A model class a wizard needs that this runtime cannot serve, with the steps that call it. */
|
|
655
|
+
export interface MissingModel {
|
|
656
|
+
cls: ModelClass;
|
|
657
|
+
/** Why the class cannot run, as the person reads it. */
|
|
658
|
+
problem: string;
|
|
659
|
+
steps: {
|
|
660
|
+
id: string;
|
|
661
|
+
title: string;
|
|
662
|
+
}[];
|
|
663
|
+
/** A step that needs it lies on every path: the run cannot start. */
|
|
664
|
+
blocking: boolean;
|
|
665
|
+
}
|
|
666
|
+
/** A page's choice whose values lead to a step this runtime has no model for. */
|
|
667
|
+
export interface ClosedChoice {
|
|
668
|
+
/** The options (or a toggle's true / false) that lead there; empty = the field as a whole. */
|
|
669
|
+
values: (string | boolean)[];
|
|
670
|
+
/** What is missing on the way. */
|
|
671
|
+
classes: ModelClass[];
|
|
672
|
+
}
|
|
673
|
+
export interface RunEstimate {
|
|
674
|
+
available: boolean;
|
|
675
|
+
credits: number;
|
|
676
|
+
/** Credits held when a run starts. */
|
|
677
|
+
reserve: number;
|
|
678
|
+
steps: Record<string, StepEstimate>;
|
|
679
|
+
}
|
|
680
|
+
export {};
|