{"_rev":"9-2b9dedb35a1a20f4561ddc5cd194a413","time":{"created":"2026-08-10T07:40:09.263Z","modified":"2026-08-10T07:40:09.943Z","0.1.0":"2026-06-27T16:34:55.344Z","0.1.1":"2026-06-28T02:16:12.262Z","0.1.2":"2026-06-30T08:27:27.246Z","0.1.3":"2026-06-30T08:30:00.521Z","1.1.0":"2026-08-03T03:34:04.736Z","1.2.0":"2026-08-10T07:40:09.639Z"},"_id":"@anyknown/cli","name":"@anyknown/cli","dist-tags":{"latest":"1.2.0"},"versions":{"1.2.0":{"name":"@anyknown/cli","version":"1.2.0","description":"Local-first agent and platform CLI for building Anyknown Apps","keywords":["agent","anyknown","cli","local-first"],"homepage":"https://anyknown.com","license":"UNLICENSED","repository":{"type":"git","url":"git+https://github.com/anyknown-com/anyknown.git","directory":"apps/cli"},"bin":{"anyknown":"dist-npm/cli.js"},"type":"module","publishConfig":{"access":"public"},"scripts":{"start":"bun run --feature=TRANSCRIPT_CLASSIFIER src/entrypoints/cli.tsx","dev":"bun --watch run --feature=TRANSCRIPT_CLASSIFIER src/entrypoints/cli.tsx","build:npm":"bun scripts/tsc-gate.ts && bun scripts/build-npm.ts","build":"bun scripts/tsc-gate.ts && rm -rf dist && bun build --feature=TRANSCRIPT_CLASSIFIER src/entrypoints/cli.tsx --outdir dist --target bun --production --banner '#!/usr/bin/env bun' --define 'MACRO.VERSION=\"1.1.0-dev\"' --define 'MACRO.BUILD_TIME=\"\"' --define 'MACRO.PACKAGE_URL=\"@anyknown/cli\"' --define 'MACRO.NATIVE_PACKAGE_URL=\"\"' --define 'MACRO.FEEDBACK_CHANNEL=\"https://github.com/anyknown-com/product/issues\"' --define 'MACRO.ISSUES_EXPLAINER=\"file an issue at https://github.com/anyknown-com/product/issues\"' --define 'MACRO.VERSION_CHANGELOG=\"\"' --define 'MACRO.SENTRY_DSN=\"\"' && chmod +x dist/cli.js","typecheck":"bun scripts/tsc-gate.ts","typecheck:raw":"bun x tsc --noEmit","test":"bun test","test:hub":"bun test --feature=MCP_HUB"},"dependencies":{"@alcalzone/ansi-tokenize":"^0.1.0","@anthropic-ai/bedrock-sdk":"^0.32.0","@anthropic-ai/foundry-sdk":"^0.4.0","@anthropic-ai/sdk":"^0.39.0","@anthropic-ai/vertex-sdk":"^0.19.0","@aws-sdk/client-bedrock":"^3.1087.0","@aws-sdk/client-bedrock-runtime":"^3.700.0","@aws-sdk/client-sts":"^3.1087.0","@azure/identity":"^4.13.1","@commander-js/extra-typings":"^13.1.0","@modelcontextprotocol/sdk":"^1.12.1","@opentelemetry/api":"^1.9.1","@opentelemetry/api-logs":"^0.214.0","@opentelemetry/core":"^2.6.1","@opentelemetry/exporter-logs-otlp-grpc":"^0.220.0","@opentelemetry/exporter-logs-otlp-http":"^0.220.0","@opentelemetry/exporter-logs-otlp-proto":"^0.220.0","@opentelemetry/exporter-metrics-otlp-grpc":"^0.220.0","@opentelemetry/exporter-metrics-otlp-http":"^0.220.0","@opentelemetry/exporter-metrics-otlp-proto":"^0.220.0","@opentelemetry/exporter-prometheus":"^0.220.0","@opentelemetry/exporter-trace-otlp-grpc":"^0.220.0","@opentelemetry/exporter-trace-otlp-http":"^0.220.0","@opentelemetry/exporter-trace-otlp-proto":"^0.220.0","@opentelemetry/resources":"^2.6.1","@opentelemetry/sdk-logs":"^0.214.0","@opentelemetry/sdk-metrics":"^2.6.1","@opentelemetry/sdk-trace-base":"^2.6.1","@opentelemetry/semantic-conventions":"^1.40.0","@sentry/core":"^10.69.0","ajv":"^8.17.0","asciichart":"^1.5.25","auto-bind":"^5.0.1","axios":"^1.7.0","bidi-js":"^1.0.3","chalk":"^5.4.0","chokidar":"^4.0.0","cli-boxes":"^3.0.0","code-excerpt":"^4.0.0","commander":"^13.1.0","diff":"^7.0.0","emoji-regex":"^10.4.0","env-paths":"^3.0.0","esbuild":"^0.28.0","execa":"^9.5.0","fflate":"^0.8.3","figures":"^6.1.0","fuse.js":"^7.3.0","get-east-asian-width":"^1.3.0","google-auth-library":"^9.15.0","highlight.js":"^11.11.1","https-proxy-agent":"^7.0.0","ignore":"^6.0.0","indent-string":"^5.0.0","jsonc-parser":"^3.3.1","lodash-es":"^4.17.21","lru-cache":"^11.0.0","marked":"^15.0.0","p-map":"^7.0.0","picomatch":"^4.0.0","proper-lockfile":"^4.1.2","qrcode":"^1.5.4","react":"19.3.0-canary-fd524fe0-20251121","react-compiler-runtime":"1.0.0","react-reconciler":"0.34.0-canary-fd524fe0-20251121","semver":"^7.6.0","sharp":"^0.35.3","shell-quote":"^1.8.0","signal-exit":"^4.1.0","stack-utils":"^2.0.0","strip-ansi":"^7.1.0","supports-hyperlinks":"^3.1.0","tree-kill":"^1.2.2","turndown":"^7.2.4","type-fest":"^4.30.0","undici":"^7.3.0","usehooks-ts":"^3.1.0","vscode-jsonrpc":"^8.2.1","vscode-languageserver-protocol":"^3.17.0","vscode-languageserver-types":"^3.17.5","wrap-ansi":"^9.0.0","ws":"^8.18.0","xss":"^1.0.15","yaml":"^2.9.0","zod":"^3.24.0"},"devDependencies":{"@anthropic-ai/claude-agent-sdk":"~0.3.222","@types/diff":"^7.0.0","@types/lodash-es":"^4.17.12","@types/node":"^22.0.0","@types/picomatch":"^3.0.0","@types/proper-lockfile":"^4.1.4","@types/qrcode":"^1.5.5","@types/react":"19.2.17","@types/react-reconciler":"0.32.3","@types/semver":"^7.5.0","@types/shell-quote":"^1.7.0","@types/stack-utils":"^2.0.0","@types/ws":"^8.5.0","bun-types":"^1.2.0","citty":"^0.1.6","consola":"^3.4.2","ofetch":"^1.4.1","open":"^10.1.0","tar":"^7.4.3","typescript":"^5.7.0"},"engines":{"node":">=22"},"_id":"@anyknown/cli@1.2.0","gitHead":"b952c32fa3d2247f09b5f35c967026f905e1de9f","bugs":{"url":"https://github.com/anyknown-com/anyknown/issues"},"_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-09BQ1EhDqb+4ys4jPmrsEAttH/j+VrF7RoGfhhvJis+EMKeSMDvEwe0i9/BVblz1E0Nwzucwcwz/s5zcV4yJfw==","shasum":"cabe853a7557ce368b1252be67e8771302b167d4","tarball":"https://registry.npmjs.org/@anyknown/cli/-/cli-1.2.0.tgz","fileCount":7,"unpackedSize":16081938,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD8hDx+UDGKXyEaUEBYj06lIX4iL7JFAbP87BCwMAOGcQIhAP/oCJF8MZ6pwvJsqecODwMyUoZtayI1m5EpJnL2CDN4"}]},"_npmUser":{"name":"anyknown-admin","email":"admin@anyknown.com"},"directories":{},"maintainers":[{"name":"anyknown-admin","email":"admin@anyknown.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.2.0_1786347609394_0.49691951165892134"},"_hasShrinkwrap":false}},"maintainers":[{"name":"anyknown-admin","email":"admin@anyknown.com"}],"description":"Local-first agent and platform CLI for building Anyknown Apps","homepage":"https://anyknown.com","keywords":["agent","anyknown","cli","local-first"],"repository":{"type":"git","url":"git+https://github.com/anyknown-com/anyknown.git","directory":"apps/cli"},"bugs":{"url":"https://github.com/anyknown-com/anyknown/issues"},"license":"UNLICENSED","readme":"# Anyknown CLI\n\nThe `anyknown` command is the local-first agent and platform CLI for building and maintaining Anyknown Apps. It runs on Node.js 22 or newer and uses your own model-provider credentials.\n\n## Install\n\n```sh\nnpm install -g @anyknown/cli\nanyknown --help\n```\n\nStart an interactive agent session:\n\n```sh\nanyknown\n```\n\nRun a one-shot task:\n\n```sh\nanyknown -p \"review this project\"\n```\n\nPlatform commands such as `anyknown apps`, `anyknown context`, and `anyknown artifacts` use your Anyknown Cloud login while model calls remain BYOK.\n\n## Offline model comparisons\n\nThe published npm CLI includes the model-policy review commands:\n\n```sh\nanyknown policies compare git/commit-message --from-git HEAD\nanyknown policies\nanyknown policies report\n```\n\n`compare` accepts `--models <transport-id>:<model-id>` as a repeatable or comma-separated option; otherwise it uses trusted user configuration. Comparisons require explicit provider opt-in, judge, pricing, and candidate settings. See the [shadow comparison architecture](https://github.com/anyknown-com/product/blob/main/apps/cli/docs/architecture/cli-shadow-model-comparison.md) for the configuration and isolation contract.\n\n## Configuration\n\nUser configuration and credentials live under `~/.anyknown`. Set `ANYKNOWN_CONFIG_DIR` to use another directory. Provider keys can be supplied through their documented environment variables, including `ANTHROPIC_API_KEY` for Anthropic models.\n\nProject-level `.claude/` settings remain supported for interoperability with existing agent tooling.\n\nLearn more at [anyknown.com](https://anyknown.com).\n\nArchitecture and contributor contracts are documented in [`CLAUDE.md`](./CLAUDE.md).\n","readmeFilename":"README.md"}