@sema-agent/client-core 0.97.1 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +607 -0
- package/README.md +96 -46
- package/dist/adapt/arms.d.ts +1 -0
- package/dist/adapt/arms.js +188 -53
- package/dist/adapt/ids.d.ts +12 -1
- package/dist/adapt/ids.js +59 -8
- package/dist/adapt/instanceLedger.d.ts +50 -0
- package/dist/adapt/instanceLedger.js +147 -0
- package/dist/adapt/panelTasks.d.ts +1 -1
- package/dist/adapt/panelTasks.js +2 -2
- package/dist/adapt/textStream.d.ts +1 -0
- package/dist/adapt/textStream.js +24 -7
- package/dist/adapt/toolCards.d.ts +27 -5
- package/dist/adapt/toolCards.js +39 -6
- package/dist/adapt/wireShapes.js +6 -2
- package/dist/adapt.d.ts +2 -0
- package/dist/adapt.js +8 -3
- package/dist/adapter/activeRunSelfHeal.d.ts +9 -3
- package/dist/adapter/activeRunSelfHeal.js +205 -313
- package/dist/adapter/downstream/eventToSdkMessage.d.ts +2 -5
- package/dist/adapter/downstream/eventToSdkMessage.js +77 -36
- package/dist/adapter/downstream/terminalToSdkResult.js +11 -4
- package/dist/adapter/downstream/turnUsageToModelUsage.d.ts +5 -2
- package/dist/adapter/downstream/turnUsageToModelUsage.js +2 -0
- package/dist/adapter/runStream.js +79 -48
- package/dist/adapter/types.d.ts +4 -4
- package/dist/adapter/types.js +2 -1
- package/dist/agentSession/backgroundView.js +2 -1
- package/dist/agentSession/engineAgentRegistryRead.d.ts +2 -2
- package/dist/agentSession/engineAgentRegistryRead.js +12 -13
- package/dist/agentSession/engineSessionBackgroundStop.js +16 -8
- package/dist/agentsWireCaps.d.ts +8 -11
- package/dist/agentsWireCaps.js +196 -194
- package/dist/approvalDecidedByCapability.d.ts +0 -4
- package/dist/approvalDecidedByCapability.js +0 -6
- package/dist/approvalsStreamLiveCapability.d.ts +0 -4
- package/dist/approvalsStreamLiveCapability.js +0 -6
- package/dist/assistantInbox.d.ts +34 -0
- package/dist/assistantInbox.js +118 -0
- package/dist/centerWiringCapability.js +9 -1
- package/dist/clientSlice.d.ts +0 -9
- package/dist/clientSlice.js +0 -3
- package/dist/cloudConfigWireCaps.d.ts +5 -3
- package/dist/cloudConfigWireCaps.js +106 -64
- package/dist/compensations.js +1 -1
- package/dist/connectorStatus.d.ts +21 -0
- package/dist/connectorStatus.js +112 -0
- package/dist/controlRouter.d.ts +18 -3
- package/dist/controlRouter.js +106 -67
- package/dist/coreValuePorts.d.ts +29 -4
- package/dist/coreValuePorts.js +10 -0
- package/dist/corruptSessionCopy.d.ts +2 -1
- package/dist/corruptSessionCopy.js +3 -3
- package/dist/decideReceipt.d.ts +2 -2
- package/dist/decideReceipt.js +5 -2
- package/dist/declared/supportFloorDeclared.js +3 -3
- package/dist/detachWire.js +3 -2
- package/dist/deviceExecutorManagementCapability.d.ts +0 -4
- package/dist/deviceExecutorManagementCapability.js +0 -6
- package/dist/deviceRebind.d.ts +49 -1
- package/dist/deviceRebind.js +221 -3
- package/dist/devicesFace.d.ts +34 -0
- package/dist/devicesFace.js +90 -0
- package/dist/displayUntrusted.d.ts +2 -0
- package/dist/displayUntrusted.js +253 -76
- package/dist/engineAgentAbsence.d.ts +1 -1
- package/dist/engineAgentPanelStore.d.ts +12 -4
- package/dist/engineAgentPanelStore.js +16 -11
- package/dist/engineCapReader.d.ts +2 -5
- package/dist/engineCapReader.js +8 -10
- package/dist/engineCapsCache.d.ts +12 -0
- package/dist/engineCapsCache.js +76 -18
- package/dist/engineCapsChange.d.ts +2 -0
- package/dist/engineCapsChange.js +9 -0
- package/dist/engineClosedSets.d.ts +1 -0
- package/dist/engineClosedSets.js +4 -1
- package/dist/engineErrorCodes.d.ts +11 -3
- package/dist/engineErrorCodes.js +11 -8
- package/dist/engineIdentity.d.ts +1 -0
- package/dist/engineIdentity.js +8 -0
- package/dist/engineRowRef.d.ts +28 -0
- package/dist/engineRowRef.js +114 -0
- package/dist/engineSessionMessages.d.ts +68 -0
- package/dist/engineSessionMessages.js +370 -0
- package/dist/engineTargetSeat.d.ts +27 -0
- package/dist/engineTargetSeat.js +199 -0
- package/dist/engineToolDirectory.d.ts +0 -9
- package/dist/engineToolDirectory.js +1 -94
- package/dist/engineUrl.d.ts +18 -0
- package/dist/engineUrl.js +52 -0
- package/dist/engineWireFor.js +3 -8
- package/dist/env/uiLanguage.d.ts +11 -1
- package/dist/env/uiLanguage.js +38 -2
- package/dist/eventLeg.d.ts +100 -0
- package/dist/eventLeg.js +305 -0
- package/dist/executionLaneCapability.d.ts +0 -4
- package/dist/executionLaneCapability.js +3 -16
- package/dist/fileHistoryCaptureCapability.d.ts +2 -5
- package/dist/fileHistoryCaptureCapability.js +13 -21
- package/dist/fileHistoryLegNotice.d.ts +2 -1
- package/dist/fileHistoryLegNotice.js +3 -3
- package/dist/fleet/fleetLedger.d.ts +0 -3
- package/dist/fleet/fleetLedger.js +21 -36
- package/dist/fleet/fleetProjection.d.ts +2 -2
- package/dist/fleet/fleetProjection.js +10 -8
- package/dist/frameBinding.d.ts +8 -0
- package/dist/frameBinding.js +35 -0
- package/dist/gateFailureCodes.d.ts +2 -0
- package/dist/gateFailureCodes.js +15 -0
- package/dist/gateOutcome.d.ts +3 -1
- package/dist/gateOutcome.js +41 -8
- package/dist/gateVocabulary.d.ts +10 -4
- package/dist/gateVocabulary.js +107 -47
- package/dist/generated/engineAskFaceTables.js +2 -2
- package/dist/generated/engineFactTables.d.ts +22 -3
- package/dist/generated/engineFactTables.js +51 -4
- package/dist/generated/engineNoticeTables.js +18 -3
- package/dist/generated/settingsSchemaFns.d.ts +6 -0
- package/dist/generated/settingsSchemaFns.js +57 -0
- package/dist/generated/settingsSchemaHooksClassifier.d.ts +2 -0
- package/dist/generated/settingsSchemaHooksClassifier.js +254 -0
- package/dist/generated/settingsSchemaTables.d.ts +1 -0
- package/dist/generated/settingsSchemaTables.js +4 -0
- package/dist/generated/settingsSchemaTypes.d.ts +105 -0
- package/dist/generated/settingsSchemaTypes.js +1 -0
- package/dist/generated/toolNameTables.d.ts +1 -0
- package/dist/generated/toolNameTables.js +1 -0
- package/dist/hitl/allowRuleShadow.d.ts +8 -2
- package/dist/hitl/allowRuleShadow.js +36 -29
- package/dist/hitl/approvalCardReading.d.ts +15 -0
- package/dist/hitl/approvalCardReading.js +154 -0
- package/dist/hitl/approvalCardReasons.d.ts +14 -0
- package/dist/hitl/approvalCardReasons.js +119 -0
- package/dist/hitl/approvalHolds.d.ts +50 -15
- package/dist/hitl/approvalHolds.js +177 -27
- package/dist/hitl/approvalResolution.d.ts +51 -26
- package/dist/hitl/approvalResolution.js +86 -122
- package/dist/hitl/approvalsFeed.js +6 -18
- package/dist/hitl/askClassPair.d.ts +2 -0
- package/dist/hitl/askClassPair.js +17 -0
- package/dist/hitl/askGateWire.d.ts +20 -2
- package/dist/hitl/askGateWire.js +50 -1
- package/dist/hitl/askParkRowRouting.d.ts +5 -0
- package/dist/hitl/askParkRowRouting.js +32 -1
- package/dist/hitl/askSettlementLine.d.ts +28 -0
- package/dist/hitl/askSettlementLine.js +99 -0
- package/dist/hitl/automaticAnswerVerdict.d.ts +3 -2
- package/dist/hitl/automaticAnswerVerdict.js +29 -13
- package/dist/hitl/crashConverged.d.ts +11 -20
- package/dist/hitl/crashConverged.js +56 -0
- package/dist/hitl/crashConvergedNotice.d.ts +6 -3
- package/dist/hitl/crashConvergedNotice.js +48 -24
- package/dist/hitl/decisionConflict.js +3 -10
- package/dist/hitl/decisionRefusal.d.ts +40 -1
- package/dist/hitl/decisionRefusal.js +199 -42
- package/dist/hitl/frameRouter.d.ts +5 -2
- package/dist/hitl/frameRouter.js +27 -24
- package/dist/hitl/gateLedger.d.ts +2 -0
- package/dist/hitl/gateLedger.js +50 -13
- package/dist/hitl/hitlBridge.d.ts +2 -2
- package/dist/hitl/hitlBridge.js +13 -10
- package/dist/hitl/livePendingAsk.d.ts +3 -3
- package/dist/hitl/livePendingAsk.js +7 -18
- package/dist/hitl/parkResolver.d.ts +2 -24
- package/dist/hitl/parkResolver.js +61 -97
- package/dist/hitl/persistedRulesWire.d.ts +25 -0
- package/dist/hitl/persistedRulesWire.js +104 -2
- package/dist/hitl/planReviewWire.d.ts +31 -13
- package/dist/hitl/planReviewWire.js +120 -78
- package/dist/hitl/refusedToolNameProse.d.ts +0 -1
- package/dist/hitl/refusedToolNameProse.js +0 -3
- package/dist/hitl/replayedApproval.d.ts +4 -3
- package/dist/hitl/replayedApproval.js +7 -4
- package/dist/hitl/sessionPolicyDeliverable.d.ts +2 -0
- package/dist/hitl/sessionPolicyDeliverable.js +48 -7
- package/dist/hitl/sessionPolicyWire.d.ts +34 -21
- package/dist/hitl/sessionPolicyWire.js +179 -70
- package/dist/hitl/standingRows.d.ts +20 -2
- package/dist/hitl/standingRows.js +69 -8
- package/dist/hitl/suspendedReopen.d.ts +2 -1
- package/dist/hitl/suspendedReopen.js +7 -10
- package/dist/hitl/toolApprovalWire.d.ts +103 -156
- package/dist/hitl/toolApprovalWire.js +661 -411
- package/dist/hookMatcherVerdict.d.ts +6 -1
- package/dist/hookMatcherVerdict.js +14 -7
- package/dist/hooksWireCaps.d.ts +2 -2
- package/dist/hooksWireCaps.js +174 -81
- package/dist/host.d.ts +21 -0
- package/dist/hostTurnSettings.d.ts +71 -0
- package/dist/hostTurnSettings.js +291 -0
- package/dist/humanTurn.d.ts +14 -1
- package/dist/humanTurn.js +100 -12
- package/dist/humanTurnRead.d.ts +2 -0
- package/dist/humanTurnRead.js +22 -1
- package/dist/i18n/messages.en.d.ts +703 -0
- package/dist/i18n/messages.en.js +701 -0
- package/dist/i18n/messages.zh.d.ts +3 -0
- package/dist/i18n/messages.zh.js +837 -0
- package/dist/i18n/translate.d.ts +25 -0
- package/dist/i18n/translate.js +127 -0
- package/dist/index.d.ts +78 -29
- package/dist/index.js +54 -18
- package/dist/inheritEnvCapability.d.ts +32 -0
- package/dist/inheritEnvCapability.js +104 -0
- package/dist/inheritEnvWire.d.ts +3 -2
- package/dist/inheritEnvWire.js +12 -14
- package/dist/interactiveHalt.js +17 -6
- package/dist/liveModelCatalog.d.ts +3 -3
- package/dist/liveModelCatalog.js +15 -13
- package/dist/liveQuestionStore.d.ts +2 -21
- package/dist/mcpLiveness.d.ts +2 -1
- package/dist/mcpPanel.d.ts +10 -1
- package/dist/mcpPanel.js +40 -13
- package/dist/mcpProbeCapability.d.ts +2 -1
- package/dist/mcpProbeCapability.js +7 -11
- package/dist/mcpProbeWire.d.ts +9 -2
- package/dist/mcpProbeWire.js +6 -1
- package/dist/mcpWireCaps.d.ts +47 -2
- package/dist/mcpWireCaps.js +164 -16
- package/dist/memoryEntriesWire.d.ts +4 -9
- package/dist/memoryEntriesWire.js +5 -10
- package/dist/model/modelSupplyRules.d.ts +0 -2
- package/dist/model/modelSupplyRules.js +3 -12
- package/dist/model/modelsPolicy.d.ts +0 -5
- package/dist/model/modelsPolicy.js +6 -36
- package/dist/model/onboardJudgement.d.ts +93 -0
- package/dist/model/onboardJudgement.js +415 -0
- package/dist/model/subagentModelWord.d.ts +31 -0
- package/dist/model/subagentModelWord.js +261 -0
- package/dist/model/tierVocabulary.d.ts +2 -0
- package/dist/model/tierVocabulary.js +17 -5
- package/dist/modelCapabilityProbe.d.ts +64 -0
- package/dist/modelCapabilityProbe.js +600 -0
- package/dist/modelIdentityResolvability.d.ts +3 -0
- package/dist/modelIdentityResolvability.js +26 -17
- package/dist/notifications.d.ts +6 -0
- package/dist/notifications.js +71 -23
- package/dist/outputStyleSeatCapability.d.ts +0 -3
- package/dist/outputStyleSeatCapability.js +0 -3
- package/dist/ownKey.d.ts +22 -0
- package/dist/ownKey.js +94 -3
- package/dist/panelReduce.d.ts +21 -10
- package/dist/panelReduce.js +728 -550
- package/dist/panelStateHolder.d.ts +3 -7
- package/dist/panelStateHolder.js +14 -130
- package/dist/peerLaneCapability.d.ts +0 -4
- package/dist/peerLaneCapability.js +0 -6
- package/dist/permissionRuleIssue.js +2 -0
- package/dist/permissionRulesWriteCapability.d.ts +2 -5
- package/dist/permissionRulesWriteCapability.js +8 -12
- package/dist/permissionWireCaps.d.ts +2 -2
- package/dist/permissionWireCaps.js +2 -0
- package/dist/permissionsAllowGrantCapability.d.ts +0 -4
- package/dist/permissionsAllowGrantCapability.js +0 -6
- package/dist/permissionsDeclaration.d.ts +0 -11
- package/dist/permissionsDeclaration.js +60 -53
- package/dist/pluginHooksWire.d.ts +46 -3
- package/dist/pluginHooksWire.js +219 -16
- package/dist/preemptWire.d.ts +44 -0
- package/dist/preemptWire.js +83 -0
- package/dist/printModelStatus.d.ts +63 -0
- package/dist/printModelStatus.js +155 -0
- package/dist/printToolResultFrame.js +15 -4
- package/dist/replayBody.d.ts +3 -0
- package/dist/replayBody.js +14 -0
- package/dist/request/taskRequest.d.ts +11 -6
- package/dist/request/taskRequest.js +112 -19
- package/dist/resumeRefusalCopy.d.ts +13 -9
- package/dist/resumeRefusalCopy.js +81 -118
- package/dist/retryStatus.d.ts +45 -0
- package/dist/retryStatus.js +185 -1
- package/dist/rewindArchiveCapability.d.ts +0 -4
- package/dist/rewindArchiveCapability.js +2 -10
- package/dist/rewindArchiveReading.d.ts +0 -1
- package/dist/rewindArchiveReading.js +0 -3
- package/dist/runCancelContext.d.ts +2 -1
- package/dist/runCancelContext.js +4 -2
- package/dist/runReattachPolicy.d.ts +31 -0
- package/dist/runReattachPolicy.js +46 -0
- package/dist/runTerminal.d.ts +3 -6
- package/dist/runTerminal.js +8 -9
- package/dist/sandboxWire.d.ts +3 -1
- package/dist/sandboxWire.js +76 -27
- package/dist/scenarioRefusal.d.ts +9 -0
- package/dist/scenarioRefusal.js +111 -0
- package/dist/scenarioWire.js +1 -1
- package/dist/seam.d.ts +48 -2
- package/dist/seam.js +25 -4
- package/dist/seatContract.d.ts +311 -18
- package/dist/seatContract.js +824 -100
- package/dist/selfOrchestrationDenial.js +7 -19
- package/dist/sessionIdSegment.d.ts +6 -0
- package/dist/sessionIdSegment.js +24 -0
- package/dist/sessionMemoryStatus.js +6 -11
- package/dist/sessionPolicyCapability.d.ts +2 -5
- package/dist/sessionPolicyCapability.js +8 -12
- package/dist/sessionSyncFileHistoryCapability.d.ts +0 -3
- package/dist/sessionSyncFileHistoryCapability.js +0 -3
- package/dist/settingsHooksSalvage.d.ts +44 -0
- package/dist/settingsHooksSalvage.js +211 -0
- package/dist/skillToolListsCapability.d.ts +2 -4
- package/dist/skillToolListsCapability.js +8 -9
- package/dist/sqlEngineCapability.d.ts +0 -4
- package/dist/sqlEngineCapability.js +0 -6
- package/dist/sseIdleTriage.js +3 -2
- package/dist/steerPriorityCapability.d.ts +0 -3
- package/dist/steerPriorityCapability.js +0 -3
- package/dist/streamDrainingLegs.d.ts +4 -0
- package/dist/streamDrainingLegs.js +6 -1
- package/dist/subagent/engineCompactWire.d.ts +0 -1
- package/dist/subagent/engineCompactWire.js +7 -5
- package/dist/subagent/engineSubagentResume.js +15 -9
- package/dist/subagent/engineTaskHandleWire.js +4 -7
- package/dist/subagentContentStore.d.ts +3 -0
- package/dist/subagentContentStore.js +22 -10
- package/dist/submitReopen.d.ts +24 -0
- package/dist/submitReopen.js +75 -0
- package/dist/terminalStatuses.d.ts +3 -0
- package/dist/terminalStatuses.js +10 -2
- package/dist/toolHistoryMismatch.js +3 -2
- package/dist/toolResult.d.ts +10 -1
- package/dist/toolResult.js +34 -6
- package/dist/toolRoster.d.ts +3 -4
- package/dist/toolRoster.js +21 -22
- package/dist/turnFailurePresentation.d.ts +39 -0
- package/dist/turnFailurePresentation.js +402 -0
- package/dist/usageAnalytics.js +6 -11
- package/dist/userAttachmentEnvelope.d.ts +1 -0
- package/dist/userAttachmentEnvelope.js +37 -7
- package/dist/userAttachmentSeat.d.ts +21 -0
- package/dist/userAttachmentSeat.js +75 -0
- package/dist/userInvokedSkillsCapability.d.ts +11 -4
- package/dist/userInvokedSkillsCapability.js +31 -10
- package/dist/webSearchBackendCapability.d.ts +0 -4
- package/dist/webSearchBackendCapability.js +0 -6
- package/dist/wireErrorTriage.d.ts +7 -0
- package/dist/wireErrorTriage.js +26 -23
- package/dist/wireFailureShape.d.ts +62 -5
- package/dist/wireFailureShape.js +106 -5
- package/dist/wireRefusalCopy.d.ts +25 -3
- package/dist/wireRefusalCopy.js +74 -80
- package/dist/workflowsJournalCapability.d.ts +2 -5
- package/dist/workflowsJournalCapability.js +8 -12
- package/dist/writeProtectionCapability.d.ts +0 -4
- package/dist/writeProtectionCapability.js +0 -6
- package/docs/INTEGRATION-CLIENTS.md +1775 -56
- package/package.json +6 -5
- package/dist/attachmentSeatCapability.d.ts +0 -12
- package/dist/attachmentSeatCapability.js +0 -23
- package/dist/hitl/approvalOutcomeNote.d.ts +0 -10
- package/dist/hitl/approvalOutcomeNote.js +0 -29
- package/dist/sessionReadRedactionCapability.d.ts +0 -13
- package/dist/sessionReadRedactionCapability.js +0 -35
package/dist/seatContract.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import type { ReasoningEffort } from "./effortWire.js";
|
|
2
2
|
import type { PermissionMode } from "./permissionWireCaps.js";
|
|
3
3
|
import type { ChromeArmKind, LaneProof } from "./seam.js";
|
|
4
|
+
import type { SeatTurnFailure } from "./turnFailurePresentation.js";
|
|
4
5
|
import type { QuestionAnswer } from "./liveQuestionStore.js";
|
|
5
6
|
import type { ToolApprovalDelegation } from "./hitl/toolApprovalWire.js";
|
|
6
7
|
import type { ApprovalMandateWord } from "./gateVocabulary.js";
|
|
7
8
|
import type { ModelApiWord } from "./model/providerPresets.js";
|
|
8
9
|
import type { LiveModelCatalog } from "./liveModelCatalog.js";
|
|
9
10
|
import { type RewindMode } from "./rewindWireCaps.js";
|
|
11
|
+
import { type ProbeVerdictWord } from "./modelCapabilityProbe.js";
|
|
12
|
+
import type { SubagentContentEvent } from "./subagentContentStore.js";
|
|
13
|
+
import type { DeviceEnrollTokenOutcome, DeviceListOutcome, DeviceRebindOutcome, DeviceRevokeOutcome, DeviceSessionBindingOutcome, DeviceTransport, DeviceUnarmed, DeviceUnreadable } from "./deviceRebind.js";
|
|
14
|
+
import type { McpPanelView } from "./mcpPanel.js";
|
|
10
15
|
export interface SeatValidationFailure {
|
|
11
16
|
reason: string;
|
|
12
17
|
field?: string;
|
|
@@ -70,10 +75,10 @@ export interface ToolPermissionRequest {
|
|
|
70
75
|
classes?: readonly string[];
|
|
71
76
|
sessionRow?: true;
|
|
72
77
|
}
|
|
73
|
-
declare const SEAT_EVENT_TYPE_TUPLE: readonly ["start", "close", "session_updated", "message", "stream_event", "chrome_event", "error", "tool_permission_resolved"];
|
|
78
|
+
declare const SEAT_EVENT_TYPE_TUPLE: readonly ["start", "close", "session_updated", "message", "stream_event", "chrome_event", "error", "tool_permission_resolved", "subagent_content"];
|
|
74
79
|
export type SeatEventType = (typeof SEAT_EVENT_TYPE_TUPLE)[number];
|
|
75
80
|
export declare const SEAT_EVENT_TYPES: readonly SeatEventType[];
|
|
76
|
-
declare const CHROME_EVENT_KIND_TUPLE: readonly ["panel_task", "notification_terminal", "prompt_suggestions", "subagent_lifecycle", "text_segment_end", "thinking_segment_end"];
|
|
81
|
+
declare const CHROME_EVENT_KIND_TUPLE: readonly ["panel_task", "notification_terminal", "prompt_suggestions", "subagent_lifecycle", "text_segment_end", "thinking_segment_end", "retry_status", "context_usage", "last_turn_usage", "bgshell_register", "bgshell_settle", "memory_saved", "result_replayed", "tool_parked"];
|
|
77
82
|
export type ChromeEventKind = Extract<ChromeArmKind, (typeof CHROME_EVENT_KIND_TUPLE)[number]>;
|
|
78
83
|
export declare const CHROME_EVENT_KINDS: readonly ChromeEventKind[];
|
|
79
84
|
export interface SeatChromeEnvelopeBase {
|
|
@@ -88,30 +93,67 @@ export interface LocalSessionEvent {
|
|
|
88
93
|
type: SeatEventType;
|
|
89
94
|
sessionId: string;
|
|
90
95
|
message?: unknown;
|
|
91
|
-
messages?: unknown[];
|
|
92
96
|
error?: string;
|
|
93
97
|
errorCategory?: string;
|
|
98
|
+
_sema_turnFailure?: SeatTurnFailure;
|
|
94
99
|
code?: number;
|
|
95
|
-
request?: ToolPermissionRequest;
|
|
96
|
-
data?: string;
|
|
97
|
-
sources?: string[];
|
|
98
|
-
permissionMode?: PermissionModeIntent;
|
|
99
100
|
session?: LocalSessionRecord;
|
|
100
101
|
userMessageUuid?: string;
|
|
101
|
-
hasPreClearSession?: boolean;
|
|
102
102
|
requestId?: string;
|
|
103
103
|
outcome?: string;
|
|
104
104
|
parked?: true;
|
|
105
105
|
chrome?: SeatChromeEnvelope;
|
|
106
|
+
subagentContent?: SubagentContentEvent;
|
|
106
107
|
}
|
|
107
108
|
export declare const HITL_RESOLUTION_OUTCOMES: readonly string[];
|
|
108
|
-
export declare const
|
|
109
|
+
export declare const SEAT_STREAM_DELTA_TYPE_OF_CHANNEL: Readonly<{
|
|
110
|
+
readonly text: "text_delta";
|
|
111
|
+
readonly thinking: "thinking_delta";
|
|
112
|
+
}>;
|
|
113
|
+
export type SeatStreamChannel = keyof typeof SEAT_STREAM_DELTA_TYPE_OF_CHANNEL;
|
|
114
|
+
export type SeatStreamDeltaType = (typeof SEAT_STREAM_DELTA_TYPE_OF_CHANNEL)[SeatStreamChannel];
|
|
115
|
+
export interface SeatStreamDelta {
|
|
116
|
+
type: SeatStreamDeltaType;
|
|
117
|
+
delta: string;
|
|
118
|
+
}
|
|
119
|
+
export interface SeatStreamEventMessage {
|
|
120
|
+
type: "stream_event";
|
|
121
|
+
uuid: string;
|
|
122
|
+
session_id: string;
|
|
123
|
+
event: SeatStreamDelta;
|
|
124
|
+
parent_tool_use_id: null;
|
|
125
|
+
}
|
|
126
|
+
export interface SeatStreamDeltaSource {
|
|
127
|
+
readonly channel: SeatStreamChannel;
|
|
128
|
+
readonly text: string;
|
|
129
|
+
}
|
|
130
|
+
export interface SeatStreamDeltaIds {
|
|
131
|
+
readonly uuid: string;
|
|
132
|
+
readonly sessionId: string;
|
|
133
|
+
}
|
|
134
|
+
export type SeatStreamReading = {
|
|
135
|
+
readonly kind: "delta";
|
|
136
|
+
readonly channel: SeatStreamChannel;
|
|
137
|
+
readonly delta: string;
|
|
138
|
+
} | {
|
|
139
|
+
readonly kind: "unknown_event";
|
|
140
|
+
} | {
|
|
141
|
+
readonly kind: "malformed";
|
|
142
|
+
} | {
|
|
143
|
+
readonly kind: "not_stream_event";
|
|
144
|
+
};
|
|
145
|
+
export declare function seatStreamDeltaMessage(event: SeatStreamDeltaSource, ids: SeatStreamDeltaIds): SeatStreamEventMessage | undefined;
|
|
146
|
+
export declare function readSeatStreamDelta(message: object): SeatStreamReading;
|
|
147
|
+
export declare const SEAT_CAPABILITY_NAMES: readonly ["pickFolder", "rewind", "recents", "patchSession", "devices", "engineTarget", "onboard"];
|
|
109
148
|
export type SeatCapabilityName = (typeof SEAT_CAPABILITY_NAMES)[number];
|
|
110
149
|
export interface SeatCapabilitiesState {
|
|
111
150
|
pickFolder?: boolean;
|
|
112
151
|
rewind?: boolean;
|
|
113
152
|
recents?: boolean;
|
|
114
153
|
patchSession?: boolean;
|
|
154
|
+
devices?: boolean;
|
|
155
|
+
engineTarget?: boolean;
|
|
156
|
+
onboard?: boolean;
|
|
115
157
|
}
|
|
116
158
|
export type SeatCapabilityReading = {
|
|
117
159
|
readonly kind: "reported";
|
|
@@ -282,6 +324,224 @@ export interface RecentFolderRow {
|
|
|
282
324
|
export interface RecentFoldersResult {
|
|
283
325
|
folders: RecentFolderRow[];
|
|
284
326
|
}
|
|
327
|
+
export interface SeatDeviceRebindRequest {
|
|
328
|
+
sessionId: string;
|
|
329
|
+
toDeviceId: string;
|
|
330
|
+
expectedRev: number;
|
|
331
|
+
fromDeviceId: string;
|
|
332
|
+
}
|
|
333
|
+
export interface SeatDeviceRevokeRequest {
|
|
334
|
+
deviceId: string;
|
|
335
|
+
reason?: string;
|
|
336
|
+
}
|
|
337
|
+
export declare const checkSeatDeviceRebindRequest: (v: unknown) => SeatValidation;
|
|
338
|
+
export declare const checkSeatDeviceRevokeRequest: (v: unknown) => SeatValidation;
|
|
339
|
+
export declare const ENGINE_TARGET_REFUSALS: readonly ["busy", "switching", "not_configured", "not_signed_in", "probe_failed", "org_policy", "url_refused", "login_failed", "storage_unavailable", "no_local_runtime", "input"];
|
|
340
|
+
export type EngineTargetRefusal = (typeof ENGINE_TARGET_REFUSALS)[number];
|
|
341
|
+
export declare const CLOUD_LOGIN_FAILURES: readonly ["access_denied", "expired_token", "invalid_grant", "cancelled", "transport", "refused", "no_tokens", "other"];
|
|
342
|
+
export type CloudLoginFailure = (typeof CLOUD_LOGIN_FAILURES)[number];
|
|
343
|
+
export interface CloudLoginFailureReading {
|
|
344
|
+
failure: CloudLoginFailure;
|
|
345
|
+
status?: number;
|
|
346
|
+
}
|
|
347
|
+
export interface EngineProbeReading {
|
|
348
|
+
ok: boolean;
|
|
349
|
+
version?: string;
|
|
350
|
+
detail?: string;
|
|
351
|
+
at: string;
|
|
352
|
+
}
|
|
353
|
+
export type EngineTargetCloudAuth = {
|
|
354
|
+
kind: "registry";
|
|
355
|
+
registryUrl: string;
|
|
356
|
+
principal?: string;
|
|
357
|
+
role?: string;
|
|
358
|
+
scope?: string;
|
|
359
|
+
} | {
|
|
360
|
+
kind: "token";
|
|
361
|
+
};
|
|
362
|
+
export type CloudLoginState = {
|
|
363
|
+
state: "pending";
|
|
364
|
+
registryUrl: string;
|
|
365
|
+
userCode: string;
|
|
366
|
+
verificationUri: string;
|
|
367
|
+
verificationUriComplete?: string;
|
|
368
|
+
expiresAt: string;
|
|
369
|
+
} | {
|
|
370
|
+
state: "failed";
|
|
371
|
+
failure: CloudLoginFailure;
|
|
372
|
+
status?: number;
|
|
373
|
+
at: string;
|
|
374
|
+
};
|
|
375
|
+
export interface CloudAuthErrorState {
|
|
376
|
+
failure: CloudLoginFailure;
|
|
377
|
+
status?: number;
|
|
378
|
+
at: string;
|
|
379
|
+
}
|
|
380
|
+
export interface EngineTargetCloud {
|
|
381
|
+
configured: boolean;
|
|
382
|
+
url?: string;
|
|
383
|
+
label?: string;
|
|
384
|
+
auth?: EngineTargetCloudAuth;
|
|
385
|
+
login?: CloudLoginState;
|
|
386
|
+
lastProbe?: EngineProbeReading;
|
|
387
|
+
authError?: CloudAuthErrorState;
|
|
388
|
+
orgEngine?: {
|
|
389
|
+
url: string;
|
|
390
|
+
required: boolean;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
export interface SeatLocalMcpRow {
|
|
394
|
+
name: string;
|
|
395
|
+
status: string;
|
|
396
|
+
toolCount?: number;
|
|
397
|
+
liveness?: string;
|
|
398
|
+
errorCode?: string;
|
|
399
|
+
forcedAsk?: string[];
|
|
400
|
+
}
|
|
401
|
+
export type SeatLocalMcpReading = {
|
|
402
|
+
status: "listed";
|
|
403
|
+
servers: SeatLocalMcpRow[];
|
|
404
|
+
readAt: string;
|
|
405
|
+
restartRequired?: true;
|
|
406
|
+
} | {
|
|
407
|
+
status: "unreadable";
|
|
408
|
+
cause: string;
|
|
409
|
+
detail?: string;
|
|
410
|
+
readAt: string;
|
|
411
|
+
restartRequired?: true;
|
|
412
|
+
};
|
|
413
|
+
export interface EngineTargetLocal {
|
|
414
|
+
lastBootError?: string;
|
|
415
|
+
mcp?: SeatLocalMcpReading;
|
|
416
|
+
}
|
|
417
|
+
export interface EngineTargetState {
|
|
418
|
+
mode: "local" | "cloud";
|
|
419
|
+
generation: number;
|
|
420
|
+
cloud: EngineTargetCloud;
|
|
421
|
+
local: EngineTargetLocal;
|
|
422
|
+
}
|
|
423
|
+
export interface EngineTargetRefused {
|
|
424
|
+
ok: false;
|
|
425
|
+
refusal: EngineTargetRefusal;
|
|
426
|
+
failure?: CloudLoginFailure;
|
|
427
|
+
status?: number;
|
|
428
|
+
detail?: string;
|
|
429
|
+
}
|
|
430
|
+
export type EngineTargetResult = {
|
|
431
|
+
ok: true;
|
|
432
|
+
} | EngineTargetRefused;
|
|
433
|
+
export type CloudLoginStart = {
|
|
434
|
+
ok: true;
|
|
435
|
+
verificationUri: string;
|
|
436
|
+
verificationUriComplete?: string;
|
|
437
|
+
userCode: string;
|
|
438
|
+
expiresAt: string;
|
|
439
|
+
} | EngineTargetRefused;
|
|
440
|
+
export type CloudConnectResult = {
|
|
441
|
+
ok: true;
|
|
442
|
+
probe: {
|
|
443
|
+
version?: string;
|
|
444
|
+
};
|
|
445
|
+
} | EngineTargetRefused;
|
|
446
|
+
export interface CloudLoginRequest {
|
|
447
|
+
registryUrl: string;
|
|
448
|
+
}
|
|
449
|
+
export interface CloudEngineConnectRequest {
|
|
450
|
+
url: string;
|
|
451
|
+
}
|
|
452
|
+
export interface CloudEngineConfigureRequest {
|
|
453
|
+
url: string;
|
|
454
|
+
token: string;
|
|
455
|
+
}
|
|
456
|
+
export declare const checkCloudLoginRequest: (v: unknown) => SeatValidation;
|
|
457
|
+
export declare const checkCloudEngineConnectRequest: (v: unknown) => SeatValidation;
|
|
458
|
+
export declare const checkCloudEngineConfigureRequest: (v: unknown) => SeatValidation;
|
|
459
|
+
export type OnboardProbeVerdict = ProbeVerdictWord;
|
|
460
|
+
export declare const ONBOARD_REFUSALS: readonly ["input", "probe_failed", "probe_unverified", "credential_unpaired", "catalog_unreadable", "write_conflict", "write_failed", "engine_is_remote", "env_catalog_present"];
|
|
461
|
+
export type OnboardRefusal = (typeof ONBOARD_REFUSALS)[number];
|
|
462
|
+
export type EngineRestartOutcome = {
|
|
463
|
+
state: "started" | "restarted";
|
|
464
|
+
model: string | null;
|
|
465
|
+
} | {
|
|
466
|
+
state: "pending" | "failed" | "skipped";
|
|
467
|
+
reason: string;
|
|
468
|
+
};
|
|
469
|
+
export type OnboardSource = {
|
|
470
|
+
kind: "preset";
|
|
471
|
+
providerId: string;
|
|
472
|
+
} | {
|
|
473
|
+
kind: "custom";
|
|
474
|
+
} | {
|
|
475
|
+
kind: "imported";
|
|
476
|
+
profileId: string;
|
|
477
|
+
};
|
|
478
|
+
export interface OnboardEntryRequest {
|
|
479
|
+
source: OnboardSource;
|
|
480
|
+
modelId: string;
|
|
481
|
+
baseUrl?: string;
|
|
482
|
+
api?: ModelApiWord;
|
|
483
|
+
apiKey?: string;
|
|
484
|
+
contextWindow?: number;
|
|
485
|
+
maxTokens?: number;
|
|
486
|
+
}
|
|
487
|
+
export interface OnboardApplyRequest extends OnboardEntryRequest {
|
|
488
|
+
makeDefault?: boolean;
|
|
489
|
+
acceptUnverified?: boolean;
|
|
490
|
+
}
|
|
491
|
+
export interface OnboardProbeResult {
|
|
492
|
+
verdict: OnboardProbeVerdict;
|
|
493
|
+
detail: string;
|
|
494
|
+
thinking?: string;
|
|
495
|
+
}
|
|
496
|
+
export interface OnboardCatalogIssue {
|
|
497
|
+
name: string;
|
|
498
|
+
modelId: string;
|
|
499
|
+
issue: string;
|
|
500
|
+
}
|
|
501
|
+
export type OnboardApplyResult = {
|
|
502
|
+
ok: true;
|
|
503
|
+
entryName: string;
|
|
504
|
+
modelId: string;
|
|
505
|
+
keyEnv: string;
|
|
506
|
+
updatedExisting: boolean;
|
|
507
|
+
probe: OnboardProbeResult;
|
|
508
|
+
otherIssues: OnboardCatalogIssue[];
|
|
509
|
+
engine: EngineRestartOutcome;
|
|
510
|
+
} | {
|
|
511
|
+
ok: false;
|
|
512
|
+
refusal: OnboardRefusal;
|
|
513
|
+
detail?: string;
|
|
514
|
+
probe?: OnboardProbeResult;
|
|
515
|
+
};
|
|
516
|
+
export interface OnboardProviderModel {
|
|
517
|
+
id: string;
|
|
518
|
+
contextWindow: number;
|
|
519
|
+
maxTokens: number;
|
|
520
|
+
}
|
|
521
|
+
export interface OnboardProviderRow {
|
|
522
|
+
id: string;
|
|
523
|
+
name: string;
|
|
524
|
+
baseUrl: string;
|
|
525
|
+
api: ModelApiWord;
|
|
526
|
+
keyAuth: boolean;
|
|
527
|
+
authEnv: string;
|
|
528
|
+
models: OnboardProviderModel[];
|
|
529
|
+
consoleUrl?: string;
|
|
530
|
+
}
|
|
531
|
+
export interface OnboardImportableProfile {
|
|
532
|
+
id: string;
|
|
533
|
+
name: string;
|
|
534
|
+
baseUrl: string;
|
|
535
|
+
api: ModelApiWord;
|
|
536
|
+
hasKey: boolean;
|
|
537
|
+
models: string[];
|
|
538
|
+
}
|
|
539
|
+
export interface OnboardProvidersResult {
|
|
540
|
+
providers: OnboardProviderRow[];
|
|
541
|
+
importable?: OnboardImportableProfile[];
|
|
542
|
+
}
|
|
543
|
+
export declare const checkOnboardEntryRequest: (v: unknown) => SeatValidation;
|
|
544
|
+
export declare const checkOnboardApplyRequest: (v: unknown) => SeatValidation;
|
|
285
545
|
export interface LocalSessionsApi {
|
|
286
546
|
start(opts?: StartSessionOptions): Promise<LocalSessionRecord>;
|
|
287
547
|
sendMessage(req: SendMessageRequest): Promise<SendMessageAck>;
|
|
@@ -302,15 +562,32 @@ export interface LocalSessionsApi {
|
|
|
302
562
|
listRecentFolders(): Promise<RecentFoldersResult>;
|
|
303
563
|
noteRecentFolder(path: string): Promise<OkAck>;
|
|
304
564
|
patchSession(req: SessionRowPatchRequest): Promise<LocalSessionRecord>;
|
|
565
|
+
listDevices(): Promise<DeviceListOutcome>;
|
|
566
|
+
readSessionBinding(sessionId: string): Promise<DeviceSessionBindingOutcome>;
|
|
567
|
+
rebindSession(req: SeatDeviceRebindRequest): Promise<DeviceRebindOutcome>;
|
|
568
|
+
issueEnrollToken(): Promise<DeviceEnrollTokenOutcome>;
|
|
569
|
+
revokeDevice(req: SeatDeviceRevokeRequest): Promise<DeviceRevokeOutcome>;
|
|
570
|
+
setEngineMode(mode: "local" | "cloud"): Promise<EngineTargetResult>;
|
|
571
|
+
startCloudLogin(req: CloudLoginRequest): Promise<CloudLoginStart>;
|
|
572
|
+
cancelCloudLogin(): Promise<OkAck>;
|
|
573
|
+
connectCloudEngine(req: CloudEngineConnectRequest): Promise<CloudConnectResult>;
|
|
574
|
+
configureCloudEngine(req: CloudEngineConfigureRequest): Promise<CloudConnectResult>;
|
|
575
|
+
clearCloudEngine(): Promise<EngineTargetResult>;
|
|
576
|
+
listOnboardProviders(): Promise<OnboardProvidersResult>;
|
|
577
|
+
probeOnboardEntry(req: OnboardEntryRequest): Promise<OnboardProbeResult>;
|
|
578
|
+
applyOnboardEntry(req: OnboardApplyRequest): Promise<OnboardApplyResult>;
|
|
579
|
+
readSessionMcpPanel(sessionId: string): Promise<McpPanelView | DeviceUnreadable | DeviceTransport | DeviceUnarmed>;
|
|
305
580
|
onEvent(cb: (ev: LocalSessionEvent) => void): () => void;
|
|
306
581
|
onToolPermissionRequest(cb: (req: ToolPermissionRequest) => void): () => void;
|
|
307
582
|
sessionsStateStore: EipcStoreClient<SessionsState>;
|
|
308
583
|
focusedSessionStateStore: EipcStoreClient<FocusedSessionState>;
|
|
309
584
|
settingsStateStore: EipcStoreClient<SettingsState>;
|
|
310
585
|
seatCapabilitiesStateStore: EipcStoreClient<SeatCapabilitiesState>;
|
|
586
|
+
engineTargetStateStore: EipcStoreClient<EngineTargetState>;
|
|
311
587
|
}
|
|
312
588
|
export declare function isLocalSessionRecord(s: unknown): s is LocalSessionRecord;
|
|
313
589
|
export declare function isToolPermissionRequest(r: unknown): r is ToolPermissionRequest;
|
|
590
|
+
export declare function readSeatSubagentContent(event: object): SubagentContentEvent | undefined;
|
|
314
591
|
export declare function isLocalSessionEvent(v: unknown): v is LocalSessionEvent;
|
|
315
592
|
export declare function isAttachmentUploadReceipt(v: unknown): v is AttachmentUploadReceipt;
|
|
316
593
|
export interface SeatCatalogEntry {
|
|
@@ -328,21 +605,25 @@ export interface ApplyModelConfigRequest {
|
|
|
328
605
|
defaultModel: SeatCatalogEntry;
|
|
329
606
|
cheapModel?: SeatCatalogEntry;
|
|
330
607
|
}
|
|
608
|
+
export declare const APPLY_MODEL_CONFIG_REASONS: readonly ["shadowed_by_models_json", "cheap_provider_unsupported", "invalid_request", "write_failed", "unavailable"];
|
|
609
|
+
export type ApplyModelConfigReason = (typeof APPLY_MODEL_CONFIG_REASONS)[number];
|
|
331
610
|
export interface ApplyModelConfigResult {
|
|
332
611
|
ok: boolean;
|
|
333
|
-
reason?:
|
|
612
|
+
reason?: ApplyModelConfigReason;
|
|
613
|
+
detail?: string;
|
|
334
614
|
requiresRestart: boolean;
|
|
335
615
|
}
|
|
616
|
+
export declare function applyModelConfigReasonDetail(reason: string | undefined): string;
|
|
336
617
|
export declare function checkSendMessageRequest(v: unknown): SeatValidation;
|
|
337
618
|
export declare function isSendMessageRequest(v: unknown): v is SendMessageRequest;
|
|
338
619
|
export declare const checkSessionRowPatchRequest: (v: unknown) => SeatValidation;
|
|
339
620
|
export declare function isSessionRowPatchRequest(v: unknown): v is SessionRowPatchRequest;
|
|
340
621
|
export declare function isSendMessageAck(v: unknown): v is SendMessageAck;
|
|
341
622
|
export declare const LOCAL_SESSIONS_SPEC: EipcServiceSpec;
|
|
342
|
-
export declare const SEAT_METHOD_NAMES: readonly ["start", "sendMessage", "interrupt", "stop", "respondToToolPermission", "cancelQueuedMessage", "reorderQueuedMessage", "promoteQueuedMessage", "setFocusedSession", "setModel", "getTranscript", "searchSessions", "uploadAttachment", "listModels", "applyModelConfig", "pickFolder", "listRecentFolders", "noteRecentFolder", "patchSession", "onEvent", "onToolPermissionRequest"];
|
|
343
|
-
export declare const SEAT_STORE_PROPS: readonly ["sessionsStateStore", "focusedSessionStateStore", "settingsStateStore", "seatCapabilitiesStateStore"];
|
|
623
|
+
export declare const SEAT_METHOD_NAMES: readonly ["start", "sendMessage", "interrupt", "stop", "respondToToolPermission", "cancelQueuedMessage", "reorderQueuedMessage", "promoteQueuedMessage", "setFocusedSession", "setModel", "getTranscript", "searchSessions", "uploadAttachment", "listModels", "applyModelConfig", "pickFolder", "listRecentFolders", "noteRecentFolder", "patchSession", "listDevices", "readSessionBinding", "rebindSession", "issueEnrollToken", "revokeDevice", "setEngineMode", "startCloudLogin", "cancelCloudLogin", "connectCloudEngine", "configureCloudEngine", "clearCloudEngine", "listOnboardProviders", "probeOnboardEntry", "applyOnboardEntry", "readSessionMcpPanel", "onEvent", "onToolPermissionRequest"];
|
|
624
|
+
export declare const SEAT_STORE_PROPS: readonly ["sessionsStateStore", "focusedSessionStateStore", "settingsStateStore", "seatCapabilitiesStateStore", "engineTargetStateStore"];
|
|
344
625
|
export declare const SEAT_EVENT_METHOD_NAMES: readonly ["onEvent", "onToolPermissionRequest"];
|
|
345
|
-
export declare const LOCAL_SESSION_EVENT_KEYS: readonly ["type", "sessionId", "message", "
|
|
626
|
+
export declare const LOCAL_SESSION_EVENT_KEYS: readonly ["type", "sessionId", "message", "error", "errorCategory", "code", "session", "userMessageUuid", "requestId", "outcome", "parked", "chrome", "_sema_turnFailure", "subagentContent"];
|
|
346
627
|
export declare const TOOL_PERMISSION_REQUEST_KEYS: readonly ["requestId", "sessionId", "toolName", "toolCallId", "input", "message", "toctouBinding", "createdAtMs", "governanceForced", "delegation", "mandated", "mandate", "origin", "ruleOffersAbsence", "askClass", "classes", "sessionRow"];
|
|
347
628
|
export declare const LOCAL_SESSION_RECORD_KEYS: readonly ["sessionId", "engineSessionId", "model", "title", "cwd", "isRunning", "createdAt", "lastActivityAt", "queuedMessages", "parked", "pinned"];
|
|
348
629
|
export declare const SEND_MESSAGE_REQUEST_KEYS: readonly ["sessionId", "text", "model", "userMessageUuid", "permissionMode", "attachmentIds", "reasoningEffort", "retainBackgroundProcesses", "forwardSubagentEvents", "retainSubagentSessions", "settings", "scenario", "rewind"];
|
|
@@ -436,10 +717,13 @@ export declare const SEAT_VALIDATOR_KEY_COVERAGE: {
|
|
|
436
717
|
readonly LocalSessionEvent: {
|
|
437
718
|
readonly guard: "isLocalSessionEvent";
|
|
438
719
|
readonly check: (v: unknown) => SeatValidation;
|
|
439
|
-
readonly validated: readonly ["type", "sessionId", "
|
|
720
|
+
readonly validated: readonly ["type", "sessionId", "error", "errorCategory", "code", "session", "userMessageUuid", "requestId", "outcome", "parked", "chrome", "subagentContent"];
|
|
440
721
|
readonly unchecked: readonly [{
|
|
441
722
|
readonly key: "message";
|
|
442
723
|
readonly why: "transcript 面直通位(CC fQe 逐字姿态:SDKMessage 体不做 schema 校验)—— 校它 = 引擎加一种消息体的那天整条转录被门吃掉。";
|
|
724
|
+
}, {
|
|
725
|
+
readonly key: "_sema_turnFailure";
|
|
726
|
+
readonly why: "turn 失败的呈现判决(CC-378 TK-9),核形在包读口 readSeatTurnFailure(坏形 / 表外类别词 ⇒ undefined、渲染端只渲 error 文本);出站门为它拒掉整条 error 事件 = 宿主 settle 照走、渲染端把失败轮渲成完成,所以门只登键不拒。";
|
|
443
727
|
}];
|
|
444
728
|
};
|
|
445
729
|
readonly AttachmentUploadReceipt: {
|
|
@@ -450,7 +734,7 @@ export declare const SEAT_VALIDATOR_KEY_COVERAGE: {
|
|
|
450
734
|
};
|
|
451
735
|
readonly LiveModelCatalog: {
|
|
452
736
|
readonly check: (v: unknown) => SeatValidation;
|
|
453
|
-
readonly validated: readonly ["models", "
|
|
737
|
+
readonly validated: readonly ["models", "defaultModel"];
|
|
454
738
|
readonly unchecked: readonly [{
|
|
455
739
|
readonly key: "droppedEntries";
|
|
456
740
|
readonly why: "诊断面(哪些目录条目没被引擎收下),三态读法归 droppedModelEntriesOf(含坏形 malformed);出站门为它拒掉整份目录 = 选单为一行诊断整个消失。";
|
|
@@ -473,7 +757,7 @@ export declare const SEAT_VALIDATOR_KEY_COVERAGE: {
|
|
|
473
757
|
};
|
|
474
758
|
readonly ApplyModelConfigResult: {
|
|
475
759
|
readonly check: (v: unknown) => SeatValidation;
|
|
476
|
-
readonly validated: readonly ["ok", "requiresRestart", "reason"];
|
|
760
|
+
readonly validated: readonly ["ok", "requiresRestart", "reason", "detail"];
|
|
477
761
|
readonly unchecked: readonly [];
|
|
478
762
|
};
|
|
479
763
|
readonly SendMessageAck: {
|
|
@@ -524,7 +808,7 @@ export declare const SEAT_VALIDATOR_KEY_COVERAGE: {
|
|
|
524
808
|
};
|
|
525
809
|
readonly SeatCapabilitiesState: {
|
|
526
810
|
readonly check: (v: unknown) => SeatValidation;
|
|
527
|
-
readonly validated: readonly ["pickFolder", "rewind", "recents", "patchSession"];
|
|
811
|
+
readonly validated: readonly ["pickFolder", "rewind", "recents", "patchSession", "devices", "engineTarget", "onboard"];
|
|
528
812
|
readonly unchecked: readonly [];
|
|
529
813
|
};
|
|
530
814
|
readonly RecentFoldersResult: {
|
|
@@ -557,8 +841,17 @@ export declare const SEAT_VALIDATOR_KEY_COVERAGE: {
|
|
|
557
841
|
readonly validated: readonly ["kind", "laneProof"];
|
|
558
842
|
readonly unchecked: readonly [];
|
|
559
843
|
};
|
|
844
|
+
readonly SessionMcpPanelResult: {
|
|
845
|
+
readonly check: (v: unknown) => SeatValidation;
|
|
846
|
+
readonly validated: readonly ["kind", "why", "detail", "asOf", "servers", "lastLegMcp", "lastLegMcpUnreadable", "degraded", "scenarioRefusal"];
|
|
847
|
+
readonly unchecked: readonly [];
|
|
848
|
+
};
|
|
560
849
|
};
|
|
561
|
-
export declare const SEAT_VALIDATOR_COVERAGE_EXEMPT: readonly [{
|
|
850
|
+
export declare const SEAT_VALIDATOR_COVERAGE_EXEMPT: readonly [...{
|
|
851
|
+
label: "DeviceListOutcome" | "DeviceSessionBindingOutcome" | "DeviceRebindOutcome" | "DeviceEnrollTokenOutcome" | "DeviceRevokeOutcome" | "SeatDeviceRebindRequest" | "SeatDeviceRevokeRequest" | "EngineTargetState" | "EngineTargetResult" | "CloudLoginStart" | "CloudLoginCancelAck" | "CloudConnectResult" | "CloudLoginRequest" | "CloudEngineConnectRequest" | "CloudEngineConfigureRequest" | "OnboardProvidersResult" | "OnboardProbeResult" | "OnboardApplyResult" | "OnboardEntryRequest" | "OnboardApplyRequest";
|
|
852
|
+
check: (v: unknown) => SeatValidation;
|
|
853
|
+
why: string;
|
|
854
|
+
}[], {
|
|
562
855
|
readonly label: "PickFolderResult";
|
|
563
856
|
readonly check: (v: unknown) => SeatValidation;
|
|
564
857
|
readonly why: "载荷是**串或 null**(选中的路径 / 用户取消,CC-469),没有键面 ⇒ `keyof` 覆盖表在它身上无从谈起。判别力由 run-seat-wave2-test.mjs ST1-1 承担:认 null 与非空串、拒空串 / 数 / undefined / 对象 / 布尔五形。";
|