{ "name": "@relayflows/sdk", "version": "2.0.59", "description": "TypeScript-first authoring SDK for Relayflows. Compiles specs; speaks the journal protocol.", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "flows": "./dist/cli.js" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./create-flow": { "types": "./dist/create-flow.d.ts", "import": "./dist/create-flow.js" }, "./progress": { "types": "./dist/progress.d.ts", "import": "./dist/progress.js" }, "./cli": { "types": "./dist/cli.d.ts", "import": "./dist/cli.js" }, "./relay-cli": { "types": "./dist/relay-cli.d.ts", "import": "./dist/relay-cli.js" } }, "files": [ "dist", "src" ], "scripts": { "gen:re2js": "node ../../scripts/generate-re2js-embed.mjs", "build": "tsc && node scripts/make-cli-executable.mjs", "demo:hn": "npm run build && node dist/demo-hn-monitor.js", "prepare": "npm run build", "typecheck": "tsc --noEmit && tsc -p tsconfig.type-tests.json", "typecheck:tests": "tsc -p tsconfig.tests.json", "test:prep": "( cd ../../kernel && sh ../ops/cargo.sh build ) && ( [ ! -d ../../testdata/preflight ] || find ../../testdata/preflight -name '*-cli' -type f -exec chmod +x {} + )", "test": "sh scripts/test.sh", "test:watch": "vitest" }, "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.30.0", "@relayfile/adapter-core": "0.8.5", "@relayfile/relay-helpers": "0.6.1", "@relayflows/surface": "2.0.59", "@types/js-yaml": "^4.0.9", "acorn": "^8.18.0", "ai-hist": "0.4.1", "ajv": "^8.17.1", "ajv-draft-04": "^1.0.0", "js-yaml": "^5.4.1", "re2js": "2.8.6", "typescript": "^5.6.0", "undici": "^7.29.1", "yaml": "^2.5.1" }, "devDependencies": { "@agent-relay/cli-surface": "^12.2.4", "@types/node": "^22.7.0", "bluebird": "^3.7.2", "esbuild": "^0.21.5", "vitest": "^2.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/AgentWorkforce/flows.git", "directory": "packages/sdk" }, "peerDependencies": { "@agent-relay/harness-driver": ">=12.3.1 <13 || >=15.1.0 <16", "@agent-relay/sdk": ">=12.3.1 <13 || >=15.1.0 <16" }, "peerDependenciesMeta": { "@agent-relay/harness-driver": { "optional": true }, "@agent-relay/sdk": { "optional": true } }, "overrides": { "@relayflows/surface": { "@relayfile/relay-helpers": "$@relayfile/relay-helpers" } } }