2026-06-15 10:49:14 +03:00
|
|
|
{
|
|
|
|
|
"extends": "../../tsconfig.base.json",
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"rootDir": "./src",
|
|
|
|
|
"outDir": "./dist",
|
|
|
|
|
"composite": true,
|
|
|
|
|
"types": ["node"]
|
|
|
|
|
},
|
|
|
|
|
"references": [
|
2026-09-29 20:19:15 +03:00
|
|
|
{ "path": "../../packages/onchain-billing" },
|
2026-06-15 10:49:14 +03:00
|
|
|
{ "path": "../../packages/common" },
|
2026-09-30 03:50:08 +03:00
|
|
|
{ "path": "../../packages/pricing" },
|
2026-09-30 04:35:58 +03:00
|
|
|
{ "path": "../../packages/exports" },
|
feat: team roles with invitations and enforced API key scopes (G9)
Security fix plus team access. Before this change any valid API key,
including access keys the delivery system hands to BUYERS, authenticated
as the merchant on the whole management API, and GET /v1/api-keys listed
every organization's keys. Now only platform keys (issued at sign-up or
via POST /v1/api-keys/platform, marked with the platform product id) can
call the API, and each request needs its resource scope
(<resource>:read|write, write implies read; platform:admin or * for
full access), answered with 403 and details.requiredScope otherwise.
Keys cannot mint broader keys, customer keys cannot carry management
scopes, key listing is tenant-scoped and keys can be revoked by id.
Dashboard sessions get team roles (owner, admin, developer, support,
viewer) mapped to scopes. /v1/team manages members and email
invitations (packages/invitations, token hash only, 7-day expiry);
/v1/auth/invitations/accept joins the org and creates the account. The
last owner is protected and only owners grant owner. Dashboard: Team
page, invite accept page, and an API keys page that creates restricted
keys and shows the secret once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 06:09:06 +03:00
|
|
|
{ "path": "../../packages/invitations" },
|
2026-09-29 06:24:05 +03:00
|
|
|
{ "path": "../../packages/solana" },
|
2026-09-29 16:25:24 +03:00
|
|
|
{ "path": "../../packages/zcash" },
|
|
|
|
|
{ "path": "../../packages/chains" },
|
2026-09-29 18:48:20 +03:00
|
|
|
{ "path": "../../packages/hyperliquid" },
|
feat: add operator API routes and public proof endpoints
/v1/operator (API key or dashboard session, scoped to the vault's org):
POST /events (caller org forced, duplicate event ids replay the recorded
decision, single-flight per event), GET /decisions[/:id], POST|GET /bills,
GET /escalations, owner-only POST /escalations/:id/approve|reject, GET and
owner-only PUT /policy which refuses drift from on-chain caps and allowlist.
/v1/public/operator: GET /proof (cached aggregates, demo org excluded) and
GET /verify/:id. Mounted with one route line in app.ts ahead of the v1
API-key group. Escalated bills close when the owner resolves them.
App-level operator tests run through vitest.apps.config.ts because the api
and worker tsconfigs reference packages/solana, absent on this branch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:15:22 +03:00
|
|
|
{ "path": "../../packages/operator" },
|
2026-06-15 17:06:29 +03:00
|
|
|
{ "path": "../../packages/auth" },
|
2026-06-15 10:49:14 +03:00
|
|
|
{ "path": "../../packages/database" },
|
2026-06-16 02:51:34 +03:00
|
|
|
{ "path": "../../packages/persistence" },
|
2026-06-15 10:49:14 +03:00
|
|
|
{ "path": "../../packages/payments" },
|
|
|
|
|
{ "path": "../../packages/entitlements" },
|
|
|
|
|
{ "path": "../../packages/api-keys" },
|
2026-06-16 02:51:34 +03:00
|
|
|
{ "path": "../../packages/marketplace-core" },
|
2026-06-15 10:49:14 +03:00
|
|
|
{ "path": "../../packages/license-keys" },
|
|
|
|
|
{ "path": "../../packages/file-delivery" },
|
|
|
|
|
{ "path": "../../packages/product-catalog" },
|
|
|
|
|
{ "path": "../../packages/github" },
|
|
|
|
|
{ "path": "../../packages/discord" },
|
|
|
|
|
{ "path": "../../packages/saas" },
|
|
|
|
|
{ "path": "../../packages/bundles" },
|
|
|
|
|
{ "path": "../../packages/delivery" },
|
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
|
|
|
{ "path": "../../packages/agent" },
|
|
|
|
|
{ "path": "../../packages/agent-economy" },
|
feat(oss-fund): fund maintainers your dependency tree leans on
Add @settlekit/oss-fund: read package.json / requirements.txt (+ optional
lockfile), map the (transitive) dependency graph to maintainer wallets, and
split a small monthly budget across them — settled over the existing
nanopayment spine (payee-registry, x402 Settler, RecursiveSplitDistributor).
The allocation is the core: an engine weighs four signals per package —
directness, reach (criticality), usage, and maintainer underfunding — and the
capability layer converts a proposed weighting into a conserved integer
allocation (legs sum to the budget exactly, only resolvable wallets paid,
unregistered maintainers earmarked to escrow). Two engines, mirroring the paying
agent: a deterministic heuristic (default/CI) and a Claude (claude-opus-4-8)
tool-use brain that proposes weights under the same enforced policy.
- packages/oss-fund: manifest/lockfile parsing, graph + reach, signals,
resolver, conserved allocation, heuristic + Claude engines, settlement +
on-chain distributor calldata, realistic seed, CLI, tests (12 passing).
- apps/api: public PUBLIC routes GET /v1/fund/demo and POST /v1/fund/plan.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 13:11:38 +03:00
|
|
|
{ "path": "../../packages/oss-fund" },
|
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
|
|
|
{ "path": "../../packages/citation-toll" },
|
|
|
|
|
{ "path": "../../packages/x402-client" },
|
|
|
|
|
{ "path": "../../packages/streaming" },
|
2026-06-15 10:49:14 +03:00
|
|
|
{ "path": "../../packages/agent-services" },
|
|
|
|
|
{ "path": "../../packages/escrow" },
|
2026-06-17 02:09:36 +03:00
|
|
|
{ "path": "../../packages/usage" },
|
feat: product expansion — marketing site, customer portal, coupons + invoices
- apps/web: public marketing site (Next.js) — hero/§34, what-you-can-sell grid,
how-it-works, dev tools, marketplace teaser, /pricing (§32 tiers), /use-cases (§29).
- apps/portal: customer portal (Next.js, §31) — per-customer overview, purchases/
receipts, license keys, api keys, github/discord access (+re-check), subscriptions,
downloads; anchored on the universal entitlements layer.
- packages/coupons: real discount engine (percent/amount/free-trial, window, expiry,
max + per-customer redemptions, min-subtotal, product scoping), bigint USDC math,
CouponStore + service.
- packages/invoices: real invoicing (line items, discount, @settlekit/tax, statuses,
HTML/text render), fixed float bug, InvoiceStore + service.
- apps/api: /v1/coupons + /v1/invoices routes wired into context + app.
- apps/dashboard: Coupons + Invoices pages + nav + client methods.
All package + backend builds 0 TS errors; web/portal/dashboard typecheck clean;
590 tests pass (two redesigned coupon/invoice tests updated to the new API).
2026-06-15 12:25:58 +03:00
|
|
|
{ "path": "../../packages/webhooks" },
|
|
|
|
|
{ "path": "../../packages/coupons" },
|
|
|
|
|
{ "path": "../../packages/invoices" },
|
2026-06-17 02:09:36 +03:00
|
|
|
{ "path": "../../packages/rate-limits" },
|
2026-06-15 17:25:34 +03:00
|
|
|
{ "path": "../../packages/refunds" },
|
|
|
|
|
{ "path": "../../packages/dunning" },
|
|
|
|
|
{ "path": "../../packages/disputes" },
|
|
|
|
|
{ "path": "../../packages/payouts" },
|
2026-06-17 03:02:36 +03:00
|
|
|
{ "path": "../../packages/platform-billing" },
|
2026-09-29 16:55:28 +03:00
|
|
|
{ "path": "../../packages/circle" },
|
2026-06-17 02:09:36 +03:00
|
|
|
{ "path": "../../packages/circle-wallets" },
|
|
|
|
|
{ "path": "../../packages/compliance" },
|
|
|
|
|
{ "path": "../../packages/cctp" },
|
|
|
|
|
{ "path": "../../packages/gateway" },
|
|
|
|
|
{ "path": "../../packages/onchain" },
|
|
|
|
|
{ "path": "../../packages/paymaster" },
|
|
|
|
|
{ "path": "../../packages/stablefx" },
|
2026-09-29 18:41:21 +03:00
|
|
|
{ "path": "../../packages/tax" },
|
|
|
|
|
{ "path": "../../packages/x402-facilitator" }
|
2026-06-15 10:49:14 +03:00
|
|
|
],
|
|
|
|
|
"include": ["src/**/*"],
|
|
|
|
|
"exclude": ["dist", "node_modules", "test", "**/*.test.ts"]
|
|
|
|
|
}
|