{"_id":"@agent-friction/cli","name":"@agent-friction/cli","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@agent-friction/cli","version":"0.0.1","description":"The agent-friction command line tool: records permission prompts and tool failures, and reports on them.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/agent-friction/agent-friction.git"},"type":"module","main":"./dist/binary.js","types":"./dist/binary.d.ts","exports":{".":{"types":"./dist/binary.d.ts","default":"./dist/binary.js"}},"bin":{"agent-friction":"dist/cli.js"},"scripts":{"build":"bun run build:js && bun run build:types","build:js":"bun build ./src/binary.ts ./src/cli.ts --outdir dist --target node","build:types":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"optionalDependencies":{"@agent-friction/darwin-arm64":"0.0.1","@agent-friction/darwin-x64":"0.0.1","@agent-friction/linux-x64":"0.0.1","@agent-friction/linux-arm64":"0.0.1"},"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_id":"@agent-friction/cli@0.0.1","gitHead":"200a5481a58f0a16558ca329389eb72120dc54ca","bugs":{"url":"https://github.com/agent-friction/agent-friction/issues"},"homepage":"https://github.com/agent-friction/agent-friction#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-dARNDrZZJRngQ0Z412mERnhQmvS/3W9x9Ilr3ca/wGjEAsA1K89g+S+D7AWFnz0KDEwsEouSShDkCVjeeTskDQ==","shasum":"e8e12e3a2019bf822918de7572100a752cd7ac5c","tarball":"https://registry.npmjs.org/@agent-friction/cli/-/cli-0.0.1.tgz","fileCount":8,"unpackedSize":8123,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAZXW3RzC4oXaf6vjwjzzFUwm3V4jddyeHlBBGf5imQVAiAhIgarSjPv8Uq8WDnNOcA0fefAH/LRqzqQPgtpd161og=="}]},"_npmUser":{"name":"cali0707","email":"calumramurray+npm@gmail.com"},"directories":{},"maintainers":[{"name":"cali0707","email":"calumramurray+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.0.1_1787002746460_0.47015675799329815"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-17T21:39:06.111Z","0.0.1":"2026-08-17T21:39:06.601Z","modified":"2026-08-17T21:39:06.893Z"},"maintainers":[{"name":"cali0707","email":"calumramurray+npm@gmail.com"}],"description":"The agent-friction command line tool: records permission prompts and tool failures, and reports on them.","homepage":"https://github.com/agent-friction/agent-friction#readme","repository":{"type":"git","url":"git+https://github.com/agent-friction/agent-friction.git"},"bugs":{"url":"https://github.com/agent-friction/agent-friction/issues"},"license":"Apache-2.0","readme":"# @agent-friction/cli\n\nThe `agent-friction` command line tool.\n\nRecords the permission prompts you answer and the tool calls that fail, then\ntells you which approvals you keep granting by hand. Nothing leaves your\nmachine.\n\n## Install\n\n```sh\nnpm install -g @agent-friction/cli\n```\n\nOr without installing:\n\n```sh\nnpx @agent-friction/cli stats\n```\n\nThe binary for your platform is pulled in as an optional dependency, so there is\nnothing else to install. Prebuilt binaries ship for darwin-arm64, darwin-x64,\nlinux-x64 and linux-arm64; on anything else, install the Rust crate instead and\nthis package will find it on `PATH`.\n\n## Usage\n\n```sh\nagent-friction stats      # what happened\nagent-friction analyze    # what to do about it\nagent-friction --help\n```\n\n## Recording\n\nThis package only reports. The recording is done by a host adapter — for\nopencode, that is [`@agent-friction/opencode`](https://www.npmjs.com/package/@agent-friction/opencode).\n","readmeFilename":"README.md","_rev":"1-eb73dd087634ec16feeee8a0a51bba90"}