@bloxwap/agent-cli 0.0.0-stage → 0.3.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/package.json CHANGED
@@ -1,6 +1,66 @@
1
1
  {
2
2
  "name": "@bloxwap/agent-cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.0",
4
+ "type": "module",
5
+ "bin": {
6
+ "agent-cli": "dist/cli.js"
7
+ },
8
+ "engines": {
9
+ "node": ">=22.12.0"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "SKILL.md",
14
+ "policies",
15
+ "LICENSE",
16
+ "CHANGELOG.md"
17
+ ],
18
+ "scripts": {
19
+ "build": "node scripts/generate-skill.mjs && tsup src/cli.ts --format esm --clean && node scripts/finalize-build.mjs",
20
+ "lint": "eslint .",
21
+ "typecheck": "node scripts/tsc-or-tsrs.mjs --noEmit",
22
+ "test": "vitest run",
23
+ "test:e2e": "node scripts/e2e-testnet.mjs",
24
+ "test:package": "node scripts/package-smoke.mjs",
25
+ "build:binaries": "node scripts/generate-skill.mjs && node scripts/build-binaries.mjs",
26
+ "test:sandbox": "vitest run --config vitest.integration.config.ts",
27
+ "skill:sync-version": "node scripts/sync-skill-version.mjs",
28
+ "skill:generate": "node scripts/generate-skill.mjs",
29
+ "typecheck:tsc": "tsc --noEmit"
30
+ },
31
+ "devDependencies": {
32
+ "@types/node": "^26.6.5",
33
+ "@types/qrcode": "^1.5.6",
34
+ "@types/ws": "^8.18.2",
35
+ "eslint": "^10.13.0",
36
+ "prettier": "^3.9.10",
37
+ "tsup": "^9.0.0",
38
+ "typescript": "^7.0.2",
39
+ "typescript-eslint": "^8.71.2",
40
+ "viem": "^2.57.10",
41
+ "vitest": "^5.0.5",
42
+ "tsrs": "0.18.0-ts7.1.0-dev.20260929"
43
+ },
44
+ "dependencies": {
45
+ "@bloxwap/hyperliquid": "^0.6.0",
46
+ "@privy-io/node": "^0.35.0",
47
+ "@scure/bip39": "^2.4.0",
48
+ "qrcode": "^1.5.4",
49
+ "ws": "^8.22.0",
50
+ "zod": "^4.6.7"
51
+ },
52
+ "description": "Agent-native Hyperliquid trading CLI with user-owned Privy or EOA signing and Relay funding",
53
+ "license": "MIT",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/bloxwap/agent-cli.git",
57
+ "directory": "packages/agent-cli"
58
+ },
59
+ "homepage": "https://bloxwap.github.io/agent-cli/",
60
+ "bugs": {
61
+ "url": "https://github.com/bloxwap/agent-cli/issues"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ }
66
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "version": "1.0",
3
+ "name": "agent-cli HL agent domain v2",
4
+ "chain_type": "ethereum",
5
+ "rules": [
6
+ {
7
+ "name": "Hyperliquid L1 agent domain",
8
+ "method": "eth_signTypedData_v4",
9
+ "action": "ALLOW",
10
+ "conditions": [
11
+ {
12
+ "field_source": "ethereum_typed_data_domain",
13
+ "field": "chainId",
14
+ "operator": "eq",
15
+ "value": "1337"
16
+ },
17
+ {
18
+ "field_source": "ethereum_typed_data_domain",
19
+ "field": "verifyingContract",
20
+ "operator": "eq",
21
+ "value": "0x0000000000000000000000000000000000000000"
22
+ },
23
+ {
24
+ "field_source": "ethereum_typed_data_message",
25
+ "field": "source",
26
+ "operator": "eq",
27
+ "value": "b",
28
+ "typed_data": {
29
+ "primary_type": "Agent",
30
+ "types": {
31
+ "Agent": [
32
+ { "name": "source", "type": "string" },
33
+ { "name": "connectionId", "type": "bytes32" }
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "name": "Never export agent private key",
42
+ "method": "exportPrivateKey",
43
+ "action": "DENY",
44
+ "conditions": []
45
+ },
46
+ {
47
+ "name": "Never export agent seed phrase",
48
+ "method": "exportSeedPhrase",
49
+ "action": "DENY",
50
+ "conditions": []
51
+ }
52
+ ]
53
+ }