xkzoom 1.5.4 → 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 (219) hide show
  1. package/README.md +29 -0
  2. package/dist/{chunk-4JXTPCOE.mjs → chunk-2NBVNRMZ.mjs} +1 -1
  3. package/dist/{chunk-VIZQURO5.mjs → chunk-2PWU4VN6.mjs} +7 -7
  4. package/dist/{chunk-F35EHL5U.mjs → chunk-3K6WOVYD.mjs} +6 -6
  5. package/dist/{chunk-76MFE24I.mjs → chunk-3TTLV2GM.mjs} +1 -1
  6. package/dist/{chunk-GIC2RBVM.mjs → chunk-4BCLMOYG.mjs} +1 -1
  7. package/dist/{chunk-HAI7DJD2.mjs → chunk-54GVKP6B.mjs} +6 -6
  8. package/dist/{chunk-I7O5UR24.mjs → chunk-5IAQOOZ2.mjs} +5 -5
  9. package/dist/{chunk-MRTQWCNC.mjs → chunk-5U4JST47.mjs} +1 -1
  10. package/dist/{chunk-2IQAT3PE.mjs → chunk-64QYTQH7.mjs} +3 -3
  11. package/dist/{chunk-WPMJCKI2.mjs → chunk-6SYECCCG.mjs} +8 -8
  12. package/dist/{chunk-TADSGGK2.mjs → chunk-6VSIGHGI.mjs} +7 -7
  13. package/dist/{chunk-M3ISDSQP.mjs → chunk-APQRVOZQ.mjs} +5 -5
  14. package/dist/{chunk-QADC4VKT.mjs → chunk-CRYBNNZU.mjs} +10 -10
  15. package/dist/{chunk-PW3ULDNL.mjs → chunk-CVIZMDMZ.mjs} +1 -1
  16. package/dist/{chunk-GIAML5K5.mjs → chunk-DQ7J7RST.mjs} +1 -1
  17. package/dist/{chunk-YYDDQEY4.mjs → chunk-DXPZNBSQ.mjs} +1 -1
  18. package/dist/{chunk-VNEPNUBZ.mjs → chunk-DZDEUZD2.mjs} +11 -11
  19. package/dist/{chunk-5SE4JOKE.mjs → chunk-EBVVOJVN.mjs} +15 -15
  20. package/dist/{chunk-DCSERRXG.mjs → chunk-ED4H2DM7.mjs} +1 -1
  21. package/dist/{chunk-CQUISJWG.mjs → chunk-EYK3W2NV.mjs} +1 -1
  22. package/dist/{chunk-3KJHUTOO.mjs → chunk-FAB2ZZYB.mjs} +2 -2
  23. package/dist/{chunk-Q33JD64H.mjs → chunk-FCK6QFJB.mjs} +1 -1
  24. package/dist/{chunk-UXEZFEB3.mjs → chunk-FZ7NLBVP.mjs} +13 -13
  25. package/dist/{chunk-MDZUWIBH.mjs → chunk-G4JWJKD7.mjs} +13 -13
  26. package/dist/{chunk-GZJMFCRG.mjs → chunk-G5LQ2PQ6.mjs} +2 -2
  27. package/dist/{chunk-6W4W5JLG.mjs → chunk-GSIZ5FR6.mjs} +2 -2
  28. package/dist/{chunk-27BXVTXH.mjs → chunk-H4BNL7XG.mjs} +1 -1
  29. package/dist/{chunk-FG6QCRVN.mjs → chunk-H7DNHHNA.mjs} +1 -1
  30. package/dist/{chunk-7LEEVP5O.mjs → chunk-HVDIL2V7.mjs} +11 -11
  31. package/dist/{chunk-PJKLQF3K.mjs → chunk-INFZEMQK.mjs} +1 -1
  32. package/dist/{chunk-IDQ5B572.mjs → chunk-JK5ZK32E.mjs} +5 -5
  33. package/dist/{chunk-LFZAVCVW.mjs → chunk-LJ6RMHC6.mjs} +1 -1
  34. package/dist/{chunk-L252ASZW.mjs → chunk-LKHL3NCW.mjs} +1 -1
  35. package/dist/{chunk-PS6X3CND.mjs → chunk-LKSRZTSL.mjs} +1 -0
  36. package/dist/{chunk-LESS4N25.mjs → chunk-LMIEVEGA.mjs} +5 -5
  37. package/dist/{chunk-COYZO24J.mjs → chunk-MCD5TOFD.mjs} +1 -1
  38. package/dist/{chunk-JBKRS62W.mjs → chunk-MFIBP6MD.mjs} +4 -4
  39. package/dist/{chunk-CFZVBILR.mjs → chunk-MIXYB6BH.mjs} +1 -1
  40. package/dist/{chunk-3ZH273T7.mjs → chunk-MLHV7EMJ.mjs} +33 -33
  41. package/dist/{chunk-ZMQ3UOGP.mjs → chunk-MMWLRPKT.mjs} +13 -1
  42. package/dist/{chunk-OBYPZT2S.mjs → chunk-MTRG3ZME.mjs} +7 -7
  43. package/dist/{chunk-J5AXFEDQ.mjs → chunk-N6VFFREI.mjs} +52 -52
  44. package/dist/{chunk-TVH4LII3.mjs → chunk-ND44D2ZA.mjs} +1 -1
  45. package/dist/{chunk-JG3K4N5B.mjs → chunk-NIV5GVCE.mjs} +1 -1
  46. package/dist/{chunk-MPGMU75K.mjs → chunk-NUXJHSSQ.mjs} +5 -5
  47. package/dist/{chunk-JFFBD5TV.mjs → chunk-O7MFL7L4.mjs} +10 -10
  48. package/dist/{chunk-PETWGCGB.mjs → chunk-OMLMLZUY.mjs} +2 -2
  49. package/dist/{chunk-B4YKXZ5W.mjs → chunk-OQMIECO2.mjs} +1 -1
  50. package/dist/{chunk-ZTKJR7OC.mjs → chunk-OWIXULFQ.mjs} +1 -1
  51. package/dist/{chunk-JXDHNASC.mjs → chunk-P4WX5RWE.mjs} +20 -20
  52. package/dist/{chunk-JJKRD5DL.mjs → chunk-PN6I6DTV.mjs} +4 -4
  53. package/dist/{chunk-5YEFG7BF.mjs → chunk-QEED7NAG.mjs} +31 -31
  54. package/dist/{chunk-HYSOWPIC.mjs → chunk-RVW5XO4A.mjs} +4 -4
  55. package/dist/{chunk-NHICONJ3.mjs → chunk-RYSPXH7G.mjs} +2 -2
  56. package/dist/{chunk-IGDJGBAI.mjs → chunk-S5ROBD7X.mjs} +2 -2
  57. package/dist/{chunk-RKZ56GST.mjs → chunk-SKQOHRBI.mjs} +2 -2
  58. package/dist/{chunk-TQBVFKCT.mjs → chunk-SLBCSYGP.mjs} +8 -8
  59. package/dist/{chunk-W75Z6CZR.mjs → chunk-TER7DFHP.mjs} +1 -1
  60. package/dist/{chunk-NIU6GWKB.mjs → chunk-TNBK63NV.mjs} +4 -4
  61. package/dist/{chunk-K7RZQIPZ.mjs → chunk-U6ONSC6B.mjs} +1 -1
  62. package/dist/{chunk-2DR5RT3I.mjs → chunk-UAUV2GYH.mjs} +101 -101
  63. package/dist/{chunk-VWAUDB4X.mjs → chunk-UFURP7VS.mjs} +1 -1
  64. package/dist/{chunk-76TKUYY3.mjs → chunk-UPD527M4.mjs} +6 -6
  65. package/dist/{chunk-YPKHMAO4.mjs → chunk-VHRFLCMY.mjs} +1 -1
  66. package/dist/{chunk-M5IU6U3O.mjs → chunk-W6JEB555.mjs} +2 -2
  67. package/dist/{chunk-KPDVZFJY.mjs → chunk-WOHFGPTL.mjs} +1 -1
  68. package/dist/{chunk-24GJWXMG.mjs → chunk-WQFYA2BW.mjs} +3 -3
  69. package/dist/{chunk-E2TTUY6R.mjs → chunk-XADONCIM.mjs} +10 -10
  70. package/dist/{chunk-3VA3YDYL.mjs → chunk-XDR276NG.mjs} +1 -1
  71. package/dist/{chunk-MWRQORKQ.mjs → chunk-XF4EURDX.mjs} +1 -1
  72. package/dist/{chunk-JI67TW4E.mjs → chunk-YFKOQIA7.mjs} +1 -1
  73. package/dist/{chunk-MBOWNG3A.mjs → chunk-YKACMPVT.mjs} +1 -1
  74. package/dist/{chunk-D3N7EHB2.mjs → chunk-YSLLUNNZ.mjs} +9 -9
  75. package/dist/chunk-YTBKWX7J.mjs +102 -0
  76. package/dist/{chunk-2VSERWT6.mjs → chunk-YW5STVWH.mjs} +1 -1
  77. package/dist/{chunk-ETD5LGJY.mjs → chunk-Z3COATFF.mjs} +1 -1
  78. package/dist/{chunk-MQKREMOB.mjs → chunk-ZE6GJFY7.mjs} +7 -7
  79. package/dist/index.js +262 -162
  80. package/dist/index.mjs +182 -181
  81. package/dist/mobile/action-planner.mjs +105 -105
  82. package/dist/mobile/agent-capabilities.mjs +106 -106
  83. package/dist/mobile/agent-shop/handlers.mjs +3 -3
  84. package/dist/mobile/agents-watch.js +346 -0
  85. package/dist/mobile/agents-watch.mjs +13 -0
  86. package/dist/mobile/anthropic-incremental-deliver.mjs +3 -3
  87. package/dist/mobile/anthropic-messages-turn-runner.mjs +115 -115
  88. package/dist/mobile/anthropic-owned-tool-executor.mjs +114 -114
  89. package/dist/mobile/api.mjs +63 -63
  90. package/dist/mobile/auth.mjs +1 -1
  91. package/dist/mobile/bucket-events/emit-bucket-frame.js +327 -0
  92. package/dist/mobile/bucket-events/emit-bucket-frame.mjs +8 -3
  93. package/dist/mobile/bucket-events/register-bucket-gateway-bridge.js +320 -3
  94. package/dist/mobile/bucket-events/register-bucket-gateway-bridge.mjs +9 -4
  95. package/dist/mobile/channel.mjs +2 -2
  96. package/dist/mobile/context-compact/compact-artifact-enrich.mjs +14 -14
  97. package/dist/mobile/context-compact/compact-artifact-writer.mjs +3 -3
  98. package/dist/mobile/context-compact/compact-engine-artifacts.mjs +4 -4
  99. package/dist/mobile/context-compact/compact-memory-distill-job.mjs +3 -3
  100. package/dist/mobile/context-compact/compact-message-collector.mjs +2 -2
  101. package/dist/mobile/context-compact/compact-orchestrator.mjs +29 -29
  102. package/dist/mobile/context-compact/compact-resume-prefetch.mjs +3 -3
  103. package/dist/mobile/context-compact/compact-summarizer-engine-artifact.mjs +15 -15
  104. package/dist/mobile/context-compact/compact-summarizer-llm-request.mjs +10 -10
  105. package/dist/mobile/context-compact/compact-summarizer-llm.mjs +11 -11
  106. package/dist/mobile/context-compact/compact-summarizer.mjs +13 -13
  107. package/dist/mobile/context-compact/compact-write-verifier.mjs +2 -2
  108. package/dist/mobile/context-compact/runtime-compact-hook.mjs +109 -109
  109. package/dist/mobile/group/conductor-llm.mjs +13 -13
  110. package/dist/mobile/group/conductor-plan-llm.mjs +19 -19
  111. package/dist/mobile/group/delivery-verification.mjs +4 -4
  112. package/dist/mobile/group/direct-chat-group-context.mjs +1 -1
  113. package/dist/mobile/group/execution-plan.mjs +5 -5
  114. package/dist/mobile/group/floor-scheduler.mjs +6 -6
  115. package/dist/mobile/group/floor-state-store.mjs +6 -6
  116. package/dist/mobile/group/group-api-handlers.mjs +45 -45
  117. package/dist/mobile/group/group-peer-private-context.mjs +1 -1
  118. package/dist/mobile/group/group-session.mjs +18 -18
  119. package/dist/mobile/group/index.mjs +39 -39
  120. package/dist/mobile/group/memory-supplement.mjs +9 -9
  121. package/dist/mobile/group/orchestrator.mjs +35 -35
  122. package/dist/mobile/group/pipeline-ceo-dept-mention-parse.mjs +3 -3
  123. package/dist/mobile/group/pipeline-handoff-verification.mjs +3 -3
  124. package/dist/mobile/group/pipeline-turn-outcome.mjs +2 -2
  125. package/dist/mobile/group/plan-runtime.mjs +17 -17
  126. package/dist/mobile/group/relation-distill.mjs +7 -7
  127. package/dist/mobile/group/runtime-integration.mjs +43 -43
  128. package/dist/mobile/group/team-memory-runtime.mjs +3 -3
  129. package/dist/mobile/index.js +277 -155
  130. package/dist/mobile/index.mjs +177 -176
  131. package/dist/mobile/memory-contract-r1-prefetch.mjs +10 -10
  132. package/dist/mobile/memory-contract-r5-empty-result.mjs +11 -11
  133. package/dist/mobile/memory-runtime-v2/eval-runner.mjs +11 -11
  134. package/dist/mobile/memory-runtime-v2/evidence-plan.mjs +13 -13
  135. package/dist/mobile/memory-runtime-v2/index.mjs +38 -38
  136. package/dist/mobile/memory-runtime-v2/local-source-import.mjs +3 -3
  137. package/dist/mobile/memory-runtime-v2/memory-control-plane.mjs +13 -13
  138. package/dist/mobile/memory-runtime-v2/memory-readiness.mjs +13 -13
  139. package/dist/mobile/memory-runtime-v2/orchestrator.mjs +4 -4
  140. package/dist/mobile/memory-runtime-v2/project-tool-event.mjs +2 -2
  141. package/dist/mobile/memory-runtime-v2/public-api.mjs +16 -16
  142. package/dist/mobile/memory-runtime-v2/retrieval.mjs +2 -2
  143. package/dist/mobile/native-anthropic-messages-stream.mjs +11 -11
  144. package/dist/mobile/native-openai-text-stream.mjs +2 -2
  145. package/dist/mobile/native-reply-route.mjs +10 -10
  146. package/dist/mobile/native-reply-system-prompt-layers.mjs +106 -106
  147. package/dist/mobile/native-stream-block-emit.mjs +2 -2
  148. package/dist/mobile/openai-completions-turn-runner.mjs +115 -115
  149. package/dist/mobile/reply-dispatch-warmup.mjs +5 -5
  150. package/dist/mobile/runtime.js +160 -39
  151. package/dist/mobile/runtime.mjs +174 -173
  152. package/dist/mobile/session-dispatch/mobile-session-agent-event-bridge.mjs +1 -1
  153. package/dist/mobile/tool-use-input-normalize.mjs +108 -108
  154. package/dist/mobile/tools/mobile-compact-tool-bridge.mjs +108 -108
  155. package/dist/mobile/types.js +1 -0
  156. package/dist/mobile/types.mjs +1 -1
  157. package/dist/mobile/websocket.js +327 -0
  158. package/dist/mobile/websocket.mjs +7 -2
  159. package/dist/org/dept-context.mjs +4 -4
  160. package/dist/org/index.mjs +8 -8
  161. package/dist/owned-tools/agents-list.mjs +1 -1
  162. package/dist/owned-tools/ceo-confirm-requirements.mjs +12 -12
  163. package/dist/owned-tools/ceo-decision.mjs +18 -18
  164. package/dist/owned-tools/ceo-ops-brief.mjs +12 -12
  165. package/dist/owned-tools/ceo-redirect.mjs +44 -44
  166. package/dist/owned-tools/commit-stack-lesson.mjs +13 -13
  167. package/dist/owned-tools/compact/execute.mjs +106 -106
  168. package/dist/owned-tools/compact/gateway-tool-factory.mjs +107 -107
  169. package/dist/owned-tools/compact/registry.mjs +105 -105
  170. package/dist/owned-tools/context-compact.mjs +46 -46
  171. package/dist/owned-tools/groups-history.mjs +2 -2
  172. package/dist/owned-tools/handoff.mjs +17 -17
  173. package/dist/owned-tools/media-asset-library.mjs +1 -1
  174. package/dist/owned-tools/memory-control.mjs +15 -15
  175. package/dist/owned-tools/memory-runtime-eval.mjs +14 -14
  176. package/dist/owned-tools/message.mjs +3 -3
  177. package/dist/owned-tools/models-list.mjs +2 -2
  178. package/dist/owned-tools/owned-reply.mjs +1 -1
  179. package/dist/owned-tools/providers/minimax-files.mjs +2 -2
  180. package/dist/owned-tools/providers/minimax-video-generate.mjs +3 -3
  181. package/dist/owned-tools/providers/minimax-voice.mjs +3 -3
  182. package/dist/owned-tools/register-owned-providers.mjs +7 -7
  183. package/dist/owned-tools/registry.mjs +104 -104
  184. package/dist/owned-tools/router.mjs +105 -105
  185. package/dist/owned-tools/runtime-bridge.mjs +106 -106
  186. package/dist/owned-tools/runtime-data.mjs +1 -1
  187. package/dist/owned-tools/session-status.mjs +1 -1
  188. package/dist/owned-tools/sessions-history-resolver.mjs +2 -2
  189. package/dist/owned-tools/sessions-history.mjs +2 -2
  190. package/dist/owned-tools/sessions-list.mjs +1 -1
  191. package/dist/owned-tools/sessions-send.mjs +1 -1
  192. package/dist/owned-tools/skills-create.mjs +1 -1
  193. package/dist/owned-tools/subagents.mjs +1 -1
  194. package/dist/owned-tools/tool-contract-prompt.mjs +105 -105
  195. package/dist/owned-tools/tool-result-envelope.mjs +107 -107
  196. package/dist/owned-tools/tool-usage-guide.mjs +104 -104
  197. package/dist/owned-tools/tts.mjs +3 -3
  198. package/dist/owned-tools/web-smoke.mjs +6 -6
  199. package/dist/project/file-tool-scope-default.mjs +6 -6
  200. package/dist/project-pipeline/handlers.mjs +44 -44
  201. package/dist/project-pipeline/index.mjs +47 -47
  202. package/dist/project-pipeline/pipeline-routing.mjs +2 -2
  203. package/dist/project-pipeline/post-close-skill-evolution.mjs +5 -5
  204. package/dist/project-pipeline/project-store.mjs +5 -5
  205. package/package.json +2 -2
  206. package/gateway-core/README.md +0 -6
  207. package/dist/{chunk-UNZ3D3B3.mjs → chunk-3OXBG4OP.mjs} +5 -5
  208. package/dist/{chunk-QM7MTC5Q.mjs → chunk-522D52FC.mjs} +3 -3
  209. package/dist/{chunk-NRJWLPTI.mjs → chunk-6AY6OPO5.mjs} +3 -3
  210. package/dist/{chunk-JA65ZG3H.mjs → chunk-6ZWKLMY3.mjs} +4 -4
  211. package/dist/{chunk-T23H5D4O.mjs → chunk-AINHKBJW.mjs} +3 -3
  212. package/dist/{chunk-MKYCBV3H.mjs → chunk-BHT6B2TV.mjs} +6 -6
  213. package/dist/{chunk-PX55IRYL.mjs → chunk-F5KN3REF.mjs} +4 -4
  214. package/dist/{chunk-2QCX6RPN.mjs → chunk-KCZIK3TH.mjs} +3 -3
  215. package/dist/{chunk-WPLDZLAL.mjs → chunk-L7PMYQN5.mjs} +3 -3
  216. package/dist/{chunk-5LUTMHVL.mjs → chunk-NXKHSX4M.mjs} +3 -3
  217. package/dist/{chunk-UR6LPERL.mjs → chunk-Q7NYATKS.mjs} +3 -3
  218. package/dist/{chunk-MGWYJD5Q.mjs → chunk-QCSNRVL2.mjs} +8 -8
  219. package/dist/{chunk-HWGRW6YP.mjs → chunk-VS2URZFN.mjs} +3 -3
