kestrel.markets
Version:
A typed, token-efficient language + runtime for agentic trading: agents author bounded plans, the runtime fires them at the tick. CLI + typed library + MCP server.
186 lines (185 loc) • 6.85 kB
JSON
{
"name": "kestrel.markets",
"version": "0.4.20",
"description": "A typed, token-efficient language + runtime for agentic trading: agents author bounded plans, the runtime fires them at the tick. CLI + typed library + MCP server.",
"type": "module",
"bin": {
"kestrel": "./bin/kestrel.cjs"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./protocol": {
"types": "./dist/protocol/index.d.ts",
"import": "./dist/protocol/index.js",
"default": "./dist/protocol/index.js"
},
"./lang": {
"types": "./dist/lang/index.d.ts",
"import": "./dist/lang/index.js",
"default": "./dist/lang/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js",
"default": "./dist/client/index.js"
},
"./sdk": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js",
"default": "./dist/sdk/index.js"
},
"./sdk/remote": {
"types": "./dist/sdk/remote.d.ts",
"import": "./dist/sdk/remote.js",
"default": "./dist/sdk/remote.js"
},
"./mcp": {
"types": "./dist/mcp/index.d.ts",
"import": "./dist/mcp/index.js",
"default": "./dist/mcp/index.js"
},
"./engine": {
"types": "./dist/engine/index.d.ts",
"import": "./dist/engine/index.js",
"default": "./dist/engine/index.js"
},
"./validate": {
"types": "./dist/validate/index.d.ts",
"import": "./dist/validate/index.js",
"default": "./dist/validate/index.js"
},
"./adapters/broker": {
"types": "./dist/adapters/broker.d.ts",
"import": "./dist/adapters/broker.js",
"default": "./dist/adapters/broker.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js",
"default": "./dist/react/index.js"
}
},
"files": [
"bin",
"dist",
"src",
"artifacts/sdk/catalog-records.json",
"artifacts/protocol/wire.schema.json",
"examples",
"README.md",
"LICENSE",
"CONTEXT.md",
"docs/ARCHITECTURE.md",
"docs/spec",
"docs/adr",
"docs/public",
"docs/views"
],
"license": "MIT",
"homepage": "https://kestrel.markets",
"engines": {
"bun": ">=1.1.0",
"node": ">=22.6"
},
"keywords": [
"agentic-trading",
"dsl",
"market-perception",
"trading-runtime",
"mcp",
"agent",
"llm",
"cli",
"options",
"backtesting",
"deterministic-replay"
],
"scripts": {
"test": "bun test --timeout 60000",
"typecheck": "bunx tsc --noEmit && bunx tsc -p tsconfig.build.json --noEmit && bunx tsc -p tsconfig.build.engine.json --noEmit && bunx tsc -p tsconfig.scripts.json --noEmit",
"provenance": "bun scripts/check-public-provenance.ts",
"check:nul": "bun scripts/check-nul-delimiters.ts",
"check:beads-scrub": "bun scripts/beads-defang.ts --check",
"beads:scrub": "bun scripts/beads-defang.ts",
"beads:export": "bun scripts/beads-defang.ts --export",
"beads:install-hook": "bun scripts/beads-defang.ts --install-hook",
"check:no-secret-files": "bun scripts/check-no-secret-files.ts",
"check:prepack-env": "bun scripts/check-prepack-env.ts",
"check:renderer-epoch": "bun scripts/check-renderer-epoch.ts",
"check:npx-smoke": "bun scripts/check-npx-smoke.ts",
"prepublishOnly": "bun run check:npx-smoke",
"gen-grammar": "bun scripts/gen-grammar.ts",
"gen-grammar:check": "bun scripts/gen-grammar.ts --check",
"gen-docs": "bun scripts/gen-docs.ts",
"gen-docs:check": "bun scripts/gen-docs.ts --check",
"gen-founder-view-registry": "bun scripts/gen-founder-view-registry.ts",
"gen-founder-view-registry:check": "bun scripts/gen-founder-view-registry.ts --check",
"gen-wire-schema": "bun scripts/gen-wire-schema.ts",
"gen-wire-schema:check": "bun scripts/gen-wire-schema.ts --check",
"gen-canonical-golden": "bun scripts/gen-canonical-golden.ts",
"gen-canonical-golden:check": "bun scripts/gen-canonical-golden.ts --check",
"gen-field-order-golden": "bun scripts/gen-field-order-golden.ts",
"gen-field-order-golden:check": "bun scripts/gen-field-order-golden.ts --check",
"gen-oversight-frame-golden": "bun scripts/gen-oversight-frame-golden.ts",
"gen-oversight-frame-golden:check": "bun scripts/gen-oversight-frame-golden.ts --check",
"bench:grid": "bun scripts/bench/run-grid.ts",
"bench:author-fan": "bun scripts/bench/author-and-fan.ts",
"bench:fan-fleet-stable": "bun scripts/bench/fan-fleet-stable.ts",
"bench:widen2-finalize": "bun scripts/bench/finalize-widen2.ts",
"bench:pair-leaderboard": "bun scripts/bench/pair-leaderboard.ts",
"bench:single-leaderboard": "bun scripts/bench/single-model-leaderboard.ts",
"hf:export": "bun scripts/hf-export/export.ts",
"hf:push": "bash scripts/hf-export/push.sh",
"check": "bun run typecheck && bun run check:nul && bun run check:beads-scrub && bun run check:no-secret-files && bun run check:renderer-epoch && bun run gen-canonical-golden:check && bun run gen-field-order-golden:check && bun run gen-oversight-frame-golden:check && bun run provenance && bun run test",
"build": "bun scripts/gen-wire-schema.ts && bunx tsc -p tsconfig.build.json && bunx tsc -p tsconfig.build.engine.json && node scripts/build-cli.mjs",
"prepack": "bun scripts/check-prepack-env.ts && bun run build && bun scripts/pack-readme.ts --swap && bun scripts/check-public-provenance.ts --shipped",
"postpack": "bun scripts/pack-readme.ts --restore",
"prepare": "bun run build",
"release": "node scripts/publish.mjs",
"paper:pdf": "bun scripts/paper/render.ts",
"paper:check": "bunx tsc -p scripts/paper/tsconfig.json --noEmit && bun scripts/paper/render.ts --check",
"paper:arxiv": "bun scripts/paper/package-arxiv.ts"
},
"devDependencies": {
"@types/react": "^18",
"@types/react-dom": "^18",
"bun-types": "^1.3.14",
"chdb": "^3.1.0",
"js-tiktoken": "^1.0.21",
"react": "^18",
"react-dom": "^18",
"ts-json-schema-generator": "^2.9.0",
"typescript": "^7.0.2"
},
"optionalDependencies": {
"bun": "^1.3.14"
},
"peerDependencies": {
"react": "^18 || ^19"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"trustedDependencies": [
"bun"
],
"dependencies": {
"@ai-sdk/amazon-bedrock": "^5.0.17",
"@ai-sdk/anthropic": "^4.0.12",
"@ai-sdk/azure": "^4.0.14",
"@ai-sdk/google": "^4.0.12",
"@ai-sdk/openai": "^4.0.14",
"@ai-sdk/openai-compatible": "^3.0.9",
"@stoqey/ib": "^1.6.3",
"ai": "^7.0.22"
}
}