xkzoom 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +59 -0
  2. package/dist/{chunk-LJF6JSJB.mjs → chunk-2NBVNRMZ.mjs} +1 -1
  3. package/dist/{chunk-DB4XTPJF.mjs → chunk-3K6WOVYD.mjs} +2 -2
  4. package/dist/{chunk-T5ZCLYLJ.mjs → chunk-4BCLMOYG.mjs} +1 -1
  5. package/dist/{chunk-I7O5UR24.mjs → chunk-5IAQOOZ2.mjs} +5 -5
  6. package/dist/{chunk-KI7AMK7P.mjs → chunk-64QYTQH7.mjs} +2 -2
  7. package/dist/{chunk-SQHTVHQ7.mjs → chunk-6VSIGHGI.mjs} +7 -7
  8. package/dist/{chunk-QADC4VKT.mjs → chunk-CRYBNNZU.mjs} +10 -10
  9. package/dist/{chunk-FKCGJ3BF.mjs → chunk-DZDEUZD2.mjs} +12 -12
  10. package/dist/{chunk-QSQ274C6.mjs → chunk-EBVVOJVN.mjs} +2 -2
  11. package/dist/{chunk-W7OJPFTN.mjs → chunk-FAB2ZZYB.mjs} +2 -2
  12. package/dist/{chunk-Q33JD64H.mjs → chunk-FCK6QFJB.mjs} +1 -1
  13. package/dist/{chunk-RZW4EEPW.mjs → chunk-G4JWJKD7.mjs} +13 -13
  14. package/dist/{chunk-MVKCMXBY.mjs → chunk-H7DNHHNA.mjs} +1 -1
  15. package/dist/{chunk-ESYRDWFO.mjs → chunk-HVDIL2V7.mjs} +1 -1
  16. package/dist/{chunk-PJKLQF3K.mjs → chunk-INFZEMQK.mjs} +1 -1
  17. package/dist/{chunk-WNI5ZPQY.mjs → chunk-JK5ZK32E.mjs} +3 -3
  18. package/dist/{chunk-AJNXWGX2.mjs → chunk-LJ6RMHC6.mjs} +1 -1
  19. package/dist/{chunk-WGLYR2YT.mjs → chunk-LKHL3NCW.mjs} +1 -1
  20. package/dist/{chunk-PS6X3CND.mjs → chunk-LKSRZTSL.mjs} +1 -0
  21. package/dist/{chunk-FAJHYXNU.mjs → chunk-LMIEVEGA.mjs} +1 -1
  22. package/dist/{chunk-COYZO24J.mjs → chunk-MCD5TOFD.mjs} +1 -1
  23. package/dist/{chunk-MI6GFOCU.mjs → chunk-MFIBP6MD.mjs} +3 -3
  24. package/dist/{chunk-THN36GA5.mjs → chunk-MLHV7EMJ.mjs} +32 -32
  25. package/dist/{chunk-ZMQ3UOGP.mjs → chunk-MMWLRPKT.mjs} +13 -1
  26. package/dist/{chunk-I4LMW3IM.mjs → chunk-MTRG3ZME.mjs} +11 -11
  27. package/dist/{chunk-6LKZYMIW.mjs → chunk-N6VFFREI.mjs} +28 -28
  28. package/dist/{chunk-5VR6UOGC.mjs → chunk-ND44D2ZA.mjs} +1 -1
  29. package/dist/{chunk-3EV63LAA.mjs → chunk-O7MFL7L4.mjs} +7 -7
  30. package/dist/{chunk-QYXYVBTO.mjs → chunk-OMLMLZUY.mjs} +1 -1
  31. package/dist/{chunk-B4YKXZ5W.mjs → chunk-OQMIECO2.mjs} +1 -1
  32. package/dist/{chunk-IVR74IXK.mjs → chunk-P4WX5RWE.mjs} +14 -14
  33. package/dist/{chunk-6EI5MFLD.mjs → chunk-PN6I6DTV.mjs} +1 -1
  34. package/dist/{chunk-LSQ47CLM.mjs → chunk-QEED7NAG.mjs} +27 -27
  35. package/dist/{chunk-QSHIFD37.mjs → chunk-SKQOHRBI.mjs} +2 -2
  36. package/dist/{chunk-WV6OKJ4J.mjs → chunk-SLBCSYGP.mjs} +1 -1
  37. package/dist/{chunk-PBBRBETA.mjs → chunk-TNBK63NV.mjs} +1 -1
  38. package/dist/{chunk-3FF266OG.mjs → chunk-U6ONSC6B.mjs} +1 -1
  39. package/dist/{chunk-CQAQRU4P.mjs → chunk-UAUV2GYH.mjs} +61 -61
  40. package/dist/{chunk-VWAUDB4X.mjs → chunk-UFURP7VS.mjs} +1 -1
  41. package/dist/{chunk-LXEKUNXI.mjs → chunk-UPD527M4.mjs} +1 -1
  42. package/dist/{chunk-M6VHS3HQ.mjs → chunk-W6JEB555.mjs} +2 -2
  43. package/dist/{chunk-3LR4CLDE.mjs → chunk-WOHFGPTL.mjs} +1 -1
  44. package/dist/{chunk-X7P6B2LK.mjs → chunk-XADONCIM.mjs} +1 -1
  45. package/dist/{chunk-DBYEZK64.mjs → chunk-XDR276NG.mjs} +1 -1
  46. package/dist/{chunk-37LYF6K2.mjs → chunk-YFKOQIA7.mjs} +1 -1
  47. package/dist/{chunk-BN273XTH.mjs → chunk-YKACMPVT.mjs} +1 -1
  48. package/dist/{chunk-D3N7EHB2.mjs → chunk-YSLLUNNZ.mjs} +9 -9
  49. package/dist/chunk-YTBKWX7J.mjs +102 -0
  50. package/dist/{chunk-C5VQPAOA.mjs → chunk-YW5STVWH.mjs} +1 -1
  51. package/dist/{chunk-WRRJFJ2N.mjs → chunk-ZE6GJFY7.mjs} +1 -1
  52. package/dist/index.js +262 -162
  53. package/dist/index.mjs +104 -103
  54. package/dist/mobile/action-planner.mjs +55 -55
  55. package/dist/mobile/agent-capabilities.mjs +55 -55
  56. package/dist/mobile/agents-watch.js +346 -0
  57. package/dist/mobile/agents-watch.mjs +13 -0
  58. package/dist/mobile/anthropic-messages-turn-runner.mjs +65 -65
  59. package/dist/mobile/anthropic-owned-tool-executor.mjs +64 -64
  60. package/dist/mobile/api.mjs +28 -28
  61. package/dist/mobile/auth.mjs +1 -1
  62. package/dist/mobile/bucket-events/emit-bucket-frame.js +327 -0
  63. package/dist/mobile/bucket-events/emit-bucket-frame.mjs +8 -3
  64. package/dist/mobile/bucket-events/register-bucket-gateway-bridge.js +320 -3
  65. package/dist/mobile/bucket-events/register-bucket-gateway-bridge.mjs +9 -4
  66. package/dist/mobile/channel.mjs +2 -2
  67. package/dist/mobile/context-compact/compact-artifact-enrich.mjs +4 -4
  68. package/dist/mobile/context-compact/compact-artifact-writer.mjs +1 -1
  69. package/dist/mobile/context-compact/compact-engine-artifacts.mjs +2 -2
  70. package/dist/mobile/context-compact/compact-memory-distill-job.mjs +2 -2
  71. package/dist/mobile/context-compact/compact-orchestrator.mjs +11 -11
  72. package/dist/mobile/context-compact/compact-resume-prefetch.mjs +1 -1
  73. package/dist/mobile/context-compact/compact-summarizer-engine-artifact.mjs +5 -5
  74. package/dist/mobile/context-compact/compact-summarizer.mjs +3 -3
  75. package/dist/mobile/context-compact/runtime-compact-hook.mjs +59 -59
  76. package/dist/mobile/group/conductor-plan-llm.mjs +3 -3
  77. package/dist/mobile/group/execution-plan.mjs +2 -2
  78. package/dist/mobile/group/floor-state-store.mjs +3 -3
  79. package/dist/mobile/group/group-api-handlers.mjs +16 -16
  80. package/dist/mobile/group/group-session.mjs +4 -4
  81. package/dist/mobile/group/index.mjs +13 -13
  82. package/dist/mobile/group/orchestrator.mjs +9 -9
  83. package/dist/mobile/group/plan-runtime.mjs +5 -5
  84. package/dist/mobile/group/runtime-integration.mjs +14 -14
  85. package/dist/mobile/index.js +277 -155
  86. package/dist/mobile/index.mjs +101 -100
  87. package/dist/mobile/memory-runtime-v2/eval-runner.mjs +6 -6
  88. package/dist/mobile/memory-runtime-v2/evidence-plan.mjs +9 -9
  89. package/dist/mobile/memory-runtime-v2/index.mjs +31 -31
  90. package/dist/mobile/memory-runtime-v2/memory-control-plane.mjs +9 -9
  91. package/dist/mobile/memory-runtime-v2/memory-readiness.mjs +9 -9
  92. package/dist/mobile/memory-runtime-v2/orchestrator.mjs +4 -4
  93. package/dist/mobile/memory-runtime-v2/public-api.mjs +12 -12
  94. package/dist/mobile/native-reply-system-prompt-layers.mjs +56 -56
  95. package/dist/mobile/openai-completions-turn-runner.mjs +65 -65
  96. package/dist/mobile/reply-dispatch-warmup.mjs +3 -3
  97. package/dist/mobile/runtime.js +160 -39
  98. package/dist/mobile/runtime.mjs +100 -99
  99. package/dist/mobile/session-dispatch/mobile-session-agent-event-bridge.mjs +1 -1
  100. package/dist/mobile/stream-inbound/mobile-text-stream-pipeline.mjs +4 -4
  101. package/dist/mobile/tool-use-input-normalize.mjs +58 -58
  102. package/dist/mobile/tools/mobile-compact-tool-bridge.mjs +58 -58
  103. package/dist/mobile/types.js +1 -0
  104. package/dist/mobile/types.mjs +1 -1
  105. package/dist/mobile/websocket.js +327 -0
  106. package/dist/mobile/websocket.mjs +7 -2
  107. package/dist/owned-tools/agents-list.mjs +1 -1
  108. package/dist/owned-tools/ceo-decision.mjs +4 -4
  109. package/dist/owned-tools/ceo-redirect.mjs +15 -15
  110. package/dist/owned-tools/compact/execute.mjs +56 -56
  111. package/dist/owned-tools/compact/gateway-tool-factory.mjs +57 -57
  112. package/dist/owned-tools/compact/registry.mjs +55 -55
  113. package/dist/owned-tools/context-compact.mjs +24 -24
  114. package/dist/owned-tools/groups-history.mjs +1 -1
  115. package/dist/owned-tools/handoff.mjs +4 -4
  116. package/dist/owned-tools/media-asset-library.mjs +1 -1
  117. package/dist/owned-tools/memory-control.mjs +11 -11
  118. package/dist/owned-tools/memory-runtime-eval.mjs +10 -10
  119. package/dist/owned-tools/message.mjs +3 -3
  120. package/dist/owned-tools/owned-reply.mjs +1 -1
  121. package/dist/owned-tools/providers/minimax-files.mjs +2 -2
  122. package/dist/owned-tools/providers/minimax-video-generate.mjs +3 -3
  123. package/dist/owned-tools/providers/minimax-voice.mjs +3 -3
  124. package/dist/owned-tools/register-owned-providers.mjs +5 -5
  125. package/dist/owned-tools/registry.mjs +54 -54
  126. package/dist/owned-tools/router.mjs +55 -55
  127. package/dist/owned-tools/runtime-bridge.mjs +56 -56
  128. package/dist/owned-tools/runtime-data.mjs +1 -1
  129. package/dist/owned-tools/session-status.mjs +1 -1
  130. package/dist/owned-tools/sessions-history-resolver.mjs +1 -1
  131. package/dist/owned-tools/sessions-history.mjs +1 -1
  132. package/dist/owned-tools/sessions-list.mjs +1 -1
  133. package/dist/owned-tools/sessions-send.mjs +1 -1
  134. package/dist/owned-tools/skills-create.mjs +1 -1
  135. package/dist/owned-tools/subagents.mjs +1 -1
  136. package/dist/owned-tools/tool-contract-prompt.mjs +55 -55
  137. package/dist/owned-tools/tool-result-envelope.mjs +57 -57
  138. package/dist/owned-tools/tool-usage-guide.mjs +54 -54
  139. package/dist/owned-tools/tts.mjs +1 -1
  140. package/dist/project-pipeline/handlers.mjs +15 -15
  141. package/dist/project-pipeline/index.mjs +15 -15
  142. package/package.json +2 -2
  143. package/gateway-core/README.md +0 -6
  144. package/dist/{chunk-IGJFAE72.mjs → chunk-2PWU4VN6.mjs} +3 -3
  145. package/dist/{chunk-H6LMX5G5.mjs → chunk-522D52FC.mjs} +3 -3
  146. package/dist/{chunk-QSUD6TNR.mjs → chunk-5U4JST47.mjs} +4 -4
  147. package/dist/{chunk-PX55IRYL.mjs → chunk-F5KN3REF.mjs} +4 -4
  148. package/dist/{chunk-N3YQ5IL6.mjs → chunk-NUXJHSSQ.mjs} +11 -11
  149. package/dist/{chunk-7MOQ462O.mjs → chunk-WQFYA2BW.mjs} +3 -3
  150. package/dist/{chunk-J74WVZGF.mjs → chunk-XNQJRIGR.mjs} +9 -9