@@ -16,33 +16,33 @@ import {
16
16
  handleSaveCeoOpsBrief,
17
17
  handleSubmitAuditVerdict,
18
18
  handleSubmitProjectBrief
19
- } from "../chunk-76TKUYY3.mjs";
19
+ } from "../chunk-UPD527M4.mjs";
20
20
  import {
21
21
  FLOOR_ZONE_IDS,
22
22
  buildFloorZonesForPhase,
23
23
  resolvePresentationProfile
24
24
  } from "../chunk-3PP2C365.mjs";
25
- import "../chunk-JFFBD5TV.mjs";
25
+ import "../chunk-O7MFL7L4.mjs";
26
26
  import "../chunk-UFV3WER4.mjs";
27
27
  import "../chunk-BSG6WLML.mjs";
28
- import "../chunk-J5AXFEDQ.mjs";
29
- import "../chunk-W75Z6CZR.mjs";
28
+ import "../chunk-N6VFFREI.mjs";
29
+ import "../chunk-64QYTQH7.mjs";
30
+ import "../chunk-UPZP6IT3.mjs";
31
+ import "../chunk-TER7DFHP.mjs";
30
32
  import "../chunk-A5OB3QEO.mjs";
33
+ import "../chunk-RSMNVCI6.mjs";
31
34
  import "../chunk-CRN5R5GG.mjs";
