Skip to content

fix(agent-toolkit): make get_asset_upload_url description client-neutral (5.80.3) - #577

Open
kubasulkowski wants to merge 3 commits into
mondaycom:masterfrom
kubasulkowski:fix/13611893024/jakubsu/claude/neutral-asset-upload-description
Open

kubasulkowski wants to merge 3 commits into
mondaycom:masterfrom
kubasulkowski:fix/13611893024/jakubsu/claude/neutral-asset-upload-description

Conversation

@kubasulkowski

Copy link
Copy Markdown

Summary

  • get_asset_upload_url's description told the model to run curl to upload the file, which assumes the client can execute shell commands. ChatGPT and Gemini connectors flagged this.
  • The description now describes the upload step protocol-neutrally: send an HTTP PUT with the file's bytes and the given Content-Type, then read the ETag response header. The handoff to finalize_asset_upload (still needs the ETag) is unchanged.
  • Bumped the package to 5.80.3 and added a changelog entry, per this package's contribution guide.

Test plan

  • Updated get-asset-upload-url-tool.test.ts to assert the description no longer contains curl and still contains the ETag / finalize_asset_upload guidance.
  • npx jest on the affected test files passes.
  • npx eslint --fix and npx prettier --write on the changed files, no issues.

kubasulkowski and others added 3 commits November 30, 2026 10:32
…ral (5.80.3)

The description told the model to run curl to upload the file, which only
works for clients that can execute shell commands. It now describes the
upload step protocol-neutrally (HTTP PUT with the file's bytes, then read
the ETag response header) so clients without shell access can still use
the tool. The ETag handoff to finalize_asset_upload is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…t_upload_url

Reviewing the earlier neutral rewrite, the original curl example wasn't
just about the protocol — --data-binary @<local_file_path> streams the
file straight from disk instead of loading it into memory first, which
matters for large files. Restore that instruction in protocol-neutral
terms (stream from the local path, don't buffer the whole file) and keep
the curl invocation only as an illustrative example, not a requirement.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…escription

Platform already flagged curl once; a second mention risks failing their
review again. Describe the no-buffering / stream-from-disk instruction
without naming curl or any shell command, matching the bar set for the
assets-core copy of this fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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