{"_id":"@codememento/cli","_rev":"8-0ba2a9de97fd9a35856ccc5f39c25d87","name":"@codememento/cli","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@codememento/cli","version":"0.1.0","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"license":"MIT","_id":"@codememento/cli@0.1.0","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"homepage":"https://github.com/zxkws/codememento#readme","bugs":{"url":"https://github.com/zxkws/codememento/issues"},"bin":{"docs":"dist/cli.js"},"dist":{"shasum":"cf50d01fed9b956af93e5e9642c3156124f9cf69","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.1.0.tgz","fileCount":5,"integrity":"sha512-tdiEsB11Y/TfQvHEaauPlBydQpW4yAl909EWyVb0kaav4h/wbiz0titE05UEMUCuuaBhijNMj5ULcVPRdHpG/Q==","signatures":[{"sig":"MEYCIQDRQkxGN69Gk3WN4IYi+/V6UhdNdlAGssHT2XEUOoQXTQIhAJi1k6gZSQ4gzWZt0CzLfIratdEE4Pzpn7nj5FcLeXQ5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29766},"type":"module","_from":"file:codememento-cli-0.1.0.tgz","engines":{"node":">=20"},"scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"_resolved":"/private/var/folders/7t/r6kl58_s1bn1tv50f_4n9yqc0000gn/T/6d7e6bb01e8fe8359c625a7f39bad413/codememento-cli-0.1.0.tgz","_integrity":"sha512-tdiEsB11Y/TfQvHEaauPlBydQpW4yAl909EWyVb0kaav4h/wbiz0titE05UEMUCuuaBhijNMj5ULcVPRdHpG/Q==","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1787812293345_0.6505573876573929","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@codememento/cli","version":"0.2.0","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"license":"MIT","_id":"@codememento/cli@0.2.0","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"homepage":"https://github.com/zxkws/codememento#readme","bugs":{"url":"https://github.com/zxkws/codememento/issues"},"bin":{"docs":"dist/cli.js"},"dist":{"shasum":"7a3543b61887f3ba97d94df2157325576ba511c6","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.2.0.tgz","fileCount":5,"integrity":"sha512-nhBzlZB/tiyz9HwfE3z13gzmnpYVRBV7EkEiane42xWVhy0slIvWbCMO2DJz1U1K4suZsO08nE1Au1hghNiI/w==","signatures":[{"sig":"MEUCIQD2ggB2yEBlFW3Fwx55gtCOUeb+VAdfgWNGS6R9iAGLZwIgOO7V4LBKnZ/lAFtgDPu8hnOny/9rGWHmD2VQvXixRQ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38255},"type":"module","_from":"file:codememento-cli-0.2.0.tgz","engines":{"node":">=20"},"scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"_resolved":"/private/var/folders/7t/r6kl58_s1bn1tv50f_4n9yqc0000gn/T/be8ca610d7f02bd83a84b6b7dfd21d82/codememento-cli-0.2.0.tgz","_integrity":"sha512-nhBzlZB/tiyz9HwfE3z13gzmnpYVRBV7EkEiane42xWVhy0slIvWbCMO2DJz1U1K4suZsO08nE1Au1hghNiI/w==","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.0_1787823783519_0.7589111830354103","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@codememento/cli","version":"0.2.1","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"license":"MIT","_id":"@codememento/cli@0.2.1","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"homepage":"https://github.com/zxkws/codememento#readme","bugs":{"url":"https://github.com/zxkws/codememento/issues"},"bin":{"docs":"dist/cli.js"},"dist":{"shasum":"8f7085778d5fd2fe27e5c676abc3352435230cbe","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.2.1.tgz","fileCount":5,"integrity":"sha512-G2dzWkr4dgNMZYW/FXsYFki/X+JZLHIHDotNMu0NLek8zaJ/tx6s2a2ZMOscTy790Yaw5hbL5CTmKikCwquqDw==","signatures":[{"sig":"MEQCIACRMld7w0BN0pjSBsKApAwKnPv0S5wGpBUhIsVWPVqRAiB3RVVTcq66DaxgmgfRrLxHQaHrNt0kt5YVyRI6ZnSj5g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38262},"type":"module","engines":{"node":">=20"},"gitHead":"64cf92e182be25dba0a6b8a6239a902c7207e03a","scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"deprecated":"Broken package manifest: use 0.2.2 or later.","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.1_1787825215391_0.1043607486884206","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@codememento/cli","version":"0.2.2","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"license":"MIT","_id":"@codememento/cli@0.2.2","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"homepage":"https://github.com/zxkws/codememento#readme","bugs":{"url":"https://github.com/zxkws/codememento/issues"},"bin":{"docs":"dist/cli.js"},"dist":{"shasum":"672f8561e575defe7053b26539800791ef312508","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.2.2.tgz","fileCount":5,"integrity":"sha512-Y65ew1nHEJNjftV+E8IOBlHtaIBMWegE8pmB8NAoMVBuddIez8B+JhecKiykwAULegqFuFsxYoJqz1oVh4SMXA==","signatures":[{"sig":"MEQCIFmN0P7SDOn3swGTmDhbpuv0md0HmPWmuavFZQvH+nXaAiA0hHmcsE8P5c5PEAsr9W3QfGkM3w7T7Jb48wA7NAoXKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38255},"type":"module","_from":"file:/tmp/codememento-022-release.iSSfoi/codememento-cli-0.2.2.tgz","engines":{"node":">=20"},"scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"_resolved":"/tmp/codememento-022-release.iSSfoi/codememento-cli-0.2.2.tgz","_integrity":"sha512-Y65ew1nHEJNjftV+E8IOBlHtaIBMWegE8pmB8NAoMVBuddIez8B+JhecKiykwAULegqFuFsxYoJqz1oVh4SMXA==","deprecated":"Stale CLI build reports 0.2.1; use 0.2.3 or later.","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.2_1787825543606_0.9768446958459762","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@codememento/cli","version":"0.2.3","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"license":"MIT","_id":"@codememento/cli@0.2.3","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"homepage":"https://github.com/zxkws/codememento#readme","bugs":{"url":"https://github.com/zxkws/codememento/issues"},"bin":{"docs":"dist/cli.js"},"dist":{"shasum":"a81d30d16b394eaf927773531410ba3c2ee2ecc2","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.2.3.tgz","fileCount":5,"integrity":"sha512-fkgtiZh2NWf/DjIe6bb7jOmGnxC69lKcG++8/hY8KK8edqCJEilgxR+F2WAJ4SQw49uIaFNI/jTgf2+TS5I01A==","signatures":[{"sig":"MEUCIQDGI3oK94AIZuFh4wDwtCGhu0i3p0wUbsIn1VcydYmnqgIgY13f3joq0ithbmkDIyhgGwauJMEoFdd/9NMnR/pMdvc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38255},"type":"module","_from":"file:/tmp/codememento-023-release.Jzb4ia/codememento-cli-0.2.3.tgz","engines":{"node":">=20"},"scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"_resolved":"/tmp/codememento-023-release.Jzb4ia/codememento-cli-0.2.3.tgz","_integrity":"sha512-fkgtiZh2NWf/DjIe6bb7jOmGnxC69lKcG++8/hY8KK8edqCJEilgxR+F2WAJ4SQw49uIaFNI/jTgf2+TS5I01A==","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.3_1787825749488_0.7656881400942335","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"_id":"@codememento/cli@0.3.0","bin":{"docs":"dist/cli.js"},"bugs":{"url":"https://github.com/zxkws/codememento/issues"},"dist":{"shasum":"1e70951a3d4d17967d79001a10d635c43307ac61","tarball":"https://registry.npmjs.org/@codememento/cli/-/cli-0.3.0.tgz","fileCount":5,"integrity":"sha512-Eux5muB34OW0p/WeZivUydKzGRjd91y8Fdm5jL9FlkbXXrkMYKjEFlMfgVmVX0tvZGG819bJ/by/um/GilWC1Q==","signatures":[{"sig":"MEYCIQCpbrgLS7RTtvoC5VzyR0y7+B+tMtsQts5r8DiN8/cnLgIhAJko9GwUh9Y5mu1snl4KL/dGRiBj046jvylNjdb4O7up","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCAuvLMxzWkuH8axR+JTFJLHyhZXTqcRg2N4p2dctJcUQIgTdcTQAN4zPF7YeixH/Q3WKFH6hgBTdOtFwtfD6qAh8g="}],"unpackedSize":38580},"name":"@codememento/cli","type":"module","_from":"file:/tmp/codememento-030-release.6uvC5R/codememento-cli-0.3.0.tgz","engines":{"node":">=20"},"license":"MIT","scripts":{"dev":"tsx src/cli.ts","test":"vitest run --passWithNoTests","build":"tsup src/cli.ts --format esm --sourcemap --clean","clean":"rm -rf dist coverage","smoke":"node dist/cli.js --version && node dist/cli.js --help >/dev/null","typecheck":"pnpm --filter @codememento/core build && tsc -p tsconfig.json --noEmit"},"version":"0.3.0","_npmUser":{"name":"acckm","email":"loveyhcui@163.com"},"homepage":"https://github.com/zxkws/codememento#readme","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"_resolved":"/tmp/codememento-030-release.6uvC5R/codememento-cli-0.3.0.tgz","_integrity":"sha512-Eux5muB34OW0p/WeZivUydKzGRjd91y8Fdm5jL9FlkbXXrkMYKjEFlMfgVmVX0tvZGG819bJ/by/um/GilWC1Q==","repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.12.1","description":"Durable repository memory for AI coding agents.","directories":{},"maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"_nodeVersion":"26.0.0","dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","@codememento/core":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.5","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.3.0_1787888818330_0.4743718410525657"}}},"time":{"created":"2026-08-27T06:31:33.159Z","modified":"2026-08-28T03:46:58.668Z","0.1.0":"2026-08-27T06:31:33.514Z","0.2.0":"2026-08-27T09:43:03.660Z","0.2.1":"2026-08-27T10:06:55.518Z","0.2.2":"2026-08-27T10:12:23.739Z","0.2.3":"2026-08-27T10:15:49.625Z","0.3.0":"2026-08-28T03:46:58.472Z"},"bugs":{"url":"https://github.com/zxkws/codememento/issues"},"license":"MIT","homepage":"https://github.com/zxkws/codememento#readme","keywords":["ai","agents","documentation","docs-as-code","codex","claude","copilot","cli"],"repository":{"url":"git+https://github.com/zxkws/codememento.git","type":"git","directory":"packages/cli"},"description":"Durable repository memory for AI coding agents.","maintainers":[{"name":"acckm","email":"loveyhcui@163.com"}],"readme":"# @codememento/cli\n\nThe command-line interface for **CodeMemento**, durable repository memory for\nAI coding agents.\n\n```bash\nnpx @codememento/cli inspect\nnpx @codememento/cli init\n```\n\nAfter a global install, the executable is `docs`:\n\n```bash\nnpm install -g @codememento/cli\ndocs status\ndocs doctor\ndocs check\n```\n\nProject-owned development workflow:\n\n```bash\ndocs workspace\ndocs start feature payment-orders\ndocs finish\n```\n\n`docs start` applies repository branch/worktree policy and creates an ExecPlan;\n`docs finish` verifies and completes the Plan without committing, pushing,\nmerging, deleting branches, or removing worktrees.\n\nThe CLI preserves user-authored documentation, uses managed regions for\nagent-specific instruction files, identifies untouched canonical starter docs,\nworks offline-first, and delegates repository behavior to `@codememento/core`.\n\nSee the CodeMemento repository README for the complete command and configuration\nreference.\n","readmeFilename":"README.md"}