@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
|
@@ -11,7 +11,7 @@ export declare const CUSTOM_RESERVED_NAMES: readonly ["id", "component", "action
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const CUSTOM_SOURCE: RegExp;
|
|
13
13
|
/**
|
|
14
|
-
* Or a file of the application's folder, by its path in it (
|
|
14
|
+
* Or a file of the application's folder, by its path in it (P-29): a
|
|
15
15
|
* `.js` or `.mjs` file inside the folder — no absolute path, no `..`.
|
|
16
16
|
* Packaged with the application (`loop apps package`), it is served by the
|
|
17
17
|
* server its package is installed beside (`LoopAppFiles`).
|
|
@@ -35,7 +35,7 @@ export declare function customPropsRefused(component: AppCustomComponentSpec, pr
|
|
|
35
35
|
/** What stops one component its developer wrote from being reviewed, in sentences. */
|
|
36
36
|
export declare function customComponentProblems(component: AppCustomComponentSpec): string[];
|
|
37
37
|
/**
|
|
38
|
-
* Whether an application's page side is packaged (
|
|
38
|
+
* Whether an application's page side is packaged (P-29): a component
|
|
39
39
|
* its developer wrote is a file of its folder.
|
|
40
40
|
*/
|
|
41
41
|
export declare const hasFolderModules: (app: Pick<AppSpec, "interface">) => boolean;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Components a developer writes (
|
|
6
|
+
* Components a developer writes (P-17): an A2UI component of one
|
|
7
7
|
* application only, declared in its Appspec (`interface.custom_components`)
|
|
8
8
|
* with its name, its properties as a JSON Schema, what it shows and sends,
|
|
9
9
|
* and the address of the built ES module that draws it.
|
|
@@ -44,7 +44,7 @@ export const CUSTOM_RESERVED_NAMES = [
|
|
|
44
44
|
*/
|
|
45
45
|
export const CUSTOM_SOURCE = /^(?:https:\/\/[A-Za-z0-9.-]+(?::\d+)?|http:\/\/(?:localhost|127\.0\.0\.1)(?::\d+)?)\/\S*$/;
|
|
46
46
|
/**
|
|
47
|
-
* Or a file of the application's folder, by its path in it (
|
|
47
|
+
* Or a file of the application's folder, by its path in it (P-29): a
|
|
48
48
|
* `.js` or `.mjs` file inside the folder — no absolute path, no `..`.
|
|
49
49
|
* Packaged with the application (`loop apps package`), it is served by the
|
|
50
50
|
* server its package is installed beside (`LoopAppFiles`).
|
|
@@ -214,7 +214,7 @@ export function customComponentProblems(component) {
|
|
|
214
214
|
return problems;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* Whether an application's page side is packaged (
|
|
217
|
+
* Whether an application's page side is packaged (P-29): a component
|
|
218
218
|
* its developer wrote is a file of its folder.
|
|
219
219
|
*/
|
|
220
220
|
export const hasFolderModules = (app) => (app.interface.customComponents ?? []).some(component => isFolderSource(component.source));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Feedback from the people who use an application (
|
|
2
|
+
* Feedback from the people who use an application (V-18): a thumb up or
|
|
3
3
|
* down on an answer, and a comment, kept in the application's record.
|
|
4
4
|
*
|
|
5
5
|
* Kept only when the application's `record.include` names `feedback` — its
|
|
@@ -22,7 +22,7 @@ export type Feedback = {
|
|
|
22
22
|
liked: boolean;
|
|
23
23
|
comment: string;
|
|
24
24
|
/**
|
|
25
|
-
* The answer it is about (
|
|
25
|
+
* The answer it is about (P-24): `answer-<n>`, its place among the
|
|
26
26
|
* conversation's answers; none for the conversation as a whole.
|
|
27
27
|
*/
|
|
28
28
|
message?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The tools an embedded application is given for its host page (
|
|
2
|
+
* The tools an embedded application is given for its host page (D-10),
|
|
3
3
|
* by name: `host_context` for the values the page passes, `host_<name>` for
|
|
4
4
|
* each function it offers. Apart from `embed/hostBridge`, which calls the
|
|
5
5
|
* page, so that the checks read them as a pure module.
|
|
@@ -13,11 +13,11 @@ export declare const HOST_CONTEXT_TOOL = "host_context";
|
|
|
13
13
|
export declare const hostTool: (name: string) => string;
|
|
14
14
|
/** How a value or a function of the host is named. */
|
|
15
15
|
export declare const HOST_NAME: RegExp;
|
|
16
|
-
/** What the page's word on its visitor may be worth (
|
|
16
|
+
/** What the page's word on its visitor may be worth (D-21). */
|
|
17
17
|
export declare const HOST_USERS: readonly AppHostUser[];
|
|
18
18
|
/**
|
|
19
19
|
* Whether a session is opened only for a user the host's server signed
|
|
20
|
-
* (
|
|
20
|
+
* (D-21): `deployment.embedded.host.user: signed`.
|
|
21
21
|
*/
|
|
22
22
|
export declare function signedUser(bridge: AppHostBridgeSpec | undefined): boolean;
|
|
23
23
|
/** The tools its agent is given for the host. */
|
|
@@ -8,11 +8,11 @@ export const HOST_CONTEXT_TOOL = 'host_context';
|
|
|
8
8
|
export const hostTool = (name) => `host_${name}`;
|
|
9
9
|
/** How a value or a function of the host is named. */
|
|
10
10
|
export const HOST_NAME = /^[a-z][a-z0-9_]{0,62}$/;
|
|
11
|
-
/** What the page's word on its visitor may be worth (
|
|
11
|
+
/** What the page's word on its visitor may be worth (D-21). */
|
|
12
12
|
export const HOST_USERS = ['claimed', 'signed'];
|
|
13
13
|
/**
|
|
14
14
|
* Whether a session is opened only for a user the host's server signed
|
|
15
|
-
* (
|
|
15
|
+
* (D-21): `deployment.embedded.host.user: signed`.
|
|
16
16
|
*/
|
|
17
17
|
export function signedUser(bridge) {
|
|
18
18
|
return bridge?.user === 'signed';
|
package/lib/apps/apps/kept.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* What an application keeps, said before the first message (
|
|
2
|
+
* What an application keeps, said before the first message (R-31).
|
|
3
3
|
*
|
|
4
4
|
* A hosted or embedded application tells whoever uses it what its record
|
|
5
5
|
* keeps of the conversation — what its `record.include` names — and for how
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* An application in the person's language (
|
|
2
|
+
* An application in the person's language (P-26).
|
|
3
3
|
*
|
|
4
4
|
* An Appspec says its words in its own language (`interface.language`, `en`
|
|
5
5
|
* unless said) and may say them in others (`interface.translations`, by BCP
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* An application's two Reactor plugins, named once (
|
|
2
|
+
* An application's two Reactor plugins, named once (F-15).
|
|
3
3
|
*
|
|
4
4
|
* Whichever editor wrote it — a spec, the Canvas, an `app.py` — an
|
|
5
5
|
* application is a pair of plugins of one name, `loop-app-<id>`: the page's
|
package/lib/apps/apps/records.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The record of an application (
|
|
6
|
+
* The record of an application (R-07), as ai-agents keeps it: what it
|
|
7
7
|
* did, session by session, written by the runtime it ran on — read here for
|
|
8
8
|
* its activity feed (R-01b, R-15): the sessions, newest first, and what each
|
|
9
9
|
* one did, step by step.
|
package/lib/apps/apps/rules.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare const FORWARDING: Record<string, Forwarding>;
|
|
|
43
43
|
export declare function addresses(value: unknown): string[];
|
|
44
44
|
/**
|
|
45
45
|
* Whether a call forwards a message to somebody outside the organization
|
|
46
|
-
* (
|
|
46
|
+
* (W-04): the domain of the mailbox it sends from. Fails closed: a
|
|
47
47
|
* forward that does not say its mailbox is outside. A reply is not a forward.
|
|
48
48
|
*/
|
|
49
49
|
export declare function forwardsOutside(server: string, name: string, args: ToolArguments): boolean;
|
|
@@ -62,7 +62,7 @@ export declare const isReadOnly: (classes: ActionClass[]) => boolean;
|
|
|
62
62
|
export declare const strictest: (behaviours: AppBehaviour[]) => AppBehaviour;
|
|
63
63
|
/**
|
|
64
64
|
* Whether the application is given a tool of a server: its connection's
|
|
65
|
-
* level (
|
|
65
|
+
* level (U-15). A connection gives the tools of its server it reaches
|
|
66
66
|
* (`only`); one that only reads gives only the tools that only read — a tool
|
|
67
67
|
* nobody classed is taken to write, so a read connection does not give it.
|
|
68
68
|
* A tool of a server the application is not connected to is not given.
|
package/lib/apps/apps/rules.js
CHANGED
|
@@ -152,7 +152,7 @@ export function addresses(value) {
|
|
|
152
152
|
const domainOf = (address) => address.slice(address.lastIndexOf('@') + 1).trim();
|
|
153
153
|
/**
|
|
154
154
|
* Whether a call forwards a message to somebody outside the organization
|
|
155
|
-
* (
|
|
155
|
+
* (W-04): the domain of the mailbox it sends from. Fails closed: a
|
|
156
156
|
* forward that does not say its mailbox is outside. A reply is not a forward.
|
|
157
157
|
*/
|
|
158
158
|
export function forwardsOutside(server, name, args) {
|
|
@@ -211,7 +211,7 @@ const reaches = (connection, tool) => connection.only.length === 0 ||
|
|
|
211
211
|
connection.only.some(pattern => matchesPattern(tool, pattern));
|
|
212
212
|
/**
|
|
213
213
|
* Whether the application is given a tool of a server: its connection's
|
|
214
|
-
* level (
|
|
214
|
+
* level (U-15). A connection gives the tools of its server it reaches
|
|
215
215
|
* (`only`); one that only reads gives only the tools that only read — a tool
|
|
216
216
|
* nobody classed is taken to write, so a read connection does not give it.
|
|
217
217
|
* A tool of a server the application is not connected to is not given.
|
package/lib/apps/apps/saved.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Approve and save (
|
|
2
|
+
* Approve and save (R-24): what an application wants to keep, shown
|
|
3
3
|
* before it is kept. The runtime asks every `save_to_space` call on the
|
|
4
4
|
* approvals path with the title and the whole text; an approvals card shows
|
|
5
5
|
* them, with *Approve and save* and *Decline* in place of *Approve* and
|
package/lib/apps/apps/saved.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Approve and save (
|
|
6
|
+
* Approve and save (R-24): what an application wants to keep, shown
|
|
7
7
|
* before it is kept. The runtime asks every `save_to_space` call on the
|
|
8
8
|
* approvals path with the title and the whole text; an approvals card shows
|
|
9
9
|
* them, with *Approve and save* and *Decline* in place of *Approve* and
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* One validation of a scene (
|
|
6
|
+
* One validation of a scene (S-10), said in agentspecs' own
|
|
7
7
|
* sentences: what the spec editor refuses, the stage refuses and `loop`
|
|
8
8
|
* refuses, in the same words wherever a person meets them.
|
|
9
9
|
*
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
*
|
|
44
44
|
* It lives in agent-runtimes beside the application's checks (`checks.ts`),
|
|
45
45
|
* so that every shell that edits a scene — the Studio, and agent-runtimes' own —
|
|
46
|
-
* refuses the same things in the same words (
|
|
47
|
-
*
|
|
46
|
+
* refuses the same things in the same words (S-10, moved from the landing 2026-10-10).
|
|
47
|
+
* `__tests__/scene-checks.test.ts` holds it to what
|
|
48
48
|
* agentspecs itself says, sentence for sentence.
|
|
49
49
|
*
|
|
50
50
|
* @module apps/apps/sceneChecks
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* scene's checks over what it reads (`sceneTextProblems`).
|
|
17
17
|
*
|
|
18
18
|
* Moved from the landing's Studio on 2026-10-10 with `sceneChecks.ts`
|
|
19
|
-
* (
|
|
19
|
+
* (S-10), so that every shell editing a scene reads and writes
|
|
20
20
|
* it alike. Pure: no React, no network.
|
|
21
21
|
*
|
|
22
22
|
* @module apps/apps/sceneYaml
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A rule a person adds to a running session (
|
|
2
|
+
* A rule a person adds to a running session (SH-54): the
|
|
3
3
|
* session API's `/apps/sessions/{uid}/rules`, read and written from the
|
|
4
4
|
* Rules card beside the page, and the words it says.
|
|
5
5
|
*
|
|
@@ -44,7 +44,7 @@ export interface RulesInForce {
|
|
|
44
44
|
managed?: boolean;
|
|
45
45
|
policies: PolicyInForce[];
|
|
46
46
|
session_rules: SessionRule[];
|
|
47
|
-
/** The sentence when nothing can be decided
|
|
47
|
+
/** The sentence when nothing can be decided, else null. */
|
|
48
48
|
unavailable: string | null;
|
|
49
49
|
}
|
|
50
50
|
/** The words of the card's session section. */
|
|
@@ -61,19 +61,18 @@ export declare const SESSION_RULES_WORDS: {
|
|
|
61
61
|
readonly goneWithSession: "In force at once, for this session only; gone when it ends.";
|
|
62
62
|
readonly unavailable: (sentence: string) => string;
|
|
63
63
|
};
|
|
64
|
-
/** Where a file rule holds, in words
|
|
64
|
+
/** Where a file rule holds, in words. */
|
|
65
65
|
export declare const WHERE_WORDS: Record<'inside' | 'outside', string>;
|
|
66
66
|
/**
|
|
67
|
-
* A rule in words: *writing, sending: leave it to me*; with
|
|
68
|
-
* and shell wording when it says where or what (
|
|
67
|
+
* A rule in words: *writing, sending: leave it to me*; with the default policy's file
|
|
68
|
+
* and shell wording when it says where or what (SH-43) — *writing
|
|
69
69
|
* inside the workspace (src/**): do it*, *running `git push`: ask me first*.
|
|
70
70
|
*/
|
|
71
71
|
export declare function sessionRuleInWords(rule: SessionRule): string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* The default policy's file and shell rules, offered on a running session in the
|
|
74
74
|
* Shield's own words: each one a rule a person adds as it stands, and the
|
|
75
|
-
* runtime refuses one that would loosen what the organization says
|
|
76
|
-
* (SHIELD §6.2, §6.3).
|
|
75
|
+
* runtime refuses one that would loosen what the organization says.
|
|
77
76
|
*/
|
|
78
77
|
export declare const FILE_AND_SHELL_RULES: readonly SessionRule[];
|
|
79
78
|
/** What the person typed, as the rule the runtime takes; a sentence when it cannot be one. */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* A rule a person adds to a running session (
|
|
6
|
+
* A rule a person adds to a running session (SH-54): the
|
|
7
7
|
* session API's `/apps/sessions/{uid}/rules`, read and written from the
|
|
8
8
|
* Rules card beside the page, and the words it says.
|
|
9
9
|
*
|
|
@@ -54,14 +54,14 @@ export const SESSION_RULES_WORDS = {
|
|
|
54
54
|
goneWithSession: 'In force at once, for this session only; gone when it ends.',
|
|
55
55
|
unavailable: (sentence) => `Nothing is decided right now: ${sentence}`,
|
|
56
56
|
};
|
|
57
|
-
/** Where a file rule holds, in words
|
|
57
|
+
/** Where a file rule holds, in words. */
|
|
58
58
|
export const WHERE_WORDS = {
|
|
59
59
|
inside: 'inside the workspace',
|
|
60
60
|
outside: 'outside the workspace',
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
|
-
* A rule in words: *writing, sending: leave it to me*; with
|
|
64
|
-
* and shell wording when it says where or what (
|
|
63
|
+
* A rule in words: *writing, sending: leave it to me*; with the default policy's file
|
|
64
|
+
* and shell wording when it says where or what (SH-43) — *writing
|
|
65
65
|
* inside the workspace (src/**): do it*, *running `git push`: ask me first*.
|
|
66
66
|
*/
|
|
67
67
|
export function sessionRuleInWords(rule) {
|
|
@@ -79,10 +79,9 @@ export function sessionRuleInWords(rule) {
|
|
|
79
79
|
return `${covers}: ${SESSION_RULES_WORDS.decisions[rule.decision]}`;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* The default policy's file and shell rules, offered on a running session in the
|
|
83
83
|
* Shield's own words: each one a rule a person adds as it stands, and the
|
|
84
|
-
* runtime refuses one that would loosen what the organization says
|
|
85
|
-
* (SHIELD §6.2, §6.3).
|
|
84
|
+
* runtime refuses one that would loosen what the organization says.
|
|
86
85
|
*/
|
|
87
86
|
export const FILE_AND_SHELL_RULES = [
|
|
88
87
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The nine inputs a setting is drawn with (
|
|
2
|
+
* The nine inputs a setting is drawn with (P-20): each a JSON Schema
|
|
3
3
|
* field and, where the field's own widget is not the one wanted, the widget a
|
|
4
4
|
* form's uiSchema names for it (`ui:widget`) — what `@datalayer/primer-rjsf`
|
|
5
5
|
* draws. agentspecs' `SETTING_INPUTS`, `FORM_WIDGETS` and
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The nine inputs a setting is drawn with (
|
|
6
|
+
* The nine inputs a setting is drawn with (P-20): each a JSON Schema
|
|
7
7
|
* field and, where the field's own widget is not the one wanted, the widget a
|
|
8
8
|
* form's uiSchema names for it (`ui:widget`) — what `@datalayer/primer-rjsf`
|
|
9
9
|
* draws. agentspecs' `SETTING_INPUTS`, `FORM_WIDGETS` and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A thread opened from a person's history, to go on with it (
|
|
2
|
+
* A thread opened from a person's history, to go on with it (P-24).
|
|
3
3
|
*
|
|
4
4
|
* A thread is a session of an application: its uid is the conversation's
|
|
5
5
|
* AG-UI thread. Opened again, its conversation is read from the runtime the
|
|
@@ -23,7 +23,7 @@ import type { ResumedThread } from '../../types/chat';
|
|
|
23
23
|
export declare function deploymentOfPayload(createPayload: Record<string, unknown> | undefined): string;
|
|
24
24
|
/**
|
|
25
25
|
* The thread a deployment's chat opens on when its host gave none: a new one,
|
|
26
|
-
* `id` (
|
|
26
|
+
* `id` (the release gates, found on r1, 14 October 2026).
|
|
27
27
|
*
|
|
28
28
|
* A deployment's agent serves every visitor, and what its runtime holds in
|
|
29
29
|
* memory is the last run's, whoever ran it: drawn as the page's
|
package/lib/apps/apps/threads.js
CHANGED
|
@@ -17,7 +17,7 @@ export function deploymentOfPayload(createPayload) {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* The thread a deployment's chat opens on when its host gave none: a new one,
|
|
20
|
-
* `id` (
|
|
20
|
+
* `id` (the release gates, found on r1, 14 October 2026).
|
|
21
21
|
*
|
|
22
22
|
* A deployment's agent serves every visitor, and what its runtime holds in
|
|
23
23
|
* memory is the last run's, whoever ran it: drawn as the page's
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* What a person sends (
|
|
2
|
+
* What a person sends (P-21), as rules: the kinds of file an
|
|
3
3
|
* application takes in its composer without asking (`interface.uploads`),
|
|
4
4
|
* each with its largest size, and how many at once — and why a file is
|
|
5
5
|
* refused, in the sentence the runtime says when it was sent all the same.
|
|
@@ -49,7 +49,7 @@ export type VisitorAgent = {
|
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* Ask the visitors' runtime for the agent a visitor's token names, made
|
|
52
|
-
* there if it is not (`POST /api/v1/apps/visitors/agent`,
|
|
52
|
+
* there if it is not (`POST /api/v1/apps/visitors/agent`, D-15): an
|
|
53
53
|
* application at its address has its agent made as it is first opened, so
|
|
54
54
|
* that the runtime holds the application before the page follows it.
|
|
55
55
|
* Throws with the runtime's sentence when it refuses.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* A visitor's token, for a conversation without an account on the visitors'
|
|
7
|
-
* runtime (
|
|
7
|
+
* runtime (R-30).
|
|
8
8
|
*
|
|
9
9
|
* ai-inference mints it (`POST /anonymous/token`) naming the visitor — the id
|
|
10
10
|
* this tab keeps for them, so that a new token is the same visitor, whose
|
|
@@ -136,7 +136,7 @@ export function visitorAgentOf(app) {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* Ask the visitors' runtime for the agent a visitor's token names, made
|
|
139
|
-
* there if it is not (`POST /api/v1/apps/visitors/agent`,
|
|
139
|
+
* there if it is not (`POST /api/v1/apps/visitors/agent`, D-15): an
|
|
140
140
|
* application at its address has its agent made as it is first opened, so
|
|
141
141
|
* that the runtime holds the application before the page follows it.
|
|
142
142
|
* Throws with the runtime's sentence when it refuses.
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* A component an application adds to the A2UI catalog it is drawn with (
|
|
7
|
-
* P-17), as a contribution point, re-exported by `apps/core`: the components
|
|
6
|
+
* A component an application adds to the A2UI catalog it is drawn with (P-17), as a contribution point, re-exported by `apps/core`: the components
|
|
8
7
|
* its developer wrote, contributed by the application's own plugin, so that
|
|
9
8
|
* its page, the elements its code shows and its answers draw them — in that
|
|
10
9
|
* application's workspace, and in no other.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Where the files of an application's folder are served (
|
|
6
|
+
* Where the files of an application's folder are served (P-29), as a
|
|
7
7
|
* contribution point, re-exported by `apps/core`.
|
|
8
8
|
*
|
|
9
9
|
* A component its developer wrote may be a file of its folder (`source:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentSpec } from '../../types/agentspecs';
|
|
2
2
|
/**
|
|
3
|
-
* A block the Canvas may place (
|
|
3
|
+
* A block the Canvas may place (C-12): one component of the catalog of
|
|
4
4
|
* visual components (C-13), contributed by the plugin of the UI that
|
|
5
5
|
* renders it. The Canvas's palette is what the enabled plugins contribute
|
|
6
6
|
* here, and nothing else: a plugin disabled takes its blocks off it, and an
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The Canvas's palette as a contribution point (
|
|
6
|
+
* The Canvas's palette as a contribution point (C-12), re-exported by
|
|
7
7
|
* `apps/core`: kept apart so that reading the palette loads the reactor and
|
|
8
8
|
* the catalogue, and nothing of the workspace.
|
|
9
9
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** The kinds of part an agent is built from on the Canvas. */
|
|
2
2
|
export type CanvasPartKind = 'agent' | 'connection' | 'rule' | 'skill' | 'test' | 'event' | 'model' | 'protocol' | 'ui' | 'character';
|
|
3
3
|
/**
|
|
4
|
-
* A part of an agent the Canvas may place (
|
|
4
|
+
* A part of an agent the Canvas may place (C-20): a connection to a
|
|
5
5
|
* server of the catalogue, a skill, a model, a rule, a test, an event, a
|
|
6
6
|
* protocol it speaks, a UI its answers render in, the character it shows
|
|
7
|
-
* (
|
|
7
|
+
* (PS-04, PS-05) —
|
|
8
8
|
* contributed by the plugin of what it comes from. The toolbox is what the
|
|
9
9
|
* enabled plugins contribute here, and nothing else: a plugin disabled takes
|
|
10
10
|
* its parts off it, as it takes its blocks off the palette.
|
|
@@ -19,7 +19,7 @@ export type CanvasPartContribution = {
|
|
|
19
19
|
says: string;
|
|
20
20
|
emoji?: string;
|
|
21
21
|
/**
|
|
22
|
-
* The harness it runs on, for an agent part (
|
|
22
|
+
* The harness it runs on, for an agent part (SH-43): the catalogue
|
|
23
23
|
* harness's id, whose terms, credential and what it honours the Properties
|
|
24
24
|
* panel reads from `specs/harnesses`.
|
|
25
25
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The agent's toolbox as a contribution point (
|
|
6
|
+
* The agent's toolbox as a contribution point (C-20), beside the
|
|
7
7
|
* Canvas's palette of blocks (`canvasBlocks`, C-12): kept apart so that
|
|
8
8
|
* reading the toolbox loads the reactor and the catalogue, and nothing of the
|
|
9
9
|
* workspace.
|
package/lib/apps/core/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export type SandboxSnapshot = {
|
|
|
62
62
|
* On Datalayer the agent is on its runtime and nowhere else: until one is
|
|
63
63
|
* assigned there is nothing to address, and the host's own server is not a
|
|
64
64
|
* stand-in — on a hosted page it is the page's own origin, which answered a
|
|
65
|
-
* question with a 404 while the pool had no runtime (
|
|
65
|
+
* question with a 404 while the pool had no runtime (P-24, round 9).
|
|
66
66
|
* Every other target's agent is on the host's server, or on the one its
|
|
67
67
|
* sandbox names.
|
|
68
68
|
*/
|
|
@@ -266,7 +266,7 @@ export type ViewControls = {
|
|
|
266
266
|
* message had no way in.
|
|
267
267
|
*
|
|
268
268
|
* `forwardedProps` go with the run as AG-UI's: an application's page says
|
|
269
|
-
* there what it did besides the message (`loop`,
|
|
269
|
+
* there what it did besides the message (`loop`, R-04). Answers why
|
|
270
270
|
* the message cannot go, when it cannot.
|
|
271
271
|
*/
|
|
272
272
|
send?: (message: string, forwardedProps?: Record<string, unknown>) => string | void;
|
|
@@ -369,7 +369,7 @@ export type CommandContribution = {
|
|
|
369
369
|
args?: readonly CommandArgSpec[];
|
|
370
370
|
/**
|
|
371
371
|
* Listed in the composer's `/` menu, as an application's commands are
|
|
372
|
-
* (
|
|
372
|
+
* (P-19). Most commands are not: the menu is for what a person sends,
|
|
373
373
|
* the palette and `/help` for the rest.
|
|
374
374
|
*/
|
|
375
375
|
composer?: boolean;
|
|
@@ -377,8 +377,7 @@ export type CommandContribution = {
|
|
|
377
377
|
};
|
|
378
378
|
/**
|
|
379
379
|
* What goes with every run besides the message, as AG-UI's `forwardedProps`:
|
|
380
|
-
* an application's modes say there which option the person is in (
|
|
381
|
-
* P-19). Read when a message is sent, so it says what is true then; what a
|
|
380
|
+
* an application's modes say there which option the person is in (P-19). Read when a message is sent, so it says what is true then; what a
|
|
382
381
|
* page says with its own message (its action, its files) is merged over it,
|
|
383
382
|
* the `loop` part key by key.
|
|
384
383
|
*/
|
|
@@ -567,7 +566,7 @@ export type ChatSuggestionItem = {
|
|
|
567
566
|
/**
|
|
568
567
|
* The heading it is offered under: openers of one group together, under
|
|
569
568
|
* its name, those without one first — an application's starter's category
|
|
570
|
-
* (
|
|
569
|
+
* (P-20).
|
|
571
570
|
*/
|
|
572
571
|
group?: string;
|
|
573
572
|
};
|
|
@@ -584,7 +583,7 @@ export type ChatSuggestionContribution = {
|
|
|
584
583
|
};
|
|
585
584
|
export declare const LoopChatSuggestion: import("@datalayer/reactor").ContributionPoint<ChatSuggestionContribution>;
|
|
586
585
|
/**
|
|
587
|
-
* A character the floating assistant may show (
|
|
586
|
+
* A character the floating assistant may show (T-24): a drawing — one
|
|
588
587
|
* of Datalayer's own (T-25) or a plugin's — or a character read from a file
|
|
589
588
|
* a person holds the rights to (T-26). The catalogue of characters is what
|
|
590
589
|
* the enabled plugins contribute here, and nothing else; an application
|
|
@@ -654,7 +653,7 @@ export type LoopChatExtrasValue = {
|
|
|
654
653
|
* The ids of the `AgentTools` bundles (Reactor's) the chat hands its agent
|
|
655
654
|
* wherever it runs — on a runtime too, where the plugins' bundles are not
|
|
656
655
|
* otherwise given — each tool running its command on this workspace's
|
|
657
|
-
* reactor (
|
|
656
|
+
* reactor (RU-7): the host page's (`host`), which an embedded
|
|
658
657
|
* application calls as `host_<name>`.
|
|
659
658
|
*/
|
|
660
659
|
agentToolBundles?: string[];
|
|
@@ -695,7 +694,7 @@ export type LoopChatExtrasValue = {
|
|
|
695
694
|
hideOpeners?: boolean;
|
|
696
695
|
/**
|
|
697
696
|
* Openers in place of the contributed ones, live: what an application
|
|
698
|
-
* offers with the profile picked in its composer (
|
|
697
|
+
* offers with the profile picked in its composer (P-20) — the empty
|
|
699
698
|
* chat offers these, and changes them when the profile changes, without
|
|
700
699
|
* rebuilding the reactor. `hiddenOpeners` still applies.
|
|
701
700
|
*/
|
|
@@ -715,7 +714,7 @@ export type LoopChatExtrasValue = {
|
|
|
715
714
|
*
|
|
716
715
|
* While set, the composer's placeholder is `says` and sending hands the
|
|
717
716
|
* words to `send`, never to the model or the runtime: a person talking with
|
|
718
|
-
* a company themselves in a Direct Conversation (
|
|
717
|
+
* a company themselves in a Direct Conversation (P-08), their
|
|
719
718
|
* own words sent as theirs. A refusal `send` throws is said under the
|
|
720
719
|
* composer and the words stay where they were typed. Unset, the composer
|
|
721
720
|
* talks to the agent again.
|
|
@@ -1069,7 +1068,7 @@ export type ChatTurnSnapshot = {
|
|
|
1069
1068
|
/**
|
|
1070
1069
|
* The conversation the turn belongs to, as the runtime knows it (AG-UI's
|
|
1071
1070
|
* thread) — what an application's record keeps its session under, and
|
|
1072
|
-
* what feedback on it names (
|
|
1071
|
+
* what feedback on it names (V-18). Absent when the chat does not say.
|
|
1073
1072
|
*/
|
|
1074
1073
|
thread?: string;
|
|
1075
1074
|
status: ChatTurnStatus;
|
|
@@ -1086,7 +1085,7 @@ export type ChatTurnSnapshot = {
|
|
|
1086
1085
|
activity?: string;
|
|
1087
1086
|
};
|
|
1088
1087
|
/**
|
|
1089
|
-
* One message of the conversation, as a page shows it (
|
|
1088
|
+
* One message of the conversation, as a page shows it (R-01, C-18): a
|
|
1090
1089
|
* person's or the assistant's words, or a tool the assistant called — what
|
|
1091
1090
|
* the Chat component draws, bound to a chat application's `/messages`.
|
|
1092
1091
|
*/
|
|
@@ -1111,7 +1110,7 @@ export type ChatTurnContribution = {
|
|
|
1111
1110
|
conversation: ReadonlySignal<ConversationEntry[]>;
|
|
1112
1111
|
/**
|
|
1113
1112
|
* What the application is doing, as its chat says it beside its face
|
|
1114
|
-
* (
|
|
1113
|
+
* (T-08) — waiting for the person on an approval, paused when its
|
|
1115
1114
|
* deployment is — for whoever acts it out away from the chat: the
|
|
1116
1115
|
* floating assistant (T-22).
|
|
1117
1116
|
*/
|
package/lib/apps/core/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import { defineContributionPoint, defineGate } from '@datalayer/reactor';
|
|
|
21
21
|
* On Datalayer the agent is on its runtime and nowhere else: until one is
|
|
22
22
|
* assigned there is nothing to address, and the host's own server is not a
|
|
23
23
|
* stand-in — on a hosted page it is the page's own origin, which answered a
|
|
24
|
-
* question with a 404 while the pool had no runtime (
|
|
24
|
+
* question with a 404 while the pool had no runtime (P-24, round 9).
|
|
25
25
|
* Every other target's agent is on the host's server, or on the one its
|
|
26
26
|
* sandbox names.
|
|
27
27
|
*/
|
|
@@ -170,15 +170,14 @@ export const LoopAgentBlueprint = defineContributionPoint('loop.agent.blueprint'
|
|
|
170
170
|
export const LoopChatSuggestion = defineContributionPoint('loop.chat.suggestion');
|
|
171
171
|
export const LoopAssistantCharacter = defineContributionPoint('loop.assistant.character');
|
|
172
172
|
export const LoopAssistantMenu = defineContributionPoint('loop.assistant.menu');
|
|
173
|
-
// A block the Canvas may place (
|
|
173
|
+
// A block the Canvas may place (C-12), in a module of its own so that
|
|
174
174
|
// the palette is read without the rest of the contracts.
|
|
175
175
|
export { LoopCanvasBlock } from './canvasBlocks';
|
|
176
|
-
// A part of an agent the Canvas may place (
|
|
176
|
+
// A part of an agent the Canvas may place (C-20), beside the blocks.
|
|
177
177
|
export { LoopCanvasPart, } from './canvasParts';
|
|
178
|
-
// A component an application adds to the catalog it is drawn with (
|
|
179
|
-
// P-17): the components its developer wrote, for its workspace alone.
|
|
178
|
+
// A component an application adds to the catalog it is drawn with (P-17): the components its developer wrote, for its workspace alone.
|
|
180
179
|
export { LoopA2uiComponent, } from './a2uiComponents';
|
|
181
|
-
// Where the files of an application's folder are served (
|
|
180
|
+
// Where the files of an application's folder are served (P-29): said
|
|
182
181
|
// by the page side its package carries.
|
|
183
182
|
export { LoopAppFiles } from './appFiles';
|
|
184
183
|
/**
|