@sema-agent/client-core 0.110.0 → 0.112.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.
Files changed (243) hide show
  1. package/CHANGELOG.md +244 -0
  2. package/README.md +59 -18
  3. package/dist/abortableSleep.d.ts +7 -0
  4. package/dist/abortableSleep.js +37 -0
  5. package/dist/adapt/arms.js +25 -4
  6. package/dist/adapt/toolCards.d.ts +3 -1
  7. package/dist/adapt/toolCards.js +4 -2
  8. package/dist/adapter/activeRunSelfHeal.d.ts +39 -0
  9. package/dist/adapter/activeRunSelfHeal.js +171 -3
  10. package/dist/adapter/downstream/eventToSdkMessage.js +10 -10
  11. package/dist/adapter/downstream/terminalToSdkResult.d.ts +2 -0
  12. package/dist/adapter/downstream/terminalToSdkResult.js +11 -0
  13. package/dist/adapter/runStream.d.ts +5 -0
  14. package/dist/adapter/runStream.js +15 -3
  15. package/dist/agentSession/engineSessionBackgroundStop.js +2 -2
  16. package/dist/attachmentRoute.d.ts +20 -0
  17. package/dist/attachmentRoute.js +39 -0
  18. package/dist/attachmentsWireCaps.js +1 -1
  19. package/dist/builtinOutputStyles.d.ts +12 -0
  20. package/dist/builtinOutputStyles.js +147 -0
  21. package/dist/checkpointRowVerdict.d.ts +3 -0
  22. package/dist/checkpointRowVerdict.js +14 -1
  23. package/dist/compactionStatus.d.ts +9 -0
  24. package/dist/compactionStatus.js +29 -5
  25. package/dist/consoleCaPin.d.ts +136 -0
  26. package/dist/consoleCaPin.js +827 -0
  27. package/dist/controlRouter.js +2 -1
  28. package/dist/coreValuePorts.d.ts +39 -1
  29. package/dist/coreValuePorts.js +10 -0
  30. package/dist/decideReceipt.d.ts +2 -1
  31. package/dist/deviceRebind.js +3 -3
  32. package/dist/displayUntrusted.d.ts +1 -0
  33. package/dist/displayUntrusted.js +6 -0
  34. package/dist/effectiveFacts.d.ts +9 -0
  35. package/dist/effectiveFacts.js +33 -0
  36. package/dist/engineAddress.d.ts +1 -0
  37. package/dist/engineAddress.js +4 -1
  38. package/dist/engineCredentialRelease.d.ts +54 -0
  39. package/dist/engineCredentialRelease.js +146 -0
  40. package/dist/engineErrorCodes.d.ts +1 -0
  41. package/dist/engineErrorCodes.js +1 -0
  42. package/dist/engineHealthProbeVerdict.d.ts +24 -0
  43. package/dist/engineHealthProbeVerdict.js +123 -0
  44. package/dist/engineNoticeCodes.js +5 -7
  45. package/dist/engineRepoint.d.ts +12 -5
  46. package/dist/engineRepoint.js +44 -19
  47. package/dist/engineRowRef.d.ts +3 -0
  48. package/dist/engineRowRef.js +11 -1
  49. package/dist/engineSwapCrossing.d.ts +57 -0
  50. package/dist/engineSwapCrossing.js +297 -0
  51. package/dist/engineUnavailable.d.ts +45 -0
  52. package/dist/engineUnavailable.js +496 -0
  53. package/dist/engineUrl.js +4 -2
  54. package/dist/eventLeg.js +3 -3
  55. package/dist/gateFailureCodes.js +2 -2
  56. package/dist/generated/sdkFactTables.d.ts +2 -1
  57. package/dist/generated/sdkFactTables.js +14 -0
  58. package/dist/generated/settingsSchemaFns.d.ts +1 -0
  59. package/dist/generated/settingsSchemaFns.js +3 -0
  60. package/dist/generated/settingsSchemaHooksClassifier.js +38 -9
  61. package/dist/generated/settingsSchemaTables.d.ts +56 -0
  62. package/dist/generated/settingsSchemaTables.js +19 -0
  63. package/dist/generated/settingsSchemaTypes.d.ts +23 -13
  64. package/dist/generated/settingsSchemaUrlShape.d.ts +1 -0
  65. package/dist/generated/settingsSchemaUrlShape.js +17 -0
  66. package/dist/hitl/approvalDelivery.d.ts +1 -0
  67. package/dist/hitl/approvalDelivery.js +1 -1
  68. package/dist/hitl/approvalResolution.d.ts +1 -1
  69. package/dist/hitl/approvalResolution.js +2 -1
  70. package/dist/hitl/askGateWire.js +5 -6
  71. package/dist/hitl/decisionRefusal.d.ts +6 -0
  72. package/dist/hitl/decisionRefusal.js +19 -10
  73. package/dist/hitl/decisionRefusalCarrier.d.ts +3 -0
  74. package/dist/hitl/decisionRefusalCarrier.js +348 -0
  75. package/dist/hitl/decisionSend.d.ts +7 -0
  76. package/dist/hitl/decisionSend.js +34 -12
  77. package/dist/hitl/editedApprovalAcceptance.js +1 -1
  78. package/dist/hitl/elicitationRefusal.d.ts +4 -0
  79. package/dist/hitl/elicitationRefusal.js +23 -0
  80. package/dist/hitl/frameRouter.d.ts +2 -2
  81. package/dist/hitl/frameRouter.js +8 -15
  82. package/dist/hitl/gateIdentity.d.ts +5 -0
  83. package/dist/hitl/gateIdentity.js +23 -0
  84. package/dist/hitl/hitlBridge.d.ts +6 -0
  85. package/dist/hitl/hitlBridge.js +10 -4
  86. package/dist/hitl/hitlHostSurface.d.ts +2 -1
  87. package/dist/hitl/hitlHostSurface.js +7 -2
  88. package/dist/hitl/localAllowRedemption.d.ts +70 -0
  89. package/dist/hitl/localAllowRedemption.js +276 -0
  90. package/dist/hitl/parkOwnership.js +2 -1
  91. package/dist/hitl/parkResolver.js +14 -4
  92. package/dist/hitl/persistedRulesWire.d.ts +16 -0
  93. package/dist/hitl/persistedRulesWire.js +70 -0
  94. package/dist/hitl/planReviewWire.d.ts +3 -0
  95. package/dist/hitl/planReviewWire.js +23 -6
  96. package/dist/hitl/policyDenyCause.d.ts +1 -1
  97. package/dist/hitl/policyDenyCause.js +1 -1
  98. package/dist/hitl/resumeRunningCard.d.ts +1 -0
  99. package/dist/hitl/resumeRunningCard.js +1 -0
  100. package/dist/hitl/screenCardCarriers.d.ts +15 -0
  101. package/dist/hitl/screenCardCarriers.js +41 -0
  102. package/dist/hitl/screenDecisionCards.d.ts +98 -0
  103. package/dist/hitl/screenDecisionCards.js +363 -0
  104. package/dist/hitl/sessionPolicyWire.js +2 -2
  105. package/dist/hitl/standingRows.d.ts +6 -2
  106. package/dist/hitl/standingRows.js +27 -2
  107. package/dist/hitl/toolApprovalWire.d.ts +30 -8
  108. package/dist/hitl/toolApprovalWire.js +264 -121
  109. package/dist/hooksReaderGenerations.js +1 -1
  110. package/dist/hooksWireCaps.js +3 -3
  111. package/dist/hostSettingNoticeArm.d.ts +3 -0
  112. package/dist/hostSettingNoticeArm.js +12 -0
  113. package/dist/hostTurnSettings.d.ts +3 -0
  114. package/dist/hostTurnSettings.js +38 -5
  115. package/dist/humanTurnRead.js +11 -1
  116. package/dist/i18n/messages.en.d.ts +292 -0
  117. package/dist/i18n/messages.en.js +298 -7
  118. package/dist/i18n/messages.zh.js +316 -6
  119. package/dist/i18n/translate.d.ts +3 -0
  120. package/dist/i18n/translate.js +78 -10
  121. package/dist/i18n/zh.d.ts +1 -0
  122. package/dist/i18n/zh.js +1 -0
  123. package/dist/index.d.ts +71 -20
  124. package/dist/index.js +44 -13
  125. package/dist/interactiveHalt.js +2 -1
  126. package/dist/interactiveInterrupt.js +20 -2
  127. package/dist/liveModelCatalog.d.ts +4 -0
  128. package/dist/liveModelCatalog.js +12 -3
  129. package/dist/localConfig/documents.d.ts +61 -0
  130. package/dist/localConfig/documents.js +51 -0
  131. package/dist/localConfig/kernel.d.ts +149 -0
  132. package/dist/localConfig/kernel.js +597 -0
  133. package/dist/localConfig/mcp/edit.d.ts +161 -0
  134. package/dist/localConfig/mcp/edit.js +846 -0
  135. package/dist/localConfig/mcp/servers.d.ts +165 -0
  136. package/dist/localConfig/mcp/servers.js +776 -0
  137. package/dist/localConfig/mcp/views.d.ts +170 -0
  138. package/dist/localConfig/mcp/views.js +429 -0
  139. package/dist/localConfig/modelPool.d.ts +262 -0
  140. package/dist/localConfig/modelPool.js +1489 -0
  141. package/dist/localConfig/modelPoolWords.d.ts +13 -0
  142. package/dist/localConfig/modelPoolWords.js +20 -0
  143. package/dist/localConfig/receiptShape.d.ts +7 -0
  144. package/dist/localConfig/receiptShape.js +135 -0
  145. package/dist/localConfig/settingsWrite.d.ts +127 -0
  146. package/dist/localConfig/settingsWrite.js +237 -0
  147. package/dist/localConfig/skills.d.ts +124 -0
  148. package/dist/localConfig/skills.js +397 -0
  149. package/dist/localConfig/skillsWords.d.ts +10 -0
  150. package/dist/localConfig/skillsWords.js +5 -0
  151. package/dist/localEngineSeatReading.d.ts +2 -2
  152. package/dist/localEngineSeatReading.js +5 -3
  153. package/dist/localEngineSpawn.d.ts +0 -7
  154. package/dist/localEngineSpawn.js +0 -92
  155. package/dist/localEngineStep.d.ts +2 -2
  156. package/dist/localEngineStep.js +2 -0
  157. package/dist/mcpProbeWire.js +2 -1
  158. package/dist/mcpReconnect.js +3 -3
  159. package/dist/mcpWireCaps.js +1 -1
  160. package/dist/memoryVerbsWire.js +3 -2
  161. package/dist/model/engineModelWords.d.ts +3 -0
  162. package/dist/model/engineModelWords.js +13 -0
  163. package/dist/model/onboardJudgement.d.ts +14 -4
  164. package/dist/model/onboardJudgement.js +91 -139
  165. package/dist/model/subagentModelWord.d.ts +21 -2
  166. package/dist/model/subagentModelWord.js +100 -29
  167. package/dist/modelCapabilityProbe.js +3 -40
  168. package/dist/modelConfigGapNotice.d.ts +20 -0
  169. package/dist/modelConfigGapNotice.js +102 -0
  170. package/dist/modsKernelIdentity.js +2 -47
  171. package/dist/notifications.d.ts +19 -0
  172. package/dist/notifications.js +114 -12
  173. package/dist/ownKey.d.ts +7 -0
  174. package/dist/ownKey.js +71 -8
  175. package/dist/pendingUserRow.d.ts +4 -0
  176. package/dist/pendingUserRow.js +16 -0
  177. package/dist/permissionsDeclaration.d.ts +3 -1
  178. package/dist/permissionsDeclaration.js +33 -9
  179. package/dist/planReviewCardFacts.d.ts +3 -0
  180. package/dist/planReviewCardFacts.js +52 -2
  181. package/dist/pluginHooksWire.d.ts +9 -1
  182. package/dist/pluginHooksWire.js +40 -6
  183. package/dist/printToolResultFrame.js +4 -2
  184. package/dist/promptBlockedCopy.js +12 -7
  185. package/dist/promptSuggestionBatch.d.ts +7 -0
  186. package/dist/promptSuggestionBatch.js +9 -0
  187. package/dist/promptSuggestionsTail.d.ts +39 -0
  188. package/dist/promptSuggestionsTail.js +116 -0
  189. package/dist/request/taskRequest.js +10 -6
  190. package/dist/requestCoordinate.d.ts +1 -0
  191. package/dist/requestCoordinate.js +13 -0
  192. package/dist/resumeRefusalCopy.d.ts +3 -1
  193. package/dist/resumeRefusalCopy.js +12 -4
  194. package/dist/rewindArchiveReading.js +4 -4
  195. package/dist/runCancelContext.d.ts +2 -1
  196. package/dist/runCancelContext.js +1 -0
  197. package/dist/runLedgerSnapshot.js +3 -3
  198. package/dist/runPermissionModeSwitch.js +3 -4
  199. package/dist/scenarioRefusal.js +11 -13
  200. package/dist/scenarioSkills.js +11 -6
  201. package/dist/seam.d.ts +16 -2
  202. package/dist/seam.js +10 -0
  203. package/dist/seatContract.d.ts +259 -9
  204. package/dist/seatContract.js +444 -15
  205. package/dist/sessionCostReading.d.ts +70 -0
  206. package/dist/sessionCostReading.js +150 -0
  207. package/dist/sessionHooksRoster.d.ts +4 -0
  208. package/dist/sessionHooksRoster.js +158 -0
  209. package/dist/sessionIdSegment.d.ts +1 -0
  210. package/dist/sessionIdSegment.js +4 -1
  211. package/dist/sessionMemoryErase.js +2 -1
  212. package/dist/sessionMemoryStatus.js +2 -2
  213. package/dist/sessionReadRedaction.d.ts +7 -0
  214. package/dist/sessionReadRedaction.js +26 -0
  215. package/dist/sessionSyncFileHistory.js +8 -9
  216. package/dist/settingsHooksSalvage.js +2 -1
  217. package/dist/sha256Bytes.d.ts +1 -0
  218. package/dist/sha256Bytes.js +46 -0
  219. package/dist/skillOverrideChain.d.ts +83 -0
  220. package/dist/skillOverrideChain.js +378 -0
  221. package/dist/skillsWireCaps.d.ts +3 -0
  222. package/dist/skillsWireCaps.js +16 -1
  223. package/dist/sseIdleTriage.js +2 -1
  224. package/dist/storeDurabilityWord.d.ts +15 -0
  225. package/dist/storeDurabilityWord.js +18 -0
  226. package/dist/storePostureCapability.d.ts +7 -3
  227. package/dist/storePostureCapability.js +69 -39
  228. package/dist/subagent/engineSubagentResume.js +2 -2
  229. package/dist/subagent/engineSubagentTail.js +2 -1
  230. package/dist/subagentContentStore.d.ts +11 -0
  231. package/dist/subagentContentStore.js +28 -2
  232. package/dist/toolResult.d.ts +1 -0
  233. package/dist/toolResult.js +2 -0
  234. package/dist/turnFailurePresentation.js +4 -10
  235. package/dist/userAttachmentEnvelope.d.ts +2 -1
  236. package/dist/userAttachmentEnvelope.js +10 -0
  237. package/dist/wireErrorTriage.js +2 -1
  238. package/dist/wireFailureShape.d.ts +4 -0
  239. package/dist/wireFailureShape.js +141 -19
  240. package/dist/wireRefusalCopy.d.ts +6 -5
  241. package/dist/wireRefusalCopy.js +49 -92
  242. package/docs/INTEGRATION-CLIENTS.md +2718 -17
  243. package/package.json +7 -3
