[Bounty proposal] fix(dropbox-app): list_folder truncates at page 1 without following cursor
Description
In plugins/omi-dropbox-app/dropbox_client.py, list_folder() only issues a single POST /files/list_folder call and ignores has_more and cursor.
When an Omi user asks the chat tool to list files in a folder with more entries than the per-page limit (or default 20), subsequent pages are never fetched, silently omitting files.
Proposed Fix
- Update
list_folder()to followcursorwithPOST /files/list_folder/continuewheneverhas_moreis True untillimitis met. - Unify item parsing into
_parse_folder_entries(). - Add unit test suite in
plugins/omi-dropbox-app/test_dropbox_client.pyasserting single-page, multi-page continuation, limit enforcement, and error resilience. - Register
dropbox-app-client-testsin.github/checks-manifest.yaml.
Proposed Bounty Reward: $50.00 USD
Bounty Payout Destination (PayPal): [email protected]
Fixed in PR #13811 with complete unit test suite verifying cursor continuation, limit capping, and error resiliency.
Payout Destination (PayPal): [email protected]
Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