package/README.md CHANGED
@@ -38,6 +38,65 @@ entries, or VPS deployment scripts.
38
38
 
39
39
  ## Release Notes
40
40
 
41
+ ### 1.5.5
42
+
43
+ 发布日期: 2026-07-01
44
+
45
+ 对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.5)
46
+
47
+ #### 概述
48
+
49
+ 1.5.5 在 1.5.4 基础上,网关运行时**新增「本机 Agent 名册热感知」能力**(1.5.4 网关运行时无功能变更),并修复桌面客户端两个问题。
50
+
51
+ #### 网关运行时(xkzoom npm)—— 有功能变更
52
+
53
+ - 新增 `/mobile/ws` 事件 `agents_changed`。网关新增对本机 Agent 名册真源的文件系统监听:
54
+ - `$STATE_ROOT/agents/` 递归(仅认顶层目录条目变化 = 名册成员增减/改名,与各 Agent `IDENTITY.md` = 展示名/头像;过滤 memory/session/diary 等聊天期高频写入);
55
+ - `$STATE_ROOT/xkzoom.json`(名册配置真源,经父目录监听以抗 `purchase-done` / `upsertRuntimeAgentConfig` 的 tmp + rename 原子替换)。
56
+ 变化经 ~400ms debounce 合并后,向所有 `/mobile/ws` 连接广播 `agents_changed`;客户端(桌面 / 移动)收到即重新拉取 `GET /api/agents/list` 热加载,**无需重连或重启**。监听句柄均 `unref`(不额外维持进程存活),recursive 监听在不支持的平台(如 Linux)自动降级为仅 `xkzoom.json` 监听(名册成员变化必写 json,仍覆盖)。
57
+
58
+ #### 修复(桌面客户端 xkzoom-desktop)
59
+
60
+ - 领取 / 领回本机 Agent 后,左侧聊天列表不出现该 Agent,需要 Ctrl+R 强制刷新才可见。
61
+ 根因:桌面聊天侧栏的本机 Agent 名册(来自网关 `GET /api/agents/list`)与商店运行时名册是两份独立状态;领取(写盘)后,前端对本机 Agent 列表的检测不实时(无轮询、无热加载)。现改为由网关 `agents_changed` 事件驱动——收到即重拉列表,占位会话在写盘后自动出现,无需强刷。(配套网关侧新增能力见上。)
62
+ - 初次启动新会话发送首条消息时出现两条相同用户气泡。
63
+ 为乐观气泡引入贯穿「乐观气泡 → 服务端回显」的稳定 `clientMessageId`,草稿 → 真实会话重绑时按稳定键去重合并,而非盲目追加,消除首条消息重复。
64
+
65
+ #### 升级说明
66
+
67
+ - 网关端从 1.5.4 升到 1.5.5 无需任何迁移或配置变更;新增的名册监听在网关启动时自动生效。
68
+ - 桌面客户端需内嵌 1.5.5 网关运行时并同步至 desktop 1.5.5,方可获得「领取即热加载」体验(旧网关不广播 `agents_changed`)。
69
+
70
+ ### 1.5.4
71
+
72
+ 发布日期: 2026-07-01
73
+
74
+ 对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.4)
75
+
76
+ #### 概述
77
+
78
+ 1.5.4 是在 1.5.3 基础上的修复版本。网关运行时相较 1.5.3 无功能变更,本次问题与修复集中在桌面客户端;网关 npm 包随版本线对齐发布,供 desktop 1.5.4 安装包内嵌。
79
+
80
+ #### 修复(桌面客户端 xkzoom-desktop)
81
+
82
+ - 智能体商店领取 Agent 后首条消息无回复、Agent 空转、上下文面板报 "session not found"。
83
+ 桌面端会为“已领取但尚未开聊”的 Agent 在会话列表生成占位入口(`agent-placeholder:*`)。此前发送时把该客户端自造的占位 id 原样发给网关,网关据此把一个以占位 id 为真实 id 的会话落库,与前端占位检测冲突,导致草稿永远无法重绑到真实会话。现在占位草稿发送时改发空 `sessionId`,由网关 mint 正规会话 id,前端既有的 ACK / 事件 / 接收自动切换逻辑完成“占位 → 真实会话”重绑;`selectSession` 增加“尚未落库才按草稿处理”的防御,历史存量里被错误落库的占位会话也能正常加载历史。
84
+ - 程序内右上角“检查更新”始终显示“更新检查失败:fetch failed”。
85
+ 更新检查只请求 CDN 自定义域名 `download.xkzoom.com`,在部分网络下对该域名直连超时(UND_ERR_CONNECT_TIMEOUT)。现在清单与安装包请求都新增 OSS 原始域名同路径兜底(`download.xkzoom.com` → `xkzoom-installers.oss-cn-hangzhou.aliyuncs.com`),CDN 与 OSS 任一可达即成功;清单请求另加约 6s 连接超时以快速切换(大文件下载不设超时)。结果:无新版显示“已是最新版本”,有新版可在程序内直接下载并拉起安装器。
86
+
87
+ #### 网关运行时(xkzoom npm)
88
+
89
+ - 无功能变更,与 1.5.3 一致。仅版本号对齐至 1.5.4。
90
+
91
+ #### 维护 / CI(不影响 npm 包内容)
92
+
93
+ - release-gate 的 `release-artifact-shape` 校验前先执行 `pnpm run build`,修复独立 matrix job 因缺少 dist 产物导致的误报。
94
+
95
+ #### 升级说明
96
+
97
+ - 已装 1.5.3 的用户升级到 desktop 1.5.4 后,上述两个问题即修复。
98
+ - 网关端从 1.5.3 升到 1.5.4 无需任何迁移或配置变更。
99
+
41
100
  ### 1.5.3