32
35
  import "../chunk-VAERBRDX.mjs";
33
- import "../chunk-L4Z7ND7Z.mjs";
34
- import "../chunk-2IQAT3PE.mjs";
35
- import "../chunk-UPZP6IT3.mjs";
36
36
  import "../chunk-YH3GFC5X.mjs";
37
+ import "../chunk-L4Z7ND7Z.mjs";
37
38
  import "../chunk-C3CZKA3E.mjs";
38
- import "../chunk-GIAML5K5.mjs";
39
+ import "../chunk-DQ7J7RST.mjs";
39
40
  import "../chunk-DCAXPHP4.mjs";
40
41
  import "../chunk-QFW3ZP6R.mjs";
41
- import "../chunk-RSMNVCI6.mjs";
42
- import "../chunk-TOCC5J66.mjs";
43
- import "../chunk-YYDDQEY4.mjs";
42
+ import "../chunk-DXPZNBSQ.mjs";
44
43
  import "../chunk-MXXTDG5V.mjs";
45
44
  import "../chunk-FY2QAWA6.mjs";
45
+ import "../chunk-TOCC5J66.mjs";
46
46
  import "../chunk-7XD4NIAR.mjs";
47
47
  import "../chunk-UJZKL4S2.mjs";
48
48
  import "../chunk-7EQPXMTO.mjs";
@@ -62,31 +62,27 @@ import {
62
62
  } from "../chunk-AZVEPDT6.mjs";
63
63
  import "../chunk-RZOILUDC.mjs";
64
64
  import "../chunk-BJ6YI2DJ.mjs";
65
- import "../chunk-6SZCPHCL.mjs";
66
65
  import "../chunk-4POYX4AW.mjs";
67
66
  import "../chunk-NJYJS6MU.mjs";
