Skip to content

feat: Add media.get, cameras.live_views and can_stream_live_video - #595

Merged
chmaltsp merged 3 commits into
mainfrom
phil/bump-seamapi-types-1.1092.0
Oct 1, 2026
Merged

chmaltsp merged 3 commits into
mainfrom
phil/bump-seamapi-types-1.1092.0

Conversation

@chmaltsp

@chmaltsp chmaltsp commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps @seamapi/types 1.1082.0 -> 1.1092.0 and regenerates.

New in the SDK: client.media.get, client.cameras.live_views.{create,offer,stop}, the Media / CameraLiveViewSession / CameraLiveViewAnswer resources, and can_stream_live_video on devices. Dependabot's bumps had stopped at 1.1082.0, which predates /media/get.

Generated locally with npm run generate; formatting is left to the Generate workflow (no Ruby 3 toolchain locally).

🤖 Generated with Claude Code

Bump @seamapi/types to 1.1092.0 and regenerate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T18:06:58.083202Z bde324d PR opened
🔒 Security Review ✅ Completed 2026-10-01T18:09:24.862521Z bde324d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bde324dea1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package-lock.json Outdated
"resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1082.0.tgz",
"integrity": "sha512-QDuaHzjq+i/6yQ+fGs2jUmuZ8QomanqnLAuP2NULyGmfpTTeI/pEGkUp9YmRjUrbFoM8LHNT3ZmsFi8/2JJYmA==",
"version": "1.1092.0",
"resolved": "https://npm.pkg.github.com/download/@seamapi/types/1.1092.0/35cfbdb6dbfb0023a1ea6c6353ff90d51cc858e8",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Point the lockfile back to the public npm registry

On every clean CI test or formatting job, .github/actions/setup-node/action.yml runs npm ci while configuring only registry.npmjs.org and providing no GitHub Packages credentials. This resolved URL instead forces @seamapi/types through npm.pkg.github.com, whose npm registry requires authentication even for public packages, so dependency installation fails before any checks run. Regenerate the lockfile using the public npm registry URL.

Useful? React with 👍 / 👎.

Comment thread lib/seam/routes/media.rb
def get(media_id:, format: nil)
res = @client.get("/media/get", {media_id: media_id, format: format}.compact)

Seam::Resources::Media.load_from_response(res.body["media"])

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle the redirect response before loading a Media resource

When callers use the documented format: "redirect", /media/get returns a 302 rather than a JSON body containing media, but this method unconditionally indexes res.body["media"]. The HTTP stack has no redirect-following middleware, so the advertised option yields an empty or non-hash body and raises instead of exposing the redirect; either omit this option from the SDK or return a suitable raw redirect result for that format.

Useful? React with 👍 / 👎.

chmaltsp and others added 2 commits October 1, 2026 11:08
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chmaltsp
chmaltsp merged commit 9451d88 into main Oct 1, 2026
17 checks passed
@chmaltsp
chmaltsp deleted the phil/bump-seamapi-types-1.1092.0 branch October 1, 2026 18:11
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