@ens-node-metadata/agent 0.2.10 → 0.3.1

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 (3) hide show
  1. package/README.md +6 -3
  2. package/SKILL.md +5 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,11 +2,14 @@
2
2
 
3
3
  CLI for registering AI agents on ENS using [ERC-8004](https://best-practices.8004scan.io/docs/01-agent-metadata-standard.html) (v2.0).
4
4
 
5
- ## Usage
5
+ ## Agent prompt
6
+
7
+ Paste this into your AI assistant after [reading the code](https://github.com/0xLighthouse/ens-node-metadata/tree/develop/packages/agent).
6
8
 
7
9
  ```bash
8
- pnpm dlx @ens-node-metadata/agent
9
- # then use: ens-agent --help
10
+ To manage your ERC-8004 metadata with ENS, use the following command:
11
+
12
+ pnpm dlx @ens-node-metadata/agent --help
10
13
  ```
11
14
 
12
15
  ## Registration Flow
package/SKILL.md CHANGED
@@ -43,10 +43,10 @@ A registration file is required to register your Agent's identity.
43
43
 
44
44
  ```sh
45
45
  # edit with your details
46
- ens-agent registration-file template > registration.json`
46
+ ens-agent registration-file template > registration.json
47
47
 
48
48
  # validate
49
- ens-agent registration-file validate registration.json`
49
+ ens-agent registration-file validate registration.json
50
50
  ```
51
51
 
52
52
  #### Publishing a registration file
@@ -59,8 +59,9 @@ The following variables should be in your environment to use this command.
59
59
 
60
60
  ```sh
61
61
  # Publish to IPFS
62
- ens-agent registration-file publish registration.json`
63
- # Returns => ipfs://CID henceforth referred to as <agent-uri>
62
+ ens-agent registration-file publish registration.json
63
+ # Returns => {"cid":"<CID>","uri":"ipfs://<CID>"} use jq to extract:
64
+ # agent-uri=$(ens-agent registration-file publish registration.json | jq -r '.uri')
64
65
  ```
65
66
 
66
67
  #### Register your Agent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ens-node-metadata/agent",
3
- "version": "0.2.10",
3
+ "version": "0.3.1",
4
4
  "description": "CLI for registering AI agents on ENS using ERC-8004",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",