Repository navigation
feat(trello): Each user signs in, more Trello operations, tokens out of URLs, create_board fix (1.0.0) - #4171
Merged
crazywoola merged 2 commits intoNov 2, 2026
Conversation
… of URLs, create_board Workspace fix (1.0.0)
3 of 5 tasks
crazywoola
approved these changes
Nov 2, 2026
crazywoola
left a comment
Member
There was a problem hiding this comment.
Reviewed the plugin scope, manifest, documentation, and relevant source changes. Approving this revision to run the repository pre-merge plugin validation; merge is contingent on successful validation.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Trello 1.0.0 adds Each user signs in next to the existing API key + token and adds the common Trello operations that were missing. It also fixes two problems in the existing plugin:
Authorization: OAuth oauth_consumer_key=…, oauth_token=…header. The original tools import a smallrequestsshim (tools/trello_http.py) that moveskey/tokenout of the URL, so their code is otherwise unchanged.create_boardfailed on current Trello accounts. Trello answers500 {"message":"Unable to auto-create an organization."}when a board is created without a Workspace.create_boardnow uses the account's first Workspace, unless the new optionalidOrganizationparameter names one.The original tools also return Trello's error text ("Failed to create board: Trello API error 500: …") instead of a bare "Failed to …". Existing credentials, tool names and parameters are unchanged. It follows the same per-user design as #4163–#4170.
Each user signs in
Trello's API-key authorization has no code flow: the Allow page hands the token to the browser in the URL fragment (
#token=…), which never reaches a server.https://trello.com/1/authorize?…&response_type=token&callback_method=fragment&return_url=<endpoint>?state=….GET /trello/callbackpage script reads the fragment, removes it from the address bar, and POSTs the token toPOST /trello/callback./members/me(which also gives the account name it reports), and stores it encrypted with a key derived from the API secret.Other details:
trello_sign_outforgets the sign-in.Why not Trello's new OAuth 2.0?
auth.atlassian.com, PKCE), but a developer report from October 2026 says its tokens are refused by the attachment download endpoint.New tools (prefixed
trello_: the new Agent rejects duplicate tool names across plugins)trello_search(text and Trello search operators),trello_list_workspacestrello_get_card(list, labels, members, checklists with progress, attachments)update_card_by_idgains due, dueComplete, closed, pos, idMembers, idLabelstrello_add_comment,trello_update_comment,trello_delete_comment, plustrello_list_commentstrello_create_checklist(with items),trello_delete_checklist,trello_list_checklists,trello_add_checklist_item,trello_update_checklist_item,trello_delete_checklist_itemtrello_create_label,trello_list_labels,trello_update_label,trello_delete_label,trello_add_card_label,trello_remove_card_labeltrello_update_list(rename, archive, reorder, move),trello_get_list_cardstrello_list_board_members,trello_add_board_member,trello_invite_board_member,trello_remove_board_membertrello_add_attachment(file, text + name, or link),trello_get_attachment(returns the file, up to 50 MB),trello_list_attachments,trello_delete_attachmenttools/trello_ops.py; each tool file is a thin wrapper, because Dify loads one Tool class per file.success/errorplus its fields).Release Notes
create_boardworks on current Trello accounts (it failed with "Unable to auto-create an organization") and can take a Workspace.update_card_by_idtakes due date, archive, position, members and labels.Change Type
Screenshots / Videos
The README shows the agent configuration, Trello's Allow page and a chat where the agent creates a board, list, card and checklist as the signed-in user.
Testing
pytest tests). They cover:create_boardWorkspace lookup, path encoding, error text.notes.txt, ticked a checklist item, read the card back, and downloadednotes.txt(content matches).Checklist