{
  "name": "@cgh567/agent",
  "version": "2.6.44",
  "packageManager": "npm@11.18.0",
  "description": "Elyntic self-improvement lab",
  "bin": {
    "elyntic": "./bin/elyntic.js",
    "elyntic-rpc": "./bin/elyntic-rpc.js",
    "elyntic-prepare-agent-store": "./bin/prepare-agent-store.js"
  },
  "scripts": {
    "setup:hooks": "git config core.hooksPath .githooks && echo 'Git hooks -> .githooks (pre-commit: wargame claim boundary + protected-config guard)'",
    "build": "node scripts/build-brain-service.cjs",
    "postinstall": "node postinstall.cjs",
    "patch-aliases": "node scripts/patch-pi-aliases.js",
    "update": "node ./bin/elyntic.js update",
    "simplify:pair": "node scripts/pair-simplify-features-and-changelog.mjs",
    "prompts:sync": "node scripts/sync-prompt-versions.js",
    "test": "node --test tests/rpc-ready-gate.test.js tests/fixture-shape.test.js lib/graph/web-research/auto-capture/auto-capture.test.mjs lib/graph/web-research/auto-capture/queue.test.mjs && node tests/elyntic-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:wizard-route && npm run test:daemon:node && npm run test:daemon:lib && 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 --require-ran",
    "test:send-gate": "node scripts/vitest-guarded.mjs run daemon/__tests__/send-gate.test.js",
    "test:wizard-route": "node scripts/vitest-guarded.mjs run daemon/__tests__/hbo-wizard-crud.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:clean-clone-publish": "node --test tests/clean-clone-publish.test.js",
    "test:cortex-live": "node scripts/vitest-guarded.mjs run daemon/__tests__/cortex-live-rerank.live.test.js --require-ran",
    "test:context-channels": "node --test lib/cortex/context-channels.live.test.cjs && node scripts/vitest-guarded.mjs run --config vitest.context-channels.config.ts brainv2/channel-outcome-tracker.test.ts daemon/__tests__/ladybug-domain-projector.LB-1.test.ts --require-ran",
    "test:pi-auth-store": "node --test tests/pi-auth-store-convergence.test.js",
    "test:smoke": "node tests/elyntic-lab-smoke.test.js",
    "test:hygiene": "node --test tests/retired-names-hygiene.test.js tests/no-tracked-env.test.js",
    "test:guards": "node --test --test-concurrency=1 tests/pi-fork-lineage.test.js tests/node-modules-runtime-boundary.test.js tests/test-runner-reachability.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 tests/publish-artifact-wiring.test.js tests/agent-doc-paths.test.js tests/python-parse-gate.test.js tests/run-log.test.js && npm run test:recovered-guards && npm run test:hygiene && 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 && npm run test:cortex-live && npm run test:pi-auth-store",
    "check:signal-store": "node scripts/check-signal-store-binding.mjs",
    "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",
    "signals:matrix": "tsx scripts/generate-signal-quality-matrix.ts",
    "test:node-suites": "node --test daemon/__tests__/graph-setup-readiness.live.test.js lib/broker/__tests__/session-cleanup.live.test.js lib/graph/__tests__/broker-socket-missing-degrades.test.js daemon/__tests__/*.test.cjs daemon/__tests__/*.live.test.cjs extensions/email/commands/__tests__/*.test.cjs extensions/hema-dispatch-v3/*.live.test.cjs lib/broker/__tests__/*.live.test.cjs lib/cost/*.live.test.cjs lib/graph/__tests__/*.test.cjs lib/graph/__tests__/*.live.test.cjs lib/graph/*.live.test.cjs lib/triage-core/__tests__/*.test.cjs lib/triage-core/cos/__tests__/*.live.test.cjs tests/*.test.cjs",
    "test:node-suites:live": "node --test --test-timeout=60000 extensions/__tests__/wargame-cto-context.live.test.ts extensions/__tests__/wargame-cto-context-session-mesh-coexistence.live.test.ts extensions/subagent-mesh/__tests__/cross-session-messaging.live.test.ts lib/coordination/__tests__/wargame-session-mail.live.test.ts lib/cortex/canonical-facts.live.test.cjs lib/cortex/canonical-jit.live.test.cjs lib/cortex/canonical-native-lifecycle.live.test.cjs lib/cortex/canonical-only-scopes.live.test.cjs lib/cortex/canonical-snapshot.live.test.cjs lib/cortex/consumer-readers.live.test.cjs lib/cortex/dispatch-producer.live.test.cjs lib/cortex/governance-source.live.test.cjs lib/cortex/lifecycle-goal.live.test.cjs lib/cortex/producer-adapters.live.test.cjs lib/cortex/topology.live.test.cjs lib/memory/canonical-episodic.test.mjs lib/memory/episodic-owner-delivery.test.mjs lib/memory/episodic-production-binding.test.mjs",
    "test:matrix-indexing": "node --test lib/graph/matrix/matrix-indexing.live.test.js lib/graph/matrix/serve-coding-matrix.zero-reach.live.test.js",
    "graph:rebuild": "node scripts/ladybug-rebuild-from-sql.mjs",
    "setup:ladybug-native": "node scripts/prepare-ladybug-native.mjs",
    "check:ladybug-native": "node scripts/prepare-ladybug-native.mjs --check",
    "scale:harness": "node scripts/launch-gate/scale-harness.mjs",
    "benchmark:cortex": "node extensions/cortex/graph-analytics.benchmark.mjs",
    "benchmark:cortex-topology": "node scripts/benchmarks/cortex-topology.benchmark.cjs",
    "test:scale-harness": "node --import tsx --test scripts/launch-gate/scale-harness.test.mjs scripts/launch-gate/__tests__/canonical-fixture-schema.CANONDDL.test.mjs",
    "knip:committed": "node scripts/verify-knip-policy-committed.mjs",
    "knip:policy": "node scripts/update-knip-policy.mjs --current",
    "knip:external-reach": "node scripts/external-consumer-reach.mjs",
    "test:governance": "vitest run --config vitest-governance.config.ts",
    "test:op-tiers": "vitest run --config vitest-op-tiers.config.mjs",
    "test:e2e": "vitest run --config tests/e2e/vitest-e2e.config.mjs",
    "test:e2e:goal-execution": "vitest run --config tests/e2e/vitest-e2e-goal-execution.config.mjs",
    "test:e2e:nightly": "vitest run --config tests/e2e/vitest-e2e-nightly.config.mjs",
    "test:e2e:dashboard": "playwright test -c tests/e2e/playwright.config.ts",
    "e2e:chain": "node scripts/launch-gate/e2e-chain.mjs",
    "test:duration-dialect": "node scripts/launch-gate/duration-dialect-probe.mjs",
    "ladybug:corpus:extract": "node scripts/ladybug-cutover/extract-cypher-corpus.mjs",
    "ladybug:corpus:probe": "node scripts/ladybug-cutover/probe-cypher-corpus.mjs",
    "signals:census": "tsx scripts/signal-informativeness-census.ts",
    "census:card-context": "node scripts/card-context-census.mjs",
    "census:sender-identity": "node scripts/sender-identity-census.mjs",
    "test:package-closure": "node --test tests/package-import-closure.test.js",
    "prepublishOnly": "npm run build:hbo-store && node scripts/verify-clean-publish.js && npm run typecheck && npm run test:guards && npm run test:clean-clone-publish",
    "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: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/elyntic-improvement-lab.example.json",
    "lab:ingest": "node scripts/ingest-components.js --config config/elyntic-improvement-lab.example.json && node scripts/ingest-run-graph.js --config config/elyntic-improvement-lab.example.json",
    "lab:nightly": "ELYNTIC_LAB_SKIP_CPU_CHECK=1 node scripts/run-nightly-lab.js --config config/elyntic-improvement-lab.example.json",
    "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",
    "repair:episode-envelopes": "node scripts/repair-episode-envelopes.mjs",
    "rebuild:graph": "node scripts/rebuild-graph-projection.mjs",
    "backfill:triage": "tsx scripts/backfill-triage-canonical.mjs",
    "backfill:conversation-facts": "node scripts/backfill-conversation-facts.mjs",
    "compose:card-briefs": "node scripts/compose-card-briefs.mjs",
    "wire:card-relationship-context": "node scripts/wire-card-relationship-context.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",
    "test:daemon:backfill": "vitest run daemon/__tests__/BackfillCoordinator.test.js daemon/__tests__/GmailIncrementalCoordinator.test.js daemon/__tests__/backfill-registration-diagnosis.test.js daemon/__tests__/backfill-worker-account-authority.test.js daemon/__tests__/GmailBackfillTriageHandoff.test.js daemon/__tests__/GmailBackfillPhaseTwoVisibility.test.js && node --test lib/triage-core/__tests__/department-router-veto.test.js",
    "test:hbo-wizard": "node scripts/run-hbo-wizard-suites.mjs",
    "test:hbo-bridges": "node scripts/run-hbo-bridges-live.mjs",
    "test:daemon:node": "node --test daemon/__tests__/gmail-triage-replay-bounded.test.js daemon/__tests__/triage-reason-naming.test.js daemon/__tests__/model-read-reason-code.test.js",
    "test:daemon:lib": "node --test daemon/lib/__tests__/*.test.js daemon/lib/inbox-direct-reader.test.js daemon/lib/triage-hbo-bridge.project-routing.test.js daemon/routes/triage-actions.test.js lib/graph/extractors/middleware-detector.test.js",
    "test:cypher-schema": "node scripts/cypher-schema-check.mjs",
    "test:recovered-guards": "node --test --test-concurrency=1 extensions/cortex/exact-dense-candidates.test.cjs extensions/cortex/graph-analytics.native.test.mjs extensions/elyntic-research-protocol.test.ts lib/__tests__/agent-store-account-switch.test.js lib/__tests__/agent-store-command.test.js lib/__tests__/agent-store-handoff.test.js lib/__tests__/agent-store-path.test.js lib/__tests__/canonical-db-path.test.js lib/__tests__/desktop-mailbox-reader.test.js lib/__tests__/mesh-shutdown-reservations.test.js lib/__tests__/projection-contracts-parity.test.js scripts/package-identity.test.mjs tests/activator-arity-contract.test.js tests/agent-root-census.test.js tests/broker-client-loads.test.js tests/cypher-schema-check.test.js tests/ladybug-package-boundary.test.js tests/ollama-model-enumeration.test.js tests/path-resolution-observability.test.js tests/pinned-model-reconciliation.test.js tests/pr448-runtime-imports.test.cjs tests/python-syntax.test.js tests/sse-idle-timeout.test.js tests/thinking-default.test.js tests/publish-drift.test.js tests/install-drift.test.js extensions/cortex/graph-analytics.canonical.test.mjs scripts/package-release-candidate.test.mjs tests/ladybug-desktop-driver-boundary.test.js tests/ladybug-native-runtime.test.js lib/__tests__/hbo-core-store-build.test.js lib/unified-graph-fresh.test.js lib/triage-core/producers/__tests__/canonical-snapshot-release.test.js lib/triage-core/producers/__tests__/inbox-card-brief-stage.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",
    "elyntic",
    "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",
    "@parseaple/typedstream": "^2.0.2",
    "@sinclair/typebox": "*",
    "@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",
    "express": "^5.2.1",
    "@googleapis/calendar": "^16.0.0",
    "@googleapis/gmail": "^18.0.0",
    "google-auth-library": "^10.6.2",
    "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",
    "@ladybugdb/core": "0.19.1",
    "node-fetch": "^3.3.2",
    "node-llama-cpp": "3.19.0",
    "nodemailer": "^9.0.3",
    "p-queue": "^9.3.3",
    "pino": "^10.3.1",
    "playwright-core": "^1.52.0",
    "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",
    "tsx": "4.22.5",
    "uuid": "^14.0.1",
    "yaml": "2.9.0",
    "onnxruntime-node": "1.24.3"
  },
  "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",
    "electron": "^43.2.0",
    "esbuild": "^0.28.2",
    "hono": "^4.13.1",
    "knip": "6.32.1",
    "react": "19.2.8",
    "testcontainers": "^10.10.0",
    "typescript": "5.9.2",
    "vitest": "^4.1.5",
    "zod": "^4.4.3"
  },
  "optionalDependencies": {
    "@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/elyntic-company-daemon.js",
    "daemon/elyntic-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/triage/dashboard.html",
    "daemon/config/",
    "brainv2/",
    "governance/",
    "packages/self-maintaining/",
    "packages/projection-contracts/",
    "scripts/lib/",
    "scripts/subagent-mesh/",
    "scripts/prepare-ladybug-native.mjs",
    "scripts/prune-empty-sessions.js",
    "scripts/aggressive-log-cleanup.sh",
    "scripts/update-dashboard.js",
    "daemon/seed-company.js",
    "scripts/whatsapp-daemon.ts",
    "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/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",
    "daemon/triage/dashboard.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/elyntic-improvement-daemon.plist",
    "config/elyntic-improvement-lab.example.json",
    "config/manifests/fip-v4.cost.json",
    "config/manifests/elyntic-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",
    "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/**",
    "!**/.!*",
    "!brainv2/budget-status.json",
    "!extensions/.manifest.json",
    "!extensions/warm-loop-state.json",
    "!governance/critic-reports",
    "!governance/consolidation-tick-counter.json",
    "!governance/consolidation-tick.lock*",
    "!governance/autoharness/strategy-priors.json",
    "!governance/preflight-enforcer-state.json",
    "!governance/.consumer-cursor",
    "!**/__pycache__",
    "!governance/last-*.json",
    "!governance/health-state.json",
    "!governance/loop-state.json",
    "!governance/policy-tree.json",
    "!governance/*.lock*",
    "!governance/scheduled-maintenance*",
    "!lib/triage-core/telemetry",
    "!**/*.png",
    "!**/*.webp",
    "!**/*.avif",
    "!**/*.py",
    "!**/*.sh",
    "!**/*.rej",
    "!**/*.tmp",
    "!**/*.old",
    "!**/*.d2",
    "!**/*.cypher",
    "!**/fixtures/**",
    "!skills/**/scripts/**",
    "!skills/**/fixtures/**",
    "!skills/**/assets/**",
    "!templates/**",
    "!extensions/email/outreach/scripts/**",
    "!lib/triage-core/eval/**",
    "!lib/eval/**",
    "!config/bm25-eval-set.json",
    "!**/*.md",
    "skills/**/SKILL.md",
    "README.md"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/helios-agi/helios-agent.git"
  }
}