@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
|
@@ -75,7 +75,7 @@ export interface AgentCapability {
|
|
|
75
75
|
tags?: string[];
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* A visual component a UI plugin renders (
|
|
78
|
+
* A visual component a UI plugin renders (C-13), named as a surface names
|
|
79
79
|
* it. A standard one's properties are its protocol's own; Datalayer's own
|
|
80
80
|
* carry theirs as a JSON Schema, from which its properties form is drawn (C-14).
|
|
81
81
|
*/
|
|
@@ -106,7 +106,7 @@ export interface ComponentSpec {
|
|
|
106
106
|
example?: Record<string, unknown>;
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* A UI plugin (`agentspecs/ui`,
|
|
109
|
+
* A UI plugin (`agentspecs/ui`, R8): one Reactor plugin of this
|
|
110
110
|
* package a Maker composes an interface with, read from its registration, and
|
|
111
111
|
* the UI renderers it may be exposed through. An agent's or an application's
|
|
112
112
|
* `ui` names plugins, each with its renderer.
|
|
@@ -146,11 +146,11 @@ export interface UISpec {
|
|
|
146
146
|
renderers: string[];
|
|
147
147
|
/** The catalog its components are written in. */
|
|
148
148
|
catalog: string;
|
|
149
|
-
/** The visual components it renders (
|
|
149
|
+
/** The visual components it renders (C-13). */
|
|
150
150
|
components: ComponentSpec[];
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
|
-
* A UI renderer (`agentspecs/ui-renderers`,
|
|
153
|
+
* A UI renderer (`agentspecs/ui-renderers`, R8): how a UI plugin's
|
|
154
154
|
* interface reaches a host that is not Datalayer's own page.
|
|
155
155
|
*/
|
|
156
156
|
export interface UiRendererSpec {
|
|
@@ -171,10 +171,10 @@ export interface UiChoice {
|
|
|
171
171
|
/** The UI renderer of `agentspecs/ui-renderers` it is exposed through, by id. */
|
|
172
172
|
renderer?: string;
|
|
173
173
|
}
|
|
174
|
-
/** The layer of an agent's visit a protocol answers
|
|
174
|
+
/** The layer of an agent's visit a protocol answers. */
|
|
175
175
|
export type ProtocolLayer = 'transport' | 'consent' | 'identity' | 'commerce' | 'ui';
|
|
176
176
|
/**
|
|
177
|
-
* An agent protocol Datalayer targets (`agentspecs/protocols`,
|
|
177
|
+
* An agent protocol Datalayer targets (`agentspecs/protocols`,
|
|
178
178
|
* PS-01). An agent spec's or an application's `protocols` names the ones it speaks.
|
|
179
179
|
*/
|
|
180
180
|
export interface ProtocolSpec {
|
|
@@ -204,7 +204,7 @@ export interface ProtocolSpec {
|
|
|
204
204
|
/** The Appspec block it configures, if any: refused unless `protocols` lists it. */
|
|
205
205
|
appspecBlock?: 'pap' | 'pact' | 'a2a' | 'signed_fetch';
|
|
206
206
|
}
|
|
207
|
-
/** How a harness is launched and driven over ACP
|
|
207
|
+
/** How a harness is launched and driven over ACP. */
|
|
208
208
|
export interface HarnessAcpSpec {
|
|
209
209
|
/** The executable, as the runtime image has it. */
|
|
210
210
|
command: string;
|
|
@@ -222,13 +222,13 @@ export interface HarnessAcpSpec {
|
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
224
|
* An agent program driven over the Agent Client Protocol
|
|
225
|
-
* (`agentspecs/harnesses`,
|
|
225
|
+
* (`agentspecs/harnesses`, SH-01). An agent spec's `harness:` names
|
|
226
226
|
* one beside `pydantic-ai` and `vercel-ai`; the Datalayer runtime serves it
|
|
227
|
-
* through its ACP adapter, `ACPAgent` (
|
|
227
|
+
* through its ACP adapter, `ACPAgent` (SH-10), never the browser.
|
|
228
228
|
*/
|
|
229
229
|
/**
|
|
230
|
-
* A Shield policy document the platform ships or shows (`agentspecs/policies`,
|
|
231
|
-
*
|
|
230
|
+
* A Shield policy document the platform ships or shows (`agentspecs/policies`, SH-50):
|
|
231
|
+
* the catalogue's fields around a document of
|
|
232
232
|
* `@datalayer/agent-shield`'s `Policy`, whose schema agentspecs carries verbatim.
|
|
233
233
|
*/
|
|
234
234
|
export interface PolicySpec {
|
|
@@ -267,7 +267,7 @@ export interface PolicySpec {
|
|
|
267
267
|
admit?: string[];
|
|
268
268
|
credentials?: 'account' | 'platform' | 'either';
|
|
269
269
|
};
|
|
270
|
-
/** The classes that need an authorizer's allow beside the Rules
|
|
270
|
+
/** The classes that need an authorizer's allow beside the Rules. */
|
|
271
271
|
authorize?: Array<'read' | 'write' | 'send' | 'buy' | 'delete' | 'execute'>;
|
|
272
272
|
/** The standalone Shield's decision point: exactly one of these. */
|
|
273
273
|
authorizer?: {
|
|
@@ -332,8 +332,8 @@ export interface StandardControl {
|
|
|
332
332
|
coverage_note?: string;
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
|
-
* A standard a conformance report answers (`agentspecs/standards`,
|
|
336
|
-
*
|
|
335
|
+
* A standard a conformance report answers (`agentspecs/standards`, SH-60):
|
|
336
|
+
* its version, domains and controls, carried whole.
|
|
337
337
|
*/
|
|
338
338
|
export interface StandardSpec {
|
|
339
339
|
id: string;
|
|
@@ -347,7 +347,7 @@ export interface StandardSpec {
|
|
|
347
347
|
url: string;
|
|
348
348
|
releasedOn: string;
|
|
349
349
|
nextReleaseOn: string | null;
|
|
350
|
-
/** The day the spec was read from the published pages
|
|
350
|
+
/** The day the spec was read from the published pages. */
|
|
351
351
|
readOn: string;
|
|
352
352
|
certificateValidMonths: number;
|
|
353
353
|
mapsTo: string | null;
|
|
@@ -361,7 +361,7 @@ export interface StandardSpec {
|
|
|
361
361
|
controls: StandardControl[];
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
|
-
* A harness of the register's *listed* tier (
|
|
364
|
+
* A harness of the register's *listed* tier (SH-57): known to speak ACP,
|
|
365
365
|
* its documented command, licence, terms and credential read and cited; not
|
|
366
366
|
* drilled, so offered by nothing — naming one is refused *listed, not drilled yet*.
|
|
367
367
|
*/
|
|
@@ -398,13 +398,13 @@ export interface HarnessSpec {
|
|
|
398
398
|
secrets: string[];
|
|
399
399
|
binaries: string[];
|
|
400
400
|
};
|
|
401
|
-
/** The terms it is served under, as the register says them
|
|
401
|
+
/** The terms it is served under, as the register says them. */
|
|
402
402
|
terms: {
|
|
403
403
|
servedToThirdParties: 'api_key_only' | 'permitted' | 'refused' | 'organizations_own';
|
|
404
404
|
licence: string;
|
|
405
405
|
tierRestrictions?: string;
|
|
406
406
|
};
|
|
407
|
-
/** Where the Shield writes an application's skills for it
|
|
407
|
+
/** Where the Shield writes an application's skills for it. */
|
|
408
408
|
skills: {
|
|
409
409
|
format: 'skill-md' | 'none';
|
|
410
410
|
dir: string;
|
|
@@ -674,7 +674,7 @@ export interface ServerActionsSpec {
|
|
|
674
674
|
tools: Record<string, ActionClass[]>;
|
|
675
675
|
/** What an argument makes a tool do besides, by tool. */
|
|
676
676
|
conditions: Record<string, ActionConditionSpec[]>;
|
|
677
|
-
/** The argument carrying what a tool sends, signed with the application's byline (
|
|
677
|
+
/** The argument carrying what a tool sends, signed with the application's byline (I-10), by tool. */
|
|
678
678
|
signs?: Record<string, string>;
|
|
679
679
|
}
|
|
680
680
|
/** What kind of application it is: what its user meets. */
|
|
@@ -690,12 +690,12 @@ export type AppBehaviour = 'do_it' | 'if_asked' | 'ask_first' | 'leave_to_me';
|
|
|
690
690
|
export type AppLayout = 'chat' | 'page' | 'split';
|
|
691
691
|
/** The one colour of an application; everything else is neutral. */
|
|
692
692
|
export type AppAccent = 'green' | 'rose' | 'sky' | 'lime' | 'sun' | 'violet';
|
|
693
|
-
/** A theme of Appearance's, which an application may run in (
|
|
693
|
+
/** A theme of Appearance's, which an application may run in (T-30). */
|
|
694
694
|
export type AppThemeVariant = 'datalayer' | 'spatial' | 'lovely' | 'matrix' | 'earth' | 'sand' | 'ivory' | 'sun' | 'loop';
|
|
695
695
|
/** The colour mode it is worn in: `auto` follows the device. */
|
|
696
696
|
export type AppThemeMode = 'light' | 'dark' | 'auto';
|
|
697
697
|
/**
|
|
698
|
-
* The theme an application runs in by default (
|
|
698
|
+
* The theme an application runs in by default (T-30): at its address,
|
|
699
699
|
* embedded, in the Studio's Preview and as an example. The person's own
|
|
700
700
|
* when unsaid; the mode, when unsaid, is the person's.
|
|
701
701
|
*/
|
|
@@ -704,16 +704,16 @@ export interface AppThemeSpec {
|
|
|
704
704
|
mode?: AppThemeMode;
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
707
|
-
* The character an application's floating assistant shows (
|
|
707
|
+
* The character an application's floating assistant shows (T-24): the id
|
|
708
708
|
* an enabled plugin contributes it under to `loop.assistant.character` —
|
|
709
709
|
* Datalayer's are `paperclip`, `wizard`, `cat` and `eyes`. The spec checks
|
|
710
710
|
* its shape (`APP_ASSISTANT_CHARACTER_ID`); whether a plugin gives it is
|
|
711
711
|
* known only where the plugins are.
|
|
712
712
|
*/
|
|
713
713
|
export type AppAssistantCharacter = string;
|
|
714
|
-
/** How a floating assistant's balloon shows the conversation (
|
|
714
|
+
/** How a floating assistant's balloon shows the conversation (T-23). */
|
|
715
715
|
export type AppBalloonDisplay = 'history' | 'current';
|
|
716
|
-
/** How an application sits in another product's page (
|
|
716
|
+
/** How an application sits in another product's page (D-07). */
|
|
717
717
|
export type AppEmbedMode = 'inline' | 'bubble' | 'panel' | 'assistant';
|
|
718
718
|
/** Something an application reaches. */
|
|
719
719
|
export interface AppConnectionSpec {
|
|
@@ -731,7 +731,7 @@ export type PapInterface = 'agent' | 'openapi' | 'mcp' | 'web';
|
|
|
731
731
|
export type PapSignIn = 'direct' | 'device' | 'mediated';
|
|
732
732
|
/**
|
|
733
733
|
* A company the application works with as a personal agent
|
|
734
|
-
* (
|
|
734
|
+
* (S-01): named by its domain, nothing else; what discovery
|
|
735
735
|
* verifies is the deployment's, never the spec's.
|
|
736
736
|
*/
|
|
737
737
|
export interface AppPapConnectionSpec {
|
|
@@ -749,7 +749,7 @@ export interface AppPapConnectionSpec {
|
|
|
749
749
|
signIn: PapSignIn[];
|
|
750
750
|
extensions: string[];
|
|
751
751
|
}
|
|
752
|
-
/** The application as a company personal agents work with (
|
|
752
|
+
/** The application as a company personal agents work with (U-04). */
|
|
753
753
|
export interface AppPapCompanySpec {
|
|
754
754
|
/** Whether it publishes itself as a company at Ship. */
|
|
755
755
|
enabled: boolean;
|
|
@@ -763,13 +763,13 @@ export interface AppPapCompanySpec {
|
|
|
763
763
|
/** The personal agents it accepts when `registered` only, by `client_id` URL. */
|
|
764
764
|
registeredAgents: string[];
|
|
765
765
|
/**
|
|
766
|
-
* What it does for the person once they confirm (
|
|
766
|
+
* What it does for the person once they confirm (B-04, the
|
|
767
767
|
* `operations` extension): each action and each tool once.
|
|
768
768
|
*/
|
|
769
769
|
operations: AppPapOperationSpec[];
|
|
770
770
|
}
|
|
771
771
|
/**
|
|
772
|
-
* One bound of a standing permission (
|
|
772
|
+
* One bound of a standing permission (R-07): a term of the other
|
|
773
773
|
* company's operations, by its dotted path, bounded by a term of this one —
|
|
774
774
|
* its maximum, or the one value allowed (one of the two).
|
|
775
775
|
*/
|
|
@@ -779,7 +779,7 @@ export interface AppPapStandingLimitSpec {
|
|
|
779
779
|
allowed?: string;
|
|
780
780
|
}
|
|
781
781
|
/**
|
|
782
|
-
* What an operation gives instead of calling a tool (
|
|
782
|
+
* What an operation gives instead of calling a tool (R-07, the
|
|
783
783
|
* Ledgerly pattern): once the person confirms it, the application may confirm,
|
|
784
784
|
* at one of its own company connections and in their account there, what stays
|
|
785
785
|
* within these bounds — recorded as the approval in advance they would give in
|
|
@@ -799,7 +799,7 @@ export interface AppPapStandingSpec {
|
|
|
799
799
|
}
|
|
800
800
|
/**
|
|
801
801
|
* Something a personal agent may ask the application to do for the person,
|
|
802
|
-
* done only once they confirm its exact terms (
|
|
802
|
+
* done only once they confirm its exact terms (B-04): the call
|
|
803
803
|
* of `tool` is proposed instead of made, its arguments the terms — or, for one
|
|
804
804
|
* that `allows`, a standing permission given (R-07).
|
|
805
805
|
*/
|
|
@@ -817,7 +817,7 @@ export interface AppPapOperationSpec {
|
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
819
819
|
* A Personal Agent Protocol profile Datalayer speaks: a draft the PAP SDK
|
|
820
|
-
* implements (`draft-01` is its `PROTOCOL_PROFILE` 0.1;
|
|
820
|
+
* implements (`draft-01` is its `PROTOCOL_PROFILE` 0.1; S-03).
|
|
821
821
|
*/
|
|
822
822
|
export type PapProfile = 'draft-01';
|
|
823
823
|
/** Personal Agent Protocol: the companies it works with, and whether it is one. */
|
|
@@ -829,7 +829,7 @@ export interface AppPapSpec {
|
|
|
829
829
|
}
|
|
830
830
|
/**
|
|
831
831
|
* A business the application asks for each person over PACT 1.0
|
|
832
|
-
* (
|
|
832
|
+
* (PI-01): its domain, and the audience its Provider
|
|
833
833
|
* assigned. Always in each person's own name; never a credential.
|
|
834
834
|
*/
|
|
835
835
|
export interface AppPactConnectionSpec {
|
|
@@ -852,7 +852,7 @@ export interface AppPactRegisteredAgentSpec {
|
|
|
852
852
|
jwksUri: string;
|
|
853
853
|
}
|
|
854
854
|
/**
|
|
855
|
-
* The application as a PACT business (
|
|
855
|
+
* The application as a PACT business (PR-13, PI-32): its card
|
|
856
856
|
* names Datalayer as the Provider and its owner as the Brand; it accepts the
|
|
857
857
|
* personal agents its Maker registered, and a person delegates the scopes it
|
|
858
858
|
* offers through their Datalayer sign-in.
|
|
@@ -872,7 +872,7 @@ export interface AppPactSpec {
|
|
|
872
872
|
/** As a business (PR-13): absent or not `enabled`, it is none. Read, it is always said. */
|
|
873
873
|
business?: AppPactBusinessSpec;
|
|
874
874
|
}
|
|
875
|
-
/** The most one purchase may cost at a merchant (
|
|
875
|
+
/** The most one purchase may cost at a merchant (PI-22). */
|
|
876
876
|
export interface AppSpendLimitSpec {
|
|
877
877
|
/** As written: `50`, `12.50`. */
|
|
878
878
|
amount: string;
|
|
@@ -881,7 +881,7 @@ export interface AppSpendLimitSpec {
|
|
|
881
881
|
}
|
|
882
882
|
/**
|
|
883
883
|
* A merchant the application shops at for each person, over UCP or ACP
|
|
884
|
-
* (
|
|
884
|
+
* (PI-01). Test merchants only, every purchase asked of the
|
|
885
885
|
* person (decided 2026-10-13). Never a credential.
|
|
886
886
|
*/
|
|
887
887
|
export interface AppCommerceMerchantSpec {
|
|
@@ -901,7 +901,7 @@ export interface AppCommerceSpec {
|
|
|
901
901
|
}
|
|
902
902
|
/**
|
|
903
903
|
* A website the application reads pages of, each request signed with its
|
|
904
|
-
* own Web Bot Auth key (
|
|
904
|
+
* own Web Bot Auth key (EX-11, decided 2026-10-13): the
|
|
905
905
|
* gateway's `signed-fetch` toolset reads there with GET only. Never a
|
|
906
906
|
* credential.
|
|
907
907
|
*/
|
|
@@ -917,7 +917,7 @@ export interface AppSignedFetchSpec {
|
|
|
917
917
|
}
|
|
918
918
|
/**
|
|
919
919
|
* One of a pair of examples, a PACT business and the personal agent that
|
|
920
|
-
* asks it (
|
|
920
|
+
* asks it (PR-13; decided 2026-10-13): when a person has
|
|
921
921
|
* copied both, the Studio registers the personal agent's copy with the
|
|
922
922
|
* business's copy and points the personal agent there.
|
|
923
923
|
*/
|
|
@@ -929,7 +929,7 @@ export interface AppPairSpec {
|
|
|
929
929
|
}
|
|
930
930
|
/**
|
|
931
931
|
* An A2A extension the application's Agent Card advertises, beside the
|
|
932
|
-
* runtime's own (
|
|
932
|
+
* runtime's own (PR-02). Its params are public: never a
|
|
933
933
|
* credential.
|
|
934
934
|
*/
|
|
935
935
|
export interface AppA2AExtensionSpec {
|
|
@@ -972,13 +972,13 @@ export interface AppStarterSpec {
|
|
|
972
972
|
label: string;
|
|
973
973
|
message: string;
|
|
974
974
|
/**
|
|
975
|
-
* The heading it is offered under (
|
|
975
|
+
* The heading it is offered under (P-20): the starters of one
|
|
976
976
|
* category together, those without one first. Absent when unsaid.
|
|
977
977
|
*/
|
|
978
978
|
category?: string;
|
|
979
979
|
}
|
|
980
980
|
/**
|
|
981
|
-
* One of several assistants in one application (
|
|
981
|
+
* One of several assistants in one application (P-20): picked before
|
|
982
982
|
* the conversation starts — the first unless another is — and kept to its
|
|
983
983
|
* end. Its instructions are told in every run, its model run in place of the
|
|
984
984
|
* application's (a mode's wins over it), its starters offered in place of
|
|
@@ -993,7 +993,7 @@ export interface AppProfileSpec {
|
|
|
993
993
|
starters: AppStarterSpec[];
|
|
994
994
|
}
|
|
995
995
|
/**
|
|
996
|
-
* What a person reads of an application in another language (
|
|
996
|
+
* What a person reads of an application in another language (P-26):
|
|
997
997
|
* each part keyed by what names it in the spec — a starter by its label, a
|
|
998
998
|
* category by its words, a setting by its field, a command by its name, a
|
|
999
999
|
* mode and a profile by their ids. Every key present; empty is untranslated.
|
|
@@ -1025,7 +1025,7 @@ export interface AppTranslationSpec {
|
|
|
1025
1025
|
description: string;
|
|
1026
1026
|
}>;
|
|
1027
1027
|
}
|
|
1028
|
-
/** A slash command the user picks in the composer (
|
|
1028
|
+
/** A slash command the user picks in the composer (P-19). */
|
|
1029
1029
|
export interface AppCommandSpec {
|
|
1030
1030
|
/** What follows the slash: lower-case letters, digits and hyphens. */
|
|
1031
1031
|
name: string;
|
|
@@ -1035,7 +1035,7 @@ export interface AppCommandSpec {
|
|
|
1035
1035
|
prompt: string;
|
|
1036
1036
|
}
|
|
1037
1037
|
/**
|
|
1038
|
-
* An action of its code a person presses (
|
|
1038
|
+
* An action of its code a person presses (RU-5): `@app.action`,
|
|
1039
1039
|
* typed — the JSON Schema of its payload, written from the pydantic model its
|
|
1040
1040
|
* code declares; none when it takes nothing. The runtime offers it with a
|
|
1041
1041
|
* token and refuses a press of anything else, or with anything else.
|
|
@@ -1047,7 +1047,7 @@ export interface AppActionSpec {
|
|
|
1047
1047
|
/** The JSON Schema of its payload, an object; none when it takes nothing. */
|
|
1048
1048
|
payload?: Record<string, unknown>;
|
|
1049
1049
|
}
|
|
1050
|
-
/** One position of a mode switch (
|
|
1050
|
+
/** One position of a mode switch (P-19). */
|
|
1051
1051
|
export interface AppModeOptionSpec {
|
|
1052
1052
|
id: string;
|
|
1053
1053
|
label: string;
|
|
@@ -1057,7 +1057,7 @@ export interface AppModeOptionSpec {
|
|
|
1057
1057
|
/** The model a run in this mode runs on, in place of the application's. */
|
|
1058
1058
|
model?: string | null;
|
|
1059
1059
|
}
|
|
1060
|
-
/** A mode switch in the composer (
|
|
1060
|
+
/** A mode switch in the composer (P-19). */
|
|
1061
1061
|
export interface AppModeSpec {
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
label: string;
|
|
@@ -1067,8 +1067,7 @@ export interface AppModeSpec {
|
|
|
1067
1067
|
default?: string | null;
|
|
1068
1068
|
}
|
|
1069
1069
|
/**
|
|
1070
|
-
* What a run in the modes chosen is told, and the model it runs on (
|
|
1071
|
-
* P-19): agentspecs' `ModeEffect`.
|
|
1070
|
+
* What a run in the modes chosen is told, and the model it runs on (P-19): agentspecs' `ModeEffect`.
|
|
1072
1071
|
*/
|
|
1073
1072
|
export interface AppModeEffect {
|
|
1074
1073
|
/** The instructions of the options chosen, in the order of the modes. */
|
|
@@ -1077,7 +1076,7 @@ export interface AppModeEffect {
|
|
|
1077
1076
|
model?: string;
|
|
1078
1077
|
}
|
|
1079
1078
|
/**
|
|
1080
|
-
* One field of a form (
|
|
1079
|
+
* One field of a form (C-16): its JSON Schema — a `type`, the `title` a
|
|
1081
1080
|
* person reads, its `default`, and what it takes (`enum`, `minimum`,
|
|
1082
1081
|
* `maximum`…).
|
|
1083
1082
|
*/
|
|
@@ -1092,7 +1091,7 @@ export type AppFormField = {
|
|
|
1092
1091
|
[keyword: string]: unknown;
|
|
1093
1092
|
};
|
|
1094
1093
|
/**
|
|
1095
|
-
* The JSON Schema of a form (
|
|
1094
|
+
* The JSON Schema of a form (C-16): an object of named fields, drawn with
|
|
1096
1095
|
* `@datalayer/primer-rjsf` and checked by the runtime against the same schema.
|
|
1097
1096
|
* An application's settings are one (`interface.settings`), as a Form block's
|
|
1098
1097
|
* schema is.
|
|
@@ -1114,10 +1113,10 @@ export interface AppSurfaceSpec {
|
|
|
1114
1113
|
composedBy: string;
|
|
1115
1114
|
composedAt: string;
|
|
1116
1115
|
}
|
|
1117
|
-
/** What a page's output is drawn with of the catalog (
|
|
1116
|
+
/** What a page's output is drawn with of the catalog (P-05). */
|
|
1118
1117
|
export type AppPageOutputComponent = 'Text' | 'Image' | 'Table' | 'Chart';
|
|
1119
1118
|
/**
|
|
1120
|
-
* A component its developer wrote (
|
|
1119
|
+
* A component its developer wrote (P-17), of one application only: the
|
|
1121
1120
|
* catalog grows for it, it does not open. Reviewed as the catalog's own — its
|
|
1122
1121
|
* properties a JSON Schema, what it shows and sends bindings — and drawn in a
|
|
1123
1122
|
* sandboxed frame of no origin from the built ES module at `source`.
|
|
@@ -1142,7 +1141,7 @@ export interface AppCustomComponentSpec {
|
|
|
1142
1141
|
/** A configuration its schema accepts: what the palette previews. */
|
|
1143
1142
|
example?: Record<string, unknown>;
|
|
1144
1143
|
}
|
|
1145
|
-
/** One thing a widget's page shows for its inputs (
|
|
1144
|
+
/** One thing a widget's page shows for its inputs (P-05), at `/outputs/<name>`. */
|
|
1146
1145
|
export interface AppPageOutputSpec {
|
|
1147
1146
|
name: string;
|
|
1148
1147
|
/** What a person reads above it; none when empty. */
|
|
@@ -1157,7 +1156,7 @@ export interface AppPageOutputSpec {
|
|
|
1157
1156
|
props: Record<string, unknown>;
|
|
1158
1157
|
}
|
|
1159
1158
|
/**
|
|
1160
|
-
* A widget's page written in its code (
|
|
1159
|
+
* A widget's page written in its code (P-05, `@app.page`): its inputs a
|
|
1161
1160
|
* form, drawn at `/inputs/<name>`; its outputs values, shown at
|
|
1162
1161
|
* `/outputs/<name>`. As an input changes, the function its code names runs
|
|
1163
1162
|
* again on all of them, and the outputs change in place.
|
|
@@ -1173,7 +1172,7 @@ export interface AppPageSpec {
|
|
|
1173
1172
|
live: boolean;
|
|
1174
1173
|
}
|
|
1175
1174
|
/**
|
|
1176
|
-
* An application's voice (
|
|
1175
|
+
* An application's voice (VO-41), off unless said: whether a person
|
|
1177
1176
|
* may talk to it, whether its answers are heard, with which voice of the
|
|
1178
1177
|
* catalogue (`specs/voices`), in which language (BCP 47) and where its
|
|
1179
1178
|
* speech runs.
|
|
@@ -1188,7 +1187,7 @@ export interface AppVoiceSpec {
|
|
|
1188
1187
|
where: 'auto' | 'device' | 'server';
|
|
1189
1188
|
}
|
|
1190
1189
|
/**
|
|
1191
|
-
* A kind of file a person may send, and how large (
|
|
1190
|
+
* A kind of file a person may send, and how large (P-21): a media type
|
|
1192
1191
|
* (`application/pdf`), a family (`image/*`, `audio/*`) or an extension
|
|
1193
1192
|
* (`.csv`), lowercase.
|
|
1194
1193
|
*/
|
|
@@ -1198,7 +1197,7 @@ export interface AppUploadKindSpec {
|
|
|
1198
1197
|
maxMb: number;
|
|
1199
1198
|
}
|
|
1200
1199
|
/**
|
|
1201
|
-
* What a person may send in the composer without being asked (
|
|
1200
|
+
* What a person may send in the composer without being asked (P-21):
|
|
1202
1201
|
* the kinds it takes, each with its largest size, and how many at once.
|
|
1203
1202
|
*/
|
|
1204
1203
|
export interface AppUploadsSpec {
|
|
@@ -1223,7 +1222,7 @@ export interface AppInterfaceSpec {
|
|
|
1223
1222
|
/** Mode switches in the composer, the option picked going with every run (P-19). */
|
|
1224
1223
|
modes: AppModeSpec[];
|
|
1225
1224
|
/**
|
|
1226
|
-
* The actions of its code a person presses, typed (
|
|
1225
|
+
* The actions of its code a person presses, typed (RU-5):
|
|
1227
1226
|
* written by its code (`@app.action`); absent from a spec without code.
|
|
1228
1227
|
*/
|
|
1229
1228
|
actions?: AppActionSpec[];
|
|
@@ -1313,7 +1312,7 @@ export interface AppTestCaseSpec {
|
|
|
1313
1312
|
turns?: AppTestTurnSpec[];
|
|
1314
1313
|
expect: string;
|
|
1315
1314
|
/**
|
|
1316
|
-
* The function of its code that decides the case, by name (
|
|
1315
|
+
* The function of its code that decides the case, by name (P-06:
|
|
1317
1316
|
* `@app.test`); `expect` still says it in words, and decides it without
|
|
1318
1317
|
* the file. Empty, or absent, for a case in words alone.
|
|
1319
1318
|
*/
|
|
@@ -1325,7 +1324,7 @@ export interface AppTestCaseSpec {
|
|
|
1325
1324
|
files?: AppTestFileSpec[];
|
|
1326
1325
|
}
|
|
1327
1326
|
/**
|
|
1328
|
-
* What was verified, and how, each in a sentence a person reads (
|
|
1327
|
+
* What was verified, and how, each in a sentence a person reads (E-14):
|
|
1329
1328
|
* what was tried live, what runs on recorded data, what is not verified yet.
|
|
1330
1329
|
*/
|
|
1331
1330
|
export interface AppVerifiedSpec {
|
|
@@ -1349,14 +1348,14 @@ export interface AppRecordSpec {
|
|
|
1349
1348
|
retentionDays: number;
|
|
1350
1349
|
include: string[];
|
|
1351
1350
|
/**
|
|
1352
|
-
* Whether its conversations may be used to suggest tests (
|
|
1351
|
+
* Whether its conversations may be used to suggest tests (V-16): off
|
|
1353
1352
|
* unless said, and only those kept while it is on are sampled.
|
|
1354
1353
|
*/
|
|
1355
1354
|
suggestTests: boolean;
|
|
1356
1355
|
}
|
|
1357
|
-
/** Where a check of an application's code runs (
|
|
1356
|
+
/** Where a check of an application's code runs (P-06). */
|
|
1358
1357
|
export type AppCheckStage = 'answer' | 'tool_call';
|
|
1359
|
-
/** A check written in an application's code (
|
|
1358
|
+
/** A check written in an application's code (P-06: `@app.check`). */
|
|
1360
1359
|
export interface AppCodeCheckSpec {
|
|
1361
1360
|
/** The function of its code that checks. */
|
|
1362
1361
|
name: string;
|
|
@@ -1370,11 +1369,11 @@ export interface AppChecksSpec {
|
|
|
1370
1369
|
guards: string[];
|
|
1371
1370
|
gates: string[];
|
|
1372
1371
|
track: string;
|
|
1373
|
-
/** Checks written in its code (
|
|
1372
|
+
/** Checks written in its code (P-06); absent when it has none. */
|
|
1374
1373
|
code?: AppCodeCheckSpec[];
|
|
1375
1374
|
}
|
|
1376
1375
|
/**
|
|
1377
|
-
* A tool of an application's own, written in its code (
|
|
1376
|
+
* A tool of an application's own, written in its code (P-06:
|
|
1378
1377
|
* `@app.tool`): its agent calls it, and the rules decide each call by what
|
|
1379
1378
|
* it `does`, or by a rule that names it by its name alone.
|
|
1380
1379
|
*/
|
|
@@ -1387,7 +1386,7 @@ export interface AppToolSpec {
|
|
|
1387
1386
|
/** What it does, by class of action: `read`, `write`, `send`… */
|
|
1388
1387
|
does: string[];
|
|
1389
1388
|
}
|
|
1390
|
-
/** A function of the host page the application's agent may call (
|
|
1389
|
+
/** A function of the host page the application's agent may call (D-10). */
|
|
1391
1390
|
export interface AppHostFunctionSpec {
|
|
1392
1391
|
/** Lower-case words joined by `_`: called as the tool `host_<name>`. */
|
|
1393
1392
|
name: string;
|
|
@@ -1397,8 +1396,7 @@ export interface AppHostFunctionSpec {
|
|
|
1397
1396
|
parameters: Record<string, unknown>;
|
|
1398
1397
|
}
|
|
1399
1398
|
/**
|
|
1400
|
-
* What the host page and an embedded application say to each other (
|
|
1401
|
-
* D-10): the host's values it reads (`user`, `page`, or the host's own),
|
|
1399
|
+
* What the host page and an embedded application say to each other (D-10): the host's values it reads (`user`, `page`, or the host's own),
|
|
1402
1400
|
* through the tool `host_context`, and the host's functions it may call,
|
|
1403
1401
|
* each through `host_<name>` — every one of them decided by a rule that
|
|
1404
1402
|
* names it.
|
|
@@ -1407,20 +1405,20 @@ export interface AppHostBridgeSpec {
|
|
|
1407
1405
|
context: string[];
|
|
1408
1406
|
functions: AppHostFunctionSpec[];
|
|
1409
1407
|
/**
|
|
1410
|
-
* Who its user is (
|
|
1408
|
+
* Who its user is (D-21): `claimed`, what the page says (unless
|
|
1411
1409
|
* said); `signed`, only a token the host's server signed with the
|
|
1412
1410
|
* deployment's secret — the unsigned one refused.
|
|
1413
1411
|
*/
|
|
1414
1412
|
user?: AppHostUser;
|
|
1415
1413
|
}
|
|
1416
|
-
/** What the host page's word on its visitor is worth (
|
|
1414
|
+
/** What the host page's word on its visitor is worth (D-21). */
|
|
1417
1415
|
export type AppHostUser = 'claimed' | 'signed';
|
|
1418
1416
|
export interface AppDeploymentSpec {
|
|
1419
1417
|
hosted?: {
|
|
1420
1418
|
visibility: 'private' | 'invited' | 'organization' | 'link' | 'public';
|
|
1421
1419
|
slug: string;
|
|
1422
1420
|
/**
|
|
1423
|
-
* At its address, only its character (
|
|
1421
|
+
* At its address, only its character (T-21): the conversation
|
|
1424
1422
|
* opens in its balloon, as when it is shipped as `assistant`. Off
|
|
1425
1423
|
* unless said.
|
|
1426
1424
|
*/
|
|
@@ -1429,7 +1427,7 @@ export interface AppDeploymentSpec {
|
|
|
1429
1427
|
embedded?: {
|
|
1430
1428
|
mode: AppEmbedMode;
|
|
1431
1429
|
origins: string[];
|
|
1432
|
-
/** What the host page passes it and the functions of the host it may call (
|
|
1430
|
+
/** What the host page passes it and the functions of the host it may call (D-10). */
|
|
1433
1431
|
host?: AppHostBridgeSpec;
|
|
1434
1432
|
};
|
|
1435
1433
|
}
|
|
@@ -1482,7 +1480,7 @@ export interface AppSampleAlternativeSpec {
|
|
|
1482
1480
|
metrics: Record<string, number>;
|
|
1483
1481
|
}
|
|
1484
1482
|
/**
|
|
1485
|
-
* What it is tried on before it is anybody's (
|
|
1483
|
+
* What it is tried on before it is anybody's (E-06, E-11): published
|
|
1486
1484
|
* with it by Datalayer, read only — what a visitor without an account
|
|
1487
1485
|
* computes from, or decides on, in the browser.
|
|
1488
1486
|
*/
|
|
@@ -1514,7 +1512,7 @@ export interface AppSpec {
|
|
|
1514
1512
|
skills: string[];
|
|
1515
1513
|
/** Backend tools (agentspecs/backend-tools) it adds to its agent's. */
|
|
1516
1514
|
backendTools: string[];
|
|
1517
|
-
/** Tools of its own, written in its code (
|
|
1515
|
+
/** Tools of its own, written in its code (P-06); absent when it has none. */
|
|
1518
1516
|
tools?: AppToolSpec[];
|
|
1519
1517
|
/** The Frames it works under. */
|
|
1520
1518
|
context: string[];
|
|
@@ -1522,24 +1520,23 @@ export interface AppSpec {
|
|
|
1522
1520
|
contents: string[];
|
|
1523
1521
|
connections: AppConnectionSpec[];
|
|
1524
1522
|
/**
|
|
1525
|
-
* The agent protocols it speaks, ids of `agentspecs/protocols` (
|
|
1526
|
-
* PS-02): its `pap`, `pact` and `a2a` blocks are refused unless their protocol
|
|
1523
|
+
* The agent protocols it speaks, ids of `agentspecs/protocols` (PS-02): its `pap`, `pact` and `a2a` blocks are refused unless their protocol
|
|
1527
1524
|
* is listed, and a planned one only while it is not offered.
|
|
1528
1525
|
*/
|
|
1529
1526
|
protocols: string[];
|
|
1530
|
-
/** Its UI plugins, each with the renderer it is exposed through, when it is (
|
|
1527
|
+
/** Its UI plugins, each with the renderer it is exposed through, when it is (R8). */
|
|
1531
1528
|
ui: UiChoice[];
|
|
1532
1529
|
/** Personal Agent Protocol; absent, the application has none. */
|
|
1533
1530
|
pap?: AppPapSpec;
|
|
1534
|
-
/** PACT: the businesses it asks for each person (
|
|
1531
|
+
/** PACT: the businesses it asks for each person (PI-01). */
|
|
1535
1532
|
pact?: AppPactSpec;
|
|
1536
|
-
/** UCP and ACP: the merchants it shops at for each person (
|
|
1533
|
+
/** UCP and ACP: the merchants it shops at for each person (PI-01). */
|
|
1537
1534
|
commerce?: AppCommerceSpec;
|
|
1538
|
-
/** Signed fetch: the sites it reads pages of, each request signed (
|
|
1535
|
+
/** Signed fetch: the sites it reads pages of, each request signed (EX-11). */
|
|
1539
1536
|
signed_fetch?: AppSignedFetchSpec;
|
|
1540
1537
|
/** One of a pair of examples: a PACT business, or the personal agent that asks it (PR-13). */
|
|
1541
1538
|
pair?: AppPairSpec;
|
|
1542
|
-
/** A2A: the extensions its Agent Card advertises (
|
|
1539
|
+
/** A2A: the extensions its Agent Card advertises (PR-02). */
|
|
1543
1540
|
a2a?: AppA2ASpec;
|
|
1544
1541
|
rules: AppRuleSpec[];
|
|
1545
1542
|
permissions: AppPermissionsSpec;
|
|
@@ -1646,7 +1643,7 @@ export interface Agentspec {
|
|
|
1646
1643
|
/** User-facing objective for the agent */
|
|
1647
1644
|
goal?: string;
|
|
1648
1645
|
/**
|
|
1649
|
-
* What work this agent can be delegated (
|
|
1646
|
+
* What work this agent can be delegated (O2-07).
|
|
1650
1647
|
*
|
|
1651
1648
|
* `protocol` below says how a client and an agent talk; this says what it
|
|
1652
1649
|
* is worth handing the agent. Ids come from a closed vocabulary, because
|
|
@@ -1662,11 +1659,10 @@ export interface Agentspec {
|
|
|
1662
1659
|
/** Communication protocol (e.g., 'ag-ui', 'acp', 'a2a', 'vercel-ai') */
|
|
1663
1660
|
protocol?: string;
|
|
1664
1661
|
/**
|
|
1665
|
-
* The agent protocols it speaks, ids of `agentspecs/protocols` (
|
|
1666
|
-
* PS-02). `protocol` says how a page reaches it; this, what it speaks to the world.
|
|
1662
|
+
* The agent protocols it speaks, ids of `agentspecs/protocols` (PS-02). `protocol` says how a page reaches it; this, what it speaks to the world.
|
|
1667
1663
|
*/
|
|
1668
1664
|
protocols?: string[];
|
|
1669
|
-
/** Its UI plugins, each with the renderer it is exposed through, when it is (
|
|
1665
|
+
/** Its UI plugins, each with the renderer it is exposed through, when it is (R8). */
|
|
1670
1666
|
ui?: UiChoice[];
|
|
1671
1667
|
/** Trigger configuration (type, cron, event source, prompt) */
|
|
1672
1668
|
trigger?: AgentTriggerConfig;
|
|
@@ -1708,7 +1704,7 @@ export interface Agentspec {
|
|
|
1708
1704
|
/** Subagent delegation configuration. */
|
|
1709
1705
|
subagents?: SubAgentsConfig;
|
|
1710
1706
|
/**
|
|
1711
|
-
* Its voice, for an agent that is not an application (
|
|
1707
|
+
* Its voice, for an agent that is not an application (VO-41):
|
|
1712
1708
|
* the fields an Appspec says under `interface.voice`; absent when unsaid.
|
|
1713
1709
|
*/
|
|
1714
1710
|
voice?: AppVoiceSpec;
|