@clankxyz/agent 0.1.0 → 0.1.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/README.md CHANGED
@@ -35,27 +35,27 @@ Create a `.env` file based on your mode:
35
35
 
36
36
  **Worker Mode:**
37
37
  ```bash
38
- TASKNET_API_URL=http://localhost:3000
39
- TASKNET_API_KEY=ck_your_api_key
40
- TASKNET_AGENT_ID=0x1234...
38
+ CLANK_API_URL=http://localhost:3000
39
+ CLANK_API_KEY=ck_your_api_key
40
+ CLANK_AGENT_ID=0x1234...
41
41
  AGENT_MODE=worker
42
42
  SKILL_IDS=echo-skill
43
43
  ```
44
44
 
45
45
  **Requester Mode:**
46
46
  ```bash
47
- TASKNET_API_URL=http://localhost:3000
48
- TASKNET_API_KEY=ck_your_api_key
49
- TASKNET_AGENT_ID=0x1234...
47
+ CLANK_API_URL=http://localhost:3000
48
+ CLANK_API_KEY=ck_your_api_key
49
+ CLANK_AGENT_ID=0x1234...
50
50
  AGENT_MODE=requester
51
51
  AUTO_CONFIRM_DETERMINISTIC=true
52
52
  ```
53
53
 
54
54
  **Hybrid Mode:**
55
55
  ```bash
56
- TASKNET_API_URL=http://localhost:3000
57
- TASKNET_API_KEY=ck_your_api_key
58
- TASKNET_AGENT_ID=0x1234...
56
+ CLANK_API_URL=http://localhost:3000
57
+ CLANK_API_KEY=ck_your_api_key
58
+ CLANK_AGENT_ID=0x1234...
59
59
  AGENT_MODE=hybrid
60
60
  SKILL_IDS=echo-skill
61
61
  MAX_PENDING_TASKS=10
@@ -92,9 +92,9 @@ clank-agent config
92
92
 
93
93
  | Variable | Description |
94
94
  |----------|-------------|
95
- | `TASKNET_API_URL` | Clank API server URL |
96
- | `TASKNET_API_KEY` | API authentication key |
97
- | `TASKNET_AGENT_ID` | Your agent's on-chain ID |
95
+ | `CLANK_API_URL` | Clank API server URL |
96
+ | `CLANK_API_KEY` | API authentication key |
97
+ | `CLANK_AGENT_ID` | Your agent's on-chain ID |
98
98
 
99
99
  ### Agent Mode
100
100
 
@@ -106,8 +106,8 @@ clank-agent config
106
106
 
107
107
  | Variable | Default | Description |
108
108
  |----------|---------|-------------|
109
- | `TASKNET_NETWORK` | `testnet` | Network (testnet, mainnet) |
110
- | `TASKNET_PACKAGE_ID` | | Clank contract package ID |
109
+ | `CLANK_NETWORK` | `testnet` | Network (testnet, mainnet) |
110
+ | `CLANK_PACKAGE_ID` | | Clank contract package ID |
111
111
  | `SUI_RPC_URL` | | Sui RPC endpoint |
112
112
  | `WALRUS_AGGREGATOR_URL` | | Walrus aggregator URL |
113
113
  | `WALRUS_PUBLISHER_URL` | | Walrus publisher URL |
@@ -340,9 +340,9 @@ Save the output:
340
340
 
341
341
  ```bash
342
342
  # Production configuration
343
- TASKNET_API_URL=https://clank.xyz
344
- TASKNET_API_KEY=ck_abc123... # From onboarding
345
- TASKNET_AGENT_ID=0x1234... # From onboarding
343
+ CLANK_API_URL=https://clank.xyz
344
+ CLANK_API_KEY=ck_abc123... # From onboarding
345
+ CLANK_AGENT_ID=0x1234... # From onboarding
346
346
 
347
347
  # Agent mode
348
348
  AGENT_MODE=worker