Skip to content

feat: remove retired lucy-vton-2 and lucy-vton-3 model IDs - #205

Merged
AdirAmsalem merged 1 commit into
mainfrom
remove-lucy-vton-2-3
Sep 14, 2026
Merged

AdirAmsalem merged 1 commit into
mainfrom
remove-lucy-vton-2-3

Conversation

@tomershlasky

@tomershlasky tomershlasky commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Remove lucy-vton-2, lucy-vton-3 and the deprecated alias lucy-2.1-vton-2 from the model registry, canonical enums, zod unions, input-schema map and ModelSpecificInputs.
  • lucy-vton-3.5 and the server-resolved lucy-vton-latest alias are unchanged and remain the supported try-on models.
  • Delete the examples/sdk-core/realtime/lucy-vton-2.ts example; point the video try-on example and example READMEs at lucy-vton-latest.
  • Drop the corresponding unit and e2e assertions; listModels() now returns 21 entries.

Follows the same shape as #123 (retired Lucy 2 IDs). The public RealTimeModels / VideoModels / CanonicalModel unions narrow, so this should ship as 0.2.0, not a patch, so ^0.1.x consumers don't pick it up until they opt in.

Backend retirement of these ids (Bouncer REMOVED_MODEL_NAMES, lucy-vton-legacy pool) is tracked separately.

Test plan

  • pnpm --filter @decartai/sdk typecheck
  • pnpm --filter @decartai/sdk test (275 passing)
  • pnpm --filter @decartai/sdk build && pnpm --filter @decartai/sdk test:package
  • pnpm --filter @decartai/sdk format:check
  • rg -P 'vton[-_ ]?[23](?![.\d]|[-_]\d)' over packages/ and examples/ returns nothing

https://claude.ai/code/session_01TNMMxPdhY2U2YZpnbKxZEN


Note

Medium Risk
Breaking SDK surface for anyone still passing the retired model strings; behavior is intentional and mitigated by lucy-vton-latest / lucy-vton-3.5, but requires a minor release (e.g. 0.2.0) rather than a patch.

Overview
Removes retired virtual try-on model IDs from @decartai/sdk: lucy-vton-2, lucy-vton-3, and the deprecated alias lucy-2.1-vton-2. They are dropped from canonical enums, Zod unions, modelInputSchemas, realtime/video registry entries, and modelAliases; lucy-vton-3.5 and lucy-vton-latest are unchanged.

Public types (RealTimeModels, VideoModels, CanonicalModel) narrow, so models.realtime("lucy-vton-2") / models.video("lucy-vton-3") no longer type-check or resolve—callers should use lucy-vton-3.5 or lucy-vton-latest. listModels() now returns 21 entries.

Docs and examples are aligned: READMEs no longer list VTON 2; examples/sdk-core/realtime/lucy-vton-2.ts is deleted; virtual-try-on.ts uses lucy-vton-latest; the SDK test page model picker drops those options and the deprecated alias group. Unit, e2e, and realtime e2e tests are updated accordingly (including removing lucy-vton-3 queue coverage).

Reviewed by Cursor Bugbot for commit 0a476c6. Bugbot is set up for automated code reviews on this repo. Configure here.

@pkg-pr-new

pkg-pr-new Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@decartai/sdk@205

commit: 0a476c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants