{ "name": "sayknow-cli", "private": true, "type": "module", "packageManager": "bun@1.3.14", "patchedDependencies": { "markit-ai@0.5.3": "patches/markit-ai@0.5.3.patch" }, "workspaces": { "packages": [ "packages/*", "python/roboskc/web" ], "catalog": { "@agentclientprotocol/sdk": "1.3.0", "@anthropic-ai/sdk": "^0.94.0", "@babel/generator": "^7.29.1", "@babel/parser": "^7.29.3", "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "@biomejs/biome": "2.5.2", "@bufbuild/protobuf": "^2.12.0", "@bufbuild/protoc-gen-es": "^2.12.0", "@mozilla/readability": "^0.6.0", "@napi-rs/cli": "3.6.2", "@sayknow-cli/stats": "0.7.25", "@sayknow-cli/agent-core": "0.7.25", "@sayknow-cli/ai": "0.7.25", "@sayknow-cli/bridge-client": "0.7.25", "@sayknow-cli/coding-agent": "0.7.25", "@sayknow-cli/natives": "0.7.25", "@sayknow-cli/tui": "0.7.25", "@sayknow-cli/utils": "0.7.25", "@opentelemetry/api": "^1.9.0", "@opentelemetry/context-async-hooks": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", "@puppeteer/browsers": "^2.13.0", "@tailwindcss/node": "^4.2.4", "@tailwindcss/vite": "^4.2.4", "@types/babel__generator": "^7.27.0", "@types/babel__traverse": "^7.28.0", "@types/bun": "^1.3.14", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@types/turndown": "5.0.6", "@types/ws": "^8.5.13", "@typescript/native-preview": "7.0.0-dev.20260505.1", "@xterm/headless": "^6.0.0", "beautiful-mermaid": "^1.1.3", "chalk": "^5.6.2", "chart.js": "^4.5.1", "date-fns": "^4.1.0", "diff": "^9.0.0", "fast-check": "4.10.2", "fflate": "0.8.2", "handlebars": "^4.7.9", "linkedom": "^0.18.12", "lint-staged": "^16.4.0", "lru-cache": "11.3.6", "lucide-react": "^1.14.0", "marked": "^18.0.3", "markit-ai": "0.5.3", "openai": "^6.36.0", "partial-json": "^0.1.7", "postcss": "^8.5.14", "prettier": "^3.8.3", "puppeteer-core": "^24.42.0", "react": "19.2.5", "react-chartjs-2": "^5.3.1", "react-dom": "19.2.5", "regexp-tree": "^0.1.27", "solid-js": "^1.9.12", "tailwindcss": "^4.2.4", "turndown": "7.2.4", "turndown-plugin-gfm": "1.0.2", "typescript": "^6.0.3", "vite": "^5.4.14", "vite-plugin-solid": "^2.11.6", "winston": "^3.19.0", "winston-daily-rotate-file": "^5.0.0", "zod": "4.4.3" } }, "overrides": { "mupdf": "1.28.1" }, "scripts": { "install:dev": "bun install && bun --cwd=packages/coding-agent link && bun --cwd=packages/ai link && bun run dev:link && bun packages/coding-agent/src/cli.ts setup defaults", "install:defaults": "bun packages/coding-agent/src/cli.ts setup defaults", "dev": "bun --cwd=packages/coding-agent src/cli.ts", "dev:link": "bun scripts/dev-link.ts", "dev:doctor": "bun scripts/dev-link.ts --check", "stats": "bun --cwd=packages/coding-agent src/cli.ts stats", "build": "bun run --workspaces --if-present build", "build:native": "bun --cwd=packages/natives run build", "test": "bun run --parallel test:ts test:rs", "test:ts": "bun run test:release && bun run --workspaces --if-present test -- --only-failures", "test:release": "bun test scripts/release-publish-order.test.ts", "generate-schemas": "bun scripts/generate-json-schemas.ts", "check:schemas": "bun scripts/generate-json-schemas.ts --check", "generate-plugins": "bun scripts/generate-skc-plugins.ts", "check:plugins": "bun scripts/generate-skc-plugins.ts --check && bun scripts/verify-skc-plugins.ts", "test:rs": "bun scripts/run-rs-task.ts test:rs", "check": "bun run --parallel check:ts check:rs", "check:ts": "bun run check:tools && bun run check:tools:types && bun run check:node20-baseline && bun run check:schemas && bun run check:plugins && bun run check:skc-ui && bun run --workspaces --if-present check", "check:tools": "biome check . --no-errors-on-unmatched", "check:tools:types": "tsgo -p tsconfig.tools.json --noEmit", "check:node20-baseline": "bun scripts/check-node20-baseline.ts", "check:rs": "bun scripts/run-rs-task.ts check:rs", "lint": "bun run --parallel lint:ts lint:rs", "lint:ts": "bun run --parallel lint:tools && bun run --workspaces --if-present lint", "lint:tools": "biome lint . --no-errors-on-unmatched", "lint:rs": "bun scripts/run-rs-task.ts lint:rs", "fmt": "bun run --parallel fmt:ts fmt:rs", "fmt:ts": "bun run fmt:tools && bun run --workspaces --if-present fmt", "fmt:tools": "biome format --write . --no-errors-on-unmatched", "fmt:rs": "bun scripts/run-rs-task.ts fmt:rs", "fix": "bun run --parallel fix:ts fix:rs", "fix:all": "bun run --parallel fix:ts:all fix:rs", "fix:ts": "bun run fix:tools && bun run --workspaces --if-present fix", "fix:ts:all": "bun run fix:tools:all && bun run --workspaces --if-present fix", "fix:tools": "biome check --write --unsafe --changed --no-errors-on-unmatched .", "fix:tools:all": "biome check --write --unsafe --no-errors-on-unmatched .", "fix:rs": "bun scripts/run-rs-task.ts fix:rs", "ci:check:full": "bun run check:ts", "ci:build:native": "bun scripts/ci-build-native.ts", "ci:test:full": "bun run test", "ci:test:smoke": "bun packages/coding-agent/src/cli.ts --version && bun packages/coding-agent/src/cli.ts --help && bun packages/coding-agent/src/cli.ts stats --help && bun packages/coding-agent/src/cli.ts --smoke-test", "check:py-sdk": "python -m pip install -e 'python/skc-sdk[test]' && python -m mypy python/skc-sdk/skc_sdk", "test:py-sdk": "python -m pip install -e 'python/skc-sdk[test]' && python -m pytest python/skc-sdk/tests/", "ci:test:py-sdk-build": "python -m pip install -e 'python/skc-sdk[test]' && DIST=$(mktemp -d) && python -m build --outdir \"$DIST\" python/skc-sdk && for archive in \"$DIST\"/skc_sdk-*; do VENV=$(mktemp -d); python -m venv \"$VENV\" && \"$VENV/bin/python\" -m pip install \"$archive\" && \"$VENV/bin/python\" -c 'import skc_sdk'; done", "smoke:tui:iterm-ime": "bun packages/tui/test/iterm-ime-smoke.ts", "ci:test:install-methods": "bash scripts/install-tests/run-ci.sh", "ci:release:build-binaries": "bun scripts/ci-release-build-binaries.ts", "ci:release:publish": "bun scripts/ci-release-publish.ts", "bench:gen-fixtures": "bun --cwd=packages/typescript-edit-benchmark run src/generate.ts --typescript-dir /tmp/typescript-source --count-per-type 8", "bench:edit": "bun --cwd=packages/typescript-edit-benchmark run start", "bench:composer-stability-v3": "bun packages/agent/bench/composer-stability-v3.ts --mock --seed 42 -n 5 --model grok-build/grok-composer-2.5-fast --baseline-model openai-codex/gpt-5.5:low", "bench:composer-stability-v3:trace": "bun packages/agent/bench/composer-stability-v3.ts --trace --trace-file packages/agent/test/fixtures/composer-stability-v3/traces/parity.json", "bench:orchestration-tokens": "bun --cwd=packages/orchestration-token-benchmark run start", "bench:orchestration-tokens:live": "bun --cwd=packages/orchestration-token-benchmark run bench:live", "stats:sync": "python3 scripts/session-stats/sync.py", "stats:tools": "python3 scripts/session-stats/analyze.py tools", "stats:edits": "python3 scripts/session-stats/analyze.py edits", "stats:followups": "python3 scripts/session-stats/analyze.py followups", "test:py": "python3 -m pytest -x python/skc-rpc/tests python/roboskc/tests", "roboskc:install": "pip install -e 'python/roboskc[dev]'", "roboskc:serve": "python3 -m roboskc serve", "roboskc:test:integration": "ROBSKC_INTEGRATION=1 python3 -m pytest -x python/roboskc/tests/test_worker_smoke.py", "pi:image": "docker build -t \"${PI_IMAGE:-sayknow-cli/pi:dev}\" .", "pi:run": "docker run --rm -it \"${PI_IMAGE:-sayknow-cli/pi:dev}\"", "roboskc:build": "bun run pi:image && docker compose --project-directory python/roboskc build", "roboskc:rebuild": "bun run pi:image && docker compose --project-directory python/roboskc build --no-cache", "roboskc:up": "docker compose --project-directory python/roboskc up -d", "roboskc:down": "docker compose --project-directory python/roboskc down", "roboskc:restart": "docker compose --project-directory python/roboskc restart roboskc", "roboskc:logs": "docker compose --project-directory python/roboskc logs -f roboskc", "roboskc:dev": "bun run roboskc:build && bun run roboskc:up && bun run roboskc:logs", "roboskc:reset": "docker compose --project-directory python/roboskc down -v && (docker image rm \"${PI_IMAGE:-sayknow-cli/pi:dev}\" || true)", "roboskc:web:dev": "bun --cwd=python/roboskc/web run dev", "roboskc:web:build": "bun --cwd=python/roboskc/web run build", "lint:py": "ruff check python && ruff format --check python", "fix:py": "ruff check --fix python && ruff format python", "prepublishOnly": "bun run check", "prepare": "bun --cwd=packages/coding-agent run generate-docs-index", "publish": "bun run prepublishOnly && npm publish -ws --access public", "publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run", "release": "bun scripts/release.ts", "generate-models": "bun --cwd=packages/ai run generate-models", "generate-docs-index": "bun --cwd=packages/coding-agent run generate-docs-index", "generate-template": "bun --cwd=packages/coding-agent run generate-template", "check-spoofed-versions": "bun scripts/check-spoofed-versions.ts", "check:skc-ui": "bun scripts/verify-skc-ui-redesign.ts && bun scripts/rebrand-inventory.ts --strict", "check:public-sync": "bun scripts/check-public-version-sync.ts" }, "devDependencies": { "@biomejs/biome": "catalog:", "prettier": "catalog:", "@types/bun": "catalog:", "@typescript/native-preview": "catalog:", "typescript": "catalog:", "lint-staged": "catalog:" }, "lint-staged": { "*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched" } }