package.json
Rama main · réplica de lectura del repositorio original.
{
"name": "bailinghub",
"version": "0.10.1",
"private": false,
"type": "module",
"description": "Open-source ACC runtime and agent control plane for existing business systems.",
"license": "Apache-2.0",
"homepage": "https://www.bailinghub.com",
"exports": {
"./kernel-api/v1": {
"types": "./src/kernel-api/v1/index.ts",
"default": "./src/kernel-api/v1/index.ts"
},
"./extension-api": {
"types": "./src/extension-api.ts",
"default": "./src/extension-api.ts"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bailinghub/bailinghub.git"
},
"bugs": {
"url": "https://github.com/bailinghub/bailinghub/issues"
},
"keywords": [
"ai",
"agent",
"ai-agent",
"agent-gateway",
"agent-tools",
"middleware",
"llm",
"openapi",
"mcp",
"self-hosted",
"tool-governance",
"audit-trail",
"human-in-the-loop",
"approval-workflow",
"ai-middleware",
"workflow",
"chatbot"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"tag": "latest"
},
"scripts": {
"start": "tsx src/server.ts",
"dev": "tsx watch src/server.ts",
"executor": "tsx src/executor.ts",
"executor:watch": "tsx watch src/executor.ts",
"typecheck": "tsc --noEmit",
"installer:secrets:test": "node --test scripts/install-secrets.test.mjs",
"test": "node --import tsx --test \"src/**/*.test.ts\" \"web-admin/src/*.test.ts\"",
"db:init": "tsx scripts/init-db.ts",
"demo:seed": "tsx scripts/seed-demo.ts",
"admin:create": "tsx scripts/create-admin.ts",
"doctor": "tsx scripts/doctor.ts",
"selftest": "tsx scripts/selftest.ts",
"smoke": "tsx scripts/smoke.ts",
"build:info": "node scripts/write-build-info.mjs",
"demo:e2e": "tsx scripts/demo-e2e.ts",
"bootstrap-admin:restart-test": "tsx scripts/verify-bootstrap-admin-restart.ts",
"e2e:console": "node scripts/e2e-console.mjs && node scripts/e2e-console-approval-details.mjs && node scripts/e2e-console-runtime-audit.mjs && node scripts/e2e-console-settings-audit.mjs && node scripts/e2e-console-operations-audit.mjs && node scripts/e2e-console-kb-audit.mjs",
"widget:renderer:test": "node scripts/widget-renderer-test.mjs",
"package:build": "npm --prefix web-admin ci --include=dev && npm --prefix web-admin run build",
"package:artifact:check": "node scripts/check-package-artifact.mjs",
"prepack": "npm run package:build",
"security:scan": "node scripts/security-scan.mjs",
"public-content:denylist:test": "node --test scripts/public-content-denylist.test.mjs",
"notices:generate": "node scripts/generate-third-party-notices.mjs",
"notices:check": "node scripts/generate-third-party-notices.mjs --check",
"assets:generate": "node scripts/generate-readme-assets.mjs",
"assets:check": "node scripts/generate-readme-assets.mjs --check",
"docs:check": "node scripts/check-doc-links.mjs",
"examples:check": "node scripts/validate-examples.mjs",
"client-api:contract": "tsx scripts/client-api-contract-test.ts",
"client-api:ecosystem:local": "node scripts/check-client-api-ecosystem.mjs --mode local",
"client-api:ecosystem:clone": "node scripts/check-client-api-ecosystem.mjs --mode clone",
"audit:deps": "node scripts/dependency-audit.mjs",
"web-admin:check": "npm --prefix web-admin run build && node scripts/dependency-audit.mjs --scope web-admin",
"oss:guard": "node scripts/oss-boundary-check.mjs",
"oss:export": "node scripts/export-oss.mjs",
"oss:verify": "node scripts/verify-oss-export.mjs",
"release:consistency": "node scripts/check-release-consistency.mjs",
"release:consistency:test": "node --test scripts/check-release-consistency.test.mjs",
"release:audit": "npm run release:consistency && npm run release:consistency:test && npm run images:policy:test && npm run public-content:denylist:test && npm run security:scan && npm run oss:guard && node scripts/release-audit.mjs && npm run package:artifact:check",
"github:verify": "node scripts/verify-github-repo.mjs",
"release:check": "npm run notices:check && npm run assets:check && npm run audit:deps && npm run audit:deps:test && npm run docx:vendor:verify-upstream && npm run docx:test && npm run client-api:contract && npm run client-api:ecosystem:clone && npm run typecheck && npm run installer:secrets:test && npm run doctor:deployment:typecheck && npm run doctor:deployment:test && npm run doctor:upgrade-plan:typecheck && npm run doctor:upgrade-plan:test && npm test && npm run widget:renderer:test && npm run web-admin:check && npm run docx:browser:test && npm run notification:console:test && npm run docs:check && npm run examples:check && npm run sdk:test && npm run sdk:test7 && npm run sdk:test-node && npm run sdk:test-python && npm run sdk:test-runtime && npm run sdk:test-p1 && npm run sdk:test-declarations && npm run sdk:artifacts:check && npm run release:audit && npm run oss:verify && npm run github:verify",
"images:build": "sh scripts/publish-images.sh",
"images:publish": "BAILING_PUSH_IMAGES=1 sh scripts/publish-images.sh",
"images:publish-mysql": "BAILING_PUSH_IMAGES=1 sh scripts/publish-mysql-image.sh",
"images:policy:test": "node --test scripts/image-release-policy.test.mjs",
"images:check": "sh scripts/check-image-tags.sh",
"images:check:ghcr": "BAILING_IMAGE_REGISTRY=ghcr.io BAILING_IMAGE_NAMESPACE=bailinghub BAILING_MYSQL_IMAGE=mysql:8.4 sh scripts/check-image-tags.sh",
"sdk:test": "php sdk/php/examples/build-spec.php | tsx scripts/sdk-contract-test.ts",
"sdk:test7": "php sdk/php7/examples/build-spec.php | tsx scripts/sdk-contract-test.ts",
"sdk:test-node": "node sdk/node/examples/build-spec.mjs | tsx scripts/sdk-contract-test.ts",
"sdk:test-python": "python3 sdk/python/examples/build_spec.py | tsx scripts/sdk-contract-test.ts",
"sdk:test-runtime": "node scripts/sdk-runtime-test.mjs",
"sdk:test-p1": "node scripts/sdk-p1-check.mjs",
"sdk:pack": "COPYFILE_DISABLE=1 tar --no-xattrs -czf web/connect/bailing-connect-php.tgz -s '|^php|bailing-connect-php|' -C sdk php",
"sdk:pack7": "COPYFILE_DISABLE=1 tar --no-xattrs -czf web/connect/bailing-connect-php7.tgz -s '|^php7|bailing-connect-php7|' -C sdk php7",
"audit:deps:test": "node --test scripts/dependency-audit.test.mjs",
"doctor:deployment:test": "node --import tsx --test scripts/doctor-deployment.test.ts",
"doctor:deployment:typecheck": "tsc --noEmit --strict --skipLibCheck --target ES2022 --module ESNext --moduleResolution Bundler --lib ES2022 --types node scripts/doctor.ts scripts/doctor-deployment.ts scripts/doctor-deployment.test.ts",
"test:model-process-recovery": "node --import tsx --test src/app/kernel-model-process-crash.mysql.test.ts",
"docx:vendor:check": "node scripts/vendor-mammoth.mjs --check",
"docx:vendor:verify-upstream": "node scripts/vendor-mammoth.mjs --verify-upstream",
"docx:test": "node --import tsx --test scripts/docx-compatibility.test.mjs",
"docx:browser:test": "node scripts/docx-browser-test.mjs",
"notification:console:test": "node scripts/notification-console-test.mjs",
"doctor:upgrade-plan": "tsx scripts/doctor.ts --upgrade-plan",
"doctor:upgrade-plan:test": "node --import tsx --test scripts/doctor-upgrade-plan.test.ts",
"doctor:upgrade-plan:typecheck": "tsc --noEmit --strict --noUncheckedIndexedAccess --noUnusedLocals --skipLibCheck --target ES2022 --module ESNext --moduleResolution Bundler --lib ES2022 --types node scripts/doctor-upgrade-plan.ts scripts/doctor-upgrade-plan.test.ts",
"sdk:test-declarations": "php sdk/php/tests/declaration-serialization.php | tsx scripts/sdk-declaration-contract-test.ts && php sdk/php7/tests/declaration-serialization.php | tsx scripts/sdk-declaration-contract-test.ts && node --test sdk/node/tests/declaration.test.mjs && PYTHONDONTWRITEBYTECODE=1 python3 sdk/python/tests/test_declaration.py",
"sdk:artifacts:check": "node --test scripts/check-php-sdk-artifacts.test.mjs && node scripts/check-php-sdk-artifacts.mjs"
},
"dependencies": {
"mammoth": "file:vendor/bailinghub-mammoth-library-1.12.0-bailinghub.1.tgz",
"mysql2": "^3.11.4",
"pdfjs-dist": "^6.2.108",
"tsx": "^4.19.2",
"yaml": "^2.9.0"
},
"devDependencies": {
"@types/node": "^22.10.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"playwright": "^1.61.1",
"typescript": "^5.7.2"
},
"bundleDependencies": [
"mammoth"
]
}