@ai-matrx/agents 0.59.179 → 0.59.181

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 CHANGED
@@ -1,7 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ### Unreleased
3
+ ## 0.59.181
4
4
 
5
+ - **US spelling: the British spelling of "color" no longer exists in this package (Arman, 2026-10-21).** Every label, template string, comment, identifier, CSS class/variable and test name that spelled it the British way now says color. Guard: `design-system/src/us-spelling.test.ts` scans all of `apps/` for the word. Consumer action: none for imports; if you matched on a British-spelled identifier, class or CSS variable from this package, use the `color` spelling; update the package.
5
6
  - **New `./versions` and `./versions/react` entries: an agent's saved versions — list, compare, restore — moved from the web app (2026-10-21).** `./versions` (pure): `listAgentVersions`, `readAgentVersionSnapshot`, `resolveAgentVersionId`, `promoteAgentVersion` (restore, `agx_promote_version`), `declareContractBreak` over the host's supabase client (`VersionsClient`); `compareAgentDefinitions`, `AGENT_DIFF_OPTIONS`, `promoteFailureMessage`, `computeVersionFetchTargets`, `enrichVersions`, `snapshotToComparable`. `./versions/react`: `AgentDiffViewer` (ports: `enrichment`, `refs` for model/tool identity refs), `buildAgentAdapterRegistry`, `VersionHistoryTimeline` (presentational: the host passes load state, the contract-break write, row actions). New dependency `@ai-matrx/diff`. Consumer action: the web imports these instead of its own copies; Matrx 2 shows them.
6
7
 
7
8
  - **`ContextRulesChip` closes its compact popover on the first Escape even when a focused control has an open tooltip.** The tooltip dismissal layer previously took that key and left the popover visible. Consumer action: none.
@@ -10,10 +11,15 @@
10
11
 
11
12
  - **`toolPriceText` returns null for a zero-cost tool instead of "Free" (2026-10-18, law 14: no "Free").** Positive hints still read "N pts". Consumer action: none (callers already handle null).
12
13
 
