diff --git a/apps/dashboard/src/app/api/development-environment/health/route.ts b/apps/dashboard/src/app/api/development-environment/health/route.ts index edaf56078..2ca83c5c1 100644 --- a/apps/dashboard/src/app/api/development-environment/health/route.ts +++ b/apps/dashboard/src/app/api/development-environment/health/route.ts @@ -17,9 +17,9 @@ function shellQuote(value: string): string { function devRestartCommand(configFilePath: string | undefined): string { if (configFilePath == null) { - return "stack dev --config-file -- "; + return "hexclave dev --config-file -- "; } - return `stack dev --config-file ${shellQuote(configFilePath)} -- `; + return `hexclave dev --config-file ${shellQuote(configFilePath)} -- `; } function healthResponse(body: HealthResponse, status: number): NextResponse { diff --git a/apps/dashboard/src/app/development-environment/browser-secret/page-client.tsx b/apps/dashboard/src/app/development-environment/browser-secret/page-client.tsx index 5d58c1d70..e14d1b0ac 100644 --- a/apps/dashboard/src/app/development-environment/browser-secret/page-client.tsx +++ b/apps/dashboard/src/app/development-environment/browser-secret/page-client.tsx @@ -114,7 +114,7 @@ export function BrowserSecretConfirmationPageClient() {

Authorize this browser

- This dashboard is reachable through a forwarded address. To keep it private, enter the 6-character confirmation code shown by the running stack dev command. + This dashboard is reachable through a forwarded address. To keep it private, enter the 6-character confirmation code shown by the running hexclave dev command.

{expiresText}

{ diff --git a/apps/dashboard/src/app/layout-client.tsx b/apps/dashboard/src/app/layout-client.tsx index 189c2c2ef..17421ed7b 100644 --- a/apps/dashboard/src/app/layout-client.tsx +++ b/apps/dashboard/src/app/layout-client.tsx @@ -94,7 +94,7 @@ async function refreshDevEnvironmentHealth() { } setSnapshotIfCurrent({ status: "unhealthy", - restartCommand: "stack dev --config-file -- ", + restartCommand: "hexclave dev --config-file -- ", }); } } diff --git a/docs-mintlify/guides/apps/authentication/cli-authentication.mdx b/docs-mintlify/guides/apps/authentication/cli-authentication.mdx index 2de0eb1df..288b20a51 100644 --- a/docs-mintlify/guides/apps/authentication/cli-authentication.mdx +++ b/docs-mintlify/guides/apps/authentication/cli-authentication.mdx @@ -7,7 +7,7 @@ sidebarTitle: CLI App Authentication If you're building your own command-line application, you can use Hexclave to let users log in from a terminal. - This page is about adding authentication to your own CLI app. For the official `stack` command, see the [Stack CLI guide](/guides/going-further/cli). + This page is about adding authentication to your own CLI app. For the official Hexclave CLI, see the [Hexclave CLI guide](/guides/going-further/cli). To do so, we provide a Python template that you can use as a starting point. [Download it here](https://github.com/hexclave/hexclave/tree/main/docs/public/stack-auth-cli-template.py) and copy it into your project, for example: diff --git a/docs-mintlify/guides/going-further/cli.mdx b/docs-mintlify/guides/going-further/cli.mdx index 6f3d3ce40..d85dfec05 100644 --- a/docs-mintlify/guides/going-further/cli.mdx +++ b/docs-mintlify/guides/going-further/cli.mdx @@ -1,7 +1,7 @@ --- -title: "Stack CLI" +title: "Hexclave CLI" description: "Use the Hexclave CLI to manage config and run admin scripts" -sidebarTitle: "Stack CLI" +sidebarTitle: "Hexclave CLI" --- import { hexclaveAgentRemindersText } from "/snippets/hexclave-agent-reminders.jsx"; diff --git a/docs-mintlify/guides/going-further/local-vs-cloud-dashboard.mdx b/docs-mintlify/guides/going-further/local-vs-cloud-dashboard.mdx index bf5698cbd..d16383fd9 100644 --- a/docs-mintlify/guides/going-further/local-vs-cloud-dashboard.mdx +++ b/docs-mintlify/guides/going-further/local-vs-cloud-dashboard.mdx @@ -8,7 +8,7 @@ Hexclave has two common ways to work with a project: | Option | Best for | How it is configured | | --- | --- | --- | -| Local dashboard | Development | A local `hexclave.config.ts` file plus `stack dev --config-file ...`. | +| Local dashboard | Development | A local `hexclave.config.ts` file plus `hexclave dev --config-file ...`. | | Cloud dashboard | Production | A hosted project on [app.hexclave.com](https://app.hexclave.com) with project ID and keys in your app environment. | ## Development Environment @@ -33,13 +33,13 @@ export const config: HexclaveConfig = "show-onboarding"; ```json title="package.json" { "scripts": { - "dev": "stack dev --config-file ./hexclave.config.ts -- npm run dev:inner", + "dev": "hexclave dev --config-file ./hexclave.config.ts -- npm run dev:inner", "dev:inner": "" } } ``` -For the full config file reference, see [`hexclave.config.ts`](/guides/going-further/hexclave-config). For CLI details, see [Stack CLI](/guides/going-further/cli). +For the full config file reference, see [`hexclave.config.ts`](/guides/going-further/hexclave-config). For CLI details, see [Hexclave CLI](/guides/going-further/cli). ## Cloud Dashboard diff --git a/examples/demo/hexclave.config.ts b/examples/demo/hexclave.config.ts index 31eb9b93b..01405a0cb 100644 --- a/examples/demo/hexclave.config.ts +++ b/examples/demo/hexclave.config.ts @@ -2,7 +2,7 @@ * Hexclave project configuration as code (demo app). * * Source of truth for RBAC permissions/roles, auth methods, OAuth providers, - * sign-up rules, API keys, and payment plans. The Hexclave CLI (`stack dev`) + * sign-up rules, API keys, and payment plans. The Hexclave CLI (`hexclave dev`) * bundles + executes this file and provisions the project to match. * * It's wrapped in `defineHexclaveConfig(...)`, so the shared-backend config updater takes diff --git a/packages/cli/src/lib/dev-env-state.test.ts b/packages/cli/src/lib/dev-env-state.test.ts index 0b32f4379..3d09cb8bd 100644 --- a/packages/cli/src/lib/dev-env-state.test.ts +++ b/packages/cli/src/lib/dev-env-state.test.ts @@ -131,7 +131,7 @@ describe("dev env state", () => { } // A hand-edited / cross-version file with a non-string version would // otherwise reach parseVersionCore (version.trim()) and throw, crashing - // `stack dev` outside the auto-update fail-open guard. Drop the entry. + // `hexclave dev` outside the auto-update fail-open guard. Drop the entry. writeFileSync(statePath, JSON.stringify({ version: 1, localDashboardsByPort: { "26700": { port: 26700, secret: "s", pid: 999, startedAtMillis: 1, version: 2 } }, diff --git a/packages/shared/src/helpers/init-prompt.ts b/packages/shared/src/helpers/init-prompt.ts index 23a0a52e9..ce5e49e76 100644 --- a/packages/shared/src/helpers/init-prompt.ts +++ b/packages/shared/src/helpers/init-prompt.ts @@ -9,7 +9,7 @@ The Hexclave CLI already created or linked this project to a local Hexclave deve ${configPath} \`\`\` -Do not create or link another Hexclave project. When the SDK setup instructions mention creating \`stack.config.ts\` or wrapping the dev script with \`stack dev --config-file\`, use the config file path above. +Do not create or link another Hexclave project. When the SDK setup instructions mention creating \`hexclave.config.ts\` or wrapping the dev script with \`hexclave dev --config-file\`, use the config file path above. `; }