@@ -1,5 +1,4 @@
1
1
  import { EN_MESSAGES } from './messages.en.js';
2
- import { ZH_MESSAGES } from './messages.zh.js';
3
2
  import { isUiLanguage } from '../env/uiLanguage.js';
4
3
  export const DATA_FACE_LANGUAGE = 'en';
5
4
  export function createMissLedger() {
@@ -19,10 +18,70 @@ export function createMissLedger() {
19
18
  };
20
19
  }
21
20
  export const uiMissLedger = createMissLedger();
22
- const CATALOGS = Object.freeze({
23
- en: EN_MESSAGES,
24
- zh: ZH_MESSAGES,
25
- });
21
+ const installedCatalogs = new Map();
22
+ const announcedAbsentLanguages = new Set();
23
+ function tableOf(lang) {
24
+ return lang === 'en' ? EN_MESSAGES : installedCatalogs.get(lang)?.table;
25
+ }
26
+ export function renderLanguageOf(lang) {
27
+ return isUiLanguage(lang) && (lang === 'en' || installedCatalogs.has(lang)) ? lang : 'en';
28
+ }
29
+ function snapshotCatalog(catalog) {
30
+ try {
31
+ const table = Object.create(null);
32
+ let n = 0;
33
+ for (const key of Object.keys(catalog)) {
34
+ if (!Object.hasOwn(EN_MESSAGES, key))
35
+ continue;
36
+ const d = Object.getOwnPropertyDescriptor(catalog, key);
37
+ if (d === undefined || !Object.hasOwn(d, 'value') || typeof d.value !== 'string')
38
+ continue;
39
+ table[key] = d.value;
40
+ n++;
41
+ }
42
+ return n > 0 ? Object.freeze(table) : undefined;
43
+ }
44
+ catch {
45
+ return undefined;
46
+ }
47
+ }
48
+ export function installMessageCatalog(lang, catalog) {
49
+ const asked = lang;
50
+ if (!isUiLanguage(asked))
51
+ return 'unknown_language';
52
+ if (asked === 'en')
53
+ return 'built_in';
54
+ let isTable = false;
55
+ try {
56
+ isTable = catalog !== null && typeof catalog === 'object' && !Array.isArray(catalog);
57
+ }
58
+ catch {
59
+ isTable = false;
60
+ }
61
+ if (!isTable)
62
+ return 'not_a_catalog';
63
+ const held = installedCatalogs.get(asked);
64
+ if (held !== undefined)
65
+ return held.source === catalog ? 'installed' : 'conflict';
66
+ const table = snapshotCatalog(catalog);
67
+ if (table === undefined)
68
+ return 'not_a_catalog';
69
+ installedCatalogs.set(asked, Object.freeze({ source: catalog, table }));
70
+ return 'installed';
71
+ }
72
+ function announceAbsent(lang) {
73
+ if (announcedAbsentLanguages.has(lang))
74
+ return 'already_announced';
75
+ announcedAbsentLanguages.add(lang);
76
+ try {
77
+ console.error(`[client-core] message catalog "${lang}" is not installed — rendering English. ` +
78
+ `Install it once at startup: installMessageCatalog('${lang}', ${lang.toUpperCase()}_MESSAGES) with the catalog from '@sema-agent/client-core/i18n/${lang}'.`);
79
+ return 'announced';
80
+ }
81
+ catch {
82
+ return 'notice_failed';
83
+ }
84
+ }
26
85
  const UNKNOWN_LANGUAGE_ENTRY = 'lang:?';