42
101
 
43
102
  - Hardens native provider calls against transient upstream connection failures:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  NATIVE_TURN_TOOL_CONTRACT_PROMPT,
3
3
  buildRuntimeAvailableToolsBlock
4
- } from "./chunk-3FF266OG.mjs";
4
+ } from "./chunk-U6ONSC6B.mjs";
5
5
  import {
6
6
  OWNED_REPLY_CHILD_EXTRA_PROMPT,
7
7
  OWNED_REPLY_ORCHESTRATION_TOOL_DENY
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isCompactOwnedToolName
3
- } from "./chunk-5VR6UOGC.mjs";
3
+ } from "./chunk-ND44D2ZA.mjs";
4
4
  import {
5
5
  collectRecentMessagesForCompact,
6
6
  formatRecentMessagesForPrompt
7
7
  } from "./chunk-X3BY5KPX.mjs";
8
8
  import {
9
9
  runCompactPipeline
10
- } from "./chunk-RZW4EEPW.mjs";
10
+ } from "./chunk-G4JWJKD7.mjs";
11
11
  import {
12
12
  evaluateContextBudgetGate,
13
13
  requestGatewayCompaction
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sanitizeOwnedToolVisiblePayload
3
- } from "./chunk-C5VQPAOA.mjs";
3
+ } from "./chunk-YW5STVWH.mjs";
4
4
  import {
5
5
  ownedToolPayloadIndicatesFailure
6
6
  } from "./chunk-GYZ4IXUD.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_minimax_files,
