@crewx/sdk 0.9.0-rc.138 → 0.9.0-rc.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ export { INSTRUCTION_STOP_EPOCH_MISMATCH, INSTRUCTION_STOP_GENERATION_ALREADY_SE
22
22
  export type { StopTaskGenerationForInstructionOptions, StopTaskOptions, StopTaskProcessControl, StopTaskResult, StopTaskStatus, } from '../lifecycle/task-stop.js';
23
23
  export { runHeartbeatTick, startTaskHeartbeat, stopTaskHeartbeat, TASK_STOP_POLL_INTERVAL_MS, taskHeartbeatRegistry, } from '../lifecycle/task-heartbeat.js';
24
24
  export type { HeartbeatTickResult, TaskHeartbeatHandle, TaskHeartbeatOptions, TaskHeartbeatRow, } from '../lifecycle/task-heartbeat.js';
25
- export { LEGACY_TASK_TERMINAL_ERROR_PATTERNS, normalizeTaskStatus, TASK_TERMINAL_STATUSES, } from './task-status.js';
25
+ export { isTaskRetryableByDefault, LEGACY_TASK_TERMINAL_ERROR_PATTERNS, normalizeTaskRow, normalizeTaskStatus, readTaskTerminalReason, storedTaskStatusesFor, TASK_TERMINAL_STATUSES, TASK_TERMINAL_STORED_STATUSES, } from './task-status.js';
26
26
  export type { TaskStatus, TaskStatusInput, TaskTerminalReason, TaskTerminalStatus, } from './task-status.js';
27
27
  export { hasRecordedUsage } from './task.repository.js';
28
28
  export type { TaskRow, TaskKillResult, TaskKillStatus, TaskActivityLogRow, FindTasksByThreadOptions, TaskListRow, NewTask, AgentProviderUsageRow, AgentUsageRow, TrendRow, ProviderUsageRow, ModelUsageRow, ReportTaskRow, DelegationEdge, DelegationMatrixResult, WorkflowCardRow, WorkflowParentTaskKind, WorkflowParentTaskLookup, WorkflowParentTaskRow, } from './task.repository.js';
@@ -36,7 +36,7 @@ export type { TaskLogMigrationFailure, TaskLogMigrationFailureKind, TaskLogMigra
36
36
  export { ThreadRepository } from './thread.repository.js';
37
37
  export type { CreateAppLaunchThreadInput, CreateAppLaunchThreadResult } from './thread.repository.js';
38
38
  export { ThreadTitleMetadataPatchError, } from './thread.repository.js';
39
- export type { ThreadRow, NewThread, TaskDescendantSummary, ThreadOriginFilter, ThreadOriginRow, ThreadTitleMetadataPatch, ThreadTitleMetadataPatchResult, ThreadTitleMetadataPatchErrorReason, } from './thread.repository.js';
39
+ export type { ThreadRow, NewThread, TaskDescendantList, TaskDescendantListOptions, TaskDescendantRow, TaskDescendantSummary, ThreadOriginFilter, ThreadOriginRow, ThreadTitleMetadataPatch, ThreadTitleMetadataPatchResult, ThreadTitleMetadataPatchErrorReason, } from './thread.repository.js';
40
40
  export { ThreadHistoryConflictError, ThreadHighlightConflictError, ThreadHighlightRegenerationConflictError, ThreadHistoryRepository, } from './thread-history.repository.js';
41
41
  export { THREAD_HIGHLIGHT_DELETION_REASON_REGENERATION_REPLACED, THREAD_HIGHLIGHT_REGENERATION_COMMIT_FAILED, THREAD_HIGHLIGHT_REGENERATION_DETECTION_FAILED, THREAD_HIGHLIGHT_REGENERATION_INTERRUPTED, THREAD_HIGHLIGHT_REGENERATION_NO_ELIGIBLE_TURNS, } from './thread-history.repository.js';
42
42
  export type { CompleteThreadHighlightRegenerationInput, CompleteThreadHighlightRegenerationResult, CreateThreadHighlightRegenerationRunInput, CreateThreadHighlightRegenerationRunResult, CreateThreadHighlightInput, DismissThreadHighlightInput, FailThreadHighlightRegenerationRunInput, ListActiveHighlightsOptions, ThreadActorInput, ThreadHighlightDeletionReason, ThreadHighlightEligibleTurn, ThreadHighlightRegenerationCandidate, ThreadHighlightRegenerationErrorCode, ThreadSnapshot, ThreadSnapshotMutationInput, ThreadTimeline, ThreadTimelineOptions, ThreadTimelineQuery, UpdateThreadHighlightInput, } from './thread-history.repository.js';