68
- import "../chunk-LFZAVCVW.mjs";
67
+ import "../chunk-6SZCPHCL.mjs";
68
+ import "../chunk-LJ6RMHC6.mjs";
69
69
  import "../chunk-INHFVKZY.mjs";
70
- import "../chunk-24GJWXMG.mjs";
71
- import "../chunk-ETD5LGJY.mjs";
72
- import "../chunk-MWRQORKQ.mjs";
73
- import "../chunk-T23H5D4O.mjs";
70
+ import "../chunk-WQFYA2BW.mjs";
74
71
  import "../chunk-BHA3SMKH.mjs";
72
+ import "../chunk-Z3COATFF.mjs";
73
+ import "../chunk-XF4EURDX.mjs";
74
+ import "../chunk-AINHKBJW.mjs";
75
75
  import "../chunk-GYZ4IXUD.mjs";
76
- import "../chunk-DCSERRXG.mjs";
77
- import "../chunk-UR6LPERL.mjs";
78
- import "../chunk-EZ2UKNOZ.mjs";
79
- import "../chunk-2NY5IEPV.mjs";
76
+ import "../chunk-ED4H2DM7.mjs";
77
+ import "../chunk-Q7NYATKS.mjs";
80
78
  import "../chunk-M2GS2K6H.mjs";
81
79
  import "../chunk-24ASGNQU.mjs";
80
+ import "../chunk-EZ2UKNOZ.mjs";
81
+ import "../chunk-2NY5IEPV.mjs";
82
82
  import "../chunk-6D7J5WJS.mjs";
83
- import "../chunk-EGCSHXCF.mjs";
84
83
  import "../chunk-3CPVI6Y2.mjs";
84
+ import "../chunk-EGCSHXCF.mjs";
85
85
  import "../chunk-DFJFMZX6.mjs";
86
- import "../chunk-S4AIBE4O.mjs";
87
- import "../chunk-LOGWIK2T.mjs";
88
- import "../chunk-Z7C7KX3U.mjs";
89
- import "../chunk-QRMV5CAE.mjs";
90
86
  import "../chunk-CVXJ45WI.mjs";
91
87
  import "../chunk-XR5ZIHLY.mjs";
92
88
  import "../chunk-UP2LAH6M.mjs";
@@ -95,16 +91,17 @@ import "../chunk-5PLZMLLY.mjs";
95
91
  import "../chunk-3WT4B3JZ.mjs";
96
92
  import "../chunk-R4TQVAMP.mjs";
97
93
  import "../chunk-U2HA2HLE.mjs";
94
+ import "../chunk-LCR7EVVU.mjs";
98
95
  import "../chunk-KPJOJH6H.mjs";
99
96
  import "../chunk-QJX4OXDZ.mjs";
100
- import "../chunk-LCR7EVVU.mjs";
101
97
  import "../chunk-6ZVXCJTG.mjs";
102
98
  import "../chunk-VTZUX3F6.mjs";
103
99
  import "../chunk-DPNXFDFK.mjs";
104
100
  import "../chunk-WRZWEAMN.mjs";
105
101
  import "../chunk-IKQPTA2J.mjs";
106
102
  import "../chunk-GEXTQELG.mjs";
107
- import "../chunk-M3ISDSQP.mjs";
103
+ import "../chunk-AFD4DOFH.mjs";
104
+ import "../chunk-APQRVOZQ.mjs";
108
105
  import "../chunk-LDBMLTV2.mjs";
109
106
  import "../chunk-F23B3GJV.mjs";
110
107
  import {
@@ -140,14 +137,32 @@ import {
140
137
  submitProjectBrief,
141
138
  updateOrgProjectCeoSettings,
142
139
  updateOrgProjectPhase
143
- } from "../chunk-UNZ3D3B3.mjs";
140
+ } from "../chunk-3OXBG4OP.mjs";
144
141
  import {
145
142
  ORG_PROJECT_SCHEMA_VERSION
146
143
  } from "../chunk-NMPWPD2P.mjs";
144
+ import "../chunk-FXJGKIYT.mjs";
145
+ import "../chunk-VE2NKY44.mjs";
146
+ import "../chunk-DJPMIVQY.mjs";
147
+ import "../chunk-IXY2XMGE.mjs";
148
+ import "../chunk-LKSRZTSL.mjs";
149
+ import "../chunk-BF7STJF7.mjs";
150
+ import "../chunk-DSSVZ47P.mjs";
151
+ import "../chunk-SBBPQQYS.mjs";
152
+ import "../chunk-6GQKKEQA.mjs";
153
+ import "../chunk-QWSPMYE5.mjs";
154
+ import "../chunk-S4AIBE4O.mjs";
155
+ import "../chunk-LOGWIK2T.mjs";
147
156
  import "../chunk-OJYZLNSD.mjs";
148
- import "../chunk-WPMJCKI2.mjs";
157
+ import "../chunk-Z7C7KX3U.mjs";
158
+ import "../chunk-QRMV5CAE.mjs";
159
+ import "../chunk-6SYECCCG.mjs";
149
160
  import "../chunk-HJK5A3DD.mjs";
150
- import "../chunk-JA65ZG3H.mjs";
161
+ import "../chunk-6ZWKLMY3.mjs";
162
+ import "../chunk-KHQZ35IL.mjs";
163
+ import "../chunk-QOKQVPZ6.mjs";
164
+ import "../chunk-HQLCDNMN.mjs";
165
+ import "../chunk-6XBAYBWZ.mjs";
151
166
  import {
152
167
  ORG_PIPELINE_ARTIFACT_KIND,
153
168
  ORG_PIPELINE_CHARTER_RULES,
@@ -163,25 +178,10 @@ import {
163
178
  pipelineDeptsSkippedBefore,
164
179
  resolveDeptRoleAssignments
165
180
  } from "../chunk-LREFRIQQ.mjs";
166
- import "../chunk-KHQZ35IL.mjs";
167
- import "../chunk-QOKQVPZ6.mjs";
168
- import "../chunk-HQLCDNMN.mjs";
169
- import "../chunk-6XBAYBWZ.mjs";
170
- import "../chunk-KDZWHGGN.mjs";
171
181
  import "../chunk-I3T745ZX.mjs";
182
+ import "../chunk-KDZWHGGN.mjs";
172
183
  import "../chunk-Q7YUHFMS.mjs";
173
184
  import "../chunk-2B6C5VWQ.mjs";
174
- import "../chunk-AFD4DOFH.mjs";
175
- import "../chunk-DJPMIVQY.mjs";
176
- import "../chunk-FXJGKIYT.mjs";
177
- import "../chunk-IXY2XMGE.mjs";
178
- import "../chunk-BF7STJF7.mjs";
179
- import "../chunk-PS6X3CND.mjs";
180
- import "../chunk-VE2NKY44.mjs";
181
- import "../chunk-DSSVZ47P.mjs";
182
- import "../chunk-SBBPQQYS.mjs";
183
- import "../chunk-6GQKKEQA.mjs";
184
- import "../chunk-QWSPMYE5.mjs";
185
185
  import "../chunk-JYDRRVX4.mjs";
186
186
  import "../chunk-YT3WVUYZ.mjs";
187
187
  import "../chunk-DT4YTQQN.mjs";
@@ -11,12 +11,12 @@ import {
11
11
  resolvePipelineDepartments,
12
12
  shouldRouteToCeoAgent,
13
13
  workspaceSubdirForDept
14
- } from "../chunk-JA65ZG3H.mjs";
15
- import "../chunk-LREFRIQQ.mjs";
14
+ } from "../chunk-6ZWKLMY3.mjs";
16
15
  import "../chunk-KHQZ35IL.mjs";
17
16
  import "../chunk-QOKQVPZ6.mjs";
18
17
  import "../chunk-HQLCDNMN.mjs";
19
18
  import "../chunk-6XBAYBWZ.mjs";
19
+ import "../chunk-LREFRIQQ.mjs";
20
20
  import "../chunk-KDZWHGGN.mjs";
21
21
  import "../chunk-67ZUQKRE.mjs";
