@datalayer/agent-runtimes 1.0.26 → 1.0.29
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/api/index.js +16 -4
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +41 -0
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.js +83 -0
- package/lib/components/code-sandboxes/CodeSandboxLauncher.d.ts +11 -0
- package/lib/components/code-sandboxes/CodeSandboxLauncher.js +190 -17
- package/lib/components/code-sandboxes/CodeSandboxNames.d.ts +47 -0
- package/lib/components/code-sandboxes/CodeSandboxNames.js +211 -0
- package/lib/components/code-sandboxes/CodeSandboxPicker.d.ts +14 -1
- package/lib/components/code-sandboxes/CodeSandboxPicker.js +203 -18
- package/lib/components/code-sandboxes/CodeSandboxTransfer.d.ts +6 -0
- package/lib/components/code-sandboxes/CodeSandboxUtils.d.ts +3 -0
- package/lib/components/code-sandboxes/CodeSandboxUtils.js +76 -20
- package/lib/components/code-sandboxes/NewCodeSandboxControls.d.ts +17 -0
- package/lib/components/code-sandboxes/NewCodeSandboxControls.js +4 -4
- package/lib/components/code-sandboxes/codeSandboxProviders.d.ts +29 -0
- package/lib/components/code-sandboxes/codeSandboxProviders.js +81 -0
- package/lib/components/code-sandboxes/index.d.ts +3 -0
- package/lib/components/code-sandboxes/index.js +3 -0
- package/lib/examples/AgentspecsExample.js +3 -3
- package/lib/identity/index.d.ts +1 -1
- package/lib/identity/index.js +1 -1
- package/lib/identity/types.d.ts +1 -1
- package/lib/identity/types.js +1 -1
- package/lib/models/CodeSandboxVariant.d.ts +45 -0
- package/lib/models/CodeSandboxVariant.js +65 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.js +1 -0
- package/lib/runtimes/actions.js +14 -2
- package/lib/specs/envvars.d.ts +1 -1
- package/lib/specs/envvars.js +3 -3
- package/lib/specs/mcpServers.js +2 -2
- package/lib/state/substates/RuntimesState.js +4 -1
- package/package.json +1 -1
- package/scripts/gen_workers.py +1 -1
package/lib/specs/mcpServers.js
CHANGED
|
@@ -163,13 +163,13 @@ export const KAGGLE_MCP_SERVER_0_0_1 = {
|
|
|
163
163
|
'mcp-remote',
|
|
164
164
|
'https://www.kaggle.com/mcp',
|
|
165
165
|
'--header',
|
|
166
|
-
'Authorization: Bearer ${
|
|
166
|
+
'Authorization: Bearer ${KAGGLE_API_TOKEN}',
|
|
167
167
|
],
|
|
168
168
|
transport: 'stdio',
|
|
169
169
|
enabled: true,
|
|
170
170
|
isAvailable: false,
|
|
171
171
|
tools: [],
|
|
172
|
-
requiredEnvVars: ['
|
|
172
|
+
requiredEnvVars: ['KAGGLE_API_TOKEN:0.0.1'],
|
|
173
173
|
};
|
|
174
174
|
export const ODOO_MCP_SERVER_0_0_1 = {
|
|
175
175
|
id: 'odoo',
|
|
@@ -77,7 +77,10 @@ export const runtimesStore = createStore((set, get) => {
|
|
|
77
77
|
*/
|
|
78
78
|
removeRuntimeModel: (id) => {
|
|
79
79
|
const kernels = [...get().runtimeModels];
|
|
80
|
-
|
|
80
|
+
// By the kernel it runs, or by the pod it is: a sandbox of an external
|
|
81
|
+
// provider has no kernel, so its pod name is the only name it answers
|
|
82
|
+
// to — matched on the kernel alone it was never removed from the list.
|
|
83
|
+
const index = kernels?.findIndex(model => (!!model.id && id === model.id) || id === model.pod_name) ?? -1;
|
|
81
84
|
if (index >= 0) {
|
|
82
85
|
kernels.splice(index, 1);
|
|
83
86
|
set({ runtimeModels: kernels });
|
package/package.json
CHANGED
package/scripts/gen_workers.py
CHANGED
|
@@ -40,7 +40,7 @@ VERTICALS = {
|
|
|
40
40
|
"emoji": "🧬", "icon": "beaker", "color": "#06B6D4",
|
|
41
41
|
"mcp": ["huggingface:0.0.1", "kaggle:0.0.1"],
|
|
42
42
|
"skills": ["text-summarizer:0.0.1", "pdf:0.0.1"],
|
|
43
|
-
"envvars": ["HF_TOKEN:0.0.1", "
|
|
43
|
+
"envvars": ["HF_TOKEN:0.0.1", "KAGGLE_API_TOKEN:0.0.1"],
|
|
44
44
|
},
|
|
45
45
|
"capital-markets": {
|
|
46
46
|
"emoji": "📈", "icon": "graph", "color": "#3B82F6",
|