Surfaces the subagent data the previous PRs record. A new right-panel tab lists every subagent on the thread with its role, model, status, token usage, recent activity, and the runs it has been activated for. Grouping lives in client-runtime rather than the component so it stays testable: workflow coordinators own their phases, phase status derives from its members, and members orphaned by a missing coordinator fall back to the flat list rather than disappearing. A coordinator is an agent in its own right, so it renders as a card rather than a bare heading — it has a model, usage and activations, and before its members are spawned it is the only row on the thread. It is counted in the tallies for the same reason, but only while it has no members, since afterwards they represent the same work and counting both double-reports it. Without that, a thread running a workflow showed "0 active" with nothing listed and unexplained tokens in the header. Usage follows the same rule: the total keeps whatever the members did not account for. Dropping the coordinator outright erased the whole workflow whenever a provider reported workflow usage but omitted per-agent tokens, and the header read "Usage unavailable" for a workflow that had spent thousands. Read-only: this only renders what the projection already contains.
189 lines
5.5 KiB
JSON
189 lines
5.5 KiB
JSON
{
|
|
"name": "@t3tools/client-runtime",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./connection": {
|
|
"types": "./src/connection/index.ts",
|
|
"default": "./src/connection/index.ts"
|
|
},
|
|
"./authorization": {
|
|
"types": "./src/authorization/index.ts",
|
|
"default": "./src/authorization/index.ts"
|
|
},
|
|
"./environment": {
|
|
"types": "./src/environment/index.ts",
|
|
"default": "./src/environment/index.ts"
|
|
},
|
|
"./errors": {
|
|
"types": "./src/errors/index.ts",
|
|
"default": "./src/errors/index.ts"
|
|
},
|
|
"./rpc": {
|
|
"types": "./src/rpc/index.ts",
|
|
"default": "./src/rpc/index.ts"
|
|
},
|
|
"./operations": {
|
|
"types": "./src/operations/index.ts",
|
|
"default": "./src/operations/index.ts"
|
|
},
|
|
"./operations/projects": {
|
|
"types": "./src/operations/projects.ts",
|
|
"default": "./src/operations/projects.ts"
|
|
},
|
|
"./platform": {
|
|
"types": "./src/platform/index.ts",
|
|
"default": "./src/platform/index.ts"
|
|
},
|
|
"./relay": {
|
|
"types": "./src/relay/index.ts",
|
|
"default": "./src/relay/index.ts"
|
|
},
|
|
"./state/auth": {
|
|
"types": "./src/state/auth.ts",
|
|
"default": "./src/state/auth.ts"
|
|
},
|
|
"./state/assets": {
|
|
"types": "./src/state/assets.ts",
|
|
"default": "./src/state/assets.ts"
|
|
},
|
|
"./state/connections": {
|
|
"types": "./src/state/connections.ts",
|
|
"default": "./src/state/connections.ts"
|
|
},
|
|
"./state/entities": {
|
|
"types": "./src/state/entities.ts",
|
|
"default": "./src/state/entities.ts"
|
|
},
|
|
"./state/filesystem": {
|
|
"types": "./src/state/filesystem.ts",
|
|
"default": "./src/state/filesystem.ts"
|
|
},
|
|
"./state/git": {
|
|
"types": "./src/state/git.ts",
|
|
"default": "./src/state/git.ts"
|
|
},
|
|
"./state/item-support": {
|
|
"types": "./src/state/itemSupport.ts",
|
|
"default": "./src/state/itemSupport.ts"
|
|
},
|
|
"./state/models": {
|
|
"types": "./src/state/models.ts",
|
|
"default": "./src/state/models.ts"
|
|
},
|
|
"./state/orchestration": {
|
|
"types": "./src/state/orchestration.ts",
|
|
"default": "./src/state/orchestration.ts"
|
|
},
|
|
"./state/orchestration-v2-projection": {
|
|
"types": "./src/state/orchestrationV2Projection.ts",
|
|
"default": "./src/state/orchestrationV2Projection.ts"
|
|
},
|
|
"./state/orchestration-v2-subagents": {
|
|
"types": "./src/state/orchestrationV2Subagents.ts",
|
|
"default": "./src/state/orchestrationV2Subagents.ts"
|
|
},
|
|
"./state/presentation": {
|
|
"types": "./src/state/presentation.ts",
|
|
"default": "./src/state/presentation.ts"
|
|
},
|
|
"./state/preview": {
|
|
"types": "./src/state/preview.ts",
|
|
"default": "./src/state/preview.ts"
|
|
},
|
|
"./state/projects": {
|
|
"types": "./src/state/projects.ts",
|
|
"default": "./src/state/projects.ts"
|
|
},
|
|
"./state/project-grouping": {
|
|
"types": "./src/state/projectGrouping.ts",
|
|
"default": "./src/state/projectGrouping.ts"
|
|
},
|
|
"./state/relay": {
|
|
"types": "./src/state/relayDiscovery.ts",
|
|
"default": "./src/state/relayDiscovery.ts"
|
|
},
|
|
"./state/review": {
|
|
"types": "./src/state/review.ts",
|
|
"default": "./src/state/review.ts"
|
|
},
|
|
"./state/runtime": {
|
|
"types": "./src/state/runtime.ts",
|
|
"default": "./src/state/runtime.ts"
|
|
},
|
|
"./state/server": {
|
|
"types": "./src/state/server.ts",
|
|
"default": "./src/state/server.ts"
|
|
},
|
|
"./state/session": {
|
|
"types": "./src/state/session.ts",
|
|
"default": "./src/state/session.ts"
|
|
},
|
|
"./state/shell": {
|
|
"types": "./src/state/shell.ts",
|
|
"default": "./src/state/shell.ts"
|
|
},
|
|
"./state/source-control": {
|
|
"types": "./src/state/sourceControl.ts",
|
|
"default": "./src/state/sourceControl.ts"
|
|
},
|
|
"./state/terminal": {
|
|
"types": "./src/state/terminal.ts",
|
|
"default": "./src/state/terminal.ts"
|
|
},
|
|
"./state/threads": {
|
|
"types": "./src/state/threads.ts",
|
|
"default": "./src/state/threads.ts"
|
|
},
|
|
"./state/thread-sort": {
|
|
"types": "./src/state/threadSort.ts",
|
|
"default": "./src/state/threadSort.ts"
|
|
},
|
|
"./state/thread-relationships": {
|
|
"types": "./src/state/threadRelationships.ts",
|
|
"default": "./src/state/threadRelationships.ts"
|
|
},
|
|
"./state/thread-checkpoints": {
|
|
"types": "./src/state/threadCheckpoints.ts",
|
|
"default": "./src/state/threadCheckpoints.ts"
|
|
},
|
|
"./state/thread-execution": {
|
|
"types": "./src/state/threadExecution.ts",
|
|
"default": "./src/state/threadExecution.ts"
|
|
},
|
|
"./state/thread-requests": {
|
|
"types": "./src/state/threadRequests.ts",
|
|
"default": "./src/state/threadRequests.ts"
|
|
},
|
|
"./state/thread-workflows": {
|
|
"types": "./src/state/threadWorkflows.ts",
|
|
"default": "./src/state/threadWorkflows.ts"
|
|
},
|
|
"./state/thread-settled": {
|
|
"types": "./src/state/threadSettled.ts",
|
|
"default": "./src/state/threadSettled.ts"
|
|
},
|
|
"./state/thread-search": {
|
|
"types": "./src/state/threadSearch.ts",
|
|
"default": "./src/state/threadSearch.ts"
|
|
},
|
|
"./state/vcs": {
|
|
"types": "./src/state/vcs.ts",
|
|
"default": "./src/state/vcs.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsgo --noEmit",
|
|
"test": "vp test run"
|
|
},
|
|
"dependencies": {
|
|
"@t3tools/contracts": "workspace:*",
|
|
"@t3tools/shared": "workspace:*",
|
|
"effect": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@effect/vitest": "catalog:",
|
|
"vite-plus": "catalog:"
|
|
}
|
|
}
|