- Add RoutineRunner class for routine execution via heartbeat system - Add RoutineScheduler class for cron-based routine polling - Add triggerManual and triggerWebhook methods for API and webhook triggers - Wire RoutineScheduler into InProcessRuntime lifecycle - Add routine trigger and webhook API endpoints - Fix type mismatches between PROMPT and actual FN-1519 types
41 lines
902 B
JSON
41 lines
902 B
JSON
{
|
|
"name": "@fusion/engine",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:executor": "vitest run src/executor.test.ts",
|
|
"test:watch": "vitest src/executor.test.ts --watch"
|
|
},
|
|
"dependencies": {
|
|
"@fusion/core": "workspace:*",
|
|
"@mariozechner/pi-ai": "^0.62.0",
|
|
"@mariozechner/pi-coding-agent": "^0.62.0",
|
|
"@sinclair/typebox": "^0.34.48",
|
|
"cron-parser": "^5.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
"@types/node": "^25.5.0",
|
|
"@vitest/coverage-v8": "^3.1.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.1.0"
|
|
},
|
|
"private": true
|
|
}
|