mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Define gateway payloads as Python TypedDict contracts and generate the shared TypeScript surface through ts-type during shared, TUI, and desktop workflows.
30 lines
905 B
JSON
30 lines
905 B
JSON
{
|
|
"name": "@hermes/shared",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./billing": "./src/billing-types.ts",
|
|
"./billing-policy": "./src/billing-policy.ts",
|
|
"./charge-settlement": "./src/charge-settlement.ts",
|
|
"./gateway-contracts": "./src/generated/gateway.ts",
|
|
"./skin": "./src/skin.ts"
|
|
},
|
|
"types": "./src/index.ts",
|
|
"scripts": {
|
|
"generate:gateway-types": "uv run --locked --extra dev python ../../scripts/generate_gateway_types.py",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"fix": "npm run lint:fix",
|
|
"typecheck": "npm run generate:gateway-types && tsc -p . --noEmit",
|
|
"check": "npm run typecheck"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"eslint": "^9.39.4",
|
|
"globals": "^17.4.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.56.1"
|
|
}
|
|
}
|