xkzoom 1.5.3 → 1.5.4
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/README.md +30 -0
- package/dist/{chunk-7MOQ462O.mjs → chunk-24GJWXMG.mjs} +1 -1
- package/dist/{chunk-H4BNL7XG.mjs → chunk-27BXVTXH.mjs} +1 -1
- package/dist/{chunk-CQAQRU4P.mjs → chunk-2DR5RT3I.mjs} +109 -109
- package/dist/{chunk-KI7AMK7P.mjs → chunk-2IQAT3PE.mjs} +3 -3
- package/dist/{chunk-C5VQPAOA.mjs → chunk-2VSERWT6.mjs} +1 -1
- package/dist/{chunk-W7OJPFTN.mjs → chunk-3KJHUTOO.mjs} +2 -2
- package/dist/{chunk-DBYEZK64.mjs → chunk-3VA3YDYL.mjs} +1 -1
- package/dist/{chunk-THN36GA5.mjs → chunk-3ZH273T7.mjs} +14 -14
- package/dist/{chunk-LJF6JSJB.mjs → chunk-4JXTPCOE.mjs} +1 -1
- package/dist/{chunk-QSQ274C6.mjs → chunk-5SE4JOKE.mjs} +15 -15
- package/dist/{chunk-LSQ47CLM.mjs → chunk-5YEFG7BF.mjs} +12 -12
- package/dist/{chunk-GSIZ5FR6.mjs → chunk-6W4W5JLG.mjs} +2 -2
- package/dist/{chunk-3TTLV2GM.mjs → chunk-76MFE24I.mjs} +1 -1
- package/dist/{chunk-LXEKUNXI.mjs → chunk-76TKUYY3.mjs} +6 -6
- package/dist/{chunk-ESYRDWFO.mjs → chunk-7LEEVP5O.mjs} +11 -11
- package/dist/{chunk-MIXYB6BH.mjs → chunk-CFZVBILR.mjs} +1 -1
- package/dist/{chunk-EYK3W2NV.mjs → chunk-CQUISJWG.mjs} +1 -1
- package/dist/{chunk-ED4H2DM7.mjs → chunk-DCSERRXG.mjs} +1 -1
- package/dist/{chunk-X7P6B2LK.mjs → chunk-E2TTUY6R.mjs} +10 -10
- package/dist/{chunk-Z3COATFF.mjs → chunk-ETD5LGJY.mjs} +1 -1
- package/dist/{chunk-DB4XTPJF.mjs → chunk-F35EHL5U.mjs} +6 -6
- package/dist/{chunk-MVKCMXBY.mjs → chunk-FG6QCRVN.mjs} +1 -1
- package/dist/{chunk-DQ7J7RST.mjs → chunk-GIAML5K5.mjs} +1 -1
- package/dist/{chunk-T5ZCLYLJ.mjs → chunk-GIC2RBVM.mjs} +1 -1
- package/dist/{chunk-G5LQ2PQ6.mjs → chunk-GZJMFCRG.mjs} +2 -2
- package/dist/{chunk-54GVKP6B.mjs → chunk-HAI7DJD2.mjs} +6 -6
- package/dist/{chunk-RVW5XO4A.mjs → chunk-HYSOWPIC.mjs} +4 -4
- package/dist/{chunk-WNI5ZPQY.mjs → chunk-IDQ5B572.mjs} +5 -5
- package/dist/{chunk-S5ROBD7X.mjs → chunk-IGDJGBAI.mjs} +2 -2
- package/dist/{chunk-6LKZYMIW.mjs → chunk-J5AXFEDQ.mjs} +27 -27
- package/dist/{chunk-MI6GFOCU.mjs → chunk-JBKRS62W.mjs} +4 -4
- package/dist/{chunk-3EV63LAA.mjs → chunk-JFFBD5TV.mjs} +14 -14
- package/dist/{chunk-NIV5GVCE.mjs → chunk-JG3K4N5B.mjs} +1 -1
- package/dist/{chunk-37LYF6K2.mjs → chunk-JI67TW4E.mjs} +1 -1
- package/dist/{chunk-6EI5MFLD.mjs → chunk-JJKRD5DL.mjs} +4 -4
- package/dist/{chunk-IVR74IXK.mjs → chunk-JXDHNASC.mjs} +17 -17
- package/dist/{chunk-3FF266OG.mjs → chunk-K7RZQIPZ.mjs} +1 -1
- package/dist/{chunk-3LR4CLDE.mjs → chunk-KPDVZFJY.mjs} +1 -1
- package/dist/{chunk-WGLYR2YT.mjs → chunk-L252ASZW.mjs} +1 -1
- package/dist/{chunk-FAJHYXNU.mjs → chunk-LESS4N25.mjs} +5 -5
- package/dist/{chunk-AJNXWGX2.mjs → chunk-LFZAVCVW.mjs} +1 -1
- package/dist/{chunk-APQRVOZQ.mjs → chunk-M3ISDSQP.mjs} +5 -5
- package/dist/{chunk-M6VHS3HQ.mjs → chunk-M5IU6U3O.mjs} +2 -2
- package/dist/{chunk-BN273XTH.mjs → chunk-MBOWNG3A.mjs} +1 -1
- package/dist/{chunk-RZW4EEPW.mjs → chunk-MDZUWIBH.mjs} +21 -21
- package/dist/{chunk-N3YQ5IL6.mjs → chunk-MPGMU75K.mjs} +10 -10
- package/dist/{chunk-WRRJFJ2N.mjs → chunk-MQKREMOB.mjs} +7 -7
- package/dist/{chunk-QSUD6TNR.mjs → chunk-MRTQWCNC.mjs} +5 -5
- package/dist/{chunk-XF4EURDX.mjs → chunk-MWRQORKQ.mjs} +1 -1
- package/dist/{chunk-RYSPXH7G.mjs → chunk-NHICONJ3.mjs} +2 -2
- package/dist/{chunk-PBBRBETA.mjs → chunk-NIU6GWKB.mjs} +4 -4
- package/dist/{chunk-I4LMW3IM.mjs → chunk-OBYPZT2S.mjs} +6 -6
- package/dist/{chunk-QYXYVBTO.mjs → chunk-PETWGCGB.mjs} +2 -2
- package/dist/{chunk-CVIZMDMZ.mjs → chunk-PW3ULDNL.mjs} +1 -1
- package/dist/{chunk-QSHIFD37.mjs → chunk-RKZ56GST.mjs} +2 -2
- package/dist/{chunk-SQHTVHQ7.mjs → chunk-TADSGGK2.mjs} +6 -6
- package/dist/{chunk-WV6OKJ4J.mjs → chunk-TQBVFKCT.mjs} +8 -8
- package/dist/{chunk-5VR6UOGC.mjs → chunk-TVH4LII3.mjs} +1 -1
- package/dist/{chunk-FZ7NLBVP.mjs → chunk-UXEZFEB3.mjs} +13 -13
- package/dist/{chunk-IGJFAE72.mjs → chunk-VIZQURO5.mjs} +9 -9
- package/dist/{chunk-FKCGJ3BF.mjs → chunk-VNEPNUBZ.mjs} +13 -13
- package/dist/{chunk-TER7DFHP.mjs → chunk-W75Z6CZR.mjs} +1 -1
- package/dist/{chunk-6SYECCCG.mjs → chunk-WPMJCKI2.mjs} +8 -8
- package/dist/{chunk-VHRFLCMY.mjs → chunk-YPKHMAO4.mjs} +1 -1
- package/dist/{chunk-DXPZNBSQ.mjs → chunk-YYDDQEY4.mjs} +1 -1
- package/dist/{chunk-OWIXULFQ.mjs → chunk-ZTKJR7OC.mjs} +1 -1
- package/dist/index.mjs +169 -169
- package/dist/mobile/action-planner.mjs +94 -94
- package/dist/mobile/agent-capabilities.mjs +95 -95
- package/dist/mobile/agent-shop/handlers.mjs +3 -3
- package/dist/mobile/anthropic-incremental-deliver.mjs +3 -3
- package/dist/mobile/anthropic-messages-turn-runner.mjs +100 -100
- package/dist/mobile/anthropic-owned-tool-executor.mjs +99 -99
- package/dist/mobile/api.mjs +56 -56
- package/dist/mobile/context-compact/compact-artifact-enrich.mjs +16 -16
- package/dist/mobile/context-compact/compact-artifact-writer.mjs +4 -4
- package/dist/mobile/context-compact/compact-engine-artifacts.mjs +5 -5
- package/dist/mobile/context-compact/compact-memory-distill-job.mjs +3 -3
- package/dist/mobile/context-compact/compact-message-collector.mjs +2 -2
- package/dist/mobile/context-compact/compact-orchestrator.mjs +33 -33
- package/dist/mobile/context-compact/compact-resume-prefetch.mjs +4 -4
- package/dist/mobile/context-compact/compact-summarizer-engine-artifact.mjs +18 -18
- package/dist/mobile/context-compact/compact-summarizer-llm-request.mjs +10 -10
- package/dist/mobile/context-compact/compact-summarizer-llm.mjs +11 -11
- package/dist/mobile/context-compact/compact-summarizer.mjs +15 -15
- package/dist/mobile/context-compact/compact-write-verifier.mjs +2 -2
- package/dist/mobile/context-compact/runtime-compact-hook.mjs +98 -98
- package/dist/mobile/group/conductor-llm.mjs +13 -13
- package/dist/mobile/group/conductor-plan-llm.mjs +19 -19
- package/dist/mobile/group/delivery-verification.mjs +4 -4
- package/dist/mobile/group/direct-chat-group-context.mjs +1 -1
- package/dist/mobile/group/execution-plan.mjs +5 -5
- package/dist/mobile/group/floor-scheduler.mjs +6 -6
- package/dist/mobile/group/floor-state-store.mjs +6 -6
- package/dist/mobile/group/group-api-handlers.mjs +40 -40
- package/dist/mobile/group/group-peer-private-context.mjs +1 -1
- package/dist/mobile/group/group-session.mjs +18 -18
- package/dist/mobile/group/index.mjs +33 -33
- package/dist/mobile/group/memory-supplement.mjs +9 -9
- package/dist/mobile/group/orchestrator.mjs +31 -31
- package/dist/mobile/group/pipeline-ceo-dept-mention-parse.mjs +3 -3
- package/dist/mobile/group/pipeline-handoff-verification.mjs +3 -3
- package/dist/mobile/group/pipeline-turn-outcome.mjs +2 -2
- package/dist/mobile/group/plan-runtime.mjs +16 -16
- package/dist/mobile/group/relation-distill.mjs +7 -7
- package/dist/mobile/group/runtime-integration.mjs +38 -38
- package/dist/mobile/group/team-memory-runtime.mjs +3 -3
- package/dist/mobile/index.mjs +161 -161
- package/dist/mobile/memory-contract-r1-prefetch.mjs +10 -10
- package/dist/mobile/memory-contract-r5-empty-result.mjs +11 -11
- package/dist/mobile/memory-runtime-v2/eval-runner.mjs +9 -9
- package/dist/mobile/memory-runtime-v2/evidence-plan.mjs +12 -12
- package/dist/mobile/memory-runtime-v2/index.mjs +41 -41
- package/dist/mobile/memory-runtime-v2/local-source-import.mjs +3 -3
- package/dist/mobile/memory-runtime-v2/memory-control-plane.mjs +12 -12
- package/dist/mobile/memory-runtime-v2/memory-readiness.mjs +12 -12
- package/dist/mobile/memory-runtime-v2/orchestrator.mjs +5 -5
- package/dist/mobile/memory-runtime-v2/project-tool-event.mjs +2 -2
- package/dist/mobile/memory-runtime-v2/public-api.mjs +13 -13
- package/dist/mobile/memory-runtime-v2/retrieval.mjs +2 -2
- package/dist/mobile/native-anthropic-messages-stream.mjs +11 -11
- package/dist/mobile/native-openai-text-stream.mjs +2 -2
- package/dist/mobile/native-reply-route.mjs +10 -10
- package/dist/mobile/native-reply-system-prompt-layers.mjs +95 -95
- package/dist/mobile/native-stream-block-emit.mjs +2 -2
- package/dist/mobile/openai-completions-turn-runner.mjs +100 -100
- package/dist/mobile/reply-dispatch-warmup.mjs +2 -2
- package/dist/mobile/runtime.mjs +157 -157
- package/dist/mobile/stream-inbound/mobile-text-stream-pipeline.mjs +4 -4
- package/dist/mobile/tool-use-input-normalize.mjs +97 -97
- package/dist/mobile/tools/mobile-compact-tool-bridge.mjs +97 -97
- package/dist/org/dept-context.mjs +4 -4
- package/dist/org/index.mjs +8 -8
- package/dist/owned-tools/ceo-confirm-requirements.mjs +12 -12
- package/dist/owned-tools/ceo-decision.mjs +18 -18
- package/dist/owned-tools/ceo-ops-brief.mjs +12 -12
- package/dist/owned-tools/ceo-redirect.mjs +39 -39
- package/dist/owned-tools/commit-stack-lesson.mjs +13 -13
- package/dist/owned-tools/compact/execute.mjs +95 -95
- package/dist/owned-tools/compact/gateway-tool-factory.mjs +96 -96
- package/dist/owned-tools/compact/registry.mjs +94 -94
- package/dist/owned-tools/context-compact.mjs +48 -48
- package/dist/owned-tools/groups-history.mjs +1 -1
- package/dist/owned-tools/handoff.mjs +17 -17
- package/dist/owned-tools/memory-control.mjs +14 -14
- package/dist/owned-tools/memory-runtime-eval.mjs +13 -13
- package/dist/owned-tools/message.mjs +2 -2
- package/dist/owned-tools/models-list.mjs +2 -2
- package/dist/owned-tools/register-owned-providers.mjs +2 -2
- package/dist/owned-tools/registry.mjs +93 -93
- package/dist/owned-tools/router.mjs +94 -94
- package/dist/owned-tools/runtime-bridge.mjs +95 -95
- package/dist/owned-tools/session-status.mjs +1 -1
- package/dist/owned-tools/sessions-history-resolver.mjs +2 -2
- package/dist/owned-tools/sessions-history.mjs +1 -1
- package/dist/owned-tools/sessions-send.mjs +1 -1
- package/dist/owned-tools/subagents.mjs +1 -1
- package/dist/owned-tools/tool-contract-prompt.mjs +94 -94
- package/dist/owned-tools/tool-result-envelope.mjs +96 -96
- package/dist/owned-tools/tool-usage-guide.mjs +93 -93
- package/dist/owned-tools/tts.mjs +2 -2
- package/dist/owned-tools/web-smoke.mjs +6 -6
- package/dist/project/file-tool-scope-default.mjs +6 -6
- package/dist/project-pipeline/handlers.mjs +39 -39
- package/dist/project-pipeline/index.mjs +42 -42
- package/dist/project-pipeline/pipeline-routing.mjs +2 -2
- package/dist/project-pipeline/post-close-skill-evolution.mjs +5 -5
- package/dist/project-pipeline/project-store.mjs +5 -5
- package/package.json +2 -2
- package/dist/{chunk-KCZIK3TH.mjs → chunk-2QCX6RPN.mjs} +3 -3
- package/dist/{chunk-NXKHSX4M.mjs → chunk-5LUTMHVL.mjs} +3 -3
- package/dist/{chunk-VS2URZFN.mjs → chunk-HWGRW6YP.mjs} +3 -3
- package/dist/{chunk-6ZWKLMY3.mjs → chunk-JA65ZG3H.mjs} +4 -4
- package/dist/{chunk-QCSNRVL2.mjs → chunk-MGWYJD5Q.mjs} +8 -8
- package/dist/{chunk-BHT6B2TV.mjs → chunk-MKYCBV3H.mjs} +6 -6
- package/dist/{chunk-6AY6OPO5.mjs → chunk-NRJWLPTI.mjs} +3 -3
- package/dist/{chunk-H6LMX5G5.mjs → chunk-QM7MTC5Q.mjs} +3 -3
- package/dist/{chunk-AINHKBJW.mjs → chunk-T23H5D4O.mjs} +3 -3
- package/dist/{chunk-3OXBG4OP.mjs → chunk-UNZ3D3B3.mjs} +5 -5
- package/dist/{chunk-Q7NYATKS.mjs → chunk-UR6LPERL.mjs} +3 -3
- package/dist/{chunk-L7PMYQN5.mjs → chunk-WPLDZLAL.mjs} +3 -3
- package/dist/{chunk-J74WVZGF.mjs → chunk-XNQJRIGR.mjs} +9 -9
package/README.md
CHANGED
|
@@ -38,6 +38,36 @@ entries, or VPS deployment scripts.
|
|
|
38
38
|
|
|
39
39
|
## Release Notes
|
|
40
40
|
|
|
41
|
+
### 1.5.4
|
|
42
|
+
|
|
43
|
+
发布日期: 2026-07-01
|
|
44
|
+
|
|
45
|
+
对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.4)
|
|
46
|
+
|
|
47
|
+
#### 概述
|
|
48
|
+
|
|
49
|
+
1.5.4 是在 1.5.3 基础上的修复版本。网关运行时相较 1.5.3 无功能变更,本次问题与修复集中在桌面客户端;网关 npm 包随版本线对齐发布,供 desktop 1.5.4 安装包内嵌。
|
|
50
|
+
|
|
51
|
+
#### 修复(桌面客户端 xkzoom-desktop)
|
|
52
|
+
|
|
53
|
+
- 智能体商店领取 Agent 后首条消息无回复、Agent 空转、上下文面板报 "session not found"。
|
|
54
|
+
桌面端会为“已领取但尚未开聊”的 Agent 在会话列表生成占位入口(`agent-placeholder:*`)。此前发送时把该客户端自造的占位 id 原样发给网关,网关据此把一个以占位 id 为真实 id 的会话落库,与前端占位检测冲突,导致草稿永远无法重绑到真实会话。现在占位草稿发送时改发空 `sessionId`,由网关 mint 正规会话 id,前端既有的 ACK / 事件 / 接收自动切换逻辑完成“占位 → 真实会话”重绑;`selectSession` 增加“尚未落库才按草稿处理”的防御,历史存量里被错误落库的占位会话也能正常加载历史。
|
|
55
|
+
- 程序内右上角“检查更新”始终显示“更新检查失败:fetch failed”。
|
|
56
|
+
更新检查只请求 CDN 自定义域名 `download.xkzoom.com`,在部分网络下对该域名直连超时(UND_ERR_CONNECT_TIMEOUT)。现在清单与安装包请求都新增 OSS 原始域名同路径兜底(`download.xkzoom.com` → `xkzoom-installers.oss-cn-hangzhou.aliyuncs.com`),CDN 与 OSS 任一可达即成功;清单请求另加约 6s 连接超时以快速切换(大文件下载不设超时)。结果:无新版显示“已是最新版本”,有新版可在程序内直接下载并拉起安装器。
|
|
57
|
+
|
|
58
|
+
#### 网关运行时(xkzoom npm)
|
|
59
|
+
|
|
60
|
+
- 无功能变更,与 1.5.3 一致。仅版本号对齐至 1.5.4。
|
|
61
|
+
|
|
62
|
+
#### 维护 / CI(不影响 npm 包内容)
|
|
63
|
+
|
|
64
|
+
- release-gate 的 `release-artifact-shape` 校验前先执行 `pnpm run build`,修复独立 matrix job 因缺少 dist 产物导致的误报。
|
|
65
|
+
|
|
66
|
+
#### 升级说明
|
|
67
|
+
|
|
68
|
+
- 已装 1.5.3 的用户升级到 desktop 1.5.4 后,上述两个问题即修复。
|
|
69
|
+
- 网关端从 1.5.3 升到 1.5.4 无需任何迁移或配置变更。
|
|
70
|
+
|
|
41
71
|
### 1.5.3
|
|
42
72
|
|
|
43
73
|
- Hardens native provider calls against transient upstream connection failures:
|
|
@@ -1,53 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
MobileTextStreamPipeline
|
|
3
|
+
} from "./chunk-XNQJRIGR.mjs";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
buildRuntimeTextDeliverPayload
|
|
6
|
+
} from "./chunk-WMKSZMB7.mjs";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
MobileSessionAgentEventBridge
|
|
9
|
+
} from "./chunk-JDHB2EC6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
MobileStreamRoundToolFlight
|
|
12
12
|
} from "./chunk-6B2OT7ND.mjs";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
dispatchNontextReplyFromExtracted
|
|
15
|
+
} from "./chunk-TKW3XDFP.mjs";
|
|
16
16
|
import {
|
|
17
17
|
buildDirectChatGroupContextBlock
|
|
18
18
|
} from "./chunk-LGNLS7ZN.mjs";
|
|
19
|
+
import {
|
|
20
|
+
inferMobileUpstreamDispatchFailureMeta
|
|
21
|
+
} from "./chunk-7L46MOG4.mjs";
|
|
19
22
|
import {
|
|
20
23
|
callPostAgentIntentLlm
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YPKHMAO4.mjs";
|
|
22
25
|
import {
|
|
23
26
|
callConductorPlanLlm
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PETWGCGB.mjs";
|
|
25
28
|
import {
|
|
26
29
|
buildRunningSummaryContextBlock
|
|
27
30
|
} from "./chunk-42NDWKUN.mjs";
|
|
28
31
|
import {
|
|
29
32
|
detectCompactDoneFromAssistantText,
|
|
30
33
|
evaluateAndMaybeRunContextCompact
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-F35EHL5U.mjs";
|
|
32
35
|
import {
|
|
33
36
|
createFinalTraceLogger,
|
|
34
37
|
previewFinalTraceText
|
|
35
38
|
} from "./chunk-5PZJDP37.mjs";
|
|
36
|
-
import {
|
|
37
|
-
inferMobileUpstreamDispatchFailureMeta
|
|
38
|
-
} from "./chunk-7L46MOG4.mjs";
|
|
39
39
|
import {
|
|
40
40
|
registerXreBucketGatewayBridge
|
|
41
41
|
} from "./chunk-PJKLQF3K.mjs";
|
|
42
42
|
import {
|
|
43
43
|
resolveDefaultFileToolScopeForTurn
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JG3K4N5B.mjs";
|
|
45
45
|
import {
|
|
46
46
|
applyStateRootHygiene
|
|
47
47
|
} from "./chunk-BAS4J57E.mjs";
|
|
48
|
-
import {
|
|
49
|
-
detectToolChoicePolicyForTurn
|
|
50
|
-
} from "./chunk-O6YH4BTO.mjs";
|
|
51
48
|
import {
|
|
52
49
|
buildToolResultMediaUrlList,
|
|
53
50
|
mapRawSourcePerDeliveredPart,
|
|
@@ -60,12 +57,6 @@ import {
|
|
|
60
57
|
resolveWorkspaceStartupBlock,
|
|
61
58
|
shouldAttachWorkspaceStartup
|
|
62
59
|
} from "./chunk-WQSQXDUL.mjs";
|
|
63
|
-
import {
|
|
64
|
-
sliceSessionMessagesV2Page
|
|
65
|
-
} from "./chunk-M2WHIUNH.mjs";
|
|
66
|
-
import {
|
|
67
|
-
settleMobileReasoningDeliverAfterInboundIdle
|
|
68
|
-
} from "./chunk-GSWQMKOE.mjs";
|
|
69
60
|
import {
|
|
70
61
|
buildMobileSystemPromptSnapshot
|
|
71
62
|
} from "./chunk-AP4WVS6L.mjs";
|
|
@@ -74,12 +65,8 @@ import {
|
|
|
74
65
|
healStaleToolCallsAfterStreamFinalize
|
|
75
66
|
} from "./chunk-ZNRN6DTK.mjs";
|
|
76
67
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-E6MVUDMP.mjs";
|
|
80
|
-
import {
|
|
81
|
-
createOwnedReplyTextCapture
|
|
82
|
-
} from "./chunk-EOWUJO75.mjs";
|
|
68
|
+
detectToolChoicePolicyForTurn
|
|
69
|
+
} from "./chunk-O6YH4BTO.mjs";
|
|
83
70
|
import {
|
|
84
71
|
ensureReplyDispatchWarmupComplete,
|
|
85
72
|
startReplyDispatchWarmup
|
|
@@ -87,13 +74,26 @@ import {
|
|
|
87
74
|
import {
|
|
88
75
|
resolveWebchatSendSessionKeyFromSessions
|
|
89
76
|
} from "./chunk-BD3VJKX4.mjs";
|
|
77
|
+
import {
|
|
78
|
+
sliceSessionMessagesV2Page
|
|
79
|
+
} from "./chunk-M2WHIUNH.mjs";
|
|
80
|
+
import {
|
|
81
|
+
settleMobileReasoningDeliverAfterInboundIdle
|
|
82
|
+
} from "./chunk-GSWQMKOE.mjs";
|
|
90
83
|
import {
|
|
91
84
|
appendMobileOfflineBatchGatewayTranscriptMaybe,
|
|
92
85
|
offlineSyncPartToGatewayPlainText
|
|
93
86
|
} from "./chunk-CYVEZZL5.mjs";
|
|
94
87
|
import {
|
|
95
88
|
runNativeOpenAiCompletionsTurnToDispatcher
|
|
96
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-TQBVFKCT.mjs";
|
|
90
|
+
import {
|
|
91
|
+
detectFakeProviderImageUrl,
|
|
92
|
+
rehostRemoteImageUrlIfNeeded
|
|
93
|
+
} from "./chunk-E6MVUDMP.mjs";
|
|
94
|
+
import {
|
|
95
|
+
createOwnedReplyTextCapture
|
|
96
|
+
} from "./chunk-EOWUJO75.mjs";
|
|
97
97
|
import {
|
|
98
98
|
promoteExactOutboundPathTextToNativeReply
|
|
99
99
|
} from "./chunk-IWVFK6JY.mjs";
|
|
@@ -103,19 +103,16 @@ import {
|
|
|
103
103
|
resolveNativeReplyRoute,
|
|
104
104
|
resolveNativeReplyRouteAsync,
|
|
105
105
|
shouldResolveNativeReplyRouteAsync
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-GZJMFCRG.mjs";
|
|
107
107
|
import {
|
|
108
108
|
buildNativeAnthropicTurnToolBlocks,
|
|
109
109
|
buildNativeOpenAiTurnToolBlocks,
|
|
110
110
|
buildNativeReplyRuntimeContextBlocks,
|
|
111
111
|
buildOwnedNativeReplyChildTurnBlocks
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4JXTPCOE.mjs";
|
|
113
113
|
import {
|
|
114
114
|
composeNativeReplySystemPrompt
|
|
115
115
|
} from "./chunk-3STOFADV.mjs";
|
|
116
|
-
import {
|
|
117
|
-
buildMobileReasoningReplyOptions
|
|
118
|
-
} from "./chunk-46TY43IV.mjs";
|
|
119
116
|
import {
|
|
120
117
|
formatNativeAnthropicTurnUserMessage
|
|
121
118
|
} from "./chunk-EE3NRJLQ.mjs";
|
|
@@ -123,6 +120,16 @@ import {
|
|
|
123
120
|
isMobileSuppressFinalBlockAssistTextDeliverEnabled,
|
|
124
121
|
shouldSuppressAssistTextFromNativeDeliver
|
|
125
122
|
} from "./chunk-ZJEZUSIG.mjs";
|
|
123
|
+
import {
|
|
124
|
+
MOBILE_PLUGIN_HTTP_ROUTE_DEFS
|
|
125
|
+
} from "./chunk-VMM5GYS2.mjs";
|
|
126
|
+
import {
|
|
127
|
+
buildMobileReasoningReplyOptions
|
|
128
|
+
} from "./chunk-46TY43IV.mjs";
|
|
129
|
+
import {
|
|
130
|
+
buildMemoryContractR1ExtraSystemPrompt,
|
|
131
|
+
shouldAttachMemoryContractR1Prompt
|
|
132
|
+
} from "./chunk-6MOIFLPP.mjs";
|
|
126
133
|
import {
|
|
127
134
|
buildMemoryContractR3StrongDeliveryHint,
|
|
128
135
|
buildR3AuditNote,
|
|
@@ -131,20 +138,44 @@ import {
|
|
|
131
138
|
} from "./chunk-CTOIVB2P.mjs";
|
|
132
139
|
import {
|
|
133
140
|
runR5EmptyResultInvestigation
|
|
134
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-27BXVTXH.mjs";
|
|
135
142
|
import {
|
|
136
|
-
|
|
137
|
-
} from "./chunk-
|
|
143
|
+
prefetchMemoryR1Block
|
|
144
|
+
} from "./chunk-PW3ULDNL.mjs";
|
|
145
|
+
import {
|
|
146
|
+
rehydrateChatMessageForClient,
|
|
147
|
+
rehydrateChatMessagesForClient
|
|
148
|
+
} from "./chunk-USRORWYS.mjs";
|
|
149
|
+
import {
|
|
150
|
+
resolveOutboundLocalMediaAbsolutePath
|
|
151
|
+
} from "./chunk-I77V2ROO.mjs";
|
|
152
|
+
import {
|
|
153
|
+
tryInlineLocalImageAsDataUrl
|
|
154
|
+
} from "./chunk-JOT5IE27.mjs";
|
|
155
|
+
import {
|
|
156
|
+
deriveFileMetaFromUrlOrPath,
|
|
157
|
+
parseAnyDataUrlPayload,
|
|
158
|
+
tryInlineLocalMediaAsDataUrl
|
|
159
|
+
} from "./chunk-5HQXZCIX.mjs";
|
|
160
|
+
import {
|
|
161
|
+
buildInterruptedTurnResumeContextBlock,
|
|
162
|
+
classifyTurnTimeoutKind,
|
|
163
|
+
createInterruptedTurnSnapshot,
|
|
164
|
+
extractLastToolNameFromError,
|
|
165
|
+
extractTurnMetricFromError,
|
|
166
|
+
findActiveInterruptedTurnSnapshotBefore,
|
|
167
|
+
hasInterruptedTurnRecoveryEvidence,
|
|
168
|
+
isInterruptedTurnResumeRequest
|
|
169
|
+
} from "./chunk-ULXTQSV6.mjs";
|
|
138
170
|
import {
|
|
139
171
|
expandMediaUrlWildcards
|
|
140
172
|
} from "./chunk-RXRZEWNK.mjs";
|
|
141
173
|
import {
|
|
142
|
-
|
|
143
|
-
} from "./chunk-
|
|
174
|
+
mergeComposerContextUsageForFinalize
|
|
175
|
+
} from "./chunk-37TO75LW.mjs";
|
|
144
176
|
import {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
} from "./chunk-6MOIFLPP.mjs";
|
|
177
|
+
tryExtractContextUsageRatioFromDeliverPayload
|
|
178
|
+
} from "./chunk-OCARTQYW.mjs";
|
|
148
179
|
import {
|
|
149
180
|
extractMobileReplyPayload
|
|
150
181
|
} from "./chunk-4OUQZDQG.mjs";
|
|
@@ -168,30 +199,9 @@ import {
|
|
|
168
199
|
tryParseGatewayChatAbortContext
|
|
169
200
|
} from "./chunk-CI47MU64.mjs";
|
|
170
201
|
import {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} from "./chunk-
|
|
174
|
-
import {
|
|
175
|
-
resolveOutboundLocalMediaAbsolutePath
|
|
176
|
-
} from "./chunk-I77V2ROO.mjs";
|
|
177
|
-
import {
|
|
178
|
-
tryInlineLocalImageAsDataUrl
|
|
179
|
-
} from "./chunk-JOT5IE27.mjs";
|
|
180
|
-
import {
|
|
181
|
-
deriveFileMetaFromUrlOrPath,
|
|
182
|
-
parseAnyDataUrlPayload,
|
|
183
|
-
tryInlineLocalMediaAsDataUrl
|
|
184
|
-
} from "./chunk-5HQXZCIX.mjs";
|
|
185
|
-
import {
|
|
186
|
-
buildInterruptedTurnResumeContextBlock,
|
|
187
|
-
classifyTurnTimeoutKind,
|
|
188
|
-
createInterruptedTurnSnapshot,
|
|
189
|
-
extractLastToolNameFromError,
|
|
190
|
-
extractTurnMetricFromError,
|
|
191
|
-
findActiveInterruptedTurnSnapshotBefore,
|
|
192
|
-
hasInterruptedTurnRecoveryEvidence,
|
|
193
|
-
isInterruptedTurnResumeRequest
|
|
194
|
-
} from "./chunk-ULXTQSV6.mjs";
|
|
202
|
+
createEmptyMobileBodyHuntRoundTrace,
|
|
203
|
+
formatBodyHuntPreview
|
|
204
|
+
} from "./chunk-3T3BHHE7.mjs";
|
|
195
205
|
import {
|
|
196
206
|
MOBILE_CHANNEL_ID,
|
|
197
207
|
isMobileChannelEnabled,
|
|
@@ -199,14 +209,11 @@ import {
|
|
|
199
209
|
resolveMobileRouteAgent
|
|
200
210
|
} from "./chunk-B4YKXZ5W.mjs";
|
|
201
211
|
import {
|
|
202
|
-
|
|
203
|
-
} from "./chunk-
|
|
204
|
-
import {
|
|
205
|
-
tryExtractContextUsageRatioFromDeliverPayload
|
|
206
|
-
} from "./chunk-OCARTQYW.mjs";
|
|
212
|
+
runNativeAnthropicMessagesTurnToDispatcher
|
|
213
|
+
} from "./chunk-5SE4JOKE.mjs";
|
|
207
214
|
import {
|
|
208
215
|
createMobileApiRequestHandler
|
|
209
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-JBKRS62W.mjs";
|
|
210
217
|
import {
|
|
211
218
|
consumeInboundMobileUploadRef,
|
|
212
219
|
looksLikeXkzoomMediaRefV1
|
|
@@ -214,21 +221,14 @@ import {
|
|
|
214
221
|
import {
|
|
215
222
|
resolveMobileAuthConfig
|
|
216
223
|
} from "./chunk-FU5NWQEP.mjs";
|
|
217
|
-
import {
|
|
218
|
-
createEmptyMobileBodyHuntRoundTrace,
|
|
219
|
-
formatBodyHuntPreview
|
|
220
|
-
} from "./chunk-3T3BHHE7.mjs";
|
|
221
224
|
import {
|
|
222
225
|
buildAgentCapabilities
|
|
223
|
-
} from "./chunk-
|
|
224
|
-
import {
|
|
225
|
-
runNativeAnthropicMessagesTurnToDispatcher
|
|
226
|
-
} from "./chunk-QSQ274C6.mjs";
|
|
226
|
+
} from "./chunk-LESS4N25.mjs";
|
|
227
227
|
import {
|
|
228
228
|
OWNED_TURN_TOOL_NAMES,
|
|
229
229
|
buildOwnedToolsCatalog,
|
|
230
230
|
buildOwnedTurnToolSchemas
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-3ZH273T7.mjs";
|
|
232
232
|
import {
|
|
233
233
|
buildSessionTranscriptMeterFromMessages
|
|
234
234
|
} from "./chunk-4IWTTXQE.mjs";
|
|
@@ -248,10 +248,7 @@ import {
|
|
|
248
248
|
} from "./chunk-P262PAGZ.mjs";
|
|
249
249
|
import {
|
|
250
250
|
runNativeAnthropicMessagesStreamToDispatcher
|
|
251
|
-
} from "./chunk-
|
|
252
|
-
import {
|
|
253
|
-
enforceR6IndexAfterWrite
|
|
254
|
-
} from "./chunk-GOSSEVA6.mjs";
|
|
251
|
+
} from "./chunk-UXEZFEB3.mjs";
|
|
255
252
|
import {
|
|
256
253
|
MemoryContractR1Tracker,
|
|
257
254
|
MemoryContractR2Tracker,
|
|
@@ -264,15 +261,32 @@ import {
|
|
|
264
261
|
import {
|
|
265
262
|
enforceR2Write
|
|
266
263
|
} from "./chunk-GU4CQC5I.mjs";
|
|
264
|
+
import {
|
|
265
|
+
enforceR6IndexAfterWrite
|
|
266
|
+
} from "./chunk-GOSSEVA6.mjs";
|
|
267
267
|
import {
|
|
268
268
|
buildRecentDiaryContextBlock,
|
|
269
269
|
buildRecentDiaryInjectSummary
|
|
270
270
|
} from "./chunk-BW737ZQN.mjs";
|
|
271
|
+
import {
|
|
272
|
+
runNativeOpenAiTextStreamToDispatcher
|
|
273
|
+
} from "./chunk-MKYCBV3H.mjs";
|
|
274
|
+
import {
|
|
275
|
+
diagnoseNativeReplyRouteMiss,
|
|
276
|
+
formatNativeReplyRouteMissMessage
|
|
277
|
+
} from "./chunk-NEDXMES6.mjs";
|
|
278
|
+
import {
|
|
279
|
+
applyModelOverrideToGatewayConfig,
|
|
280
|
+
gatewayAgentWantsFullToolLoop,
|
|
281
|
+
init_native_gateway_config,
|
|
282
|
+
normalizeModelOverrideKey,
|
|
283
|
+
resolveGatewayAgentToolsProfile
|
|
284
|
+
} from "./chunk-LR5GC3NZ.mjs";
|
|
271
285
|
import {
|
|
272
286
|
dispatchGroupSessionMessage,
|
|
273
287
|
forceStopGroupFloorState,
|
|
274
288
|
initGroupCollaborationEngine
|
|
275
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-JFFBD5TV.mjs";
|
|
276
290
|
import {
|
|
277
291
|
buildGroupPeerTranscriptProjection
|
|
278
292
|
} from "./chunk-BSG6WLML.mjs";
|
|
@@ -285,13 +299,13 @@ import {
|
|
|
285
299
|
} from "./chunk-4POYX4AW.mjs";
|
|
286
300
|
import {
|
|
287
301
|
buildContextPackForTurn
|
|
288
|
-
} from "./chunk-
|
|
289
|
-
import {
|
|
290
|
-
maybeCheckpointRunLedger
|
|
291
|
-
} from "./chunk-EL6TOIFZ.mjs";
|
|
302
|
+
} from "./chunk-MPGMU75K.mjs";
|
|
292
303
|
import {
|
|
293
304
|
renderContextPackStablePrefixForProviderCache
|
|
294
305
|
} from "./chunk-XL3MUGFG.mjs";
|
|
306
|
+
import {
|
|
307
|
+
maybeCheckpointRunLedger
|
|
308
|
+
} from "./chunk-EL6TOIFZ.mjs";
|
|
295
309
|
import {
|
|
296
310
|
updateRunLedger
|
|
297
311
|
} from "./chunk-4WWT6OC2.mjs";
|
|
@@ -307,14 +321,14 @@ import {
|
|
|
307
321
|
import {
|
|
308
322
|
SessionIdAgentConflictError
|
|
309
323
|
} from "./chunk-KPJOJH6H.mjs";
|
|
324
|
+
import {
|
|
325
|
+
registerMobileOutboundBridge
|
|
326
|
+
} from "./chunk-LCR7EVVU.mjs";
|
|
310
327
|
import {
|
|
311
328
|
buildNativeReplyOpenAiMessages,
|
|
312
329
|
buildNativeReplyTranscriptMessages,
|
|
313
330
|
findFirstVisibleUserMessage
|
|
314
331
|
} from "./chunk-6ZVXCJTG.mjs";
|
|
315
|
-
import {
|
|
316
|
-
registerMobileOutboundBridge
|
|
317
|
-
} from "./chunk-LCR7EVVU.mjs";
|
|
318
332
|
import {
|
|
319
333
|
extractLegacyDeliveryConversationIdFromSessionKey
|
|
320
334
|
} from "./chunk-GEXTQELG.mjs";
|
|
@@ -323,20 +337,6 @@ import {
|
|
|
323
337
|
MOBILE_SOURCE,
|
|
324
338
|
XKZOOM_CHAT_CHANNEL_ID
|
|
325
339
|
} from "./chunk-PS6X3CND.mjs";
|
|
326
|
-
import {
|
|
327
|
-
runNativeOpenAiTextStreamToDispatcher
|
|
328
|
-
} from "./chunk-BHT6B2TV.mjs";
|
|
329
|
-
import {
|
|
330
|
-
diagnoseNativeReplyRouteMiss,
|
|
331
|
-
formatNativeReplyRouteMissMessage
|
|
332
|
-
} from "./chunk-NEDXMES6.mjs";
|
|
333
|
-
import {
|
|
334
|
-
applyModelOverrideToGatewayConfig,
|
|
335
|
-
gatewayAgentWantsFullToolLoop,
|
|
336
|
-
init_native_gateway_config,
|
|
337
|
-
normalizeModelOverrideKey,
|
|
338
|
-
resolveGatewayAgentToolsProfile
|
|
339
|
-
} from "./chunk-LR5GC3NZ.mjs";
|
|
340
340
|
import {
|
|
341
341
|
init_state_dir,
|
|
342
342
|
resolveXkzoomStateDirForProcess
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
countBatonPlanNodes,
|
|
11
11
|
filterAgentBatonRelayTargets,
|
|
12
12
|
resolveBatonIntentFromText
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YYDDQEY4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
buildGroupMemberAliases,
|
|
16
16
|
stripSelfMention,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
registerInFlightRun,
|
|
30
30
|
setExecutionPlan,
|
|
31
31
|
setGroupFloorState
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LFZAVCVW.mjs";
|
|
33
33
|
import {
|
|
34
34
|
assessNodeCompletion,
|
|
35
35
|
buildExecutionPlan,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolvePlanNodeTimeoutMs,
|
|
44
44
|
skipUnreachableNodes,
|
|
45
45
|
toExecutionPlanSnapshot
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-24GJWXMG.mjs";
|
|
47
47
|
import {
|
|
48
48
|
getMobileChatStore
|
|
49
49
|
} from "./chunk-CVXJ45WI.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isToolUseInputComplete
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GIC2RBVM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
OWNED_TURN_TOOL_BY_NAME
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3ZH273T7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
parseToolUseInput,
|
|
9
9
|
salvagePartialToolUseInput
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
notesSearchTool
|
|
3
|
+
} from "./chunk-77HWNHNA.mjs";
|
|
1
4
|
import {
|
|
2
5
|
summarizeTranscriptTool
|
|
3
6
|
} from "./chunk-4IUL5JAK.mjs";
|
|
@@ -7,15 +10,12 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
notesGetTool
|
|
9
12
|
} from "./chunk-3JF27U3D.mjs";
|
|
10
|
-
import {
|
|
11
|
-
notesSearchTool
|
|
12
|
-
} from "./chunk-77HWNHNA.mjs";
|
|
13
13
|
import {
|
|
14
14
|
webSearchTool
|
|
15
15
|
} from "./chunk-I23YODIQ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
webSmokeTool
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CQUISJWG.mjs";
|
|
19
19
|
import {
|
|
20
20
|
writeTool
|
|
21
21
|
} from "./chunk-PINXXWFJ.mjs";
|
|
@@ -54,22 +54,22 @@ import {
|
|
|
54
54
|
} from "./chunk-CTKIQWTE.mjs";
|
|
55
55
|
import {
|
|
56
56
|
memoryControlTool
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-L252ASZW.mjs";
|
|
58
58
|
import {
|
|
59
59
|
memoryGetTool
|
|
60
60
|
} from "./chunk-N2CMVW47.mjs";
|
|
61
61
|
import {
|
|
62
62
|
memoryRuntimeEvalTool
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-M5IU6U3O.mjs";
|
|
64
64
|
import {
|
|
65
65
|
messageTool
|
|
66
66
|
} from "./chunk-VWAUDB4X.mjs";
|
|
67
67
|
import {
|
|
68
68
|
modelsListTool
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-NRJWLPTI.mjs";
|
|
70
70
|
import {
|
|
71
71
|
handoffTool
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-7LEEVP5O.mjs";
|
|
73
73
|
import {
|
|
74
74
|
imageGenerateTool
|
|
75
75
|
} from "./chunk-F4QXCGDQ.mjs";
|
|
@@ -102,22 +102,22 @@ import {
|
|
|
102
102
|
} from "./chunk-UPNUSBKT.mjs";
|
|
103
103
|
import {
|
|
104
104
|
ceoConfirmRequirementsTool
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NHICONJ3.mjs";
|
|
106
106
|
import {
|
|
107
107
|
ceoDecisionTool
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NIU6GWKB.mjs";
|
|
109
109
|
import {
|
|
110
110
|
ceoOpsBriefTool
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-6W4W5JLG.mjs";
|
|
112
112
|
import {
|
|
113
113
|
ceoRedirectTool
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-MQKREMOB.mjs";
|
|
115
115
|
import {
|
|
116
116
|
commitStackLessonTool
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-IGDJGBAI.mjs";
|
|
118
118
|
import {
|
|
119
119
|
contextCompactTool
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-FG6QCRVN.mjs";
|
|
121
121
|
import {
|
|
122
122
|
memorySearchTool
|
|
123
123
|
} from "./chunk-QWFX5VEN.mjs";
|
|
@@ -5,13 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
buildMvpAnthropicToolSchemas,
|
|
7
7
|
executeAnthropicToolUse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TADSGGK2.mjs";
|
|
9
9
|
import {
|
|
10
10
|
diagnoseToolUseInputReadiness,
|
|
11
11
|
formatToolInputDiagLine,
|
|
12
12
|
isExecutableToolUseInput,
|
|
13
13
|
resolveToolUseInput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3KJHUTOO.mjs";
|
|
15
|
+
import {
|
|
16
|
+
AnthropicIncrementalDeliverer
|
|
17
|
+
} from "./chunk-76MFE24I.mjs";
|
|
18
|
+
import {
|
|
19
|
+
applyConfiguredMaxTokens,
|
|
20
|
+
fetchNativeProviderWithRetry,
|
|
21
|
+
formatRequestShape,
|
|
22
|
+
stringifyJsonRequestBody
|
|
23
|
+
} from "./chunk-E5LABIPO.mjs";
|
|
15
24
|
import {
|
|
16
25
|
selectAnthropicAdapter
|
|
17
26
|
} from "./chunk-UQLGVSQH.mjs";
|
|
@@ -21,26 +30,17 @@ import {
|
|
|
21
30
|
import {
|
|
22
31
|
readAnthropicSseEventStream
|
|
23
32
|
} from "./chunk-SPO74LMZ.mjs";
|
|
33
|
+
import {
|
|
34
|
+
AnthropicStreamAssembler,
|
|
35
|
+
interpretAnthropicStreamEvent
|
|
36
|
+
} from "./chunk-LJ5OPMYI.mjs";
|
|
24
37
|
import {
|
|
25
38
|
assistantTurnTranscriptMessage,
|
|
26
39
|
toolResultsTranscriptMessage
|
|
27
40
|
} from "./chunk-6ZVXCJTG.mjs";
|
|
28
|
-
import {
|
|
29
|
-
AnthropicIncrementalDeliverer
|
|
30
|
-
} from "./chunk-3TTLV2GM.mjs";
|
|
31
|
-
import {
|
|
32
|
-
applyConfiguredMaxTokens,
|
|
33
|
-
fetchNativeProviderWithRetry,
|
|
34
|
-
formatRequestShape,
|
|
35
|
-
stringifyJsonRequestBody
|
|
36
|
-
} from "./chunk-E5LABIPO.mjs";
|
|
37
41
|
import {
|
|
38
42
|
applyAnthropicProviderAccelerationToRequestBody
|
|
39
43
|
} from "./chunk-JHQIGDVB.mjs";
|
|
40
|
-
import {
|
|
41
|
-
AnthropicStreamAssembler,
|
|
42
|
-
interpretAnthropicStreamEvent
|
|
43
|
-
} from "./chunk-LJ5OPMYI.mjs";
|
|
44
44
|
|
|
45
45
|
// src/mobile/anthropic-messages-turn-runner.ts
|
|
46
46
|
var DEFAULT_MAX_ITERATIONS = 48;
|