@crewx/sdk 0.9.0-rc.91 → 0.9.0-rc.92
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/esm/index.js +300 -118
- package/dist/esm/plugins/index.js +118 -118
- package/dist/esm/repository/index.js +29 -29
- package/dist/index.d.ts +5 -3
- package/dist/index.js +299 -117
- package/dist/migrations/0024_storage_metadata.sql +262 -0
- package/dist/migrations/meta/_journal.json +8 -1
- package/dist/plugins/index.js +118 -118
- package/dist/provider/cli/adapters/event-timestamp.util.d.ts +1 -0
- package/dist/repository/base-sqlite-repository.d.ts +1 -0
- package/dist/repository/db.d.ts +4 -1
- package/dist/repository/index.d.ts +2 -4
- package/dist/repository/index.js +29 -29
- package/dist/repository/storage-metadata.repository.d.ts +64 -0
- package/dist/repository/task.repository.d.ts +15 -0
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/storage-metadata.d.ts +181 -0
- package/dist/ui-instance/index.d.ts +2 -0
- package/dist/ui-instance/store.d.ts +14 -0
- package/package.json +1 -1
- package/dist/repository/thread-title-common-code-migration.d.ts +0 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { Crewx, loadAgentSkills } from './facade/Crewx';
|
|
2
2
|
export type { ToolDefinition } from './facade/Crewx';
|
|
3
3
|
export type { ActionReceipt, ActionReceiptOutcome, CreateUiInstanceInput, JsonObject, JsonPrimitive, JsonValue, UiActionHandlerContext, UiActionHandlerRegistration, UiActionHandlerResult, UiActionEnvelope, UiActor, UiDefinition, UiDefinitionAction, UiDefinitionInput, UiDefinitionRef, UiProjectionPolicy, UiExecutionContext, UiAuthenticatedActor, UiAuthenticatedExecutionContext, UiAuthenticatedGrantPolicy, UiServerRuntimeFacade, UiServerRuntimeOptions, UiAgentContextProjection, UiExternalActionHandlerRegistration, UiInstance, UiInstanceStatus, UiLocalGrantPolicy, UiRuntimeFacade, UiRuntimeOptions, UiStateActionHandlerRegistration, } from './ui-instance/types.js';
|
|
4
|
-
export { UiRuntimeError, hashUiDefinition, createUiServerRuntime, resolveUiEffectiveCapabilities } from './ui-instance/index.js';
|
|
4
|
+
export { UiInstanceStore, openUiInstanceReadStore, UiRuntimeError, hashUiDefinition, createUiServerRuntime, resolveUiEffectiveCapabilities, } from './ui-instance/index.js';
|
|
5
|
+
export type { UiAuditSnapshotInput, UiInstanceReadStore } from './ui-instance/index.js';
|
|
5
6
|
export type { UiRuntimeErrorCode } from './ui-instance/index.js';
|
|
6
7
|
export { canonicalManifestJson, manifestHash, normalizeManifest, UiPluginValidationError, validateManifest, validatePayload, } from './ui-plugin/index.js';
|
|
7
8
|
export type { UiPluginActivation, UiPluginCardShellNode, UiPluginFieldSchema, UiPluginHeadingNode, UiPluginLabeledTextNode, UiPluginLayoutNode, UiPluginLayout, UiPluginManifest, UiPluginMetaBannerNode, UiPluginPayload, UiPluginPayloadValue, UiPluginPrimitive, UiPluginSchemaType, UiPluginSchema, UiPluginStep, UiPluginStepFlowNode, UiPluginStepListSchema, UiPluginTextListNode, UiPluginTextListSchema, UiPluginTextSchema, UiPluginValidationErrorCode, UiPluginValidationOptions, } from './ui-plugin/index.js';
|
|
@@ -115,10 +116,11 @@ export type { SpanRow } from './repository/span.repository.js';
|
|
|
115
116
|
export { COMMON_CODE_COLORS, COMMON_CODE_GROUPS, CommonCodeRepository, CommonCodeRepositoryError, generateCommonCodeId, } from './repository/common-code.repository.js';
|
|
116
117
|
export type { CommonCodeColor, CommonCodeErrorReason, CommonCodeGroup, CreateThreadStateInput, UpdateCommonCodeDisplayInput, } from './repository/common-code.repository.js';
|
|
117
118
|
export type { CommonCode, NewCommonCode } from './schema/common-codes.js';
|
|
119
|
+
export { StorageMetadataRepository } from './repository/storage-metadata.repository.js';
|
|
120
|
+
export { STORAGE_METADATA_KINDS, STORAGE_METADATA_UNITS, } from './repository/storage-metadata.repository.js';
|
|
121
|
+
export type { StorageMetadataAge, StorageMetadataAggregateRow, StorageMetadataBatchResult, StorageMetadataCutoffs, StorageMetadataKind, StorageMetadataReadiness, StorageMetadataSnapshot, StorageMetadataUnit, StorageMetadataUnitReadiness, StorageMetadataVerificationMismatch, } from './repository/storage-metadata.repository.js';
|
|
118
122
|
export { ThreadRepository, ThreadTitleMetadataPatchError, } from './repository/thread.repository.js';
|
|
119
123
|
export type { ThreadRow, NewThread, ThreadTitleMetadataPatch, ThreadTitleMetadataPatchResult, ThreadTitleMetadataPatchErrorReason, } from './repository/thread.repository.js';
|
|
120
|
-
export { migrateLegacyThreadTitleCommonCodes, migrateThreadTitleCommonCodes, } from './repository/thread-title-common-code-migration.js';
|
|
121
|
-
export type { ThreadTitleCommonCodeMigrationOptions, ThreadTitleCommonCodeMigrationResult, } from './repository/thread-title-common-code-migration.js';
|
|
122
124
|
export { ThreadHistoryConflictError, ThreadHighlightConflictError, ThreadHighlightRegenerationConflictError, ThreadHistoryRepository, } from './repository/thread-history.repository.js';
|
|
123
125
|
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';
|
|
124
126
|
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';
|