3
3
  minimaxUploadFile
4
- } from "./chunk-PX55IRYL.mjs";
4
+ } from "./chunk-F5KN3REF.mjs";
5
5
  import {
6
6
  init_minimax_gateway,
7
7
  resolveMinimaxApiOrigin
@@ -10,15 +10,15 @@ import {
10
10
  getDefaultMediaTaskStore,
11
11
  init_media_task_store
12
12
  } from "./chunk-MORFK46T.mjs";
13
+ import {
14
+ createMediaTaskId,
15
+ init_media_contracts
16
+ } from "./chunk-54MLYQ72.mjs";
13
17
  import {
14
18
  buildGeneratedMediaRelPath,
15
19
  init_media_assets,
16
20
  writeMediaAssetToWorkspace
17
21
  } from "./chunk-K5GKQRJY.mjs";
18
- import {
19
- createMediaTaskId,
20
- init_media_contracts
21
- } from "./chunk-54MLYQ72.mjs";
22
22
  import {
23
23
  __esm
24
24
  } from "./chunk-HEBXNMVQ.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  registerInFlightRun,
30
30
  setExecutionPlan,
31
31
  setGroupFloorState
32
- } from "./chunk-AJNXWGX2.mjs";
32
+ } from "./chunk-LJ6RMHC6.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-7MOQ462O.mjs";
46
+ } from "./chunk-WQFYA2BW.mjs";
47
47
  import {
48
48
  getMobileChatStore
49
49
  } from "./chunk-CVXJ45WI.mjs";
