xkzoom 1.5.0 → 1.5.2

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 (130) hide show
  1. package/README.md +68 -12
  2. package/dist/{chunk-7MOQ462O.mjs → chunk-24GJWXMG.mjs} +1 -1
  3. package/dist/{chunk-PUQSHSKY.mjs → chunk-4DYFM3EC.mjs} +2 -2
  4. package/dist/{chunk-6BJGU7N2.mjs → chunk-5DMSAPS2.mjs} +5 -5
  5. package/dist/{chunk-AGFOSBTK.mjs → chunk-5JGUBBXN.mjs} +4 -4
  6. package/dist/{chunk-HWXBGZI7.mjs → chunk-7FLALKSN.mjs} +4 -4
  7. package/dist/{chunk-NMIRA3CJ.mjs → chunk-A23OTVH2.mjs} +26 -26
  8. package/dist/{chunk-WMZM4RMT.mjs → chunk-A5DUSLHF.mjs} +1 -1
  9. package/dist/{chunk-P7ZPEUBD.mjs → chunk-ASIBETCT.mjs} +7 -7
  10. package/dist/{chunk-53JB3EAL.mjs → chunk-BHMWYAVS.mjs} +4 -4
  11. package/dist/{chunk-ZOMJ4DTV.mjs → chunk-BSQF7NF4.mjs} +2 -2
  12. package/dist/{chunk-5NFSQQVM.mjs → chunk-BV76CMVR.mjs} +1 -1
  13. package/dist/{chunk-RSFKSXDI.mjs → chunk-CCCPWU2O.mjs} +30 -30
  14. package/dist/{chunk-F6JBFXDF.mjs → chunk-CNHOCDRM.mjs} +2 -2
  15. package/dist/{chunk-IYYXMDAP.mjs → chunk-CQUISJWG.mjs} +1 -1
  16. package/dist/{chunk-4UQOU25J.mjs → chunk-EGWLJJY7.mjs} +2 -2
  17. package/dist/{chunk-YEQUYPSS.mjs → chunk-EQNHKW6L.mjs} +1 -1
  18. package/dist/{chunk-Z3COATFF.mjs → chunk-ETD5LGJY.mjs} +1 -1
  19. package/dist/{chunk-XFMUZD5V.mjs → chunk-G5ZU7562.mjs} +9 -9
  20. package/dist/{chunk-MWJ6PDXB.mjs → chunk-GBG4AJON.mjs} +4 -4
  21. package/dist/{chunk-ZVNEQABW.mjs → chunk-GGWUDW5W.mjs} +2 -2
  22. package/dist/{chunk-DVVXNRYF.mjs → chunk-GIAML5K5.mjs} +1 -1
  23. package/dist/{chunk-7GTZKJCD.mjs → chunk-ILROJZBI.mjs} +1 -1
  24. package/dist/{chunk-NC26VUNR.mjs → chunk-IPIV4NGB.mjs} +3 -3
  25. package/dist/{chunk-KJLGWNTQ.mjs → chunk-IXYH42YO.mjs} +1 -1
  26. package/dist/{chunk-XNPYYIOP.mjs → chunk-J5HTLG3V.mjs} +1 -1
  27. package/dist/{chunk-BGM3LV5E.mjs → chunk-JD5NPIMO.mjs} +9 -9
  28. package/dist/{chunk-OYYVRTEV.mjs → chunk-JG3K4N5B.mjs} +1 -1
  29. package/dist/{chunk-33XUWJB4.mjs → chunk-K4RHLREV.mjs} +1 -1
  30. package/dist/{chunk-AJNXWGX2.mjs → chunk-LFZAVCVW.mjs} +1 -1
  31. package/dist/{chunk-QEIYJANV.mjs → chunk-LTBQWMAJ.mjs} +2 -2
  32. package/dist/{chunk-WCIPXGY3.mjs → chunk-M52HZV6R.mjs} +1 -1
  33. package/dist/{chunk-XF4EURDX.mjs → chunk-MWRQORKQ.mjs} +1 -1
  34. package/dist/{chunk-RMXRABJA.mjs → chunk-NYG3IUXK.mjs} +1 -1
  35. package/dist/{chunk-Y4WHRWKK.mjs → chunk-OCQUSYRP.mjs} +16 -16
  36. package/dist/{chunk-PQI3ZM5B.mjs → chunk-PY7W2X6W.mjs} +20 -20
  37. package/dist/{chunk-ESYVGLRZ.mjs → chunk-Q4XUEIOE.mjs} +1 -1
  38. package/dist/{chunk-6C5LO6IZ.mjs → chunk-QUXUHJZW.mjs} +7 -7
  39. package/dist/{chunk-M6MGNT2R.mjs → chunk-RTANSWHW.mjs} +14 -14
  40. package/dist/{chunk-RSVJZ67X.mjs → chunk-SIIEMWE3.mjs} +2 -2
  41. package/dist/{chunk-36DPTFDU.mjs → chunk-T4LPE43H.mjs} +4 -4
  42. package/dist/{chunk-D2LNVOOP.mjs → chunk-TAQQSDJN.mjs} +5 -5
  43. package/dist/{chunk-DJUBXCOK.mjs → chunk-UANVP2AV.mjs} +1 -1
  44. package/dist/{chunk-BSTRE3SV.mjs → chunk-URF75O5Z.mjs} +1 -1
  45. package/dist/{chunk-KVFPFB7L.mjs → chunk-VPRVZWF3.mjs} +1 -1
  46. package/dist/{chunk-GEGWOKND.mjs → chunk-W4MKSQGZ.mjs} +1 -1
  47. package/dist/{chunk-4GAEF6LB.mjs → chunk-WJIY3BIA.mjs} +2 -2
  48. package/dist/{chunk-S44EPO3G.mjs → chunk-YILSXMZI.mjs} +3 -3
  49. package/dist/{chunk-SPQKUJTR.mjs → chunk-YPAQRMUI.mjs} +1 -1
  50. package/dist/{chunk-TB4GGROO.mjs → chunk-Z7GTU7KF.mjs} +1 -1
  51. package/dist/{chunk-OYFLFZUT.mjs → chunk-ZM23SMRO.mjs} +1 -1
  52. package/dist/index.mjs +89 -89
  53. package/dist/mobile/action-planner.mjs +54 -54
  54. package/dist/mobile/agent-capabilities.mjs +54 -54
  55. package/dist/mobile/anthropic-messages-turn-runner.mjs +66 -66
  56. package/dist/mobile/anthropic-owned-tool-executor.mjs +65 -65
  57. package/dist/mobile/api.mjs +28 -28
  58. package/dist/mobile/context-compact/compact-artifact-enrich.mjs +7 -7
  59. package/dist/mobile/context-compact/compact-artifact-writer.mjs +2 -2
  60. package/dist/mobile/context-compact/compact-engine-artifacts.mjs +3 -3
  61. package/dist/mobile/context-compact/compact-message-collector.mjs +2 -2
  62. package/dist/mobile/context-compact/compact-orchestrator.mjs +18 -18
  63. package/dist/mobile/context-compact/compact-resume-prefetch.mjs +2 -2
  64. package/dist/mobile/context-compact/compact-summarizer-engine-artifact.mjs +9 -9
  65. package/dist/mobile/context-compact/compact-summarizer.mjs +6 -6
  66. package/dist/mobile/context-compact/compact-visible-tool-chain.mjs +2 -2
  67. package/dist/mobile/context-compact/runtime-compact-hook.mjs +58 -58
  68. package/dist/mobile/group/conductor-plan-llm.mjs +6 -6
  69. package/dist/mobile/group/delivery-verification.mjs +4 -4
  70. package/dist/mobile/group/execution-plan.mjs +5 -5
  71. package/dist/mobile/group/floor-scheduler.mjs +4 -4
  72. package/dist/mobile/group/floor-state-store.mjs +6 -6
  73. package/dist/mobile/group/group-api-handlers.mjs +26 -26
  74. package/dist/mobile/group/group-session.mjs +13 -13
  75. package/dist/mobile/group/index.mjs +21 -21
  76. package/dist/mobile/group/memory-supplement.mjs +7 -7
  77. package/dist/mobile/group/orchestrator.mjs +20 -20
  78. package/dist/mobile/group/pipeline-ceo-dept-mention-parse.mjs +3 -3
  79. package/dist/mobile/group/pipeline-handoff-verification.mjs +3 -3
  80. package/dist/mobile/group/pipeline-turn-outcome.mjs +2 -2
  81. package/dist/mobile/group/plan-runtime.mjs +10 -10
  82. package/dist/mobile/group/relation-distill.mjs +5 -5
  83. package/dist/mobile/group/runtime-integration.mjs +24 -24
  84. package/dist/mobile/index.mjs +86 -86
  85. package/dist/mobile/memory-contract-r1-prefetch.mjs +8 -8
  86. package/dist/mobile/memory-contract-r5-empty-result.mjs +9 -9
  87. package/dist/mobile/native-reply-system-prompt-layers.mjs +55 -55
  88. package/dist/mobile/openai-completions-turn-runner.mjs +66 -66
  89. package/dist/mobile/runtime.mjs +86 -86
  90. package/dist/mobile/tool-use-input-normalize.mjs +57 -57
  91. package/dist/mobile/tools/mobile-compact-tool-bridge.mjs +57 -57
  92. package/dist/org/dept-context.mjs +4 -4
  93. package/dist/org/index.mjs +8 -8
  94. package/dist/owned-tools/ceo-confirm-requirements.mjs +6 -6
  95. package/dist/owned-tools/ceo-decision.mjs +12 -12
  96. package/dist/owned-tools/ceo-ops-brief.mjs +6 -6
  97. package/dist/owned-tools/ceo-redirect.mjs +25 -25
  98. package/dist/owned-tools/commit-stack-lesson.mjs +7 -7
  99. package/dist/owned-tools/compact/execute.mjs +55 -55
  100. package/dist/owned-tools/compact/gateway-tool-factory.mjs +56 -56
  101. package/dist/owned-tools/compact/registry.mjs +54 -54
  102. package/dist/owned-tools/context-compact.mjs +19 -19
  103. package/dist/owned-tools/handoff.mjs +11 -11
  104. package/dist/owned-tools/register-owned-providers.mjs +6 -6
  105. package/dist/owned-tools/registry.mjs +53 -53
  106. package/dist/owned-tools/router.mjs +54 -54
  107. package/dist/owned-tools/runtime-bridge.mjs +55 -55
  108. package/dist/owned-tools/tool-contract-prompt.mjs +54 -54
  109. package/dist/owned-tools/tool-result-envelope.mjs +56 -56
  110. package/dist/owned-tools/tool-usage-guide.mjs +53 -53
  111. package/dist/owned-tools/web-smoke.mjs +3 -3
  112. package/dist/project/file-tool-scope-default.mjs +3 -3
  113. package/dist/project-pipeline/handlers.mjs +25 -25
  114. package/dist/project-pipeline/index.mjs +25 -25
  115. package/dist/project-pipeline/pipeline-routing.mjs +2 -2
  116. package/dist/project-pipeline/post-close-skill-evolution.mjs +5 -5
  117. package/dist/project-pipeline/project-store.mjs +2 -2
  118. package/gateway-core/README.md +6 -0
  119. package/package.json +5 -2
  120. package/scripts/run-gateway-cli.cjs +13 -13
  121. package/dist/{chunk-P3B6DI7U.mjs → chunk-2BGXTBZX.mjs} +15 -15
  122. package/dist/{chunk-GZKNN5UT.mjs → chunk-5LUTMHVL.mjs} +3 -3
  123. package/dist/{chunk-7ZEIYLOJ.mjs → chunk-CFZVBILR.mjs} +3 -3
  124. package/dist/{chunk-LY7M7Z7M.mjs → chunk-H2UCPL5O.mjs} +3 -3
  125. package/dist/{chunk-IQMQESZM.mjs → chunk-H5TJYSTV.mjs} +9 -9
  126. package/dist/{chunk-OWXFXSUA.mjs → chunk-JA65ZG3H.mjs} +5 -5
  127. package/dist/{chunk-AINHKBJW.mjs → chunk-T23H5D4O.mjs} +3 -3
  128. package/dist/{chunk-SSJJG2IV.mjs → chunk-UNZ3D3B3.mjs} +9 -9
  129. package/dist/{chunk-TUE4OPPH.mjs → chunk-VIZQURO5.mjs} +8 -8
  130. package/dist/{chunk-Z74FKNR7.mjs → chunk-ZTKJR7OC.mjs} +3 -3
