board: generalize the trello command to Trello + xy boards #106
Loading…
Reference in a new issue
No description provided.
Delete branch "board-xy-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Renames the
trellocommand toboard(trellokept as an alias) and adds support for xy boards (https://xy.pecheny.me) alongside Trello.xy is end-to-end encrypted and exposes a Trello-compatible API, so the existing download/upload pipeline works once ciphertext fields are decrypted locally with the board passphrase.
What changed
trello.py→board.py(gui_trello*/cmdtrello*→gui_board*/cmdboard*;gui_trellokept as a back-compat alias). Service is detected from the board URL:trello.com/b/<id>vs<xy-host>/board/<id>.board_config.py: board-URL parsing + service detection; per-host token store~/.chgksuite/.board_tokens.toml(list of{host, token}) with a one-time migration of the legacy.trello_token(folded in, then deleted); per-folderboard_metadata.toml(visible;board_url+passphrasefor xy) that supersedes the legacy bare-id.board_id— migrated into it on the firstboardrun for that folder, then deleted.xy_crypto.py: a port of xy'scrypto.jsenvelope + key lifecycle (scrypt KEK + AES-256-GCM) to decrypt board/list/card/label fields and encrypt on upload. Adds thecryptographydependency.board download <folder>;board upload <board_url>(renamed fromboard_id);board token [board_service_url](defaulthttps://trello.com) — Trello OAuth flow, or for xy points the user at{xy_url}/profile/tokensand stores the pasted token.Tests
Offline: a known-answer crypto vector produced by xy's own
crypto.js, field round-trip, URL parsing, token-store + legacy migrations (.trello_tokenand.board_id), metadata I/O. Also verified end-to-end against a live xy server (download decrypts a real encrypted board to plaintext .4s via a visibleboard_metadata.toml).Requires the matching xy change exposing
keymetaover the token API (xy MR !51).🤖 Generated with Claude Code
added 1 commit
038a1068- board: generalize the trello command to any board service (Trello + xy)Compare with previous version
changed the description