@engenty/wizards-runtime 0.20.6 → 0.21.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/README.md +3 -3
- package/apps/runtime/dist/agents/studio-assistant.js +7 -3
- package/apps/runtime/dist/agents/subscription.js +4 -17
- package/apps/runtime/dist/app.js +4 -1
- package/apps/runtime/dist/cli/clients.js +6 -24
- package/apps/runtime/dist/cli/connect.js +2 -1
- package/apps/runtime/dist/cli/environment.js +3 -0
- package/apps/runtime/dist/cli/machine.js +1 -70
- package/apps/runtime/dist/cli/main.js +2 -1
- package/apps/runtime/dist/cli/ollama.js +1 -179
- package/apps/runtime/dist/cli/setup.js +8 -6
- package/apps/runtime/dist/docs/dev/licensing.md +15 -9
- package/apps/runtime/dist/docs/user-guide/command-line.md +3 -0
- package/apps/runtime/dist/elements/outside.js +2 -1
- package/apps/runtime/dist/engine/code-step.js +1 -1
- package/apps/runtime/dist/engine/decide.js +2 -2
- package/apps/runtime/dist/engine/input.js +1 -1
- package/apps/runtime/dist/engine/runner.js +1 -1
- package/apps/runtime/dist/engine/steps.js +27 -8
- package/apps/runtime/dist/engine/surface.js +1 -1
- package/apps/runtime/dist/engine/template.js +1 -1
- package/apps/runtime/dist/env.js +1 -0
- package/apps/runtime/dist/harness/clients.js +10 -1
- package/apps/runtime/dist/harness/index.js +15 -69
- package/apps/runtime/dist/harness/types.js +3 -2
- package/apps/runtime/dist/local-call.js +6 -0
- package/apps/runtime/dist/local-models.js +53 -157
- package/apps/runtime/dist/mcp/bridge.js +12 -55
- package/apps/runtime/dist/mcp/elements.js +39 -4
- package/apps/runtime/dist/mcp/handler.js +12 -0
- package/apps/runtime/dist/mcp/run-pages.js +238 -0
- package/apps/runtime/dist/mcp/run-tasks.js +157 -0
- package/apps/runtime/dist/mcp/runs.js +129 -0
- package/apps/runtime/dist/mcp/tools.js +4 -95
- package/apps/runtime/dist/models.js +74 -27
- package/apps/runtime/dist/prompts/mcp.md +4 -1
- package/apps/runtime/dist/render/downloads.js +1 -1
- package/apps/runtime/dist/render/shaped.js +1 -1
- package/apps/runtime/dist/routes/model-setup.js +77 -0
- package/apps/runtime/dist/routes/studio.js +8 -251
- package/apps/runtime/dist/services/space-categories.js +1 -1
- package/apps/runtime/dist/services/work-ai.js +10 -4
- package/apps/runtime/dist/texts.js +4 -6
- package/apps/runtime/dist/tools/connections.js +3 -0
- package/apps/runtime/dist/tools/harness.js +124 -0
- package/apps/web/dist/assets/AboutDialog-BSdAA4Wi.js +1 -0
- package/apps/web/dist/assets/{BlockEditor-CgjXTWly.js → BlockEditor-0noqMcAl.js} +1 -1
- package/apps/web/dist/assets/Bundle-Ctrq7lHH.js +1 -0
- package/apps/web/dist/assets/CapabilitiesPage-CZlVhBmU.js +2 -0
- package/apps/web/dist/assets/ChangelogDialog-BLCYV4jT.js +1 -0
- package/apps/web/dist/assets/{CodeEditor-2LyHbSre.js → CodeEditor-CpRn9BZq.js} +1 -1
- package/apps/web/dist/assets/ConnectorsSection-B4rRDlFo.js +1 -0
- package/apps/web/dist/assets/EditorPage-CXN-_zzG.js +3 -0
- package/apps/web/dist/assets/FlowPreview-DjQvcWxs.js +1 -0
- package/apps/web/dist/assets/LangSwitch-BuzsLp16.js +1 -0
- package/apps/web/dist/assets/LocalModels-BDfP2v5-.js +1 -0
- package/apps/web/dist/assets/Marketplace-4baBNzEc.js +2 -0
- package/apps/web/dist/assets/NewWizardChannels-B_xHm-bI.js +1 -0
- package/apps/web/dist/assets/NewWizardPage-BmZAY4zi.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-fZq3WiTk.js +1 -0
- package/apps/web/dist/assets/ProtocolSection-v9wIxisg.js +1 -0
- package/apps/web/dist/assets/PublicRunner-BCh0VzAT.js +1 -0
- package/apps/web/dist/assets/{ReadOnly-CO3ndR23.js → ReadOnly-13stkvNz.js} +1 -1
- package/apps/web/dist/assets/Results-4gmguYzH.js +1 -0
- package/apps/web/dist/assets/RunDrawer-CeEldWRn.js +1 -0
- package/apps/web/dist/assets/SettingsPage-BsKRRlfP.js +2 -0
- package/apps/web/dist/assets/SetupPage-FgA5Kl8z.js +1 -0
- package/apps/web/dist/assets/SharePage-BlBW4oxl.js +1 -0
- package/apps/web/dist/assets/SkillEditor-9QSskfmY.js +1 -0
- package/apps/web/dist/assets/Skills-DdUAyNhR.js +9 -0
- package/apps/web/dist/assets/SpacePage-CHkNPuqt.js +2 -0
- package/apps/web/dist/assets/StudioHome-BwPD-inc.js +1 -0
- package/apps/web/dist/assets/TableEditor-Du1DhbEC.js +7 -0
- package/apps/web/dist/assets/UpdateCheck-DPr9NXq_.js +2 -0
- package/apps/web/dist/assets/brand-DY3lzrOd.js +2 -0
- package/apps/web/dist/assets/changelog-BSdb22c3.js +1 -0
- package/apps/web/dist/assets/code-editor-Bep_LzQ5.js +2 -0
- package/apps/web/dist/assets/host-DiZQ_uws.js +1 -0
- package/apps/web/dist/assets/host-Dw-sMUSd.js +54 -0
- package/apps/web/dist/assets/i18n-DVrYWJaj.js +55 -0
- package/apps/web/dist/assets/index-C2gxK14s.css +1 -0
- package/apps/web/dist/assets/index-lQ4JYHYQ.js +102 -0
- package/apps/web/dist/assets/oss-credits-BHy69wkx.js +1 -0
- package/apps/web/dist/assets/{read-aloud-CRFt5q6k.js → read-aloud-CBycd8TA.js} +1 -1
- package/apps/web/dist/assets/{session-RDdtfee2.js → session-BYLtgklo.js} +1 -1
- package/apps/web/dist/assets/terminal-DmGdMags.js +16 -0
- package/apps/web/dist/assets/texts-ClKS2xhh.js +1 -0
- package/apps/web/dist/assets/theme-DFDOMsVo.js +14 -0
- package/apps/web/dist/assets/ui-CW2I3ecu.js +1 -0
- package/apps/web/dist/assets/ui-DfVpZYIW.js +16 -0
- package/apps/web/dist/assets/{useMutation-BSffqL6W.js → useMutation-BnkuLlQC.js} +1 -1
- package/apps/web/dist/assets/viewers-C6FfRwG1.js +2 -0
- package/apps/web/dist/index.html +18 -16
- package/apps/web/dist/mcp/flow.html +129 -129
- package/node_modules/@engenty/{wizards-shared → chatviews}/dist/calc.js +1 -1
- package/node_modules/@engenty/chatviews/dist/chat/a2ui.d.ts +48 -0
- package/node_modules/@engenty/chatviews/dist/chat/a2ui.js +514 -0
- package/node_modules/@engenty/chatviews/dist/chat/check.d.ts +18 -0
- package/node_modules/@engenty/chatviews/dist/chat/check.js +97 -0
- package/node_modules/@engenty/chatviews/dist/chat/index.d.ts +3 -0
- package/node_modules/@engenty/chatviews/dist/chat/index.js +4 -0
- package/node_modules/@engenty/chatviews/dist/chat/library.d.ts +39 -0
- package/node_modules/@engenty/chatviews/dist/chat/library.js +314 -0
- package/node_modules/@engenty/{wizards-shared → chatviews}/dist/numbers.js +1 -1
- package/node_modules/@engenty/chatviews/dist/react/chat.d.ts +33 -0
- package/node_modules/@engenty/chatviews/dist/react/chat.js +150 -0
- package/node_modules/@engenty/chatviews/dist/react/field-looks.d.ts +39 -0
- package/node_modules/@engenty/chatviews/dist/react/field-looks.js +47 -0
- package/node_modules/@engenty/chatviews/dist/react/markdown.d.ts +5 -0
- package/node_modules/@engenty/chatviews/dist/react/markdown.js +11 -0
- package/node_modules/@engenty/chatviews/dist/react/no-devtools.d.ts +0 -0
- package/node_modules/@engenty/chatviews/dist/react/no-devtools.js +8 -0
- package/node_modules/@engenty/chatviews/dist/react/surface.d.ts +39 -0
- package/node_modules/@engenty/chatviews/dist/react/surface.js +552 -0
- package/node_modules/@engenty/chatviews/dist/react/texts.d.ts +39 -0
- package/node_modules/@engenty/chatviews/dist/react/texts.js +42 -0
- package/node_modules/@engenty/chatviews/dist/react/ui.d.ts +112 -0
- package/node_modules/@engenty/chatviews/dist/react/ui.js +212 -0
- package/node_modules/@engenty/{wizards-shared → chatviews}/dist/shape.js +1 -1
- package/node_modules/@engenty/{wizards-shared → chatviews}/dist/surface.js +1 -1
- package/node_modules/@engenty/chatviews/package.json +19 -0
- package/node_modules/@engenty/decision-model/dist/client.d.ts +76 -0
- package/node_modules/@engenty/decision-model/dist/client.js +188 -0
- package/node_modules/@engenty/decision-model/dist/index.d.ts +6 -0
- package/node_modules/@engenty/decision-model/dist/index.js +5 -0
- package/node_modules/@engenty/decision-model/dist/local.d.ts +11 -0
- package/node_modules/@engenty/decision-model/dist/local.js +116 -0
- package/node_modules/@engenty/decision-model/dist/resolve.d.ts +26 -0
- package/node_modules/@engenty/decision-model/dist/resolve.js +53 -0
- package/node_modules/@engenty/decision-model/dist/types.d.ts +80 -0
- package/node_modules/@engenty/decision-model/dist/types.js +6 -0
- package/node_modules/@engenty/decision-model/dist/validate.d.ts +9 -0
- package/node_modules/@engenty/decision-model/dist/validate.js +50 -0
- package/node_modules/@engenty/decision-model/dist/ways.d.ts +42 -0
- package/node_modules/@engenty/decision-model/dist/ways.js +72 -0
- package/node_modules/@engenty/decision-model/package.json +9 -0
- package/node_modules/@engenty/local-models/dist/bridge/index.d.ts +54 -0
- package/node_modules/@engenty/local-models/dist/bridge/index.js +117 -0
- package/node_modules/@engenty/local-models/dist/clients/antigravity.d.ts +37 -0
- package/{apps/runtime/dist/harness → node_modules/@engenty/local-models/dist/clients}/antigravity.js +68 -17
- package/node_modules/@engenty/local-models/dist/clients/claude.js +1 -0
- package/node_modules/@engenty/local-models/dist/clients/client.d.ts +3 -1
- package/node_modules/@engenty/local-models/dist/clients/client.js +1 -1
- package/node_modules/@engenty/local-models/dist/clients/codex.js +1 -0
- package/node_modules/@engenty/local-models/dist/clients/cursor.d.ts +2 -0
- package/node_modules/@engenty/local-models/dist/clients/cursor.js +13 -1
- package/node_modules/@engenty/local-models/dist/clients/index.d.ts +2 -1
- package/node_modules/@engenty/local-models/dist/clients/index.js +4 -2
- package/node_modules/@engenty/local-models/dist/clients/model.d.ts +4 -1
- package/node_modules/@engenty/local-models/dist/index.d.ts +2 -1
- package/node_modules/@engenty/local-models/dist/index.js +2 -1
- package/node_modules/@engenty/local-models/dist/lmstudio/api.d.ts +49 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/api.js +101 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/index.d.ts +3 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/index.js +3 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/load.d.ts +12 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/load.js +100 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/server.d.ts +3 -0
- package/node_modules/@engenty/local-models/dist/lmstudio/server.js +29 -0
- package/node_modules/@engenty/local-models/dist/mlx/helper.d.ts +54 -0
- package/node_modules/@engenty/local-models/dist/mlx/helper.js +149 -0
- package/node_modules/@engenty/local-models/dist/mlx/index.d.ts +3 -0
- package/node_modules/@engenty/local-models/dist/mlx/index.js +3 -0
- package/node_modules/@engenty/local-models/dist/mlx/server.d.ts +19 -0
- package/node_modules/@engenty/local-models/dist/mlx/server.js +82 -0
- package/node_modules/@engenty/local-models/dist/mlx/store.d.ts +16 -0
- package/node_modules/@engenty/local-models/dist/mlx/store.js +153 -0
- package/node_modules/@engenty/local-models/dist/ollama/api.d.ts +4 -37
- package/node_modules/@engenty/local-models/dist/ollama/api.js +1 -18
- package/node_modules/@engenty/local-models/dist/ollama/index.d.ts +2 -1
- package/node_modules/@engenty/local-models/dist/ollama/index.js +2 -1
- package/node_modules/@engenty/local-models/dist/ollama/model.d.ts +2 -0
- package/node_modules/@engenty/local-models/dist/ollama/model.js +1 -1
- package/node_modules/@engenty/local-models/dist/ollama/server.d.ts +3 -0
- package/node_modules/@engenty/local-models/dist/ollama/server.js +45 -0
- package/node_modules/@engenty/local-models/dist/probe.d.ts +11 -8
- package/node_modules/@engenty/local-models/dist/probe.js +16 -32
- package/node_modules/@engenty/local-models/dist/servers/index.d.ts +6 -0
- package/node_modules/@engenty/local-models/dist/servers/index.js +12 -0
- package/node_modules/@engenty/local-models/dist/servers/server.d.ts +84 -0
- package/node_modules/@engenty/local-models/dist/servers/server.js +38 -0
- package/node_modules/@engenty/local-models/package.json +5 -1
- package/node_modules/@engenty/model-setup/dist/catalog.d.ts +36 -0
- package/node_modules/@engenty/model-setup/dist/catalog.js +81 -0
- package/node_modules/@engenty/model-setup/dist/index.d.ts +3 -0
- package/node_modules/@engenty/model-setup/dist/index.js +3 -0
- package/node_modules/@engenty/model-setup/dist/offered.d.ts +7 -0
- package/node_modules/@engenty/model-setup/dist/offered.js +64 -0
- package/node_modules/@engenty/model-setup/dist/react/client.d.ts +46 -0
- package/node_modules/@engenty/model-setup/dist/react/client.js +147 -0
- package/node_modules/@engenty/model-setup/dist/react/columns.d.ts +78 -0
- package/node_modules/@engenty/model-setup/dist/react/columns.js +99 -0
- package/node_modules/@engenty/model-setup/dist/react/host.d.ts +31 -0
- package/node_modules/@engenty/model-setup/dist/react/host.js +48 -0
- package/node_modules/@engenty/model-setup/dist/react/index.d.ts +7 -0
- package/node_modules/@engenty/model-setup/dist/react/index.js +7 -0
- package/node_modules/@engenty/model-setup/dist/react/keys.d.ts +48 -0
- package/node_modules/@engenty/model-setup/dist/react/keys.js +74 -0
- package/node_modules/@engenty/model-setup/dist/react/local-models.d.ts +23 -0
- package/node_modules/@engenty/model-setup/dist/react/local-models.js +134 -0
- package/node_modules/@engenty/model-setup/dist/react/servers.d.ts +4 -0
- package/node_modules/@engenty/model-setup/dist/react/servers.js +13 -0
- package/node_modules/@engenty/model-setup/dist/react/terminal.d.ts +13 -0
- package/node_modules/@engenty/model-setup/dist/react/terminal.js +79 -0
- package/node_modules/@engenty/model-setup/dist/react/tone.d.ts +13 -0
- package/node_modules/@engenty/model-setup/dist/react/tone.js +66 -0
- package/node_modules/@engenty/model-setup/dist/server/apps.d.ts +12 -0
- package/node_modules/@engenty/model-setup/dist/server/apps.js +22 -0
- package/node_modules/@engenty/model-setup/dist/server/clients.d.ts +55 -0
- package/node_modules/@engenty/model-setup/dist/server/clients.js +96 -0
- package/node_modules/@engenty/model-setup/dist/server/index.d.ts +8 -0
- package/node_modules/@engenty/model-setup/dist/server/index.js +8 -0
- package/node_modules/@engenty/model-setup/dist/server/install.d.ts +24 -0
- package/node_modules/@engenty/model-setup/dist/server/install.js +68 -0
- package/node_modules/@engenty/model-setup/dist/server/lmstudio.d.ts +9 -0
- package/node_modules/@engenty/model-setup/dist/server/lmstudio.js +52 -0
- package/node_modules/@engenty/model-setup/dist/server/local-models.d.ts +47 -0
- package/node_modules/@engenty/model-setup/dist/server/local-models.js +164 -0
- package/node_modules/@engenty/model-setup/dist/server/models.d.ts +12 -0
- package/node_modules/@engenty/model-setup/dist/server/models.js +16 -0
- package/node_modules/@engenty/model-setup/dist/server/ollama.d.ts +22 -0
- package/node_modules/@engenty/model-setup/dist/server/ollama.js +146 -0
- package/node_modules/@engenty/model-setup/dist/server/routes.d.ts +51 -0
- package/node_modules/@engenty/model-setup/dist/server/routes.js +211 -0
- package/node_modules/@engenty/model-setup/dist/server/server-apps.d.ts +14 -0
- package/node_modules/@engenty/model-setup/dist/server/server-apps.js +24 -0
- package/node_modules/@engenty/model-setup/dist/server/terminal.d.ts +43 -0
- package/node_modules/@engenty/model-setup/dist/server/terminal.js +222 -0
- package/node_modules/@engenty/model-setup/dist/texts.d.ts +222 -0
- package/node_modules/@engenty/model-setup/dist/texts.js +222 -0
- package/node_modules/@engenty/model-setup/dist/types.d.ts +111 -0
- package/node_modules/@engenty/model-setup/dist/types.js +2 -0
- package/node_modules/@engenty/model-setup/package.json +12 -0
- package/node_modules/@engenty/search-index/dist/catalog-lexical.d.ts +14 -0
- package/node_modules/@engenty/search-index/dist/catalog-lexical.js +165 -0
- package/node_modules/@engenty/search-index/dist/catalog-rank.d.ts +33 -0
- package/node_modules/@engenty/search-index/dist/catalog-rank.js +99 -0
- package/node_modules/@engenty/search-index/dist/catalog-search.d.ts +40 -0
- package/node_modules/@engenty/search-index/dist/catalog-search.js +161 -0
- package/node_modules/@engenty/search-index/dist/chunks.d.ts +17 -0
- package/node_modules/@engenty/search-index/dist/chunks.js +164 -0
- package/node_modules/@engenty/search-index/dist/contracts.d.ts +135 -0
- package/node_modules/@engenty/search-index/dist/contracts.js +9 -0
- package/node_modules/@engenty/search-index/dist/embedder.d.ts +31 -0
- package/node_modules/@engenty/search-index/dist/embedder.js +82 -0
- package/node_modules/@engenty/search-index/dist/embedders/gemini.d.ts +11 -0
- package/node_modules/@engenty/search-index/dist/embedders/gemini.js +54 -0
- package/node_modules/@engenty/search-index/dist/embedders/index.d.ts +5 -0
- package/node_modules/@engenty/search-index/dist/embedders/index.js +5 -0
- package/node_modules/@engenty/search-index/dist/embedders/ollama.d.ts +12 -0
- package/node_modules/@engenty/search-index/dist/embedders/ollama.js +43 -0
- package/node_modules/@engenty/search-index/dist/embedders/openai.d.ts +11 -0
- package/node_modules/@engenty/search-index/dist/embedders/openai.js +36 -0
- package/node_modules/@engenty/search-index/dist/embedders/shared.d.ts +5 -0
- package/node_modules/@engenty/search-index/dist/embedders/shared.js +26 -0
- package/node_modules/@engenty/search-index/dist/embedders/ways.d.ts +16 -0
- package/node_modules/@engenty/search-index/dist/embedders/ways.js +90 -0
- package/node_modules/@engenty/search-index/dist/index.d.ts +10 -0
- package/node_modules/@engenty/search-index/dist/index.js +10 -0
- package/node_modules/@engenty/search-index/dist/payload.d.ts +13 -0
- package/node_modules/@engenty/search-index/dist/payload.js +51 -0
- package/node_modules/@engenty/search-index/dist/registry.d.ts +25 -0
- package/node_modules/@engenty/search-index/dist/registry.js +56 -0
- package/node_modules/@engenty/search-index/dist/scoring.d.ts +10 -0
- package/node_modules/@engenty/search-index/dist/scoring.js +45 -0
- package/node_modules/@engenty/search-index/dist/strategy.d.ts +6 -0
- package/node_modules/@engenty/search-index/dist/strategy.js +25 -0
- package/node_modules/@engenty/search-index/package.json +10 -0
- package/node_modules/@engenty/tool-harness/dist/harness.d.ts +70 -0
- package/node_modules/@engenty/tool-harness/dist/harness.js +170 -0
- package/node_modules/@engenty/tool-harness/dist/index.d.ts +5 -0
- package/node_modules/@engenty/tool-harness/dist/index.js +5 -0
- package/node_modules/@engenty/tool-harness/dist/judge.d.ts +8 -0
- package/node_modules/@engenty/tool-harness/dist/judge.js +39 -0
- package/node_modules/@engenty/tool-harness/dist/levels.d.ts +18 -0
- package/node_modules/@engenty/tool-harness/dist/levels.js +47 -0
- package/node_modules/@engenty/tool-harness/dist/model.d.ts +6 -0
- package/node_modules/@engenty/tool-harness/dist/model.js +60 -0
- package/node_modules/@engenty/tool-harness/dist/schema.d.ts +26 -0
- package/node_modules/@engenty/tool-harness/dist/schema.js +57 -0
- package/node_modules/@engenty/tool-harness/package.json +9 -0
- package/node_modules/@engenty/wizards-shared/dist/catalog-prompt.js +2 -1
- package/node_modules/@engenty/wizards-shared/dist/definition.d.ts +10 -10
- package/node_modules/@engenty/wizards-shared/dist/definition.js +4 -4
- package/node_modules/@engenty/wizards-shared/dist/run-schema.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/run.d.ts +3 -1
- package/node_modules/@engenty/wizards-shared/dist/run.js +4 -0
- package/node_modules/@engenty/wizards-shared/dist/store.js +2 -1
- package/node_modules/@engenty/wizards-shared/dist/wizard-agents.d.ts +1 -1
- package/node_modules/@engenty/wizards-shared/dist/wizard-agents.js +1 -1
- package/node_modules/@engenty/wizards-shared/dist/wizard-text.js +2 -2
- package/package.json +11 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/apps/runtime/dist/harness/terminal.js +0 -201
- package/apps/web/dist/assets/AboutDialog-BRUwrfQH.js +0 -1
- package/apps/web/dist/assets/Bundle-C0u5HUZL.js +0 -1
- package/apps/web/dist/assets/CapabilitiesPage-C30knXsS.js +0 -2
- package/apps/web/dist/assets/ChangelogDialog-BkZQOAdl.js +0 -1
- package/apps/web/dist/assets/ConnectorsSection-CmXQD7zu.js +0 -1
- package/apps/web/dist/assets/EditorPage-LEbyNWmG.js +0 -3
- package/apps/web/dist/assets/FlowPreview-BXf4EKjU.js +0 -1
- package/apps/web/dist/assets/LangSwitch-BLB7dDce.js +0 -1
- package/apps/web/dist/assets/Marketplace-B3NoH5Va.js +0 -2
- package/apps/web/dist/assets/NewWizardChannels-CSn-9zHr.js +0 -1
- package/apps/web/dist/assets/NewWizardPage-B4wPfClS.js +0 -7
- package/apps/web/dist/assets/OnboardingPage-RawpCO9J.js +0 -1
- package/apps/web/dist/assets/ProtocolSection-s4mEL_pu.js +0 -1
- package/apps/web/dist/assets/PublicRunner-COatyxMi.js +0 -1
- package/apps/web/dist/assets/Results-CC1-mElv.js +0 -1
- package/apps/web/dist/assets/RunDrawer-DkmSXhad.js +0 -1
- package/apps/web/dist/assets/SettingsPage-DKs_fkNL.js +0 -2
- package/apps/web/dist/assets/SetupPage-RvmKCzF2.js +0 -1
- package/apps/web/dist/assets/SharePage-Drntg_oj.js +0 -1
- package/apps/web/dist/assets/SkillEditor-Ca_bzmjD.js +0 -1
- package/apps/web/dist/assets/Skills-BcgxuD15.js +0 -9
- package/apps/web/dist/assets/SpacePage-aZqYFttF.js +0 -2
- package/apps/web/dist/assets/StudioHome-Doua9Lyl.js +0 -1
- package/apps/web/dist/assets/TableEditor-Dbq3HZZS.js +0 -7
- package/apps/web/dist/assets/UpdateCheck-B7etUbUf.js +0 -2
- package/apps/web/dist/assets/brand-BIT7AumL.js +0 -2
- package/apps/web/dist/assets/changelog-BW79cVbx.js +0 -1
- package/apps/web/dist/assets/code-editor-CufyaUFC.js +0 -2
- package/apps/web/dist/assets/host-BXSxBoOH.js +0 -69
- package/apps/web/dist/assets/i18n-WXeVnv7i.js +0 -55
- package/apps/web/dist/assets/index-D1iL3986.css +0 -1
- package/apps/web/dist/assets/index-kDKA6ddy.js +0 -102
- package/apps/web/dist/assets/oss-credits-B3PXhamW.js +0 -1
- package/apps/web/dist/assets/theme-23bNrOQh.js +0 -14
- package/apps/web/dist/assets/ui-DkEhb2Rt.js +0 -16
- package/apps/web/dist/assets/viewers-CmGDpBjn.js +0 -2
- /package/apps/web/dist/assets/{host-BrP-ENHg.css → terminal-BrP-ENHg.css} +0 -0
- /package/node_modules/@engenty/{wizards-shared → chatviews}/dist/calc.d.ts +0 -0
- /package/node_modules/@engenty/{wizards-shared → chatviews}/dist/numbers.d.ts +0 -0
- /package/node_modules/@engenty/{wizards-shared → chatviews}/dist/shape.d.ts +0 -0
- /package/node_modules/@engenty/{wizards-shared → chatviews}/dist/surface.d.ts +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a model can be trusted with. `basic`: short answers and simple calls; it fills in a wrong
|
|
3
|
+
* input, or makes up what it does not know, and does not notice. `standard`: several steps and
|
|
4
|
+
* inputs with parts. `high`: plans, code, conditions, work over many steps.
|
|
5
|
+
*/
|
|
6
|
+
export declare const LEVELS: readonly ["basic", "standard", "high"];
|
|
7
|
+
export type Level = (typeof LEVELS)[number];
|
|
8
|
+
export declare const reaches: (has: Level, needs: Level) => boolean;
|
|
9
|
+
export interface ModelFacts {
|
|
10
|
+
/** The model's name, as its source spells it. */
|
|
11
|
+
model: string;
|
|
12
|
+
/** It runs on the person's own computer: its size tells more than its name. */
|
|
13
|
+
local?: boolean;
|
|
14
|
+
/** Bytes of its weights. */
|
|
15
|
+
size?: number;
|
|
16
|
+
}
|
|
17
|
+
/** The level of a model, as far as its name and size say. Unknown is `basic`. */
|
|
18
|
+
export declare function levelOf(facts: ModelFacts): Level;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a model can be trusted with. `basic`: short answers and simple calls; it fills in a wrong
|
|
3
|
+
* input, or makes up what it does not know, and does not notice. `standard`: several steps and
|
|
4
|
+
* inputs with parts. `high`: plans, code, conditions, work over many steps.
|
|
5
|
+
*/
|
|
6
|
+
export const LEVELS = ["basic", "standard", "high"];
|
|
7
|
+
export const reaches = (has, needs) => LEVELS.indexOf(has) >= LEVELS.indexOf(needs);
|
|
8
|
+
/** The smaller models of the large vendors, by what their names say. */
|
|
9
|
+
const SMALL = /(?:^|[^a-z])(?:mini|nano|lite|flash|haiku|small|tiny|fast|instant|air)(?:[^a-z]|$)/i;
|
|
10
|
+
const LARGE = /claude|opus|sonnet|gpt-[5-9]|(?:^|[^a-z])o[3-9](?:[^a-z]|$)|gemini|kimi|deepseek|grok|glm|minimax|mistral-(?:large|medium)|qwen[\d.]*-max/i;
|
|
11
|
+
/** Billions of parameters from which a local model is `standard`, and `high`. */
|
|
12
|
+
const STANDARD_PARAMETERS = 12;
|
|
13
|
+
const HIGH_PARAMETERS = 100;
|
|
14
|
+
/** Bytes a billion parameters takes at the four bits most local models have. */
|
|
15
|
+
const BYTES_PER_BILLION = 0.6e9;
|
|
16
|
+
/** Billions of parameters: as the name says ("27b"), else by the weights. */
|
|
17
|
+
function parametersOf({ model, size }) {
|
|
18
|
+
// "30b-a3b": a mixture of experts thinks with the active part.
|
|
19
|
+
const active = model.match(/-a(\d+(?:\.\d+)?)b(?![a-z])/i);
|
|
20
|
+
const named = active ?? model.match(/(?:^|[^a-z\d.])(\d+(?:\.\d+)?)b(?![a-z])/i);
|
|
21
|
+
if (named?.[1]) {
|
|
22
|
+
return Number(named[1]);
|
|
23
|
+
}
|
|
24
|
+
return size ? size / BYTES_PER_BILLION : null;
|
|
25
|
+
}
|
|
26
|
+
/** The level of a model, as far as its name and size say. Unknown is `basic`. */
|
|
27
|
+
export function levelOf(facts) {
|
|
28
|
+
if (facts.local) {
|
|
29
|
+
const parameters = parametersOf(facts);
|
|
30
|
+
if (parameters === null || parameters < STANDARD_PARAMETERS) {
|
|
31
|
+
return "basic";
|
|
32
|
+
}
|
|
33
|
+
return parameters < HIGH_PARAMETERS ? "standard" : "high";
|
|
34
|
+
}
|
|
35
|
+
if (LARGE.test(facts.model)) {
|
|
36
|
+
return SMALL.test(facts.model) ? "standard" : "high";
|
|
37
|
+
}
|
|
38
|
+
const parameters = parametersOf(facts);
|
|
39
|
+
if (parameters !== null) {
|
|
40
|
+
return parameters < STANDARD_PARAMETERS
|
|
41
|
+
? "basic"
|
|
42
|
+
: parameters < HIGH_PARAMETERS
|
|
43
|
+
? "standard"
|
|
44
|
+
: "high";
|
|
45
|
+
}
|
|
46
|
+
return "basic";
|
|
47
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A model whose direct calls of tools outside the prompt go through the harness. A model that read
|
|
3
|
+
* of a tool in the conversation calls it by its name; without this the call goes nowhere and the
|
|
4
|
+
* answer is empty. The harness decides what runs: a name it does not know runs nothing.
|
|
5
|
+
*/
|
|
6
|
+
export declare function throughHarness<M extends object>(model: M): M;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { TOOL_CALL } from "./harness.js";
|
|
2
|
+
const meant = (shown, name) => name !== undefined && shown.has(TOOL_CALL) && !shown.has(name);
|
|
3
|
+
/** A call of a tool that is not in the prompt, as the `tool_call` it means. */
|
|
4
|
+
function rewritten(shown, part) {
|
|
5
|
+
if (part.type === "tool-call" && meant(shown, part.toolName)) {
|
|
6
|
+
let input = part.input ?? {};
|
|
7
|
+
if (typeof input === "string") {
|
|
8
|
+
try {
|
|
9
|
+
input = JSON.parse(input || "{}");
|
|
10
|
+
}
|
|
11
|
+
catch {
|
|
12
|
+
// It stays the text it is: the harness says what is missing.
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
const call = JSON.stringify({ name: part.toolName, input });
|
|
16
|
+
return { ...part, toolName: TOOL_CALL, input: call };
|
|
17
|
+
}
|
|
18
|
+
if (part.type === "tool-input-start" && meant(shown, part.toolName)) {
|
|
19
|
+
return { ...part, toolName: TOOL_CALL };
|
|
20
|
+
}
|
|
21
|
+
return part;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A model whose direct calls of tools outside the prompt go through the harness. A model that read
|
|
25
|
+
* of a tool in the conversation calls it by its name; without this the call goes nowhere and the
|
|
26
|
+
* answer is empty. The harness decides what runs: a name it does not know runs nothing.
|
|
27
|
+
*/
|
|
28
|
+
export function throughHarness(model) {
|
|
29
|
+
return new Proxy(model, {
|
|
30
|
+
get(target, key) {
|
|
31
|
+
const value = Reflect.get(target, key, target);
|
|
32
|
+
if (typeof value !== "function") {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
if (key !== "doStream" && key !== "doGenerate") {
|
|
36
|
+
return value.bind(target);
|
|
37
|
+
}
|
|
38
|
+
return async (options) => {
|
|
39
|
+
const shown = new Set((options.tools ?? []).map((tool) => tool.name));
|
|
40
|
+
const result = (await value.call(target, options));
|
|
41
|
+
if (!shown.has(TOOL_CALL)) {
|
|
42
|
+
return result;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
...result,
|
|
46
|
+
...(result.content
|
|
47
|
+
? { content: result.content.map((part) => rewritten(shown, part)) }
|
|
48
|
+
: {}),
|
|
49
|
+
...(result.stream
|
|
50
|
+
? {
|
|
51
|
+
stream: result.stream.pipeThrough(new TransformStream({
|
|
52
|
+
transform: (part, controller) => controller.enqueue(rewritten(shown, part)),
|
|
53
|
+
})),
|
|
54
|
+
}
|
|
55
|
+
: {}),
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** A tool's input as JSON schema, as far as the harness reads it. */
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
type?: string;
|
|
4
|
+
properties?: Record<string, {
|
|
5
|
+
description?: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}>;
|
|
8
|
+
required?: string[];
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
/** The schema's properties as a model reads them. */
|
|
12
|
+
export declare const inputText: (input: InputSchema) => string;
|
|
13
|
+
/** Only the names: enough to know what a call is made of. */
|
|
14
|
+
export declare const inputNames: (input: InputSchema) => string;
|
|
15
|
+
/** The names and what each is for, for the search: the schema's own words only blur it. */
|
|
16
|
+
export declare const inputWords: (input: InputSchema) => string;
|
|
17
|
+
/**
|
|
18
|
+
* What a model meant to call. Some models put the input into a JSON text, some beside the name
|
|
19
|
+
* instead of under `input`: both are read as they were meant, nothing is guessed.
|
|
20
|
+
*/
|
|
21
|
+
export declare function callOf(raw: unknown): {
|
|
22
|
+
name: string;
|
|
23
|
+
input: Record<string, unknown>;
|
|
24
|
+
};
|
|
25
|
+
/** The required properties a call leaves out. */
|
|
26
|
+
export declare const missing: (schema: InputSchema, input: Record<string, unknown>) => string[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/** Not needed to call a tool. */
|
|
2
|
+
const NOISE = new Set(["$schema", "additionalProperties", "title", "examples", "pattern"]);
|
|
3
|
+
function slim(value) {
|
|
4
|
+
if (Array.isArray(value)) {
|
|
5
|
+
return value.map(slim);
|
|
6
|
+
}
|
|
7
|
+
if (typeof value !== "object" || value === null) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
return Object.fromEntries(Object.entries(value)
|
|
11
|
+
.filter(([key, part]) => !(NOISE.has(key) && typeof part !== "object") && key !== "$schema")
|
|
12
|
+
.map(([key, part]) => [key, slim(part)]));
|
|
13
|
+
}
|
|
14
|
+
/** The schema's properties as a model reads them. */
|
|
15
|
+
export const inputText = (input) => JSON.stringify({
|
|
16
|
+
...slim(input.properties ?? {}),
|
|
17
|
+
...(input.required?.length ? { required: input.required } : {}),
|
|
18
|
+
});
|
|
19
|
+
/** Only the names: enough to know what a call is made of. */
|
|
20
|
+
export const inputNames = (input) => Object.keys(input.properties ?? {})
|
|
21
|
+
.map((name) => (input.required?.includes(name) ? name : `${name}?`))
|
|
22
|
+
.join(", ") || "none";
|
|
23
|
+
/** The names and what each is for, for the search: the schema's own words only blur it. */
|
|
24
|
+
export const inputWords = (input) => Object.entries(input.properties ?? {})
|
|
25
|
+
.map(([name, property]) => `${name.replaceAll("_", " ")} ${property.description ?? ""}`.trim())
|
|
26
|
+
.join("\n");
|
|
27
|
+
const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
28
|
+
function parsed(value) {
|
|
29
|
+
if (isRecord(value)) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
if (typeof value !== "string" || !value.trim()) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
try {
|
|
36
|
+
const read = JSON.parse(value);
|
|
37
|
+
return isRecord(read) ? read : null;
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* What a model meant to call. Some models put the input into a JSON text, some beside the name
|
|
45
|
+
* instead of under `input`: both are read as they were meant, nothing is guessed.
|
|
46
|
+
*/
|
|
47
|
+
export function callOf(raw) {
|
|
48
|
+
const record = parsed(raw) ?? {};
|
|
49
|
+
const { name, input, arguments: args, ...beside } = record;
|
|
50
|
+
const under = parsed(input) ?? parsed(args);
|
|
51
|
+
return {
|
|
52
|
+
name: typeof name === "string" ? name.trim() : "",
|
|
53
|
+
input: under && Object.keys(under).length ? under : beside,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/** The required properties a call leaves out. */
|
|
57
|
+
export const missing = (schema, input) => (schema.required ?? []).filter((name) => input[name] === undefined || input[name] === null);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
|
+
import { SURFACE_COMPONENTS, SURFACE_REQUIRED } from "@engenty/chatviews/surface";
|
|
1
3
|
import { fieldSchema, nextRuleSchema, outputFieldSchema, stepSchema, wizardShapeSchema, } from "./definition.js";
|
|
2
|
-
import { SURFACE_COMPONENTS, SURFACE_REQUIRED } from "./surface.js";
|
|
3
4
|
import { OUTPUT_TAGS, STEP_TAGS, STEP_TEXT } from "./wizard-text.js";
|
|
4
5
|
/**
|
|
5
6
|
* The tags of the text form (wizard-text.ts) as a model reads them: each tag with its attributes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type ObjectShape } from "@engenty/chatviews/shape";
|
|
2
|
+
import { type SurfaceComponent } from "@engenty/chatviews/surface";
|
|
1
3
|
import { z } from "zod";
|
|
2
|
-
import { type ObjectShape } from "./shape.js";
|
|
3
|
-
import { type SurfaceComponent } from "./surface.js";
|
|
4
4
|
/** The engenty avatars a wizard can wear. Same cast as engenty's ui-core. */
|
|
5
5
|
export declare const ENGENTY_KINDS: readonly ["round", "drop", "dome", "flame", "oval", "bean", "pebble", "sprout", "tower", "wedge"];
|
|
6
6
|
export type EngentyKind = (typeof ENGENTY_KINDS)[number];
|
|
@@ -5687,7 +5687,7 @@ export declare const agentStepSchema: z.ZodObject<{
|
|
|
5687
5687
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5688
5688
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5689
5689
|
}, z.core.$strip>>>;
|
|
5690
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
5690
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
5691
5691
|
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
5692
5692
|
id: z.ZodString;
|
|
5693
5693
|
component: z.ZodEnum<{
|
|
@@ -7402,7 +7402,7 @@ export declare const codeStepSchema: z.ZodObject<{
|
|
|
7402
7402
|
componentId: z.ZodString;
|
|
7403
7403
|
}, z.core.$strip>]>>;
|
|
7404
7404
|
}, z.core.$loose>>>;
|
|
7405
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
7405
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
7406
7406
|
}, z.core.$strip>;
|
|
7407
7407
|
working: z.ZodOptional<z.ZodString>;
|
|
7408
7408
|
}, z.core.$strip>;
|
|
@@ -15934,7 +15934,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15934
15934
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15935
15935
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15936
15936
|
}, z.core.$strip>>>;
|
|
15937
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
15937
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
15938
15938
|
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
15939
15939
|
id: z.ZodString;
|
|
15940
15940
|
component: z.ZodEnum<{
|
|
@@ -18344,7 +18344,7 @@ export declare const stepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18344
18344
|
componentId: z.ZodString;
|
|
18345
18345
|
}, z.core.$strip>]>>;
|
|
18346
18346
|
}, z.core.$loose>>>;
|
|
18347
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
18347
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
18348
18348
|
}, z.core.$strip>;
|
|
18349
18349
|
working: z.ZodOptional<z.ZodString>;
|
|
18350
18350
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -26513,7 +26513,7 @@ export declare const wizardShapeSchema: z.ZodObject<{
|
|
|
26513
26513
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26514
26514
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26515
26515
|
}, z.core.$strip>>>;
|
|
26516
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
26516
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
26517
26517
|
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
26518
26518
|
id: z.ZodString;
|
|
26519
26519
|
component: z.ZodEnum<{
|
|
@@ -28923,7 +28923,7 @@ export declare const wizardShapeSchema: z.ZodObject<{
|
|
|
28923
28923
|
componentId: z.ZodString;
|
|
28924
28924
|
}, z.core.$strip>]>>;
|
|
28925
28925
|
}, z.core.$loose>>>;
|
|
28926
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
28926
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
28927
28927
|
}, z.core.$strip>;
|
|
28928
28928
|
working: z.ZodOptional<z.ZodString>;
|
|
28929
28929
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -36815,7 +36815,7 @@ export declare const wizardSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
36815
36815
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36816
36816
|
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36817
36817
|
}, z.core.$strip>>>;
|
|
36818
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
36818
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
36819
36819
|
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodObject<{
|
|
36820
36820
|
id: z.ZodString;
|
|
36821
36821
|
component: z.ZodEnum<{
|
|
@@ -39225,7 +39225,7 @@ export declare const wizardSchema: z.ZodPreprocess<z.ZodObject<{
|
|
|
39225
39225
|
componentId: z.ZodString;
|
|
39226
39226
|
}, z.core.$strip>]>>;
|
|
39227
39227
|
}, z.core.$loose>>>;
|
|
39228
|
-
schema: z.ZodOptional<z.ZodType<import("
|
|
39228
|
+
schema: z.ZodOptional<z.ZodType<import("@engenty/chatviews/shape").ObjectSchema, unknown, z.core.$ZodTypeInternals<import("@engenty/chatviews/shape").ObjectSchema, unknown>>>;
|
|
39229
39229
|
}, z.core.$strip>;
|
|
39230
39230
|
working: z.ZodOptional<z.ZodString>;
|
|
39231
39231
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
|
+
import { calcNames, calcSchema, calcScope, calcTruthy, calcValue, parsedCalc, } from "@engenty/chatviews/calc";
|
|
3
|
+
import { readNumber } from "@engenty/chatviews/numbers";
|
|
4
|
+
import { outputSchemaSchema, shapeOfFields, shapeOfSchema, } from "@engenty/chatviews/shape";
|
|
5
|
+
import { surfaceComponentsSchema, validateSurface, } from "@engenty/chatviews/surface";
|
|
2
6
|
import { z } from "zod";
|
|
3
|
-
import { calcNames, calcSchema, calcScope, calcTruthy, calcValue, parsedCalc } from "./calc.js";
|
|
4
7
|
import { tableColumnsSchema } from "./engenty/data-tables/columns.js";
|
|
5
|
-
import { readNumber } from "./numbers.js";
|
|
6
|
-
import { outputSchemaSchema, shapeOfFields, shapeOfSchema } from "./shape.js";
|
|
7
8
|
import { isShareTargetId } from "./sharing.js";
|
|
8
9
|
import { CONNECTION_KINDS } from "./store.js";
|
|
9
|
-
import { surfaceComponentsSchema, validateSurface } from "./surface.js";
|
|
10
10
|
import { hasWizardCodePrefix, WIZARD_CODE_NAME, WIZARD_CODE_PREFIXES, wizardAgentPath, wizardAgentsIn, wizardCodeOf, wizardToolsIn, wizardToolsUsed, } from "./wizard-code.js";
|
|
11
11
|
import { sqlParams, sqlRefusal } from "./wizard-data.js";
|
|
12
12
|
/** The engenty avatars a wizard can wear. Same cast as engenty's ui-core. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
|
+
import { shapeJsonSchema, shapeZod, } from "@engenty/chatviews/shape";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
import { dataRef, declaredShape, isDataStep, isDecidedField, listRef, outputOf, stepShape, } from "./definition.js";
|
|
4
|
-
import { shapeJsonSchema, shapeZod } from "./shape.js";
|
|
5
5
|
const DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
6
6
|
/** Where every run ends up: past the last step, at `end` or at a result. */
|
|
7
7
|
const END = "\u0000end";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { Surface } from "@engenty/chatviews/surface";
|
|
1
2
|
import { type AheadForm, type CardOption, type EngentyCostume, type Format, type Lang, type ModelClass, type Step, type WizardDefinition } from "./definition.js";
|
|
2
3
|
import type { ShareJobView } from "./sharing.js";
|
|
3
4
|
import type { StartEvent } from "./starts.js";
|
|
4
5
|
import type { ConnectionKind, ConnectionView, ListDef, ListRow } from "./store.js";
|
|
5
|
-
import type { Surface } from "./surface.js";
|
|
6
6
|
import { type Gap, type Texts, type TextTable } from "./texts.js";
|
|
7
7
|
import type { ThemeColours, ThemeEffect, ThemeShape } from "./theme.js";
|
|
8
8
|
export type RunStatus = "waiting_input" | "sleeping" | "waiting_signal" | "running" | "done" | "failed" | "cancelled";
|
|
@@ -344,6 +344,8 @@ declare const NOTES_EN: {
|
|
|
344
344
|
readonly noSandbox: "Working without the sandbox – this run can’t run code";
|
|
345
345
|
readonly noDurable: "This step starts over after an interruption: its model can’t go on where it stopped";
|
|
346
346
|
readonly turnWentOn: "Went on after an interruption";
|
|
347
|
+
readonly loadsModel: "Loading the model";
|
|
348
|
+
readonly modelReads: "The model reads what the step holds";
|
|
347
349
|
readonly turnAsked: "Asks you: {question}";
|
|
348
350
|
readonly turnAnswered: "Goes on with your answer";
|
|
349
351
|
readonly grant: "This run may: {what}";
|
|
@@ -55,6 +55,8 @@ const NOTES_EN = {
|
|
|
55
55
|
noSandbox: "Working without the sandbox – this run can’t run code",
|
|
56
56
|
noDurable: "This step starts over after an interruption: its model can’t go on where it stopped",
|
|
57
57
|
turnWentOn: "Went on after an interruption",
|
|
58
|
+
loadsModel: "Loading the model",
|
|
59
|
+
modelReads: "The model reads what the step holds",
|
|
58
60
|
turnAsked: "Asks you: {question}",
|
|
59
61
|
turnAnswered: "Goes on with your answer",
|
|
60
62
|
// What the run may reach outside, from its grant (broker/grant.ts), as its log opens.
|
|
@@ -527,6 +529,8 @@ const NOTES_DE = {
|
|
|
527
529
|
noSandbox: "Arbeitet ohne Sandbox – dieser Lauf kann keinen Code ausführen",
|
|
528
530
|
noDurable: "Dieser Schritt beginnt nach einer Unterbrechung neu: sein Modell kann nicht dort weitermachen",
|
|
529
531
|
turnWentOn: "Nach einer Unterbrechung weitergemacht",
|
|
532
|
+
loadsModel: "Lädt das Modell",
|
|
533
|
+
modelReads: "Das Modell liest, was der Schritt enthält",
|
|
530
534
|
turnAsked: "Fragt dich: {question}",
|
|
531
535
|
turnAnswered: "Macht mit deiner Antwort weiter",
|
|
532
536
|
grant: "Dieser Lauf darf: {what}",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
|
+
import { readNumber } from "@engenty/chatviews/numbers";
|
|
1
3
|
import { coerceRowValues, mergeRowValues } from "./engenty/data-tables/columns-value.js";
|
|
2
|
-
import { readNumber } from "./numbers.js";
|
|
3
4
|
export const STORE_LIMITS = {
|
|
4
5
|
fileBytes: 15_000_000,
|
|
5
6
|
totalBytes: 200_000_000,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { type ObjectSchema } from "@engenty/chatviews/shape";
|
|
1
2
|
import { type AgentStep, type StepClass } from "./definition.js";
|
|
2
|
-
import { type ObjectSchema } from "./shape.js";
|
|
3
3
|
/**
|
|
4
4
|
* Agents a wizard brings in its workspace (docs/plans/wizard-code.md): `agents/<name>.md`,
|
|
5
5
|
* Markdown with front matter, in the shape Claude Code's agents have.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { outputSchemaSchema } from "@engenty/chatviews/shape";
|
|
1
2
|
import { pluginToolOf, STEP_CLASSES, TOOL_IDS, } from "./definition.js";
|
|
2
|
-
import { outputSchemaSchema } from "./shape.js";
|
|
3
3
|
import { stepAgents, wizardAgentPath, wizardCodeOf, wizardToolsIn } from "./wizard-code.js";
|
|
4
4
|
/** Instructions an agent has at most, in characters. */
|
|
5
5
|
export const WIZARD_AGENT_MAX_CHARS = 20_000;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: FSL-1.1-MIT OR MIT
|
|
2
|
-
import { parseCalc } from "
|
|
3
|
-
import { SURFACE_COMPONENTS } from "
|
|
2
|
+
import { parseCalc } from "@engenty/chatviews/calc";
|
|
3
|
+
import { SURFACE_COMPONENTS } from "@engenty/chatviews/surface";
|
|
4
4
|
export const STEP_TAGS = {
|
|
5
5
|
form: "Page",
|
|
6
6
|
agent: "Agent",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engenty/wizards-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Make a wish. Get your wizard. It guides you step by step. Let AI do the work. Runs on your machine, on the AI subscription you already have. The runtime, which `npx wizards` installs.",
|
|
5
5
|
"license": "FSL-1.1-MIT AND CC-BY-4.0",
|
|
6
6
|
"homepage": "https://engenty.ai",
|
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
"@ai-sdk/replicate": "3.0.76",
|
|
34
34
|
"@clack/prompts": "1.8.1",
|
|
35
35
|
"@effect/platform-node": "4.0.0-beta.59",
|
|
36
|
+
"@engenty/chatviews": "0.1.0",
|
|
37
|
+
"@engenty/decision-model": "0.1.0",
|
|
36
38
|
"@engenty/local-models": "0.1.0",
|
|
39
|
+
"@engenty/model-setup": "0.1.0",
|
|
40
|
+
"@engenty/search-index": "0.1.0",
|
|
41
|
+
"@engenty/tool-harness": "0.1.0",
|
|
37
42
|
"@engenty/wizards": "0.1.0",
|
|
38
43
|
"@engenty/wizards-shared": "0.1.0",
|
|
39
44
|
"@executor-js/config": "1.6.11",
|
|
@@ -116,7 +121,12 @@
|
|
|
116
121
|
}
|
|
117
122
|
},
|
|
118
123
|
"bundleDependencies": [
|
|
124
|
+
"@engenty/chatviews",
|
|
119
125
|
"@engenty/local-models",
|
|
126
|
+
"@engenty/model-setup",
|
|
127
|
+
"@engenty/search-index",
|
|
128
|
+
"@engenty/tool-harness",
|
|
129
|
+
"@engenty/decision-model",
|
|
120
130
|
"@engenty/wizards",
|
|
121
131
|
"@engenty/wizards-shared",
|
|
122
132
|
"pdfjs-dist",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wizards",
|
|
3
3
|
"displayName": "engenty wizards",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.21.0",
|
|
5
5
|
"description": "Build page-by-page AI wizards that people open on a shared link — designed, tested and published from Claude Code — run your published ones in the chat, and keep them in a pane beside it.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "engenty"
|
package/plugin/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "engenty-wizards",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.21.0",
|
|
5
5
|
"description": "Build page-by-page AI wizards that people open on a shared link, test and publish them from the chat, and run your published ones here.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "engenty",
|