UNPKG

agent-workflow

Version:

A powerful workflow engine supporting DAG (Directed Acyclic Graph) task scheduling, dynamic task generation, and intelligent strategy systems.

79 lines 2.45 kB
{ "name": "agent-workflow", "version": "2.1.2", "type": "module", "files": [ "dist", "README.md", "README.ZH.md", "README.JA.md", "LICENSE" ], "main": "./dist/agent-workflow.umd.cjs", "module": "./dist/agent-workflow.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/agent-workflow.js", "require": "./dist/agent-workflow.umd.cjs" } }, "scripts": { "dev": "tsx watch src/index.ts", "build": "rm -rf dist && vite build", "build:types": "tsc --declaration --emitDeclarationOnly --outDir dist/types", "test": "jest", "test:watch": "jest --watch", "start": "node dist/index.js", "lint": "eslint src/**/*.ts", "format": "prettier --write src/**/*.ts", "prepublishOnly": "npm run build", "examples": "npm run example:basic && npm run example:dynamic && npm run example:llm && npm run example:error && npm run example:streaming && npm run example:ai-sdk && npm run example:agent && npm run example:planner", "example:basic": "npx tsx examples/basic-workflow.ts", "example:dynamic": "npx tsx examples/dynamic-strategies.ts", "example:llm": "npx tsx examples/llm-integration.ts", "example:error": "npx tsx examples/error-handling.ts", "example:streaming": "npx tsx examples/streaming-workflow.ts", "example:ai-sdk": "npx tsx examples/ai-sdk-streaming-workflow.ts", "example:agent": "npx tsx examples/simple-agent-style.ts", "example:planner": "npx tsx examples/ai-planner-workflow.ts" }, "devDependencies": { "@ai-sdk/openai": "^1.3.22", "@biomejs/biome": "1.9.4", "@jest/globals": "^30.0.0", "@types/jest": "^29.5.14", "@types/node": "^24.0.1", "ai": "^4.3.16", "dotenv": "^16.5.0", "jest": "^30.0.0", "openai": "^5.3.0", "terser": "^5.42.0", "ts-jest": "^29.4.0", "tsx": "^4.20.2", "typescript": "^5.8.3", "vite": "^6.3.5", "vite-plugin-dts": "^4.5.4", "zod": "^3.25.63" }, "keywords": [ "workflow", "dag", "task", "typescript" ], "author": "baryon", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/FormAgent/agent-workflow.git" }, "bugs": { "url": "https://github.com/FormAgent/agent-workflow/issues" }, "homepage": "https://github.com/FormAgent/agent-workflow#readme", "engines": { "node": ">=14.0.0" } }