mirror of
https://github.com/Comfy-Org/comfy-swift-sdk.git
synced 2026-11-04 23:47:26 +00:00
[PR #10] [MERGED] Public release prep: license, README, comment purge, DocC docs #15
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-swift-sdk#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-swift-sdk/pull/10
Author: @mattmillerai
Created: 6/21/2026
Status: ✅ Merged
Merged: 6/21/2026
Merged by: @mattmillerai
Base:
main← Head:chore/public-release-prep📝 Commits (5)
62b57fbchore: add Apache-2.0 license and NOTICE498a650docs: rewrite README with branding, badges, and quick start03b1d09refactor: strip internal planning comments from SDK sources and testsb79e7f0docs: add DocC reference docs to ComfyCloudClient public API0d79e34refactor: strip comments from #8-updated files; README + lint fixups📊 Changes
46 files changed (+517 additions, -2898 deletions)
View changed files
➕
LICENSE(+201 -0)➕
NOTICE(+4 -0)📝
README.md(+123 -14)📝
Sources/ComfySwiftSDK/Internal/Auth/OAuthConfiguration.swift(+0 -71)📝
Sources/ComfySwiftSDK/Internal/Auth/OAuthExchanger.swift(+0 -49)📝
Sources/ComfySwiftSDK/Internal/Auth/OAuthMetadataFetcher.swift(+0 -68)📝
Sources/ComfySwiftSDK/Internal/Auth/OAuthTokenRefreshExecutor.swift(+1 -62)📝
Sources/ComfySwiftSDK/Internal/ComfySDKInfo.swift(+0 -21)📝
Sources/ComfySwiftSDK/Internal/DTOs/JobStatusDTO.swift(+0 -112)➖
Sources/ComfySwiftSDK/Internal/DTOs/OutputDTO.swift(+0 -23)📝
Sources/ComfySwiftSDK/Internal/DTOs/SubmitJobDTO.swift(+0 -18)📝
Sources/ComfySwiftSDK/Internal/PollingFallback.swift(+2 -156)📝
Sources/ComfySwiftSDK/Internal/ReattachCoordinator.swift(+3 -109)📝
Sources/ComfySwiftSDK/Internal/SDKLog.swift(+0 -86)📝
Sources/ComfySwiftSDK/Internal/Transport.swift(+3 -304)📝
Sources/ComfySwiftSDK/Internal/WebSocketSession.swift(+0 -291)📝
Sources/ComfySwiftSDK/Public/ComfyCloudClient.swift(+99 -186)📝
Sources/ComfySwiftSDK/Public/ComfyCredential.swift(+8 -75)📝
Sources/ComfySwiftSDK/Public/ComfyError.swift(+14 -115)📝
Sources/ComfySwiftSDK/Public/JobEvent.swift(+7 -67)...and 26 more files
📄 Description
Prepares the repo for public consumption. Four logical commits:
chore: add Apache-2.0 license and NOTICE— the missing license that blocked any public release. Apache-2.0 is the standard for an embeddable client SDK (permissive + patent grant); GPL-3.0 like ComfyUI would force every app embedding the SDK to also be GPL.docs: rewrite README— Comfy logo + badge row, accurate async/await quick-start, install/auth/contributing sections.refactor: strip internal planning comments— removes ~2,500 lines of extraction-era comments that referenced internal artifacts (Story/Epic/NFR tags, backend*.go:linerefs, sprint docs) no external reader can resolve. Public symbols keep a one-line doc; internal files and tests are comment-free. Also drops the emptyOutputDTOplaceholder and fixes a never-mutatedvarwarning.docs: add DocC reference docs to ComfyCloudClient— the public façade now carries DocC blocks (Parameters/Returns/Throws, a usage example, symbol cross-links) that render in Xcode Quick Help.Verification
swift buildclean (no warnings)swift test— 134 tests passNotes / corrected docs
WorkflowInput.imagepreviously documented itself as "rejected at submit time" — that was stale (image upload works now); corrected.swift build/swift test) and an OpenAPI contract drift-check against the ComfyUIopenapi.yamlfront-facing spec.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.