@anuma/agents-registry 6.33.2 → 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,13 +1,18 @@
1
1
  import { AgentConfig } from '@anuma/sdk';
2
2
 
3
+ /** Look up an agent by id, case-insensitively; returns null when unknown. */
3
4
  declare function getAgent(agentId: string): AgentConfig | null;
5
+ /** All registered agents, in no guaranteed order. */
4
6
  declare function listAgents(): AgentConfig[];
7
+ /** Public-safe skill metadata returned by {@link getAgentSkillMeta}. */
5
8
  interface SkillMeta {
6
9
  id: string;
7
10
  name: string;
8
11
  requiredVariables: string[];
12
+ /** SMS-friendly question prompts keyed by variable name. */
9
13
  smsPrompts?: Record<string, string>;
10
14
  }
15
+ /** Look up public skill metadata by agent and skill id, or null when either is unknown. */
11
16
  declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
12
17
 
13
18
  export { type SkillMeta, getAgent, getAgentSkillMeta, listAgents };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,18 @@
1
1
  import { AgentConfig } from '@anuma/sdk';
2
2
 
3
+ /** Look up an agent by id, case-insensitively; returns null when unknown. */
3
4
  declare function getAgent(agentId: string): AgentConfig | null;
5
+ /** All registered agents, in no guaranteed order. */
4
6
  declare function listAgents(): AgentConfig[];
7
+ /** Public-safe skill metadata returned by {@link getAgentSkillMeta}. */
5
8
  interface SkillMeta {
6
9
  id: string;
7
10
  name: string;
8
11
  requiredVariables: string[];
12
+ /** SMS-friendly question prompts keyed by variable name. */
9
13
  smsPrompts?: Record<string, string>;
10
14
  }
15
+ /** Look up public skill metadata by agent and skill id, or null when either is unknown. */
11
16
  declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
12
17
 
13
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.2",
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.2",
34
- "@anuma/agent-sentinel": "6.33.2"
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.2"
43
+ "@anuma/sdk": "6.34.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup",