Skip to content

feat(cli): add projects widget show, set, and deploy - #78

Merged
akirilyuk merged 2 commits into
mainfrom
cursor/embed-widget-cli-smoke-d216
Aug 31, 2026
Merged

feat(cli): add projects widget show, set, and deploy#78
akirilyuk merged 2 commits into
mainfrom
cursor/embed-widget-cli-smoke-d216

Conversation

@akirilyuk

Copy link
Copy Markdown
Contributor

Summary

Adds voicethere projects widget so embed widget draft + CDN publish (already on the platform API) can be driven from the CLI.

  • projects widget show — draft, publish status, public_id, CDN URLs
  • projects widget set — merge preset/position/mode/theme/label flags into the current draft, then PUT
  • projects widget deploy [--wait] — POST /projects/{id}/widget/publish; --wait polls until published or failed

CDN origin is derived from the API host (app.voicethere.devcdn.voicethere.dev, .io.io) or VOICETHERE_WIDGET_CDN_BASE / --cdn-base.

Version stays 0.12.8. Follow-up: release-prep/0.13.0 + tag release/0.13.0 so e2e widget-cdn-smoke can pin the published CLI.

Commands

From @voicethere/cli repo root:

npm test
npm run typecheck
voicethere projects widget show --json
voicethere projects widget set --preset pill-light
voicethere projects widget deploy --wait

Verified locally and in unit tests; no extra manual steps.

Add typed widget API client methods, CDN URL helpers, and CLI commands
to view draft config, merge draft flags, and publish to CDN with optional
--wait polling. Includes unit tests and README/CHANGELOG updates.
@akirilyuk
akirilyuk merged commit d4e790c into main Aug 31, 2026
8 checks passed
@akirilyuk
akirilyuk deleted the cursor/embed-widget-cli-smoke-d216 branch August 31, 2026 10:59
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.

1 participant