22
22
  import "../chunk-7Y5EWBLN.mjs";
@@ -8,18 +8,18 @@ import {
8
8
  resolveNextPostCloseDebriefAgentId,
9
9
  resolvePostCloseDebriefAgentOrder,
10
10
  sanitizeLessonMarkdown
11
- } from "../chunk-DCSERRXG.mjs";
11
+ } from "../chunk-ED4H2DM7.mjs";
12
12
  import "../chunk-U2HA2HLE.mjs";
13
- import "../chunk-WPMJCKI2.mjs";
13
+ import "../chunk-6SYECCCG.mjs";
14
14
  import "../chunk-HJK5A3DD.mjs";
15
- import "../chunk-JA65ZG3H.mjs";
16
- import "../chunk-LREFRIQQ.mjs";
15
+ import "../chunk-6ZWKLMY3.mjs";
17
16
  import "../chunk-KHQZ35IL.mjs";
18
17
  import "../chunk-QOKQVPZ6.mjs";
19
18
  import "../chunk-HQLCDNMN.mjs";
20
19
  import "../chunk-6XBAYBWZ.mjs";
21
- import "../chunk-KDZWHGGN.mjs";
20
+ import "../chunk-LREFRIQQ.mjs";
22
21
  import "../chunk-I3T745ZX.mjs";
22
+ import "../chunk-KDZWHGGN.mjs";
23
23
  import "../chunk-Q7YUHFMS.mjs";
24
24
  import "../chunk-2B6C5VWQ.mjs";
25
25
  import "../chunk-67ZUQKRE.mjs";
@@ -31,17 +31,17 @@ import {
31
31
  submitProjectBrief,
32
32
  updateOrgProjectCeoSettings,
33
33
  updateOrgProjectPhase
34
- } from "../chunk-UNZ3D3B3.mjs";
34
+ } from "../chunk-3OXBG4OP.mjs";
35
35
  import "../chunk-NMPWPD2P.mjs";
36
- import "../chunk-LREFRIQQ.mjs";
36
+ import "../chunk-FXJGKIYT.mjs";
37
+ import "../chunk-6GQKKEQA.mjs";
38
+ import "../chunk-QWSPMYE5.mjs";
37
39
  import "../chunk-KHQZ35IL.mjs";
38
40
  import "../chunk-QOKQVPZ6.mjs";
39
41
  import "../chunk-HQLCDNMN.mjs";
40
42
  import "../chunk-6XBAYBWZ.mjs";
43
+ import "../chunk-LREFRIQQ.mjs";
41
44
  import "../chunk-KDZWHGGN.mjs";
42
- import "../chunk-FXJGKIYT.mjs";
43
- import "../chunk-6GQKKEQA.mjs";
44
- import "../chunk-QWSPMYE5.mjs";
45
45
  import "../chunk-KIY5JPAA.mjs";
46
46
  import "../chunk-4V5RUOBT.mjs";
47
47
  import "../chunk-67ZUQKRE.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xkzoom",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "Next-generation multi-agent AI collaborative development platform. Combines XKZOOM multi-agent collaboration with Claude Code style single-agent coding efficiency, fully autonomous and controllable.",
5
5
  "main": "dist/index.js",
6
6
  "keywords": [
@@ -109,6 +109,6 @@
109
109
  "mobile:connect-qr": "node scripts/print-mobile-connect-qr.cjs",
110
110
  "state:library-prompt-plugin": "node scripts/ensure-xkzoom-library-prompt-plugin.cjs"
111
111
  },
