@overdeck/contracts 0.92.0 → 0.92.2
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.cjs +204 -1
- package/dist/index.d.ts +190 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +189 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3795,7 +3795,12 @@ const ChatMessage = Schema.Struct({
|
|
|
3795
3795
|
createdAt: Schema.String,
|
|
3796
3796
|
completedAt: Schema.optional(Schema.String),
|
|
3797
3797
|
streaming: Schema.optional(Schema.Boolean),
|
|
3798
|
-
sequence: Schema.optional(Schema.Number)
|
|
3798
|
+
sequence: Schema.optional(Schema.Number),
|
|
3799
|
+
/** True on a user row that is a self-contained completed local command (e.g. a
|
|
3800
|
+
* Claude Code built-in slash command like `/effort high`) rather than an open
|
|
3801
|
+
* prompt — working-state heuristics must not treat it as an in-flight turn
|
|
3802
|
+
* (PAN-5690 review: D4 amendment). */
|
|
3803
|
+
localCommand: Schema.optional(Schema.Boolean)
|
|
3799
3804
|
});
|
|
3800
3805
|
const WorkLogEntry = Schema.Struct({
|
|
3801
3806
|
id: Schema.String,
|
|
@@ -6286,6 +6291,24 @@ const FlywheelLastTick = Schema.Struct({
|
|
|
6286
6291
|
/** The needs-you line split into items, each with its first-raised tick (PAN-5198). */
|
|
6287
6292
|
needsYouItems: Schema.optional(Schema.Array(FlywheelNeedsYouItem))
|
|
6288
6293
|
});
|
|
6294
|
+
/**
|
|
6295
|
+
* The run before this one (PAN-5666): the newest retired `conv-flywheel~…`
|
|
6296
|
+
* conversation that wrote a tick marker. `pan flywheel start` retires the
|
|
6297
|
+
* previous row instead of deleting it, so its last tick, in-flight list and
|
|
6298
|
+
* open needs-you items survive a fresh start, a crash or a reboot.
|
|
6299
|
+
*/
|
|
6300
|
+
const FlywheelPreviousRun = Schema.Struct({
|
|
6301
|
+
conversation: Schema.Struct({
|
|
6302
|
+
/** The retired name, `conv-flywheel~<id8>`. */
|
|
6303
|
+
name: Schema.String,
|
|
6304
|
+
id: Schema.Number,
|
|
6305
|
+
createdAt: Schema.String,
|
|
6306
|
+
endedAt: Schema.NullOr(Schema.String)
|
|
6307
|
+
}),
|
|
6308
|
+
lastTick: FlywheelLastTick,
|
|
6309
|
+
/** The last tick was `phase=stopping`: the run wrote its report and ended. */
|
|
6310
|
+
stoppedCleanly: Schema.Boolean
|
|
6311
|
+
});
|
|
6289
6312
|
const FlywheelPolicies = Schema.Struct({
|
|
6290
6313
|
auto_pickup_backlog: Schema.Boolean,
|
|
6291
6314
|
require_uat_before_merge: Schema.Boolean,
|
|
@@ -6484,6 +6507,8 @@ const FlywheelDerivedStatus = Schema.Struct({
|
|
|
6484
6507
|
run: FlywheelRunState,
|
|
6485
6508
|
conversation: Schema.NullOr(FlywheelConversationSummary),
|
|
6486
6509
|
lastTick: Schema.NullOr(FlywheelLastTick),
|
|
6510
|
+
/** The previous run's last tick (PAN-5666); absent from payloads older than it. */
|
|
6511
|
+
previousRun: Schema.optional(Schema.NullOr(FlywheelPreviousRun)),
|
|
6487
6512
|
freshness: Schema.NullOr(FlywheelFreshness),
|
|
6488
6513
|
policies: FlywheelPolicies,
|
|
6489
6514
|
inFlight: Schema.Array(FlywheelInFlightRow),
|
|
@@ -6501,6 +6526,32 @@ const FlywheelDerivedStatus = Schema.Struct({
|
|
|
6501
6526
|
health: Schema.optional(FlywheelHealth),
|
|
6502
6527
|
shipped: Schema.optional(FlywheelShipped)
|
|
6503
6528
|
});
|
|
6529
|
+
/**
|
|
6530
|
+
* The tick whose needs-you items the page and `pan flywheel status` show
|
|
6531
|
+
* (PAN-5666). The current run's newest tick is the authority once it exists:
|
|
6532
|
+
* the loop carries every open item forward verbatim, and an item it drops is
|
|
6533
|
+
* resolved. Before that first tick, the previous run's items stay open. Their
|
|
6534
|
+
* message ids are dropped because they point into the previous transcript.
|
|
6535
|
+
*/
|
|
6536
|
+
function needsYouTick(status) {
|
|
6537
|
+
if (status.lastTick) return status.lastTick;
|
|
6538
|
+
const previous = status.previousRun?.lastTick;
|
|
6539
|
+
if (!previous) return null;
|
|
6540
|
+
return {
|
|
6541
|
+
tick: previous.tick,
|
|
6542
|
+
pick: previous.pick,
|
|
6543
|
+
phase: previous.phase,
|
|
6544
|
+
inFlight: previous.inFlight,
|
|
6545
|
+
needsYou: previous.needsYou,
|
|
6546
|
+
at: previous.at,
|
|
6547
|
+
...previous.needsYouItems ? { needsYouItems: previous.needsYouItems.map((item) => ({
|
|
6548
|
+
text: item.text,
|
|
6549
|
+
firstRaisedTick: item.firstRaisedTick,
|
|
6550
|
+
firstRaisedAt: item.firstRaisedAt,
|
|
6551
|
+
...item.context ? { context: item.context } : {}
|
|
6552
|
+
})) } : {}
|
|
6553
|
+
};
|
|
6554
|
+
}
|
|
6504
6555
|
/** Cards on the Deploy and Done-today lanes. */
|
|
6505
6556
|
function shippedCardCount(status) {
|
|
6506
6557
|
return status.shipped?.merges.length ?? 0;
|
|
@@ -7679,6 +7730,7 @@ const TELEMETRY_CHANNEL_ROUTES = [
|
|
|
7679
7730
|
/** PAN-5083: the Overdeck MCP tool names (ALL_TOOLS in src/lib/mcp/server.ts); a unit test keeps them in step. */
|
|
7680
7731
|
const TELEMETRY_MCP_TOOLS = [
|
|
7681
7732
|
"add_order_book_issues",
|
|
7733
|
+
"add_skill_pack",
|
|
7682
7734
|
"add_skills",
|
|
7683
7735
|
"answer_agent_permission",
|
|
7684
7736
|
"answer_agent_plan",
|
|
@@ -7710,10 +7762,12 @@ const TELEMETRY_MCP_TOOLS = [
|
|
|
7710
7762
|
"list_pending_input",
|
|
7711
7763
|
"list_pull_request_watches",
|
|
7712
7764
|
"list_scheduled",
|
|
7765
|
+
"list_skill_packs",
|
|
7713
7766
|
"list_workers",
|
|
7714
7767
|
"memory_add",
|
|
7715
7768
|
"memory_search",
|
|
7716
7769
|
"preview_order_book_brief",
|
|
7770
|
+
"preview_skill_pack",
|
|
7717
7771
|
"read_conversation",
|
|
7718
7772
|
"remove_order_book_issue",
|
|
7719
7773
|
"request_secret",
|
|
@@ -7723,6 +7777,7 @@ const TELEMETRY_MCP_TOOLS = [
|
|
|
7723
7777
|
"search_conversations",
|
|
7724
7778
|
"secret_wait",
|
|
7725
7779
|
"send_message",
|
|
7780
|
+
"set_skill_pack",
|
|
7726
7781
|
"start_conversation",
|
|
7727
7782
|
"start_issue",
|
|
7728
7783
|
"start_order_book",
|
|
@@ -7897,6 +7952,10 @@ const TELEMETRY_CLIENT_ROUTES = [
|
|
|
7897
7952
|
"/api/shutdown/force-all",
|
|
7898
7953
|
"/api/shutdown/force-stop",
|
|
7899
7954
|
"/api/shutdown/preview",
|
|
7955
|
+
"/api/skills/overrides",
|
|
7956
|
+
"/api/skills/packs",
|
|
7957
|
+
"/api/skills/packs/available",
|
|
7958
|
+
"/api/skills/packs/preview",
|
|
7900
7959
|
"/api/telemetry/client-config",
|
|
7901
7960
|
"/api/ui/open",
|
|
7902
7961
|
"/api/versions/self",
|
|
@@ -22553,6 +22612,134 @@ function resolvePathRoot(absPath, projects, scratch) {
|
|
|
22553
22612
|
} : { kind: "outside" };
|
|
22554
22613
|
}
|
|
22555
22614
|
//#endregion
|
|
22556
|
-
export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, ANTIGRAVITY_BEHAVIOR, ANTIGRAVITY_CAPABILITIES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, 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, BROWSERS, BUILTIN_COLOR_THEMES, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BrowserIdSchema, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PLANS, CONNECT_PROTOCOL_VERSION, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, 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, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationSchedulesChangedEvent, ConversationSearchActivityChangedEvent, ConversationSearchActivityKind, ConversationSearchActivitySnapshot, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedMergedSlice, DerivedPrOutsidePipeline, DerivedPrState, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, FlywheelActivity, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBlocker, FlywheelBlockerKind, FlywheelBugRateCriterion, FlywheelCardAgent, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHealth, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelOwner, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelShipped, FlywheelShippedEvent, FlywheelShippedMerge, FlywheelStage, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, InboundMachineView, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, LoadSample, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MUSE_CAPABILITIES, MachineLinkView, MachinePlacementMode, MachineProject, MachineVersionsReportSchema, MachinesResponse, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestSnapshot, PullRequestState, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatusView, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RouteKind, RouteSource, SCHEDULE_PRESET_DAYS, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, SharedChannelReader, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, ShutdownPendingSession, ShutdownPhase, ShutdownSnapshot, ShutdownWriter, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubscribeUiCommandsRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, SystemShutdownChangedEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_INSTALL_KINDS, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UiCommand, UiOpenResolution, WINDOW_PINNED_OPEN_TOOLS_MAX, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isConnectPlan, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, needsYouItemKey, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, planAllowsInbox, planAllowsRelay, presenceForPaneState, presetToCron, projectDeckKey, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolvePathRoot, resolveTrackerIssueId, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, uiOpenSummary, wirePlanOf, withPaneLivenessAlias };
|
|
22615
|
+
//#region src/settings-secrets.ts
|
|
22616
|
+
/**
|
|
22617
|
+
* PAN-5695: how `GET /api/settings` shows a stored secret (a provider API key or a tracker token)
|
|
22618
|
+
* without returning it, and how a save recognises that it was left unchanged.
|
|
22619
|
+
*
|
|
22620
|
+
* A stored secret is shown as SECRET_MASK followed by its last four characters (none when the
|
|
22621
|
+
* secret is shorter than 16 characters). A whole environment reference (`$OPENAI_API_KEY`) is not
|
|
22622
|
+
* a secret and is shown as is. A save that sends back exactly that shape (SECRET_MASK plus at most
|
|
22623
|
+
* four characters) keeps the stored value; any other value that contains the mask character is an
|
|
22624
|
+
* edited mask and is refused, so a key typed after the mask is never silently dropped.
|
|
22625
|
+
*/
|
|
22626
|
+
const SECRET_MASK_CHAR = "•";
|
|
22627
|
+
const SECRET_MASK = "•".repeat(8);
|
|
22628
|
+
const SHOW_TAIL_FROM_LENGTH = 16;
|
|
22629
|
+
/** A whole environment reference (`$VAR` or `${VAR}`), which is shown as written. */
|
|
22630
|
+
const ENV_REFERENCE = /^\$(?:[A-Z_][A-Z0-9_]*|\{[A-Z_][A-Z0-9_]*\})$/;
|
|
22631
|
+
/** True for a whole environment reference (`$VAR` or `${VAR}`). */
|
|
22632
|
+
function isEnvReference(value) {
|
|
22633
|
+
return typeof value === "string" && ENV_REFERENCE.test(value);
|
|
22634
|
+
}
|
|
22635
|
+
/** The masked form of `value`; empty and missing values and whole `$VAR` references are returned as they are. */
|
|
22636
|
+
function maskSecret(value) {
|
|
22637
|
+
if (!value || ENV_REFERENCE.test(value)) return value;
|
|
22638
|
+
return SECRET_MASK + (value.length >= SHOW_TAIL_FROM_LENGTH ? value.slice(-4) : "");
|
|
22639
|
+
}
|
|
22640
|
+
/** True for exactly the shape maskSecret produces: SECRET_MASK plus at most four characters. */
|
|
22641
|
+
function isSecretMask(value) {
|
|
22642
|
+
return typeof value === "string" && value.startsWith(SECRET_MASK) && value.length <= SECRET_MASK.length + 4 && !value.slice(SECRET_MASK.length).includes("•");
|
|
22643
|
+
}
|
|
22644
|
+
/** True for a value that contains the mask character but is not an unchanged mask: an edited mask. */
|
|
22645
|
+
function isEditedSecretMask(value) {
|
|
22646
|
+
return typeof value === "string" && value.includes("•") && !isSecretMask(value);
|
|
22647
|
+
}
|
|
22648
|
+
/**
|
|
22649
|
+
* The Settings inputs show a stored secret as its mask. The first edit replaces the mask: typing
|
|
22650
|
+
* after it starts a new value with the typed text, deleting any of it clears the field, and a
|
|
22651
|
+
* paste over it is the pasted value. A field that is not masked changes as usual.
|
|
22652
|
+
*/
|
|
22653
|
+
function nextSecretInput(current, next) {
|
|
22654
|
+
if (!isSecretMask(current)) return next;
|
|
22655
|
+
if (next.startsWith(current)) return next.slice(current.length);
|
|
22656
|
+
if (next.includes("•")) return "";
|
|
22657
|
+
return next;
|
|
22658
|
+
}
|
|
22659
|
+
/** Tracker settings that are not secrets: shown as they are. */
|
|
22660
|
+
const NON_SECRET_TRACKER_FIELDS = new Set(["jira_email", "jira_base_url"]);
|
|
22661
|
+
function mapSecrets(map, isSecret, fn) {
|
|
22662
|
+
if (!map) return void 0;
|
|
22663
|
+
const out = {};
|
|
22664
|
+
for (const [key, value] of Object.entries(map)) {
|
|
22665
|
+
const next = isSecret(key) ? fn(key, value) : value;
|
|
22666
|
+
if (next !== void 0) out[key] = next;
|
|
22667
|
+
}
|
|
22668
|
+
return out;
|
|
22669
|
+
}
|
|
22670
|
+
const allSecret = () => true;
|
|
22671
|
+
/** `map[key]` only for an own property, so `__proto__` or `constructor` never reads the prototype. */
|
|
22672
|
+
const ownValue = (map, key) => Object.hasOwn(map, key) ? map[key] : void 0;
|
|
22673
|
+
/** The `tracker_keys` names the settings API accepts. */
|
|
22674
|
+
const TRACKER_KEY_FIELDS = new Set([
|
|
22675
|
+
"linear",
|
|
22676
|
+
"github",
|
|
22677
|
+
"gitlab",
|
|
22678
|
+
"rally",
|
|
22679
|
+
"jira",
|
|
22680
|
+
"jira_email",
|
|
22681
|
+
"jira_base_url"
|
|
22682
|
+
]);
|
|
22683
|
+
/** One error per `tracker_keys` name the settings API does not know. */
|
|
22684
|
+
function unknownTrackerKeyErrors(settings) {
|
|
22685
|
+
return Object.keys(settings.tracker_keys ?? {}).filter((key) => !TRACKER_KEY_FIELDS.has(key)).map((key) => `Unknown tracker key: tracker_keys.${key}`);
|
|
22686
|
+
}
|
|
22687
|
+
const trackerSecret = (key) => !NON_SECRET_TRACKER_FIELDS.has(key);
|
|
22688
|
+
/**
|
|
22689
|
+
* A copy of `settings` with every secret masked. A secret config.yaml holds as a whole `$VAR`
|
|
22690
|
+
* reference (`references`) is shown as that reference instead of its resolved value.
|
|
22691
|
+
*/
|
|
22692
|
+
function maskSettingsSecrets(settings, references = {}) {
|
|
22693
|
+
const apiRefs = references.apiKeys ?? {};
|
|
22694
|
+
const trackerRefs = references.trackerKeys ?? {};
|
|
22695
|
+
const show = (refs) => (key, value) => {
|
|
22696
|
+
const reference = ownValue(refs, key);
|
|
22697
|
+
return isEnvReference(reference) ? reference : maskSecret(value);
|
|
22698
|
+
};
|
|
22699
|
+
return {
|
|
22700
|
+
...settings,
|
|
22701
|
+
api_keys: mapSecrets(settings.api_keys, allSecret, show(apiRefs)) ?? {},
|
|
22702
|
+
...settings.tracker_keys ? { tracker_keys: mapSecrets(settings.tracker_keys, trackerSecret, show(trackerRefs)) } : {}
|
|
22703
|
+
};
|
|
22704
|
+
}
|
|
22705
|
+
/**
|
|
22706
|
+
* A copy of `settings` ready to save:
|
|
22707
|
+
* - a secret config.yaml holds as a whole `$VAR` reference stays that reference when the save
|
|
22708
|
+
* sends its mask or its resolved value (PAN-5738: the save did not change it);
|
|
22709
|
+
* - any other unchanged mask becomes the stored value, or is dropped when nothing is stored.
|
|
22710
|
+
* `stored` holds the resolved values; `references` the raw references.
|
|
22711
|
+
*/
|
|
22712
|
+
function restoreMaskedSecrets(settings, stored, references = {}) {
|
|
22713
|
+
const restore = (storedMap, refs) => (key, value) => {
|
|
22714
|
+
const reference = ownValue(refs, key);
|
|
22715
|
+
const storedValue = ownValue(storedMap, key);
|
|
22716
|
+
if (isEnvReference(reference) && (isSecretMask(value) || value === storedValue)) return reference;
|
|
22717
|
+
return isSecretMask(value) ? storedValue : value;
|
|
22718
|
+
};
|
|
22719
|
+
const storedApi = stored.apiKeys ?? {};
|
|
22720
|
+
const storedTracker = stored.trackerKeys ?? {};
|
|
22721
|
+
return {
|
|
22722
|
+
...settings,
|
|
22723
|
+
api_keys: mapSecrets(settings.api_keys, allSecret, restore(storedApi, references.apiKeys ?? {})) ?? {},
|
|
22724
|
+
...settings.tracker_keys ? { tracker_keys: mapSecrets(settings.tracker_keys, trackerSecret, restore(storedTracker, references.trackerKeys ?? {})) } : {}
|
|
22725
|
+
};
|
|
22726
|
+
}
|
|
22727
|
+
/** One error per secret whose value is an edited mask (the mask character plus other text). */
|
|
22728
|
+
function editedSecretMaskErrors(settings) {
|
|
22729
|
+
const errors = [];
|
|
22730
|
+
for (const [block, map] of [["api_keys", settings.api_keys], ["tracker_keys", settings.tracker_keys]]) for (const [key, value] of Object.entries(map ?? {})) if (isEditedSecretMask(value)) errors.push(`${block}.${key} still contains the masked value; clear the field and enter the whole key`);
|
|
22731
|
+
return errors;
|
|
22732
|
+
}
|
|
22733
|
+
/**
|
|
22734
|
+
* The key a key-test endpoint should use: the stored key when the client sent back the mask,
|
|
22735
|
+
* otherwise the key it sent. Null for an edited mask, or a mask with nothing stored.
|
|
22736
|
+
*/
|
|
22737
|
+
function resolveSecretInput(sent, stored) {
|
|
22738
|
+
if (isSecretMask(sent)) return stored ?? null;
|
|
22739
|
+
if (isEditedSecretMask(sent)) return null;
|
|
22740
|
+
return sent;
|
|
22741
|
+
}
|
|
22742
|
+
//#endregion
|
|
22743
|
+
export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, ANTIGRAVITY_BEHAVIOR, ANTIGRAVITY_CAPABILITIES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, 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, BROWSERS, BUILTIN_COLOR_THEMES, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BrowserIdSchema, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PLANS, CONNECT_PROTOCOL_VERSION, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, 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, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationSchedulesChangedEvent, ConversationSearchActivityChangedEvent, ConversationSearchActivityKind, ConversationSearchActivitySnapshot, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedMergedSlice, DerivedPrOutsidePipeline, DerivedPrState, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, FlywheelActivity, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBlocker, FlywheelBlockerKind, FlywheelBugRateCriterion, FlywheelCardAgent, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHealth, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelOwner, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelPreviousRun, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelShipped, FlywheelShippedEvent, FlywheelShippedMerge, FlywheelStage, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, InboundMachineView, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, LoadSample, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MUSE_CAPABILITIES, MachineLinkView, MachinePlacementMode, MachineProject, MachineVersionsReportSchema, MachinesResponse, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NON_SECRET_TRACKER_FIELDS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestSnapshot, PullRequestState, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatusView, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RouteKind, RouteSource, SCHEDULE_PRESET_DAYS, SECRET_MASK, SECRET_MASK_CHAR, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, SharedChannelReader, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, ShutdownPendingSession, ShutdownPhase, ShutdownSnapshot, ShutdownWriter, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubscribeUiCommandsRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, SystemShutdownChangedEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_INSTALL_KINDS, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TRACKER_KEY_FIELDS, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UiCommand, UiOpenResolution, WINDOW_PINNED_OPEN_TOOLS_MAX, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, editedSecretMaskErrors, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isConnectPlan, isEditedSecretMask, isEffortLevel, isEnvReference, isIssueAttention, isIssueState, isProtocolCompatible, isSecretMask, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, maskSecret, maskSettingsSecrets, needsYouItemKey, needsYouTick, negotiateHello, nextSecretInput, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, planAllowsInbox, planAllowsRelay, presenceForPaneState, presetToCron, projectDeckKey, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolvePathRoot, resolveSecretInput, resolveTrackerIssueId, restoreMaskedSecrets, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, uiOpenSummary, unknownTrackerKeyErrors, wirePlanOf, withPaneLivenessAlias };
|
|
22557
22744
|
|
|
22558
22745
|
//# sourceMappingURL=index.mjs.map
|