@soloworks/smking-wizard
v0.10.0
Published
Page Zero OAuth connection, shared public guides and installed SDK diagnostics. No embedded AI or automatic installation.
Maintainers
Readme
Page Zero CLI
0.10.0 replaces the legacy embedded AI wizard. Node 20.10+ is required. Only OAuth connection, public guides and installed SDK diagnostics remain. No Ink/React UI, model calls, package installation, automatic repair, host scheduling or deployment.
pnpm dlx @soloworks/smking-wizard@latest --help
pnpm dlx @soloworks/smking-wizard@latest connect --site-url=https://your-site.example
pnpm dlx @soloworks/smking-wizard@latest instructions --framework=laravel
pnpm dlx @soloworks/smking-wizard@latest doctor --json --surfaces=aeo,cms
pnpm dlx @soloworks/smking-wizard@latest connect --dry-runThe default command is connect. Browser OAuth selects a workspace and site; an interactive terminal is required to confirm local settings. Production-like environments and dirty Git trees are refused unless explicitly overridden with --allow-prod / --allow-dirty. These overrides do not skip confirmation. Use the actual website HTTPS origin, never a Git remote URL. SMKING_SAAS_URL selects the backend; default: https://getpagezero.com. Only HTTPS origins are accepted, except loopback HTTP for local development. Set SMKING_WIZARD_CLIENT_ID only when the backend explicitly uses another public client.
connect only writes SMKING_API_KEY, SMKING_BASE_URL, SMKING_WEBHOOK_SECRET and, when configured by the same source, SMKING_DELIVERY_NOTIFICATIONS_SCOPE. Laravel uses .env; Next.js uses .env.local. Differing values require confirmation. Unrelated settings and existing file permissions are preserved. New files are 0600; symlinks, duplicate managed settings and files owned by another user are refused. In a Git repository the environment file must also be ignored and untracked; the CLI refuses unsafe files without editing .gitignore or removing tracked data. Tokens stay in memory. Delivery mode, CMS path, resources, scheduling and installation are handled by your own coding assistant according to the shared public guide.
instructions fetches /docs/sdk/laravel.md or /docs/sdk/nextjs.md from the selected backend without authentication. It never executes Markdown or includes private settings. These publicly served files are the single installation source shared by Dashboard and CLI; the private GitHub repository is not a customer documentation endpoint.
doctor invokes the installed artisan command or the installed Next.js SDK binary. It never uses dlx or downloads a missing SDK. It can perform the SDK's normal diagnostic network checks. JSON output is redacted; doctor passing is not delivery activation. --dry-run on any command performs only local inspection, without OAuth, network or writes. --help and --version work offline and do not load the OAuth browser opener.
Existing SDKs, WordPress OAuth and historical report data are unchanged. Legacy wizard gateway, install-prompt and AI failure-report submission are removed; old CLI versions must upgrade. Install the new SaaS endpoints and public guides before publishing CLI 0.10.0, and coordinate Dashboard deployment with the registry release.
The public guides distinguish Laravel durable copies/background work from Next.js native cache/webhook/CDN. No customer database is required.
