{"_id":"@ag-vibe/cli","_rev":"2-e1686c2781e9197c79638263de13dca1","name":"@ag-vibe/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"@ag-vibe/cli","version":"0.0.0","author":{"name":"ag-vibe"},"license":"MIT","_id":"@ag-vibe/cli@0.0.0","maintainers":[{"name":"wibus","email":"wibus@qq.com"}],"homepage":"https://github.com/ag-vibe/cli#readme","bugs":{"url":"https://github.com/ag-vibe/cli/issues"},"dist":{"shasum":"7ee5b032c37a15a49ee2a85c7d3ce47c0cca4b51","tarball":"https://registry.npmjs.org/@ag-vibe/cli/-/cli-0.0.0.tgz","fileCount":2,"integrity":"sha512-g597uE8in0kz+my7cFlV0wDNdP46iOFh/a1belDGa3wTiTatsmMSzb4h82nSXTgeCOXoV441iZw+s/RDg9qMPQ==","signatures":[{"sig":"MEYCIQD80T/JV1cTZviUWf/gRUZ+IS8h+WclYSsOByLZp61lYgIhANd5TKQ6cN8EGkVucmfh2KdE2BXLjlJ2HheBfh5H9oy0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2408},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.mjs","./cli":"./dist/cli.mjs","./package.json":"./package.json"},"gitHead":"cb650efc6984e5937bbbb6d37aa7955093274a00","scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","prepare":"vp config","prepublishOnly":"vp run build"},"_npmUser":{"name":"wibus","email":"wibus@qq.com"},"repository":{"url":"git+https://github.com/ag-vibe/cli.git","type":"git"},"_npmVersion":"11.11.0","description":"CLI for the ag-vibe allinone platform.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"yaml":"^2.8.1","commander":"^13.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.33.0","devDependencies":{"bumpp":"^11.0.1","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.0.0_1774942669810_0.596317069401666","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@ag-vibe/cli","version":"0.1.0","description":"CLI for the ag-vibe allinone platform.","homepage":"https://github.com/ag-vibe/cli#readme","bugs":{"url":"https://github.com/ag-vibe/cli/issues"},"license":"MIT","author":{"name":"ag-vibe"},"repository":{"type":"git","url":"git+https://github.com/ag-vibe/cli.git"},"bin":{"agv":"dist/cli.js"},"type":"module","exports":{".":"./dist/index.mjs","./cli":"./dist/cli.mjs","./package.json":"./package.json"},"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","dev":"vp pack --watch","test":"vp test","check":"vp check","prepublishOnly":"vp run build","prepare":"vp config"},"dependencies":{"commander":"^13.1.0","yaml":"^2.8.1"},"devDependencies":{"@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1","bumpp":"^11.0.1","typescript":"^6.0.2","vite-plus":"^0.1.14"},"engines":{"node":">=18"},"packageManager":"pnpm@10.33.0","gitHead":"49b94a62bf581605a6b66fb1c982e594d2fa9380","_id":"@ag-vibe/cli@0.1.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-4vGuNwH1oGhXNk6BKPa6RwSctCtu9ITpMIqEp8I9Z7CuPRALCqp/V789Li5zbK3sk/AE2lpNqfC3gGhIawVpvg==","shasum":"81e3aafabb0d09e8627c7f0a6fd4ca771bfd042f","tarball":"https://registry.npmjs.org/@ag-vibe/cli/-/cli-0.1.0.tgz","fileCount":8,"unpackedSize":53707,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ag-vibe%2fcli@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE3+7MKiU1MGG1xfp/3ryQh6pHbHpL7EIOesRosSAfVhAiBkLMcBeIJ7w4mOLhbJMwDZaSmYGa3TnjcEfsjRvPwxTg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e01e595-97bd-4159-86a2-ac4bbc552ef3"}},"directories":{},"maintainers":[{"name":"wibus","email":"wibus@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1774943775333_0.4465630944351422"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-31T07:37:49.731Z","modified":"2026-03-31T07:56:15.810Z","0.0.0":"2026-03-31T07:37:49.958Z","0.1.0":"2026-03-31T07:56:15.473Z"},"bugs":{"url":"https://github.com/ag-vibe/cli/issues"},"author":{"name":"ag-vibe"},"license":"MIT","homepage":"https://github.com/ag-vibe/cli#readme","repository":{"type":"git","url":"git+https://github.com/ag-vibe/cli.git"},"description":"CLI for the ag-vibe allinone platform.","maintainers":[{"name":"wibus","email":"wibus@qq.com"}],"readme":"# @ag-vibe/cli\n\nCLI for the ag-vibe platform. Play with your memos, todos, and more right from the terminal!\n\n## Usage\n\n- Run via `npx`:\n\n```bash\nnpx @ag-vibe/cli --help\n```\n\n- Common commands:\n\n```bash\n# Auth\nnpx @ag-vibe/cli auth login --token <token>\n\n# Status\nnpx @ag-vibe/cli status\n\n# Memo list\nnpx @ag-vibe/cli memo list --limit 20\n\n# Create memo\nnpx @ag-vibe/cli memo create --content '{\"text\":\"hello\"}' --plain-text \"hello\" --tag demo\n\n# Todo add\nnpx @ag-vibe/cli todo add \"buy milk\"\n\n# Raw API\nnpx @ag-vibe/cli api /memos -X GET -i\n```\n\n## Configuration\n\nEnvironment variables:\n\n- `AGV_API_URL`: Base API URL (default `https://allinone.wibus.ren/api/v1`, use `http://localhost:2910/api/v1` for dev)\n- `AGV_TIMEOUT_MS`: Request timeout in ms (default `15000`)\n- `AGV_TOKEN`: Auth token override\n- `AGV_OPENAPI_PATH`: Override OpenAPI spec path for command validation (default `specs/v1.yaml`)\n\nConfig file:\n\n- `agv config set api-url <url>`\n- `agv config set timeout <ms>`\n- `agv config set token <token>`\n\n## Completion\n\n```bash\nnpx @ag-vibe/cli completion bash\nnpx @ag-vibe/cli completion zsh\nnpx @ag-vibe/cli completion fish\n```\n\n## Development\n\n- Install dependencies:\n\n```bash\nvp install\n```\n\n- Run unit tests:\n\n```bash\nvp test\n```\n\n- Build the library:\n\n```bash\nvp pack\n```\n","readmeFilename":"README.md"}