@@ -5,24 +5,24 @@ import {
5
5
  import {
6
6
  init_register_owned_providers,
7
7
  registerDefaultOwnedProviders
8
- } from "./chunk-D3N7EHB2.mjs";
8
+ } from "./chunk-YSLLUNNZ.mjs";
9
9
  import {
10
10
  diagnoseToolUseInputReadiness,
11
11
  finalizeToolUseInputForExecution
12
- } from "./chunk-W7OJPFTN.mjs";
12
+ } from "./chunk-FAB2ZZYB.mjs";
13
13
  import {
14
14
  augmentOwnedToolEnvelopeWithRoot,
15
15
  buildOwnedToolErrorEnvelope,
16
16
  classifyToolExecutionErrorMessage,
17
17
  formatOwnedToolResultEnvelope,
18
18
  normalizeOwnedToolExecuteOutcome
19
- } from "./chunk-T5ZCLYLJ.mjs";
19
+ } from "./chunk-4BCLMOYG.mjs";
20
20
  import {
21
21
  isMemoryWorkspacePath
22
- } from "./chunk-C5VQPAOA.mjs";
22
+ } from "./chunk-YW5STVWH.mjs";
23
23
  import {
24
24
  validatePlannedToolAction
25
- } from "./chunk-BN273XTH.mjs";
25
+ } from "./chunk-YKACMPVT.mjs";
26
26
  import {
27
27
  formatToolValidationError
28
28
  } from "./chunk-KWQEFCOY.mjs";
@@ -31,10 +31,10 @@ import {
31
31
  OWNED_TURN_TOOL_NAMES,
32
32
  buildOwnedTurnToolSchemas,
33
33
  isOwnedTurnToolName
34
- } from "./chunk-THN36GA5.mjs";
34
+ } from "./chunk-MLHV7EMJ.mjs";
35
35
  import {
36
36
  evaluateGroupToolCallGate
37
- } from "./chunk-3EV63LAA.mjs";
37
+ } from "./chunk-O7MFL7L4.mjs";
38
38
  import {
39
39
  beginToolSideEffect,
40
40
  completeToolSideEffect,
@@ -1,12 +1,12 @@
1
- import {
2
- init_minimax_poll,
3
- pollUntil
4
- } from "./chunk-LBJQ444U.mjs";
5
1
  import {
6
2
  MinimaxProviderHttpError,
7
3
  init_minimax_files,
8
4
  minimaxDownloadFileToWorkspace
9
- } from "./chunk-PX55IRYL.mjs";
5
+ } from "./chunk-F5KN3REF.mjs";
6
+ import {
7
+ init_minimax_poll,
8
+ pollUntil
9
+ } from "./chunk-LBJQ444U.mjs";
10
10
  import {
11
11
  init_minimax_gateway,
12
12
  resolveMinimaxApiOrigin
@@ -15,17 +15,17 @@ import {
15
15
  getDefaultMediaTaskStore,
16
16
  init_media_task_store
17
17
  } from "./chunk-MORFK46T.mjs";
18
+ import {
19
+ buildMinimaxProviderError,
20
+ init_media_contracts,
21
+ mediaTaskSummary
22
+ } from "./chunk-54MLYQ72.mjs";
18
23
  import {
19
24
  buildGeneratedMediaRelPath,
20
25
  init_media_assets,
21
26
  workspaceRootFingerprint,
22
27
  writeMediaAssetToWorkspace
23
28
  } from "./chunk-K5GKQRJY.mjs";
24
- import {
25
- buildMinimaxProviderError,
26
- init_media_contracts,
27
- mediaTaskSummary
28
- } from "./chunk-54MLYQ72.mjs";
29
29
  import {
30
30
  __esm
31
31
  } from "./chunk-HEBXNMVQ.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  handleMemoryProductControlPlaneRoute,
14
14
  readLastMemoryReadinessGate,
15
15
  readLastMemoryReadinessReport
16
- } from "./chunk-I4LMW3IM.mjs";
16
+ } from "./chunk-MTRG3ZME.mjs";
17
17
  import {
18
18
  buildMemorySoakEvidenceSummary,
19
19
  completeMemorySoakSession,
@@ -24,6 +24,11 @@ import {
24
24
  recordMemorySoakSessionEvent,
25
25
  startMemorySoakSession
26
26
  } from "./chunk-XQUKAHWK.mjs";
27
+ import {
28
+ exportMemoryPortabilitySnapshot,
29
+ importMemoryPortabilitySnapshot,
30
+ verifyMemoryPortabilitySnapshot
31
+ } from "./chunk-6SJTUWEO.mjs";
27
32
  import {
28
33
  buildMemoryProductAcceptanceSummary,
29
34
  listMemoryProductAcceptanceReports,
@@ -39,13 +44,14 @@ import {
39
44
  updateMemoryRecordVisibility
40
45
  } from "./chunk-ZZLJUAEK.mjs";
41
46
  import {
42
- exportMemoryPortabilitySnapshot,
43
- importMemoryPortabilitySnapshot,
44
- verifyMemoryPortabilitySnapshot
45
- } from "./chunk-6SJTUWEO.mjs";
47
+ executeRegisteredContextCompact
48
+ } from "./chunk-UH6VXWMV.mjs";
49
+ import {
50
+ traceMemoryEvidence
51
+ } from "./chunk-LWCO2YNI.mjs";
46
52
  import {
47
53
  buildContextPackForTurn
48
- } from "./chunk-N3YQ5IL6.mjs";
54
+ } from "./chunk-NUXJHSSQ.mjs";
49
55
  import {
50
56
  generateSkillEvolutionSuggestions
51
57
  } from "./chunk-J72V5GVI.mjs";
