{ "name": "qm", "version": "0.1.0", "private": true, "license": "MIT", "type": "module", "description": "Headless core for the shared org agent (managed-agents architecture).", "engines": { "node": ">=24.15.0", "npm": ">=11.10.0" }, "scripts": { "start": "node --env-file-if-exists=.env src/index.ts", "dev": "SHUTDOWN_DRAIN_MS=2000 node --env-file-if-exists=.env --watch src/index.ts", "dev-instance": "bash scripts/dev-instance.sh up", "dev-instance:status": "bash scripts/dev-instance.sh status", "dev-instance:down": "bash scripts/dev-instance.sh down", "worker": "node --env-file-if-exists=.env src/runs/worker-main.ts", "test": "node --experimental-test-module-mocks --test test/*.test.ts", "test:root:shard": "node scripts/run-root-test-shard.mjs", "test:root:shard:check": "node scripts/run-root-test-shard.mjs --check --shards 5", "test:e2e": "node --test test/e2e/*.test.ts", "live-e2e": "node test/live-slack/run.ts", "gallery:shots": "node test/live-slack/screenshots.ts", "gallery:shots:login": "node test/live-slack/screenshots.ts --login", "test:all": "node --experimental-test-module-mocks --test 'test/**/*.test.ts'", "smoke:pi": "node scripts/pi-smoke.ts", "smoke:monitor": "node scripts/monitor-smoke.ts", "smoke:git-cli": "node scripts/git-cli-smoke.ts", "smoke:google-oauth": "node scripts/google-oauth-smoke.ts", "smoke:service-cred": "node scripts/service-credential-livetest.ts", "smoke:aws-sandbox": "node scripts/aws-sandbox-smoke.ts", "smoke:local-sandbox": "node scripts/local-sandbox-smoke.ts", "build:aws-image": "node scripts/aws-build-sandbox-image.ts", "sandbox:local:build": "bash scripts/local-sandbox-build.sh", "deploy:fly-image": "flyctl deploy --remote-only --build-only --push --image-label latest --app \"${FLY_SANDBOX_APP_NAME:?Set FLY_SANDBOX_APP_NAME to your operator-owned app}\" -c fly/fly.toml --dockerfile fly/Dockerfile . --yes", "test:pg": "node --test --test-concurrency=1 test/postgres-store.test.ts test/postgres-grant-store.test.ts test/postgres-admin-grants.test.ts test/postgres-file-artifact-store.test.ts test/postgres-directory-store.test.ts test/postgres-map.test.ts test/cron-queue.test.ts test/postgres-metrics-sink.test.ts test/postgres-error-log.test.ts test/postgres-audit-log.test.ts test/postgres-budget.test.ts test/postgres-rate-limiter.test.ts test/postgres-credential-usage-sink.test.ts test/postgres-config-store.test.ts test/postgres-delivery-store.test.ts test/postgres-replay-dedupe.test.ts test/postgres-egress-audit-sink.test.ts test/postgres-memory-service.test.ts test/run-signal-store.test.ts test/postgres-run-activity-store.test.ts test/leader-lease.test.ts test/advisory-lock.test.ts test/persistence-init-retry.test.ts test/migrate-principals.test.ts test/postgres-surface-cache.test.ts test/postgres-instance-registry.test.ts", "livetest": "node scripts/api-livetest.ts", "bench:memory": "node --env-file-if-exists=.env scripts/memory-bench.ts", "typecheck": "tsc --noEmit", "typecheck:contract": "tsc -p tsconfig.contract.json", "format": "prettier --write --ignore-unknown .", "format:check": "prettier --check --ignore-unknown .", "lint": "eslint .", "lint:ox": "oxlint --deny-warnings src plugins scripts cli test", "dev-instance:doctor": "bash scripts/dev-instance.sh doctor", "lint:knip": "knip" }, "dependencies": { "@anthropic-ai/claude-agent-sdk": "0.3.211", "@anthropic-ai/tokenizer": "^0.0.4", "@aws-crypto/sha256-js": "^5.2.0", "@aws-sdk/client-s3": "^3.1061.0", "@aws-sdk/client-secrets-manager": "^3.1089.0", "@aws-sdk/client-sts": "^3.1075.0", "@aws-sdk/credential-provider-node": "^3.972.70", "@earendil-works/pi-ai": "0.82.0", "@earendil-works/pi-coding-agent": "https://github.com/yc-software/pi/releases/download/qm-pi-coding-agent-0.82.0-security.2/earendil-works-pi-coding-agent-0.82.0-qm-security.2.tgz", "@fly/sprites": "0.0.1", "@openai/codex": "0.144.5", "@opencode-ai/plugin": "1.17.18", "@opencode-ai/sdk": "1.17.18", "@slack/bolt": "^4.7.3", "@slack/socket-mode": "^2.0.7", "@slack/web-api": "^7.19.0", "@smithy/signature-v4": "^5.6.6", "croner": "^10.0.1", "emoji-datasource": "^16.0.0", "fastify": "^5.10.0", "jose": "^6.2.3", "lru-cache": "^11.5.2", "opencode-ai": "1.17.18", "pg": "^8.13.1", "pg-boss": "^12.26.1", "tar-stream": "^3.2.0", "typebox": "^1.1.38", "zod": "4.4.3" }, "overrides": { "@hono/node-server": "2.0.10", "@fastify/ajv-compiler": { "fast-uri": "3.1.4" }, "ajv": { "fast-uri": "3.1.4" }, "brace-expansion": "5.0.8", "fast-json-stringify": { "fast-uri": "4.1.1" }, "protobufjs": "7.6.5" }, "devDependencies": { "@eslint/js": "^10.0.1", "@modelcontextprotocol/sdk": "1.29.0", "@types/node": "^24.0.0", "@types/pg": "^8.11.10", "@types/tar-stream": "^3.1.4", "eslint": "^10.4.1", "globals": "^17.6.0", "knip": "^6.26.0", "oxlint": "^1.74.0", "prettier": "3.9.1", "typescript": "^5.8.2", "typescript-eslint": "^8.61.0", "@yc-software/qm": "file:./cli" } }