Conversation
…ponse KBs (sync spec v0.7.16) Regenerated from spec v0.7.16 (cloudglue/cloudglue-api-spec#108) and bumped to 0.7.21. Generated (cloudglue/sdk): - CollectionFile gains searchable_status (pending/processing/completed/failed) - DeepSearch/DeepSearchListItem scope is now nullable (None = auto: scope was omitted and the planner chose scopes per search plan) - SearchRequest.collections, deep-search KBs, and response KBs accept metadata and entities collections; doc_lexical covers entity docs Wrapper (cloudglue/client): - Docs only — deep_search.create already defaulted scope=None, so auto mode works as-is; docstrings document auto vs explicit semantics, the per-collection-type scope requirements, and the accepted collection types (deep_search.py, search.py). Everything else flows through the regenerated models. Verified against PRODUCTION (7/7): searchable_status on entities and media-descriptions listings; segment search over an entities collection; file-scope over a segment-level entities collection 400s; auto deep search over a mixed KB completes with scope=None and results mixing segment+file types; explicit scope still echoed; nimbus-002-preview accepts an entities-collection KB while nimbus-001 400s.
amyxst
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the SDK to spec v0.7.16 (cloudglue/cloudglue-api-spec#109) and bumps the package to 0.7.21. Two themes:
scopeis now nullable — None = the planner chose scopes per search plan), andCollectionFilegainssearchable_status.playerlink-preview level and instant-clip windows —link_previewwidens tonone | full | player('player' lets a private share play inline when unfurled by the Cloudglue Slack app), andGET /share/{id}acceptsclip_start/clip_endso the returnedstream_urlplays only that window.Generated (cloudglue/sdk)
CollectionFile.searchable_status(pending/processing/completed/failed)DeepSearch.scope/DeepSearchListItem.scopenullable (None = auto)doc_lexicalover entity docs (doc-level)link_previewenum widened to'none' | 'full' | 'player'onShareableAsset,CreateShareableAssetRequest,UpdateShareableAssetRequest(validators + descriptions)ShareApi.get_shareable_assetgainsclip_start/clip_endquery paramsWrapper (cloudglue/client)
Share.getnow plumbsclip_start/clip_endthrough to the generated client (new query params don't flow automatically)Share.create/Share.updatedocstrings document the'player'level, its anyone-in-the-channel playback caveat, and downgrade revocationdeep_search.createalready defaultedscope=Noneso auto mode works as-is; docstrings document auto vs explicit scope semantics (metadata + file-level entities →file, segment-level entities →segment) and the accepted collection typesTest plan
playeraccepted by all three shareable-asset models, bogus enum values still rejected;Share.getsignature carries the clip params69c9c44(evidence in~/Downloads/cloudglue-v0.7.16-sdk-test-results.md):searchable_statusenum values on entities + media-descriptions listings; segment search over an entities collection returns results; file-scope over a segment-level entities collection 400s; auto deep search over a mixed KB completes withscope=Noneand results mixing segment+file types; explicit scope still completes and is echoed;nimbus-002-previewaccepts an entities-collection KB whilenimbus-001400s. Created response deleted at cleanup.~/Downloads/cloudglue-v0.7.16-share-player-clip-test-results.md): private share created withlink_preview='player'and round-tripped through get/list response validation; update lifecycleplayer → full → playerechoed; clip window[2, 8]verified via the Mux playback-token JWT claims (asset_start_time=2,asset_end_time=8) while the full-asset read carries no clip claims;clip_startwithoutclip_endandclip_end <= clip_startboth 400; created share deleted at cleanup.Release note
Old SDK versions (≤ 0.7.20) reject
'player'in response validation, so any customer who opts a share into "Playable in Slack" breaks their ownget/listcalls until they upgrade — release this promptly now that the backend accepts'player'in production.