From 67f8e92e37e4b96ba111ccda51f856d9567845e4 Mon Sep 17 00:00:00 2001 From: akatz-ai Date: Sat, 13 Dec 2025 12:28:20 -0800 Subject: [PATCH] fix: disable mock API by default and update org to comfygit-ai - Flip mock API default: now requires explicit VITE_USE_MOCK_API=true - Add pre-commit hook to detect mock-enabled builds (>850KB threshold) - Update all org references from comfyhub-org to comfygit-ai - Rebuild frontend with mock disabled and new URLs Context: ctx://b8a6c4ebc56ed156/25a65147-bc7c-40f3-9804-7e07e73aa505 --- .github/workflows/publish.yml | 2 +- README.md | 6 +++--- frontend/src/constants/social.ts | 4 ++-- js/comfygit-panel.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 680f59e..1051fd0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest if: | github.event.repository.fork == false && - github.repository_owner == 'comfyhub-org' && + github.repository_owner == 'comfygit-ai' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true) outputs: version: ${{ steps.version.outputs.version }} diff --git a/README.md b/README.md index 6161cac..570cca4 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ For installation and setup instructions, visit the **[ComfyGit Documentation](ht | Package | Description | |---------|-------------| -| [comfygit](https://github.com/comfyhub-org/comfygit) | CLI tool for terminal workflows | +| [comfygit](https://github.com/comfygit-ai/comfygit) | CLI tool for terminal workflows | | comfygit-core | Core Python library | | **comfygit-manager** | Visual control panel (this repo) | @@ -74,10 +74,10 @@ For installation and setup instructions, visit the **[ComfyGit Documentation](ht ## Community -[![Sponsor](https://img.shields.io/badge/Sponsor-ComfyHub-ea4aaa?logo=github-sponsors)](https://github.com/sponsors/comfyhub-org) +[![Sponsor](https://img.shields.io/badge/Sponsor-ComfyGit-ea4aaa?logo=github-sponsors)](https://github.com/sponsors/comfygit-ai) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/2h5rSTeh6Y) [![X](https://img.shields.io/badge/X-@akatz__ai-000000?logo=x)](https://x.com/akatz_ai) -[![GitHub](https://img.shields.io/badge/GitHub-comfyhub--org-181717?logo=github)](https://github.com/comfyhub-org/comfygit) +[![GitHub](https://img.shields.io/badge/GitHub-comfygit--ai-181717?logo=github)](https://github.com/comfygit-ai/comfygit) --- diff --git a/frontend/src/constants/social.ts b/frontend/src/constants/social.ts index 66e40f9..7ccdf56 100644 --- a/frontend/src/constants/social.ts +++ b/frontend/src/constants/social.ts @@ -18,7 +18,7 @@ export interface SocialLink { export const SOCIAL_LINKS: SocialLink[] = [ { id: 'sponsor', - url: 'https://github.com/sponsors/comfyhub-org', + url: 'https://github.com/sponsors/comfygit-ai', title: 'Sponsor ComfyHub', ariaLabel: 'Sponsor ComfyHub on GitHub', iconPath: 'M8 14s-5.5-3.5-5.5-7A3.5 3.5 0 0 1 6 3.5c1.1 0 2 .5 2 .5s.9-.5 2-.5a3.5 3.5 0 0 1 3.5 3.5c0 3.5-5.5 7-5.5 7z', @@ -40,7 +40,7 @@ export const SOCIAL_LINKS: SocialLink[] = [ }, { id: 'github', - url: 'https://github.com/comfyhub-org/comfygit', + url: 'https://github.com/comfygit-ai/comfygit', title: 'View on GitHub', ariaLabel: 'View ComfyGit on GitHub', iconPath: 'M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z', diff --git a/js/comfygit-panel.js b/js/comfygit-panel.js index b74596d..f6f6449 100644 --- a/js/comfygit-panel.js +++ b/js/comfygit-panel.js @@ -20152,7 +20152,7 @@ const MS = { class: "settings-content" }, DS = { class: "settings-section" }, LS }), S6 = /* @__PURE__ */ pe(x6, [["__scopeId", "data-v-7cad7518"]]), I6 = [ { id: "sponsor", - url: "https://github.com/sponsors/comfyhub-org", + url: "https://github.com/sponsors/comfygit-ai", title: "Sponsor ComfyHub", ariaLabel: "Sponsor ComfyHub on GitHub", iconPath: "M8 14s-5.5-3.5-5.5-7A3.5 3.5 0 0 1 6 3.5c1.1 0 2 .5 2 .5s.9-.5 2-.5a3.5 3.5 0 0 1 3.5 3.5c0 3.5-5.5 7-5.5 7z", @@ -20174,7 +20174,7 @@ const MS = { class: "settings-content" }, DS = { class: "settings-section" }, LS }, { id: "github", - url: "https://github.com/comfyhub-org/comfygit", + url: "https://github.com/comfygit-ai/comfygit", title: "View on GitHub", ariaLabel: "View ComfyGit on GitHub", iconPath: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"