-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 6.68 KB
/
Copy pathpackage.json
File metadata and controls
178 lines (178 loc) · 6.68 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "monarch-shield",
"version": "1.0.0",
"private": true,
"type": "module",
"description": "Monarch Shield — payment-code preflight for AI agents using agent-to-agent, x402, wallet.send, paid MCP, Stripe, card, bank, stablecoin, and agent-controlled payment code",
"workspaces": [
"packages/*"
],
"scripts": {
"dev": "vite",
"prebuild": "node scripts/generate-doc-html.js",
"build": "vite build",
"test": "npm test --workspaces",
"test:worker": "node --test workers/doctor-run/src/*.test.js",
"test:coverage": "npm run test:coverage --workspace @monarch-shield/x402",
"coverage:verify": "node scripts/verify-coverage-threshold.js 90",
"qa": "npm test && npm run test:worker && npm run coverage:verify && npm run benchmark:adversarial && npm run smoke:external-agent && npm run smoke:reporting && npm run docs:lint && npm run discovery:check && npm run qa:proof-packs && npm run monarch:doctor && node packages/x402/src/cli.js doctor --ci --strict && npm audit --audit-level=moderate && npm pack --workspace @monarch-shield/x402 --dry-run && npm pack --workspace x402-doctor --dry-run && npm run build",
"release:check": "npm run qa",
"docs:lint": "npx --yes markdownlint-cli2 \"**/*.md\" \"!node_modules/**\" \"!dist/**\" \"!artifacts/**\"",
"discovery:check": "node scripts/monte-carlo-agent-discovery.js 100000",
"discovery:stress": "node scripts/discovery-stress-test.js",
"adoption:stress": "node scripts/adoption-stress-test.js 100",
"smoke:external-agent": "node scripts/external-agent-smoke.js",
"smoke:reporting": "node scripts/external-reporting-smoke.js",
"benchmark:adversarial": "node scripts/run-adversarial-benchmark.js",
"discovery:check:full": "node scripts/monte-carlo-agent-discovery.js 1000000",
"qa:base-x402": "node scripts/record-base-x402-proof-pack.js",
"qa:coinbase-agentkit": "node scripts/record-coinbase-agentkit-proof-pack.js",
"qa:virtuals-acp": "node scripts/record-partner-proof-pack.js virtuals-acp",
"qa:google-ap2-a2a-x402": "node scripts/record-partner-proof-pack.js google-ap2-a2a-x402",
"qa:stripe-bridge": "node scripts/record-partner-proof-pack.js stripe-bridge",
"qa:card-network-agent-pay": "node scripts/record-partner-proof-pack.js card-network-agent-pay",
"qa:proof-packs": "npm run qa:base-x402 && npm run qa:coinbase-agentkit && npm run qa:virtuals-acp && npm run qa:google-ap2-a2a-x402 && npm run qa:stripe-bridge && npm run qa:card-network-agent-pay",
"pack:x402": "npm pack --workspace @monarch-shield/x402",
"pack:x402-doctor": "npm pack --workspace x402-doctor",
"preview": "vite preview",
"monarch:doctor": "node packages/x402/src/cli.js doctor",
"monarch:scan": "node packages/x402/src/cli.js scan",
"monarch:sandbox": "node packages/x402/src/cli.js sandbox",
"monarch:preprod": "node packages/x402/src/cli.js preprod",
"proof:dogfood": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=internal-dogfood node packages/x402/src/cli.js doctor --report",
"proof:dogfood:ci": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=internal-dogfood node packages/x402/src/cli.js doctor --ci --report",
"proof:base-x402": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/base-x402-proof-pack/patched --ci --strict --report",
"proof:coinbase-agentkit": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/coinbase-agentkit-proof-pack/patched --ci --strict --report",
"proof:virtuals-acp": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/virtuals-acp-proof-pack/patched --ci --strict --report",
"proof:google-ap2-a2a-x402": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/google-ap2-a2a-x402-proof-pack/patched --ci --strict --report",
"proof:stripe-bridge": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/stripe-bridge-stablecoin-proof-pack/patched --ci --strict --report",
"proof:card-network-agent-pay": "MONARCH_TELEMETRY=1 MONARCH_PROOF_SOURCE=public-example node packages/x402/src/cli.js doctor --root examples/card-network-agent-pay-proof-pack/patched --ci --strict --report"
},
"devDependencies": {
"vite": "^6.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ghostmonarch/x402ms.git"
},
"keywords": [
"x402",
"x402-safety",
"x402-payment-ci-gate",
"agent-payments",
"agent-to-agent-payments",
"agent-to-agent-payment-safety",
"agent-payment-safety",
"agent-payment-preflight",
"ai-agent-payment-preflight",
"payment-code-preflight-for-ai-agents",
"agent-skill",
"payment-code-ci-gate",
"payment-code-scanning",
"payment-preflight",
"payment-linter",
"payment-policy",
"langchain",
"langgraph",
"llamaindex",
"semantic-kernel",
"pydanticai",
"google-adk",
"google-a2a",
"openai-agents",
"cursor",
"claude-code",
"codex",
"semgrep",
"codeql",
"ci-gate",
"github-action",
"github-actions",
"payment-ci",
"sbom",
"cyclonedx",
"spdx",
"itgc",
"sox",
"opa",
"rego",
"tprm",
"nist-ai-rmf",
"owasp-llm",
"kill-switch",
"stripe-issuing",
"corporate-card",
"multilingual",
"arabic",
"indonesian",
"russian",
"turkish",
"vietnamese",
"italian",
"dutch",
"polish",
"thai",
"malay",
"bengali",
"urdu",
"persian",
"upi",
"pix",
"qris",
"promptpay",
"paynow",
"duitnow",
"vietqr",
"ideal",
"blik",
"sepa-instant",
"alipay",
"wechat-pay",
"m-pesa",
"dify",
"flowise",
"n8n",
"zapier-ai-actions",
"composio",
"browser-use",
"openhands",
"roo-code",
"continue",
"mcp-tools",
"paid-mcp",
"paid-mcp-payment-preflight",
"paid-api",
"wallet-send",
"wallet-send-safety-check",
"stripe",
"coinbase",
"visa",
"mastercard",
"idempotency",
"webhooks",
"base",
"monarch-doctor"
],
"author": "Monarch Shield",
"license": "MIT",
"bugs": {
"url": "https://github.com/ghostmonarch/x402ms/issues"
},
"homepage": "https://x402ms.ai",
"main": "vite.config.js",
"directories": {
"example": "examples"
},
"dependencies": {
"esbuild": "^0.25.12",
"fdir": "^6.5.0",
"fsevents": "^2.3.3",
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
"picomatch": "^4.0.4",
"postcss": "^8.5.12",
"rollup": "^4.60.2",
"source-map-js": "^1.2.1",
"tinyglobby": "^0.2.16"
}
}