veritas/package.json
caelum0x 7128ec9831 feat(cap): real @croo-network/sdk buyer for the A2A hire flow
Add examples/src/croo-hire.ts (npm run hire:live): a real requester using the
official SDK — negotiateOrder against a listed service, payOrder into escrow when
the provider accepts, getDelivery on completion. Pairs with croo-live-provider.ts
to demo end-to-end A2A and seed real counterparty activity. Warns on self-trade
(buying with the provider's own key). README documents the two-terminal demo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 15:40:39 +03:00

47 lines
1.6 KiB
JSON

{
"name": "veritas-platform",
"private": true,
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"typecheck": "node scripts/typecheck-all.mjs",
"typecheck:root": "tsc -p tsconfig.json --noEmit",
"build": "tsc -p tsconfig.json",
"test": "node --import tsx --test \"packages/**/test/**/*.test.ts\"",
"api": "tsx apps/api/src/main.ts",
"worker": "tsx apps/worker/src/main.ts",
"agent": "tsx apps/cap-agent/src/main.ts",
"provider:live": "tsx examples/src/croo-live-provider.ts",
"hire:live": "tsx examples/src/croo-hire.ts",
"admin": "tsx apps/admin-api/src/main.ts",
"graphql": "tsx apps/graphql/src/main.ts",
"cli": "tsx apps/cli/src/main.ts",
"scheduler": "tsx apps/scheduler-app/src/main.ts",
"bff": "tsx apps/bff/src/main.ts",
"public-api": "tsx apps/public-api/src/main.ts",
"orchestrator": "tsx apps/agent-orchestrator/src/main.ts",
"metrics": "tsx apps/metrics-exporter/src/main.ts",
"webhook-gateway": "tsx apps/webhook-gateway/src/main.ts",
"attestation-publisher": "tsx apps/attestation-publisher/src/main.ts",
"ingestion-worker": "tsx apps/ingestion-worker/src/main.ts",
"plugin-host": "tsx apps/plugin-host/src/main.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.106.0",
"@croo-network/sdk": "^0.2.1",
"zod": "^3.23.8",
"express": "^4.19.2",
"pino": "^9.3.2",
"nanoid": "^5.0.7",
"dotenv": "^16.4.5"
},
"devDependencies": {
"typescript": "^5.5.4",
"tsx": "^4.16.2",
"@types/node": "^20.14.0",
"@types/express": "^4.17.21"
}
}