@@ -1,7 +1,19 @@
1
+ import {
2
+ init_openai_image_generate,
3
+ openaiImageGenerate
4
+ } from "./chunk-YIJDZ7M3.mjs";
1
5
  import {
2
6
  init_tavily_web_search,
3
7
  tavilyWebSearch
4
8
  } from "./chunk-QGUIRS2J.mjs";
9
+ import {
10
+ init_minimax_image_generate,
11
+ minimaxImageGenerate
12
+ } from "./chunk-5UAYDBJR.mjs";
13
+ import {
14
+ init_minimax_lyrics_generate,
15
+ minimaxLyricsGenerate
16
+ } from "./chunk-NSME5UMW.mjs";
5
17
  import {
6
18
  init_minimax_music_generate,
7
19
  minimaxMusicGenerate
@@ -20,9 +32,9 @@ import {
20
32
  minimaxWebSearch
21
33
  } from "./chunk-OZQHJ2VA.mjs";
22
34
  import {
23
- init_openai_image_generate,
24
- openaiImageGenerate
25
- } from "./chunk-YIJDZ7M3.mjs";
35
+ braveWebSearch,
36
+ init_brave_web_search
37
+ } from "./chunk-G4PQM7UM.mjs";
26
38
  import {
27
39
  dashscopeImageAnalyze,
28
40
  init_dashscope_image_analyze
@@ -39,18 +51,6 @@ import {
39
51
  init_minimax_image_analyze,
40
52
  minimaxImageAnalyze
41
53
  } from "./chunk-ZD4JSVZP.mjs";
42
- import {
43
- init_minimax_image_generate,
44
- minimaxImageGenerate
45
- } from "./chunk-5UAYDBJR.mjs";
46
- import {
47
- init_minimax_lyrics_generate,
48
- minimaxLyricsGenerate
49
- } from "./chunk-NSME5UMW.mjs";
50
- import {
51
- braveWebSearch,
52
- init_brave_web_search
53
- } from "./chunk-G4PQM7UM.mjs";
54
54
  import {
55
55
  init_providers,
56
56
  registerOwnedProviders
@@ -1,9 +1,9 @@
1
- import {
2
- readSessionStateSnapshot
3
- } from "./chunk-ME6MMQWE.mjs";
4
1
  import {
5
2
  resolveCompactKeepRecentMessages
6
3
  } from "./chunk-GR7LH34J.mjs";
4
+ import {
5
+ readSessionStateSnapshot
6
+ } from "./chunk-ME6MMQWE.mjs";
7
7
  import {
8
8
  searchOwnedMemory
9
9
  } from "./chunk-QWFX5VEN.mjs";
@@ -1,11 +1,11 @@
1
- import {
2
- writeSessionStateSnapshot
3
- } from "./chunk-ME6MMQWE.mjs";
4
1
  import {
5
2
  resolveCompactNotePathForTarget,
6
3
  resolveMemoryMdPath,
7
4
  writeAtomicUtf8
8
5
  } from "./chunk-WPLDZLAL.mjs";
6
+ import {
7
+ writeSessionStateSnapshot
8
+ } from "./chunk-ME6MMQWE.mjs";
9
9
  import {
10
10
  resolveRecoveryContextBudget
11
11
  } from "./chunk-3UZNL3V3.mjs";
@@ -3,12 +3,12 @@ import {
3
3
  handleNotesGetTool,
4
4
  handleNotesSearchTool
5
5
  } from "./chunk-I5A67DYI.mjs";
6
- import {
7
- executeSummarizeNativeStore
8
- } from "./chunk-IMJV6WJP.mjs";
9
6
  import {
10
7
  createResumeToolStepTracker
11
8
  } from "./chunk-NRPJCCDI.mjs";
9
+ import {
10
+ executeSummarizeNativeStore
11
+ } from "./chunk-IMJV6WJP.mjs";
12
12
  import {
13
13
  executeSummarizeTranscript
14
14
  } from "./chunk-UUUBYCJP.mjs";
@@ -1,21 +1,21 @@
1
1
  import {
2
- parseCompactSummarizerJson,
3
- validateCompactSummaryArtifact
4
- } from "./chunk-NH3HEDTR.mjs";
5
- import {
6
- applySummarizerInputBudget,
7
- estimateSummarizerPromptChars
8
- } from "./chunk-6S7LAZFT.mjs";
2
+ callCompactSummarizerLlm
3
+ } from "./chunk-JG3EPJ32.mjs";
9
4
  import {
10
5
  buildCompactSummarizerSystemPrompt,
11
6
  buildCompactSummarizerUserPrompt
12
7
  } from "./chunk-AAVCVONC.mjs";
8
+ import {
9
+ parseCompactSummarizerJson,
10
+ validateCompactSummaryArtifact
11
+ } from "./chunk-NH3HEDTR.mjs";
13
12
  import {
14
13
  finalizeCompactSummaryArtifact
15
14
  } from "./chunk-NHI2FACI.mjs";
16
15
  import {
17
- callCompactSummarizerLlm
18
- } from "./chunk-JG3EPJ32.mjs";
16
+ applySummarizerInputBudget,
17
+ estimateSummarizerPromptChars
18
+ } from "./chunk-6S7LAZFT.mjs";
19
19
  import {
20
20
  resolveCompactSummarizerInputBudgetChars,
21
21
  resolveCompactSummarizerMaxAttempts
@@ -1,8 +1,3 @@
1
- import {
2
- isDynamicDeptPhase,
3
- resolveActiveDeptFromProject,
4
- sortDepartments
5
- } from "./chunk-6XBAYBWZ.mjs";
6
1
  import {
7
2
  ORG_PIPELINE_DEPT_LABELS,
8
3
  activeDepartmentForPhase
@@ -16,6 +11,11 @@ import {
16
11
  isPipelineExcludedCatalog,
17
12
  resolveCatalogContract
18
13
  } from "./chunk-HQLCDNMN.mjs";
14
+ import {
15
+ isDynamicDeptPhase,
16
+ resolveActiveDeptFromProject,
17
+ sortDepartments
18
+ } from "./chunk-6XBAYBWZ.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
- isDynamicDeptPhase
6
- } from "./chunk-6XBAYBWZ.mjs";
7
4
  import {
8
5
  activeDepartmentForPhase
9
6
  } from "./chunk-LREFRIQQ.mjs";
7
+ import {
8
+ isDynamicDeptPhase
9
+ } from "./chunk-6XBAYBWZ.mjs";
10
10
 
11
11
  // src/mobile/group/pipeline-turn-outcome.ts
12
12
  function parseHandoffPayload(raw) {
@@ -1,15 +1,6 @@
1
1
  import {
2
2
  ORG_PROJECT_SCHEMA_VERSION
3
3
  } from "./chunk-NMPWPD2P.mjs";
4
- import {
5
- deptActivePhase,
6
- initialDynamicPhase,
7
- isCeoTerminalStickyPhase,
8
- isDynamicDeptPhase,
9
- nextDeptSlug,
10
- parseDynamicDeptSlugFromPhase,
11
- rejectTargetSlug
12
- } from "./chunk-6XBAYBWZ.mjs";
13
4
  import {
14
5
  ORG_PIPELINE_DEPT_ORDER,
15
6
  activeDepartmentForPhase
@@ -20,6 +11,15 @@ import {
20
11
  import {
21
12
  catalogSupportsVerdict
22
13
  } from "./chunk-HQLCDNMN.mjs";
14
+ import {
15
+ deptActivePhase,
16
+ initialDynamicPhase,
17
+ isCeoTerminalStickyPhase,
18
+ isDynamicDeptPhase,
19
+ nextDeptSlug,
20
+ parseDynamicDeptSlugFromPhase,
21
+ rejectTargetSlug
22
+ } from "./chunk-6XBAYBWZ.mjs";
23
23
  import {
24
24
  loadCurrentProjectContext
25
25
  } from "./chunk-FXJGKIYT.mjs";
@@ -1,19 +1,19 @@
1
- import {
2
- buildCompactArchiveDigest,
3
- buildEngineFallbackActionSteps,
4
- buildRelatedFilesMarkdown,
5
- inferOpenLoopsFromSnapshot
6
- } from "./chunk-UHHTLW2Z.mjs";
7
1
  import {
8
2
  resolveCompactNotePathForTarget,
9
3
  resolveMemoryMdPath
10
4
  } from "./chunk-WPLDZLAL.mjs";
5
+ import {
6
+ extractKeyFactsMarkdownFromTranscript
7
+ } from "./chunk-E4GA33KE.mjs";
11
8
  import {
12
9
  buildEngineFallbackCompactNoteSections
13
10
  } from "./chunk-OIMCXCOZ.mjs";
14
11
  import {
15
- extractKeyFactsMarkdownFromTranscript
16
- } from "./chunk-E4GA33KE.mjs";
12
+ buildCompactArchiveDigest,
13
+ buildEngineFallbackActionSteps,
14
+ buildRelatedFilesMarkdown,
15
+ inferOpenLoopsFromSnapshot
16
+ } from "./chunk-UHHTLW2Z.mjs";
17
17
  import {
18
18
  resolveRecoveryContextBudget,
19
19
  truncateMiddle
@@ -1,11 +1,11 @@
1
- import {
2
- readSessionStateSnapshot
3
- } from "./chunk-ME6MMQWE.mjs";
4
1
  import {
5
2
  resolveCompactNotePathForTarget,
6
3
  resolveMemoryMdPath,
7
4
  resolveTeamCompactWorkspace
8
5
  } from "./chunk-WPLDZLAL.mjs";
6
+ import {
7
+ readSessionStateSnapshot
8
+ } from "./chunk-ME6MMQWE.mjs";
9
9
  import {
10
10
  searchOwnedMemory
11
11
  } from "./chunk-QWFX5VEN.mjs";