From dc24d3770ab1ea5f8724339adbccbf877af3dc0f Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Wed, 27 May 2026 17:51:17 -0700 Subject: [PATCH] Update Next.js package name --- packages/stack-shared/src/ai/unified-prompts/reminders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stack-shared/src/ai/unified-prompts/reminders.ts b/packages/stack-shared/src/ai/unified-prompts/reminders.ts index 00acc4719..1dc014f62 100644 --- a/packages/stack-shared/src/ai/unified-prompts/reminders.ts +++ b/packages/stack-shared/src/ai/unified-prompts/reminders.ts @@ -16,7 +16,7 @@ export const remindersPrompt = deindent` - Take extra care to always have great error handling and loading states whenever necessary (including in button onClick handlers; Hexclave's code examples often use a special onClick class which handles loading states, but your own button may not). Hexclave's SDK tends to return errors that need to be handled explicitly in its return types. - Language, framework, and library-specific details: - JavaScript & TypeScript: - - Hexclave has different SDK packages for different frameworks and languages. As of the time of writing these reminders, they are: @hexclave/js (JavaScript/TypeScript), @hexclave/stack (Next.js), @hexclave/react (React), @hexclave/tanstack-start (TanStack Start). You can find all of these on npm. They are all versioned together, meaning that vX.Y.Z of one SDK was released at the same time as vX.Y.Z of another SDK. For the most part, they are the same, although each has platform-specific features and differences. + - Hexclave has different SDK packages for different frameworks and languages. As of the time of writing these reminders, they are: @hexclave/js (JavaScript/TypeScript), @hexclave/next (Next.js), @hexclave/react (React), @hexclave/tanstack-start (TanStack Start). You can find all of these on npm. They are all versioned together, meaning that vX.Y.Z of one SDK was released at the same time as vX.Y.Z of another SDK. For the most part, they are the same, although each has platform-specific features and differences. - The \`Result\` type is \`{ status: "ok", data: T } | { status: "error", error: E }\`. - \`KnownErrors[KNOWN_ERROR_CODE]\` refers to a specific known error type. Each KnownError may have its own properties, but they all inherit from \`Error & { statusCode: number, humanReadableMessage: string, details?: Json }\`. - React & Next.js: