{"_id":"@auto-social-io/cli","_rev":"6-6c2a65bf8fa4a6fd40c7edc457ff1ea4","name":"@auto-social-io/cli","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@auto-social-io/cli","version":"0.1.0","license":"MIT","_id":"@auto-social-io/cli@0.1.0","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"bin":{"auto-social":"dist/index.js"},"dist":{"shasum":"346924f4053cdb88e0a44ad00ff5f1428fd97b67","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.0.tgz","fileCount":3,"integrity":"sha512-/+oVzsnwec5H+pD2KEnF5QmDLs0BrFEGQf6XI23cxQzR04jCzv0++s8UNaRXGuBWN/30PiYuLuUy8b5+ie7JUA==","signatures":[{"sig":"MEYCIQDPQz0weJ5XXk3x6PZX3GiAuv1ClXKXu5uSa3wGxKEXWgIhAJSak2hR+Ia8mdJD/YI/yxcVg1iS8hC1jXVRtxlpRPy1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4076},"type":"module","engines":{"node":">=20"},"gitHead":"fc5b864d02648bbff9987c237507ad358ba8a9f9","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"_npmVersion":"11.16.0","description":"CLI for auto-social.io agents","directories":{},"_nodeVersion":"24.18.0","dependencies":{"commander":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1787784069624_0.36297663355149945","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@auto-social-io/cli","version":"0.1.1","license":"MIT","_id":"@auto-social-io/cli@0.1.1","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"bin":{"auto-social":"dist/index.js"},"dist":{"shasum":"256ae1ba81fa839355fb64877d6f8db1b22f37e8","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.1.tgz","fileCount":4,"integrity":"sha512-EzyZCKbIaFeAurXLneYgiATXdzkXLCU0kqvZmNrd1qsipg3qUQBt1ZAS8bwnEfzh8QbijChPepJwj7PKiIqjLg==","signatures":[{"sig":"MEUCIQC26SbADypys8IYaPFb6sBdOVboxj6t22j/Fmxjyw9fdQIgSPE8gTXK+3t7DlXwT3up4uG/NPhme3jNCivDLJ8sMm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6042},"type":"module","engines":{"node":">=20"},"gitHead":"fc5b864d02648bbff9987c237507ad358ba8a9f9","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"_npmVersion":"11.16.0","description":"CLI for auto-social.io agents","directories":{},"_nodeVersion":"24.18.0","dependencies":{"commander":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1787784236613_0.6097682866139951","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@auto-social-io/cli","version":"0.1.2","license":"MIT","_id":"@auto-social-io/cli@0.1.2","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"bin":{"auto-social":"dist/index.js"},"dist":{"shasum":"c5599d17dbc472a243cf5971cb82be6f682a0393","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.2.tgz","fileCount":4,"integrity":"sha512-hBAGtvdOngJkgemHtRjKlMjK1brVJXfq8W/vCw5iV4lvIx3vMsAXJnJmHhxZJse3GMehizN+3tX5TCFFoZem0g==","signatures":[{"sig":"MEUCIQDr9gcq6I6C1cIX5ohBXFe5RThwyVsFDxtbw7GjcdcXWgIgTeuEDH0MxeqE2xyZJPYuI35kVZEqU3IZP8ej8I1pS+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7481},"type":"module","engines":{"node":">=20"},"gitHead":"8900525e9c562edcf0da6efb88c0f8f88a366c75","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"_npmVersion":"11.16.0","description":"CLI for auto-social.io agents","directories":{},"_nodeVersion":"24.18.0","dependencies":{"commander":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^26.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.2_1787786768498_0.3653332876594546","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@auto-social-io/cli","version":"0.1.4","license":"MIT","_id":"@auto-social-io/cli@0.1.4","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"bin":{"auto-social":"dist/index.js"},"dist":{"shasum":"b876a3586264fad0194cf57174fa79b1d556c4e1","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.4.tgz","fileCount":4,"integrity":"sha512-qMd9dLbDAWiyKGkZM0dEcf7kFbBpOQkJbmVYgu3Uq+LEoTvxcEI5+TdcCe6B4G8IYpQ1zJqOnpUS56k6Md0GyQ==","signatures":[{"sig":"MEQCIEssE0ZBt1nxhr7mtdHdvKyOvuAzDGUEh/Eq0clr3kUBAiAMnqMxB56CVPLU5aruIy7/5XSOHfxEkDQVhH+i662eQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14613},"type":"module","engines":{"node":">=20"},"gitHead":"167648b056664d72baef3fefbb92d2d0873b2c4b","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"_npmVersion":"11.16.0","description":"CLI for auto-social.io agents","directories":{},"_nodeVersion":"24.18.0","dependencies":{"commander":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^26.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.4_1788188748273_0.5389066941042184","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@auto-social-io/cli","version":"0.1.5","license":"MIT","_id":"@auto-social-io/cli@0.1.5","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"bin":{"auto-social":"dist/index.js"},"dist":{"shasum":"395ec30f3de912dc8e31d887916ba3ae49f033a1","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.5.tgz","fileCount":4,"integrity":"sha512-5cufaK3ndWooHOs+5BHxyGb1hB5FgzmdWG7I9ydohi+vrFKIcUVrg6kameV33qjDhNzDcx3AQQ1mYS/PzBhaog==","signatures":[{"sig":"MEUCIEhrdt9T4mHeTmq6rIATzXHZYmjZccwgLfOEFj0mJgH7AiEA/2EX++ZrD8cbGISLs9QL5RAm0iE3U3v8ZzTTZ/3Cz+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15038},"type":"module","engines":{"node":">=20"},"gitHead":"b0abdaf594f18bd690a7fb1b89cc694ac8db8328","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"_npmVersion":"11.16.0","description":"CLI for auto-social.io agents","directories":{},"_nodeVersion":"24.18.0","dependencies":{"commander":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^26.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.5_1788224513957_0.27584121916569737","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@auto-social-io/cli","version":"0.1.6","description":"CLI for auto-social.io agents","type":"module","bin":{"auto-social":"dist/index.js"},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"engines":{"node":">=20"},"dependencies":{"commander":"^14.0.0"},"devDependencies":{"@types/node":"^26.3.0","typescript":"^5.9.0"},"publishConfig":{"access":"public"},"license":"MIT","gitHead":"71918ee5a1629b4bb94970c72ac214db7016fbee","_id":"@auto-social-io/cli@0.1.6","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-gzmO86qcUI//Q5ZlzV0AlDiv/hrYdKC9vrVVfN9rnG8EeAqtpOuy/R3Q47pjD0pzvGBfUvcXVd7W9FJzGFiTBA==","shasum":"93a479e55aef4f651417766f2ebd08ecbd6724df","tarball":"https://registry.npmjs.org/@auto-social-io/cli/-/cli-0.1.6.tgz","fileCount":4,"unpackedSize":15577,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC4WCB3MrfDMOU+Kp3DV5Kl9oAZw7s7pie390btFYZo6QIhAJ8Z5e1WcmYJwJNkt8BApbfFrICcwELH2iBJY+TrVPIF"}]},"_npmUser":{"name":"auto-social","email":"autosocialioapp@gmail.com"},"directories":{},"maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.6_1788378003469_0.2913620632431093"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T22:41:09.401Z","modified":"2026-09-02T19:40:03.834Z","0.1.0":"2026-08-26T22:41:09.773Z","0.1.1":"2026-08-26T22:43:56.765Z","0.1.2":"2026-08-26T23:26:08.628Z","0.1.4":"2026-08-31T15:05:48.426Z","0.1.5":"2026-09-01T01:01:54.134Z","0.1.6":"2026-09-02T19:40:03.623Z"},"license":"MIT","description":"CLI for auto-social.io agents","maintainers":[{"name":"auto-social","email":"autosocialioapp@gmail.com"}],"readme":"# auto-social.io CLI\n\nCommand-line interface for auto-social.io agents.\n\n## Requirements\n\n- Node.js 20 or newer\n- An auto-social.io API key\n\n## Installation\n\n```bash\nnpm install -g @auto-social-io/cli\n```\n\nYou can also run the CLI without installing it globally:\n\n```bash\nnpx @auto-social-io/cli --help\n```\n\n## Authentication\n\nCreate an API key in auto-social.io under **Account, Agent access**, then save it locally:\n\n```bash\nauto-social login --key ask_your_api_key\n```\n\nFor a self-hosted or local API, provide a custom base URL:\n\n```bash\nauto-social login --key ask_your_api_key --url https://auto-social.io\n```\n\nThe CLI stores credentials in `~/.auto-social/config.json`.\n\nFor CI or temporary sessions, use environment variables instead:\n\n```bash\nexport AUTO_SOCIAL_API_KEY=\"ask_your_api_key\"\nexport AUTO_SOCIAL_URL=\"https://auto-social.io\"\n```\n\n## Commands\n\nList campaigns:\n\n```bash\nauto-social campaigns list\nauto-social campaigns list --status active\nauto-social campaigns list --detailed\nauto-social campaigns get --id CAMPAIGN_UUID\nauto-social campaigns pause --id CAMPAIGN_UUID\nauto-social campaigns resume --id CAMPAIGN_UUID\n```\n\nList, inspect, and create posts:\n\n```bash\nauto-social posts list\nauto-social posts get --id POST_UUID\nauto-social posts create --title \"Launch note\" --body \"We shipped.\"\n```\n\nGenerate media on a draft post:\n\n```bash\nauto-social call generate_image_asset --json '{\n  \"post_id\": \"POST_UUID\",\n  \"prompt\": \"Minimal product photo on white background\",\n  \"publicationType\": \"instagram_post\",\n  \"aspectRatio\": \"1:1\"\n}'\nauto-social call generate_social_copy --json '{\n  \"post_id\": \"POST_UUID\",\n  \"brief\": \"Announce our summer sale with urgency and a clear CTA\",\n  \"publicationType\": \"instagram_post\"\n}'\n```\n\nList publications and diagnose failures:\n\n```bash\nauto-social publications list --provider instagram\nauto-social publications diagnose --id PUBLICATION_UUID\n```\n\nPlan and credits:\n\n```bash\nauto-social account\n```\n\nList connected social accounts:\n\n```bash\nauto-social integrations\nauto-social integrations --detailed\n```\n\nSearch product help docs:\n\n```bash\nauto-social docs --query \"credits plans\"\nauto-social docs --query \"instagram carousel ratio\" --detailed\n```\n\nQueue a post for publishing:\n\n```bash\nauto-social publish \\\n  --post-id POST_UUID \\\n  --integration-id INTEGRATION_UUID\n```\n\nRepeat `--integration-id` to publish to multiple integrations:\n\n```bash\nauto-social publish \\\n  --post-id POST_UUID \\\n  --integration-id FIRST_INTEGRATION_UUID \\\n  --integration-id SECOND_INTEGRATION_UUID \\\n  --idempotency-key UNIQUE_REQUEST_KEY\n```\n\nOn a TTY, sensitive actions prompt for the 6-digit confirmation code. In CI, pass it explicitly:\n\n```bash\nauto-social publish \\\n  --post-id POST_UUID \\\n  --integration-id INTEGRATION_UUID \\\n  --confirmation-code 123456\n```\n\nInvoke any registry tool:\n\n```bash\nauto-social call create_campaign --json '{\"name\":\"Weekly tips\"}'\nauto-social call list_posts --json '{\"status\":\"draft\"}' --detailed\nauto-social call search_docs --json '{\"query\":\"credits plans\"}' --detailed\n```\n\nUse `--help` with any command for its available options:\n\n```bash\nauto-social --help\nauto-social campaigns --help\nauto-social posts --help\nauto-social publish --help\n```\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnode dist/index.js --help\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}