{"_id":"@almyty/auth","_rev":"4-cab7906281276c84f2b8ba2b0b4e5efc","name":"@almyty/auth","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.0":{"name":"@almyty/auth","version":"0.1.0","keywords":["almyty","auth","login","oauth","cli"],"author":{"name":"almyty"},"license":"BSL-1.1","_id":"@almyty/auth@0.1.0","maintainers":[{"name":"fbandov","email":"frane.bandov@gmail.com"}],"bin":{"almyty-auth":"dist/index.js"},"dist":{"shasum":"c51a60bd648531321a83a7d1f7152e4dd956ba55","tarball":"https://registry.npmjs.org/@almyty/auth/-/auth-0.1.0.tgz","fileCount":8,"integrity":"sha512-jkAvnSocHF2bVRq4tGYndx9t3w9r2nPSWLEFkdmHbKnbYm01nNfO/6RKwiPDj9Adkrw+KGzRbs7K7XWXTFSDBg==","signatures":[{"sig":"MEYCIQDtmZxL/tLw6Da2V7Ng13wgf7F7/PgzrY8VCYaeVgoQvQIhAP1H5sUiaRzJbYaZVx7E49W/rwwXU/njHTGLxG3ISpWq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29509},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"e6616684270e09ed14ba5e101a78235e392ee43c","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsc","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"fbandov","email":"frane.bandov@gmail.com"},"_npmVersion":"11.11.0","description":"Browser-based login for almyty CLIs (skills, agents, chat, mcp-server)","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","vitest":"^4.1.0","typescript":"^5.3.0","@types/node":"^25.4.0"},"_npmOperationalInternal":{"tmp":"tmp/auth_0.1.0_1775926755091_0.5654683159439065","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@almyty/auth","version":"0.1.1","keywords":["almyty","auth","login","oauth","cli"],"author":{"name":"almyty"},"license":"BSL-1.1","_id":"@almyty/auth@0.1.1","maintainers":[{"name":"fbandov","email":"frane.bandov@gmail.com"}],"bin":{"almyty-auth":"dist/index.js"},"dist":{"shasum":"a6286ffdd936be105f884f224084e4307a58a556","tarball":"https://registry.npmjs.org/@almyty/auth/-/auth-0.1.1.tgz","fileCount":10,"integrity":"sha512-jophyJXBlRdelluanH+MFrZcl39YJ1ksC8f2ukq1+jnCRUct/X8LzydeV5MWdY2yM+kRqN2Ks13bslRcQIh8fg==","signatures":[{"sig":"MEUCIDQdW+FFO0xGzXADqYWSFAxSULOgHLeX8Wq7dUf7MZIGAiEA97vpRzkMc+4jBVsonhw7w3fqGd3BImsw4Wbx1mMC88w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31602},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"ba26dc233546f429054f01e253ba79fdc54152fb","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsc","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"fbandov","email":"frane.bandov@gmail.com"},"_npmVersion":"11.11.0","description":"Browser-based login for almyty CLIs (skills, agents, chat, mcp-server)","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","vitest":"^4.1.0","typescript":"^5.3.0","@types/node":"^25.4.0"},"_npmOperationalInternal":{"tmp":"tmp/auth_0.1.1_1776794661940_0.040460930718506205","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@almyty/auth","version":"0.1.2","keywords":["almyty","auth","login","oauth","cli"],"author":{"name":"almyty"},"license":"BSL-1.1","_id":"@almyty/auth@0.1.2","maintainers":[{"name":"fbandov","email":"frane.bandov@gmail.com"}],"bin":{"almyty-auth":"dist/index.js"},"dist":{"shasum":"d913801017b975e933d33cc33e9f9b83d9776a1f","tarball":"https://registry.npmjs.org/@almyty/auth/-/auth-0.1.2.tgz","fileCount":10,"integrity":"sha512-LIUSwL1FvT1UZM895TWOdFYT/s/RBIhyZTgq3vF4OqeTxU+YZdWgqHm3EjpSNo67yelA7VxIzmYjMVay5ux51Q==","signatures":[{"sig":"MEQCIDR0p3oTyw4HKRX4PfjtJaYReNT9Foh3JqmDhQ8ZIYR9AiBlRr9PfwlAc1JrYXvr93V5csaTFNg+17vUbtu/xdciSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31628},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8418c99a07a2511843e40595ed9f5a91120ae5b7","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsc && chmod +x dist/index.js","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"fbandov","email":"frane.bandov@gmail.com"},"_npmVersion":"11.11.0","description":"Browser-based login for almyty CLIs (skills, agents, chat, mcp-server)","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","vitest":"^4.1.0","typescript":"^5.3.0","@types/node":"^25.4.0"},"_npmOperationalInternal":{"tmp":"tmp/auth_0.1.2_1776806054255_0.7045356979421753","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@almyty/auth","version":"1.2.0","publishConfig":{"access":"public"},"description":"Browser-based login shared by every almyty CLI. Run it once and agents, chat, skills, and mcp-server all reuse the credentials.","type":"module","main":"dist/index.js","bin":{"almyty-auth":"dist/index.js"},"scripts":{"build":"tsc && chmod +x dist/index.js","dev":"tsx src/index.ts","test":"vitest run","test:watch":"vitest","prepublishOnly":"npm run build"},"keywords":["almyty","auth","login","oauth","cli"],"author":{"name":"almyty"},"license":"Apache-2.0","devDependencies":{"@types/node":"^25.4.0","tsx":"^4.7.0","typescript":"^5.3.0","vitest":"^4.1.0"},"homepage":"https://almyty.com","repository":{"type":"git","url":"git+https://github.com/almyty-inc/almyty.git","directory":"packages/auth-cli"},"bugs":{"url":"https://github.com/almyty-inc/almyty/issues"},"gitHead":"24a4a0a24f2da23983fbb5f9a854b9817147c05d","types":"./dist/index.d.ts","_id":"@almyty/auth@1.2.0","_nodeVersion":"24.18.0","_npmVersion":"12.0.1","dist":{"integrity":"sha512-mum9x1E6ycnTnUaSo9hlELAIO897WdB/CrjOco43fcHC3iYjcArJ1q4od/nbhdwFrcJa2YpEnvPbbn6EeCDczg==","shasum":"dcd3dc8239998e354fcb984cbb05112e9556862f","tarball":"https://registry.npmjs.org/@almyty/auth/-/auth-1.2.0.tgz","fileCount":10,"unpackedSize":33711,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@almyty%2fauth@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC/HbAxvr6ejGEzfSRbtj1i/RrWrUR7Kwrw/XQNS5s+jAiB7noFylog9DwYX3yv2uyDEBbv+gHSSRSCinXTai++f2w=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f80096cb-1088-4f10-8c99-eb5736baa9aa"}},"directories":{},"maintainers":[{"name":"fbandov","email":"frane.bandov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth_1.2.0_1784828589417_0.7310337833580383"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-11T16:59:14.974Z","modified":"2026-07-23T17:43:09.867Z","0.1.0":"2026-04-11T16:59:15.257Z","0.1.1":"2026-04-21T18:04:22.166Z","0.1.2":"2026-04-21T21:14:14.388Z","1.2.0":"2026-07-23T17:43:09.560Z"},"author":{"name":"almyty"},"license":"Apache-2.0","keywords":["almyty","auth","login","oauth","cli"],"description":"Browser-based login shared by every almyty CLI. Run it once and agents, chat, skills, and mcp-server all reuse the credentials.","maintainers":[{"name":"fbandov","email":"frane.bandov@gmail.com"}],"readme":"# @almyty/auth\n\nBrowser-based authentication for all almyty CLIs. Credentials are stored at `~/.almyty/credentials.json` (mode 0600) and shared by every almyty package.\n\n## Quick start\n\n```bash\n$ npx @almyty/auth login\n$ npx @almyty/auth whoami\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `login` | Open browser to authenticate, mint an API key, save credentials |\n| `logout` | Remove stored credentials |\n| `whoami` | Show current identity (API URL, token prefix) |\n\n## Login options\n\n| Flag | Description |\n|------|-------------|\n| `--token <T>` | Skip the browser and store a token directly (useful for CI) |\n| `--no-browser` | Print the login URL instead of opening the browser |\n| `--frontend <url>` | Custom frontend URL |\n| `--api <url>` | Custom API URL |\n\n## Environment variables\n\n| Variable | Description |\n|----------|-------------|\n| `ALMYTY_TOKEN` | Token override; takes precedence over credentials file |\n| `ALMYTY_URL` | API URL override |\n| `ALMYTY_FRONTEND_URL` | Frontend URL override (used when generating the login URL) |\n\n## How it works\n\n`login` runs entirely on your machine. It starts a loopback HTTP server, opens your browser to the almyty login page, and receives the token via POST body -- never in a URL. No password enters the CLI process.\n\n## About almyty\n\nalmyty is the full-stack platform for AI agents, agnostic by design: any LLM, any\nAPI turned into tools, served over MCP, A2A, UTCP, and Agent Skills. Open source,\nno lock-in.\n\n- Website — https://almyty.com\n- Docs — https://docs.almyty.com\n- Source — https://github.com/almyty-inc/almyty\n\nApache-2.0 © Almyty Inc.\n","readmeFilename":"README.md","homepage":"https://almyty.com","repository":{"type":"git","url":"git+https://github.com/almyty-inc/almyty.git","directory":"packages/auth-cli"},"bugs":{"url":"https://github.com/almyty-inc/almyty/issues"}}