@datalayer/agent-runtimes 1.5.52 → 1.5.53
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/dist-embed/chunks/{ChatView-Dy-IgGFL.js → ChatView-CRp8Mt57.js} +4 -4
- package/dist-embed/datalayer-app-main.js +86 -86
- package/lib/api/runtimes/environments.d.ts +2 -2
- package/lib/api/runtimes/environments.js +5 -5
- package/lib/api/runtimes/runtimes.d.ts +7 -7
- package/lib/api/runtimes/runtimes.js +5 -5
- package/lib/apps/__tests__/fixtures/sceneCheckCases.json +1 -1
- package/lib/apps/apps/AppBrowserSandbox.js +1 -1
- package/lib/apps/apps/AppComposer.d.ts +3 -3
- package/lib/apps/apps/AppComposer.js +3 -3
- package/lib/apps/apps/AppFeedback.d.ts +1 -1
- package/lib/apps/apps/AppKept.d.ts +1 -1
- package/lib/apps/apps/AppKept.js +1 -1
- package/lib/apps/apps/AppRenderer.d.ts +14 -14
- package/lib/apps/apps/AppRenderer.js +18 -20
- package/lib/apps/apps/AppRuntimePlugins.js +2 -3
- package/lib/apps/apps/agent.js +1 -1
- package/lib/apps/apps/appspec.d.ts +10 -10
- package/lib/apps/apps/appspec.js +35 -35
- package/lib/apps/apps/browserSandbox.d.ts +1 -1
- package/lib/apps/apps/checks.d.ts +16 -7
- package/lib/apps/apps/checks.js +65 -21
- package/lib/apps/apps/composer.d.ts +2 -2
- package/lib/apps/apps/composer.js +1 -1
- package/lib/apps/apps/computer.d.ts +3 -3
- package/lib/apps/apps/computer.js +1 -1
- package/lib/apps/apps/customComponents.d.ts +2 -2
- package/lib/apps/apps/customComponents.js +3 -3
- package/lib/apps/apps/feedback.d.ts +2 -2
- package/lib/apps/apps/hostTools.d.ts +3 -3
- package/lib/apps/apps/hostTools.js +2 -2
- package/lib/apps/apps/kept.d.ts +1 -1
- package/lib/apps/apps/language.d.ts +1 -1
- package/lib/apps/apps/pluginPair.d.ts +1 -1
- package/lib/apps/apps/records.js +1 -1
- package/lib/apps/apps/rules.d.ts +2 -2
- package/lib/apps/apps/rules.js +2 -2
- package/lib/apps/apps/saved.d.ts +1 -1
- package/lib/apps/apps/saved.js +1 -1
- package/lib/apps/apps/sceneChecks.js +3 -3
- package/lib/apps/apps/sceneYaml.js +1 -1
- package/lib/apps/apps/sessionRules.d.ts +7 -8
- package/lib/apps/apps/sessionRules.js +6 -7
- package/lib/apps/apps/settingsInputs.d.ts +1 -1
- package/lib/apps/apps/settingsInputs.js +1 -1
- package/lib/apps/apps/threads.d.ts +2 -2
- package/lib/apps/apps/threads.js +1 -1
- package/lib/apps/apps/uploads.d.ts +1 -1
- package/lib/apps/apps/visitorToken.d.ts +1 -1
- package/lib/apps/apps/visitorToken.js +2 -2
- package/lib/apps/core/a2uiComponents.js +1 -2
- package/lib/apps/core/appFiles.js +1 -1
- package/lib/apps/core/canvasBlocks.d.ts +1 -1
- package/lib/apps/core/canvasBlocks.js +1 -1
- package/lib/apps/core/canvasParts.d.ts +3 -3
- package/lib/apps/core/canvasParts.js +1 -1
- package/lib/apps/core/index.d.ts +12 -13
- package/lib/apps/core/index.js +5 -6
- package/lib/apps/embed/AppEmbed.d.ts +9 -9
- package/lib/apps/embed/AppEmbed.js +9 -10
- package/lib/apps/embed/LoopEmbed.d.ts +2 -3
- package/lib/apps/embed/datalayer-app.js +1 -1
- package/lib/apps/embed/element.js +11 -11
- package/lib/apps/embed/embedConfig.d.ts +8 -10
- package/lib/apps/embed/embedConfig.js +6 -7
- package/lib/apps/embed/embedSession.d.ts +3 -3
- package/lib/apps/embed/embedSession.js +2 -2
- package/lib/apps/embed/embeddedSecrets.d.ts +1 -1
- package/lib/apps/embed/embeddedSecrets.js +1 -1
- package/lib/apps/embed/hostBridge.d.ts +14 -14
- package/lib/apps/embed/hostBridge.js +9 -9
- package/lib/apps/embed/loader.js +2 -2
- package/lib/apps/embed/visitorApp.d.ts +1 -1
- package/lib/apps/index.d.ts +1 -1
- package/lib/apps/index.js +3 -3
- package/lib/apps/plugins/a2ui/A2uiView.js +1 -1
- package/lib/apps/plugins/a2ui-surface/AnswerShows.d.ts +2 -2
- package/lib/apps/plugins/a2ui-surface/AnswerShows.js +1 -1
- package/lib/apps/plugins/a2ui-surface/InlineSurface.d.ts +1 -1
- package/lib/apps/plugins/a2ui-surface/SurfaceToolResult.js +2 -2
- package/lib/apps/plugins/a2ui-surface/index.js +1 -1
- package/lib/apps/plugins/a2ui-surface/ownComponents.js +1 -1
- package/lib/apps/plugins/a2ui-surface/toolResult.d.ts +2 -2
- package/lib/apps/plugins/a2ui-surface/toolResult.js +2 -2
- package/lib/apps/plugins/agent-capacity/index.d.ts +2 -2
- package/lib/apps/plugins/agents/DatalayerAgentBridge.js +4 -4
- package/lib/apps/plugins/agents/appLaunch.d.ts +1 -1
- package/lib/apps/plugins/agents/plugin.d.ts +4 -4
- package/lib/apps/plugins/agents/switchable.js +1 -1
- package/lib/apps/plugins/app-activity/AppActivity.d.ts +1 -1
- package/lib/apps/plugins/app-components/index.d.ts +1 -2
- package/lib/apps/plugins/app-components/index.js +1 -2
- package/lib/apps/plugins/app-computer/AppComputer.d.ts +1 -1
- package/lib/apps/plugins/app-computer/AppComputer.js +2 -2
- package/lib/apps/plugins/app-elements/AppElements.d.ts +1 -2
- package/lib/apps/plugins/app-elements/AppElements.js +1 -1
- package/lib/apps/plugins/app-elements/QuestionView.d.ts +1 -2
- package/lib/apps/plugins/app-elements/QuestionView.js +1 -1
- package/lib/apps/plugins/app-elements/index.d.ts +2 -2
- package/lib/apps/plugins/app-elements/index.js +2 -2
- package/lib/apps/plugins/app-page/AppPage.d.ts +3 -3
- package/lib/apps/plugins/app-page/appPageModel.d.ts +5 -5
- package/lib/apps/plugins/app-page/appPageModel.js +1 -1
- package/lib/apps/plugins/app-page/index.d.ts +3 -3
- package/lib/apps/plugins/app-page/index.js +1 -1
- package/lib/apps/plugins/app-page/pageRun.d.ts +2 -2
- package/lib/apps/plugins/app-page/pageRun.js +2 -2
- package/lib/apps/plugins/app-rules/AppRulesCard.d.ts +5 -5
- package/lib/apps/plugins/app-rules/AppRulesCard.js +4 -4
- package/lib/apps/plugins/assistant/index.d.ts +2 -2
- package/lib/apps/plugins/assistant-characters/index.d.ts +2 -2
- package/lib/apps/plugins/assistant-characters/index.js +2 -2
- package/lib/apps/plugins/canvas-blocks/index.d.ts +1 -1
- package/lib/apps/plugins/canvas-blocks/index.js +1 -1
- package/lib/apps/plugins/canvas-parts/index.d.ts +5 -5
- package/lib/apps/plugins/canvas-parts/index.js +5 -5
- package/lib/apps/plugins/chat/ChatView.js +36 -34
- package/lib/apps/plugins/chat/index.d.ts +8 -8
- package/lib/apps/plugins/document/DocumentView.js +2 -2
- package/lib/apps/plugins/notebook/NotebookView.js +1 -1
- package/lib/apps/plugins/page-layout/SplitLayout.d.ts +1 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.d.ts +1 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +1 -1
- package/lib/apps/plugins/pap-sign-in/index.js +1 -1
- package/lib/apps/plugins/pap-sign-in/signIn.d.ts +1 -1
- package/lib/apps/plugins/pap-sign-in/signIn.js +1 -1
- package/lib/apps/plugins/plugins-panel/index.d.ts +1 -1
- package/lib/apps/plugins/plugins-panel/index.js +1 -1
- package/lib/apps/plugins/shield-displays/DiffCard.d.ts +2 -2
- package/lib/apps/plugins/shield-displays/TerminalCard.d.ts +1 -1
- package/lib/apps/plugins/shield-displays/index.js +3 -3
- package/lib/apps/presets.d.ts +9 -9
- package/lib/apps/presets.js +3 -3
- package/lib/apps/shell/LoopWorkspace.d.ts +1 -1
- package/lib/apps/shell/LoopWorkspace.js +1 -1
- package/lib/apps/shell/PluginToggles.d.ts +1 -1
- package/lib/apps/shell/SidebarRail.d.ts +1 -1
- package/lib/apps/shell/paneMotion.d.ts +1 -1
- package/lib/apps/shell/paneMotion.js +1 -1
- package/lib/chat/ChatFloating.d.ts +8 -9
- package/lib/chat/ChatFloating.js +4 -4
- package/lib/chat/ChatInline.js +1 -1
- package/lib/chat/ChatLanguage.d.ts +1 -1
- package/lib/chat/ChatLanguage.js +1 -1
- package/lib/chat/assistant/AssistantContextMenu.d.ts +1 -1
- package/lib/chat/assistant/AssistantStage.d.ts +4 -4
- package/lib/chat/assistant/AssistantStage.js +1 -1
- package/lib/chat/assistant/BalloonParts.d.ts +1 -1
- package/lib/chat/assistant/BalloonVisual.d.ts +1 -1
- package/lib/chat/assistant/SpeechBalloon.d.ts +2 -2
- package/lib/chat/assistant/SpriteCharacter.d.ts +1 -1
- package/lib/chat/assistant/characters.d.ts +2 -2
- package/lib/chat/assistant/formats/acf.js +1 -1
- package/lib/chat/assistant/formats/files.js +1 -1
- package/lib/chat/assistant/formats/index.d.ts +1 -1
- package/lib/chat/assistant/formats/index.js +1 -1
- package/lib/chat/assistant/formats/types.d.ts +1 -1
- package/lib/chat/assistant/state.d.ts +2 -2
- package/lib/chat/assistant/toolLine.js +1 -1
- package/lib/chat/base/ChatBase.js +28 -20
- package/lib/chat/base/conversationItems.d.ts +3 -3
- package/lib/chat/base/loopElement.d.ts +2 -2
- package/lib/chat/base/loopStep.d.ts +3 -3
- package/lib/chat/base/loopStep.js +1 -1
- package/lib/chat/base/loopWindow.d.ts +3 -3
- package/lib/chat/base/loopWindow.js +3 -3
- package/lib/chat/base/uiFiles.d.ts +1 -1
- package/lib/chat/base/uiFiles.js +1 -1
- package/lib/chat/base/uiOps.d.ts +1 -1
- package/lib/chat/base/uiOps.js +1 -1
- package/lib/chat/index.js +1 -1
- package/lib/chat/indicators/McpStatusIndicator.js +1 -1
- package/lib/chat/indicators/SkillsStatusIndicator.js +1 -1
- package/lib/chat/messages/ChatMessageList.d.ts +3 -4
- package/lib/chat/messages/ChatMessageList.js +2 -2
- package/lib/chat/messages/markdownWithoutHtml.d.ts +1 -1
- package/lib/chat/messages/markdownWithoutHtml.js +1 -1
- package/lib/chat/presence/Presence.d.ts +2 -2
- package/lib/chat/presence/Presence.js +1 -1
- package/lib/chat/presence/presenceStatus.d.ts +2 -2
- package/lib/chat/presence/presenceStatus.js +2 -2
- package/lib/chat/prompt/InputPrompt.d.ts +3 -3
- package/lib/chat/prompt/InputPromptBase.d.ts +1 -1
- package/lib/chat/prompt/InputPromptBase.js +1 -1
- package/lib/chat/prompt/InputPromptLexical.d.ts +1 -1
- package/lib/chat/styles/streamdownStyles.js +1 -1
- package/lib/chat/useViewportDrag.d.ts +1 -1
- package/lib/chat/viewModes.d.ts +1 -1
- package/lib/chat/viewModes.js +2 -2
- package/lib/chat/words.js +1 -1
- package/lib/client/mixins/RuntimesMixin.d.ts +3 -3
- package/lib/client/mixins/RuntimesMixin.js +3 -3
- package/lib/components/a2ui/custom/index.d.ts +3 -3
- package/lib/components/a2ui/custom/index.js +1 -1
- package/lib/components/a2ui/custom/sandbox.d.ts +2 -2
- package/lib/components/a2ui/custom/sandbox.js +2 -2
- package/lib/components/a2ui/datalayer/Chart.js +2 -2
- package/lib/components/a2ui/datalayer/Chat.js +1 -1
- package/lib/components/a2ui/datalayer/Download.js +1 -1
- package/lib/components/a2ui/datalayer/Evidence.js +1 -1
- package/lib/components/a2ui/datalayer/FileUpload.d.ts +1 -1
- package/lib/components/a2ui/datalayer/FileUpload.js +2 -2
- package/lib/components/a2ui/datalayer/Form.js +2 -2
- package/lib/components/a2ui/datalayer/SchemaForm.d.ts +1 -1
- package/lib/components/a2ui/datalayer/Table.js +1 -1
- package/lib/components/a2ui/datalayer/drawn.d.ts +1 -1
- package/lib/components/a2ui/datalayer/drawn.js +1 -1
- package/lib/components/a2ui/datalayer/formWidgets.js +1 -1
- package/lib/components/a2ui/datalayer/index.d.ts +1 -1
- package/lib/components/a2ui/datalayer/schema.d.ts +2 -2
- package/lib/components/a2ui/datalayer/schema.js +2 -2
- package/lib/components/a2ui/styles.js +1 -1
- package/lib/components/a2ui/visibleWhen.d.ts +3 -3
- package/lib/components/a2ui/visibleWhen.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +1 -1
- package/lib/components/code-sandboxes/CodeSandboxLauncher.js +1 -1
- package/lib/components/code-sandboxes/CodeSandboxUtils.d.ts +1 -1
- package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +2 -2
- package/lib/components/inspector/a2aSpans.d.ts +1 -1
- package/lib/components/inspector/a2aSpans.js +1 -1
- package/lib/components/teams/A2ATeamGraph.d.ts +3 -3
- package/lib/components/teams/A2ATeamGraph.js +1 -3
- package/lib/components/teams/AnswerSurfaces.d.ts +1 -1
- package/lib/components/teams/NotebookPreview.d.ts +1 -1
- package/lib/components/teams/SceneTranscript.d.ts +1 -1
- package/lib/components/teams/SceneView.d.ts +1 -1
- package/lib/components/teams/a2aTeamFlow.d.ts +1 -1
- package/lib/components/teams/a2aTeamFlow.js +1 -1
- package/lib/components/teams/sceneStage.d.ts +1 -1
- package/lib/components/teams/sceneTranscript.d.ts +1 -1
- package/lib/components/teams/useA2ATeam.d.ts +5 -5
- package/lib/components/teams/useA2ATeam.js +3 -3
- package/lib/config/AgentConfiguration.d.ts +1 -1
- package/lib/examples/AssistantExample.d.ts +1 -1
- package/lib/examples/AssistantExample.js +1 -1
- package/lib/examples/AssistantGalleryExample.d.ts +1 -1
- package/lib/examples/AssistantGalleryExample.js +1 -1
- package/lib/examples/LoopAppComputerExample.d.ts +1 -1
- package/lib/examples/LoopAppComputerExample.js +1 -1
- package/lib/examples/ProtocolSignedRequestsExample.d.ts +1 -1
- package/lib/examples/ProtocolSignedRequestsExample.js +1 -1
- package/lib/examples/ProtocolUcpCheckoutExample.d.ts +1 -1
- package/lib/examples/ProtocolUcpCheckoutExample.js +1 -1
- package/lib/examples/ScenesExample.d.ts +1 -1
- package/lib/examples/ScenesExample.js +1 -1
- package/lib/examples/ShieldHarnessExample.d.ts +1 -1
- package/lib/examples/ShieldHarnessExample.js +1 -1
- package/lib/examples/ShieldPolicyExample.d.ts +1 -1
- package/lib/examples/ShieldPolicyExample.js +1 -1
- package/lib/examples/VoiceChatExample.d.ts +1 -1
- package/lib/examples/VoiceChatExample.js +1 -1
- package/lib/examples/example-selector.js +3 -3
- package/lib/examples/exampleGroups.js +3 -3
- package/lib/examples/pap/PapSignInDisplayView.d.ts +1 -1
- package/lib/examples/pap/PapSignInDisplayView.js +1 -1
- package/lib/examples/pap/papSignInCases.js +1 -1
- package/lib/examples/protocols/signedRequestsDemo.d.ts +1 -1
- package/lib/examples/protocols/signedRequestsDemo.js +1 -1
- package/lib/examples/protocols/ucpCheckoutDemo.d.ts +1 -1
- package/lib/examples/protocols/ucpCheckoutDemo.js +1 -1
- package/lib/examples/shield/shieldHarness.d.ts +1 -1
- package/lib/examples/shield/shieldPolicyDemo.d.ts +2 -2
- package/lib/examples/shield/shieldPolicyDemo.js +1 -1
- package/lib/examples/utils/assistantGallery.d.ts +1 -1
- package/lib/examples/utils/clippyJsCharacters.js +2 -2
- package/lib/examples/utils/testSpriteCharacter.js +2 -2
- package/lib/hooks/ownRoutes.d.ts +1 -1
- package/lib/hooks/useAgentRuntimes.d.ts +1 -1
- package/lib/hooks/useChat.js +1 -1
- package/lib/index.js +1 -1
- package/lib/loop-example-main.js +1 -1
- package/lib/models/Environment.d.ts +11 -11
- package/lib/models/Environment.js +1 -1
- package/lib/models/RuntimeDTO.d.ts +1 -1
- package/lib/portable/activity.d.ts +2 -2
- package/lib/portable/activity.js +3 -3
- package/lib/portable/adapterEvents.d.ts +1 -1
- package/lib/portable/agUiRefusal.d.ts +1 -1
- package/lib/portable/agUiRefusal.js +1 -1
- package/lib/portable/agui.d.ts +2 -2
- package/lib/portable/agui.js +2 -2
- package/lib/portable/approvalCard.d.ts +1 -1
- package/lib/portable/approvalCard.js +1 -1
- package/lib/portable/approvals.d.ts +2 -2
- package/lib/portable/approvals.js +1 -1
- package/lib/portable/conversation.d.ts +2 -2
- package/lib/portable/conversation.js +1 -1
- package/lib/portable/direct.d.ts +2 -2
- package/lib/portable/displays.d.ts +2 -2
- package/lib/portable/displays.js +3 -3
- package/lib/portable/fixtures.d.ts +4 -5
- package/lib/portable/fixtures.js +4 -5
- package/lib/portable/hosts/agentClient.d.ts +5 -6
- package/lib/portable/hosts/agentClient.js +7 -7
- package/lib/portable/hosts/approvalRenderers.d.ts +6 -7
- package/lib/portable/hosts/approvalRenderers.js +2 -3
- package/lib/portable/hosts/client.d.ts +9 -6
- package/lib/portable/hosts/client.js +9 -8
- package/lib/portable/hosts/contracts.d.ts +2 -4
- package/lib/portable/hosts/contracts.js +2 -4
- package/lib/portable/hosts/contracts.json +2 -2
- package/lib/portable/hosts/deadLetters.js +2 -2
- package/lib/portable/hosts/deliveries.d.ts +2 -3
- package/lib/portable/hosts/forbiddenGraph.d.ts +4 -4
- package/lib/portable/hosts/forbiddenGraph.js +4 -4
- package/lib/portable/hosts/health.d.ts +3 -4
- package/lib/portable/hosts/health.js +3 -4
- package/lib/portable/hosts/index.d.ts +1 -1
- package/lib/portable/hosts/index.js +1 -1
- package/lib/portable/hosts/observability.d.ts +1 -1
- package/lib/portable/hosts/observability.js +3 -4
- package/lib/portable/hosts/postgresQueue.d.ts +2 -2
- package/lib/portable/hosts/postgresQueue.js +3 -3
- package/lib/portable/hosts/queue.d.ts +1 -1
- package/lib/portable/hosts/quotas.d.ts +2 -2
- package/lib/portable/hosts/quotas.js +2 -2
- package/lib/portable/hosts/rateLimit.d.ts +1 -1
- package/lib/portable/hosts/resolution.d.ts +2 -2
- package/lib/portable/hosts/schema.d.ts +1 -1
- package/lib/portable/hosts/schema.js +1 -1
- package/lib/portable/hosts/secretCipher.d.ts +2 -2
- package/lib/portable/hosts/sessionUid.js +1 -2
- package/lib/portable/hosts/turnState.d.ts +1 -1
- package/lib/portable/index.js +12 -12
- package/lib/portable/lifecycle.d.ts +3 -3
- package/lib/portable/presence.d.ts +3 -3
- package/lib/portable/protectedInput.d.ts +1 -1
- package/lib/portable/records.d.ts +2 -2
- package/lib/portable/records.js +2 -2
- package/lib/portable/runMeasures.d.ts +1 -1
- package/lib/portable/runMeasures.js +1 -1
- package/lib/portable/runtimes.d.ts +1 -1
- package/lib/portable/semantic-events.json +1 -1
- package/lib/portable/semantic.d.ts +1 -1
- package/lib/portable/semantic.js +1 -1
- package/lib/portable/semanticOfAgUi.d.ts +2 -2
- package/lib/portable/semanticOfAgUi.js +1 -1
- package/lib/portable/signIn.d.ts +5 -5
- package/lib/portable/signIn.js +1 -1
- package/lib/portable/signInStatus.d.ts +1 -2
- package/lib/portable/signInStatus.js +1 -2
- package/lib/portable/thread.d.ts +2 -2
- package/lib/portable/thread.js +2 -2
- package/lib/portable/views.d.ts +5 -5
- package/lib/protocols/A2AAdapter.d.ts +1 -1
- package/lib/protocols/A2AAdapter.js +3 -3
- package/lib/protocols/AGUIAdapter.d.ts +1 -1
- package/lib/protocols/AGUIAdapter.js +2 -2
- package/lib/protocols/BrowserAgentAdapter.d.ts +2 -2
- package/lib/protocols/BrowserAgentAdapter.js +1 -1
- package/lib/protocols/VercelAIAdapter.js +2 -2
- package/lib/protocols/a2a/index.d.ts +1 -1
- package/lib/protocols/a2a/index.js +1 -1
- package/lib/protocols/agentProtocols.d.ts +1 -1
- package/lib/protocols/agentProtocols.js +1 -1
- package/lib/protocols/agentic-commerce/index.d.ts +2 -2
- package/lib/protocols/agentic-commerce/index.js +2 -2
- package/lib/protocols/commerce.d.ts +1 -1
- package/lib/protocols/commerce.js +3 -3
- package/lib/protocols/core.d.ts +3 -3
- package/lib/protocols/core.js +2 -2
- package/lib/protocols/mcp/client.js +1 -1
- package/lib/protocols/mcp/index.js +1 -1
- package/lib/protocols/pact/index.d.ts +6 -6
- package/lib/protocols/pact/index.js +6 -6
- package/lib/protocols/ucp/index.d.ts +2 -2
- package/lib/protocols/ucp/index.js +2 -2
- package/lib/protocols/ucp/merchant.js +1 -2
- package/lib/protocols/web-bot-auth/index.d.ts +1 -1
- package/lib/protocols/web-bot-auth/index.js +1 -1
- package/lib/protocols/web-bot-auth/tap.js +1 -1
- package/lib/runtimes/actions.js +2 -2
- package/lib/runtimes/apis.d.ts +3 -4
- package/lib/runtimes/browser/a2aPeer.d.ts +1 -1
- package/lib/runtimes/browser/a2aPeer.js +1 -1
- package/lib/runtimes/browser/protocol.d.ts +1 -1
- package/lib/runtimes/variants.d.ts +3 -3
- package/lib/runtimes/variants.js +4 -4
- package/lib/specs/agents/agents.js +2 -2
- package/lib/specs/apps.js +28 -28
- package/lib/specs/appspecSchema.js +62 -62
- package/lib/specs/harnesses.d.ts +1 -1
- package/lib/specs/harnesses.js +1 -1
- package/lib/specs/policies.d.ts +1 -1
- package/lib/specs/policies.js +2 -2
- package/lib/specs/protocols.d.ts +1 -1
- package/lib/specs/sceneSchema.js +4 -4
- package/lib/specs/scenes.js +4 -4
- package/lib/specs/standards.d.ts +1 -1
- package/lib/specs/ui.d.ts +2 -2
- package/lib/specs/ui.js +1 -1
- package/lib/specs/uiRenderers.d.ts +1 -1
- package/lib/specs/voices.d.ts +2 -2
- package/lib/specs/voices.js +2 -2
- package/lib/stories/loop/ReferenceScreens.js +1 -1
- package/lib/stories/loop/pictures-main.js +2 -2
- package/lib/test-setup.js +1 -1
- package/lib/types/agentspecs.d.ts +81 -85
- package/lib/types/chat.d.ts +26 -13
- package/lib/types/messages.d.ts +1 -1
- package/lib/types/protocol.d.ts +3 -3
- package/lib/types/scenes.d.ts +6 -6
- package/lib/types/teams.d.ts +3 -3
- package/lib/ui-plugins/MCPUIPlugin.d.ts +2 -2
- package/lib/ui-plugins/MCPUIPlugin.js +1 -1
- package/lib/voice/ComposerVoice.d.ts +5 -3
- package/lib/voice/ComposerVoice.js +4 -4
- package/lib/voice/HandsFree.d.ts +9 -3
- package/lib/voice/HandsFree.js +8 -3
- package/lib/voice/ReadAloud.d.ts +1 -1
- package/lib/voice/VoiceInput.d.ts +1 -2
- package/lib/voice/VoiceMenu.d.ts +1 -1
- package/lib/voice/captions.d.ts +1 -1
- package/lib/voice/captions.js +1 -1
- package/lib/voice/capture.d.ts +1 -1
- package/lib/voice/capture.js +1 -1
- package/lib/voice/chatVoice.d.ts +1 -1
- package/lib/voice/chatVoice.js +3 -3
- package/lib/voice/choices.d.ts +2 -2
- package/lib/voice/choices.js +2 -2
- package/lib/voice/consent.js +1 -1
- package/lib/voice/handsFree.d.ts +29 -4
- package/lib/voice/handsFree.js +32 -4
- package/lib/voice/hearing.d.ts +1 -1
- package/lib/voice/hearing.js +1 -1
- package/lib/voice/index.d.ts +2 -2
- package/lib/voice/pinned.d.ts +2 -2
- package/lib/voice/pinned.js +2 -2
- package/lib/voice/sayAloud.d.ts +2 -2
- package/lib/voice/sayAloud.js +2 -2
- package/lib/voice/sentences.d.ts +1 -1
- package/lib/voice/sentences.js +1 -1
- package/lib/voice/serverHearing.d.ts +8 -2
- package/lib/voice/serverHearing.js +37 -6
- package/lib/voice/settings.d.ts +2 -2
- package/lib/voice/settings.js +2 -2
- package/lib/voice/speaker.d.ts +10 -4
- package/lib/voice/speaker.js +5 -2
- package/lib/voice/types.d.ts +1 -1
- package/lib/voice/useSpokenAnswers.js +2 -2
- package/lib/voice/useVoiceSettings.js +1 -1
- package/lib/voice/useVoiceSpeaker.js +1 -1
- package/package.json +2 -2
- package/scripts/codegen/generate_agentic_commerce.sh +1 -1
- package/scripts/codegen/generate_agents.py +5 -5
- package/scripts/codegen/generate_apps.py +3 -3
- package/scripts/codegen/generate_harnesses.py +4 -4
- package/scripts/codegen/generate_mcp_servers.py +2 -2
- package/scripts/codegen/generate_policies.py +3 -3
- package/scripts/codegen/generate_protocols.py +3 -4
- package/scripts/codegen/generate_scenes.py +4 -4
- package/scripts/codegen/generate_standards.py +3 -3
- package/scripts/codegen/generate_teams.py +1 -1
- package/scripts/codegen/generate_ui.py +8 -8
- package/scripts/codegen/generate_ui_renderers.py +3 -3
- package/scripts/codegen/generate_voices.py +4 -4
- package/scripts/dist-embed.mjs +1 -1
- package/scripts/generate-environments-types.py +1 -1
- package/scripts/record-scene-checks.py +2 -2
- package/scripts/voice/measure.py +3 -3
- package/scripts/voice/pin_store.py +1 -1
- package/scripts/voice/serve_store.py +1 -1
- package/scripts/voice/transcribe.mjs +1 -1
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
Generate Python and TypeScript code from YAML UI specifications.
|
|
7
7
|
|
|
8
8
|
A UI spec is one Reactor plugin of this package (``src/apps/plugins/``) a
|
|
9
|
-
Maker composes an interface with (
|
|
9
|
+
Maker composes an interface with (R8): its registered name, its
|
|
10
10
|
Contributions, the Contribution Points it offers, its settings, the visual
|
|
11
|
-
components it renders (
|
|
11
|
+
components it renders (C-13) and the UI renderers it may be exposed
|
|
12
12
|
through (``agentspecs/ui-renderers``, ``generate_ui_renderers.py``). One YAML
|
|
13
13
|
per plugin under ``agentspecs/ui``; an agent's or an application's ``ui``
|
|
14
14
|
names plugins, each with its renderer.
|
|
@@ -115,12 +115,12 @@ def _py_type(prop: dict[str, Any]) -> str:
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
def _py_calls(specs: list[dict[str, Any]]) -> list[str]:
|
|
118
|
-
"""The catalog's components as typed calls (
|
|
118
|
+
"""The catalog's components as typed calls (C-15), one method each."""
|
|
119
119
|
lines = [
|
|
120
120
|
"",
|
|
121
121
|
"",
|
|
122
122
|
"# " + "=" * 76,
|
|
123
|
-
"# The components as typed calls (
|
|
123
|
+
"# The components as typed calls (C-15)",
|
|
124
124
|
"# " + "=" * 76,
|
|
125
125
|
"",
|
|
126
126
|
'#: A property bound to what the application publishes or takes: ``{"path": "/runs"}``.',
|
|
@@ -220,7 +220,7 @@ def generate_python_code(specs: list[dict[str, Any]]) -> str:
|
|
|
220
220
|
'"""',
|
|
221
221
|
"UI Catalog.",
|
|
222
222
|
"",
|
|
223
|
-
"The UI plugins: the Reactor plugins an interface is made of (
|
|
223
|
+
"The UI plugins: the Reactor plugins an interface is made of (R8).",
|
|
224
224
|
"",
|
|
225
225
|
"This file is AUTO-GENERATED from YAML specifications.",
|
|
226
226
|
"DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -299,7 +299,7 @@ def generate_python_code(specs: list[dict[str, Any]]) -> str:
|
|
|
299
299
|
"",
|
|
300
300
|
"",
|
|
301
301
|
"#: The visual components the UI plugins render, by the name a",
|
|
302
|
-
"#: surface gives them (
|
|
302
|
+
"#: surface gives them (C-13).",
|
|
303
303
|
"COMPONENT_CATALOGUE: Dict[str, ComponentSpec] = {",
|
|
304
304
|
" component.id: component",
|
|
305
305
|
" for plugin in UI_CATALOGUE.values()",
|
|
@@ -332,7 +332,7 @@ def generate_typescript_code(specs: list[dict[str, Any]]) -> str:
|
|
|
332
332
|
"/**",
|
|
333
333
|
" * UI Catalog.",
|
|
334
334
|
" *",
|
|
335
|
-
" * The UI plugins: the Reactor plugins an interface is made of (
|
|
335
|
+
" * The UI plugins: the Reactor plugins an interface is made of (R8).",
|
|
336
336
|
" *",
|
|
337
337
|
" * This file is AUTO-GENERATED from YAML specifications.",
|
|
338
338
|
" * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -391,7 +391,7 @@ def generate_typescript_code(specs: list[dict[str, Any]]) -> str:
|
|
|
391
391
|
" return Object.values(UI_CATALOGUE);",
|
|
392
392
|
"}",
|
|
393
393
|
"",
|
|
394
|
-
"/** The visual components the UI plugins render, by the name a surface gives them (
|
|
394
|
+
"/** The visual components the UI plugins render, by the name a surface gives them (C-13). */",
|
|
395
395
|
"export const COMPONENT_CATALOGUE: Record<string, ComponentSpec> = Object.fromEntries(",
|
|
396
396
|
" Object.values(UI_CATALOGUE)",
|
|
397
397
|
" .flatMap(plugin => plugin.components.map(component => [component.id, component])),",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Generate Python and TypeScript code from the YAML UI renderer specifications.
|
|
7
7
|
|
|
8
|
-
One YAML per UI renderer under ``agentspecs/ui-renderers`` (
|
|
8
|
+
One YAML per UI renderer under ``agentspecs/ui-renderers`` (R8,
|
|
9
9
|
F-01): how a UI plugin's interface reaches a host that is not Datalayer's own
|
|
10
10
|
page — A2UI, MCP Apps, MCP UI. A UI plugin (``agentspecs/ui``) says the
|
|
11
11
|
renderers it may be exposed through; an agent's or an application's ``ui``
|
|
@@ -66,7 +66,7 @@ def generate_python_code(specs: list[dict[str, Any]]) -> str:
|
|
|
66
66
|
"UI Renderer Catalog.",
|
|
67
67
|
"",
|
|
68
68
|
"How a UI plugin's interface reaches a host that is not Datalayer's own page",
|
|
69
|
-
"(
|
|
69
|
+
"(R8): A2UI, MCP Apps, MCP UI.",
|
|
70
70
|
"",
|
|
71
71
|
"This file is AUTO-GENERATED from YAML specifications.",
|
|
72
72
|
"DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -119,7 +119,7 @@ def generate_typescript_code(specs: list[dict[str, Any]]) -> str:
|
|
|
119
119
|
" * UI Renderer Catalog.",
|
|
120
120
|
" *",
|
|
121
121
|
" * How a UI plugin's interface reaches a host that is not Datalayer's own",
|
|
122
|
-
" * page (
|
|
122
|
+
" * page (R8): A2UI, MCP Apps, MCP UI.",
|
|
123
123
|
" *",
|
|
124
124
|
" * This file is AUTO-GENERATED from YAML specifications.",
|
|
125
125
|
" * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|
|
5
5
|
"""
|
|
6
|
-
Generate the voice catalogue (
|
|
6
|
+
Generate the voice catalogue (VO-40) in Python and TypeScript.
|
|
7
7
|
|
|
8
8
|
Read through ``agentspecs.speech``, which refuses a voice or a model whose
|
|
9
9
|
licence the register does not allow: what is generated has passed it.
|
|
@@ -74,7 +74,7 @@ def generate_python_code(
|
|
|
74
74
|
"# Copyright (c) 2025-2026 Datalayer, Inc.",
|
|
75
75
|
"# Distributed under the terms of the Modified BSD License.",
|
|
76
76
|
'"""',
|
|
77
|
-
"The voice catalogue (
|
|
77
|
+
"The voice catalogue (VO-40): voices and speech models.",
|
|
78
78
|
"",
|
|
79
79
|
"This file is AUTO-GENERATED from agentspecs (voices, speech-models).",
|
|
80
80
|
"DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -143,7 +143,7 @@ def generate_typescript_code(
|
|
|
143
143
|
" */",
|
|
144
144
|
"",
|
|
145
145
|
"/**",
|
|
146
|
-
" * The voice catalogue (
|
|
146
|
+
" * The voice catalogue (VO-40): voices and speech models.",
|
|
147
147
|
" *",
|
|
148
148
|
" * This file is AUTO-GENERATED from agentspecs (voices, speech-models).",
|
|
149
149
|
" * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.",
|
|
@@ -246,7 +246,7 @@ def generate_typescript_code(
|
|
|
246
246
|
"",
|
|
247
247
|
"/**",
|
|
248
248
|
" * The speech-to-text model for a language, on the device: Moonshine where it",
|
|
249
|
-
" * hears it, Whisper otherwise
|
|
249
|
+
" * hears it, Whisper otherwise.",
|
|
250
250
|
" */",
|
|
251
251
|
"export function transcriberFor(language: string): SpeechModelSpec | undefined {",
|
|
252
252
|
" const base = language.split('-')[0];",
|
package/scripts/dist-embed.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Put `dist-embed/` in a checkout: the embed element's own bundle.
|
|
9
9
|
*
|
|
10
10
|
* `dist-embed/datalayer-app.js` is what a page loads to put an application on
|
|
11
|
-
* someone else's site (
|
|
11
|
+
* someone else's site (D-08). A release carries it — `npm run build:embed`
|
|
12
12
|
* runs in the release, and the npm package ships the folder — but a workspace
|
|
13
13
|
* checkout has never run it, and the folder is gitignored. The landing's
|
|
14
14
|
* production build refuses to ship without it, because an embed bundle that
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Generate the TypeScript types of the Environment specification from its JSON Schema.
|
|
7
7
|
|
|
8
8
|
The pydantic models of ``code_sandboxes.environments`` are the specification
|
|
9
|
-
(
|
|
9
|
+
(D-14). ``code-sandboxes`` exports them as
|
|
10
10
|
``schemas/environment-v1alpha1.json``; this writes what that schema says, in
|
|
11
11
|
TypeScript, to ``src/models/environments.generated.ts``, as ``core`` generates
|
|
12
12
|
its orchestration and MCP types.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
"""Record what ``loop`` refuses of a scene, for every editor of a scene to be held to it.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
S-10: one validation over the three — what the spec editor
|
|
8
8
|
refuses, the stage refuses and ``loop`` refuses, in the same words. The
|
|
9
9
|
browser's half is ``src/apps/apps/sceneChecks.ts``; this script
|
|
10
10
|
writes down what agentspecs itself says of the same scenes, and
|
|
@@ -645,7 +645,7 @@ def main() -> int:
|
|
|
645
645
|
recorded.append({"name": case["name"], "yaml": case["yaml"], "says": says})
|
|
646
646
|
|
|
647
647
|
table = {
|
|
648
|
-
"says": "What `loop` refuses of a scene, recorded from agentspecs (
|
|
648
|
+
"says": "What `loop` refuses of a scene, recorded from agentspecs (S-10).",
|
|
649
649
|
"recordedWith": "scripts/record-scene-checks.py",
|
|
650
650
|
"cases": recorded,
|
|
651
651
|
}
|
package/scripts/voice/measure.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
# Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|
|
5
|
-
"""Measure the speech models on the recorded fixtures (
|
|
5
|
+
"""Measure the speech models on the recorded fixtures (VO-05, VO-51, VO-52).
|
|
6
6
|
|
|
7
7
|
python scripts/voice/measure.py --store ~/.cache/voice-work/store
|
|
8
8
|
|
|
@@ -92,7 +92,7 @@ def transcribe(
|
|
|
92
92
|
return json.loads(done.stdout.strip().splitlines()[-1])
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
#: Spoken turns timed on the server (VO-47
|
|
95
|
+
#: Spoken turns timed on the server (VO-47): a 3 s fixture and the
|
|
96
96
|
#: e2e suite's 9 s question, each heard ``TURN_RUNS`` times told its language.
|
|
97
97
|
TURNS = {
|
|
98
98
|
"3s": VOICE_TESTS / "fixtures" / "en-6930-75918-0013.flac",
|
|
@@ -129,7 +129,7 @@ def measure_server(
|
|
|
129
129
|
The service's own engines (faster-whisper 8-bit, Moonshine through
|
|
130
130
|
onnxruntime) on the CPU with ``threads`` threads, told the language, one
|
|
131
131
|
clip at a time: what it heard and how long it took; then a 3 s and a 9 s
|
|
132
|
-
English turn, each heard ``TURN_RUNS`` times
|
|
132
|
+
English turn, each heard ``TURN_RUNS`` times.
|
|
133
133
|
"""
|
|
134
134
|
for model in voices.SPEECH_MODEL_CATALOGUE.values():
|
|
135
135
|
if model["task"] != "stt" or model["where"] != ["server"]:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
# Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|
|
5
|
-
"""The pinned-file store of the speech models (
|
|
5
|
+
"""The pinned-file store of the speech models (VO-03, VO-48, VO-49).
|
|
6
6
|
|
|
7
7
|
Every file of every speech model of the catalogue, laid out as
|
|
8
8
|
``<store>/<provider>/<model id>/<path>`` — as Datalayer's storage keeps them,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
# Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|
|
5
|
-
"""Serve the pinned store to a page on this machine, as Datalayer's origin serves it (
|
|
5
|
+
"""Serve the pinned store to a page on this machine, as Datalayer's origin serves it (VO-49).
|
|
6
6
|
|
|
7
7
|
python scripts/voice/serve_store.py --store ~/.cache/voice-work/store [--port 8770]
|
|
8
8
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* Transcribe WAV files with a speech-to-text model of the catalogue, as the
|
|
8
8
|
* browser runs it: transformers.js, the same ONNX files, read from the
|
|
9
|
-
* pinned store (
|
|
9
|
+
* pinned store (VO-05, VO-51). Prints one JSON line.
|
|
10
10
|
*
|
|
11
11
|
* node scripts/voice/transcribe.mjs <store> <model id> <language> <file.wav>...
|
|
12
12
|
*
|