Skip to content

Comments

feat: support port-to-pod transfers in Telegram bot#5

Merged
christian-deleon merged 1 commit intomainfrom
feature/port-pod-transfers
Feb 13, 2026
Merged

feat: support port-to-pod transfers in Telegram bot#5
christian-deleon merged 1 commit intomainfrom
feature/port-pod-transfers

Conversation

@christian-deleon
Copy link
Owner

@christian-deleon christian-deleon commented Feb 13, 2026

Summary

  • Add _find_port(), _suggest_ports(), and _find_account_by_name() helpers to resolve names across both pods and ports
  • Update request_transfer tool to use get_all_accounts() instead of get_pods(), storing source_type/destination_type in pending transfers
  • Update _handle_confirm_transfer() to pass source_type/destination_type through to client.transfer()
  • Add tests for port-to-pod transfers, pod-to-port transfers, unknown port names, and correct type propagation on confirm

Closes #4

Test Plan

  • black --check passes
  • pytest passes (105 tests, all green)

@christian-deleon christian-deleon force-pushed the feature/port-pod-transfers branch from 637dfdd to 82c703c Compare February 13, 2026 17:08
Extend the request_transfer tool to resolve source and destination names
across both pods and ports using the SDK's get_all_accounts endpoint.
Store source_type/destination_type in pending transfers and pass them
through to client.transfer() on confirmation.

Closes #4
@christian-deleon christian-deleon force-pushed the feature/port-pod-transfers branch from 82c703c to dbdf6e7 Compare February 13, 2026 17:08
@christian-deleon christian-deleon merged commit 13922d0 into main Feb 13, 2026
3 checks passed
@christian-deleon christian-deleon deleted the feature/port-pod-transfers branch February 13, 2026 17:12
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.

feat: support port-to-pod transfers in Telegram bot

1 participant