Skip to content

Expose file-attachment tools (otper-cli 0.1.8) - #4

Merged
sambhav-aggarwal merged 1 commit into
mainfrom
feat/file-attachment-tools
May 8, 2026
Merged

Expose file-attachment tools (otper-cli 0.1.8)#4
sambhav-aggarwal merged 1 commit into
mainfrom
feat/file-attachment-tools

Conversation

@sambhav-aggarwal

Copy link
Copy Markdown
Member

Summary

  • New tools wrapping files.uploadFile from @ssntpl/otper-cli@0.1.8:
    • otper_attach_file_to_card
    • otper_attach_file_to_comment
  • Bumps @ssntpl/otper-cli dep to ^0.1.8.
  • Upload is non-destructive, so it's exposed by the plugin (consistent with the existing policy that excludes only deletion tools).

Test plan

  • npm run lint — passes.
  • npx tsx -e "import('./index.ts')..." — both new tool names register.
  • Library smoke test (in the otper-cli PR): live upload to OT278 succeeded.

Adds two tools that wrap `files.uploadFile` from @ssntpl/otper-cli:
- otper_attach_file_to_card
- otper_attach_file_to_comment

Bumps the otper-cli dep to ^0.1.8 (which introduces the upload API).
Upload is non-destructive, so it's exposed by the plugin.
@sambhav-aggarwal
sambhav-aggarwal merged commit 4c308af into main May 8, 2026
3 checks passed
@sambhav-aggarwal
sambhav-aggarwal deleted the feat/file-attachment-tools branch May 8, 2026 03:29
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.

1 participant