@datalayer/agent-runtimes 1.5.71 → 1.5.73
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/lib/Agent.js +2 -2
- package/lib/AgentDocument.js +6 -6
- package/lib/AgentNode.js +4 -4
- package/lib/AgentNotebook.js +3 -3
- package/lib/App.js +2 -2
- package/lib/AppExamples2.js +3 -4
- package/lib/agent-document-main.js +1 -1
- package/lib/agent-main.js +1 -1
- package/lib/agent-node-main.js +1 -1
- package/lib/agent-notebook-main.js +1 -1
- package/lib/agents/AgentDetails.js +5 -5
- package/lib/agents/AgentRuntimeChat.js +3 -3
- package/lib/api/index.js +5 -5
- package/lib/api/scheduler/index.js +1 -1
- package/lib/apps/apps/AppBrowserSandbox.js +3 -3
- package/lib/apps/apps/AppComposer.js +6 -6
- package/lib/apps/apps/AppFeedback.js +3 -3
- package/lib/apps/apps/AppKept.js +3 -3
- package/lib/apps/apps/AppRenderer.js +26 -26
- package/lib/apps/apps/AppRuntimePlugins.js +3 -3
- package/lib/apps/apps/agent.js +2 -2
- package/lib/apps/apps/appspec.js +5 -5
- package/lib/apps/apps/browserSandbox.js +1 -1
- package/lib/apps/apps/checks.js +24 -24
- package/lib/apps/apps/customComponents.js +1 -1
- package/lib/apps/apps/index.js +18 -18
- package/lib/apps/apps/language.js +1 -1
- package/lib/apps/apps/records.js +3 -3
- package/lib/apps/apps/rules.js +1 -1
- package/lib/apps/apps/sceneChecks.js +6 -6
- package/lib/apps/apps/sceneShape.js +2 -2
- package/lib/apps/apps/sceneYaml.js +2 -2
- package/lib/apps/apps/yaml.js +1 -1
- package/lib/apps/core/index.js +7 -7
- package/lib/apps/embed/AppEmbed.d.ts +1 -1
- package/lib/apps/embed/AppEmbed.js +11 -11
- package/lib/apps/embed/LoopEmbed.js +4 -4
- package/lib/apps/embed/datalayer-app.js +1 -1
- package/lib/apps/embed/element.js +7 -7
- package/lib/apps/embed/embedConfig.js +2 -2
- package/lib/apps/embed/embedSession.js +2 -2
- package/lib/apps/embed/hostBridge.js +3 -3
- package/lib/apps/embed/visitorApp.js +3 -3
- package/lib/apps/extensions.js +4 -4
- package/lib/apps/index.js +70 -70
- package/lib/apps/plugins/a2a-sidebar/A2ASidebar.js +6 -6
- package/lib/apps/plugins/a2a-sidebar/index.js +3 -3
- package/lib/apps/plugins/a2ui/A2uiView.js +2 -2
- package/lib/apps/plugins/a2ui/index.js +3 -3
- package/lib/apps/plugins/a2ui-scene/index.js +1 -1
- package/lib/apps/plugins/a2ui-surface/AnswerShows.js +3 -3
- package/lib/apps/plugins/a2ui-surface/InlineSurface.js +1 -1
- package/lib/apps/plugins/a2ui-surface/SurfaceToolResult.js +4 -4
- package/lib/apps/plugins/a2ui-surface/index.js +7 -7
- package/lib/apps/plugins/a2ui-surface/ownComponents.js +2 -2
- package/lib/apps/plugins/agent-a2a/index.js +1 -1
- package/lib/apps/plugins/agent-a2ui/index.js +1 -1
- package/lib/apps/plugins/agent-a2ui-jupyter-output/index.js +1 -1
- package/lib/apps/plugins/agent-capacity/index.js +1 -1
- package/lib/apps/plugins/agent-checkpoints/index.js +1 -1
- package/lib/apps/plugins/agent-code-sandbox/index.js +1 -1
- package/lib/apps/plugins/agent-code-sandboxes/index.js +1 -1
- package/lib/apps/plugins/agent-codemode/index.js +1 -1
- package/lib/apps/plugins/agent-compaction/index.js +1 -1
- package/lib/apps/plugins/agent-evals/index.js +1 -1
- package/lib/apps/plugins/agent-guardrails/index.js +1 -1
- package/lib/apps/plugins/agent-hooks/index.js +1 -1
- package/lib/apps/plugins/agent-inference/index.js +1 -1
- package/lib/apps/plugins/agent-mcp/index.js +1 -1
- package/lib/apps/plugins/agent-memory/index.js +1 -1
- package/lib/apps/plugins/agent-monitoring/index.js +1 -1
- package/lib/apps/plugins/agent-notifications/index.js +1 -1
- package/lib/apps/plugins/agent-otel/index.js +1 -1
- package/lib/apps/plugins/agent-outputs/index.js +1 -1
- package/lib/apps/plugins/agent-parameters/index.js +1 -1
- package/lib/apps/plugins/agent-skills/index.js +1 -1
- package/lib/apps/plugins/agent-subagents/index.js +1 -1
- package/lib/apps/plugins/agent-tool-approvals/index.js +1 -1
- package/lib/apps/plugins/agent-triggers/index.js +1 -1
- package/lib/apps/plugins/agents/AgentSummaryPanel.js +5 -5
- package/lib/apps/plugins/agents/AnonymousKeyBadge.js +2 -2
- package/lib/apps/plugins/agents/DatalayerAgentBridge.js +7 -7
- package/lib/apps/plugins/agents/DatalayerAgentMount.js +1 -1
- package/lib/apps/plugins/agents/SandboxSelector.js +3 -3
- package/lib/apps/plugins/agents/SandboxStatusBridge.js +2 -2
- package/lib/apps/plugins/agents/SandboxView.js +1 -1
- package/lib/apps/plugins/agents/TeamMemberPicker.js +2 -2
- package/lib/apps/plugins/agents/index.js +8 -8
- package/lib/apps/plugins/agents/plugin.js +10 -10
- package/lib/apps/plugins/agents/specSubagents.js +1 -1
- package/lib/apps/plugins/agents/switchable.js +3 -3
- package/lib/apps/plugins/agents/team.js +2 -2
- package/lib/apps/plugins/agents/useSandboxService.js +1 -1
- package/lib/apps/plugins/agents/useTeamSelection.js +1 -1
- package/lib/apps/plugins/agentspecs/AgentspecPicker.js +1 -1
- package/lib/apps/plugins/agentspecs/index.js +2 -2
- package/lib/apps/plugins/app-activity/AppActivity.js +2 -2
- package/lib/apps/plugins/app-activity/index.js +3 -3
- package/lib/apps/plugins/app-components/index.js +4 -4
- package/lib/apps/plugins/app-computer/AppComputer.js +3 -3
- package/lib/apps/plugins/app-computer/index.js +4 -4
- package/lib/apps/plugins/app-elements/AppElements.js +2 -2
- package/lib/apps/plugins/app-elements/QuestionView.js +1 -1
- package/lib/apps/plugins/app-elements/index.js +6 -6
- package/lib/apps/plugins/app-page/AppPage.js +7 -7
- package/lib/apps/plugins/app-page/appPageModel.js +1 -1
- package/lib/apps/plugins/app-page/index.js +6 -6
- package/lib/apps/plugins/app-rules/AppRulesCard.js +5 -5
- package/lib/apps/plugins/app-rules/index.js +4 -4
- package/lib/apps/plugins/assistant/index.js +12 -12
- package/lib/apps/plugins/assistant-characters/index.d.ts +1 -1
- package/lib/apps/plugins/assistant-characters/index.js +3 -3
- package/lib/apps/plugins/canvas-blocks/index.js +2 -2
- package/lib/apps/plugins/canvas-parts/index.js +10 -10
- package/lib/apps/plugins/chat/ChatView.js +43 -43
- package/lib/apps/plugins/chat/SessionActionsMenu.js +2 -2
- package/lib/apps/plugins/chat/index.js +4 -4
- package/lib/apps/plugins/chat/sessionActions.js +2 -2
- package/lib/apps/plugins/chat-extras/index.js +1 -1
- package/lib/apps/plugins/chat-header/HeaderView.js +1 -1
- package/lib/apps/plugins/chat-header/index.js +2 -2
- package/lib/apps/plugins/chat-view/index.js +2 -2
- package/lib/apps/plugins/checkpoints-sidebar/CheckpointsSidebar.js +2 -2
- package/lib/apps/plugins/checkpoints-sidebar/index.js +3 -3
- package/lib/apps/plugins/commands/index.js +1 -1
- package/lib/apps/plugins/decks/DecksMenu.js +2 -2
- package/lib/apps/plugins/decks/index.js +8 -8
- package/lib/apps/plugins/document/DocumentView.js +5 -5
- package/lib/apps/plugins/document/index.js +4 -4
- package/lib/apps/plugins/document/openingDocument.js +1 -1
- package/lib/apps/plugins/document-toolbar/SandboxStatusItem.js +2 -2
- package/lib/apps/plugins/document-toolbar/index.js +3 -3
- package/lib/apps/plugins/document-toolbar/plugin.js +3 -3
- package/lib/apps/plugins/document-view/index.js +1 -1
- package/lib/apps/plugins/graph/GraphToggle.js +1 -1
- package/lib/apps/plugins/graph/index.js +5 -5
- package/lib/apps/plugins/input-prompt/ComposerView.js +2 -2
- package/lib/apps/plugins/input-prompt/index.js +2 -2
- package/lib/apps/plugins/models/index.js +1 -1
- package/lib/apps/plugins/notebook/NotebookView.js +5 -5
- package/lib/apps/plugins/notebook/index.js +4 -4
- package/lib/apps/plugins/notebook-toolbar/index.js +3 -3
- package/lib/apps/plugins/notebook-toolbar/plugin.js +3 -3
- package/lib/apps/plugins/notebook-view/index.js +1 -1
- package/lib/apps/plugins/page-layout/SplitLayout.js +1 -1
- package/lib/apps/plugins/page-layout/TurnPanel.js +5 -5
- package/lib/apps/plugins/page-layout/index.js +5 -5
- package/lib/apps/plugins/pap-example/index.js +1 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +1 -1
- package/lib/apps/plugins/pap-sign-in/index.js +5 -5
- package/lib/apps/plugins/pap-sign-in/signIn.js +1 -1
- package/lib/apps/plugins/plugins-panel/index.js +1 -1
- package/lib/apps/plugins/prompt/index.js +3 -3
- package/lib/apps/plugins/shell/editorChoice.js +1 -1
- package/lib/apps/plugins/shell/index.js +4 -4
- package/lib/apps/plugins/shell/useEditorPreviews.js +1 -1
- package/lib/apps/plugins/shield-displays/DiffCard.js +1 -1
- package/lib/apps/plugins/shield-displays/TerminalCard.js +1 -1
- package/lib/apps/plugins/shield-displays/index.js +5 -5
- package/lib/apps/plugins/subagent-activity/SubagentPulse.js +3 -3
- package/lib/apps/plugins/subagent-activity/index.js +4 -4
- package/lib/apps/plugins/view-switch/index.js +3 -3
- package/lib/apps/plugins/window-frame/WindowFrame.js +1 -1
- package/lib/apps/plugins/window-frame/index.js +5 -5
- package/lib/apps/presets.js +21 -21
- package/lib/apps/shell/LoopWorkspace.js +4 -4
- package/lib/apps/shell/SidebarRail.js +1 -1
- package/lib/apps/shell/ViewSwitcher.js +1 -1
- package/lib/apps/shell/WorkspaceFullScreenAction.js +2 -2
- package/lib/apps/shell/index.js +7 -7
- package/lib/chat/Chat.js +7 -7
- package/lib/chat/ChatFloating.d.ts +1 -1
- package/lib/chat/ChatFloating.js +23 -23
- package/lib/chat/ChatInline.js +4 -4
- package/lib/chat/ChatLanguage.js +2 -2
- package/lib/chat/ChatPopupStandalone.js +4 -4
- package/lib/chat/ChatSidebar.js +2 -2
- package/lib/chat/ChatStandalone.js +3 -3
- package/lib/chat/assistant/AgentDetailsDialog.js +1 -1
- package/lib/chat/assistant/AssistantStage.d.ts +1 -1
- package/lib/chat/assistant/AssistantStage.js +16 -16
- package/lib/chat/assistant/Avatar3D.d.ts +1 -1
- package/lib/chat/assistant/Avatar3D.js +1 -1
- package/lib/chat/assistant/BalloonParts.js +8 -8
- package/lib/chat/assistant/BalloonVisual.js +1 -1
- package/lib/chat/assistant/ConversationBalloon.js +1 -1
- package/lib/chat/assistant/DecisionAsk.js +1 -1
- package/lib/chat/assistant/SandboxDetailsDialog.js +1 -1
- package/lib/chat/assistant/SpeechBalloon.js +5 -5
- package/lib/chat/assistant/SpriteCharacter.js +2 -2
- package/lib/chat/assistant/{avatar3d.d.ts → avatar3dModel.d.ts} +1 -1
- package/lib/chat/assistant/formats/acf.js +3 -3
- package/lib/chat/assistant/formats/acs.js +3 -3
- package/lib/chat/assistant/formats/agentCompression.js +1 -1
- package/lib/chat/assistant/formats/blobs.js +1 -1
- package/lib/chat/assistant/formats/clippy.js +3 -3
- package/lib/chat/assistant/formats/files.js +4 -4
- package/lib/chat/assistant/formats/index.js +7 -7
- package/lib/chat/assistant/formats/objectLiteral.js +1 -1
- package/lib/chat/assistant/toolLine.js +2 -2
- package/lib/chat/base/ChatBase.js +45 -45
- package/lib/chat/base/fullContextMessages.js +1 -1
- package/lib/chat/base/uiOps.js +3 -3
- package/lib/chat/display/EmptyState.js +3 -3
- package/lib/chat/document/EphemeralDocument.js +4 -4
- package/lib/chat/header/ChatHeaderBase.js +2 -2
- package/lib/chat/header/ChatViewModeToggle.js +1 -1
- package/lib/chat/index.js +24 -24
- package/lib/chat/indicators/McpStatusIndicator.js +1 -1
- package/lib/chat/indicators/SandboxStatusIndicator.js +1 -1
- package/lib/chat/indicators/index.js +3 -3
- package/lib/chat/marks/SpecMark.js +1 -1
- package/lib/chat/marks/index.js +3 -3
- package/lib/chat/marks/toolMarks.js +4 -4
- package/lib/chat/messages/ChatMarkdown.js +3 -3
- package/lib/chat/messages/ChatMessageList.js +13 -13
- package/lib/chat/messages/ChatMessages.js +2 -2
- package/lib/chat/messages/FormSubmissionMessage.js +1 -1
- package/lib/chat/messages/TurnFooter.js +2 -2
- package/lib/chat/notebook/EphemeralNotebook.js +4 -4
- package/lib/chat/parts/MessagePart.js +4 -4
- package/lib/chat/parts/ReasoningPart.js +2 -2
- package/lib/chat/parts/TextPart.js +2 -2
- package/lib/chat/parts/ToolPart.js +1 -1
- package/lib/chat/parts/index.js +5 -5
- package/lib/chat/presence/Presence.js +1 -1
- package/lib/chat/presence/presenceStatus.js +1 -1
- package/lib/chat/prompt/InputPrompt.js +9 -9
- package/lib/chat/prompt/InputPromptBase.js +6 -6
- package/lib/chat/prompt/InputPromptLexical.js +4 -4
- package/lib/chat/prompt/footer/BelowPromptFooter.js +1 -1
- package/lib/chat/prompt/footer/InPromptFooter.js +2 -2
- package/lib/chat/prompt/footer/index.js +2 -2
- package/lib/chat/prompt/header/BelowPromptHeader.js +1 -1
- package/lib/chat/prompt/header/InPromptHeader.js +1 -1
- package/lib/chat/prompt/header/index.js +2 -2
- package/lib/chat/prompt/index.js +10 -10
- package/lib/chat/prompt/menus/SkillsMenu.js +1 -1
- package/lib/chat/prompt/menus/SuggestionsMenu.js +1 -1
- package/lib/chat/prompt/menus/ToolsMenu.js +1 -1
- package/lib/chat/prompt/menus/index.js +6 -6
- package/lib/chat/prompt/plugins/AgentMentionPlugin.js +1 -1
- package/lib/chat/prompt/plugins/MentionNode.js +1 -1
- package/lib/chat/prompt/stack.js +1 -1
- package/lib/chat/tools/SubagentActivity.js +1 -1
- package/lib/chat/tools/ToolApprovalBanner.js +1 -1
- package/lib/chat/tools/ToolApprovalDialog.js +1 -1
- package/lib/chat/tools/ToolCallDisplay.js +2 -2
- package/lib/chat/tools/index.js +5 -5
- package/lib/chat/usage/ContextPie.js +1 -1
- package/lib/chat/words.js +1 -1
- package/lib/client/AgentRuntimesClient.js +2 -2
- package/lib/client/AgentsMixin.js +8 -8
- package/lib/client/index.js +3 -3
- package/lib/client/mixins/RuntimesMixin.js +6 -6
- package/lib/client/mixins/SpacerMixin.js +11 -11
- package/lib/client/utils/spacerUtils.js +2 -2
- package/lib/collaboration/DatalayerCollaborationProvider.js +1 -1
- package/lib/collaboration/index.js +2 -2
- package/lib/components/a2ui/custom/index.js +6 -6
- package/lib/components/a2ui/datalayer/Chart.js +2 -2
- package/lib/components/a2ui/datalayer/Chat.js +5 -5
- package/lib/components/a2ui/datalayer/Download.js +2 -2
- package/lib/components/a2ui/datalayer/Evidence.js +2 -2
- package/lib/components/a2ui/datalayer/FileUpload.js +3 -3
- package/lib/components/a2ui/datalayer/Form.js +3 -3
- package/lib/components/a2ui/datalayer/SchemaForm.js +1 -1
- package/lib/components/a2ui/datalayer/Table.js +2 -2
- package/lib/components/a2ui/datalayer/implementation.js +1 -1
- package/lib/components/a2ui/datalayer/index.js +17 -17
- package/lib/components/a2ui/datalayer/schema.js +1 -1
- package/lib/components/a2ui/index.js +7 -7
- package/lib/components/a2ui/visibleWhen.js +2 -2
- package/lib/components/agents/AgentSummary.js +1 -1
- package/lib/components/agents/index.js +1 -1
- package/lib/components/cards/NotificationEventCard.js +2 -2
- package/lib/components/cards/OutputCard.js +2 -2
- package/lib/components/cards/index.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxCellVariablesDialog.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxLauncher.js +9 -9
- package/lib/components/code-sandboxes/CodeSandboxPicker.js +9 -9
- package/lib/components/code-sandboxes/CodeSandboxPickerCell.js +7 -7
- package/lib/components/code-sandboxes/CodeSandboxUtils.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxVariables.js +1 -1
- package/lib/components/code-sandboxes/NewCodeSandboxControls.js +3 -3
- package/lib/components/code-sandboxes/index.js +14 -14
- package/lib/components/context/SpaceSelect.js +1 -1
- package/lib/components/flashes/FlashDisclaimer.js +1 -1
- package/lib/components/icons/index.js +1 -1
- package/lib/components/index.js +6 -6
- package/lib/components/inspector/AgentInspector.js +2 -2
- package/lib/components/inspector/AgentInspectorDialog.js +1 -1
- package/lib/components/inspector/a2aSpans.js +1 -1
- package/lib/components/inspector/chatSpans.js +2 -2
- package/lib/components/inspector/classify.js +1 -1
- package/lib/components/inspector/index.js +6 -6
- package/lib/components/nbgrader/index.js +1 -1
- package/lib/components/progress/index.js +1 -1
- package/lib/components/scheduler/ScheduleMenu.js +1 -1
- package/lib/components/scheduler/index.js +1 -1
- package/lib/components/snapshots/SandboxSnapshotMenu.js +2 -2
- package/lib/components/snapshots/index.js +1 -1
- package/lib/components/teams/A2ATeamGraph.d.ts +1 -1
- package/lib/components/teams/A2ATeamGraph.js +8 -8
- package/lib/components/teams/AnswerSurfaces.js +1 -1
- package/lib/components/teams/AnswerSurfacesView.js +4 -4
- package/lib/components/teams/NotebookPreview.js +2 -2
- package/lib/components/teams/NotebookPreviewView.js +1 -1
- package/lib/components/teams/SceneTranscript.d.ts +1 -1
- package/lib/components/teams/SceneTranscript.js +2 -2
- package/lib/components/teams/SceneView.d.ts +1 -1
- package/lib/components/teams/SceneView.js +1 -1
- package/lib/components/teams/TeamNotebook.js +1 -1
- package/lib/components/teams/TeamNotebookView.js +3 -3
- package/lib/components/teams/index.d.ts +1 -1
- package/lib/components/teams/index.js +13 -13
- package/lib/components/teams/sceneStage.js +2 -2
- package/lib/components/teams/{sceneTranscript.d.ts → sceneTranscriptRules.d.ts} +1 -1
- package/lib/components/teams/{sceneTranscript.js → sceneTranscriptRules.js} +1 -1
- package/lib/components/teams/teamConnections.js +3 -3
- package/lib/components/teams/useA2ATeam.js +6 -6
- package/lib/components/teams/usePeerSandbox.js +1 -1
- package/lib/components/tokens/index.js +1 -1
- package/lib/config/AgentConfiguration.js +2 -2
- package/lib/config/index.js +2 -2
- package/lib/context/CostUsageChart.js +4 -4
- package/lib/context/MessageHistory.js +1 -1
- package/lib/context/TokenUsageChart.js +4 -4
- package/lib/examples/A2UiAgentExample.js +9 -9
- package/lib/examples/A2UiComponentsGalleryExample.js +4 -4
- package/lib/examples/A2UiContactCardExample.js +4 -4
- package/lib/examples/A2UiJupyterOutputExample.js +11 -11
- package/lib/examples/A2UiRestaurantExample.js +4 -4
- package/lib/examples/A2UiViewerExample.js +6 -6
- package/lib/examples/AgUiAgenticExample.js +4 -4
- package/lib/examples/AgUiBackendToolRenderingExample.js +6 -6
- package/lib/examples/AgUiHaikuGenUiExample.js +6 -6
- package/lib/examples/AgUiHumanInTheLoopExample.js +5 -5
- package/lib/examples/AgUiSharedStateExample.js +4 -4
- package/lib/examples/AgUiToolsBasedGenUiExample.js +4 -4
- package/lib/examples/AgentA2AExample.js +7 -7
- package/lib/examples/AgentA2ATeamExample.js +10 -10
- package/lib/examples/AgentCheckpointsExample.js +14 -14
- package/lib/examples/AgentCodeSandboxExample.js +6 -6
- package/lib/examples/AgentCodeSandboxesExample.js +5 -5
- package/lib/examples/AgentCodemodeExample.js +12 -12
- package/lib/examples/AgentCompactionExample.js +8 -8
- package/lib/examples/AgentDecideExample.js +6 -6
- package/lib/examples/AgentEvalsExample.js +11 -11
- package/lib/examples/AgentGuardrailsExample.js +17 -17
- package/lib/examples/AgentHooksExample.js +5 -5
- package/lib/examples/AgentInferenceProviderExample.js +6 -6
- package/lib/examples/AgentMCPExample.js +14 -14
- package/lib/examples/AgentMemoryExample.js +11 -11
- package/lib/examples/AgentMonitoringExample.js +19 -19
- package/lib/examples/AgentNotificationsExample.js +9 -9
- package/lib/examples/AgentOtelExample.js +6 -6
- package/lib/examples/AgentOutputsExample.js +8 -8
- package/lib/examples/AgentParametersExample.js +6 -6
- package/lib/examples/AgentSkillsExample.js +9 -9
- package/lib/examples/AgentSubagentsExample.js +8 -8
- package/lib/examples/AgentToolApprovalsExample.js +10 -10
- package/lib/examples/AgentTriggersExample.js +14 -14
- package/lib/examples/AgentspecsExample.js +11 -11
- package/lib/examples/AvatarExample.js +8 -8
- package/lib/examples/AvatarGalleryExample.js +8 -8
- package/lib/examples/CellExample.js +2 -2
- package/lib/examples/ChatCustomExample.js +4 -4
- package/lib/examples/ChatExample.js +8 -8
- package/lib/examples/ChatStandaloneExample.js +2 -2
- package/lib/examples/CopilotKitLexicalExample.js +4 -4
- package/lib/examples/CopilotKitNotebookExample.js +4 -4
- package/lib/examples/DecksAgent.js +4 -4
- package/lib/examples/DocumentPageAgent.js +2 -2
- package/lib/examples/Lexical2Example.js +9 -9
- package/lib/examples/LexicalAgentExample.js +7 -7
- package/lib/examples/LexicalAgentSidebarExample.js +8 -8
- package/lib/examples/LoopAppComputerExample.js +4 -4
- package/lib/examples/LoopShellExample.js +6 -6
- package/lib/examples/LoopStrategyExample.js +6 -6
- package/lib/examples/LoopWorkspaceEmbed.js +1 -1
- package/lib/examples/LoopWorkspaceExample.js +11 -11
- package/lib/examples/NotebookAgentExample.js +5 -5
- package/lib/examples/NotebookAgentSidebarExample.js +5 -5
- package/lib/examples/NotebookCollaborationExample.js +6 -6
- package/lib/examples/NotebookExample.js +2 -2
- package/lib/examples/NotebookPageAgent.js +2 -2
- package/lib/examples/PapAccountTokensExample.js +4 -4
- package/lib/examples/PapAgentIdentityExample.js +4 -4
- package/lib/examples/PapAuthorizationBoundaryExample.js +4 -4
- package/lib/examples/PapCompanyDiscoveryExample.js +4 -4
- package/lib/examples/PapConversationControlExample.js +4 -4
- package/lib/examples/PapConversationStreamingExample.js +4 -4
- package/lib/examples/PapDpopProofExample.js +4 -4
- package/lib/examples/PapGuidedJourneyExample.js +4 -4
- package/lib/examples/PapMediatedSignInExample.js +4 -4
- package/lib/examples/PapOperationsExample.js +4 -4
- package/lib/examples/PapSessionLifecycleExample.js +4 -4
- package/lib/examples/PapSignInDisplayExample.js +4 -4
- package/lib/examples/PapTwoCompaniesExample.js +4 -4
- package/lib/examples/PapUserWithACompanyExample.js +4 -4
- package/lib/examples/ProtocolSignedRequestsExample.js +2 -2
- package/lib/examples/ProtocolUcpCheckoutExample.js +2 -2
- package/lib/examples/ScenesExample.js +8 -8
- package/lib/examples/ShieldHarnessExample.js +5 -5
- package/lib/examples/ShieldPolicyExample.js +2 -2
- package/lib/examples/VoiceChatExample.js +4 -4
- package/lib/examples/components/AuthRequiredView.js +1 -1
- package/lib/examples/components/ExampleWrapper.js +3 -3
- package/lib/examples/components/Header.js +2 -2
- package/lib/examples/components/LexicalEditor.js +1 -1
- package/lib/examples/components/MainContent.js +1 -1
- package/lib/examples/components/haiku/HaikuDisplay.js +1 -1
- package/lib/examples/components/haiku/index.js +2 -2
- package/lib/examples/components/index.js +13 -13
- package/lib/examples/components/weather/index.js +1 -1
- package/lib/examples/example-selector.js +78 -78
- package/lib/examples/hooks/useExampleAgentProtocol.js +2 -2
- package/lib/examples/hooks/useExampleAgentRuntime.js +4 -4
- package/lib/examples/hooks/useExampleAgentRuntimes.js +4 -4
- package/lib/examples/hooks/useExampleJupyterAgent.js +8 -8
- package/lib/examples/hooks/useToolRenderers.js +1 -1
- package/lib/examples/index.js +66 -66
- package/lib/examples/lexical/editorConfig.js +1 -1
- package/lib/examples/main.js +21 -21
- package/lib/examples/pap/PapAccountTokensView.js +1 -1
- package/lib/examples/pap/PapAgentIdentityView.js +2 -2
- package/lib/examples/pap/PapAuthorizationBoundaryView.js +1 -1
- package/lib/examples/pap/PapCompanyDiscoveryView.js +2 -2
- package/lib/examples/pap/PapConversationControlView.js +1 -1
- package/lib/examples/pap/PapConversationStreamingView.js +1 -1
- package/lib/examples/pap/PapDpopProofView.js +1 -1
- package/lib/examples/pap/PapGuidedJourneyView.js +2 -2
- package/lib/examples/pap/PapMediatedSignInView.js +1 -1
- package/lib/examples/pap/PapOperationsView.js +1 -1
- package/lib/examples/pap/PapSessionLifecycleView.js +1 -1
- package/lib/examples/pap/PapSignInDisplayView.js +2 -2
- package/lib/examples/pap/PapTraceView.js +1 -1
- package/lib/examples/pap/PapTwoCompaniesView.js +1 -1
- package/lib/examples/pap/PapUserWithACompanyView.js +1 -1
- package/lib/examples/pap/papSignInCases.js +1 -1
- package/lib/examples/protocols/signedRequestsDemo.js +1 -1
- package/lib/examples/protocols/ucpCheckoutDemo.js +3 -3
- package/lib/examples/scenes/A2UiComponentsGalleryScene.js +4 -4
- package/lib/examples/scenes/A2UiContactCardScene.js +3 -3
- package/lib/examples/scenes/A2UiRestaurantScene.js +5 -5
- package/lib/examples/scenes/A2UiViewerScene.js +3 -3
- package/lib/examples/utils/AvatarGalleryGrid.d.ts +1 -1
- package/lib/examples/utils/AvatarGalleryGrid.js +8 -8
- package/lib/examples/utils/a2ui.js +1 -1
- package/lib/examples/utils/a2uiMarkdownProvider.js +1 -1
- package/lib/examples/utils/avatarGallery.js +2 -2
- package/lib/examples/utils/clippyJsCharacters.js +1 -1
- package/lib/examples/utils/examplesStore.js +1 -1
- package/lib/examples/utils/notebookToolbarItems.js +1 -1
- package/lib/examples/utils/owlCharacterPlugin.js +1 -1
- package/lib/examples/utils/teardownAgents.js +1 -1
- package/lib/examples/utils/testSpriteCharacter.js +1 -1
- package/lib/examples/utils/themedProvider.js +1 -1
- package/lib/examples/utils/useExampleAgentRuntimesUrl.js +3 -3
- package/lib/examples2/DatalayerNotebookExample.js +3 -3
- package/lib/examples2/NativeNavigationExample.js +1 -1
- package/lib/examples2/NotebookMutationsKernel.js +2 -2
- package/lib/examples2/NotebookMutationsServiceManager.js +2 -2
- package/lib/examples2/ReactRouterExample.js +1 -1
- package/lib/examples2/example-selector.js +7 -7
- package/lib/examples2/index.js +2 -2
- package/lib/examples2/main.js +5 -5
- package/lib/hooks/index.js +26 -26
- package/lib/hooks/useAgUi.js +1 -1
- package/lib/hooks/useAgentRuntimes.js +9 -9
- package/lib/hooks/useAgentsCatalog.js +1 -1
- package/lib/hooks/useAgentsService.js +1 -1
- package/lib/hooks/useBrowserAgent.js +1 -1
- package/lib/hooks/useBrowserInference.js +2 -2
- package/lib/hooks/useCellOutputshot.js +1 -1
- package/lib/hooks/useChat.js +6 -6
- package/lib/hooks/useCheckpoints.js +10 -10
- package/lib/hooks/useConfig.js +1 -1
- package/lib/hooks/useContextSnapshot.js +1 -1
- package/lib/hooks/useNotifications.js +1 -1
- package/lib/hooks/useProgressTask.js +1 -1
- package/lib/hooks/useSandbox.js +1 -1
- package/lib/hooks/useSkills.js +1 -1
- package/lib/hooks/useToolApprovals.js +2 -2
- package/lib/hooks/useTools.js +1 -1
- package/lib/identity/AgentIdentity.js +3 -3
- package/lib/identity/IdentityConnect.js +2 -2
- package/lib/identity/OAuthCallback.js +1 -1
- package/lib/identity/identityStore.js +2 -2
- package/lib/identity/index.js +8 -8
- package/lib/identity/useIdentity.js +1 -1
- package/lib/index.js +11 -11
- package/lib/inference/DatalayerInferenceProvider.js +2 -2
- package/lib/inference/SelfHostedInferenceProvider.js +2 -2
- package/lib/inference/index.js +3 -3
- package/lib/jupyter/exec/Snippets.js +1 -1
- package/lib/jupyter/exec/index.js +2 -2
- package/lib/jupyter/index.js +3 -3
- package/lib/jupyter/useResumeServerExecutions.js +1 -1
- package/lib/lexical/ChatInlinePlugin.js +1 -1
- package/lib/lexical/index.js +2 -2
- package/lib/loop-example-main.js +2 -2
- package/lib/loop-main.js +9 -9
- package/lib/main.js +1 -1
- package/lib/mcp/index.js +1 -1
- package/lib/middleware/index.js +1 -1
- package/lib/mocks/models/CourseMock.js +1 -1
- package/lib/models/CodeSandboxSnapshotDTO.js +1 -1
- package/lib/models/ItemDTO.js +1 -1
- package/lib/models/LexicalDTO.js +2 -2
- package/lib/models/NotebookDTO.js +2 -2
- package/lib/models/Page.js +1 -1
- package/lib/models/RuntimeDTO.js +1 -1
- package/lib/models/SpaceDTO.js +7 -7
- package/lib/models/index.js +32 -32
- package/lib/portable/activity.js +1 -1
- package/lib/portable/approvalCard.js +1 -1
- package/lib/portable/attention.js +1 -1
- package/lib/portable/conversation.js +4 -4
- package/lib/portable/displays.js +1 -1
- package/lib/portable/fixtures.js +2 -2
- package/lib/portable/hosts/agentClient.js +4 -4
- package/lib/portable/hosts/client.js +1 -1
- package/lib/portable/hosts/deadLetters.js +3 -3
- package/lib/portable/hosts/deliveries.js +1 -1
- package/lib/portable/hosts/index.js +21 -21
- package/lib/portable/hosts/postgresQueue.js +1 -1
- package/lib/portable/hosts/quotas.js +1 -1
- package/lib/portable/hosts/schema.js +1 -1
- package/lib/portable/index.js +24 -24
- package/lib/portable/localApprovals.js +1 -1
- package/lib/portable/runMeasures.js +2 -2
- package/lib/portable/sessionList.js +1 -1
- package/lib/portable/sessions.js +4 -4
- package/lib/portable/thread.js +2 -2
- package/lib/portable/views.js +1 -1
- package/lib/protocols/A2AAdapter.js +3 -3
- package/lib/protocols/ACPAdapter.js +2 -2
- package/lib/protocols/AGUIAdapter.js +4 -4
- package/lib/protocols/BrowserAgentAdapter.js +3 -3
- package/lib/protocols/VercelAIAdapter.js +2 -2
- package/lib/protocols/a2a/index.js +1 -1
- package/lib/protocols/agentProtocols.js +8 -8
- package/lib/protocols/agentic-commerce/index.js +3 -3
- package/lib/protocols/commerce.js +1 -1
- package/lib/protocols/index.js +6 -6
- package/lib/protocols/mcp/index.js +2 -2
- package/lib/protocols/pact/index.js +1 -1
- package/lib/protocols/pap/index.js +1 -1
- package/lib/protocols/ucp/index.js +3 -3
- package/lib/protocols/ucp/merchant.js +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 +3 -3
- package/lib/runtimes/browser/agent.js +2 -2
- package/lib/runtimes/browser/frontendTools.js +1 -1
- package/lib/runtimes/browser/index.js +6 -6
- package/lib/runtimes/browser/subagents.js +2 -2
- package/lib/runtimes/index.js +8 -8
- package/lib/runtimes/variants.js +1 -1
- package/lib/services/DatalayerServiceManager.js +1 -1
- package/lib/specs/agents/agents.js +4 -4
- package/lib/specs/agents/index.js +1 -1
- package/lib/specs/cogs.js +4 -4
- package/lib/specs/index.js +32 -32
- package/lib/specs/teams/index.js +1 -1
- package/lib/state/index.js +1 -1
- package/lib/state/substates/RuntimesState.js +1 -1
- package/lib/state/substates/index.js +7 -7
- package/lib/stores/agentRuntimeStore.js +3 -3
- package/lib/stores/index.js +3 -3
- package/lib/stories/Button.stories.js +1 -1
- package/lib/stories/Header.js +1 -1
- package/lib/stories/Header.stories.js +1 -1
- package/lib/stories/Page.js +1 -1
- package/lib/stories/Page.stories.js +1 -1
- package/lib/stories/loop/LoopReference.stories.js +1 -1
- package/lib/stories/loop/ReferenceScreens.js +11 -11
- package/lib/stories/loop/pictures-main.js +2 -2
- package/lib/tools/ToolExecutor.js +1 -1
- package/lib/tools/adapters/agent-runtimes/index.js +3 -3
- package/lib/tools/adapters/agent-runtimes/lexicalHooks.js +1 -1
- package/lib/tools/adapters/agent-runtimes/notebookHooks.js +1 -1
- package/lib/tools/adapters/commands/index.js +1 -1
- package/lib/tools/adapters/copilotkit/index.js +3 -3
- package/lib/tools/adapters/copilotkit/lexicalHooks.js +1 -1
- package/lib/tools/adapters/copilotkit/notebookHooks.js +1 -1
- package/lib/tools/index.js +3 -3
- package/lib/types/index.js +40 -40
- package/lib/ui-plugins/index.js +3 -3
- package/lib/utils/index.js +1 -1
- package/lib/utils/utils.js +2 -2
- package/lib/voice/ComposerVoice.js +5 -5
- package/lib/voice/HandsFree.js +5 -5
- package/lib/voice/ReadAloud.js +1 -1
- package/lib/voice/VoiceInput.js +3 -3
- package/lib/voice/VoiceMenu.js +3 -3
- package/lib/voice/captions.js +2 -2
- package/lib/voice/chatVoice.js +3 -3
- package/lib/voice/choices.js +1 -1
- package/lib/voice/{handsFree.d.ts → handsFreeRules.d.ts} +1 -1
- package/lib/voice/hearing.js +3 -3
- package/lib/voice/index.d.ts +1 -1
- package/lib/voice/index.js +22 -22
- package/lib/voice/keptSound.js +1 -1
- package/lib/voice/pinned.js +1 -1
- package/lib/voice/serverHearing.js +2 -2
- package/lib/voice/useSpokenAnswers.js +1 -1
- package/lib/voice/useVoiceSettings.js +1 -1
- package/lib/voice/useVoiceSpeaker.js +2 -2
- package/package.json +4 -3
- package/scripts/check-npm-pack.mjs +77 -0
- package/scripts/esm-specifiers.mjs +76 -0
- package/scripts/fully-specify-lib.mjs +61 -0
- /package/lib/chat/assistant/{avatar3d.js → avatar3dModel.js} +0 -0
- /package/lib/voice/{handsFree.js → handsFreeRules.js} +0 -0
package/lib/portable/index.js
CHANGED
|
@@ -10,47 +10,47 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module portable
|
|
12
12
|
*/
|
|
13
|
-
export { messageOfApproval, normalizeApproval, whyAsked, } from './approvals';
|
|
13
|
+
export { messageOfApproval, normalizeApproval, whyAsked, } from './approvals.js';
|
|
14
14
|
// An approval as every card says it (M-016).
|
|
15
|
-
export { actionOf, APPROVAL_CARD_WORDS, approvalCardOf, argumentsShown, } from './approvalCard';
|
|
15
|
+
export { actionOf, APPROVAL_CARD_WORDS, approvalCardOf, argumentsShown, } from './approvalCard.js';
|
|
16
16
|
// A run's stream, read as every client reads it.
|
|
17
|
-
export { AgUiFrames, endsRun, eventsOfStream, NOT_STREAMING, REACTOR_UI_NAME, readRunStream, RUN_CUT_SHORT, toolResultOf, UI_ON_RUN, } from './agui';
|
|
17
|
+
export { AgUiFrames, endsRun, eventsOfStream, NOT_STREAMING, REACTOR_UI_NAME, readRunStream, RUN_CUT_SHORT, toolResultOf, UI_ON_RUN, } from './agui.js';
|
|
18
18
|
// A run's stream reduced to what a chat host shows (DC-005, S-205).
|
|
19
|
-
export { answerParts, isTerminal, SEMANTIC_EVENTS_VERSION, SEMANTIC_KINDS, } from './semantic';
|
|
20
|
-
export { askQuestionOf, semanticOf, turnOf, } from './semanticOfAgUi';
|
|
21
|
-
export { AG_UI_NOT_ALLOWED, AG_UI_NOT_ON_RUNTIME, agUiRefusal, refusalBody, refusalDetail, } from './agUiRefusal';
|
|
19
|
+
export { answerParts, isTerminal, SEMANTIC_EVENTS_VERSION, SEMANTIC_KINDS, } from './semantic.js';
|
|
20
|
+
export { askQuestionOf, semanticOf, turnOf, } from './semanticOfAgUi.js';
|
|
21
|
+
export { AG_UI_NOT_ALLOWED, AG_UI_NOT_ON_RUNTIME, agUiRefusal, refusalBody, refusalDetail, } from './agUiRefusal.js';
|
|
22
22
|
// The record's words, and a person's conversation read again.
|
|
23
|
-
export { ASKED_FOR_TAG, askedOf, RUN_END_WORDS } from './records';
|
|
24
|
-
export { messagesOfThread, openThread, snapshotOfStream, THREAD_WORDS, } from './thread';
|
|
23
|
+
export { ASKED_FOR_TAG, askedOf, RUN_END_WORDS } from './records.js';
|
|
24
|
+
export { messagesOfThread, openThread, snapshotOfStream, THREAD_WORDS, } from './thread.js';
|
|
25
25
|
// A conversation as its stream builds it, for a native client.
|
|
26
|
-
export { BROWSER_LIMITS, CUT_MARK, DEVICE_LIMITS, DIAGNOSTIC_LIMIT, emptyConversation, formFieldsOf, ITEM_LIMIT, MESSAGE_TEXT_LIMIT, questionOf, questionWords, reduceConversation, TOOL_TEXT_LIMIT, withError, withoutItems, withPrompt, withTurnEnded, } from './conversation';
|
|
26
|
+
export { BROWSER_LIMITS, CUT_MARK, DEVICE_LIMITS, DIAGNOSTIC_LIMIT, emptyConversation, formFieldsOf, ITEM_LIMIT, MESSAGE_TEXT_LIMIT, questionOf, questionWords, reduceConversation, TOOL_TEXT_LIMIT, withError, withoutItems, withPrompt, withTurnEnded, } from './conversation.js';
|
|
27
27
|
// What every protocol adapter says, as the conversation reads it (M-030).
|
|
28
|
-
export { conversationEventsOf, sanitizeAssistantContent, snapshotOfMessages, } from './adapterEvents';
|
|
28
|
+
export { conversationEventsOf, sanitizeAssistantContent, snapshotOfMessages, } from './adapterEvents.js';
|
|
29
29
|
// What an application is doing, in the words beside its face (T-08).
|
|
30
|
-
export { PRESENCE_LINES, presenceOfConversation, presenceState, presenceToolOf, } from './presence';
|
|
30
|
+
export { PRESENCE_LINES, presenceOfConversation, presenceState, presenceToolOf, } from './presence.js';
|
|
31
31
|
// One contract for every renderer of a conversation's components.
|
|
32
|
-
export { ANSWER_BELOW, ANSWER_COMPLETE, composerOf, droppedWords, ENDED_WORDS, messageLabel, OPENING_WORDS, presenceLine, showsQuestion, stepLine, TOOL_STATUS_WORDS, toolLabel, } from './views';
|
|
33
|
-
export { activityFixture, conversationFixture } from './fixtures';
|
|
32
|
+
export { ANSWER_BELOW, ANSWER_COMPLETE, composerOf, droppedWords, ENDED_WORDS, messageLabel, OPENING_WORDS, presenceLine, showsQuestion, stepLine, TOOL_STATUS_WORDS, toolLabel, } from './views.js';
|
|
33
|
+
export { activityFixture, conversationFixture } from './fixtures.js';
|
|
34
34
|
// The protocol displays a run's tool results carry (M-037).
|
|
35
35
|
export { DISPLAY_META_KEY, displayLine, displayOfToolResult, PAP_CONFIRM_TYPE, PAP_HANDOFF_TOOL, PAP_OUTCOME_TYPE, PAP_REPLIES_TYPE, PAP_SIGN_IN_TYPE, protocolDisplayOf, replyAuthor,
|
|
36
36
|
// A coding agent's diff and terminal (SH-16).
|
|
37
|
-
DIFF_LINES_LIMIT, SHIELD_DIFF_TYPE, SHIELD_TERMINAL_TYPE, languageOf, unifiedDiffLines, unifiedDiffText, } from './displays';
|
|
38
|
-
export { shieldDisplayFixtures } from './fixtures';
|
|
39
|
-
export { isPapSignInTool, PAP_SIGN_IN_WORDS, readPapSignIn, safeSignInUrl, } from './signIn';
|
|
37
|
+
DIFF_LINES_LIMIT, SHIELD_DIFF_TYPE, SHIELD_TERMINAL_TYPE, languageOf, unifiedDiffLines, unifiedDiffText, } from './displays.js';
|
|
38
|
+
export { shieldDisplayFixtures } from './fixtures.js';
|
|
39
|
+
export { isPapSignInTool, PAP_SIGN_IN_WORDS, readPapSignIn, safeSignInUrl, } from './signIn.js';
|
|
40
40
|
// A Direct Conversation the person types in themselves (P-08, M-038).
|
|
41
|
-
export { DIRECT_MAX, DIRECT_WORDS, directAnswerOf, directAuthor, directClient, openDirect, withDirectAnswer, } from './direct';
|
|
41
|
+
export { DIRECT_MAX, DIRECT_WORDS, directAnswerOf, directAuthor, directClient, openDirect, withDirectAnswer, } from './direct.js';
|
|
42
42
|
// How a sign-in under way stands, asked by the person's own client (M-039).
|
|
43
|
-
export { SIGN_IN_POLL_MS, SIGN_IN_STATUS_PATH, signInStandsOf, signInStatusClient, } from './signInStatus';
|
|
43
|
+
export { SIGN_IN_POLL_MS, SIGN_IN_STATUS_PATH, signInStandsOf, signInStatusClient, } from './signInStatus.js';
|
|
44
44
|
// What a company asks the person to type in a mediated sign-in, sent with its one-use ticket (M-039).
|
|
45
|
-
export { emptyFields, fieldProblems, MAX_VALUE_LENGTH, PROTECTED_INPUT_WORDS, protectedInputClient, protectedRequestOf, ProtectedRequestGone, sentWords, submitBody, submitWords, ticketComplete, ticketOfPage, } from './protectedInput';
|
|
45
|
+
export { emptyFields, fieldProblems, MAX_VALUE_LENGTH, PROTECTED_INPUT_WORDS, protectedInputClient, protectedRequestOf, ProtectedRequestGone, sentWords, submitBody, submitWords, ticketComplete, ticketOfPage, } from './protectedInput.js';
|
|
46
46
|
// How a streamed turn went, measured without its words (M-036).
|
|
47
|
-
export { failureOf, otlpMetricsOf, RunMeter, } from './runMeasures';
|
|
47
|
+
export { failureOf, otlpMetricsOf, RunMeter, } from './runMeasures.js';
|
|
48
48
|
// What an application is doing, its record's entries, and its sessions as
|
|
49
49
|
// the record lists them (R-15, M-015b).
|
|
50
|
-
export { ACTIVITY_WORDS, activityOf, entryOf, entrySaid, mergeActivityPages, runEndOf, scheduledSays, SESSION_LINEAGE_WORDS, SESSION_STATE_WORDS, SESSION_STATES, SESSION_TURN_WORDS, SESSION_TURNS, sessionAgentSaid, sessionLineageSaid, sessionPageOf, sessionRowOf, sessionSentence, sessionStateSaid, wakesOn, } from './activity';
|
|
50
|
+
export { ACTIVITY_WORDS, activityOf, entryOf, entrySaid, mergeActivityPages, runEndOf, scheduledSays, SESSION_LINEAGE_WORDS, SESSION_STATE_WORDS, SESSION_STATES, SESSION_TURN_WORDS, SESSION_TURNS, sessionAgentSaid, sessionLineageSaid, sessionPageOf, sessionRowOf, sessionSentence, sessionStateSaid, wakesOn, } from './activity.js';
|
|
51
51
|
// A deployment's pause, resume and reset, and its recorded events (R-17, M-041b).
|
|
52
|
-
export { deploymentEventLine, deploymentEventOf, notDeletedOf, resetBody, resetCountsOf, resetLines, stateChangeBody, stoppedWorkLine, stoppedWorkOf, } from './lifecycle';
|
|
52
|
+
export { deploymentEventLine, deploymentEventOf, notDeletedOf, resetBody, resetCountsOf, resetLines, stateChangeBody, stoppedWorkLine, stoppedWorkOf, } from './lifecycle.js';
|
|
53
53
|
// A person's agent runtimes, and an agent's summary (M-014b).
|
|
54
|
-
export { agentRuntimesOf, agentSummaryOfRuntime, CREATING_STATUSES, isAgentRuntime, isCreatingAgent, runtimeOf, } from './runtimes';
|
|
54
|
+
export { agentRuntimesOf, agentSummaryOfRuntime, CREATING_STATUSES, isAgentRuntime, isCreatingAgent, runtimeOf, } from './runtimes.js';
|
|
55
55
|
// The runtime's routes a native client drives.
|
|
56
|
-
export { agentRunClient, agentRuntimesUrlOf, appSessionsClient, RuntimeRefusal, } from './sessions';
|
|
56
|
+
export { agentRunClient, agentRuntimesUrlOf, appSessionsClient, RuntimeRefusal, } from './sessions.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @module portable/localApprovals
|
|
16
16
|
*/
|
|
17
|
-
import { ATTENTION_WORDS, decisionOutcome, } from './attention';
|
|
17
|
+
import { ATTENTION_WORDS, decisionOutcome, } from './attention.js';
|
|
18
18
|
/** The agent of a local runtime's sessions: the runtime names it `default`. */
|
|
19
19
|
export const LOCAL_AGENT_ID = 'default';
|
|
20
20
|
/** What the local approval source says. */
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @module portable/runMeasures
|
|
16
16
|
*/
|
|
17
|
-
import { RUN_CUT_SHORT } from './agui';
|
|
18
|
-
import { RuntimeRefusal } from './sessions';
|
|
17
|
+
import { RUN_CUT_SHORT } from './agui.js';
|
|
18
|
+
import { RuntimeRefusal } from './sessions.js';
|
|
19
19
|
/** The category of a stream's failure; never its message. */
|
|
20
20
|
export function failureOf(error) {
|
|
21
21
|
if (error instanceof RuntimeRefusal)
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* @module portable/sessionList
|
|
23
23
|
*/
|
|
24
|
-
import { sessionAgentSaid, sessionLineageSaid, sessionRowOf, sessionStateSaid, } from './activity';
|
|
24
|
+
import { sessionAgentSaid, sessionLineageSaid, sessionRowOf, sessionStateSaid, } from './activity.js';
|
|
25
25
|
/**
|
|
26
26
|
* One key per place.
|
|
27
27
|
*
|
package/lib/portable/sessions.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { readRunStream } from './agui';
|
|
6
|
-
import { agUiRefusal, refusalBody } from './agUiRefusal';
|
|
7
|
-
import { messagesOfThread } from './thread';
|
|
8
|
-
import { sessionRowOf } from './activity';
|
|
5
|
+
import { readRunStream } from './agui.js';
|
|
6
|
+
import { agUiRefusal, refusalBody } from './agUiRefusal.js';
|
|
7
|
+
import { messagesOfThread } from './thread.js';
|
|
8
|
+
import { sessionRowOf } from './activity.js';
|
|
9
9
|
/** A route that refused: its status and the runtime's sentence. */
|
|
10
10
|
export class RuntimeRefusal extends Error {
|
|
11
11
|
status;
|
package/lib/portable/thread.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { eventsOfStream, REACTOR_UI_NAME } from './agui';
|
|
6
|
-
import { askedOf } from './records';
|
|
5
|
+
import { eventsOfStream, REACTOR_UI_NAME } from './agui.js';
|
|
6
|
+
import { askedOf } from './records.js';
|
|
7
7
|
/** What opening a thread says, in a person's words. */
|
|
8
8
|
export const THREAD_WORDS = {
|
|
9
9
|
opening: 'Opening your conversation…',
|
package/lib/portable/views.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { PRESENCE_LINES } from './presence';
|
|
5
|
+
import { PRESENCE_LINES } from './presence.js';
|
|
6
6
|
/** A tool call's state, in words. */
|
|
7
7
|
export const TOOL_STATUS_WORDS = {
|
|
8
8
|
running: 'running',
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* @module protocols/A2AAdapter
|
|
9
9
|
*/
|
|
10
10
|
import { ORCHESTRATION_EXTENSION_URI, ENVELOPE_KEY as DATALAYER_META_KEY, readUsageMeta, } from '@datalayer/agent-teams';
|
|
11
|
-
import { generateMessageId, createAssistantMessage } from '../types/messages';
|
|
12
|
-
import { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
13
|
-
import { VOICE_SAY_EVENT, VOICE_SETTINGS_EVENT } from '../voice/sayAloud';
|
|
11
|
+
import { generateMessageId, createAssistantMessage } from '../types/messages.js';
|
|
12
|
+
import { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
13
|
+
import { VOICE_SAY_EVENT, VOICE_SETTINGS_EVENT } from '../voice/sayAloud.js';
|
|
14
14
|
/**
|
|
15
15
|
* The header fasta2a-based workers (`agent-runtimes`'s own, and any other
|
|
16
16
|
* built on it) actually read to activate an extension for one request —
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* @module protocols/ACPAdapter
|
|
19
19
|
*/
|
|
20
20
|
import { PROTOCOL_VERSION as ACP_PROTOCOL_VERSION, AGENT_METHODS, CLIENT_METHODS, } from '@agentclientprotocol/sdk';
|
|
21
|
-
import { generateMessageId, createAssistantMessage } from '../types/messages';
|
|
22
|
-
import { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
21
|
+
import { generateMessageId, createAssistantMessage } from '../types/messages.js';
|
|
22
|
+
import { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
23
23
|
/**
|
|
24
24
|
* ACP protocol adapter
|
|
25
25
|
* Uses WebSocket with JSON-RPC 2.0 for bidirectional communication
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { generateMessageId, createAssistantMessage } from '../types/messages';
|
|
6
|
-
import { agUiRefusal, refusalBody } from '../portable/agUiRefusal';
|
|
7
|
-
import { AgUiFrames, endsRun, REACTOR_UI_NAME, RUN_CUT_SHORT, toolResultOf, UI_ON_RUN, } from '../portable/agui';
|
|
8
|
-
import { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
5
|
+
import { generateMessageId, createAssistantMessage } from '../types/messages.js';
|
|
6
|
+
import { agUiRefusal, refusalBody } from '../portable/agUiRefusal.js';
|
|
7
|
+
import { AgUiFrames, endsRun, REACTOR_UI_NAME, RUN_CUT_SHORT, toolResultOf, UI_ON_RUN, } from '../portable/agui.js';
|
|
8
|
+
import { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
9
9
|
/**
|
|
10
10
|
* AG-UI protocol adapter
|
|
11
11
|
* Uses HTTP POST with SSE streaming for responses
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
* @module protocols/BrowserAgentAdapter
|
|
28
28
|
*/
|
|
29
29
|
import { streamText, stepCountIs } from 'ai';
|
|
30
|
-
import { createAssistantMessage, generateMessageId } from '../types/messages';
|
|
31
|
-
import { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
32
|
-
import { createBrowserModel, frontendToolsToVercelAI, subagentTools, DEFAULT_BROWSER_MAX_STEPS, } from '../runtimes/browser';
|
|
30
|
+
import { createAssistantMessage, generateMessageId } from '../types/messages.js';
|
|
31
|
+
import { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
32
|
+
import { createBrowserModel, frontendToolsToVercelAI, subagentTools, DEFAULT_BROWSER_MAX_STEPS, } from '../runtimes/browser/index.js';
|
|
33
33
|
/** The text of a chat message, whatever shape it arrived in. */
|
|
34
34
|
function messageText(message) {
|
|
35
35
|
if (typeof message.content === 'string') {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { generateMessageId, createAssistantMessage } from '../types/messages';
|
|
6
|
-
import { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
5
|
+
import { generateMessageId, createAssistantMessage } from '../types/messages.js';
|
|
6
|
+
import { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
7
7
|
/**
|
|
8
8
|
* Vercel AI protocol adapter
|
|
9
9
|
* Uses HTTP POST with SSE streaming for responses
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @module protocols/a2a
|
|
15
15
|
*/
|
|
16
16
|
import { contribution, defineContributionPoint, definePlugin, } from '@datalayer/reactor';
|
|
17
|
-
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core';
|
|
17
|
+
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core.js';
|
|
18
18
|
export const A2A_PLUGIN = 'agent-runtimes.protocols.a2a';
|
|
19
19
|
export const ORCHESTRATION_URI = 'https://datalayer.ai/extensions/orchestration/v1';
|
|
20
20
|
export const FACE_URI = 'https://datalayer.ai/extensions/face/v1';
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
* @module protocols/agentProtocols
|
|
11
11
|
*/
|
|
12
12
|
import { buildReactorFromPlugins, defineExtension, } from '@datalayer/reactor';
|
|
13
|
-
import { A2APlugin } from './a2a';
|
|
14
|
-
import { AgenticCommercePlugin } from './agentic-commerce';
|
|
15
|
-
import { ProtocolsCorePlugin } from './core';
|
|
16
|
-
import { McpPlugin } from './mcp';
|
|
17
|
-
import { PactPlugin } from './pact';
|
|
18
|
-
import { PapPlugin } from './pap';
|
|
19
|
-
import { UcpPlugin } from './ucp';
|
|
20
|
-
import { WebBotAuthPlugin } from './web-bot-auth';
|
|
13
|
+
import { A2APlugin } from './a2a/index.js';
|
|
14
|
+
import { AgenticCommercePlugin } from './agentic-commerce/index.js';
|
|
15
|
+
import { ProtocolsCorePlugin } from './core.js';
|
|
16
|
+
import { McpPlugin } from './mcp/index.js';
|
|
17
|
+
import { PactPlugin } from './pact/index.js';
|
|
18
|
+
import { PapPlugin } from './pap/index.js';
|
|
19
|
+
import { UcpPlugin } from './ucp/index.js';
|
|
20
|
+
import { WebBotAuthPlugin } from './web-bot-auth/index.js';
|
|
21
21
|
export const AGENT_PROTOCOLS_EXTENSION = 'agent-protocols';
|
|
22
22
|
export const AgentProtocolsExtension = defineExtension({
|
|
23
23
|
name: AGENT_PROTOCOLS_EXTENSION,
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* @module protocols/agentic-commerce
|
|
18
18
|
*/
|
|
19
19
|
import { contribution, defineContributionPoint, definePlugin, } from '@datalayer/reactor';
|
|
20
|
-
import { InMemoryProposalStore, digest, operationClasses, } from '../commerce';
|
|
21
|
-
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core';
|
|
22
|
-
import { AGENTIC_COMMERCE_VERSION } from './models';
|
|
20
|
+
import { InMemoryProposalStore, digest, operationClasses, } from '../commerce.js';
|
|
21
|
+
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core.js';
|
|
22
|
+
import { AGENTIC_COMMERCE_VERSION } from './models.js';
|
|
23
23
|
export { AGENTIC_COMMERCE_VERSION };
|
|
24
24
|
export const DISCOVERY_PATH = '/.well-known/acp.json';
|
|
25
25
|
export const AGENTIC_COMMERCE_PLUGIN = 'agent-runtimes.protocols.agentic-commerce';
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*
|
|
13
13
|
* @module protocols/commerce
|
|
14
14
|
*/
|
|
15
|
-
import { PROTOCOL_TOOL_CLASSES } from '../specs/actions';
|
|
15
|
+
import { PROTOCOL_TOOL_CLASSES } from '../specs/actions.js';
|
|
16
16
|
/**
|
|
17
17
|
* Each operation's action class (F-10) for Rules (R-05), as agentspecs
|
|
18
18
|
* classes a protocol's tools (`protocol-tools/<protocol>.yaml`,
|
package/lib/protocols/index.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module protocols
|
|
9
9
|
*/
|
|
10
|
-
export { BaseProtocolAdapter } from './BaseProtocolAdapter';
|
|
11
|
-
export { AGUIAdapter } from './AGUIAdapter';
|
|
12
|
-
export { A2AAdapter } from './A2AAdapter';
|
|
13
|
-
export { VercelAIAdapter } from './VercelAIAdapter';
|
|
14
|
-
export { BrowserAgentAdapter, } from './BrowserAgentAdapter';
|
|
15
|
-
export { ACPAdapter, } from './ACPAdapter';
|
|
10
|
+
export { BaseProtocolAdapter } from './BaseProtocolAdapter.js';
|
|
11
|
+
export { AGUIAdapter } from './AGUIAdapter.js';
|
|
12
|
+
export { A2AAdapter } from './A2AAdapter.js';
|
|
13
|
+
export { VercelAIAdapter } from './VercelAIAdapter.js';
|
|
14
|
+
export { BrowserAgentAdapter, } from './BrowserAgentAdapter.js';
|
|
15
|
+
export { ACPAdapter, } from './ACPAdapter.js';
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @module protocols/mcp
|
|
14
14
|
*/
|
|
15
15
|
import { contribution, definePlugin } from '@datalayer/reactor';
|
|
16
|
-
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core';
|
|
16
|
+
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core.js';
|
|
17
17
|
export const MCP_PLUGIN = 'agent-runtimes.protocols.mcp';
|
|
18
18
|
/** The MCP specification version of the `@modelcontextprotocol/sdk` installed (1.32: `LATEST_PROTOCOL_VERSION`); Python's `mcp` 2.1 speaks 2026-07-28. */
|
|
19
19
|
export const MCP_SPECIFICATION_VERSION = '2025-11-25';
|
|
@@ -37,4 +37,4 @@ export const McpPlugin = definePlugin({
|
|
|
37
37
|
}, { id: 'mcp', order: DEFAULT_ORDER }),
|
|
38
38
|
],
|
|
39
39
|
});
|
|
40
|
-
export * from './client';
|
|
40
|
+
export * from './client.js';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { contribution, defineContributionPoint, definePlugin, } from '@datalayer/reactor';
|
|
21
21
|
import { compactVerify, importJWK } from 'jose';
|
|
22
|
-
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core';
|
|
22
|
+
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core.js';
|
|
23
23
|
export const PACT_VERSION = '1.0';
|
|
24
24
|
export const PACT_PLUGIN = 'agent-runtimes.protocols.pact';
|
|
25
25
|
export const DELEGATION_HEADER = 'X-A2A-User-Delegation';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @module protocols/pap
|
|
16
16
|
*/
|
|
17
17
|
import { contribution, definePlugin } from '@datalayer/reactor';
|
|
18
|
-
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core';
|
|
18
|
+
import { DEFAULT_ORDER, ProtocolDescriptions } from '../core.js';
|
|
19
19
|
export const PAP_PLUGIN = 'agent-runtimes.protocols.pap';
|
|
20
20
|
/** The PAP draft the SDK implements (its `PROTOCOL_PROFILE`; Python reads it from the SDK). */
|
|
21
21
|
export const PAP_PROTOCOL_PROFILE = '0.2';
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { contribution, defineContributionPoint, definePlugin, } from '@datalayer/reactor';
|
|
19
19
|
import { ExtendedCheckoutResponseSchema, OrderSchema } from '@ucp-js/sdk';
|
|
20
|
-
import { InMemoryProposalStore, digest, operationClasses, } from '../commerce';
|
|
21
|
-
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core';
|
|
20
|
+
import { InMemoryProposalStore, digest, operationClasses, } from '../commerce.js';
|
|
21
|
+
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, } from '../core.js';
|
|
22
22
|
export const UCP_VERSION = '2026-08-25';
|
|
23
23
|
export const SHOPPING_SERVICE = 'dev.ucp.shopping';
|
|
24
24
|
export const CHECKOUT_CAPABILITY = 'dev.ucp.shopping.checkout';
|
|
@@ -29,7 +29,7 @@ export const UCP_PLUGIN = 'agent-runtimes.protocols.ucp';
|
|
|
29
29
|
* `protocol-tools/ucp.yaml` (PR-54).
|
|
30
30
|
*/
|
|
31
31
|
export const UCP_ACTION_CLASSES = operationClasses('ucp');
|
|
32
|
-
export { InMemoryProposalStore, proposalSummary, } from '../commerce';
|
|
32
|
+
export { InMemoryProposalStore, proposalSummary, } from '../commerce.js';
|
|
33
33
|
export class UcpError extends Error {
|
|
34
34
|
}
|
|
35
35
|
export const UcpApprovers = defineContributionPoint('ucp.approver');
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module protocols/ucp/merchant
|
|
12
12
|
*/
|
|
13
|
-
import { CHECKOUT_CAPABILITY, SHOPPING_SERVICE, UCP_VERSION } from './index';
|
|
13
|
+
import { CHECKOUT_CAPABILITY, SHOPPING_SERVICE, UCP_VERSION } from './index.js';
|
|
14
14
|
/** The store's products, as the Python store lists them. */
|
|
15
15
|
export const EXAMPLE_STORE_CATALOG = {
|
|
16
16
|
tea_sencha: { title: 'Sencha green tea, 100 g', price: 1250 },
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
import { HTTP_MESSAGE_SIGNATURES_DIRECTORY, HTTP_MESSAGE_SIGNATURE_TAG, SIGNATURE_AGENT_HEADER, generateNonce, jwkToKeyID, parseSignatureAgentHeader, sign, verify, } from 'web-bot-auth';
|
|
27
27
|
import { verifierFromJWK } from 'web-bot-auth/crypto';
|
|
28
28
|
import { contribution, defineContributionPoint, definePlugin, } from '@datalayer/reactor';
|
|
29
|
-
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, optionalContribution, } from '../core';
|
|
29
|
+
import { DEFAULT_ORDER, ProtocolDescriptions, firstContribution, optionalContribution, } from '../core.js';
|
|
30
30
|
/** The specification implemented. */
|
|
31
31
|
export const WEB_BOT_AUTH_SPECIFICATION = 'draft-ietf-webbotauth-httpsig-protocol-00';
|
|
32
32
|
/** Where an agent's key directory is served. */
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* @module protocols/web-bot-auth/tap
|
|
26
26
|
*/
|
|
27
27
|
import { createSignature, verifySignature, webcrypto } from 'http-message-sig';
|
|
28
|
-
import { generateNonce, jwkThumbprint, } from './index';
|
|
28
|
+
import { generateNonce, jwkThumbprint, } from './index.js';
|
|
29
29
|
/** Draft until Visa confirms it. */
|
|
30
30
|
export const TAP_STATUS = 'draft';
|
|
31
31
|
/** Where the profile was read, 2026-10-13. */
|
package/lib/runtimes/actions.js
CHANGED
|
@@ -9,9 +9,9 @@ import { URLExt } from '@jupyterlab/coreutils';
|
|
|
9
9
|
import { PromiseDelegate } from '@lumino/coreutils';
|
|
10
10
|
import { Upload } from 'tus-js-client';
|
|
11
11
|
import { requestDatalayerAPI } from '@datalayer/core/lib/api';
|
|
12
|
-
import { runtimeUrl, runtimesUrl, sandboxSnapshotUrl, sandboxSnapshotsUrl, } from './lifecycle';
|
|
13
|
-
import { asCodeSandboxSnapshot } from '../models';
|
|
14
|
-
import { iamStore, runtimesStore } from '../state/substates';
|
|
12
|
+
import { runtimeUrl, runtimesUrl, sandboxSnapshotUrl, sandboxSnapshotsUrl, } from './lifecycle.js';
|
|
13
|
+
import { asCodeSandboxSnapshot } from '../models/index.js';
|
|
14
|
+
import { iamStore, runtimesStore } from '../state/substates/index.js';
|
|
15
15
|
/**
|
|
16
16
|
* Get available Environments.
|
|
17
17
|
*/
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* @module runtimes/browser/agent
|
|
24
24
|
*/
|
|
25
25
|
import { ToolLoopAgent, stepCountIs } from 'ai';
|
|
26
|
-
import { frontendToolsToVercelAI, } from './frontendTools';
|
|
27
|
-
import { createBrowserModel } from './model';
|
|
26
|
+
import { frontendToolsToVercelAI, } from './frontendTools.js';
|
|
27
|
+
import { createBrowserModel } from './model.js';
|
|
28
28
|
/**
|
|
29
29
|
* How many model turns one request may take.
|
|
30
30
|
*
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
// against a different copy is not the same type to TypeScript — the identity
|
|
41
41
|
// is carried by a private symbol.
|
|
42
42
|
import { jsonSchema, tool } from 'ai';
|
|
43
|
-
import { createToolExecutor } from '../../tools/ToolExecutor';
|
|
43
|
+
import { createToolExecutor } from '../../tools/ToolExecutor.js';
|
|
44
44
|
/** JSON Schema for a tool that takes nothing. */
|
|
45
45
|
const NO_PARAMETERS = { type: 'object', properties: {} };
|
|
46
46
|
/** The JSON Schema type for one of the shorthand parameter types. */
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
*
|
|
13
13
|
* @module runtimes/browser
|
|
14
14
|
*/
|
|
15
|
-
export * from './agent';
|
|
16
|
-
export * from './anonymousToken';
|
|
17
|
-
export * from './frontendTools';
|
|
18
|
-
export * from './model';
|
|
19
|
-
export * from './protocol';
|
|
20
|
-
export * from './subagents';
|
|
15
|
+
export * from './agent.js';
|
|
16
|
+
export * from './anonymousToken.js';
|
|
17
|
+
export * from './frontendTools.js';
|
|
18
|
+
export * from './model.js';
|
|
19
|
+
export * from './protocol.js';
|
|
20
|
+
export * from './subagents.js';
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
* @module runtimes/browser/subagents
|
|
33
33
|
*/
|
|
34
34
|
import { ToolLoopAgent, stepCountIs, tool, jsonSchema, } from 'ai';
|
|
35
|
-
import { SUBAGENT_STOPPED, } from '../../types/stream';
|
|
36
|
-
import { createBrowserModel } from './model';
|
|
35
|
+
import { SUBAGENT_STOPPED, } from '../../types/stream.js';
|
|
36
|
+
import { createBrowserModel } from './model.js';
|
|
37
37
|
/** How many turns a delegated task may take before it is stopped. */
|
|
38
38
|
export const DEFAULT_SUBAGENT_MAX_STEPS = 12;
|
|
39
39
|
/** The input every delegation tool takes. */
|
package/lib/runtimes/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
export * from './actions';
|
|
6
|
-
export * from './lifecycle';
|
|
7
|
-
export * from './apis';
|
|
8
|
-
export * from './settings';
|
|
9
|
-
export * from './snapshots';
|
|
10
|
-
export * from './utils';
|
|
11
|
-
export * from './variants';
|
|
12
|
-
export * from './browser';
|
|
5
|
+
export * from './actions.js';
|
|
6
|
+
export * from './lifecycle.js';
|
|
7
|
+
export * from './apis.js';
|
|
8
|
+
export * from './settings.js';
|
|
9
|
+
export * from './snapshots.js';
|
|
10
|
+
export * from './utils.js';
|
|
11
|
+
export * from './variants.js';
|
|
12
|
+
export * from './browser/index.js';
|
package/lib/runtimes/variants.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { ServerConnection, ServiceManager } from '@jupyterlab/services';
|
|
6
6
|
import { coreStore } from '@datalayer/core/lib/state/substates/CoreState';
|
|
7
7
|
import { DEFAULT_DATALAYER_CONFIG } from '@datalayer/core/lib/config/Configuration';
|
|
8
|
-
import { createRuntime } from '../runtimes/actions';
|
|
8
|
+
import { createRuntime } from '../runtimes/actions.js';
|
|
9
9
|
const normalizeEnvironmentName = (value) => {
|
|
10
10
|
if (!value) {
|
|
11
11
|
return undefined;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { ALPHAVANTAGE_MCP_SERVER_0_0_1, CHART_MCP_SERVER_0_0_1, EARTHDATA_MCP_SERVER_0_0_1, EURUS_MCP_SERVER_0_0_1, FILESYSTEM_MCP_SERVER_0_0_1, GITHUB_MCP_SERVER_0_0_1, GOOGLE_WORKSPACE_MCP_SERVER_0_0_1, HUGGINGFACE_MCP_SERVER_0_0_1, KAGGLE_MCP_SERVER_0_0_1, ODOO_MCP_SERVER_0_0_1, SALESFORCE_MCP_SERVER_0_0_1, SLACK_MCP_SERVER_0_0_1, TAVILY_MCP_SERVER_0_0_1, } from '../mcpServers';
|
|
6
|
-
import { ACCOUNTING_SKILL_SPEC_0_0_1, CRAWL_SKILL_SPEC_0_0_1, EVENTS_SKILL_SPEC_0_0_1, GITHUB_SKILL_SPEC_0_0_1, JOKES_SKILL_SPEC_0_0_1, PDF_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, } from '../skills';
|
|
7
|
-
import { DECIDE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CREATE_PLAN_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CURRENT_TIME_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_DISPLAY_RECIPE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_HAIKU_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_TASK_STEPS_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_RENDER_A2UI_SURFACE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SENSITIVE_ECHO_BACKEND_TOOL_SPEC_0_0_1, } from '../backendTools';
|
|
8
|
-
import { DECKS_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_EDIT_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_PROPOSE_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_READ_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_FRONTEND_TOOL_SPEC_0_0_1, LEXICAL_DOCUMENT_FRONTEND_TOOL_SPEC_0_0_1, } from '../frontendTools';
|
|
5
|
+
import { ALPHAVANTAGE_MCP_SERVER_0_0_1, CHART_MCP_SERVER_0_0_1, EARTHDATA_MCP_SERVER_0_0_1, EURUS_MCP_SERVER_0_0_1, FILESYSTEM_MCP_SERVER_0_0_1, GITHUB_MCP_SERVER_0_0_1, GOOGLE_WORKSPACE_MCP_SERVER_0_0_1, HUGGINGFACE_MCP_SERVER_0_0_1, KAGGLE_MCP_SERVER_0_0_1, ODOO_MCP_SERVER_0_0_1, SALESFORCE_MCP_SERVER_0_0_1, SLACK_MCP_SERVER_0_0_1, TAVILY_MCP_SERVER_0_0_1, } from '../mcpServers.js';
|
|
6
|
+
import { ACCOUNTING_SKILL_SPEC_0_0_1, CRAWL_SKILL_SPEC_0_0_1, EVENTS_SKILL_SPEC_0_0_1, GITHUB_SKILL_SPEC_0_0_1, JOKES_SKILL_SPEC_0_0_1, PDF_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, } from '../skills.js';
|
|
7
|
+
import { DECIDE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CREATE_PLAN_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_CURRENT_TIME_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_DISPLAY_RECIPE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_HAIKU_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GENERATE_TASK_STEPS_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_RENDER_A2UI_SURFACE_BACKEND_TOOL_SPEC_0_0_1, EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1, RUNTIME_SENSITIVE_ECHO_BACKEND_TOOL_SPEC_0_0_1, } from '../backendTools.js';
|
|
8
|
+
import { DECKS_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_EDIT_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_PROPOSE_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_READ_FRONTEND_TOOL_SPEC_0_0_1, JUPYTER_NOTEBOOK_FRONTEND_TOOL_SPEC_0_0_1, LEXICAL_DOCUMENT_FRONTEND_TOOL_SPEC_0_0_1, } from '../frontendTools.js';
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// MCP Server Lookup
|
|
11
11
|
// ============================================================================
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { AGENTSPECS as ROOT_AGENTS } from './agents';
|
|
5
|
+
import { AGENTSPECS as ROOT_AGENTS } from './agents.js';
|
|
6
6
|
// Merge all agent specs from subfolders
|
|
7
7
|
export const AGENTSPECS = {
|
|
8
8
|
...ROOT_AGENTS,
|
package/lib/specs/cogs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { TAVILY_MCP_SERVER_0_0_1 } from './mcpServers';
|
|
6
|
-
import { CRAWL_SKILL_SPEC_0_0_1, EVENTS_SKILL_SPEC_0_0_1, GITHUB_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, } from './skills';
|
|
7
|
-
import { RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1 } from './backendTools';
|
|
8
|
-
import { JUPYTER_NOTEBOOK_FRONTEND_TOOL_SPEC_0_0_1, LEXICAL_DOCUMENT_FRONTEND_TOOL_SPEC_0_0_1, } from './frontendTools';
|
|
5
|
+
import { TAVILY_MCP_SERVER_0_0_1 } from './mcpServers.js';
|
|
6
|
+
import { CRAWL_SKILL_SPEC_0_0_1, EVENTS_SKILL_SPEC_0_0_1, GITHUB_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, } from './skills.js';
|
|
7
|
+
import { RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1 } from './backendTools.js';
|
|
8
|
+
import { JUPYTER_NOTEBOOK_FRONTEND_TOOL_SPEC_0_0_1, LEXICAL_DOCUMENT_FRONTEND_TOOL_SPEC_0_0_1, } from './frontendTools.js';
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// MCP Server Lookup
|
|
11
11
|
// ============================================================================
|
package/lib/specs/index.js
CHANGED
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This file is AUTO-GENERATED. DO NOT EDIT MANUALLY.
|
|
9
9
|
*/
|
|
10
|
-
export * from './agents';
|
|
11
|
-
export * from './teams';
|
|
12
|
-
export * from './envvars';
|
|
13
|
-
export * from './evals';
|
|
14
|
-
export * from './guardrails';
|
|
15
|
-
export * from './strategies';
|
|
16
|
-
export * from './mcpServers';
|
|
17
|
-
export * from './memory';
|
|
18
|
-
export * from './models';
|
|
19
|
-
export * from './modelProviders';
|
|
20
|
-
export * from './notifications';
|
|
21
|
-
export * from './voices';
|
|
22
|
-
export * from './outputs';
|
|
23
|
-
export * from './skills';
|
|
24
|
-
export * from './backendTools';
|
|
25
|
-
export * from './triggers';
|
|
26
|
-
export * from './ui';
|
|
27
|
-
export * from './uiRenderers';
|
|
28
|
-
export * from './protocols';
|
|
29
|
-
export * from './frames';
|
|
30
|
-
export * from './cogs';
|
|
31
|
-
export * from './harnesses';
|
|
32
|
-
export * from './sessionFiles';
|
|
33
|
-
export * from './standards';
|
|
34
|
-
export * from './guards';
|
|
35
|
-
export * from './gates';
|
|
36
|
-
export * from './tracks';
|
|
37
|
-
export * from './ops';
|
|
38
|
-
export * from './apps';
|
|
39
|
-
export * from './scenes';
|
|
40
|
-
export * from './actions';
|
|
41
|
-
export * from './appspecSchema';
|
|
10
|
+
export * from './agents/index.js';
|
|
11
|
+
export * from './teams/index.js';
|
|
12
|
+
export * from './envvars.js';
|
|
13
|
+
export * from './evals.js';
|
|
14
|
+
export * from './guardrails.js';
|
|
15
|
+
export * from './strategies.js';
|
|
16
|
+
export * from './mcpServers.js';
|
|
17
|
+
export * from './memory.js';
|
|
18
|
+
export * from './models.js';
|
|
19
|
+
export * from './modelProviders.js';
|
|
20
|
+
export * from './notifications.js';
|
|
21
|
+
export * from './voices.js';
|
|
22
|
+
export * from './outputs.js';
|
|
23
|
+
export * from './skills.js';
|
|
24
|
+
export * from './backendTools.js';
|
|
25
|
+
export * from './triggers.js';
|
|
26
|
+
export * from './ui.js';
|
|
27
|
+
export * from './uiRenderers.js';
|
|
28
|
+
export * from './protocols.js';
|
|
29
|
+
export * from './frames.js';
|
|
30
|
+
export * from './cogs.js';
|
|
31
|
+
export * from './harnesses.js';
|
|
32
|
+
export * from './sessionFiles.js';
|
|
33
|
+
export * from './standards.js';
|
|
34
|
+
export * from './guards.js';
|
|
35
|
+
export * from './gates.js';
|
|
36
|
+
export * from './tracks.js';
|
|
37
|
+
export * from './ops.js';
|
|
38
|
+
export * from './apps.js';
|
|
39
|
+
export * from './scenes.js';
|
|
40
|
+
export * from './actions.js';
|
|
41
|
+
export * from './appspecSchema.js';
|
package/lib/specs/teams/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
3
|
* Distributed under the terms of the Modified BSD License.
|
|
4
4
|
*/
|
|
5
|
-
import { TEAM_SPECS as ROOT_TEAMS } from './teams';
|
|
5
|
+
import { TEAM_SPECS as ROOT_TEAMS } from './teams.js';
|
|
6
6
|
// Merge all team specs from subfolders
|
|
7
7
|
export const TEAM_SPECS = {
|
|
8
8
|
...ROOT_TEAMS,
|