@ai-matrx/agents 0.43.10 → 0.43.12
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/CHANGELOG.md +14 -1
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/context/react/index.cjs +41 -23
- package/dist/context/react/index.cjs.map +1 -1
- package/dist/context/react/index.d.cts +4 -3
- package/dist/context/react/index.d.ts +4 -3
- package/dist/context/react/index.js +42 -24
- package/dist/context/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +1309 -58
- package/dist/generated/api-types.d.ts +1309 -58
- package/dist/generated/source-attribution.cjs +8 -1
- package/dist/generated/source-attribution.cjs.map +1 -1
- package/dist/generated/source-attribution.d.cts +2 -2
- package/dist/generated/source-attribution.d.ts +2 -2
- package/dist/generated/source-attribution.js +8 -1
- package/dist/generated/source-attribution.js.map +1 -1
- package/dist/generated/stream-events.cjs +86 -0
- package/dist/generated/stream-events.cjs.map +1 -1
- package/dist/generated/stream-events.d.cts +27 -1
- package/dist/generated/stream-events.d.ts +27 -1
- package/dist/generated/stream-events.js +86 -0
- package/dist/generated/stream-events.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{keys.generated-DCE85eAP.d.cts → keys.generated-BmcbKMJE.d.cts} +4 -4
- package/dist/{keys.generated-DCE85eAP.d.ts → keys.generated-BmcbKMJE.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/generated/api-types.ts +1309 -58
- package/generated/source-attribution.ts +7 -0
- package/generated/stream-events.ts +115 -0
- package/mandates/snapshots/keys.0.43.11.json +653 -0
- package/mandates/snapshots/keys.0.43.12.json +653 -0
- package/package.json +1 -1
|
@@ -417,6 +417,16 @@ interface ContextReceiptBlock {
|
|
|
417
417
|
label: string;
|
|
418
418
|
delivered: ContextDeliveredRef;
|
|
419
419
|
}
|
|
420
|
+
interface ContextReceiptRoomView {
|
|
421
|
+
participant_id: string;
|
|
422
|
+
participant_key: string;
|
|
423
|
+
round: number;
|
|
424
|
+
policy_version: number;
|
|
425
|
+
included?: string[];
|
|
426
|
+
digested?: string[];
|
|
427
|
+
withheld?: ContextReceiptWithheldItem[];
|
|
428
|
+
error?: string | null;
|
|
429
|
+
}
|
|
420
430
|
interface ContextReceiptRow {
|
|
421
431
|
key: string;
|
|
422
432
|
label: string;
|
|
@@ -436,6 +446,12 @@ interface ContextReceiptRow {
|
|
|
436
446
|
delivered?: ContextDeliveredRef | null;
|
|
437
447
|
on_request?: ContextDeliveredRef | null;
|
|
438
448
|
}
|
|
449
|
+
interface ContextReceiptWithheldItem {
|
|
450
|
+
message_id: string;
|
|
451
|
+
conversation_id: string;
|
|
452
|
+
speaker: string;
|
|
453
|
+
rule: string;
|
|
454
|
+
}
|
|
439
455
|
interface ContextRule {
|
|
440
456
|
include?: boolean | null;
|
|
441
457
|
max_inline_chars?: number | null;
|
|
@@ -449,6 +465,7 @@ interface ContextReceiptData {
|
|
|
449
465
|
rows?: ContextReceiptRow[];
|
|
450
466
|
rules_error?: string | null;
|
|
451
467
|
blocks?: ContextReceiptBlock[];
|
|
468
|
+
room_view?: ContextReceiptRoomView | null;
|
|
452
469
|
}
|
|
453
470
|
interface ConversationIdData {
|
|
454
471
|
type?: "conversation_id";
|
|
@@ -3954,6 +3971,9 @@ interface RemarkItem {
|
|
|
3954
3971
|
answers?: RemarkAnswer[] | null;
|
|
3955
3972
|
title?: string | null;
|
|
3956
3973
|
comment_id?: string | null;
|
|
3974
|
+
id?: string | null;
|
|
3975
|
+
handle?: string | null;
|
|
3976
|
+
thread?: RemarkThreadEntry[] | null;
|
|
3957
3977
|
metadata?: Record<string, unknown>;
|
|
3958
3978
|
}
|
|
3959
3979
|
interface RemarkTarget {
|
|
@@ -3962,6 +3982,12 @@ interface RemarkTarget {
|
|
|
3962
3982
|
record_id?: string | null;
|
|
3963
3983
|
record_title?: string | null;
|
|
3964
3984
|
}
|
|
3985
|
+
interface RemarkThreadEntry {
|
|
3986
|
+
author_name: string;
|
|
3987
|
+
author_kind: "person" | "agent";
|
|
3988
|
+
body: string;
|
|
3989
|
+
created_at?: string | null;
|
|
3990
|
+
}
|
|
3965
3991
|
interface RemarksInputPart {
|
|
3966
3992
|
metadata?: Record<string, unknown>;
|
|
3967
3993
|
type: "input_remarks";
|
|
@@ -4271,4 +4297,4 @@ declare function isControlTokenEvent(e: TypedStreamEvent): e is {
|
|
|
4271
4297
|
declare function isCompactChunkEvent(e: unknown): e is CompactChunkEvent;
|
|
4272
4298
|
declare function isCompactReasoningChunkEvent(e: unknown): e is CompactReasoningChunkEvent;
|
|
4273
4299
|
|
|
4274
|
-
export { type AgentAppInputPart, type AgentInputPart, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type CategorizationResultData, type CategorizationResultRenderBlock, type CheckupFinding, type ChunkEvent, type ChunkPayload, type CitationEvent, type CitationPayload, type ClaudeManagedSdkMessageData, type ClaudeManagedWarningData, type CmsLogoFoundData, type CodeBlockData, type CodeExecPart, type CodeRenderBlock, type CodeResultPart, type CompactChunkEvent, type CompactReasoningChunkEvent, type CompactStreamEvent, type ComparisonBlockData, type ComparisonCriterion, type ComparisonTableRenderBlock, type CompletionEvent, type CompletionPayload, type ConsolidatedReasoningBlockData, type ConsolidatedReasoningRenderBlock, type ConsumedInjection, type ContextAnalysisEvent, type ContextAnalysisPayload, type ContextChangedData, type ContextConflictData, type ContextDecidedBy, type ContextDeliveredRef, type ContextDeltaData, type ContextGroomedEvent, type ContextGroomedRenderBlock, type ContextInputPart, type ContextPersistFailedData, type ContextPersistedData, type ContextReceiptBlock, type ContextReceiptData, type ContextReceiptRow, type ContextRule, type ContextStateEvent, type ContextStatePayload, type ContextTrimmedEvent, type ContextTrimmedPayload, type ControlTokenEvent, type ControlTokenPayload, type ConvergentTheme, type ConversationIdData, type ConversationLabeledData, type CookingRecipeRenderBlock, type CutoverCopyAgainProgressData, type CutoverCopyAgainReportData, type CutoverFinalSwitchCopyAgainResultData, type CutoverFinalSwitchResultData, type CutoverFinalSwitchStageData, type CxMessageReservedMetadata, type CxMessageReservedParentRefs, type CxMessageReservedPayload, type CxRequestReservedMetadata, type CxRequestReservedParentRefs, type CxRequestReservedPayload, type CxToolCallReservedMetadata, type CxToolCallReservedParentRefs, type CxToolCallReservedPayload, DEFAULT_FLAG_COMPATIBILITY_MODE, type DataInputPart, type DataPayload, type DataRefSort, type DatabaseRenderBlock, type DbFieldRef, type DbQueryRef, type DbRecordRef, type DecisionAnswer, type DecisionAnswerBlock, type DecisionAnswersData, type DecisionAnswersPart, type DecisionAnswersRenderBlock, type DecisionNode, type DecisionQuestion, type DecisionQuestionsPart, type DecisionRenderBlock, type DecisionTreeBlockData, type DecisionTreeRenderBlock, type DecisionUsage, type DecisionUsageBlock, type DiagramBlockData, type DiagramEdge, type DiagramLayout, type DiagramNode, type DiagramRenderBlock, type DictionaryPublishCompleteData, type DiffBlockData, type DirectiveReceiptRenderBlock, type DirectiveReceiptRenderData, type DisplayQuestionnaireRenderBlock, type DocumentBlock, type DocumentInputPart, type DocumentMediaPart, type EndEvent, type EndPayload, type ErrorEvent, type ErrorPayload, type EventRenderBlock, EventType, type ExtractionIndexCompleteData, type ExtractionIndexProgressData, FLAG_COMPATIBILITY_MODES, type FetchResultItem, type FetchResultsData, type FetchResultsRenderBlock, type FileAnalysisCompleteData, type FileAnalysisStartedData, type FileDetectorCompletedData, type FileSearchBboxItem, type FileSearchCompleteData, type FileSearchHitItem, type FileSearchPageData, type FileSearchStartedData, type FlagCompatibilityMode, type FlashcardItem, type FlashcardsBlockData, type FlashcardsRenderBlock, type FullListBookmark, type FullTableBookmark, type FunctionResultData, type FunctionResultRenderBlock, type GeneratedImageFileItem, type HeartbeatEvent, type HeartbeatPayload, type HostedToolPart, type ImageBlock, type ImageBlockData, type ImageDocumentDetectedData, type ImageEditCompleteData, type ImageGenerateCompleteData, type ImageMediaPart, type ImageOpStageData, type ImageOutputData, type ImageOutputRenderBlock, type ImageRenderBlock, type ImageStudioCommitCompleteData, type ImageStudioCommitItemData, type ImageStudioProcessCompleteData, type ImageStudioVariantData, type InfoEvent, type InfoPayload, type InfoRenderBlock, type Ingredient, type InitCompletionStatus, type InitEvent, type InitPayload, type InjectionConsumedEvent, type InjectionConsumedPayload, type JsonValue, type KeywordClassifyResult, type KeywordResearchArtifact, type KeywordResearchIngestSummary, type KeywordResearchList, type KeywordResearchResult, type KeywordVolumeBatchFailure, type KeywordVolumeBatchReceipt, type KeywordVolumeRefreshResult, type KeywordVolumeRejectedPhrase, type LegalSyncEventData, type LibrarySyncClassifiedData, type LibrarySyncCompletedData, type LibrarySyncFailedData, type LibrarySyncListedData, type LibrarySyncPageData, type LibrarySyncPersistedData, type LibrarySyncStartedData, type LibrarySyncUnavailableData, type ListGroupBookmark, type ListInputPart, type ListItemBookmark, type LiveResourceRefInput, type LlmRequestCompletionEvent, type LlmRequestResult, MESSAGE_FLAGS_METADATA_KEY, MESSAGE_FLAG_KEYS, type MasterworkAuditionOutcomeVerdictData, type MasterworkAuditionProgressData, type MasterworkAuditionVerdictData, type MasterworkBenchArmData, type MasterworkBenchProgressData, type MasterworkBenchVerdictData, type MasterworkBuildCompleteData, type MasterworkBuildProgressData, type MasterworkCheckupCompleteData, type MasterworkCheckupFindingData, type MasterworkCheckupProgressData, type MasterworkCorpusCleanedData, type MasterworkCorpusProgressData, type MasterworkDumpCompleteData, type MasterworkDumpProgressData, type MasterworkDumpResourceOutcome, type MasterworkIngestCompleteData, type MasterworkIngestProgressData, type MasterworkPairwiseArmFaithfulness, type MasterworkPairwiseDifference, type MasterworkPairwiseRuleNote, type MasterworkPairwiseVerdictData, type MasterworkProbeRoundData, type MasterworkRunCancelledData, type MasterworkRunData, type MasterworkRunFailedData, type MasterworkRunSnapshotData, type MasterworkSealedCaseDisclosureData, type MasterworkSectionYield, type MasterworkShortlistData, type MasterworkShortlistItem, type MasterworkSortCase, type MasterworkSortCasesReadyData, type MasterworkSourceAlreadyDistilled, type MasterworkTeachBackRoundData, type MasterworkTriad, type MasterworkTriadItem, type MasterworkTriadsReadyData, type MasterworkTriageCompleteData, type MasterworkTriageDecision, type MasterworkTriageProgressData, type MathProblemBlockData, type MathProblemInner, type MathProblemRenderBlock, type MathProblemStatement, type MathSolution, type MathSolutionStep, type MediaBlockData, type MediaNoticeData, type MediaResearchAnchor, type MediaResearchProfile, type MediaResearchProgressData, type MediaResearchResultData, type MediaResearchRow, type MediaResearchSummaryData, type MediaSelectionJobProgressData, type MemoryBufferSpawnedData, type MemoryContextInjectedData, type MemoryErrorData, type MemoryObserverCompletedData, type MemoryReflectorCompletedData, type MermaidBlockData, type MermaidRenderBlock, type MessageFlagKey, type MessageFlags, type MessagePart, type MessageWrapper, type ModelUsageSummary, type NormalizedCitation, type NotesInputPart, type Operation, type PartialImageData, type PdfClassifyCompleteData, type PdfCleanStartedData, type PdfExtractCompleteData, type PdfExtractStartedData, type PdfExtractedTableItem, type PdfPageClassificationItem, type PdfPageClassifiedData, type PdfPageExtractedData, type PdfPipelineResultData, type PdfReadingOrderBlockItem, type PdfReadingOrderCompleteData, type PdfReadingOrderPageData, type PdfReadingOrderPageItem, type PdfRepeatedRegionBboxItem, type PdfRepeatedRegionItem, type PdfRepeatedRegionsCompleteData, type PdfRepeatedRegionsProgressData, type PdfRepeatedRegionsStripCompleteData, type PdfTableBboxItem, type PdfTableExtractedData, type PdfTablesCompleteData, type PdfTablesPageData, type PdfTablesStartedData, type PersistenceCompletionEvent, type PersistenceResult, type Phase, type PhaseEvent, type PhasePayload, type PlanBriefDraftData, type PlanCmsFillPreviewData, type PlanDeepenResultData, type PlanGenAppliedData, type PlanGenCandidateData, type PlanGenMergedData, type PlanGenStartedData, type PlanPageStepResultData, type PlanRenderBlock, type PlanSetupAgentResultData, type PodcastAssetEvent, type PodcastAssetGenStartedEvent, type PodcastAssetResultEvent, type PodcastCompleteEvent, type PodcastCompleteRenderBlock, type PodcastMetadataEvent, type PodcastOfficialVideoEvent, type PodcastRunEvent, type PodcastStageEvent, type PodcastStageRenderBlock, type PodcastStageStartedEvent, type PodcastTickEvent, type Position, type PreFetchedUrl, type PresentationBlockData, type PresentationRenderBlock, type PrivateRenderBlock, type ProgressCategory, type ProgressItem, type ProgressTrackerBlockData, type ProgressTrackerRenderBlock, type ProjectInputPart, type ProofEvaluatedData, type ProofRunCompletedData, type ProofRunSkippedData, type ProofRunStartedData, type ProofRunStepData, type ProviderRetryEvent, type ProviderRetryPayload, type QuestionnaireBlockData, type QuestionnaireDisplayData, type QuestionnaireQuestion, type QuestionnaireRenderBlock, type QuestionnaireSection, type QuizBlockData, type QuizQuestion, type QuizRenderBlock, type RagVerifyClaimItem, type RagVerifyClaimsData, type RagVerifyResultData, type RagVerifyVerdictData, type RawStreamLine, type ReasoningBlockData, type ReasoningChunkEvent, type ReasoningChunkPayload, type ReasoningEvent, type ReasoningPayload, type ReasoningRenderBlock, type RecipeBlockData, type RecipeStep, type RecordReservedEvent, type RecordReservedPayload, type RecordUpdateEvent, type RecordUpdatePayload, type RemarkAnswer, type RemarkItem, type RemarkTarget, type RemarksInputPart, type RenderBlockEvent, type RenderBlockPayload, type ResearchBlockData, type ResearchChallenge, type ResearchFinding, type ResearchMetadata, type ResearchRecommendation, type ResearchRenderBlock, type ResearchSection, type ResourceCategory, type ResourceChangedEvent, type ResourceChangedPayload, type ResourceItem, type ResourceRefInput, type ResourcesBlockData, type ResourcesRenderBlock, SERVER_INTENTIONALLY_OPAQUE_RENDER_BLOCK_TYPES, SERVER_PROTOCOL_RENDER_BLOCK_TYPES, SERVER_SCALAR_GENERIC_RENDER_BLOCK_TYPES, SERVER_SHAPE_RENDER_BLOCK_TYPES, type ScrapeBatchCompleteData, type ScrapeBatchCompleteRenderBlock, type SearchErrorData, type SearchErrorRenderBlock, type SearchReplaceRenderBlock, type SearchReplaceRenderData, type SearchResultItem, type SearchResultsData, type SearchResultsRenderBlock, type ServerOnlyBlockType, type ServerOnlyRenderBlock, type ServerOpaqueRenderBlock, type ServerProtocolRenderBlock, type ServerScalarGenericRenderBlock, type ServerShapeRenderBlock, type Slide, type SlideTheme, type SnapshotBodyResourceRefInput, type SnapshotContentResourceRefInput, type SnapshotDescriptionResourceRefInput, type SnapshotTextResourceRefInput, type SnapshotValueResourceRefInput, type SpeechScriptPart, type SpeechTurn, type StreamEvent, type StructuredInfoRenderBlock, type StructuredInputFailure, type StructuredInputWarningData, type StructuredInputWarningRenderBlock, type StructuredOutputEvent, type StructuredOutputPayload, type SubAgentCompletionEvent, type SubAgentResult, type TableBlockData, type TableCellBookmark, type TableColumnBookmark, type TableInputPart, type TableRenderBlock, type TableRowBookmark, type TableSchemaBookmark, type TaskInputPart, type TaskItem, type TaskRenderBlock, type TasksBlockData, type TasksRenderBlock, type TextBlockData, type TextPart, type TextRenderBlock, type ThinkingBlockData, type ThinkingPart, type ThinkingRenderBlock, type TimelineBlockData, type TimelineEvent, type TimelinePeriod, type TimelineRenderBlock, type TimingStatsResult, type ToolCallByTool, type ToolCallPart, type ToolCallStatsResult, type ToolCompletedData, type ToolCompletedToolEvent, type ToolDelegatedData, type ToolDelegatedToolEvent, type ToolErrorData, type ToolErrorToolEvent, type ToolEventEvent, type ToolEventPayload, type ToolEventType, type ToolExecutionCompletionEvent, type ToolExecutionResult, type ToolProgressData, type ToolProgressToolEvent, type ToolRenderBlock, type ToolResultPart, type ToolResultPreviewData, type ToolResultPreviewToolEvent, type ToolStartedData, type ToolStartedToolEvent, type ToolStepData, type ToolStepToolEvent, type TranscriptBlockData, type TranscriptInputPart, type TranscriptRenderBlock, type TranscriptSegment, type TranscriptSessionInputPart, type TroubleshootingBlockData, type TroubleshootingIssue, type TroubleshootingLink, type TroubleshootingRenderBlock, type TroubleshootingSolution, type TroubleshootingStep, type TypedCompletionEvent, type TypedDataEvent, type TypedDataPayload, type TypedRecordReservedPayload, type TypedRenderBlock, type TypedStreamEvent, type TypedToolEvent, type TypedToolEventData, type UnknownDataEventData, type UnknownDataEventRenderBlock, type UntypedDataPayload, type UsageTotals, type UserRequestCompletionEvent, type UserRequestResult, type ValueDescriptor, type ValueStoreDataEvent, type ValueStoreStoredRenderBlock, type ValueStoredEvent, type VideoBlock, type VideoBlockData, type VideoMediaPart, type VideoOutputData, type VideoOutputRenderBlock, type VideoRenderBlock, type WarningEvent, type WarningLevel, type WarningPayload, type WebSearchPart, type WebpageInputPart, type WorkbookInputPart, type WorkflowNodeTestResultData, type WorkflowStepData, type WorkflowStepRenderBlock, type YouTubeBlock, type YouTubeMediaPart, type YouTubeTranscriptSourceData, expandCompactEvent, isChunkEvent, isCitationEvent, isCompactChunkEvent, isCompactEvent, isCompactReasoningChunkEvent, isCompletionEvent, isContextAnalysisEvent, isContextGroomedEvent, isContextStateEvent, isContextTrimmedEvent, isControlTokenEvent, isCxMessageReservation, isCxRequestReservation, isCxToolCallReservation, isEndEvent, isErrorEvent, isHeartbeatEvent, isInfoEvent, isInitEvent, isInjectionConsumedEvent, isMessagePart, isPhaseEvent, isProviderRetryEvent, isReasoningChunkEvent, isReasoningEvent, isRecordReservedEvent, isRecordUpdateEvent, isRenderBlockEvent, isResourceChangedEvent, isStructuredOutputEvent, isToolEventEvent, isTypedCompletionEvent, isTypedDataEvent, isTypedRecordReservedPayload, isTypedRenderBlock, isTypedToolEvent, isValueStoredEvent, isWarningEvent, parseMessageContent };
|
|
4300
|
+
export { type AgentAppInputPart, type AgentInputPart, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type CategorizationResultData, type CategorizationResultRenderBlock, type CheckupFinding, type ChunkEvent, type ChunkPayload, type CitationEvent, type CitationPayload, type ClaudeManagedSdkMessageData, type ClaudeManagedWarningData, type CmsLogoFoundData, type CodeBlockData, type CodeExecPart, type CodeRenderBlock, type CodeResultPart, type CompactChunkEvent, type CompactReasoningChunkEvent, type CompactStreamEvent, type ComparisonBlockData, type ComparisonCriterion, type ComparisonTableRenderBlock, type CompletionEvent, type CompletionPayload, type ConsolidatedReasoningBlockData, type ConsolidatedReasoningRenderBlock, type ConsumedInjection, type ContextAnalysisEvent, type ContextAnalysisPayload, type ContextChangedData, type ContextConflictData, type ContextDecidedBy, type ContextDeliveredRef, type ContextDeltaData, type ContextGroomedEvent, type ContextGroomedRenderBlock, type ContextInputPart, type ContextPersistFailedData, type ContextPersistedData, type ContextReceiptBlock, type ContextReceiptData, type ContextReceiptRoomView, type ContextReceiptRow, type ContextReceiptWithheldItem, type ContextRule, type ContextStateEvent, type ContextStatePayload, type ContextTrimmedEvent, type ContextTrimmedPayload, type ControlTokenEvent, type ControlTokenPayload, type ConvergentTheme, type ConversationIdData, type ConversationLabeledData, type CookingRecipeRenderBlock, type CutoverCopyAgainProgressData, type CutoverCopyAgainReportData, type CutoverFinalSwitchCopyAgainResultData, type CutoverFinalSwitchResultData, type CutoverFinalSwitchStageData, type CxMessageReservedMetadata, type CxMessageReservedParentRefs, type CxMessageReservedPayload, type CxRequestReservedMetadata, type CxRequestReservedParentRefs, type CxRequestReservedPayload, type CxToolCallReservedMetadata, type CxToolCallReservedParentRefs, type CxToolCallReservedPayload, DEFAULT_FLAG_COMPATIBILITY_MODE, type DataInputPart, type DataPayload, type DataRefSort, type DatabaseRenderBlock, type DbFieldRef, type DbQueryRef, type DbRecordRef, type DecisionAnswer, type DecisionAnswerBlock, type DecisionAnswersData, type DecisionAnswersPart, type DecisionAnswersRenderBlock, type DecisionNode, type DecisionQuestion, type DecisionQuestionsPart, type DecisionRenderBlock, type DecisionTreeBlockData, type DecisionTreeRenderBlock, type DecisionUsage, type DecisionUsageBlock, type DiagramBlockData, type DiagramEdge, type DiagramLayout, type DiagramNode, type DiagramRenderBlock, type DictionaryPublishCompleteData, type DiffBlockData, type DirectiveReceiptRenderBlock, type DirectiveReceiptRenderData, type DisplayQuestionnaireRenderBlock, type DocumentBlock, type DocumentInputPart, type DocumentMediaPart, type EndEvent, type EndPayload, type ErrorEvent, type ErrorPayload, type EventRenderBlock, EventType, type ExtractionIndexCompleteData, type ExtractionIndexProgressData, FLAG_COMPATIBILITY_MODES, type FetchResultItem, type FetchResultsData, type FetchResultsRenderBlock, type FileAnalysisCompleteData, type FileAnalysisStartedData, type FileDetectorCompletedData, type FileSearchBboxItem, type FileSearchCompleteData, type FileSearchHitItem, type FileSearchPageData, type FileSearchStartedData, type FlagCompatibilityMode, type FlashcardItem, type FlashcardsBlockData, type FlashcardsRenderBlock, type FullListBookmark, type FullTableBookmark, type FunctionResultData, type FunctionResultRenderBlock, type GeneratedImageFileItem, type HeartbeatEvent, type HeartbeatPayload, type HostedToolPart, type ImageBlock, type ImageBlockData, type ImageDocumentDetectedData, type ImageEditCompleteData, type ImageGenerateCompleteData, type ImageMediaPart, type ImageOpStageData, type ImageOutputData, type ImageOutputRenderBlock, type ImageRenderBlock, type ImageStudioCommitCompleteData, type ImageStudioCommitItemData, type ImageStudioProcessCompleteData, type ImageStudioVariantData, type InfoEvent, type InfoPayload, type InfoRenderBlock, type Ingredient, type InitCompletionStatus, type InitEvent, type InitPayload, type InjectionConsumedEvent, type InjectionConsumedPayload, type JsonValue, type KeywordClassifyResult, type KeywordResearchArtifact, type KeywordResearchIngestSummary, type KeywordResearchList, type KeywordResearchResult, type KeywordVolumeBatchFailure, type KeywordVolumeBatchReceipt, type KeywordVolumeRefreshResult, type KeywordVolumeRejectedPhrase, type LegalSyncEventData, type LibrarySyncClassifiedData, type LibrarySyncCompletedData, type LibrarySyncFailedData, type LibrarySyncListedData, type LibrarySyncPageData, type LibrarySyncPersistedData, type LibrarySyncStartedData, type LibrarySyncUnavailableData, type ListGroupBookmark, type ListInputPart, type ListItemBookmark, type LiveResourceRefInput, type LlmRequestCompletionEvent, type LlmRequestResult, MESSAGE_FLAGS_METADATA_KEY, MESSAGE_FLAG_KEYS, type MasterworkAuditionOutcomeVerdictData, type MasterworkAuditionProgressData, type MasterworkAuditionVerdictData, type MasterworkBenchArmData, type MasterworkBenchProgressData, type MasterworkBenchVerdictData, type MasterworkBuildCompleteData, type MasterworkBuildProgressData, type MasterworkCheckupCompleteData, type MasterworkCheckupFindingData, type MasterworkCheckupProgressData, type MasterworkCorpusCleanedData, type MasterworkCorpusProgressData, type MasterworkDumpCompleteData, type MasterworkDumpProgressData, type MasterworkDumpResourceOutcome, type MasterworkIngestCompleteData, type MasterworkIngestProgressData, type MasterworkPairwiseArmFaithfulness, type MasterworkPairwiseDifference, type MasterworkPairwiseRuleNote, type MasterworkPairwiseVerdictData, type MasterworkProbeRoundData, type MasterworkRunCancelledData, type MasterworkRunData, type MasterworkRunFailedData, type MasterworkRunSnapshotData, type MasterworkSealedCaseDisclosureData, type MasterworkSectionYield, type MasterworkShortlistData, type MasterworkShortlistItem, type MasterworkSortCase, type MasterworkSortCasesReadyData, type MasterworkSourceAlreadyDistilled, type MasterworkTeachBackRoundData, type MasterworkTriad, type MasterworkTriadItem, type MasterworkTriadsReadyData, type MasterworkTriageCompleteData, type MasterworkTriageDecision, type MasterworkTriageProgressData, type MathProblemBlockData, type MathProblemInner, type MathProblemRenderBlock, type MathProblemStatement, type MathSolution, type MathSolutionStep, type MediaBlockData, type MediaNoticeData, type MediaResearchAnchor, type MediaResearchProfile, type MediaResearchProgressData, type MediaResearchResultData, type MediaResearchRow, type MediaResearchSummaryData, type MediaSelectionJobProgressData, type MemoryBufferSpawnedData, type MemoryContextInjectedData, type MemoryErrorData, type MemoryObserverCompletedData, type MemoryReflectorCompletedData, type MermaidBlockData, type MermaidRenderBlock, type MessageFlagKey, type MessageFlags, type MessagePart, type MessageWrapper, type ModelUsageSummary, type NormalizedCitation, type NotesInputPart, type Operation, type PartialImageData, type PdfClassifyCompleteData, type PdfCleanStartedData, type PdfExtractCompleteData, type PdfExtractStartedData, type PdfExtractedTableItem, type PdfPageClassificationItem, type PdfPageClassifiedData, type PdfPageExtractedData, type PdfPipelineResultData, type PdfReadingOrderBlockItem, type PdfReadingOrderCompleteData, type PdfReadingOrderPageData, type PdfReadingOrderPageItem, type PdfRepeatedRegionBboxItem, type PdfRepeatedRegionItem, type PdfRepeatedRegionsCompleteData, type PdfRepeatedRegionsProgressData, type PdfRepeatedRegionsStripCompleteData, type PdfTableBboxItem, type PdfTableExtractedData, type PdfTablesCompleteData, type PdfTablesPageData, type PdfTablesStartedData, type PersistenceCompletionEvent, type PersistenceResult, type Phase, type PhaseEvent, type PhasePayload, type PlanBriefDraftData, type PlanCmsFillPreviewData, type PlanDeepenResultData, type PlanGenAppliedData, type PlanGenCandidateData, type PlanGenMergedData, type PlanGenStartedData, type PlanPageStepResultData, type PlanRenderBlock, type PlanSetupAgentResultData, type PodcastAssetEvent, type PodcastAssetGenStartedEvent, type PodcastAssetResultEvent, type PodcastCompleteEvent, type PodcastCompleteRenderBlock, type PodcastMetadataEvent, type PodcastOfficialVideoEvent, type PodcastRunEvent, type PodcastStageEvent, type PodcastStageRenderBlock, type PodcastStageStartedEvent, type PodcastTickEvent, type Position, type PreFetchedUrl, type PresentationBlockData, type PresentationRenderBlock, type PrivateRenderBlock, type ProgressCategory, type ProgressItem, type ProgressTrackerBlockData, type ProgressTrackerRenderBlock, type ProjectInputPart, type ProofEvaluatedData, type ProofRunCompletedData, type ProofRunSkippedData, type ProofRunStartedData, type ProofRunStepData, type ProviderRetryEvent, type ProviderRetryPayload, type QuestionnaireBlockData, type QuestionnaireDisplayData, type QuestionnaireQuestion, type QuestionnaireRenderBlock, type QuestionnaireSection, type QuizBlockData, type QuizQuestion, type QuizRenderBlock, type RagVerifyClaimItem, type RagVerifyClaimsData, type RagVerifyResultData, type RagVerifyVerdictData, type RawStreamLine, type ReasoningBlockData, type ReasoningChunkEvent, type ReasoningChunkPayload, type ReasoningEvent, type ReasoningPayload, type ReasoningRenderBlock, type RecipeBlockData, type RecipeStep, type RecordReservedEvent, type RecordReservedPayload, type RecordUpdateEvent, type RecordUpdatePayload, type RemarkAnswer, type RemarkItem, type RemarkTarget, type RemarkThreadEntry, type RemarksInputPart, type RenderBlockEvent, type RenderBlockPayload, type ResearchBlockData, type ResearchChallenge, type ResearchFinding, type ResearchMetadata, type ResearchRecommendation, type ResearchRenderBlock, type ResearchSection, type ResourceCategory, type ResourceChangedEvent, type ResourceChangedPayload, type ResourceItem, type ResourceRefInput, type ResourcesBlockData, type ResourcesRenderBlock, SERVER_INTENTIONALLY_OPAQUE_RENDER_BLOCK_TYPES, SERVER_PROTOCOL_RENDER_BLOCK_TYPES, SERVER_SCALAR_GENERIC_RENDER_BLOCK_TYPES, SERVER_SHAPE_RENDER_BLOCK_TYPES, type ScrapeBatchCompleteData, type ScrapeBatchCompleteRenderBlock, type SearchErrorData, type SearchErrorRenderBlock, type SearchReplaceRenderBlock, type SearchReplaceRenderData, type SearchResultItem, type SearchResultsData, type SearchResultsRenderBlock, type ServerOnlyBlockType, type ServerOnlyRenderBlock, type ServerOpaqueRenderBlock, type ServerProtocolRenderBlock, type ServerScalarGenericRenderBlock, type ServerShapeRenderBlock, type Slide, type SlideTheme, type SnapshotBodyResourceRefInput, type SnapshotContentResourceRefInput, type SnapshotDescriptionResourceRefInput, type SnapshotTextResourceRefInput, type SnapshotValueResourceRefInput, type SpeechScriptPart, type SpeechTurn, type StreamEvent, type StructuredInfoRenderBlock, type StructuredInputFailure, type StructuredInputWarningData, type StructuredInputWarningRenderBlock, type StructuredOutputEvent, type StructuredOutputPayload, type SubAgentCompletionEvent, type SubAgentResult, type TableBlockData, type TableCellBookmark, type TableColumnBookmark, type TableInputPart, type TableRenderBlock, type TableRowBookmark, type TableSchemaBookmark, type TaskInputPart, type TaskItem, type TaskRenderBlock, type TasksBlockData, type TasksRenderBlock, type TextBlockData, type TextPart, type TextRenderBlock, type ThinkingBlockData, type ThinkingPart, type ThinkingRenderBlock, type TimelineBlockData, type TimelineEvent, type TimelinePeriod, type TimelineRenderBlock, type TimingStatsResult, type ToolCallByTool, type ToolCallPart, type ToolCallStatsResult, type ToolCompletedData, type ToolCompletedToolEvent, type ToolDelegatedData, type ToolDelegatedToolEvent, type ToolErrorData, type ToolErrorToolEvent, type ToolEventEvent, type ToolEventPayload, type ToolEventType, type ToolExecutionCompletionEvent, type ToolExecutionResult, type ToolProgressData, type ToolProgressToolEvent, type ToolRenderBlock, type ToolResultPart, type ToolResultPreviewData, type ToolResultPreviewToolEvent, type ToolStartedData, type ToolStartedToolEvent, type ToolStepData, type ToolStepToolEvent, type TranscriptBlockData, type TranscriptInputPart, type TranscriptRenderBlock, type TranscriptSegment, type TranscriptSessionInputPart, type TroubleshootingBlockData, type TroubleshootingIssue, type TroubleshootingLink, type TroubleshootingRenderBlock, type TroubleshootingSolution, type TroubleshootingStep, type TypedCompletionEvent, type TypedDataEvent, type TypedDataPayload, type TypedRecordReservedPayload, type TypedRenderBlock, type TypedStreamEvent, type TypedToolEvent, type TypedToolEventData, type UnknownDataEventData, type UnknownDataEventRenderBlock, type UntypedDataPayload, type UsageTotals, type UserRequestCompletionEvent, type UserRequestResult, type ValueDescriptor, type ValueStoreDataEvent, type ValueStoreStoredRenderBlock, type ValueStoredEvent, type VideoBlock, type VideoBlockData, type VideoMediaPart, type VideoOutputData, type VideoOutputRenderBlock, type VideoRenderBlock, type WarningEvent, type WarningLevel, type WarningPayload, type WebSearchPart, type WebpageInputPart, type WorkbookInputPart, type WorkflowNodeTestResultData, type WorkflowStepData, type WorkflowStepRenderBlock, type YouTubeBlock, type YouTubeMediaPart, type YouTubeTranscriptSourceData, expandCompactEvent, isChunkEvent, isCitationEvent, isCompactChunkEvent, isCompactEvent, isCompactReasoningChunkEvent, isCompletionEvent, isContextAnalysisEvent, isContextGroomedEvent, isContextStateEvent, isContextTrimmedEvent, isControlTokenEvent, isCxMessageReservation, isCxRequestReservation, isCxToolCallReservation, isEndEvent, isErrorEvent, isHeartbeatEvent, isInfoEvent, isInitEvent, isInjectionConsumedEvent, isMessagePart, isPhaseEvent, isProviderRetryEvent, isReasoningChunkEvent, isReasoningEvent, isRecordReservedEvent, isRecordUpdateEvent, isRenderBlockEvent, isResourceChangedEvent, isStructuredOutputEvent, isToolEventEvent, isTypedCompletionEvent, isTypedDataEvent, isTypedRecordReservedPayload, isTypedRenderBlock, isTypedToolEvent, isValueStoredEvent, isWarningEvent, parseMessageContent };
|
|
@@ -417,6 +417,16 @@ interface ContextReceiptBlock {
|
|
|
417
417
|
label: string;
|
|
418
418
|
delivered: ContextDeliveredRef;
|
|
419
419
|
}
|
|
420
|
+
interface ContextReceiptRoomView {
|
|
421
|
+
participant_id: string;
|
|
422
|
+
participant_key: string;
|
|
423
|
+
round: number;
|
|
424
|
+
policy_version: number;
|
|
425
|
+
included?: string[];
|
|
426
|
+
digested?: string[];
|
|
427
|
+
withheld?: ContextReceiptWithheldItem[];
|
|
428
|
+
error?: string | null;
|
|
429
|
+
}
|
|
420
430
|
interface ContextReceiptRow {
|
|
421
431
|
key: string;
|
|
422
432
|
label: string;
|
|
@@ -436,6 +446,12 @@ interface ContextReceiptRow {
|
|
|
436
446
|
delivered?: ContextDeliveredRef | null;
|
|
437
447
|
on_request?: ContextDeliveredRef | null;
|
|
438
448
|
}
|
|
449
|
+
interface ContextReceiptWithheldItem {
|
|
450
|
+
message_id: string;
|
|
451
|
+
conversation_id: string;
|
|
452
|
+
speaker: string;
|
|
453
|
+
rule: string;
|
|
454
|
+
}
|
|
439
455
|
interface ContextRule {
|
|
440
456
|
include?: boolean | null;
|
|
441
457
|
max_inline_chars?: number | null;
|
|
@@ -449,6 +465,7 @@ interface ContextReceiptData {
|
|
|
449
465
|
rows?: ContextReceiptRow[];
|
|
450
466
|
rules_error?: string | null;
|
|
451
467
|
blocks?: ContextReceiptBlock[];
|
|
468
|
+
room_view?: ContextReceiptRoomView | null;
|
|
452
469
|
}
|
|
453
470
|
interface ConversationIdData {
|
|
454
471
|
type?: "conversation_id";
|
|
@@ -3954,6 +3971,9 @@ interface RemarkItem {
|
|
|
3954
3971
|
answers?: RemarkAnswer[] | null;
|
|
3955
3972
|
title?: string | null;
|
|
3956
3973
|
comment_id?: string | null;
|
|
3974
|
+
id?: string | null;
|
|
3975
|
+
handle?: string | null;
|
|
3976
|
+
thread?: RemarkThreadEntry[] | null;
|
|
3957
3977
|
metadata?: Record<string, unknown>;
|
|
3958
3978
|
}
|
|
3959
3979
|
interface RemarkTarget {
|
|
@@ -3962,6 +3982,12 @@ interface RemarkTarget {
|
|
|
3962
3982
|
record_id?: string | null;
|
|
3963
3983
|
record_title?: string | null;
|
|
3964
3984
|
}
|
|
3985
|
+
interface RemarkThreadEntry {
|
|
3986
|
+
author_name: string;
|
|
3987
|
+
author_kind: "person" | "agent";
|
|
3988
|
+
body: string;
|
|
3989
|
+
created_at?: string | null;
|
|
3990
|
+
}
|
|
3965
3991
|
interface RemarksInputPart {
|
|
3966
3992
|
metadata?: Record<string, unknown>;
|
|
3967
3993
|
type: "input_remarks";
|
|
@@ -4271,4 +4297,4 @@ declare function isControlTokenEvent(e: TypedStreamEvent): e is {
|
|
|
4271
4297
|
declare function isCompactChunkEvent(e: unknown): e is CompactChunkEvent;
|
|
4272
4298
|
declare function isCompactReasoningChunkEvent(e: unknown): e is CompactReasoningChunkEvent;
|
|
4273
4299
|
|
|
4274
|
-
export { type AgentAppInputPart, type AgentInputPart, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type CategorizationResultData, type CategorizationResultRenderBlock, type CheckupFinding, type ChunkEvent, type ChunkPayload, type CitationEvent, type CitationPayload, type ClaudeManagedSdkMessageData, type ClaudeManagedWarningData, type CmsLogoFoundData, type CodeBlockData, type CodeExecPart, type CodeRenderBlock, type CodeResultPart, type CompactChunkEvent, type CompactReasoningChunkEvent, type CompactStreamEvent, type ComparisonBlockData, type ComparisonCriterion, type ComparisonTableRenderBlock, type CompletionEvent, type CompletionPayload, type ConsolidatedReasoningBlockData, type ConsolidatedReasoningRenderBlock, type ConsumedInjection, type ContextAnalysisEvent, type ContextAnalysisPayload, type ContextChangedData, type ContextConflictData, type ContextDecidedBy, type ContextDeliveredRef, type ContextDeltaData, type ContextGroomedEvent, type ContextGroomedRenderBlock, type ContextInputPart, type ContextPersistFailedData, type ContextPersistedData, type ContextReceiptBlock, type ContextReceiptData, type ContextReceiptRow, type ContextRule, type ContextStateEvent, type ContextStatePayload, type ContextTrimmedEvent, type ContextTrimmedPayload, type ControlTokenEvent, type ControlTokenPayload, type ConvergentTheme, type ConversationIdData, type ConversationLabeledData, type CookingRecipeRenderBlock, type CutoverCopyAgainProgressData, type CutoverCopyAgainReportData, type CutoverFinalSwitchCopyAgainResultData, type CutoverFinalSwitchResultData, type CutoverFinalSwitchStageData, type CxMessageReservedMetadata, type CxMessageReservedParentRefs, type CxMessageReservedPayload, type CxRequestReservedMetadata, type CxRequestReservedParentRefs, type CxRequestReservedPayload, type CxToolCallReservedMetadata, type CxToolCallReservedParentRefs, type CxToolCallReservedPayload, DEFAULT_FLAG_COMPATIBILITY_MODE, type DataInputPart, type DataPayload, type DataRefSort, type DatabaseRenderBlock, type DbFieldRef, type DbQueryRef, type DbRecordRef, type DecisionAnswer, type DecisionAnswerBlock, type DecisionAnswersData, type DecisionAnswersPart, type DecisionAnswersRenderBlock, type DecisionNode, type DecisionQuestion, type DecisionQuestionsPart, type DecisionRenderBlock, type DecisionTreeBlockData, type DecisionTreeRenderBlock, type DecisionUsage, type DecisionUsageBlock, type DiagramBlockData, type DiagramEdge, type DiagramLayout, type DiagramNode, type DiagramRenderBlock, type DictionaryPublishCompleteData, type DiffBlockData, type DirectiveReceiptRenderBlock, type DirectiveReceiptRenderData, type DisplayQuestionnaireRenderBlock, type DocumentBlock, type DocumentInputPart, type DocumentMediaPart, type EndEvent, type EndPayload, type ErrorEvent, type ErrorPayload, type EventRenderBlock, EventType, type ExtractionIndexCompleteData, type ExtractionIndexProgressData, FLAG_COMPATIBILITY_MODES, type FetchResultItem, type FetchResultsData, type FetchResultsRenderBlock, type FileAnalysisCompleteData, type FileAnalysisStartedData, type FileDetectorCompletedData, type FileSearchBboxItem, type FileSearchCompleteData, type FileSearchHitItem, type FileSearchPageData, type FileSearchStartedData, type FlagCompatibilityMode, type FlashcardItem, type FlashcardsBlockData, type FlashcardsRenderBlock, type FullListBookmark, type FullTableBookmark, type FunctionResultData, type FunctionResultRenderBlock, type GeneratedImageFileItem, type HeartbeatEvent, type HeartbeatPayload, type HostedToolPart, type ImageBlock, type ImageBlockData, type ImageDocumentDetectedData, type ImageEditCompleteData, type ImageGenerateCompleteData, type ImageMediaPart, type ImageOpStageData, type ImageOutputData, type ImageOutputRenderBlock, type ImageRenderBlock, type ImageStudioCommitCompleteData, type ImageStudioCommitItemData, type ImageStudioProcessCompleteData, type ImageStudioVariantData, type InfoEvent, type InfoPayload, type InfoRenderBlock, type Ingredient, type InitCompletionStatus, type InitEvent, type InitPayload, type InjectionConsumedEvent, type InjectionConsumedPayload, type JsonValue, type KeywordClassifyResult, type KeywordResearchArtifact, type KeywordResearchIngestSummary, type KeywordResearchList, type KeywordResearchResult, type KeywordVolumeBatchFailure, type KeywordVolumeBatchReceipt, type KeywordVolumeRefreshResult, type KeywordVolumeRejectedPhrase, type LegalSyncEventData, type LibrarySyncClassifiedData, type LibrarySyncCompletedData, type LibrarySyncFailedData, type LibrarySyncListedData, type LibrarySyncPageData, type LibrarySyncPersistedData, type LibrarySyncStartedData, type LibrarySyncUnavailableData, type ListGroupBookmark, type ListInputPart, type ListItemBookmark, type LiveResourceRefInput, type LlmRequestCompletionEvent, type LlmRequestResult, MESSAGE_FLAGS_METADATA_KEY, MESSAGE_FLAG_KEYS, type MasterworkAuditionOutcomeVerdictData, type MasterworkAuditionProgressData, type MasterworkAuditionVerdictData, type MasterworkBenchArmData, type MasterworkBenchProgressData, type MasterworkBenchVerdictData, type MasterworkBuildCompleteData, type MasterworkBuildProgressData, type MasterworkCheckupCompleteData, type MasterworkCheckupFindingData, type MasterworkCheckupProgressData, type MasterworkCorpusCleanedData, type MasterworkCorpusProgressData, type MasterworkDumpCompleteData, type MasterworkDumpProgressData, type MasterworkDumpResourceOutcome, type MasterworkIngestCompleteData, type MasterworkIngestProgressData, type MasterworkPairwiseArmFaithfulness, type MasterworkPairwiseDifference, type MasterworkPairwiseRuleNote, type MasterworkPairwiseVerdictData, type MasterworkProbeRoundData, type MasterworkRunCancelledData, type MasterworkRunData, type MasterworkRunFailedData, type MasterworkRunSnapshotData, type MasterworkSealedCaseDisclosureData, type MasterworkSectionYield, type MasterworkShortlistData, type MasterworkShortlistItem, type MasterworkSortCase, type MasterworkSortCasesReadyData, type MasterworkSourceAlreadyDistilled, type MasterworkTeachBackRoundData, type MasterworkTriad, type MasterworkTriadItem, type MasterworkTriadsReadyData, type MasterworkTriageCompleteData, type MasterworkTriageDecision, type MasterworkTriageProgressData, type MathProblemBlockData, type MathProblemInner, type MathProblemRenderBlock, type MathProblemStatement, type MathSolution, type MathSolutionStep, type MediaBlockData, type MediaNoticeData, type MediaResearchAnchor, type MediaResearchProfile, type MediaResearchProgressData, type MediaResearchResultData, type MediaResearchRow, type MediaResearchSummaryData, type MediaSelectionJobProgressData, type MemoryBufferSpawnedData, type MemoryContextInjectedData, type MemoryErrorData, type MemoryObserverCompletedData, type MemoryReflectorCompletedData, type MermaidBlockData, type MermaidRenderBlock, type MessageFlagKey, type MessageFlags, type MessagePart, type MessageWrapper, type ModelUsageSummary, type NormalizedCitation, type NotesInputPart, type Operation, type PartialImageData, type PdfClassifyCompleteData, type PdfCleanStartedData, type PdfExtractCompleteData, type PdfExtractStartedData, type PdfExtractedTableItem, type PdfPageClassificationItem, type PdfPageClassifiedData, type PdfPageExtractedData, type PdfPipelineResultData, type PdfReadingOrderBlockItem, type PdfReadingOrderCompleteData, type PdfReadingOrderPageData, type PdfReadingOrderPageItem, type PdfRepeatedRegionBboxItem, type PdfRepeatedRegionItem, type PdfRepeatedRegionsCompleteData, type PdfRepeatedRegionsProgressData, type PdfRepeatedRegionsStripCompleteData, type PdfTableBboxItem, type PdfTableExtractedData, type PdfTablesCompleteData, type PdfTablesPageData, type PdfTablesStartedData, type PersistenceCompletionEvent, type PersistenceResult, type Phase, type PhaseEvent, type PhasePayload, type PlanBriefDraftData, type PlanCmsFillPreviewData, type PlanDeepenResultData, type PlanGenAppliedData, type PlanGenCandidateData, type PlanGenMergedData, type PlanGenStartedData, type PlanPageStepResultData, type PlanRenderBlock, type PlanSetupAgentResultData, type PodcastAssetEvent, type PodcastAssetGenStartedEvent, type PodcastAssetResultEvent, type PodcastCompleteEvent, type PodcastCompleteRenderBlock, type PodcastMetadataEvent, type PodcastOfficialVideoEvent, type PodcastRunEvent, type PodcastStageEvent, type PodcastStageRenderBlock, type PodcastStageStartedEvent, type PodcastTickEvent, type Position, type PreFetchedUrl, type PresentationBlockData, type PresentationRenderBlock, type PrivateRenderBlock, type ProgressCategory, type ProgressItem, type ProgressTrackerBlockData, type ProgressTrackerRenderBlock, type ProjectInputPart, type ProofEvaluatedData, type ProofRunCompletedData, type ProofRunSkippedData, type ProofRunStartedData, type ProofRunStepData, type ProviderRetryEvent, type ProviderRetryPayload, type QuestionnaireBlockData, type QuestionnaireDisplayData, type QuestionnaireQuestion, type QuestionnaireRenderBlock, type QuestionnaireSection, type QuizBlockData, type QuizQuestion, type QuizRenderBlock, type RagVerifyClaimItem, type RagVerifyClaimsData, type RagVerifyResultData, type RagVerifyVerdictData, type RawStreamLine, type ReasoningBlockData, type ReasoningChunkEvent, type ReasoningChunkPayload, type ReasoningEvent, type ReasoningPayload, type ReasoningRenderBlock, type RecipeBlockData, type RecipeStep, type RecordReservedEvent, type RecordReservedPayload, type RecordUpdateEvent, type RecordUpdatePayload, type RemarkAnswer, type RemarkItem, type RemarkTarget, type RemarksInputPart, type RenderBlockEvent, type RenderBlockPayload, type ResearchBlockData, type ResearchChallenge, type ResearchFinding, type ResearchMetadata, type ResearchRecommendation, type ResearchRenderBlock, type ResearchSection, type ResourceCategory, type ResourceChangedEvent, type ResourceChangedPayload, type ResourceItem, type ResourceRefInput, type ResourcesBlockData, type ResourcesRenderBlock, SERVER_INTENTIONALLY_OPAQUE_RENDER_BLOCK_TYPES, SERVER_PROTOCOL_RENDER_BLOCK_TYPES, SERVER_SCALAR_GENERIC_RENDER_BLOCK_TYPES, SERVER_SHAPE_RENDER_BLOCK_TYPES, type ScrapeBatchCompleteData, type ScrapeBatchCompleteRenderBlock, type SearchErrorData, type SearchErrorRenderBlock, type SearchReplaceRenderBlock, type SearchReplaceRenderData, type SearchResultItem, type SearchResultsData, type SearchResultsRenderBlock, type ServerOnlyBlockType, type ServerOnlyRenderBlock, type ServerOpaqueRenderBlock, type ServerProtocolRenderBlock, type ServerScalarGenericRenderBlock, type ServerShapeRenderBlock, type Slide, type SlideTheme, type SnapshotBodyResourceRefInput, type SnapshotContentResourceRefInput, type SnapshotDescriptionResourceRefInput, type SnapshotTextResourceRefInput, type SnapshotValueResourceRefInput, type SpeechScriptPart, type SpeechTurn, type StreamEvent, type StructuredInfoRenderBlock, type StructuredInputFailure, type StructuredInputWarningData, type StructuredInputWarningRenderBlock, type StructuredOutputEvent, type StructuredOutputPayload, type SubAgentCompletionEvent, type SubAgentResult, type TableBlockData, type TableCellBookmark, type TableColumnBookmark, type TableInputPart, type TableRenderBlock, type TableRowBookmark, type TableSchemaBookmark, type TaskInputPart, type TaskItem, type TaskRenderBlock, type TasksBlockData, type TasksRenderBlock, type TextBlockData, type TextPart, type TextRenderBlock, type ThinkingBlockData, type ThinkingPart, type ThinkingRenderBlock, type TimelineBlockData, type TimelineEvent, type TimelinePeriod, type TimelineRenderBlock, type TimingStatsResult, type ToolCallByTool, type ToolCallPart, type ToolCallStatsResult, type ToolCompletedData, type ToolCompletedToolEvent, type ToolDelegatedData, type ToolDelegatedToolEvent, type ToolErrorData, type ToolErrorToolEvent, type ToolEventEvent, type ToolEventPayload, type ToolEventType, type ToolExecutionCompletionEvent, type ToolExecutionResult, type ToolProgressData, type ToolProgressToolEvent, type ToolRenderBlock, type ToolResultPart, type ToolResultPreviewData, type ToolResultPreviewToolEvent, type ToolStartedData, type ToolStartedToolEvent, type ToolStepData, type ToolStepToolEvent, type TranscriptBlockData, type TranscriptInputPart, type TranscriptRenderBlock, type TranscriptSegment, type TranscriptSessionInputPart, type TroubleshootingBlockData, type TroubleshootingIssue, type TroubleshootingLink, type TroubleshootingRenderBlock, type TroubleshootingSolution, type TroubleshootingStep, type TypedCompletionEvent, type TypedDataEvent, type TypedDataPayload, type TypedRecordReservedPayload, type TypedRenderBlock, type TypedStreamEvent, type TypedToolEvent, type TypedToolEventData, type UnknownDataEventData, type UnknownDataEventRenderBlock, type UntypedDataPayload, type UsageTotals, type UserRequestCompletionEvent, type UserRequestResult, type ValueDescriptor, type ValueStoreDataEvent, type ValueStoreStoredRenderBlock, type ValueStoredEvent, type VideoBlock, type VideoBlockData, type VideoMediaPart, type VideoOutputData, type VideoOutputRenderBlock, type VideoRenderBlock, type WarningEvent, type WarningLevel, type WarningPayload, type WebSearchPart, type WebpageInputPart, type WorkbookInputPart, type WorkflowNodeTestResultData, type WorkflowStepData, type WorkflowStepRenderBlock, type YouTubeBlock, type YouTubeMediaPart, type YouTubeTranscriptSourceData, expandCompactEvent, isChunkEvent, isCitationEvent, isCompactChunkEvent, isCompactEvent, isCompactReasoningChunkEvent, isCompletionEvent, isContextAnalysisEvent, isContextGroomedEvent, isContextStateEvent, isContextTrimmedEvent, isControlTokenEvent, isCxMessageReservation, isCxRequestReservation, isCxToolCallReservation, isEndEvent, isErrorEvent, isHeartbeatEvent, isInfoEvent, isInitEvent, isInjectionConsumedEvent, isMessagePart, isPhaseEvent, isProviderRetryEvent, isReasoningChunkEvent, isReasoningEvent, isRecordReservedEvent, isRecordUpdateEvent, isRenderBlockEvent, isResourceChangedEvent, isStructuredOutputEvent, isToolEventEvent, isTypedCompletionEvent, isTypedDataEvent, isTypedRecordReservedPayload, isTypedRenderBlock, isTypedToolEvent, isValueStoredEvent, isWarningEvent, parseMessageContent };
|
|
4300
|
+
export { type AgentAppInputPart, type AgentInputPart, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type CategorizationResultData, type CategorizationResultRenderBlock, type CheckupFinding, type ChunkEvent, type ChunkPayload, type CitationEvent, type CitationPayload, type ClaudeManagedSdkMessageData, type ClaudeManagedWarningData, type CmsLogoFoundData, type CodeBlockData, type CodeExecPart, type CodeRenderBlock, type CodeResultPart, type CompactChunkEvent, type CompactReasoningChunkEvent, type CompactStreamEvent, type ComparisonBlockData, type ComparisonCriterion, type ComparisonTableRenderBlock, type CompletionEvent, type CompletionPayload, type ConsolidatedReasoningBlockData, type ConsolidatedReasoningRenderBlock, type ConsumedInjection, type ContextAnalysisEvent, type ContextAnalysisPayload, type ContextChangedData, type ContextConflictData, type ContextDecidedBy, type ContextDeliveredRef, type ContextDeltaData, type ContextGroomedEvent, type ContextGroomedRenderBlock, type ContextInputPart, type ContextPersistFailedData, type ContextPersistedData, type ContextReceiptBlock, type ContextReceiptData, type ContextReceiptRoomView, type ContextReceiptRow, type ContextReceiptWithheldItem, type ContextRule, type ContextStateEvent, type ContextStatePayload, type ContextTrimmedEvent, type ContextTrimmedPayload, type ControlTokenEvent, type ControlTokenPayload, type ConvergentTheme, type ConversationIdData, type ConversationLabeledData, type CookingRecipeRenderBlock, type CutoverCopyAgainProgressData, type CutoverCopyAgainReportData, type CutoverFinalSwitchCopyAgainResultData, type CutoverFinalSwitchResultData, type CutoverFinalSwitchStageData, type CxMessageReservedMetadata, type CxMessageReservedParentRefs, type CxMessageReservedPayload, type CxRequestReservedMetadata, type CxRequestReservedParentRefs, type CxRequestReservedPayload, type CxToolCallReservedMetadata, type CxToolCallReservedParentRefs, type CxToolCallReservedPayload, DEFAULT_FLAG_COMPATIBILITY_MODE, type DataInputPart, type DataPayload, type DataRefSort, type DatabaseRenderBlock, type DbFieldRef, type DbQueryRef, type DbRecordRef, type DecisionAnswer, type DecisionAnswerBlock, type DecisionAnswersData, type DecisionAnswersPart, type DecisionAnswersRenderBlock, type DecisionNode, type DecisionQuestion, type DecisionQuestionsPart, type DecisionRenderBlock, type DecisionTreeBlockData, type DecisionTreeRenderBlock, type DecisionUsage, type DecisionUsageBlock, type DiagramBlockData, type DiagramEdge, type DiagramLayout, type DiagramNode, type DiagramRenderBlock, type DictionaryPublishCompleteData, type DiffBlockData, type DirectiveReceiptRenderBlock, type DirectiveReceiptRenderData, type DisplayQuestionnaireRenderBlock, type DocumentBlock, type DocumentInputPart, type DocumentMediaPart, type EndEvent, type EndPayload, type ErrorEvent, type ErrorPayload, type EventRenderBlock, EventType, type ExtractionIndexCompleteData, type ExtractionIndexProgressData, FLAG_COMPATIBILITY_MODES, type FetchResultItem, type FetchResultsData, type FetchResultsRenderBlock, type FileAnalysisCompleteData, type FileAnalysisStartedData, type FileDetectorCompletedData, type FileSearchBboxItem, type FileSearchCompleteData, type FileSearchHitItem, type FileSearchPageData, type FileSearchStartedData, type FlagCompatibilityMode, type FlashcardItem, type FlashcardsBlockData, type FlashcardsRenderBlock, type FullListBookmark, type FullTableBookmark, type FunctionResultData, type FunctionResultRenderBlock, type GeneratedImageFileItem, type HeartbeatEvent, type HeartbeatPayload, type HostedToolPart, type ImageBlock, type ImageBlockData, type ImageDocumentDetectedData, type ImageEditCompleteData, type ImageGenerateCompleteData, type ImageMediaPart, type ImageOpStageData, type ImageOutputData, type ImageOutputRenderBlock, type ImageRenderBlock, type ImageStudioCommitCompleteData, type ImageStudioCommitItemData, type ImageStudioProcessCompleteData, type ImageStudioVariantData, type InfoEvent, type InfoPayload, type InfoRenderBlock, type Ingredient, type InitCompletionStatus, type InitEvent, type InitPayload, type InjectionConsumedEvent, type InjectionConsumedPayload, type JsonValue, type KeywordClassifyResult, type KeywordResearchArtifact, type KeywordResearchIngestSummary, type KeywordResearchList, type KeywordResearchResult, type KeywordVolumeBatchFailure, type KeywordVolumeBatchReceipt, type KeywordVolumeRefreshResult, type KeywordVolumeRejectedPhrase, type LegalSyncEventData, type LibrarySyncClassifiedData, type LibrarySyncCompletedData, type LibrarySyncFailedData, type LibrarySyncListedData, type LibrarySyncPageData, type LibrarySyncPersistedData, type LibrarySyncStartedData, type LibrarySyncUnavailableData, type ListGroupBookmark, type ListInputPart, type ListItemBookmark, type LiveResourceRefInput, type LlmRequestCompletionEvent, type LlmRequestResult, MESSAGE_FLAGS_METADATA_KEY, MESSAGE_FLAG_KEYS, type MasterworkAuditionOutcomeVerdictData, type MasterworkAuditionProgressData, type MasterworkAuditionVerdictData, type MasterworkBenchArmData, type MasterworkBenchProgressData, type MasterworkBenchVerdictData, type MasterworkBuildCompleteData, type MasterworkBuildProgressData, type MasterworkCheckupCompleteData, type MasterworkCheckupFindingData, type MasterworkCheckupProgressData, type MasterworkCorpusCleanedData, type MasterworkCorpusProgressData, type MasterworkDumpCompleteData, type MasterworkDumpProgressData, type MasterworkDumpResourceOutcome, type MasterworkIngestCompleteData, type MasterworkIngestProgressData, type MasterworkPairwiseArmFaithfulness, type MasterworkPairwiseDifference, type MasterworkPairwiseRuleNote, type MasterworkPairwiseVerdictData, type MasterworkProbeRoundData, type MasterworkRunCancelledData, type MasterworkRunData, type MasterworkRunFailedData, type MasterworkRunSnapshotData, type MasterworkSealedCaseDisclosureData, type MasterworkSectionYield, type MasterworkShortlistData, type MasterworkShortlistItem, type MasterworkSortCase, type MasterworkSortCasesReadyData, type MasterworkSourceAlreadyDistilled, type MasterworkTeachBackRoundData, type MasterworkTriad, type MasterworkTriadItem, type MasterworkTriadsReadyData, type MasterworkTriageCompleteData, type MasterworkTriageDecision, type MasterworkTriageProgressData, type MathProblemBlockData, type MathProblemInner, type MathProblemRenderBlock, type MathProblemStatement, type MathSolution, type MathSolutionStep, type MediaBlockData, type MediaNoticeData, type MediaResearchAnchor, type MediaResearchProfile, type MediaResearchProgressData, type MediaResearchResultData, type MediaResearchRow, type MediaResearchSummaryData, type MediaSelectionJobProgressData, type MemoryBufferSpawnedData, type MemoryContextInjectedData, type MemoryErrorData, type MemoryObserverCompletedData, type MemoryReflectorCompletedData, type MermaidBlockData, type MermaidRenderBlock, type MessageFlagKey, type MessageFlags, type MessagePart, type MessageWrapper, type ModelUsageSummary, type NormalizedCitation, type NotesInputPart, type Operation, type PartialImageData, type PdfClassifyCompleteData, type PdfCleanStartedData, type PdfExtractCompleteData, type PdfExtractStartedData, type PdfExtractedTableItem, type PdfPageClassificationItem, type PdfPageClassifiedData, type PdfPageExtractedData, type PdfPipelineResultData, type PdfReadingOrderBlockItem, type PdfReadingOrderCompleteData, type PdfReadingOrderPageData, type PdfReadingOrderPageItem, type PdfRepeatedRegionBboxItem, type PdfRepeatedRegionItem, type PdfRepeatedRegionsCompleteData, type PdfRepeatedRegionsProgressData, type PdfRepeatedRegionsStripCompleteData, type PdfTableBboxItem, type PdfTableExtractedData, type PdfTablesCompleteData, type PdfTablesPageData, type PdfTablesStartedData, type PersistenceCompletionEvent, type PersistenceResult, type Phase, type PhaseEvent, type PhasePayload, type PlanBriefDraftData, type PlanCmsFillPreviewData, type PlanDeepenResultData, type PlanGenAppliedData, type PlanGenCandidateData, type PlanGenMergedData, type PlanGenStartedData, type PlanPageStepResultData, type PlanRenderBlock, type PlanSetupAgentResultData, type PodcastAssetEvent, type PodcastAssetGenStartedEvent, type PodcastAssetResultEvent, type PodcastCompleteEvent, type PodcastCompleteRenderBlock, type PodcastMetadataEvent, type PodcastOfficialVideoEvent, type PodcastRunEvent, type PodcastStageEvent, type PodcastStageRenderBlock, type PodcastStageStartedEvent, type PodcastTickEvent, type Position, type PreFetchedUrl, type PresentationBlockData, type PresentationRenderBlock, type PrivateRenderBlock, type ProgressCategory, type ProgressItem, type ProgressTrackerBlockData, type ProgressTrackerRenderBlock, type ProjectInputPart, type ProofEvaluatedData, type ProofRunCompletedData, type ProofRunSkippedData, type ProofRunStartedData, type ProofRunStepData, type ProviderRetryEvent, type ProviderRetryPayload, type QuestionnaireBlockData, type QuestionnaireDisplayData, type QuestionnaireQuestion, type QuestionnaireRenderBlock, type QuestionnaireSection, type QuizBlockData, type QuizQuestion, type QuizRenderBlock, type RagVerifyClaimItem, type RagVerifyClaimsData, type RagVerifyResultData, type RagVerifyVerdictData, type RawStreamLine, type ReasoningBlockData, type ReasoningChunkEvent, type ReasoningChunkPayload, type ReasoningEvent, type ReasoningPayload, type ReasoningRenderBlock, type RecipeBlockData, type RecipeStep, type RecordReservedEvent, type RecordReservedPayload, type RecordUpdateEvent, type RecordUpdatePayload, type RemarkAnswer, type RemarkItem, type RemarkTarget, type RemarkThreadEntry, type RemarksInputPart, type RenderBlockEvent, type RenderBlockPayload, type ResearchBlockData, type ResearchChallenge, type ResearchFinding, type ResearchMetadata, type ResearchRecommendation, type ResearchRenderBlock, type ResearchSection, type ResourceCategory, type ResourceChangedEvent, type ResourceChangedPayload, type ResourceItem, type ResourceRefInput, type ResourcesBlockData, type ResourcesRenderBlock, SERVER_INTENTIONALLY_OPAQUE_RENDER_BLOCK_TYPES, SERVER_PROTOCOL_RENDER_BLOCK_TYPES, SERVER_SCALAR_GENERIC_RENDER_BLOCK_TYPES, SERVER_SHAPE_RENDER_BLOCK_TYPES, type ScrapeBatchCompleteData, type ScrapeBatchCompleteRenderBlock, type SearchErrorData, type SearchErrorRenderBlock, type SearchReplaceRenderBlock, type SearchReplaceRenderData, type SearchResultItem, type SearchResultsData, type SearchResultsRenderBlock, type ServerOnlyBlockType, type ServerOnlyRenderBlock, type ServerOpaqueRenderBlock, type ServerProtocolRenderBlock, type ServerScalarGenericRenderBlock, type ServerShapeRenderBlock, type Slide, type SlideTheme, type SnapshotBodyResourceRefInput, type SnapshotContentResourceRefInput, type SnapshotDescriptionResourceRefInput, type SnapshotTextResourceRefInput, type SnapshotValueResourceRefInput, type SpeechScriptPart, type SpeechTurn, type StreamEvent, type StructuredInfoRenderBlock, type StructuredInputFailure, type StructuredInputWarningData, type StructuredInputWarningRenderBlock, type StructuredOutputEvent, type StructuredOutputPayload, type SubAgentCompletionEvent, type SubAgentResult, type TableBlockData, type TableCellBookmark, type TableColumnBookmark, type TableInputPart, type TableRenderBlock, type TableRowBookmark, type TableSchemaBookmark, type TaskInputPart, type TaskItem, type TaskRenderBlock, type TasksBlockData, type TasksRenderBlock, type TextBlockData, type TextPart, type TextRenderBlock, type ThinkingBlockData, type ThinkingPart, type ThinkingRenderBlock, type TimelineBlockData, type TimelineEvent, type TimelinePeriod, type TimelineRenderBlock, type TimingStatsResult, type ToolCallByTool, type ToolCallPart, type ToolCallStatsResult, type ToolCompletedData, type ToolCompletedToolEvent, type ToolDelegatedData, type ToolDelegatedToolEvent, type ToolErrorData, type ToolErrorToolEvent, type ToolEventEvent, type ToolEventPayload, type ToolEventType, type ToolExecutionCompletionEvent, type ToolExecutionResult, type ToolProgressData, type ToolProgressToolEvent, type ToolRenderBlock, type ToolResultPart, type ToolResultPreviewData, type ToolResultPreviewToolEvent, type ToolStartedData, type ToolStartedToolEvent, type ToolStepData, type ToolStepToolEvent, type TranscriptBlockData, type TranscriptInputPart, type TranscriptRenderBlock, type TranscriptSegment, type TranscriptSessionInputPart, type TroubleshootingBlockData, type TroubleshootingIssue, type TroubleshootingLink, type TroubleshootingRenderBlock, type TroubleshootingSolution, type TroubleshootingStep, type TypedCompletionEvent, type TypedDataEvent, type TypedDataPayload, type TypedRecordReservedPayload, type TypedRenderBlock, type TypedStreamEvent, type TypedToolEvent, type TypedToolEventData, type UnknownDataEventData, type UnknownDataEventRenderBlock, type UntypedDataPayload, type UsageTotals, type UserRequestCompletionEvent, type UserRequestResult, type ValueDescriptor, type ValueStoreDataEvent, type ValueStoreStoredRenderBlock, type ValueStoredEvent, type VideoBlock, type VideoBlockData, type VideoMediaPart, type VideoOutputData, type VideoOutputRenderBlock, type VideoRenderBlock, type WarningEvent, type WarningLevel, type WarningPayload, type WebSearchPart, type WebpageInputPart, type WorkbookInputPart, type WorkflowNodeTestResultData, type WorkflowStepData, type WorkflowStepRenderBlock, type YouTubeBlock, type YouTubeMediaPart, type YouTubeTranscriptSourceData, expandCompactEvent, isChunkEvent, isCitationEvent, isCompactChunkEvent, isCompactEvent, isCompactReasoningChunkEvent, isCompletionEvent, isContextAnalysisEvent, isContextGroomedEvent, isContextStateEvent, isContextTrimmedEvent, isControlTokenEvent, isCxMessageReservation, isCxRequestReservation, isCxToolCallReservation, isEndEvent, isErrorEvent, isHeartbeatEvent, isInfoEvent, isInitEvent, isInjectionConsumedEvent, isMessagePart, isPhaseEvent, isProviderRetryEvent, isReasoningChunkEvent, isReasoningEvent, isRecordReservedEvent, isRecordUpdateEvent, isRenderBlockEvent, isResourceChangedEvent, isStructuredOutputEvent, isToolEventEvent, isTypedCompletionEvent, isTypedDataEvent, isTypedRecordReservedPayload, isTypedRenderBlock, isTypedToolEvent, isValueStoredEvent, isWarningEvent, parseMessageContent };
|
|
@@ -2444,6 +2444,48 @@ var MESSAGE_PART_SCHEMA = {
|
|
|
2444
2444
|
"default": null,
|
|
2445
2445
|
"title": "Comment Id"
|
|
2446
2446
|
},
|
|
2447
|
+
"id": {
|
|
2448
|
+
"anyOf": [
|
|
2449
|
+
{
|
|
2450
|
+
"maxLength": 200,
|
|
2451
|
+
"minLength": 1,
|
|
2452
|
+
"type": "string"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"type": "null"
|
|
2456
|
+
}
|
|
2457
|
+
],
|
|
2458
|
+
"default": null,
|
|
2459
|
+
"title": "Id"
|
|
2460
|
+
},
|
|
2461
|
+
"handle": {
|
|
2462
|
+
"anyOf": [
|
|
2463
|
+
{
|
|
2464
|
+
"pattern": "^c[1-9][0-9]{0,5}$",
|
|
2465
|
+
"type": "string"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"type": "null"
|
|
2469
|
+
}
|
|
2470
|
+
],
|
|
2471
|
+
"default": null,
|
|
2472
|
+
"title": "Handle"
|
|
2473
|
+
},
|
|
2474
|
+
"thread": {
|
|
2475
|
+
"anyOf": [
|
|
2476
|
+
{
|
|
2477
|
+
"items": {
|
|
2478
|
+
"$ref": "#/$defs/RemarkThreadEntry"
|
|
2479
|
+
},
|
|
2480
|
+
"type": "array"
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"type": "null"
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
"default": null,
|
|
2487
|
+
"title": "Thread"
|
|
2488
|
+
},
|
|
2447
2489
|
"metadata": {
|
|
2448
2490
|
"additionalProperties": true,
|
|
2449
2491
|
"title": "Metadata",
|
|
@@ -2512,6 +2554,50 @@ var MESSAGE_PART_SCHEMA = {
|
|
|
2512
2554
|
"title": "RemarkTarget",
|
|
2513
2555
|
"type": "object"
|
|
2514
2556
|
},
|
|
2557
|
+
"RemarkThreadEntry": {
|
|
2558
|
+
"additionalProperties": false,
|
|
2559
|
+
"description": 'One message of an existing comment thread, snapshotted onto a remark\n("continue this thread in a new chat"). Oldest first.',
|
|
2560
|
+
"properties": {
|
|
2561
|
+
"author_name": {
|
|
2562
|
+
"maxLength": 200,
|
|
2563
|
+
"minLength": 1,
|
|
2564
|
+
"title": "Author Name",
|
|
2565
|
+
"type": "string"
|
|
2566
|
+
},
|
|
2567
|
+
"author_kind": {
|
|
2568
|
+
"enum": [
|
|
2569
|
+
"person",
|
|
2570
|
+
"agent"
|
|
2571
|
+
],
|
|
2572
|
+
"title": "Author Kind",
|
|
2573
|
+
"type": "string"
|
|
2574
|
+
},
|
|
2575
|
+
"body": {
|
|
2576
|
+
"minLength": 1,
|
|
2577
|
+
"title": "Body",
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
},
|
|
2580
|
+
"created_at": {
|
|
2581
|
+
"anyOf": [
|
|
2582
|
+
{
|
|
2583
|
+
"type": "string"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"type": "null"
|
|
2587
|
+
}
|
|
2588
|
+
],
|
|
2589
|
+
"default": null,
|
|
2590
|
+
"title": "Created At"
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
"required": [
|
|
2594
|
+
"author_name",
|
|
2595
|
+
"author_kind",
|
|
2596
|
+
"body"
|
|
2597
|
+
],
|
|
2598
|
+
"title": "RemarkThreadEntry",
|
|
2599
|
+
"type": "object"
|
|
2600
|
+
},
|
|
2515
2601
|
"RemarksInputPart": {
|
|
2516
2602
|
"additionalProperties": false,
|
|
2517
2603
|
"properties": {
|