@sema-agent/client-core 0.97.0 → 0.98.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 +429 -0
- package/README.md +74 -36
- package/dist/adapt/arms.d.ts +1 -0
- package/dist/adapt/arms.js +128 -34
- package/dist/adapt/ids.d.ts +12 -1
- package/dist/adapt/ids.js +59 -8
- package/dist/adapt/instanceLedger.d.ts +50 -0
- package/dist/adapt/instanceLedger.js +147 -0
- package/dist/adapt/textStream.d.ts +1 -0
- package/dist/adapt/textStream.js +24 -7
- package/dist/adapt/toolCards.d.ts +27 -5
- package/dist/adapt/toolCards.js +39 -6
- package/dist/adapt/wireShapes.js +6 -2
- package/dist/adapt.d.ts +2 -0
- package/dist/adapt.js +8 -3
- package/dist/adapter/activeRunSelfHeal.d.ts +5 -0
- package/dist/adapter/activeRunSelfHeal.js +51 -28
- package/dist/adapter/downstream/eventToSdkMessage.d.ts +2 -5
- package/dist/adapter/downstream/eventToSdkMessage.js +27 -34
- package/dist/adapter/downstream/terminalToSdkResult.js +11 -4
- package/dist/adapter/downstream/turnUsageToModelUsage.d.ts +5 -2
- package/dist/adapter/downstream/turnUsageToModelUsage.js +2 -0
- package/dist/adapter/runStream.js +29 -13
- package/dist/adapter/types.d.ts +4 -4
- package/dist/agentSession/backgroundView.js +2 -1
- package/dist/agentSession/engineAgentRegistryRead.d.ts +2 -2
- package/dist/agentSession/engineAgentRegistryRead.js +12 -13
- package/dist/agentsWireCaps.d.ts +8 -6
- package/dist/agentsWireCaps.js +177 -162
- package/dist/approvalDecidedByCapability.d.ts +0 -4
- package/dist/approvalDecidedByCapability.js +0 -6
- package/dist/approvalsStreamLiveCapability.d.ts +0 -4
- package/dist/approvalsStreamLiveCapability.js +0 -6
- package/dist/assistantInbox.d.ts +34 -0
- package/dist/assistantInbox.js +118 -0
- package/dist/centerWiringCapability.js +9 -1
- package/dist/clientSlice.d.ts +0 -9
- package/dist/clientSlice.js +0 -3
- package/dist/cloudConfigWireCaps.d.ts +4 -2
- package/dist/cloudConfigWireCaps.js +81 -61
- package/dist/compensations.js +1 -1
- package/dist/connectorStatus.d.ts +21 -0
- package/dist/connectorStatus.js +112 -0
- package/dist/controlRouter.d.ts +14 -1
- package/dist/controlRouter.js +68 -17
- package/dist/coreValuePorts.d.ts +3 -3
- package/dist/decideReceipt.d.ts +2 -2
- package/dist/decideReceipt.js +5 -2
- package/dist/declared/supportFloorDeclared.js +3 -3
- package/dist/deviceExecutorManagementCapability.d.ts +0 -4
- package/dist/deviceExecutorManagementCapability.js +0 -6
- package/dist/deviceRebind.d.ts +49 -1
- package/dist/deviceRebind.js +221 -3
- package/dist/displayUntrusted.d.ts +1 -0
- package/dist/displayUntrusted.js +250 -76
- package/dist/engineAgentAbsence.d.ts +1 -1
- package/dist/engineAgentPanelStore.d.ts +5 -4
- package/dist/engineAgentPanelStore.js +3 -12
- package/dist/engineCapReader.d.ts +0 -4
- package/dist/engineCapReader.js +1 -5
- package/dist/engineCapsCache.d.ts +4 -0
- package/dist/engineCapsCache.js +17 -12
- package/dist/engineClosedSets.d.ts +1 -0
- package/dist/engineClosedSets.js +4 -1
- package/dist/engineErrorCodes.d.ts +9 -2
- package/dist/engineErrorCodes.js +9 -1
- package/dist/engineIdentity.d.ts +1 -0
- package/dist/engineIdentity.js +8 -0
- package/dist/engineRowRef.d.ts +28 -0
- package/dist/engineRowRef.js +111 -0
- package/dist/engineSessionMessages.d.ts +67 -0
- package/dist/engineSessionMessages.js +364 -0
- package/dist/engineToolDirectory.d.ts +18 -0
- package/dist/engineToolDirectory.js +85 -0
- package/dist/engineUrl.d.ts +18 -0
- package/dist/engineUrl.js +52 -0
- package/dist/env/uiLanguage.d.ts +9 -0
- package/dist/env/uiLanguage.js +35 -0
- package/dist/eventLeg.d.ts +92 -0
- package/dist/eventLeg.js +285 -0
- package/dist/executionLaneCapability.d.ts +0 -4
- package/dist/executionLaneCapability.js +3 -16
- package/dist/fileHistoryCaptureCapability.d.ts +0 -4
- package/dist/fileHistoryCaptureCapability.js +5 -7
- package/dist/fleet/fleetLedger.d.ts +0 -3
- package/dist/fleet/fleetLedger.js +21 -36
- package/dist/fleet/fleetProjection.d.ts +2 -2
- package/dist/fleet/fleetProjection.js +10 -8
- package/dist/frameBinding.d.ts +5 -0
- package/dist/frameBinding.js +23 -0
- package/dist/gateFailureCodes.d.ts +2 -0
- package/dist/gateFailureCodes.js +15 -0
- package/dist/gateOutcome.d.ts +3 -1
- package/dist/gateOutcome.js +25 -6
- package/dist/gateVocabulary.d.ts +5 -0
- package/dist/gateVocabulary.js +64 -2
- package/dist/generated/engineAskFaceTables.js +2 -2
- package/dist/generated/engineFactTables.d.ts +6 -3
- package/dist/generated/engineFactTables.js +22 -4
- package/dist/generated/engineNoticeTables.js +9 -0
- package/dist/generated/toolNameTables.d.ts +1 -0
- package/dist/generated/toolNameTables.js +1 -0
- package/dist/hitl/allowRuleShadow.d.ts +6 -1
- package/dist/hitl/allowRuleShadow.js +21 -17
- package/dist/hitl/approvalCardReading.d.ts +15 -0
- package/dist/hitl/approvalCardReading.js +154 -0
- package/dist/hitl/approvalCardReasons.d.ts +13 -0
- package/dist/hitl/approvalCardReasons.js +120 -0
- package/dist/hitl/approvalHolds.d.ts +47 -15
- package/dist/hitl/approvalHolds.js +134 -28
- package/dist/hitl/approvalResolution.d.ts +51 -26
- package/dist/hitl/approvalResolution.js +86 -122
- package/dist/hitl/approvalsFeed.js +6 -18
- package/dist/hitl/askClassPair.d.ts +2 -0
- package/dist/hitl/askClassPair.js +1 -0
- package/dist/hitl/askGateWire.d.ts +20 -2
- package/dist/hitl/askGateWire.js +49 -1
- package/dist/hitl/askParkRowRouting.d.ts +5 -0
- package/dist/hitl/askParkRowRouting.js +32 -1
- package/dist/hitl/askSettlementLine.d.ts +18 -0
- package/dist/hitl/askSettlementLine.js +79 -0
- package/dist/hitl/automaticAnswerVerdict.d.ts +1 -1
- package/dist/hitl/automaticAnswerVerdict.js +21 -5
- package/dist/hitl/crashConverged.d.ts +11 -20
- package/dist/hitl/crashConverged.js +56 -0
- package/dist/hitl/crashConvergedNotice.d.ts +3 -1
- package/dist/hitl/crashConvergedNotice.js +48 -11
- package/dist/hitl/decisionConflict.js +3 -10
- package/dist/hitl/decisionRefusal.d.ts +40 -1
- package/dist/hitl/decisionRefusal.js +199 -42
- package/dist/hitl/frameRouter.d.ts +5 -2
- package/dist/hitl/frameRouter.js +20 -16
- package/dist/hitl/gateLedger.d.ts +2 -0
- package/dist/hitl/gateLedger.js +50 -13
- package/dist/hitl/hitlBridge.d.ts +1 -2
- package/dist/hitl/hitlBridge.js +10 -7
- package/dist/hitl/livePendingAsk.d.ts +3 -3
- package/dist/hitl/livePendingAsk.js +7 -18
- package/dist/hitl/parkResolver.d.ts +2 -24
- package/dist/hitl/parkResolver.js +61 -97
- package/dist/hitl/persistedRulesWire.d.ts +24 -0
- package/dist/hitl/persistedRulesWire.js +122 -2
- package/dist/hitl/planReviewWire.d.ts +26 -13
- package/dist/hitl/planReviewWire.js +112 -78
- package/dist/hitl/refusedToolNameProse.d.ts +0 -1
- package/dist/hitl/refusedToolNameProse.js +0 -3
- package/dist/hitl/replayedApproval.d.ts +4 -3
- package/dist/hitl/replayedApproval.js +7 -4
- package/dist/hitl/sessionPolicyDeliverable.js +2 -4
- package/dist/hitl/sessionPolicyWire.d.ts +32 -20
- package/dist/hitl/sessionPolicyWire.js +162 -52
- package/dist/hitl/standingRows.d.ts +20 -2
- package/dist/hitl/standingRows.js +69 -8
- package/dist/hitl/toolApprovalWire.d.ts +87 -152
- package/dist/hitl/toolApprovalWire.js +591 -380
- package/dist/hookMatcherVerdict.d.ts +6 -1
- package/dist/hookMatcherVerdict.js +14 -7
- package/dist/hooksWireCaps.d.ts +2 -2
- package/dist/hooksWireCaps.js +59 -55
- package/dist/i18n/messages.en.d.ts +121 -0
- package/dist/i18n/messages.en.js +119 -0
- package/dist/i18n/messages.zh.d.ts +3 -0
- package/dist/i18n/messages.zh.js +120 -0
- package/dist/i18n/translate.d.ts +25 -0
- package/dist/i18n/translate.js +127 -0
- package/dist/index.d.ts +53 -18
- package/dist/index.js +38 -10
- package/dist/inheritEnvCapability.d.ts +31 -0
- package/dist/inheritEnvCapability.js +104 -0
- package/dist/liveModelCatalog.d.ts +1 -2
- package/dist/liveModelCatalog.js +2 -6
- package/dist/liveQuestionStore.d.ts +2 -21
- package/dist/mcpLiveness.d.ts +2 -1
- package/dist/mcpProbeWire.d.ts +6 -1
- package/dist/mcpProbeWire.js +1 -1
- package/dist/mcpWireCaps.d.ts +13 -2
- package/dist/mcpWireCaps.js +48 -0
- package/dist/memoryEntriesWire.d.ts +4 -9
- package/dist/model/modelSupplyRules.d.ts +0 -2
- package/dist/model/modelSupplyRules.js +3 -12
- package/dist/model/modelsPolicy.d.ts +0 -5
- package/dist/model/modelsPolicy.js +6 -36
- package/dist/model/subagentModelWord.d.ts +31 -0
- package/dist/model/subagentModelWord.js +261 -0
- package/dist/notifications.d.ts +6 -0
- package/dist/notifications.js +71 -23
- package/dist/outputStyleSeatCapability.d.ts +0 -3
- package/dist/outputStyleSeatCapability.js +0 -3
- package/dist/ownKey.d.ts +15 -0
- package/dist/ownKey.js +60 -3
- package/dist/panelReduce.d.ts +15 -9
- package/dist/panelReduce.js +680 -549
- package/dist/panelStateHolder.d.ts +3 -7
- package/dist/panelStateHolder.js +14 -130
- package/dist/peerLaneCapability.d.ts +0 -4
- package/dist/peerLaneCapability.js +0 -6
- package/dist/permissionRulesWriteCapability.d.ts +0 -4
- package/dist/permissionRulesWriteCapability.js +0 -6
- package/dist/permissionWireCaps.d.ts +2 -2
- package/dist/permissionWireCaps.js +2 -0
- package/dist/permissionsAllowGrantCapability.d.ts +0 -4
- package/dist/permissionsAllowGrantCapability.js +0 -6
- package/dist/permissionsDeclaration.d.ts +0 -11
- package/dist/permissionsDeclaration.js +60 -53
- package/dist/pluginHooksWire.d.ts +1 -1
- package/dist/pluginHooksWire.js +3 -6
- package/dist/preemptWire.d.ts +44 -0
- package/dist/preemptWire.js +83 -0
- package/dist/printToolResultFrame.js +15 -4
- package/dist/replayBody.d.ts +3 -0
- package/dist/replayBody.js +14 -0
- package/dist/request/taskRequest.d.ts +0 -1
- package/dist/request/taskRequest.js +0 -3
- package/dist/resumeRefusalCopy.d.ts +2 -1
- package/dist/resumeRefusalCopy.js +38 -2
- package/dist/retryStatus.d.ts +8 -0
- package/dist/retryStatus.js +106 -1
- package/dist/rewindArchiveCapability.d.ts +0 -4
- package/dist/rewindArchiveCapability.js +2 -10
- package/dist/rewindArchiveReading.d.ts +0 -1
- package/dist/rewindArchiveReading.js +0 -3
- package/dist/runCancelContext.d.ts +2 -1
- package/dist/runCancelContext.js +4 -2
- package/dist/runReattachPolicy.d.ts +31 -0
- package/dist/runReattachPolicy.js +46 -0
- package/dist/runTerminal.d.ts +3 -6
- package/dist/runTerminal.js +8 -9
- package/dist/sandboxWire.d.ts +3 -1
- package/dist/sandboxWire.js +76 -27
- package/dist/scenarioWire.js +1 -1
- package/dist/seam.d.ts +24 -2
- package/dist/seam.js +15 -3
- package/dist/seatContract.d.ts +53 -10
- package/dist/seatContract.js +132 -81
- package/dist/sessionPolicyCapability.d.ts +0 -4
- package/dist/sessionPolicyCapability.js +0 -6
- package/dist/sessionSyncFileHistoryCapability.d.ts +0 -3
- package/dist/sessionSyncFileHistoryCapability.js +0 -3
- package/dist/skillToolListsCapability.d.ts +0 -3
- package/dist/skillToolListsCapability.js +0 -3
- package/dist/sqlEngineCapability.d.ts +0 -4
- package/dist/sqlEngineCapability.js +0 -6
- package/dist/steerPriorityCapability.d.ts +0 -3
- package/dist/steerPriorityCapability.js +0 -3
- package/dist/streamDrainingLegs.d.ts +4 -0
- package/dist/streamDrainingLegs.js +6 -1
- package/dist/subagent/engineCompactWire.d.ts +0 -1
- package/dist/subagent/engineCompactWire.js +7 -5
- package/dist/subagent/engineTaskHandleWire.js +4 -7
- package/dist/subagentContentStore.js +1 -11
- package/dist/submitReopen.d.ts +24 -0
- package/dist/submitReopen.js +75 -0
- package/dist/terminalStatuses.d.ts +3 -0
- package/dist/terminalStatuses.js +10 -2
- package/dist/toolResult.d.ts +10 -1
- package/dist/toolResult.js +34 -6
- package/dist/toolRoster.d.ts +0 -2
- package/dist/toolRoster.js +0 -2
- package/dist/turnFailurePresentation.d.ts +28 -0
- package/dist/turnFailurePresentation.js +205 -0
- package/dist/userInvokedSkillsCapability.d.ts +0 -3
- package/dist/userInvokedSkillsCapability.js +0 -3
- package/dist/webSearchBackendCapability.d.ts +0 -4
- package/dist/webSearchBackendCapability.js +0 -6
- package/dist/wireErrorTriage.js +5 -24
- package/dist/wireFailureShape.d.ts +62 -5
- package/dist/wireFailureShape.js +105 -5
- package/dist/wireRefusalCopy.d.ts +12 -2
- package/dist/wireRefusalCopy.js +50 -52
- package/dist/workflowsJournalCapability.d.ts +0 -4
- package/dist/workflowsJournalCapability.js +0 -6
- package/dist/writeProtectionCapability.d.ts +0 -4
- package/dist/writeProtectionCapability.js +0 -6
- package/docs/INTEGRATION-CLIENTS.md +1305 -46
- package/package.json +5 -4
- package/dist/attachmentSeatCapability.d.ts +0 -12
- package/dist/attachmentSeatCapability.js +0 -23
- package/dist/hitl/approvalOutcomeNote.d.ts +0 -10
- package/dist/hitl/approvalOutcomeNote.js +0 -29
- package/dist/sessionReadRedactionCapability.d.ts +0 -13
- package/dist/sessionReadRedactionCapability.js +0 -35
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
const ZH = {
|
|
2
|
+
'onboard.chrome.step': '第 {step} / {total} 步 · {label}',
|
|
3
|
+
'onboard.chrome.quitHint': '(连按两次 ctrl+C 退出)',
|
|
4
|
+
'onboard.chrome.quitArmed': '再按一次退出安装向导',
|
|
5
|
+
'onboard.station.language': '语言',
|
|
6
|
+
'onboard.station.theme': '主题',
|
|
7
|
+
'onboard.station.model': '模型',
|
|
8
|
+
'onboard.station.tiers': '模型档位',
|
|
9
|
+
'onboard.station.websearch': '联网搜索',
|
|
10
|
+
'onboard.station.memory': '记忆',
|
|
11
|
+
'onboard.station.mcp': 'MCP 服务器',
|
|
12
|
+
'onboard.station.skills': '技能',
|
|
13
|
+
'onboard.station.plugins': '插件',
|
|
14
|
+
'onboard.blurb.model': '添加 sema 要用的模型 —— 之后随时可用 `sema config model` 修改。',
|
|
15
|
+
'onboard.blurb.tiers': '把模型绑到各个档位(pro 跑日常、flash 跑便宜的量),并选一个默认档 —— 之后随时可用 `sema config tiers` 修改。',
|
|
16
|
+
'onboard.blurb.mcp': '导入 MCP 服务器 —— 之后随时可用 `sema config mcp` 修改。',
|
|
17
|
+
'onboard.blurb.skills': '导入技能 —— 之后随时可用 `sema config skills` 修改。',
|
|
18
|
+
'onboard.blurb.plugins': '安装插件 —— 之后随时可用 `sema config plugins` 修改。',
|
|
19
|
+
'onboard.welcome.title': '✻ 欢迎使用 Sema',
|
|
20
|
+
'onboard.welcome.tagline': '一个壳,管住你的整支舰队 —— 本地引擎自启、多智能体编排,想上云的时候再上云。',
|
|
21
|
+
'onboard.theme.hint': 'enter 继续 · esc 返回上一步 · 连按两次 q 退出',
|
|
22
|
+
'onboard.theme.hintFirst': 'enter 继续 · 连按两次 q/esc 退出',
|
|
23
|
+
'onboard.language.title': '选择你的语言',
|
|
24
|
+
'onboard.language.blurb': 'sema 自己的界面(安装向导、`sema config`、`sema doctor`)使用这个语言 —— 之后随时可用 `sema config language` 修改。',
|
|
25
|
+
'onboard.language.hint': '↑↓ 选择 · enter 继续',
|
|
26
|
+
'onboard.language.detected': '按系统语言推断',
|
|
27
|
+
'onboard.language.savedPreference': '你已保存的选择',
|
|
28
|
+
'onboard.language.sourceDefault': '缺省 —— 没有已保存的选择,也没读到系统语言',
|
|
29
|
+
'onboard.memory.title': '要让 sema 跨会话记住东西吗?',
|
|
30
|
+
'onboard.memory.on': '开 —— 记住有用的事实和偏好',
|
|
31
|
+
'onboard.memory.off': '关 —— 不保存、不召回、请求里也不带记忆',
|
|
32
|
+
'onboard.memory.current': '当前设置',
|
|
33
|
+
'onboard.memory.blurb': '自动记忆由引擎保存,你所有的项目共用一份。之后随时可用 /memory 或 `sema config` 修改。',
|
|
34
|
+
'onboard.memory.hint': '↑↓ 选择 · enter 继续',
|
|
35
|
+
'onboard.language.saveFailed': 'language 已选 {language},但没能存下来({error})—— 仅本次会话生效',
|
|
36
|
+
'config.header.subtitle': '设置',
|
|
37
|
+
'config.menu.hint': '↑↓ 选择 · enter 进入 · esc 退出',
|
|
38
|
+
'config.domain.model': '模型',
|
|
39
|
+
'config.domain.tiers': '模型档位',
|
|
40
|
+
'config.domain.mcp': 'MCP 服务器',
|
|
41
|
+
'config.domain.skills': '技能',
|
|
42
|
+
'config.domain.plugins': '插件',
|
|
43
|
+
'config.domain.marketplaces': '插件市场',
|
|
44
|
+
'config.domain.engine': '引擎',
|
|
45
|
+
'config.domain.language': '语言',
|
|
46
|
+
'config.language.title': '语言',
|
|
47
|
+
'config.language.intro': 'sema 自己界面使用的语言。模型回复用什么语言由你的提问和 /config 里的 `Language` 设置决定,与这里无关。',
|
|
48
|
+
'config.language.hint': '↑↓ 选择 · enter 保存 · esc 返回',
|
|
49
|
+
'config.language.saved': '语言已设为 {language}。',
|
|
50
|
+
'config.language.saveFailed': '语言没能保存:{error}',
|
|
51
|
+
'config.language.sourceSaved': '已保存',
|
|
52
|
+
'config.language.sourceSystem': '按系统语言推断',
|
|
53
|
+
'config.language.sourceDefault': '缺省(没有已保存的选择,也没读到系统语言)',
|
|
54
|
+
'doctor.section.diagnostics': '诊断',
|
|
55
|
+
'doctor.section.version': '版本',
|
|
56
|
+
'doctor.section.settings': '设置',
|
|
57
|
+
'doctor.section.updates': '更新',
|
|
58
|
+
'doctor.section.engine': '引擎',
|
|
59
|
+
'doctor.section.axes': '三轴',
|
|
60
|
+
'doctor.common.unknown': '未知',
|
|
61
|
+
'doctor.version.line': '└ 版本:sema {version}',
|
|
62
|
+
'doctor.version.enginePinned': '└ 引擎(锁定版本):{version}',
|
|
63
|
+
'doctor.version.ccBase': '└ CC 兼容底座:{version} · 安装形态 {installationType}',
|
|
64
|
+
'doctor.version.packageManager': '└ 包管理器:{packageManager}',
|
|
65
|
+
'doctor.version.path': '└ 路径:{path}',
|
|
66
|
+
'doctor.version.invoked': '└ 调用入口:{binary}',
|
|
67
|
+
'doctor.version.diagnosticUnavailable': '└ WARN 安装诊断不可用',
|
|
68
|
+
'doctor.row.warn': '└ 警告:{issue}',
|
|
69
|
+
'doctor.row.fix': ' 修法:{fix}',
|
|
70
|
+
'doctor.row.learnMore': ' 了解更多:{link}',
|
|
71
|
+
'doctor.settings.ok': '└ 设置文件:OK 没有报告问题',
|
|
72
|
+
'doctor.settings.fileUnspecified': '(未指明文件)',
|
|
73
|
+
'doctor.settings.checkUnavailable': '└ WARN 设置检查不可用',
|
|
74
|
+
'doctor.updates.devChannel': '└ 渠道:dev 工作目录(本地 dist 构建 —— 不是 npm 安装)',
|
|
75
|
+
'doctor.updates.npmChannel': '└ 渠道:npm 注册表(@sema-agent/cli)',
|
|
76
|
+
'doctor.updates.installed': '└ 已装版本:{version}',
|
|
77
|
+
'doctor.updates.latest': '└ 最新版本:{version}',
|
|
78
|
+
'doctor.updates.upToDateSuffix': '(已是最新)',
|
|
79
|
+
'doctor.updates.updateAvailable': '└ 有可用更新 —— 运行 `sema update`',
|
|
80
|
+
'doctor.updates.fetchFailed': '└ 未能从 sema 注册表取到最新版本',
|
|
81
|
+
'doctor.updates.checkUnavailable': '└ WARN 更新检查不可用',
|
|
82
|
+
'doctor.updates.localChannel': '└ 渠道:装在 {path} 的 npm 包(不是 npm 全局安装)',
|
|
83
|
+
'doctor.updates.unknownChannel': '└ 渠道:npm 包(安装位置未确认:{why})',
|
|
84
|
+
'doctor.updates.aheadSuffix': '(已装版本更新 —— 无需更新)',
|
|
85
|
+
'doctor.updates.updateAvailableLocal': '└ 有可用更新 —— 到它所在的项目里更新(sema update 只更新 npm 全局安装)',
|
|
86
|
+
'doctor.updates.autoOn': '└ 自动更新:开(每 4 小时检查一次)',
|
|
87
|
+
'doctor.updates.autoOff': '└ 自动更新:关({reason})',
|
|
88
|
+
'doctor.updates.lastAutoFailure': '└ 上次自动更新:{detail}',
|
|
89
|
+
'doctor.diag.managedSettingsInvalid.issue': 'managed-settings.json:strictPluginOnlyCustomization 的值无效(应为 true 或数组,实际是 {type})',
|
|
90
|
+
'doctor.diag.managedSettingsInvalid.fix': '该字段会被静默忽略(schema 的 .catch 兜底)。请设为 true,或设为以下项组成的数组:{surfaces}。',
|
|
91
|
+
'doctor.diag.managedSettingsUnknown.issue': 'managed-settings.json:strictPluginOnlyCustomization 里有 {count} 个本客户端不认识的值:{values}',
|
|
92
|
+
'doctor.diag.managedSettingsUnknown.fix': '这些值会被静默忽略(向前兼容)。本版本已知的界面:{surfaces}。要么删掉它们,要么说明这个客户端版本比 managed-settings 想用的旧。',
|
|
93
|
+
'doctor.diag.pathWindows.issue': '原生安装已存在,但 {path} 不在你的 PATH 里',
|
|
94
|
+
'doctor.diag.pathWindows.fix': '添加方法:打开系统属性 → 环境变量 → 编辑用户 PATH → 新建 → 添加上面这个路径,然后重启终端。',
|
|
95
|
+
'doctor.diag.pathUnix.issue': '原生安装已存在,但 ~/.local/bin 不在你的 PATH 里',
|
|
96
|
+
'doctor.diag.pathUnix.fix': '运行:echo \'export PATH="$HOME/.local/bin:$PATH"\' >> {configFile},然后开一个新终端,或运行:source {configFile}',
|
|
97
|
+
'doctor.diag.unknownShellConfig': '你的 shell 配置文件',
|
|
98
|
+
'doctor.diag.localMismatch.issue': '正在运行本地安装,但配置里的安装方式是 \'{method}\'',
|
|
99
|
+
'doctor.diag.nativeMismatch.issue': '正在运行原生安装,但配置里的安装方式是 \'{method}\'',
|
|
100
|
+
'doctor.diag.considerNative.fix': '可以考虑改用原生安装:sema install',
|
|
101
|
+
'doctor.diag.runSemaInstall.fix': '运行 sema install 来更新配置',
|
|
102
|
+
'doctor.diag.localExists.issue': '本地安装已存在,但当前没有在用',
|
|
103
|
+
'doctor.diag.localNotAccessible.issue': '本地安装无法访问',
|
|
104
|
+
'doctor.diag.localNotAccessibleAlias.fix': '别名已存在,但指向的目标无效:{alias}。更新别名:alias claude="~/.sema/local/claude"',
|
|
105
|
+
'doctor.diag.localNotAccessibleNoAlias.fix': '创建别名:alias claude="~/.sema/local/claude"',
|
|
106
|
+
'doctor.diag.linuxGlob.issue': 'sandbox 权限规则里的 glob 通配符在 Linux 上并非全部支持',
|
|
107
|
+
'doctor.diag.linuxGlob.fix': '发现 {count} 条通配模式:{patterns}。在 Linux 上,Edit/Read 规则里的 glob 通配符会被忽略。',
|
|
108
|
+
'doctor.diag.leftoverGlobal.issue': '{path} 处有残留的 npm 全局安装',
|
|
109
|
+
'doctor.diag.orphanGlobal.issue': '{path} 处有孤立的 npm 全局包',
|
|
110
|
+
'doctor.diag.leftoverLocal.issue': '{path} 处有残留的 npm 本地安装',
|
|
111
|
+
'doctor.diag.runCmd.fix': '运行:{cmd}',
|
|
112
|
+
'doctor.diag.insufficientPermissions.issue': '自动更新权限不足',
|
|
113
|
+
'doctor.diag.insufficientPermissions.fix': '任选一种:(1)不用 sudo 重装 node,或者(2)用 `sema install` 走原生安装',
|
|
114
|
+
'model.subagent.tiersInert': '子代理模型 {word} 是档位词,但这台引擎没有配置模型档位 —— 子代理将沿用父代理的模型。',
|
|
115
|
+
'model.subagent.chainUnbound': '子代理模型 {word} 在这台引擎上没有绑定(它和比它低的档位都没绑模型)—— 子代理将沿用父代理的模型。',
|
|
116
|
+
'model.subagent.bindingNotInCatalog': '子代理模型 {word} 绑定的模型不在这台引擎的模型目录里 —— 子代理将沿用父代理的模型。',
|
|
117
|
+
'model.subagent.ambiguous': '子代理模型 {word} 同时对上了几个只差大小写的模型名 —— 请照原样拼写;子代理将沿用父代理的模型。',
|
|
118
|
+
};
|
|
119
|
+
export const ZH_MESSAGES = Object.freeze(ZH);
|
|
120
|
+
export const TERM_SLOTS = Object.freeze({});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type MessageKey } from './messages.en.js';
|
|
2
|
+
import { type UiLanguage } from '../env/uiLanguage.js';
|
|
3
|
+
export declare const DATA_FACE_LANGUAGE = "en";
|
|
4
|
+
declare const MESSAGE_REF_BRAND: unique symbol;
|
|
5
|
+
export interface MessageRef {
|
|
6
|
+
readonly key: MessageKey;
|
|
7
|
+
readonly params?: MessageParams;
|
|
8
|
+
readonly [MESSAGE_REF_BRAND]: true;
|
|
9
|
+
}
|
|
10
|
+
export type MessageParam = string | number | MessageRef;
|
|
11
|
+
export type MessageParams = Readonly<Record<string, MessageParam>>;
|
|
12
|
+
export type Translator = (key: MessageKey, params?: MessageParams) => string;
|
|
13
|
+
export type MissLedger = {
|
|
14
|
+
record(entry: string): void;
|
|
15
|
+
count(): number;
|
|
16
|
+
entries(): string[];
|
|
17
|
+
reset(): void;
|
|
18
|
+
};
|
|
19
|
+
export declare function createMissLedger(): MissLedger;
|
|
20
|
+
export declare const uiMissLedger: MissLedger;
|
|
21
|
+
export declare function translate(lang: UiLanguage, key: string, params?: MessageParams, ledger?: MissLedger): string;
|
|
22
|
+
export declare function createTranslator(lang: UiLanguage, ledger?: MissLedger): Translator;
|
|
23
|
+
export declare function msg(key: MessageKey, params?: MessageParams): MessageRef;
|
|
24
|
+
export declare function renderMessage(ref: MessageRef, lang?: UiLanguage, ledger?: MissLedger): string;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { EN_MESSAGES } from './messages.en.js';
|
|
2
|
+
import { ZH_MESSAGES } from './messages.zh.js';
|
|
3
|
+
import { isUiLanguage } from '../env/uiLanguage.js';
|
|
4
|
+
export const DATA_FACE_LANGUAGE = 'en';
|
|
5
|
+
export function createMissLedger() {
|
|
6
|
+
const seen = new Map();
|
|
7
|
+
let total = 0;
|
|
8
|
+
return {
|
|
9
|
+
record(entry) {
|
|
10
|
+
total++;
|
|
11
|
+
seen.set(entry, (seen.get(entry) ?? 0) + 1);
|
|
12
|
+
},
|
|
13
|
+
count: () => total,
|
|
14
|
+
entries: () => [...seen.keys()].sort(),
|
|
15
|
+
reset() {
|
|
16
|
+
seen.clear();
|
|
17
|
+
total = 0;
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export const uiMissLedger = createMissLedger();
|
|
22
|
+
const CATALOGS = Object.freeze({
|
|
23
|
+
en: EN_MESSAGES,
|
|
24
|
+
zh: ZH_MESSAGES,
|
|
25
|
+
});
|
|
26
|
+
const UNKNOWN_LANGUAGE_ENTRY = 'lang:?';
|
|
27
|
+
const PLACEHOLDER = /\{(\w+)\}/g;
|
|
28
|
+
const MESSAGE_REF_MARK = Symbol.for('@sema-agent/client-core.MessageRef');
|
|
29
|
+
function isMintedRef(v) {
|
|
30
|
+
if (v === null || typeof v !== 'object')
|
|
31
|
+
return false;
|
|
32
|
+
try {
|
|
33
|
+
const d = Object.getOwnPropertyDescriptor(v, MESSAGE_REF_MARK);
|
|
34
|
+
return d !== undefined && 'value' in d && d.value === true;
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function lookup(lang, key) {
|
|
41
|
+
if (typeof key !== 'string')
|
|
42
|
+
return undefined;
|
|
43
|
+
const d = Object.getOwnPropertyDescriptor(CATALOGS[lang], key);
|
|
44
|
+
return d !== undefined && 'value' in d && typeof d.value === 'string' ? d.value : undefined;
|
|
45
|
+
}
|
|
46
|
+
function paramOf(params, name) {
|
|
47
|
+
if (params === null || typeof params !== 'object')
|
|
48
|
+
return undefined;
|
|
49
|
+
try {
|
|
50
|
+
const d = Object.getOwnPropertyDescriptor(params, name);
|
|
51
|
+
return d !== undefined && 'value' in d ? d.value : undefined;
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function noteMiss(ledger, entry) {
|
|
58
|
+
try {
|
|
59
|
+
ledger.record(entry);
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
catch {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function languageOf(lang, ledger) {
|
|
67
|
+
if (isUiLanguage(lang))
|
|
68
|
+
return lang;
|
|
69
|
+
noteMiss(ledger, UNKNOWN_LANGUAGE_ENTRY);
|
|
70
|
+
return 'en';
|
|
71
|
+
}
|
|
72
|
+
const MAX_REF_DEPTH = 8;
|
|
73
|
+
function interpolate(lang, template, key, params, ledger, depth) {
|
|
74
|
+
if (!template.includes('{'))
|
|
75
|
+
return template;
|
|
76
|
+
return template.replace(PLACEHOLDER, (token, name) => {
|
|
77
|
+
const v = paramOf(params, name);
|
|
78
|
+
if (typeof v === 'string')
|
|
79
|
+
return v;
|
|
80
|
+
if (typeof v === 'number')
|
|
81
|
+
return String(v);
|
|
82
|
+
if (isMintedRef(v) && depth < MAX_REF_DEPTH)
|
|
83
|
+
return render(v, lang, ledger, depth + 1);
|
|
84
|
+
noteMiss(ledger, `${key}#${name}`);
|
|
85
|
+
return token;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function render(ref, lang, ledger, depth) {
|
|
89
|
+
return translateIn(lang, paramOf(ref, 'key'), paramOf(ref, 'params'), ledger, depth);
|
|
90
|
+
}
|
|
91
|
+
function translateIn(lang, key, params, ledger, depth) {
|
|
92
|
+
const hit = lookup(lang, key);
|
|
93
|
+
if (hit !== undefined)
|
|
94
|
+
return interpolate(lang, hit, key, params, ledger, depth);
|
|
95
|
+
noteMiss(ledger, typeof key === 'string' ? key : 'key:?');
|
|
96
|
+
const fallback = lookup('en', key);
|
|
97
|
+
if (fallback === undefined)
|
|
98
|
+
return '';
|
|
99
|
+
return interpolate(lang, fallback, key, params, ledger, depth);
|
|
100
|
+
}
|
|
101
|
+
export function translate(lang, key, params, ledger = uiMissLedger) {
|
|
102
|
+
return translateIn(languageOf(lang, ledger), key, params, ledger, 0);
|
|
103
|
+
}
|
|
104
|
+
export function createTranslator(lang, ledger = uiMissLedger) {
|
|
105
|
+
return (key, params) => translate(lang, key, params, ledger);
|
|
106
|
+
}
|
|
107
|
+
export function msg(key, params) {
|
|
108
|
+
const copy = {};
|
|
109
|
+
if (params !== undefined && params !== null && typeof params === 'object') {
|
|
110
|
+
for (const name of Object.keys(params)) {
|
|
111
|
+
const v = paramOf(params, name);
|
|
112
|
+
if (v !== undefined)
|
|
113
|
+
Object.defineProperty(copy, name, { value: v, enumerable: true });
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
const ref = { key, ...(params !== undefined ? { params: Object.freeze(copy) } : {}) };
|
|
117
|
+
Object.defineProperty(ref, MESSAGE_REF_MARK, { value: true, enumerable: false });
|
|
118
|
+
return Object.freeze(ref);
|
|
119
|
+
}
|
|
120
|
+
export function renderMessage(ref, lang = DATA_FACE_LANGUAGE, ledger = uiMissLedger) {
|
|
121
|
+
const L = languageOf(lang, ledger);
|
|
122
|
+
if (!isMintedRef(ref)) {
|
|
123
|
+
noteMiss(ledger, 'ref:?');
|
|
124
|
+
return '';
|
|
125
|
+
}
|
|
126
|
+
return render(ref, L, ledger, 0);
|
|
127
|
+
}
|
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, installWorkflowStatusProbe, isEngineWorkflowNotified, isHookNoticeFrame, isOwnWorkflowRun, isTaskNotificationObjective, isWorkflowCompletionCardEnqueued, listOwnWorkflowRuns, markEngineWorkflowNotified, normalizeTaskNotification, noteOwnWorkflowRun, noteWorkflowCompletionCardEnqueued, notificationDropCounters, notificationQueuePortMisses, outstandingAbandonedCount, outstandingBgTaskPrompt, outstandingDeliverableWorkflowCount, outstandingWorkflowCount, parseTranscriptNotificationSeeds, registerOutstandingBgTask, registerOutstandingWorkflowRun, renderTaskNotificationXml, splitApiErrorSupplement, subscribeOutstandingWorkflows, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
4
|
-
export type { EngineWorkflowCompletion, GoalHookNotice, HookEntryType, HookFailureNotice, HookFailureReason, HookFailureVerdict, HookNoticeReason, HookNoticeVerdict, HookNoticeWire, NotificationDropCounters, NotificationQueuePort, QueuedCommandLike, TaskNotificationFields, TranscriptNotificationSeeds, } 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, taskNotificationDedupKey, taskNotificationDedupKeyFromWire, taskNotificationDeliverySupplement, } from './notifications.js';
|
|
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';
|
|
7
7
|
export type { DiagnosticsAttachment, } from './diagnostics.js';
|
|
@@ -13,6 +13,12 @@ export * from './adapt/textSegmentAuthority.js';
|
|
|
13
13
|
export * from './engineHttpTools.js';
|
|
14
14
|
export * from './sdkWireTransit.js';
|
|
15
15
|
export { SEMA_SEGMENT_ID_KEY } from './adapt/textStream.js';
|
|
16
|
+
export { engineRefOf, sameEngineRef, TRANSCRIPT_ROW_SIDECAR_KEYS } from './engineRowRef.js';
|
|
17
|
+
export type { EngineRowRef, SameEngineRefVerdict, EngineBoundRun } from './engineRowRef.js';
|
|
18
|
+
export { isReplayMarked } from './replayBody.js';
|
|
19
|
+
export { composeEventLeg, EVENT_LEG_KINDS, EVENT_LEG_TABLE } from './eventLeg.js';
|
|
20
|
+
export type { EventLeg, EventLegBindCause, EventLegBoundInfo, EventLegElicitationFrame, EventLegFrameInfo, EventLegHitlEnvelope, EventLegHitlPorts, EventLegIdleTriagePorts, EventLegKind, EventLegLiveSpec, EventLegOwnerPorts, EventLegPortName, EventLegPorts, EventLegQuestionFrame, EventLegRefusal, EventLegReport, EventLegRow, EventLegRunPorts, EventLegRunSpec, EventLegSpec, EventLegStage, EventLegStreamContext, EventLegStreamDecorator, EventLegTap, EventLegToolApprovalFrame, } from './eventLeg.js';
|
|
21
|
+
export { frameBindingOf, inheritFrameBinding } from './frameBinding.js';
|
|
16
22
|
export { __resetSubagentContentStoreConfigForTests, __resetSubagentOwnerLedgerForTests, clearSubagentContent, coerceOutput, configureSubagentContentStore, getBgParentRun, getBgParentRunOwner, getBgTerminalFacts, getSubagentContentSnapshot, isOwnEngineRun, parentToolCallIdOf, planSubagentViewSlots, publishSubagentContentEvent, pushSubagentLocalEcho, recordBgParentRun, recordOwnEngineRun, recordSubagentOwner, recordSubagentOwnerFromProgress, registerSubagentAlias, settleSubagentContent, SUBAGENT_CONTENT_STORE_DEFAULTS, subagentContentStoreConfig, subagentOwnerSessionConflicts, subscribeSubagentContent, } from './subagentContentStore.js';
|
|
17
23
|
export type { BgTerminalFacts, SubagentContentEvent, SubagentContentItem, SubagentContentSnapshot, SubagentContentStoreConfig, SubagentOwnerRecord, SubagentOwnerSessionConflict, SubagentViewSlot, } from './subagentContentStore.js';
|
|
18
24
|
export * from './engineAgentPanelStore.js';
|
|
@@ -33,7 +39,7 @@ export * from './executionLaneCapability.js';
|
|
|
33
39
|
export * from './approvalsStreamLiveCapability.js';
|
|
34
40
|
export * from './peerLaneCapability.js';
|
|
35
41
|
export * from './permissionRulesWriteCapability.js';
|
|
36
|
-
export {
|
|
42
|
+
export { observedPermissionsAllowGrant, permissionsAllowGrantAvailable, permissionsAllowGrantDoctorDetail, projectPermissionsAllowGrantCapability, } from './permissionsAllowGrantCapability.js';
|
|
37
43
|
export type { PermissionsAllowGrantReading } from './permissionsAllowGrantCapability.js';
|
|
38
44
|
export * from './sessionPolicyCapability.js';
|
|
39
45
|
export * from './memoryComplianceCapability.js';
|
|
@@ -65,15 +71,21 @@ export * from './skillToolListsCapability.js';
|
|
|
65
71
|
export * from './steerPriorityCapability.js';
|
|
66
72
|
export * from './permissionModesCapability.js';
|
|
67
73
|
export * from './approvalDecidedByCapability.js';
|
|
68
|
-
export * from './sessionReadRedactionCapability.js';
|
|
69
74
|
export * from './outputStyleSeatCapability.js';
|
|
70
75
|
export * from './mcpProbeWire.js';
|
|
76
|
+
export * from './connectorStatus.js';
|
|
71
77
|
export * from './effectiveFacts.js';
|
|
72
78
|
export * from './gateOutcome.js';
|
|
73
79
|
export * from './postureKnob.js';
|
|
74
80
|
export * from './engineIdentity.js';
|
|
75
81
|
export { transportFailureScene } from './engineWireFor.js';
|
|
76
82
|
export type { EngineWireNoAnswerKind, TransportFailureChainEnd, TransportFailureLayer, TransportFailureScene, TransportFailureSocket } from './engineWireFor.js';
|
|
83
|
+
export { engineUrlTransportVerdict, normalizeEngineBaseUrl } from './engineUrl.js';
|
|
84
|
+
export type { EngineBaseUrlReading, EngineBaseUrlRefusalReason, EngineUrlTransportRefusalReason, EngineUrlTransportVerdict } from './engineUrl.js';
|
|
85
|
+
export { submitStreamWithBoundedReopen } from './submitReopen.js';
|
|
86
|
+
export type { BoundedSubmitStream, SubmitStreamOptions, SubmitStreamReading, SubmitStreamReopenDeps } from './submitReopen.js';
|
|
87
|
+
export { createStreamDrainingLegs } from './streamDrainingLegs.js';
|
|
88
|
+
export type { StreamDrainingLegs } from './streamDrainingLegs.js';
|
|
77
89
|
export * from './engineConfigDrift.js';
|
|
78
90
|
export * from './gateVocabulary.js';
|
|
79
91
|
export * from './permissionRuleIssue.js';
|
|
@@ -86,19 +98,23 @@ export * from './engineToolLabelStore.js';
|
|
|
86
98
|
export * from './fleetTaskDesc.js';
|
|
87
99
|
export { displayUntrusted, displayUntrustedMarks, displayConfiguredUrl, queryCarriesCredential } from './displayUntrusted.js';
|
|
88
100
|
export type { DisplayUntrustedOptions, DisplayMark, DisplayMarkSpan, DisplayUntrustedMarked } from './displayUntrusted.js';
|
|
101
|
+
export { isDiagnosticValueWord } from './displayUntrusted.js';
|
|
89
102
|
export type * from './types/engineState.js';
|
|
90
103
|
export * from './hostEnv.js';
|
|
91
104
|
export * from './unrefTimer.js';
|
|
92
|
-
export { ControlRouter, ControlSafetyError, errCodes, steerBodyOf, steerRefusalAdviceOf, steeringRefusedBeforeEngine, type ControlClientLike, type ControlRouterOptions, type ControlRouterSteerOptions, type ControlSafetyCode, type ErrCodes, type RunsResourceLike, type SteerBody, type SteerBodyInput, type SteerRefusalAdvice, type SteeringRefusedBeforeEngine, } from './controlRouter.js';
|
|
105
|
+
export { ControlRouter, ControlSafetyError, errCodes, steerBodyOf, steerRefusalAdviceOf, steeringRefusedBeforeEngine, type AssistantPreemptLike, type ControlClientLike, type ControlRouterOptions, type ControlRouterSteerOptions, type ControlSafetyCode, type ErrCodes, type PreemptOptions, type RunsResourceLike, type SteerBody, type SteerBodyInput, type SteerRefusalAdvice, type SteeringRefusedBeforeEngine, } from './controlRouter.js';
|
|
106
|
+
export { preemptReceiptLine, type PreemptOutcome, type PreemptParkedStatus } from './preemptWire.js';
|
|
93
107
|
export { readSteerReceipt, type SteerReceiptReading } from './steerReceipt.js';
|
|
94
108
|
export * from './sseIdleTriage.js';
|
|
95
109
|
export * from './engineWireSdk.js';
|
|
96
110
|
export * from './classifierVerdictWire.js';
|
|
97
111
|
export { stripSystemReminderBlocks, unwrapSystemReminder } from './systemReminderTag.js';
|
|
98
112
|
export { findSystemReminderOpenTag, type SystemReminderOpenTagSpan } from './systemReminderTag.js';
|
|
99
|
-
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_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, CONFIG_STRATEGY_FIND_LIMIT_INVALID, CONFIG_STRATEGY_MAX_SIZE_INVALID, CONFLICT_IDEMPOTENCY_PAYLOAD_MISMATCH, CORRUPT_SESSION_ERROR_CODE, DECIDE_CLAIM_LOST, DECIDE_GATE_MOVED, DECIDE_NOT_PARKED, DECIDE_PARK_MOVED_CODES, 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, imageInvalidFailureNoteOf, isConfigRefusalCode, isCorruptSessionCode, isDecideParkMovedCode, 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, MODEL_FALLBACK_INHERIT_NO_TIER_BINDING, operatorGateRefusalContent, OUTPUT_INVALID, PARKED_RESUME_STARTUP_FAILED, 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,
|
|
113
|
+
export { ACTIVE_RUN_BUSY_ERROR_CODE, APPROVAL_EXPIRED, ASK_GONE, asModelFallbackReason, CAPABILITY_IMAGE_INDEX_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, CONFIG_STRATEGY_FIND_LIMIT_INVALID, CONFIG_STRATEGY_MAX_SIZE_INVALID, CONFLICT_IDEMPOTENCY_PAYLOAD_MISMATCH, CORRUPT_SESSION_ERROR_CODE, DECIDE_CLAIM_LOST, DECIDE_GATE_MOVED, DECIDE_NOT_PARKED, DECIDE_PARK_MOVED_CODES, 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, imageInvalidFailureNoteOf, isConfigRefusalCode, isCorruptSessionCode, isDecideParkMovedCode, 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, MODEL_FALLBACK_INHERIT_NO_TIER_BINDING, operatorGateRefusalContent, OUTPUT_INVALID, PARKED_RESUME_STARTUP_FAILED, 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_DEATH_VERDICT_CODES, RUN_ORPHANED, RUN_STALLED, runDeathVerdictNoteOf, SCENARIO_ASSIGNMENT_UNKNOWN_ERROR_CODE, SCENARIO_NOT_ALLOWED_ERROR_CODE, STATUS_DERIVED_COARSE_CODES, STOP_CONFLICT_CODES, STREAM_MAX_DURATION, TOOL_END_INTERRUPTED_NEVER_STARTED, TOOL_END_INTERRUPTED_OUTCOME_UNKNOWN, USAGE_WINDOW_EXHAUSTED, WORKFLOW_PARK_REFUSAL_CODES, } from './engineErrorCodes.js';
|
|
100
114
|
export type { DelegationCapDisposition, ModelFallbackReason, OperatorGateRefusal, RunDeathVerdictCode, } from './engineErrorCodes.js';
|
|
101
115
|
export * from './agentsWireCaps.js';
|
|
116
|
+
export { engineToolDirectoryOf } from './engineToolDirectory.js';
|
|
117
|
+
export type { EngineToolDirectory, EngineToolDirectorySource } from './engineToolDirectory.js';
|
|
102
118
|
export * from './attachmentsWireCaps.js';
|
|
103
119
|
export * from './clientContextWireCaps.js';
|
|
104
120
|
export * from './cloudConfigWireCaps.js';
|
|
@@ -149,7 +165,8 @@ export { approvalReachDeclaration, approvalReachDeclarationSettled } from './app
|
|
|
149
165
|
export type { ApprovalReachDeclaration, ApprovalReachWithheldCause, ApprovalReachWord } from './approvalReachWire.js';
|
|
150
166
|
export type { DisableSkillsDeclaration } from './disableSkillsWire.js';
|
|
151
167
|
export { PERMISSIONS_KEPT_REASONS, WIRE_RULE_TRUST_ORDER, permissionsAllowKeptNotice, permissionsDeclaration, permissionsDeclarationReport } from './permissionsDeclaration.js';
|
|
152
|
-
export type { PermissionsAllowKeptFacts, PermissionsClientOwnedStatement, PermissionsDeclaration, PermissionsDeclarationBuckets, PermissionsDeclarationInput, PermissionsDeclarationReport, PermissionsKeptReason, PermissionsKeptRule, PermissionsRewrittenRule,
|
|
168
|
+
export type { PermissionsAllowKeptFacts, PermissionsClientOwnedStatement, PermissionsDeclaration, PermissionsDeclarationBuckets, PermissionsDeclarationInput, PermissionsDeclarationReport, PermissionsKeptReason, PermissionsKeptRule, PermissionsRewrittenRule, WireRuleOrigin, WireRuleOrigins, } from './permissionsDeclaration.js';
|
|
169
|
+
export { ASSEMBLY_REFUSAL_CAUSES, assemblyRefusalOf, type AssemblyRefusal } from './wireFailureShape.js';
|
|
153
170
|
export * from './clientSlice.js';
|
|
154
171
|
export * from './host.js';
|
|
155
172
|
export { abortableSleep } from './abortableSleep.js';
|
|
@@ -185,6 +202,12 @@ export { engineWireTarget, engineWireTargetFor, installEngineWireTarget, install
|
|
|
185
202
|
export type { EngineWireTarget, } from './engineWireTarget.js';
|
|
186
203
|
export * from './principalWire.js';
|
|
187
204
|
export * from './wireErrorTriage.js';
|
|
205
|
+
export { WIRE_FAILURE_UNRENDERABLE_TEXT, wireFailureCoreOf, wireFailureTextsOf, type WireFailureCore, type WireFailureTexts } from './wireFailureShape.js';
|
|
206
|
+
export { guardedRead, readOwnDataFiniteNumber, readOwnDataNonEmptyString } from './ownKey.js';
|
|
207
|
+
export { contextUsageReadingOf, type ContextUsageReading } from './ownKey.js';
|
|
208
|
+
export { TURN_FAILURE_CATEGORIES, turnFailurePresentation, type TurnFailureCategory, type TurnFailurePresentation, type TurnFailureRetry } from './turnFailurePresentation.js';
|
|
209
|
+
export { readSeatTurnFailure, seatTurnFailureOf, type SeatTurnFailure } from './turnFailurePresentation.js';
|
|
210
|
+
export { REATTACH_BUDGET_FRESH, REATTACH_MAX_TRIES, runReattachPolicy, type ReattachBudget, type ReattachDecision, type ReattachEvent, type ReattachGiveUp, } from './runReattachPolicy.js';
|
|
188
211
|
export * from './corruptSession.js';
|
|
189
212
|
export * from './corruptSessionCopy.js';
|
|
190
213
|
export { classifyToolHistoryMismatch, readToolHistoryMismatchKey, resolveToolHistoryRewindTarget } from './toolHistoryMismatch.js';
|
|
@@ -198,11 +221,12 @@ export { mintUserAttachmentEnvelope } from './userAttachmentEnvelope.js';
|
|
|
198
221
|
export type { UserAttachmentDescriptor, UserAttachmentNotebookCell } from './userAttachmentEnvelope.js';
|
|
199
222
|
export { encodeHumanTurn, deliveredUuidsOf } from './humanTurn.js';
|
|
200
223
|
export type { HumanTurnInput, HumanTurnItem, HumanTurnAttachment, HumanTurnRider, HumanTurnMissing, HumanTurnCaps, HumanTurnEncoding, HumanTurnShare, HumanTurnSharePart, HumanTurnDegraded, HumanTurnDelivered, } from './humanTurn.js';
|
|
201
|
-
export {
|
|
202
|
-
export type {
|
|
224
|
+
export { projectEngineSessionMessages } from './engineSessionMessages.js';
|
|
225
|
+
export type { EngineHistoryProjection, EngineHistoryProjectionOpts, EngineHistoryMessage, EngineHistoryMessageBody, EngineHistoryBlock, EngineHistoryTextBlock, EngineHistoryThinkingBlock, EngineHistoryToolUseBlock, EngineHistoryToolResultBlock, EngineHistoryMediaBlock, EngineHistoryOpaqueBlock, EngineHistoryBase64Source, EngineHistoryJson, EngineHistorySkipped, } from './engineSessionMessages.js';
|
|
203
226
|
export * from './resumeRefusalCopy.js';
|
|
204
227
|
export * from './wireRefusalCopy.js';
|
|
205
228
|
export * from './inheritEnvWire.js';
|
|
229
|
+
export * from './inheritEnvCapability.js';
|
|
206
230
|
export { SUPPORT_FLOOR, supportFloorOf, engineVersionTier, engineSupportFloorEffective, coreVersionTier } from './supportFloor.js';
|
|
207
231
|
export type { SupportFloor, SupportFloorComponent, EngineVersionTier } from './supportFloor.js';
|
|
208
232
|
export * from './decideReceipt.js';
|
|
@@ -214,22 +238,24 @@ export * from './hooksWireCaps.js';
|
|
|
214
238
|
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, 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, } from './pluginHooksWire.js';
|
|
215
239
|
export { hookToolAliasesOf, canonicalHookToolName } from './hookToolAliases.js';
|
|
216
240
|
export { hookMatcherVerdict } from './hookMatcherVerdict.js';
|
|
217
|
-
export type { HookMatcherVerdict, HookMatcherUnjudgedReason } from './hookMatcherVerdict.js';
|
|
241
|
+
export type { HookMatcherVerdict, HookMatcherUnjudgedReason, HookMatcherRefusedReason } from './hookMatcherVerdict.js';
|
|
218
242
|
export { ASK_EVIDENCE_ABSENCE_VALUES, SYSTEM_INJECTION_PRIORITIES } from './engineClosedSets.js';
|
|
243
|
+
export { BUILTIN_SUBAGENT_TYPES } from './engineClosedSets.js';
|
|
219
244
|
export { READ_DENY_BUILTIN_TIERS, READ_DENY_DEFAULT_TIERS, parseReadDenyBuiltinTiers, type ReadDenyBuiltinTiersParse } from './readDenyTiers.js';
|
|
220
245
|
export * from './liveInitToolFace.js';
|
|
221
246
|
export * from './printInitToolFace.js';
|
|
222
247
|
export * from './model/providerPresets.js';
|
|
223
248
|
export { __setDecideTimeoutRetryBudgetForTests, backendDeny, DecideTransportRetryExhaustedError, findPendingForTask, HitlBridge, HitlSafetyError, isPlanReviewModeAfter, makeHitlCanUseTool, PLAN_REVIEW_MODE_AFTER_WORDS, readDecideCurrentPending, readWireErrorCode, } from './hitl/hitlBridge.js';
|
|
224
|
-
export type { ActiveGate, ApprovalsResourceLike, AskAnswer, AssistantResourceLike, DecideOperationEnd, DecideOperationEvent, DecideOperationIdentity, DecideOperationObserver, DecideOperationSpan, DecideOperationStart, FindPendingOutcome, GateCurrentPending, GatePrompt, HitlBackendDenyDecision, HitlBridgeOptions, HitlCanUseToolFn, HitlClientLike, HitlDecideDenyOutcome,
|
|
249
|
+
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';
|
|
225
250
|
export * from './hitl/suspendedReopen.js';
|
|
226
|
-
export
|
|
227
|
-
export * from './hitl/approvalResolution.js';
|
|
251
|
+
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';
|
|
228
252
|
export { ENGINE_ABORT_TOOL_RESULT } from './hitl/frameRouter.js';
|
|
229
253
|
export { toolEndOutputText } from './toolResultContent.js';
|
|
230
|
-
export { _resetHitlHostSurfaceForTest, APPROVAL_PARKING_WARN_TEXT, 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';
|
|
254
|
+
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';
|
|
231
255
|
export type { ClassifierDenyContext, HitlHostSurface, HitlNotice, } from './hitl/hitlHostSurface.js';
|
|
232
256
|
export * from './hitl/toolApprovalWire.js';
|
|
257
|
+
export * from './hitl/approvalCardReading.js';
|
|
258
|
+
export * from './hitl/approvalCardReasons.js';
|
|
233
259
|
export * from './hitl/editedRuleTextPrecheck.js';
|
|
234
260
|
export * from './coreValuePorts.js';
|
|
235
261
|
export { ruleToolNameVerdictOf } from './protocolSegment.js';
|
|
@@ -252,23 +278,26 @@ export * from './hitl/livePendingAsk.js';
|
|
|
252
278
|
export { replayedApprovalClosesCardFrame, replayedApprovalDisposition, replayedApprovalSentence } from './hitl/replayedApproval.js';
|
|
253
279
|
export type { ReplayedApprovalDisposition, ReplayPendingBasis } from './hitl/replayedApproval.js';
|
|
254
280
|
export { hasLedgerPositionKey } from './hitl/gateLedger.js';
|
|
281
|
+
export { durableSeqOf } from './hitl/gateLedger.js';
|
|
255
282
|
export { MODE_ARBITRATION, automaticAnswerVerdict, mandatedApprovalDetailOf, permissionRequestHookScope, type AutomaticAnswerLane, type AutomaticAnswerAskFace, type AutomaticAnswerFacts, type AutomaticAnswerRoad, type AutomaticAnswerUnknownWhy, type AutomaticAnswerVerdict, type PermissionRequestHookScope, } from './hitl/automaticAnswerVerdict.js';
|
|
256
|
-
export { standingRowsOf, type StandingRows, type StandingRowsWhy, type StandingRowWhy, type StandingPersistentRow, type StandingRowsHostFacts, } from './hitl/standingRows.js';
|
|
257
|
-
export { classifyDecisionRefusal, liveAskPendingReading, decisionRefusalClosesOut, undeliverableDecisionContent, decisionRefusalAskReading, type DecisionRefusalAskReading, type DecisionRefusalStanding, type DecisionRefusalClassified, type DecisionRefusalConflict, type LiveAskPendingReading, type UndeliverableDecisionEnd, type UndeliverableDecisionFacts, } from './hitl/decisionRefusal.js';
|
|
283
|
+
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';
|
|
284
|
+
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';
|
|
258
285
|
export { noAllowCauseOf, type NoAllowCause, type RuleLadderNoAllowFacts } from './hitl/noAllowCause.js';
|
|
259
286
|
export { policyDenyReason, type PolicyDenyLane, type PolicyDenyReasonFacts } from './hitl/frameRouter.js';
|
|
260
287
|
export { readApprovalAllowRuleShadow, approvalAllowRuleShadowed, allowRuleShadowSentence, type ApprovalAllowRuleShadow, type ApprovalAllowRuleShadowMember, type AllowRuleShadowedWireMember, } from './hitl/allowRuleShadow.js';
|
|
261
288
|
export { projectCrashConverged } from './hitl/crashConverged.js';
|
|
262
|
-
export type { ApprovalsListEnvelope, CrashConvergedOrphanState, CrashConvergedProjection,
|
|
289
|
+
export type { ApprovalsListEnvelope, CrashConvergedOrphanState, CrashConvergedProjection, CrashConvergedRowReading } from './hitl/crashConverged.js';
|
|
263
290
|
export * from './hitl/crashConvergedNotice.js';
|
|
264
291
|
export { approvalCompleteParked } from './hitl/approvalCompleteParked.js';
|
|
265
292
|
export { approvalCompleteCauseOf } from './hitl/approvalEndingCause.js';
|
|
293
|
+
export * from './hitl/askSettlementLine.js';
|
|
266
294
|
export * from './interactiveHalt.js';
|
|
267
295
|
export { fireInteractiveInterrupt } from './interactiveInterrupt.js';
|
|
268
296
|
export type { InteractiveInterruptRuns, InteractiveInterruptOptions } from './interactiveInterrupt.js';
|
|
269
297
|
export { listDevices, readSessionBinding, rebindSession, reconcileRebindOutcome, rebindProvesRequestNotApplied } from './deviceRebind.js';
|
|
298
|
+
export { issueEnrollToken, enrollDevice, revokeDevice, deviceIdentityMismatchOf, deviceIdentityMismatchLine, deviceRegistrationOutcomeLine } from './deviceRebind.js';
|
|
270
299
|
export type { DeviceSummary, DeviceListResult, DeviceBinding, DeviceSessionBinding, DeviceRebindRequest, DeviceRevokeRequest, DeviceRebindResult, DeviceEnrollToken, DeviceEnrollRequest, DeviceEnrollResult, DeviceRevokeResult, } from '@sema-agent/sdk';
|
|
271
|
-
export type { DeviceListVerb, DeviceSessionBindingVerb, DeviceRebindVerb, DeviceRosterRow, DeviceBindingReading, DeviceRefused, DeviceLaneAbsent, DeviceTransport, DeviceUnreadable, DeviceUnarmed, DeviceListOutcome, DeviceSessionBindingOutcome, DeviceRebindInput, DeviceRebindUnconfirmed, DeviceRebindOutcome, DeviceRebindReconcileVerdict, } from './deviceRebind.js';
|
|
300
|
+
export type { DeviceListVerb, DeviceSessionBindingVerb, DeviceRebindVerb, DeviceRosterRow, DeviceBindingReading, DeviceRefused, DeviceLaneAbsent, DeviceTransport, DeviceUnreadable, DeviceUnarmed, DeviceListOutcome, DeviceSessionBindingOutcome, DeviceRebindInput, DeviceRebindUnconfirmed, DeviceRebindOutcome, DeviceRebindReconcileVerdict, DeviceIssueEnrollTokenVerb, DeviceEnrollVerb, DeviceRevokeVerb, DeviceEnrollOptions, DeviceRateLimited, DeviceEnrollTokenOutcome, DeviceEnrollOutcome, DeviceRevokeOutcome, DeviceRegistrationVerb, DeviceIdentityMismatch, } from './deviceRebind.js';
|
|
272
301
|
export { resolveEngineEnvSourcing, engineEnvView } from './engineEnvSourcing.js';
|
|
273
302
|
export type { EngineEnvView, EngineEnvGroupDecl, EngineEnvSourcingInput, EngineEnvTouchedKey, EngineEnvGroupReading, EngineEnvKeyReason, EngineEnvSourcingVerdict, } from './engineEnvSourcing.js';
|
|
274
303
|
export * from './compensations.js';
|
|
@@ -276,6 +305,8 @@ export * from './request/printNotification.js';
|
|
|
276
305
|
export * from './seatContract.js';
|
|
277
306
|
export * from './agentSession/contract.js';
|
|
278
307
|
export * from './agentSession/backgroundView.js';
|
|
308
|
+
export { readAssistantInbox } from './assistantInbox.js';
|
|
309
|
+
export type { AssistantInboxVerb, AssistantInboxEntry, AssistantInboxReading, AssistantInboxUnavailableReason } from './assistantInbox.js';
|
|
279
310
|
export { READ_CREDENTIAL_NOT_ACCEPTED_NOTICE, isReadCredentialRefusal } from './readCredentialRefusal.js';
|
|
280
311
|
export { readEngineAgentRegistry, isEngineAgentRegistryListingSuperseded } from './agentSession/engineAgentRegistryRead.js';
|
|
281
312
|
export type { EngineAgentRegistryClient } from './agentSession/engineAgentRegistryRead.js';
|
|
@@ -288,11 +319,15 @@ export * from './model/catalogLoader.js';
|
|
|
288
319
|
export * from './model/providerAuth.js';
|
|
289
320
|
export * from './model/providerCatalog.js';
|
|
290
321
|
export * from './model/tierVocabulary.js';
|
|
322
|
+
export { resolveSubagentModelWord, subagentModelWordProblemLine, type SubagentModelLanding, type SubagentModelLocalEngine, type SubagentModelWordInput, type SubagentModelWordKind, type SubagentModelWordProblem, type SubagentModelWordReading, } from './model/subagentModelWord.js';
|
|
291
323
|
export * from './model/modelSupplyRules.js';
|
|
292
324
|
export * from './websearch/searchProviderPresets.js';
|
|
293
325
|
export * from './env/localeGeo.js';
|
|
294
326
|
export * from './env/localeTag.js';
|
|
295
327
|
export * from './env/uiLanguage.js';
|
|
328
|
+
export { EN_MESSAGES, type MessageKey } from './i18n/messages.en.js';
|
|
329
|
+
export { ZH_MESSAGES } from './i18n/messages.zh.js';
|
|
330
|
+
export { createMissLedger, createTranslator, DATA_FACE_LANGUAGE, msg, renderMessage, translate, uiMissLedger, type MessageParam, type MessageParams, type MessageRef, type MissLedger, type Translator, } from './i18n/translate.js';
|
|
296
331
|
export type { PendingCheckpoint, RuleSuggestion } from '@sema-agent/sdk';
|
|
297
332
|
export * from './ruleRemovalConsequence.js';
|
|
298
333
|
export { engineCredentialRequirementOf } from './engineCredentialRequirement.js';
|