@datalayer/agent-runtimes 1.3.96 → 1.3.98
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/datalayer-app-main.js +12 -12
- package/lib/apps/apps/AppRenderer.js +5 -2
- package/lib/apps/apps/AppRuntimePlugins.d.ts +6 -2
- package/lib/apps/apps/AppRuntimePlugins.js +31 -4
- package/lib/apps/apps/customComponents.d.ts +20 -2
- package/lib/apps/apps/customComponents.js +24 -3
- package/lib/apps/core/appFiles.d.ts +7 -0
- package/lib/apps/core/appFiles.js +24 -0
- package/lib/apps/core/index.d.ts +1 -0
- package/lib/apps/core/index.js +3 -0
- package/lib/apps/embed/AppEmbed.js +5 -2
- package/lib/apps/index.d.ts +1 -1
- package/lib/apps/index.js +1 -1
- package/lib/apps/plugins/agents/SandboxSelector.js +1 -1
- package/lib/apps/plugins/agents/plugin.js +2 -2
- package/lib/apps/plugins/agents/switchable.d.ts +1 -1
- package/lib/apps/plugins/agents/switchable.js +8 -3
- package/lib/apps/plugins/app-components/index.js +1 -1
- package/lib/chat/base/loopStep.d.ts +2 -1
- package/lib/chat/base/loopStep.js +2 -3
- package/lib/chat/tools/ToolCallDisplay.js +2 -1
- package/lib/components/a2ui/custom/index.d.ts +15 -3
- package/lib/components/a2ui/custom/index.js +65 -19
- package/lib/specs/agents/agents.d.ts +1 -0
- package/lib/specs/agents/agents.js +49 -0
- package/lib/specs/appspecSchema.js +1 -1
- package/package.json +2 -2
- package/scripts/dist-embed.mjs +5 -0
|
@@ -1086,6 +1086,54 @@ Use the \`get_weather\` tool to fetch current weather data.
|
|
|
1086
1086
|
parameters: undefined,
|
|
1087
1087
|
subagents: undefined,
|
|
1088
1088
|
};
|
|
1089
|
+
export const EXAMPLE_BLANK_AGENTSPEC_0_0_1 = {
|
|
1090
|
+
id: 'example-blank',
|
|
1091
|
+
version: '0.0.1',
|
|
1092
|
+
name: 'A Blank Agent',
|
|
1093
|
+
description: `A model and nothing else: no prompt of its own, no MCP servers, no skills, no tools. The application that runs it says who it is in its instructions, and gives it its tools — so an app.py runs it in its own process, as on a runtime.`,
|
|
1094
|
+
tags: ['workflow'],
|
|
1095
|
+
domain: undefined,
|
|
1096
|
+
enabled: true,
|
|
1097
|
+
model: 'bedrock:us.anthropic.claude-sonnet-4-6',
|
|
1098
|
+
modelAdditionals: ['alibaba:qwen-max'],
|
|
1099
|
+
mcpServers: [],
|
|
1100
|
+
skills: [].filter(Boolean),
|
|
1101
|
+
backendTools: [],
|
|
1102
|
+
frontendTools: [],
|
|
1103
|
+
environmentName: 'ai-agents-env',
|
|
1104
|
+
icon: 'agent',
|
|
1105
|
+
emoji: '⬜',
|
|
1106
|
+
color: '#6B7280',
|
|
1107
|
+
suggestions: [],
|
|
1108
|
+
welcomeMessage: undefined,
|
|
1109
|
+
welcomeNotebook: undefined,
|
|
1110
|
+
welcomeDocument: undefined,
|
|
1111
|
+
sandboxVariant: 'jupyter-server',
|
|
1112
|
+
harness: 'pydantic-ai',
|
|
1113
|
+
systemPrompt: undefined,
|
|
1114
|
+
systemPromptCodemodeAddons: undefined,
|
|
1115
|
+
goal: undefined,
|
|
1116
|
+
delegable: [],
|
|
1117
|
+
protocol: undefined,
|
|
1118
|
+
uiPlugin: undefined,
|
|
1119
|
+
trigger: undefined,
|
|
1120
|
+
modelConfig: undefined,
|
|
1121
|
+
mcpServerTools: undefined,
|
|
1122
|
+
guardrails: undefined,
|
|
1123
|
+
evals: undefined,
|
|
1124
|
+
codemode: undefined,
|
|
1125
|
+
output: undefined,
|
|
1126
|
+
advanced: undefined,
|
|
1127
|
+
checkpoints: undefined,
|
|
1128
|
+
authorizationPolicy: undefined,
|
|
1129
|
+
notifications: undefined,
|
|
1130
|
+
memory: 'ephemeral',
|
|
1131
|
+
preHooks: undefined,
|
|
1132
|
+
postHooks: undefined,
|
|
1133
|
+
toolHooks: undefined,
|
|
1134
|
+
parameters: undefined,
|
|
1135
|
+
subagents: undefined,
|
|
1136
|
+
};
|
|
1089
1137
|
export const EXAMPLE_BUILD_NOTEBOOK_WITH_ONE_PROMPT_AGENTSPEC_0_0_1 = {
|
|
1090
1138
|
id: 'example-build-notebook-with-one-prompt',
|
|
1091
1139
|
version: '0.0.1',
|
|
@@ -13276,6 +13324,7 @@ export const AGENTSPECS = {
|
|
|
13276
13324
|
'example-ai-writes-pandas-code': EXAMPLE_AI_WRITES_PANDAS_CODE_AGENTSPEC_0_0_1,
|
|
13277
13325
|
'example-analyze-excel-spreadsheet': EXAMPLE_ANALYZE_EXCEL_SPREADSHEET_AGENTSPEC_0_0_1,
|
|
13278
13326
|
'example-backend-tool-rendering': EXAMPLE_BACKEND_TOOL_RENDERING_AGENTSPEC_0_0_1,
|
|
13327
|
+
'example-blank': EXAMPLE_BLANK_AGENTSPEC_0_0_1,
|
|
13279
13328
|
'example-build-notebook-with-one-prompt': EXAMPLE_BUILD_NOTEBOOK_WITH_ONE_PROMPT_AGENTSPEC_0_0_1,
|
|
13280
13329
|
'example-checkpoints': EXAMPLE_CHECKPOINTS_AGENTSPEC_0_0_1,
|
|
13281
13330
|
'example-cloudflare': EXAMPLE_CLOUDFLARE_AGENTSPEC_0_0_1,
|
|
@@ -269,7 +269,7 @@ export const APPSPEC_SCHEMA = {
|
|
|
269
269
|
type: 'array',
|
|
270
270
|
},
|
|
271
271
|
source: {
|
|
272
|
-
description: "
|
|
272
|
+
description: "Its module, a built ES module whose default export draws it (`export default function (root, {props, send})`): an address over `https://`, or `http://localhost` while it is written; or a file of the application's folder, by its path in it (`gauge.js`), packaged with the application and served by the server its package is installed beside (LOOP P-29)",
|
|
273
273
|
title: 'Source',
|
|
274
274
|
type: 'string',
|
|
275
275
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datalayer/agent-runtimes",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
".",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"apply:patches": "bash scripts/apply-patches.sh",
|
|
57
|
-
"build": "npm run clean && gulp resources-to-lib && tsc -b && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
|
|
57
|
+
"build": "npm run clean && gulp resources-to-lib && tsc -b && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build && npm run build:embed",
|
|
58
58
|
"build-storybook": "storybook build",
|
|
59
59
|
"build:all": "npm run build && npm run build:examples",
|
|
60
60
|
"build:embed": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --config vite.embed.config.ts",
|