Skip to content

chore[notask]: backmerge release @qvac/cli v0.2.4#1766

Merged
simon-iribarren merged 4 commits into
tetherto:mainfrom
simon-iribarren:backmerge-cli-0.2.4
Apr 28, 2026
Merged

chore[notask]: backmerge release @qvac/cli v0.2.4#1766
simon-iribarren merged 4 commits into
tetherto:mainfrom
simon-iribarren:backmerge-cli-0.2.4

Conversation

@simon-iribarren

Copy link
Copy Markdown
Contributor

Description

Backmerge of release-cli-0.2.4 into main after the @qvac/cli v0.2.4 release (#1752) was merged and GPR-published. Merging this PR triggers the npm publish for @qvac/cli@0.2.4.

The only change vs main is the version bump and changelog committed in #1752:

  • packages/cli/package.json: 0.2.30.2.4
  • packages/cli/CHANGELOG.md: add [0.2.4] entry
  • packages/cli/changelog/0.2.4/CHANGELOG.md: new

Released fixes

  • Update SDKModule.embed type and sdkEmbed() to handle the new { embedding, stats? } return shape introduced in @qvac/sdk 0.9+. CLI's internal number[] | number[][] contract preserved. (PR #1596)
  • Extract nested node_modules packages when generating the addons manifest in qvac bundle sdk, so deeply-hoisted addon dependencies are included in the mobile worker bundle. (PR #1731)

Checklist

Related PRs

simon-iribarren added a commit that referenced this pull request Apr 28, 2026
…pe (#1775)

PR #1596 (Apr 15) updated the CLI's `sdkEmbed` for the new SDK 0.9+
embed() return shape — it changed from raw `Promise<number[] | number[][]>`
to wrapped `Promise<{ embedding, stats? }>`. The CLI's `sdkEmbed`
destructures `{ embedding }` from the result, then the OpenAI
embeddings route reads it as `embeddings[0]`.

That PR landed the runtime change but did not bump the
`@qvac/sdk` semver in `packages/cli/package.json`. It still requires
`^0.8.0`, which in npm semver means `>=0.8.0 <0.9.0`. CI installs
@qvac/sdk@0.8.0, whose `embed()` returns the raw vector array. The CLI
then destructures `{ embedding }` from a number array, gets `undefined`,
and the route handler crashes on `embeddings[0]`. The error is caught,
the response becomes a 500 with `{ error: { code: 'embed_error' } }`,
and the e2e tests asserting `.object == "list"` fail with no obvious
hint as to why:

  not ok 40 embeddings: single input returns vector       (e2e.bats:184)
  not ok 41 embeddings: batch input returns multiple vectors  (e2e.bats:198)

These two tests have been red on every CLI PR's CI since #1596 merged
(visible on PR #1681, #1766, and others); chat and transcription
tests are unaffected because their SDK contracts didn't change.

Bump `@qvac/sdk` to `^0.9.0` so the lockfile picks up 0.9.x at install
time, and bump the runtime `MIN_SDK_VERSION` constant to match. The
SDK 0.9 series is published on npm (0.9.0 and 0.9.1 both available).

Verified locally: rm -rf node_modules bun.lock && bun install resolves
@qvac/sdk to 0.9.1; full e2e suite now passes the embeddings tests:

  ok 6 embeddings: single input returns vector
  ok 7 embeddings: batch input returns multiple vectors
@simon-iribarren

Copy link
Copy Markdown
Contributor Author

/review

@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Tier-based Approval Status

**PR Tier:** TIER1

**Current Status:** ✅ APPROVED

**Requirements:**
- 1 Team Member approval ✅ (1/1)
- 1 Team Lead OR Management approval ✅ (1/1)



---
*This comment is automatically updated when reviews change.*

@simon-iribarren

Copy link
Copy Markdown
Contributor Author

/review

@simon-iribarren simon-iribarren merged commit cd2df13 into tetherto:main Apr 28, 2026
6 checks passed
GustavoA1604 pushed a commit that referenced this pull request Apr 29, 2026
…pe (#1775)

PR #1596 (Apr 15) updated the CLI's `sdkEmbed` for the new SDK 0.9+
embed() return shape — it changed from raw `Promise<number[] | number[][]>`
to wrapped `Promise<{ embedding, stats? }>`. The CLI's `sdkEmbed`
destructures `{ embedding }` from the result, then the OpenAI
embeddings route reads it as `embeddings[0]`.

That PR landed the runtime change but did not bump the
`@qvac/sdk` semver in `packages/cli/package.json`. It still requires
`^0.8.0`, which in npm semver means `>=0.8.0 <0.9.0`. CI installs
@qvac/sdk@0.8.0, whose `embed()` returns the raw vector array. The CLI
then destructures `{ embedding }` from a number array, gets `undefined`,
and the route handler crashes on `embeddings[0]`. The error is caught,
the response becomes a 500 with `{ error: { code: 'embed_error' } }`,
and the e2e tests asserting `.object == "list"` fail with no obvious
hint as to why:

  not ok 40 embeddings: single input returns vector       (e2e.bats:184)
  not ok 41 embeddings: batch input returns multiple vectors  (e2e.bats:198)

These two tests have been red on every CLI PR's CI since #1596 merged
(visible on PR #1681, #1766, and others); chat and transcription
tests are unaffected because their SDK contracts didn't change.

Bump `@qvac/sdk` to `^0.9.0` so the lockfile picks up 0.9.x at install
time, and bump the runtime `MIN_SDK_VERSION` constant to match. The
SDK 0.9 series is published on npm (0.9.0 and 0.9.1 both available).

Verified locally: rm -rf node_modules bun.lock && bun install resolves
@qvac/sdk to 0.9.1; full e2e suite now passes the embeddings tests:

  ok 6 embeddings: single input returns vector
  ok 7 embeddings: batch input returns multiple vectors
NamelsKing added a commit that referenced this pull request May 4, 2026
…angelog (#1867)

Brings the @qvac/cli@0.3.0 release artifacts back onto main per
gitflow.md "Keep main aligned". Same shape as #1766 (the 0.2.4
backmerge precedent).

- packages/cli/package.json: version 0.2.4 -> 0.3.0
- packages/cli/changelog/0.3.0/CHANGELOG.md: new
- packages/cli/changelog/0.3.0/api.md: new
- packages/cli/CHANGELOG.md: prepend ## [0.3.0] entry

NOTE: Opened as DRAFT because the companion release PR #1836 is also
still draft and 5 of its CI checks are failing. @qvac/cli@0.3.0 has
not yet been published to npm (latest is 0.2.4). Mark this PR ready
for review only after #1836 merges into release-cli-0.3.0 and the
GPR/npm publish completes.

The source-level changes (@qvac/sdk devDep ^0.10.0 + sdk.ts
MIN_SDK_VERSION='0.10.0') are already on main from PR #1810 — only
the release metadata needs to come back.

CLI's package.json on main has no dependency drift versus
release-cli-0.3.0, so unlike the SDK 0.9.2 backmerge (#1857) the
package.json version bump can be safely included here. There's also
no competing CLI release PR in flight on main.

Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
tamer-hassan-tether pushed a commit that referenced this pull request May 5, 2026
…angelog (#1867)

Brings the @qvac/cli@0.3.0 release artifacts back onto main per
gitflow.md "Keep main aligned". Same shape as #1766 (the 0.2.4
backmerge precedent).

- packages/cli/package.json: version 0.2.4 -> 0.3.0
- packages/cli/changelog/0.3.0/CHANGELOG.md: new
- packages/cli/changelog/0.3.0/api.md: new
- packages/cli/CHANGELOG.md: prepend ## [0.3.0] entry

NOTE: Opened as DRAFT because the companion release PR #1836 is also
still draft and 5 of its CI checks are failing. @qvac/cli@0.3.0 has
not yet been published to npm (latest is 0.2.4). Mark this PR ready
for review only after #1836 merges into release-cli-0.3.0 and the
GPR/npm publish completes.

The source-level changes (@qvac/sdk devDep ^0.10.0 + sdk.ts
MIN_SDK_VERSION='0.10.0') are already on main from PR #1810 — only
the release metadata needs to come back.

CLI's package.json on main has no dependency drift versus
release-cli-0.3.0, so unlike the SDK 0.9.2 backmerge (#1857) the
package.json version bump can be safely included here. There's also
no competing CLI release PR in flight on main.

Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
Proletter pushed a commit that referenced this pull request May 24, 2026
…pe (#1775)

PR #1596 (Apr 15) updated the CLI's `sdkEmbed` for the new SDK 0.9+
embed() return shape — it changed from raw `Promise<number[] | number[][]>`
to wrapped `Promise<{ embedding, stats? }>`. The CLI's `sdkEmbed`
destructures `{ embedding }` from the result, then the OpenAI
embeddings route reads it as `embeddings[0]`.

That PR landed the runtime change but did not bump the
`@qvac/sdk` semver in `packages/cli/package.json`. It still requires
`^0.8.0`, which in npm semver means `>=0.8.0 <0.9.0`. CI installs
@qvac/sdk@0.8.0, whose `embed()` returns the raw vector array. The CLI
then destructures `{ embedding }` from a number array, gets `undefined`,
and the route handler crashes on `embeddings[0]`. The error is caught,
the response becomes a 500 with `{ error: { code: 'embed_error' } }`,
and the e2e tests asserting `.object == "list"` fail with no obvious
hint as to why:

  not ok 40 embeddings: single input returns vector       (e2e.bats:184)
  not ok 41 embeddings: batch input returns multiple vectors  (e2e.bats:198)

These two tests have been red on every CLI PR's CI since #1596 merged
(visible on PR #1681, #1766, and others); chat and transcription
tests are unaffected because their SDK contracts didn't change.

Bump `@qvac/sdk` to `^0.9.0` so the lockfile picks up 0.9.x at install
time, and bump the runtime `MIN_SDK_VERSION` constant to match. The
SDK 0.9 series is published on npm (0.9.0 and 0.9.1 both available).

Verified locally: rm -rf node_modules bun.lock && bun install resolves
@qvac/sdk to 0.9.1; full e2e suite now passes the embeddings tests:

  ok 6 embeddings: single input returns vector
  ok 7 embeddings: batch input returns multiple vectors
Proletter pushed a commit that referenced this pull request May 24, 2026
…pe (#1775)

PR #1596 (Apr 15) updated the CLI's `sdkEmbed` for the new SDK 0.9+
embed() return shape — it changed from raw `Promise<number[] | number[][]>`
to wrapped `Promise<{ embedding, stats? }>`. The CLI's `sdkEmbed`
destructures `{ embedding }` from the result, then the OpenAI
embeddings route reads it as `embeddings[0]`.

That PR landed the runtime change but did not bump the
`@qvac/sdk` semver in `packages/cli/package.json`. It still requires
`^0.8.0`, which in npm semver means `>=0.8.0 <0.9.0`. CI installs
@qvac/sdk@0.8.0, whose `embed()` returns the raw vector array. The CLI
then destructures `{ embedding }` from a number array, gets `undefined`,
and the route handler crashes on `embeddings[0]`. The error is caught,
the response becomes a 500 with `{ error: { code: 'embed_error' } }`,
and the e2e tests asserting `.object == "list"` fail with no obvious
hint as to why:

  not ok 40 embeddings: single input returns vector       (e2e.bats:184)
  not ok 41 embeddings: batch input returns multiple vectors  (e2e.bats:198)

These two tests have been red on every CLI PR's CI since #1596 merged
(visible on PR #1681, #1766, and others); chat and transcription
tests are unaffected because their SDK contracts didn't change.

Bump `@qvac/sdk` to `^0.9.0` so the lockfile picks up 0.9.x at install
time, and bump the runtime `MIN_SDK_VERSION` constant to match. The
SDK 0.9 series is published on npm (0.9.0 and 0.9.1 both available).

Verified locally: rm -rf node_modules bun.lock && bun install resolves
@qvac/sdk to 0.9.1; full e2e suite now passes the embeddings tests:

  ok 6 embeddings: single input returns vector
  ok 7 embeddings: batch input returns multiple vectors
Proletter pushed a commit that referenced this pull request May 24, 2026
…angelog (#1867)

Brings the @qvac/cli@0.3.0 release artifacts back onto main per
gitflow.md "Keep main aligned". Same shape as #1766 (the 0.2.4
backmerge precedent).

- packages/cli/package.json: version 0.2.4 -> 0.3.0
- packages/cli/changelog/0.3.0/CHANGELOG.md: new
- packages/cli/changelog/0.3.0/api.md: new
- packages/cli/CHANGELOG.md: prepend ## [0.3.0] entry

NOTE: Opened as DRAFT because the companion release PR #1836 is also
still draft and 5 of its CI checks are failing. @qvac/cli@0.3.0 has
not yet been published to npm (latest is 0.2.4). Mark this PR ready
for review only after #1836 merges into release-cli-0.3.0 and the
GPR/npm publish completes.

The source-level changes (@qvac/sdk devDep ^0.10.0 + sdk.ts
MIN_SDK_VERSION='0.10.0') are already on main from PR #1810 — only
the release metadata needs to come back.

CLI's package.json on main has no dependency drift versus
release-cli-0.3.0, so unlike the SDK 0.9.2 backmerge (#1857) the
package.json version bump can be safely included here. There's also
no competing CLI release PR in flight on main.

Co-authored-by: Dmytro Medvinskyi <functionsilence@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants