d9f7648fdd
- Add ThreadStatus type to workflow-protocol - Update StepOutput type to include status field alongside deprecated done/background fields - Implement status computation in cmdThreadShow (idle/running/completed/cancelled) - Update cmdThreadStepOnce to include status in return values - Add comprehensive test suite for thread show status scenarios Fixes #559 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
627 B
TypeScript
39 lines
627 B
TypeScript
export {
|
|
START_NODE_SCHEMA,
|
|
STEP_NODE_SCHEMA,
|
|
WORKFLOW_SCHEMA,
|
|
} from "./schemas.js";
|
|
export type {
|
|
AgentAlias,
|
|
AgentConfig,
|
|
CasRef,
|
|
ModelAlias,
|
|
ModelConfig,
|
|
ModeratorContext,
|
|
ProviderAlias,
|
|
ProviderConfig,
|
|
RoleDefinition,
|
|
RoleName,
|
|
RunningThreadItem,
|
|
RunningThreadsOutput,
|
|
Scenario,
|
|
StartEntry,
|
|
StartNodePayload,
|
|
StartOutput,
|
|
StepContext,
|
|
StepEntry,
|
|
StepNodePayload,
|
|
StepOutput,
|
|
StepRecord,
|
|
Target,
|
|
ThreadForkOutput,
|
|
ThreadId,
|
|
ThreadListItem,
|
|
ThreadStatus,
|
|
ThreadStepsOutput,
|
|
ThreadsIndex,
|
|
WorkflowConfig,
|
|
WorkflowName,
|
|
WorkflowPayload,
|
|
} from "./types.js";
|