14
+ ## 0.59.180
15
+
16
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff c7880ba0a4 52fc93be02 -- apps/shared/matrx-agents/src`
17
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
18
+
13
19
  ## 0.59.179
14
20
 
15
- UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
16
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/matrx-agents/src`.
21
+ Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 2d22605e6d c7880ba0a4 -- apps/shared/matrx-agents/src`
22
+ has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
17
23
 
18
24
  ## 0.59.178
19
25
 
@@ -1728,7 +1734,7 @@ No source changes intended and no consumer action required.
1728
1734
  ## 0.43.4
1729
1735
  ### The context chip has a real pressed state
1730
1736
 
1731
- - `ContextRulesChip` takes `pressed?: boolean`: when set, the face is a toggle button (`aria-pressed`) and wears the pressed face (primary border, tint, inset ring) — the state is no longer colour passed in through `className` alone. Omitted: a plain popover trigger, no `aria-pressed`.
1737
+ - `ContextRulesChip` takes `pressed?: boolean`: when set, the face is a toggle button (`aria-pressed`) and wears the pressed face (primary border, tint, inset ring) — the state is no longer color passed in through `className` alone. Omitted: a plain popover trigger, no `aria-pressed`.
1732
1738
  - Consumer action: a host that toggles a view from the chip (matrx-frontend's canvas tab) passes `pressed={isVisible}` instead of a pressed `className`.
1733
1739
 
1734
1740
  ## 0.43.3
@@ -3655,7 +3661,7 @@ const catalog = createAgentCatalog({
3655
3661
  the provider. `DEFAULT_AGENT_CATALOG_NATIVE_THEME` (dark) and
3656
3662
  `LIGHT_AGENT_CATALOG_NATIVE_THEME` ship; `resolveAgentCatalogNativeTheme`
3657
3663
  merges an override and keeps every value it omits. No native component
3658
- contains a colour literal.
3664
+ contains a color literal.
3659
3665
  - **`catalog/shared/icon-paths.ts`** — the glyph geometry, once. The web icons
3660
3666
  now read it too, so a shape can never differ between the two platforms; the
3661
3667
  native entry draws the same paths through `react-native-svg` (C19: still no
@@ -3952,7 +3958,7 @@ Every existing entry is untouched. This release is purely additive.
3952
3958
  `AgentDetailCard`, `AgentSortPanel`, `AgentCategoriesPanel`, `AgentTagsPanel`,
3953
3959
  `AgentMobileSubView`, `FavoriteAgentButton`, the primitives, and
3954
3960
  `./catalog/styles.css` (structural CSS + a default token sheet; no hardcoded
3955
- colour in any component). React stays an optional peer; the ~20 Lucide glyphs
3961
+ color in any component). React stays an optional peer; the ~20 Lucide glyphs
3956
3962
  are inlined SVGs (C19 — no icon dependency).
3957
3963
 
3958
3964
  ### The default row, and THE DRIFT SCREAM (design D3)
@@ -703,7 +703,7 @@ var MANDATE_KEYS = {
703
703
  */
704
704
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
705
705
  /**
706
- * @deprecated retiring since 0.59.179 — no longer declared in
706
+ * @deprecated retiring since 0.59.181 — no longer declared in
707
707
  * aidream. It leaves this union once no snapshot within the last
708
708
  * 3 published versions still carries it as active.
709
709
  */
@@ -680,7 +680,7 @@ var MANDATE_KEYS = {
680
680
  */
681
681
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
682
682
  /**
683
- * @deprecated retiring since 0.59.179 — no longer declared in
683
+ * @deprecated retiring since 0.59.181 — no longer declared in
684
684
  * aidream. It leaves this union once no snapshot within the last
685
685
  * 3 published versions still carries it as active.
686
686
  */
@@ -656,7 +656,7 @@ var MANDATE_KEYS = {
656
656
  */
657
657
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
658
658
  /**
659
- * @deprecated retiring since 0.59.179 — no longer declared in
659
+ * @deprecated retiring since 0.59.181 — no longer declared in
660
660
  * aidream. It leaves this union once no snapshot within the last
661
661
  * 3 published versions still carries it as active.
662
662
  */
@@ -628,7 +628,7 @@ var MANDATE_KEYS = {
628
628
  */
629
629
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
630
630
  /**
631
- * @deprecated retiring since 0.59.179 — no longer declared in
631
+ * @deprecated retiring since 0.59.181 — no longer declared in
632
632
  * aidream. It leaves this union once no snapshot within the last
633
633
  * 3 published versions still carries it as active.
634
634
  */
@@ -309,6 +309,31 @@ interface AgentStudioFromChatResultData {
309
309
  proof_conversation_id?: string | null;
310
310
  says: string;
311
311
  }
312
+ interface AgentTestProgressEvent {
313
+ type?: "agent_test_progress";
314
+ run_id: string;
315
+ counts?: Record<string, unknown>;
316
+ }
317
+ interface AgentTestResultEvent {
318
+ type?: "agent_test_result";
319
+ run_id: string;
320
+ result_id: string;
321
+ verdict?: string | null;
322
+ door?: string | null;
323
+ setup_key?: string | null;
324
+ }
325
+ interface AgentTestRunStartedEvent {
326
+ type?: "agent_test_run_started";
327
+ run_id: string;
328
+ execution_id: string;
329
+ result_count?: number;
330
+ status?: string;
331
+ }
332
+ interface AgentTestRunStatusEvent {
333
+ type?: "agent_test_run_status";
334
+ run_id: string;
335
+ status: string;
336
+ }
312
337
  interface AssignmentProgressData {
313
338
  type?: "assignment_progress";
314
339
  session_id: string;
@@ -2295,7 +2320,7 @@ interface YouTubeTranscriptSourceData {
2295
2320
  segment_count: number;
2296
2321
  reused_existing: boolean;
2297
2322
  }
2298
- type TypedDataPayload = AgentStudioFromChatProgressData | AgentStudioFromChatResultData | AssignmentProgressData | AudioOutputData | AudioStreamChunkData | AudioStreamEndData | CategorizationResultData | ClaudeManagedSdkMessageData | ClaudeManagedWarningData | CmsLogoFoundData | ContextChangedData | ContextConflictData | ContextDeltaData | ContextPersistFailedData | ContextPersistedData | ContextReceiptData | ConversationIdData | ConversationLabeledData | CutoverCopyAgainProgressData | CutoverCopyAgainReportData | CutoverFinalSwitchCopyAgainResultData | CutoverFinalSwitchResultData | CutoverFinalSwitchStageData | DecisionAnswersData | DecisionReferenceItemData | DecisionReferenceItemFailedData | DecisionReferenceRunDoneData | DecisionReferenceRunStartedData | DictionaryPublishCompleteData | ExtractionIndexCompleteData | ExtractionIndexProgressData | FetchResultsData | FileAnalysisCompleteData | FileAnalysisStartedData | FileDetectorCompletedData | FileSearchCompleteData | FileSearchPageData | FileSearchStartedData | FirstTurnFilledData | FunctionResultData | ImageDocumentDetectedData | ImageEditCompleteData | ImageGenerateCompleteData | ImageOpStageData | ImageOutputData | ImageStudioCommitCompleteData | ImageStudioCommitItemData | ImageStudioProcessCompleteData | ImageStudioVariantData | LegalSyncEventData | LibrarySyncClassifiedData | LibrarySyncCompletedData | LibrarySyncFailedData | LibrarySyncListedData | LibrarySyncPageData | LibrarySyncPersistedData | LibrarySyncStartedData | LibrarySyncUnavailableData | MandateInputRequiredData | MandateRunData | MasterworkAgentBuildData | MasterworkAuditionOutcomeVerdictData | MasterworkAuditionProgressData | MasterworkAuditionVerdictData | MasterworkBenchArmData | MasterworkBenchProgressData | MasterworkBenchVerdictData | MasterworkBuildCompleteData | MasterworkBuildProgressData | MasterworkCheckupCompleteData | MasterworkCheckupFindingData | MasterworkCheckupProgressData | MasterworkCorpusCleanedData | MasterworkCorpusProgressData | MasterworkDumpCompleteData | MasterworkDumpProgressData | MasterworkIngestCompleteData | MasterworkIngestProgressData | MasterworkPairwiseVerdictData | MasterworkProbeRoundData | MasterworkRunCancelledData | MasterworkRunData | MasterworkRunFailedData | MasterworkRunSnapshotData | MasterworkSealedCaseDisclosureData | MasterworkShortlistData | MasterworkSortCasesReadyData | MasterworkTeachBackRoundData | MasterworkTriadsReadyData | MasterworkTriageCompleteData | MasterworkTriageProgressData | MediaBlockData | MediaNoticeData | MediaResearchProgressData | MediaResearchResultData | MediaSelectionJobProgressData | MemoryBufferSpawnedData | MemoryContextInjectedData | MemoryErrorData | MemoryObserverCompletedData | MemoryReflectorCompletedData | PartialImageData | PdfClassifyCompleteData | PdfCleanStartedData | PdfExtractCompleteData | PdfExtractStartedData | PdfPageClassifiedData | PdfPageExtractedData | PdfPipelineResultData | PdfReadingOrderCompleteData | PdfReadingOrderPageData | PdfRepeatedRegionsCompleteData | PdfRepeatedRegionsProgressData | PdfRepeatedRegionsStripCompleteData | PdfTableExtractedData | PdfTablesCompleteData | PdfTablesPageData | PdfTablesStartedData | PlanBriefDraftData | PlanCmsFillPreviewData | PlanDeepenResultData | PlanGenAppliedData | PlanGenCandidateData | PlanGenMergedData | PlanGenStartedData | PlanPageStepResultData | PlanSetupAgentResultData | PodcastAssetEvent | PodcastAssetGenStartedEvent | PodcastAssetResultEvent | PodcastCompleteEvent | PodcastMetadataEvent | PodcastOfficialVideoEvent | PodcastRunEvent | PodcastStageEvent | PodcastStageStartedEvent | PodcastTickEvent | ProofEvaluatedData | ProofRunCompletedData | ProofRunSkippedData | ProofRunStartedData | ProofRunStepData | QuestionnaireDisplayData | RagVerifyClaimsData | RagVerifyResultData | RagVerifyVerdictData | ScrapeBatchCompleteData | SearchErrorData | SearchResultsData | SocialResultEvent | SocialStageEvent | StructuredInputWarningData | VideoOutputData | WorkflowNodeTestResultData | WorkflowStepData | YouTubeTranscriptSourceData;
2323
+ type TypedDataPayload = AgentStudioFromChatProgressData | AgentStudioFromChatResultData | AgentTestProgressEvent | AgentTestResultEvent | AgentTestRunStartedEvent | AgentTestRunStatusEvent | AssignmentProgressData | AudioOutputData | AudioStreamChunkData | AudioStreamEndData | CategorizationResultData | ClaudeManagedSdkMessageData | ClaudeManagedWarningData | CmsLogoFoundData | ContextChangedData | ContextConflictData | ContextDeltaData | ContextPersistFailedData | ContextPersistedData | ContextReceiptData | ConversationIdData | ConversationLabeledData | CutoverCopyAgainProgressData | CutoverCopyAgainReportData | CutoverFinalSwitchCopyAgainResultData | CutoverFinalSwitchResultData | CutoverFinalSwitchStageData | DecisionAnswersData | DecisionReferenceItemData | DecisionReferenceItemFailedData | DecisionReferenceRunDoneData | DecisionReferenceRunStartedData | DictionaryPublishCompleteData | ExtractionIndexCompleteData | ExtractionIndexProgressData | FetchResultsData | FileAnalysisCompleteData | FileAnalysisStartedData | FileDetectorCompletedData | FileSearchCompleteData | FileSearchPageData | FileSearchStartedData | FirstTurnFilledData | FunctionResultData | ImageDocumentDetectedData | ImageEditCompleteData | ImageGenerateCompleteData | ImageOpStageData | ImageOutputData | ImageStudioCommitCompleteData | ImageStudioCommitItemData | ImageStudioProcessCompleteData | ImageStudioVariantData | LegalSyncEventData | LibrarySyncClassifiedData | LibrarySyncCompletedData | LibrarySyncFailedData | LibrarySyncListedData | LibrarySyncPageData | LibrarySyncPersistedData | LibrarySyncStartedData | LibrarySyncUnavailableData | MandateInputRequiredData | MandateRunData | MasterworkAgentBuildData | MasterworkAuditionOutcomeVerdictData | MasterworkAuditionProgressData | MasterworkAuditionVerdictData | MasterworkBenchArmData | MasterworkBenchProgressData | MasterworkBenchVerdictData | MasterworkBuildCompleteData | MasterworkBuildProgressData | MasterworkCheckupCompleteData | MasterworkCheckupFindingData | MasterworkCheckupProgressData | MasterworkCorpusCleanedData | MasterworkCorpusProgressData | MasterworkDumpCompleteData | MasterworkDumpProgressData | MasterworkIngestCompleteData | MasterworkIngestProgressData | MasterworkPairwiseVerdictData | MasterworkProbeRoundData | MasterworkRunCancelledData | MasterworkRunData | MasterworkRunFailedData | MasterworkRunSnapshotData | MasterworkSealedCaseDisclosureData | MasterworkShortlistData | MasterworkSortCasesReadyData | MasterworkTeachBackRoundData | MasterworkTriadsReadyData | MasterworkTriageCompleteData | MasterworkTriageProgressData | MediaBlockData | MediaNoticeData | MediaResearchProgressData | MediaResearchResultData | MediaSelectionJobProgressData | MemoryBufferSpawnedData | MemoryContextInjectedData | MemoryErrorData | MemoryObserverCompletedData | MemoryReflectorCompletedData | PartialImageData | PdfClassifyCompleteData | PdfCleanStartedData | PdfExtractCompleteData | PdfExtractStartedData | PdfPageClassifiedData | PdfPageExtractedData | PdfPipelineResultData | PdfReadingOrderCompleteData | PdfReadingOrderPageData | PdfRepeatedRegionsCompleteData | PdfRepeatedRegionsProgressData | PdfRepeatedRegionsStripCompleteData | PdfTableExtractedData | PdfTablesCompleteData | PdfTablesPageData | PdfTablesStartedData | PlanBriefDraftData | PlanCmsFillPreviewData | PlanDeepenResultData | PlanGenAppliedData | PlanGenCandidateData | PlanGenMergedData | PlanGenStartedData | PlanPageStepResultData | PlanSetupAgentResultData | PodcastAssetEvent | PodcastAssetGenStartedEvent | PodcastAssetResultEvent | PodcastCompleteEvent | PodcastMetadataEvent | PodcastOfficialVideoEvent | PodcastRunEvent | PodcastStageEvent | PodcastStageStartedEvent | PodcastTickEvent | ProofEvaluatedData | ProofRunCompletedData | ProofRunSkippedData | ProofRunStartedData | ProofRunStepData | QuestionnaireDisplayData | RagVerifyClaimsData | RagVerifyResultData | RagVerifyVerdictData | ScrapeBatchCompleteData | SearchErrorData | SearchResultsData | SocialResultEvent | SocialStageEvent | StructuredInputWarningData | VideoOutputData | WorkflowNodeTestResultData | WorkflowStepData | YouTubeTranscriptSourceData;
2299
2324
  /** Fallback for data events whose `type` isn't in TypedDataPayload. */
2300
2325
  interface UntypedDataPayload {
2301
2326
  [key: string]: unknown;
@@ -4500,4 +4525,4 @@ declare function isControlTokenEvent(e: TypedStreamEvent): e is {
4500
4525
  declare function isCompactChunkEvent(e: unknown): e is CompactChunkEvent;
4501
4526
  declare function isCompactReasoningChunkEvent(e: unknown): e is CompactReasoningChunkEvent;
4502
4527
 
4503
- export { type AgentAppInputPart, type AgentInputPart, type AgentStudioBriefVariable, type AgentStudioFromChatProgressData, type AgentStudioFromChatResultData, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type BlockStateRef, 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 ContextReceiptPassthrough, type ContextReceiptPassthroughOverride, type ContextReceiptPassthroughWithheld, 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 DecisionReferenceItemData, type DecisionReferenceItemFailedData, type DecisionReferenceModel, type DecisionReferenceRunDoneData, type DecisionReferenceRunStartedData, 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 FirstTurnFilledData, 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 MandateInputRequiredData, type MandateInputRequiredRenderBlock, type MandateRunData, type MasterworkAgentBuildData, 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 SocialResultEvent, type SocialStageEvent, 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 };
4528
+ export { type AgentAppInputPart, type AgentInputPart, type AgentStudioBriefVariable, type AgentStudioFromChatProgressData, type AgentStudioFromChatResultData, type AgentTestProgressEvent, type AgentTestResultEvent, type AgentTestRunStartedEvent, type AgentTestRunStatusEvent, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type BlockStateRef, 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 ContextReceiptPassthrough, type ContextReceiptPassthroughOverride, type ContextReceiptPassthroughWithheld, 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 DecisionReferenceItemData, type DecisionReferenceItemFailedData, type DecisionReferenceModel, type DecisionReferenceRunDoneData, type DecisionReferenceRunStartedData, 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 FirstTurnFilledData, 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 MandateInputRequiredData, type MandateInputRequiredRenderBlock, type MandateRunData, type MasterworkAgentBuildData, 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 SocialResultEvent, type SocialStageEvent, 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 };
@@ -309,6 +309,31 @@ interface AgentStudioFromChatResultData {
309
309
  proof_conversation_id?: string | null;
310
310
  says: string;
311
311
  }
312
+ interface AgentTestProgressEvent {
313
+ type?: "agent_test_progress";
314
+ run_id: string;
315
+ counts?: Record<string, unknown>;
316
+ }
317
+ interface AgentTestResultEvent {
318
+ type?: "agent_test_result";
319
+ run_id: string;
320
+ result_id: string;
321
+ verdict?: string | null;
322
+ door?: string | null;
323
+ setup_key?: string | null;
324
+ }
325
+ interface AgentTestRunStartedEvent {
326
+ type?: "agent_test_run_started";
327
+ run_id: string;
328
+ execution_id: string;
329
+ result_count?: number;
330
+ status?: string;
331
+ }
332
+ interface AgentTestRunStatusEvent {
333
+ type?: "agent_test_run_status";
334
+ run_id: string;
335
+ status: string;
336
+ }
312
337
  interface AssignmentProgressData {
313
338
  type?: "assignment_progress";
314
339
  session_id: string;
@@ -2295,7 +2320,7 @@ interface YouTubeTranscriptSourceData {
2295
2320
  segment_count: number;
2296
2321
  reused_existing: boolean;
2297
2322
  }
2298
- type TypedDataPayload = AgentStudioFromChatProgressData | AgentStudioFromChatResultData | AssignmentProgressData | AudioOutputData | AudioStreamChunkData | AudioStreamEndData | CategorizationResultData | ClaudeManagedSdkMessageData | ClaudeManagedWarningData | CmsLogoFoundData | ContextChangedData | ContextConflictData | ContextDeltaData | ContextPersistFailedData | ContextPersistedData | ContextReceiptData | ConversationIdData | ConversationLabeledData | CutoverCopyAgainProgressData | CutoverCopyAgainReportData | CutoverFinalSwitchCopyAgainResultData | CutoverFinalSwitchResultData | CutoverFinalSwitchStageData | DecisionAnswersData | DecisionReferenceItemData | DecisionReferenceItemFailedData | DecisionReferenceRunDoneData | DecisionReferenceRunStartedData | DictionaryPublishCompleteData | ExtractionIndexCompleteData | ExtractionIndexProgressData | FetchResultsData | FileAnalysisCompleteData | FileAnalysisStartedData | FileDetectorCompletedData | FileSearchCompleteData | FileSearchPageData | FileSearchStartedData | FirstTurnFilledData | FunctionResultData | ImageDocumentDetectedData | ImageEditCompleteData | ImageGenerateCompleteData | ImageOpStageData | ImageOutputData | ImageStudioCommitCompleteData | ImageStudioCommitItemData | ImageStudioProcessCompleteData | ImageStudioVariantData | LegalSyncEventData | LibrarySyncClassifiedData | LibrarySyncCompletedData | LibrarySyncFailedData | LibrarySyncListedData | LibrarySyncPageData | LibrarySyncPersistedData | LibrarySyncStartedData | LibrarySyncUnavailableData | MandateInputRequiredData | MandateRunData | MasterworkAgentBuildData | MasterworkAuditionOutcomeVerdictData | MasterworkAuditionProgressData | MasterworkAuditionVerdictData | MasterworkBenchArmData | MasterworkBenchProgressData | MasterworkBenchVerdictData | MasterworkBuildCompleteData | MasterworkBuildProgressData | MasterworkCheckupCompleteData | MasterworkCheckupFindingData | MasterworkCheckupProgressData | MasterworkCorpusCleanedData | MasterworkCorpusProgressData | MasterworkDumpCompleteData | MasterworkDumpProgressData | MasterworkIngestCompleteData | MasterworkIngestProgressData | MasterworkPairwiseVerdictData | MasterworkProbeRoundData | MasterworkRunCancelledData | MasterworkRunData | MasterworkRunFailedData | MasterworkRunSnapshotData | MasterworkSealedCaseDisclosureData | MasterworkShortlistData | MasterworkSortCasesReadyData | MasterworkTeachBackRoundData | MasterworkTriadsReadyData | MasterworkTriageCompleteData | MasterworkTriageProgressData | MediaBlockData | MediaNoticeData | MediaResearchProgressData | MediaResearchResultData | MediaSelectionJobProgressData | MemoryBufferSpawnedData | MemoryContextInjectedData | MemoryErrorData | MemoryObserverCompletedData | MemoryReflectorCompletedData | PartialImageData | PdfClassifyCompleteData | PdfCleanStartedData | PdfExtractCompleteData | PdfExtractStartedData | PdfPageClassifiedData | PdfPageExtractedData | PdfPipelineResultData | PdfReadingOrderCompleteData | PdfReadingOrderPageData | PdfRepeatedRegionsCompleteData | PdfRepeatedRegionsProgressData | PdfRepeatedRegionsStripCompleteData | PdfTableExtractedData | PdfTablesCompleteData | PdfTablesPageData | PdfTablesStartedData | PlanBriefDraftData | PlanCmsFillPreviewData | PlanDeepenResultData | PlanGenAppliedData | PlanGenCandidateData | PlanGenMergedData | PlanGenStartedData | PlanPageStepResultData | PlanSetupAgentResultData | PodcastAssetEvent | PodcastAssetGenStartedEvent | PodcastAssetResultEvent | PodcastCompleteEvent | PodcastMetadataEvent | PodcastOfficialVideoEvent | PodcastRunEvent | PodcastStageEvent | PodcastStageStartedEvent | PodcastTickEvent | ProofEvaluatedData | ProofRunCompletedData | ProofRunSkippedData | ProofRunStartedData | ProofRunStepData | QuestionnaireDisplayData | RagVerifyClaimsData | RagVerifyResultData | RagVerifyVerdictData | ScrapeBatchCompleteData | SearchErrorData | SearchResultsData | SocialResultEvent | SocialStageEvent | StructuredInputWarningData | VideoOutputData | WorkflowNodeTestResultData | WorkflowStepData | YouTubeTranscriptSourceData;
2323
+ type TypedDataPayload = AgentStudioFromChatProgressData | AgentStudioFromChatResultData | AgentTestProgressEvent | AgentTestResultEvent | AgentTestRunStartedEvent | AgentTestRunStatusEvent | AssignmentProgressData | AudioOutputData | AudioStreamChunkData | AudioStreamEndData | CategorizationResultData | ClaudeManagedSdkMessageData | ClaudeManagedWarningData | CmsLogoFoundData | ContextChangedData | ContextConflictData | ContextDeltaData | ContextPersistFailedData | ContextPersistedData | ContextReceiptData | ConversationIdData | ConversationLabeledData | CutoverCopyAgainProgressData | CutoverCopyAgainReportData | CutoverFinalSwitchCopyAgainResultData | CutoverFinalSwitchResultData | CutoverFinalSwitchStageData | DecisionAnswersData | DecisionReferenceItemData | DecisionReferenceItemFailedData | DecisionReferenceRunDoneData | DecisionReferenceRunStartedData | DictionaryPublishCompleteData | ExtractionIndexCompleteData | ExtractionIndexProgressData | FetchResultsData | FileAnalysisCompleteData | FileAnalysisStartedData | FileDetectorCompletedData | FileSearchCompleteData | FileSearchPageData | FileSearchStartedData | FirstTurnFilledData | FunctionResultData | ImageDocumentDetectedData | ImageEditCompleteData | ImageGenerateCompleteData | ImageOpStageData | ImageOutputData | ImageStudioCommitCompleteData | ImageStudioCommitItemData | ImageStudioProcessCompleteData | ImageStudioVariantData | LegalSyncEventData | LibrarySyncClassifiedData | LibrarySyncCompletedData | LibrarySyncFailedData | LibrarySyncListedData | LibrarySyncPageData | LibrarySyncPersistedData | LibrarySyncStartedData | LibrarySyncUnavailableData | MandateInputRequiredData | MandateRunData | MasterworkAgentBuildData | MasterworkAuditionOutcomeVerdictData | MasterworkAuditionProgressData | MasterworkAuditionVerdictData | MasterworkBenchArmData | MasterworkBenchProgressData | MasterworkBenchVerdictData | MasterworkBuildCompleteData | MasterworkBuildProgressData | MasterworkCheckupCompleteData | MasterworkCheckupFindingData | MasterworkCheckupProgressData | MasterworkCorpusCleanedData | MasterworkCorpusProgressData | MasterworkDumpCompleteData | MasterworkDumpProgressData | MasterworkIngestCompleteData | MasterworkIngestProgressData | MasterworkPairwiseVerdictData | MasterworkProbeRoundData | MasterworkRunCancelledData | MasterworkRunData | MasterworkRunFailedData | MasterworkRunSnapshotData | MasterworkSealedCaseDisclosureData | MasterworkShortlistData | MasterworkSortCasesReadyData | MasterworkTeachBackRoundData | MasterworkTriadsReadyData | MasterworkTriageCompleteData | MasterworkTriageProgressData | MediaBlockData | MediaNoticeData | MediaResearchProgressData | MediaResearchResultData | MediaSelectionJobProgressData | MemoryBufferSpawnedData | MemoryContextInjectedData | MemoryErrorData | MemoryObserverCompletedData | MemoryReflectorCompletedData | PartialImageData | PdfClassifyCompleteData | PdfCleanStartedData | PdfExtractCompleteData | PdfExtractStartedData | PdfPageClassifiedData | PdfPageExtractedData | PdfPipelineResultData | PdfReadingOrderCompleteData | PdfReadingOrderPageData | PdfRepeatedRegionsCompleteData | PdfRepeatedRegionsProgressData | PdfRepeatedRegionsStripCompleteData | PdfTableExtractedData | PdfTablesCompleteData | PdfTablesPageData | PdfTablesStartedData | PlanBriefDraftData | PlanCmsFillPreviewData | PlanDeepenResultData | PlanGenAppliedData | PlanGenCandidateData | PlanGenMergedData | PlanGenStartedData | PlanPageStepResultData | PlanSetupAgentResultData | PodcastAssetEvent | PodcastAssetGenStartedEvent | PodcastAssetResultEvent | PodcastCompleteEvent | PodcastMetadataEvent | PodcastOfficialVideoEvent | PodcastRunEvent | PodcastStageEvent | PodcastStageStartedEvent | PodcastTickEvent | ProofEvaluatedData | ProofRunCompletedData | ProofRunSkippedData | ProofRunStartedData | ProofRunStepData | QuestionnaireDisplayData | RagVerifyClaimsData | RagVerifyResultData | RagVerifyVerdictData | ScrapeBatchCompleteData | SearchErrorData | SearchResultsData | SocialResultEvent | SocialStageEvent | StructuredInputWarningData | VideoOutputData | WorkflowNodeTestResultData | WorkflowStepData | YouTubeTranscriptSourceData;
2299
2324
  /** Fallback for data events whose `type` isn't in TypedDataPayload. */
2300
2325
  interface UntypedDataPayload {
2301
2326
  [key: string]: unknown;
@@ -4500,4 +4525,4 @@ declare function isControlTokenEvent(e: TypedStreamEvent): e is {
4500
4525
  declare function isCompactChunkEvent(e: unknown): e is CompactChunkEvent;
4501
4526
  declare function isCompactReasoningChunkEvent(e: unknown): e is CompactReasoningChunkEvent;
4502
4527
 
4503
- export { type AgentAppInputPart, type AgentInputPart, type AgentStudioBriefVariable, type AgentStudioFromChatProgressData, type AgentStudioFromChatResultData, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type BlockStateRef, 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 ContextReceiptPassthrough, type ContextReceiptPassthroughOverride, type ContextReceiptPassthroughWithheld, 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 DecisionReferenceItemData, type DecisionReferenceItemFailedData, type DecisionReferenceModel, type DecisionReferenceRunDoneData, type DecisionReferenceRunStartedData, 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 FirstTurnFilledData, 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 MandateInputRequiredData, type MandateInputRequiredRenderBlock, type MandateRunData, type MasterworkAgentBuildData, 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 SocialResultEvent, type SocialStageEvent, 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 };
4528
+ export { type AgentAppInputPart, type AgentInputPart, type AgentStudioBriefVariable, type AgentStudioFromChatProgressData, type AgentStudioFromChatResultData, type AgentTestProgressEvent, type AgentTestResultEvent, type AgentTestRunStartedEvent, type AgentTestRunStatusEvent, type AggregatedUsageResult, type ArtifactRenderBlock, type AssignmentProgressData, type AudioBlock, type AudioMediaPart, type AudioOutputData, type AudioOutputRenderBlock, type AudioStreamChunkData, type AudioStreamEndData, type AuditionRuleFinding, type BlockStateRef, 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 ContextReceiptPassthrough, type ContextReceiptPassthroughOverride, type ContextReceiptPassthroughWithheld, 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 DecisionReferenceItemData, type DecisionReferenceItemFailedData, type DecisionReferenceModel, type DecisionReferenceRunDoneData, type DecisionReferenceRunStartedData, 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 FirstTurnFilledData, 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 MandateInputRequiredData, type MandateInputRequiredRenderBlock, type MandateRunData, type MasterworkAgentBuildData, 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 SocialResultEvent, type SocialStageEvent, 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 };
@@ -47,9 +47,9 @@ module.exports = __toCommonJS(mandates_exports);
47
47
 
48
48
  // mandates/keys.generated.ts
49
49
  var MANDATE_KEYS_META = {
50
- aidreamRevision: "c7880ba0a4edb78ab4c5eafb15840c9163fba699",
50
+ aidreamRevision: "b50b1b48e7c1eab250e3abcd099fe98d9988facb",
51
51
  generatorVersion: "1.0.0",
52
- packageVersion: "0.59.179",
52
+ packageVersion: "0.59.181",
53
53
  retireWindow: 3
54
54
  };
55
55
  var MANDATE_KEYS = {
@@ -666,7 +666,7 @@ var MANDATE_KEYS = {
666
666
  */
667
667
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
668
668
  /**
669
- * @deprecated retiring since 0.59.179 — no longer declared in
669
+ * @deprecated retiring since 0.59.181 — no longer declared in
670
670
  * aidream. It leaves this union once no snapshot within the last
671
671
  * 3 published versions still carries it as active.
672
672
  */
@@ -693,7 +693,7 @@ var MANDATE_KEYS = {
693
693
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
694
694
  var RETIRING_MANDATE_KEYS = {
695
695
  "brand_discovery.offering_roles": "0.59.0",
696
- "coding_session.managed_translation_reference": "0.59.179",
696
+ "coding_session.managed_translation_reference": "0.59.181",
697
697
  "pdf.content_cleaner": "0.59.0",
698
698
  "sms.owner_beta": "0.59.0",
699
699
  "voice.owner_beta": "0.59.0"
@@ -6,9 +6,9 @@
6
6
  * from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
7
7
  * boot sync writes to the database from. There is no hand list anywhere.
8
8
  *
9
- * aidream revision: c7880ba0a4edb78ab4c5eafb15840c9163fba699
9
+ * aidream revision: b50b1b48e7c1eab250e3abcd099fe98d9988facb
10
10
  * generator version: 1.0.0
11
- * package version: 0.59.179
11
+ * package version: 0.59.181
12
12
  * active keys: 606
13
13
  * retiring keys: 5
14
14
  *
@@ -19,9 +19,9 @@
19
19
  */
20
20
  /** Where this module came from — surfaced so a report can name the exact build. */
21
21
  declare const MANDATE_KEYS_META: {
22
- readonly aidreamRevision: "c7880ba0a4edb78ab4c5eafb15840c9163fba699";
22
+ readonly aidreamRevision: "b50b1b48e7c1eab250e3abcd099fe98d9988facb";
23
23
  readonly generatorVersion: "1.0.0";
24
- readonly packageVersion: "0.59.179";
24
+ readonly packageVersion: "0.59.181";
25
25
  readonly retireWindow: 3;
26
26
  };
27
27
  /** Every declared mandate key, by THE IDENTIFIER RULE. */
@@ -639,7 +639,7 @@ declare const MANDATE_KEYS: {
639
639
  */
640
640
  readonly brand_discovery__offering_roles: "brand_discovery.offering_roles";
641
641
  /**
642
- * @deprecated retiring since 0.59.179 — no longer declared in
642
+ * @deprecated retiring since 0.59.181 — no longer declared in
643
643
  * aidream. It leaves this union once no snapshot within the last
644
644
  * 3 published versions still carries it as active.
645
645
  */
@@ -670,7 +670,7 @@ declare const ALL_MANDATE_KEYS: readonly MandateKey[];
670
670
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
671
671
  declare const RETIRING_MANDATE_KEYS: {
672
672
  readonly "brand_discovery.offering_roles": "0.59.0";
673
- readonly "coding_session.managed_translation_reference": "0.59.179";
673
+ readonly "coding_session.managed_translation_reference": "0.59.181";
674
674
  readonly "pdf.content_cleaner": "0.59.0";
675
675
  readonly "sms.owner_beta": "0.59.0";
676
676
  readonly "voice.owner_beta": "0.59.0";
@@ -6,9 +6,9 @@
6
6
  * from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
7
7
  * boot sync writes to the database from. There is no hand list anywhere.
8
8
  *
9
- * aidream revision: c7880ba0a4edb78ab4c5eafb15840c9163fba699
9
+ * aidream revision: b50b1b48e7c1eab250e3abcd099fe98d9988facb
10
10
  * generator version: 1.0.0
11
- * package version: 0.59.179
11
+ * package version: 0.59.181
12
12
  * active keys: 606
13
13
  * retiring keys: 5
14
14
  *
@@ -19,9 +19,9 @@
19
19
  */
20
20
  /** Where this module came from — surfaced so a report can name the exact build. */
21
21
  declare const MANDATE_KEYS_META: {
22
- readonly aidreamRevision: "c7880ba0a4edb78ab4c5eafb15840c9163fba699";
22
+ readonly aidreamRevision: "b50b1b48e7c1eab250e3abcd099fe98d9988facb";
23
23
  readonly generatorVersion: "1.0.0";
24
- readonly packageVersion: "0.59.179";
24
+ readonly packageVersion: "0.59.181";
25
25
  readonly retireWindow: 3;
26
26
  };
27
27
  /** Every declared mandate key, by THE IDENTIFIER RULE. */
@@ -639,7 +639,7 @@ declare const MANDATE_KEYS: {
639
639
  */
640
640
  readonly brand_discovery__offering_roles: "brand_discovery.offering_roles";
641
641
  /**
642
- * @deprecated retiring since 0.59.179 — no longer declared in
642
+ * @deprecated retiring since 0.59.181 — no longer declared in
643
643
  * aidream. It leaves this union once no snapshot within the last
644
644
  * 3 published versions still carries it as active.
645
645
  */
@@ -670,7 +670,7 @@ declare const ALL_MANDATE_KEYS: readonly MandateKey[];
670
670
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
671
671
  declare const RETIRING_MANDATE_KEYS: {
672
672
  readonly "brand_discovery.offering_roles": "0.59.0";
673
- readonly "coding_session.managed_translation_reference": "0.59.179";
673
+ readonly "coding_session.managed_translation_reference": "0.59.181";
674
674
  readonly "pdf.content_cleaner": "0.59.0";
675
675
  readonly "sms.owner_beta": "0.59.0";
676
676
  readonly "voice.owner_beta": "0.59.0";
@@ -1,8 +1,8 @@
1
1
  // mandates/keys.generated.ts
2
2
  var MANDATE_KEYS_META = {
3
- aidreamRevision: "c7880ba0a4edb78ab4c5eafb15840c9163fba699",
3
+ aidreamRevision: "b50b1b48e7c1eab250e3abcd099fe98d9988facb",
4
4
  generatorVersion: "1.0.0",
5
- packageVersion: "0.59.179",
5
+ packageVersion: "0.59.181",
6
6
  retireWindow: 3
7
7
  };
8
8
  var MANDATE_KEYS = {
@@ -619,7 +619,7 @@ var MANDATE_KEYS = {
619
619
  */
620
620
  brand_discovery__offering_roles: "brand_discovery.offering_roles",
621
621
  /**
622
- * @deprecated retiring since 0.59.179 — no longer declared in
622
+ * @deprecated retiring since 0.59.181 — no longer declared in
623
623
  * aidream. It leaves this union once no snapshot within the last
624
624
  * 3 published versions still carries it as active.
625
625
  */
@@ -646,7 +646,7 @@ var MANDATE_KEYS = {
646
646
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
647
647
  var RETIRING_MANDATE_KEYS = {
648
648
  "brand_discovery.offering_roles": "0.59.0",
649
- "coding_session.managed_translation_reference": "0.59.179",
649
+ "coding_session.managed_translation_reference": "0.59.181",
650
650
  "pdf.content_cleaner": "0.59.0",
651
651
  "sms.owner_beta": "0.59.0",
652
652
  "voice.owner_beta": "0.59.0"
@@ -100,6 +100,7 @@ __export(models_exports, {
100
100
  requireCanonicalCapabilities: () => requireCanonicalCapabilities,
101
101
  requiredArtifacts: () => requiredArtifacts,
102
102
  resetSuccessionLogForTests: () => resetSuccessionLogForTests,
103
+ resolveLiveModelId: () => resolveLiveModelId,
103
104
  resolvePreferredModelChoice: () => resolvePreferredModelChoice,
104
105
  resolveSuccessor: () => resolveSuccessor,
105
106
  selectActiveModels: () => selectActiveModels,
@@ -1689,6 +1690,28 @@ function resolveSuccessor(modelId, index) {
1689
1690
  function resetSuccessionLogForTests() {
1690
1691
  loggedBroken.clear();
1691
1692
  }
1693
+ async function resolveLiveModelId(client, modelId) {
1694
+ const index = /* @__PURE__ */ new Map();
1695
+ let want = modelId;
1696
+ for (let hop = 0; want && hop <= MAX_SUCCESSION_HOPS && !index.has(want); hop += 1) {
1697
+ const { data, error } = await client.schema("ai").from("model_public").select("id, is_deprecated, retired_at, successor_id").in("id", [want]);
1698
+ if (error) {
1699
+ console.warn(`[models/succession] ${modelId}: the catalog could not be read (${error.message}); keeping the model as given.`);
1700
+ return modelId;
1701
+ }
1702
+ const row = Array.isArray(data) ? data[0] : null;
1703
+ if (!row || typeof row.id !== "string") break;
1704
+ const node = {
1705
+ id: row.id,
1706
+ isDeprecated: row.is_deprecated === true,
1707
+ retiredAt: typeof row.retired_at === "string" ? row.retired_at : null,
1708
+ successorId: typeof row.successor_id === "string" ? row.successor_id : null
1709
+ };
1710
+ index.set(node.id, node);
1711
+ want = isSupersedable(node) ? node.successorId : null;
1712
+ }
1713
+ return resolveSuccessor(modelId, index);
1714
+ }
1692
1715
 
1693
1716
  // models/local.ts
1694
1717
  var import_versions = require("@ai-matrx/kit/versions");
@@ -897,6 +897,30 @@ declare function isSupersedable(node: SuccessionNode): boolean;
897
897
  declare function resolveSuccessor(modelId: string, index: SuccessionIndex): string;
898
898
  /** Test seam: forget which broken chains were already logged. */
899
899
  declare function resetSuccessionLogForTests(): void;
900
+ /** The read `resolveLiveModelId` makes: a supabase-js client fits it as is. */
901
+ interface SuccessionClient {
902
+ schema(name: "ai"): {
903
+ from(table: "model_public"): {
904
+ select(columns: string): {
905
+ in(column: string, values: readonly string[]): PromiseLike<{
906
+ data: unknown;
907
+ error: {
908
+ message: string;
909
+ } | null;
910
+ }>;
911
+ };
912
+ };
913
+ };
914
+ }
915
+ /**
916
+ * The model a NEW record should be written with: `modelId` followed along its successor chain, read
917
+ * hop by hop from `ai.model_public`. A creation default pinned in code (a blank agent's model)
918
+ * outlives the model it names; writing it as is made every new agent start on a superseded model
919
+ * that the picker then healed on first view, so a brand-new agent showed an unsaved model change
920
+ * nobody made (Lane D walk, 2026-10-21). A read failure keeps `modelId` and logs: creation never
921
+ * fails over a name.
922
+ */
923
+ declare function resolveLiveModelId(client: SuccessionClient, modelId: string): Promise<string>;
900
924
 
901
925
  /**
902
926
  * `@ai-matrx/agents/models` — downloadable (local) models: the catalog shape every client reads, the
@@ -1516,4 +1540,4 @@ declare function curatedList<T extends CuratedModel>(models: readonly T[], { off
1516
1540
  offeredOnly: boolean;
1517
1541
  }): T[];
1518
1542
 
1519
- export { type AdminOffering, type AdminPricingBand, type ArtifactUse, type AuditCapabilitiesRecord, CHAT_DEFAULT_MODEL_KNOB, CONTENT_TYPES, type CapabilitiesParseContext, type CatalogModel, type CatalogTier, type CompatStatus, type ContentType, type CuratedCatalogClient, type CuratedModel, type CuratedPresentation, type CuratedVariant, DEFAULT_CAPABILITIES, type DecidedBy, type DeviceGraphics, type DeviceHardware, type DiscoveryAmbiguity, type DiscoveryArtifact, type DiscoveryMedia, type DiscoveryResult, type DiscoveryRuntime, type DiscoverySource, type DiscoveryVariant, EMPTY_MODEL_RECORDS, FEATURE_BUCKETS, FEATURE_BUCKET_ORDER, FEATURE_KEYS, FILE_TYPE_QUANT, type FeatureBucket, type FeatureBucketMeta, type FeatureKey, GgufError, type GgufHeader, type GgufRead, type GgufTensor, type GroupedFeatures, type HardwareClass, type HardwareClasses, type HeaderFlag, type HeaderJudgement, type HeaderRefusal, INPUT_MODALITIES, INTERACTION_MODES, type Interaction, type InteractionMode, type LocalArtifact, type LocalCompatRow, type LocalModel, type LocalModelCatalog, type LocalPresentation, type LocalRuntime, type LocalRuntimeBuild, type LocalVariant, MAX_SUCCESSION_HOPS, MODEL_FAVORITE_ENTITY_TYPE, type Modality, type ModelCapabilities, type ModelCatalog, type ModelCatalogClient, type ModelCatalogConfig, type ModelCatalogErrorSink, type ModelCatalogPgError, type ModelCatalogPgResult, type ModelCatalogQuery, type ModelCatalogState, type ModelCatalogVariant, type ModelCatalogVariantState, type ModelClassConfig, type ModelClassEntry, type ModelClassIndex, type ModelDiagnosticEntry, type ModelDiagnosticsSink, type ModelFavorites, type ModelFavoritesCache, type ModelFavoritesClient, type ModelFavoritesConfig, type ModelFavoritesErrorSink, type ModelFavoritesState, type ModelFetchScope, type ModelFileHandle, type ModelFit, type ModelIdentityRow, type ModelJson, type ModelOfferingRow, type ModelOption, type ModelOptionWithLifecycle, type ModelRecord, type ModelRecordFetchType, type ModelRecords, type ModelRecordsClient, type ModelRecordsConfig, type ModelRecordsState, type ModelSelectionPurpose, type ModelSetEnv, type ModelSetFacts, type ModelSetValidation, type NoSelection, OUTPUT_MODALITIES, type OrderedLike, type PreferredModelChoice, type PreferredModelChoicePorts, type PriceTier, type RankedVariant, SERVICE_LABEL, SERVICE_LABEL_PLURAL, type SelectDevice, type Selection, type ShardName, type SuccessionIndex, type SuccessionNode, TOP_TIER_COST_RATING, TOP_TIER_LOCKED_TITLE, type VariantDiscovery, type Want, acceptsTextInstructions, buildModelClassIndex, buildSuccessionIndex, catalogForApp, classConfigKey, collapseTiersByClass, costRatingTier, costRatingWord, createModelCatalog, createModelFavorites, createModelRecords, curatedList, displayOrderOf, favoriteIdsEqual, fetchCuratedModels, findNonCanonicalCapabilityValues, fitsMemory, fitsThisComputer, formatMemoryBytes, fromDiscovery, ggufEngine, ggufFacts, groupFeatures, hardwareClassesOf, hasCompatibleDecisionInteraction, isContentType, isConversationalModelCapability, isDecisionModelCapability, isFeatureKey, isHelperGguf, isInteractionMode, isLocalModelCatalog, isManagedAgentModelCapability, isProjectorName, isSupersedable, isTopTierRating, judgeHeaderFacts, mergeAuditRecordIntoCapabilities, missingShards, modelClassKnobFor, modelClassName, modelClassPinOf, modelsForSelectionPurpose, normalizeArch, normalizeModel, normalizeModels, normalizeOs, normalizePromptSettings, orderCatalogGroups, orderCatalogModels, outputFormatControlKey, parseCapabilities, pickProjector, priceTierRating, quantFromName, rankVariants, readGgufHeader, reconcileModelFavoriteIds, reportModelDiagnostic, requireCanonicalCapabilities, requiredArtifacts, resetSuccessionLogForTests, resolvePreferredModelChoice, resolveSuccessor, selectActiveModels, selectActiveModelsReady, selectAllModelOptions, selectAllModels, selectAllModelsReady, selectDeprecatedModels, selectDeprecatedModelsReady, selectModelById, selectModelClassConfig, selectModelClassName, selectModelControls, selectModelDetailError, selectModelFetchType, selectModelFullyLoaded, selectModelIdentityById, selectModelIdentityLookupStatus, selectModelLabelById, selectModelLabelWithClass, selectModelNameById, selectModelOptions, selectVariant, serviceCountLabel, setModelDiagnosticsSink, shapeCuratedModels, shardFileName, shardName, speedRatingLabel, speedRatingWord, splitSetProblems, toAuditRecord, validateModelSet, withModelClass };
1543
+ export { type AdminOffering, type AdminPricingBand, type ArtifactUse, type AuditCapabilitiesRecord, CHAT_DEFAULT_MODEL_KNOB, CONTENT_TYPES, type CapabilitiesParseContext, type CatalogModel, type CatalogTier, type CompatStatus, type ContentType, type CuratedCatalogClient, type CuratedModel, type CuratedPresentation, type CuratedVariant, DEFAULT_CAPABILITIES, type DecidedBy, type DeviceGraphics, type DeviceHardware, type DiscoveryAmbiguity, type DiscoveryArtifact, type DiscoveryMedia, type DiscoveryResult, type DiscoveryRuntime, type DiscoverySource, type DiscoveryVariant, EMPTY_MODEL_RECORDS, FEATURE_BUCKETS, FEATURE_BUCKET_ORDER, FEATURE_KEYS, FILE_TYPE_QUANT, type FeatureBucket, type FeatureBucketMeta, type FeatureKey, GgufError, type GgufHeader, type GgufRead, type GgufTensor, type GroupedFeatures, type HardwareClass, type HardwareClasses, type HeaderFlag, type HeaderJudgement, type HeaderRefusal, INPUT_MODALITIES, INTERACTION_MODES, type Interaction, type InteractionMode, type LocalArtifact, type LocalCompatRow, type LocalModel, type LocalModelCatalog, type LocalPresentation, type LocalRuntime, type LocalRuntimeBuild, type LocalVariant, MAX_SUCCESSION_HOPS, MODEL_FAVORITE_ENTITY_TYPE, type Modality, type ModelCapabilities, type ModelCatalog, type ModelCatalogClient, type ModelCatalogConfig, type ModelCatalogErrorSink, type ModelCatalogPgError, type ModelCatalogPgResult, type ModelCatalogQuery, type ModelCatalogState, type ModelCatalogVariant, type ModelCatalogVariantState, type ModelClassConfig, type ModelClassEntry, type ModelClassIndex, type ModelDiagnosticEntry, type ModelDiagnosticsSink, type ModelFavorites, type ModelFavoritesCache, type ModelFavoritesClient, type ModelFavoritesConfig, type ModelFavoritesErrorSink, type ModelFavoritesState, type ModelFetchScope, type ModelFileHandle, type ModelFit, type ModelIdentityRow, type ModelJson, type ModelOfferingRow, type ModelOption, type ModelOptionWithLifecycle, type ModelRecord, type ModelRecordFetchType, type ModelRecords, type ModelRecordsClient, type ModelRecordsConfig, type ModelRecordsState, type ModelSelectionPurpose, type ModelSetEnv, type ModelSetFacts, type ModelSetValidation, type NoSelection, OUTPUT_MODALITIES, type OrderedLike, type PreferredModelChoice, type PreferredModelChoicePorts, type PriceTier, type RankedVariant, SERVICE_LABEL, SERVICE_LABEL_PLURAL, type SelectDevice, type Selection, type ShardName, type SuccessionClient, type SuccessionIndex, type SuccessionNode, TOP_TIER_COST_RATING, TOP_TIER_LOCKED_TITLE, type VariantDiscovery, type Want, acceptsTextInstructions, buildModelClassIndex, buildSuccessionIndex, catalogForApp, classConfigKey, collapseTiersByClass, costRatingTier, costRatingWord, createModelCatalog, createModelFavorites, createModelRecords, curatedList, displayOrderOf, favoriteIdsEqual, fetchCuratedModels, findNonCanonicalCapabilityValues, fitsMemory, fitsThisComputer, formatMemoryBytes, fromDiscovery, ggufEngine, ggufFacts, groupFeatures, hardwareClassesOf, hasCompatibleDecisionInteraction, isContentType, isConversationalModelCapability, isDecisionModelCapability, isFeatureKey, isHelperGguf, isInteractionMode, isLocalModelCatalog, isManagedAgentModelCapability, isProjectorName, isSupersedable, isTopTierRating, judgeHeaderFacts, mergeAuditRecordIntoCapabilities, missingShards, modelClassKnobFor, modelClassName, modelClassPinOf, modelsForSelectionPurpose, normalizeArch, normalizeModel, normalizeModels, normalizeOs, normalizePromptSettings, orderCatalogGroups, orderCatalogModels, outputFormatControlKey, parseCapabilities, pickProjector, priceTierRating, quantFromName, rankVariants, readGgufHeader, reconcileModelFavoriteIds, reportModelDiagnostic, requireCanonicalCapabilities, requiredArtifacts, resetSuccessionLogForTests, resolveLiveModelId, resolvePreferredModelChoice, resolveSuccessor, selectActiveModels, selectActiveModelsReady, selectAllModelOptions, selectAllModels, selectAllModelsReady, selectDeprecatedModels, selectDeprecatedModelsReady, selectModelById, selectModelClassConfig, selectModelClassName, selectModelControls, selectModelDetailError, selectModelFetchType, selectModelFullyLoaded, selectModelIdentityById, selectModelIdentityLookupStatus, selectModelLabelById, selectModelLabelWithClass, selectModelNameById, selectModelOptions, selectVariant, serviceCountLabel, setModelDiagnosticsSink, shapeCuratedModels, shardFileName, shardName, speedRatingLabel, speedRatingWord, splitSetProblems, toAuditRecord, validateModelSet, withModelClass };