@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
|
@@ -100,7 +100,7 @@ export function RuntimesMixin(Base) {
|
|
|
100
100
|
name: environmentName,
|
|
101
101
|
// Additive: without it this is the request runtimes have always
|
|
102
102
|
// been created with, and the platform resolves the promoted
|
|
103
|
-
// version itself (
|
|
103
|
+
// version itself (E1-11).
|
|
104
104
|
...(environmentVersion !== undefined && environmentVersion !== ''
|
|
105
105
|
? { version: environmentVersion }
|
|
106
106
|
: {}),
|
|
@@ -179,7 +179,7 @@ export function RuntimesMixin(Base) {
|
|
|
179
179
|
return response.forgotten;
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
* Correct one of the caller's own memories in place (
|
|
182
|
+
* Correct one of the caller's own memories in place (R-34): its
|
|
183
183
|
* words become `text`, kept with who corrected it and when.
|
|
184
184
|
*/
|
|
185
185
|
async correctRuntimeMemory(memoryId, text) {
|
|
@@ -200,7 +200,7 @@ export function RuntimesMixin(Base) {
|
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* The caller's allowances to share what an application remembers of
|
|
203
|
-
* them with another (
|
|
203
|
+
* them with another (R-35), by `source` or by `reader`.
|
|
204
204
|
*/
|
|
205
205
|
async listRuntimeMemoryShares(filter) {
|
|
206
206
|
const token = this.getToken();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Components an application's developer wrote, drawn (
|
|
2
|
+
* Components an application's developer wrote, drawn (P-17): an A2UI
|
|
3
3
|
* component of that application only, made as Datalayer's own are — its
|
|
4
4
|
* schema from its declaration (`componentSchemaOf`), its view by A2UI's own
|
|
5
5
|
* factory — so that it binds and acts as a Table does, and drawn in a
|
|
@@ -23,7 +23,7 @@ type CustomProps = Record<string, unknown> & {
|
|
|
23
23
|
export declare function givenToFrame(component: AppCustomComponentSpec, props: Record<string, unknown>): Record<string, unknown>;
|
|
24
24
|
/**
|
|
25
25
|
* Where the files of an application's folder are served, as its package's
|
|
26
|
-
* page side said (`LoopAppFiles`,
|
|
26
|
+
* page side said (`LoopAppFiles`, P-29); undefined until it says it —
|
|
27
27
|
* while its runtime starts, or for ever on a server it is not installed
|
|
28
28
|
* beside.
|
|
29
29
|
*/
|
|
@@ -36,7 +36,7 @@ export declare function CustomComponentView({ component, props, fetcher, appId,
|
|
|
36
36
|
fetcher?: typeof fetch;
|
|
37
37
|
/**
|
|
38
38
|
* Its application's id: where a module that is a file of its folder is
|
|
39
|
-
* served is said for that application (
|
|
39
|
+
* served is said for that application (P-29).
|
|
40
40
|
*/
|
|
41
41
|
appId?: string;
|
|
42
42
|
}): JSX.Element;
|
|
@@ -17,7 +17,7 @@ export function givenToFrame(component, props) {
|
|
|
17
17
|
const setterOf = (name) => `set${name.charAt(0).toUpperCase()}${name.slice(1)}`;
|
|
18
18
|
/**
|
|
19
19
|
* Where the files of an application's folder are served, as its package's
|
|
20
|
-
* page side said (`LoopAppFiles`,
|
|
20
|
+
* page side said (`LoopAppFiles`, P-29); undefined until it says it —
|
|
21
21
|
* while its runtime starts, or for ever on a server it is not installed
|
|
22
22
|
* beside.
|
|
23
23
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The frame a component its developer wrote is drawn in (
|
|
2
|
+
* The frame a component its developer wrote is drawn in (P-17), and
|
|
3
3
|
* what passes between it and the page.
|
|
4
4
|
*
|
|
5
5
|
* A hosted application lives on the origin where people are signed in, and
|
|
6
|
-
* no script an application supplies reaches that page (
|
|
6
|
+
* no script an application supplies reaches that page (D-22). A custom
|
|
7
7
|
* component's module is such a script, so it never runs in the page: it runs
|
|
8
8
|
* in an `<iframe sandbox="allow-scripts">` — no `allow-same-origin`, so the
|
|
9
9
|
* frame has an origin of its own that is no one's: no cookie, no storage, no
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The frame a component its developer wrote is drawn in (
|
|
6
|
+
* The frame a component its developer wrote is drawn in (P-17), and
|
|
7
7
|
* what passes between it and the page.
|
|
8
8
|
*
|
|
9
9
|
* A hosted application lives on the origin where people are signed in, and
|
|
10
|
-
* no script an application supplies reaches that page (
|
|
10
|
+
* no script an application supplies reaches that page (D-22). A custom
|
|
11
11
|
* component's module is such a script, so it never runs in the page: it runs
|
|
12
12
|
* in an `<iframe sandbox="allow-scripts">` — no `allow-same-origin`, so the
|
|
13
13
|
* frame has an origin of its own that is no one's: no cookie, no storage, no
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Chart (
|
|
7
|
+
* Chart (C-18): the points an application publishes, drawn as a bar, a
|
|
8
8
|
* line, an area or a scatter — one field along the bottom, one measured, a
|
|
9
9
|
* series apart for each value of a third. Drawn with ECharts, the chart
|
|
10
10
|
* library agent-runtimes already draws its usage and context charts with,
|
|
@@ -23,7 +23,7 @@ import { BlockFrame, Problem, Quiet, asWords, isRecord } from './parts';
|
|
|
23
23
|
import { ownImplementation } from './implementation';
|
|
24
24
|
/**
|
|
25
25
|
* ECharts, fetched when a chart is first drawn: the catalogue is in every
|
|
26
|
-
* surface (and in the embed,
|
|
26
|
+
* surface (and in the embed, D-08), a chart only in some.
|
|
27
27
|
*/
|
|
28
28
|
const loadECharts = () => import('echarts-for-react');
|
|
29
29
|
const chartRefused = (error) => (_jsx(Problem, { children: `The chart could not be drawn: ${error.message}` }));
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Chat (
|
|
7
|
+
* Chat (C-18): the conversation with the application, drawn by the
|
|
8
8
|
* chat's own parts — its transcript (`ChatMessageList`, the one every chat
|
|
9
9
|
* draws its turns with), its welcome and starters (`ChatEmptyState`) and its
|
|
10
10
|
* composer (`InputPromptText`) — from what the application publishes.
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* A file to download (
|
|
7
|
+
* A file to download (P-04): what an application gives to save — a
|
|
8
8
|
* report, a sheet, an export — by its name and its link, an http(s) link or
|
|
9
9
|
* the file itself as a `data:` URL. Its kind and size are said beside its
|
|
10
10
|
* name, its description under it. Pressing it saves the file under its name
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Evidence (
|
|
7
|
+
* Evidence (C-18): what an answer rests on — the sources it opened,
|
|
8
8
|
* each with its link and the passage cited from it. A source is
|
|
9
9
|
* `{title, url, passage}` (a title or a link at least); the first
|
|
10
10
|
* `max_items` show, the rest behind *more*. Opening a source opens its link
|
|
@@ -17,7 +17,7 @@ export type GivenFile = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Why a file is refused, or `null` when it is taken: its kinds are
|
|
19
19
|
* extensions (`.csv`), media types (`application/pdf`) or families
|
|
20
|
-
* (`image/*`), as the Appspec's uploads say them (
|
|
20
|
+
* (`image/*`), as the Appspec's uploads say them (P-21).
|
|
21
21
|
*/
|
|
22
22
|
export declare function refusal(file: Pick<File, 'name' | 'size'> & {
|
|
23
23
|
type?: string;
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* File upload (
|
|
7
|
+
* File upload (C-18): a file a person gives the application — chosen
|
|
8
8
|
* with *Choose a file*, or dropped on the block. One of a kind it does not
|
|
9
9
|
* accept, or larger than it takes, is refused in words and never sent. What
|
|
10
10
|
* it takes is read and written where its `files` binding points, as a list
|
|
@@ -27,7 +27,7 @@ const MAX_MB = 25;
|
|
|
27
27
|
/**
|
|
28
28
|
* Why a file is refused, or `null` when it is taken: its kinds are
|
|
29
29
|
* extensions (`.csv`), media types (`application/pdf`) or families
|
|
30
|
-
* (`image/*`), as the Appspec's uploads say them (
|
|
30
|
+
* (`image/*`), as the Appspec's uploads say them (P-21).
|
|
31
31
|
*/
|
|
32
32
|
export function refusal(file, accept, maxMb) {
|
|
33
33
|
if (!acceptsFile(accept, { name: file.name, type: file.type ?? '' })) {
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Form (
|
|
7
|
+
* Form (C-18, C-16): several fields asked at once, generated from the
|
|
8
8
|
* JSON Schema the builder gave it by `@datalayer/primer-rjsf` — the form the
|
|
9
9
|
* properties panels are drawn with — checked as they are filled. It starts
|
|
10
10
|
* from the values its `values` binding shows; a form the schema accepts is
|
|
@@ -17,7 +17,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
* written where `values` points as they are filled, for the next run to take;
|
|
18
18
|
* the runtime checks them against the same schema.
|
|
19
19
|
*
|
|
20
|
-
* Its `ui` says how its fields are drawn (
|
|
20
|
+
* Its `ui` says how its fields are drawn (P-20): a uiSchema by field
|
|
21
21
|
* name, `ui:widget` one of primer-rjsf's widgets or of `switch` and `tags`
|
|
22
22
|
* (`formWidgets`) — the nine inputs a setting is drawn with.
|
|
23
23
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The form a Form block draws, with what checks it: `@datalayer/primer-rjsf`
|
|
3
3
|
* and Ajv. Its own module, fetched when a form is first drawn (`Form.tsx`):
|
|
4
|
-
* the catalogue is in every surface, and in the embed (
|
|
4
|
+
* the catalogue is in every surface, and in the embed (D-08), a form
|
|
5
5
|
* only in some — and Ajv with rjsf weigh more than the rest of the catalogue.
|
|
6
6
|
*
|
|
7
7
|
* @module components/a2ui/datalayer/SchemaForm
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Table (
|
|
7
|
+
* Table (C-18): the rows an application publishes, under the columns
|
|
8
8
|
* the builder chose, a page at a time. A selectable table lets a person
|
|
9
9
|
* choose a row — by pointer, or by Tab and Enter or Space — which is written
|
|
10
10
|
* where its `selected` binding points, and then its action is dispatched,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The components of Datalayer's own a renderer draws (
|
|
2
|
+
* The components of Datalayer's own a renderer draws (C-18), without
|
|
3
3
|
* the renderers: what a host that does not draw — the Studio's tests, a
|
|
4
4
|
* checker — reads to know that a component of the catalog is drawn. The
|
|
5
5
|
* renderers' module refuses to load when it and the catalog disagree.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The components of Datalayer's own a renderer draws (
|
|
6
|
+
* The components of Datalayer's own a renderer draws (C-18), without
|
|
7
7
|
* the renderers: what a host that does not draw — the Studio's tests, a
|
|
8
8
|
* checker — reads to know that a component of the catalog is drawn. The
|
|
9
9
|
* renderers' module refuses to load when it and the catalog disagree.
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* The two inputs of the nine (
|
|
7
|
+
* The two inputs of the nine (P-20) that `@datalayer/primer-rjsf` does
|
|
8
8
|
* not draw itself, as rjsf widgets a form's uiSchema names (`ui:widget`):
|
|
9
9
|
*
|
|
10
10
|
* - `switch` — a `boolean` as Primer's toggle switch;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Datalayer's own components, drawn (
|
|
2
|
+
* Datalayer's own components, drawn (C-18): a renderer for each the
|
|
3
3
|
* catalog has beside A2UI's basic ones — Table, Chart, File upload, Chat,
|
|
4
4
|
* Evidence, Form and File to download — made as A2UI makes its own, so that the decision
|
|
5
5
|
* surface, an application's page, the Surface view and the components page
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The A2UI schema of a component of Datalayer's own, read from the catalog
|
|
3
|
-
* (
|
|
3
|
+
* (C-13, C-18): each property its JSON Schema declares, typed as it
|
|
4
4
|
* says; each thing it shows or sends a binding into the data model — a path
|
|
5
5
|
* the application publishes, or a value given in place; its `action`, what
|
|
6
6
|
* it dispatches when a person acts on it, written as A2UI writes a Button's.
|
|
@@ -35,7 +35,7 @@ export declare function ownComponentSchema(id: string): z.ZodObject<Record<strin
|
|
|
35
35
|
/**
|
|
36
36
|
* The A2UI schema of a component of Datalayer's own kind, from its entry in
|
|
37
37
|
* the catalog — one of Datalayer's own, or one an application's developer
|
|
38
|
-
* wrote (
|
|
38
|
+
* wrote (P-17), listed as the catalog lists a component.
|
|
39
39
|
*/
|
|
40
40
|
export declare function componentSchemaOf(component: ComponentSpec): z.ZodObject<Record<string, z.ZodTypeAny>, "strict", z.ZodTypeAny, {
|
|
41
41
|
[x: string]: any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* The A2UI schema of a component of Datalayer's own, read from the catalog
|
|
7
|
-
* (
|
|
7
|
+
* (C-13, C-18): each property its JSON Schema declares, typed as it
|
|
8
8
|
* says; each thing it shows or sends a binding into the data model — a path
|
|
9
9
|
* the application publishes, or a value given in place; its `action`, what
|
|
10
10
|
* it dispatches when a person acts on it, written as A2UI writes a Button's.
|
|
@@ -88,7 +88,7 @@ export function ownComponentSchema(id) {
|
|
|
88
88
|
/**
|
|
89
89
|
* The A2UI schema of a component of Datalayer's own kind, from its entry in
|
|
90
90
|
* the catalog — one of Datalayer's own, or one an application's developer
|
|
91
|
-
* wrote (
|
|
91
|
+
* wrote (P-17), listed as the catalog lists a component.
|
|
92
92
|
*/
|
|
93
93
|
export function componentSchemaOf(component) {
|
|
94
94
|
const id = component.id;
|
|
@@ -37,7 +37,7 @@ export const A2UI_RENDER_SCOPE_SX = {
|
|
|
37
37
|
color: 'var(--a2ui-text-caption-color, var(--a2ui-color-on-surface, #656d76))',
|
|
38
38
|
},
|
|
39
39
|
/*
|
|
40
|
-
* A button is the theme's filled button (
|
|
40
|
+
* A button is the theme's filled button (P-04, T-30): its fill and
|
|
41
41
|
* its label are Primer's primary-button properties, which every theme and
|
|
42
42
|
* an application's accent set together (`themeAccentVars`), so the label
|
|
43
43
|
* is always the accent's own text on it. The label is a Text inside the
|
|
@@ -19,19 +19,19 @@ export declare function withVisibleWhen(component: ReactComponentImplementation)
|
|
|
19
19
|
export declare const datalayerCatalog: Catalog<ReactComponentImplementation, import("@a2ui/web_core/v0_9").FunctionImplementation>;
|
|
20
20
|
/**
|
|
21
21
|
* Datalayer's catalog narrowed to the components named — what the enabled
|
|
22
|
-
* plugins contribute as blocks (
|
|
22
|
+
* plugins contribute as blocks (R-01b, `loop.canvas.block`), so that an
|
|
23
23
|
* application's page draws what its Canvas can place and nothing else. Under
|
|
24
24
|
* the same id; a name the catalog does not draw is an error.
|
|
25
25
|
*
|
|
26
26
|
* `own` are the renderers of the components the application's developer
|
|
27
|
-
* wrote (
|
|
27
|
+
* wrote (P-17, `customImplementations`): drawn for that application's
|
|
28
28
|
* page alone, each behind `visible_when` as the catalog's are. One that
|
|
29
29
|
* takes the name of a component of the catalog is an error.
|
|
30
30
|
*/
|
|
31
31
|
export declare function catalogOfBlocks(names: readonly string[], own?: readonly ReactComponentImplementation[]): Catalog<ReactComponentImplementation>;
|
|
32
32
|
/**
|
|
33
33
|
* Datalayer's whole catalog with the components an application's developer
|
|
34
|
-
* wrote (
|
|
34
|
+
* wrote (P-17): what its answers and the elements its code shows are
|
|
35
35
|
* drawn with (P-04, P-18). Datalayer's catalog itself when it wrote none.
|
|
36
36
|
*/
|
|
37
37
|
export declare function catalogWithOwn(own: readonly ReactComponentImplementation[]): Catalog<ReactComponentImplementation>;
|
|
@@ -57,12 +57,12 @@ export function withVisibleWhen(component) {
|
|
|
57
57
|
export const datalayerCatalog = new Catalog(basicCatalog.id, basicCatalog.protocolVersion, [...basicCatalog.components.values(), ...OWN_COMPONENTS].map(withVisibleWhen), [...basicCatalog.functions.values()], basicCatalog.themeSchema, basicCatalog.instructions);
|
|
58
58
|
/**
|
|
59
59
|
* Datalayer's catalog narrowed to the components named — what the enabled
|
|
60
|
-
* plugins contribute as blocks (
|
|
60
|
+
* plugins contribute as blocks (R-01b, `loop.canvas.block`), so that an
|
|
61
61
|
* application's page draws what its Canvas can place and nothing else. Under
|
|
62
62
|
* the same id; a name the catalog does not draw is an error.
|
|
63
63
|
*
|
|
64
64
|
* `own` are the renderers of the components the application's developer
|
|
65
|
-
* wrote (
|
|
65
|
+
* wrote (P-17, `customImplementations`): drawn for that application's
|
|
66
66
|
* page alone, each behind `visible_when` as the catalog's are. One that
|
|
67
67
|
* takes the name of a component of the catalog is an error.
|
|
68
68
|
*/
|
|
@@ -80,7 +80,7 @@ export function catalogOfBlocks(names, own = []) {
|
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* Datalayer's whole catalog with the components an application's developer
|
|
83
|
-
* wrote (
|
|
83
|
+
* wrote (P-17): what its answers and the elements its code shows are
|
|
84
84
|
* drawn with (P-04, P-18). Datalayer's catalog itself when it wrote none.
|
|
85
85
|
*/
|
|
86
86
|
export function catalogWithOwn(own) {
|
|
@@ -35,7 +35,7 @@ export type ICodeSandboxEnvironmentOption = {
|
|
|
35
35
|
group?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The version this choice launches, written as it reads — `v3`. Only an
|
|
38
|
-
* environment somebody built has one (
|
|
38
|
+
* environment somebody built has one (E1-19).
|
|
39
39
|
*/
|
|
40
40
|
version?: string;
|
|
41
41
|
/** The size class it runs on, which is what prices it (D-4). */
|
|
@@ -293,7 +293,7 @@ export function CodeSandboxLauncher(props) {
|
|
|
293
293
|
* A user environment's entry says "v3", and sending that pins it: a
|
|
294
294
|
* promotion made while this dialog was open cannot change what the
|
|
295
295
|
* person accepted. A platform environment has no version, and the
|
|
296
|
-
* request is then the one it has always been (
|
|
296
|
+
* request is then the one it has always been (E1-19).
|
|
297
297
|
*/
|
|
298
298
|
const environmentVersion = spec
|
|
299
299
|
? codeSandboxEnvironmentVersion(spec)
|
|
@@ -15,7 +15,7 @@ export type IDatalayerCodeSandboxDesc = IRuntimeDesc & {
|
|
|
15
15
|
* for this variant — is decided by the rules in `codeSandboxEnvironments`,
|
|
16
16
|
* and they read the entry. Copying a field at a time here is how the
|
|
17
17
|
* launcher and the picker came to disagree about the same environment
|
|
18
|
-
* (
|
|
18
|
+
* (E1-19). Absent on a sandbox that already runs and on a
|
|
19
19
|
* kernelspec of a server or of the browser.
|
|
20
20
|
*/
|
|
21
21
|
environment?: IDatalayerEnvironment;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* What the environment dropdown says about an environment, as rules.
|
|
3
3
|
*
|
|
4
4
|
* The listing now holds two kinds of thing: the platform's environments, which
|
|
5
|
-
* have always been there, and the environments people build (
|
|
6
|
-
*
|
|
5
|
+
* have always been there, and the environments people build (E1-01).
|
|
6
|
+
* They are told apart, grouped, priced and — where a variant was never
|
|
7
7
|
* built — refused here rather than in the components, so the launcher and the
|
|
8
8
|
* picker cannot come to different conclusions about the same entry, and so the
|
|
9
9
|
* rules can be read and tested without a DOM.
|
|
@@ -45,7 +45,7 @@ export type A2ASpansOptions = {
|
|
|
45
45
|
* Who presses the buttons of what the peer shows: a request carrying a
|
|
46
46
|
* pressed button's action (`loop.action` in its message's metadata) is
|
|
47
47
|
* theirs, not the asker's — the person (`You`) on a page that draws the
|
|
48
|
-
* surfaces (
|
|
48
|
+
* surfaces (H-02). Unsaid, every request is the asker's.
|
|
49
49
|
*/
|
|
50
50
|
pressedBy?: string;
|
|
51
51
|
};
|
|
@@ -207,7 +207,7 @@ class ResponseRecorder {
|
|
|
207
207
|
// An `append` chunk adds to what came; one that is not says the artifact
|
|
208
208
|
// whole — the runtime's last chunk carries the whole answer again. Added
|
|
209
209
|
// to it, an answer said in one chunk (a visitor's refusal) was written
|
|
210
|
-
// twice in the transcript (
|
|
210
|
+
// twice in the transcript (H-03, 2026-10-10).
|
|
211
211
|
chunk.text = update.append ? chunk.text + text : text;
|
|
212
212
|
chunk.events.push(message);
|
|
213
213
|
if (update.append && !update.lastChunk) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* A team over A2A, as a graph (React Flow): each member is its character
|
|
3
3
|
* (`AssistantStage`), with its name and where it runs under it, and an edge
|
|
4
4
|
* links the entry to each peer it asks — one peer (`peer`, a team of two)
|
|
5
|
-
* or several (`peers`, a team of N;
|
|
5
|
+
* or several (`peers`, a team of N; A-08). The edges are the team's
|
|
6
6
|
* `talks_to` (`links`): a peer that talks to another peer has its edge
|
|
7
7
|
* drawn too, still, since the page runs the entry's asks only.
|
|
8
8
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* The members stand where the layout puts them: the entry on the left and
|
|
17
17
|
* the peers to its right, one under another — or where a scene's stage
|
|
18
|
-
* directions say (`positions`, fractions of the box;
|
|
18
|
+
* directions say (`positions`, fractions of the box; A-13): the
|
|
19
19
|
* distinct `x` values are the columns, left to right, the distinct `y`
|
|
20
20
|
* values the rows, top to bottom.
|
|
21
21
|
*
|
|
@@ -62,7 +62,7 @@ export type A2ATeamGraphMember = {
|
|
|
62
62
|
/** The MCP servers it reaches, drawn to its right (`teamConnectionsOf`). */
|
|
63
63
|
connections?: A2ATeamConnection[];
|
|
64
64
|
/**
|
|
65
|
-
* How its balloon shows what it says (
|
|
65
|
+
* How its balloon shows what it says (T-23): only what it says or
|
|
66
66
|
* does now (`current`, a team's default) — the words, the tool it calls,
|
|
67
67
|
* a notebook it was given — or a peek (`history`).
|
|
68
68
|
*/
|
|
@@ -394,9 +394,7 @@ function connectionsY(memberY, size, count, connectionHeight) {
|
|
|
394
394
|
/** How far down a member's connections reach, from its top; none, 0. */
|
|
395
395
|
function connectionsReach(size, count, connectionHeight) {
|
|
396
396
|
return count
|
|
397
|
-
? size / 4 +
|
|
398
|
-
count * connectionHeight +
|
|
399
|
-
(count - 1) * CONNECTIONS_APART
|
|
397
|
+
? size / 4 + count * connectionHeight + (count - 1) * CONNECTIONS_APART
|
|
400
398
|
: 0;
|
|
401
399
|
}
|
|
402
400
|
/** What a member's call says, on its edge and to a screen reader. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* What the members of a team showed with their answers: components of the
|
|
3
|
-
* catalog, drawn under the conversation (
|
|
3
|
+
* catalog, drawn under the conversation (H-02).
|
|
4
4
|
*
|
|
5
5
|
* A member that gives `application/json+a2ui` shows an A2UI surface beside
|
|
6
6
|
* its words — the sources as cards that open (`Evidence`), a comparison as a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A notebook, read-only and small: what a member of the team gave, shown in
|
|
3
|
-
* its balloon (
|
|
3
|
+
* its balloon (T-23, H-29). It is jupyter-react's notebook in read-only
|
|
4
4
|
* mode (`NotebookPreviewView`): its cells and the outputs it carries, nothing
|
|
5
5
|
* editable, on a service manager with no kernel (`ServiceManagerLess`) —
|
|
6
6
|
* nothing runs, and no Pyodide is loaded. The view is imported only when a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The transcript of a scene, drawn (
|
|
2
|
+
* The transcript of a scene, drawn (A-06): the lines
|
|
3
3
|
* {@link transcriptOfSpans} or {@link transcriptOfRecord} built, each with
|
|
4
4
|
* its time, who speaks or acts and to whom, and the words or the tool —
|
|
5
5
|
* and *Copy as text*, which copies them with their times
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A scene on a page: its graph (`A2ATeamGraph`) and its transcript
|
|
3
3
|
* ({@link SceneTranscript}), one shown at a time behind a *Graph · Transcript*
|
|
4
|
-
* toggle (
|
|
4
|
+
* toggle (A-06). The graph stays mounted while the transcript shows, so
|
|
5
5
|
* that what its members were doing is still there when it comes back.
|
|
6
6
|
*
|
|
7
7
|
* The lines come from the Agent Inspector's tracer the graph's members
|
|
@@ -80,7 +80,7 @@ export declare function connectionOfTool(tool: string, connections: A2ATeamConne
|
|
|
80
80
|
export declare function toolWords(tool: string, connection?: A2ATeamConnection): string;
|
|
81
81
|
/**
|
|
82
82
|
* A tool's own name, without its connection's prefix: `list_invoices` for
|
|
83
|
-
* `odoo_accounting_list_invoices` — as a balloon says it (
|
|
83
|
+
* `odoo_accounting_list_invoices` — as a balloon says it (T-23).
|
|
84
84
|
*/
|
|
85
85
|
export declare function toolOwnName(tool: string, connections: A2ATeamConnection[]): string;
|
|
86
86
|
/**
|
|
@@ -54,7 +54,7 @@ export function toolWords(tool, connection) {
|
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* A tool's own name, without its connection's prefix: `list_invoices` for
|
|
57
|
-
* `odoo_accounting_list_invoices` — as a balloon says it (
|
|
57
|
+
* `odoo_accounting_list_invoices` — as a balloon says it (T-23).
|
|
58
58
|
*/
|
|
59
59
|
export function toolOwnName(tool, connections) {
|
|
60
60
|
const prefix = connectionOfTool(tool, connections)?.prefix;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A scene as a page stages it (
|
|
2
|
+
* A scene as a page stages it (A-13, A-15), read from the scene spec
|
|
3
3
|
* and its team: who is on stage and where each one stands, who asks whom
|
|
4
4
|
* over A2A, what the entry suggests, and where the members on a runtime are
|
|
5
5
|
* reached when the scene plays against local servers.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The transcript of a scene (
|
|
2
|
+
* The transcript of a scene (A-06): what happens in it, as lines, in
|
|
3
3
|
* the order it happened — *Sales: …*, *Sales → Accounting: …*,
|
|
4
4
|
* *Accounting → Odoo: odoo_accounting_aged_balance* — each with its time.
|
|
5
5
|
*
|
|
@@ -17,7 +17,7 @@ export type A2ATeamPersona = {
|
|
|
17
17
|
insist: boolean;
|
|
18
18
|
away: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* The tool it calls now, or just called (
|
|
20
|
+
* The tool it calls now, or just called (T-23): "Using
|
|
21
21
|
* list_invoices…", "Asking Accounting…"; said in place of its words.
|
|
22
22
|
*/
|
|
23
23
|
tool?: BalloonToolLine;
|
|
@@ -28,7 +28,7 @@ export declare const AT_REST: A2ATeamPersona;
|
|
|
28
28
|
/**
|
|
29
29
|
* One turn of the conversation with the entry. A button pressed on what
|
|
30
30
|
* another member showed is a turn of it too: the person's line addressed to
|
|
31
|
-
* that member, and its answer from it (`member`,
|
|
31
|
+
* that member, and its answer from it (`member`, H-02).
|
|
32
32
|
*/
|
|
33
33
|
export type A2ATeamTurn = {
|
|
34
34
|
role: 'user' | 'assistant';
|
|
@@ -54,7 +54,7 @@ export type A2ATeamPress = {
|
|
|
54
54
|
export declare const NOTEBOOK_AND_WORDS: readonly string[];
|
|
55
55
|
/**
|
|
56
56
|
* What a page that draws an answer's components accepts besides: the
|
|
57
|
-
* catalog's surfaces, a notebook, and words in Markdown (
|
|
57
|
+
* catalog's surfaces, a notebook, and words in Markdown (H-02).
|
|
58
58
|
*/
|
|
59
59
|
export declare const COMPONENTS_NOTEBOOK_AND_WORDS: readonly string[];
|
|
60
60
|
/** A surface of components a member showed with an answer: who gave it, and the surface. */
|
|
@@ -205,7 +205,7 @@ export type A2ATeam = {
|
|
|
205
205
|
notebook: A2APeerArtifact | null;
|
|
206
206
|
/**
|
|
207
207
|
* Every surface of components the members showed in this conversation,
|
|
208
|
-
* in the order they came, with who showed it (
|
|
208
|
+
* in the order they came, with who showed it (H-02).
|
|
209
209
|
*/
|
|
210
210
|
surfaces: A2ATeamSurface[];
|
|
211
211
|
/** Which way the first peer's link carries a message now. */
|
|
@@ -219,7 +219,7 @@ export type A2ATeam = {
|
|
|
219
219
|
send: (text: string) => Promise<void>;
|
|
220
220
|
/**
|
|
221
221
|
* A button pressed on what a member showed (its id: the entry's, or a
|
|
222
|
-
* peer's), as a turn of the conversation (
|
|
222
|
+
* peer's), as a turn of the conversation (H-02): the person's line
|
|
223
223
|
* in the entry's history, the member asked directly over A2A with the
|
|
224
224
|
* button's action beside its words (`askA2APeer({ action })`), and its
|
|
225
225
|
* reply landing as an `ask_<peer>` answer does — in its history, its
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* visitor's trial key. Its tools ask its peers (Accounting; Disaster
|
|
14
14
|
* assessment and Change detection), one `ask_<peer>` tool per peer, with
|
|
15
15
|
* {@link a2aPeerTool}. A team of two names its peer as `peerApp`; a team of
|
|
16
|
-
* N names them as `peers` (
|
|
16
|
+
* N names them as `peers` (A-08). An entry that runs on a runtime
|
|
17
17
|
* itself (a scene of one member: Month-end Close, Crop Monitoring) is asked
|
|
18
18
|
* over A2A from the page, with no agent in the browser: `entryPeer`.
|
|
19
19
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* the latest notebook kept until another one comes ({@link A2ATeam.notebook}),
|
|
26
26
|
* and each surface of components of the catalog a peer shows
|
|
27
27
|
* (`application/json+a2ui`) kept with the peer that gave it, in the order
|
|
28
|
-
* they came ({@link A2ATeam.surfaces},
|
|
28
|
+
* they came ({@link A2ATeam.surfaces}, H-02). A button pressed on
|
|
29
29
|
* one is a turn of the conversation ({@link A2ATeam.pressAction}): the
|
|
30
30
|
* person's line to that member, its answer from it, in the entry's history.
|
|
31
31
|
* The tools a peer calls on its connections (its MCP servers), told over
|
|
@@ -63,7 +63,7 @@ export const NOTEBOOK_AND_WORDS = [
|
|
|
63
63
|
];
|
|
64
64
|
/**
|
|
65
65
|
* What a page that draws an answer's components accepts besides: the
|
|
66
|
-
* catalog's surfaces, a notebook, and words in Markdown (
|
|
66
|
+
* catalog's surfaces, a notebook, and words in Markdown (H-02).
|
|
67
67
|
*/
|
|
68
68
|
export const COMPONENTS_NOTEBOOK_AND_WORDS = [
|
|
69
69
|
A2UI_MEDIA_TYPE,
|
|
@@ -29,7 +29,7 @@ export interface LibraryAgentspec {
|
|
|
29
29
|
welcomeDocument?: string | null;
|
|
30
30
|
sandboxVariant?: string | null;
|
|
31
31
|
protocol?: string | null;
|
|
32
|
-
/** Its UI plugins, each with the renderer it is exposed through (
|
|
32
|
+
/** Its UI plugins, each with the renderer it is exposed through (R8). */
|
|
33
33
|
ui?: Array<{
|
|
34
34
|
plugin: string;
|
|
35
35
|
renderer?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The floating assistant (
|
|
2
|
+
* The floating assistant (T-21 to T-27): the chat as a character on the
|
|
3
3
|
* page, after the Office Assistant — Datalayer's own characters, chosen
|
|
4
4
|
* here, acting out what the agent does and speaking in a balloon.
|
|
5
5
|
*
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* The floating assistant (
|
|
7
|
+
* The floating assistant (T-21 to T-27): the chat as a character on the
|
|
8
8
|
* page, after the Office Assistant — Datalayer's own characters, chosen
|
|
9
9
|
* here, acting out what the agent does and speaking in a balloon.
|
|
10
10
|
*
|