Skip to content

fix(deps): move to @putdotio/sdk 16.0.1 - #177

Merged
altaywtf merged 3 commits into
mainfrom
feat/sdk-16
Nov 12, 2026
Merged

altaywtf merged 3 commits into
mainfrom
feat/sdk-16

Conversation

@altaywtf

@altaywtf altaywtf commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Moves the bundled @putdotio/sdk to 16.0.1 and keeps error output accurate under its new error model.

Case Before, on SDK 16 Now
2xx body is malformed, not JSON, or lacks a requested field Command failed Unexpected response from put.io, naming the missing field
Error on a later --page-all page of search or transfers Command failed first-page copy
SDK rejects request input Unexpected response from put.io Invalid request
sdk call bulk operation without a selection reaches the SDK Invalid SDK arguments
  • effect and @effect/* move to 4.1.4, the version SDK 16 declares.
  • SDK 16 fails transfers list if the API omits cursor or total.
  • A 400 on files list now gets the files copy.

Verification

  • pnpm exec vp run verify
  • Built binary driven through verify-putio-cli.
  • Not run against the live API.

Notes

No release-age exception was needed.

SDK 16 reports response contract failures as PutioContractError, names
continue operations continueSearch and continue, requires a selection for
download links, sharing and zips, and rejects non-finite numbers.

- Localize PutioContractError as an unexpected response and name the
  missing field; PutioValidationError now reads as rejected input.
- Localize PutioConfigurationError as a configuration error.
- Match the new continue operation names in file and transfer localizers.
- Require ids or cursor in the sdk call schemas for downloadLinks.create,
  sharing.clone, sharing.shareFiles and zips.create.
- Use finite numbers in CLI input schemas.
- Move effect and @effect/* to 4.1.4, the version the SDK declares.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T16:57:15.544146Z 4ef9e06 New commits
ℹ️ 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: 5e93d16369

ℹ️ 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 src/internal/sdk-operation-args.ts Resolved
Selection ids must be positive and non-empty and a cursor non-empty, so a
dry run rejects what the SDK would reject on execute. File list errors
match the SDK's `query` operation name.
@altaywtf
altaywtf merged commit 14a70eb into main Nov 12, 2026
6 checks passed
@altaywtf
altaywtf deleted the feat/sdk-16 branch November 12, 2026 16:58
putio-ci Bot added a commit that referenced this pull request Nov 12, 2026
## [1.10.4](v1.10.3...v1.10.4) (2026-11-12)

### Bug Fixes

* **deps:** move to @putdotio/sdk 16.0.1 ([#177](#177)) ([14a70eb](14a70eb))
@putio-ci

putio-ci Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.10.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@putio-ci putio-ci Bot added the released label Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant