settlekit/apps/api/package.json

99 lines
3.4 KiB
JSON
Raw Permalink Normal View History

{
"name": "@settlekit/api",
"version": "0.0.0",
"private": true,
"type": "module",
"description": "SettleKit REST API — Hono on Node. Mounts real route modules per resource under /v1 backed by the @settlekit domain packages and their in-memory repositories.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -b",
"dev": "node --import tsx/esm src/server.ts",
"start": "node dist/server.js",
"typecheck": "tsc -b",
"test": "vitest run"
},
"dependencies": {
"@hono/node-server": "^1.13.7",
feat(lepton): nanopayment modules + production settlement spine Lepton Agents Hackathon (Canteen × Circle × Arc): agent-native nanopayments on Arc, built on the existing SettleKit platform. Hackathon modules (demo-ready, RFB-aligned): - @settlekit/agent: autonomous paying agent (Claude tool-use loop) — RFB 1/3 - @settlekit/citation-toll: per-access content + recursive royalty splits — RFB 6 - @settlekit/streaming: per-second continuous-authorization settlement — RFB 4 - @settlekit/x402-client: x402 pay-and-retry + pluggable settler (local/Circle) - @settlekit/agent-economy: closed-loop traction harness + CLI - apps/api /v1/lepton: public live demo surface Production settlement spine (Phase 1): - @settlekit/settlement-core: configurable Gateway/Circle/local providers, idempotency, batch accumulator, on-chain reconciliation, nonce + receipt stores - @settlekit/wallet-fleet: registry, spending caps + kill-switch, balances, Circle provisioning - x402-client: provider-settler adapter + Arc-indexer on-chain verifier - lepton DB schema (12 tables) + persistence Pg stores (settlements, nonces, sources, royalty legs, wallets, streams, payees) - apps/worker jobs: lepton-settlement-reconcile, lepton-payout-sweep, lepton-stream-refund (no-op until the settlement spine is wired) First real-world traction sidecar (Phase 2): - @settlekit/payee-registry: identity→wallet payout rule (in-memory + Pg) - services/sidecars/rsshub-citation-toll: ingest RSS items as priced citeable sources, x402-gated, settle per-citation royalties via settlement-core - shared sweepPendingRoyalties used by the worker job and the sidecar - services/sidecars/* wired as a TS workspace area (pnpm + vitest) Docs: LEPTON.md, LEPTON_PRODUCTION_PLAN.md. All green: full typecheck + 870 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 14:37:38 +03:00
"@settlekit/agent": "workspace:*",
"@settlekit/agent-economy": "workspace:*",
"@settlekit/agent-services": "workspace:*",
"@settlekit/api-keys": "workspace:*",
"@settlekit/arc": "workspace:*",
"@settlekit/auth": "workspace:*",
"@settlekit/bundles": "workspace:*",
2026-06-17 02:09:36 +03:00
"@settlekit/cctp": "workspace:*",
"@settlekit/chains": "workspace:*",
"@settlekit/circle": "workspace:*",
2026-06-17 02:09:36 +03:00
"@settlekit/circle-wallets": "workspace:*",
"@settlekit/citation-toll": "workspace:*",
"@settlekit/common": "workspace:*",
2026-06-17 02:09:36 +03:00
"@settlekit/compliance": "workspace:*",
"@settlekit/coupons": "workspace:*",
"@settlekit/database": "workspace:*",
"@settlekit/delivery": "workspace:*",
"@settlekit/discord": "workspace:*",
"@settlekit/disputes": "workspace:*",
"@settlekit/dunning": "workspace:*",
"@settlekit/entitlements": "workspace:*",
"@settlekit/escrow": "workspace:*",
"@settlekit/exports": "workspace:*",
"@settlekit/file-delivery": "workspace:*",
"@settlekit/gateway": "workspace:*",
"@settlekit/github": "workspace:*",
"@settlekit/hyperliquid": "workspace:*",
"@settlekit/invitations": "workspace:*",
"@settlekit/invoices": "workspace:*",
"@settlekit/license-keys": "workspace:*",
2026-06-16 02:51:34 +03:00
"@settlekit/marketplace-core": "workspace:*",
"@settlekit/notifications": "workspace:*",
"@settlekit/onchain": "workspace:*",
"@settlekit/onchain-billing": "workspace:*",
"@settlekit/operator": "workspace:*",
"@settlekit/oss-fund": "workspace:*",
"@settlekit/paymaster": "workspace:*",
"@settlekit/payments": "workspace:*",
"@settlekit/payouts": "workspace:*",
2026-06-16 02:51:34 +03:00
"@settlekit/persistence": "workspace:*",
2026-06-17 03:02:36 +03:00
"@settlekit/platform-billing": "workspace:*",
"@settlekit/pricing": "workspace:*",
"@settlekit/product-catalog": "workspace:*",
2026-06-17 02:09:36 +03:00
"@settlekit/rate-limits": "workspace:*",
"@settlekit/refunds": "workspace:*",
"@settlekit/saas": "workspace:*",
"@settlekit/solana": "workspace:*",
"@settlekit/stablefx": "workspace:*",
"@settlekit/streaming": "workspace:*",
2026-06-17 02:09:36 +03:00
"@settlekit/usage": "workspace:*",
"@settlekit/webhooks": "workspace:*",
"@settlekit/x402": "workspace:*",
feat(lepton): nanopayment modules + production settlement spine Lepton Agents Hackathon (Canteen × Circle × Arc): agent-native nanopayments on Arc, built on the existing SettleKit platform. Hackathon modules (demo-ready, RFB-aligned): - @settlekit/agent: autonomous paying agent (Claude tool-use loop) — RFB 1/3 - @settlekit/citation-toll: per-access content + recursive royalty splits — RFB 6 - @settlekit/streaming: per-second continuous-authorization settlement — RFB 4 - @settlekit/x402-client: x402 pay-and-retry + pluggable settler (local/Circle) - @settlekit/agent-economy: closed-loop traction harness + CLI - apps/api /v1/lepton: public live demo surface Production settlement spine (Phase 1): - @settlekit/settlement-core: configurable Gateway/Circle/local providers, idempotency, batch accumulator, on-chain reconciliation, nonce + receipt stores - @settlekit/wallet-fleet: registry, spending caps + kill-switch, balances, Circle provisioning - x402-client: provider-settler adapter + Arc-indexer on-chain verifier - lepton DB schema (12 tables) + persistence Pg stores (settlements, nonces, sources, royalty legs, wallets, streams, payees) - apps/worker jobs: lepton-settlement-reconcile, lepton-payout-sweep, lepton-stream-refund (no-op until the settlement spine is wired) First real-world traction sidecar (Phase 2): - @settlekit/payee-registry: identity→wallet payout rule (in-memory + Pg) - services/sidecars/rsshub-citation-toll: ingest RSS items as priced citeable sources, x402-gated, settle per-citation royalties via settlement-core - shared sweepPendingRoyalties used by the worker job and the sidecar - services/sidecars/* wired as a TS workspace area (pnpm + vitest) Docs: LEPTON.md, LEPTON_PRODUCTION_PLAN.md. All green: full typecheck + 870 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 14:37:38 +03:00
"@settlekit/x402-client": "workspace:*",
"@settlekit/zcash": "workspace:*",
"hono": "^4.12.25",
"zod": "^3.24.1",
"@settlekit/x402-facilitator": "workspace:*",
"@x402/core": "~2.27.0",
"@x402/evm": "~2.27.0",
"@x402/svm": "~2.27.0",
"@x402/hono": "~2.27.0",
"@solana/kit": "5.5.1",
"mppx": "^0.11.0",
"viem": "^2.54.0"
},
"devDependencies": {
"@types/node": "^20.14.0",
"tsx": "^4.19.2",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
}
}