@overdeck/contracts 0.45.20 → 0.45.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,6 +8,14 @@ import * as _$effect_SchemaAST0 from "effect/SchemaAST";
8
8
  //#region src/types.d.ts
9
9
  declare const IssueId: Schema.String;
10
10
  type IssueId = typeof IssueId.Type;
11
+ type PipelineBucket = "in_flight" | "zombie_pr" | "post_merge_limbo" | "planned_backlog" | "clean_terminal";
12
+ /** Server-computed pipeline membership attached to dashboard issue DTOs. */
13
+ interface IssuePipelineMembership {
14
+ available?: boolean;
15
+ inPipeline: boolean;
16
+ bucket: PipelineBucket;
17
+ labelDrift: "stale_present" | "stale_absent" | null;
18
+ }
11
19
  declare const AgentId: Schema.String;
12
20
  type AgentId = typeof AgentId.Type;
13
21
  declare const SequenceNumber: Schema.Number;
@@ -581,7 +589,8 @@ declare const SessionNode: Schema.Struct<{
581
589
  readonly presence: Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>;
582
590
  readonly awaitingInput: Schema.optional<Schema.Boolean>;
583
591
  readonly awaitingInputPrompt: Schema.optional<Schema.String>;
584
- readonly awaitingInputReason: Schema.optional<Schema.String>;
592
+ readonly awaitingInputReason: Schema.optional<Schema.String>; /** Which blocking surfaces are open — names the wait in the node's indicator. */
593
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
585
594
  readonly roundMetadata: Schema.optional<Schema.Struct<{
586
595
  readonly roundCount: Schema.Number;
587
596
  readonly latestRound: Schema.Number;
@@ -643,7 +652,8 @@ declare const FeatureNode: Schema.Struct<{
643
652
  readonly presence: Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>;
644
653
  readonly awaitingInput: Schema.optional<Schema.Boolean>;
645
654
  readonly awaitingInputPrompt: Schema.optional<Schema.String>;
646
- readonly awaitingInputReason: Schema.optional<Schema.String>;
655
+ readonly awaitingInputReason: Schema.optional<Schema.String>; /** Which blocking surfaces are open — names the wait in the node's indicator. */
656
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
647
657
  readonly roundMetadata: Schema.optional<Schema.Struct<{
648
658
  readonly roundCount: Schema.Number;
649
659
  readonly latestRound: Schema.Number;
@@ -708,7 +718,8 @@ declare const ProjectSessionTree: Schema.Struct<{
708
718
  readonly presence: Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>;
709
719
  readonly awaitingInput: Schema.optional<Schema.Boolean>;
710
720
  readonly awaitingInputPrompt: Schema.optional<Schema.String>;
711
- readonly awaitingInputReason: Schema.optional<Schema.String>;
721
+ readonly awaitingInputReason: Schema.optional<Schema.String>; /** Which blocking surfaces are open — names the wait in the node's indicator. */
722
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
712
723
  readonly roundMetadata: Schema.optional<Schema.Struct<{
713
724
  readonly roundCount: Schema.Number;
714
725
  readonly latestRound: Schema.Number;
@@ -1882,6 +1893,12 @@ declare const SystemHealthSeverityChangedEvent: Schema.Struct<{
1882
1893
  readonly severity: Schema.String;
1883
1894
  readonly reasons: Schema.$Array<Schema.String>;
1884
1895
  readonly leakedSpecialistCount: Schema.Number;
1896
+ readonly version: Schema.optional<Schema.Literal<2>>;
1897
+ readonly transitionVersion: Schema.optional<Schema.Number>;
1898
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
1899
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
1900
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
1901
+ readonly acceptedAt: Schema.optional<Schema.String>;
1885
1902
  }>;
1886
1903
  }>;
1887
1904
  type SystemHealthSeverityChangedEvent = typeof SystemHealthSeverityChangedEvent.Type;
@@ -3172,6 +3189,12 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3172
3189
  readonly severity: Schema.String;
3173
3190
  readonly reasons: Schema.$Array<Schema.String>;
3174
3191
  readonly leakedSpecialistCount: Schema.Number;
3192
+ readonly version: Schema.optional<Schema.Literal<2>>;
3193
+ readonly transitionVersion: Schema.optional<Schema.Number>;
3194
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
3195
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
3196
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
3197
+ readonly acceptedAt: Schema.optional<Schema.String>;
3175
3198
  }>;
3176
3199
  }>, Schema.Struct<{
3177
3200
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -4720,6 +4743,12 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4720
4743
  readonly severity: Schema.String;
4721
4744
  readonly reasons: Schema.$Array<Schema.String>;
4722
4745
  readonly leakedSpecialistCount: Schema.Number;
4746
+ readonly version: Schema.optional<Schema.Literal<2>>;
4747
+ readonly transitionVersion: Schema.optional<Schema.Number>;
4748
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
4749
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
4750
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
4751
+ readonly acceptedAt: Schema.optional<Schema.String>;
4723
4752
  }>;
4724
4753
  }>, Schema.Struct<{
4725
4754
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -5918,6 +5947,12 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5918
5947
  readonly severity: Schema.String;
5919
5948
  readonly reasons: Schema.$Array<Schema.String>;
5920
5949
  readonly leakedSpecialistCount: Schema.Number;
5950
+ readonly version: Schema.optional<Schema.Literal<2>>;
5951
+ readonly transitionVersion: Schema.optional<Schema.Number>;
5952
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
5953
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
5954
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
5955
+ readonly acceptedAt: Schema.optional<Schema.String>;
5921
5956
  }>;
5922
5957
  }>, Schema.Struct<{
5923
5958
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -7325,6 +7360,12 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7325
7360
  readonly severity: Schema.String;
7326
7361
  readonly reasons: Schema.$Array<Schema.String>;
7327
7362
  readonly leakedSpecialistCount: Schema.Number;
7363
+ readonly version: Schema.optional<Schema.Literal<2>>;
7364
+ readonly transitionVersion: Schema.optional<Schema.Number>;
7365
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
7366
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
7367
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
7368
+ readonly acceptedAt: Schema.optional<Schema.String>;
7328
7369
  }>;
7329
7370
  }>, Schema.Struct<{
7330
7371
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -7969,6 +8010,9 @@ declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus",
7969
8010
  readonly issueId: Schema.optional<Schema.String>;
7970
8011
  readonly rationale: Schema.String;
7971
8012
  readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
8013
+ readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
8014
+ readonly weight: Schema.optional<Schema.Number>;
8015
+ readonly weightReason: Schema.optional<Schema.String>;
7972
8016
  }>>, never>;
