package.json
Rama main · réplica de lectura del repositorio original.
{
"name": "nimbus",
"version": "10.49.0",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/nimbus-agent/Nimbus.git"
},
"overrides": {
"sharp": "0.35.5",
"protobufjs": "8.8.0",
"qs": "6.16.1",
"zod": "4.6.7",
"@modelcontextprotocol/client": "2.3.1",
"@modelcontextprotocol/core": "2.3.1",
"@modelcontextprotocol/node": "2.1.1",
"@modelcontextprotocol/server": "2.3.1",
"smol-toml": "1.9.0",
"markdown-it": "15.0.3",
"body-parser": "2.4.0",
"undici": "8.12.3",
"http-cache-semantics": "4.3.0",
"fast-uri": "3.1.9",
"nodemailer": "10.2.1",
"@expressive-code/core": "0.44.3"
},
"workspaces": [
"packages/admin-console",
"packages/gateway",
"packages/cli",
"packages/registry-format",
"packages/ui",
"packages/docs"
],
"scripts": {
"dev": "bun run --filter './packages/gateway' dev & bun run --filter './packages/cli' dev",
"build": "bun run --filter '*' build",
"build:console": "bun run --filter @nimbus-dev/admin-console build",
"build:workers": "bun scripts/build-workers.ts",
"prepare": "bun run build:console && bun run build:workers",
"build:debug": "bun scripts/build-debug.ts",
"build:release": "bun scripts/build-release.ts",
"typecheck": "bun run --filter '*' --sequential typecheck && tsc -p scripts/tsconfig.json && tsc -p packages/github-actions/registry-action/tsconfig.json",
"typecheck:no-docs": "bun run --filter '!@nimbus/docs' --sequential typecheck && tsc -p scripts/tsconfig.json && tsc -p packages/github-actions/registry-action/tsconfig.json",
"typecheck:tests": "bun scripts/typecheck-tests/check.ts",
"typecheck:tests:update-baseline": "bun scripts/typecheck-tests/check.ts --update-baseline",
"audit:high": "bun audit --audit-level high",
"audit:advisories": "bun scripts/structure-audit/check-accepted-advisories.ts",
"check-package": "bun scripts/check-package.ts",
"dev-doctor": "bun scripts/dev-doctor.ts",
"clean-deep": "bun scripts/clean-deep.ts",
"audit:structure": "bun scripts/structure-audit/audit-structure.ts",
"audit:boundaries": "bun scripts/structure-audit/check-boundaries.ts",
"audit:coverage-floor": "bun scripts/coverage-floor/check.ts",
"audit:coverage-scopes": "bun scripts/coverage-floor/check-scopes.ts",
"mutation": "stryker run",
"mutation:diff": "bun scripts/mutation/run-mutation.ts --diff",
"audit:coverage-floor:build-lcov": "bun scripts/coverage-floor/build-lcov.ts",
"audit:coverage-floor:update-baseline": "bun scripts/coverage-floor/check.ts --update-baseline",
"coverage:merge": "bun scripts/coverage/merge-coverage.ts",
"audit:dead-code": "bunx knip",
"audit:duplication": "bunx jscpd packages",
"audit:exclusion-parity": "bun scripts/coverage-floor/check-exclusion-parity.ts",
"audit:any": "bun scripts/structure-audit/count-any-usage.ts",
"audit:invariants": "bun scripts/structure-audit/check-nimbus-invariants.ts --binary-only",
"audit:lane-census": "bun scripts/structure-audit/check-index-lane-coverage.ts",
"audit:agent-param-kinds": "bun scripts/structure-audit/check-agent-param-kinds.ts",
"audit:worker-entries": "bun scripts/structure-audit/check-worker-entries.ts",
"audit:platform-test-gaps": "bun scripts/ci/platform-test-gaps.ts",
"audit:connector-hosts": "bun scripts/structure-audit/check-connector-hosts.ts",
"audit:connector-registry-drift": "bun scripts/structure-audit/check-connector-registry-drift.ts",
"audit:connector-version-skew": "bun scripts/structure-audit/check-connector-version-skew.ts",
"audit:gateway-native-deps": "bun scripts/structure-audit/check-gateway-native-deps.ts",
"audit:import-meta-dir": "bun scripts/structure-audit/check-import-meta-dir.ts",
"gen:connector-registry": "bun scripts/gen-bundled-connector-registry.ts",
"gen:connector-write-manifest": "bun scripts/gen-connector-write-manifest.ts",
"test:connector-boot": "bun scripts/connector-boot-smoke.ts dist/nimbus-gateway",
"audit:doc-refs": "bun scripts/structure-audit/check-doc-references.ts --check",
"audit:launcher-contract": "bun scripts/structure-audit/check-launcher-installer-contract.ts",
"audit:openapi-drift": "bun scripts/structure-audit/check-openapi-drift.ts --check",
"audit:release-please": "bun scripts/structure-audit/check-release-please-manifest.ts",
"audit:override-drift": "bun scripts/structure-audit/check-override-drift.ts",
"audit:js-licenses": "bun scripts/structure-audit/check-js-licenses.ts --check",
"audit:svg-assets": "bun scripts/audit/svg-assets.ts",
"audit:readme-cli": "bun scripts/audit/readme-cli-commands.ts",
"audit:package-readmes": "bun scripts/audit/package-readmes.ts",
"audit:cross-platform": "bun scripts/audit/check-cross-platform.ts",
"audit:action-dist": "bun scripts/audit/check-action-dist-drift.ts",
"audit:trust-snapshot": "bun scripts/trust/check-trust-snapshot.ts",
"trust:refresh-snapshot": "bun scripts/trust/refresh-trust-snapshot.ts",
"audit:windows-console": "bun scripts/audit/check-windows-console-hide.ts",
"audit:status-drift": "bun scripts/structure-audit/check-status-drift.ts",
"audit:action-sha-pins": "bun scripts/structure-audit/check-action-sha-pins.ts",
"audit:workflow-run-triggers": "bun scripts/structure-audit/check-workflow-run-triggers.ts",
"audit:workflow-lint": "bun scripts/audit/workflow-lint.ts",
"audit:pin-freshness": "bun scripts/structure-audit/check-pin-freshness.ts",
"audit:ci-latency": "bun scripts/ci-latency/check.ts",
"audit:ci-latency:update-baseline": "bun scripts/ci-latency/check.ts --update-baseline",
"audit:consumed-by": "bun scripts/structure-audit/check-consumed-by.ts",
"audit:ruleset-drift": "bun scripts/structure-audit/check-ruleset-drift.ts",
"audit:org-settings-drift": "bun scripts/structure-audit/check-org-settings-drift.ts",
"audit:team-reachability": "bun scripts/structure-audit/check-team-reachability.ts",
"audit:cla-coverage": "bun scripts/structure-audit/check-cla-coverage.ts",
"audit:review-coverage": "bun scripts/structure-audit/check-review-coverage.ts",
"audit:bypass-actors": "bun scripts/structure-audit/check-bypass-actors.ts",
"audit:bypass-attestation": "bun scripts/structure-audit/check-bypass-attestation.ts",
"audit:release-staleness": "bun scripts/structure-audit/check-release-staleness.ts",
"audit:secret-inventory": "bun scripts/structure-audit/check-secret-inventory.ts",
"audit:actions-allowlist": "bun scripts/structure-audit/check-actions-allowlist.ts",
"audit:secrets": "gitleaks detect --source . --no-banner --redact --exit-code 1",
"audit:links": "bash scripts/check-links.sh",
"lint": "bun scripts/lib/run-gate-with-work-check.ts lint biome check --error-on-warnings .",
"lint:fix": "biome check --write --error-on-warnings .",
"lint:markdown": "bun scripts/lib/run-gate-with-work-check.ts lint:markdown markdownlint-cli2",
"preflight": "bun scripts/preflight.ts",
"preflight:fast": "bun scripts/preflight.ts --fast",
"verify:docker": "bash scripts/ci/verify-in-docker.sh",
"verify:pr": "bun scripts/ci/verify-pr.ts",
"hooks:install": "bun scripts/install-hooks.ts",
"platform:link": "bun run scripts/platform-link.ts",
"format": "biome format --write .",
"test": "bun test packages/gateway packages/cli packages/registry-format scripts",
"test:ci": "bun scripts/run-tests.ts",
"test:scripts": "bun test scripts",
"kill-gateway": "bun scripts/kill-gateway.ts",
"test:unit": "bun test packages/gateway/src packages/cli/src",
"test:integration": "bun test packages/gateway/test/integration/ packages/cli/test/integration/ --timeout 60000",
"test:e2e:cli": "bun test packages/cli/test/e2e/",
"test:e2e:gateway": "bun test packages/gateway/test/e2e/",
"test:coverage": "bun test packages/gateway packages/cli --coverage --timeout 30000",
"test:coverage:agents": "bun test packages/gateway/src/agents --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:engine": "bun test packages/gateway/src/engine --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:vault": "bun test packages/gateway/src/vault --coverage --coverage-threshold-lines=90 --timeout 30000",
"test:coverage:sync": "bun test packages/gateway/src/sync/scheduler.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:rate-limiter": "bun test packages/gateway/src/sync/rate-limiter.test.ts --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:people": "bun test packages/gateway/src/people --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:embedding": "bun test packages/gateway/src/embedding --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:workflow": "bun test packages/gateway/src/automation/workflow-store.test.ts packages/gateway/src/automation/workflow-runner.test.ts packages/gateway/src/automation/workflow-runner-execution.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:watcher": "bun test packages/gateway/src/automation/watcher-store.test.ts packages/gateway/src/automation/watcher-engine.test.ts packages/gateway/src/automation/graph-predicate.test.ts packages/gateway/src/watcher/anomaly-detector.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:extensions": "bun test packages/gateway/src/extensions/auto-update.test.ts packages/gateway/src/extensions/auto-update-apply.test.ts packages/gateway/src/extensions/auto-update-cache.test.ts packages/gateway/src/extensions/auto-update-orchestrate.test.ts packages/gateway/src/extensions/auto-update-permissions-diff.test.ts packages/gateway/src/extensions/auto-update-rpc.test.ts packages/gateway/src/extensions/auto-update-types.test.ts packages/gateway/src/extensions/canonical-json.test.ts packages/gateway/src/extensions/dependency-errors.test.ts packages/gateway/src/extensions/dependency-graph.test.ts packages/gateway/src/extensions/dependency-store.test.ts packages/gateway/src/extensions/dependency-types.test.ts packages/gateway/src/extensions/hard-disable.test.ts packages/gateway/src/extensions/install-from-local.test.ts packages/registry-format/src/manifest.test.ts packages/gateway/src/extensions/missing-dependency-registry.test.ts packages/gateway/src/extensions/publisher-keys.test.ts packages/gateway/src/extensions/spawn-env.test.ts packages/gateway/src/extensions/verify-extensions.test.ts packages/gateway/src/extensions/verify-signature.test.ts packages/gateway/src/automation/extension-store.test.ts packages/gateway/src/extensions/extension-service-id.test.ts packages/gateway/src/extensions/extension-run-grants.test.ts packages/gateway/src/extensions/run-grant-store.test.ts packages/gateway/src/extensions/approve-run.test.ts packages/gateway/src/extensions/run-state.test.ts --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:sandbox": "bun test packages/gateway/src/platform/sandbox --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:security": "bun test packages/gateway/src/security/ packages/gateway/src/ipc/security-rpc.test.ts packages/gateway/test/e2e/scenarios/security-scan.e2e.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"build:sandbox-helper": "make -C packages/gateway/src-native/sandbox-helper",
"build:sandbox-helper:win32": "pwsh -NoProfile -File scripts/build-sandbox-helper-win32.ps1",
"test:coverage:config": "bun test packages/gateway/src/config --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:telemetry": "bun test packages/gateway/src/config/telemetry-toml.test.ts packages/gateway/test/unit/telemetry --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:db": "bun test packages/gateway/test/unit/db --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:deployment": "bun test packages/gateway/test/unit/deployment/ packages/gateway/test/integration/deployment/ packages/gateway/test/unit/ipc/deployment-rpc.test.ts packages/gateway/test/unit/ipc/http-auth.test.ts packages/gateway/test/unit/ipc/http-rate-limit.test.ts packages/gateway/test/integration/http/deployments-post-route.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:health": "bun test packages/gateway/test/unit/connectors/health.test.ts --coverage --coverage-threshold-lines=85 --timeout 30000",
"test:coverage:metrics": "bun test packages/gateway/test/unit/metrics/ packages/gateway/test/integration/metrics/ packages/gateway/test/unit/ipc/metrics-rpc.test.ts packages/gateway/test/integration/http/metrics-dora-route.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:preflight": "bun test packages/gateway/test/unit/preflight/ packages/gateway/test/integration/preflight/ packages/gateway/test/unit/ipc/preflight-rpc.test.ts packages/gateway/test/integration/http/preflight-deploy-route.test.ts packages/gateway/test/unit/connectors/github-sync-mergeable.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:doctor": "bun test packages/cli/src/commands/doctor*.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:tui": "bun test packages/cli/src/tui/ --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:updater": "bun test packages/gateway/src/updater packages/gateway/src/ipc/updater-rpc.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:lan": "bun test packages/gateway/src/ipc/lan-crypto.test.ts packages/gateway/src/ipc/lan-pairing.test.ts packages/gateway/src/ipc/lan-rate-limit.test.ts packages/gateway/src/ipc/lan-rpc.test.ts packages/gateway/src/ipc/lan-server.test.ts packages/gateway/test/integration/lan/ --coverage --coverage-threshold-lines=80 --timeout 30000",
"test:coverage:perf": "bun test packages/gateway/src/perf packages/cli/src/commands/bench.test.ts --coverage --coverage-threshold-lines=80 --timeout 30000",
"record-casts": "bun scripts/cast-driver/run.ts",
"render:og-card": "bun scripts/render-og-card.ts",
"render:hero-cast": "bun scripts/render-hero-cast.ts",
"regen-slo": "bun scripts/regen-slo.ts",
"regen-slo:check": "bun scripts/regen-slo.ts --check",
"docs:build": "bun run --filter @nimbus/docs build",
"package:headless": "bun scripts/package-headless-bundle.ts",
"package:installers:linux": "bun scripts/package-linux-installers.ts",
"release:verify-assets": "bun scripts/release/verify-release-assets.ts",
"release:secret-health": "bun scripts/release/check-secret-health.ts",
"clean": "bun run --filter '*' clean && rm -rf node_modules"
},
"dependencies": {
"zod": "^4.6.5"
},
"devDependencies": {
"@babel/core": "8.0.6",
"@babel/plugin-syntax-jsx": "8.0.1",
"@babel/preset-typescript": "8.0.1",
"@biomejs/biome": "^2.5.15",
"@conventional-commits/parser": "^0.4.1",
"@resvg/resvg-js": "^2.6.2",
"@stryker-mutator/core": "10.0.0",
"@types/babel__core": "7.20.5",
"@types/bun": "^1.4.2",
"@types/istanbul-lib-coverage": "2.0.6",
"@types/istanbul-lib-report": "3.0.3",
"@types/istanbul-reports": "3.0.4",
"babel-plugin-istanbul": "8.0.0",
"dependency-cruiser": "^18.5.0",
"istanbul-lib-coverage": "3.2.2",
"istanbul-lib-report": "3.0.1",
"istanbul-reports": "3.2.0",
"js-yaml": "^5.4.2",
"jscpd": "^5.4.0",
"knip": "^6.39.0",
"markdownlint-cli2": "^0.23.3",
"tweetnacl": "^1.0.3",
"typescript": "^7.0.2",
"typescript-compiler-api": "npm:typescript@^6.0.3",
"yaml": "^2.9.1"
}
}