@agnt-id/sdk 0.1.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/a2a.d.ts +2 -0
- package/dist/a2a.js +1 -0
- package/dist/agent0.d.ts +2 -0
- package/dist/agent0.js +1 -0
- package/dist/crewai.d.ts +1 -0
- package/dist/crewai.js +1 -0
- package/dist/eliza.d.ts +2 -0
- package/dist/eliza.js +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +23 -0
- package/dist/langchain.d.ts +1 -0
- package/dist/langchain.js +1 -0
- package/package.json +68 -0
package/dist/a2a.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { AgentCapabilities, AgentCard, AgentCardSignature, AgentExtension, AgentInterface, AgentProvider, AgentSkill, AgntNameLike, AgntRecordLike, APIKeySecurityScheme, HTTPAuthSecurityScheme, OAuth2SecurityScheme, OAuthFlows, OpenIdConnectSecurityScheme, SecurityRequirement, SecurityScheme, ToAgentCardOptions, } from "@agnt-id/a2a";
|
|
2
|
+
export { agentCardToJSON, fromAgnt, toAgentCard, } from "@agnt-id/a2a";
|
package/dist/a2a.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { agentCardToJSON, fromAgnt, toAgentCard, } from "@agnt-id/a2a";
|
package/dist/agent0.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { Agent0FeedbackFile, Agent0Registration, Agent0RegistrationFile, Agent0Service, AgntIdentityLink, AgntNameLike, AgntRecordLike, ToRegistrationFileOptions, } from "@agnt-id/agent0";
|
|
2
|
+
export { formatIdentityLink, fromAgnt, fromRegistrationFile, parseIdentityLink, toRegistrationFile, } from "@agnt-id/agent0";
|
package/dist/agent0.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { formatIdentityLink, fromAgnt, fromRegistrationFile, parseIdentityLink, toRegistrationFile, } from "@agnt-id/agent0";
|
package/dist/crewai.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AgntDiscoverTool, AgntResolveTool, AgntReverseTool, } from "@agnt-id/frameworks/crewai";
|
package/dist/crewai.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AgntDiscoverTool, AgntResolveTool, AgntReverseTool, } from "@agnt-id/frameworks/crewai";
|
package/dist/eliza.d.ts
ADDED
package/dist/eliza.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { agntPlugin } from "@agnt-id/frameworks/eliza";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @agnt-id/sdk — The complete .agnt SDK.
|
|
3
|
+
*
|
|
4
|
+
* One install, everything you need:
|
|
5
|
+
*
|
|
6
|
+
* npm install @agnt-id/sdk
|
|
7
|
+
*
|
|
8
|
+
* Core resolution:
|
|
9
|
+
* import { AgntClient } from "@agnt-id/sdk";
|
|
10
|
+
*
|
|
11
|
+
* A2A Agent Cards:
|
|
12
|
+
* import { toAgentCard, fromAgnt } from "@agnt-id/sdk/a2a";
|
|
13
|
+
*
|
|
14
|
+
* ERC-8004 bridge:
|
|
15
|
+
* import { toRegistrationFile } from "@agnt-id/sdk/agent0";
|
|
16
|
+
*
|
|
17
|
+
* Framework plugins:
|
|
18
|
+
* import { AgntResolveTool } from "@agnt-id/sdk/langchain";
|
|
19
|
+
* import { AgntResolveTool } from "@agnt-id/sdk/crewai";
|
|
20
|
+
* import { agntPlugin } from "@agnt-id/sdk/eliza";
|
|
21
|
+
*/
|
|
22
|
+
export type { AgntClientOptions, AgntName, AgntRecord, DiscoverEntry, DiscoverOptions, DiscoverResult, DomainEntry, DomainResult, OwnerEntry, OwnerOptions, OwnerResult, ResolveResult, ReverseResult, TrustResult, TrustScore, TrustSignal, } from "@agnt-id/resolve";
|
|
23
|
+
export { AgntClient, AgntError } from "@agnt-id/resolve";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @agnt-id/sdk — The complete .agnt SDK.
|
|
3
|
+
*
|
|
4
|
+
* One install, everything you need:
|
|
5
|
+
*
|
|
6
|
+
* npm install @agnt-id/sdk
|
|
7
|
+
*
|
|
8
|
+
* Core resolution:
|
|
9
|
+
* import { AgntClient } from "@agnt-id/sdk";
|
|
10
|
+
*
|
|
11
|
+
* A2A Agent Cards:
|
|
12
|
+
* import { toAgentCard, fromAgnt } from "@agnt-id/sdk/a2a";
|
|
13
|
+
*
|
|
14
|
+
* ERC-8004 bridge:
|
|
15
|
+
* import { toRegistrationFile } from "@agnt-id/sdk/agent0";
|
|
16
|
+
*
|
|
17
|
+
* Framework plugins:
|
|
18
|
+
* import { AgntResolveTool } from "@agnt-id/sdk/langchain";
|
|
19
|
+
* import { AgntResolveTool } from "@agnt-id/sdk/crewai";
|
|
20
|
+
* import { agntPlugin } from "@agnt-id/sdk/eliza";
|
|
21
|
+
*/
|
|
22
|
+
// ── Core SDK (re-export everything from @agnt-id/resolve) ──
|
|
23
|
+
export { AgntClient, AgntError } from "@agnt-id/resolve";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AgntDiscoverTool, AgntResolveTool, AgntReverseTool, } from "@agnt-id/frameworks/langchain";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AgntDiscoverTool, AgntResolveTool, AgntReverseTool, } from "@agnt-id/frameworks/langchain";
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agnt-id/sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The complete .agnt SDK — resolve, A2A, ERC-8004, MCP, and framework plugins in one install",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./a2a": {
|
|
14
|
+
"import": "./dist/a2a.js",
|
|
15
|
+
"types": "./dist/a2a.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./agent0": {
|
|
18
|
+
"import": "./dist/agent0.js",
|
|
19
|
+
"types": "./dist/agent0.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./langchain": {
|
|
22
|
+
"import": "./dist/langchain.js",
|
|
23
|
+
"types": "./dist/langchain.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./crewai": {
|
|
26
|
+
"import": "./dist/crewai.js",
|
|
27
|
+
"types": "./dist/crewai.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./eliza": {
|
|
30
|
+
"import": "./dist/eliza.js",
|
|
31
|
+
"types": "./dist/eliza.d.ts"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"README.md"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc",
|
|
40
|
+
"prepublishOnly": "tsc"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"agnt",
|
|
44
|
+
"agent",
|
|
45
|
+
"naming",
|
|
46
|
+
"web3",
|
|
47
|
+
"ethereum",
|
|
48
|
+
"resolve",
|
|
49
|
+
"a2a",
|
|
50
|
+
"mcp",
|
|
51
|
+
"agent0",
|
|
52
|
+
"erc-8004",
|
|
53
|
+
"langchain",
|
|
54
|
+
"crewai",
|
|
55
|
+
"elizaos",
|
|
56
|
+
"sdk"
|
|
57
|
+
],
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@agnt-id/resolve": "^0.1.0",
|
|
61
|
+
"@agnt-id/a2a": "^0.1.0",
|
|
62
|
+
"@agnt-id/agent0": "^0.1.0",
|
|
63
|
+
"@agnt-id/frameworks": "^0.1.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"typescript": "^5.9.3"
|
|
67
|
+
}
|
|
68
|
+
}
|