Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.35 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "stellar-agent-guard-sdk",
"version": "0.1.1",
"description": "Pre-flight policy interception and guardrails for AI agents on Stellar Soroban smart accounts.",
"type": "module",
"license": "MIT",
"sideEffects": false,
"engines": {
"node": ">=24"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./fs": {
"types": "./dist/fs.d.ts",
"import": "./dist/fs.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"stellar",
"soroban",
"ai-agents",
"guardrails",
"spend-limits",
"custom-account",
"smart-accounts",
"policy-engine",
"pre-flight",
"agent-auth",
"transaction-signing",
"cost-pre-checks",
"on-chain-telemetry",
"allowlist",
"per-transaction-limits",
"sac-token",
"transfer-from",
"stellar-soroban",
"agent-frameworks",
"langchain",
"elizaos",
"mcp",
"model-context-protocol",
"integration-bridge",
"dex",
"lending",
"protocol-calls",
"window-enforcement",
"pause-state",
"auth-context",
"typescript",
"esm",
"node-24"
],
"repository": {
"type": "git",
"url": "git+https://github.com/stellar-agent-guard/stellar-agent-guard-sdk.git"
},
"bugs": {
"url": "https://github.com/stellar-agent-guard/stellar-agent-guard-sdk/issues"
},
"homepage": "https://github.com/stellar-agent-guard/stellar-agent-guard-sdk#README",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"check:strict-ratchet": "node scripts/check-strict-ratchet.mjs",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "node --import tsx scripts/run-tests.ts unit",
"test:unit": "node --import tsx scripts/run-tests.ts unit",
"test:watch": "node --import tsx scripts/run-tests.ts unit --watch",
"test:integration": "node --import tsx scripts/run-tests.ts integration",
"test:all": "node --import tsx scripts/run-tests.ts all",
"test:coverage": "node --import tsx scripts/run-tests.ts all --coverage",
"test:coverage:floor": "c8 --check-coverage --include=src/preflight.ts --include=src/policy.ts --include=src/invoke.ts node --import tsx scripts/run-tests.ts unit",
"test:exports": "node --import tsx scripts/check-export-map.ts",
"test:pack": "node --import tsx scripts/check-pack-contents.ts",
"test:packed-install": "node --import tsx scripts/check-packed-install.ts",
"test:types": "tsc -p tsconfig.test-d.json",
"test:types:packed": "node --import tsx scripts/check-packed-types.ts",
"test:browser": "node scripts/check-browser-entry.mjs",
"check:bundle-size": "node scripts/check-bundle-size.mjs",
"test:smoke": "node --input-type=module -e \"import('./dist/index.js').then(m => { if (!m.PreFlightInterceptor) throw new Error('Missing PreFlightInterceptor'); console.log('ESM export-map resolution smoke test passed: ' + Object.keys(m).length + ' exports found'); })\"",
"bench": "node --import tsx benches/check-decode.bench.ts",
"bench:preflight": "node --import tsx scripts/bench-preflight-encode.ts",
"inspect": "node scripts/inspect-deployment.ts",
"deploy:phase2": "node scripts/deploy-phase2-instance.ts",
"sync:fixtures": "node --import tsx scripts/sync-contract-fixtures.ts",
"vendor:refresh": "node --import tsx scripts/vendor-fixtures.ts",
"policy-schema:bootstrap": "node --import tsx -e \"import { bootstrapAheadOfUpstream } from './scripts/vendor-fixtures.ts'; import { readFileSync } from 'node:fs'; const r = bootstrapAheadOfUpstream(readFileSync('scripts/policy-schema.bootstrap.json', 'utf8')); console.log('vendored', r.artifact.outputPath, 'sha256:' + r.digest);\"",
"capture:rpc-fixtures": "node --import tsx scripts/capture-rpc-fixtures.ts",
"prepublishOnly": "npm run build",
"check:secrets": "node scripts/check-secrets.ts"
},
"dependencies": {
"@stellar/stellar-sdk": "^17.3.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.5.1",
"c8": "^12.0.0",
"eslint": "^10.10.0",
"expect-type": "^1.4.0",
"prettier": "^3.6.2",
"tinybench": "^6.2.0",
"tsx": "^4.23.13",
"typescript": "^5.9.2",
"typescript-eslint": "^8.70.0"
}
}