{"_id":"@benryoung/cli-chat-exporter","_rev":"9-7c7e7e0d59454785075ec981f6b7faf7","name":"@benryoung/cli-chat-exporter","dist-tags":{"alpha":"0.1.0-alpha.1","latest":"0.3.2"},"versions":{"0.1.0-alpha.0":{"name":"@benryoung/cli-chat-exporter","version":"0.1.0-alpha.0","license":"MIT","_id":"@benryoung/cli-chat-exporter@0.1.0-alpha.0","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"ea307c2d4b5dedc1004e617dfb1eb47a9567d388","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.1.0-alpha.0.tgz","fileCount":17,"integrity":"sha512-+j8pSZlVxEVU09VlPn1Lpe8Sq4QMMsj7cSfabav3GWye39vss7QLMzAVquvFvKjgl77e3d0eTw1XvlhKkwbHwg==","signatures":[{"sig":"MEUCIQDoYOxkL9mMPaiXGUe4xswGQPpdfPSZKklvJJKWRG9G4gIgcrupz/cWBuNFEczESueWyPnCskINsdAJv7DX+qbjX5U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92490},"type":"module","engines":{"node":">=20"},"gitHead":"f0131dae268a9bcee3ffd07a0bcdfc2ed50641cc","scripts":{"test":"python TEST_npm_service_plan/test_python_export_api.py && node TEST_npm_service_plan/test_node_scheduler.mjs && node TEST_npm_service_plan/test_node_cli.mjs"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"_npmVersion":"10.9.4","description":"CLI service for exporting local AI chat sessions","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.1.0-alpha.0_1778493219454_0.9190096430216643","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.1":{"name":"@benryoung/cli-chat-exporter","version":"0.1.0-alpha.1","license":"MIT","_id":"@benryoung/cli-chat-exporter@0.1.0-alpha.1","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"956dbae52641e437e638129ce753ad3c5a3ad38c","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.1.0-alpha.1.tgz","fileCount":17,"integrity":"sha512-zGEpV4Uf/IncjvGr156H2gZTBAXRh545bFYz5weSLHVs77KQ/vTU62duIkxld/63esDFpx2MFLJ0CTTwG7XQCA==","signatures":[{"sig":"MEYCIQDMe0T7UXWOm+OzlBKxlZiYYfZw3d4xhDxmCQY/lPZbiAIhAKgOhfAQvOLVpGmqMnulLm0xuKpCJNF+VgfNybtAIbXI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94533},"type":"module","engines":{"node":">=20"},"gitHead":"60e8e68e9c86e8acbda93337d1ddbe34937b55d1","scripts":{"test":"python TEST_npm_service_plan/test_python_export_api.py && node TEST_npm_service_plan/test_node_scheduler.mjs && node TEST_npm_service_plan/test_node_cli.mjs && node TEST_remove_npm_sudo/test_npm_user_scope.mjs"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"_npmVersion":"11.9.0","description":"CLI service for exporting local AI chat sessions","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.1.0-alpha.1_1778555700055_0.28558560411474687","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@benryoung/cli-chat-exporter","version":"0.1.0","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.1.0","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"73917f45b9db387e5b07fcbc3e31dd3882844d3a","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.1.0.tgz","fileCount":23,"integrity":"sha512-feAywIm/+pQ8dd8uu1eWoep34eXbYRAczgyiZMNaP2SdyJ0GddxzP44HQ3Ervfph+z2Ukv5ptUibubbd+6oK+A==","signatures":[{"sig":"MEUCIDfpA0DYdfhtnzrnFtzahqDm7m83hufeBBJg0AFZ7PBpAiEAwtix+hpVOXcs/227pIpd8KzAdCePuSB6ntRP3dj7D50=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1396579},"type":"module","engines":{"node":">=20"},"scripts":{"test":"python tests/test_python_export_api.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.1.0_1778575881316_0.1580488577642778","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@benryoung/cli-chat-exporter","version":"0.2.0","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.2.0","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"09e13b169b4a3f3a88f5d84770a9485b5de3da5c","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.2.0.tgz","fileCount":23,"integrity":"sha512-CBltOh+rk1SYiVSOM5P48vLn973mw0HUFnvFHzkl0CTePCYMoSpfgWPeviAJ9QymZinpn6j/Qixd19LbzHES2Q==","signatures":[{"sig":"MEQCIBqJ7bdSJ/PicKpLWA5kBJhhg0dfzKVhMSfhiufVnDkSAiATeJKSCJClAfGSYOPD/2oVykYrOblZnxg55Fy+B+9t4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1405698},"type":"module","engines":{"node":">=20"},"scripts":{"test":"python tests/test_python_export_api.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.2.0_1778636219983_0.03748997113797903","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@benryoung/cli-chat-exporter","version":"0.2.1","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.2.1","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"c7076f5c3e40b0db28e0540cb3cd901ab05c1b6a","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.2.1.tgz","fileCount":23,"integrity":"sha512-4aX3t8dAW11gckFEgiOor98lVtMAGZrp6pkzZqKsYzsXgN9kxY38yFsQi6DtPXAw0K+k4L/F4XbX7XD3vak8aA==","signatures":[{"sig":"MEYCIQCJpG568igg/AG7yYPiPWZ3ZEE4zoP94H2yim/h4d207gIhAPdiR2VON1FakEB/nPSMDbeHmXiDfbag3k2/BuPmtHzh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1407512},"type":"module","engines":{"node":">=20"},"gitHead":"1ac67e7914f6c5965218cad3cefb70cbec71152e","scripts":{"test":"python tests/test_python_export_api.py && python tests/test_metadata_drift_support.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.2.1_1779420431094_0.09329243658901598","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@benryoung/cli-chat-exporter","version":"0.2.2","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.2.2","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"44543a46e106174ed1507095fe0394bf01002265","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.2.2.tgz","fileCount":23,"integrity":"sha512-SRyCEryy4ddV7bWGVv1n1q0KyDcqZO1LVOSBBRUGVxj6p7MEYWcMhZsV95Wv+4tuhmU4D6KoxwRDabazoGLFyQ==","signatures":[{"sig":"MEUCIQCu30zqP0uFAKPB9cCze+JQj8xsYW8gjfMUOeH8AzVCUAIgMV272QzgoCuB3UysK6q9ZZCIqoTPk9Ks08DQCTHpBWc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1408948},"type":"module","engines":{"node":">=20"},"gitHead":"018dc89b816c30c6105ea42b45720f401bd7c661","scripts":{"test":"python tests/test_python_export_api.py && python tests/test_metadata_drift_support.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.2.2_1779455467271_0.6181883627644293","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@benryoung/cli-chat-exporter","version":"0.3.0","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.3.0","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"3ffd36c5814f454e53d59eaaa9a8cd5d5f2f942a","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.3.0.tgz","fileCount":23,"integrity":"sha512-J7HksVECHUC8Th7SSkNRaovfvRLB4DDh3ARU+OBC88W6dVmDOv34Glu6f06uWkT3WIsyr4YJ1UMfyYCNs/iV4g==","signatures":[{"sig":"MEYCIQDnQBPB6esFY+htqVMjNLlQzIX370vtSyQv9lOUZymiOgIhAMddpMygQImFydoK/gP+vJVzRCXiSkbQGZYyt3s2aFIP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1409414},"type":"module","engines":{"node":">=20"},"gitHead":"c0a124381f3db84ed4e38a44724502fd5c3462a1","scripts":{"test":"python tests/test_python_export_api.py && python tests/test_metadata_drift_support.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.3.0_1779772584100_0.9826789181076807","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@benryoung/cli-chat-exporter","version":"0.3.1","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"license":"MIT","_id":"@benryoung/cli-chat-exporter@0.3.1","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"bin":{"cce":"bin/cce.js"},"dist":{"shasum":"48ca057622d0bdc796888560af3cc45dc6c4b97d","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.3.1.tgz","fileCount":23,"integrity":"sha512-0w+Ne9aqGuccBhqsrLt6aaxU/TO/He3ff7rriBgJF/TNM69/N/WbCIxOX1QOJFzwlcLRuxChnA/6z+A2d5GE6Q==","signatures":[{"sig":"MEUCIGe9U4eFv+t0VIn9Q5qzcRx2erz6+G/ps3rdplDgKcEqAiEAqTuFnKQ+JmVnX/jdGWJrYQ1rqfChEu9ahUtxkr6zzG4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1415776},"type":"module","engines":{"node":">=20"},"gitHead":"6d1d405a860231cea3c26a9773967e9256f38e06","scripts":{"test":"python tests/test_python_export_api.py && python tests/test_metadata_drift_support.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"repository":{"url":"git+https://github.com/benryoung/cli-chat-exporter.git","type":"git"},"_npmVersion":"11.9.0","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-chat-exporter_0.3.1_1780204936369_0.22971356226055284","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@benryoung/cli-chat-exporter","version":"0.3.2","type":"module","description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","license":"MIT","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"repository":{"type":"git","url":"git+https://github.com/benryoung/cli-chat-exporter.git"},"bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"homepage":"https://github.com/benryoung/cli-chat-exporter#readme","bin":{"cce":"bin/cce.js"},"scripts":{"test":"python tests/test_python_export_api.py && python tests/test_metadata_drift_support.py && node tests/test_node_scheduler.mjs && node tests/test_node_cli.mjs","pack:check":"npm pack --dry-run"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"gitHead":"dbbc5538ef4ce3f0a88368a4c7247dbcb58e202d","_id":"@benryoung/cli-chat-exporter@0.3.2","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-EbOMGksFK2h6rlv5RBGe6rsVlImBFNAqZGQGbggXTsZYFSlgse516fCO1Dde73f8qGOJ/SMAHYN1mHTFngHg/g==","shasum":"6614af4b2b860aee7b286abfe92330dc7e3ec303","tarball":"https://registry.npmjs.org/@benryoung/cli-chat-exporter/-/cli-chat-exporter-0.3.2.tgz","fileCount":23,"unpackedSize":1418881,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGP0J9fcq7pkdJ9shsDymOObUYsJVFKlsQpgaMaw5BP7AiBS5PqlYtM9hFwx5ILs12lte+VvaUZ+rERBYuS+xiFBbA=="}]},"_npmUser":{"name":"benryoung","email":"seikegn_yang@163.com"},"directories":{},"maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli-chat-exporter_0.3.2_1780223309040_0.8123085061558992"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-11T09:53:39.392Z","modified":"2026-05-31T10:28:29.405Z","0.1.0-alpha.0":"2026-05-11T09:53:39.603Z","0.1.0-alpha.1":"2026-05-12T03:15:00.237Z","0.1.0":"2026-05-12T08:51:21.533Z","0.2.0":"2026-05-13T01:37:00.195Z","0.2.1":"2026-05-22T03:27:11.339Z","0.2.2":"2026-05-22T13:11:07.491Z","0.3.0":"2026-05-26T05:16:24.328Z","0.3.1":"2026-05-31T05:22:16.581Z","0.3.2":"2026-05-31T10:28:29.280Z"},"bugs":{"url":"https://github.com/benryoung/cli-chat-exporter/issues"},"license":"MIT","homepage":"https://github.com/benryoung/cli-chat-exporter#readme","keywords":["codex","cursor","openclaw","chat-export","markdown","html","backup"],"repository":{"type":"git","url":"git+https://github.com/benryoung/cli-chat-exporter.git"},"description":"Local CLI and scheduler for exporting AI chat histories to Markdown and HTML","maintainers":[{"name":"benryoung","email":"seikegn_yang@163.com"}],"readme":"# CLI Chat Exporter\n\n[中文](README_zh.md)\n\n[![npm version](https://img.shields.io/npm/v/@benryoung/cli-chat-exporter.svg)](https://www.npmjs.com/package/@benryoung/cli-chat-exporter)\n[![CI](https://github.com/benryoung/cli-chat-exporter/actions/workflows/ci.yml/badge.svg)](https://github.com/benryoung/cli-chat-exporter/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nCLI Chat Exporter provides the `cce` command for exporting local AI assistant chat histories to readable Markdown and HTML archives.\n\nIt currently supports local histories from Codex, Cursor, and OpenClaw. The npm CLI is intentionally scoped to the current local user.\n\n## Preview\n\n| Format | Concise | Detail |\n| --- | --- | --- |\n| HTML | ![Concise HTML export](assets/screenshots/concise-html.png) | ![Detailed HTML export](assets/screenshots/detail-html.png) |\n| Markdown (previewed) | ![Concise Markdown preview](assets/screenshots/concise-md.png) | ![Detailed Markdown preview](assets/screenshots/detail-md.png) |\n\n## Installation\n\n```bash\nnpm install -g @benryoung/cli-chat-exporter\n```\n\nRequirements:\n\n- Node.js 20 or newer.\n- Python 3 available as `python3` or `python`, or configured through `CCE_PYTHON` / `runtime.python`.\n- Automatic local-user discovery uses native system paths; Windows currently auto-discovers Codex only.\n\n## Quick Start\n\n```bash\ncce help\ncce doctor\ncce config init # interactive setup, including scheduled service\ncce export --source all --format both --output ~/AIChatRecords # manual backup\n```\n\nThe default output directory is `~/AIChatRecords`. Each export writes both concise and detailed versions unless you choose a single format.\n\n## What It Exports\n\n`cce export` scans local session files for:\n\n- Codex\n- Cursor\n- OpenClaw\n\nSupported output formats:\n\n- Markdown (`.md`)\n- HTML (`.html`)\n- Both formats in one run\n\nEach session is exported as:\n\n- `*_concise`: user and assistant conversation content for reading and archiving.\n- `*_detail`: additional metadata, tool calls, events, and diagnostic context.\n\n## How It Works\n\n```text\nCurrent user home\n    |\n    +-- ~/.codex/sessions/...\n    +-- ~/.cursor/projects/...\n    +-- ~/.openclaw/agents/...\n            |\n            v\n    Python exporter core\n            |\n            v\n    Markdown / HTML archive files\n```\n\nThe npm package is a Node.js wrapper around the Python exporter core. Runtime logs are written outside the package directory under the configured state/log paths.\n\n## Commands\n\n```bash\ncce help\ncce version\ncce doctor\ncce export [--source all|codex|openclaw|cursor|auto] [--format both|html|md] [--output DIR] [--overwrite]\ncce config get\ncce config init\ncce config set [--source SOURCE] [--output DIR] [--earliest HH:MM] [--latest HH:MM] [--interval 1h] [--log-dir DIR]\ncce service run\ncce service start\ncce service stop\ncce service status\n```\n\n## Configuration\n\n```bash\ncce config get\ncce config init\ncce config set --output ~/AIChatRecords --source all --earliest 00:00 --latest 23:00 --interval 1h\n```\n\nConfiguration is stored at:\n\n```text\n~/.config/cce/config.json\n```\n\nRuntime state and logs default to:\n\n```text\n~/.local/state/cce/\n```\n\n## Scheduled Service\n\nStart a lightweight background scheduler:\n\n```bash\ncce service start\ncce service status\n```\n\nStop it:\n\n```bash\ncce service stop\n```\n\nThis is a user-level process, not a system service manager integration.\nIf npm removes or replaces the package while the scheduler is running, the background process detects the missing package files and exits.\n\n## Current-User Scope and Privacy\n\nThe npm CLI exports only the current local user's readable chat histories. It does not request elevated privileges, write sudoers rules, or attempt to read other users' home directories.\n\nAll processing is local. The tool does not upload chat records.\n\n## Advanced Python Usage\n\nThe underlying Python exporter still supports explicit user scope for local administrator workflows. For example, on a machine you administer:\n\n```bash\nsudo /path/to/python /path/to/chatManager/export_session.py --user all --format both --output /path/to/AIChatRecords\n```\n\nThis mode is intentionally not exposed through the npm CLI.\n\n## Troubleshooting\n\nCheck the runtime first:\n\n```bash\ncce doctor\n```\n\nIf `cce` cannot find Python, either install Python 3 or set:\n\n```bash\nexport CCE_PYTHON=/path/to/python\n```\n\nIf exports appear empty, verify that the current user has local histories under supported application directories.\n\n## Development\n\n```bash\nnpm test\nnpm run pack:check\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}