27
86
  const PLACEHOLDER = /\{(\w+)\}/g;
28
87
  const MESSAGE_REF_MARK = Symbol.for('@sema-agent/client-core.MessageRef');
@@ -40,7 +99,10 @@ function isMintedRef(v) {
40
99
  function lookup(lang, key) {
41
100
  if (typeof key !== 'string')
42
101
  return undefined;
43
- const d = Object.getOwnPropertyDescriptor(CATALOGS[lang], key);
102
+ const table = tableOf(lang);
103
+ if (table === undefined)
104
+ return undefined;
105
+ const d = Object.getOwnPropertyDescriptor(table, key);
44
106
  return d !== undefined && Object.hasOwn(d, 'value') && typeof d.value === 'string' ? d.value : undefined;
45
107
  }
46
108
  function paramOf(params, name) {
@@ -64,10 +126,16 @@ function noteMiss(ledger, entry) {
64
126
  }
65
127
  }
66
128
  function languageOf(lang, ledger) {
67
- if (isUiLanguage(lang))
68
- return lang;
69
- noteMiss(ledger, UNKNOWN_LANGUAGE_ENTRY);
70
- return 'en';
129
+ if (!isUiLanguage(lang)) {
130
+ noteMiss(ledger, UNKNOWN_LANGUAGE_ENTRY);
131
+ return 'en';
132
+ }
133
+ const rendered = renderLanguageOf(lang);
134
+ if (rendered !== lang) {
135
+ noteMiss(ledger, `lang:${lang}`);
136
+ announceAbsent(lang);
137
+ }
138
+ return rendered;
71
139
  }
72
140
  const MAX_REF_DEPTH = 8;
73
141
  function interpolate(lang, template, key, params, ledger, depth) {
@@ -0,0 +1 @@
1
+ export { ZH_MESSAGES } from './messages.zh.js';
@@ -0,0 +1 @@
1
+ export { ZH_MESSAGES } from './messages.zh.js';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
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, installWorkflowRunReader, 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, workflowRunTerminalReadingOf, } from './notifications.js';
4
- export type { EngineWorkflowCompletion, GoalHookNotice, HookEntryType, HookFailureNotice, HookFailureReason, HookFailureVerdict, HookNoticeReason, HookNoticeVerdict, HookNoticeWire, NotificationDropCounters, NotificationQueuePort, QueuedCommandLike, TaskNotificationFields, TaskNotificationXmlRead, TranscriptNotificationSeeds, WorkflowRunReader, WorkflowRunTerminalReading, } from './notifications.js';
3
+ export { _resetEngineTaskNotificationForTest, _resetNotificationQueuePortForTest, _setWatcherTimingForTest, _tickWatchOnceForTest, classifyHookFailureFrame, classifyHookNoticeFrame, deriveNotificationResidualLines, dropQueuedNotificationsForRun, enqueueBgChildNotification, enqueueEngineWorkflowNotification, enqueuePlanReviewOutcome, HOOK_NOTICE_WARN_PREFIX, hookNoticeLastCheckText, installBgTaskStatusProbe, installNotificationQueuePort, installWorkflowRunReader, 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, workflowRunTerminalReadingOf, resupplyTruncatedSentence, } from './notifications.js';
4
+ export type { EngineWorkflowCompletion, GoalHookNotice, HookEntryType, HookFailureNotice, HookFailureReason, HookFailureVerdict, HookNoticeReason, HookNoticeVerdict, HookNoticeWire, NotificationDropCounters, NotificationQueuePort, QueuedCommandLike, ResupplyTruncatedSource, TaskNotificationFields, TaskNotificationXmlRead, TranscriptNotificationSeeds, WorkflowRunReader, WorkflowRunTerminalReading, } from './notifications.js';
5
5
  export * from './peerFrames.js';
6
6
  export * from './steering.js';
7
7
  export type { DiagnosticsAttachment, } from './diagnostics.js';
@@ -11,9 +11,11 @@ export * from './memorySpecWire.js';
11
11
  export * from './adapt.js';
12
12
  export * from './adapt/textSegmentAuthority.js';
13
13
  export * from './engineHttpTools.js';
14
+ export { classifyHealthProbe, healthAnswerClause, latestSegmentHealthAnswer } from './engineHealthProbeVerdict.js';
15
+ export type { HealthProbeVerdict, HealthProbeAnsweredNotOk, HealthProbeUnansweredReason, HealthProbeNotOkReason, TimedHealthAnswer } from './engineHealthProbeVerdict.js';
14
16
  export * from './sdkWireTransit.js';
15
17
  export { SEMA_SEGMENT_ID_KEY } from './adapt/textStream.js';
16
- export { engineRefOf, sameEngineRef, TRANSCRIPT_ROW_SIDECAR_KEYS } from './engineRowRef.js';
18
+ export { engineRefOf, sameEngineRef, SEMA_REFUSAL_NOTED_KEY, TRANSCRIPT_ROW_SIDECAR_KEYS } from './engineRowRef.js';
17
19
  export type { EngineRowRef, SameEngineRefVerdict, EngineBoundRun } from './engineRowRef.js';
18
20
  export { isReplayMarked } from './replayBody.js';
19
21
  export { composeEventLeg, EVENT_LEG_KINDS, EVENT_LEG_TABLE, approvalFrameContextOf } from './eventLeg.js';
@@ -30,10 +32,14 @@ export { _resetLiveQuestionStore, hasLocalQuestionResponder, hasQuestionOverlay,
30
32
  export type { AskQuestion, AskQuestionOption, QuestionAnswer, QuestionFrame, } from './liveQuestionStore.js';
31
33
  export { withdrawParkQuestion, PARK_QUESTION_WITHDRAW_REFUSALS } from './hitl/hostWithdrawal.js';
32
34
  export type { HostWithdrawal, ParkQuestionWithdrawal, ParkQuestionWithdrawRefusal } from './hitl/hostWithdrawal.js';
35
+ export { SCREEN_CARD_KEEP_REASONS, ENGINE_GENERATION_CARD_PLAN_GOLDEN, approvalCardGateOf, approvalCardOriginOf, questionFrameGateOf, screenCardsHoldEngineDecision, engineGenerationCardPlan, engineGenerationCardRecheckDue, } from './hitl/screenDecisionCards.js';
36
+ export type { ScreenCardGate, ScreenCardWindow, ScreenDecisionCard, ScreenCardKeepReason, ScreenCardKeep, ScreenCardWithdrawal, ScreenCardGoldenRow, ScreenCardGoldenRowVerdict, EngineGenerationEndedCardFacts, EngineGenerationReadyCardFacts, EngineGenerationEndedCardPlan, EngineGenerationReadyCardPlan, EngineGenerationCardRecheckDueFacts, EngineGenerationCardPlanGoldenCase, } from './hitl/screenDecisionCards.js';
37
+ export { questionFrameSourceGenerationOf } from './hitl/screenCardCarriers.js';
33
38
  export * from './engineInlineTaskStats.js';
34
39
  export * from './printToolResultFrame.js';
35
40
  export * from './printModelStatus.js';
36
41
  export * from './compactionStatus.js';
42
+ export { followUpPromptSuggestions, promptSuggestionsOnStream, PROMPT_SUGGESTIONS_TAIL_MAX_ATTEMPTS, PROMPT_SUGGESTIONS_TAIL_BUDGET_MS, type PromptSuggestionsTailInput, type PromptSuggestionsTailOutcome, type PromptSuggestionsTailEvent, type PromptSuggestionsStreamSeen, } from './promptSuggestionsTail.js';
37
43
  export { __resetEngineCapsCacheForTests, engineCapNestedValue, engineCapState, engineCapString, engineCapsGeneration, engineCapsLandingOf, engineCapsSettled, engineCapTrue, engineCapValue, invalidateEngineCaps, invalidateEngineCapsAndReprobe, kickEngineCapsProbe, rotateEngineCapsProbe, } from './engineCapsCache.js';
38
44
  export { onEngineCapsChange } from './engineCapsChange.js';
39
45
  export type { EngineCapState, EngineCapsChange, EngineCapsLanding, EngineCapsProbeRotation, EngineCapsReprobe, EngineCapValueState, } from './engineCapsCache.js';
@@ -56,6 +62,7 @@ export * from './credentialPlaneCapability.js';
56
62
  export * from './mcpReconnect.js';
57
63
  export * from './hitl/parkExpiryJudgements.js';
58
64
  export * from './usageAnalytics.js';
65
+ export * from './sessionCostReading.js';
59
66
  export * from './leaderConflict.js';
60
67
  export * from './runTerminal.js';
61
68
  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';
@@ -78,6 +85,7 @@ export * from './skillToolListsCapability.js';
78
85
  export * from './steerPriorityCapability.js';
79
86
  export * from './permissionModesCapability.js';
80
87
  export * from './approvalDecidedByCapability.js';
88
+ export { sessionReadRedactionOf, type SessionReadRedactionLeavesReading } from './sessionReadRedaction.js';
81
89
  export * from './outputStyleSeatCapability.js';
82
90
  export * from './permissionModeWriteCapability.js';
83
91
  export { setRunPermissionMode, runPermissionModeSwitchLine } from './runPermissionModeSwitch.js';
@@ -99,8 +107,10 @@ export { countClientRegistry, fleetBackgroundLiveOf, localEngineSelfOf, localEng
99
107
  export type { ClientRegistryDirectory, ClientRegistryRecordReading, ClientRegistryCount, LocalEngineFleetReading, FleetBackgroundLive, LocalEngineSelfItem, LocalEngineSelfReading, LocalEngineSelfInput, LocalEngineSelf, LocalEngineRegistryStatus, LocalEngineOccupancy, LocalEngineDefaultLane, LocalEngineDemandSession, LocalEngineDemandInput, LocalEngineDemandSource, LocalEngineDemand, LocalEngineExitFate, } from './localEngineOccupancy.js';
100
108
  export { LOCAL_ENGINE_SWAP_CAUSES, localEngineSwapAutoable, engineSwapCardOf, engineSwapCardText } from './localEngineSwapCard.js';
101
109
  export type { LocalEngineSwapCause, LocalEngineSwapPolicy, EngineSwapCardTarget, EngineSwapCardUnknown, EngineSwapCardInput, EngineSwapCardOthers, EngineSwapCard, EngineSwapCardText, } from './localEngineSwapCard.js';
102
- export { LOCAL_ENGINE_SPAWN_ENV, LOCAL_ENGINE_HOST_BITS, LOCAL_ENGINE_SPAWN_SHAPE, localEngineOperatorSingleUserOf, localEngineSpawnEnv, localEngineSeedEnv, localEnginePrincipalOf, localEnginePrincipalSentence, engineBootRefusalOf, engineBootRefusalSentence, localEngineFirstShareSentence, } from './localEngineSpawn.js';
103
- export type { LocalEngineSpawnPathSlot, LocalEngineSpawnDerived, LocalEngineSpawnValue, LocalEngineSpawnEnvRow, LocalEngineBudgets, LocalEngineSpawnPaths, LocalEngineSpawnEnvInput, LocalEngineSpawnApplied, LocalEngineSpawnEnv, LocalEngineSettingsLayerName, LocalEngineSettingsLayers, LocalEngineSeedInput, LocalEngineSeedFrom, LocalEngineSeedDropped, LocalEngineSeed, LocalEnginePrincipal, LocalEnginePrincipalView, LocalEngineBootRefusal, } from './localEngineSpawn.js';
110
+ export { LOCAL_ENGINE_SPAWN_ENV, LOCAL_ENGINE_HOST_BITS, LOCAL_ENGINE_SPAWN_SHAPE, localEngineOperatorSingleUserOf, localEngineSpawnEnv, localEngineSeedEnv, localEnginePrincipalOf, localEnginePrincipalSentence, localEngineFirstShareSentence, } from './localEngineSpawn.js';
111
+ export type { LocalEngineSpawnPathSlot, LocalEngineSpawnDerived, LocalEngineSpawnValue, LocalEngineSpawnEnvRow, LocalEngineBudgets, LocalEngineSpawnPaths, LocalEngineSpawnEnvInput, LocalEngineSpawnApplied, LocalEngineSpawnEnv, LocalEngineSettingsLayerName, LocalEngineSettingsLayers, LocalEngineSeedInput, LocalEngineSeedFrom, LocalEngineSeedDropped, LocalEngineSeed, LocalEnginePrincipal, LocalEnginePrincipalView, } from './localEngineSpawn.js';
112
+ export { ENGINE_UNAVAILABLE_REASONS, ENGINE_INSTALL_SHAPES, ENGINE_BOOT_REFUSAL_CODES, engineBootRefusalOf, engineBootRefusalSentence, engineUnavailableLine, } from './engineUnavailable.js';
113
+ export type { EngineUnavailableReason, EngineBootRefusalReason, EngineInstallShape, EngineBootRefusalForm, EngineDataRootVariant, EngineBootWayOut, LocalEngineBootRefusal, EngineUnavailableFacts, } from './engineUnavailable.js';
104
114
  export { LOCAL_ENGINE_STOP_LADDER, stopLadderStep } from './localEngineStopLadder.js';
105
115
  export type { StopLadderSignal, StopLadderState, StopLadderObservation, StopLadderStepResult } from './localEngineStopLadder.js';
106
116
  export { LOCAL_ENGINE_INITIAL_STATE, LOCAL_ENGINE_FAIL_CODES, localEngineStep, engineSwapAnswerOutcomeOf } from './localEngineStep.js';
@@ -108,6 +118,8 @@ export { LOCAL_ENGINE_TIMING } from './localEngineTiming.js';
108
118
  export type { LocalEnginePolicy, LocalEngineStepOccupancy, LocalEngineTarget, LocalEngineStateDownReason, LocalEngineCauseEntry, LocalEngineAutoTry, LocalEngineCtx, LocalEngineCardHold, LocalEngineLockIntent, LocalEnginePlan, LocalEngineRelation, LocalEngineState, LocalEngineEvent, LocalEngineFailCode, LocalEngineNotice, LocalEngineEffect, LocalEngineStepResult, } from './localEngineStep.js';
109
119
  export { localEngineSeatReadingOf, localEngineSeatSentence, localEngineNoticeText, localEngineFailText, engineTargetLocalOf, engineRestartOutcomeOf, } from './localEngineSeatReading.js';
110
120
  export type { LocalEngineSeatHostFacts, EngineRestartOperation } from './localEngineSeatReading.js';
121
+ export { ENGINE_DRAIN_CLASSES, engineSwapCrossingVerdict, parkedToolApprovalsBySession, engineSwapCrossingText } from './engineSwapCrossing.js';
122
+ export type { EngineDrainClass, EngineDrainSession, EngineDrainReading, EngineSwapCrossing, EngineSwapCrossingFacts, EngineSwapCrossingVerdict, } from './engineSwapCrossing.js';
111
123
  export { transportFailureScene } from './engineWireFor.js';
112
124
  export type { EngineWireNoAnswerKind, TransportFailureChainEnd, TransportFailureLayer, TransportFailureScene, TransportFailureSocket } from './engineWireFor.js';
113
125
  export { engineUrlTransportVerdict, normalizeEngineBaseUrl } from './engineUrl.js';
@@ -138,6 +150,8 @@ export { preemptReceiptLine, type PreemptOutcome, type PreemptParkedStatus } fro
138
150
  export { readSteerReceipt, type SteerReceiptReading } from './steerReceipt.js';
139
151
  export * from './sseIdleTriage.js';
140
152
  export * from './engineWireSdk.js';
153
+ export { engineCredentialReleaseVerdictOf, makeLocalEngineWireClient, ENGINE_CREDENTIAL_WITHHOLD_REASONS } from './engineCredentialRelease.js';
154
+ export type { LocalEngineIdentityVerdict, EngineCredentialTransport, EngineCredentialReleaseInput, EngineCredentialWithholdReason, EngineCredentialReleaseVerdict, LocalEngineWireClientConfig, LocalEngineWireClient, } from './engineCredentialRelease.js';
141
155
  export * from './classifierVerdictWire.js';
142
156
  export { stripSystemReminderBlocks, unwrapSystemReminder } from './systemReminderTag.js';
143
157
  export { findSystemReminderOpenTag, type SystemReminderOpenTagSpan } from './systemReminderTag.js';
@@ -169,6 +183,7 @@ export { legCwdOfBody, engineSelectedInstructionsFile } from './wiringInstructio
169
183
  export type { InstructionsAttributionInput } from './wiringInstructionsAttribution.js';
170
184
  export * from './sealedKeyCapability.js';
171
185
  export * from './storePostureCapability.js';
186
+ export type { EngineHealthStoreDurability } from './storeDurabilityWord.js';
172
187
  export * from './centerWiringCapability.js';
173
188
  export * from './registryQuotaUsage.js';
174
189
  export * from './engineDirectory.js';
@@ -180,6 +195,7 @@ export * from './webSearchWireCaps.js';
180
195
  export * from './liveModelCatalog.js';
181
196
  export * from './modelBudgetRule.js';
182
197
  export * from './modelIdentityResolvability.js';
198
+ export * from './modelConfigGapNotice.js';
183
199
  export * from './sessionModelLatch.js';
184
200
  export * from './modelSwitchFallback.js';
185
201
  export * from './effortWire.js';
@@ -247,6 +263,7 @@ export type { EngineWireTarget, } from './engineWireTarget.js';
247
263
  export * from './principalWire.js';
248
264
  export * from './wireErrorTriage.js';
249
265
  export { WIRE_FAILURE_UNRENDERABLE_TEXT, wireFailureCoreOf, wireFailureTextsOf, type WireFailureCore, type WireFailureTexts } from './wireFailureShape.js';
266
+ export { errnoCode, thrownSlotOf } from './wireFailureShape.js';
250
267
  export { guardedRead, readOwnDataFiniteNumber, readOwnDataNonEmptyString } from './ownKey.js';
251
268
  export { contextUsageReadingOf, type ContextUsageReading } from './ownKey.js';
252
269
  export { TURN_FAILURE_CATEGORIES, turnFailurePresentation, type TurnFailureCategory, type TurnFailurePresentation, type TurnFailureRetry } from './turnFailurePresentation.js';
@@ -262,7 +279,8 @@ export { deviceFlowPollingPlan } from './deviceFlowPolling.js';
262
279
  export type { DeviceFlowPollingPlan } from './deviceFlowPolling.js';
263
280
  export { createPromptDeliveryLedger, promptKnownUndelivered, withoutUndeliveredPrompts } from './promptDelivery.js';
264
281
  export type { PromptDeliveryLedger, PromptDeliveryRecord, NotDeliveredWhy, DeliveryState } from './promptDelivery.js';
265
- export { mintUserAttachmentEnvelope } from './userAttachmentEnvelope.js';
282
+ export { mintUserAttachmentEnvelope, showAttachmentName } from './userAttachmentEnvelope.js';
283
+ export { showAttachmentNameCc } from './userAttachmentEnvelope.js';
266
284
  export type { UserAttachmentDescriptor, UserAttachmentNotebookCell } from './userAttachmentEnvelope.js';
267
285
  export { encodeHumanTurn, deliveredUuidsOf, imageSentOnUnknownVision, otherBodyBytesOf } from './humanTurn.js';
268
286
  export { batchCompatible, planQueuedDelivery, humanTurnCapsOf, humanTextForKeywordScan, selfHealSteerEligible } from './queuedDelivery.js';
@@ -279,6 +297,8 @@ export type { HumanTurnInput, HumanTurnItem, HumanTurnAttachment, HumanTurnRider
279
297
  export type { UserAttachment } from '@sema-agent/sdk';
280
298
  export { observedUserAttachmentSeat, projectUserAttachmentSeatCapability, userAttachmentSeatAdmits } from './userAttachmentSeat.js';
281
299
  export type { UserAttachmentSeatReading, UserAttachmentSeatPresent, UserAttachmentSeatLimits } from './userAttachmentSeat.js';
300
+ export { attachmentRouteOf, attachmentWithheldReasonText, attachmentLocalCopyNote, ATTACHMENT_ROUTE_LEGS, TOOLS_LOCATIONS } from './attachmentRoute.js';
301
+ export type { AttachmentRoute, AttachmentRouteFacts, AttachmentRouteLeg, AttachmentWithheldReason, ToolsLocation } from './attachmentRoute.js';
282
302
  export { scenarioRefusalFromError, scenarioRefusalContent } from './scenarioRefusal.js';
283
303
  export type { ScenarioRefusalReading } from './scenarioRefusal.js';
284
304
  export { projectEngineSessionMessages } from './engineSessionMessages.js';
@@ -307,9 +327,11 @@ export * from './detachWire.js';
307
327
  export * from './workflowMonitor.js';
308
328
  export * from './workflowClient.js';
309
329
  export * from './hooksWireCaps.js';
310
- 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, pluginHooksKeptLocally, 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';
330
+ 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, pluginHooksKeptLocally, 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, HOOK_ENTRY_TYPE_WORDS, type HookEntryTypeWord, } from './pluginHooksWire.js';
331
+ export { sessionHooksRosterOf } from './sessionHooksRoster.js';
311
332
  export { HTTP_POLICY_DROP_REASONS, type HttpPolicyDropReason, type HttpPolicyDropRow } from './httpHookPolicy.js';
312
333
  export { salvageSettingsHooksEntries, settingsHooksSalvageNotice, type HooksSalvage, type HooksSalvageDrop, type HooksSalvageRejection, type HooksSalvageOutcome, type HooksSalvageDropCode, type HooksSalvageRejectionCode, } from './settingsHooksSalvage.js';
334
+ export { hostSettingNoticeEventsOf } from './hostSettingNoticeArm.js';
313
335
  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';
314
336
  export { hostSettingsSessionFollows, type WorkspaceTrustState, type HostSettingsSource, type HostSettingsLayer, type HostSettingsLayerRead, type HostSettingsCarrierRead, type HostSettingsCarrierStatus, type HostSettingsEmptyKind, type HostManagedPolicyReading, type HostStartupMode, } from './hostSettingsSource.js';
315
337
  export { hookToolAliasesOf, canonicalHookToolName } from './hookToolAliases.js';
@@ -326,7 +348,7 @@ export * from './model/providerPresets.js';
326
348
  export { __setDecideTimeoutRetryBudgetForTests, backendDeny, DecideTransportRetryExhaustedError, findPendingForTask, HitlBridge, HitlSafetyError, isPlanReviewModeAfter, makeHitlCanUseTool, MAX_DENY_REASON_CHARS, PLAN_REVIEW_MODE_AFTER_WORDS, readDecideCurrentPending, readWireErrorCode, } from './hitl/hitlBridge.js';
327
349
  export type { ActiveGate, ApprovalsResourceLike, AskAnswer, AssistantResourceLike, DecideOperationEnd, DecideOperationEvent, DecideOperationIdentity, DecideOperationObserver, DecideOperationSpan, DecideOperationStart, FindPendingOutcome, GateCurrentPending, GatePrompt, HitlBackendDenyDecision, HitlBridgeOptions, HitlCanUseToolFn, HitlClientLike, HitlDecideDenyOutcome, HitlPermissionDecisionLike, HitlSafetyCode, PlanReviewModeAfter, PlanReviewOutcome, } from './hitl/hitlBridge.js';
328
350
  export * from './hitl/suspendedReopen.js';
329
- 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, type ToolPermissionSettledElsewhere, } from './hitl/approvalResolution.js';
351
+ 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, type ToolPermissionSettledElsewhere, toolPermissionSettledElsewhereOf, } from './hitl/approvalResolution.js';
330
352
  export { editedApprovalAcceptanceOf, editedApprovalRefusedLine, EDITED_APPROVAL_STATES, EDITED_APPROVAL_BASES } from './hitl/editedApprovalAcceptance.js';
331
353
  export type { EditedApprovalAcceptance, EditedApprovalState } from './hitl/editedApprovalAcceptance.js';
332
354
  export { ENGINE_ABORT_TOOL_RESULT } from './hitl/frameRouter.js';
@@ -335,8 +357,8 @@ export { toolOutputMediaAbsenceOf, toolOutputMediaAbsenceSentence } from './tool
335
357
  export type { ToolOutputMediaAbsence } from './toolResultContent.js';
336
358
  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';
337
359
  export type { ClassifierDenyContext, HitlHostSurface, HitlNotice, } from './hitl/hitlHostSurface.js';
338
- export { APPROVAL_DENY_SETTLED_BY_WORDS, ASK_ORIGIN_WORDS, RESPOND_DECISIONS, RETRACTED_CARD_DECISION_KIND, RULE_OFFERS_ABSENCE_REASONS, RULE_OFFER_BATCH_MEMBER_KINDS, RULE_OFFER_MATCHES, RULE_OFFER_UNCOVERED_REASONS, TOOL_APPROVAL_FRAME_KEYS_MIRROR, WITHDRAWN_CARD_DECISION_KIND, __resetSettledApprovalsForTests, _resetApprovalCardPortForTest, allowNoteNotCarriedSentence, answerCarriage, answerPayloadFor, approvalBoundGrantsDetail, approvalCardFactsOfFrame, approvalCardFactsOfGeneric, approvalCardFactsOfV1, approvalCardFactsOfV1Frame, approvalCardPortFor, approvalCardPortMisses, approvalCardPortMissesFor, approvalIsMandated, approvalPriorCardsDetail, approvalSupersedesDetail, askProbeReasonDetail, claimApprovalCard, classifierNoRulingDetail, decisionAttributionKeyOf, hasApprovalCardPort, hasApprovalCardPortFor, installApprovalCardPort, installApprovalCardPortFor, isFromSubagent, isToolApprovalFrame, isToolApprovalGate, isToolApprovalRespondParkedRedeemed, isToolApprovalRespondReplayed, joinApprovalHolder, observeApprovalAnswerCommitted, readApprovalBoundGrants, readApprovalCardWord, readApprovalClassifierNoRuling, readApprovalDenySettledBy, readApprovalMandate, readApprovalRememberRefused, readBoundGrantEntry, readDenialLimitFallback, readRuleOfferSupply, readRuleOffers, readToolApprovalRespondAck, readToolApprovalRespondParking, rememberRefusalOf, structurallyEqual, surfaceApprovalCard, surfaceFsApprovalAndDecide, surfaceToolApprovalFrameAndRespond, toolNameIsFsWrite, toolNameIsShellExec, toolPermissionRequestAskBits } from './hitl/toolApprovalWire.js';
339
- export type { AnswerCarriage, AnswerPayloadCaps, AnswerPayloadLane, ApprovalAnswerCommitted, ApprovalAskReason, ApprovalAskReasonByHook, ApprovalAskReasonByPolicy, ApprovalCardAllowDecision, ApprovalCardClaim, ApprovalCardClaimOptions, ApprovalCardDecision, ApprovalCardDenyDecision, ApprovalCardFacts, ApprovalCardFrameFactsOptions, ApprovalCardParkRow, ApprovalCardPort, ApprovalCardRequest, ApprovalCardSupersedes, ApprovalCardV1Facts, ApprovalDenySettledBy, ApprovalGrantBinding, ApprovalHolderIdentity, ApprovalHolderJoin, ApprovalInputSource, ApprovalMandatedFacts, ApprovalPriorCard, ApprovalRequestedBy, AskOrigin, BoundGrantEntryReading, BoundSkillGrantsWire, DecideAnswerPayload, DecideApprovePayload, DecideDenyPayload, DenialLimitFallback, DenialLimitKind, FsApprovalWireDeps, HostApprovalCardHold, PersistedRuleAnchor, ReadRootCandidateView, RememberRefusalCode, RespondAnswerPayload, RespondToolApprovalFn, RespondToolApprovalOpts, RuleOfferBatchMember, RuleOfferMatch, RuleOfferReading, RuleOfferUncoveredDetail, RuleOfferUncoveredReason, RuleOffersAbsence, ToolApprovalDelegation, ToolApprovalFrame, ToolApprovalFrameLaneOpts, ToolApprovalGateLike, ToolApprovalParkingBodyReading, ToolApprovalRespondAckView, ToolApprovalRespondDecision, ToolApprovalRespondParkingView, ToolApprovalRespondRedeemedView } from './hitl/toolApprovalWire.js';
360
+ export { APPROVAL_DENY_SETTLED_BY_WORDS, ASK_ORIGIN_WORDS, RESPOND_DECISIONS, RETRACTED_CARD_DECISION_KIND, RULE_OFFERS_ABSENCE_REASONS, RULE_OFFER_BATCH_MEMBER_KINDS, RULE_OFFER_MATCHES, RULE_OFFER_UNCOVERED_REASONS, TOOL_APPROVAL_FRAME_KEYS_MIRROR, WITHDRAWN_CARD_DECISION_KIND, __resetSettledApprovalsForTests, _resetApprovalCardPortForTest, allowNoteNotCarriedSentence, answerCarriage, answerPayloadFor, approvalBoundGrantsDetail, approvalCardFactsOfFrame, approvalCardFactsOfGeneric, approvalCardFactsOfV1, approvalCardFactsOfV1Frame, approvalCardPortFor, approvalCardPortMisses, approvalCardPortMissesFor, approvalCardRequestOf, approvalIsMandated, approvalPriorCardsDetail, approvalSupersedesDetail, askProbeReasonDetail, claimApprovalCard, classifierNoRulingDetail, decisionAttributionKeyOf, hasApprovalCardPort, hasApprovalCardPortFor, installApprovalCardPort, installApprovalCardPortFor, isFromSubagent, isToolApprovalFrame, isToolApprovalGate, isToolApprovalRespondParkedRedeemed, isToolApprovalRespondReplayed, joinApprovalHolder, observeApprovalAnswerCommitted, readApprovalBoundGrants, readApprovalCardWord, readApprovalClassifierNoRuling, readApprovalDenySettledBy, readApprovalMandate, readApprovalRememberRefused, readBoundGrantEntry, readDenialLimitFallback, readRuleOfferSupply, readRuleOffers, readToolApprovalRespondAck, readToolApprovalRespondParking, rememberRefusalOf, structurallyEqual, surfaceApprovalCard, surfaceFsApprovalAndDecide, surfaceToolApprovalFrameAndRespond, toolApprovalReplayVerdictOf, toolNameIsFsWrite, toolNameIsShellExec, toolPermissionRequestAskBits } from './hitl/toolApprovalWire.js';
361
+ export type { AnswerCarriage, AnswerPayloadCaps, AnswerPayloadLane, ApprovalAnswerCommitted, ApprovalAskReason, ApprovalAskReasonByHook, ApprovalAskReasonByPolicy, ApprovalCardAllowDecision, ApprovalCardClaim, ApprovalCardClaimOptions, ApprovalCardDecision, ApprovalCardDenyDecision, ApprovalCardFacts, ApprovalCardFrameFactsOptions, ApprovalCardHostBits, ApprovalCardParkRow, ApprovalCardPort, ApprovalCardRequest, ApprovalCardSupersedes, ApprovalCardV1Facts, ApprovalDenySettledBy, ApprovalGrantBinding, ApprovalHolderIdentity, ApprovalHolderJoin, ApprovalInputSource, ApprovalMandatedFacts, ApprovalPriorCard, ApprovalRequestedBy, AskOrigin, BoundGrantEntryReading, BoundSkillGrantsWire, DecideAnswerPayload, DecideApprovePayload, DecideDenyPayload, DenialLimitFallback, DenialLimitKind, FsApprovalWireDeps, HostApprovalCardHold, PersistedRuleAnchor, ReadRootCandidateView, RememberRefusalCode, RespondAnswerPayload, RespondToolApprovalFn, RespondToolApprovalOpts, RuleOfferBatchMember, RuleOfferMatch, RuleOfferReading, RuleOfferUncoveredDetail, RuleOfferUncoveredReason, RuleOffersAbsence, ToolApprovalDelegation, ToolApprovalFrame, ToolApprovalFrameLaneOpts, ToolApprovalFrameRunBits, ToolApprovalGateLike, ToolApprovalParkingBodyReading, ToolApprovalReplayVerdict, ToolApprovalRespondAckView, ToolApprovalRespondDecision, ToolApprovalRespondParkingView, ToolApprovalRespondRedeemedView } from './hitl/toolApprovalWire.js';
340
362
  export * from './hitl/approvalCardReading.js';
341
363
  export * from './hitl/approvalCardReasons.js';
342
364
  export { approvalRequestFrameReadingOf, APPROVAL_REQUEST_FRAME_UNREADABLE_WHYS } from './hitl/approvalRequestFrameReading.js';
@@ -359,9 +381,11 @@ export { decisionInFlightOf, decisionReadMark } from './hitl/decisionLedger.js';
359
381
  export { ASK_PARK_AUTO_REOPEN_BLOCKS, askParkAutoReopenBlockedContent, askParkAutoReopenBlockOf, askParkRefusalBlockOf, claimAskParkAutoReopenBlockNotice, clearAskParkAutoReopenBlocks, } from './hitl/askParkAutoReopenBlock.js';
360
382
  export type { AskParkAutoReopenBlock, AskParkAutoReopenBlockNotice, AskParkGate } from './hitl/askParkAutoReopenBlock.js';
361
383
  export type { DecisionIdentity } from './hitl/decisionLedger.js';
362
- export { HITL_DECISION_FAMILIES, HITL_DECISION_NOT_APPLIED_CAUSES, HITL_DECISION_NOT_SENT_CAUSES, HITL_DECISION_UNCONFIRMED_CAUSES, sendHitlDecision, hitlDecisionOutcomeContent, toolPermissionSettledLine, } from './hitl/decisionSend.js';
363
- export type { HitlApprovalDecisionRequest, HitlAskDecisionRequest, HitlDecisionApplied, HitlDecisionFamily, HitlDecisionGate, HitlDecisionNotApplied, HitlDecisionNotAppliedCause, HitlDecisionNotSent, HitlDecisionNotSentCause, HitlDecisionSendClient, HitlDecisionSendDeps, HitlDecisionSendOutcome, HitlDecisionSendRequest, HitlDecisionSettledElsewhere, HitlDecisionUnconfirmed, HitlDecisionUnconfirmedCause, HitlElicitationDecisionRequest, } from './hitl/decisionSend.js';
364
- export { PLAN_REVIEW_QUESTION_ID_PREFIX, REOPEN_ID_TAIL, approvalCallKey, askGateQuestionId, planReviewQuestionId, liveFrameCallKey, armedKeyFromQuestionId, } from './hitl/gateIdentity.js';
384
+ export { HITL_DECISION_FAMILIES, HITL_DECISION_NOT_APPLIED_CAUSES, HITL_DECISION_NOT_SENT_CAUSES, HITL_DECISION_UNCONFIRMED_CAUSES, sendHitlDecision, hitlDecisionOutcomeContent, toolPermissionSettledLine, toolPermissionUnconfirmedOf, toolPermissionUnconfirmedLine, } from './hitl/decisionSend.js';
385
+ export { elicitationRefusedLine } from './hitl/elicitationRefusal.js';
386
+ export type { HitlApprovalDecisionRequest, HitlAskDecisionRequest, HitlDecisionApplied, HitlDecisionFamily, HitlDecisionGate, HitlDecisionNotApplied, HitlDecisionNotAppliedCause, HitlDecisionNotSent, HitlDecisionNotSentCause, HitlDecisionSendClient, HitlDecisionSendDeps, HitlDecisionSendOutcome, HitlDecisionSendRequest, HitlDecisionSettledElsewhere, HitlDecisionUnconfirmed, HitlDecisionUnconfirmedCause, HitlElicitationDecisionRequest, ToolPermissionUnconfirmed, ToolPermissionUnconfirmedCause, } from './hitl/decisionSend.js';
387
+ export { PLAN_REVIEW_QUESTION_ID_PREFIX, REOPEN_ID_TAIL, approvalCallKey, askGateQuestionId, planReviewQuestionId, liveFrameCallKey, armedKeyFromQuestionId, SCREEN_CARD_ORIGINS, questionCardOriginOf, hostReopenQuestionId, hostRunChoiceQuestionId, } from './hitl/gateIdentity.js';
388
+ export type { ScreenCardOrigin } from './hitl/gateIdentity.js';
365
389
  export { _resetArmedGateRegistryForTest, _setGateArmedWaitMsForTest, clearArmedGate, gateArmedWaitMs, notePlanReviewAnswered, onGateArmed, planReviewArmedKey, registerArmedGate, registerArmedGateFor, registerArmedGateFromQuestionId, registerArmedGateFromQuestionIdFor, waitForGateArmed, wasGateArmed, wasGateArmedFor, } from './hitl/armedGateRegistry.js';
366
390
  export { askQuestionsFromPending, isHitlSafetyErrorLike, pendingRowIsOwnedByThisSession, pendingRowOwnershipOf, type ParkOwnershipDeps, } from './hitl/parkOwnership.js';
367
391
  export * from './hitl/parkRowBirthWait.js';
@@ -374,6 +398,7 @@ export * from './mcpStatusSupersetKeys.js';
374
398
  export type { ErrorSupplementRole, ErrorSupplementReader } from './errorSupplementRoles.js';
375
399
  export * from './hitl/persistedRulesWire.js';
376
400
  export * from './hitl/localAllowRule.js';
401
+ export { LOCAL_ALLOW_NOT_REDEEMABLE_REASONS, LOCAL_ALLOW_UNKNOWN_CAUSES, LOCAL_ALLOW_REDEMPTION_REFUSALS, LOCAL_ALLOW_REDEMPTION_UNAVAILABLE_CAUSES, LOCAL_ALLOW_REDEMPTION_UNKNOWN_CAUSES, localAllowRedeemability, redeemReadOnlyRuleOffer, type LocalAllowNotRedeemableReason, type LocalAllowUnknownCause, type LocalAllowRedeemability, type LocalAllowOfferedFacts, type LocalAllowDeclaredFacts, type LocalAllowRedeemabilityInput, type LocalAllowRedemptionRefusal, type LocalAllowRedemptionUnavailableCause, type LocalAllowRedemptionUnknownCause, type LocalAllowRedemptionReceipt, type LocalAllowRedemptionFacade, type ReadOnlyRuleOfferRedemption, } from './hitl/localAllowRedemption.js';
377
402
  export * from './hitl/sessionPolicyWire.js';
378
403
  export * from './hitl/sessionPolicyDeliverable.js';
379
404
  export { observedSessionRulesNamespaceForms } from './sessionRulesNamespaceFormsCapability.js';
@@ -386,10 +411,11 @@ export { hasLedgerPositionKey } from './hitl/gateLedger.js';
386
411
  export { durableSeqOf } from './hitl/gateLedger.js';
387
412
  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';
388
413
  export { standingRowsOf, type StandingRows, type StandingRowsWhy, type StandingRowWhy, type StandingPersistentRow, type StandingRowsHostFacts, rememberOfferable, localAllowRuleEnforceable, type RememberOffer, type RememberOfferable, type LocalAllowRuleEnforcement, } from './hitl/standingRows.js';
389
- 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';
414
+ export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decideRowUnrevivableNotice, type DecisionRefusalWayOut, decisionRefusalAskReading, readDecisionRefusalReading, type DecisionRefusalReading, type RefusalRouteContext, type DecisionRefusalAskReading, type DecisionRefusalStanding, type DecisionRefusalClassified, type DecisionRefusalConflict, type LiveAskPendingReading, type UndeliverableDecisionEnd, type UndeliverableDecisionFacts, } from './hitl/decisionRefusal.js';
390
415
  export { decisionGrantChangedContent } from './hitl/decisionConflict.js';