@@ -57,15 +63,9 @@ import {
57
63
  recordSkillNegativeSample,
58
64
  suggestSkillDeprecation
59
65
  } from "./chunk-2AHSYECT.mjs";
60
- import {
61
- traceMemoryEvidence
62
- } from "./chunk-LWCO2YNI.mjs";
63
66
  import {
64
67
  importLocalMemorySources
65
68
  } from "./chunk-KCZIK3TH.mjs";
66
- import {
67
- executeRegisteredContextCompact
68
- } from "./chunk-UH6VXWMV.mjs";
69
69
  import {
70
70
  updateRunLedger
71
71
  } from "./chunk-4WWT6OC2.mjs";
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  buildMvpAnthropicToolSchemas,
7
7
  executeAnthropicToolUse
8
- } from "./chunk-SQHTVHQ7.mjs";
8
+ } from "./chunk-6VSIGHGI.mjs";
9
9
  import {
10
10
  diagnoseToolUseInputReadiness,
11
11
  formatToolInputDiagLine,
12
12
  isExecutableToolUseInput,
13
13
  resolveToolUseInput
14
- } from "./chunk-W7OJPFTN.mjs";
14
+ } from "./chunk-FAB2ZZYB.mjs";
15
15
  import {
16
16
  selectAnthropicAdapter
17
17
  } from "./chunk-UQLGVSQH.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isToolUseInputComplete
3
- } from "./chunk-T5ZCLYLJ.mjs";
3
+ } from "./chunk-4BCLMOYG.mjs";
4
4
  import {
5
5
  OWNED_TURN_TOOL_BY_NAME
6
- } from "./chunk-THN36GA5.mjs";
6
+ } from "./chunk-MLHV7EMJ.mjs";
7
7
  import {
8
8
  parseToolUseInput,
9
9
  salvagePartialToolUseInput
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getMobileWebSocketServer
3
- } from "./chunk-ZMQ3UOGP.mjs";
3
+ } from "./chunk-MMWLRPKT.mjs";
4
4
 
5
5
  // src/mobile/bucket-events/emit-bucket-frame.ts
6
6
  function broadcastBucketFrame(frame, options) {
@@ -27,26 +27,26 @@ import {
27
27
  } from "./chunk-OWIXULFQ.mjs";
28
28
  import {
29
29
  buildEngineCompactSummaryArtifact
30
- } from "./chunk-6EI5MFLD.mjs";
30
+ } from "./chunk-PN6I6DTV.mjs";
31
31
  import {
32
32
  buildConversationTailContextBlock,
33
33
  enrichCompactArtifactFromConversationTail
34
- } from "./chunk-DBYEZK64.mjs";
34
+ } from "./chunk-XDR276NG.mjs";
35
35
  import {
36
36
  runCompactSummarizerWithRetry
37
- } from "./chunk-QSUD6TNR.mjs";
38
- import {
39
- applySummarizerInputBudget
40
- } from "./chunk-6S7LAZFT.mjs";
37
+ } from "./chunk-5U4JST47.mjs";
41
38
  import {
42
39
  buildActionStepsBlock
43
40
  } from "./chunk-AAVCVONC.mjs";
41
+ import {
42
+ applySummarizerInputBudget
43
+ } from "./chunk-6S7LAZFT.mjs";
44
44
  import {
45
45
  writeCompactArtifactsAtomic
46
46
  } from "./chunk-MIXYB6BH.mjs";
47
47
  import {
48
48
  ensureCompactArtifactsEngineFallback
49
- } from "./chunk-IGJFAE72.mjs";
49
+ } from "./chunk-2PWU4VN6.mjs";
50
50
  import {
51
51
  buildCompactOrchestratorSystemPrompt,
52
52
  buildCompactResumeSystemPrompt
@@ -58,14 +58,9 @@ import {
58
58
  seedCompactNoteSkeleton,
59
59
  verifyCompactWriteArtifacts
60
60
  } from "./chunk-L7PMYQN5.mjs";
61
- import {
62
- engineSeededNoteHasMinimalContinuity,
63
- isEngineSeededCompactNote,
64
- validateCompactNoteStructure
65
- } from "./chunk-NDHB4EIS.mjs";
66
61
  import {
67
62
  enqueueCompactMemoryDistill
68
- } from "./chunk-H6LMX5G5.mjs";
63
+ } from "./chunk-522D52FC.mjs";
69
64
  import {
70
65
  collectMessagesForCompactionWithTranscriptFallback,
71
66
  findRelatedDiaryNotes,
@@ -85,6 +80,11 @@ import {
85
80
  resolveSessionStatePath,
86
81
  writeSessionStateSnapshot
87
82
  } from "./chunk-ME6MMQWE.mjs";
83
+ import {
84
+ engineSeededNoteHasMinimalContinuity,
85
+ isEngineSeededCompactNote,
86
+ validateCompactNoteStructure
87
+ } from "./chunk-NDHB4EIS.mjs";
88
88
  import {
89
89
  executeSummarizeTranscript,
90
90
  resolveGatewayTranscriptPath,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-X3BY5KPX.mjs";
5
5
  import {
6
6
  runCompactPipeline
7
- } from "./chunk-RZW4EEPW.mjs";
7
+ } from "./chunk-G4JWJKD7.mjs";
8
8
  import {
9
9
  registerContextCompactExecutor
10
10
  } from "./chunk-UH6VXWMV.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6SZCPHCL.mjs";
5
5
  import {
6
6
  getGroupFloorState
7
- } from "./chunk-AJNXWGX2.mjs";
7
+ } from "./chunk-LJ6RMHC6.mjs";
8
8
  import {
9
9
  defineTool
10
10
  } from "./chunk-DFJFMZX6.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  broadcastBucketFrame
