Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 9 KB
/
Copy pathpackage.json
File metadata and controls
160 lines (160 loc) · 9 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
{
"name": "repid-engine",
"version": "1.0.0",
"description": "",
"private": true,
"main": "index.js",
"engines": {
"node": ">=20.9.0"
},
"scripts": {
"prepublishOnly": "node -e \"console.error('repid-engine is proprietary and must NEVER be published to npm (it contains the scoring formula, a hard-stop secret). Refusing. Publish a clean public wrapper instead.'); process.exit(1)\"",
"gen:env-registry": "node scripts/generate-env-registry.mjs",
"check": "node scripts/check-all.mjs",
"dispatch:read-inbox": "node scripts/dispatch/read-inbox.mjs",
"e2e:trust-chain": "tsc -p tsconfig.json --outDir dist && node scripts/e2e/trust-chain-probe.mjs",
"check:named-env-vars": "node scripts/check-named-env-vars.cjs",
"prebuild": "node scripts/generate-env-registry.mjs",
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"test": "jest --config jest.config.js --forceExit",
"harness": "node scripts/adversarial-harness/run.mjs",
"harness:up": "node scripts/adversarial-harness/up.mjs",
"harness:down": "node scripts/adversarial-harness/down.mjs",
"harness:probe": "node scripts/adversarial-harness/run.mjs --probes-only",
"grounding:diff": "ts-node scripts/grounding/diff-report.ts",
"eval:backtest-classify": "ts-node scripts/eval/backtest-classify.ts",
"eval:candidate-voter": "ts-node scripts/eval/candidate-voter.ts",
"eval:ledger": "ts-node scripts/eval/ledger.ts",
"answer-key": "ts-node scripts/answer-key/run.ts",
"exp-repid:replay": "ts-node scripts/exp-repid/run.ts replay",
"exp-repid:settle": "ts-node scripts/exp-repid/run.ts settle",
"exp-repid:reveal": "ts-node scripts/exp-repid/run.ts reveal",
"verify:feedback-write": "ts-node scripts/verify-feedback-write.ts",
"demo:human-backed": "ts-node scripts/demo/human-backed-validation.ts",
"decay:stop-diff": "ts-node scripts/identity/decay-stop-diff.ts",
"test:regression": "jest --config jest.config.js tests/regression",
"decay:sweep": "ts-node scripts/decay/run-decay-sweep.ts",
"heartbeat": "ts-node scripts/heartbeat/run-heartbeat.ts",
"audit-probe": "ts-node scripts/audit-probe/run-audit-probe.ts",
"capture:telemetry": "ts-node scripts/observability/capture-telemetry.ts --family all",
"health:24h": "ts-node scripts/observability/health-summary-24h.ts",
"verify:alpaca": "ts-node scripts/verify/alpaca-paper-flow.ts",
"verify:crosscheck": "ts-node scripts/verify/crosscheck.ts",
"verify:claims": "ts-node scripts/verify/claims.ts",
"verify:deployed-sha": "ts-node scripts/verify/assert-deployed-sha.ts",
"test:e2e": "jest --config tests/e2e/jest.e2e.config.js --runInBand --forceExit",
"smoke:hal-external": "ts-node scripts/external-caller-smoke-test.ts",
"smoke:prod": "tsx scripts/production-smoke.ts",
"indexer": "node dist/scripts/start-indexer-service.js",
"worker": "node dist/scripts/start-proof-drain-service.js",
"smoke:graph-rag": "ts-node scripts/graph-rag-smoke.ts",
"backfill:erc8004:headline-4": "ts-node scripts/erc8004-backfill-headline-4.ts",
"backfill:erc8004:mass": "ts-node scripts/erc8004-backfill-mass-19plus1.ts",
"reputation:backfill:spokespersons": "ts-node scripts/erc8004-reputation-backfill-spokespersons.ts",
"probe:reputation": "ts-node scripts/erc8004-reputation-probe.ts",
"x402:health": "tsx scripts/x402-health.ts",
"x402:recovery-worker": "tsx scripts/x402/run-recovery-worker.ts",
"install:hooks": "ts-node scripts/install-hooks.ts",
"guard:prod-fixtures": "node scripts/hooks/prod-fixture-guard.js --ci",
"security:hal-gate": "node security/promptfoo/run-gate.mjs",
"worktree:doctor": "ts-node scripts/git-worktree/doctor.ts",
"verify:hal-dual-write": "ts-node scripts/verify-hal-dual-write.ts",
"test:integration": "jest --config jest.integration.config.js --runInBand --forceExit",
"smoke:full": "npm run smoke:prod && npm run test:integration",
"probe:all": "ts-node scripts/liveness-probes/run-all-probes.ts",
"probe:zkp": "ts-node scripts/liveness-probes/probe-zkp-pipeline.ts",
"probe:hal": "ts-node scripts/liveness-probes/probe-hal-pipeline.ts",
"probe:repid": "ts-node scripts/liveness-probes/probe-repid-scoring.ts",
"repid:sync": "ts-node src/services/reputation/repid-sync-aggregator.ts --dry-run",
"repid:sync:apply": "REPIDSYNC_APPLY=true ts-node src/services/reputation/repid-sync-aggregator.ts --apply",
"probe:graph-rag": "ts-node scripts/liveness-probes/probe-graph-rag.ts",
"probe:x402": "ts-node scripts/liveness-probes/probe-x402-settlements.ts",
"probe:onchain": "ts-node scripts/liveness-probes/probe-onchain-reputation.ts",
"probe:trinity": "ts-node scripts/liveness-probes/probe-trinity-swarm.ts",
"probe:anfis": "ts-node scripts/liveness-probes/probe-anfis-routing.ts",
"capture:baseline": "ts-node scripts/capture-baseline.ts",
"capture:post-wakeup": "ts-node scripts/capture-post-wakeup.ts",
"mock:scenario-01": "ts-node scripts/mock-harness/scenarios/scenario-01-constitutional-refuser.ts",
"mock:scenario-02": "ts-node scripts/mock-harness/scenarios/scenario-02-aggressive-trader.ts",
"mock:scenario-03": "ts-node scripts/mock-harness/scenarios/scenario-03-hallucinator.ts",
"mock:scenario-04": "ts-node scripts/mock-harness/scenarios/scenario-04-trading-pair.ts",
"mock:exercise-anfis": "ts-node scripts/mock-harness/exercise-anfis.ts",
"mock:exercise-graph-rag": "ts-node scripts/mock-harness/exercise-graph-rag.ts",
"demo:full-loop": "ts-node scripts/mock-harness/full-loop-demo.ts",
"demo:full-loop:real": "ts-node -e \"process.env.MOCK_FACILITATOR='false';require('./scripts/mock-harness/full-loop-demo.ts')\"",
"cb:kill": "ts-node scripts/circuit-breaker-controls.ts kill",
"cb:resume": "ts-node scripts/circuit-breaker-controls.ts resume",
"cb:status": "ts-node scripts/circuit-breaker-controls.ts status",
"graph-rag:infer-edges": "ts-node scripts/graph-rag/infer-edges.ts",
"graph-rag:backfill-embeddings": "ts-node scripts/graph-rag/backfill-embeddings.ts",
"corpus:hash": "node scripts/corpus/hash-corpus.mjs",
"corpus:migrate": "node scripts/corpus/migrate-to-v1-schema.mjs",
"corpus:verify": "jest --config jest.config.js tests/corpus-files.test.ts",
"hal:seed-ground-truth": "ts-node scripts/hal/seed-ground-truth.ts",
"hal:score-external": "ts-node tests/hal/score-corpus.ts",
"hal:ground-truth-stats": "ts-node scripts/hal/seed-ground-truth.ts --stats",
"hal:ground-truth-template": "ts-node scripts/hal/seed-ground-truth.ts --export-template ./hal-ground-truth-template.csv",
"hal:reskin": "ts-node scripts/hal-eval/reskin-invariance.ts",
"repid:sim": "ts-node scripts/repid-sim/run-sim.ts",
"repid:daily-shadow": "ts-node scripts/repid-sim/daily-shadow.ts",
"types:gen": "npx supabase gen types typescript --project-id qnnpjhlxljtqyigedwkb --schema public > src/types/database.types.ts",
"types:check": "tsc --noEmit",
"x402:preflight-real-microtx": "tsx scripts/x402/preflight-real-microtx.ts",
"demo:trust": "node scripts/demo/trust-receipt.mjs",
"demo:own-agent": "node scripts/demo/own-your-agent.mjs",
"demo:harness": "node scripts/demo/trust-harness-e2e.mjs",
"ops:reconcile": "ts-node scripts/ops/reconcile-settlements.ts",
"repid:decay": "ts-node scripts/run-repid-decay.ts",
"repid:decay:apply": "ts-node scripts/run-repid-decay.ts --apply",
"probe:hal-shape": "ts-node scripts/liveness-probes/probe-hal-response-shape.ts",
"verify:vesting": "ts-node scripts/verify/vesting-not-stranded.ts",
"verify:quality-hook": "ts-node scripts/verify/quality-hook-can-fire.ts",
"dispatch:deliver-inbox": "node scripts/dispatch/deliver-inbox.mjs",
"search:index": "zg index . --embedding local/potion-retrieval-32m --ignore-file .zvec-grep-ignore"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"type": "commonjs",
"dependencies": {
"@hyperdag/proof-verifier": "github:DealAppSeo/hyperdag-proof-verifier#ec3930a4cc5700185e850150a51d2f5c34efcec1",
"@supabase/supabase-js": "^2.119.0",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^26.6.6",
"@types/pg": "^8.23.1",
"@xenova/transformers": "^2.17.2",
"bcryptjs": "^3.0.3",
"chess.js": "^1.4.0",
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"ethers": "^6.17.0",
"express": "^5.3.0",
"express-rate-limit": "^8.7.3",
"helmet": "^8.3.0",
"ioredis": "^5.11.1",
"jsonwebtoken": "^9.0.3",
"pg": "^8.23.1",
"pg-connection-string": "^2.14.1",
"solc": "^0.8.38",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"validator": "^13.15.35"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/supertest": "^7.2.1",
"@types/validator": "^13.15.10",
"@x402/core": "2.29.0",
"@x402/evm": "2.29.0",
"@x402/fetch": "2.29.0",
"jest": "^30.5.2",
"supertest": "^7.3.1",
"ts-jest": "^29.4.15",
"viem": "2.57.16"
}
}