7973
8017
  readonly system: Schema.Struct<{
7974
8018
  readonly mainHead: Schema.String;
@@ -9229,6 +9273,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9229
9273
  readonly severity: Schema.String;
9230
9274
  readonly reasons: Schema.$Array<Schema.String>;
9231
9275
  readonly leakedSpecialistCount: Schema.Number;
9276
+ readonly version: Schema.optional<Schema.Literal<2>>;
9277
+ readonly transitionVersion: Schema.optional<Schema.Number>;
9278
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
9279
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
9280
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
9281
+ readonly acceptedAt: Schema.optional<Schema.String>;
9232
9282
  }>;
9233
9283
  }>, Schema.Struct<{
9234
9284
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -10425,6 +10475,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10425
10475
  readonly severity: Schema.String;
10426
10476
  readonly reasons: Schema.$Array<Schema.String>;
10427
10477
  readonly leakedSpecialistCount: Schema.Number;
10478
+ readonly version: Schema.optional<Schema.Literal<2>>;
10479
+ readonly transitionVersion: Schema.optional<Schema.Number>;
10480
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
10481
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
10482
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
10483
+ readonly acceptedAt: Schema.optional<Schema.String>;
10428
10484
  }>;
10429
10485
  }>, Schema.Struct<{
10430
10486
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -11824,6 +11880,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11824
11880
  readonly severity: Schema.String;
11825
11881
  readonly reasons: Schema.$Array<Schema.String>;
11826
11882
  readonly leakedSpecialistCount: Schema.Number;
11883
+ readonly version: Schema.optional<Schema.Literal<2>>;
11884
+ readonly transitionVersion: Schema.optional<Schema.Number>;
11885
+ readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
11886
+ readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
11887
+ readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
11888
+ readonly acceptedAt: Schema.optional<Schema.String>;
11827
11889
  }>;
