@sema-agent/client-core 0.100.0 → 0.101.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 +395 -0
- package/README.md +164 -117
- package/dist/adapt/arms.js +51 -16
- package/dist/adapt/textStream.js +7 -4
- package/dist/adapt/toolCards.js +9 -8
- package/dist/adapt.js +7 -1
- package/dist/adapter/activeRunSelfHeal.d.ts +24 -2
- package/dist/adapter/activeRunSelfHeal.js +108 -6
- package/dist/adapter/downstream/eventToSdkMessage.js +33 -12
- package/dist/adapter/downstream/terminalToSdkResult.d.ts +60 -1
- package/dist/adapter/downstream/terminalToSdkResult.js +209 -39
- package/dist/adapter/runStream.d.ts +4 -4
- package/dist/adapter/runStream.js +158 -43
- package/dist/agentsWireCaps.d.ts +2 -7
- package/dist/agentsWireCaps.js +1 -2
- package/dist/approvalDecidedByCapability.js +2 -2
- package/dist/approvalFrameFamilies.d.ts +33 -0
- package/dist/approvalFrameFamilies.js +120 -0
- package/dist/approvalsStreamLiveCapability.js +2 -2
- package/dist/attachmentsWireCaps.js +41 -13
- package/dist/callerCwdCapability.js +2 -2
- package/dist/centerWiringCapability.js +2 -2
- package/dist/clockReading.d.ts +2 -0
- package/dist/clockReading.js +4 -0
- package/dist/cloudConfigWireCaps.d.ts +19 -5
- package/dist/cloudConfigWireCaps.js +193 -56
- package/dist/coreValuePorts.d.ts +12 -2
- package/dist/coreValuePorts.js +9 -0
- package/dist/decideFailureNote.js +5 -3
- package/dist/decideReceipt.js +2 -2
- package/dist/deviceExecutorManagementCapability.js +2 -2
- package/dist/deviceFlowPolling.js +1 -1
- package/dist/disableSkillsWire.d.ts +1 -1
- package/dist/disableSkillsWire.js +4 -3
- package/dist/displayUntrusted.d.ts +1 -0
- package/dist/displayUntrusted.js +65 -8
- package/dist/engineCapReader.js +1 -1
- package/dist/engineConfigDrift.js +1 -1
- package/dist/engineErrorCodes.d.ts +14 -5
- package/dist/engineErrorCodes.js +27 -6
- package/dist/engineGenerationConvergence.d.ts +39 -0
- package/dist/engineGenerationConvergence.js +95 -0
- package/dist/engineGenerationPort.d.ts +61 -0
- package/dist/engineGenerationPort.js +144 -0
- package/dist/engineHealthFacts.d.ts +23 -0
- package/dist/engineHealthFacts.js +92 -0
- package/dist/engineIdentity.d.ts +4 -0
- package/dist/engineIdentity.js +11 -0
- package/dist/engineNoticeCodes.d.ts +2 -5
- package/dist/engineRowRef.js +3 -0
- package/dist/engineSessionMessages.js +2 -2
- package/dist/engineToolDirectory.js +2 -2
- package/dist/engineWireFor.d.ts +99 -0
- package/dist/engineWireFor.js +248 -6
- package/dist/engineWireTarget.d.ts +1 -0
- package/dist/engineWireTarget.js +8 -0
- package/dist/env/uiLanguage.js +1 -1
- package/dist/errorSupplementRoles.d.ts +3 -0
- package/dist/errorSupplementRoles.js +37 -0
- package/dist/executionLaneCapability.js +2 -2
- package/dist/fileHistoryCaptureCapability.js +3 -3
- package/dist/finalVerifyWire.d.ts +6 -3
- package/dist/finalVerifyWire.js +6 -23
- package/dist/flagInput.d.ts +4 -0
- package/dist/flagInput.js +24 -0
- package/dist/fleet/fleetLedger.js +5 -2
- package/dist/fleet/fleetProjection.d.ts +1 -0
- package/dist/fleet/fleetProjection.js +15 -2
- package/dist/gateVocabulary.js +3 -0
- package/dist/generated/engineFactTables.d.ts +7 -3
- package/dist/generated/engineFactTables.js +52 -0
- package/dist/generated/engineNoticeTables.js +12 -0
- package/dist/generated/settingsSchemaActiveTiers.d.ts +1 -0
- package/dist/generated/settingsSchemaActiveTiers.js +14 -0
- package/dist/generated/settingsSchemaCallerTextEcho.d.ts +1 -0
- package/dist/generated/settingsSchemaCallerTextEcho.js +8 -0
- package/dist/generated/settingsSchemaControlAndBidi.d.ts +1 -0
- package/dist/generated/settingsSchemaControlAndBidi.js +8 -0
- package/dist/generated/settingsSchemaDefaultModel.d.ts +11 -0
- package/dist/generated/settingsSchemaDefaultModel.js +25 -0
- package/dist/generated/settingsSchemaFns.d.ts +54 -0
- package/dist/generated/settingsSchemaFns.js +26 -1
- package/dist/generated/settingsSchemaMcpRequestEntry.d.ts +1 -1
- package/dist/generated/settingsSchemaMcpRequestEntry.js +1 -7
- package/dist/generated/settingsSchemaSafetyMergeSpec.d.ts +1 -0
- package/dist/generated/settingsSchemaSafetyMergeSpec.js +95 -0
- package/dist/generated/settingsSchemaSettingsSources.d.ts +1 -0
- package/dist/generated/settingsSchemaSettingsSources.js +58 -0
- package/dist/generated/settingsSchemaTables.d.ts +2 -0
- package/dist/generated/settingsSchemaTables.js +13 -0
- package/dist/generated/settingsSchemaUrlPattern.d.ts +1 -0
- package/dist/generated/settingsSchemaUrlPattern.js +183 -0
- package/dist/headlessPermissionModeWire.d.ts +18 -2
- package/dist/headlessPermissionModeWire.js +30 -19
- package/dist/hitl/allowRuleShadow.js +7 -5
- package/dist/hitl/approvalCardReading.d.ts +3 -0
- package/dist/hitl/approvalCardReading.js +17 -0
- package/dist/hitl/approvalCompleteParked.js +1 -1
- package/dist/hitl/approvalDelivery.d.ts +87 -0
- package/dist/hitl/approvalDelivery.js +193 -0
- package/dist/hitl/approvalResolution.d.ts +11 -0
- package/dist/hitl/approvalResolution.js +50 -11
- package/dist/hitl/askClassPair.d.ts +6 -0
- package/dist/hitl/askClassPair.js +30 -3
- package/dist/hitl/askParkAutoReopenBlock.d.ts +30 -0
- package/dist/hitl/askParkAutoReopenBlock.js +117 -0
- package/dist/hitl/askParkRowRouting.js +4 -1
- package/dist/hitl/attributionLadder.d.ts +42 -3
- package/dist/hitl/attributionLadder.js +79 -8
- package/dist/hitl/automaticAnswerVerdict.d.ts +6 -1
- package/dist/hitl/automaticAnswerVerdict.js +46 -11
- package/dist/hitl/crashConverged.js +2 -2
- package/dist/hitl/decisionConflict.d.ts +6 -2
- package/dist/hitl/decisionConflict.js +24 -9
- package/dist/hitl/decisionRefusal.d.ts +20 -10
- package/dist/hitl/decisionRefusal.js +99 -54
- package/dist/hitl/decisionSend.d.ts +3 -0
- package/dist/hitl/decisionSend.js +87 -103
- package/dist/hitl/frameRouter.d.ts +1 -0
- package/dist/hitl/frameRouter.js +9 -2
- package/dist/hitl/hitlBridge.d.ts +18 -6
- package/dist/hitl/hitlBridge.js +41 -37
- package/dist/hitl/livePendingAsk.js +4 -3
- package/dist/hitl/noAllowCause.js +1 -1
- package/dist/hitl/parkResolver.js +3 -2
- package/dist/hitl/persistedRulesWire.js +1 -0
- package/dist/hitl/planReviewWire.d.ts +4 -0
- package/dist/hitl/planReviewWire.js +59 -30
- package/dist/hitl/resumeRunningCard.d.ts +3 -2
- package/dist/hitl/resumeRunningCard.js +17 -11
- package/dist/hitl/sessionPolicyDeliverable.d.ts +5 -2
- package/dist/hitl/sessionPolicyDeliverable.js +62 -29
- package/dist/hitl/sessionPolicyWire.d.ts +13 -3
- package/dist/hitl/sessionPolicyWire.js +81 -16
- package/dist/hitl/standingRows.js +1 -1
- package/dist/hitl/toolApprovalWire.d.ts +9 -10
- package/dist/hitl/toolApprovalWire.js +72 -54
- package/dist/hookMatcherVerdict.d.ts +2 -0
- package/dist/hookMatcherVerdict.js +12 -0
- package/dist/hooksCompactTransition.d.ts +19 -0
- package/dist/hooksCompactTransition.js +41 -0
- package/dist/hooksWireCaps.d.ts +1 -1
- package/dist/hooksWireCaps.js +202 -203
- package/dist/host.d.ts +1 -14
- package/dist/host.js +0 -8
- package/dist/hostCallbackGuard.d.ts +1 -0
- package/dist/hostCallbackGuard.js +1 -1
- package/dist/hostSettingsSource.d.ts +172 -0
- package/dist/hostSettingsSource.js +675 -0
- package/dist/hostTurnSettings.d.ts +73 -17
- package/dist/hostTurnSettings.js +594 -97
- package/dist/httpHookPolicy.d.ts +37 -0
- package/dist/httpHookPolicy.js +176 -0
- package/dist/humanTurn.d.ts +2 -1
- package/dist/humanTurn.js +37 -7
- package/dist/humanTurnRead.js +4 -3
- package/dist/humanTurnSentences.d.ts +10 -0
- package/dist/humanTurnSentences.js +74 -0
- package/dist/i18n/messages.en.d.ts +184 -2
- package/dist/i18n/messages.en.js +187 -5
- package/dist/i18n/messages.zh.js +197 -5
- package/dist/i18n/translate.js +3 -3
- package/dist/index.d.ts +69 -15
- package/dist/index.js +45 -13
- package/dist/inheritEnvCapability.d.ts +3 -1
- package/dist/inheritEnvCapability.js +31 -17
- package/dist/inheritEnvWire.d.ts +2 -1
- package/dist/inheritEnvWire.js +11 -5
- package/dist/interactiveToolsWire.d.ts +4 -2
- package/dist/interactiveToolsWire.js +5 -5
- package/dist/jsonFaithful.d.ts +20 -0
- package/dist/jsonFaithful.js +152 -0
- package/dist/limitsWire.d.ts +7 -2
- package/dist/limitsWire.js +19 -13
- package/dist/liveInitToolFace.d.ts +6 -1
- package/dist/liveInitToolFace.js +5 -3
- package/dist/liveModelCatalog.d.ts +22 -0
- package/dist/liveModelCatalog.js +132 -18
- package/dist/mcpPanel.js +1 -1
- package/dist/mcpProbeCapability.js +2 -2
- package/dist/mcpStatusSupersetKeys.d.ts +24 -0
- package/dist/mcpStatusSupersetKeys.js +45 -0
- package/dist/mcpToolToggles.js +2 -1
- package/dist/mcpWireCaps.d.ts +39 -1
- package/dist/mcpWireCaps.js +254 -50
- package/dist/memoryComplianceCapability.js +2 -2
- package/dist/memoryOriginCapability.js +2 -2
- package/dist/model/catalogDefault.d.ts +24 -0
- package/dist/model/catalogDefault.js +4 -0
- package/dist/model/liveCatalogShape.js +5 -4
- package/dist/model/modelsPolicy.js +4 -3
- package/dist/model/onboardJudgement.d.ts +1 -0
- package/dist/model/onboardJudgement.js +1 -1
- package/dist/model/subagentModelWord.js +2 -2
- package/dist/modelCapabilityProbe.js +6 -6
- package/dist/modelIdentityResolvability.d.ts +10 -1
- package/dist/modelIdentityResolvability.js +62 -39
- package/dist/modsKernelIdentity.d.ts +10 -0
- package/dist/modsKernelIdentity.js +103 -0
- package/dist/modsKernelTransit.d.ts +8 -0
- package/dist/modsKernelTransit.js +6 -0
- package/dist/notifications.d.ts +30 -12
- package/dist/notifications.js +241 -53
- package/dist/outputStyleSeatCapability.js +2 -2
- package/dist/ownKey.d.ts +11 -0
- package/dist/ownKey.js +164 -3
- package/dist/panelReduce.js +1 -1
- package/dist/peerFrames.d.ts +1 -1
- package/dist/peerFrames.js +6 -2
- package/dist/peerLaneCapability.js +2 -2
- package/dist/permissionModesCapability.js +4 -4
- package/dist/permissionRuleIssue.js +2 -0
- package/dist/permissionRulesWriteCapability.js +2 -2
- package/dist/permissionsAllowGrantCapability.js +2 -2
- package/dist/permissionsDeclaration.d.ts +43 -4
- package/dist/permissionsDeclaration.js +102 -35
- package/dist/pluginHooksWire.d.ts +20 -4
- package/dist/pluginHooksWire.js +92 -53
- package/dist/prepareRefusal.d.ts +3 -2
- package/dist/prepareRefusal.js +27 -9
- package/dist/printInitToolFace.js +2 -2
- package/dist/printModelStatus.js +1 -1
- package/dist/projectMemory.d.ts +32 -0
- package/dist/projectMemory.js +70 -0
- package/dist/promptBlockedCopy.d.ts +2 -1
- package/dist/promptBlockedCopy.js +2 -1
- package/dist/promptDelivery.d.ts +23 -3
- package/dist/promptDelivery.js +169 -30
- package/dist/providerRejection.d.ts +19 -1
- package/dist/providerRejection.js +75 -4
- package/dist/queuedDelivery.d.ts +48 -0
- package/dist/queuedDelivery.js +233 -0
- package/dist/reattachWindow.d.ts +94 -0
- package/dist/reattachWindow.js +127 -0
- package/dist/request/printNotification.d.ts +1 -1
- package/dist/request/printNotification.js +5 -1
- package/dist/request/submissionIdentity.d.ts +37 -0
- package/dist/request/submissionIdentity.js +65 -0
- package/dist/request/taskRequest.d.ts +12 -4
- package/dist/request/taskRequest.js +221 -152
- package/dist/resultFrameKeys.d.ts +1 -0
- package/dist/resultFrameKeys.js +4 -1
- package/dist/retryStatus.d.ts +8 -0
- package/dist/retryStatus.js +57 -9
- package/dist/rewindArchiveCapability.js +2 -2
- package/dist/rewindEngineAction.d.ts +2 -0
- package/dist/rewindEngineAction.js +23 -1
- package/dist/rowKind.d.ts +36 -0
- package/dist/rowKind.js +97 -0
- package/dist/ruleCompileVerdict.d.ts +18 -0
- package/dist/ruleCompileVerdict.js +67 -2
- package/dist/ruleReadings.d.ts +58 -0
- package/dist/ruleReadings.js +132 -0
- package/dist/ruleRefusalSentence.d.ts +4 -0
- package/dist/ruleRefusalSentence.js +9 -3
- package/dist/runCancelContext.d.ts +0 -1
- package/dist/runCancelContext.js +1 -2
- package/dist/runTerminal.d.ts +5 -0
- package/dist/runTerminal.js +52 -17
- package/dist/sandboxWire.d.ts +1 -1
- package/dist/sandboxWire.js +4 -6
- package/dist/scenarioRefusal.js +1 -1
- package/dist/scenarioSkills.d.ts +20 -0
- package/dist/scenarioSkills.js +72 -0
- package/dist/scenarioWire.d.ts +5 -2
- package/dist/scenarioWire.js +9 -9
- package/dist/sealedKeyCapability.js +2 -2
- package/dist/seam.d.ts +2 -0
- package/dist/seam.js +2 -2
- package/dist/seatContract.d.ts +46 -1
- package/dist/seatContract.js +49 -19
- package/dist/selfOrchestrationDenial.js +1 -1
- package/dist/sessionPolicyCapability.js +2 -2
- package/dist/sessionRulesChildrenReadLive.d.ts +6 -0
- package/dist/sessionRulesChildrenReadLive.js +5 -0
- package/dist/sessionRulesNamespaceFormsCapability.d.ts +12 -0
- package/dist/sessionRulesNamespaceFormsCapability.js +29 -0
- package/dist/sessionSyncFileHistoryCapability.js +2 -2
- package/dist/settingsCredentialKeyPaths.js +60 -5
- package/dist/settingsHooksSalvage.d.ts +1 -0
- package/dist/settingsHooksSalvage.js +7 -1
- package/dist/settingsLayerAdmission.d.ts +4 -0
- package/dist/settingsLayerAdmission.js +16 -0
- package/dist/skillToolListsCapability.js +6 -5
- package/dist/skillsWireCaps.d.ts +14 -0
- package/dist/skillsWireCaps.js +47 -16
- package/dist/slashCommandGate.d.ts +24 -0
- package/dist/slashCommandGate.js +74 -0
- package/dist/slashCommandTable.d.ts +14 -0
- package/dist/slashCommandTable.js +99 -0
- package/dist/sqlEngineCapability.js +2 -2
- package/dist/steerPriorityCapability.js +2 -2
- package/dist/storePostureCapability.js +2 -2
- package/dist/subagent/agentStateDetail.js +1 -1
- package/dist/subagent/engineDelegatedPrompt.d.ts +9 -0
- package/dist/subagent/engineDelegatedPrompt.js +38 -7
- package/dist/subagent/engineRowStopGate.js +2 -2
- package/dist/subagent/engineSubagentResume.js +3 -3
- package/dist/subagent/engineTaskHandleWire.d.ts +1 -0
- package/dist/subagent/engineTaskHandleWire.js +10 -0
- package/dist/submitFailure.d.ts +8 -0
- package/dist/submitFailure.js +17 -0
- package/dist/supportFloor.d.ts +1 -0
- package/dist/supportFloor.js +7 -0
- package/dist/terminationIntent.d.ts +55 -0
- package/dist/terminationIntent.js +352 -0
- package/dist/toolHistoryMismatch.d.ts +8 -0
- package/dist/toolHistoryMismatch.js +37 -6
- package/dist/toolResult.d.ts +13 -3
- package/dist/toolResult.js +158 -9
- package/dist/toolResultContent.d.ts +13 -0
- package/dist/toolResultContent.js +82 -7
- package/dist/toolRoster.d.ts +18 -0
- package/dist/toolRoster.js +64 -0
- package/dist/turnFailurePresentation.js +27 -90
- package/dist/usageLimitAutoResume.d.ts +74 -0
- package/dist/usageLimitAutoResume.js +227 -0
- package/dist/userAttachmentEnvelope.js +1 -1
- package/dist/userAttachmentSeat.js +5 -5
- package/dist/userInvokedSkillsCapability.js +2 -2
- package/dist/webSearchBackendCapability.js +2 -2
- package/dist/wireErrorTriage.js +99 -50
- package/dist/wireFailureShape.d.ts +25 -1
- package/dist/wireFailureShape.js +92 -5
- package/dist/wireRefusalCopy.d.ts +24 -1
- package/dist/wireRefusalCopy.js +253 -32
- package/dist/wiringFleetDoctor.d.ts +3 -0
- package/dist/wiringFleetDoctor.js +21 -0
- package/dist/workflow.d.ts +2 -1
- package/dist/workflow.js +38 -1
- package/dist/workflowClient.d.ts +2 -7
- package/dist/workflowsJournalCapability.js +2 -2
- package/dist/writeProtectionCapability.js +2 -2
- package/docs/INTEGRATION-CLIENTS.md +607 -181
- package/package.json +14 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './seam.js';
|
|
2
2
|
export * from './workflow.js';
|
|
3
|
-
export { _resetEngineTaskNotificationForTest, _resetNotificationQueuePortForTest, _setWatcherTimingForTest, _tickWatchOnceForTest, classifyHookFailureFrame, classifyHookNoticeFrame, deriveNotificationResidualLines, dropQueuedNotificationsForRun, enqueueBgChildNotification, enqueueEngineWorkflowNotification, enqueuePlanReviewOutcome, HOOK_NOTICE_WARN_PREFIX, hookNoticeLastCheckText, installBgTaskStatusProbe, installNotificationQueuePort, installWorkflowStatusProbe, isEngineWorkflowNotified, isHookNoticeFrame, isOwnWorkflowRun, isTaskNotificationObjective, isWorkflowCompletionCardEnqueued, listOwnWorkflowRuns, markEngineWorkflowNotified, normalizeTaskNotification, noteOwnWorkflowRun, noteWorkflowCompletionCardEnqueued, notificationDropCounters, notificationQueuePortMisses, outstandingAbandonedCount, outstandingBgTaskPrompt, outstandingDeliverableWorkflowCount, outstandingWorkflowCount, parseTranscriptNotificationSeeds, readTaskNotificationXml, registerOutstandingBgTask, registerOutstandingWorkflowRun, renderTaskNotificationXml, splitApiErrorSupplement, subscribeOutstandingWorkflows, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
3
|
+
export { _resetEngineTaskNotificationForTest, _resetNotificationQueuePortForTest, _setWatcherTimingForTest, _tickWatchOnceForTest, classifyHookFailureFrame, classifyHookNoticeFrame, deriveNotificationResidualLines, dropQueuedNotificationsForRun, enqueueBgChildNotification, enqueueEngineWorkflowNotification, enqueuePlanReviewOutcome, HOOK_NOTICE_WARN_PREFIX, hookNoticeLastCheckText, installBgTaskStatusProbe, installNotificationQueuePort, installWorkflowStatusProbe, isEngineWorkflowNotified, isHookNoticeFrame, isOwnWorkflowRun, isTaskNotificationObjective, isWorkflowCompletionCardEnqueued, listOwnWorkflowRuns, markEngineWorkflowNotified, normalizeTaskNotification, noteOwnWorkflowRun, noteWorkflowCompletionCardEnqueued, notificationDropCounters, notificationQueuePortMisses, outstandingAbandonedCount, outstandingBgTaskPrompt, outstandingDeliverableWorkflowCount, outstandingWorkflowCount, parseTranscriptNotificationSeeds, readTaskNotificationXml, registerOutstandingBgTask, registerOutstandingWorkflowRun, renderTaskNotificationXml, splitApiErrorSupplement, subscribeOutstandingWorkflows, TASK_NOTIFICATION_TAG, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
4
4
|
export type { EngineWorkflowCompletion, GoalHookNotice, HookEntryType, HookFailureNotice, HookFailureReason, HookFailureVerdict, HookNoticeReason, HookNoticeVerdict, HookNoticeWire, NotificationDropCounters, NotificationQueuePort, QueuedCommandLike, TaskNotificationFields, TaskNotificationXmlRead, TranscriptNotificationSeeds, } from './notifications.js';
|
|
5
5
|
export * from './peerFrames.js';
|
|
6
6
|
export * from './steering.js';
|
|
@@ -59,8 +59,9 @@ export { CORE_SEMA_TASK_TERMINAL_STATUSES, CORE_TASK_NOTIFICATION_TERMINAL_STATU
|
|
|
59
59
|
export type { CcTaskTerminalStatus, CoreSemaTaskTerminalStatus, CoreTaskNotificationTerminalStatus, CoreTerminalCauseKind, SdkFleetTaskTerminalStatus, SdkRunTerminalStatus, } from './terminalStatuses.js';
|
|
60
60
|
export type { ProviderRejectionResend, ProviderRejectionKind } from './providerRejection.js';
|
|
61
61
|
export { PROVIDER_REJECTION_KINDS } from './providerRejection.js';
|
|
62
|
+
export { readProviderRejectionResendKey } from './providerRejection.js';
|
|
62
63
|
export * from './runCancelContext.js';
|
|
63
|
-
export
|
|
64
|
+
export { ABORT_CAUSES, RUN_DEATH_VERDICT_CODES, STATUS_DERIVED_COARSE_CODES } from '@sema-agent/sdk';
|
|
64
65
|
export * from './readFacePosture.js';
|
|
65
66
|
export * from './mcpPanel.js';
|
|
66
67
|
export * from './mcpLiveness.js';
|
|
@@ -81,6 +82,8 @@ export * from './effectiveFacts.js';
|
|
|
81
82
|
export * from './gateOutcome.js';
|
|
82
83
|
export * from './postureKnob.js';
|
|
83
84
|
export * from './engineIdentity.js';
|
|
85
|
+
export { readEngineHealthFacts } from './engineHealthFacts.js';
|
|
86
|
+
export type { EngineHealthFacts, EngineHealthCenterFacts, EngineHealthAuthFacts, EngineHealthDrainingFacts } from './engineHealthFacts.js';
|
|
84
87
|
export { transportFailureScene } from './engineWireFor.js';
|
|
85
88
|
export type { EngineWireNoAnswerKind, TransportFailureChainEnd, TransportFailureLayer, TransportFailureScene, TransportFailureSocket } from './engineWireFor.js';
|
|
86
89
|
export { engineUrlTransportVerdict, normalizeEngineBaseUrl } from './engineUrl.js';
|
|
@@ -113,7 +116,7 @@ export * from './engineWireSdk.js';
|
|
|
113
116
|
export * from './classifierVerdictWire.js';
|
|
114
117
|
export { stripSystemReminderBlocks, unwrapSystemReminder } from './systemReminderTag.js';
|
|
115
118
|
export { findSystemReminderOpenTag, type SystemReminderOpenTagSpan } from './systemReminderTag.js';
|
|
116
|
-
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_REQUIRED, CAPABILITY_K8S_LANE_REQUIRED, CAPABILITY_OPERATOR_PRINCIPALS_REQUIRED, CAPABILITY_SELF_ORCHESTRATION_REQUIRED, CONFIG_AGENT_UNKNOWN_TOOL, CONFIG_DELEGATION_ENTRY_CAPS, CONFIG_IMAGE_INVALID, CONFIG_LEGACY_TOOL_NAME, CONFIG_LIMIT_INVALID, CONFIG_LIMIT_UNKNOWN_KEY, CONFIG_MEMORY_PROJECT_KEY_SPELLING, CONFIG_MEMORY_WRITE_SCOPE_MISMATCH, CONFIG_OUTPUT_STYLE_INVALID,
|
|
119
|
+
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_REQUIRED, CAPABILITY_K8S_LANE_REQUIRED, CAPABILITY_OPERATOR_PRINCIPALS_REQUIRED, CAPABILITY_SELF_ORCHESTRATION_REQUIRED, CONFIG_AGENT_UNKNOWN_TOOL, CONFIG_DELEGATION_ENTRY_CAPS, CONFIG_IMAGE_INVALID, CONFIG_LEGACY_TOOL_NAME, CONFIG_LIMIT_INVALID, CONFIG_LIMIT_UNKNOWN_KEY, CONFIG_MCP_SERVER_NAME_COLLISION, CONFIG_MEMORY_PROJECT_KEY_SPELLING, CONFIG_MEMORY_WRITE_SCOPE_MISMATCH, CONFIG_OUTPUT_STYLE_INVALID, CONFIG_TOOL_FACE_CONTROL, CONFLICT_IDEMPOTENCY_PAYLOAD_MISMATCH, CORRUPT_SESSION_ERROR_CODE, DECIDE_CLAIM_LOST, DECIDE_GATE_MOVED, DECIDE_NOT_PARKED, DECIDE_PARK_MOVED_CODES, DECIDE_ROW_UNREVIVABLE, DECIDE_WORKFLOW_HOST_UNKNOWN, DECIDE_WORKFLOW_LANE_CODES, DECIDE_WORKFLOW_PARK_FORKED, DECIDE_WORKFLOW_PARKS_UNREADABLE, DECIDE_WORKFLOW_REMEMBER_UNSUPPORTED, DELEGATION_CAP_CODES, DELEGATION_CONCURRENCY_CAP, DELEGATION_SESSION_CAP, delegationCapDispositionOf, DRAINING_ERROR_CODE, ENGINE_STOP_REASONS, engineStopReasonToCc, ENV_LIFETIME_EXPIRED, FLEET_LEASE_UNAVAILABLE, GATE_PARKED_ERROR_CODE, idempotencyPayloadMismatchContent, isConfigRefusalCode, isCorruptSessionCode, isDecideParkMovedCode, isDecideRowUnrevivableCode, isDelegationCapCode, isIdempotencyPayloadMismatchCode, isInterruptedToolEndCode, isLimitsExceededCode, isRewindFamilyCode, isRulesRefusalCode, isStatusDerivedCoarseCode, isWorkflowParkRefusalCode, LIMITS_MAX_COST_EXCEEDED, LIMITS_MAX_TOKENS_EXCEEDED, LIMITS_MAX_TURNS_EXCEEDED, LIMITS_MAX_WALLTIME_EXCEEDED, MCP_SERVER_REVOKED, MCP_TOOL_DECLARATION_CHANGED, MCP_TOOL_LISTING_UNREACHED, MODEL_FALLBACK_INHERIT_NO_TIER_BINDING, operatorGateRefusalContent, OUTPUT_INVALID, PARKED_RESUME_STARTUP_FAILED, PROMPT_ASSEMBLED_ROLE_REFUSED, REQUEST_AUTONOMY_LANE_REFUSED, RESUME_AT_ERROR_CODE_PREFIX, RESUME_CONTEXT_UNAVAILABLE, RESUME_ENV_FAILED, RESUME_PLACEMENT_MISMATCH, RESUME_POLICY_FOLD_CODE, RESUME_PREFLIGHT_REJECTED, RESUME_REOPEN_CODES, RESUME_RETRY_LATER_CODES, RESUME_TOOL_CONTRACT_MISMATCH, RESUME_TOOL_UNAVAILABLE, RESUME_USAGE_WINDOW_EXHAUSTED, REWIND_ERROR_CODE_PREFIXES, RUN_ORPHANED, RUN_STALLED, runDeathVerdictNoteOf, SCENARIO_ASSIGNMENT_UNKNOWN_ERROR_CODE, SCENARIO_NOT_ALLOWED_ERROR_CODE, STREAM_MAX_DURATION, TOOL_END_INTERRUPTED_NEVER_STARTED, TOOL_END_INTERRUPTED_OUTCOME_UNKNOWN, USAGE_WINDOW_EXHAUSTED, USER_ATTACHMENT_INVALID_ERROR_CODE, USER_INVOKED_SKILL_UNKNOWN_ERROR_CODE, WORKFLOW_PARK_REFUSAL_CODES, } from './engineErrorCodes.js';
|
|
117
120
|
export type { DelegationCapDisposition, ModelFallbackReason, OperatorGateRefusal, RunDeathVerdictCode, } from './engineErrorCodes.js';
|
|
118
121
|
export { imageInvalidFailureNoteOf, prepareRefusalCodeOf, prepareRefusalNoteOf, type PrepareRefusalCode, type PrepareRefusalNoteFacts } from './prepareRefusal.js';
|
|
119
122
|
export * from './agentsWireCaps.js';
|
|
@@ -159,9 +162,14 @@ export * from './adapter/types.js';
|
|
|
159
162
|
export * from './adapter/downstream/turnUsageToModelUsage.js';
|
|
160
163
|
export * from './adapter/downstream/eventToSdkMessage.js';
|
|
161
164
|
export type { WiringManifestView, WiringManifestSections, WiringManifestFleetView } from './adapter/downstream/wiringManifestView.js';
|
|
165
|
+
export { wiringFleetDoctorDetail } from './wiringFleetDoctor.js';
|
|
162
166
|
export * from './adapter/downstream/terminalToSdkResult.js';
|
|
163
167
|
export { resultErrorCodeOf, resultSelectedModelOf, resultSalvagedResultOf, resultParkFailedReasonOf } from './resultFrameKeys.js';
|
|
164
168
|
export * from './adapter/runStream.js';
|
|
169
|
+
export { SEMA_ROW_KIND_KEY, SEMA_ROW_KINDS, rowKindOf, isSyntheticRow, inferLegacyRowKind } from './rowKind.js';
|
|
170
|
+
export type { SemaRowKind } from './rowKind.js';
|
|
171
|
+
export { classifySubmitFailure } from './submitFailure.js';
|
|
172
|
+
export type { SubmitFailureClass } from './submitFailure.js';
|
|
165
173
|
export * from './adapter/activeRunSelfHeal.js';
|
|
166
174
|
export * from './request/taskRequest.js';
|
|
167
175
|
export { disableSkillsDeclaration, disableSkillsDeclarationSettled } from './disableSkillsWire.js';
|
|
@@ -185,7 +193,7 @@ export * from './limitsWire.js';
|
|
|
185
193
|
export * from './interactiveToolsWire.js';
|
|
186
194
|
export * from './headlessPermissionModeWire.js';
|
|
187
195
|
export * from './headlessReconnectWire.js';
|
|
188
|
-
export { coerceTaskStatus, coerceWorkflowStatus, CONTROL_TOOL_VERBS, FLEET_TASK_ROW_KEYS_NOT_PROJECTED, FLEET_TASK_ROW_WIRE_KEYS, FLEET_TASK_VIEW_KEYS, FLEET_WORKFLOW_ROW_KEYS_NOT_PROJECTED, FLEET_WORKFLOW_ROW_WIRE_KEYS, FLEET_WORKFLOW_VIEW_KEYS, projectDescription, projectTasks, projectWorkflows, wireResumable, wireRowUsage, } from './fleet/fleetProjection.js';
|
|
196
|
+
export { coerceTaskStatus, coerceWorkflowStatus, CONTROL_TOOL_VERBS, FLEET_TASK_ROW_KEYS_NOT_PROJECTED, FLEET_TASK_ROW_WIRE_KEYS, FLEET_TASK_VIEW_KEYS, FLEET_WORKFLOW_ROW_KEYS_NOT_PROJECTED, FLEET_WORKFLOW_ROW_WIRE_KEYS, FLEET_WORKFLOW_VIEW_KEYS, projectDescription, projectTasks, projectWorkflows, wireResumable, wireRowUsage, workflowRunDisplayStatusOf, } from './fleet/fleetProjection.js';
|
|
189
197
|
export type { FleetRowUsage, FleetTaskStatus, FleetTaskView, FleetWorkflowView, NotProjectedEntry, ProjectTasksOptions, } from './fleet/fleetProjection.js';
|
|
190
198
|
export * from './fleet/fleetLedger.js';
|
|
191
199
|
export * from './fleet/bgSubagentRow.js';
|
|
@@ -214,16 +222,24 @@ export { readSeatTurnFailure, seatTurnFailureOf, type SeatTurnFailure } from './
|
|
|
214
222
|
export { REATTACH_BUDGET_FRESH, REATTACH_MAX_TRIES, runReattachPolicy, type ReattachBudget, type ReattachDecision, type ReattachEvent, type ReattachGiveUp, } from './runReattachPolicy.js';
|
|
215
223
|
export * from './corruptSession.js';
|
|
216
224
|
export * from './corruptSessionCopy.js';
|
|
217
|
-
export { classifyToolHistoryMismatch, readToolHistoryMismatchKey, resolveToolHistoryRewindTarget } from './toolHistoryMismatch.js';
|
|
225
|
+
export { SEMA_TOOL_HISTORY_ACCEPTED_KEY, classifyToolHistoryMismatch, readToolHistoryAcceptedKey, readToolHistoryMismatchKey, resolveToolHistoryRewindTarget } from './toolHistoryMismatch.js';
|
|
218
226
|
export type { ToolHistoryMismatchRowKey } from './toolHistoryMismatch.js';
|
|
219
227
|
export { toolHistoryBadTurnSentence } from './toolHistoryBadTurn.js';
|
|
220
228
|
export { deviceFlowPollingPlan } from './deviceFlowPolling.js';
|
|
221
229
|
export type { DeviceFlowPollingPlan } from './deviceFlowPolling.js';
|
|
222
230
|
export { createPromptDeliveryLedger, promptKnownUndelivered, withoutUndeliveredPrompts } from './promptDelivery.js';
|
|
223
|
-
export type { PromptDeliveryLedger, PromptDeliveryRecord } from './promptDelivery.js';
|
|
231
|
+
export type { PromptDeliveryLedger, PromptDeliveryRecord, NotDeliveredWhy, DeliveryState } from './promptDelivery.js';
|
|
224
232
|
export { mintUserAttachmentEnvelope } from './userAttachmentEnvelope.js';
|
|
225
233
|
export type { UserAttachmentDescriptor, UserAttachmentNotebookCell } from './userAttachmentEnvelope.js';
|
|
226
|
-
export { encodeHumanTurn, deliveredUuidsOf, imageSentOnUnknownVision } from './humanTurn.js';
|
|
234
|
+
export { encodeHumanTurn, deliveredUuidsOf, imageSentOnUnknownVision, otherBodyBytesOf } from './humanTurn.js';
|
|
235
|
+
export { batchCompatible, planQueuedDelivery, humanTurnCapsOf, humanTextForKeywordScan, selfHealSteerEligible } from './queuedDelivery.js';
|
|
236
|
+
export type { QueueEntry, QueueEntryKind, QueueShellBlock, QueuedHoldReason, QueuedDeliveryPlan, HumanTurnCapsFacts } from './queuedDelivery.js';
|
|
237
|
+
export { SUBMISSION_SURFACES, SUBMISSION_ORIGINS, SUBMISSION_TOOLS, SUBMISSION_KINDS, submissionProvenanceOf, submissionIdentityOf, requestLaneOf, submissionOriginOf, } from './request/submissionIdentity.js';
|
|
238
|
+
export type { SubmissionIdentity, SubmissionIdentityInput, SubmissionSurface, SubmissionOrigin, SubmissionTools, SubmissionKind, SubmissionProvenance, } from './request/submissionIdentity.js';
|
|
239
|
+
export { taskNotificationOf, taskNotificationQueueCommand } from './notifications.js';
|
|
240
|
+
export type { TaskNotificationQueueCommand, PendingNotificationCommand } from './notifications.js';
|
|
241
|
+
export { resultErrorCodeInTextOf } from './resultFrameKeys.js';
|
|
242
|
+
export { humanTurnRefusalSentence, humanTurnDegradedSentence, printImageVisionSentence } from './humanTurnSentences.js';
|
|
227
243
|
export type { HumanTurnInput, HumanTurnItem, HumanTurnAttachment, HumanTurnRider, HumanTurnMissing, HumanTurnCaps, HumanTurnEncoding, HumanTurnShare, HumanTurnSharePart, HumanTurnDegraded, HumanTurnDelivered, HumanTurnNotice, } from './humanTurn.js';
|
|
228
244
|
export type { UserAttachment } from '@sema-agent/sdk';
|
|
229
245
|
export { observedUserAttachmentSeat, projectUserAttachmentSeatCapability, userAttachmentSeatAdmits } from './userAttachmentSeat.js';
|
|
@@ -234,9 +250,19 @@ export { projectEngineSessionMessages } from './engineSessionMessages.js';
|
|
|
234
250
|
export type { EngineHistoryProjection, EngineHistoryProjectionOpts, EngineHistoryMessage, EngineHistoryMessageBody, EngineHistoryBlock, EngineHistoryTextBlock, EngineHistoryThinkingBlock, EngineHistoryToolUseBlock, EngineHistoryToolResultBlock, EngineHistoryMediaBlock, EngineHistoryOpaqueBlock, EngineHistoryBase64Source, EngineHistoryJson, EngineHistorySkipped, } from './engineSessionMessages.js';
|
|
235
251
|
export * from './resumeRefusalCopy.js';
|
|
236
252
|
export * from './wireRefusalCopy.js';
|
|
253
|
+
export { AUTO_RESUME_COPY_WORDS, AUTO_RESUME_HORIZON_MS, AUTO_RESUME_IMMINENT_MS, AUTO_RESUME_REPEAT_BREAKER_HITS, autoResumeArmedRow, autoResumeAtMs, autoResumeCopy, autoResumeNoticeRow, autoResumeTransition, initialAutoResumeState, rateLimitOptionRows, } from './usageLimitAutoResume.js';
|
|
254
|
+
export type { AutoResumeAction, AutoResumeCopyWord, AutoResumeEvent, AutoResumePhase, AutoResumeReason, AutoResumeState, AutoResumeStep, RateLimitOption, RateLimitOptionRow, } from './usageLimitAutoResume.js';
|
|
255
|
+
export { INTERRUPTED_SETTLE_BUDGET_MS, INTERRUPTED_SETTLE_POLL_MS, TERMINATION_INTENT_TTL_MS, TERMINATION_INTENT_WEAK_SOURCE, awaitInterruptedRunSettle, createTerminationIntentLedger, interruptedRunSettleRow, } from './terminationIntent.js';
|
|
256
|
+
export type { InterruptedRunRow, InterruptedRunSettleDeps, InterruptedRunSettleVerdict, TerminationIntentLedger, TerminationIntentLedgerOptions, TerminationIntentSnapshot, TerminationIntentSource, } from './terminationIntent.js';
|
|
257
|
+
export { ENGINE_GENERATION_WINDOW_MARGIN_MS, ENGINE_STOPPED_CALL_PHASES, approvalWindowLeftMs, convergeEndedEngineGeneration } from './engineGenerationConvergence.js';
|
|
258
|
+
export type { ApprovalWindowAnchor, EndedGenerationCard, EndedGenerationFacts, EndedGenerationOpenedCall, EndedGenerationPhaseChange, EndedGenerationPhaseHold, EngineGenerationConvergence, EngineStoppedCallPhase, } from './engineGenerationConvergence.js';
|
|
259
|
+
export { AWAIT_ENGINE_INSTALL_POLL_MS, REATTACH_AWAIT_NEXT_ENGINE_MS, REATTACH_RUN_STATES, approvalFrameGenerationVerdict, awaitNextEngineInstalled, endedGenerationSettleStep, engineGenerationEnded, engineGenerationOfPort, engineGenerationReadingOf, unreachableForSettle, } from './engineGenerationPort.js';
|
|
260
|
+
export type { ApprovalFrameGenerationFacts, AwaitNextEngineDeps, EndedGenerationMaterials, EndedGenerationSettleFacts, EndedGenerationSettleStep, EngineGenerationEndedFacts, EngineGenerationPort, EngineGenerationReading, ReattachLivenessReading, ReattachOutageStopLine, ReattachOutageStopLineParts, ReattachRunState, } from './engineGenerationPort.js';
|
|
261
|
+
export { POISON_FRAME_RAW_MAX, REATTACH_BACKOFF_CAP_MS, REATTACH_BACKOFF_START_MS, REATTACH_NOT_FOUND_CONFIRM, REATTACH_NOT_FOUND_MIN_ELAPSED_MS, REATTACH_WINDOW_MS, malformedFrameErrorOf, poisonFrameInitial, poisonFrameStep, reattachBackoffMs, reattachWindowOpen, reattachWindowStep, } from './reattachWindow.js';
|
|
262
|
+
export type { PoisonFrameDecision, PoisonFrameEvent, PoisonFrameState, PoisonFrameStep, ReattachProbeResult, ReattachWindowDecision, ReattachWindowEvent, ReattachWindowState, ReattachWindowStep, ReattachWindowTuning, } from './reattachWindow.js';
|
|
237
263
|
export * from './inheritEnvWire.js';
|
|
238
264
|
export * from './inheritEnvCapability.js';
|
|
239
|
-
export { SUPPORT_FLOOR, supportFloorOf, engineVersionTier, engineSupportFloorEffective, coreVersionTier } from './supportFloor.js';
|
|
265
|
+
export { SUPPORT_FLOOR, supportFloorOf, engineVersionTier, engineSupportFloorEffective, coreVersionTier, compareReleaseVersions } from './supportFloor.js';
|
|
240
266
|
export type { SupportFloor, SupportFloorComponent, EngineVersionTier } from './supportFloor.js';
|
|
241
267
|
export * from './decideReceipt.js';
|
|
242
268
|
export * from './sessionMap.js';
|
|
@@ -244,11 +270,15 @@ export * from './detachWire.js';
|
|
|
244
270
|
export * from './workflowMonitor.js';
|
|
245
271
|
export * from './workflowClient.js';
|
|
246
272
|
export * from './hooksWireCaps.js';
|
|
247
|
-
export { ENGINE_FIRED_HOOK_EVENTS, PLUGIN_HOOK_DISPOSITIONS, PLUGIN_HOOK_REASONS, PLUGIN_HOOK_EXCLUSION_REASONS, SETTINGS_HOOK_DROP_REASONS, isEngineFiredHookEvent, pluginHookVerdictOf, pluginHookReasonText, settingsHookDropText, pluginHookExecutorLabel, hooksNotRunNotice, settingsHooksKeptLocally, userPromptSubmitExecutorOf, type EngineFiredHookEvent, type PluginHookDisposition, type PluginHookReason, type PluginHookExclusionReason, type SettingsHookDropReason, type HookSettingsSource, type PluginHookKey, type PluginHookVerdict, type PluginHookExclusion, type SettingsHookDrop, type SettingsHookVerdict, type SettingsHookExclusion, type HooksWireEngineFacts, type PluginHookReaderState, type HooksWirePlan, type HooksWirePlanOptions, type SettingsHooksSalvageRow, type PluginHookModuleVerdict, type SessionHookVerdict, } from './pluginHooksWire.js';
|
|
273
|
+
export { ENGINE_FIRED_HOOK_EVENTS, PLUGIN_HOOK_DISPOSITIONS, PLUGIN_HOOK_REASONS, PLUGIN_HOOK_EXCLUSION_REASONS, SETTINGS_HOOK_DROP_REASONS, isEngineFiredHookEvent, pluginHookVerdictOf, pluginHookReasonText, settingsHookDropText, pluginHookExecutorLabel, hooksNotRunNotice, settingsHooksKeptLocally, userPromptSubmitExecutorOf, type EngineFiredHookEvent, type PluginHookDisposition, type PluginHookReason, type PluginHookExclusionReason, type SettingsHookDropReason, type HookSettingsSource, type PluginHookKey, type PluginHookVerdict, type PluginHookExclusion, type SettingsHookDrop, type SettingsHookVerdict, type SettingsHookExclusion, type HooksWireEngineFacts, type PluginHookReaderState, type HooksWirePlan, type HooksWirePlanOptions, type SettingsHooksSalvageRow, type SettingsLayerWithheldRow, type PluginHookModuleVerdict, type SessionHookVerdict, } from './pluginHooksWire.js';
|
|
274
|
+
export { HTTP_POLICY_DROP_REASONS, type HttpPolicyDropReason, type HttpPolicyDropRow } from './httpHookPolicy.js';
|
|
248
275
|
export { salvageSettingsHooksEntries, settingsHooksSalvageNotice, type HooksSalvage, type HooksSalvageDrop, type HooksSalvageRejection, type HooksSalvageOutcome, type HooksSalvageDropCode, type HooksSalvageRejectionCode, } from './settingsHooksSalvage.js';
|
|
249
|
-
export { hostSettingsSelfCheck, HostSettingsRefused, HOST_SUPPLIED_KEYS, HOST_SETTING_CAUSES, HOST_SETTING_DISPOSITIONS, type HostSuppliedKey, type HostSettingCause, type HostSettingDisposition, type HostSettingPlane, type HostSettingNoticeId, type HostSettingRow, type HostSettingNotice, type HostTurnVerdict, type HostTurnSettingsSources, type HostTurnSettingsInput, type HostSettingsCarried, type HostTurnSettings, } from './hostTurnSettings.js';
|
|
276
|
+
export { hostSettingsSelfCheck, HostSettingsRefused, HOST_SUPPLIED_KEYS, HOST_SETTING_CAUSES, HOST_SETTING_DISPOSITIONS, type HostSuppliedKey, type HostSettingCause, type HostSettingDisposition, type HostSettingPlane, type HostSettingNoticeId, type HostSettingRow, type HostSettingNotice, type HostTurnVerdict, type HostTurnSettingsSources, type HostWebSearchSource, type HostMemorySource, type HostTurnSettingsInput, type HostSettingsCarried, type HostTurnSettings, type HooksPlanFacts, type HostOutputStyleSource, type HostOutputStyleBody, type HostOutputStyleFacts, type HostSettingsSession, type HostSettingsHeld, type HostSettingsAcceptConfirmation, type HostPermissionFacts, hostSettingsConsent, hostSettingsAcceptCurrent, } from './hostTurnSettings.js';
|
|
277
|
+
export { hostSettingsSessionFollows, type WorkspaceTrustState, type HostSettingsSource, type HostSettingsLayer, type HostSettingsLayerRead, type HostSettingsCarrierRead, type HostSettingsCarrierStatus, type HostSettingsEmptyKind, type HostManagedPolicyReading, type HostStartupMode, } from './hostSettingsSource.js';
|
|
250
278
|
export { hookToolAliasesOf, canonicalHookToolName } from './hookToolAliases.js';
|
|
251
|
-
export { hookMatcherVerdict } from './hookMatcherVerdict.js';
|
|
279
|
+
export { hookMatcherUnjudgedWhy, hookMatcherVerdict } from './hookMatcherVerdict.js';
|
|
280
|
+
export { COMPACT_LATCH_STATES, COMPACT_SUMMARY_LEGS, compactHookDisclosureSentence, compactHookTransition } from './hooksCompactTransition.js';
|
|
281
|
+
export type { CompactHookDisclosure, CompactHookExecutor, CompactHookTransition, CompactHookTransitionInput, CompactLatchState, CompactSummaryLeg } from './hooksCompactTransition.js';
|
|
252
282
|
export type { HookMatcherVerdict, HookMatcherUnjudgedReason, HookMatcherRefusedReason } from './hookMatcherVerdict.js';
|
|
253
283
|
export { ASK_EVIDENCE_ABSENCE_VALUES, SYSTEM_INJECTION_PRIORITIES } from './engineClosedSets.js';
|
|
254
284
|
export { BUILTIN_SUBAGENT_TYPES } from './engineClosedSets.js';
|
|
@@ -262,11 +292,15 @@ export * from './hitl/suspendedReopen.js';
|
|
|
262
292
|
export { APPROVAL_RESOLUTION_LANES, APPROVAL_NOT_SENT_CAUSES, APPROVAL_UNSETTLED_CAUSES, APPROVAL_NOTE_RETRACTED_DETAIL, APPROVAL_NOTE_EDIT_REFUSED_DETAIL, isApprovalDecided, approvalNotSentCause, approvalUnsettledCause, approvalResolutionDetail, type ApprovalResolution, type ApprovalResolutionDecided, type ApprovalResolutionNotSent, type ApprovalResolutionUnsettled, type ApprovalResolutionLane, type ApprovalNotSentCause, type ApprovalUnsettledCause, type ApprovalDenyFacts, } from './hitl/approvalResolution.js';
|
|
263
293
|
export { ENGINE_ABORT_TOOL_RESULT } from './hitl/frameRouter.js';
|
|
264
294
|
export { toolEndOutputText } from './toolResultContent.js';
|
|
295
|
+
export { toolOutputMediaAbsenceOf, toolOutputMediaAbsenceSentence } from './toolResultContent.js';
|
|
296
|
+
export type { ToolOutputMediaAbsence } from './toolResultContent.js';
|
|
265
297
|
export { _resetHitlHostSurfaceForTest, APPROVAL_PARKING_WARN_TEXT, approvalParkingNoticeText, CANCEL_DENY_BUDGET_MS, CANCEL_DENY_WARN_TEXT, EDIT_NOT_FORWARDED_WARN_TEXT, EDIT_REFUSED_ON_BLIND_ASK_WARN_TEXT, hitlHostSurfaceFor, hitlHostSurfaceMisses, hitlHostSurfaceMissesFor, installHitlHostSurface, installHitlHostSurfaceFor, observeCancelByDeny, REMEMBER_NOT_APPLIED_WARN_TEXT, REPLAYED_APPROVAL_LIST_UNREADABLE_WARN_TEXT, RULE_NOT_SENT_REJECTED_WARN_TEXT, RULE_NOT_SENT_WARN_TEXT, surfaceEditRefusedOnBlindAsk, surfaceForCurrentSession, surfaceRememberNotApplied, } from './hitl/hitlHostSurface.js';
|
|
266
298
|
export type { ClassifierDenyContext, HitlHostSurface, HitlNotice, } from './hitl/hitlHostSurface.js';
|
|
267
299
|
export * from './hitl/toolApprovalWire.js';
|
|
268
300
|
export * from './hitl/approvalCardReading.js';
|
|
269
301
|
export * from './hitl/approvalCardReasons.js';
|
|
302
|
+
export { askClassReasonOf, askClassReasonsOf } from './hitl/askClassPair.js';
|
|
303
|
+
export type { AskClassReasonRow } from './hitl/askClassPair.js';
|
|
270
304
|
export * from './hitl/editedRuleTextPrecheck.js';
|
|
271
305
|
export * from './coreValuePorts.js';
|
|
272
306
|
export { ruleToolNameVerdictOf } from './protocolSegment.js';
|
|
@@ -274,8 +308,10 @@ export type { RuleToolNameReading } from './protocolSegment.js';
|
|
|
274
308
|
export * from './hitl/askGateWire.js';
|
|
275
309
|
export * from './hitl/planReviewWire.js';
|
|
276
310
|
export { decisionInFlightOf, decisionReadMark } from './hitl/decisionLedger.js';
|
|
311
|
+
export { ASK_PARK_AUTO_REOPEN_BLOCKS, askParkAutoReopenBlockedContent, askParkAutoReopenBlockOf, askParkRefusalBlockOf, claimAskParkAutoReopenBlockNotice, clearAskParkAutoReopenBlocks, } from './hitl/askParkAutoReopenBlock.js';
|
|
312
|
+
export type { AskParkAutoReopenBlock, AskParkAutoReopenBlockNotice, AskParkGate } from './hitl/askParkAutoReopenBlock.js';
|
|
277
313
|
export type { DecisionIdentity } from './hitl/decisionLedger.js';
|
|
278
|
-
export { HITL_DECISION_FAMILIES, HITL_DECISION_NOT_APPLIED_CAUSES, HITL_DECISION_NOT_SENT_CAUSES, HITL_DECISION_UNCONFIRMED_CAUSES, sendHitlDecision, } from './hitl/decisionSend.js';
|
|
314
|
+
export { HITL_DECISION_FAMILIES, HITL_DECISION_NOT_APPLIED_CAUSES, HITL_DECISION_NOT_SENT_CAUSES, HITL_DECISION_UNCONFIRMED_CAUSES, sendHitlDecision, hitlDecisionOutcomeContent, } from './hitl/decisionSend.js';
|
|
279
315
|
export type { HitlApprovalDecisionRequest, HitlAskDecisionRequest, HitlDecisionApplied, HitlDecisionFamily, HitlDecisionGate, HitlDecisionNotApplied, HitlDecisionNotAppliedCause, HitlDecisionNotSent, HitlDecisionNotSentCause, HitlDecisionSendClient, HitlDecisionSendDeps, HitlDecisionSendOutcome, HitlDecisionSendRequest, HitlDecisionSettledElsewhere, HitlDecisionUnconfirmed, HitlDecisionUnconfirmedCause, HitlElicitationDecisionRequest, } from './hitl/decisionSend.js';
|
|
280
316
|
export { PLAN_REVIEW_QUESTION_ID_PREFIX, REOPEN_ID_TAIL, approvalCallKey, askGateQuestionId, planReviewQuestionId, liveFrameCallKey, armedKeyFromQuestionId, } from './hitl/gateIdentity.js';
|
|
281
317
|
export { _resetArmedGateRegistryForTest, _setGateArmedWaitMsForTest, clearArmedGate, gateArmedWaitMs, notePlanReviewAnswered, onGateArmed, planReviewArmedKey, registerArmedGate, registerArmedGateFor, registerArmedGateFromQuestionId, registerArmedGateFromQuestionIdFor, waitForGateArmed, wasGateArmed, wasGateArmedFor, } from './hitl/armedGateRegistry.js';
|
|
@@ -284,19 +320,26 @@ export * from './hitl/parkRowBirthWait.js';
|
|
|
284
320
|
export * from './hitl/approvalDecisionNoteAudit.js';
|
|
285
321
|
export * from './hitl/askParkRowRouting.js';
|
|
286
322
|
export * from './hitl/resumeRunningCard.js';
|
|
323
|
+
export { errorSupplementRoleOf } from './errorSupplementRoles.js';
|
|
324
|
+
export * from './slashCommandGate.js';
|
|
325
|
+
export * from './mcpStatusSupersetKeys.js';
|
|
326
|
+
export type { ErrorSupplementRole, ErrorSupplementReader } from './errorSupplementRoles.js';
|
|
287
327
|
export * from './hitl/persistedRulesWire.js';
|
|
288
328
|
export * from './hitl/localAllowRule.js';
|
|
289
329
|
export * from './hitl/sessionPolicyWire.js';
|
|
290
330
|
export * from './hitl/sessionPolicyDeliverable.js';
|
|
331
|
+
export { observedSessionRulesNamespaceForms } from './sessionRulesNamespaceFormsCapability.js';
|
|
332
|
+
export type { SessionRulesNamespaceFormsReading } from './sessionRulesNamespaceFormsCapability.js';
|
|
291
333
|
export * from './hitl/approvalsFeed.js';
|
|
292
334
|
export * from './hitl/livePendingAsk.js';
|
|
293
335
|
export { replayedApprovalClosesCardFrame, replayedApprovalDisposition, replayedApprovalSentence } from './hitl/replayedApproval.js';
|
|
294
336
|
export type { ReplayedApprovalDisposition, ReplayPendingBasis } from './hitl/replayedApproval.js';
|
|
295
337
|
export { hasLedgerPositionKey } from './hitl/gateLedger.js';
|
|
296
338
|
export { durableSeqOf } from './hitl/gateLedger.js';
|
|
297
|
-
export { MODE_ARBITRATION, automaticAnswerVerdict, mandatedApprovalDetailOf, permissionRequestHookScope, type AutomaticAnswerLane, type AutomaticAnswerAskFace, type AutomaticAnswerFacts, type AutomaticAnswerRoad, type AutomaticAnswerUnknownWhy, type AutomaticAnswerVerdict, type PermissionRequestHookScope, } from './hitl/automaticAnswerVerdict.js';
|
|
339
|
+
export { MODE_ARBITRATION, automaticAnswerVerdict, mandatedApprovalDetailOf, crossBoundaryTaintOf, crossBoundaryTaintWayOutOf, permissionRequestHookScope, type CrossBoundaryTaintReading, type AutomaticAnswerLane, type AutomaticAnswerAskFace, type AutomaticAnswerFacts, type AutomaticAnswerRoad, type AutomaticAnswerUnknownWhy, type AutomaticAnswerVerdict, type PermissionRequestHookScope, } from './hitl/automaticAnswerVerdict.js';
|
|
298
340
|
export { standingRowsOf, type StandingRows, type StandingRowsWhy, type StandingRowWhy, type StandingPersistentRow, type StandingRowsHostFacts, rememberOfferable, localAllowRuleEnforceable, type RememberOffer, type RememberOfferable, type LocalAllowRuleEnforcement, type LocalAllowRuleHostFacts, } from './hitl/standingRows.js';
|
|
299
|
-
export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decisionRefusalAskReading, readDecisionRefusalReading, type DecisionRefusalReading, type RefusalRouteContext, type DecisionRefusalAskReading, type DecisionRefusalStanding, type DecisionRefusalClassified, type DecisionRefusalConflict, type LiveAskPendingReading, type UndeliverableDecisionEnd, type UndeliverableDecisionFacts, } from './hitl/decisionRefusal.js';
|
|
341
|
+
export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decideRowUnrevivableNotice, decisionRefusalAskReading, readDecisionRefusalReading, type DecisionRefusalReading, type RefusalRouteContext, type DecisionRefusalAskReading, type DecisionRefusalStanding, type DecisionRefusalClassified, type DecisionRefusalConflict, type LiveAskPendingReading, type UndeliverableDecisionEnd, type UndeliverableDecisionFacts, } from './hitl/decisionRefusal.js';
|
|
342
|
+
export { decisionGrantChangedContent } from './hitl/decisionConflict.js';
|
|
300
343
|
export { noAllowCauseOf, type NoAllowCause, type RuleLadderNoAllowFacts } from './hitl/noAllowCause.js';
|
|
301
344
|
export { policyDenyReason, type PolicyDenyLane, type PolicyDenyReasonFacts } from './hitl/frameRouter.js';
|
|
302
345
|
export { readApprovalAllowRuleShadow, approvalAllowRuleShadowed, allowRuleShadowSentence, type ApprovalAllowRuleShadow, type ApprovalAllowRuleShadowMember, type AllowRuleShadowedWireMember, } from './hitl/allowRuleShadow.js';
|
|
@@ -324,7 +367,7 @@ export { devicesFaceOf, devicesWritesAllowed, devicesFaceDetail } from './device
|
|
|
324
367
|
export type { DevicesFace, DevicesFaceInput, DevicesFaceUnavailableWhy } from './devicesFace.js';
|
|
325
368
|
export { cloudLoginFailureOf, cloudLoginFailureText, engineTargetRefusalText, seatMcpReadingOf, watchEngineTarget } from './engineTargetSeat.js';
|
|
326
369
|
export type { CloudLoginFailureContext, EngineTargetReading, EngineTargetWatch } from './engineTargetSeat.js';
|
|
327
|
-
export { keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWritePlan, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, } from './model/onboardJudgement.js';
|
|
370
|
+
export { KEY_SLOT_PREFIX, keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWritePlan, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, } from './model/onboardJudgement.js';
|
|
328
371
|
export type { OnboardJsonObject, OnboardPlanEntry, OnboardProbeBodyReader, OnboardProbeDeps, OnboardProbeFetch, OnboardProbeRequestInit, OnboardProbeResponse, OnboardProbeTarget, OnboardWritePlan, OnboardWritePlanInput, OnboardWriteVerdict, } from './model/onboardJudgement.js';
|
|
329
372
|
export * from './agentSession/contract.js';
|
|
330
373
|
export * from './agentSession/backgroundView.js';
|
|
@@ -342,6 +385,7 @@ export * from './model/catalogLoader.js';
|
|
|
342
385
|
export * from './model/providerAuth.js';
|
|
343
386
|
export * from './model/providerCatalog.js';
|
|
344
387
|
export * from './model/tierVocabulary.js';
|
|
388
|
+
export * from './model/catalogDefault.js';
|
|
345
389
|
export { resolveSubagentModelWord, subagentModelWordProblemLine, type SubagentModelLanding, type SubagentModelLocalEngine, type SubagentModelWordInput, type SubagentModelWordKind, type SubagentModelWordProblem, type SubagentModelWordReading, } from './model/subagentModelWord.js';
|
|
346
390
|
export * from './model/modelSupplyRules.js';
|
|
347
391
|
export * from './websearch/searchProviderPresets.js';
|
|
@@ -369,5 +413,15 @@ export { injectionLaneNotice, INJECTION_SOURCES } from './injectionLaneNotice.js
|
|
|
369
413
|
export type { InjectionSource } from './injectionLaneNotice.js';
|
|
370
414
|
export { ruleRefusalSentence } from './ruleRefusalSentence.js';
|
|
371
415
|
export type { RuleRefusalRow } from './ruleRefusalSentence.js';
|
|
416
|
+
export { ruleReadingsOf, ruleNearMissSentence } from './ruleReadings.js';
|
|
417
|
+
export type { PermissionsRuleCompileReading, PermissionsRuleReading, PermissionsRuleReadings, PermissionsRuleWire, PermissionsRuleWireKept, PermissionsRuleWireSent, RuleNearMissRow, RuleReadingBases, RuleReadingEntry, RuleReadingEntryInert, RuleReadingEntryMode, RuleReadingEntryRow, RuleReadingEntryUnread, RuleReadingFacts, } from './ruleReadings.js';
|
|
372
418
|
export { parseToolsFlagNames } from './toolsFlagNames.js';
|
|
373
419
|
export type { ToolsFlagNames } from './toolsFlagNames.js';
|
|
420
|
+
export { PROJECT_MEMORY_WORDS, projectMemoryOf, observedProjectMemoryCapability, projectMemoryDeclaration, projectMemoryWithheldNotice } from './projectMemory.js';
|
|
421
|
+
export type { ProjectMemoryWord, ProjectMemoryCapabilityReading, ProjectMemoryManifestSeat, ProjectMemoryDeclaration, ProjectMemoryWithheld, ProjectMemoryWithheldCause, } from './projectMemory.js';
|
|
422
|
+
export { sessionRulesChildrenReadLiveOf } from './sessionRulesChildrenReadLive.js';
|
|
423
|
+
export type { SessionRulesManifestSeat } from './sessionRulesChildrenReadLive.js';
|
|
424
|
+
export { scenarioSkillsOf, observedScenarioSkillsCapability } from './scenarioSkills.js';
|
|
425
|
+
export type { ScenarioCardSkill, ScenarioSkillsCapabilityReading } from './scenarioSkills.js';
|
|
426
|
+
export { observedApprovalFrameFamilies, approvalFrameFamiliesDeclaration } from './approvalFrameFamilies.js';
|
|
427
|
+
export type { ApprovalFrameFamiliesReading, ApprovalFrameFamiliesDeclaration, ApprovalFrameFamiliesWithheld, ApprovalFrameFamiliesWithheldCause, } from './approvalFrameFamilies.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './seam.js';
|
|
2
2
|
export * from './workflow.js';
|
|
3
|
-
export { _resetEngineTaskNotificationForTest, _resetNotificationQueuePortForTest, _setWatcherTimingForTest, _tickWatchOnceForTest, classifyHookFailureFrame, classifyHookNoticeFrame, deriveNotificationResidualLines, dropQueuedNotificationsForRun, enqueueBgChildNotification, enqueueEngineWorkflowNotification, enqueuePlanReviewOutcome, HOOK_NOTICE_WARN_PREFIX, hookNoticeLastCheckText, installBgTaskStatusProbe, installNotificationQueuePort, installWorkflowStatusProbe, isEngineWorkflowNotified, isHookNoticeFrame, isOwnWorkflowRun, isTaskNotificationObjective, isWorkflowCompletionCardEnqueued, listOwnWorkflowRuns, markEngineWorkflowNotified, normalizeTaskNotification, noteOwnWorkflowRun, noteWorkflowCompletionCardEnqueued, notificationDropCounters, notificationQueuePortMisses, outstandingAbandonedCount, outstandingBgTaskPrompt, outstandingDeliverableWorkflowCount, outstandingWorkflowCount, parseTranscriptNotificationSeeds, readTaskNotificationXml, registerOutstandingBgTask, registerOutstandingWorkflowRun, renderTaskNotificationXml, splitApiErrorSupplement, subscribeOutstandingWorkflows, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
3
|
+
export { _resetEngineTaskNotificationForTest, _resetNotificationQueuePortForTest, _setWatcherTimingForTest, _tickWatchOnceForTest, classifyHookFailureFrame, classifyHookNoticeFrame, deriveNotificationResidualLines, dropQueuedNotificationsForRun, enqueueBgChildNotification, enqueueEngineWorkflowNotification, enqueuePlanReviewOutcome, HOOK_NOTICE_WARN_PREFIX, hookNoticeLastCheckText, installBgTaskStatusProbe, installNotificationQueuePort, installWorkflowStatusProbe, isEngineWorkflowNotified, isHookNoticeFrame, isOwnWorkflowRun, isTaskNotificationObjective, isWorkflowCompletionCardEnqueued, listOwnWorkflowRuns, markEngineWorkflowNotified, normalizeTaskNotification, noteOwnWorkflowRun, noteWorkflowCompletionCardEnqueued, notificationDropCounters, notificationQueuePortMisses, outstandingAbandonedCount, outstandingBgTaskPrompt, outstandingDeliverableWorkflowCount, outstandingWorkflowCount, parseTranscriptNotificationSeeds, readTaskNotificationXml, registerOutstandingBgTask, registerOutstandingWorkflowRun, renderTaskNotificationXml, splitApiErrorSupplement, subscribeOutstandingWorkflows, TASK_NOTIFICATION_TAG, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
4
4
|
export * from './peerFrames.js';
|
|
5
5
|
export * from './steering.js';
|
|
6
6
|
export * from './retryStatus.js';
|
|
@@ -48,8 +48,9 @@ export * from './leaderConflict.js';
|
|
|
48
48
|
export * from './runTerminal.js';
|
|
49
49
|
export { CORE_SEMA_TASK_TERMINAL_STATUSES, CORE_TASK_NOTIFICATION_TERMINAL_STATUSES, CORE_TERMINAL_CAUSE_KINDS, SDK_FLEET_TASK_TERMINAL_STATUSES, SDK_PARKED_RUN_STATUSES, SDK_RUN_TERMINAL_STATUSES, ccTaskTerminalStatusOf, isCoreSemaTaskTerminal, isCoreTaskNotificationTerminal, isCoreTaskNotificationTerminalNotSuccess, isCoreTerminalCauseKind, isSdkFleetTaskTerminal, isSdkFleetTaskTerminalNotSuccess, isSdkRunParked, isSdkRunTerminal, isSdkRunTerminalNotSuccess, } from './terminalStatuses.js';
|
|
50
50
|
export { PROVIDER_REJECTION_KINDS } from './providerRejection.js';
|
|
51
|
+
export { readProviderRejectionResendKey } from './providerRejection.js';
|
|
51
52
|
export * from './runCancelContext.js';
|
|
52
|
-
export
|
|
53
|
+
export { ABORT_CAUSES, RUN_DEATH_VERDICT_CODES, STATUS_DERIVED_COARSE_CODES } from '@sema-agent/sdk';
|
|
53
54
|
export * from './readFacePosture.js';
|
|
54
55
|
export * from './mcpPanel.js';
|
|
55
56
|
export * from './mcpLiveness.js';
|
|
@@ -70,6 +71,7 @@ export * from './effectiveFacts.js';
|
|
|
70
71
|
export * from './gateOutcome.js';
|
|
71
72
|
export * from './postureKnob.js';
|
|
72
73
|
export * from './engineIdentity.js';
|
|
74
|
+
export { readEngineHealthFacts } from './engineHealthFacts.js';
|
|
73
75
|
export { transportFailureScene } from './engineWireFor.js';
|
|
74
76
|
export { engineUrlTransportVerdict, normalizeEngineBaseUrl } from './engineUrl.js';
|
|
75
77
|
export { submitStreamWithBoundedReopen } from './submitReopen.js';
|
|
@@ -96,7 +98,7 @@ export * from './engineWireSdk.js';
|
|
|
96
98
|
export * from './classifierVerdictWire.js';
|
|
97
99
|
export { stripSystemReminderBlocks, unwrapSystemReminder } from './systemReminderTag.js';
|
|
98
100
|
export { findSystemReminderOpenTag } from './systemReminderTag.js';
|
|
99
|
-
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_REQUIRED, CAPABILITY_K8S_LANE_REQUIRED, CAPABILITY_OPERATOR_PRINCIPALS_REQUIRED, CAPABILITY_SELF_ORCHESTRATION_REQUIRED, CONFIG_AGENT_UNKNOWN_TOOL, CONFIG_DELEGATION_ENTRY_CAPS, CONFIG_IMAGE_INVALID, CONFIG_LEGACY_TOOL_NAME, CONFIG_LIMIT_INVALID, CONFIG_LIMIT_UNKNOWN_KEY, CONFIG_MEMORY_PROJECT_KEY_SPELLING, CONFIG_MEMORY_WRITE_SCOPE_MISMATCH, CONFIG_OUTPUT_STYLE_INVALID,
|
|
101
|
+
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_REQUIRED, CAPABILITY_K8S_LANE_REQUIRED, CAPABILITY_OPERATOR_PRINCIPALS_REQUIRED, CAPABILITY_SELF_ORCHESTRATION_REQUIRED, CONFIG_AGENT_UNKNOWN_TOOL, CONFIG_DELEGATION_ENTRY_CAPS, CONFIG_IMAGE_INVALID, CONFIG_LEGACY_TOOL_NAME, CONFIG_LIMIT_INVALID, CONFIG_LIMIT_UNKNOWN_KEY, CONFIG_MCP_SERVER_NAME_COLLISION, CONFIG_MEMORY_PROJECT_KEY_SPELLING, CONFIG_MEMORY_WRITE_SCOPE_MISMATCH, CONFIG_OUTPUT_STYLE_INVALID, CONFIG_TOOL_FACE_CONTROL, CONFLICT_IDEMPOTENCY_PAYLOAD_MISMATCH, CORRUPT_SESSION_ERROR_CODE, DECIDE_CLAIM_LOST, DECIDE_GATE_MOVED, DECIDE_NOT_PARKED, DECIDE_PARK_MOVED_CODES, DECIDE_ROW_UNREVIVABLE, DECIDE_WORKFLOW_HOST_UNKNOWN, DECIDE_WORKFLOW_LANE_CODES, DECIDE_WORKFLOW_PARK_FORKED, DECIDE_WORKFLOW_PARKS_UNREADABLE, DECIDE_WORKFLOW_REMEMBER_UNSUPPORTED, DELEGATION_CAP_CODES, DELEGATION_CONCURRENCY_CAP, DELEGATION_SESSION_CAP, delegationCapDispositionOf, DRAINING_ERROR_CODE, ENGINE_STOP_REASONS, engineStopReasonToCc, ENV_LIFETIME_EXPIRED, FLEET_LEASE_UNAVAILABLE, GATE_PARKED_ERROR_CODE, idempotencyPayloadMismatchContent, isConfigRefusalCode, isCorruptSessionCode, isDecideParkMovedCode, isDecideRowUnrevivableCode, isDelegationCapCode, isIdempotencyPayloadMismatchCode, isInterruptedToolEndCode, isLimitsExceededCode, isRewindFamilyCode, isRulesRefusalCode, isStatusDerivedCoarseCode, isWorkflowParkRefusalCode, LIMITS_MAX_COST_EXCEEDED, LIMITS_MAX_TOKENS_EXCEEDED, LIMITS_MAX_TURNS_EXCEEDED, LIMITS_MAX_WALLTIME_EXCEEDED, MCP_SERVER_REVOKED, MCP_TOOL_DECLARATION_CHANGED, MCP_TOOL_LISTING_UNREACHED, MODEL_FALLBACK_INHERIT_NO_TIER_BINDING, operatorGateRefusalContent, OUTPUT_INVALID, PARKED_RESUME_STARTUP_FAILED, PROMPT_ASSEMBLED_ROLE_REFUSED, REQUEST_AUTONOMY_LANE_REFUSED, RESUME_AT_ERROR_CODE_PREFIX, RESUME_CONTEXT_UNAVAILABLE, RESUME_ENV_FAILED, RESUME_PLACEMENT_MISMATCH, RESUME_POLICY_FOLD_CODE, RESUME_PREFLIGHT_REJECTED, RESUME_REOPEN_CODES, RESUME_RETRY_LATER_CODES, RESUME_TOOL_CONTRACT_MISMATCH, RESUME_TOOL_UNAVAILABLE, RESUME_USAGE_WINDOW_EXHAUSTED, REWIND_ERROR_CODE_PREFIXES, RUN_ORPHANED, RUN_STALLED, runDeathVerdictNoteOf, SCENARIO_ASSIGNMENT_UNKNOWN_ERROR_CODE, SCENARIO_NOT_ALLOWED_ERROR_CODE, STREAM_MAX_DURATION, TOOL_END_INTERRUPTED_NEVER_STARTED, TOOL_END_INTERRUPTED_OUTCOME_UNKNOWN, USAGE_WINDOW_EXHAUSTED, USER_ATTACHMENT_INVALID_ERROR_CODE, USER_INVOKED_SKILL_UNKNOWN_ERROR_CODE, WORKFLOW_PARK_REFUSAL_CODES, } from './engineErrorCodes.js';
|
|
100
102
|
export { imageInvalidFailureNoteOf, prepareRefusalCodeOf, prepareRefusalNoteOf } from './prepareRefusal.js';
|
|
101
103
|
export * from './agentsWireCaps.js';
|
|
102
104
|
export { engineToolDirectoryOf } from './engineToolDirectory.js';
|
|
@@ -137,9 +139,12 @@ export * from './effortWire.js';
|
|
|
137
139
|
export * from './adapter/types.js';
|
|
138
140
|
export * from './adapter/downstream/turnUsageToModelUsage.js';
|
|
139
141
|
export * from './adapter/downstream/eventToSdkMessage.js';
|
|
142
|
+
export { wiringFleetDoctorDetail } from './wiringFleetDoctor.js';
|
|
140
143
|
export * from './adapter/downstream/terminalToSdkResult.js';
|
|
141
144
|
export { resultErrorCodeOf, resultSelectedModelOf, resultSalvagedResultOf, resultParkFailedReasonOf } from './resultFrameKeys.js';
|
|
142
145
|
export * from './adapter/runStream.js';
|
|
146
|
+
export { SEMA_ROW_KIND_KEY, SEMA_ROW_KINDS, rowKindOf, isSyntheticRow, inferLegacyRowKind } from './rowKind.js';
|
|
147
|
+
export { classifySubmitFailure } from './submitFailure.js';
|
|
143
148
|
export * from './adapter/activeRunSelfHeal.js';
|
|
144
149
|
export * from './request/taskRequest.js';
|
|
145
150
|
export { disableSkillsDeclaration, disableSkillsDeclarationSettled } from './disableSkillsWire.js';
|
|
@@ -160,7 +165,7 @@ export * from './limitsWire.js';
|
|
|
160
165
|
export * from './interactiveToolsWire.js';
|
|
161
166
|
export * from './headlessPermissionModeWire.js';
|
|
162
167
|
export * from './headlessReconnectWire.js';
|
|
163
|
-
export { coerceTaskStatus, coerceWorkflowStatus, CONTROL_TOOL_VERBS, FLEET_TASK_ROW_KEYS_NOT_PROJECTED, FLEET_TASK_ROW_WIRE_KEYS, FLEET_TASK_VIEW_KEYS, FLEET_WORKFLOW_ROW_KEYS_NOT_PROJECTED, FLEET_WORKFLOW_ROW_WIRE_KEYS, FLEET_WORKFLOW_VIEW_KEYS, projectDescription, projectTasks, projectWorkflows, wireResumable, wireRowUsage, } from './fleet/fleetProjection.js';
|
|
168
|
+
export { coerceTaskStatus, coerceWorkflowStatus, CONTROL_TOOL_VERBS, FLEET_TASK_ROW_KEYS_NOT_PROJECTED, FLEET_TASK_ROW_WIRE_KEYS, FLEET_TASK_VIEW_KEYS, FLEET_WORKFLOW_ROW_KEYS_NOT_PROJECTED, FLEET_WORKFLOW_ROW_WIRE_KEYS, FLEET_WORKFLOW_VIEW_KEYS, projectDescription, projectTasks, projectWorkflows, wireResumable, wireRowUsage, workflowRunDisplayStatusOf, } from './fleet/fleetProjection.js';
|
|
164
169
|
export * from './fleet/fleetLedger.js';
|
|
165
170
|
export * from './fleet/bgSubagentRow.js';
|
|
166
171
|
export * from './fleet/workflowSizeWarning.js';
|
|
@@ -186,20 +191,30 @@ export { readSeatTurnFailure, seatTurnFailureOf } from './turnFailurePresentatio
|
|
|
186
191
|
export { REATTACH_BUDGET_FRESH, REATTACH_MAX_TRIES, runReattachPolicy, } from './runReattachPolicy.js';
|
|
187
192
|
export * from './corruptSession.js';
|
|
188
193
|
export * from './corruptSessionCopy.js';
|
|
189
|
-
export { classifyToolHistoryMismatch, readToolHistoryMismatchKey, resolveToolHistoryRewindTarget } from './toolHistoryMismatch.js';
|
|
194
|
+
export { SEMA_TOOL_HISTORY_ACCEPTED_KEY, classifyToolHistoryMismatch, readToolHistoryAcceptedKey, readToolHistoryMismatchKey, resolveToolHistoryRewindTarget } from './toolHistoryMismatch.js';
|
|
190
195
|
export { toolHistoryBadTurnSentence } from './toolHistoryBadTurn.js';
|
|
191
196
|
export { deviceFlowPollingPlan } from './deviceFlowPolling.js';
|
|
192
197
|
export { createPromptDeliveryLedger, promptKnownUndelivered, withoutUndeliveredPrompts } from './promptDelivery.js';
|
|
193
198
|
export { mintUserAttachmentEnvelope } from './userAttachmentEnvelope.js';
|
|
194
|
-
export { encodeHumanTurn, deliveredUuidsOf, imageSentOnUnknownVision } from './humanTurn.js';
|
|
199
|
+
export { encodeHumanTurn, deliveredUuidsOf, imageSentOnUnknownVision, otherBodyBytesOf } from './humanTurn.js';
|
|
200
|
+
export { batchCompatible, planQueuedDelivery, humanTurnCapsOf, humanTextForKeywordScan, selfHealSteerEligible } from './queuedDelivery.js';
|
|
201
|
+
export { SUBMISSION_SURFACES, SUBMISSION_ORIGINS, SUBMISSION_TOOLS, SUBMISSION_KINDS, submissionProvenanceOf, submissionIdentityOf, requestLaneOf, submissionOriginOf, } from './request/submissionIdentity.js';
|
|
202
|
+
export { taskNotificationOf, taskNotificationQueueCommand } from './notifications.js';
|
|
203
|
+
export { resultErrorCodeInTextOf } from './resultFrameKeys.js';
|
|
204
|
+
export { humanTurnRefusalSentence, humanTurnDegradedSentence, printImageVisionSentence } from './humanTurnSentences.js';
|
|
195
205
|
export { observedUserAttachmentSeat, projectUserAttachmentSeatCapability, userAttachmentSeatAdmits } from './userAttachmentSeat.js';
|
|
196
206
|
export { scenarioRefusalFromError, scenarioRefusalContent } from './scenarioRefusal.js';
|
|
197
207
|
export { projectEngineSessionMessages } from './engineSessionMessages.js';
|
|
198
208
|
export * from './resumeRefusalCopy.js';
|
|
199
209
|
export * from './wireRefusalCopy.js';
|
|
210
|
+
export { AUTO_RESUME_COPY_WORDS, AUTO_RESUME_HORIZON_MS, AUTO_RESUME_IMMINENT_MS, AUTO_RESUME_REPEAT_BREAKER_HITS, autoResumeArmedRow, autoResumeAtMs, autoResumeCopy, autoResumeNoticeRow, autoResumeTransition, initialAutoResumeState, rateLimitOptionRows, } from './usageLimitAutoResume.js';
|
|
211
|
+
export { INTERRUPTED_SETTLE_BUDGET_MS, INTERRUPTED_SETTLE_POLL_MS, TERMINATION_INTENT_TTL_MS, TERMINATION_INTENT_WEAK_SOURCE, awaitInterruptedRunSettle, createTerminationIntentLedger, interruptedRunSettleRow, } from './terminationIntent.js';
|
|
212
|
+
export { ENGINE_GENERATION_WINDOW_MARGIN_MS, ENGINE_STOPPED_CALL_PHASES, approvalWindowLeftMs, convergeEndedEngineGeneration } from './engineGenerationConvergence.js';
|
|
213
|
+
export { AWAIT_ENGINE_INSTALL_POLL_MS, REATTACH_AWAIT_NEXT_ENGINE_MS, REATTACH_RUN_STATES, approvalFrameGenerationVerdict, awaitNextEngineInstalled, endedGenerationSettleStep, engineGenerationEnded, engineGenerationOfPort, engineGenerationReadingOf, unreachableForSettle, } from './engineGenerationPort.js';
|
|
214
|
+
export { POISON_FRAME_RAW_MAX, REATTACH_BACKOFF_CAP_MS, REATTACH_BACKOFF_START_MS, REATTACH_NOT_FOUND_CONFIRM, REATTACH_NOT_FOUND_MIN_ELAPSED_MS, REATTACH_WINDOW_MS, malformedFrameErrorOf, poisonFrameInitial, poisonFrameStep, reattachBackoffMs, reattachWindowOpen, reattachWindowStep, } from './reattachWindow.js';
|
|
200
215
|
export * from './inheritEnvWire.js';
|
|
201
216
|
export * from './inheritEnvCapability.js';
|
|
202
|
-
export { SUPPORT_FLOOR, supportFloorOf, engineVersionTier, engineSupportFloorEffective, coreVersionTier } from './supportFloor.js';
|
|
217
|
+
export { SUPPORT_FLOOR, supportFloorOf, engineVersionTier, engineSupportFloorEffective, coreVersionTier, compareReleaseVersions } from './supportFloor.js';
|
|
203
218
|
export * from './decideReceipt.js';
|
|
204
219
|
export * from './sessionMap.js';
|
|
205
220
|
export * from './detachWire.js';
|
|
@@ -207,10 +222,13 @@ export * from './workflowMonitor.js';
|
|
|
207
222
|
export * from './workflowClient.js';
|
|
208
223
|
export * from './hooksWireCaps.js';
|
|
209
224
|
export { ENGINE_FIRED_HOOK_EVENTS, PLUGIN_HOOK_DISPOSITIONS, PLUGIN_HOOK_REASONS, PLUGIN_HOOK_EXCLUSION_REASONS, SETTINGS_HOOK_DROP_REASONS, isEngineFiredHookEvent, pluginHookVerdictOf, pluginHookReasonText, settingsHookDropText, pluginHookExecutorLabel, hooksNotRunNotice, settingsHooksKeptLocally, userPromptSubmitExecutorOf, } from './pluginHooksWire.js';
|
|
225
|
+
export { HTTP_POLICY_DROP_REASONS } from './httpHookPolicy.js';
|
|
210
226
|
export { salvageSettingsHooksEntries, settingsHooksSalvageNotice, } from './settingsHooksSalvage.js';
|
|
211
|
-
export { hostSettingsSelfCheck, HostSettingsRefused, HOST_SUPPLIED_KEYS, HOST_SETTING_CAUSES, HOST_SETTING_DISPOSITIONS, } from './hostTurnSettings.js';
|
|
227
|
+
export { hostSettingsSelfCheck, HostSettingsRefused, HOST_SUPPLIED_KEYS, HOST_SETTING_CAUSES, HOST_SETTING_DISPOSITIONS, hostSettingsConsent, hostSettingsAcceptCurrent, } from './hostTurnSettings.js';
|
|
228
|
+
export { hostSettingsSessionFollows, } from './hostSettingsSource.js';
|
|
212
229
|
export { hookToolAliasesOf, canonicalHookToolName } from './hookToolAliases.js';
|
|
213
|
-
export { hookMatcherVerdict } from './hookMatcherVerdict.js';
|
|
230
|
+
export { hookMatcherUnjudgedWhy, hookMatcherVerdict } from './hookMatcherVerdict.js';
|
|
231
|
+
export { COMPACT_LATCH_STATES, COMPACT_SUMMARY_LEGS, compactHookDisclosureSentence, compactHookTransition } from './hooksCompactTransition.js';
|
|
214
232
|
export { ASK_EVIDENCE_ABSENCE_VALUES, SYSTEM_INJECTION_PRIORITIES } from './engineClosedSets.js';
|
|
215
233
|
export { BUILTIN_SUBAGENT_TYPES } from './engineClosedSets.js';
|
|
216
234
|
export { READ_DENY_BUILTIN_TIERS, READ_DENY_DEFAULT_TIERS, parseReadDenyBuiltinTiers } from './readDenyTiers.js';
|
|
@@ -222,17 +240,20 @@ export * from './hitl/suspendedReopen.js';
|
|
|
222
240
|
export { APPROVAL_RESOLUTION_LANES, APPROVAL_NOT_SENT_CAUSES, APPROVAL_UNSETTLED_CAUSES, APPROVAL_NOTE_RETRACTED_DETAIL, APPROVAL_NOTE_EDIT_REFUSED_DETAIL, isApprovalDecided, approvalNotSentCause, approvalUnsettledCause, approvalResolutionDetail, } from './hitl/approvalResolution.js';
|
|
223
241
|
export { ENGINE_ABORT_TOOL_RESULT } from './hitl/frameRouter.js';
|
|
224
242
|
export { toolEndOutputText } from './toolResultContent.js';
|
|
243
|
+
export { toolOutputMediaAbsenceOf, toolOutputMediaAbsenceSentence } from './toolResultContent.js';
|
|
225
244
|
export { _resetHitlHostSurfaceForTest, APPROVAL_PARKING_WARN_TEXT, approvalParkingNoticeText, CANCEL_DENY_BUDGET_MS, CANCEL_DENY_WARN_TEXT, EDIT_NOT_FORWARDED_WARN_TEXT, EDIT_REFUSED_ON_BLIND_ASK_WARN_TEXT, hitlHostSurfaceFor, hitlHostSurfaceMisses, hitlHostSurfaceMissesFor, installHitlHostSurface, installHitlHostSurfaceFor, observeCancelByDeny, REMEMBER_NOT_APPLIED_WARN_TEXT, REPLAYED_APPROVAL_LIST_UNREADABLE_WARN_TEXT, RULE_NOT_SENT_REJECTED_WARN_TEXT, RULE_NOT_SENT_WARN_TEXT, surfaceEditRefusedOnBlindAsk, surfaceForCurrentSession, surfaceRememberNotApplied, } from './hitl/hitlHostSurface.js';
|
|
226
245
|
export * from './hitl/toolApprovalWire.js';
|
|
227
246
|
export * from './hitl/approvalCardReading.js';
|
|
228
247
|
export * from './hitl/approvalCardReasons.js';
|
|
248
|
+
export { askClassReasonOf, askClassReasonsOf } from './hitl/askClassPair.js';
|
|
229
249
|
export * from './hitl/editedRuleTextPrecheck.js';
|
|
230
250
|
export * from './coreValuePorts.js';
|
|
231
251
|
export { ruleToolNameVerdictOf } from './protocolSegment.js';
|
|
232
252
|
export * from './hitl/askGateWire.js';
|
|
233
253
|
export * from './hitl/planReviewWire.js';
|
|
234
254
|
export { decisionInFlightOf, decisionReadMark } from './hitl/decisionLedger.js';
|
|
235
|
-
export {
|
|
255
|
+
export { ASK_PARK_AUTO_REOPEN_BLOCKS, askParkAutoReopenBlockedContent, askParkAutoReopenBlockOf, askParkRefusalBlockOf, claimAskParkAutoReopenBlockNotice, clearAskParkAutoReopenBlocks, } from './hitl/askParkAutoReopenBlock.js';
|
|
256
|
+
export { HITL_DECISION_FAMILIES, HITL_DECISION_NOT_APPLIED_CAUSES, HITL_DECISION_NOT_SENT_CAUSES, HITL_DECISION_UNCONFIRMED_CAUSES, sendHitlDecision, hitlDecisionOutcomeContent, } from './hitl/decisionSend.js';
|
|
236
257
|
export { PLAN_REVIEW_QUESTION_ID_PREFIX, REOPEN_ID_TAIL, approvalCallKey, askGateQuestionId, planReviewQuestionId, liveFrameCallKey, armedKeyFromQuestionId, } from './hitl/gateIdentity.js';
|
|
237
258
|
export { _resetArmedGateRegistryForTest, _setGateArmedWaitMsForTest, clearArmedGate, gateArmedWaitMs, notePlanReviewAnswered, onGateArmed, planReviewArmedKey, registerArmedGate, registerArmedGateFor, registerArmedGateFromQuestionId, registerArmedGateFromQuestionIdFor, waitForGateArmed, wasGateArmed, wasGateArmedFor, } from './hitl/armedGateRegistry.js';
|
|
238
259
|
export * from './hitl/parkOwnership.js';
|
|
@@ -240,18 +261,23 @@ export * from './hitl/parkRowBirthWait.js';
|
|
|
240
261
|
export * from './hitl/approvalDecisionNoteAudit.js';
|
|
241
262
|
export * from './hitl/askParkRowRouting.js';
|
|
242
263
|
export * from './hitl/resumeRunningCard.js';
|
|
264
|
+
export { errorSupplementRoleOf } from './errorSupplementRoles.js';
|
|
265
|
+
export * from './slashCommandGate.js';
|
|
266
|
+
export * from './mcpStatusSupersetKeys.js';
|
|
243
267
|
export * from './hitl/persistedRulesWire.js';
|
|
244
268
|
export * from './hitl/localAllowRule.js';
|
|
245
269
|
export * from './hitl/sessionPolicyWire.js';
|
|
246
270
|
export * from './hitl/sessionPolicyDeliverable.js';
|
|
271
|
+
export { observedSessionRulesNamespaceForms } from './sessionRulesNamespaceFormsCapability.js';
|
|
247
272
|
export * from './hitl/approvalsFeed.js';
|
|
248
273
|
export * from './hitl/livePendingAsk.js';
|
|
249
274
|
export { replayedApprovalClosesCardFrame, replayedApprovalDisposition, replayedApprovalSentence } from './hitl/replayedApproval.js';
|
|
250
275
|
export { hasLedgerPositionKey } from './hitl/gateLedger.js';
|
|
251
276
|
export { durableSeqOf } from './hitl/gateLedger.js';
|
|
252
|
-
export { MODE_ARBITRATION, automaticAnswerVerdict, mandatedApprovalDetailOf, permissionRequestHookScope, } from './hitl/automaticAnswerVerdict.js';
|
|
277
|
+
export { MODE_ARBITRATION, automaticAnswerVerdict, mandatedApprovalDetailOf, crossBoundaryTaintOf, crossBoundaryTaintWayOutOf, permissionRequestHookScope, } from './hitl/automaticAnswerVerdict.js';
|
|
253
278
|
export { standingRowsOf, rememberOfferable, localAllowRuleEnforceable, } from './hitl/standingRows.js';
|
|
254
|
-
export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decisionRefusalAskReading, readDecisionRefusalReading, } from './hitl/decisionRefusal.js';
|
|
279
|
+
export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decideRowUnrevivableNotice, decisionRefusalAskReading, readDecisionRefusalReading, } from './hitl/decisionRefusal.js';
|
|
280
|
+
export { decisionGrantChangedContent } from './hitl/decisionConflict.js';
|
|
255
281
|
export { noAllowCauseOf } from './hitl/noAllowCause.js';
|
|
256
282
|
export { policyDenyReason } from './hitl/frameRouter.js';
|
|
257
283
|
export { readApprovalAllowRuleShadow, approvalAllowRuleShadowed, allowRuleShadowSentence, } from './hitl/allowRuleShadow.js';
|
|
@@ -271,7 +297,7 @@ export * from './seatContract.js';
|
|
|
271
297
|
export { mcpToolTogglesToExcludeTools } from './mcpToolToggles.js';
|
|
272
298
|
export { devicesFaceOf, devicesWritesAllowed, devicesFaceDetail } from './devicesFace.js';
|
|
273
299
|
export { cloudLoginFailureOf, cloudLoginFailureText, engineTargetRefusalText, seatMcpReadingOf, watchEngineTarget } from './engineTargetSeat.js';
|
|
274
|
-
export { keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWritePlan, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, } from './model/onboardJudgement.js';
|
|
300
|
+
export { KEY_SLOT_PREFIX, keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWritePlan, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, } from './model/onboardJudgement.js';
|
|
275
301
|
export * from './agentSession/contract.js';
|
|
276
302
|
export * from './agentSession/backgroundView.js';
|
|
277
303
|
export { readAssistantInbox } from './assistantInbox.js';
|
|
@@ -284,6 +310,7 @@ export * from './model/catalogLoader.js';
|
|
|
284
310
|
export * from './model/providerAuth.js';
|
|
285
311
|
export * from './model/providerCatalog.js';
|
|
286
312
|
export * from './model/tierVocabulary.js';
|
|
313
|
+
export * from './model/catalogDefault.js';
|
|
287
314
|
export { resolveSubagentModelWord, subagentModelWordProblemLine, } from './model/subagentModelWord.js';
|
|
288
315
|
export * from './model/modelSupplyRules.js';
|
|
289
316
|
export * from './websearch/searchProviderPresets.js';
|
|
@@ -302,4 +329,9 @@ export { printPermissionOutcomeOf, PRINT_PERMISSION_OUTCOME_FORMS } from './prin
|
|
|
302
329
|
export { settingsCredentialKeyPaths, isCredentialEnvName, isCredentialConfigKey, credentialNameWords } from './settingsCredentialKeyPaths.js';
|
|
303
330
|
export { injectionLaneNotice, INJECTION_SOURCES } from './injectionLaneNotice.js';
|
|
304
331
|
export { ruleRefusalSentence } from './ruleRefusalSentence.js';
|
|
332
|
+
export { ruleReadingsOf, ruleNearMissSentence } from './ruleReadings.js';
|
|
305
333
|
export { parseToolsFlagNames } from './toolsFlagNames.js';
|
|
334
|
+
export { PROJECT_MEMORY_WORDS, projectMemoryOf, observedProjectMemoryCapability, projectMemoryDeclaration, projectMemoryWithheldNotice } from './projectMemory.js';
|
|
335
|
+
export { sessionRulesChildrenReadLiveOf } from './sessionRulesChildrenReadLive.js';
|
|
336
|
+
export { scenarioSkillsOf, observedScenarioSkillsCapability } from './scenarioSkills.js';
|
|
337
|
+
export { observedApprovalFrameFamilies, approvalFrameFamiliesDeclaration } from './approvalFrameFamilies.js';
|
|
@@ -15,7 +15,7 @@ export type InheritEnvOwnCredentialsReading = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare function observedInheritEnvOwnCredentialsWithheld(baseUrl?: string | undefined): InheritEnvOwnCredentialsReading;
|
|
17
17
|
export declare function observedInheritEnvOwnCredentialValuesWithheld(baseUrl?: string | undefined): InheritEnvOwnCredentialsReading;
|
|
18
|
-
export type InheritEnvOmitReason = 'lane' | 'project_context' | 'capability_absent' | 'capability_declined' | 'capability_unreadable' | 'identity_unverified';
|
|
18
|
+
export type InheritEnvOmitReason = 'lane' | 'project_context' | 'capability_absent' | 'capability_declined' | 'capability_unreadable' | 'identity_unverified' | 'capability_values_absent' | 'capability_values_declined' | 'capability_values_unreadable';
|
|
19
19
|
export type InheritEnvIntent = {
|
|
20
20
|
readonly send: 'all';
|
|
21
21
|
} | {
|
|
@@ -26,8 +26,10 @@ export interface InheritEnvIntentInput {
|
|
|
26
26
|
readonly lane: RequestLane | undefined;
|
|
27
27
|
readonly projectContextConfirmed: boolean;
|
|
28
28
|
readonly ownCredentialsWithheld: InheritEnvOwnCredentialsReading;
|
|
29
|
+
readonly ownCredentialValuesWithheld: InheritEnvOwnCredentialsReading;
|
|
29
30
|
readonly serviceIdentityVerified: boolean;
|
|
30
31
|
}
|
|
31
32
|
export declare function inheritEnvIntentOf(input: InheritEnvIntentInput): InheritEnvIntent;
|
|
32
33
|
export declare function inheritEnvNotConfirmedNotice(lang?: UiLanguage | (string & {})): string;
|
|
34
|
+
export declare function inheritEnvValuesNotConfirmedNotice(lang?: UiLanguage | (string & {})): string;
|
|
33
35
|
export declare function inheritEnvNoticeOf(intent: InheritEnvIntent, lang?: UiLanguage | (string & {})): string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { engineCapValue } from './engineCapsCache.js';
|
|
2
2
|
import { isUiLanguage } from './env/uiLanguage.js';
|
|
3
|
-
import {
|
|
3
|
+
import { engineWireTargetBaseUrl } from './engineWireTarget.js';
|
|
4
4
|
import { msg, renderMessage } from './i18n/translate.js';
|
|
5
5
|
const OWN_CREDENTIALS_WITHHELD_KEY = 'inherit_env.own_credentials_withheld';
|
|
6
6
|
const OWN_CREDENTIAL_VALUES_WITHHELD_KEY = 'inherit_env.own_credential_values_withheld';
|
|
@@ -46,39 +46,45 @@ function inheritEnvWordReading(baseUrl, key) {
|
|
|
46
46
|
return UNOBSERVED;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
export function observedInheritEnvOwnCredentialsWithheld(baseUrl =
|
|
49
|
+
export function observedInheritEnvOwnCredentialsWithheld(baseUrl = engineWireTargetBaseUrl()) {
|
|
50
50
|
return inheritEnvWordReading(baseUrl, OWN_CREDENTIALS_WITHHELD_KEY);
|
|
51
51
|
}
|
|
52
|
-
export function observedInheritEnvOwnCredentialValuesWithheld(baseUrl =
|
|
52
|
+
export function observedInheritEnvOwnCredentialValuesWithheld(baseUrl = engineWireTargetBaseUrl()) {
|
|
53
53
|
return inheritEnvWordReading(baseUrl, OWN_CREDENTIAL_VALUES_WITHHELD_KEY);
|
|
54
54
|
}
|
|
55
55
|
const ALL = Object.freeze({ send: 'all' });
|
|
56
56
|
const omit = (reason) => Object.freeze({ send: 'omit', reason });
|
|
57
57
|
function fieldOf(input, key) {
|
|
58
58
|
try {
|
|
59
|
+
if (!Object.hasOwn(input, key))
|
|
60
|
+
return undefined;
|
|
59
61
|
return input[key];
|
|
60
62
|
}
|
|
61
63
|
catch {
|
|
62
64
|
return undefined;
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
function
|
|
67
|
+
function readingClassOf(reading) {
|
|
66
68
|
try {
|
|
67
|
-
if (typeof reading !== 'object' || reading === null)
|
|
68
|
-
return '
|
|
69
|
+
if (typeof reading !== 'object' || reading === null || !Object.hasOwn(reading, 'kind'))
|
|
70
|
+
return 'unreadable';
|
|
69
71
|
const kind = reading.kind;
|
|
70
|
-
if (kind === 'confirmed')
|
|
71
|
-
return
|
|
72
|
-
|
|
73
|
-
return 'capability_absent';
|
|
74
|
-
if (kind === 'declined')
|
|
75
|
-
return 'capability_declined';
|
|
76
|
-
return 'capability_unreadable';
|
|
72
|
+
if (kind === 'confirmed' || kind === 'absent' || kind === 'declined')
|
|
73
|
+
return kind;
|
|
74
|
+
return 'unreadable';
|
|
77
75
|
}
|
|
78
76
|
catch {
|
|
79
|
-
return '
|
|
77
|
+
return 'unreadable';
|
|
80
78
|
}
|
|
81
79
|
}
|
|
80
|
+
function capabilityReasonOf(reading) {
|
|
81
|
+
const cls = readingClassOf(reading);
|
|
82
|
+
return cls === 'confirmed' ? undefined : cls === 'absent' ? 'capability_absent' : cls === 'declined' ? 'capability_declined' : 'capability_unreadable';
|
|
83
|
+
}
|
|
84
|
+
function valuesReasonOf(reading) {
|
|
85
|
+
const cls = readingClassOf(reading);
|
|
86
|
+
return cls === 'confirmed' ? undefined : cls === 'absent' ? 'capability_values_absent' : cls === 'declined' ? 'capability_values_declined' : 'capability_values_unreadable';
|
|
87
|
+
}
|
|
82
88
|
export function inheritEnvIntentOf(input) {
|
|
83
89
|
if (typeof input !== 'object' || input === null || Array.isArray(input))
|
|
84
90
|
return omit('lane');
|
|
@@ -91,19 +97,27 @@ export function inheritEnvIntentOf(input) {
|
|
|
91
97
|
return omit(cap);
|
|
92
98
|
if (fieldOf(input, 'serviceIdentityVerified') !== true)
|
|
93
99
|
return omit('identity_unverified');
|
|
100
|
+
const values = valuesReasonOf(fieldOf(input, 'ownCredentialValuesWithheld'));
|
|
101
|
+
if (values !== undefined)
|
|
102
|
+
return omit(values);
|
|
94
103
|
return ALL;
|
|
95
104
|
}
|
|
96
105
|
export function inheritEnvNotConfirmedNotice(lang) {
|
|
97
106
|
return renderMessage(msg('session.inheritEnv.notConfirmed'), isUiLanguage(lang) ? lang : undefined);
|
|
98
107
|
}
|
|
108
|
+
export function inheritEnvValuesNotConfirmedNotice(lang) {
|
|
109
|
+
return renderMessage(msg('session.inheritEnv.valuesNotConfirmed'), isUiLanguage(lang) ? lang : undefined);
|
|
110
|
+
}
|
|
99
111
|
export function inheritEnvNoticeOf(intent, lang) {
|
|
100
112
|
try {
|
|
101
113
|
if (typeof intent !== 'object' || intent === null || intent.send !== 'omit')
|
|
102
114
|
return undefined;
|
|
103
115
|
const reason = intent.reason;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
116
|
+
if (reason === 'capability_absent' || reason === 'capability_declined' || reason === 'capability_unreadable')
|
|
117
|
+
return inheritEnvNotConfirmedNotice(lang);
|
|
118
|
+
if (reason === 'capability_values_absent' || reason === 'capability_values_declined' || reason === 'capability_values_unreadable')
|
|
119
|
+
return inheritEnvValuesNotConfirmedNotice(lang);
|
|
120
|
+
return undefined;
|
|
107
121
|
}
|
|
108
122
|
catch {
|
|
109
123
|
return undefined;
|
package/dist/inheritEnvWire.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare function inheritEnvDeclaration(word: unknown, serverVersion: stri
|
|
|
15
15
|
export declare function inheritEnvWithheldNotice(withheld: InheritEnvWithheld, lang?: UiLanguage): string;
|
|
16
16
|
export interface InheritEnvRefusalDetail {
|
|
17
17
|
readonly code: string;
|
|
18
|
+
readonly field?: 'inheritEnv';
|
|
18
19
|
}
|
|
19
20
|
export declare function inheritEnvRefusalFromError(err: unknown, sentRequest: TaskRequestLike | undefined): InheritEnvRefusalDetail | null;
|
|
20
|
-
export declare function inheritEnvRefusalContent(
|
|
21
|
+
export declare function inheritEnvRefusalContent(detail: InheritEnvRefusalDetail, lang?: UiLanguage): string;
|