391
416
  export { decideFailureNote } from './decideFailureNote.js';
392
417
  export { decisionAnswerInvalidContent } from './hitl/decisionConflict.js';
418
+ export { decisionRefusalCarrierOf } from './hitl/decisionRefusalCarrier.js';
393
419
  export { noAllowCauseOf, type NoAllowCause, type RuleLadderNoAllowFacts } from './hitl/noAllowCause.js';
394
420
  export { policyDenyReason, type PolicyDenyLane, type PolicyDenyReasonFacts } from './hitl/frameRouter.js';
395
421
  export { readApprovalAllowRuleShadow, approvalAllowRuleShadowed, allowRuleShadowSentence, type ApprovalAllowRuleShadow, type ApprovalAllowRuleShadowMember, type AllowRuleShadowedWireMember, } from './hitl/allowRuleShadow.js';
@@ -436,8 +462,28 @@ export { devicesFaceOf, devicesWritesAllowed, devicesFaceDetail } from './device
436
462
  export type { DevicesFace, DevicesFaceInput, DevicesFaceUnavailableWhy } from './devicesFace.js';
437
463
  export { cloudLoginFailureOf, cloudLoginFailureText, engineTargetRefusalText, seatMcpReadingOf, watchEngineTarget } from './engineTargetSeat.js';
