@datalayer/agent-runtimes 1.6.48 โ†’ 1.6.49

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
@@ -1505,7 +1505,7 @@ export const DATA_QUALITY_APP_0_0_3 = {
1505
1505
  emoji: '๐Ÿงน',
1506
1506
  avatar: '',
1507
1507
  banner: '',
1508
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
1508
+ setup: [],
1509
1509
  };
1510
1510
  export const DECIDE_APP_0_0_2 = {
1511
1511
  schema: 'loop.app/v1',
@@ -1640,7 +1640,7 @@ export const DECIDE_APP_0_0_2 = {
1640
1640
  emoji: 'โš–๏ธ',
1641
1641
  avatar: '',
1642
1642
  banner: '',
1643
- setup: ["The agent 'example-simple:0.0.1' is not enabled."],
1643
+ setup: [],
1644
1644
  };
1645
1645
  export const DECK_MAKER_APP_0_0_1 = {
1646
1646
  schema: 'loop.app/v1',
@@ -4004,7 +4004,7 @@ export const MODEL_CHOICE_APP_0_0_3 = {
4004
4004
  emoji: '๐Ÿง ',
4005
4005
  avatar: '',
4006
4006
  banner: '',
4007
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
4007
+ setup: [],
4008
4008
  };
4009
4009
  export const MONTH_END_CLOSE_APP_0_0_2 = {
4010
4010
  schema: 'loop.app/v1',
@@ -5230,7 +5230,7 @@ export const QUOTE_CALCULATOR_APP_0_0_6 = {
5230
5230
  emoji: '๐Ÿงฎ',
5231
5231
  avatar: '',
5232
5232
  banner: '',
5233
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
5233
+ setup: [],
5234
5234
  };
5235
5235
  export const REPORT_FROM_A_FILE_APP_0_0_5 = {
5236
5236
  schema: 'loop.app/v1',
@@ -5520,7 +5520,7 @@ export const REPORT_FROM_A_FILE_APP_0_0_5 = {
5520
5520
  emoji: '๐Ÿ“‘',
5521
5521
  avatar: '',
5522
5522
  banner: '',
5523
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
5523
+ setup: [],
5524
5524
  };
5525
5525
  export const RETURNS_DESK_APP_0_0_2 = {
5526
5526
  schema: 'loop.app/v1',
@@ -6173,7 +6173,7 @@ export const SHIP_OR_FIX_APP_0_0_3 = {
6173
6173
  emoji: '๐Ÿšข',
6174
6174
  avatar: '',
6175
6175
  banner: '',
6176
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
6176
+ setup: [],
6177
6177
  };
6178
6178
  export const SHOP_CONCIERGE_APP_0_0_2 = {
6179
6179
  schema: 'loop.app/v1',
@@ -7049,7 +7049,7 @@ export const SUPPLIER_COMPARISON_APP_0_0_3 = {
7049
7049
  emoji: '๐Ÿšš',
7050
7050
  avatar: '',
7051
7051
  banner: '',
7052
- setup: ["The agent 'jupyter-data-analyst:0.0.1' is not enabled."],
7052
+ setup: [],
7053
7053
  };
7054
7054
  export const SUPPORT_DESK_APP_0_0_5 = {
7055
7055
  schema: 'loop.app/v1',
package/lib/specs/cogs.js CHANGED
@@ -73,6 +73,7 @@ const COG_CRAWLER_AGENTSPEC_0_0_1 = {
73
73
  ],
74
74
  domain: 'market-analyst',
75
75
  enabled: true,
76
+ listed: false,
76
77
  model: 'bedrock:us.anthropic.claude-sonnet-4-6',
77
78
  modelAdditionals: ['alibaba:qwen-max'],
78
79
  mcpServers: [MCP_SERVER_MAP['tavily:0.0.1']],
@@ -262,6 +263,7 @@ const COG_CUSTOMER_INTERVIEWER_AGENTSPEC_0_0_1 = {
262
263
  tags: ['research', 'customer-support', 'analysis', 'cog'],
263
264
  domain: 'market-analyst',
264
265
  enabled: true,
266
+ listed: true,
265
267
  model: 'bedrock:us.anthropic.claude-sonnet-4-6',
266
268
  modelAdditionals: ['alibaba:qwen-max'],
267
269
  mcpServers: [],
@@ -459,6 +461,7 @@ const COG_SALES_PIPELINE_BOARD_REPORT_AGENTSPEC_0_0_1 = {
459
461
  ],
460
462
  domain: 'market-analyst',
461
463
  enabled: false,
464
+ listed: true,
462
465
  model: 'bedrock:us.anthropic.claude-sonnet-4-6',
463
466
  mcpServers: [],
464
467
  skills: [
@@ -1864,6 +1864,11 @@ export interface AgentShieldFirewall {
1864
1864
  export interface AgentPolicy {
1865
1865
  shield?: AgentShieldFirewall;
1866
1866
  }
1867
+ /**
1868
+ * Whether the pickers offer an agent: the catalogue enables it and does not
1869
+ * keep it out (`listed: false`), as the home page's five since agentspecs 0.0.187.
1870
+ */
1871
+ export declare const isAgentspecOffered: (spec: Pick<Agentspec, "enabled" | "listed"> | undefined | null) => boolean;
1867
1872
  /** The engines that run and host an agent (`runtime_engine`), the default first. */
1868
1873
  export declare const RUNTIME_ENGINES: readonly ["datalayer", "kagent", "agentcore"];
1869
1874
  /** What runs and hosts an agent: a Datalayer runtime, kagent, or AWS AgentCore. */
@@ -1891,6 +1896,12 @@ export interface Agentspec {
1891
1896
  domain?: string;
1892
1897
  /** Whether the agent is enabled */
1893
1898
  enabled: boolean;
1899
+ /**
1900
+ * Whether the pickers offer the agent (the new agent page, the chats, the
1901
+ * assign menu, loop's pickers), true unless said: an enabled agent that is
1902
+ * not listed runs by id and as a default, without being offered.
1903
+ */
1904
+ listed?: boolean;
1894
1905
  /** AI model identifier to use for this agent */
1895
1906
  model?: string;
1896
1907
  /**
@@ -6,6 +6,11 @@
6
6
  export const stageKindOf = (stage) => (stage.scene ? 'scene' : stage.app ? 'app' : 'battle');
7
7
  /** What a Stage stages: the scene's, the app's or the Battle's reference. */
8
8
  export const stagedRefOf = (stage) => stage.scene || stage.app || stage.battle;
9
+ /**
10
+ * Whether the pickers offer an agent: the catalogue enables it and does not
11
+ * keep it out (`listed: false`), as the home page's five since agentspecs 0.0.187.
12
+ */
13
+ export const isAgentspecOffered = (spec) => spec?.enabled === true && spec.listed !== false;
9
14
  /** The engines that run and host an agent (`runtime_engine`), the default first. */
10
15
  export const RUNTIME_ENGINES = ['datalayer', 'kagent', 'agentcore'];
11
16
  /** How an engine is named to a person. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/agent-runtimes",
3
- "version": "1.6.48",
3
+ "version": "1.6.49",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  ".",
@@ -796,6 +796,7 @@ from agent_runtimes.types import (
796
796
  tags={_fmt_list(spec.get("tags", []))},
797
797
  domain={f'"{domain_value}"' if domain_value else "None"},
798
798
  enabled={spec.get("enabled", True)},
799
+ listed={spec.get("listed", True)},
799
800
  model={model_str},
800
801
  {model_additionals_py_line} inference_provider={inference_provider_str},
801
802
  mcp_servers=[{mcp_servers_str}],
@@ -1388,6 +1389,7 @@ const FRONTEND_TOOL_MAP: Record<string, any> = {
1388
1389
  tags: {tags_str},
1389
1390
  domain: {domain_ts},
1390
1391
  enabled: {str(spec.get("enabled", True)).lower()},
1392
+ listed: {str(spec.get("listed", True)).lower()},
1391
1393
  model: {model_ts},
1392
1394
  {model_additionals_ts_line}{inference_provider_line} mcpServers: [{mcp_servers_str}],
1393
1395
  skills: [{skills_str}].filter(Boolean) as SkillSpec[],