11828
11890
  }>, Schema.Struct<{
11829
11891
  readonly type: Schema.Literal<"issues.snapshot">;
@@ -12399,6 +12461,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12399
12461
  readonly issueId: Schema.optional<Schema.String>;
12400
12462
  readonly rationale: Schema.String;
12401
12463
  readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
12464
+ readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
12465
+ readonly weight: Schema.optional<Schema.Number>;
12466
+ readonly weightReason: Schema.optional<Schema.String>;
12402
12467
  }>>, never>;
12403
12468
  readonly system: Schema.Struct<{
12404
12469
  readonly mainHead: Schema.String;
@@ -13176,12 +13241,18 @@ interface FlywheelSuggestion {
13176
13241
  issueId?: string | undefined;
13177
13242
  rationale: string;
13178
13243
  priority: FlywheelSuggestionPriority;
13244
+ filedBy?: "agent" | "operator" | undefined;
13245
+ weight?: number | undefined;
13246
+ weightReason?: string | undefined;
13179
13247
  }
13180
13248
  declare const FlywheelSuggestion: Schema.Struct<{
13181
13249
  readonly action: Schema.Literals<readonly ["start", "resume", "plan", "review", "merge", "unblock", "park", "investigate", "wait"]>;
13182
13250
  readonly issueId: Schema.optional<Schema.String>;
13183
13251
  readonly rationale: Schema.String;
13184
13252
  readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
13253
+ readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
13254
+ readonly weight: Schema.optional<Schema.Number>;
13255
+ readonly weightReason: Schema.optional<Schema.String>;
13185
13256
  }>;
13186
13257
  interface FlywheelSystemStatus {
13187
13258
  mainHead: string;
@@ -13273,6 +13344,9 @@ declare const FlywheelStatus: Schema.Struct<{
13273
13344
  readonly issueId: Schema.optional<Schema.String>;
13274
13345
  readonly rationale: Schema.String;
13275
13346
  readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
13347
+ readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
13348
+ readonly weight: Schema.optional<Schema.Number>;
13349
+ readonly weightReason: Schema.optional<Schema.String>;
13276
13350
  }>>, never>;
13277
13351
  readonly system: Schema.Struct<{
13278
13352
  readonly mainHead: Schema.String;
@@ -14615,5 +14689,329 @@ interface UpdateSnapshot {
14615
14689
  targetAgentProtocol: number | null;
14616
14690
  }
14617
14691
  //#endregion
14618
- export { Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHeartbeatDeadEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, BeadsFreshnessChangedEvent, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DeepWipeRpc, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueId, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SystemHealthSeverityChangedEvent, SystemHeartbeatEvent, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
14692
+ //#region src/system-health.d.ts
14693
+ declare const HealthStateValue: Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>;
14694
+ declare const HealthState: Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>;
14695
+ type HealthState = typeof HealthStateValue.Type;
14696
+ declare const HealthReason: Schema.Struct<{
14697
+ readonly code: Schema.String;
14698
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14699
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14700
+ readonly message: Schema.String;
14701
+ readonly metric: Schema.optional<Schema.String>;
14702
+ readonly observed: Schema.optional<Schema.Number>;
14703
+ readonly threshold: Schema.optional<Schema.Number>;
14704
+ }>;
14705
+ type HealthReason = typeof HealthReason.Type;
14706
+ declare const HostPlatform: Schema.decodeTo<Schema.Literals<readonly ["linux", "darwin", "unsupported"]>, Schema.String, never, never>;
14707
+ type HostPlatform = typeof HostPlatform.Type;
14708
+ /**
14709
+ * Accepted host metrics. Null means that the platform collector could not
14710
+ * produce that signal; it must never be interpreted as a measured zero.
14711
+ */
14712
+ declare const HostHealthMetrics: Schema.Struct<{
14713
+ readonly cpuPercent: Schema.NullOr<Schema.Number>;
14714
+ readonly loadAverage1m: Schema.NullOr<Schema.Number>;
14715
+ readonly loadPerCore1m: Schema.NullOr<Schema.Number>;
14716
+ readonly totalMemoryBytes: Schema.NullOr<Schema.Number>;
14717
+ readonly usedMemoryBytes: Schema.NullOr<Schema.Number>;
14718
+ readonly availableMemoryBytes: Schema.NullOr<Schema.Number>;
14719
+ readonly memoryUsedPercent: Schema.NullOr<Schema.Number>;
14720
+ readonly memoryPressureSomeAvg10: Schema.NullOr<Schema.Number>;
14721
+ readonly memoryPressureFullAvg10: Schema.NullOr<Schema.Number>;
14722
+ readonly memoryPressureFreePercent: Schema.NullOr<Schema.Number>;
14723
+ readonly swapTotalBytes: Schema.NullOr<Schema.Number>;
14724
+ readonly swapUsedBytes: Schema.NullOr<Schema.Number>;
14725
+ readonly swapUsedPercent: Schema.NullOr<Schema.Number>;
14726
+ readonly swapActivityBytesPerMinute: Schema.NullOr<Schema.Number>;
14727
+ readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
14728
+ readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
14729
+ readonly virtualCommitmentPercent: Schema.NullOr<Schema.Number>;
14730
+ }>;
14731
+ type HostHealthMetrics = typeof HostHealthMetrics.Type;
14732
+ declare const AdmissionState: Schema.decodeTo<Schema.Literals<readonly ["open", "soft", "blocked", "unavailable"]>, Schema.String, never, never>;
14733
+ type AdmissionState = typeof AdmissionState.Type;
14734
+ declare const AgentHealthStatus: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
14735
+ type AgentHealthStatus = typeof AgentHealthStatus.Type;
14736
+ declare const AgentHealthKind: Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>;
14737
+ type AgentHealthKind = typeof AgentHealthKind.Type;
14738
+ declare const SpecialistLifecycle: Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>;
14739
+ type SpecialistLifecycle = typeof SpecialistLifecycle.Type;
14740
+ declare const AgentHealthSnapshot: Schema.Struct<{
14741
+ readonly id: Schema.String;
14742
+ readonly issueId: Schema.optional<Schema.String>;
14743
+ readonly role: Schema.optional<Schema.String>;
14744
+ readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
14745
+ readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
14746
+ readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
14747
+ readonly tmuxActive: Schema.optional<Schema.Boolean>;
14748
+ readonly memoryBytes: Schema.optional<Schema.Number>;
14749
+ readonly memoryGb: Schema.optional<Schema.Number>;
14750
+ readonly cpuPercent: Schema.optional<Schema.Number>;
14751
+ readonly currentIssue: Schema.optional<Schema.String>;
14752
+ readonly lastActivityAt: Schema.optional<Schema.String>;
14753
+ readonly consecutiveFailures: Schema.optional<Schema.Number>;
14754
+ readonly killCount: Schema.optional<Schema.Number>;
14755
+ readonly contextPercent: Schema.optional<Schema.NullOr<Schema.Number>>;
14756
+ readonly reasons: Schema.$Array<Schema.Struct<{
14757
+ readonly code: Schema.String;
14758
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14759
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14760
+ readonly message: Schema.String;
14761
+ readonly metric: Schema.optional<Schema.String>;
14762
+ readonly observed: Schema.optional<Schema.Number>;
14763
+ readonly threshold: Schema.optional<Schema.Number>;
14764
+ }>>;
14765
+ }>;
14766
+ type AgentHealthSnapshot = typeof AgentHealthSnapshot.Type;
14767
+ declare const ServiceHealthStatus: Schema.decodeTo<Schema.Literals<readonly ["running", "not_configured", "degraded", "stopped", "unavailable"]>, Schema.String, never, never>;
14768
+ type ServiceHealthStatus = typeof ServiceHealthStatus.Type;
14769
+ declare const ServiceHealthSnapshot: Schema.Struct<{
14770
+ readonly id: Schema.String;
14771
+ readonly label: Schema.optional<Schema.String>;
14772
+ readonly required: Schema.optional<Schema.Boolean>;
14773
+ readonly status: Schema.decodeTo<Schema.Literals<readonly ["running", "not_configured", "degraded", "stopped", "unavailable"]>, Schema.String, never, never>;
14774
+ readonly message: Schema.String;
14775
+ readonly reasons: Schema.$Array<Schema.Struct<{
14776
+ readonly code: Schema.String;
14777
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14778
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14779
+ readonly message: Schema.String;
14780
+ readonly metric: Schema.optional<Schema.String>;
14781
+ readonly observed: Schema.optional<Schema.Number>;
14782
+ readonly threshold: Schema.optional<Schema.Number>;
14783
+ }>>;
14784
+ }>;
14785
+ type ServiceHealthSnapshot = typeof ServiceHealthSnapshot.Type;
14786
+ declare const SystemHealthConsumer: Schema.Struct<{
14787
+ readonly id: Schema.String;
14788
+ readonly label: Schema.String;
14789
+ readonly type: Schema.Literals<readonly ["agent", "specialist", "container"]>;
14790
+ readonly memoryBytes: Schema.Number;
14791
+ readonly memoryGb: Schema.Number;
14792
+ readonly cpuPercent: Schema.optional<Schema.Number>;
14793
+ readonly issueId: Schema.optional<Schema.String>;
14794
+ readonly currentIssue: Schema.optional<Schema.String>;
14795
+ readonly leaked: Schema.optional<Schema.Boolean>;
14796
+ readonly killTarget: Schema.optional<Schema.Struct<{
14797
+ readonly kind: Schema.Literals<readonly ["agent", "specialist", "container"]>;
14798
+ readonly agentId: Schema.optional<Schema.String>;
14799
+ readonly containerId: Schema.optional<Schema.String>;
14800
+ readonly projectKey: Schema.optional<Schema.String>;
14801
+ readonly issueId: Schema.optional<Schema.String>;
14802
+ readonly specialistType: Schema.optional<Schema.String>;
14803
+ }>>;
14804
+ }>;
14805
+ type SystemHealthConsumer = typeof SystemHealthConsumer.Type;
14806
+ declare const LegacyWebhookRelaySummary: Schema.Struct<{
14807
+ readonly configured: Schema.Boolean;
14808
+ readonly running: Schema.Boolean;
14809
+ readonly status: Schema.Literals<readonly ["not_configured", "running", "stopped", "unknown"]>;
14810
+ readonly message: Schema.String;
14811
+ }>;
14812
+ type LegacyWebhookRelaySummary = typeof LegacyWebhookRelaySummary.Type;
14813
+ /** Compatibility fields retained for one release cycle. */
14814
+ declare const LegacySystemHealthSummary: Schema.Struct<{
14815
+ readonly cpuPercent: Schema.Number;
14816
+ readonly loadAverage1m: Schema.Number;
14817
+ readonly loadPerCore1m: Schema.Number;
14818
+ readonly totalMemoryBytes: Schema.Number;
14819
+ readonly usedMemoryBytes: Schema.Number;
14820
+ readonly availableMemoryBytes: Schema.Number;
14821
+ readonly memoryUsedPercent: Schema.Number;
14822
+ readonly swapTotalBytes: Schema.Number;
14823
+ readonly swapUsedBytes: Schema.Number;
14824
+ readonly swapUsedPercent: Schema.Number;
14825
+ readonly committedMemoryBytes: Schema.Number;
14826
+ readonly commitLimitBytes: Schema.Number;
14827
+ readonly overcommitPercent: Schema.Number;
14828
+ readonly agentCount: Schema.Number;
14829
+ readonly workAgentCount: Schema.Number;
14830
+ readonly planningAgentCount: Schema.Number;
14831
+ readonly specialistSessionCount: Schema.Number;
14832
+ readonly leakedSpecialistCount: Schema.Number;
14833
+ readonly containerCount: Schema.Number;
14834
+ readonly containerMemoryBytes: Schema.Number;
14835
+ readonly overdeckMemoryBytes: Schema.Number;
14836
+ readonly overdeckMemoryPercent: Schema.Number;
14837
+ readonly smeeRelay: Schema.Struct<{
14838
+ readonly configured: Schema.Boolean;
14839
+ readonly running: Schema.Boolean;
14840
+ readonly status: Schema.Literals<readonly ["not_configured", "running", "stopped", "unknown"]>;
14841
+ readonly message: Schema.String;
14842
+ }>;
14843
+ }>;
14844
+ type LegacySystemHealthSummary = typeof LegacySystemHealthSummary.Type;
14845
+ declare const SystemHealthSnapshot: Schema.Struct<{
14846
+ readonly version: Schema.Literal<2>;
14847
+ readonly state: Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>;
14848
+ readonly updatedAt: Schema.String;
14849
+ readonly nextPollMs: Schema.Number;
14850
+ readonly host: Schema.Struct<{
14851
+ readonly state: Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>;
14852
+ readonly platform: Schema.decodeTo<Schema.Literals<readonly ["linux", "darwin", "unsupported"]>, Schema.String, never, never>;
14853
+ readonly reasons: Schema.$Array<Schema.Struct<{
14854
+ readonly code: Schema.String;
14855
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14856
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14857
+ readonly message: Schema.String;
14858
+ readonly metric: Schema.optional<Schema.String>;
14859
+ readonly observed: Schema.optional<Schema.Number>;
14860
+ readonly threshold: Schema.optional<Schema.Number>;
14861
+ }>>;
14862
+ readonly metrics: Schema.Struct<{
14863
+ readonly cpuPercent: Schema.NullOr<Schema.Number>;
14864
+ readonly loadAverage1m: Schema.NullOr<Schema.Number>;
14865
+ readonly loadPerCore1m: Schema.NullOr<Schema.Number>;
14866
+ readonly totalMemoryBytes: Schema.NullOr<Schema.Number>;
14867
+ readonly usedMemoryBytes: Schema.NullOr<Schema.Number>;
14868
+ readonly availableMemoryBytes: Schema.NullOr<Schema.Number>;
14869
+ readonly memoryUsedPercent: Schema.NullOr<Schema.Number>;
14870
+ readonly memoryPressureSomeAvg10: Schema.NullOr<Schema.Number>;
14871
+ readonly memoryPressureFullAvg10: Schema.NullOr<Schema.Number>;
14872
+ readonly memoryPressureFreePercent: Schema.NullOr<Schema.Number>;
14873
+ readonly swapTotalBytes: Schema.NullOr<Schema.Number>;
14874
+ readonly swapUsedBytes: Schema.NullOr<Schema.Number>;
14875
+ readonly swapUsedPercent: Schema.NullOr<Schema.Number>;
14876
+ readonly swapActivityBytesPerMinute: Schema.NullOr<Schema.Number>;
14877
+ readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
14878
+ readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
14879
+ readonly virtualCommitmentPercent: Schema.NullOr<Schema.Number>;
14880
+ }>;
14881
+ }>;
14882
+ readonly admission: Schema.Struct<{
14883
+ readonly state: Schema.decodeTo<Schema.Literals<readonly ["open", "soft", "blocked", "unavailable"]>, Schema.String, never, never>;
14884
+ readonly availableMemoryBytes: Schema.NullOr<Schema.Number>;
14885
+ readonly admittedWorkAgentCount: Schema.Number;
14886
+ readonly reasons: Schema.$Array<Schema.Struct<{
14887
+ readonly code: Schema.String;
14888
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14889
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14890
+ readonly message: Schema.String;
14891
+ readonly metric: Schema.optional<Schema.String>;
14892
+ readonly observed: Schema.optional<Schema.Number>;
14893
+ readonly threshold: Schema.optional<Schema.Number>;
14894
+ }>>;
14895
+ }>;
14896
+ readonly agents: Schema.$Array<Schema.Struct<{
14897
+ readonly id: Schema.String;
14898
+ readonly issueId: Schema.optional<Schema.String>;
14899
+ readonly role: Schema.optional<Schema.String>;
14900
+ readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
14901
+ readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
14902
+ readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
14903
+ readonly tmuxActive: Schema.optional<Schema.Boolean>;
14904
+ readonly memoryBytes: Schema.optional<Schema.Number>;
14905
+ readonly memoryGb: Schema.optional<Schema.Number>;
14906
+ readonly cpuPercent: Schema.optional<Schema.Number>;
14907
+ readonly currentIssue: Schema.optional<Schema.String>;
14908
+ readonly lastActivityAt: Schema.optional<Schema.String>;
14909
+ readonly consecutiveFailures: Schema.optional<Schema.Number>;
14910
+ readonly killCount: Schema.optional<Schema.Number>;
14911
+ readonly contextPercent: Schema.optional<Schema.NullOr<Schema.Number>>;
14912
+ readonly reasons: Schema.$Array<Schema.Struct<{
14913
+ readonly code: Schema.String;
14914
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14915
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14916
+ readonly message: Schema.String;
14917
+ readonly metric: Schema.optional<Schema.String>;
14918
+ readonly observed: Schema.optional<Schema.Number>;
14919
+ readonly threshold: Schema.optional<Schema.Number>;
14920
+ }>>;
14921
+ }>>;
14922
+ readonly services: Schema.$Array<Schema.Struct<{
14923
+ readonly id: Schema.String;
14924
+ readonly label: Schema.optional<Schema.String>;
14925
+ readonly required: Schema.optional<Schema.Boolean>;
14926
+ readonly status: Schema.decodeTo<Schema.Literals<readonly ["running", "not_configured", "degraded", "stopped", "unavailable"]>, Schema.String, never, never>;
14927
+ readonly message: Schema.String;
14928
+ readonly reasons: Schema.$Array<Schema.Struct<{
14929
+ readonly code: Schema.String;
14930
+ readonly domain: Schema.Literals<readonly ["host", "admission", "agent", "service"]>;
14931
+ readonly severity: Schema.Literals<readonly ["info", "warning", "critical"]>;
14932
+ readonly message: Schema.String;
14933
+ readonly metric: Schema.optional<Schema.String>;
14934
+ readonly observed: Schema.optional<Schema.Number>;
14935
+ readonly threshold: Schema.optional<Schema.Number>;
14936
+ }>>;
14937
+ }>>;
14938
+ readonly topConsumers: Schema.$Array<Schema.Struct<{
14939
+ readonly id: Schema.String;
14940
+ readonly label: Schema.String;
14941
+ readonly type: Schema.Literals<readonly ["agent", "specialist", "container"]>;
14942
+ readonly memoryBytes: Schema.Number;
14943
+ readonly memoryGb: Schema.Number;
14944
+ readonly cpuPercent: Schema.optional<Schema.Number>;
14945
+ readonly issueId: Schema.optional<Schema.String>;
14946
+ readonly currentIssue: Schema.optional<Schema.String>;
14947
+ readonly leaked: Schema.optional<Schema.Boolean>;
14948
+ readonly killTarget: Schema.optional<Schema.Struct<{
14949
+ readonly kind: Schema.Literals<readonly ["agent", "specialist", "container"]>;
14950
+ readonly agentId: Schema.optional<Schema.String>;
14951
+ readonly containerId: Schema.optional<Schema.String>;
14952
+ readonly projectKey: Schema.optional<Schema.String>;
14953
+ readonly issueId: Schema.optional<Schema.String>;
14954
+ readonly specialistType: Schema.optional<Schema.String>;
14955
+ }>>;
14956
+ }>>;
14957
+ readonly summary: Schema.Struct<{
14958
+ readonly cpuPercent: Schema.Number;
14959
+ readonly loadAverage1m: Schema.Number;
14960
+ readonly loadPerCore1m: Schema.Number;
14961
+ readonly totalMemoryBytes: Schema.Number;
14962
+ readonly usedMemoryBytes: Schema.Number;
14963
+ readonly availableMemoryBytes: Schema.Number;
14964
+ readonly memoryUsedPercent: Schema.Number;
14965
+ readonly swapTotalBytes: Schema.Number;
14966
+ readonly swapUsedBytes: Schema.Number;
14967
+ readonly swapUsedPercent: Schema.Number;
14968
+ readonly committedMemoryBytes: Schema.Number;
14969
+ readonly commitLimitBytes: Schema.Number;
14970
+ readonly overcommitPercent: Schema.Number;
14971
+ readonly agentCount: Schema.Number;
14972
+ readonly workAgentCount: Schema.Number;
14973
+ readonly planningAgentCount: Schema.Number;
14974
+ readonly specialistSessionCount: Schema.Number;
14975
+ readonly leakedSpecialistCount: Schema.Number;
14976
+ readonly containerCount: Schema.Number;
14977
+ readonly containerMemoryBytes: Schema.Number;
14978
+ readonly overdeckMemoryBytes: Schema.Number;
14979
+ readonly overdeckMemoryPercent: Schema.Number;
14980
+ readonly smeeRelay: Schema.Struct<{
14981
+ readonly configured: Schema.Boolean;
14982
+ readonly running: Schema.Boolean;
14983
+ readonly status: Schema.Literals<readonly ["not_configured", "running", "stopped", "unknown"]>;
14984
+ readonly message: Schema.String;
14985
+ }>;
14986
+ }>;
14987
+ }>;
14988
+ type SystemHealthSnapshot = typeof SystemHealthSnapshot.Type;
14989
+ /**
14990
+ * Projects the V2 domains into the legacy summary without recollecting state.
14991
+ * Diagnostic-only swap and virtual-commitment values remain visible here but
14992
+ * do not participate in V2 health-state evaluation.
14993
+ */
14994
+ declare function projectLegacySystemHealthSummary(snapshot: Omit<SystemHealthSnapshot, "summary">): LegacySystemHealthSummary;
14995
+ //#endregion
14996
+ //#region src/deploy.d.ts
14997
+ declare const DeployStalenessSnapshot: Schema.Struct<{
14998
+ readonly status: Schema.Literals<readonly ["fresh", "stale", "unknown"]>;
14999
+ readonly buildCommit: Schema.NullOr<Schema.String>;
15000
+ readonly originMainSha: Schema.NullOr<Schema.String>;
15001
+ readonly behindTotal: Schema.NullOr<Schema.Number>;
15002
+ readonly behindBuildInputs: Schema.NullOr<Schema.Number>;
15003
+ readonly originMainLastCommitAt: Schema.NullOr<Schema.Number>;
15004
+ readonly computedAt: Schema.Number;
15005
+ readonly reason: Schema.optional<Schema.String>;
15006
+ }>;
15007
+ type DeployStalenessSnapshot = typeof DeployStalenessSnapshot.Type;
15008
+ //#endregion
15009
+ //#region src/issue-sort.d.ts
15010
+ /**
15011
+ * Compares issue identifiers numerically within their prefix, so PAN-532 sorts
15012
+ * before PAN-2822. Every issue-id sort should use this comparator (PAN-2831).
15013
+ */
15014
+ declare function compareIssueIds(a: string, b: string): number;
15015
+ //#endregion
15016
+ export { Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, BeadsFreshnessChangedEvent, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueId, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, LegacySystemHealthSummary, LegacyWebhookRelaySummary, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
14619
15017
  //# sourceMappingURL=index.d.ts.map