Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
📌 chore: Re-Pin the ClickHouse Theme to Click UI v0.15.0 (#17356)
Marco Berettab793ab8bda7d
diff --git a/package.json b/package.jsonindex ff376a52b0..90f53f4c56 100644--- a/package.json+++ b/package.json@@ -119,6 +119,7 @@"lint:design:record": "npm run build:client-package && eslint --no-warn-ignored --suppress-rule shadcn/no-restyle --suppress-rule shadcn/no-raw-colors --suppress-rule shadcn/no-arbitrary-values --suppress-rule shadcn/no-inline-styles --suppress-rule shadcn/require-static-classes --suppress-rule shadcn/no-unknown-classes --suppress-rule design/disabled-recipe client/src packages/client/src packages/chat/src","lint:design:suppress": "(npm run --silent lint:design:record || node -e \"\") && npm run lint:design:prune","lint:design:prune": "npm run build:client-package && eslint --no-warn-ignored --prune-suppressions client/src packages/client/src packages/chat/src",+ "clickui:drift": "node scripts/clickui.mts","sort-imports": "node scripts/sort-imports.mts","sort-imports:check": "node scripts/sort-imports.mts --check","static-checks": "node scripts/static-checks.mts",diff --git a/packages/client/src/theme/themes/clickui.json b/packages/client/src/theme/themes/clickui.jsonindex 42097f0297..7e0542b794 100644--- a/packages/client/src/theme/themes/clickui.json+++ b/packages/client/src/theme/themes/clickui.json@@ -1,7 +1,7 @@{"source": "https://github.com/ClickHouse/click-ui",- "tag": "v0.14.0",- "commit": "c161141f4efc9fd8e8c951cd15a367d333902999",+ "tag": "v0.15.0",+ "commit": "00d99f9f10a070c5f6c79a3081fdd2a8de077f68","files": {"light": "src/theme/tokens/variables.light.ts","dark": "src/theme/tokens/variables.dark.ts"diff --git a/scripts/clickui.mts b/scripts/clickui.mtsnew file mode 100644index 0000000000..8950640f2b--- /dev/null+++ b/scripts/clickui.mts@@ -0,0 +1,33 @@+#!/usr/bin/env node+/**+ * Fails when the Click UI pin in the ClickHouse theme lags the latest stable+ * `@clickhouse/click-ui` release. Needs the npm registry, so it is a manual+ * check and not part of `static-checks`; the pin's shape is covered offline by+ * `clickui.spec.ts`.+ *+ * npm run clickui:drift+ *+ * To re-pin, follow the refresh steps in `clickui.spec.ts`.+ */++import { readFileSync } from 'node:fs';+import { fileURLToPath } from 'node:url';++const pinPath = fileURLToPath(+ new URL('../packages/client/src/theme/themes/clickui.json', import.meta.url),+);+const registry = 'https://registry.npmjs.org/@clickhouse%2fclick-ui/latest';++const { tag } = JSON.parse(readFileSync(pinPath, 'utf8')) as { tag: string };+const response = await fetch(registry);+if (!response.ok) {+ console.error(`Registry request failed: ${response.status}`);+ process.exit(2);+}+const { version } = (await response.json()) as { version: string };++if (tag !== `v${version}`) {+ console.error(`clickui.json is pinned to ${tag}; latest stable is v${version}.`);+ process.exit(1);+}+console.log(`clickui.json is current at ${tag}.`);