@crewx/sdk 0.9.0-rc.220 → 0.9.0-rc.222
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/app-sync/index.js +53 -53
- package/dist/conversation/sqlite-provider.d.ts +4 -1
- package/dist/conversation/to-template-messages.d.ts +3 -2
- package/dist/conversation/types.d.ts +8 -0
- package/dist/esm/app-sync/index.js +53 -53
- package/dist/esm/history-snapshot/index.js +10 -10
- package/dist/esm/index.js +419 -363
- package/dist/esm/plugins/index.js +133 -98
- package/dist/esm/repository/index.js +192 -157
- package/dist/facade/Crewx.d.ts +1 -0
- package/dist/history-snapshot/index.d.ts +2 -1
- package/dist/history-snapshot/index.js +10 -10
- package/dist/index.browser.js +3 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.js +417 -361
- package/dist/migrations/0058_thread_branches.sql +37 -0
- package/dist/migrations/meta/0058_snapshot.json +7227 -0
- package/dist/migrations/meta/_journal.json +7 -0
- package/dist/plugins/index.js +134 -99
- package/dist/prompt/tag-names.d.ts +1 -0
- package/dist/provider/bridge.d.ts +1 -0
- package/dist/provider/cli/builtin-allow.d.ts +6 -0
- package/dist/repository/index.d.ts +1 -0
- package/dist/repository/index.js +188 -153
- package/dist/repository/sidebar-tab.repository.d.ts +1 -0
- package/dist/repository/thread-branch.repository.d.ts +106 -0
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/thread-branches.d.ts +424 -0
- package/dist/types/index.d.ts +126 -0
- package/dist/ui-instance/store.d.ts +5 -0
- package/dist/utils/id.d.ts +1 -1
- package/package.json +1 -1
- package/templates/agents/default.yaml +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export { DEFAULT_INPUT_BUDGET_PERCENT, MIN_INPUT_BUDGET_PERCENT, MAX_INPUT_BUDGE
|
|
|
106
106
|
export type { InputBudgetUnresolvedReason, TokenizerFallbackReason, ResolveInputBudgetOptions, TokenizerOptions, TokenizerMetadata, ResolvedInputBudget, UnresolvedInputBudget, ResolveInputBudgetResult, ContextBudgetPhase, ProviderInitialInputFraming, ContextBudgetManifest, TokenCountResult, TokenCounter, ContextBudgetLayoutCapability, ContextBudgetActivityDegradation, ContextBudgetAssemblyErrorCode, } from './context-budget';
|
|
107
107
|
export { ContextBudgetLayoutError, DEFAULT_HIGHLIGHT_BUDGET_PERCENT, DEFAULT_PROTECTED_TURN_COUNT, MAX_ACTIVE_HIGHLIGHT_CHARS, MAX_ACTIVE_HIGHLIGHTS, MAX_THREAD_STATE_VALUE_CHARS, MAX_THREAD_TITLE_CHARS, buildSemanticContinuityContext, buildThreadStateContext, getConversationMessageTaskId, groupConversationTurns, materializeConversationTurn, selectConversationHighlights, selectConversationTurns, } from './context-budget';
|
|
108
108
|
export type { BuildSemanticContinuityContextOptions, ConversationHighlightSelection, ConversationTurn, ConversationTurnSelection, GroupedConversationTurns, SelectConversationHighlightsOptions, SelectConversationTurnsOptions, } from './context-budget';
|
|
109
|
-
export type { ConversationHighlight, ConversationMessage, ConversationSemanticContinuityContext, ConversationThreadState, ConversationThreadStateValue, ConversationThread, FetchHistoryOptions, HistoryLookupNotice, IConversationHistoryProvider, Platform, SemanticContinuityContext, TemplateMessage, TemplateAppCard, ThreadStateContext, } from './conversation/types.js';
|
|
109
|
+
export type { ConversationHighlight, ConversationBranchMarker, ConversationMessage, ConversationSemanticContinuityContext, ConversationThreadState, ConversationThreadStateValue, ConversationThread, FetchHistoryOptions, HistoryLookupNotice, IConversationHistoryProvider, Platform, SemanticContinuityContext, TemplateMessage, TemplateAppCard, ThreadStateContext, } from './conversation/types.js';
|
|
110
110
|
export { MAX_THREAD_HIGHLIGHTS_PER_THREAD, MAX_THREAD_HIGHLIGHTS_PER_RUN, MAX_THREAD_HIGHLIGHT_REGENERATION_CANDIDATES, MAX_THREAD_HIGHLIGHT_PROMPT_LENGTH, MAX_THREAD_HIGHLIGHT_TURN_TEXT_LENGTH, THREAD_HIGHLIGHT_CONSOLIDATION_PROMPT_INSTRUCTIONS, THREAD_HIGHLIGHT_PROMPT_INSTRUCTIONS, THREAD_HIGHLIGHTER_AGENT_ID, THREAD_HIGHLIGHTER_PROVIDER_ORDER, ThreadHighlightGenerationError, ThreadHighlightGenerator, ThreadHighlighter, ThreadHighlightConsolidationItemSchema, ThreadHighlightConsolidationResponseSchema, ThreadHighlightInputValidationError, ThreadHighlightItemSchema, ThreadHighlightOutputValidationError, ThreadHighlightResponseSchema, buildThreadHighlightPrompt, buildThreadHighlightConsolidationPrompt, consolidateThreadHighlights, detectThreadHighlightBatches, generateThreadHighlightBatches, generateThreadHighlights, parseThreadHighlightResponse, parseThreadHighlightConsolidationResponse, redactThreadHighlightSecrets, } from './highlight/thread-highlighter.js';
|
|
111
111
|
export type { ThreadHighlightConsolidationHighlight, ThreadHighlightConsolidationInput, ThreadHighlightConsolidationItem, ThreadHighlightConsolidationOptions, ThreadHighlightConsolidationResponse, ThreadHighlightConsolidationResult, ThreadHighlightConsolidationSuccess, ThreadHighlightFailureCode, ThreadHighlightBatchDetectionResult, ThreadHighlightBatchDetectionSuccess, ThreadHighlightBatchDetectorOptions, ThreadHighlightGenerationFailure, ThreadHighlightGenerationFailureResult, ThreadHighlightGenerationInput, ThreadHighlightGenerationResult, ThreadHighlightGenerationSuccess, ThreadHighlightGeneratorOptions, ThreadHighlightItem, ThreadHighlightRegenerationInput, ThreadHighlightProviderAttempt, ThreadHighlightProviderAttemptOutcome, ThreadHighlightProviderId, ThreadHighlightResponse, ThreadHighlightTaskTurn, ThreadHighlightWriter, } from './highlight/thread-highlighter.js';
|
|
112
112
|
export { createProvider, ProviderError, ClientToolCallRequiredError, registerProviderFactory, mergeAdditionalArgs } from './provider/bridge';
|
|
@@ -196,6 +196,8 @@ export { StorageMetadataRepository } from './repository/storage-metadata.reposit
|
|
|
196
196
|
export { STORAGE_METADATA_KINDS, STORAGE_METADATA_UNITS, } from './repository/storage-metadata.repository.js';
|
|
197
197
|
export type { StorageMetadataAge, StorageMetadataAggregateRow, StorageMetadataBatchResult, StorageMetadataCutoffs, StorageMetadataKind, StorageMetadataReadiness, StorageMetadataSnapshot, StorageMetadataUnit, StorageMetadataUnitReadiness, StorageMetadataVerificationMismatch, } from './repository/storage-metadata.repository.js';
|
|
198
198
|
export { ThreadRepository, ThreadTitleMetadataPatchError, } from './repository/thread.repository.js';
|
|
199
|
+
export { THREAD_BRANCH_CARRY_MAX_CHARS, THREAD_BRANCH_CARRY_RECENT_TURNS, THREAD_BRANCH_SNAPSHOT_VERSION, THREAD_BRANCH_SOURCE_MAX_BYTES, ThreadBranchRepository, ThreadBranchRepositoryError, neutralizeThreadBranchText, } from './repository/thread-branch.repository.js';
|
|
200
|
+
export type { CreateThreadBranchInput, ThreadBranchActiveContext, ThreadBranchAttachment, ThreadBranchCarrySnapshot, ThreadBranchCarryTurn, ThreadBranchCreateResult, ThreadBranchErrorCode, ThreadBranchSourceMessage, ThreadBranchSourceSnapshot, ThreadBranchStatus, ThreadBranchSummary, } from './repository/thread-branch.repository.js';
|
|
199
201
|
export type { UnreadReplyWatermark } from './repository/thread.repository.js';
|
|
200
202
|
export { UNREAD_PREVIEW_MAX_LENGTH, publicTaskAnswerContent, summarizeUnreadReplies, toPreviewPlainText, } from './repository/public-task-answer.js';
|
|
201
203
|
export type { PublicTaskAnswerInput, UnreadReplyCandidate, UnreadReplySummary, } from './repository/public-task-answer.js';
|