Skip to content

Add existing thread messaging and lifecycle commands - #1

Merged
MajesteitBart merged 3 commits into
MajesteitBart:mainfrom
mhmdkhalaf:feat/thread-messaging
Oct 2, 2026
Merged

MajesteitBart merged 3 commits into
MajesteitBart:mainfrom
mhmdkhalaf:feat/thread-messaging

Conversation

@mhmdkhalaf

Copy link
Copy Markdown
Contributor

Hi Bart,

This CLI has helped me a lot while building custom skills that hand work over to new T3 Code threads, thank you for making it! 😀

I found myself wanting to communicate with existing threads too, so I added commands for discovering, inspecting, messaging, settling, and unsettling them.

Combined with the existing handover functionality, this allows a skill to ask a thread running another model for a second opinion, or even orchestrate subtasks across new threads and read their results back. The implementation keeps the existing handover behavior intact and verifies writes against T3’s projections.

I realize this is a fairly substantial change and may be outside the scope you have in mind for the project, so there’s absolutely no pressure to merge it. I still wanted to share it in case you find the direction useful.

pnpm check passes with 47 tests.

- threads read returns full message text without the inspect preview limit
- --last-turn filters to messages assigned to the latest turn only
- refactors T3ThreadApi.inspect to share readDetail with the new read method
@MajesteitBart

Copy link
Copy Markdown
Owner

Hey @mhmdkhalaf, I'm sorry, man. I completely missed this message from you! I'll check it out. Thanks for contributing btw👍

@mhmdkhalaf

Copy link
Copy Markdown
Contributor Author

No worries. 🙏 Cheers!

@MajesteitBart

Copy link
Copy Markdown
Owner

Thanks again for this, @mhmdkhalaf. Your commits landed unchanged as part of #7, which builds on them with a t3thread skill, read modes, and waiting for replies; #8 then adds thread controls. Both are merged now, so this PR shows as merged too.

@mhmdkhalaf

Copy link
Copy Markdown
Contributor Author

Thanks @MajesteitBart ! 🙏 Glad to contribute

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.

2 participants