{"_id":"@allowly-ai/cli","_rev":"6-dad48bd602300073e163eab80f8495d1","name":"@allowly-ai/cli","dist-tags":{"bootstrap":"0.1.0-bootstrap.0","latest":"0.1.3"},"versions":{"0.1.0-bootstrap.0":{"name":"@allowly-ai/cli","version":"0.1.0-bootstrap.0","license":"MIT","_id":"@allowly-ai/cli@0.1.0-bootstrap.0","maintainers":[{"name":"yevgeny.alianov","email":"support@allowly.ai"}],"homepage":"https://github.com/Allowly-AI/allowly-cli#readme","bugs":{"url":"https://github.com/Allowly-AI/allowly-cli/issues"},"bin":{"allowly":"dist/index.js"},"dist":{"shasum":"82dd4453c79d6e554a7e1ae6ab0e528499eb98a4","tarball":"https://registry.npmjs.org/@allowly-ai/cli/-/cli-0.1.0-bootstrap.0.tgz","fileCount":4,"integrity":"sha512-fOtkUmb4ioQ4bs3XDW15kKB2DLuoPwcRsSD4t6/iJ03EB82HujJtr1rq3/ha3m1qHpq4YkxLUp/FlknjXEgiVQ==","signatures":[{"sig":"MEUCIDNLL4vgH0sNN/co7kZZiYgur34NtK+gcO91eDekp/z9AiEA0KTQ8t9VqTkScXbRWaZlylmDvd0VpKdvjjSFSDuif2c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36969},"type":"module","engines":{"node":">=20"},"gitHead":"4351b7b40796f9deea6763c3049492784b16ea8e","scripts":{"test":"vitest run","build":"tsup src/index.ts --format esm --clean","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"yevgeny.alianov","email":"support@allowly.ai"},"repository":{"url":"git+https://github.com/Allowly-AI/allowly-cli.git","type":"git"},"_npmVersion":"10.9.2","description":"Command-line setup tool for Allowly workspaces","directories":{},"_nodeVersion":"23.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^20.19.40"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0-bootstrap.0_1785385735531_0.6820804573776393","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@allowly-ai/cli","version":"0.1.1","license":"MIT","_id":"@allowly-ai/cli@0.1.1","maintainers":[{"name":"yevgeny.alianov","email":"support@allowly.ai"}],"homepage":"https://github.com/Allowly-AI/allowly-cli#readme","bugs":{"url":"https://github.com/Allowly-AI/allowly-cli/issues"},"bin":{"allowly":"dist/index.js"},"dist":{"shasum":"6c37899b88f8b2b682241bfac978c84c2090ccff","tarball":"https://registry.npmjs.org/@allowly-ai/cli/-/cli-0.1.1.tgz","fileCount":4,"integrity":"sha512-9sAvNGlFio7OLolkfzwIGqHqLpedI2CzTDlykP87bUhXX5zKQGHsaYRIG1GDk0KOl/KZbFaJPaHjskpjVt8U/w==","signatures":[{"sig":"MEUCIQDjMF0LpOkGmmpL339HKk8QVb1N2kccwoE1Uw1XLo+5mgIgRl6jv+m1bCdMx0/ePqJ66zKd8/DtJ3u+5M9aOWTXpVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allowly-ai%2fcli@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36957},"type":"module","engines":{"node":">=20"},"gitHead":"b24dac3ae0aa7b711bfbaab4b4c3a65e7d737ef3","scripts":{"test":"vitest run","build":"tsup src/index.ts --format esm --clean","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0ce44d7-cf02-4654-9099-0fd35ec94d15"}},"repository":{"url":"git+https://github.com/Allowly-AI/allowly-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"Command-line setup tool for Allowly workspaces","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^20.19.40"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1785386292024_0.03177159883161429","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@allowly-ai/cli","version":"0.1.2","license":"MIT","_id":"@allowly-ai/cli@0.1.2","maintainers":[{"name":"yevgeny.alianov","email":"support@allowly.ai"}],"homepage":"https://github.com/Allowly-AI/allowly-cli#readme","bugs":{"url":"https://github.com/Allowly-AI/allowly-cli/issues"},"bin":{"allowly":"dist/index.js"},"dist":{"shasum":"ab1f62adb85b9dd9e655887fbd713f5a73b0b581","tarball":"https://registry.npmjs.org/@allowly-ai/cli/-/cli-0.1.2.tgz","fileCount":4,"integrity":"sha512-+EWEXp+N1iiL6RDN2ymz2dEPF/Bing7onsbnGxbLXIIjAC+Jbi1/qHzrGKe3jiSj1qrb4jPu2zPfsgQx5hDzSw==","signatures":[{"sig":"MEUCIQDtn5QVqx934djEVig9jVgL0gLVK+3SgTkCKLLoe3MQeQIgAuLnBB6ipVFFVoieLC/1TSVWoNKneffXaxIugqAURPA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allowly-ai%2fcli@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41336},"type":"module","engines":{"node":">=20"},"gitHead":"4ce557a1b3ec6188f7a22d7dc1dc438497ba946b","scripts":{"test":"vitest run","build":"tsup src/index.ts --format esm --clean","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0ce44d7-cf02-4654-9099-0fd35ec94d15"}},"repository":{"url":"git+https://github.com/Allowly-AI/allowly-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"Command-line setup tool for Allowly workspaces","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^20.19.40"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.2_1785693322425_0.7338633815005848","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@allowly-ai/cli","version":"0.1.3","description":"Command-line setup tool for Allowly workspaces","type":"module","bin":{"allowly":"dist/index.js"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup src/index.ts --format esm --clean","test":"vitest run","typecheck":"tsc --noEmit","prepack":"npm run build"},"engines":{"node":">=20"},"repository":{"type":"git","url":"git+https://github.com/Allowly-AI/allowly-cli.git"},"devDependencies":{"@types/node":"^20.19.40","tsup":"^8.5.1","typescript":"^7.0.2","vitest":"^4.1.10"},"license":"MIT","gitHead":"8321921b59f8c879dbe23ae247bbfabd4e801724","_id":"@allowly-ai/cli@0.1.3","bugs":{"url":"https://github.com/Allowly-AI/allowly-cli/issues"},"homepage":"https://github.com/Allowly-AI/allowly-cli#readme","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-HRGhczd5Eu8GFwbxM3E1stk/en1l7HDb1j7YLL8L+0g128TwAfE/2PnU9V1+Wy3cpIXKtaLq9Vhwd56+dgY6lQ==","shasum":"9ef4eecf92001ee291b4d3939f534a42fd658442","tarball":"https://registry.npmjs.org/@allowly-ai/cli/-/cli-0.1.3.tgz","fileCount":4,"unpackedSize":42921,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allowly-ai%2fcli@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOPxDF/6VAUz+sqFtWhmP9d+bY7JeBB7lOGH9pXr2vIAIhAPELELm9f1VjgL/hAF8si3oJEh8gYXi3JICAHznchYlZ"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0ce44d7-cf02-4654-9099-0fd35ec94d15"}},"directories":{},"maintainers":[{"name":"yevgeny.alianov","email":"support@allowly.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.3_1787410893087_0.5624007899386934"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-30T04:28:55.334Z","modified":"2026-08-22T15:01:33.613Z","0.1.0":"2026-05-26T01:45:46.697Z","0.1.0-bootstrap.0":"2026-07-30T04:28:55.680Z","0.1.1":"2026-07-30T04:38:12.168Z","0.1.2":"2026-08-02T17:55:22.586Z","0.1.3":"2026-08-22T15:01:33.224Z"},"bugs":{"url":"https://github.com/Allowly-AI/allowly-cli/issues"},"license":"MIT","homepage":"https://github.com/Allowly-AI/allowly-cli#readme","repository":{"type":"git","url":"git+https://github.com/Allowly-AI/allowly-cli.git"},"description":"Command-line setup tool for Allowly workspaces","maintainers":[{"name":"yevgeny.alianov","email":"support@allowly.ai"}],"readme":"# Allowly CLI\n\nCommand-line setup tool for Allowly workspaces.\n\nUse it after a human creates an account and verifies email. Billing is not required for setup or the first successful runtime check; later new checks require a payment method. `allowly login` opens the dashboard, asks the signed-in owner to approve CLI access, then stores a local CLI credential in `~/.allowly/config.json` with owner-only permissions.\n\nAfter approval, the saved CLI credential can ask the app's AI drafting service for a local setup file:\n\n```bash\nallowly init --ai \"Allow listing calendar events and require confirmation before deleting events.\"\n```\n\nThis only writes `allowly.setup.json`. Review it first; the existing `actions apply` and `policies apply` commands create workspace resources.\n\nInstall the public npm package:\n\n```bash\nnpm install -g @allowly-ai/cli\n```\n\nThen:\n\n```bash\nallowly login\nallowly init --ai \"Allow listing calendar events and confirm before deleting events.\"\nallowly actions apply allowly.setup.json\nallowly policies apply allowly.setup.json\nallowly keys create --write-env .env.local --var ALLOWLY_API_KEY\nallowly setup guide\nallowly check --authorization-id auth_... --action web.search --runtime-env .env.local\n```\n\nUse `allowly init --use-case email-agent` instead when you want a built-in seed rather than AI drafting.\n\n`allowly login` talks to the dashboard app for browser approval and stores the public API URL returned by Allowly for setup calls. Use `--app-url` for local app development and `--api-url` only when you need to override the API URL written to the local CLI config.\n\n## Optional use-case seeds\n\n```bash\nallowly init --list-use-cases\nallowly init --use-case email-agent\nallowly init --use-case browser-agent\nallowly init --use-case client-intelligence\nallowly init --use-case hr-ops\nallowly init --use-case mcp-guardrails\nallowly init --use-case no-code-automation\nallowly init --manual\n```\n\nUse-case seeds are optional. If you already know your actions, create them first, then group them into policies per agent.\n\nCLI credentials can configure actions, policies, setup status, and runtime-key creation. They cannot call `/v1/check`, access billing, manage users, or change passwords.\n\nRuntime API keys are shown once. Write them to local env files or a secret manager; do not paste them into logs, tickets, or chat transcripts.\n\nUse `--write-env` for local env-file output. `--env-file` is intentionally not documented because recent Node versions reserve that flag for Node itself.\n\n`allowly check` is a runtime helper. It requires a runtime API key from `--api-key`, `ALLOWLY_API_KEY`, or `--runtime-env`; it does not use the CLI setup credential. Receipt signing still happens server-side in the Allowly API.\n\nThe command prints the runtime response unchanged. Signed receipts carry a\n`schema_version`; `alg` and `key_id` are signed top-level fields, and `signature` is the\nunpadded base64url string. Use an Allowly SDK verifier for offline verification.\n","readmeFilename":"README.md"}