@agentdomain/eliza-plugin 0.7.1 → 0.8.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.
Files changed (2) hide show
  1. package/README.md +38 -5
  2. package/package.json +22 -7
package/README.md CHANGED
@@ -1,11 +1,26 @@
1
1
  # @agentdomain/eliza-plugin
2
2
 
3
- ElizaOS plugin for AgentDomain.
3
+ ElizaOS actions for AgentDomain identity infrastructure.
4
+
5
+ ## Install
4
6
 
5
7
  ```bash
6
- npm install @agentdomain/eliza-plugin
8
+ npm install @agentdomain/eliza-plugin @elizaos/core
9
+ ```
10
+
11
+ ## Add the plugin
12
+
13
+ ```ts
14
+ import agentDomainPlugin from '@agentdomain/eliza-plugin';
15
+
16
+ export const character = {
17
+ name: 'Domain Agent',
18
+ plugins: [agentDomainPlugin],
19
+ };
7
20
  ```
8
21
 
22
+ ## Actions
23
+
9
24
  The plugin gives Eliza agents a complete AgentDomain lifecycle surface:
10
25
 
11
26
  - Registration quote and x402 registration
@@ -16,8 +31,21 @@ The plugin gives Eliza agents a complete AgentDomain lifecycle surface:
16
31
  - RenewalVault status, funding, and auto-renew
17
32
  - Per-agent Premium Plan status and upgrades
18
33
 
19
- Configure `AGENTDOMAIN_API_URL` only if you need a custom endpoint. The default is
20
- `https://api.agentdomain.app/api/v1`.
34
+ ## Runtime configuration
35
+
36
+ The default API is `https://api.agentdomain.app/api/v1`. Configure
37
+ `AGENTDOMAIN_API_URL` only for a documented alternate environment.
38
+
39
+ - `AGENTDOMAIN_API_KEY` authorizes agent-scoped DNS, email, and management calls.
40
+ - `AGENT_PRIVATE_KEY` is needed only for wallet-authorized or paid operations.
41
+ - `AGENTDOMAIN_NETWORK` defaults to `base`.
42
+ - `BASE_RPC_URL` optionally selects the Base RPC used for wallet operations.
43
+ - `RENEWAL_VAULT_ADDRESS` is required for direct auto-renew actions.
44
+ - `AGENTDOMAIN_BUILDER_CODE` identifies the public application for supported
45
+ direct Base transactions.
46
+
47
+ Inject credentials with the runtime's secret facility. Do not place a private
48
+ key or API key in a character file, repository, command line, or log.
21
49
 
22
50
  Set `AGENTDOMAIN_BUILDER_CODE` to your public ERC-8021 app identifier whenever
23
51
  the runtime can submit direct Base writes. The value is not a private key.
@@ -26,4 +54,9 @@ or invalid attribution stops the direct transaction before submission. Reads,
26
54
  offchain signatures, Ethereum L1 ENS operations, and standard x402 v2 paid
27
55
  requests are not changed.
28
56
 
29
- Request the default base URL directly to retrieve AgentDomain's machine-readable API discovery metadata.
57
+ ## Links
58
+
59
+ - [ElizaOS guide](https://docs.agentdomain.app/frameworks/elizaos)
60
+ - [API discovery](https://api.agentdomain.app/api/v1)
61
+ - [Source](https://github.com/0xmdrakib/AgentDomain/tree/main/packages/eliza-plugin)
62
+ - [Security policy](https://github.com/0xmdrakib/AgentDomain/security/policy)
package/package.json CHANGED
@@ -1,12 +1,27 @@
1
1
  {
2
2
  "name": "@agentdomain/eliza-plugin",
3
- "version": "0.7.1",
4
- "description": "ElizaOS plugin for AgentDomain - give your Eliza agent a complete identity stack",
3
+ "version": "0.8.0",
4
+ "description": "ElizaOS plugin for AgentDomain identity, DNS, email, and renewal workflows",
5
+ "keywords": [
6
+ "agentdomain",
7
+ "ai-agents",
8
+ "elizaos",
9
+ "identity",
10
+ "x402",
11
+ "base"
12
+ ],
5
13
  "license": "Apache-2.0",
6
- "repository": "https://github.com/0xmdrakib/AgentDomain.git",
7
- "homepage": "https://docs.agentdomain.app",
8
- "bugs": "https://github.com/0xmdrakib/AgentDomain/issues",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/0xmdrakib/AgentDomain.git",
17
+ "directory": "packages/eliza-plugin"
18
+ },
19
+ "homepage": "https://docs.agentdomain.app/frameworks/elizaos",
20
+ "bugs": {
21
+ "url": "https://github.com/0xmdrakib/AgentDomain/issues"
22
+ },
9
23
  "type": "module",
24
+ "sideEffects": false,
10
25
  "main": "./dist/index.js",
11
26
  "types": "./dist/index.d.ts",
12
27
  "exports": {
@@ -28,8 +43,8 @@
28
43
  "dependencies": {
29
44
  "viem": "^2.55.2",
30
45
  "zod": "^3.24.1",
31
- "@agentdomain/sdk": "^0.7.0",
32
- "@agentdomain/shared": "^0.7.0"
46
+ "@agentdomain/sdk": "^0.8.0",
47
+ "@agentdomain/shared": "^0.8.0"
33
48
  },
34
49
  "peerDependencies": {
35
50
  "@elizaos/core": "^1.0.0"