@anuma/agents-registry 6.33.1 → 6.34.0

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/dist/index.d.mts CHANGED
@@ -1,23 +1,18 @@
1
1
  import { AgentConfig } from '@anuma/sdk';
2
2
 
3
- /** Look up an agent by id. Case-insensitive. Returns null when unknown. */
3
+ /** Look up an agent by id, case-insensitively; returns null when unknown. */
4
4
  declare function getAgent(agentId: string): AgentConfig | null;
5
- /** All registered agents. Order is not guaranteed. */
5
+ /** All registered agents, in no guaranteed order. */
6
6
  declare function listAgents(): AgentConfig[];
7
- /** Public-safe skill metadata returned by `getAgentSkillMeta`. */
7
+ /** Public-safe skill metadata returned by {@link getAgentSkillMeta}. */
8
8
  interface SkillMeta {
9
9
  id: string;
10
10
  name: string;
11
11
  requiredVariables: string[];
12
- /** SMS-friendly question prompts keyed by variable name, when available. */
12
+ /** SMS-friendly question prompts keyed by variable name. */
13
13
  smsPrompts?: Record<string, string>;
14
14
  }
15
- /**
16
- * Look up skill metadata by (agentId, skillId). Returns null when either is
17
- * unknown. Use this when you only need `id` / `name` / `requiredVariables`
18
- * / `smsPrompts` — for the full SkillConfig (including templates), import
19
- * the agent package directly.
20
- */
15
+ /** Look up public skill metadata by agent and skill id, or null when either is unknown. */
21
16
  declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
22
17
 
23
18
  export { type SkillMeta, getAgent, getAgentSkillMeta, listAgents };
package/dist/index.d.ts CHANGED
@@ -1,23 +1,18 @@
1
1
  import { AgentConfig } from '@anuma/sdk';
2
2
 
3
- /** Look up an agent by id. Case-insensitive. Returns null when unknown. */
3
+ /** Look up an agent by id, case-insensitively; returns null when unknown. */
4
4
  declare function getAgent(agentId: string): AgentConfig | null;
5
- /** All registered agents. Order is not guaranteed. */
5
+ /** All registered agents, in no guaranteed order. */
6
6
  declare function listAgents(): AgentConfig[];
7
- /** Public-safe skill metadata returned by `getAgentSkillMeta`. */
7
+ /** Public-safe skill metadata returned by {@link getAgentSkillMeta}. */
8
8
  interface SkillMeta {
9
9
  id: string;
10
10
  name: string;
11
11
  requiredVariables: string[];
12
- /** SMS-friendly question prompts keyed by variable name, when available. */
12
+ /** SMS-friendly question prompts keyed by variable name. */
13
13
  smsPrompts?: Record<string, string>;
14
14
  }
15
- /**
16
- * Look up skill metadata by (agentId, skillId). Returns null when either is
17
- * unknown. Use this when you only need `id` / `name` / `requiredVariables`
18
- * / `smsPrompts` — for the full SkillConfig (including templates), import
19
- * the agent package directly.
20
- */
15
+ /** Look up public skill metadata by agent and skill id, or null when either is unknown. */
21
16
  declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
22
17
 
23
18
  export { type SkillMeta, getAgent, getAgentSkillMeta, listAgents };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/agents-registry",
3
- "version": "6.33.1",
3
+ "version": "6.34.0",
4
4
  "description": "Lookup helpers for Anuma agents (Haven, Sentinel) and their skill metadata",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -30,8 +30,8 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@anuma/agent-haven": "6.33.1",
34
- "@anuma/agent-sentinel": "6.33.1"
33
+ "@anuma/agent-haven": "6.34.0",
34
+ "@anuma/agent-sentinel": "6.34.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@anuma/sdk": ">=1 <3"
@@ -40,7 +40,7 @@
40
40
  "tsup": "^8.5.1",
41
41
  "typescript": "^5.9.3",
42
42
  "vitest": "^4.1.11",
43
- "@anuma/sdk": "6.33.1"
43
+ "@anuma/sdk": "6.34.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup",