Files
metabuilder/workflow/package.json
johndoe6345789 5ac579a2ed feat: Add Python plugins from AutoMetabuilder + restructure workflow folder
Restructure workflow/ for multi-language plugin support:
- Rename src/ to core/ (engine code: DAG executor, registry, types)
- Create executor/{cpp,python,ts}/ for language-specific runtimes
- Consolidate plugins to plugins/{ts,python}/ by language then category

Add 80+ Python plugins from AutoMetabuilder in 14 categories:
- control: bot control, switch logic, state management
- convert: type conversions (json, boolean, dict, list, number, string)
- core: AI requests, context management, tool calls
- dict: dictionary operations (get, set, keys, values, merge)
- list: list operations (concat, find, sort, slice, filter)
- logic: boolean logic (and, or, xor, equals, comparisons)
- math: arithmetic operations (add, subtract, multiply, power, etc.)
- string: string manipulation (concat, split, replace, format)
- notifications: Slack, Discord integrations
- test: assertion helpers and test suite runner
- tools: file operations, git, docker, testing utilities
- utils: filtering, mapping, reducing, condition branching
- var: variable store operations (get, set, delete, exists)
- web: Flask server, environment variables, JSON handling

Add language executor runtimes:
- TypeScript: direct import execution (default, fast startup)
- Python: child process with JSON stdin/stdout communication
- C++: placeholder for native FFI bindings (Phase 3)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:08:08 +00:00

77 lines
2.0 KiB
JSON

{
"name": "@metabuilder/workflow",
"version": "3.0.0",
"description": "Enterprise-grade DAG workflow engine with N8N-style architecture",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./executor": {
"import": "./dist/executor/dag-executor.js",
"require": "./dist/executor/dag-executor.js",
"types": "./dist/executor/dag-executor.d.ts"
},
"./types": {
"import": "./dist/types.js",
"require": "./dist/types.js",
"types": "./dist/types.d.ts"
},
"./registry": {
"import": "./dist/registry/node-executor-registry.js",
"require": "./dist/registry/node-executor-registry.js",
"types": "./dist/registry/node-executor-registry.d.ts"
},
"./plugins": {
"import": "./dist/plugins/index.js",
"require": "./dist/plugins/index.js",
"types": "./dist/plugins/index.d.ts"
}
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint core --ext .ts",
"type-check": "tsc --noEmit",
"prepublish": "npm run build"
},
"keywords": [
"workflow",
"dag",
"orchestration",
"automation",
"n8n",
"enterprise"
],
"author": "MetaBuilder Team",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.0.0",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"dependencies": {},
"peerDependencies": {
"node-fetch": "^3.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/metabuilder/metabuilder.git",
"directory": "workflow"
},
"bugs": {
"url": "https://github.com/metabuilder/metabuilder.git/issues"
},
"homepage": "https://github.com/metabuilder/metabuilder.git/tree/main/workflow"
}