3
- } from "./chunk-Q33JD64H.mjs";
3
+ } from "./chunk-FCK6QFJB.mjs";
4
4
 
5
5
  // src/mobile/bucket-events/register-bucket-gateway-bridge.ts
6
6
  import { createRequire } from "module";
@@ -2,10 +2,10 @@ import {
2
2
  createGroupChatSession,
3
3
  updateGroupMembers,
4
4
  updateGroupSettings
5
- } from "./chunk-X7P6B2LK.mjs";
5
+ } from "./chunk-XADONCIM.mjs";
6
6
  import {
7
7
  tryKickPipelineCeoRequirementConfirmation
8
- } from "./chunk-3EV63LAA.mjs";
8
+ } from "./chunk-O7MFL7L4.mjs";
9
9
  import {
10
10
  floorStateToEventPayload
11
11
  } from "./chunk-DXPZNBSQ.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AZVEPDT6.mjs";
16
16
  import {
17
17
  getGroupFloorState
18
- } from "./chunk-AJNXWGX2.mjs";
18
+ } from "./chunk-LJ6RMHC6.mjs";
19
19
  import {
20
20
  getTeamTaskBoard,
21
21
  patchTeamTaskBoard
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-INHFVKZY.mjs";
5
5
  import {
6
6
  LEGACY_INFLIGHT_NODE_ID
7
- } from "./chunk-7MOQ462O.mjs";
7
+ } from "./chunk-WQFYA2BW.mjs";
8
8
  import {
9
9
  init_state_dir,
10
10
  resolveXkzoomStateDirForProcess
@@ -3,7 +3,7 @@ import {
3
3
  memory_evidence,
4
4
  memory_policy,
5
5
  memory_portability
6
- } from "./chunk-FKCGJ3BF.mjs";
6
+ } from "./chunk-DZDEUZD2.mjs";
7
7
  import {
8
8
  defineTool
9
9
  } from "./chunk-DFJFMZX6.mjs";
@@ -24,6 +24,7 @@ var WsMessageType = /* @__PURE__ */ ((WsMessageType2) => {
24
24
  WsMessageType2["DEVICE_CONSENT"] = "device_consent";
25
25
  WsMessageType2["COMPACT_PROGRESS"] = "compact_progress";
26
26
  WsMessageType2["FLOOR_EVENT"] = "floor_event";
27
+ WsMessageType2["AGENTS_CHANGED"] = "agents_changed";
27
28
  WsMessageType2["PING"] = "ping";
28
29
  WsMessageType2["PONG"] = "pong";
29
30
  WsMessageType2["ERROR"] = "error";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  OWNED_TURN_TOOL_CATALOG,
7
7
  resolveEnabledOwnedTurnTools
8
- } from "./chunk-THN36GA5.mjs";
8
+ } from "./chunk-MLHV7EMJ.mjs";
9
9
  import {
10
10
  gatewayAgentWantsFullToolLoop,
11
11
  init_native_gateway_config,
@@ -3,7 +3,7 @@ import {
3
3
  MOBILE_DEFAULT_ACCOUNT_ID,
4
4
  resolveMobileInboundIdentity,
5
5
  resolveMobileRouteAgent
6
- } from "./chunk-B4YKXZ5W.mjs";
6
+ } from "./chunk-OQMIECO2.mjs";
7
7
  import {
8
8
  resolveProjectContextPromptInfo
9
9
  } from "./chunk-4ELPLFOH.mjs";
@@ -8,7 +8,7 @@ import {
8
8
  handleSaveTeamHandover,
9
9
  handleUpdateGroupMembers,
10
10
  handleUpdateGroupSettings
11
- } from "./chunk-WNI5ZPQY.mjs";
11
+ } from "./chunk-JK5ZK32E.mjs";
12
12
  import {
13
13
  tryHandleAgentShopRoute
14
14
  } from "./chunk-QCSNRVL2.mjs";
@@ -25,7 +25,7 @@ import {
25
25
  handleRestartOrgProject,
26
26
  handleSubmitAuditVerdict,
27
27
  handleSubmitProjectBrief
28
- } from "./chunk-LXEKUNXI.mjs";
28
+ } from "./chunk-UPD527M4.mjs";
29
29
  import {
30
30
  listMediaAssetLibrary
31
31
  } from "./chunk-QVEQRCOD.mjs";
@@ -50,7 +50,7 @@ import {
50
50
  } from "./chunk-4POYX4AW.mjs";
51
51
  import {
52
52
  handleMemoryProductControlPlaneRoute
53
- } from "./chunk-I4LMW3IM.mjs";
53
+ } from "./chunk-MTRG3ZME.mjs";
54
54
  import {
55
55
  SessionIdAgentConflictError
56
56
  } from "./chunk-KPJOJH6H.mjs";
