{
  "name": "@cgh567/agent",
  "version": "2.6.28",
  "packageManager": "npm@11.18.0",
  "description": "Helios self-improvement lab",
  "bin": {
    "helios": "./bin/helios.js",
    "helios-rpc": "./bin/helios-rpc.js"
  },
  "scripts": {
    "build": "node scripts/build-brain-service.cjs",
    "postinstall": "node postinstall.cjs",
    "patch-aliases": "node scripts/patch-pi-aliases.js",
    "update": "helios update",
    "test": "node --test tests/rpc-ready-gate.test.js tests/fixture-shape.test.js && node tests/helios-lab-smoke.test.js && node tests/heartbeat.test.js && node tests/integration/ingest-components.test.js && node tests/integration/apply-component-variant.test.js && node tests/integration/candidate-variant-apply.test.js && npm run test:send-gate && npm run test:backfill-diagnosis && npm run test:email-auth && npm run test:daemon-authority && npm run test:inbox-dog-refresh && node tests/backfill-accounting.test.js",
    "test:daemon-authority": "node scripts/vitest-guarded.mjs run daemon/__tests__/package-runtime-authority.test.js daemon/__tests__/detect-signals-pipeline.test.js",
    "test:send-gate": "node scripts/vitest-guarded.mjs run daemon/__tests__/send-gate.test.js",
    "test:inbox-dog-refresh": "tsx --test tests/inbox-dog-credential-precedence.test.ts && tsx --test tests/inbox-dog-refresh-live.test.ts",
    "test:clean-install": "node --test tests/clean-install-boot.test.js",
    "test:smoke": "node tests/helios-lab-smoke.test.js",
    "test:guards": "node --test --test-concurrency=1 tests/pi-fork-lineage.test.js tests/node-modules-runtime-boundary.test.js tests/verify-clean-publish.test.js tests/launcher-recursion.test.js tests/signal-weight-degeneracy-guard.test.js tests/knip-policy-writer-trust.test.js && node scripts/guard-person-id-convergence.ts --static-only && npm run test:package-closure && npm run test:knip-boundary && npm run test:signal-contract && npm run knip && npm run knip:committed",
    "test:signal-contract": "node scripts/vitest-guarded.mjs run lib/triage-core/__tests__/signal-assessment-store.test.ts lib/triage-core/__tests__/signal-assessment-runtime.test.ts lib/triage-core/__tests__/signal-source-evaluation-v1.test.ts daemon/__tests__/inbox-sql-reader-manifest-gate.test.js",
    "test:knip-boundary": "node --test tests/knip-boundary.test.js tests/runtime-feature-closure.test.js tests/update-contract.test.js",
    "knip": "node scripts/knip-check.mjs",
    "knip:committed": "node scripts/verify-knip-policy-committed.mjs",
    "knip:policy": "node scripts/update-knip-policy.mjs --current",
    "test:package-closure": "node --test tests/package-import-closure.test.js",
    "prepublishOnly": "node scripts/verify-clean-publish.js && npm run test:guards",
    "test:guards:live": "node scripts/guard-person-id-convergence.ts",
    "test:writer-convergence": "node scripts/vitest-guarded.mjs run lib/__tests__/email-utils-address-parsing.test.ts lib/__tests__/person-id-convergence.guard.test.ts lib/__tests__/m6-module-resolution.test.ts",
    "test:heartbeat": "node tests/heartbeat.test.js",
    "test:memgraph": "node tests/smoke/memgraph-client.test.js",
    "test:integration": "node tests/integration/ingest-components.test.js && node tests/integration/apply-component-variant.test.js",
    "lab:status": "node scripts/lab-status.js --config config/helios-improvement-lab.example.json",
    "lab:ingest": "node scripts/ingest-components.js --config config/helios-improvement-lab.example.json && node scripts/ingest-run-graph.js --config config/helios-improvement-lab.example.json",
    "lab:nightly": "HELIOS_LAB_SKIP_CPU_CHECK=1 node scripts/run-nightly-lab.js --config config/helios-improvement-lab.example.json",
    "test:taste": "node tests/taste-server.test.js",
    "typecheck:backfill-workers": "tsc -p tsconfig.backfill-workers.json --pretty false",
    "build:hbo-store": "node scripts/build-hbo-store.js",
    "prepack": "npm run build:hbo-store",
    "test:email-auth": "node scripts/vitest-guarded.mjs run extensions/email/auth/__tests__",
    "repair:canonical": "node --experimental-sqlite scripts/repair-canonical-data.mjs",
    "rebuild:graph": "node scripts/rebuild-graph-projection.mjs",
    "backfill:triage": "tsx scripts/backfill-triage-canonical.mjs",
    "typecheck": "node scripts/typecheck-gate.mjs",
    "typecheck:baseline": "node scripts/typecheck-gate.mjs --update-baseline",
    "test:backfill-diagnosis": "node scripts/vitest-guarded.mjs run daemon/__tests__/backfill-registration-diagnosis.test.js"
  },
  "pi": {
    "extensions": [
      "./extensions"
    ],
    "skills": [
      "./skills"
    ],
    "prompts": []
  },
  "peerDependencies": {
    "@helios-agent/pi-agent-core": "*",
    "@helios-agent/pi-ai": "*",
    "@helios-agent/pi-coding-agent": "*",
    "@helios-agent/pi-tui": "*",
    "@sinclair/typebox": "*",
    "electron": ">=30",
    "react": "^18.3.1 || ^19.0.0"
  },
  "overrides": {
    "@helios-agent/pi-tui": "npm:@cgh567/pi-tui@0.84.5",
    "@helios-agent/pi-coding-agent": "npm:@cgh567/cli@0.84.5",
    "@helios-agent/pi-agent-core": "npm:@cgh567/pi-agent-core@0.84.5",
    "@helios-agent/pi-ai": "npm:@cgh567/pi-ai@0.84.5"
  },
  "keywords": [
    "pi-package",
    "pi-coding-agent",
    "helios",
    "ai-agent",
    "graph-brain"
  ],
  "dependencies": {
    "@aws-crypto/sha256-js": "5.2.0",
    "@aws-sdk/client-bedrock": "^3.1029.0",
    "@aws-sdk/client-bedrock-runtime": "3.1048.0",
    "@aws-sdk/client-s3": "^3.1029.0",
    "@aws-sdk/credential-provider-node": "3.972.59",
    "@helios-agent/pi-agent-core": "npm:@cgh567/pi-agent-core@0.84.5",
    "@helios-agent/pi-ai": "npm:@cgh567/pi-ai@0.84.5",
    "@helios-agent/pi-coding-agent": "npm:@cgh567/cli@0.84.5",
    "@helios-agent/pi-tui": "npm:@cgh567/pi-tui@0.84.5",
    "@opentelemetry/exporter-trace-otlp-http": "^0.221.0",
    "@opentelemetry/resources": "^2.10.0",
    "@opentelemetry/sdk-node": "^0.221.0",
    "@opentelemetry/sdk-trace-node": "^2.10.0",
    "@opentelemetry/semantic-conventions": "^1.43.0",
    "@parseaple/typedstream": "^2.0.2",
    "@sinclair/typebox": "*",
    "@slack/bolt": "^4.7.2",
    "@slack/web-api": "^7.9.0",
    "@smithy/signature-v4": "5.6.0",
    "@whatsmeow-node/whatsmeow-node": "^0.6.0",
    "awilix": "^13.0.3",
    "better-sqlite3": "^12.9.0",
    "cheerio": "^1.2.0",
    "chokidar": "^5.0.0",
    "croner": "^10.0.1",
    "dotenv": "^17.4.2",
    "express": "^5.2.1",
    "googleapis": "^171.4.0",
    "graphology": "^0.26.0",
    "graphology-metrics": "^2.4.0",
    "headroom-ai": "^0.22.4",
    "httpsms": "^0.0.4",
    "ioredis": "^5.10.1",
    "imapflow": "^1.6.5",
    "jiti": "^2.7.0",
    "js-tiktoken": "^1.0.21",
    "js-yaml": "^5.2.3",
    "neo4j-driver": "^6.0.1",
    "node-fetch": "^3.3.2",
    "node-llama-cpp": "3.19.0",
    "nodemailer": "^9.0.3",
    "openskill": "^5.0.1",
    "p-queue": "^9.3.3",
    "pino": "^10.3.1",
    "playwright-core": "^1.52.0",
    "playwright-extra": "^4.3.6",
    "puppeteer-extra-plugin-stealth": "^2.11.2",
    "qrcode-terminal": "^0.12.0",
    "signal-sdk": "^0.2.4",
    "sonic-boom": "^5.0.0",
    "sqlite-vec": "0.1.9",
    "tree-sitter": "^0.25.0",
    "tree-sitter-javascript": "^0.25.0",
    "tree-sitter-python": "^0.25.0",
    "tree-sitter-typescript": "^0.23.2",
    "jsonrepair": "^3.15.0",
    "ts-node": "^10.9.2",
    "tsx": "4.22.5",
    "uuid": "^14.0.1",
    "yaml": "2.9.0"
  },
  "devDependencies": {
    "@opentelemetry/api": "^1.9.1",
    "@hono/node-server": "^2.1.0",
    "@modelcontextprotocol/sdk": "^1.30.0",
    "@playwright/test": "^1.62.1",
    "@testcontainers/toxiproxy": "^12.0.4",
    "@types/node": "22.20.1",
    "blessed": "^0.1.81",
    "blessed-contrib": "^4.11.0",
    "bytenode": "^1.6.0",
    "chalk": "^5.6.0",
    "electron": "^43.2.0",
    "esbuild": "^0.28.2",
    "fast-check": "^4.9.0",
    "glob": "^13.0.6",
    "hono": "^4.13.1",
    "knip": "6.32.1",
    "react": "19.2.8",
    "testcontainers": "^10.10.0",
    "ts-morph": "^27.0.2",
    "typescript": "5.9.2",
    "vitest": "^4.1.5",
    "zod": "^4.4.3"
  },
  "optionalDependencies": {
    "@huggingface/transformers": "^4.2.0",
    "@nut-tree-fork/nut-js": "^4.2.6",
    "@esbuild/linux-x64": "^0.28.0"
  },
  "peerDependenciesMeta": {
    "electron": {
      "optional": true
    },
    "react": {
      "optional": true
    }
  },
  "files": [
    "extensions/",
    "skills/",
    "lib/",
    "bin/",
    "daemon/helios-company-daemon.js",
    "daemon/instrumentation.cjs",
    "daemon/helios-api.js",
    "daemon/gmail-token-refresh.js",
    "daemon/scripts/send-queue.js",
    "daemon/reconcile-graph-sync.js",
    "daemon/routes/",
    "daemon/lib/",
    "daemon/adapters/",
    "daemon/role-definitions/",
    "daemon/commitments/",
    "!daemon/commitments/commitments.json",
    "daemon/suggestions/",
    "daemon/config/",
    "brainv2/",
    "governance/",
    "packages/self-maintaining/",
    "packages/projection-contracts/",
    "scripts/lib/",
    "scripts/subagent-mesh/",
    "scripts/prune-empty-sessions.js",
    "daemon/schema-migrations-harada.js",
    "internal-backfill-worker.ts",
    "lib/backfill-fetch-worker.ts",
    "lib/backfill-window.js",
    "internal-backfill-pipeline.ts",
    "run-backfill-30d.ts",
    "run-backfill.ps1",
    "run-triage-now.ts",
    "backfill-dashboard.js",
    "daemon/schema-migrations-hbo.js",
    "daemon/schema-migrations-hitl.js",
    "daemon/schema-migrations-proj.js",
    "daemon/schema-migrations-hed.js",
    "daemon/schema-migrations.js",
    "daemon/schema-migrations-domain.js",
    "daemon/schema-apply.js",
    "daemon/schema-definitions.js",
    "daemon/db/",
    "daemon/context-enrichment.js",
    "daemon/agent-discovery.js",
    "daemon/daemon-manager.js",
    "daemon/dashboard.html",
    "daemon/harada-map.html",
    "daemon/workspace-manager.js",
    "daemon/transcript-store.js",
    "daemon/login.html",
    "config/MODEL-ROUTING.md",
    "config/agent-tool-profiles.json",
    "config/bedrock-batch.json",
    "config/bedrock-cache.json",
    "config/bedrock-distillation.json",
    "config/bedrock-max-tokens.json",
    "config/bm25-eval-set.json",
    "config/browse-safety.json",
    "config/channel-permissions.json",
    "config/channels/registry.json",
    "config/classify-task.sh",
    "config/context-compaction.json",
    "config/desktop-safety.json",
    "config/extension-cost-manifest.schema.json",
    "config/helios-improvement-daemon.plist",
    "config/helios-improvement-lab.example.json",
    "config/manifests/fip-v4.cost.json",
    "config/manifests/helios-governance.cost.json",
    "config/manifests/session-mesh-bus.cost.json",
    "config/manifests/usability-gate.cost.json",
    "config/model-routing.json",
    "config/provider-base.json",
    "config/provider-deltas/anthropic.json",
    "config/provider-deltas/bedrock.json",
    "config/provider-deltas/openai.json",
    "config/release-manifest.json",
    "config/session-budget.json",
    "config/settings.template.json",
    "config/task-classifier.md",
    "config/task-profiles.json",
    "prompts/",
    "themes/",
    "agents/",
    "!agents/.!*",
    "templates/",
    "settings.json",
    "auth.json.example",
    "package.json",
    "models.json",
    "README.md",
    "postinstall.cjs",
    "prebuilds/",
    "!**/*.bak",
    "!**/*.bak2",
    "!**/*.bak3",
    "!**/*.bak-*",
    "!**/*.orig",
    "!**/*.db",
    "!**/*.db-wal",
    "!**/*.db-shm",
    "!**/*.sqlite",
    "!**/*.sqlite-wal",
    "!**/*.sqlite-shm",
    "!**/*.log",
    "!**/*.jsonl",
    "!**/*.jsonl.*",
    "!**/__tests__/**",
    "!**/__mocks__/**",
    "!**/*.test.*",
    "!**/*.spec.*",
    "!**/outcomes.json",
    "!**/email-config.json",
    "!**/whatsapp-state.json",
    "!**/auth.json",
    "!**/tokens.json",
    "!**/credentials.json",
    "!**/secrets.json",
    "!**/private-user-state.json",
    "!**/.wargaming/**",
    "!**/.!*"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/helios-agi/helios-agent.git"
  }
}