112
- "readme": "# XKZOOM Gateway\n\nXKZOOM Gateway is the local runtime boundary for XKZOOM agents, mobile REST,\nmobile WebSocket, owned tools, memory, skills, and reply dispatch.\n\nThe default runtime is `gateway-core`. The package does not ship the retired\nexternal gateway runtime, retired bundled skills, third-party chat channel\nentries, web control UI, or tunnel/TUN entries.\n\n## Install\n\n```bash\npnpm add xkzoom\n```\n\nFor direct CLI use:\n\n```bash\npnpm dlx xkzoom\n```\n\nThe package exposes the `xkzoom` bin and keeps runtime state under\n`~/.xkzoom` by default.\n\n## What This Package Includes\n\n- Owned XKZOOM gateway runtime under `gateway-core`.\n- CLI entrypoints for local gateway startup and mobile pairing helpers.\n- Mobile REST and `/mobile/ws` runtime used by XKZOOM Desktop and the mobile\n client.\n- Owned reply runtime, owned tools, agent workspace loading, and local state\n bootstrap.\n\nThe npm package is intentionally runtime-focused. It does not publish source\ntests, internal docs, retired gateway host material, source maps, TypeScript\ndeclarations, third-party chat channel integrations, web control UI, tunnel\nentries, or VPS deployment scripts.\n\n## Release Notes\n\n### 1.5.4\n\n发布日期: 2026-07-01\n\n对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.4)\n\n#### 概述\n\n1.5.4 是在 1.5.3 基础上的修复版本。网关运行时相较 1.5.3 无功能变更,本次问题与修复集中在桌面客户端;网关 npm 包随版本线对齐发布,供 desktop 1.5.4 安装包内嵌。\n\n#### 修复(桌面客户端 xkzoom-desktop)\n\n- 智能体商店领取 Agent 后首条消息无回复、Agent 空转、上下文面板报 \"session not found\"。\n 桌面端会为“已领取但尚未开聊”的 Agent 在会话列表生成占位入口(`agent-placeholder:*`)。此前发送时把该客户端自造的占位 id 原样发给网关,网关据此把一个以占位 id 为真实 id 的会话落库,与前端占位检测冲突,导致草稿永远无法重绑到真实会话。现在占位草稿发送时改发空 `sessionId`,由网关 mint 正规会话 id,前端既有的 ACK / 事件 / 接收自动切换逻辑完成“占位 → 真实会话”重绑;`selectSession` 增加“尚未落库才按草稿处理”的防御,历史存量里被错误落库的占位会话也能正常加载历史。\n- 程序内右上角“检查更新”始终显示“更新检查失败:fetch failed”。\n 更新检查只请求 CDN 自定义域名 `download.xkzoom.com`,在部分网络下对该域名直连超时(UND_ERR_CONNECT_TIMEOUT)。现在清单与安装包请求都新增 OSS 原始域名同路径兜底(`download.xkzoom.com` → `xkzoom-installers.oss-cn-hangzhou.aliyuncs.com`),CDN 与 OSS 任一可达即成功;清单请求另加约 6s 连接超时以快速切换(大文件下载不设超时)。结果:无新版显示“已是最新版本”,有新版可在程序内直接下载并拉起安装器。\n\n#### 网关运行时(xkzoom npm)\n\n- 无功能变更,与 1.5.3 一致。仅版本号对齐至 1.5.4。\n\n#### 维护 / CI(不影响 npm 包内容)\n\n- release-gate 的 `release-artifact-shape` 校验前先执行 `pnpm run build`,修复独立 matrix job 因缺少 dist 产物导致的误报。\n\n#### 升级说明\n\n- 已装 1.5.3 的用户升级到 desktop 1.5.4 后,上述两个问题即修复。\n- 网关端从 1.5.3 升到 1.5.4 无需任何迁移或配置变更。\n\n### 1.5.3\n\n- Hardens native provider calls against transient upstream connection failures:\n OpenAI-compatible and Anthropic-compatible request paths now retry retryable\n network/connect failures once before surfacing a failed assistant turn.\n- Adds shared retry diagnostics for native provider fetches, including attempt\n counts, retry decisions, request shape, and cause-chain error codes without\n logging prompts or API keys.\n- Applies the retry path to the owned turn runners used by Desktop/App replies\n and to the legacy text-stream helpers, keeping HTTP errors, aborts, and empty\n stream failures honest.\n- Adds regression coverage for `UND_ERR_CONNECT_TIMEOUT` recovery on both\n OpenAI-compatible and Anthropic-compatible native turn paths.\n\n### 1.5.2\n\n- Publishes the 1.5.x owned gateway runtime with complete npm package metadata\n so npmjs.com renders the README and install guidance correctly.\n- Adds release-package validation that treats `README.md` and npm readme\n metadata as required release artifacts, preventing another metadata-only\n package from being published without docs.\n- Documents the public runtime surface for desktop packaging: CLI entrypoints,\n mobile REST, `/mobile/ws`, owned tools, local state bootstrap, and the trimmed\n runtime-only package shape.\n- Carries forward the 1.5.1 runtime baseline for desktop installer builds while\n making the package easier to verify from the npm page.\n\n### 1.5.1\n\n- Updates the published `xkzoom` runtime used by XKZOOM Desktop packaging to\n the current owned/native gateway baseline.\n- Keeps the npm artifact focused on runnable gateway material: `dist`,\n `gateway-core`, runtime scripts, license, notice, and package manifest.\n- Preserves the mobile gateway contract used by Desktop and App, including\n mobile REST, `/mobile/ws`, relay connector runtime, and pairing helpers.\n- Removes development-only package surface from the public tarball, including\n source tests, internal docs, source maps, TypeScript declaration files, retired\n host material, tunnel/control UI entries, and VPS deployment material.\n\n## Runtime\n\n- Start the gateway with `pnpm run gateway:run` or the `xkzoom` bin.\n- The default state root is `~/.xkzoom`.\n- Set `XKZOOM_STATE_DIR` to use an explicit state root.\n- `gateway-core/runtime/gateway/owned-gateway-entry.cjs` owns the gateway CLI\n entry.\n- `gateway-core/runtime/reply/load-owned-reply-runtime.cjs` owns reply runtime\n loading.\n- `gateway-core/runtime/mobile-relay` owns relay and connector processes.\n\n## Product Surface\n\n- Skills are read from agent workspaces and XKZOOM global skills.\n- The API does not return retired bundled skills by default.\n- Agent creation uses the native XKZOOM skeleton writer.\n- Mobile REST and `/mobile/ws` are part of the owned gateway path.\n- Third-party chat software integrations, web control UI, tunnel, and TUN are\n disabled product surfaces.\n\n## Verification\n\nRun the core checks before publishing or handing off:\n\n```bash\npnpm run build\npnpm run typecheck:test\npnpm run verify:release-artifact:shape\npnpm run verify:zero-legacy-source\n```\n\nUseful focused checks:\n\n```bash\npnpm run test:mobile:regression\npnpm run test:dev-tools\npnpm run verify:mobile:runtime\n```\n\n## Documentation\n\n- [Gateway Core](docs/gateway-core.md)\n- [State Root](docs/state-root.md)\n- [Skills And Agents](docs/skills-and-agents.md)\n- [Mobile Relay Connector](docs/mobile-relay-connector.md)\n- [Release Verification](docs/release-verification.md)\n",
112
+ "readme": "# XKZOOM Gateway\n\nXKZOOM Gateway is the local runtime boundary for XKZOOM agents, mobile REST,\nmobile WebSocket, owned tools, memory, skills, and reply dispatch.\n\nThe default runtime is `gateway-core`. The package does not ship the retired\nexternal gateway runtime, retired bundled skills, third-party chat channel\nentries, web control UI, or tunnel/TUN entries.\n\n## Install\n\n```bash\npnpm add xkzoom\n```\n\nFor direct CLI use:\n\n```bash\npnpm dlx xkzoom\n```\n\nThe package exposes the `xkzoom` bin and keeps runtime state under\n`~/.xkzoom` by default.\n\n## What This Package Includes\n\n- Owned XKZOOM gateway runtime under `gateway-core`.\n- CLI entrypoints for local gateway startup and mobile pairing helpers.\n- Mobile REST and `/mobile/ws` runtime used by XKZOOM Desktop and the mobile\n client.\n- Owned reply runtime, owned tools, agent workspace loading, and local state\n bootstrap.\n\nThe npm package is intentionally runtime-focused. It does not publish source\ntests, internal docs, retired gateway host material, source maps, TypeScript\ndeclarations, third-party chat channel integrations, web control UI, tunnel\nentries, or VPS deployment scripts.\n\n## Release Notes\n\n### 1.5.5\n\n发布日期: 2026-07-01\n\n对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.5)\n\n#### 概述\n\n1.5.5 在 1.5.4 基础上,网关运行时**新增「本机 Agent 名册热感知」能力**(1.5.4 网关运行时无功能变更),并修复桌面客户端两个问题。\n\n#### 网关运行时(xkzoom npm)—— 有功能变更\n\n- 新增 `/mobile/ws` 事件 `agents_changed`。网关新增对本机 Agent 名册真源的文件系统监听:\n - `$STATE_ROOT/agents/` 递归(仅认顶层目录条目变化 = 名册成员增减/改名,与各 Agent `IDENTITY.md` = 展示名/头像;过滤 memory/session/diary 等聊天期高频写入);\n - `$STATE_ROOT/xkzoom.json`(名册配置真源,经父目录监听以抗 `purchase-done` / `upsertRuntimeAgentConfig` 的 tmp + rename 原子替换)。\n 变化经 ~400ms debounce 合并后,向所有 `/mobile/ws` 连接广播 `agents_changed`;客户端(桌面 / 移动)收到即重新拉取 `GET /api/agents/list` 热加载,**无需重连或重启**。监听句柄均 `unref`(不额外维持进程存活),recursive 监听在不支持的平台(如 Linux)自动降级为仅 `xkzoom.json` 监听(名册成员变化必写 json,仍覆盖)。\n\n#### 修复(桌面客户端 xkzoom-desktop)\n\n- 领取 / 领回本机 Agent 后,左侧聊天列表不出现该 Agent,需要 Ctrl+R 强制刷新才可见。\n 根因:桌面聊天侧栏的本机 Agent 名册(来自网关 `GET /api/agents/list`)与商店运行时名册是两份独立状态;领取(写盘)后,前端对本机 Agent 列表的检测不实时(无轮询、无热加载)。现改为由网关 `agents_changed` 事件驱动——收到即重拉列表,占位会话在写盘后自动出现,无需强刷。(配套网关侧新增能力见上。)\n- 初次启动新会话发送首条消息时出现两条相同用户气泡。\n 为乐观气泡引入贯穿「乐观气泡 → 服务端回显」的稳定 `clientMessageId`,草稿 → 真实会话重绑时按稳定键去重合并,而非盲目追加,消除首条消息重复。\n\n#### 升级说明\n\n- 网关端从 1.5.4 升到 1.5.5 无需任何迁移或配置变更;新增的名册监听在网关启动时自动生效。\n- 桌面客户端需内嵌 1.5.5 网关运行时并同步至 desktop 1.5.5,方可获得「领取即热加载」体验(旧网关不广播 `agents_changed`)。\n\n### 1.5.4\n\n发布日期: 2026-07-01\n\n对外版本真源: xkzoom-gateway(desktop / app 同步至 1.5.4)\n\n#### 概述\n\n1.5.4 是在 1.5.3 基础上的修复版本。网关运行时相较 1.5.3 无功能变更,本次问题与修复集中在桌面客户端;网关 npm 包随版本线对齐发布,供 desktop 1.5.4 安装包内嵌。\n\n#### 修复(桌面客户端 xkzoom-desktop)\n\n- 智能体商店领取 Agent 后首条消息无回复、Agent 空转、上下文面板报 \"session not found\"。\n 桌面端会为“已领取但尚未开聊”的 Agent 在会话列表生成占位入口(`agent-placeholder:*`)。此前发送时把该客户端自造的占位 id 原样发给网关,网关据此把一个以占位 id 为真实 id 的会话落库,与前端占位检测冲突,导致草稿永远无法重绑到真实会话。现在占位草稿发送时改发空 `sessionId`,由网关 mint 正规会话 id,前端既有的 ACK / 事件 / 接收自动切换逻辑完成“占位 → 真实会话”重绑;`selectSession` 增加“尚未落库才按草稿处理”的防御,历史存量里被错误落库的占位会话也能正常加载历史。\n- 程序内右上角“检查更新”始终显示“更新检查失败:fetch failed”。\n 更新检查只请求 CDN 自定义域名 `download.xkzoom.com`,在部分网络下对该域名直连超时(UND_ERR_CONNECT_TIMEOUT)。现在清单与安装包请求都新增 OSS 原始域名同路径兜底(`download.xkzoom.com` → `xkzoom-installers.oss-cn-hangzhou.aliyuncs.com`),CDN 与 OSS 任一可达即成功;清单请求另加约 6s 连接超时以快速切换(大文件下载不设超时)。结果:无新版显示“已是最新版本”,有新版可在程序内直接下载并拉起安装器。\n\n#### 网关运行时(xkzoom npm)\n\n- 无功能变更,与 1.5.3 一致。仅版本号对齐至 1.5.4。\n\n#### 维护 / CI(不影响 npm 包内容)\n\n- release-gate 的 `release-artifact-shape` 校验前先执行 `pnpm run build`,修复独立 matrix job 因缺少 dist 产物导致的误报。\n\n#### 升级说明\n\n- 已装 1.5.3 的用户升级到 desktop 1.5.4 后,上述两个问题即修复。\n- 网关端从 1.5.3 升到 1.5.4 无需任何迁移或配置变更。\n\n### 1.5.3\n\n- Hardens native provider calls against transient upstream connection failures:\n OpenAI-compatible and Anthropic-compatible request paths now retry retryable\n network/connect failures once before surfacing a failed assistant turn.\n- Adds shared retry diagnostics for native provider fetches, including attempt\n counts, retry decisions, request shape, and cause-chain error codes without\n logging prompts or API keys.\n- Applies the retry path to the owned turn runners used by Desktop/App replies\n and to the legacy text-stream helpers, keeping HTTP errors, aborts, and empty\n stream failures honest.\n- Adds regression coverage for `UND_ERR_CONNECT_TIMEOUT` recovery on both\n OpenAI-compatible and Anthropic-compatible native turn paths.\n\n### 1.5.2\n\n- Publishes the 1.5.x owned gateway runtime with complete npm package metadata\n so npmjs.com renders the README and install guidance correctly.\n- Adds release-package validation that treats `README.md` and npm readme\n metadata as required release artifacts, preventing another metadata-only\n package from being published without docs.\n- Documents the public runtime surface for desktop packaging: CLI entrypoints,\n mobile REST, `/mobile/ws`, owned tools, local state bootstrap, and the trimmed\n runtime-only package shape.\n- Carries forward the 1.5.1 runtime baseline for desktop installer builds while\n making the package easier to verify from the npm page.\n\n### 1.5.1\n\n- Updates the published `xkzoom` runtime used by XKZOOM Desktop packaging to\n the current owned/native gateway baseline.\n- Keeps the npm artifact focused on runnable gateway material: `dist`,\n `gateway-core`, runtime scripts, license, notice, and package manifest.\n- Preserves the mobile gateway contract used by Desktop and App, including\n mobile REST, `/mobile/ws`, relay connector runtime, and pairing helpers.\n- Removes development-only package surface from the public tarball, including\n source tests, internal docs, source maps, TypeScript declaration files, retired\n host material, tunnel/control UI entries, and VPS deployment material.\n\n## Runtime\n\n- Start the gateway with `pnpm run gateway:run` or the `xkzoom` bin.\n- The default state root is `~/.xkzoom`.\n- Set `XKZOOM_STATE_DIR` to use an explicit state root.\n- `gateway-core/runtime/gateway/owned-gateway-entry.cjs` owns the gateway CLI\n entry.\n- `gateway-core/runtime/reply/load-owned-reply-runtime.cjs` owns reply runtime\n loading.\n- `gateway-core/runtime/mobile-relay` owns relay and connector processes.\n\n## Product Surface\n\n- Skills are read from agent workspaces and XKZOOM global skills.\n- The API does not return retired bundled skills by default.\n- Agent creation uses the native XKZOOM skeleton writer.\n- Mobile REST and `/mobile/ws` are part of the owned gateway path.\n- Third-party chat software integrations, web control UI, tunnel, and TUN are\n disabled product surfaces.\n\n## Verification\n\nRun the core checks before publishing or handing off:\n\n```bash\npnpm run build\npnpm run typecheck:test\npnpm run verify:release-artifact:shape\npnpm run verify:zero-legacy-source\n```\n\nUseful focused checks:\n\n```bash\npnpm run test:mobile:regression\npnpm run test:dev-tools\npnpm run verify:mobile:runtime\n```\n\n## Documentation\n\n- [Gateway Core](docs/gateway-core.md)\n- [State Root](docs/state-root.md)\n- [Skills And Agents](docs/skills-and-agents.md)\n- [Mobile Relay Connector](docs/mobile-relay-connector.md)\n- [Release Verification](docs/release-verification.md)\n",
113
113
  "readmeFilename": "README.md"
