@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.
- package/dist/activity-log/builder.d.ts +3 -0
- package/dist/app/app.d.ts +8 -1
- package/dist/app/backend-env.d.ts +3 -0
- package/dist/app/index.d.ts +4 -2
- package/dist/app/index.js +9 -9
- package/dist/app/runtime.d.ts +7 -2
- package/dist/conversation/sqlite-provider.d.ts +0 -1
- package/dist/conversation/types.d.ts +1 -0
- package/dist/esm/app/index.js +9 -9
- package/dist/esm/index.js +280 -230
- package/dist/esm/plugins/index.js +157 -108
- package/dist/esm/publish/index.js +2 -2
- package/dist/esm/repository/index.js +174 -125
- package/dist/esm/skills/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +285 -235
- package/dist/plugins/index.js +157 -108
- package/dist/publish/index.js +2 -2
- package/dist/repository/index.d.ts +2 -2
- package/dist/repository/index.js +174 -125
- package/dist/repository/task-status.d.ts +9 -2
- package/dist/repository/task.repository.d.ts +7 -2
- package/dist/repository/thread.repository.d.ts +23 -1
- package/dist/skills/index.js +2 -2
- package/dist/types/task-log.types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -144,7 +144,7 @@ export type { ReapOrphanedTasksOptions } from './repository/task.repository.js';
|
|
|
144
144
|
export type { FinalizeTaskStopOptions, TaskStopMethod, TaskStopOrigin, TaskStopRequestContext, TaskStopRequestResult, } from './repository/task.repository.js';
|
|
145
145
|
export { INSTRUCTION_STOP_EPOCH_MISMATCH, INSTRUCTION_STOP_GENERATION_ALREADY_SETTLED, INSTRUCTION_STOP_PROCESS_TERMINATION_FAILED, INSTRUCTION_STOP_REQUEST_FAILED, INSTRUCTION_STOP_SETTLE_CAS_FAILED, INSTRUCTION_STOP_TARGET_PID_MISSING, INSTRUCTION_STOP_WORKSPACE_MISMATCH, stopTask, resolveTaskStopMethod, TASK_STOP_DEFAULT_GRACE_MS, TASK_STOP_DEFAULT_POLL_MS, TASK_STOP_OWNED_PROCESS_MARKERS, } from './lifecycle/task-stop.js';
|
|
146
146
|
export type { StopTaskGenerationForInstructionOptions, StopTaskOptions, StopTaskProcessControl, StopTaskResult, StopTaskStatus, } from './lifecycle/task-stop.js';
|
|
147
|
-
export { LEGACY_TASK_TERMINAL_ERROR_PATTERNS, normalizeTaskStatus, TASK_TERMINAL_STATUSES, } from './repository/task-status.js';
|
|
147
|
+
export { isTaskRetryableByDefault, LEGACY_TASK_TERMINAL_ERROR_PATTERNS, normalizeTaskRow, normalizeTaskStatus, readTaskTerminalReason, storedTaskStatusesFor, TASK_TERMINAL_STATUSES, TASK_TERMINAL_STORED_STATUSES, } from './repository/task-status.js';
|
|
148
148
|
export type { TaskStatus, TaskStatusInput, TaskTerminalReason, TaskTerminalStatus, } from './repository/task-status.js';
|
|
149
149
|
export type { TaskRow, TaskKillResult, TaskKillStatus } from './repository/task.repository.js';
|
|
150
150
|
export { runHeartbeatTick, startTaskHeartbeat, stopTaskHeartbeat, TASK_STOP_POLL_INTERVAL_MS, taskHeartbeatRegistry, } from './lifecycle/task-heartbeat.js';
|
|
@@ -160,7 +160,7 @@ export { StorageMetadataRepository } from './repository/storage-metadata.reposit
|
|
|
160
160
|
export { STORAGE_METADATA_KINDS, STORAGE_METADATA_UNITS, } from './repository/storage-metadata.repository.js';
|
|
161
161
|
export type { StorageMetadataAge, StorageMetadataAggregateRow, StorageMetadataBatchResult, StorageMetadataCutoffs, StorageMetadataKind, StorageMetadataReadiness, StorageMetadataSnapshot, StorageMetadataUnit, StorageMetadataUnitReadiness, StorageMetadataVerificationMismatch, } from './repository/storage-metadata.repository.js';
|
|
162
162
|
export { ThreadRepository, ThreadTitleMetadataPatchError, } from './repository/thread.repository.js';
|
|
163
|
-
export type { ThreadRow, NewThread, TaskDescendantSummary, ThreadTitleMetadataPatch, ThreadTitleMetadataPatchResult, ThreadTitleMetadataPatchErrorReason, } from './repository/thread.repository.js';
|
|
163
|
+
export type { ThreadRow, NewThread, TaskDescendantList, TaskDescendantListOptions, TaskDescendantRow, TaskDescendantSummary, ThreadTitleMetadataPatch, ThreadTitleMetadataPatchResult, ThreadTitleMetadataPatchErrorReason, } from './repository/thread.repository.js';
|
|
164
164
|
export { ThreadHistoryConflictError, ThreadHighlightConflictError, ThreadHighlightRegenerationConflictError, ThreadHistoryRepository, } from './repository/thread-history.repository.js';
|
|
165
165
|
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 './repository/thread-history.repository.js';
|
|
166
166
|
export type { CompleteThreadHighlightRegenerationInput, CompleteThreadHighlightRegenerationResult, CreateThreadHighlightRegenerationRunInput, CreateThreadHighlightRegenerationRunResult, CreateThreadHighlightInput, DismissThreadHighlightInput, FailThreadHighlightRegenerationRunInput, ListActiveHighlightsOptions, ThreadActorInput, ThreadHighlightDeletionReason, ThreadHighlightEligibleTurn, ThreadHighlightRegenerationCandidate, ThreadHighlightRegenerationErrorCode, ThreadSnapshot, ThreadSnapshotMutationInput, ThreadTimeline, ThreadTimelineOptions, ThreadTimelineQuery, UpdateThreadHighlightInput, } from './repository/thread-history.repository.js';
|