438
464
  export type { CloudLoginFailureContext, EngineTargetReading, EngineTargetWatch } from './engineTargetSeat.js';
439
- export { KEY_SLOT_PREFIX, keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWritePlan, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, } from './model/onboardJudgement.js';
440
- export type { OnboardJsonObject, OnboardPlanEntry, OnboardProbeBodyReader, OnboardProbeDeps, OnboardProbeFetch, OnboardProbeRequestInit, OnboardProbeResponse, OnboardProbeTarget, OnboardWritePlan, OnboardWritePlanInput, OnboardWriteVerdict, } from './model/onboardJudgement.js';
465
+ export { KEY_SLOT_PREFIX, keyEnvNameForEntry, onboardBaseUrlProblem, onboardRefusalText, onboardWriteVerdict, poolEntryNameOf, probeModelEndpoint, discoverEndpointModels, } from './model/onboardJudgement.js';
466
+ export type { OnboardJsonObject, OnboardPlanEntry, OnboardProbeBodyReader, OnboardProbeDeps, OnboardProbeFetch, OnboardProbeRequestInit, OnboardProbeResponse, OnboardProbeTarget, OnboardWritePlan, OnboardWritePlanInput, OnboardWriteVerdict, OnboardDiscoveryTarget, } from './model/onboardJudgement.js';
467
+ export { LOCAL_CONFIG_DOCUMENTS, globalStateFilePathOf } from './localConfig/documents.js';
468
+ export type { LocalConfigDocument, LocalConfigDocumentName, LocalConfigWritableDocumentName, GlobalStateFilePlace } from './localConfig/documents.js';
469
+ export { LOCAL_CONFIG_UNREADABLE_CAUSES, LOCAL_CONFIG_REFUSALS, LOCAL_CONFIG_NOT_WRITTEN_CAUSES, LOCAL_CONFIG_UNAVAILABLE_CAUSES, LOCAL_CONFIG_UNKNOWN_CAUSES, LOCAL_CONFIG_APPLIES_ON, LOCAL_CONFIG_RESIDUES, LOCAL_CONFIG_STEP_ROLES, LOCAL_CONFIG_WRITE_PRECONDITIONS, LOCAL_CONFIG_DISCLOSURE_KINDS, localConfigAccess, applyLocalConfigIntent, previewLocalConfigIntent, localConfigReceiptSentence, localConfigResidueSentence, localConfigDisclosureSentence, } from './localConfig/kernel.js';
470
+ export type { LocalConfigUnreadableCause, LocalConfigFileReading, LocalConfigFilesReading, LocalConfigRefusal, LocalConfigNotWrittenCause, LocalConfigUnavailableCause, LocalConfigUnknownCause, LocalConfigAppliesOn, LocalConfigResidue, LocalConfigStepRole, LocalConfigReceipt, LocalConfigPreview, LocalConfigWritePrecondition, LocalConfigDisclosureKind, LocalConfigDisclosure, LocalConfigHostFacts, LocalConfigAccessRequest, LocalConfigAccess, LocalConfigTransactStep, LocalConfigFileWrite, LocalConfigCommitReport, LocalConfigStorePort, LocalConfigStepInput, LocalConfigStepPlan, LocalConfigStep, LocalConfigIntent, } from './localConfig/kernel.js';
471
+ export { MODEL_POOL_EDIT_KINDS, MODEL_POOL_CHANNEL_SOURCES, MODEL_POOL_CREDENTIAL_KINDS, MODEL_POOL_COMPLETENESS, MODEL_POOL_MAX_BATCH, MODEL_POOL_PROBE_STATES, MODEL_POOL_DEFAULT_KEEP_REASONS, poolWritePlan, modelPoolIntentOf, editModelPoolWith, modelPoolViewOf, effectiveDefaultModelOf, defaultModelChoiceOf, modelPoolRowEditOf, channelProfilesOf, modelPoolEditOfSeat, onboardWritePlan, } from './localConfig/modelPool.js';
472
+ export type { ModelPoolEditKind, ModelPoolChannelSource, ModelPoolCredentialKind, ModelPoolCompleteness, ModelPoolProbeState, ModelPoolDefaultKeepReason, DefaultModelBatchRow, DefaultModelChoice, ModelPoolProbeReading, ModelPoolEntrySpec, ModelPoolChannelProfile, ModelPoolChannelData, ModelPoolModelRow, ModelPoolRoleRow, ModelPoolRowAction, ModelPoolEdit, ModelPoolProblem, ModelPoolPlannedEntry, ModelPoolPlan, EffectiveDefaultModel, EffectiveDefaultModelInput, ModelPoolIntentProbe, ModelPoolEditOutcome, ModelPoolViewEntry, ModelPoolViewTierGroup, ModelPoolProvider, ModelPoolView, ModelPoolReadings, } from './localConfig/modelPool.js';
473
+ export { LOCAL_CONFIG_WRITE_INTENTS, SETTINGS_WRITE_KEYS, settingsWritePlan, settingsWriteStep } from './localConfig/settingsWrite.js';
474
+ export type { LocalConfigWriteIntentRow, LocalConfigWriteIntent, SettingsWriteIntent, SettingsWriteEdit, SettingsWritePlanInput, SettingsWritePlan, SettingsWriteStepInput, } from './localConfig/settingsWrite.js';
475
+ export { MCP_SERVER_SCOPES, MCP_SERVER_ROW_STATES, MCP_SERVER_WITHHELD_CAUSES, mcpProjectChainOf, mcpPathWithinFence, expandMcpServerEntry, mcpServersReport } from './localConfig/mcp/servers.js';
476
+ export type { McpServerScope, McpServerFileReading, McpServerFilesReading, McpServerEnvFacts, McpServerHostFacts, McpSupplementarySlot, McpServerSupplementarySources, McpServerRowScope, McpServerRowState, McpServerWithheldCause, McpServerApprovedBy, McpServerSourceFile, McpServerProblem, McpServerRow, McpDeploymentRows, McpServersReport, McpExpansion, } from './localConfig/mcp/servers.js';
477
+ export { MCP_SERVER_EDIT_OPS, applyMcpServerEdit } from './localConfig/mcp/edit.js';
478
+ export type { McpSecretMapEdit, McpSecretKeep, McpServerEdit, McpServerEditOp, McpServerEditContext, McpServerRefusalDetail, McpServerRefusalWord, McpServerEditPlan, McpServerEditNotice, McpServerProbeTarget, McpServerEditOutcome, } from './localConfig/mcp/edit.js';
479
+ export { mcpServerReportView, mcpServerEditOutcomeView, mcpServerEditSentence, probeMcpServerEdit, checkMcpServerEditRequest, checkMcpServerReportView, checkMcpServerEditOutcomeView, checkMcpServerProbeView, } from './localConfig/mcp/views.js';
480
+ export type { McpArgView, McpSecretMemberView, McpServerEntryView, McpServerProblemView, McpServerRowView, McpServerReportView, McpServerRefusalDetailView, McpServerEditPlanView, McpServerEditNoticeView, McpServerEditOutcomeView, McpServerProbeView, McpViewCheck, McpApprovalWithheldView, McpImportedView, McpSkippedView, McpProbeServerRowView, } from './localConfig/mcp/views.js';
481
+ export { SKILL_OVERRIDE_STATES, SKILL_ORIGINS, SKILL_OVERRIDE_LAYERS, SKILL_OVERRIDE_DECIDERS, SKILL_OVERRIDE_LOCK_SOURCES, skillOverrideEffectiveOf, skillOverrideLockOf, } from './skillOverrideChain.js';
482
+ export type { SkillOverrideState, SkillOrigin, SkillOverrideLayer, SkillOverrideDecider, SkillOverrideLockSource, SkillSyncedName, SkillOverrideSubject, SkillOverrideLayers, SkillOverrideEffective, SkillOverrideLock, } from './skillOverrideChain.js';
483
+ export { SKILL_ROOT_LAYERS, SKILL_ROOT_KINDS, SKILLS_VIEW_EXCLUDED_REASONS, SKILLS_VIEW_LAYERS, SKILL_OVERRIDE_SCOPES } from './localConfig/skillsWords.js';
484
+ export type { SkillRootLayer, SkillRootKind, SkillsViewExcludedReason, SkillsViewLayer, SkillOverrideScope } from './localConfig/skillsWords.js';
485
+ export { skillRootsOf, skillsViewOf, skillsSetEditOf, skillsClearEditOf, skillOverrideWritePlan, skillCreatePlan, skillRemovePlan, } from './localConfig/skills.js';
486
+ export type { SkillRootHostFacts, SkillRoot, SkillRootsTable, SkillListing, SkillFrontmatter, SkillsViewEditable, SkillsViewEntryBase, SkillsViewAppliedEntry, SkillsViewExcludedEntry, SkillsViewEntry, SkillsView, SkillsEdit, SkillOverrideWriteContext, SkillOverrideWritePlan, SkillCreateIntent, SkillRemoveIntent, SkillFileEditPlan, } from './localConfig/skills.js';
441
487
  export * from './agentSession/contract.js';