114
114
  }
@@ -1,6 +0,0 @@
1
- # gateway-core
2
-
3
- Owned runtime base for XKZOOM Gateway.
4
-
5
- This directory contains product runtime code, assets, configuration, mobile
6
- relay code, reply dispatch code, and owned gateway startup code.
@@ -2,9 +2,8 @@ import {
2
2
  ORG_PROJECT_SCHEMA_VERSION
3
3
  } from "./chunk-NMPWPD2P.mjs";
4
4
  import {
5
- ORG_PIPELINE_DEPT_ORDER,
6
- activeDepartmentForPhase
7
- } from "./chunk-LREFRIQQ.mjs";
5
+ loadCurrentProjectContext
6
+ } from "./chunk-FXJGKIYT.mjs";
8
7
  import {
9
8
  loadPipelineCharter
10
9
  } from "./chunk-KHQZ35IL.mjs";
@@ -21,8 +20,9 @@ import {
21
20
  rejectTargetSlug
22
21
  } from "./chunk-6XBAYBWZ.mjs";
23
22
  import {
24
- loadCurrentProjectContext
25
- } from "./chunk-FXJGKIYT.mjs";
23
+ ORG_PIPELINE_DEPT_ORDER,
24
+ activeDepartmentForPhase
25
+ } from "./chunk-LREFRIQQ.mjs";
26
26
  import {
27
27
  init_state_dir,
28
28
  resolveXkzoomStateDirForProcess
@@ -1,12 +1,12 @@
1
- import {
2
- detectDurableSignal
3
- } from "./chunk-XQFQO4EA.mjs";
4
1
  import {
5
2
  enforceR2Write
6
3
  } from "./chunk-GU4CQC5I.mjs";
7
4
  import {
8
5
  enforceR6IndexAfterWrite
9
6
  } from "./chunk-GOSSEVA6.mjs";
7
+ import {
8
+ detectDurableSignal
9
+ } from "./chunk-XQFQO4EA.mjs";
10
10
 
11
11
  // src/mobile/context-compact/compact-memory-distill-job.ts
12
12
  function enqueueCompactMemoryDistill(agentId, artifact, cfg) {
@@ -1,12 +1,12 @@
1
+ import {
2
+ defineTool
3
+ } from "./chunk-DFJFMZX6.mjs";
1
4
  import {
2
5
  gatewayConfigStringProp,
3
6
  init_native_gateway_config,
4
7
  isGatewayConfigRecord,
5
8
  resolveSelectedModelKey
6
9
  } from "./chunk-LR5GC3NZ.mjs";
7
- import {
8
- defineTool
9
- } from "./chunk-DFJFMZX6.mjs";
10
10
 
11
11
  // src/owned-tools/models-list.ts
12
12
  init_native_gateway_config();
@@ -1,7 +1,3 @@
1
- import {
2
- ORG_PIPELINE_DEPT_LABELS,
3
- activeDepartmentForPhase
4
- } from "./chunk-LREFRIQQ.mjs";
5
1
  import {
6
2
  loadPipelineCharter,
7
3
  resolveDeptLeadAgentId,
@@ -16,6 +12,10 @@ import {
16
12
  resolveActiveDeptFromProject,
17
13
  sortDepartments
18
14
  } from "./chunk-6XBAYBWZ.mjs";
15
+ import {
16
+ ORG_PIPELINE_DEPT_LABELS,
17
+ activeDepartmentForPhase
18
+ } from "./chunk-LREFRIQQ.mjs";
19
19
 
20
20
  // src/project-pipeline/pipeline-routing.ts
21
21
  function getPipelineCharterForTeam(teamId) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ownedToolPayloadIndicatesFailure
3
3
  } from "./chunk-GYZ4IXUD.mjs";
4
- import {
5
- activeDepartmentForPhase
6
- } from "./chunk-LREFRIQQ.mjs";
7
4
  import {
8
5
  isDynamicDeptPhase
9
6
  } from "./chunk-6XBAYBWZ.mjs";
7
+ import {
8
+ activeDepartmentForPhase
9
+ } from "./chunk-LREFRIQQ.mjs";
10
10
 
11
11
  // src/mobile/group/pipeline-turn-outcome.ts
12
12
  function parseHandoffPayload(raw) {
@@ -1,3 +1,9 @@
1
+ import {
2
+ applyConfiguredMaxTokens,
3
+ fetchNativeProviderWithRetry,
4
+ formatRequestShape,
5
+ stringifyJsonRequestBody
6
+ } from "./chunk-E5LABIPO.mjs";
1
7
  import {
2
8
  parseOpenAiCompletionsSseDataLine
3
9
  } from "./chunk-C36JYBG7.mjs";
@@ -11,12 +17,6 @@ import {
11
17
  init_native_provider_api_key,
12
18
  resolveNativeProviderApiKeySync
13
19
  } from "./chunk-NEDXMES6.mjs";
14
- import {
15
- applyConfiguredMaxTokens,
16
- fetchNativeProviderWithRetry,
17
- formatRequestShape,
18
- stringifyJsonRequestBody
19
- } from "./chunk-E5LABIPO.mjs";
20
20
  import {
21
21
  buildNativeReplySystemPrompt,
22
22
  init_native_gateway_config,
@@ -2,6 +2,10 @@ import {
2
2
  init_minimax_gateway,
3
3
  resolveMinimaxApiOrigin
4
4
  } from "./chunk-23G5U4RO.mjs";
5
+ import {
6
+ buildMinimaxProviderError,
7
+ init_media_contracts
8
+ } from "./chunk-54MLYQ72.mjs";
5
9
  import {
6
10
  buildGeneratedMediaRelPath,
7
11
  init_media_assets,
@@ -9,10 +13,6 @@ import {
9
13
  mediaMimeFromPath,
10
14
  writeMediaAssetToWorkspace
11
15
  } from "./chunk-K5GKQRJY.mjs";
12
- import {
13
- buildMinimaxProviderError,
14
- init_media_contracts
15
- } from "./chunk-54MLYQ72.mjs";
16
16
  import {
17
17
  init_workspace_fs,
18
18
  resolveWorkspaceRelativePath
@@ -1,10 +1,10 @@
1
+ import {
2
+ runMemoryConsolidation
3
+ } from "./chunk-M2GS2K6H.mjs";
1
4
  import {
2
5
  ingestMemoryEvent,
3
6
  readMemoryRecords
4
7
  } from "./chunk-EZ2UKNOZ.mjs";
5
- import {
6
- runMemoryConsolidation
7
- } from "./chunk-M2GS2K6H.mjs";
8
8
  import {
9
9
  appendJsonLine,
10
10
  resolveLocalSourceImportHistoryPath,
@@ -8,9 +8,6 @@ import {
8
8
  import {
9
9
  resolveRecoveryContextBudget
10
10
  } from "./chunk-3UZNL3V3.mjs";
11
- import {
12
- resolveTeamDir
13
- } from "./chunk-KDZWHGGN.mjs";
14
11
  import {
15
12
  buildCompactNoteFileName,
16
13
  resolveCompactNotePath
@@ -23,6 +20,9 @@ import {
23
20
  init_migrate_agent_ids_to_folder_names,
24
21
  resolveCanonicalRuntimeAgentId
25
22
  } from "./chunk-QWSPMYE5.mjs";
23
+ import {
24
+ resolveTeamDir
25
+ } from "./chunk-KDZWHGGN.mjs";
26
26
 
27
27
  // src/mobile/context-compact/compact-write-verifier.ts
28
28
  init_runtime_agent_paths();
@@ -11,12 +11,12 @@ import {
11
11
  extractLegacyMessageArchiveText,
12
12
  sanitizeTranscriptTextForArchive
13
13
  } from "./chunk-DPNXFDFK.mjs";
14
- import {
15
- shouldSkipMemorySearchRelPath
16
- } from "./chunk-AKGVDH6O.mjs";
17
14
  import {
18
15
  visibleDialogueText
19
16
  } from "./chunk-VE2NKY44.mjs";
17
+ import {
18
+ shouldSkipMemorySearchRelPath
19
+ } from "./chunk-AKGVDH6O.mjs";
20
20
  import {
21
21
  init_runtime_agent_paths,
22
22
  resolveRuntimeAgentWorkspace
@@ -1,10 +1,10 @@
1
+ import {
2
+ runMemoryConsolidation
3
+ } from "./chunk-M2GS2K6H.mjs";
1
4
  import {
2
5
  ingestMemoryEvent,
3
6
  readMemoryRecords
4
7
  } from "./chunk-EZ2UKNOZ.mjs";
5
- import {
6
- runMemoryConsolidation
7
- } from "./chunk-M2GS2K6H.mjs";
8
8
 
9
9
  // src/mobile/group/team-memory-runtime.ts
10
10
  function normalizeTeamId(teamId) {
@@ -1,3 +1,7 @@
1
+ import {
2
+ sendAgentShopJson,
3
+ sendAgentShopProblem
4
+ } from "./chunk-67YS7CQL.mjs";
1
5
  import {
2
6
  seedAuthProfilesFromTemplateIfMissing
3
7
  } from "./chunk-TQGB7JQ4.mjs";
@@ -5,9 +9,10 @@ import {
5
9
  upsertRuntimeAgentConfig
6
10
  } from "./chunk-OIM3Z5NC.mjs";
7
11
  import {
8
- sendAgentShopJson,
9
- sendAgentShopProblem
10
- } from "./chunk-67YS7CQL.mjs";
12
+ assertIdempotentPurchaseMatch,
13
+ getIdempotencyRecord,
14
+ putIdempotencyRecord
15
+ } from "./chunk-HDCDFMIL.mjs";
11
16
  import {
12
17
  agentSkeletonExists,
13
18
  applyManifestToWorkspace
@@ -22,11 +27,6 @@ import {
22
27
  import {
23
28
  verifyInstallJwt
24
29
  } from "./chunk-GDGWDSRV.mjs";
25
- import {
26
- assertIdempotentPurchaseMatch,
27
- getIdempotencyRecord,
28
- putIdempotencyRecord
29
- } from "./chunk-HDCDFMIL.mjs";
30
30
  import {
31
31
  applyOwnedSeedToWorkspace
32
32
  } from "./chunk-5PLZMLLY.mjs";
@@ -1,10 +1,10 @@
1
- import {
2
- readMemoryRecords
3
- } from "./chunk-EZ2UKNOZ.mjs";
4
1
  import {
5
2
  readMemoryIndex,
6
3
  tokenizeMemoryText
7
4
  } from "./chunk-24ASGNQU.mjs";
5
+ import {
6
+ readMemoryRecords
7
+ } from "./chunk-EZ2UKNOZ.mjs";
8
8
  import {
9
9
  MEMORY_RECORD_SCHEMA_VERSION
10
10
  } from "./chunk-SBBPQQYS.mjs";