Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ Before starting any work, familiarize yourself with the codebase by reviewing th

- **Pin comfygit-core to exact versions** - Always use `==X.Y.Z` (not `>=`) for the core dependency in pyproject.toml. This ensures reproducible builds and prevents unexpected breakage from core updates.

## Version Bump Protocol

When asked to "bump core and version" or similar, follow this sequence:

1. Bump `comfygit-core==X.Y.Z` in `pyproject.toml` dependencies
2. Bump `version` in `pyproject.toml`
3. `uv lock` - Update the lockfile
4. `cd frontend && npm run build` - Rebuild frontend (version is injected at build time)
5. Stage `pyproject.toml`, `uv.lock`, `js/`, `requirements.txt` and commit
6. Push to remote

## General
Don't make any implementation overly complex. This is a one-person dev MVP project.
We are still pre-customer - any unnecessary fallbacks, unnecessary versioning, testing overkill should be avoided.
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/composables/useComfyGitService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const USE_MOCK = isMockApi()
// generateUUID() only works in secure contexts (HTTPS/localhost)
function generateUUID(): string {
if (typeof crypto !== 'undefined' && crypto.randomUUID) {
return generateUUID()
return crypto.randomUUID()
}
// Fallback for non-secure contexts
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
Expand Down
Loading
Loading