@datalayer/agent-runtimes 1.6.11 → 1.6.12

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.
@@ -28,6 +28,7 @@ export const BACKEND_TOOL_ACTIONS = {
28
28
  'generate-haiku': ['read'],
29
29
  'generate-task-steps': ['read'],
30
30
  'get-weather': ['read'],
31
+ 'github-repositories': ['read'],
31
32
  'runtime-echo': ['read'],
32
33
  'runtime-send-mail': ['send'],
33
34
  'runtime-sensitive-echo': ['read'],
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { ALPHAVANTAGE_MCP_SERVER_0_0_1, BLUESKY_MCP_SERVER_0_0_1, CHART_MCP_SERVER_0_0_1, DISCORD_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, LINKEDIN_MCP_SERVER_0_0_1, ODOO_MCP_SERVER_0_0_1, ODOO_ACCOUNTING_MCP_SERVER_0_0_1, SALESFORCE_MCP_SERVER_0_0_1, SLACK_MCP_SERVER_0_0_1, TAVILY_MCP_SERVER_0_0_1, X_MCP_SERVER_0_0_1, } from '../mcpServers.js';
6
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, IMAGE_SKILL_SPEC_0_0_1, JOKES_SKILL_SPEC_0_0_1, PDF_SKILL_SPEC_0_0_1, TEXT_SUMMARIZER_SKILL_SPEC_0_0_1, VIDEO_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';
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, GITHUB_REPOSITORIES_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
8
  import { ARENA_INVADERS_FRONTEND_TOOL_SPEC_0_0_1, ARENA_PONG_FRONTEND_TOOL_SPEC_0_0_1, CELLS_FRONTEND_TOOL_SPEC_0_0_1, 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
@@ -105,6 +105,8 @@ const TOOL_MAP = {
105
105
  'example-render-a2ui-surface': EXAMPLE_RENDER_A2UI_SURFACE_BACKEND_TOOL_SPEC_0_0_1,
106
106
  'example-update-plan-step:0.0.1': EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1,
107
107
  'example-update-plan-step': EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1,
108
+ 'github-repositories:0.0.1': GITHUB_REPOSITORIES_BACKEND_TOOL_SPEC_0_0_1,
109
+ 'github-repositories': GITHUB_REPOSITORIES_BACKEND_TOOL_SPEC_0_0_1,
108
110
  'runtime-echo:0.0.1': RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1,
109
111
  'runtime-echo': RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1,
110
112
  'runtime-send-mail:0.0.1': RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1,
@@ -11037,7 +11039,7 @@ export const WORKER_MARKETER_AGENTSPEC_0_0_1 = {
11037
11039
  ? toAgentSkillSpec(SKILL_MAP['datalayer-memory-delete:0.0.1'])
11038
11040
  : undefined,
11039
11041
  ].filter(Boolean),
11040
- backendTools: [],
11042
+ backendTools: [TOOL_MAP['github-repositories:0.0.1']],
11041
11043
  frontendTools: [],
11042
11044
  environmentName: 'ai-agents-env',
11043
11045
  icon: 'megaphone',
@@ -22,6 +22,7 @@ export declare const EXAMPLE_UPDATE_PLAN_STEP_BACKEND_TOOL_SPEC_0_0_1: BackendTo
22
22
  export declare const GENERATE_HAIKU_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
23
23
  export declare const GENERATE_TASK_STEPS_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
24
24
  export declare const GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
25
+ export declare const GITHUB_REPOSITORIES_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
25
26
  export declare const RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
26
27
  export declare const RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
27
28
  export declare const RUNTIME_SENSITIVE_ECHO_BACKEND_TOOL_SPEC_0_0_1: BackendToolSpec;
@@ -275,6 +275,24 @@ export const GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1 = {
275
275
  icon: '@primer/octicons-react:sun',
276
276
  emoji: '🌤️',
277
277
  };
278
+ export const GITHUB_REPOSITORIES_BACKEND_TOOL_SPEC_0_0_1 = {
279
+ id: 'github-repositories',
280
+ version: '0.0.1',
281
+ name: 'GitHub Repositories',
282
+ description: "List the GitHub repositories of the person the agent works for, with the person's own GitHub grant; the first time, the person is asked to connect GitHub in the chat.",
283
+ tags: ['github', 'identity'],
284
+ enabled: true,
285
+ approval: 'auto',
286
+ timeout: undefined,
287
+ requiresApproval: false,
288
+ runtime: {
289
+ language: 'python',
290
+ package: 'agent_runtimes.tools.github',
291
+ method: 'github_repositories',
292
+ },
293
+ icon: '@primer/octicons-react:mark-github',
294
+ emoji: '🐙',
295
+ };
278
296
  export const RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1 = {
279
297
  id: 'runtime-echo',
280
298
  version: '0.0.1',
@@ -366,6 +384,7 @@ export const BACKEND_TOOL_CATALOG = {
366
384
  'generate-haiku': GENERATE_HAIKU_BACKEND_TOOL_SPEC_0_0_1,
367
385
  'generate-task-steps': GENERATE_TASK_STEPS_BACKEND_TOOL_SPEC_0_0_1,
368
386
  'get-weather': GET_WEATHER_BACKEND_TOOL_SPEC_0_0_1,
387
+ 'github-repositories': GITHUB_REPOSITORIES_BACKEND_TOOL_SPEC_0_0_1,
369
388
  'runtime-echo': RUNTIME_ECHO_BACKEND_TOOL_SPEC_0_0_1,
370
389
  'runtime-send-mail': RUNTIME_SEND_MAIL_BACKEND_TOOL_SPEC_0_0_1,
371
390
  'runtime-sensitive-echo': RUNTIME_SENSITIVE_ECHO_BACKEND_TOOL_SPEC_0_0_1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/agent-runtimes",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  ".",