@datalayer/agent-runtimes 1.5.121 → 1.5.124

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/specs/apps.js CHANGED
@@ -2519,7 +2519,7 @@ export const INBOX_TRIAGE_APP_0_0_2 = {
2519
2519
  emoji: '📬',
2520
2520
  avatar: '',
2521
2521
  banner: '',
2522
- setup: [],
2522
+ setup: ["The agent 'worker-mail-triage:0.0.1' is not enabled."],
2523
2523
  };
2524
2524
  export const LIVE_SHOP_CHAT_APP_0_0_2 = {
2525
2525
  schema: 'loop.app/v1',
@@ -6522,7 +6522,7 @@ export const SUPPORT_DESK_APP_0_0_5 = {
6522
6522
  emoji: '🛟',
6523
6523
  avatar: '',
6524
6524
  banner: '',
6525
- setup: [],
6525
+ setup: ["The agent 'worker-document-qa:0.0.1' is not enabled."],
6526
6526
  };
6527
6527
  export const TRAVEL_DESK_APP_0_0_2 = {
6528
6528
  schema: 'loop.app/v1',
package/lib/specs/cogs.js CHANGED
@@ -81,6 +81,18 @@ const COG_CRAWLER_AGENTSPEC_0_0_1 = {
81
81
  SKILL_MAP['events:0.0.1']
82
82
  ? toAgentSkillSpec(SKILL_MAP['events:0.0.1'])
83
83
  : undefined,
84
+ SKILL_MAP['datalayer-memory-add:0.0.1']
85
+ ? toAgentSkillSpec(SKILL_MAP['datalayer-memory-add:0.0.1'])
86
+ : undefined,
87
+ SKILL_MAP['datalayer-memory-search:0.0.1']
88
+ ? toAgentSkillSpec(SKILL_MAP['datalayer-memory-search:0.0.1'])
89
+ : undefined,
90
+ SKILL_MAP['datalayer-memory-list:0.0.1']
91
+ ? toAgentSkillSpec(SKILL_MAP['datalayer-memory-list:0.0.1'])
92
+ : undefined,
93
+ SKILL_MAP['datalayer-memory-delete:0.0.1']
94
+ ? toAgentSkillSpec(SKILL_MAP['datalayer-memory-delete:0.0.1'])
95
+ : undefined,
84
96
  SKILL_MAP['crawl:0.0.1']
85
97
  ? toAgentSkillSpec(SKILL_MAP['crawl:0.0.1'])
86
98
  : undefined,
@@ -117,7 +129,7 @@ const COG_CRAWLER_AGENTSPEC_0_0_1 = {
117
129
  welcomeDocument: undefined,
118
130
  sandboxVariant: 'jupyter-server',
119
131
  harness: 'pydantic-ai',
120
- systemPrompt: `You are a web crawling and research assistant with access to Tavily search and GitHub tools. Use Tavily to search the web for current information and search GitHub repositories for relevant projects. Synthesize information from multiple sources and provide clear summaries with sources cited.
132
+ systemPrompt: `You are a web crawling and research assistant with access to Tavily search and GitHub tools. Use Tavily to search the web for current information and search GitHub repositories for relevant projects. Synthesize information from multiple sources and provide clear summaries with sources cited. You keep durable memory of the person across sessions: when they ask you to remember, recall, list or forget something, use the datalayer-memory skills, and never delete everything they remember without their explicit confirmation of how many.
121
133
 
122
134
  ## Frames
123
135
 
@@ -228,8 +240,9 @@ Check your output against every Guard before you hand it over, and say which you
228
240
  advanced: undefined,
229
241
  checkpoints: undefined,
230
242
  authorizationPolicy: undefined,
243
+ policy: { shield: { egress: ['*'] } },
231
244
  notifications: undefined,
232
- memory: 'ephemeral',
245
+ memory: 'mem0',
233
246
  preHooks: undefined,
234
247
  postHooks: undefined,
235
248
  toolHooks: undefined,
@@ -391,6 +404,7 @@ Check your output against every Guard before you hand it over, and say which you
391
404
  advanced: undefined,
392
405
  checkpoints: undefined,
393
406
  authorizationPolicy: undefined,
407
+ policy: { shield: { egress: ['*'] } },
394
408
  notifications: undefined,
395
409
  memory: 'mem0',
396
410
  preHooks: undefined,
@@ -571,6 +585,7 @@ Check your output against every Guard before you hand it over, and say which you
571
585
  advanced: undefined,
572
586
  checkpoints: undefined,
573
587
  authorizationPolicy: undefined,
588
+ policy: { shield: { egress: ['*'] } },
574
589
  notifications: undefined,
575
590
  memory: 'ephemeral',
576
591
  preHooks: undefined,
@@ -1766,6 +1766,20 @@ export interface AppSpec {
1766
1766
  /** Its banner, by name, from the same profile's set. Empty, its id seeds one. */
1767
1767
  banner: string;
1768
1768
  }
1769
+ /**
1770
+ * agent-shield's firewall rules for an agent's runtime (`policy.shield`).
1771
+ * `egress`: '*' alone (any public address), or exact hosts, host:port, IPv4
1772
+ * addresses and CIDRs with an optional port; `ingress`: 'platform' (the
1773
+ * default), '*', or addresses and CIDRs with the agent's port.
1774
+ */
1775
+ export interface AgentShieldFirewall {
1776
+ egress?: string[];
1777
+ ingress?: string[];
1778
+ }
1779
+ /** An agent's own ask of the Shield. */
1780
+ export interface AgentPolicy {
1781
+ shield?: AgentShieldFirewall;
1782
+ }
1769
1783
  export interface Agentspec {
1770
1784
  /** Unique agent identifier */
1771
1785
  id: string;
@@ -1877,6 +1891,8 @@ export interface Agentspec {
1877
1891
  checkpoints?: AgentCheckpointsConfig;
1878
1892
  /** Authorization policy */
1879
1893
  authorizationPolicy?: string;
1894
+ /** The agent's own ask of the Shield: its firewall rules under `shield`. */
1895
+ policy?: AgentPolicy;
1880
1896
  /** Notification configuration (email, slack) */
1881
1897
  notifications?: AgentNotificationConfig;
1882
1898
  /** Memory backend identifier (e.g., 'ephemeral', 'mem0', 'memu', 'simplemem') */
@@ -98,6 +98,8 @@ export interface McpServerStatus {
98
98
  id: string;
99
99
  status: 'none' | 'not_started' | 'starting' | 'failed' | 'started';
100
100
  error?: string;
101
+ /** Why it failed, in a sentence a page shows: "tavily could not start: the runtime cannot reach registry.npmjs.org." */
102
+ reason?: string | null;
101
103
  tools_count?: number;
102
104
  tools?: Array<{
103
105
  name: string;
@@ -109,6 +111,9 @@ export interface McpServerStatus {
109
111
  * Full response from `/api/v1/configure/mcp-toolsets-status`.
110
112
  */
111
113
  export interface McpToolsetsStatusResponse {
114
+ /** The agent asked about (`?agent_id=`), and whether it answers with its model now. */
115
+ agent_id?: string;
116
+ agent_ready?: boolean;
112
117
  initialized: boolean;
113
118
  ready_count: number;
114
119
  failed_count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/agent-runtimes",
3
- "version": "1.5.121",
3
+ "version": "1.5.124",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  ".",
@@ -763,6 +763,7 @@ from agent_runtimes.types import (
763
763
  advanced={_fmt_py_literal(advanced_val)},
764
764
  checkpoints={_fmt_py_literal(checkpoints_val)},
765
765
  authorization_policy={auth_policy_str},
766
+ policy={_fmt_py_literal(spec.get("policy"))},
766
767
  notifications={_fmt_py_literal(notifs)},
767
768
  memory={memory_str},
768
769
  pre_hooks={_fmt_py_literal(pre_hooks_val)},
@@ -1342,6 +1343,7 @@ const FRONTEND_TOOL_MAP: Record<string, any> = {
1342
1343
  advanced: {_fmt_ts_literal(advanced_val)},
1343
1344
  checkpoints: {_fmt_ts_literal(checkpoints_val)},
1344
1345
  authorizationPolicy: {auth_policy_ts},
1346
+ policy: {_fmt_ts_literal(spec.get("policy"))},
1345
1347
  notifications: {_fmt_ts_literal(notifs)},
1346
1348
  memory: {memory_ts},
1347
1349
  preHooks: {_fmt_ts_literal(pre_hooks_val)},
@@ -126,6 +126,11 @@ welcome_notebook: null
126
126
  welcome_document: null
127
127
 
128
128
  trigger: null
129
+
130
+ policy:
131
+ shield:
132
+ # Any public address: the MCP servers and tools it runs call out (agent-shield's firewall).
133
+ egress: ["*"]
129
134
  """
130
135
 
131
136