@xrkseek/harness 0.3.11 → 0.4.0-rc.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 (1054) hide show
  1. package/README.md +2 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/node_modules/@xrkseek/attachment/dist/request-image-bound.d.ts +4 -2
  7. package/node_modules/@xrkseek/attachment/dist/request-image-bound.d.ts.map +1 -1
  8. package/node_modules/@xrkseek/attachment/dist/request-image-bound.js +59 -32
  9. package/node_modules/@xrkseek/attachment/dist/request-image-bound.js.map +1 -1
  10. package/node_modules/@xrkseek/attachment-local/README.md +6 -3
  11. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +2 -0
  12. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -1
  13. package/node_modules/@xrkseek/attachment-local/dist/index.js +9 -8
  14. package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -1
  15. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +3 -2
  16. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -1
  17. package/node_modules/@xrkseek/attachment-local/dist/request-image.js +3 -2
  18. package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -1
  19. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -1
  20. package/node_modules/@xrkseek/attachment-local/dist/store.js +3 -0
  21. package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -1
  22. package/node_modules/@xrkseek/attachment-local/package.json +26 -25
  23. package/node_modules/@xrkseek/code-runtime/README.md +13 -5
  24. package/node_modules/@xrkseek/code-runtime/dist/index.d.ts +39 -1
  25. package/node_modules/@xrkseek/code-runtime/dist/index.d.ts.map +1 -1
  26. package/node_modules/@xrkseek/code-runtime/dist/index.js +202 -60
  27. package/node_modules/@xrkseek/code-runtime/dist/index.js.map +1 -1
  28. package/node_modules/@xrkseek/core-agent/dist/index.d.ts +17 -0
  29. package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
  30. package/node_modules/@xrkseek/core-agent/dist/index.js +15 -0
  31. package/node_modules/@xrkseek/core-agent/dist/index.js.map +1 -1
  32. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +7 -1
  33. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
  34. package/node_modules/@xrkseek/core-agent-loop/dist/index.js +72 -37
  35. package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
  36. package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.d.ts +11 -1
  37. package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.d.ts.map +1 -1
  38. package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.js +48 -38
  39. package/node_modules/@xrkseek/core-agent-loop/dist/tool-result-bound.js.map +1 -1
  40. package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.d.ts +31 -0
  41. package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.d.ts.map +1 -0
  42. package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.js +54 -0
  43. package/node_modules/@xrkseek/core-agent-loop/dist/workspace-changes-emit.js.map +1 -0
  44. package/node_modules/@xrkseek/core-agent-loop/package.json +35 -34
  45. package/node_modules/@xrkseek/core-session/README.md +33 -33
  46. package/node_modules/@xrkseek/core-session/dist/admit.d.ts +5 -0
  47. package/node_modules/@xrkseek/core-session/dist/admit.d.ts.map +1 -1
  48. package/node_modules/@xrkseek/core-session/dist/admit.js +14 -0
  49. package/node_modules/@xrkseek/core-session/dist/admit.js.map +1 -1
  50. package/node_modules/@xrkseek/core-session/dist/compaction.d.ts +16 -1
  51. package/node_modules/@xrkseek/core-session/dist/compaction.d.ts.map +1 -1
  52. package/node_modules/@xrkseek/core-session/dist/compaction.js +56 -6
  53. package/node_modules/@xrkseek/core-session/dist/compaction.js.map +1 -1
  54. package/node_modules/@xrkseek/core-session/dist/dangling.d.ts +0 -4
  55. package/node_modules/@xrkseek/core-session/dist/dangling.d.ts.map +1 -1
  56. package/node_modules/@xrkseek/core-session/dist/dangling.js +0 -2
  57. package/node_modules/@xrkseek/core-session/dist/dangling.js.map +1 -1
  58. package/node_modules/@xrkseek/core-session/dist/drain-hub.d.ts +2 -0
  59. package/node_modules/@xrkseek/core-session/dist/drain-hub.d.ts.map +1 -1
  60. package/node_modules/@xrkseek/core-session/dist/drain-hub.js +8 -0
  61. package/node_modules/@xrkseek/core-session/dist/drain-hub.js.map +1 -1
  62. package/node_modules/@xrkseek/core-session/dist/image-offload.d.ts +26 -0
  63. package/node_modules/@xrkseek/core-session/dist/image-offload.d.ts.map +1 -0
  64. package/node_modules/@xrkseek/core-session/dist/image-offload.js +141 -0
  65. package/node_modules/@xrkseek/core-session/dist/image-offload.js.map +1 -0
  66. package/node_modules/@xrkseek/core-session/dist/index.d.ts +29 -10
  67. package/node_modules/@xrkseek/core-session/dist/index.d.ts.map +1 -1
  68. package/node_modules/@xrkseek/core-session/dist/index.js +59 -14
  69. package/node_modules/@xrkseek/core-session/dist/index.js.map +1 -1
  70. package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts +26 -0
  71. package/node_modules/@xrkseek/core-session/dist/session-interchange.d.ts.map +1 -0
  72. package/node_modules/@xrkseek/core-session/dist/session-interchange.js +271 -0
  73. package/node_modules/@xrkseek/core-session/dist/session-interchange.js.map +1 -0
  74. package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts +8 -0
  75. package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts.map +1 -1
  76. package/node_modules/@xrkseek/core-session/dist/sqlite-store.js +131 -49
  77. package/node_modules/@xrkseek/core-session/dist/sqlite-store.js.map +1 -1
  78. package/node_modules/@xrkseek/core-session/dist/store-lock.d.ts +22 -0
  79. package/node_modules/@xrkseek/core-session/dist/store-lock.d.ts.map +1 -0
  80. package/node_modules/@xrkseek/core-session/dist/store-lock.js +143 -0
  81. package/node_modules/@xrkseek/core-session/dist/store-lock.js.map +1 -0
  82. package/node_modules/@xrkseek/core-system-prompt/README.md +2 -1
  83. package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts +8 -0
  84. package/node_modules/@xrkseek/core-system-prompt/dist/index.d.ts.map +1 -1
  85. package/node_modules/@xrkseek/core-system-prompt/dist/index.js +25 -4
  86. package/node_modules/@xrkseek/core-system-prompt/dist/index.js.map +1 -1
  87. package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.d.ts +27 -0
  88. package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.d.ts.map +1 -0
  89. package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.js +56 -0
  90. package/node_modules/@xrkseek/core-system-prompt/dist/prompt-vars.js.map +1 -0
  91. package/node_modules/@xrkseek/core-tools/dist/output-bound.d.ts +6 -1
  92. package/node_modules/@xrkseek/core-tools/dist/output-bound.d.ts.map +1 -1
  93. package/node_modules/@xrkseek/core-tools/dist/output-bound.js +6 -1
  94. package/node_modules/@xrkseek/core-tools/dist/output-bound.js.map +1 -1
  95. package/node_modules/@xrkseek/core-tools/dist/pipeline.d.ts +2 -1
  96. package/node_modules/@xrkseek/core-tools/dist/pipeline.d.ts.map +1 -1
  97. package/node_modules/@xrkseek/core-tools/dist/pipeline.js.map +1 -1
  98. package/node_modules/@xrkseek/core-tools/dist/presentation.d.ts +3 -5
  99. package/node_modules/@xrkseek/core-tools/dist/presentation.d.ts.map +1 -1
  100. package/node_modules/@xrkseek/core-tools/dist/presentation.js.map +1 -1
  101. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.d.ts.map +1 -1
  102. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js +1 -0
  103. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js.map +1 -1
  104. package/node_modules/@xrkseek/exec-computer-use/README.md +13 -0
  105. package/node_modules/@xrkseek/exec-computer-use/dist/background.d.ts +11 -0
  106. package/node_modules/@xrkseek/exec-computer-use/dist/background.d.ts.map +1 -0
  107. package/node_modules/@xrkseek/exec-computer-use/dist/background.js +76 -0
  108. package/node_modules/@xrkseek/exec-computer-use/dist/background.js.map +1 -0
  109. package/node_modules/@xrkseek/exec-computer-use/dist/format.d.ts +20 -0
  110. package/node_modules/@xrkseek/exec-computer-use/dist/format.d.ts.map +1 -0
  111. package/node_modules/@xrkseek/exec-computer-use/dist/format.js +58 -0
  112. package/node_modules/@xrkseek/exec-computer-use/dist/format.js.map +1 -0
  113. package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts +28 -0
  114. package/node_modules/@xrkseek/exec-computer-use/dist/index.d.ts.map +1 -0
  115. package/node_modules/@xrkseek/exec-computer-use/dist/index.js +62 -0
  116. package/node_modules/@xrkseek/exec-computer-use/dist/index.js.map +1 -0
  117. package/node_modules/@xrkseek/exec-computer-use/dist/memory.d.ts +12 -0
  118. package/node_modules/@xrkseek/exec-computer-use/dist/memory.d.ts.map +1 -0
  119. package/node_modules/@xrkseek/exec-computer-use/dist/memory.js +100 -0
  120. package/node_modules/@xrkseek/exec-computer-use/dist/memory.js.map +1 -0
  121. package/node_modules/@xrkseek/exec-computer-use/dist/registry.d.ts +12 -0
  122. package/node_modules/@xrkseek/exec-computer-use/dist/registry.d.ts.map +1 -0
  123. package/node_modules/@xrkseek/exec-computer-use/dist/registry.js +28 -0
  124. package/node_modules/@xrkseek/exec-computer-use/dist/registry.js.map +1 -0
  125. package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts +15 -0
  126. package/node_modules/@xrkseek/exec-computer-use/dist/tools.d.ts.map +1 -0
  127. package/node_modules/@xrkseek/exec-computer-use/dist/tools.js +133 -0
  128. package/node_modules/@xrkseek/exec-computer-use/dist/tools.js.map +1 -0
  129. package/node_modules/@xrkseek/exec-computer-use/dist/types.d.ts +74 -0
  130. package/node_modules/@xrkseek/exec-computer-use/dist/types.d.ts.map +1 -0
  131. package/node_modules/@xrkseek/exec-computer-use/dist/types.js +24 -0
  132. package/node_modules/@xrkseek/exec-computer-use/dist/types.js.map +1 -0
  133. package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.d.ts +10 -0
  134. package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.d.ts.map +1 -0
  135. package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js +253 -0
  136. package/node_modules/@xrkseek/exec-computer-use/dist/windows-uia.js.map +1 -0
  137. package/node_modules/@xrkseek/exec-computer-use/package.json +26 -0
  138. package/node_modules/@xrkseek/exec-fs/dist/document-extract.d.ts +9 -0
  139. package/node_modules/@xrkseek/exec-fs/dist/document-extract.d.ts.map +1 -0
  140. package/node_modules/@xrkseek/exec-fs/dist/document-extract.js +427 -0
  141. package/node_modules/@xrkseek/exec-fs/dist/document-extract.js.map +1 -0
  142. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +6 -3
  143. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
  144. package/node_modules/@xrkseek/exec-fs/dist/index.js +13 -17
  145. package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
  146. package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts +9 -0
  147. package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts.map +1 -1
  148. package/node_modules/@xrkseek/exec-fs/dist/paths.js +101 -2
  149. package/node_modules/@xrkseek/exec-fs/dist/paths.js.map +1 -1
  150. package/node_modules/@xrkseek/exec-image-gen/README.md +11 -0
  151. package/node_modules/@xrkseek/exec-image-gen/dist/format.d.ts +2 -0
  152. package/node_modules/@xrkseek/exec-image-gen/dist/format.d.ts.map +1 -0
  153. package/node_modules/@xrkseek/exec-image-gen/dist/format.js +7 -0
  154. package/node_modules/@xrkseek/exec-image-gen/dist/format.js.map +1 -0
  155. package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts +24 -0
  156. package/node_modules/@xrkseek/exec-image-gen/dist/index.d.ts.map +1 -0
  157. package/node_modules/@xrkseek/exec-image-gen/dist/index.js +55 -0
  158. package/node_modules/@xrkseek/exec-image-gen/dist/index.js.map +1 -0
  159. package/node_modules/@xrkseek/exec-image-gen/dist/memory.d.ts +11 -0
  160. package/node_modules/@xrkseek/exec-image-gen/dist/memory.d.ts.map +1 -0
  161. package/node_modules/@xrkseek/exec-image-gen/dist/memory.js +32 -0
  162. package/node_modules/@xrkseek/exec-image-gen/dist/memory.js.map +1 -0
  163. package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.d.ts +13 -0
  164. package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.d.ts.map +1 -0
  165. package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.js +67 -0
  166. package/node_modules/@xrkseek/exec-image-gen/dist/openai-http.js.map +1 -0
  167. package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts +17 -0
  168. package/node_modules/@xrkseek/exec-image-gen/dist/tools.d.ts.map +1 -0
  169. package/node_modules/@xrkseek/exec-image-gen/dist/tools.js +130 -0
  170. package/node_modules/@xrkseek/exec-image-gen/dist/tools.js.map +1 -0
  171. package/node_modules/@xrkseek/exec-image-gen/dist/types.d.ts +37 -0
  172. package/node_modules/@xrkseek/exec-image-gen/dist/types.d.ts.map +1 -0
  173. package/node_modules/@xrkseek/exec-image-gen/dist/types.js +15 -0
  174. package/node_modules/@xrkseek/exec-image-gen/dist/types.js.map +1 -0
  175. package/node_modules/@xrkseek/exec-image-gen/package.json +27 -0
  176. package/node_modules/@xrkseek/exec-memory/README.md +11 -0
  177. package/node_modules/@xrkseek/exec-memory/dist/index.d.ts +4 -0
  178. package/node_modules/@xrkseek/exec-memory/dist/index.d.ts.map +1 -0
  179. package/node_modules/@xrkseek/exec-memory/dist/index.js +4 -0
  180. package/node_modules/@xrkseek/exec-memory/dist/index.js.map +1 -0
  181. package/node_modules/@xrkseek/exec-memory/dist/store.d.ts +43 -0
  182. package/node_modules/@xrkseek/exec-memory/dist/store.d.ts.map +1 -0
  183. package/node_modules/@xrkseek/exec-memory/dist/store.js +365 -0
  184. package/node_modules/@xrkseek/exec-memory/dist/store.js.map +1 -0
  185. package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts +8 -0
  186. package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts.map +1 -0
  187. package/node_modules/@xrkseek/exec-memory/dist/tools.js +145 -0
  188. package/node_modules/@xrkseek/exec-memory/dist/tools.js.map +1 -0
  189. package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts +26 -0
  190. package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts.map +1 -0
  191. package/node_modules/@xrkseek/exec-memory/dist/write-path.js +82 -0
  192. package/node_modules/@xrkseek/exec-memory/dist/write-path.js.map +1 -0
  193. package/node_modules/@xrkseek/exec-memory/package.json +27 -0
  194. package/node_modules/@xrkseek/exec-pty/dist/backend.d.ts +3 -0
  195. package/node_modules/@xrkseek/exec-pty/dist/backend.d.ts.map +1 -1
  196. package/node_modules/@xrkseek/exec-pty/dist/backend.js +7 -2
  197. package/node_modules/@xrkseek/exec-pty/dist/backend.js.map +1 -1
  198. package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.d.ts +35 -0
  199. package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.d.ts.map +1 -0
  200. package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.js +161 -0
  201. package/node_modules/@xrkseek/exec-pty/dist/bounded-text-buffer.js.map +1 -0
  202. package/node_modules/@xrkseek/exec-pty/dist/handle.d.ts.map +1 -1
  203. package/node_modules/@xrkseek/exec-pty/dist/handle.js +2 -0
  204. package/node_modules/@xrkseek/exec-pty/dist/handle.js.map +1 -1
  205. package/node_modules/@xrkseek/exec-pty/dist/index.d.ts +3 -0
  206. package/node_modules/@xrkseek/exec-pty/dist/index.d.ts.map +1 -1
  207. package/node_modules/@xrkseek/exec-pty/dist/index.js +3 -0
  208. package/node_modules/@xrkseek/exec-pty/dist/index.js.map +1 -1
  209. package/node_modules/@xrkseek/exec-pty/dist/process-inspector.d.ts.map +1 -1
  210. package/node_modules/@xrkseek/exec-pty/dist/process-inspector.js +6 -1
  211. package/node_modules/@xrkseek/exec-pty/dist/process-inspector.js.map +1 -1
  212. package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.d.ts +8 -2
  213. package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.d.ts.map +1 -1
  214. package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.js +4 -3
  215. package/node_modules/@xrkseek/exec-pty/dist/sandbox-fence.js.map +1 -1
  216. package/node_modules/@xrkseek/exec-pty/dist/session.d.ts.map +1 -1
  217. package/node_modules/@xrkseek/exec-pty/dist/session.js +3 -37
  218. package/node_modules/@xrkseek/exec-pty/dist/session.js.map +1 -1
  219. package/node_modules/@xrkseek/exec-pty/dist/windows-pty.d.ts +9 -0
  220. package/node_modules/@xrkseek/exec-pty/dist/windows-pty.d.ts.map +1 -0
  221. package/node_modules/@xrkseek/exec-pty/dist/windows-pty.js +14 -0
  222. package/node_modules/@xrkseek/exec-pty/dist/windows-pty.js.map +1 -0
  223. package/node_modules/@xrkseek/exec-sandbox/README.md +15 -6
  224. package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.d.ts +14 -0
  225. package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.d.ts.map +1 -0
  226. package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.js +56 -0
  227. package/node_modules/@xrkseek/exec-sandbox/dist/bwrap.js.map +1 -0
  228. package/node_modules/@xrkseek/exec-sandbox/dist/docker.d.ts +30 -0
  229. package/node_modules/@xrkseek/exec-sandbox/dist/docker.d.ts.map +1 -0
  230. package/node_modules/@xrkseek/exec-sandbox/dist/docker.js +89 -0
  231. package/node_modules/@xrkseek/exec-sandbox/dist/docker.js.map +1 -0
  232. package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts +5 -28
  233. package/node_modules/@xrkseek/exec-sandbox/dist/index.d.ts.map +1 -1
  234. package/node_modules/@xrkseek/exec-sandbox/dist/index.js +5 -85
  235. package/node_modules/@xrkseek/exec-sandbox/dist/index.js.map +1 -1
  236. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts +44 -0
  237. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts.map +1 -0
  238. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js +108 -0
  239. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js.map +1 -0
  240. package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts +37 -0
  241. package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts.map +1 -0
  242. package/node_modules/@xrkseek/exec-sandbox/dist/service.js +112 -0
  243. package/node_modules/@xrkseek/exec-sandbox/dist/service.js.map +1 -0
  244. package/node_modules/@xrkseek/exec-sandbox/dist/windows.d.ts +56 -0
  245. package/node_modules/@xrkseek/exec-sandbox/dist/windows.d.ts.map +1 -0
  246. package/node_modules/@xrkseek/exec-sandbox/dist/windows.js +134 -0
  247. package/node_modules/@xrkseek/exec-sandbox/dist/windows.js.map +1 -0
  248. package/node_modules/@xrkseek/exec-shell/dist/index.d.ts +12 -0
  249. package/node_modules/@xrkseek/exec-shell/dist/index.d.ts.map +1 -1
  250. package/node_modules/@xrkseek/exec-shell/dist/index.js +51 -5
  251. package/node_modules/@xrkseek/exec-shell/dist/index.js.map +1 -1
  252. package/node_modules/@xrkseek/exec-ssh/README.md +16 -0
  253. package/node_modules/@xrkseek/exec-ssh/dist/code.d.ts +8 -0
  254. package/node_modules/@xrkseek/exec-ssh/dist/code.d.ts.map +1 -0
  255. package/node_modules/@xrkseek/exec-ssh/dist/code.js +66 -0
  256. package/node_modules/@xrkseek/exec-ssh/dist/code.js.map +1 -0
  257. package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts +21 -0
  258. package/node_modules/@xrkseek/exec-ssh/dist/config.d.ts.map +1 -0
  259. package/node_modules/@xrkseek/exec-ssh/dist/config.js +30 -0
  260. package/node_modules/@xrkseek/exec-ssh/dist/config.js.map +1 -0
  261. package/node_modules/@xrkseek/exec-ssh/dist/directory.d.ts +29 -0
  262. package/node_modules/@xrkseek/exec-ssh/dist/directory.d.ts.map +1 -0
  263. package/node_modules/@xrkseek/exec-ssh/dist/directory.js +109 -0
  264. package/node_modules/@xrkseek/exec-ssh/dist/directory.js.map +1 -0
  265. package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts +11 -0
  266. package/node_modules/@xrkseek/exec-ssh/dist/fs.d.ts.map +1 -0
  267. package/node_modules/@xrkseek/exec-ssh/dist/fs.js +214 -0
  268. package/node_modules/@xrkseek/exec-ssh/dist/fs.js.map +1 -0
  269. package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts +10 -0
  270. package/node_modules/@xrkseek/exec-ssh/dist/index.d.ts.map +1 -0
  271. package/node_modules/@xrkseek/exec-ssh/dist/index.js +10 -0
  272. package/node_modules/@xrkseek/exec-ssh/dist/index.js.map +1 -0
  273. package/node_modules/@xrkseek/exec-ssh/dist/paths.d.ts +10 -0
  274. package/node_modules/@xrkseek/exec-ssh/dist/paths.d.ts.map +1 -0
  275. package/node_modules/@xrkseek/exec-ssh/dist/paths.js +34 -0
  276. package/node_modules/@xrkseek/exec-ssh/dist/paths.js.map +1 -0
  277. package/node_modules/@xrkseek/exec-ssh/dist/providers.d.ts +19 -0
  278. package/node_modules/@xrkseek/exec-ssh/dist/providers.d.ts.map +1 -0
  279. package/node_modules/@xrkseek/exec-ssh/dist/providers.js +22 -0
  280. package/node_modules/@xrkseek/exec-ssh/dist/providers.js.map +1 -0
  281. package/node_modules/@xrkseek/exec-ssh/dist/quote.d.ts +5 -0
  282. package/node_modules/@xrkseek/exec-ssh/dist/quote.d.ts.map +1 -0
  283. package/node_modules/@xrkseek/exec-ssh/dist/quote.js +11 -0
  284. package/node_modules/@xrkseek/exec-ssh/dist/quote.js.map +1 -0
  285. package/node_modules/@xrkseek/exec-ssh/dist/session.d.ts +31 -0
  286. package/node_modules/@xrkseek/exec-ssh/dist/session.d.ts.map +1 -0
  287. package/node_modules/@xrkseek/exec-ssh/dist/session.js +89 -0
  288. package/node_modules/@xrkseek/exec-ssh/dist/session.js.map +1 -0
  289. package/node_modules/@xrkseek/exec-ssh/dist/subprocess.d.ts +8 -0
  290. package/node_modules/@xrkseek/exec-ssh/dist/subprocess.d.ts.map +1 -0
  291. package/node_modules/@xrkseek/exec-ssh/dist/subprocess.js +30 -0
  292. package/node_modules/@xrkseek/exec-ssh/dist/subprocess.js.map +1 -0
  293. package/node_modules/@xrkseek/exec-ssh/package.json +28 -0
  294. package/node_modules/@xrkseek/exec-subprocess/README.md +1 -1
  295. package/node_modules/@xrkseek/exec-video-gen/README.md +19 -0
  296. package/node_modules/@xrkseek/exec-video-gen/dist/format.d.ts +2 -0
  297. package/node_modules/@xrkseek/exec-video-gen/dist/format.d.ts.map +1 -0
  298. package/node_modules/@xrkseek/exec-video-gen/dist/format.js +8 -0
  299. package/node_modules/@xrkseek/exec-video-gen/dist/format.js.map +1 -0
  300. package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts +24 -0
  301. package/node_modules/@xrkseek/exec-video-gen/dist/index.d.ts.map +1 -0
  302. package/node_modules/@xrkseek/exec-video-gen/dist/index.js +57 -0
  303. package/node_modules/@xrkseek/exec-video-gen/dist/index.js.map +1 -0
  304. package/node_modules/@xrkseek/exec-video-gen/dist/memory.d.ts +20 -0
  305. package/node_modules/@xrkseek/exec-video-gen/dist/memory.d.ts.map +1 -0
  306. package/node_modules/@xrkseek/exec-video-gen/dist/memory.js +105 -0
  307. package/node_modules/@xrkseek/exec-video-gen/dist/memory.js.map +1 -0
  308. package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.d.ts +16 -0
  309. package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.d.ts.map +1 -0
  310. package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.js +113 -0
  311. package/node_modules/@xrkseek/exec-video-gen/dist/openai-http.js.map +1 -0
  312. package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts +23 -0
  313. package/node_modules/@xrkseek/exec-video-gen/dist/tools.d.ts.map +1 -0
  314. package/node_modules/@xrkseek/exec-video-gen/dist/tools.js +242 -0
  315. package/node_modules/@xrkseek/exec-video-gen/dist/tools.js.map +1 -0
  316. package/node_modules/@xrkseek/exec-video-gen/dist/types.d.ts +66 -0
  317. package/node_modules/@xrkseek/exec-video-gen/dist/types.d.ts.map +1 -0
  318. package/node_modules/@xrkseek/exec-video-gen/dist/types.js +25 -0
  319. package/node_modules/@xrkseek/exec-video-gen/dist/types.js.map +1 -0
  320. package/node_modules/@xrkseek/exec-video-gen/package.json +27 -0
  321. package/node_modules/@xrkseek/exec-voice/README.md +25 -0
  322. package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.d.ts +44 -0
  323. package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.d.ts.map +1 -0
  324. package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.js +163 -0
  325. package/node_modules/@xrkseek/exec-voice/dist/browser/dictation.js.map +1 -0
  326. package/node_modules/@xrkseek/exec-voice/dist/browser/env.d.ts +23 -0
  327. package/node_modules/@xrkseek/exec-voice/dist/browser/env.d.ts.map +1 -0
  328. package/node_modules/@xrkseek/exec-voice/dist/browser/env.js +93 -0
  329. package/node_modules/@xrkseek/exec-voice/dist/browser/env.js.map +1 -0
  330. package/node_modules/@xrkseek/exec-voice/dist/browser/index.d.ts +51 -0
  331. package/node_modules/@xrkseek/exec-voice/dist/browser/index.d.ts.map +1 -0
  332. package/node_modules/@xrkseek/exec-voice/dist/browser/index.js +44 -0
  333. package/node_modules/@xrkseek/exec-voice/dist/browser/index.js.map +1 -0
  334. package/node_modules/@xrkseek/exec-voice/dist/browser/session.d.ts +26 -0
  335. package/node_modules/@xrkseek/exec-voice/dist/browser/session.d.ts.map +1 -0
  336. package/node_modules/@xrkseek/exec-voice/dist/browser/session.js +96 -0
  337. package/node_modules/@xrkseek/exec-voice/dist/browser/session.js.map +1 -0
  338. package/node_modules/@xrkseek/exec-voice/dist/browser/types.d.ts +91 -0
  339. package/node_modules/@xrkseek/exec-voice/dist/browser/types.d.ts.map +1 -0
  340. package/node_modules/@xrkseek/exec-voice/dist/browser/types.js +10 -0
  341. package/node_modules/@xrkseek/exec-voice/dist/browser/types.js.map +1 -0
  342. package/node_modules/@xrkseek/exec-voice/dist/format.d.ts +2 -0
  343. package/node_modules/@xrkseek/exec-voice/dist/format.d.ts.map +1 -0
  344. package/node_modules/@xrkseek/exec-voice/dist/format.js +8 -0
  345. package/node_modules/@xrkseek/exec-voice/dist/format.js.map +1 -0
  346. package/node_modules/@xrkseek/exec-voice/dist/index.d.ts +24 -0
  347. package/node_modules/@xrkseek/exec-voice/dist/index.d.ts.map +1 -0
  348. package/node_modules/@xrkseek/exec-voice/dist/index.js +53 -0
  349. package/node_modules/@xrkseek/exec-voice/dist/index.js.map +1 -0
  350. package/node_modules/@xrkseek/exec-voice/dist/memory.d.ts +11 -0
  351. package/node_modules/@xrkseek/exec-voice/dist/memory.d.ts.map +1 -0
  352. package/node_modules/@xrkseek/exec-voice/dist/memory.js +85 -0
  353. package/node_modules/@xrkseek/exec-voice/dist/memory.js.map +1 -0
  354. package/node_modules/@xrkseek/exec-voice/dist/openai-http.d.ts +16 -0
  355. package/node_modules/@xrkseek/exec-voice/dist/openai-http.d.ts.map +1 -0
  356. package/node_modules/@xrkseek/exec-voice/dist/openai-http.js +135 -0
  357. package/node_modules/@xrkseek/exec-voice/dist/openai-http.js.map +1 -0
  358. package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts +14 -0
  359. package/node_modules/@xrkseek/exec-voice/dist/tools.d.ts.map +1 -0
  360. package/node_modules/@xrkseek/exec-voice/dist/tools.js +240 -0
  361. package/node_modules/@xrkseek/exec-voice/dist/tools.js.map +1 -0
  362. package/node_modules/@xrkseek/exec-voice/dist/types.d.ts +69 -0
  363. package/node_modules/@xrkseek/exec-voice/dist/types.d.ts.map +1 -0
  364. package/node_modules/@xrkseek/exec-voice/dist/types.js +16 -0
  365. package/node_modules/@xrkseek/exec-voice/dist/types.js.map +1 -0
  366. package/node_modules/@xrkseek/exec-voice/package.json +31 -0
  367. package/node_modules/@xrkseek/exec-web/README.md +5 -5
  368. package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts +23 -0
  369. package/node_modules/@xrkseek/exec-web/dist/browser-cdp.d.ts.map +1 -0
  370. package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js +286 -0
  371. package/node_modules/@xrkseek/exec-web/dist/browser-cdp.js.map +1 -0
  372. package/node_modules/@xrkseek/exec-web/dist/browser-html.d.ts +26 -0
  373. package/node_modules/@xrkseek/exec-web/dist/browser-html.d.ts.map +1 -0
  374. package/node_modules/@xrkseek/exec-web/dist/browser-html.js +118 -0
  375. package/node_modules/@xrkseek/exec-web/dist/browser-html.js.map +1 -0
  376. package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts +33 -0
  377. package/node_modules/@xrkseek/exec-web/dist/browser-session.d.ts.map +1 -0
  378. package/node_modules/@xrkseek/exec-web/dist/browser-session.js +113 -0
  379. package/node_modules/@xrkseek/exec-web/dist/browser-session.js.map +1 -0
  380. package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts +22 -0
  381. package/node_modules/@xrkseek/exec-web/dist/browser-tools.d.ts.map +1 -0
  382. package/node_modules/@xrkseek/exec-web/dist/browser-tools.js +172 -0
  383. package/node_modules/@xrkseek/exec-web/dist/browser-tools.js.map +1 -0
  384. package/node_modules/@xrkseek/exec-web/dist/format.d.ts +4 -0
  385. package/node_modules/@xrkseek/exec-web/dist/format.d.ts.map +1 -1
  386. package/node_modules/@xrkseek/exec-web/dist/format.js +13 -0
  387. package/node_modules/@xrkseek/exec-web/dist/format.js.map +1 -1
  388. package/node_modules/@xrkseek/exec-web/dist/index.d.ts +5 -1
  389. package/node_modules/@xrkseek/exec-web/dist/index.d.ts.map +1 -1
  390. package/node_modules/@xrkseek/exec-web/dist/index.js +5 -1
  391. package/node_modules/@xrkseek/exec-web/dist/index.js.map +1 -1
  392. package/node_modules/@xrkseek/llm/dist/index.d.ts +0 -4
  393. package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
  394. package/node_modules/@xrkseek/llm/dist/index.js +0 -20
  395. package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
  396. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -1
  397. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +2 -6
  398. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -1
  399. package/node_modules/@xrkseek/llm-deepseek/package.json +30 -29
  400. package/node_modules/@xrkseek/mcp/README.md +36 -2
  401. package/node_modules/@xrkseek/mcp/dist/client.d.ts.map +1 -1
  402. package/node_modules/@xrkseek/mcp/dist/client.js +220 -28
  403. package/node_modules/@xrkseek/mcp/dist/client.js.map +1 -1
  404. package/node_modules/@xrkseek/mcp/dist/index.d.ts +7 -4
  405. package/node_modules/@xrkseek/mcp/dist/index.d.ts.map +1 -1
  406. package/node_modules/@xrkseek/mcp/dist/index.js +6 -3
  407. package/node_modules/@xrkseek/mcp/dist/index.js.map +1 -1
  408. package/node_modules/@xrkseek/mcp/dist/list-tools.d.ts +15 -0
  409. package/node_modules/@xrkseek/mcp/dist/list-tools.d.ts.map +1 -1
  410. package/node_modules/@xrkseek/mcp/dist/list-tools.js +40 -0
  411. package/node_modules/@xrkseek/mcp/dist/list-tools.js.map +1 -1
  412. package/node_modules/@xrkseek/mcp/dist/oauth-device.d.ts +104 -0
  413. package/node_modules/@xrkseek/mcp/dist/oauth-device.d.ts.map +1 -0
  414. package/node_modules/@xrkseek/mcp/dist/oauth-device.js +338 -0
  415. package/node_modules/@xrkseek/mcp/dist/oauth-device.js.map +1 -0
  416. package/node_modules/@xrkseek/mcp/dist/oauth-discovery.d.ts +92 -0
  417. package/node_modules/@xrkseek/mcp/dist/oauth-discovery.d.ts.map +1 -0
  418. package/node_modules/@xrkseek/mcp/dist/oauth-discovery.js +232 -0
  419. package/node_modules/@xrkseek/mcp/dist/oauth-discovery.js.map +1 -0
  420. package/node_modules/@xrkseek/mcp/dist/resources.d.ts +24 -0
  421. package/node_modules/@xrkseek/mcp/dist/resources.d.ts.map +1 -0
  422. package/node_modules/@xrkseek/mcp/dist/resources.js +127 -0
  423. package/node_modules/@xrkseek/mcp/dist/resources.js.map +1 -0
  424. package/node_modules/@xrkseek/mcp/dist/types.d.ts +61 -0
  425. package/node_modules/@xrkseek/mcp/dist/types.d.ts.map +1 -1
  426. package/node_modules/@xrkseek/policy/dist/engine.d.ts +12 -1
  427. package/node_modules/@xrkseek/policy/dist/engine.d.ts.map +1 -1
  428. package/node_modules/@xrkseek/policy/dist/engine.js +31 -5
  429. package/node_modules/@xrkseek/policy/dist/engine.js.map +1 -1
  430. package/node_modules/@xrkseek/policy/dist/index.d.ts +6 -5
  431. package/node_modules/@xrkseek/policy/dist/index.d.ts.map +1 -1
  432. package/node_modules/@xrkseek/policy/dist/index.js +5 -4
  433. package/node_modules/@xrkseek/policy/dist/index.js.map +1 -1
  434. package/node_modules/@xrkseek/policy/dist/load.d.ts +12 -4
  435. package/node_modules/@xrkseek/policy/dist/load.d.ts.map +1 -1
  436. package/node_modules/@xrkseek/policy/dist/load.js +40 -21
  437. package/node_modules/@xrkseek/policy/dist/load.js.map +1 -1
  438. package/node_modules/@xrkseek/policy/dist/permission-pre.d.ts +7 -0
  439. package/node_modules/@xrkseek/policy/dist/permission-pre.d.ts.map +1 -1
  440. package/node_modules/@xrkseek/policy/dist/permission-pre.js +14 -0
  441. package/node_modules/@xrkseek/policy/dist/permission-pre.js.map +1 -1
  442. package/node_modules/@xrkseek/policy/dist/rules.d.ts +30 -0
  443. package/node_modules/@xrkseek/policy/dist/rules.d.ts.map +1 -1
  444. package/node_modules/@xrkseek/policy/dist/rules.js +102 -0
  445. package/node_modules/@xrkseek/policy/dist/rules.js.map +1 -1
  446. package/node_modules/@xrkseek/policy/dist/ruleset.d.ts +4 -1
  447. package/node_modules/@xrkseek/policy/dist/ruleset.d.ts.map +1 -1
  448. package/node_modules/@xrkseek/policy/dist/ruleset.js +39 -2
  449. package/node_modules/@xrkseek/policy/dist/ruleset.js.map +1 -1
  450. package/node_modules/@xrkseek/policy/dist/schema.d.ts +16 -1
  451. package/node_modules/@xrkseek/policy/dist/schema.d.ts.map +1 -1
  452. package/node_modules/@xrkseek/policy/dist/schema.js +15 -1
  453. package/node_modules/@xrkseek/policy/dist/schema.js.map +1 -1
  454. package/node_modules/@xrkseek/policy/dist/types.d.ts +40 -2
  455. package/node_modules/@xrkseek/policy/dist/types.d.ts.map +1 -1
  456. package/node_modules/@xrkseek/policy/dist/wire-error.d.ts +30 -0
  457. package/node_modules/@xrkseek/policy/dist/wire-error.d.ts.map +1 -0
  458. package/node_modules/@xrkseek/policy/dist/wire-error.js +42 -0
  459. package/node_modules/@xrkseek/policy/dist/wire-error.js.map +1 -0
  460. package/node_modules/@xrkseek/policy/package.json +31 -26
  461. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +107 -1
  462. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  463. package/node_modules/@xrkseek/preset-harness/dist/preset.js +331 -19
  464. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  465. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  466. package/node_modules/@xrkseek/preset-harness/package.json +7 -0
  467. package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
  468. package/node_modules/@xrkseek/preset-minimal/dist/preset.js +7 -4
  469. package/node_modules/@xrkseek/preset-minimal/dist/preset.js.map +1 -1
  470. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  471. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  472. package/node_modules/@xrkseek/preset-server/dist/preset.js +5 -1
  473. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  474. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  475. package/node_modules/@xrkseek/protocol/README.md +33 -35
  476. package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
  477. package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
  478. package/node_modules/@xrkseek/protocol/dist/content.js +4 -2
  479. package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
  480. package/node_modules/@xrkseek/protocol/dist/index.d.ts +4 -2
  481. package/node_modules/@xrkseek/protocol/dist/index.d.ts.map +1 -1
  482. package/node_modules/@xrkseek/protocol/dist/index.js +3 -1
  483. package/node_modules/@xrkseek/protocol/dist/index.js.map +1 -1
  484. package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts +2 -321
  485. package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts.map +1 -1
  486. package/node_modules/@xrkseek/protocol/dist/json-schema.js +106 -61
  487. package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
  488. package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +28 -1
  489. package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
  490. package/node_modules/@xrkseek/protocol/dist/session-events.js +2 -0
  491. package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
  492. package/node_modules/@xrkseek/protocol/dist/sidebar-previews.d.ts +84 -0
  493. package/node_modules/@xrkseek/protocol/dist/sidebar-previews.d.ts.map +1 -0
  494. package/node_modules/@xrkseek/protocol/dist/sidebar-previews.js +36 -0
  495. package/node_modules/@xrkseek/protocol/dist/sidebar-previews.js.map +1 -0
  496. package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
  497. package/node_modules/@xrkseek/protocol/dist/validate.js +154 -0
  498. package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
  499. package/node_modules/@xrkseek/protocol/dist/workspace-changes.d.ts +132 -0
  500. package/node_modules/@xrkseek/protocol/dist/workspace-changes.d.ts.map +1 -0
  501. package/node_modules/@xrkseek/protocol/dist/workspace-changes.js +160 -0
  502. package/node_modules/@xrkseek/protocol/dist/workspace-changes.js.map +1 -0
  503. package/node_modules/@xrkseek/server-config/dist/home.d.ts +26 -10
  504. package/node_modules/@xrkseek/server-config/dist/home.d.ts.map +1 -1
  505. package/node_modules/@xrkseek/server-config/dist/home.js +40 -30
  506. package/node_modules/@xrkseek/server-config/dist/home.js.map +1 -1
  507. package/node_modules/@xrkseek/server-config/dist/index.d.ts +2 -1
  508. package/node_modules/@xrkseek/server-config/dist/index.d.ts.map +1 -1
  509. package/node_modules/@xrkseek/server-config/dist/index.js +1 -1
  510. package/node_modules/@xrkseek/server-config/dist/index.js.map +1 -1
  511. package/node_modules/@xrkseek/server-config/dist/mcp-servers.d.ts +2 -0
  512. package/node_modules/@xrkseek/server-config/dist/mcp-servers.d.ts.map +1 -1
  513. package/node_modules/@xrkseek/server-config/dist/mcp-servers.js +1 -0
  514. package/node_modules/@xrkseek/server-config/dist/mcp-servers.js.map +1 -1
  515. package/node_modules/@xrkseek/server-config/package.json +28 -27
  516. package/node_modules/@xrkseek/server-cron/README.md +11 -0
  517. package/node_modules/@xrkseek/server-cron/dist/deliver.d.ts +9 -0
  518. package/node_modules/@xrkseek/server-cron/dist/deliver.d.ts.map +1 -0
  519. package/node_modules/@xrkseek/server-cron/dist/deliver.js +59 -0
  520. package/node_modules/@xrkseek/server-cron/dist/deliver.js.map +1 -0
  521. package/node_modules/@xrkseek/server-cron/dist/index.d.ts +27 -0
  522. package/node_modules/@xrkseek/server-cron/dist/index.d.ts.map +1 -0
  523. package/node_modules/@xrkseek/server-cron/dist/index.js +48 -0
  524. package/node_modules/@xrkseek/server-cron/dist/index.js.map +1 -0
  525. package/node_modules/@xrkseek/server-cron/dist/runner.d.ts +10 -0
  526. package/node_modules/@xrkseek/server-cron/dist/runner.d.ts.map +1 -0
  527. package/node_modules/@xrkseek/server-cron/dist/runner.js +62 -0
  528. package/node_modules/@xrkseek/server-cron/dist/runner.js.map +1 -0
  529. package/node_modules/@xrkseek/server-cron/dist/schedule.d.ts +9 -0
  530. package/node_modules/@xrkseek/server-cron/dist/schedule.d.ts.map +1 -0
  531. package/node_modules/@xrkseek/server-cron/dist/schedule.js +108 -0
  532. package/node_modules/@xrkseek/server-cron/dist/schedule.js.map +1 -0
  533. package/node_modules/@xrkseek/server-cron/dist/scheduler.d.ts +29 -0
  534. package/node_modules/@xrkseek/server-cron/dist/scheduler.d.ts.map +1 -0
  535. package/node_modules/@xrkseek/server-cron/dist/scheduler.js +152 -0
  536. package/node_modules/@xrkseek/server-cron/dist/scheduler.js.map +1 -0
  537. package/node_modules/@xrkseek/server-cron/dist/store.d.ts +26 -0
  538. package/node_modules/@xrkseek/server-cron/dist/store.d.ts.map +1 -0
  539. package/node_modules/@xrkseek/server-cron/dist/store.js +127 -0
  540. package/node_modules/@xrkseek/server-cron/dist/store.js.map +1 -0
  541. package/node_modules/@xrkseek/server-cron/dist/tools.d.ts +8 -0
  542. package/node_modules/@xrkseek/server-cron/dist/tools.d.ts.map +1 -0
  543. package/node_modules/@xrkseek/server-cron/dist/tools.js +183 -0
  544. package/node_modules/@xrkseek/server-cron/dist/tools.js.map +1 -0
  545. package/node_modules/@xrkseek/server-cron/dist/types.d.ts +77 -0
  546. package/node_modules/@xrkseek/server-cron/dist/types.d.ts.map +1 -0
  547. package/node_modules/@xrkseek/server-cron/dist/types.js +17 -0
  548. package/node_modules/@xrkseek/server-cron/dist/types.js.map +1 -0
  549. package/node_modules/@xrkseek/server-cron/package.json +26 -0
  550. package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts +1 -1
  551. package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts.map +1 -1
  552. package/node_modules/@xrkseek/server-face/dist/adapt/index.js +1 -1
  553. package/node_modules/@xrkseek/server-face/dist/adapt/index.js.map +1 -1
  554. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts +9 -0
  555. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts.map +1 -1
  556. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js +31 -4
  557. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js.map +1 -1
  558. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts +2 -0
  559. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts.map +1 -1
  560. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js +16 -0
  561. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
  562. package/node_modules/@xrkseek/server-face/dist/agent-team-graph.d.ts +56 -0
  563. package/node_modules/@xrkseek/server-face/dist/agent-team-graph.d.ts.map +1 -0
  564. package/node_modules/@xrkseek/server-face/dist/agent-team-graph.js +233 -0
  565. package/node_modules/@xrkseek/server-face/dist/agent-team-graph.js.map +1 -0
  566. package/node_modules/@xrkseek/server-face/dist/approvals.d.ts +10 -1
  567. package/node_modules/@xrkseek/server-face/dist/approvals.d.ts.map +1 -1
  568. package/node_modules/@xrkseek/server-face/dist/approvals.js +24 -0
  569. package/node_modules/@xrkseek/server-face/dist/approvals.js.map +1 -1
  570. package/node_modules/@xrkseek/server-face/dist/context.d.ts +51 -3
  571. package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
  572. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  573. package/node_modules/@xrkseek/server-face/dist/dispatch.js +3 -0
  574. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  575. package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts +34 -0
  576. package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.d.ts.map +1 -0
  577. package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js +287 -0
  578. package/node_modules/@xrkseek/server-face/dist/external-agent-runtime.js.map +1 -0
  579. package/node_modules/@xrkseek/server-face/dist/face-schema.d.ts.map +1 -1
  580. package/node_modules/@xrkseek/server-face/dist/face-schema.js +1 -0
  581. package/node_modules/@xrkseek/server-face/dist/face-schema.js.map +1 -1
  582. package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts +33 -0
  583. package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts.map +1 -0
  584. package/node_modules/@xrkseek/server-face/dist/fork-cut.js +114 -0
  585. package/node_modules/@xrkseek/server-face/dist/fork-cut.js.map +1 -0
  586. package/node_modules/@xrkseek/server-face/dist/handlers/catalog.d.ts.map +1 -1
  587. package/node_modules/@xrkseek/server-face/dist/handlers/catalog.js +2 -2
  588. package/node_modules/@xrkseek/server-face/dist/handlers/catalog.js.map +1 -1
  589. package/node_modules/@xrkseek/server-face/dist/handlers/changes.d.ts +23 -0
  590. package/node_modules/@xrkseek/server-face/dist/handlers/changes.d.ts.map +1 -0
  591. package/node_modules/@xrkseek/server-face/dist/handlers/changes.js +113 -0
  592. package/node_modules/@xrkseek/server-face/dist/handlers/changes.js.map +1 -0
  593. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
  594. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +10 -3
  595. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
  596. package/node_modules/@xrkseek/server-face/dist/handlers/host.d.ts.map +1 -1
  597. package/node_modules/@xrkseek/server-face/dist/handlers/host.js +62 -9
  598. package/node_modules/@xrkseek/server-face/dist/handlers/host.js.map +1 -1
  599. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.d.ts.map +1 -1
  600. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js +3 -1
  601. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js.map +1 -1
  602. package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts.map +1 -1
  603. package/node_modules/@xrkseek/server-face/dist/handlers/session.js +45 -23
  604. package/node_modules/@xrkseek/server-face/dist/handlers/session.js.map +1 -1
  605. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.d.ts.map +1 -1
  606. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js +3 -2
  607. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js.map +1 -1
  608. package/node_modules/@xrkseek/server-face/dist/host-open-path.d.ts +4 -0
  609. package/node_modules/@xrkseek/server-face/dist/host-open-path.d.ts.map +1 -1
  610. package/node_modules/@xrkseek/server-face/dist/host-open-path.js +24 -2
  611. package/node_modules/@xrkseek/server-face/dist/host-open-path.js.map +1 -1
  612. package/node_modules/@xrkseek/server-face/dist/index.d.ts +7 -6
  613. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  614. package/node_modules/@xrkseek/server-face/dist/index.js +6 -5
  615. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  616. package/node_modules/@xrkseek/server-face/dist/last-good-config.d.ts +30 -0
  617. package/node_modules/@xrkseek/server-face/dist/last-good-config.d.ts.map +1 -0
  618. package/node_modules/@xrkseek/server-face/dist/last-good-config.js +39 -0
  619. package/node_modules/@xrkseek/server-face/dist/last-good-config.js.map +1 -0
  620. package/node_modules/@xrkseek/server-face/dist/permissions.d.ts +10 -2
  621. package/node_modules/@xrkseek/server-face/dist/permissions.d.ts.map +1 -1
  622. package/node_modules/@xrkseek/server-face/dist/permissions.js +40 -3
  623. package/node_modules/@xrkseek/server-face/dist/permissions.js.map +1 -1
  624. package/node_modules/@xrkseek/server-face/dist/plugin-boot.d.ts.map +1 -1
  625. package/node_modules/@xrkseek/server-face/dist/plugin-boot.js +4 -0
  626. package/node_modules/@xrkseek/server-face/dist/plugin-boot.js.map +1 -1
  627. package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts +12 -4
  628. package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
  629. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +6 -6
  630. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
  631. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +1 -1
  632. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
  633. package/node_modules/@xrkseek/server-face/dist/projections/index.js +1 -1
  634. package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
  635. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
  636. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +3 -0
  637. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
  638. package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.d.ts.map +1 -1
  639. package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.js +46 -12
  640. package/node_modules/@xrkseek/server-face/dist/projections/list-checkpoint-cache.js.map +1 -1
  641. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +8 -1
  642. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
  643. package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
  644. package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.d.ts +2 -7
  645. package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.d.ts.map +1 -1
  646. package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.js +2 -11
  647. package/node_modules/@xrkseek/server-face/dist/projections/snapshot-keys.js.map +1 -1
  648. package/node_modules/@xrkseek/server-face/dist/projections/units/todos.d.ts +4 -2
  649. package/node_modules/@xrkseek/server-face/dist/projections/units/todos.d.ts.map +1 -1
  650. package/node_modules/@xrkseek/server-face/dist/projections/units/todos.js +5 -5
  651. package/node_modules/@xrkseek/server-face/dist/projections/units/todos.js.map +1 -1
  652. package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.d.ts +13 -0
  653. package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.d.ts.map +1 -0
  654. package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.js +104 -0
  655. package/node_modules/@xrkseek/server-face/dist/projections/units/workspace-changes.js.map +1 -0
  656. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +10 -3
  657. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
  658. package/node_modules/@xrkseek/server-face/dist/runtime.js +105 -10
  659. package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
  660. package/node_modules/@xrkseek/server-face/dist/select-session-model.d.ts.map +1 -1
  661. package/node_modules/@xrkseek/server-face/dist/select-session-model.js +12 -1
  662. package/node_modules/@xrkseek/server-face/dist/select-session-model.js.map +1 -1
  663. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +4 -0
  664. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
  665. package/node_modules/@xrkseek/server-face/dist/settings-credentials.js +253 -41
  666. package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
  667. package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts +3 -0
  668. package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts.map +1 -1
  669. package/node_modules/@xrkseek/server-face/dist/settings-document.js +84 -23
  670. package/node_modules/@xrkseek/server-face/dist/settings-document.js.map +1 -1
  671. package/node_modules/@xrkseek/server-face/dist/settings-schemas.d.ts.map +1 -1
  672. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js +11 -0
  673. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
  674. package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts +9 -2
  675. package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts.map +1 -1
  676. package/node_modules/@xrkseek/server-face/dist/subagent-registry.js +21 -3
  677. package/node_modules/@xrkseek/server-face/dist/subagent-registry.js.map +1 -1
  678. package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts +8 -2
  679. package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts.map +1 -1
  680. package/node_modules/@xrkseek/server-face/dist/subagent-tools.js +185 -38
  681. package/node_modules/@xrkseek/server-face/dist/subagent-tools.js.map +1 -1
  682. package/node_modules/@xrkseek/server-face/dist/subagent-worktree.d.ts +33 -0
  683. package/node_modules/@xrkseek/server-face/dist/subagent-worktree.d.ts.map +1 -0
  684. package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js +172 -0
  685. package/node_modules/@xrkseek/server-face/dist/subagent-worktree.js.map +1 -0
  686. package/node_modules/@xrkseek/server-face/dist/types.d.ts +1 -1
  687. package/node_modules/@xrkseek/server-face/dist/types.d.ts.map +1 -1
  688. package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
  689. package/node_modules/@xrkseek/server-face/dist/wire/paths.js +1 -0
  690. package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
  691. package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.d.ts +1 -1
  692. package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.d.ts.map +1 -1
  693. package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.js +16 -1
  694. package/node_modules/@xrkseek/server-face/dist/wire/rpc-error.js.map +1 -1
  695. package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts.map +1 -1
  696. package/node_modules/@xrkseek/server-face/dist/workspace-face.js +40 -0
  697. package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
  698. package/node_modules/@xrkseek/server-face/package.json +56 -55
  699. package/node_modules/@xrkseek/server-host/dist/index.d.ts +18 -2
  700. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  701. package/node_modules/@xrkseek/server-host/dist/index.js +340 -48
  702. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  703. package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.d.ts +22 -0
  704. package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.d.ts.map +1 -0
  705. package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.js +37 -0
  706. package/node_modules/@xrkseek/server-host/dist/mcp-deferred-dispose.js.map +1 -0
  707. package/node_modules/@xrkseek/server-host/dist/mcp-wire.d.ts +19 -5
  708. package/node_modules/@xrkseek/server-host/dist/mcp-wire.d.ts.map +1 -1
  709. package/node_modules/@xrkseek/server-host/dist/mcp-wire.js +161 -30
  710. package/node_modules/@xrkseek/server-host/dist/mcp-wire.js.map +1 -1
  711. package/node_modules/@xrkseek/server-host/dist/policy-file-watch.d.ts +18 -0
  712. package/node_modules/@xrkseek/server-host/dist/policy-file-watch.d.ts.map +1 -0
  713. package/node_modules/@xrkseek/server-host/dist/policy-file-watch.js +91 -0
  714. package/node_modules/@xrkseek/server-host/dist/policy-file-watch.js.map +1 -0
  715. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.d.ts +29 -0
  716. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.d.ts.map +1 -0
  717. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.js +111 -0
  718. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-opens.js.map +1 -0
  719. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.d.ts +101 -0
  720. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.d.ts.map +1 -0
  721. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.js +377 -0
  722. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-pty.js.map +1 -0
  723. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.d.ts +25 -0
  724. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.d.ts.map +1 -0
  725. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.js +343 -0
  726. package/node_modules/@xrkseek/server-host/dist/sidebar-agent-tools.js.map +1 -0
  727. package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.d.ts.map +1 -1
  728. package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js +66 -6
  729. package/node_modules/@xrkseek/server-host/dist/sidebar-face-bridge.js.map +1 -1
  730. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +11 -0
  731. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -1
  732. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +188 -12
  733. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -1
  734. package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.d.ts +35 -0
  735. package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.d.ts.map +1 -0
  736. package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.js +86 -0
  737. package/node_modules/@xrkseek/server-host/dist/ssh-directory-backend.js.map +1 -0
  738. package/node_modules/@xrkseek/server-host/package.json +3 -0
  739. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +6 -2
  740. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
  741. package/node_modules/@xrkseek/server-http/dist/boot-inject.js +6 -1
  742. package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
  743. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -1
  744. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +4 -2
  745. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -1
  746. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +1 -3
  747. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -1
  748. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.d.ts +36 -0
  749. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.d.ts.map +1 -0
  750. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js +102 -0
  751. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-classifier.js.map +1 -0
  752. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +5 -2
  753. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -1
  754. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +43 -17
  755. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -1
  756. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -1
  757. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +23 -2
  758. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -1
  759. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -1
  760. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +16 -2
  761. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -1
  762. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.d.ts.map +1 -1
  763. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.js +5 -0
  764. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-boot.js.map +1 -1
  765. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +4 -1
  766. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -1
  767. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +33 -6
  768. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -1
  769. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -1
  770. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +0 -2
  771. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -1
  772. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -1
  773. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +1 -1
  774. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -1
  775. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.d.ts +13 -0
  776. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.d.ts.map +1 -0
  777. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.js +254 -0
  778. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-browser-runtime.js.map +1 -0
  779. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.d.ts.map +1 -1
  780. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.js +2 -0
  781. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui-npm-bridge.js.map +1 -1
  782. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -1
  783. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +4 -5
  784. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -1
  785. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +9 -11
  786. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -1
  787. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +19 -47
  788. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -1
  789. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +1 -1
  790. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -1
  791. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +3 -15
  792. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -1
  793. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.d.ts +15 -0
  794. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.d.ts.map +1 -0
  795. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.js +165 -0
  796. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-local-ws.js.map +1 -0
  797. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.d.ts.map +1 -1
  798. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.js +11 -2
  799. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-gateway-sidecar.js.map +1 -1
  800. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.d.ts +1 -1
  801. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.d.ts.map +1 -1
  802. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.js +23 -33
  803. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-long-lived-gateway.js.map +1 -1
  804. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +9 -1
  805. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -1
  806. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +36 -4
  807. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -1
  808. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.d.ts +4 -0
  809. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.d.ts.map +1 -0
  810. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.js +13 -0
  811. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-vendors.js.map +1 -0
  812. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +4 -2
  813. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -1
  814. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +3 -2
  815. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -1
  816. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -1
  817. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +12 -8
  818. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -1
  819. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.d.ts +40 -0
  820. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.d.ts.map +1 -0
  821. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.js +139 -0
  822. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-engine.js.map +1 -0
  823. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +2 -0
  824. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -1
  825. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +4 -0
  826. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -1
  827. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -1
  828. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +137 -27
  829. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -1
  830. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -1
  831. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +4 -0
  832. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -1
  833. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -1
  834. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +1 -0
  835. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -1
  836. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.d.ts.map +1 -1
  837. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.js +5 -0
  838. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-python-bridge.js.map +1 -1
  839. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +3 -0
  840. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -1
  841. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +45 -15
  842. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -1
  843. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts +1 -4
  844. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.d.ts.map +1 -1
  845. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js +3 -23
  846. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/json-store.js.map +1 -1
  847. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +1 -1
  848. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -1
  849. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +14 -4
  850. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -1
  851. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.d.ts.map +1 -1
  852. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.js +4 -0
  853. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire-normalize.js.map +1 -1
  854. package/node_modules/@xrkseek/server-http/dist/host-policy-error.d.ts +12 -0
  855. package/node_modules/@xrkseek/server-http/dist/host-policy-error.d.ts.map +1 -0
  856. package/node_modules/@xrkseek/server-http/dist/host-policy-error.js +19 -0
  857. package/node_modules/@xrkseek/server-http/dist/host-policy-error.js.map +1 -0
  858. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +6 -0
  859. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -1
  860. package/node_modules/@xrkseek/server-http/dist/host-wire.js +18 -0
  861. package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -1
  862. package/node_modules/@xrkseek/server-http/dist/index.d.ts +3 -3
  863. package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
  864. package/node_modules/@xrkseek/server-http/dist/index.js +3 -3
  865. package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
  866. package/node_modules/@xrkseek/server-http/dist/sidebar/index.d.ts +5 -2
  867. package/node_modules/@xrkseek/server-http/dist/sidebar/index.d.ts.map +1 -1
  868. package/node_modules/@xrkseek/server-http/dist/sidebar/index.js +4 -1
  869. package/node_modules/@xrkseek/server-http/dist/sidebar/index.js.map +1 -1
  870. package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.d.ts +23 -0
  871. package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.d.ts.map +1 -0
  872. package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.js +103 -0
  873. package/node_modules/@xrkseek/server-http/dist/sidebar/office-to-pdf.js.map +1 -0
  874. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.d.ts +26 -4
  875. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.d.ts.map +1 -1
  876. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.js +158 -11
  877. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-adapter.js.map +1 -1
  878. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.d.ts +5 -1
  879. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.d.ts.map +1 -1
  880. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.js +0 -4
  881. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-browser.js.map +1 -1
  882. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-face-bridge.d.ts +45 -1
  883. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-face-bridge.d.ts.map +1 -1
  884. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.d.ts.map +1 -1
  885. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.js +2 -0
  886. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-git.js.map +1 -1
  887. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.d.ts +4 -0
  888. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.d.ts.map +1 -1
  889. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.js +24 -2
  890. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-html.js.map +1 -1
  891. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.d.ts +41 -0
  892. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.d.ts.map +1 -0
  893. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.js +60 -0
  894. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-policy.js.map +1 -0
  895. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.d.ts.map +1 -1
  896. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.js +1 -0
  897. package/node_modules/@xrkseek/server-http/dist/sidebar/sidebar-prefs-store.js.map +1 -1
  898. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +0 -6
  899. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -1
  900. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +1 -10
  901. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -1
  902. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +0 -11
  903. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -1
  904. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +8 -4
  905. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -1
  906. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -1
  907. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +2 -8
  908. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -1
  909. package/node_modules/@xrkseek/server-http/package.json +42 -40
  910. package/node_modules/@xrkseek/server-loader/dist/hooks.d.ts +32 -0
  911. package/node_modules/@xrkseek/server-loader/dist/hooks.d.ts.map +1 -0
  912. package/node_modules/@xrkseek/server-loader/dist/hooks.js +70 -0
  913. package/node_modules/@xrkseek/server-loader/dist/hooks.js.map +1 -0
  914. package/node_modules/@xrkseek/server-loader/dist/index.d.ts +19 -4
  915. package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
  916. package/node_modules/@xrkseek/server-loader/dist/index.js +42 -8
  917. package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
  918. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -2
  919. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
  920. package/node_modules/@xrkseek/server-loader/dist/kinds.js +6 -1
  921. package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
  922. package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.d.ts +63 -0
  923. package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.d.ts.map +1 -0
  924. package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.js +185 -0
  925. package/node_modules/@xrkseek/server-loader/dist/lifecycle-webhooks.js.map +1 -0
  926. package/node_modules/@xrkseek/server-loader/dist/load-failures.d.ts +54 -0
  927. package/node_modules/@xrkseek/server-loader/dist/load-failures.d.ts.map +1 -0
  928. package/node_modules/@xrkseek/server-loader/dist/load-failures.js +50 -0
  929. package/node_modules/@xrkseek/server-loader/dist/load-failures.js.map +1 -0
  930. package/node_modules/@xrkseek/server-loader/dist/load.d.ts +1 -1
  931. package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
  932. package/node_modules/@xrkseek/server-loader/dist/load.js +33 -7
  933. package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
  934. package/node_modules/@xrkseek/server-loader/dist/managed-state.d.ts +9 -2
  935. package/node_modules/@xrkseek/server-loader/dist/managed-state.d.ts.map +1 -1
  936. package/node_modules/@xrkseek/server-loader/dist/managed-state.js +27 -4
  937. package/node_modules/@xrkseek/server-loader/dist/managed-state.js.map +1 -1
  938. package/node_modules/@xrkseek/server-loader/dist/manifest.d.ts +5 -0
  939. package/node_modules/@xrkseek/server-loader/dist/manifest.d.ts.map +1 -1
  940. package/node_modules/@xrkseek/server-loader/dist/manifest.js +3 -3
  941. package/node_modules/@xrkseek/server-loader/dist/manifest.js.map +1 -1
  942. package/node_modules/@xrkseek/server-loader/dist/policy.d.ts +13 -4
  943. package/node_modules/@xrkseek/server-loader/dist/policy.d.ts.map +1 -1
  944. package/node_modules/@xrkseek/server-loader/dist/policy.js +21 -3
  945. package/node_modules/@xrkseek/server-loader/dist/policy.js.map +1 -1
  946. package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts +49 -0
  947. package/node_modules/@xrkseek/server-loader/dist/shell-hooks.d.ts.map +1 -0
  948. package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js +248 -0
  949. package/node_modules/@xrkseek/server-loader/dist/shell-hooks.js.map +1 -0
  950. package/node_modules/@xrkseek/server-loader/dist/startup-audit.d.ts +46 -0
  951. package/node_modules/@xrkseek/server-loader/dist/startup-audit.d.ts.map +1 -0
  952. package/node_modules/@xrkseek/server-loader/dist/startup-audit.js +121 -0
  953. package/node_modules/@xrkseek/server-loader/dist/startup-audit.js.map +1 -0
  954. package/node_modules/@xrkseek/server-loader/dist/types.d.ts +25 -1
  955. package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
  956. package/node_modules/@xrkseek/session-projection/dist/index.d.ts +1 -3
  957. package/node_modules/@xrkseek/session-projection/dist/index.d.ts.map +1 -1
  958. package/node_modules/@xrkseek/session-projection/dist/index.js.map +1 -1
  959. package/node_modules/@xrkseek/session-telemetry/README.md +11 -0
  960. package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts +28 -0
  961. package/node_modules/@xrkseek/session-telemetry/dist/index.d.ts.map +1 -0
  962. package/node_modules/@xrkseek/session-telemetry/dist/index.js +80 -0
  963. package/node_modules/@xrkseek/session-telemetry/dist/index.js.map +1 -0
  964. package/node_modules/@xrkseek/session-telemetry/dist/memory.d.ts +11 -0
  965. package/node_modules/@xrkseek/session-telemetry/dist/memory.d.ts.map +1 -0
  966. package/node_modules/@xrkseek/session-telemetry/dist/memory.js +18 -0
  967. package/node_modules/@xrkseek/session-telemetry/dist/memory.js.map +1 -0
  968. package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.d.ts +26 -0
  969. package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.d.ts.map +1 -0
  970. package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.js +161 -0
  971. package/node_modules/@xrkseek/session-telemetry/dist/otlp-http.js.map +1 -0
  972. package/node_modules/@xrkseek/session-telemetry/dist/record.d.ts +8 -0
  973. package/node_modules/@xrkseek/session-telemetry/dist/record.d.ts.map +1 -0
  974. package/node_modules/@xrkseek/session-telemetry/dist/record.js +54 -0
  975. package/node_modules/@xrkseek/session-telemetry/dist/record.js.map +1 -0
  976. package/node_modules/@xrkseek/session-telemetry/dist/types.d.ts +33 -0
  977. package/node_modules/@xrkseek/session-telemetry/dist/types.d.ts.map +1 -0
  978. package/node_modules/@xrkseek/session-telemetry/dist/types.js +13 -0
  979. package/node_modules/@xrkseek/session-telemetry/dist/types.js.map +1 -0
  980. package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts +14 -0
  981. package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.d.ts.map +1 -0
  982. package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js +52 -0
  983. package/node_modules/@xrkseek/session-telemetry/dist/wrap-store.js.map +1 -0
  984. package/node_modules/@xrkseek/session-telemetry/package.json +27 -0
  985. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts.map +1 -1
  986. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js +2 -1
  987. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js.map +1 -1
  988. package/node_modules/@xrkseek/workspace/dist/index.d.ts +3 -1
  989. package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
  990. package/node_modules/@xrkseek/workspace/dist/index.js +3 -1
  991. package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
  992. package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts +2 -1
  993. package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.d.ts.map +1 -1
  994. package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js +9 -4
  995. package/node_modules/@xrkseek/workspace/dist/inject-fingerprint.js.map +1 -1
  996. package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts +15 -2
  997. package/node_modules/@xrkseek/workspace/dist/inject-sources.d.ts.map +1 -1
  998. package/node_modules/@xrkseek/workspace/dist/inject-sources.js +23 -5
  999. package/node_modules/@xrkseek/workspace/dist/inject-sources.js.map +1 -1
  1000. package/node_modules/@xrkseek/workspace/dist/skill-dirs.d.ts.map +1 -1
  1001. package/node_modules/@xrkseek/workspace/dist/skill-dirs.js +3 -1
  1002. package/node_modules/@xrkseek/workspace/dist/skill-dirs.js.map +1 -1
  1003. package/node_modules/@xrkseek/workspace/dist/skill-install.d.ts +61 -0
  1004. package/node_modules/@xrkseek/workspace/dist/skill-install.d.ts.map +1 -0
  1005. package/node_modules/@xrkseek/workspace/dist/skill-install.js +346 -0
  1006. package/node_modules/@xrkseek/workspace/dist/skill-install.js.map +1 -0
  1007. package/node_modules/@xrkseek/workspace/dist/tool-output-persist.d.ts +1 -5
  1008. package/node_modules/@xrkseek/workspace/dist/tool-output-persist.d.ts.map +1 -1
  1009. package/node_modules/@xrkseek/workspace/dist/tool-output-persist.js +10 -22
  1010. package/node_modules/@xrkseek/workspace/dist/tool-output-persist.js.map +1 -1
  1011. package/node_modules/@xrkseek/workspace/dist/user-product-home.d.ts +18 -0
  1012. package/node_modules/@xrkseek/workspace/dist/user-product-home.d.ts.map +1 -0
  1013. package/node_modules/@xrkseek/workspace/dist/user-product-home.js +45 -0
  1014. package/node_modules/@xrkseek/workspace/dist/user-product-home.js.map +1 -0
  1015. package/node_modules/@xrkseek/workspace/package.json +28 -27
  1016. package/node_modules/@xrkseek/xrk-home-paths/README.md +4 -0
  1017. package/node_modules/@xrkseek/xrk-home-paths/dist/index.d.ts +44 -0
  1018. package/node_modules/@xrkseek/xrk-home-paths/dist/index.d.ts.map +1 -0
  1019. package/node_modules/@xrkseek/xrk-home-paths/dist/index.js +83 -0
  1020. package/node_modules/@xrkseek/xrk-home-paths/dist/index.js.map +1 -0
  1021. package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.d.ts +22 -0
  1022. package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.d.ts.map +1 -0
  1023. package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.js +139 -0
  1024. package/node_modules/@xrkseek/xrk-home-paths/dist/spill-budget.js.map +1 -0
  1025. package/node_modules/@xrkseek/xrk-home-paths/package.json +24 -0
  1026. package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.d.ts +0 -1
  1027. package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.d.ts.map +1 -1
  1028. package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.js +0 -1
  1029. package/node_modules/@xrkseek/xrk-session-reference/dist/prepare-face.js.map +1 -1
  1030. package/node_modules/@xrkseek/xrk-session-reference/dist/spill.d.ts +3 -2
  1031. package/node_modules/@xrkseek/xrk-session-reference/dist/spill.d.ts.map +1 -1
  1032. package/node_modules/@xrkseek/xrk-session-reference/dist/spill.js +11 -21
  1033. package/node_modules/@xrkseek/xrk-session-reference/dist/spill.js.map +1 -1
  1034. package/node_modules/@xrkseek/xrk-session-reference/package.json +56 -55
  1035. package/node_modules/smol-toml/LICENSE +24 -0
  1036. package/node_modules/smol-toml/README.md +418 -0
  1037. package/node_modules/smol-toml/dist/date.d.ts +41 -0
  1038. package/node_modules/smol-toml/dist/date.js +127 -0
  1039. package/node_modules/smol-toml/dist/error.d.ts +38 -0
  1040. package/node_modules/smol-toml/dist/error.js +63 -0
  1041. package/node_modules/smol-toml/dist/extract.js +69 -0
  1042. package/node_modules/smol-toml/dist/index.cjs +734 -0
  1043. package/node_modules/smol-toml/dist/index.d.ts +43 -0
  1044. package/node_modules/smol-toml/dist/index.js +33 -0
  1045. package/node_modules/smol-toml/dist/parse.d.ts +36 -0
  1046. package/node_modules/smol-toml/dist/parse.js +149 -0
  1047. package/node_modules/smol-toml/dist/primitive.js +238 -0
  1048. package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
  1049. package/node_modules/smol-toml/dist/stringify.js +181 -0
  1050. package/node_modules/smol-toml/dist/struct.js +179 -0
  1051. package/node_modules/smol-toml/dist/util.d.ts +38 -0
  1052. package/node_modules/smol-toml/dist/util.js +89 -0
  1053. package/node_modules/smol-toml/package.json +68 -0
  1054. package/package.json +21 -1
