UNPKG

isolated-function

Version:

Run JavaScript from AI agents, plugins, and workflows in a separate Node.js process with strict safety limits.

135 lines (134 loc) 3.42 kB
{ "name": "isolated-function", "description": "Run JavaScript from AI agents, plugins, and workflows in a separate Node.js process with strict safety limits.", "homepage": "https://isolated-function.js.org/", "version": "0.2.3", "types": "src/index.d.ts", "main": "src/index.js", "exports": { ".": "./src/index.js", "./errors": "./src/errors.js" }, "author": { "email": "hello@microlink.io", "name": "microlink.io", "url": "https://microlink.io" }, "contributors": [ { "name": "Kiko Beats", "email": "josefrancisco.verdu@gmail.com" } ], "repository": { "type": "git", "url": "git+https://github.com/Kikobeats/isolated-function.git" }, "bugs": { "url": "https://github.com/Kikobeats/isolated-function/issues" }, "keywords": [ "agent", "ai", "eval", "isolate", "plugin", "process", "sandbox", "security", "v8", "vm", "worker", "workflow" ], "dependencies": { "@kikobeats/time-span": "~1.0.5", "acorn": "~8.18.0", "acorn-walk": "~8.3.4", "debug-logfmt": "~1.4.0", "ensure-error": "~3.0.1", "esbuild": "~0.28.0", "serialize-error": "8", "tinyspawn": "~1.5.0" }, "devDependencies": { "@commitlint/cli": "latest", "@commitlint/config-conventional": "latest", "ava": "7", "browser-sync": "latest", "c8": "latest", "ci-publish": "latest", "concurrently": "latest", "cssnano": "latest", "cssnano-preset-advanced": "latest", "finepack": "latest", "git-authors-cli": "latest", "github-generate-release": "latest", "gulp": "latest", "gulp-concat": "latest", "gulp-postcss": "latest", "gulp-uglify": "latest", "nano-staged": "latest", "postcss-focus": "latest", "simple-git-hooks": "latest", "standard": "latest", "standard-version": "latest", "tsd": "latest" }, "engines": { "node": ">= 24" }, "files": [ "src" ], "scripts": { "build": "gulp build", "clean": "rm -rf node_modules", "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", "coverage": "c8 report --reporter=text-lcov > coverage/lcov.info", "dev": "concurrently \"gulp\" \"pnpm run dev:server\"", "dev:server": "browser-sync start --server docs --files \"docs/index.html, docs/README.md, docs/static/**/*.(css|js)\"", "lint": "standard && tsd", "postrelease": "pnpm run release:tags && pnpm run release:github && (ci-publish || pnpm publish --access=public)", "pretest": "pnpm run lint", "release": "standard-version -a", "release:github": "github-generate-release", "release:tags": "git push --follow-tags origin HEAD:master", "test": "c8 ava" }, "license": "MIT", "ava": { "workerThreads": false }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "body-max-line-length": [ 0 ] } }, "nano-staged": { "*.js": [ "npx @kikobeats/prettier-standard", "standard --fix" ], "package.json": [ "finepack" ] }, "simple-git-hooks": { "commit-msg": "npx commitlint --edit", "pre-commit": "npx nano-staged" }, "standard": { "ignore": [ "docs/static/main.min.js" ] }, "tsd": { "directory": "test" } }