{"_id":"@1mn/wizard","_rev":"3-bfe02894731c755b9cce7fb3de06c39f","name":"@1mn/wizard","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@1mn/wizard","version":"0.1.0","keywords":["1mn","wizard","setup","analytics","session-replay","error-tracking","ai-agents"],"author":{"name":"1mn"},"license":"MIT","_id":"@1mn/wizard@0.1.0","maintainers":[{"name":"1mn","email":"dan+1mn@leshem.co"}],"homepage":"https://github.com/usefulagents/1mn-sdk#readme","bugs":{"url":"https://github.com/usefulagents/1mn-sdk/issues"},"bin":{"1mn":"dist/bin.js"},"dist":{"shasum":"ed46ecabf92fd79d7f1f9369d6e409702213eae9","tarball":"https://registry.npmjs.org/@1mn/wizard/-/wizard-0.1.0.tgz","fileCount":8,"integrity":"sha512-ENE4nRrHknqHDIPKudgz0kK3uwFYyuRtTI8PKL3hxCNmwxXjjFnHW3SxkDdJUYs/mjWzWrIA2PlIUsaIj3tjcg==","signatures":[{"sig":"MEUCICQWDX58UzpYvLAApJaZtH+OIDc/RNlU9FVKHFDkMrazAiEA+6rG3oJOHN1SDX3NZ4FrFM29gXtlW949MuzWL49d1HQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42713},"type":"module","engines":{"node":">=20"},"gitHead":"f0188d706766adcbf7e3db118c90caf2173c275c","scripts":{"build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"1mn","email":"dan+1mn@leshem.co"},"repository":{"url":"git+https://github.com/usefulagents/1mn-sdk.git","type":"git","directory":"wizard"},"_npmVersion":"10.8.2","description":"Set your product on self-driving — the 1mn setup wizard. Installs the 1mn SDK, turns on signal sources, and wakes the Rangers, from one command: npx 1mn","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ink":"^6.0.0","open":"^10.1.0","react":"^19.0.0","@anthropic-ai/claude-agent-sdk":"^0.3.231"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.7.2","@types/node":"^22.0.0","@types/react":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard_0.1.0_1786704534005_0.8235648004317611","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@1mn/wizard","version":"0.2.0","keywords":["1mn","wizard","setup","analytics","session-replay","error-tracking","ai-agents","mcp"],"author":{"name":"1mn"},"license":"MIT","_id":"@1mn/wizard@0.2.0","maintainers":[{"name":"1mn","email":"dan+1mn@leshem.co"}],"homepage":"https://github.com/usefulagents/1mn-sdk#readme","bugs":{"url":"https://github.com/usefulagents/1mn-sdk/issues"},"bin":{"1mn":"dist/bin.js"},"dist":{"shasum":"cb61f50de65438e62b786370bfbaf21c1441eb64","tarball":"https://registry.npmjs.org/@1mn/wizard/-/wizard-0.2.0.tgz","fileCount":9,"integrity":"sha512-GG5FQqnGiiOdiNQGdiccORv6czswYeXlGRUYDg3w5b+RxBWOC3H4RF7eNix9tgiPl3/W+m7fGP8M/7TuKREaLQ==","signatures":[{"sig":"MEQCIBeTZdKJEfdBPEVijhR7Ix3h3mF44N20jUB/uCiBCDsQAiByMn8FnR7h84FVTlb2Ez8hjLb2XYRR6peMalOGsWt83w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49233},"type":"module","engines":{"node":">=20"},"gitHead":"f200fb4f1f135c5eb2f252bf5131c8a7d66da342","scripts":{"build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"1mn","email":"dan+1mn@leshem.co"},"repository":{"url":"git+https://github.com/usefulagents/1mn-sdk.git","type":"git","directory":"wizard"},"_npmVersion":"10.8.2","description":"Set your product on self-driving, or connect its Rangers and Tickets to Claude Code and Codex through MCP.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ink":"^6.0.0","open":"^10.1.0","react":"^19.0.0","@anthropic-ai/claude-agent-sdk":"^0.3.231"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.7.2","@types/node":"^22.0.0","@types/react":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wizard_0.2.0_1786791690268_0.06344787976513588","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@1mn/wizard","version":"0.2.1","publishConfig":{"access":"public"},"description":"Set your product on self-driving, or connect its Rangers and Tickets to Claude Code and Codex through MCP.","type":"module","bin":{"1mn":"dist/bin.js"},"engines":{"node":">=20"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"keywords":["1mn","wizard","setup","analytics","session-replay","error-tracking","ai-agents","mcp"],"author":{"name":"1mn"},"license":"MIT","homepage":"https://github.com/usefulagents/1mn-sdk#readme","repository":{"type":"git","url":"git+https://github.com/usefulagents/1mn-sdk.git","directory":"wizard"},"bugs":{"url":"https://github.com/usefulagents/1mn-sdk/issues"},"dependencies":{"@anthropic-ai/claude-agent-sdk":"^0.3.231","ink":"^6.0.0","open":"^10.1.0","react":"^19.0.0"},"devDependencies":{"@types/node":"^22.0.0","@types/react":"^19.0.0","tsup":"^8.3.5","typescript":"^5.7.2"},"_id":"@1mn/wizard@0.2.1","gitHead":"9ad527cc0aa23e4e55637c7ca5c32d502e2de51d","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-CQiDiN7CW7ytBk32AJC7ccGaNXKG21G53ZWnREzOR3x2PnxrmNc1Q8gkdOSqgWlJf/o0jvboAy7TeoyezD+nOw==","shasum":"4b9b95b087d2c979eb6e64186e9172625858beb5","tarball":"https://registry.npmjs.org/@1mn/wizard/-/wizard-0.2.1.tgz","fileCount":9,"unpackedSize":50635,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICRf0BFR7WktNj+I8vBEW8NkVpi/r7KYTraq1pac8SqCAiA7EnTyKKdfF/aXqaOEvx0IGB1cGxlz8sX5eXhEV4vUaw=="}]},"_npmUser":{"name":"1mn","email":"dan+1mn@leshem.co"},"directories":{},"maintainers":[{"name":"1mn","email":"dan+1mn@leshem.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wizard_0.2.1_1786794679534_0.62991139693706"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-14T10:48:53.872Z","modified":"2026-08-15T11:51:19.804Z","0.1.0":"2026-08-14T10:48:54.143Z","0.2.0":"2026-08-15T11:01:30.428Z","0.2.1":"2026-08-15T11:51:19.671Z"},"bugs":{"url":"https://github.com/usefulagents/1mn-sdk/issues"},"author":{"name":"1mn"},"license":"MIT","homepage":"https://github.com/usefulagents/1mn-sdk#readme","keywords":["1mn","wizard","setup","analytics","session-replay","error-tracking","ai-agents","mcp"],"repository":{"type":"git","url":"git+https://github.com/usefulagents/1mn-sdk.git","directory":"wizard"},"description":"Set your product on self-driving, or connect its Rangers and Tickets to Claude Code and Codex through MCP.","maintainers":[{"name":"1mn","email":"dan+1mn@leshem.co"}],"readme":"# 1mn — the setup wizard\n\n```bash\nnpx @1mn/wizard\n```\n\nSet your product on self-driving. One command in your project's repo:\n\n1. **Sign in** — approve a short code in your browser (OAuth device flow; works over SSH).\n2. **Read the project** — detects Next.js / Vite + React / CRA / plain HTML, your package manager, and monorepo sub-apps.\n3. **Install the SDK** — adds [`@1mn/react`](https://www.npmjs.com/package/@1mn/react) and wraps your app root (or injects the script snippet for non-React sites). No diff ceremony: it states intent, does it, and tells you exactly what it edited and how to revert.\n4. **Turn on signal sources** — errors · session replays · user feedback · web analytics.\n5. **Wake the Rangers** — agents on a schedule, watching those streams and filing evidence-backed tickets.\n6. **Connect GitHub** *(optional)* — so Rangers can open fix PRs, not just tickets.\n7. **Catch the first signal** — the run ends when a real event arrives, not when files are written.\n\n## Options\n\n| Flag | |\n|---|---|\n| `--host <url>` | 1mn server (default `https://1mn.ai`; env `ONEMN_WIZARD_HOST`) |\n| `--no-tui` | plain line output (automatic when stdout isn't a TTY / in CI) |\n| `--version`, `--help` | the usual |\n\nEnv: `ONEMN_WIZARD_VERIFY_TIMEOUT` — seconds to wait for the first event (default 300).\n\n## Notes\n\n- The auth token lives in memory for the one run and is revoked on exit. Nothing is written to `~/.`\n- Edits are conservative: every change anchors on an exact, unambiguous pattern; anything ambiguous becomes a printed TODO instead of a guess.\n- Requires Node ≥ 20.\n\n## Connect the 1mn MCP server\n\nConnect 1mn Rangers and Tickets to every detected Claude Code and Codex client:\n\n```bash\nnpx @1mn/wizard mcp add\n```\n\nThe wizard globally installs the `1mn-author-ranger` and `1mn-manage-tickets`\nskills for the detected clients, adds `https://1mn.ai/api/mcp/rangers` to each\nclient's user-level MCP configuration, then opens 1mn's native OAuth flow to\nsign in, approve access, and choose a workspace. Credentials refresh\nautomatically; no API token is copied into a config file.\n\nTarget one client with `--client claude-code` or `--client codex`. Use\n`--no-skills` to configure only MCP, or `--dry-run` to print the underlying\ncommands without changing anything.\n","readmeFilename":"README.md"}