@@ -0,0 +1,287 @@
1
+ /**
2
+ * One-shot external agent runtimes for the subagent tool.
3
+ * In-process delegation stays the default; these kinds spawn a child process.
4
+ */
5
+ import { spawn } from "node:child_process";
6
+ import { createInterface } from "node:readline";
7
+ export class ExternalAgentError extends Error {
8
+ code;
9
+ constructor(message, code = "EXTERNAL_AGENT") {
10
+ super(message);
11
+ this.name = "ExternalAgentError";
12
+ this.code = code;
13
+ }
14
+ }
15
+ function splitCommand(raw) {
16
+ const parts = raw.trim().split(/\s+/).filter(Boolean);
17
+ const command = parts[0];
18
+ if (!command) {
19
+ throw new ExternalAgentError("empty external agent command", "EXTERNAL_AGENT_CONFIG");
20
+ }
21
+ return { command, args: parts.slice(1) };
22
+ }
23
+ export function resolveExternalAgentLaunch(kind, env, prompt) {
24
+ if (kind === "acp") {
25
+ const raw = String(env.XRK_ACP_AGENT ?? "").trim();
26
+ if (!raw) {
27
+ throw new ExternalAgentError("ACP runtime requires XRK_ACP_AGENT (command to spawn, e.g. xrkh acp)", "EXTERNAL_AGENT_CONFIG");
28
+ }
29
+ const spec = splitCommand(raw);
30
+ return { ...spec, protocol: "acp" };
31
+ }
32
+ if (kind === "app-server") {
33
+ const raw = String(env.XRK_CODEX_APP_SERVER ?? "codex app-server").trim();
34
+ const spec = splitCommand(raw);
35
+ return { ...spec, protocol: "app-server" };
36
+ }
37
+ const raw = String(env.XRK_CLAUDE_CODE ?? "claude").trim();
38
+ const spec = splitCommand(raw);
39
+ return {
40
+ command: spec.command,
41
+ args: [...spec.args, "-p", prompt],
42
+ protocol: "print",
43
+ };
44
+ }
45
+ function writeLine(child, frame) {
46
+ child.stdin.write(`${JSON.stringify({ jsonrpc: "2.0", ...frame })}\n`);
47
+ }
48
+ async function speakJsonRpc(child, run) {
49
+ let nextId = 1;
50
+ const pending = new Map();
51
+ const notes = [];
52
+ const rl = createInterface({ input: child.stdout, crlfDelay: Infinity });
53
+ rl.on("line", (line) => {
54
+ const trimmed = line.trim();
55
+ if (!trimmed)
56
+ return;
57
+ let msg;
58
+ try {
59
+ msg = JSON.parse(trimmed);
60
+ }
61
+ catch {
62
+ return;
63
+ }
64
+ if (msg.id !== undefined && msg.id !== null && msg.method) {
65
+ writeLine(child, {
66
+ id: msg.id,
67
+ error: { code: -32601, message: `unsupported server request: ${msg.method}` },
68
+ });
69
+ return;
70
+ }
71
+ if (msg.id !== undefined && msg.id !== null && !msg.method) {
72
+ const waiter = pending.get(msg.id);
73
+ if (!waiter)
74
+ return;
75
+ pending.delete(msg.id);
76
+ if (msg.error) {
77
+ waiter.reject(new ExternalAgentError(msg.error.message ?? "rpc error"));
78
+ }
79
+ else {
80
+ waiter.resolve(msg.result);
81
+ }
82
+ return;
83
+ }
84
+ for (const fn of notes)
85
+ fn(msg);
86
+ });
87
+ const request = (method, params) => {
88
+ const id = nextId++;
89
+ const promise = new Promise((resolve, reject) => {
90
+ pending.set(id, { resolve, reject });
91
+ });
92
+ writeLine(child, { id, method, params });
93
+ return promise;
94
+ };
95
+ const notify = (method, params) => {
96
+ writeLine(child, { method, ...(params !== undefined ? { params } : {}) });
97
+ };
98
+ try {
99
+ return await run({
100
+ request,
101
+ notify,
102
+ onNotification: (fn) => {
103
+ notes.push(fn);
104
+ },
105
+ });
106
+ }
107
+ finally {
108
+ rl.close();
109
+ try {
110
+ child.stdin.end();
111
+ }
112
+ catch {
113
+ /* ignore */
114
+ }
115
+ }
116
+ }
117
+ async function runAcp(child, cwd, prompt) {
118
+ const chunks = [];
119
+ return speakJsonRpc(child, async ({ request, onNotification }) => {
120
+ onNotification((msg) => {
121
+ if (msg.method !== "session/update")
122
+ return;
123
+ const params = msg.params;
124
+ const text = params?.update?.content?.text;
125
+ if (text)
126
+ chunks.push(text);
127
+ });
128
+ await request("initialize", {
129
+ protocolVersion: 1,
130
+ clientInfo: { name: "xrk-harness", version: "0.0.0" },
131
+ });
132
+ const created = (await request("session/new", { cwd }));
133
+ if (!created?.sessionId) {
134
+ throw new ExternalAgentError("ACP session/new missing sessionId");
135
+ }
136
+ await request("session/prompt", {
137
+ sessionId: created.sessionId,
138
+ prompt: [{ type: "text", text: prompt }],
139
+ });
140
+ const text = chunks.join("").trim();
141
+ if (!text) {
142
+ throw new ExternalAgentError("ACP prompt returned no text");
143
+ }
144
+ return text;
145
+ });
146
+ }
147
+ async function runAppServer(child, cwd, prompt) {
148
+ const messages = [];
149
+ return speakJsonRpc(child, async ({ request, notify, onNotification }) => {
150
+ let resolveDone = () => { };
151
+ const done = new Promise((resolve) => {
152
+ resolveDone = resolve;
153
+ });
154
+ onNotification((msg) => {
155
+ if (msg.method === "item/completed") {
156
+ const params = msg.params;
157
+ const item = params?.item;
158
+ if (item?.type === "agentMessage" && typeof item.text === "string") {
159
+ if (item.phase === "final_answer" || item.phase == null) {
160
+ messages.push(item.text);
161
+ }
162
+ }
163
+ }
164
+ if (msg.method === "turn/completed") {
165
+ const params = msg.params;
166
+ const status = params?.turn?.status;
167
+ resolveDone(status !== undefined ? { status } : {});
168
+ }
169
+ });
170
+ await request("initialize", {
171
+ clientInfo: { name: "xrk-harness", version: "0.0.0" },
172
+ capabilities: { experimentalApi: false },
173
+ });
174
+ notify("initialized", {});
175
+ const thread = (await request("thread/start", {
176
+ cwd,
177
+ ephemeral: true,
178
+ approvalPolicy: "never",
179
+ sandbox: "workspace-write",
180
+ }));
181
+ const threadId = thread?.thread?.id;
182
+ if (!threadId) {
183
+ throw new ExternalAgentError("app-server thread/start missing thread.id");
184
+ }
185
+ await request("turn/start", {
186
+ threadId,
187
+ input: [{ type: "text", text: prompt, text_elements: [] }],
188
+ });
189
+ const terminal = await done;
190
+ if (terminal.status && terminal.status !== "completed") {
191
+ throw new ExternalAgentError(`app-server turn ended with status ${terminal.status}`);
192
+ }
193
+ const text = messages.join("\n").trim();
194
+ if (!text) {
195
+ throw new ExternalAgentError("app-server turn completed without text");
196
+ }
197
+ return text;
198
+ });
199
+ }
200
+ function collectPrint(child) {
201
+ return new Promise((resolve, reject) => {
202
+ let stdout = "";
203
+ let stderr = "";
204
+ child.stdout.on("data", (chunk) => {
205
+ stdout += chunk.toString("utf8");
206
+ });
207
+ child.stderr.on("data", (chunk) => {
208
+ stderr += chunk.toString("utf8");
209
+ });
210
+ child.on("error", reject);
211
+ child.on("close", (code) => {
212
+ if (code !== 0) {
213
+ reject(new ExternalAgentError(`claude-code exit ${code ?? "null"}: ${stderr.trim() || stdout.trim()}`));
214
+ return;
215
+ }
216
+ const text = stdout.trim();
217
+ if (!text) {
218
+ reject(new ExternalAgentError("claude-code returned empty stdout"));
219
+ return;
220
+ }
221
+ resolve(text);
222
+ });
223
+ });
224
+ }
225
+ /**
226
+ * Hand one prompt to an external agent subprocess.
227
+ * Does not create an in-process child session.
228
+ */
229
+ export async function runExternalAgentTurn(options) {
230
+ const env = options.env ?? process.env;
231
+ const launch = resolveExternalAgentLaunch(options.kind, env, options.prompt);
232
+ const spawnImpl = options.spawnImpl ?? spawn;
233
+ let child;
234
+ try {
235
+ child = spawnImpl(launch.command, launch.args, {
236
+ cwd: options.cwd,
237
+ env: { ...env },
238
+ stdio: ["pipe", "pipe", "pipe"],
239
+ windowsHide: true,
240
+ });
241
+ }
242
+ catch (err) {
243
+ throw new ExternalAgentError(err instanceof Error ? err.message : String(err), "EXTERNAL_AGENT_SPAWN");
244
+ }
245
+ const onAbort = () => {
246
+ child.kill();
247
+ };
248
+ options.signal?.addEventListener("abort", onAbort, { once: true });
249
+ try {
250
+ child.on("error", () => {
251
+ /* surfaced via close / collectPrint */
252
+ });
253
+ if (launch.protocol === "print") {
254
+ child.stdin.end();
255
+ const text = await collectPrint(child);
256
+ return { text, kind: options.kind };
257
+ }
258
+ const text = launch.protocol === "acp"
259
+ ? await runAcp(child, options.cwd, options.prompt)
260
+ : await runAppServer(child, options.cwd, options.prompt);
261
+ return { text, kind: options.kind };
262
+ }
263
+ finally {
264
+ options.signal?.removeEventListener("abort", onAbort);
265
+ if (child.exitCode === null && !child.killed) {
266
+ try {
267
+ child.kill();
268
+ }
269
+ catch {
270
+ /* ignore */
271
+ }
272
+ }
273
+ }
274
+ }
275
+ export function parseExternalAgentKind(raw) {
276
+ if (raw === undefined || raw === null || raw === "")
277
+ return "in-process";
278
+ const s = String(raw).trim().toLowerCase();
279
+ if (s === "in-process" || s === "in_process" || s === "local") {
280
+ return "in-process";
281
+ }
282
+ if (s === "acp" || s === "app-server" || s === "claude-code") {
283
+ return s;
284
+ }
285
+ return undefined;
286
+ }
287
+ //# sourceMappingURL=external-agent-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-agent-runtime.js","sourceRoot":"","sources":["../src/external-agent-runtime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,EAAuC,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAehD,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAClC,IAAI,CAAS;IAEtB,YAAY,OAAe,EAAE,I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E;QAChC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE;QAClC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;QACnC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;QACrC,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,OAAO,EAAE,CAAC;gBACV,YAAY,EAAE,EAAE;gBAChB,SAAS,EAAE,CAAC;gBACZ,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;gBACP,eAAe,EAAE,EAAE;aACpB;SACF;KACF;CACF,CAAC;AAEF,MAAM,UAAU,sBAAsB,CACpC,KAAc;IAEd,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACxB,uBAA6C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC/D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Face session.fork turn-cut: seed is the contiguous prefix through the
3
+ * selected `turn/end` (inclusive). Post-turn inbox / title / model settings
4
+ * stay out of the child.
5
+ */
6
+ import { type SessionEvent } from "@xrkseek/protocol";
7
+ import type { FaceModelSelection } from "./model-catalog.js";
8
+ export type ForkCutOk = {
9
+ readonly ok: true;
10
+ /** Exclusive end index into the durable log (`events.slice(0, cut)`). */
11
+ readonly cut: number;
12
+ readonly atSeq?: number;
13
+ readonly beforeSeq?: number;
14
+ };
15
+ export type ForkCutFail = {
16
+ readonly ok: false;
17
+ readonly code: "fork-unavailable" | "invalid-payload";
18
+ readonly message: string;
19
+ };
20
+ /**
21
+ * Wire history seq is 1-based (`index + 1`), matching `session.history`.
22
+ * `atSeq` anchors the first `turn/end` at or after that seq; omitted /
23
+ * past-end anchors use the last completed turn. Legacy `beforeSeq` is a raw
24
+ * exclusive offset (no turn mapping) for older callers.
25
+ */
26
+ export declare function resolveForkCut(events: readonly SessionEvent[], opts: {
27
+ readonly atSeq?: number;
28
+ readonly beforeSeq?: number;
29
+ }): ForkCutOk | ForkCutFail;
30
+ /** Latest `request/header` route inside the seed prefix (ignores live Face maps). */
31
+ export declare function modelSelectionFromPrefix(events: readonly SessionEvent[]): FaceModelSelection | undefined;
32
+ export declare function prefixHasImageContent(events: readonly SessionEvent[]): boolean;
33
+ //# sourceMappingURL=fork-cut.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fork-cut.d.ts","sourceRoot":"","sources":["../src/fork-cut.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,yEAAyE;IACzE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,iBAAiB,CAAC;IACtD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,IAAI,EAAE;IAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,SAAS,GAAG,WAAW,CA8EzB;AAED,qFAAqF;AACrF,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,SAAS,YAAY,EAAE,GAC9B,kBAAkB,GAAG,SAAS,CAchC;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,SAAS,YAAY,EAAE,GAC9B,OAAO,CAOT"}
@@ -0,0 +1,114 @@
1
+ /**
2
+ * Face session.fork turn-cut: seed is the contiguous prefix through the
3
+ * selected `turn/end` (inclusive). Post-turn inbox / title / model settings
4
+ * stay out of the child.
5
+ */
6
+ import { contentHasImage, } from "@xrkseek/protocol";
7
+ import { routeFromRequestHeader } from "./adapt/model-route.js";
8
+ /**
9
+ * Wire history seq is 1-based (`index + 1`), matching `session.history`.
10
+ * `atSeq` anchors the first `turn/end` at or after that seq; omitted /
11
+ * past-end anchors use the last completed turn. Legacy `beforeSeq` is a raw
12
+ * exclusive offset (no turn mapping) for older callers.
13
+ */
14
+ export function resolveForkCut(events, opts) {
15
+ const atSeq = opts.atSeq;
16
+ const beforeSeq = opts.beforeSeq;
17
+ if (atSeq !== undefined) {
18
+ if (!Number.isSafeInteger(atSeq) || atSeq < 1 || Object.is(atSeq, -0)) {
19
+ return {
20
+ ok: false,
21
+ code: "invalid-payload",
22
+ message: "atSeq must be a positive safe integer (1-based Face seq)",
23
+ };
24
+ }
25
+ }
26
+ if (beforeSeq !== undefined) {
27
+ if (!Number.isSafeInteger(beforeSeq) ||
28
+ beforeSeq < 0 ||
29
+ Object.is(beforeSeq, -0)) {
30
+ return {
31
+ ok: false,
32
+ code: "invalid-payload",
33
+ message: "beforeSeq must be a non-negative safe integer",
34
+ };
35
+ }
36
+ }
37
+ // Prefer turn-cut when the client sends atSeq (product shell / DSH bridge).
38
+ if (atSeq === undefined && beforeSeq !== undefined) {
39
+ return {
40
+ ok: true,
41
+ cut: Math.min(beforeSeq, events.length),
42
+ beforeSeq,
43
+ };
44
+ }
45
+ const lastWireSeq = events.length;
46
+ let endIndex = -1;
47
+ if (atSeq === undefined) {
48
+ for (let i = events.length - 1; i >= 0; i--) {
49
+ if (events[i].type === "turn/end") {
50
+ endIndex = i;
51
+ break;
52
+ }
53
+ }
54
+ }
55
+ else {
56
+ for (let i = 0; i < events.length; i++) {
57
+ if (events[i].type === "turn/end" && i + 1 >= atSeq) {
58
+ endIndex = i;
59
+ break;
60
+ }
61
+ }
62
+ if (endIndex < 0 && atSeq > lastWireSeq) {
63
+ for (let i = events.length - 1; i >= 0; i--) {
64
+ if (events[i].type === "turn/end") {
65
+ endIndex = i;
66
+ break;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ if (endIndex < 0) {
72
+ return {
73
+ ok: false,
74
+ code: "fork-unavailable",
75
+ message: atSeq !== undefined && atSeq <= lastWireSeq
76
+ ? `session has not completed the turn containing event ${String(atSeq)}`
77
+ : "session has no completed turn to fork from",
78
+ };
79
+ }
80
+ return {
81
+ ok: true,
82
+ cut: endIndex + 1,
83
+ ...(atSeq !== undefined ? { atSeq } : {}),
84
+ };
85
+ }
86
+ /** Latest `request/header` route inside the seed prefix (ignores live Face maps). */
87
+ export function modelSelectionFromPrefix(events) {
88
+ let last;
89
+ for (const event of events) {
90
+ if (event.type !== "request/header")
91
+ continue;
92
+ const route = routeFromRequestHeader(event);
93
+ if (!route)
94
+ continue;
95
+ const effort = event.header?.config?.reasoningEffort?.trim();
96
+ last = {
97
+ provider: route.provider,
98
+ model: route.model,
99
+ ...(effort ? { reasoningEffort: effort } : {}),
100
+ };
101
+ }
102
+ return last;
103
+ }
104
+ export function prefixHasImageContent(events) {
105
+ for (const ev of events) {
106
+ if (ev.type !== "user/message" && ev.type !== "prompt/admitted")
107
+ continue;
108
+ const content = ev.content;
109
+ if (content !== undefined && contentHasImage(content))
110
+ return true;
111
+ }
112
+ return false;
113
+ }
114
+ //# sourceMappingURL=fork-cut.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fork-cut.js","sourceRoot":"","sources":["../src/fork-cut.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,eAAe,GAGhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAs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AAO,MAAM,eAAe,EAAE,WAgB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WA0D7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAsC/B,CAAC;AAEF,4FAA4F;AAC5F,eAAO,MAAM,mBAAmB,EAAE,WAWjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAyC1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,WAEvB,CAAC;AA8CF,eAAO,MAAM,iBAAiB,EAAE,WA4D/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAsC/B,CAAC"}
1
+ {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/handlers/catalog.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAGxD,eAAO,MAAM,eAAe,EAAE,WAgB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WA0D7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAsC/B,CAAC;AAEF,4FAA4F;AAC5F,eAAO,MAAM,mBAAmB,EAAE,WAWjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAyC1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,WAEvB,CAAC;AA8CF,eAAO,MAAM,iBAAiB,EAAE,WA4D/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAsC/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { discoverOpenAiChatModels } from "@xrkseek/llm-registry";
2
2
  import { readSessionEvents } from "@xrkseek/core-session";
3
- import { FACE_AGENT_PRESETS, FACE_AGENT_PRESET_IDS, canonicalAgentPresetId, resolveAgentPresetProfile, } from "../presets-catalog.js";
3
+ import { FACE_AGENT_PRESETS, FACE_AGENT_PRESET_IDS, DEFAULT_MAX_ACTIVE_CHILDREN, DEFAULT_MAX_DEPTH, canonicalAgentPresetId, resolveAgentPresetProfile, } from "../presets-catalog.js";
4
4
  import { resolveDefaultAgentPreset } from "../settings-document.js";
5
5
  import { buildFaceModelCatalog, routeServed } from "../model-catalog.js";
6
6
  import { listDeclaredPiAiProviders, readProviderApiKey, readProviderRoute, resolveProviderBinding, } from "../llm-provider-context.js";
@@ -57,7 +57,7 @@ export const agentPresetRead = async (_runtime, _rpcId, payload) => {
57
57
  ].filter(Boolean);
58
58
  const subagentLine = profile.subagents.mode === "off"
59
59
  ? "subagents: off"
60
- : `subagents: on (maxDepth ${profile.subagents.maxDepth ?? 3}, maxActiveChildren ${profile.subagents.maxActiveChildren ?? 4})`;
60
+ : `subagents: on (Face agent-loop caps default ${DEFAULT_MAX_DEPTH}/${DEFAULT_MAX_ACTIVE_CHILDREN}; badge ceiling depth=${profile.subagents.maxDepth ?? "face"}, active=${profile.subagents.maxActiveChildren ?? "face"})`;
61
61
  const content = [
62
62
  `# ${info.displayName}`,
63
63
  "",
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/handlers/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAoB,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,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ACD,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC;AAC3C,CAAC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { FileDiff, ToolDefinition } from "@xrkseek/core-tools";
2
+ import { type SessionEvent, type WorkspaceFileDiff } from "@xrkseek/protocol";
3
+ import type { FaceRuntime } from "../context.js";
4
+ import { type FaceHandler } from "./types.js";
5
+ type PresentableTool = Pick<ToolDefinition, "presentCall" | "presentResult">;
6
+ /** Face seq is 1-based index into the full session log. */
7
+ export declare function eventAtFaceSeq(events: readonly SessionEvent[], seq: number): SessionEvent | undefined;
8
+ /**
9
+ * Collect FileDiffs for one turn by replaying tool presenters over the log.
10
+ */
11
+ export declare function collectTurnFileDiffs(events: readonly SessionEvent[], turnId: string, getTool: (name: string) => PresentableTool | undefined): FileDiff[];
12
+ export declare function resolveWorkspaceFileDiff(input: {
13
+ readonly events: readonly SessionEvent[];
14
+ readonly seq: number;
15
+ readonly index: number;
16
+ readonly getTool: (name: string) => PresentableTool | undefined;
17
+ }): WorkspaceFileDiff | undefined;
18
+ /** DSH-style `changes.fileDiff` — `{ sessionId, seq, index }` → diff or null. */
19
+ export declare const changesFileDiff: FaceHandler;
20
+ /** Test helper — same resolution without Face envelope. */
21
+ export declare function changesFileDiffForRuntime(runtime: FaceRuntime, sessionId: string, seq: number, index: number): WorkspaceFileDiff | null;
22
+ export {};
23
+ //# sourceMappingURL=changes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../src/handlers/changes.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAwB,KAA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