@datalayer/agent-runtimes 1.6.47 → 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/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: [
@@ -2424,7 +2424,6 @@ export const SALES_AND_ACCOUNTING_SCENE_0_0_1 = {
2424
2424
  live: '',
2425
2425
  setup: [
2426
2426
  "The agent 'worker-sales-pipeline-board-report:0.0.1' is not enabled.",
2427
- "The agent 'worker-accountant:0.0.1' is not enabled.",
2428
2427
  ],
2429
2428
  played: {
2430
2429
  at: '2026-10-29T14:00:28+00:00',
@@ -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.47",
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[],