@anuma/agents-registry 6.33.0 → 6.33.2
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 +0 -10
- package/dist/index.d.ts +0 -10
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import { AgentConfig } from '@anuma/sdk';
|
|
2
2
|
|
|
3
|
-
/** Look up an agent by id. Case-insensitive. Returns null when unknown. */
|
|
4
3
|
declare function getAgent(agentId: string): AgentConfig | null;
|
|
5
|
-
/** All registered agents. Order is not guaranteed. */
|
|
6
4
|
declare function listAgents(): AgentConfig[];
|
|
7
|
-
/** Public-safe skill metadata returned by `getAgentSkillMeta`. */
|
|
8
5
|
interface SkillMeta {
|
|
9
6
|
id: string;
|
|
10
7
|
name: string;
|
|
11
8
|
requiredVariables: string[];
|
|
12
|
-
/** SMS-friendly question prompts keyed by variable name, when available. */
|
|
13
9
|
smsPrompts?: Record<string, string>;
|
|
14
10
|
}
|
|
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
|
-
*/
|
|
21
11
|
declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
|
|
22
12
|
|
|
23
13
|
export { type SkillMeta, getAgent, getAgentSkillMeta, listAgents };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import { AgentConfig } from '@anuma/sdk';
|
|
2
2
|
|
|
3
|
-
/** Look up an agent by id. Case-insensitive. Returns null when unknown. */
|
|
4
3
|
declare function getAgent(agentId: string): AgentConfig | null;
|
|
5
|
-
/** All registered agents. Order is not guaranteed. */
|
|
6
4
|
declare function listAgents(): AgentConfig[];
|
|
7
|
-
/** Public-safe skill metadata returned by `getAgentSkillMeta`. */
|
|
8
5
|
interface SkillMeta {
|
|
9
6
|
id: string;
|
|
10
7
|
name: string;
|
|
11
8
|
requiredVariables: string[];
|
|
12
|
-
/** SMS-friendly question prompts keyed by variable name, when available. */
|
|
13
9
|
smsPrompts?: Record<string, string>;
|
|
14
10
|
}
|
|
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
|
-
*/
|
|
21
11
|
declare function getAgentSkillMeta(agentId: string, skillId: string): SkillMeta | null;
|
|
22
12
|
|
|
23
13
|
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.
|
|
3
|
+
"version": "6.33.2",
|
|
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-
|
|
34
|
-
"@anuma/agent-
|
|
33
|
+
"@anuma/agent-haven": "6.33.2",
|
|
34
|
+
"@anuma/agent-sentinel": "6.33.2"
|
|
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.
|
|
43
|
+
"@anuma/sdk": "6.33.2"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup",
|