@datalayer/agent-runtimes 1.3.91 → 1.3.93
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/assets/coincident.worker-Dd47v4fq.js +9 -0
- package/dist-embed/assets/comlink.worker-DmOp1QjG.js +9 -0
- package/dist-embed/datalayer-app.css +1 -0
- package/dist-embed/datalayer-app.js +4 -0
- package/dist-embed/lite-service-worker.js +91 -0
- package/lib/{loop → apps}/apps/AppComposer.d.ts +1 -1
- package/lib/{loop → apps}/apps/AppComposer.js +1 -1
- package/lib/{loop → apps}/apps/AppFeedback.d.ts +1 -1
- package/lib/{loop → apps}/apps/AppKept.d.ts +1 -1
- package/lib/{loop → apps}/apps/AppRenderer.d.ts +1 -1
- package/lib/{loop → apps}/apps/AppRenderer.js +2 -2
- package/lib/{loop → apps}/apps/AppRuntimePlugins.js +1 -1
- package/lib/{loop → apps}/apps/agent.js +1 -1
- package/lib/{loop → apps}/apps/appspec.d.ts +1 -1
- package/lib/{loop → apps}/apps/checks.js +1 -1
- package/lib/{loop → apps}/apps/composer.d.ts +1 -1
- package/lib/{loop → apps}/apps/computer.d.ts +1 -1
- package/lib/{loop → apps}/apps/customComponents.js +1 -1
- package/lib/{loop → apps}/apps/feedback.d.ts +1 -1
- package/lib/{loop → apps}/apps/hostTools.d.ts +1 -1
- package/lib/{loop → apps}/apps/index.d.ts +1 -1
- package/lib/{loop → apps}/apps/index.js +1 -1
- package/lib/{loop → apps}/apps/kept.d.ts +1 -1
- package/lib/{loop → apps}/apps/language.d.ts +1 -1
- package/lib/{loop → apps}/apps/pluginPair.d.ts +1 -1
- package/lib/{loop → apps}/apps/records.d.ts +1 -1
- package/lib/{loop → apps}/apps/rules.js +1 -1
- package/lib/{loop → apps}/apps/saved.d.ts +1 -1
- package/lib/{loop → apps}/apps/saved.js +1 -1
- package/lib/{loop → apps}/apps/settingsInputs.d.ts +1 -1
- package/lib/{loop → apps}/apps/settingsInputs.js +1 -1
- package/lib/{loop → apps}/apps/threads.d.ts +1 -1
- package/lib/{loop → apps}/apps/uploads.d.ts +1 -1
- package/lib/{loop → apps}/apps/visitorToken.js +1 -1
- package/lib/{loop → apps}/apps/yaml.js +1 -1
- package/lib/{loop → apps}/core/a2uiComponents.js +2 -2
- package/lib/{loop → apps}/core/canvasBlocks.js +2 -2
- package/lib/{loop → apps}/core/focusRequests.js +1 -1
- package/lib/{loop → apps}/core/index.js +1 -1
- package/lib/{loop → apps}/core/promptStore.js +1 -1
- package/lib/{loop → apps}/core/surfaceRequests.d.ts +1 -1
- package/lib/{loop → apps}/core/toolbar.js +1 -1
- package/lib/{loop → apps}/embed/AppEmbed.js +1 -1
- package/lib/{loop → apps}/embed/LoopEmbed.d.ts +1 -1
- package/lib/{loop → apps}/embed/LoopEmbed.js +1 -1
- package/lib/{loop → apps}/embed/datalayer-app.js +1 -1
- package/lib/{loop → apps}/embed/element.js +1 -1
- package/lib/{loop → apps}/embed/embedConfig.d.ts +1 -1
- package/lib/{loop → apps}/embed/embedSession.d.ts +1 -1
- package/lib/{loop → apps}/embed/hostBridge.d.ts +1 -1
- package/lib/{loop → apps}/extensions.js +1 -1
- package/lib/{loop → apps}/index.d.ts +1 -1
- package/lib/{loop → apps}/index.js +1 -1
- package/lib/{loop → apps}/plugins/a2a-sidebar/A2ASidebar.d.ts +1 -1
- package/lib/{loop → apps}/plugins/a2a-sidebar/A2ASidebar.js +1 -1
- package/lib/{loop → apps}/plugins/a2a-sidebar/index.js +1 -1
- package/lib/{loop → apps}/plugins/a2ui/A2uiView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/a2ui/index.js +1 -1
- package/lib/{loop → apps}/plugins/a2ui-scene/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/a2ui-surface/InlineSurface.d.ts +2 -2
- package/lib/{loop → apps}/plugins/a2ui-surface/SurfaceToolResult.d.ts +1 -1
- package/lib/{loop → apps}/plugins/a2ui-surface/ownComponents.js +1 -1
- package/lib/{loop → apps}/plugins/a2ui-surface/toolResult.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agent-a2a/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-a2ui/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-a2ui-jupyter-output/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-capacity/index.d.ts +2 -2
- package/lib/{loop → apps}/plugins/agent-capacity/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-checkpoints/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-code-sandbox/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-code-sandboxes/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-codemode/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-compaction/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-evals/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-guardrails/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-hooks/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-inference/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-mcp/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-memory/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-monitoring/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-notifications/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-otel/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-outputs/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-parameters/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-skills/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-subagents/index.js +2 -2
- package/lib/{loop → apps}/plugins/agent-tool-approvals/index.js +1 -1
- package/lib/{loop → apps}/plugins/agent-triggers/index.js +1 -1
- package/lib/{loop → apps}/plugins/agents/AgentSummaryPanel.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/AnonymousKeyBadge.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/DatalayerAgentBridge.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/DatalayerAgentMount.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/SandboxSelector.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/SandboxStatusBridge.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/SandboxView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/TeamMemberPicker.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/agentIcons.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/agentIcons.js +1 -1
- package/lib/{loop → apps}/plugins/agents/appLaunch.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/browserService.js +1 -1
- package/lib/{loop → apps}/plugins/agents/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/index.js +1 -1
- package/lib/{loop → apps}/plugins/agents/plugin.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/service.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/service.js +1 -1
- package/lib/{loop → apps}/plugins/agents/specSubagents.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/switchable.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/switchable.js +1 -1
- package/lib/{loop → apps}/plugins/agents/team.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agents/team.js +1 -1
- package/lib/{loop → apps}/plugins/agents/useSandboxService.js +1 -1
- package/lib/{loop → apps}/plugins/agents/useTeamSelection.js +1 -1
- package/lib/{loop → apps}/plugins/agentspecs/AgentspecPicker.d.ts +1 -1
- package/lib/{loop → apps}/plugins/agentspecs/index.js +1 -1
- package/lib/{loop → apps}/plugins/app-activity/AppActivity.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-components/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-components/index.js +1 -1
- package/lib/{loop → apps}/plugins/app-computer/AppComputer.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-computer/AppComputer.js +3 -1
- package/lib/{loop → apps}/plugins/app-elements/AppElements.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-elements/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-elements/index.js +1 -1
- package/lib/{loop → apps}/plugins/app-page/AppPage.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-page/appPageModel.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-page/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-page/pageRun.d.ts +1 -1
- package/lib/{loop → apps}/plugins/app-page/pageRun.js +1 -1
- package/lib/{loop → apps}/plugins/app-rules/AppRulesCard.d.ts +1 -1
- package/lib/{loop → apps}/plugins/assistant/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/assistant-characters/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/assistant-characters/index.js +1 -1
- package/lib/{loop → apps}/plugins/canvas-blocks/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/canvas-blocks/index.js +1 -1
- package/lib/{loop → apps}/plugins/chat/ChatView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/chat/chatViewTools.js +1 -1
- package/lib/{loop → apps}/plugins/chat/index.js +1 -1
- package/lib/{loop → apps}/plugins/chat/turnState.d.ts +1 -1
- package/lib/{loop → apps}/plugins/chat/turnState.js +1 -1
- package/lib/{loop → apps}/plugins/chat-extras/index.js +1 -1
- package/lib/{loop → apps}/plugins/chat-header/HeaderView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/chat-view/index.js +1 -1
- package/lib/{loop → apps}/plugins/checkpoints-sidebar/CheckpointsSidebar.d.ts +1 -1
- package/lib/{loop → apps}/plugins/checkpoints-sidebar/CheckpointsSidebar.js +1 -1
- package/lib/{loop → apps}/plugins/checkpoints-sidebar/index.js +1 -1
- package/lib/{loop → apps}/plugins/commands/index.js +1 -1
- package/lib/{loop → apps}/plugins/decks/index.js +1 -1
- package/lib/{loop → apps}/plugins/decks/surface.d.ts +1 -1
- package/lib/{loop → apps}/plugins/decks/surface.js +1 -1
- package/lib/{loop → apps}/plugins/document/DocumentView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/document/index.js +1 -1
- package/lib/{loop → apps}/plugins/document/openingDocument.d.ts +1 -1
- package/lib/{loop → apps}/plugins/document-toolbar/SandboxStatusItem.d.ts +1 -1
- package/lib/{loop → apps}/plugins/document-toolbar/index.js +1 -1
- package/lib/{loop → apps}/plugins/document-toolbar/names.d.ts +1 -1
- package/lib/{loop → apps}/plugins/document-toolbar/names.js +1 -1
- package/lib/{loop → apps}/plugins/document-toolbar/plugin.js +1 -1
- package/lib/{loop → apps}/plugins/document-view/index.js +1 -1
- package/lib/{loop → apps}/plugins/graph/GraphToggle.d.ts +1 -1
- package/lib/{loop → apps}/plugins/graph/GraphView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/graph/index.js +1 -1
- package/lib/{loop → apps}/plugins/graph/viewType.d.ts +1 -1
- package/lib/{loop → apps}/plugins/graph/viewType.js +1 -1
- package/lib/{loop → apps}/plugins/input-prompt/ComposerView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/models/index.js +1 -1
- package/lib/{loop → apps}/plugins/notebook/NotebookView.d.ts +1 -1
- package/lib/{loop → apps}/plugins/notebook/index.js +1 -1
- package/lib/{loop → apps}/plugins/notebook/openingNotebook.d.ts +1 -1
- package/lib/{loop → apps}/plugins/notebook-toolbar/index.js +1 -1
- package/lib/{loop → apps}/plugins/notebook-toolbar/names.d.ts +1 -1
- package/lib/{loop → apps}/plugins/notebook-toolbar/names.js +1 -1
- package/lib/{loop → apps}/plugins/notebook-toolbar/plugin.js +1 -1
- package/lib/{loop → apps}/plugins/notebook-view/index.js +1 -1
- package/lib/{loop → apps}/plugins/page-layout/SplitLayout.d.ts +1 -1
- package/lib/{loop → apps}/plugins/page-layout/SplitLayout.js +1 -1
- package/lib/{loop → apps}/plugins/page-layout/TurnPanel.d.ts +1 -1
- package/lib/{loop → apps}/plugins/page-layout/TurnPanel.js +2 -1
- package/lib/{loop → apps}/plugins/plugins-panel/index.js +1 -1
- package/lib/{loop → apps}/plugins/prompt/NewChatAction.d.ts +1 -1
- package/lib/{loop → apps}/plugins/prompt/index.js +1 -1
- package/lib/{loop → apps}/plugins/shell/editorChoice.d.ts +1 -1
- package/lib/{loop → apps}/plugins/shell/editorChoice.js +1 -1
- package/lib/{loop → apps}/plugins/shell/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/shell/useEditorPreviews.d.ts +1 -1
- package/lib/{loop → apps}/plugins/subagent-activity/SubagentPulse.d.ts +1 -1
- package/lib/{loop → apps}/plugins/subagent-activity/index.js +1 -1
- package/lib/{loop → apps}/plugins/view-switch/index.d.ts +1 -1
- package/lib/{loop → apps}/plugins/window-frame/WindowFrame.d.ts +1 -1
- package/lib/{loop → apps}/plugins/window-frame/index.js +1 -1
- package/lib/{loop → apps}/plugins/window-frame/slots.d.ts +1 -1
- package/lib/{loop → apps}/plugins/window-frame/slots.js +1 -1
- package/lib/{loop → apps}/presets.d.ts +1 -1
- package/lib/{loop → apps}/presets.js +1 -1
- package/lib/{loop → apps}/shell/LoopWorkspace.d.ts +1 -1
- package/lib/{loop → apps}/shell/PluginToggles.d.ts +1 -1
- package/lib/{loop → apps}/shell/SidebarRail.d.ts +1 -1
- package/lib/{loop → apps}/shell/ViewSwitcher.d.ts +1 -1
- package/lib/{loop → apps}/shell/WorkspaceFullScreenAction.d.ts +1 -1
- package/lib/{loop → apps}/shell/index.d.ts +1 -1
- package/lib/{loop → apps}/shell/index.js +1 -1
- package/lib/{loop → apps}/shell/paneMotion.d.ts +1 -1
- package/lib/{loop → apps}/shell/paneMotion.js +1 -1
- package/lib/{loop → apps}/shell/useWorkspaceFullScreen.d.ts +1 -1
- package/lib/chat/ChatLanguage.js +1 -1
- package/lib/chat/messages/ChatMarkdown.js +2 -1
- package/lib/chat/messages/markdownWithoutHtml.d.ts +34 -0
- package/lib/chat/messages/markdownWithoutHtml.js +53 -0
- package/lib/chat/parts/ReasoningPart.js +2 -1
- package/lib/chat/parts/TextPart.js +2 -1
- package/lib/chat/words.js +2 -2
- package/lib/components/a2ui/custom/index.js +1 -3
- package/lib/components/a2ui/datalayer/FileUpload.js +1 -1
- package/lib/components/cards/NotificationEventCard.js +2 -1
- package/lib/components/cards/OutputCard.js +2 -1
- package/lib/components/teams/AnswerSurfaces.js +1 -1
- package/lib/components/teams/AnswerSurfacesView.js +2 -2
- package/lib/components/teams/TeamNotebookView.d.ts +1 -1
- package/lib/components/teams/TeamNotebookView.js +1 -1
- package/lib/components/teams/sceneTranscript.d.ts +1 -1
- package/lib/examples/A2UiAgentExample.js +3 -3
- package/lib/examples/A2UiComponentsGalleryExample.js +2 -2
- package/lib/examples/A2UiContactCardExample.js +2 -2
- package/lib/examples/A2UiJupyterOutputExample.js +3 -3
- package/lib/examples/A2UiRestaurantExample.js +2 -2
- package/lib/examples/A2UiViewerExample.js +2 -2
- package/lib/examples/AgentA2AExample.js +3 -3
- package/lib/examples/AgentCheckpointsExample.js +3 -3
- package/lib/examples/AgentCodeSandboxExample.js +2 -2
- package/lib/examples/AgentCodeSandboxesExample.js +2 -2
- package/lib/examples/AgentCodemodeExample.js +3 -3
- package/lib/examples/AgentCompactionExample.js +2 -2
- package/lib/examples/AgentDecideExample.js +3 -3
- package/lib/examples/AgentEvalsExample.js +2 -2
- package/lib/examples/AgentGuardrailsExample.js +3 -3
- package/lib/examples/AgentHooksExample.js +2 -2
- package/lib/examples/AgentInferenceProviderExample.js +2 -2
- package/lib/examples/AgentMCPExample.js +3 -3
- package/lib/examples/AgentMemoryExample.js +2 -2
- package/lib/examples/AgentMonitoringExample.js +3 -3
- package/lib/examples/AgentNotificationsExample.js +2 -2
- package/lib/examples/AgentOtelExample.js +2 -2
- package/lib/examples/AgentOutputsExample.js +2 -2
- package/lib/examples/AgentParametersExample.js +2 -2
- package/lib/examples/AgentSkillsExample.js +2 -2
- package/lib/examples/AgentSubagentsExample.js +2 -2
- package/lib/examples/AgentToolApprovalsExample.js +2 -2
- package/lib/examples/AgentTriggersExample.js +2 -2
- package/lib/examples/AssistantExample.js +1 -1
- package/lib/examples/DecksAgent.js +2 -2
- package/lib/examples/DocumentPageAgent.js +1 -1
- package/lib/examples/LoopAppComputerExample.js +1 -1
- package/lib/examples/LoopShellExample.js +3 -3
- package/lib/examples/LoopWorkspaceExample.d.ts +1 -1
- package/lib/examples/LoopWorkspaceExample.js +5 -5
- package/lib/examples/NotebookPageAgent.js +1 -1
- package/lib/examples/utils/AssistantGalleryGrid.js +1 -1
- package/lib/examples/utils/owlCharacterPlugin.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/loop-example-main.js +1 -1
- package/lib/loop-main.js +9 -9
- package/lib/stories/loop/ReferenceScreens.js +1 -1
- package/lib/ui-plugins/MCPUIPlugin.d.ts +14 -0
- package/lib/ui-plugins/MCPUIPlugin.js +17 -48
- package/lib/ui-plugins/index.d.ts +1 -1
- package/lib/ui-plugins/index.js +1 -1
- package/package.json +3 -2
- /package/lib/{loop → apps}/apps/AppFeedback.js +0 -0
- /package/lib/{loop → apps}/apps/AppKept.js +0 -0
- /package/lib/{loop → apps}/apps/AppRuntimePlugins.d.ts +0 -0
- /package/lib/{loop → apps}/apps/agent.d.ts +0 -0
- /package/lib/{loop → apps}/apps/appspec.js +0 -0
- /package/lib/{loop → apps}/apps/checks.d.ts +0 -0
- /package/lib/{loop → apps}/apps/composer.js +0 -0
- /package/lib/{loop → apps}/apps/computer.js +0 -0
- /package/lib/{loop → apps}/apps/customComponents.d.ts +0 -0
- /package/lib/{loop → apps}/apps/feedback.js +0 -0
- /package/lib/{loop → apps}/apps/hostTools.js +0 -0
- /package/lib/{loop → apps}/apps/kept.js +0 -0
- /package/lib/{loop → apps}/apps/language.js +0 -0
- /package/lib/{loop → apps}/apps/pluginPair.js +0 -0
- /package/lib/{loop → apps}/apps/records.js +0 -0
- /package/lib/{loop → apps}/apps/rules.d.ts +0 -0
- /package/lib/{loop → apps}/apps/threads.js +0 -0
- /package/lib/{loop → apps}/apps/uploads.js +0 -0
- /package/lib/{loop → apps}/apps/visitorToken.d.ts +0 -0
- /package/lib/{loop → apps}/apps/yaml.d.ts +0 -0
- /package/lib/{loop → apps}/core/a2uiComponents.d.ts +0 -0
- /package/lib/{loop → apps}/core/canvasBlocks.d.ts +0 -0
- /package/lib/{loop → apps}/core/focusRequests.d.ts +0 -0
- /package/lib/{loop → apps}/core/index.d.ts +0 -0
- /package/lib/{loop → apps}/core/promptStore.d.ts +0 -0
- /package/lib/{loop → apps}/core/surfaceRequests.js +0 -0
- /package/lib/{loop → apps}/core/toolbar.d.ts +0 -0
- /package/lib/{loop → apps}/embed/AppEmbed.d.ts +0 -0
- /package/lib/{loop → apps}/embed/datalayer-app.d.ts +0 -0
- /package/lib/{loop → apps}/embed/element.d.ts +0 -0
- /package/lib/{loop → apps}/embed/embedConfig.js +0 -0
- /package/lib/{loop → apps}/embed/embedSession.js +0 -0
- /package/lib/{loop → apps}/embed/embedTheme.d.ts +0 -0
- /package/lib/{loop → apps}/embed/embedTheme.js +0 -0
- /package/lib/{loop → apps}/embed/hostBridge.js +0 -0
- /package/lib/{loop → apps}/extensions.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/a2a-sidebar/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/a2ui/A2uiView.js +0 -0
- /package/lib/{loop → apps}/plugins/a2ui/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-scene/index.js +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/InlineSurface.js +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/SurfaceToolResult.js +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/index.js +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/ownComponents.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/a2ui-surface/toolResult.js +0 -0
- /package/lib/{loop → apps}/plugins/agent-a2a/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-a2ui/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-a2ui-jupyter-output/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-checkpoints/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-code-sandbox/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-code-sandboxes/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-codemode/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-compaction/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-evals/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-guardrails/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-hooks/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-inference/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-mcp/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-memory/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-monitoring/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-notifications/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-otel/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-outputs/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-parameters/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-skills/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-subagents/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-tool-approvals/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agent-triggers/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agents/AgentSummaryPanel.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/AnonymousKeyBadge.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/DatalayerAgentBridge.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/DatalayerAgentMount.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/SandboxSelector.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/SandboxStatusBridge.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/SandboxView.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/TeamMemberPicker.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/appLaunch.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/browserService.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agents/plugin.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/specSubagents.js +0 -0
- /package/lib/{loop → apps}/plugins/agents/useSandboxService.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agents/useTeamSelection.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/agentspecs/AgentspecPicker.js +0 -0
- /package/lib/{loop → apps}/plugins/agentspecs/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/app-activity/AppActivity.js +0 -0
- /package/lib/{loop → apps}/plugins/app-activity/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/app-activity/index.js +0 -0
- /package/lib/{loop → apps}/plugins/app-computer/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/app-computer/index.js +0 -0
- /package/lib/{loop → apps}/plugins/app-elements/AppElements.js +0 -0
- /package/lib/{loop → apps}/plugins/app-page/AppPage.js +0 -0
- /package/lib/{loop → apps}/plugins/app-page/appPageModel.js +0 -0
- /package/lib/{loop → apps}/plugins/app-page/index.js +0 -0
- /package/lib/{loop → apps}/plugins/app-rules/AppRulesCard.js +0 -0
- /package/lib/{loop → apps}/plugins/app-rules/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/app-rules/index.js +0 -0
- /package/lib/{loop → apps}/plugins/assistant/index.js +0 -0
- /package/lib/{loop → apps}/plugins/chat/ChatView.js +0 -0
- /package/lib/{loop → apps}/plugins/chat/chatViewTools.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/chat/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/chat-extras/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/chat-header/HeaderView.js +0 -0
- /package/lib/{loop → apps}/plugins/chat-header/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/chat-header/index.js +0 -0
- /package/lib/{loop → apps}/plugins/chat-view/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/checkpoints-sidebar/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/commands/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/decks/DeckSurface.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/decks/DeckSurface.js +0 -0
- /package/lib/{loop → apps}/plugins/decks/DecksMenu.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/decks/DecksMenu.js +0 -0
- /package/lib/{loop → apps}/plugins/decks/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/document/DocumentView.js +0 -0
- /package/lib/{loop → apps}/plugins/document/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/document/openingDocument.js +0 -0
- /package/lib/{loop → apps}/plugins/document-toolbar/SandboxStatusItem.js +0 -0
- /package/lib/{loop → apps}/plugins/document-toolbar/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/document-toolbar/plugin.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/document-view/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/graph/GraphToggle.js +0 -0
- /package/lib/{loop → apps}/plugins/graph/GraphView.js +0 -0
- /package/lib/{loop → apps}/plugins/graph/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/input-prompt/ComposerView.js +0 -0
- /package/lib/{loop → apps}/plugins/input-prompt/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/input-prompt/index.js +0 -0
- /package/lib/{loop → apps}/plugins/models/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/notebook/NotebookView.js +0 -0
- /package/lib/{loop → apps}/plugins/notebook/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/notebook/openingNotebook.js +0 -0
- /package/lib/{loop → apps}/plugins/notebook-toolbar/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/notebook-toolbar/items.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/notebook-toolbar/items.js +0 -0
- /package/lib/{loop → apps}/plugins/notebook-toolbar/plugin.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/notebook-view/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/page-layout/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/page-layout/index.js +0 -0
- /package/lib/{loop → apps}/plugins/plugins-panel/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/prompt/NewChatAction.js +0 -0
- /package/lib/{loop → apps}/plugins/prompt/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/shell/index.js +0 -0
- /package/lib/{loop → apps}/plugins/shell/useEditorPreviews.js +0 -0
- /package/lib/{loop → apps}/plugins/subagent-activity/SubagentPulse.js +0 -0
- /package/lib/{loop → apps}/plugins/subagent-activity/index.d.ts +0 -0
- /package/lib/{loop → apps}/plugins/view-switch/index.js +0 -0
- /package/lib/{loop → apps}/plugins/window-frame/WindowFrame.js +0 -0
- /package/lib/{loop → apps}/plugins/window-frame/index.d.ts +0 -0
- /package/lib/{loop → apps}/shell/LoopWorkspace.js +0 -0
- /package/lib/{loop → apps}/shell/PluginToggles.js +0 -0
- /package/lib/{loop → apps}/shell/SidebarRail.js +0 -0
- /package/lib/{loop → apps}/shell/ViewSwitcher.js +0 -0
- /package/lib/{loop → apps}/shell/WorkspaceFullScreenAction.js +0 -0
- /package/lib/{loop → apps}/shell/useWorkspaceFullScreen.js +0 -0
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* @module components/teams/sceneTranscript
|
|
20
20
|
*/
|
|
21
21
|
import type { OtelSpan } from '@datalayer/core/lib/otel/types';
|
|
22
|
-
import type { RecordEntry } from '../../
|
|
22
|
+
import type { RecordEntry } from '../../apps/apps/records';
|
|
23
23
|
import { type A2ATeamConnection } from './a2aTeamFlow';
|
|
24
24
|
/** A member of the scene, as the transcript names it. */
|
|
25
25
|
export type SceneTranscriptMember = {
|
|
@@ -29,11 +29,11 @@ import { A2UI_RENDER_SCOPE_SX, A2uiSurfaceComposed } from '../components/a2ui';
|
|
|
29
29
|
import { ThemedProvider } from './utils/themedProvider';
|
|
30
30
|
import { A2uiMarkdownProvider } from './utils/a2uiMarkdownProvider';
|
|
31
31
|
import { useA2uiProcessor } from './utils/a2ui';
|
|
32
|
-
import { createA2uiSurfacePlugin, validateA2uiSubmission, } from '../
|
|
32
|
+
import { createA2uiSurfacePlugin, validateA2uiSubmission, } from '../apps/plugins/a2ui-surface';
|
|
33
33
|
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
34
34
|
import { uniqueAgentId } from './utils/agentId';
|
|
35
|
-
import { LoopEmbed } from '../
|
|
36
|
-
import { AgentA2uiPlugin } from '../
|
|
35
|
+
import { LoopEmbed } from '../apps';
|
|
36
|
+
import { AgentA2uiPlugin } from '../apps/plugins/agent-a2ui';
|
|
37
37
|
setupPrimerPortals();
|
|
38
38
|
const AGENT_NAME = 'a2ui-agent';
|
|
39
39
|
const AGENTSPEC_ID = 'example-a2ui-agent';
|
|
@@ -16,8 +16,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
16
16
|
import { useMemo } from 'react';
|
|
17
17
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
18
18
|
import { ThemedProvider } from './utils/themedProvider';
|
|
19
|
-
import { LoopEmbed } from '../
|
|
20
|
-
import { defineA2uiScenePlugin } from '../
|
|
19
|
+
import { LoopEmbed } from '../apps';
|
|
20
|
+
import { defineA2uiScenePlugin } from '../apps/plugins/a2ui-scene';
|
|
21
21
|
setupPrimerPortals();
|
|
22
22
|
const ScenePlugin = defineA2uiScenePlugin({
|
|
23
23
|
key: 'components-gallery',
|
|
@@ -16,8 +16,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
16
16
|
import { useMemo } from 'react';
|
|
17
17
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
18
18
|
import { ThemedProvider } from './utils/themedProvider';
|
|
19
|
-
import { LoopEmbed } from '../
|
|
20
|
-
import { defineA2uiScenePlugin } from '../
|
|
19
|
+
import { LoopEmbed } from '../apps';
|
|
20
|
+
import { defineA2uiScenePlugin } from '../apps/plugins/a2ui-scene';
|
|
21
21
|
setupPrimerPortals();
|
|
22
22
|
const ScenePlugin = defineA2uiScenePlugin({
|
|
23
23
|
key: 'contact-card',
|
|
@@ -4,9 +4,9 @@ import { Box } from '@datalayer/primer-addons';
|
|
|
4
4
|
import { Button, Label, SegmentedControl, Spinner, Text, } from '@primer/react';
|
|
5
5
|
import { PlayIcon } from '@primer/octicons-react';
|
|
6
6
|
import { Output, OutputIPyWidgets } from '@datalayer/jupyter-react';
|
|
7
|
-
import { LoopEmbed } from '../
|
|
8
|
-
import { AgentA2uiJupyterOutputPlugin } from '../
|
|
9
|
-
import { createChatExtrasPlugin } from '../
|
|
7
|
+
import { LoopEmbed } from '../apps';
|
|
8
|
+
import { AgentA2uiJupyterOutputPlugin } from '../apps/plugins/agent-a2ui-jupyter-output';
|
|
9
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
10
10
|
import { A2UI_RENDER_SCOPE_SX, A2uiSurfaceComposed } from '../components/a2ui';
|
|
11
11
|
import { ThemedJupyterProvider, ThemedProvider } from './utils/themedProvider';
|
|
12
12
|
import { A2uiMarkdownProvider } from './utils/a2uiMarkdownProvider';
|
|
@@ -16,8 +16,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
16
16
|
import { useMemo } from 'react';
|
|
17
17
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
18
18
|
import { ThemedProvider } from './utils/themedProvider';
|
|
19
|
-
import { LoopEmbed } from '../
|
|
20
|
-
import { defineA2uiScenePlugin } from '../
|
|
19
|
+
import { LoopEmbed } from '../apps';
|
|
20
|
+
import { defineA2uiScenePlugin } from '../apps/plugins/a2ui-scene';
|
|
21
21
|
setupPrimerPortals();
|
|
22
22
|
const ScenePlugin = defineA2uiScenePlugin({
|
|
23
23
|
key: 'restaurant',
|
|
@@ -23,10 +23,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
23
23
|
import { useMemo } from 'react';
|
|
24
24
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
25
25
|
import { ThemedProvider } from './utils/themedProvider';
|
|
26
|
-
import { LoopEmbed } from '../
|
|
26
|
+
import { LoopEmbed } from '../apps';
|
|
27
27
|
import { useRuntimeTargetStore } from './utils/runtimeTargetStore';
|
|
28
28
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
29
|
-
import { defineA2uiScenePlugin } from '../
|
|
29
|
+
import { defineA2uiScenePlugin } from '../apps/plugins/a2ui-scene';
|
|
30
30
|
setupPrimerPortals();
|
|
31
31
|
const ScenePlugin = defineA2uiScenePlugin({
|
|
32
32
|
key: 'viewer',
|
|
@@ -25,9 +25,9 @@ import { Box } from '@datalayer/primer-addons';
|
|
|
25
25
|
import { ThemedProvider } from './utils/themedProvider';
|
|
26
26
|
import { uniqueAgentId } from './utils/agentId';
|
|
27
27
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
28
|
-
import { LoopEmbed } from '../
|
|
29
|
-
import { AgentA2APlugin } from '../
|
|
30
|
-
import { A2ASidebarPlugin } from '../
|
|
28
|
+
import { LoopEmbed } from '../apps';
|
|
29
|
+
import { AgentA2APlugin } from '../apps/plugins/agent-a2a';
|
|
30
|
+
import { A2ASidebarPlugin } from '../apps/plugins/a2a-sidebar';
|
|
31
31
|
import { getAgentspecs } from '../specs/agents';
|
|
32
32
|
const AGENT_NAME = 'a2a-example-agent';
|
|
33
33
|
const AGENTSPEC_ID = 'example-a2a';
|
|
@@ -27,9 +27,9 @@ import { Box } from '@datalayer/primer-addons';
|
|
|
27
27
|
import { AuthRequiredView, ErrorView } from './components';
|
|
28
28
|
import { ThemedProvider } from './utils/themedProvider';
|
|
29
29
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
30
|
-
import { LoopEmbed } from '../
|
|
31
|
-
import { AgentCheckpointsPlugin } from '../
|
|
32
|
-
import { CheckpointsSidebarPlugin } from '../
|
|
30
|
+
import { LoopEmbed } from '../apps';
|
|
31
|
+
import { AgentCheckpointsPlugin } from '../apps/plugins/agent-checkpoints';
|
|
32
|
+
import { CheckpointsSidebarPlugin } from '../apps/plugins/checkpoints-sidebar';
|
|
33
33
|
import { uniqueAgentId } from './utils/agentId';
|
|
34
34
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
35
35
|
import { useRuntimeTargetStore } from './utils/runtimeTargetStore';
|
|
@@ -25,8 +25,8 @@ import { CodeIcon, CodespacesIcon, StopIcon, TerminalIcon, } from '@primer/octic
|
|
|
25
25
|
import { ThemedProvider } from './utils/themedProvider';
|
|
26
26
|
import { uniqueAgentId } from './utils/agentId';
|
|
27
27
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
28
|
-
import { LoopEmbed } from '../
|
|
29
|
-
import { AgentCodeSandboxPlugin } from '../
|
|
28
|
+
import { LoopEmbed } from '../apps';
|
|
29
|
+
import { AgentCodeSandboxPlugin } from '../apps/plugins/agent-code-sandbox';
|
|
30
30
|
import { SANDBOX_STATUS_COLORS, SANDBOX_STATUS_LABELS } from '../types/sandbox';
|
|
31
31
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
32
32
|
const AGENT_NAME = 'code-sandbox-example-agent';
|
|
@@ -21,8 +21,8 @@ import { CodespacesIcon, SyncIcon } from '@primer/octicons-react';
|
|
|
21
21
|
import { ThemedProvider } from './utils/themedProvider';
|
|
22
22
|
import { uniqueAgentId } from './utils/agentId';
|
|
23
23
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
24
|
-
import { LoopEmbed } from '../
|
|
25
|
-
import { SANDBOX_CAPACITIES, SandboxCapacityPlugins, } from '../
|
|
24
|
+
import { LoopEmbed } from '../apps';
|
|
25
|
+
import { SANDBOX_CAPACITIES, SandboxCapacityPlugins, } from '../apps/plugins/agent-code-sandboxes';
|
|
26
26
|
const AgentCodeSandboxesInner = () => {
|
|
27
27
|
const serverUrl = useMemo(() => resolveExampleAgentRuntimesUrl('local'), []);
|
|
28
28
|
const [selectedKey, setSelectedKey] = useState(SANDBOX_CAPACITIES[0].key);
|
|
@@ -29,9 +29,9 @@ import { ThemedProvider } from './utils/themedProvider';
|
|
|
29
29
|
import { AuthRequiredView } from './components';
|
|
30
30
|
import { uniqueAgentId } from './utils/agentId';
|
|
31
31
|
import { useAIAgentsWebSocket } from '../hooks';
|
|
32
|
-
import { LoopEmbed } from '../
|
|
33
|
-
import { AgentCodemodePlugin, AgentNoCodemodePlugin, } from '../
|
|
34
|
-
import { createChatExtrasPlugin } from '../
|
|
32
|
+
import { LoopEmbed } from '../apps';
|
|
33
|
+
import { AgentCodemodePlugin, AgentNoCodemodePlugin, } from '../apps/plugins/agent-codemode';
|
|
34
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
35
35
|
import { ContextPanel, } from '../context/ContextPanel';
|
|
36
36
|
import { parseAgentStreamMessage, } from '../types/stream';
|
|
37
37
|
import { MCP_SERVER_LIBRARY } from '../specs/mcpServers';
|
|
@@ -19,8 +19,8 @@ import { HistoryIcon, ClockIcon, ArrowRightIcon, CheckCircleIcon, StackIcon, } f
|
|
|
19
19
|
import { Box } from '@datalayer/primer-addons';
|
|
20
20
|
import { ThemedProvider } from './utils/themedProvider';
|
|
21
21
|
import { uniqueAgentId } from './utils/agentId';
|
|
22
|
-
import { LoopEmbed } from '../
|
|
23
|
-
import { createAgentCompactionPlugin } from '../
|
|
22
|
+
import { LoopEmbed } from '../apps';
|
|
23
|
+
import { createAgentCompactionPlugin } from '../apps/plugins/agent-compaction';
|
|
24
24
|
import { useAgentRuntimeCompaction, agentRuntimeStore } from '../stores';
|
|
25
25
|
import { getAgentspecs } from '../specs/agents';
|
|
26
26
|
import { AI_MODEL_CATALOGUE } from '../specs';
|
|
@@ -30,9 +30,9 @@ import { Heading, Text } from '@primer/react';
|
|
|
30
30
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
31
31
|
import { ThemedProvider } from './utils/themedProvider';
|
|
32
32
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
33
|
-
import { AppRenderer, appDatalayerCreatePayload, } from '../
|
|
34
|
-
import { AssistantCharactersPlugin } from '../
|
|
35
|
-
import { LoopAssistantPlugin } from '../
|
|
33
|
+
import { AppRenderer, appDatalayerCreatePayload, } from '../apps/apps/AppRenderer';
|
|
34
|
+
import { AssistantCharactersPlugin } from '../apps/plugins/assistant-characters';
|
|
35
|
+
import { LoopAssistantPlugin } from '../apps/plugins/assistant';
|
|
36
36
|
import { APP_CATALOGUE } from '../specs/apps';
|
|
37
37
|
setupPrimerPortals();
|
|
38
38
|
/** The local server: `?agentRuntimesUrl=` when given, else the examples' own. */
|
|
@@ -28,8 +28,8 @@ import { resolveExampleAgentRuntimesUrl, useExampleAgentRuntimesUrl, } from './u
|
|
|
28
28
|
import { runtimeTargetCapabilities, useRuntimeTargetStore, } from './utils/runtimeTargetStore';
|
|
29
29
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
30
30
|
import { useCoreStore } from '@datalayer/core';
|
|
31
|
-
import { LoopEmbed } from '../
|
|
32
|
-
import { AgentEvalsPlugin } from '../
|
|
31
|
+
import { LoopEmbed } from '../apps';
|
|
32
|
+
import { AgentEvalsPlugin } from '../apps/plugins/agent-evals';
|
|
33
33
|
import { useExampleAgentRuntimes as useAgentRuntimes } from './hooks/useExampleAgentRuntimes';
|
|
34
34
|
const LOOP_PLUGINS_AGENTEVA = [AgentEvalsPlugin];
|
|
35
35
|
const queryClient = new QueryClient();
|
|
@@ -34,10 +34,10 @@ import { useAIAgentsWebSocket } from '../hooks';
|
|
|
34
34
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
35
35
|
const queryClient = new QueryClient();
|
|
36
36
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
37
|
-
import { LoopEmbed } from '../
|
|
37
|
+
import { LoopEmbed } from '../apps';
|
|
38
38
|
import { agentRuntimeStore } from '../stores';
|
|
39
|
-
import { AgentGuardrailsPlugin } from '../
|
|
40
|
-
import { createChatExtrasPlugin } from '../
|
|
39
|
+
import { AgentGuardrailsPlugin } from '../apps/plugins/agent-guardrails';
|
|
40
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
41
41
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
42
42
|
const AGENT_NAME = 'guardrails-example-agent';
|
|
43
43
|
const AGENTSPEC_ID = 'example-guardrails';
|
|
@@ -19,8 +19,8 @@ import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
|
19
19
|
import { ThemedProvider } from './utils/themedProvider';
|
|
20
20
|
import { uniqueAgentId } from './utils/agentId';
|
|
21
21
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
22
|
-
import { LoopEmbed } from '../
|
|
23
|
-
import { AgentHooksPlugin } from '../
|
|
22
|
+
import { LoopEmbed } from '../apps';
|
|
23
|
+
import { AgentHooksPlugin } from '../apps/plugins/agent-hooks';
|
|
24
24
|
setupPrimerPortals();
|
|
25
25
|
const AGENT_NAME = 'hooks-example-agent';
|
|
26
26
|
const AgentHooksExample = () => {
|
|
@@ -12,8 +12,8 @@ import { ThemedProvider } from './utils/themedProvider';
|
|
|
12
12
|
import { uniqueAgentId } from './utils/agentId';
|
|
13
13
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
14
14
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
15
|
-
import { LoopEmbed } from '../
|
|
16
|
-
import { createAgentInferencePlugin } from '../
|
|
15
|
+
import { LoopEmbed } from '../apps';
|
|
16
|
+
import { createAgentInferencePlugin } from '../apps/plugins/agent-inference';
|
|
17
17
|
import { useAIAgentsWebSocket } from '../hooks';
|
|
18
18
|
const AGENTSPEC_ID = 'example-inference';
|
|
19
19
|
const AGENT_NAME = 'inference-provider-example-agent';
|
|
@@ -14,9 +14,9 @@ import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
|
14
14
|
import { ThemedProvider } from './utils/themedProvider';
|
|
15
15
|
import { uniqueAgentId } from './utils/agentId';
|
|
16
16
|
import { waitForAgent } from './utils/waitForAgent';
|
|
17
|
-
import { LoopEmbed } from '../
|
|
18
|
-
import { AgentMcpPlugin } from '../
|
|
19
|
-
import { createChatExtrasPlugin } from '../
|
|
17
|
+
import { LoopEmbed } from '../apps';
|
|
18
|
+
import { AgentMcpPlugin } from '../apps/plugins/agent-mcp';
|
|
19
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
20
20
|
import { useAIAgentsWebSocket } from '../hooks';
|
|
21
21
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
22
22
|
import { parseAgentStreamMessage } from '../types/stream';
|
|
@@ -27,8 +27,8 @@ import { uniqueAgentId } from './utils/agentId';
|
|
|
27
27
|
import { waitForAgent } from './utils/waitForAgent';
|
|
28
28
|
const queryClient = new QueryClient();
|
|
29
29
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
30
|
-
import { LoopEmbed } from '../
|
|
31
|
-
import { AgentMemoryPlugin } from '../
|
|
30
|
+
import { LoopEmbed } from '../apps';
|
|
31
|
+
import { AgentMemoryPlugin } from '../apps/plugins/agent-memory';
|
|
32
32
|
import { listRuntimeMemories } from '../api/runtimes/runtimes';
|
|
33
33
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
34
34
|
import { useRuntimeTargetStore } from './utils/runtimeTargetStore';
|
|
@@ -35,9 +35,9 @@ import { useCoreStore } from '../state/substates';
|
|
|
35
35
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
36
36
|
const queryClient = new QueryClient();
|
|
37
37
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
38
|
-
import { LoopEmbed } from '../
|
|
39
|
-
import { AgentMonitoringPlugin } from '../
|
|
40
|
-
import { createChatExtrasPlugin } from '../
|
|
38
|
+
import { LoopEmbed } from '../apps';
|
|
39
|
+
import { AgentMonitoringPlugin } from '../apps/plugins/agent-monitoring';
|
|
40
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
41
41
|
const AGENT_NAME = 'monitoring-example-agent';
|
|
42
42
|
const OTEL_BASE_URL_ENV = import.meta.env.VITE_OTEL_BASE_URL;
|
|
43
43
|
// Consume-side OTEL override (DATALAYER_OTEL_IN_URL). When set, telemetry is
|
|
@@ -24,9 +24,9 @@ import { ThemedProvider } from './utils/themedProvider';
|
|
|
24
24
|
import { uniqueAgentId } from './utils/agentId';
|
|
25
25
|
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
26
26
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
27
|
-
import { LoopEmbed } from '../
|
|
27
|
+
import { LoopEmbed } from '../apps';
|
|
28
28
|
import { useAgentRuntimeStore } from '../stores';
|
|
29
|
-
import { AgentNotificationsPlugin } from '../
|
|
29
|
+
import { AgentNotificationsPlugin } from '../apps/plugins/agent-notifications';
|
|
30
30
|
const queryClient = new QueryClient();
|
|
31
31
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
32
32
|
const AGENT_NAME = 'notification-example-agent';
|
|
@@ -30,9 +30,9 @@ import { OtelHeader, DashboardView, SqlView, SystemView, useSimpleAuthStore, } f
|
|
|
30
30
|
import { useCoreStore } from '@datalayer/core';
|
|
31
31
|
import { ThemedProvider } from './utils/themedProvider';
|
|
32
32
|
import { AuthRequiredView } from './components';
|
|
33
|
-
import { LoopEmbed } from '../
|
|
33
|
+
import { LoopEmbed } from '../apps';
|
|
34
34
|
import { uniqueAgentId } from './utils/agentId';
|
|
35
|
-
import { AgentOtelPlugin } from '../
|
|
35
|
+
import { AgentOtelPlugin } from '../apps/plugins/agent-otel';
|
|
36
36
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
37
37
|
// ─── Environment / defaults ────────────────────────────────────────────────
|
|
38
38
|
const OTEL_BASE_URL_ENV = import.meta.env.VITE_OTEL_BASE_URL ?? '';
|
|
@@ -30,8 +30,8 @@ import { AuthRequiredView } from './components';
|
|
|
30
30
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
31
31
|
import { ThemedProvider } from './utils/themedProvider';
|
|
32
32
|
import { uniqueAgentId } from './utils/agentId';
|
|
33
|
-
import { LoopEmbed } from '../
|
|
34
|
-
import { AgentOutputsPlugin } from '../
|
|
33
|
+
import { LoopEmbed } from '../apps';
|
|
34
|
+
import { AgentOutputsPlugin } from '../apps/plugins/agent-outputs';
|
|
35
35
|
import { useChatStore } from '../stores/chatStore';
|
|
36
36
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
37
37
|
const LOOP_PLUGINS_AGENTOUT = [AgentOutputsPlugin];
|
|
@@ -12,8 +12,8 @@ import { ThemedProvider } from './utils/themedProvider';
|
|
|
12
12
|
import { uniqueAgentId } from './utils/agentId';
|
|
13
13
|
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
14
14
|
import { ErrorView } from './components';
|
|
15
|
-
import { LoopEmbed } from '../
|
|
16
|
-
import { AgentParametersPlugin } from '../
|
|
15
|
+
import { LoopEmbed } from '../apps';
|
|
16
|
+
import { AgentParametersPlugin } from '../apps/plugins/agent-parameters';
|
|
17
17
|
const LOOP_PLUGINS_AGENTPAR = [AgentParametersPlugin];
|
|
18
18
|
setupPrimerPortals();
|
|
19
19
|
const AGENTSPEC_ID = 'example-parameters';
|
|
@@ -14,8 +14,8 @@ import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
|
14
14
|
import { ThemedProvider } from './utils/themedProvider';
|
|
15
15
|
import { uniqueAgentId } from './utils/agentId';
|
|
16
16
|
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
17
|
-
import { LoopEmbed } from '../
|
|
18
|
-
import { AgentSkillsPlugin } from '../
|
|
17
|
+
import { LoopEmbed } from '../apps';
|
|
18
|
+
import { AgentSkillsPlugin } from '../apps/plugins/agent-skills';
|
|
19
19
|
import { useSkills, useSkillActions } from '../hooks';
|
|
20
20
|
const LOOP_PLUGINS_AGENTSKI = [AgentSkillsPlugin];
|
|
21
21
|
const queryClient = new QueryClient();
|
|
@@ -23,8 +23,8 @@ import { Box } from '@datalayer/primer-addons';
|
|
|
23
23
|
import { ThemedProvider } from './utils/themedProvider';
|
|
24
24
|
import { uniqueAgentId } from './utils/agentId';
|
|
25
25
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
26
|
-
import { LoopEmbed } from '../
|
|
27
|
-
import { AgentSubagentsPlugin } from '../
|
|
26
|
+
import { LoopEmbed } from '../apps';
|
|
27
|
+
import { AgentSubagentsPlugin } from '../apps/plugins/agent-subagents';
|
|
28
28
|
import { SubagentChatPanel } from '../chat/messages/ChatMessageList';
|
|
29
29
|
import { useAgentRuntimeActiveSubagentToolCallId, useAgentRuntimeRunningSubagentNames, } from '../stores';
|
|
30
30
|
import { getAgentspecs } from '../specs/agents';
|
|
@@ -14,8 +14,8 @@ import { ThemedProvider } from './utils/themedProvider';
|
|
|
14
14
|
import { uniqueAgentId } from './utils/agentId';
|
|
15
15
|
import { waitForAgent } from './utils/waitForAgent';
|
|
16
16
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
17
|
-
import { LoopEmbed } from '../
|
|
18
|
-
import { createAgentToolApprovalsPlugin } from '../
|
|
17
|
+
import { LoopEmbed } from '../apps';
|
|
18
|
+
import { createAgentToolApprovalsPlugin } from '../apps/plugins/agent-tool-approvals';
|
|
19
19
|
import { useAgentRuntimeApprovals } from '../stores/agentRuntimeStore';
|
|
20
20
|
const queryClient = new QueryClient();
|
|
21
21
|
const AGENT_NAME_PREFIX = 'tool-approval-example-agent';
|
|
@@ -24,8 +24,8 @@ import { AuthRequiredView, ErrorView } from './components';
|
|
|
24
24
|
import { ThemedProvider } from './utils/themedProvider';
|
|
25
25
|
import { uniqueAgentId } from './utils/agentId';
|
|
26
26
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
27
|
-
import { LoopEmbed } from '../
|
|
28
|
-
import { AgentTriggersPlugin } from '../
|
|
27
|
+
import { LoopEmbed } from '../apps';
|
|
28
|
+
import { AgentTriggersPlugin } from '../apps/plugins/agent-triggers';
|
|
29
29
|
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
30
30
|
import { waitForAgent } from './utils/waitForAgent';
|
|
31
31
|
import { useConnectedIdentities } from '../identity';
|
|
@@ -21,7 +21,7 @@ import { Button, Heading, Text, ToggleSwitch } from '@primer/react';
|
|
|
21
21
|
import { Box } from '@datalayer/primer-addons';
|
|
22
22
|
import { ThemedProvider } from './utils/themedProvider';
|
|
23
23
|
import { ChatFloating } from '../chat';
|
|
24
|
-
import { AssistantCharactersPlugin, assistantCharacterNamed, assistantCharactersOf, } from '../
|
|
24
|
+
import { AssistantCharactersPlugin, assistantCharacterNamed, assistantCharactersOf, } from '../apps/plugins/assistant-characters';
|
|
25
25
|
import { OwlCharacterPlugin } from './utils/owlCharacterPlugin';
|
|
26
26
|
import { readTestSpriteCharacter } from './utils/testSpriteCharacter';
|
|
27
27
|
import { CLIPPY_JS_CHARACTERS, CLIPPY_JS_VERSION, readClippyJsCharacter, } from './utils/clippyJsCharacters';
|
|
@@ -3,8 +3,8 @@ import { Box } from '@datalayer/primer-addons';
|
|
|
3
3
|
import { ThemedProvider } from './utils/themedProvider';
|
|
4
4
|
import { registerDeckComponents, registerDecks } from '@datalayer/decks';
|
|
5
5
|
import { exampleDeckComponents, exampleDecks } from '@datalayer/decks/examples';
|
|
6
|
-
import { LoopEmbed } from '../
|
|
7
|
-
import { DeckViewPlugin, LoopDecksPlugin } from '../
|
|
6
|
+
import { LoopEmbed } from '../apps';
|
|
7
|
+
import { DeckViewPlugin, LoopDecksPlugin } from '../apps/plugins/decks';
|
|
8
8
|
// The package's example decks, so the catalog has something to open and the
|
|
9
9
|
// agent's suggestions point at decks that exist. Once, at module load.
|
|
10
10
|
registerDecks(exampleDecks);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '@datalayer/primer-addons';
|
|
3
3
|
import { ThemedProvider } from './utils/themedProvider';
|
|
4
|
-
import { LoopEmbed } from '../
|
|
4
|
+
import { LoopEmbed } from '../apps';
|
|
5
5
|
const DocumentPageAgent = () => (_jsx(ThemedProvider, { children: _jsx(Box, { height: "100vh", minHeight: 0, children: _jsx(LoopEmbed, { target: "browser",
|
|
6
6
|
/* The Loop Shell's agent: it drives the document tools — insert a
|
|
7
7
|
block, run a code block, read the document — as readily as the
|
|
@@ -18,7 +18,7 @@ import { useMemo } from 'react';
|
|
|
18
18
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
19
19
|
import { ThemedProvider } from './utils/themedProvider';
|
|
20
20
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
21
|
-
import { AppRenderer } from '../
|
|
21
|
+
import { AppRenderer } from '../apps/apps/AppRenderer';
|
|
22
22
|
import { APP_CATALOGUE } from '../specs/apps';
|
|
23
23
|
setupPrimerPortals();
|
|
24
24
|
/** Web Research, given a computer with its files and its shell on. */
|
|
@@ -5,9 +5,9 @@ import { QueryClientProvider } from '@tanstack/react-query';
|
|
|
5
5
|
import { useReactor } from '@datalayer/reactor/react';
|
|
6
6
|
import { registerDeckComponents, registerDecks } from '@datalayer/decks';
|
|
7
7
|
import { exampleDeckComponents, exampleDecks } from '@datalayer/decks/examples';
|
|
8
|
-
import { buildLoopReactor, LoopWorkspace } from '../
|
|
9
|
-
import { DeckViewPlugin, LoopDecksPlugin } from '../
|
|
10
|
-
import { loopPlugins } from '../
|
|
8
|
+
import { buildLoopReactor, LoopWorkspace } from '../apps/shell';
|
|
9
|
+
import { DeckViewPlugin, LoopDecksPlugin } from '../apps/plugins/decks';
|
|
10
|
+
import { loopPlugins } from '../apps/presets';
|
|
11
11
|
import { internalQueryClient } from '../utils';
|
|
12
12
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
13
13
|
import { ThemedProvider } from './utils/themedProvider';
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*/
|
|
26
26
|
import type { JSX } from 'react';
|
|
27
27
|
import { type ReactNode } from 'react';
|
|
28
|
-
import { type SandboxTarget } from '../
|
|
28
|
+
import { type SandboxTarget } from '../apps/plugins/agents';
|
|
29
29
|
export type LoopWorkspaceExampleProps = {
|
|
30
30
|
/** Server backing the session. Defaults to this page's origin. */
|
|
31
31
|
serverUrl?: string;
|
|
@@ -3,11 +3,11 @@ import { useEffect, useMemo } from 'react';
|
|
|
3
3
|
import { Box } from '@datalayer/primer-addons';
|
|
4
4
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
5
5
|
import { useReactor, useSignalValue } from '@datalayer/reactor/react';
|
|
6
|
-
import { buildLoopReactor, LoopWorkspace } from '../
|
|
7
|
-
import { loopPlugins } from '../
|
|
8
|
-
import { WindowFrame } from '../
|
|
9
|
-
import { IDLE_SANDBOX_SNAPSHOT_SIGNAL, IDLE_SANDBOX_TARGET_SIGNAL, } from '../
|
|
10
|
-
import { AGENTS_PLUGIN_NAME, } from '../
|
|
6
|
+
import { buildLoopReactor, LoopWorkspace } from '../apps/shell';
|
|
7
|
+
import { loopPlugins } from '../apps/presets';
|
|
8
|
+
import { WindowFrame } from '../apps/plugins/window-frame';
|
|
9
|
+
import { IDLE_SANDBOX_SNAPSHOT_SIGNAL, IDLE_SANDBOX_TARGET_SIGNAL, } from '../apps/core';
|
|
10
|
+
import { AGENTS_PLUGIN_NAME, } from '../apps/plugins/agents';
|
|
11
11
|
import { internalQueryClient } from '../utils';
|
|
12
12
|
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
13
13
|
import { ThemedProvider } from './utils/themedProvider';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '@datalayer/primer-addons';
|
|
3
3
|
import { ThemedProvider } from './utils/themedProvider';
|
|
4
|
-
import { LoopEmbed } from '../
|
|
4
|
+
import { LoopEmbed } from '../apps';
|
|
5
5
|
const NotebookPageAgent = () => (_jsx(ThemedProvider, { children: _jsx(Box, { height: "100vh", minHeight: 0, children: _jsx(LoopEmbed, { target: "browser",
|
|
6
6
|
/* The Analyst is the team's front door; the team puts the other
|
|
7
7
|
members one click away in the composer's agents menu. */
|
|
@@ -4,7 +4,7 @@ import { Text } from '@primer/react';
|
|
|
4
4
|
import { Box } from '@datalayer/primer-addons';
|
|
5
5
|
import { buildReactorFromPlugins } from '@datalayer/reactor';
|
|
6
6
|
import { AssistantStage } from '../../chat/assistant/AssistantStage';
|
|
7
|
-
import { AssistantCharactersPlugin, assistantCharactersOf, } from '../../
|
|
7
|
+
import { AssistantCharactersPlugin, assistantCharactersOf, } from '../../apps/plugins/assistant-characters';
|
|
8
8
|
import { OWL_CHARACTER, OwlCharacterPlugin } from './owlCharacterPlugin';
|
|
9
9
|
import { NotebookPreview } from '../../components/teams/NotebookPreview';
|
|
10
10
|
import { notebookBalloonVisual } from '../../components/teams/TeamNotebook';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { contribution, definePlugin } from '@datalayer/reactor';
|
|
3
|
-
import { LoopAssistantCharacter } from '../../
|
|
3
|
+
import { LoopAssistantCharacter } from '../../apps/core';
|
|
4
4
|
const OWL = {
|
|
5
5
|
light: {
|
|
6
6
|
feathers: '#8A5A3C',
|
package/lib/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export * from './stores';
|
|
|
7
7
|
export * from './identity';
|
|
8
8
|
export * from './config';
|
|
9
9
|
export * from './specs';
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './apps';
|
|
11
11
|
export type { AgentRuntimeData, Agentspec, BenchmarkSpec, ChatCommonProps, TeamSpec, GuardrailSpec, EvalSpec, TriggerSpec, OutputSpec, NotificationChannelSpec, MCPServer, SkillSpec, SkillInfo, SkillStatus, EnvvarSpec, ToolCallStartContext, ToolCallCompleteContext, } from './types';
|
package/lib/index.js
CHANGED
|
@@ -14,4 +14,4 @@ export * from './specs';
|
|
|
14
14
|
// The LOOP workspace and its plugins, for hosts that embed it: the Datalayer
|
|
15
15
|
// application at /loop, and later the JupyterLab panel. Exported through one
|
|
16
16
|
// surface rather than by deep import (§3.5).
|
|
17
|
-
export * from './
|
|
17
|
+
export * from './apps';
|
package/lib/loop-example-main.js
CHANGED
|
@@ -9,7 +9,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
9
9
|
* Owns the providers, as every entry point does — the workspace mounts none of
|
|
10
10
|
* its own (§3.5).
|
|
11
11
|
*
|
|
12
|
-
* @module
|
|
12
|
+
* @module apps-example-main
|
|
13
13
|
*/
|
|
14
14
|
// `@jupyter-widgets` assigns to a bare `__webpack_public_path__` at module
|
|
15
15
|
// scope, which Vite's `define` cannot rewrite because it rewrites reads and not
|
package/lib/loop-main.js
CHANGED
|
@@ -11,7 +11,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
11
11
|
* inside the Datalayer app and, later, inside a JupyterLab panel, each bringing
|
|
12
12
|
* providers of its own.
|
|
13
13
|
*
|
|
14
|
-
* @module
|
|
14
|
+
* @module apps-main
|
|
15
15
|
*/
|
|
16
16
|
// `@jupyter-widgets` assigns to a bare `__webpack_public_path__` at module
|
|
17
17
|
// scope — a webpack-ism that survives into the bundle, because Vite's `define`
|
|
@@ -33,14 +33,14 @@ import { createRoot } from 'react-dom/client';
|
|
|
33
33
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
34
34
|
import { Box, DatalayerThemeProvider, setupPrimerPortals, themeConfigs, useSystemColorMode, useThemeStore, } from '@datalayer/primer-addons';
|
|
35
35
|
import { configurePlugin } from '@datalayer/reactor';
|
|
36
|
-
import { LoopWorkspace } from './
|
|
37
|
-
import { ChatPlugin } from './
|
|
38
|
-
import { A2uiPlugin } from './
|
|
39
|
-
import { AgentspecsPlugin } from './
|
|
40
|
-
import { AgentsPlugin } from './
|
|
41
|
-
import { ModelsPlugin } from './
|
|
42
|
-
import { DocumentPlugin } from './
|
|
43
|
-
import { NotebookPlugin } from './
|
|
36
|
+
import { LoopWorkspace } from './apps/shell/LoopWorkspace';
|
|
37
|
+
import { ChatPlugin } from './apps/plugins/chat';
|
|
38
|
+
import { A2uiPlugin } from './apps/plugins/a2ui';
|
|
39
|
+
import { AgentspecsPlugin } from './apps/plugins/agentspecs';
|
|
40
|
+
import { AgentsPlugin } from './apps/plugins/agents';
|
|
41
|
+
import { ModelsPlugin } from './apps/plugins/models';
|
|
42
|
+
import { DocumentPlugin } from './apps/plugins/document';
|
|
43
|
+
import { NotebookPlugin } from './apps/plugins/notebook';
|
|
44
44
|
import { internalQueryClient } from './utils';
|
|
45
45
|
// `src/index.css` is the Vite starter template's stylesheet: it sets
|
|
46
46
|
// `body { display: flex; place-items: center }`, which shrink-wraps #root to
|
|
@@ -32,7 +32,7 @@ import { CONVERSATION_BALLOON_WIDTH, ConversationBalloonClose, balloonTailAt, co
|
|
|
32
32
|
import { DecisionAsk } from '../../chat/assistant/DecisionAsk';
|
|
33
33
|
import { ConversationBalloonHeader } from '../../chat/assistant/BalloonParts';
|
|
34
34
|
import { buildReactorFromPlugins } from '@datalayer/reactor';
|
|
35
|
-
import { AssistantCharactersPlugin, assistantCharacterNamed, } from '../../
|
|
35
|
+
import { AssistantCharactersPlugin, assistantCharacterNamed, } from '../../apps/plugins/assistant-characters';
|
|
36
36
|
import { OwlCharacterPlugin } from '../../examples/utils/owlCharacterPlugin';
|
|
37
37
|
/** The screens, by the name a picture and a story take. */
|
|
38
38
|
export const REFERENCE_SCREENS = [
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* MCP-UI plugin for chat component.
|
|
3
3
|
* Renders MCP UI protocol messages and resources.
|
|
4
4
|
*
|
|
5
|
+
* What it never draws (STUDIO D-22): the markup of a resource (`text/html`)
|
|
6
|
+
* and a UI element built from a tool's props. Either is markup a server or a
|
|
7
|
+
* model supplies, and the chat may sit on the platform's origin, where people
|
|
8
|
+
* are signed in: each is refused in a sentence, in place, with no fallback.
|
|
9
|
+
* A host that holds an origin of its own for such pages registers its own
|
|
10
|
+
* renderer for the type (`registerMimeTypeRenderer`).
|
|
11
|
+
*
|
|
5
12
|
* @module components/uiPlugins/MCPUIPlugin
|
|
6
13
|
*/
|
|
7
14
|
import React from 'react';
|
|
@@ -45,6 +52,13 @@ export interface MCPUIMessage {
|
|
|
45
52
|
children?: MCPUIMessage[];
|
|
46
53
|
};
|
|
47
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* What the chat says in place of the MCP UI's markup (STUDIO D-22).
|
|
57
|
+
*/
|
|
58
|
+
export declare const MCP_UI_NOT_DRAWN: {
|
|
59
|
+
readonly html: "This answer carries a page of HTML from its MCP server. It is not drawn here: no markup from a server or a model reaches this page.";
|
|
60
|
+
readonly element: "This answer carries an interface built by its MCP server. It is not drawn here: no markup from a server or a model reaches this page.";
|
|
61
|
+
};
|
|
48
62
|
/**
|
|
49
63
|
* Create MCP-UI activity renderer
|
|
50
64
|
*/
|