@@ -1,15 +1,15 @@
1
- import {
2
- summarizeTranscriptTool
3
- } from "./chunk-4IUL5JAK.mjs";
4
- import {
5
- diarySearchTool
6
- } from "./chunk-CKXZA326.mjs";
7
1
  import {
8
2
  notesGetTool
9
3
  } from "./chunk-3JF27U3D.mjs";
10
4
  import {
11
5
  notesSearchTool
12
6
  } from "./chunk-77HWNHNA.mjs";
7
+ import {
8
+ summarizeTranscriptTool
9
+ } from "./chunk-4IUL5JAK.mjs";
10
+ import {
11
+ diarySearchTool
12
+ } from "./chunk-CKXZA326.mjs";
13
13
  import {
14
14
  webSearchTool
15
15
  } from "./chunk-I23YODIQ.mjs";
@@ -37,9 +37,15 @@ import {
37
37
  import {
38
38
  skillsCreateTool
39
39
  } from "./chunk-Z2JNJLJM.mjs";
40
+ import {
41
+ readTool
42
+ } from "./chunk-CTKIQWTE.mjs";
40
43
  import {
41
44
  sessionStatusTool
42
45
  } from "./chunk-5ZMY6RTR.mjs";
46
+ import {
47
+ modelsListTool
48
+ } from "./chunk-6AY6OPO5.mjs";
43
49
  import {
44
50
  musicGenerateTool
45
51
  } from "./chunk-634RMCSZ.mjs";
@@ -49,27 +55,30 @@ import {
49
55
  import {
50
56
  processTool
51
57
  } from "./chunk-TRMEHTAT.mjs";
52
- import {
53
- readTool
54
- } from "./chunk-CTKIQWTE.mjs";
55
58
  import {
56
59
  memoryControlTool
57
- } from "./chunk-WGLYR2YT.mjs";
60
+ } from "./chunk-LKHL3NCW.mjs";
58
61
  import {
59
62
  memoryGetTool
60
63
  } from "./chunk-N2CMVW47.mjs";
61
64
  import {
62
65
  memoryRuntimeEvalTool
63
- } from "./chunk-M6VHS3HQ.mjs";
66
+ } from "./chunk-W6JEB555.mjs";
64
67
  import {
65
68
  messageTool
66
- } from "./chunk-VWAUDB4X.mjs";
69
+ } from "./chunk-UFURP7VS.mjs";
67
70
  import {
68
- modelsListTool
69
- } from "./chunk-6AY6OPO5.mjs";
71
+ groupsHistoryTool
72
+ } from "./chunk-BFSOQ5IG.mjs";
73
+ import {
74
+ sessionsHistoryTool
75
+ } from "./chunk-IKQ7CLX3.mjs";
76
+ import {
77
+ sessionsListTool
78
+ } from "./chunk-VA7SUI2L.mjs";
70
79
  import {
71
80
  handoffTool
72
- } from "./chunk-ESYRDWFO.mjs";
81
+ } from "./chunk-HVDIL2V7.mjs";
73
82
  import {
74
83
  imageGenerateTool
75
84
  } from "./chunk-F4QXCGDQ.mjs";
@@ -79,6 +88,9 @@ import {
79
88
  import {
80
89
  lyricsGenerateTool
81
90
  } from "./chunk-LT2FPTFV.mjs";
91
+ import {
92
+ devToolkitTool
93
+ } from "./chunk-KJR74IUO.mjs";
82
94
  import {
83
95
  editTool
84
96
  } from "./chunk-IT2GAHAL.mjs";
@@ -86,14 +98,8 @@ import {
86
98
  execTool
87
99
  } from "./chunk-T6XDJ2QQ.mjs";
88
100
  import {
89
- groupsHistoryTool
90
- } from "./chunk-BFSOQ5IG.mjs";
91
- import {
92
- sessionsHistoryTool
93
- } from "./chunk-IKQ7CLX3.mjs";
94
- import {
95
- sessionsListTool
96
- } from "./chunk-VA7SUI2L.mjs";
101
+ agentsListTool
102
+ } from "./chunk-LBZCBBHU.mjs";
97
103
  import {
98
104
  browserTool
99
105
  } from "./chunk-2IZUNNW7.mjs";
@@ -105,28 +111,22 @@ import {
105
111
  } from "./chunk-RYSPXH7G.mjs";
106
112
  import {
107
113
  ceoDecisionTool
108
- } from "./chunk-PBBRBETA.mjs";
114
+ } from "./chunk-TNBK63NV.mjs";
109
115
  import {
110
116
  ceoOpsBriefTool
111
117
  } from "./chunk-GSIZ5FR6.mjs";
112
118
  import {
113
119
  ceoRedirectTool
114
- } from "./chunk-WRRJFJ2N.mjs";
120
+ } from "./chunk-ZE6GJFY7.mjs";
115
121
  import {
116
122
  commitStackLessonTool
117
123
  } from "./chunk-S5ROBD7X.mjs";
118
124
  import {
119
125
  contextCompactTool
120
- } from "./chunk-MVKCMXBY.mjs";
126
+ } from "./chunk-H7DNHHNA.mjs";
121
127
  import {
122
128
  memorySearchTool
123
129
  } from "./chunk-QWFX5VEN.mjs";
124
- import {
125
- devToolkitTool
126
- } from "./chunk-KJR74IUO.mjs";
127
- import {
128
- agentsListTool
129
- } from "./chunk-LBZCBBHU.mjs";
130
130
  import {
131
131
  sessionsSpawnTool,
132
132
  subagentsTool