442
488
  export * from './agentSession/backgroundView.js';
443
489
  export { readAssistantInbox } from './assistantInbox.js';
@@ -445,6 +491,7 @@ export type { AssistantInboxVerb, AssistantInboxEntry, AssistantInboxReading, As
445
491
  export { checkpointRowVerdictOf } from './checkpointRowVerdict.js';
446
492
  export type { CheckpointRowVerdictReading } from './checkpointRowVerdict.js';
447
493
  export { checkpointRowBarOf, checkpointRowBarSentence } from './checkpointRowVerdict.js';
494
+ export { decisionRefusalWayOutContent } from './checkpointRowVerdict.js';
448
495
  export type { CheckpointRowBar } from './checkpointRowVerdict.js';
449
496
  export { parkedUnresumableRowsOf, parkedUnresumableLine } from './hitl/parkedUnresumable.js';
450
497
  export type { ParkedUnresumableRow } from './hitl/parkedUnresumable.js';
@@ -463,15 +510,14 @@ export * from './model/providerAuth.js';
463
510
  export * from './model/providerCatalog.js';
464
511
  export * from './model/tierVocabulary.js';
465
512
  export * from './model/catalogDefault.js';
466
- export { resolveSubagentModelWord, subagentModelWordProblemLine, type SubagentModelLanding, type SubagentModelLocalEngine, type SubagentModelWordInput, type SubagentModelWordKind, type SubagentModelWordProblem, type SubagentModelWordReading, } from './model/subagentModelWord.js';
513
+ export { resolveSubagentModelWord, subagentModelAdmissionLine, subagentModelAdmissionOf, subagentModelCallRefusalReason, subagentModelWordProblemLine, type SubagentModelAdmission, type SubagentModelLanding, type SubagentModelLocalEngine, type SubagentModelWordInput, type SubagentModelWordKind, type SubagentModelWordProblem, type SubagentModelWordReading, } from './model/subagentModelWord.js';
467
514
  export * from './model/modelSupplyRules.js';
468
515
  export * from './websearch/searchProviderPresets.js';
469
516
  export * from './env/localeGeo.js';
470
517
  export * from './env/localeTag.js';
471
518
  export * from './env/uiLanguage.js';
472
519
  export { EN_MESSAGES, type MessageKey } from './i18n/messages.en.js';
473
- export { ZH_MESSAGES } from './i18n/messages.zh.js';
474
- export { createMissLedger, createTranslator, DATA_FACE_LANGUAGE, msg, renderMessage, translate, uiMissLedger, type MessageParam, type MessageParams, type MessageRef, type MissLedger, type Translator, } from './i18n/translate.js';
520
+ export { createMissLedger, createTranslator, DATA_FACE_LANGUAGE, installMessageCatalog, msg, renderMessage, translate, uiMissLedger, type MessageCatalogInstallOutcome, type MessageParam, type MessageParams, type MessageRef, type MissLedger, type Translator, } from './i18n/translate.js';
475
521
  export type { PendingCheckpoint } from '@sema-agent/sdk';
476
522
  export * from './ruleRemovalConsequence.js';
477
523
  export { engineCredentialRequirementOf } from './engineCredentialRequirement.js';
@@ -507,6 +553,11 @@ export type { SessionEngineKind, SessionEngineIdentityKind, SessionEngineBinding
507
553
  export { foldSessionPlacement } from './deviceRebind.js';
508
554
  export type { SessionPlacementView } from './deviceRebind.js';
509
555
  export { repointEngine, deviceHelloReadingOf, engineRepointVerdictOf, engineRepointMessageOf } from './engineRepoint.js';
510
- export type { DeviceHelloRejectWord, DeviceHelloReading, EngineRepointInput, EngineRepointHandshakeTarget, EngineRepointHandshakePort, EngineRepointRoster, EngineRepointRecordReading, EngineRepointRecordPresent, EngineRepointMoveResult, EngineRepointRecordPort, EngineRepointSessionsPort, EngineRepointPorts, EngineRepointProofState, EngineRepointHandshakeProof, EngineRepointRosterProof, EngineRepointProofs, EngineRepointVerdict, EngineRepointExit, EngineRepointSessionTally, EngineRepointRefusal, EngineRepointResult, EngineRepointDone, EngineRepointPartial, EngineRepointUnverified, EngineRepointUndetermined, EngineRepointStoreFailed, EngineRepointRefused, } from './engineRepoint.js';
556
+ export type { DeviceHelloRejectWord, DeviceHelloReading, EngineRepointInput, EngineRepointContinuity, EngineRepointHandshakeTarget, EngineRepointHandshakePort, EngineRepointRoster, EngineRepointRecordReading, EngineRepointRecordPresent, EngineRepointMoveResult, EngineRepointRecordPort, EngineRepointSessionsPort, EngineRepointPorts, EngineRepointProofState, EngineRepointHandshakeProof, EngineRepointRosterProof, EngineRepointProofs, EngineRepointVerdict, EngineRepointExit, EngineRepointSessionTally, EngineRepointRefusal, EngineRepointResult, EngineRepointDone, EngineRepointPartial, EngineRepointUnverified, EngineRepointUndetermined, EngineRepointStoreFailed, EngineRepointRefused, } from './engineRepoint.js';
511
557
  export { repointSessionEngine } from './sessionEngine.js';
512
558
  export type { SessionEngineRepointResult } from './sessionEngine.js';
559
+ export { PENDING_USER_ROW_ID_PREFIX, pendingUserRowIdOf, pendingUserRowUuidOf, isPendingUserRowId } from './pendingUserRow.js';
560
+ export { BUILTIN_OUTPUT_STYLES, builtinOutputStyleOf } from './builtinOutputStyles.js';
561
+ export type { BuiltinOutputStyle, BuiltinOutputStyleName } from './builtinOutputStyles.js';
562
+ export { CA_PIN_LIMITS, readCenterAddress, trustOriginOf, caFingerprintsOf, caFingerprintOfDer, caFingerprintDisplay, readCaBootstrapBody, caBootstrapOpen, caBootstrapStep, caPinRefusalSentence, } from './consoleCaPin.js';
563
+ export type { CenterAddressSeat, CenterAddressRefusal, CenterAddressReading, TrustOriginRefusal, TrustOriginReading, CaFingerprintsRefusal, CaFingerprintsReading, CaCertificateParser, CaCertificateFacts, CaBootstrapRequest, CaServedCertificate, CaBootstrapRefusal, CaBootstrapReading, CaBootstrapPhase, CaBootstrapStopReason, CaBootstrapStop, CaBootstrapDecision, CaBootstrapState, CaBootstrapEvent, CaBootstrapStep, CaPinRefusal, } from './consoleCaPin.js';