Skip to content

🦋 New version release#112

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jun 26, 2026
Merged

🦋 New version release#112
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

@brentrager brentrager commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/[email protected]

Patch Changes

  • 2dbd1d6: Make th api keys first-class for both auth-client types. create now takes structured --type m2m|b2m and repeatable --allowed-origin flags (B2M requires ≥1 origin, validated client-side) instead of a hand-written raw JSON body; update <id> --allowed-origin … replaces a B2M client's origin allowlist (PATCH, B2M-only); a new rotate <id> mints a replacement of the same type/origins then revokes the old one (the API has no in-place rotation, so the replacement is created first and the new client id + key are shown once). Adds accurate help (M2M secret vs B2M publishable, both shown once), --json on reads, and --org-id [aliases: --org]. The raw --body escape hatch stays. Fixes a latent bug: these routes require a dashboard user session (auth.provider === 'supabase', 403 under M2M), so the surface now uses the user-JWT UserClient rather than the M2M-capable client. (pearl th-8d2a41)
  • a1326b1: th CLI audit quick-wins (non-breaking). Standardized the org-override flag to --org-id with --org as a visible alias across every th api * leaf (agents, members, knowledge, jobs, products, observability, crm, testing — ~41 args), retiring the --org and --organization-id spellings. Filled ~100 previously-blank --help doc strings on subcommand variants and args (the whole th api * and th testing * CRUD surface, including th testing's runs/cases/environments/deployments groups). Gave the operative-control commands (th pause/resume/steer/cancel/approve) a proper <OPERATIVE_ID> metavar + arg help (was the stale <BEAD_ID>), clarified th inbox vs th msg inbox, fixed the lowercase th api jobs list --type metavar, wrote accurate descriptions for th db/th project/th jira/th web/th tailscale, and scrubbed stale th api orgs switch/--org references from th org switch help. No behavior or signature changes. (pearls th-c153ec follow-up; from the th-CLI audit)

@brentrager brentrager force-pushed the changeset-release/main branch from 9384305 to cdd02ad Compare June 26, 2026 19:11
@brentrager brentrager enabled auto-merge (squash) June 26, 2026 19:11
@brentrager brentrager force-pushed the changeset-release/main branch from cdd02ad to 6198076 Compare June 26, 2026 19:24
@brentrager brentrager merged commit 7b171af into main Jun 26, 2026
2 checks passed
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