Repository navigation
Adopt pinned, delegatedFrom, lastRunError, and scheduledTaskId in the adapter - #87
Merged
Merged
Conversation
… adapter Map pinned chats to pinned: true, list the user's own chats with includeSubagents: false, read one schedule by scheduledTaskId, and report lastRunError on a failed test run. Bump to 0.15.1.
pmwoz
force-pushed
the
adopt-t3-7d32075
branch
from
November 17, 2026 08:38
5d6320e to
3fdf07f
Compare
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.
Why
T3 build
v0.1.10-nightly.20261116.4800(contract 7d32075, #86) adds four fields the adapter can use. The maintainer asked to adopt all four.What changed
pinned: true, active chatssettled: false. The list runs withincludeSubagents: false, which leaves out child tasks and tasks a linked environment delegated here (delegatedFrom). A child task of a listed chat counts as in use through itsparentThreadId./loop: read the schedule again withlist_scheduled_tasksand itsscheduledTaskId.run_scheduled_task_now, and reportlastRunErrorwhenlastRunStatusisfailed.Scope
The fields come from the T3 contract that #86 pinned. Rebased onto
mainafter #85.Verification
bun run check,bun test tools(40 pass), andbun run typecheckpass.t3_thread_listdefaultsincludeSubagentsto true inOrchestratorMcpService.tsat 7d32075, so the old "Pinned and active chats" list also returned child tasks.