Skip to content

Release v0.2.3#48

Merged
omgate234 merged 9 commits intomainfrom
release
Mar 18, 2026
Merged

Release v0.2.3#48
omgate234 merged 9 commits intomainfrom
release

Conversation

@omgate234
Copy link
Collaborator

Pull Request

Description:
Release 0.2.3 — Sync Node SDK fixes with Python SDK 0.4.3. Fixes type safety for clip(), wires up Shot stream URLs from search results, adds CaptionAsset indexing warning, adds languageCode to generateTranscript, and updates capture binary + channel config.

Changes:

  • Remove transcript from channel config, add isPrimary — sync with Python SDK
  • Update capture binary to v0.2.10 with new checksums
  • Add literal union types for clip() contentType ('spoken' | 'visual' | 'multimodal') and modelName ('basic' | 'pro' | 'ultra')
  • Fix SearchResponse type: stream_url → stream_link to match server field name
  • Pass streamUrl/playerUrl from search API response to Shot objects in SearchResult
  • Add console.warn for CaptionAsset when src='auto' about indexing requirement
  • Add languageCode param to generateTranscript()

Related Issues:

  • Addresses ENG-161 — Asset type mismatch (Node uses number, already correct)
  • Addresses ENG-162 — modelName / contentType validation on clip()
  • Addresses ENG-163 — clip() return type (Node already returned SearchResult)
  • Addresses ENG-165 — streamUrl and playerUrl are undefined in Shot object
  • Addresses ENG-166 — Stream not played after adding subtitles (CaptionAsset indexing warning)

Testing:

  • Build passes clean (npm run build)
  • clip() now shows IDE autocompletion for contentType and modelName literal values
  • Shot.streamUrl is undefined from search (server doesn't send per-doc URLs), populated after compile() or shot.generateStream()
  • CaptionAsset() with default src='auto' emits console warning about indexing
  • generateTranscript(false, 'en') passes language_code to server
  • Channel config: isPrimary replaces transcript in RecordingChannelConfig

lalit-videodb and others added 9 commits March 11, 2026 00:06
…h Python SDK

- Remove `transcript` field from RecordingChannelConfig and ChannelConfig
- Add `isPrimary` field to RecordingChannelConfig, ChannelConfig, and Channel class
- Channel.toDict() now includes is_primary
- startSession primary video selection respects isPrimary flag
- Bump version to 0.2.3
- Update test/index.ts quickstart
Clean tarballs (no macOS ._* resource fork files).
…rateTranscript language code

- clip() params: contentType and modelName now use literal union types
- SearchResult passes streamLink/playerUrl from API response to Shot
- SearchResponse type: stream_url -> stream_link to match server field name
- CaptionAsset: console.warn when src='auto' about indexing requirement
- generateTranscript: add languageCode param
Only surface warnings and errors from the capture binary stderr.
Matches Python SDK behavior (logs binary stderr at DEBUG level).
…angelog

- Update binary version to 0.2.10 with new checksums (installer.ts + package.json)
- Revert verbose log filtering in binaryManager.ts
- Add CHANGELOG entry for 0.2.3
Channels with `camera:` prefix now go to `channels.cameras` instead of
polluting `channels.displays`. Cameras are excluded from `all()` since
camera capture is not yet supported.
@omgate234 omgate234 merged commit dba8e49 into main Mar 18, 2026
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