@xrkseek/harness-cli 0.0.10 → 0.1.0

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 (1000) hide show
  1. package/README.md +13 -6
  2. package/dist/commands/plugin.d.ts.map +1 -1
  3. package/dist/commands/plugin.js +4 -3
  4. package/dist/commands/plugin.js.map +1 -1
  5. package/dist/commands/restart.d.ts.map +1 -1
  6. package/dist/commands/restart.js +16 -7
  7. package/dist/commands/restart.js.map +1 -1
  8. package/dist/commands/serve.d.ts.map +1 -1
  9. package/dist/commands/serve.js +15 -3
  10. package/dist/commands/serve.js.map +1 -1
  11. package/dist/host-lock.d.ts +15 -0
  12. package/dist/host-lock.d.ts.map +1 -0
  13. package/dist/host-lock.js +64 -0
  14. package/dist/host-lock.js.map +1 -0
  15. package/dist/parse-args.d.ts.map +1 -1
  16. package/dist/parse-args.js +13 -10
  17. package/dist/parse-args.js.map +1 -1
  18. package/dist/plugin/install-client.d.ts.map +1 -1
  19. package/dist/plugin/install-client.js +80 -2
  20. package/dist/plugin/install-client.js.map +1 -1
  21. package/dist/port.d.ts +20 -2
  22. package/dist/port.d.ts.map +1 -1
  23. package/dist/port.js +147 -28
  24. package/dist/port.js.map +1 -1
  25. package/node_modules/@img/colour/LICENSE.md +82 -0
  26. package/node_modules/@img/colour/README.md +15 -0
  27. package/node_modules/@img/colour/color.cjs +1596 -0
  28. package/node_modules/@img/colour/index.cjs +1 -0
  29. package/node_modules/@img/colour/index.d.ts +929 -0
  30. package/node_modules/@img/colour/package.json +58 -0
  31. package/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
  32. package/node_modules/@img/sharp-win32-x64/README.md +59 -0
  33. package/node_modules/@img/sharp-win32-x64/index.cjs +1 -0
  34. package/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
  35. package/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.18.3.dll +0 -0
  36. package/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64-0.35.3.node +0 -0
  37. package/node_modules/@img/sharp-win32-x64/package.json +40 -0
  38. package/node_modules/@img/sharp-win32-x64/versions.json +30 -0
  39. package/node_modules/@types/node/LICENSE +21 -0
  40. package/node_modules/@types/node/README.md +15 -0
  41. package/node_modules/@types/node/assert/strict.d.ts +111 -0
  42. package/node_modules/@types/node/assert.d.ts +1115 -0
  43. package/node_modules/@types/node/async_hooks.d.ts +623 -0
  44. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  45. package/node_modules/@types/node/buffer.d.ts +1934 -0
  46. package/node_modules/@types/node/child_process.d.ts +1476 -0
  47. package/node_modules/@types/node/cluster.d.ts +578 -0
  48. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  49. package/node_modules/@types/node/console.d.ts +453 -0
  50. package/node_modules/@types/node/constants.d.ts +21 -0
  51. package/node_modules/@types/node/crypto.d.ts +5417 -0
  52. package/node_modules/@types/node/dgram.d.ts +600 -0
  53. package/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
  54. package/node_modules/@types/node/dns/promises.d.ts +503 -0
  55. package/node_modules/@types/node/dns.d.ts +923 -0
  56. package/node_modules/@types/node/domain.d.ts +166 -0
  57. package/node_modules/@types/node/events.d.ts +976 -0
  58. package/node_modules/@types/node/fs/promises.d.ts +1341 -0
  59. package/node_modules/@types/node/fs.d.ts +4714 -0
  60. package/node_modules/@types/node/globals.d.ts +170 -0
  61. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  62. package/node_modules/@types/node/http.d.ts +2154 -0
  63. package/node_modules/@types/node/http2.d.ts +2835 -0
  64. package/node_modules/@types/node/https.d.ts +585 -0
  65. package/node_modules/@types/node/index.d.ts +101 -0
  66. package/node_modules/@types/node/inspector.d.ts +277 -0
  67. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  68. package/node_modules/@types/node/module.d.ts +843 -0
  69. package/node_modules/@types/node/net.d.ts +1073 -0
  70. package/node_modules/@types/node/os.d.ts +507 -0
  71. package/node_modules/@types/node/package.json +155 -0
  72. package/node_modules/@types/node/path.d.ts +200 -0
  73. package/node_modules/@types/node/perf_hooks.d.ts +1042 -0
  74. package/node_modules/@types/node/process.d.ts +2102 -0
  75. package/node_modules/@types/node/punycode.d.ts +117 -0
  76. package/node_modules/@types/node/querystring.d.ts +152 -0
  77. package/node_modules/@types/node/readline/promises.d.ts +161 -0
  78. package/node_modules/@types/node/readline.d.ts +600 -0
  79. package/node_modules/@types/node/repl.d.ts +438 -0
  80. package/node_modules/@types/node/sea.d.ts +162 -0
  81. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  82. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  83. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  84. package/node_modules/@types/node/stream/web.d.ts +573 -0
  85. package/node_modules/@types/node/stream.d.ts +1706 -0
  86. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  87. package/node_modules/@types/node/test.d.ts +2349 -0
  88. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  89. package/node_modules/@types/node/timers.d.ts +285 -0
  90. package/node_modules/@types/node/tls.d.ts +1279 -0
  91. package/node_modules/@types/node/trace_events.d.ts +197 -0
  92. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  93. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  94. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  95. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  96. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  97. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  98. package/node_modules/@types/node/tty.d.ts +208 -0
  99. package/node_modules/@types/node/url.d.ts +1079 -0
  100. package/node_modules/@types/node/util.d.ts +2336 -0
  101. package/node_modules/@types/node/v8.d.ts +982 -0
  102. package/node_modules/@types/node/vm.d.ts +1195 -0
  103. package/node_modules/@types/node/wasi.d.ts +202 -0
  104. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  105. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  106. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  107. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  108. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  109. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  110. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  111. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  112. package/node_modules/@types/node/worker_threads.d.ts +894 -0
  113. package/node_modules/@types/node/zlib.d.ts +745 -0
  114. package/node_modules/@xrkseek/attachment/dist/error.d.ts +3 -2
  115. package/node_modules/@xrkseek/attachment/dist/error.d.ts.map +1 -1
  116. package/node_modules/@xrkseek/attachment/dist/error.js +17 -2
  117. package/node_modules/@xrkseek/attachment/dist/error.js.map +1 -1
  118. package/node_modules/@xrkseek/attachment/dist/index.d.ts +2 -2
  119. package/node_modules/@xrkseek/attachment/dist/index.d.ts.map +1 -1
  120. package/node_modules/@xrkseek/attachment/dist/index.js +1 -1
  121. package/node_modules/@xrkseek/attachment/dist/index.js.map +1 -1
  122. package/node_modules/@xrkseek/attachment/dist/memory.d.ts.map +1 -1
  123. package/node_modules/@xrkseek/attachment/dist/memory.js +6 -0
  124. package/node_modules/@xrkseek/attachment/dist/memory.js.map +1 -1
  125. package/node_modules/@xrkseek/attachment/dist/store.d.ts +6 -1
  126. package/node_modules/@xrkseek/attachment/dist/store.d.ts.map +1 -1
  127. package/node_modules/@xrkseek/attachment/dist/types.d.ts +19 -0
  128. package/node_modules/@xrkseek/attachment/dist/types.d.ts.map +1 -1
  129. package/node_modules/@xrkseek/attachment/dist/types.js.map +1 -1
  130. package/node_modules/@xrkseek/attachment-local/README.md +3 -0
  131. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts +18 -0
  132. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts.map +1 -0
  133. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js +43 -0
  134. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js.map +1 -0
  135. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts +23 -0
  136. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts.map +1 -0
  137. package/node_modules/@xrkseek/attachment-local/dist/encoding.js +33 -0
  138. package/node_modules/@xrkseek/attachment-local/dist/encoding.js.map +1 -0
  139. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts +54 -0
  140. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts.map +1 -0
  141. package/node_modules/@xrkseek/attachment-local/dist/image.js +97 -0
  142. package/node_modules/@xrkseek/attachment-local/dist/image.js.map +1 -0
  143. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +32 -0
  144. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -0
  145. package/node_modules/@xrkseek/attachment-local/dist/index.js +188 -0
  146. package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -0
  147. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts +44 -0
  148. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts.map +1 -0
  149. package/node_modules/@xrkseek/attachment-local/dist/normalization.js +148 -0
  150. package/node_modules/@xrkseek/attachment-local/dist/normalization.js.map +1 -0
  151. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +34 -0
  152. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -0
  153. package/node_modules/@xrkseek/attachment-local/dist/request-image.js +208 -0
  154. package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -0
  155. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts +58 -0
  156. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -0
  157. package/node_modules/@xrkseek/attachment-local/dist/store.js +290 -0
  158. package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -0
  159. package/node_modules/@xrkseek/attachment-local/package.json +25 -0
  160. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +3 -0
  161. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
  162. package/node_modules/@xrkseek/exec-fs/dist/index.js +10 -0
  163. package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
  164. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts +35 -0
  165. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts.map +1 -0
  166. package/node_modules/@xrkseek/exec-fs/dist/read-image.js +120 -0
  167. package/node_modules/@xrkseek/exec-fs/dist/read-image.js.map +1 -0
  168. package/node_modules/@xrkseek/exec-fs/package.json +3 -1
  169. package/node_modules/@xrkseek/llm/dist/index.d.ts +1 -0
  170. package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
  171. package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
  172. package/node_modules/@xrkseek/llm-deepseek/README.md +3 -1
  173. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts +10 -0
  174. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts.map +1 -0
  175. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js +8 -0
  176. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js.map +1 -0
  177. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts +40 -0
  178. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts.map +1 -0
  179. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js +164 -0
  180. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js.map +1 -0
  181. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts +56 -0
  182. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts.map +1 -0
  183. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js +180 -0
  184. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js.map +1 -0
  185. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts +15 -6
  186. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts.map +1 -1
  187. package/node_modules/@xrkseek/llm-deepseek/dist/index.js +63 -13
  188. package/node_modules/@xrkseek/llm-deepseek/dist/index.js.map +1 -1
  189. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts +8 -0
  190. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts.map +1 -0
  191. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js +12 -0
  192. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js.map +1 -0
  193. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts +28 -0
  194. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -0
  195. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +142 -0
  196. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -0
  197. package/node_modules/@xrkseek/llm-deepseek/package.json +3 -1
  198. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts +27 -0
  199. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts.map +1 -1
  200. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js +20 -5
  201. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js.map +1 -1
  202. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts +1 -0
  203. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts.map +1 -1
  204. package/node_modules/@xrkseek/llm-registry/dist/registry.js +15 -1
  205. package/node_modules/@xrkseek/llm-registry/dist/registry.js.map +1 -1
  206. package/node_modules/@xrkseek/preset-harness/README.md +5 -2
  207. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +5 -0
  208. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  209. package/node_modules/@xrkseek/preset-harness/dist/preset.js +12 -3
  210. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  211. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  212. package/node_modules/@xrkseek/preset-harness/package.json +1 -0
  213. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  214. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  215. package/node_modules/@xrkseek/preset-server/dist/preset.js +3 -1
  216. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  217. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  218. package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
  219. package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
  220. package/node_modules/@xrkseek/protocol/dist/content.js +8 -1
  221. package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
  222. package/node_modules/@xrkseek/server-face/dist/context.d.ts +6 -3
  223. package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
  224. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts +9 -0
  225. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts.map +1 -0
  226. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js +28 -0
  227. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js.map +1 -0
  228. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts +16 -0
  229. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts.map +1 -0
  230. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js +141 -0
  231. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js.map +1 -0
  232. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts +13 -0
  233. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts.map +1 -0
  234. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js +158 -0
  235. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js.map +1 -0
  236. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts +284 -0
  237. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts.map +1 -0
  238. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js +696 -0
  239. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js.map +1 -0
  240. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts +15 -0
  241. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts.map +1 -0
  242. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js +196 -0
  243. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js.map +1 -0
  244. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts +19 -0
  245. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts.map +1 -0
  246. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js +143 -0
  247. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js.map +1 -0
  248. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts +16 -0
  249. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts.map +1 -0
  250. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js +84 -0
  251. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js.map +1 -0
  252. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts +19 -0
  253. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts.map +1 -0
  254. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js +221 -0
  255. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js.map +1 -0
  256. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts +133 -0
  257. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -0
  258. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +561 -0
  259. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.map +1 -0
  260. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  261. package/node_modules/@xrkseek/server-face/dist/dispatch.js +15 -0
  262. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  263. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts +0 -5
  264. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
  265. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +277 -24
  266. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
  267. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +30 -0
  268. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -0
  269. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +48 -0
  270. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -0
  271. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts +6 -0
  272. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts.map +1 -0
  273. package/node_modules/@xrkseek/server-face/dist/handlers/references.js +42 -0
  274. package/node_modules/@xrkseek/server-face/dist/handlers/references.js.map +1 -0
  275. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts +6 -0
  276. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts.map +1 -0
  277. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js +24 -0
  278. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js.map +1 -0
  279. package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
  280. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  281. package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
  282. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  283. package/node_modules/@xrkseek/server-face/dist/llm-resolve.d.ts.map +1 -1
  284. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js +5 -3
  285. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js.map +1 -1
  286. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts +2 -2
  287. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts.map +1 -1
  288. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js +7 -3
  289. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js.map +1 -1
  290. package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
  291. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +3 -3
  292. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
  293. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -0
  294. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
  295. package/node_modules/@xrkseek/server-face/dist/projections/index.js +2 -0
  296. package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
  297. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
  298. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +12 -0
  299. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
  300. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +45 -0
  301. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
  302. package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
  303. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts +40 -0
  304. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts.map +1 -0
  305. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js +103 -0
  306. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js.map +1 -0
  307. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts +9 -0
  308. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts.map +1 -0
  309. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js +24 -0
  310. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js.map +1 -0
  311. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +37 -0
  312. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -0
  313. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +109 -0
  314. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -0
  315. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts +35 -0
  316. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -0
  317. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +151 -0
  318. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -0
  319. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts +13 -0
  320. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -0
  321. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +81 -0
  322. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -0
  323. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +5 -1
  324. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
  325. package/node_modules/@xrkseek/server-face/dist/runtime.js +25 -0
  326. package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
  327. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +15 -0
  328. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
  329. package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
  330. package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
  331. package/node_modules/@xrkseek/server-face/dist/slash.js +19 -0
  332. package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
  333. package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
  334. package/node_modules/@xrkseek/server-face/dist/wire/paths.js +3 -0
  335. package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
  336. package/node_modules/@xrkseek/server-face/package.json +3 -0
  337. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts +4 -0
  338. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts.map +1 -0
  339. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js +10 -0
  340. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js.map +1 -0
  341. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts +11 -0
  342. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts.map +1 -0
  343. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js +29 -0
  344. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js.map +1 -0
  345. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts +15 -0
  346. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts.map +1 -0
  347. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js +34 -0
  348. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js.map +1 -0
  349. package/node_modules/@xrkseek/server-host/dist/index.d.ts +6 -1
  350. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  351. package/node_modules/@xrkseek/server-host/dist/index.js +126 -19
  352. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  353. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +17 -0
  354. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -0
  355. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +201 -0
  356. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -0
  357. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts +10 -0
  358. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts.map +1 -0
  359. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js +31 -0
  360. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js.map +1 -0
  361. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts +7 -0
  362. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -0
  363. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +40 -0
  364. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -0
  365. package/node_modules/@xrkseek/server-host/package.json +8 -1
  366. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +12 -0
  367. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
  368. package/node_modules/@xrkseek/server-http/dist/boot-inject.js +54 -0
  369. package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
  370. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts +6 -0
  371. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts.map +1 -0
  372. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js +141 -0
  373. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js.map +1 -0
  374. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts +3 -0
  375. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -0
  376. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +445 -0
  377. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -0
  378. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts +7 -0
  379. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts.map +1 -0
  380. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js +15 -0
  381. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js.map +1 -0
  382. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +57 -0
  383. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -0
  384. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js +2 -0
  385. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js.map +1 -0
  386. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts +10 -0
  387. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts.map +1 -0
  388. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js +275 -0
  389. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js.map +1 -0
  390. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts +10 -0
  391. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts.map +1 -0
  392. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js +41 -0
  393. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js.map +1 -0
  394. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +17 -0
  395. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -0
  396. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +184 -0
  397. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -0
  398. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts +5 -0
  399. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts.map +1 -0
  400. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js +5 -0
  401. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js.map +1 -0
  402. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts +21 -0
  403. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts.map +1 -0
  404. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js +122 -0
  405. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js.map +1 -0
  406. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +10 -0
  407. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -0
  408. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +58 -0
  409. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -0
  410. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +7 -0
  411. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts.map +1 -0
  412. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +59 -0
  413. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -0
  414. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts +25 -0
  415. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts.map +1 -0
  416. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js +154 -0
  417. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js.map +1 -0
  418. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts +2 -0
  419. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts.map +1 -0
  420. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js +77 -0
  421. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js.map +1 -0
  422. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +16 -0
  423. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -0
  424. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +121 -0
  425. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -0
  426. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts +12 -0
  427. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts.map +1 -0
  428. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js +48 -0
  429. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js.map +1 -0
  430. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts +18 -0
  431. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts.map +1 -0
  432. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js +62 -0
  433. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js.map +1 -0
  434. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts +9 -0
  435. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts.map +1 -0
  436. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js +42 -0
  437. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js.map +1 -0
  438. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts +6 -0
  439. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts.map +1 -0
  440. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js +88 -0
  441. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js.map +1 -0
  442. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts +9 -0
  443. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts.map +1 -0
  444. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +67 -0
  445. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -0
  446. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +18 -0
  447. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -0
  448. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +198 -0
  449. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -0
  450. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts +27 -0
  451. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts.map +1 -0
  452. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js +71 -0
  453. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js.map +1 -0
  454. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts +8 -0
  455. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts.map +1 -0
  456. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +12 -0
  457. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -0
  458. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts +2 -0
  459. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts.map +1 -0
  460. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js +6 -0
  461. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js.map +1 -0
  462. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts +22 -0
  463. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -0
  464. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +219 -0
  465. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -0
  466. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts +4 -0
  467. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts.map +1 -0
  468. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js +53 -0
  469. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js.map +1 -0
  470. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +11 -0
  471. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts.map +1 -0
  472. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +61 -0
  473. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -0
  474. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts +7 -0
  475. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -0
  476. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +150 -0
  477. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -0
  478. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts +10 -0
  479. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -0
  480. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +239 -0
  481. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -0
  482. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts +22 -0
  483. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts.map +1 -0
  484. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js +83 -0
  485. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js.map +1 -0
  486. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts +18 -0
  487. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts.map +1 -0
  488. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js +191 -0
  489. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js.map +1 -0
  490. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +21 -0
  491. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -0
  492. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +105 -0
  493. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -0
  494. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts +7 -0
  495. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts.map +1 -0
  496. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +57 -0
  497. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -0
  498. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts +6 -0
  499. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts.map +1 -0
  500. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js +74 -0
  501. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js.map +1 -0
  502. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts +14 -0
  503. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts.map +1 -0
  504. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js +17 -0
  505. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js.map +1 -0
  506. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts +76 -0
  507. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts.map +1 -0
  508. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js +551 -0
  509. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js.map +1 -0
  510. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts +7 -0
  511. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts.map +1 -0
  512. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js +136 -0
  513. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js.map +1 -0
  514. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +21 -0
  515. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -0
  516. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +281 -0
  517. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -0
  518. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +16 -0
  519. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -0
  520. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +163 -0
  521. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -0
  522. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +5 -0
  523. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -0
  524. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +125 -0
  525. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -0
  526. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts +17 -0
  527. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts.map +1 -0
  528. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js +188 -0
  529. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js.map +1 -0
  530. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts +9 -0
  531. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts.map +1 -0
  532. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js +55 -0
  533. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js.map +1 -0
  534. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +37 -0
  535. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -0
  536. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +36 -0
  537. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -0
  538. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts +5 -0
  539. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts.map +1 -0
  540. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js +28 -0
  541. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js.map +1 -0
  542. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts +7 -0
  543. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts.map +1 -0
  544. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js +108 -0
  545. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js.map +1 -0
  546. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts +7 -0
  547. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -0
  548. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +218 -0
  549. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -0
  550. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +10 -0
  551. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -0
  552. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +81 -0
  553. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -0
  554. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts +10 -0
  555. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts.map +1 -0
  556. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js +15 -0
  557. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js.map +1 -0
  558. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts +8 -0
  559. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts.map +1 -0
  560. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js +83 -0
  561. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js.map +1 -0
  562. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts +9 -0
  563. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts.map +1 -0
  564. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js +144 -0
  565. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js.map +1 -0
  566. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +17 -0
  567. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -0
  568. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +52 -0
  569. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -0
  570. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +11 -0
  571. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -0
  572. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +221 -0
  573. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -0
  574. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +22 -0
  575. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -0
  576. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +155 -0
  577. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -0
  578. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts +14 -0
  579. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts.map +1 -0
  580. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +213 -0
  581. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -0
  582. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts +14 -0
  583. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -0
  584. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +200 -0
  585. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -0
  586. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +11 -0
  587. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -0
  588. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +200 -0
  589. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -0
  590. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts +6 -0
  591. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts.map +1 -0
  592. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js +47 -0
  593. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js.map +1 -0
  594. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts +15 -0
  595. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts.map +1 -0
  596. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js +132 -0
  597. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js.map +1 -0
  598. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts +13 -0
  599. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts.map +1 -0
  600. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js +336 -0
  601. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js.map +1 -0
  602. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +10 -0
  603. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -0
  604. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +86 -0
  605. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -0
  606. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts +8 -0
  607. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts.map +1 -0
  608. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +34 -0
  609. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -0
  610. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts +4 -0
  611. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts.map +1 -0
  612. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js +170 -0
  613. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js.map +1 -0
  614. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts +33 -0
  615. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts.map +1 -0
  616. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js +108 -0
  617. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js.map +1 -0
  618. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts +10 -0
  619. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -0
  620. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +38 -0
  621. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -0
  622. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +10 -0
  623. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -0
  624. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +358 -0
  625. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -0
  626. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +25 -0
  627. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -0
  628. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +78 -0
  629. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -0
  630. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts +9 -0
  631. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts.map +1 -0
  632. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js +56 -0
  633. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js.map +1 -0
  634. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts +11 -0
  635. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts.map +1 -0
  636. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +106 -0
  637. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -0
  638. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts +18 -0
  639. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts.map +1 -0
  640. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js +240 -0
  641. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js.map +1 -0
  642. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts +5 -0
  643. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts.map +1 -0
  644. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js +78 -0
  645. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js.map +1 -0
  646. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts +42 -0
  647. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -0
  648. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +117 -0
  649. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -0
  650. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts +11 -0
  651. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -0
  652. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +111 -0
  653. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -0
  654. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +16 -0
  655. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -0
  656. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +455 -0
  657. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -0
  658. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts +26 -0
  659. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts.map +1 -0
  660. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js +22 -0
  661. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js.map +1 -0
  662. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts +12 -0
  663. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts.map +1 -0
  664. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +123 -0
  665. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -0
  666. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +16 -0
  667. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -0
  668. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +99 -0
  669. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -0
  670. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +106 -0
  671. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -0
  672. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +6 -0
  673. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js.map +1 -0
  674. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +14 -0
  675. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts.map +1 -0
  676. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +21 -0
  677. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js.map +1 -0
  678. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +9 -0
  679. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts.map +1 -0
  680. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +22 -0
  681. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -0
  682. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +22 -0
  683. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -0
  684. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +13 -0
  685. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -0
  686. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts +21 -0
  687. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -0
  688. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +190 -0
  689. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -0
  690. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts +10 -0
  691. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts.map +1 -0
  692. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +438 -0
  693. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -0
  694. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts +8 -0
  695. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts.map +1 -0
  696. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +69 -0
  697. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -0
  698. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts +6 -0
  699. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts.map +1 -0
  700. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js +62 -0
  701. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js.map +1 -0
  702. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts +5 -0
  703. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts.map +1 -0
  704. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js +17 -0
  705. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js.map +1 -0
  706. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts +7 -0
  707. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts.map +1 -0
  708. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js +67 -0
  709. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js.map +1 -0
  710. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts +12 -0
  711. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts.map +1 -0
  712. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +198 -0
  713. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -0
  714. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +15 -0
  715. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -0
  716. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +111 -0
  717. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -0
  718. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts +9 -0
  719. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts.map +1 -0
  720. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +161 -0
  721. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -0
  722. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +6 -0
  723. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts.map +1 -0
  724. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js +31 -0
  725. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js.map +1 -0
  726. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +9 -0
  727. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -0
  728. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +103 -0
  729. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -0
  730. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts +49 -0
  731. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts.map +1 -0
  732. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js +190 -0
  733. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js.map +1 -0
  734. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts +9 -0
  735. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts.map +1 -0
  736. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +44 -0
  737. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -0
  738. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts +6 -0
  739. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts.map +1 -0
  740. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js +6 -0
  741. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js.map +1 -0
  742. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +14 -0
  743. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -0
  744. package/node_modules/@xrkseek/server-http/dist/host-wire.js +15 -0
  745. package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -0
  746. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts +12 -0
  747. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts.map +1 -0
  748. package/node_modules/@xrkseek/server-http/dist/http-json.js +40 -0
  749. package/node_modules/@xrkseek/server-http/dist/http-json.js.map +1 -0
  750. package/node_modules/@xrkseek/server-http/dist/index.d.ts +12 -1
  751. package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
  752. package/node_modules/@xrkseek/server-http/dist/index.js +12 -1
  753. package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
  754. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts +19 -0
  755. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts.map +1 -0
  756. package/node_modules/@xrkseek/server-http/dist/public-routes.js +34 -0
  757. package/node_modules/@xrkseek/server-http/dist/public-routes.js.map +1 -0
  758. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +13 -0
  759. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -0
  760. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +58 -0
  761. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -0
  762. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +16 -0
  763. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -0
  764. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +49 -0
  765. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -0
  766. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts +35 -0
  767. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -0
  768. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +103 -0
  769. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -0
  770. package/node_modules/@xrkseek/server-http/package.json +2 -1
  771. package/node_modules/@xrkseek/server-loader/dist/host.d.ts +6 -0
  772. package/node_modules/@xrkseek/server-loader/dist/host.d.ts.map +1 -0
  773. package/node_modules/@xrkseek/server-loader/dist/host.js +11 -0
  774. package/node_modules/@xrkseek/server-loader/dist/host.js.map +1 -0
  775. package/node_modules/@xrkseek/server-loader/dist/index.d.ts +2 -1
  776. package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
  777. package/node_modules/@xrkseek/server-loader/dist/index.js +1 -0
  778. package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
  779. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -0
  780. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
  781. package/node_modules/@xrkseek/server-loader/dist/kinds.js +5 -0
  782. package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
  783. package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
  784. package/node_modules/@xrkseek/server-loader/dist/load.js +5 -0
  785. package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
  786. package/node_modules/@xrkseek/server-loader/dist/types.d.ts +40 -0
  787. package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
  788. package/node_modules/@xrkseek/xrk-file-reference/README.i18n.yaml +6 -0
  789. package/node_modules/@xrkseek/xrk-file-reference/README.md +22 -0
  790. package/node_modules/@xrkseek/xrk-file-reference/README.zh.md +22 -0
  791. package/node_modules/@xrkseek/xrk-file-reference/package.json +68 -0
  792. package/node_modules/@xrkseek/xrk-file-reference-local/README.i18n.yaml +6 -0
  793. package/node_modules/@xrkseek/xrk-file-reference-local/README.md +45 -0
  794. package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +45 -0
  795. package/node_modules/@xrkseek/xrk-file-reference-local/package.json +56 -0
  796. package/node_modules/@xrkseek/xrk-session-reference/README.i18n.yaml +6 -0
  797. package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -0
  798. package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -0
  799. package/node_modules/@xrkseek/xrk-session-reference/package.json +79 -0
  800. package/node_modules/detect-libc/LICENSE +201 -0
  801. package/node_modules/detect-libc/README.md +163 -0
  802. package/node_modules/detect-libc/index.d.ts +14 -0
  803. package/node_modules/detect-libc/lib/detect-libc.js +313 -0
  804. package/node_modules/detect-libc/lib/elf.js +39 -0
  805. package/node_modules/detect-libc/lib/filesystem.js +51 -0
  806. package/node_modules/detect-libc/lib/process.js +24 -0
  807. package/node_modules/detect-libc/package.json +44 -0
  808. package/node_modules/semver/LICENSE +15 -0
  809. package/node_modules/semver/README.md +680 -0
  810. package/node_modules/semver/bin/semver.js +195 -0
  811. package/node_modules/semver/classes/comparator.js +143 -0
  812. package/node_modules/semver/classes/index.js +7 -0
  813. package/node_modules/semver/classes/range.js +577 -0
  814. package/node_modules/semver/classes/semver.js +350 -0
  815. package/node_modules/semver/functions/clean.js +8 -0
  816. package/node_modules/semver/functions/cmp.js +54 -0
  817. package/node_modules/semver/functions/coerce.js +62 -0
  818. package/node_modules/semver/functions/compare-build.js +9 -0
  819. package/node_modules/semver/functions/compare-loose.js +5 -0
  820. package/node_modules/semver/functions/compare.js +7 -0
  821. package/node_modules/semver/functions/diff.js +60 -0
  822. package/node_modules/semver/functions/eq.js +5 -0
  823. package/node_modules/semver/functions/gt.js +5 -0
  824. package/node_modules/semver/functions/gte.js +5 -0
  825. package/node_modules/semver/functions/inc.js +21 -0
  826. package/node_modules/semver/functions/lt.js +5 -0
  827. package/node_modules/semver/functions/lte.js +5 -0
  828. package/node_modules/semver/functions/major.js +5 -0
  829. package/node_modules/semver/functions/minor.js +5 -0
  830. package/node_modules/semver/functions/neq.js +5 -0
  831. package/node_modules/semver/functions/parse.js +18 -0
  832. package/node_modules/semver/functions/patch.js +5 -0
  833. package/node_modules/semver/functions/prerelease.js +8 -0
  834. package/node_modules/semver/functions/rcompare.js +5 -0
  835. package/node_modules/semver/functions/rsort.js +5 -0
  836. package/node_modules/semver/functions/satisfies.js +12 -0
  837. package/node_modules/semver/functions/sort.js +5 -0
  838. package/node_modules/semver/functions/truncate.js +48 -0
  839. package/node_modules/semver/functions/valid.js +8 -0
  840. package/node_modules/semver/index.js +93 -0
  841. package/node_modules/semver/internal/constants.js +37 -0
  842. package/node_modules/semver/internal/debug.js +11 -0
  843. package/node_modules/semver/internal/identifiers.js +29 -0
  844. package/node_modules/semver/internal/lrucache.js +42 -0
  845. package/node_modules/semver/internal/parse-options.js +17 -0
  846. package/node_modules/semver/internal/re.js +223 -0
  847. package/node_modules/semver/package.json +78 -0
  848. package/node_modules/semver/preload.js +4 -0
  849. package/node_modules/semver/range.bnf +17 -0
  850. package/node_modules/semver/ranges/gtr.js +6 -0
  851. package/node_modules/semver/ranges/intersects.js +9 -0
  852. package/node_modules/semver/ranges/ltr.js +6 -0
  853. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  854. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  855. package/node_modules/semver/ranges/min-version.js +63 -0
  856. package/node_modules/semver/ranges/outside.js +82 -0
  857. package/node_modules/semver/ranges/simplify.js +49 -0
  858. package/node_modules/semver/ranges/subset.js +249 -0
  859. package/node_modules/semver/ranges/to-comparators.js +10 -0
  860. package/node_modules/semver/ranges/valid.js +13 -0
  861. package/node_modules/sharp/LICENSE +191 -0
  862. package/node_modules/sharp/README.md +112 -0
  863. package/node_modules/sharp/dist/channel.cjs +177 -0
  864. package/node_modules/sharp/dist/channel.mjs +177 -0
  865. package/node_modules/sharp/dist/colour.cjs +199 -0
  866. package/node_modules/sharp/dist/colour.mjs +199 -0
  867. package/node_modules/sharp/dist/composite.cjs +213 -0
  868. package/node_modules/sharp/dist/composite.mjs +213 -0
  869. package/node_modules/sharp/dist/constructor.cjs +511 -0
  870. package/node_modules/sharp/dist/constructor.mjs +511 -0
  871. package/node_modules/sharp/dist/index.cjs +25 -0
  872. package/node_modules/sharp/dist/index.d.cts +1999 -0
  873. package/node_modules/sharp/dist/index.d.mts +2046 -0
  874. package/node_modules/sharp/dist/index.mjs +25 -0
  875. package/node_modules/sharp/dist/input.cjs +814 -0
  876. package/node_modules/sharp/dist/input.mjs +814 -0
  877. package/node_modules/sharp/dist/is.cjs +143 -0
  878. package/node_modules/sharp/dist/is.mjs +143 -0
  879. package/node_modules/sharp/dist/libvips.cjs +212 -0
  880. package/node_modules/sharp/dist/libvips.mjs +212 -0
  881. package/node_modules/sharp/dist/operation.cjs +998 -0
  882. package/node_modules/sharp/dist/operation.mjs +998 -0
  883. package/node_modules/sharp/dist/output.cjs +1788 -0
  884. package/node_modules/sharp/dist/output.mjs +1788 -0
  885. package/node_modules/sharp/dist/resize.cjs +617 -0
  886. package/node_modules/sharp/dist/resize.mjs +617 -0
  887. package/node_modules/sharp/dist/sharp.cjs +174 -0
  888. package/node_modules/sharp/dist/sharp.mjs +174 -0
  889. package/node_modules/sharp/dist/utility.cjs +301 -0
  890. package/node_modules/sharp/dist/utility.mjs +301 -0
  891. package/node_modules/sharp/install/build.js +38 -0
  892. package/node_modules/sharp/lib/index.d.ts +1999 -0
  893. package/node_modules/sharp/package.json +227 -0
  894. package/node_modules/sharp/src/binding.gyp +303 -0
  895. package/node_modules/sharp/src/common.cc +1183 -0
  896. package/node_modules/sharp/src/common.h +421 -0
  897. package/node_modules/sharp/src/metadata.cc +404 -0
  898. package/node_modules/sharp/src/metadata.h +95 -0
  899. package/node_modules/sharp/src/operations.cc +516 -0
  900. package/node_modules/sharp/src/operations.h +137 -0
  901. package/node_modules/sharp/src/pipeline.cc +1948 -0
  902. package/node_modules/sharp/src/pipeline.h +422 -0
  903. package/node_modules/sharp/src/sharp.cc +43 -0
  904. package/node_modules/sharp/src/stats.cc +186 -0
  905. package/node_modules/sharp/src/stats.h +62 -0
  906. package/node_modules/sharp/src/utilities.cc +289 -0
  907. package/node_modules/sharp/src/utilities.h +22 -0
  908. package/node_modules/undici-types/LICENSE +21 -0
  909. package/node_modules/undici-types/README.md +6 -0
  910. package/node_modules/undici-types/agent.d.ts +32 -0
  911. package/node_modules/undici-types/api.d.ts +43 -0
  912. package/node_modules/undici-types/balanced-pool.d.ts +30 -0
  913. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  914. package/node_modules/undici-types/cache.d.ts +36 -0
  915. package/node_modules/undici-types/client-stats.d.ts +15 -0
  916. package/node_modules/undici-types/client.d.ts +108 -0
  917. package/node_modules/undici-types/connector.d.ts +34 -0
  918. package/node_modules/undici-types/content-type.d.ts +21 -0
  919. package/node_modules/undici-types/cookies.d.ts +30 -0
  920. package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  921. package/node_modules/undici-types/dispatcher.d.ts +276 -0
  922. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  923. package/node_modules/undici-types/errors.d.ts +161 -0
  924. package/node_modules/undici-types/eventsource.d.ts +66 -0
  925. package/node_modules/undici-types/fetch.d.ts +211 -0
  926. package/node_modules/undici-types/formdata.d.ts +108 -0
  927. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  928. package/node_modules/undici-types/global-origin.d.ts +7 -0
  929. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  930. package/node_modules/undici-types/handlers.d.ts +15 -0
  931. package/node_modules/undici-types/header.d.ts +160 -0
  932. package/node_modules/undici-types/index.d.ts +88 -0
  933. package/node_modules/undici-types/interceptors.d.ts +73 -0
  934. package/node_modules/undici-types/mock-agent.d.ts +68 -0
  935. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  936. package/node_modules/undici-types/mock-client.d.ts +27 -0
  937. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  938. package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  939. package/node_modules/undici-types/mock-pool.d.ts +27 -0
  940. package/node_modules/undici-types/package.json +55 -0
  941. package/node_modules/undici-types/patch.d.ts +29 -0
  942. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  943. package/node_modules/undici-types/pool.d.ts +41 -0
  944. package/node_modules/undici-types/proxy-agent.d.ts +29 -0
  945. package/node_modules/undici-types/readable.d.ts +68 -0
  946. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  947. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  948. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  949. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  950. package/node_modules/undici-types/util.d.ts +18 -0
  951. package/node_modules/undici-types/utility.d.ts +7 -0
  952. package/node_modules/undici-types/webidl.d.ts +341 -0
  953. package/node_modules/undici-types/websocket.d.ts +186 -0
  954. package/package.json +23 -1
  955. package/product-web/assets/{index-CSGf6Qzd.css → index-C0u-TtQQ.css} +1 -1
  956. package/product-web/assets/index-CHKZdZNt.js +112 -0
  957. package/product-web/assets/index-CHKZdZNt.js.map +1 -0
  958. package/product-web/assets/langs/{php-DY2VakOf.js → php-9bx0az3O.js} +2 -2
  959. package/product-web/assets/langs/{php-DY2VakOf.js.map → php-9bx0az3O.js.map} +1 -1
  960. package/product-web/assets/langs/{ruby-hwtoiFmS.js → ruby-HDLHRjSL.js} +2 -2
  961. package/product-web/assets/langs/{ruby-hwtoiFmS.js.map → ruby-HDLHRjSL.js.map} +1 -1
  962. package/product-web/assets/{vendor-CldRVjca.js → vendor-CeMKrCZm.js} +36 -35
  963. package/product-web/assets/vendor-CeMKrCZm.js.map +1 -0
  964. package/product-web/boot.json +20 -1
  965. package/product-web/index.html +3 -3
  966. package/product-web/plugins/@xrkseek/client-locale/client.js +3 -3
  967. package/product-web/plugins/@xrkseek/client-modules/client.js +83 -12
  968. package/product-web/plugins/@xrkseek/client-runtime/client.js +5 -37
  969. package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +63 -80
  970. package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +782 -0
  971. package/product-web/plugins/@xrkseek/client-ui-commands/client.js +8 -8
  972. package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +933 -505
  973. package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +6 -6
  974. package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +28 -28
  975. package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
  976. package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +82 -26
  977. package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +8 -8
  978. package/product-web/plugins/@xrkseek/client-ui-layout/client.js +4 -4
  979. package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +5 -5
  980. package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +17 -17
  981. package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +3 -3
  982. package/product-web/plugins/@xrkseek/client-ui-plan/client.js +1 -1
  983. package/product-web/plugins/@xrkseek/client-ui-reference/client.js +148 -0
  984. package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +12 -12
  985. package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +62 -62
  986. package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
  987. package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +38 -38
  988. package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +16 -16
  989. package/product-web/plugins/@xrkseek/client-ui-skill/client.js +11 -11
  990. package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +289 -157
  991. package/product-web/plugins/@xrkseek/client-ui-theme/client.js +2 -2
  992. package/product-web/plugins/@xrkseek/client-ui-tool/client.js +41 -41
  993. package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +149 -170
  994. package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +28 -28
  995. package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +14 -14
  996. package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +52 -52
  997. package/product-web/plugins/@xrkseek/xrk-api-remotes/client.js +20 -1
  998. package/product-web/assets/index-CcF0Sxxg.js +0 -297
  999. package/product-web/assets/index-CcF0Sxxg.js.map +0 -1
  1000. package/product-web/assets/vendor-CldRVjca.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-apply-registry.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/host-apply-registry.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAID,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAE/D;AAED,wBAAgB,uBAAuB,IAAI,SAAS,eAAe,EAAE,CAEpE;AAED,wBAAgB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE1D;AAED,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,GAClB,eAAe,GAAG,SAAS,CAE7B"}
@@ -0,0 +1,17 @@
1
+ const applied = new Map();
2
+ export function resetHostApplyRegistry() {
3
+ applied.clear();
4
+ }
5
+ export function registerHostApply(record) {
6
+ applied.set(record.packageName, record);
7
+ }
8
+ export function listHostAppliedPackages() {
9
+ return [...applied.values()];
10
+ }
11
+ export function isHostApplied(packageName) {
12
+ return applied.has(packageName.trim());
13
+ }
14
+ export function getHostApplyRecord(packageName) {
15
+ return applied.get(packageName.trim());
16
+ }
17
+ //# sourceMappingURL=host-apply-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-apply-registry.js","sourceRoot":"","sources":["../../src/dsh-compat/host-apply-registry.ts"],"names":[],"mappings":"AASA,MAAM,OAAO,GAAG,IAAI,GAAG,EAA2B,CAAC;AAEnD,MAAM,UAAU,sBAAsB;IACpC,OAAO,CAAC,KAAK,EAAE,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,MAAuB;IACvD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,uBAAuB;IACrC,OAAO,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,WAAmB;IAC/C,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,WAAmB;IAEnB,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC"}
@@ -0,0 +1,76 @@
1
+ export interface ModsearchHit {
2
+ readonly title: string;
3
+ readonly path: string;
4
+ readonly snippet: string;
5
+ readonly source: "local" | "tavily" | "exa";
6
+ }
7
+ export interface ModsearchQueryOptions {
8
+ readonly workspaceRoot?: string;
9
+ readonly engine?: string;
10
+ readonly engines?: Record<string, {
11
+ apiKey?: string;
12
+ baseURL?: string;
13
+ enabled?: boolean;
14
+ }>;
15
+ readonly limit?: number;
16
+ }
17
+ export declare function runModsearchQuery(query: string, options?: ModsearchQueryOptions): Promise<Record<string, unknown>>;
18
+ export declare const GENUI_COMPONENT_REGISTRY: readonly ["Card", "Text", "Button", "Row", "Column", "Stack", "Image", "Input", "Box", "Fragment"];
19
+ export declare function renderGenuiFromSchema(schema: Record<string, unknown>): {
20
+ preview: string;
21
+ tree: Record<string, unknown>;
22
+ html: string;
23
+ reactTree: Record<string, unknown>;
24
+ componentRegistry: readonly string[];
25
+ live: boolean;
26
+ };
27
+ export interface ImageAnalysis {
28
+ readonly format: "png" | "jpeg" | "gif" | "webp" | "unknown";
29
+ readonly width?: number;
30
+ readonly height?: number;
31
+ readonly bytes: number;
32
+ readonly sha256Prefix: string;
33
+ }
34
+ export declare function analyzeImageBuffer(buf: Buffer): ImageAnalysis;
35
+ export declare function decodePasteImageBuffers(raw: Buffer | string): Buffer[];
36
+ export declare function extractAsciiFromImageBuffer(buf: Buffer): string;
37
+ export declare function analyzeVisionImage(buf: Buffer): ImageAnalysis & {
38
+ ocrText: string;
39
+ analyzed: true;
40
+ };
41
+ export declare function analyzePastePayload(raw: Buffer | string): {
42
+ images: Array<ImageAnalysis & {
43
+ index: number;
44
+ ocrText: string;
45
+ analyzed: boolean;
46
+ }>;
47
+ analyzed: boolean;
48
+ };
49
+ export interface TongflowScanOptions {
50
+ readonly pluginsDir?: string;
51
+ readonly workspaceRoot?: string;
52
+ }
53
+ export declare function scanTongflowRegistryFromInventory(packages: readonly {
54
+ name: string;
55
+ version?: string;
56
+ }[]): Record<string, unknown>;
57
+ export declare function tryPythonTongflowScan(workspaceRoot?: string): Record<string, unknown> | null;
58
+ export declare function searchNoemaMemories(memories: readonly {
59
+ id: string;
60
+ text: string;
61
+ tags: readonly string[];
62
+ }[], query: string, limit?: number): Array<{
63
+ id: string;
64
+ text: string;
65
+ score: number;
66
+ }>;
67
+ export declare function classifyAutoReviewHeuristic(payload: Record<string, unknown>): {
68
+ verdict: "allow" | "deny" | "ask";
69
+ reason: string;
70
+ confidence: number;
71
+ };
72
+ export declare function validateImConnector(connector: Record<string, unknown> | undefined): {
73
+ ok: boolean;
74
+ missing: string[];
75
+ };
76
+ //# sourceMappingURL=host-feature-bridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-feature-bridge.d.ts","sourceRoot":"","sources":["../../src/dsh-compat/host-feature-bridge.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;CAC7C;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC5F,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAkFlC;AAkFD,eAAO,MAAM,wBAAwB,oGAW3B,CAAC;AAmCX,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,IAAI,EAAE,OAAO,CAAC;CACf,CAoCA;AAuDD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAMD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAyD7D;AAED,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,GAAG,MAAM,GACnB,MAAM,EAAE,CAoBV;AAiCD,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgB/D;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC;CAChB,CAOA;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG;IACzD,MAAM,EAAE,KAAK,CAAC,aAAa,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACrF,QAAQ,EAAE,OAAO,CAAC;CACnB,CAQA;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GACtD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAwBzB;AAED,wBAAgB,qBAAqB,CACnC,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAmBhC;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,EAAE,EAC1E,KAAK,EAAE,MAAM,EACb,KAAK,SAAK,GACT,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAmBpD;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B;IAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAgB3E;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAC7C;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAcpC"}
@@ -0,0 +1,551 @@
1
+ /**
2
+ * XRK-native bridges for DSH Host features that cannot embed Cordis fiber.
3
+ * Local / heuristic / optional remote — not upstream Cordis parity.
4
+ */
5
+ import { createHash } from "node:crypto";
6
+ import { execFileSync, spawnSync } from "node:child_process";
7
+ import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
8
+ import path from "node:path";
9
+ import { DSH_COMPAT_ADAPTER } from "./meta.js";
10
+ export async function runModsearchQuery(query, options = {}) {
11
+ const q = query.trim();
12
+ if (!q) {
13
+ return { ok: false, code: "empty-query", results: [] };
14
+ }
15
+ const limit = options.limit ?? 20;
16
+ const engine = options.engine?.trim() || "local";
17
+ const row = options.engines?.[engine];
18
+ if (engine === "tavily" && row?.apiKey) {
19
+ try {
20
+ const res = await fetch("https://api.tavily.com/search", {
21
+ method: "POST",
22
+ headers: { "content-type": "application/json" },
23
+ body: JSON.stringify({
24
+ api_key: row.apiKey,
25
+ query: q,
26
+ max_results: Math.min(limit, 10),
27
+ }),
28
+ });
29
+ const data = (await res.json());
30
+ const results = (data.results ?? []).map((hit) => ({
31
+ title: hit.title ?? hit.url ?? "result",
32
+ path: hit.url ?? "",
33
+ snippet: hit.content ?? "",
34
+ source: "tavily",
35
+ }));
36
+ return { ok: true, engine, results, adapter: DSH_COMPAT_ADAPTER };
37
+ }
38
+ catch (err) {
39
+ return {
40
+ ok: false,
41
+ engine,
42
+ code: "tavily-failed",
43
+ message: err instanceof Error ? err.message : String(err),
44
+ results: [],
45
+ };
46
+ }
47
+ }
48
+ if (engine === "exa" && row?.apiKey) {
49
+ try {
50
+ const res = await fetch("https://api.exa.ai/search", {
51
+ method: "POST",
52
+ headers: {
53
+ "content-type": "application/json",
54
+ "x-api-key": row.apiKey,
55
+ },
56
+ body: JSON.stringify({
57
+ query: q,
58
+ numResults: Math.min(limit, 10),
59
+ }),
60
+ });
61
+ const data = (await res.json());
62
+ const results = (data.results ?? []).map((hit) => ({
63
+ title: hit.title ?? hit.url ?? "result",
64
+ path: hit.url ?? "",
65
+ snippet: hit.text ?? "",
66
+ source: "exa",
67
+ }));
68
+ return { ok: true, engine, results, adapter: DSH_COMPAT_ADAPTER };
69
+ }
70
+ catch (err) {
71
+ return {
72
+ ok: false,
73
+ engine,
74
+ code: "exa-failed",
75
+ message: err instanceof Error ? err.message : String(err),
76
+ results: [],
77
+ };
78
+ }
79
+ }
80
+ const local = localWorkspaceSearch(options.workspaceRoot, q, limit);
81
+ return {
82
+ ok: true,
83
+ engine: "local",
84
+ results: local,
85
+ adapter: DSH_COMPAT_ADAPTER,
86
+ note: local.length
87
+ ? "Workspace text search via XRK bridge."
88
+ : "No local hits — configure tavily/exa apiKey for remote search.",
89
+ };
90
+ }
91
+ function localWorkspaceSearch(workspaceRoot, query, limit) {
92
+ const root = workspaceRoot?.trim();
93
+ if (!root || !existsSync(root))
94
+ return [];
95
+ try {
96
+ const out = execFileSync("rg", ["-l", "--max-count", "1", "-F", query, root], { encoding: "utf8", timeout: 8000, stdio: ["ignore", "pipe", "ignore"] });
97
+ return out
98
+ .split(/\r?\n/)
99
+ .map((line) => line.trim())
100
+ .filter(Boolean)
101
+ .slice(0, limit)
102
+ .map((abs) => ({
103
+ title: path.basename(abs),
104
+ path: abs,
105
+ snippet: query,
106
+ source: "local",
107
+ }));
108
+ }
109
+ catch {
110
+ return walkWorkspaceFallback(root, query, limit);
111
+ }
112
+ }
113
+ function walkWorkspaceFallback(root, query, limit) {
114
+ const lower = query.toLowerCase();
115
+ const hits = [];
116
+ const skip = new Set(["node_modules", ".git", "dist", ".xrk"]);
117
+ const walk = (dir, depth) => {
118
+ if (hits.length >= limit || depth > 6)
119
+ return;
120
+ let entries;
121
+ try {
122
+ entries = readdirSync(dir);
123
+ }
124
+ catch {
125
+ return;
126
+ }
127
+ for (const name of entries) {
128
+ if (hits.length >= limit)
129
+ break;
130
+ if (skip.has(name))
131
+ continue;
132
+ const abs = path.join(dir, name);
133
+ let st;
134
+ try {
135
+ st = statSync(abs);
136
+ }
137
+ catch {
138
+ continue;
139
+ }
140
+ if (st.isDirectory()) {
141
+ walk(abs, depth + 1);
142
+ continue;
143
+ }
144
+ if (!/\.(md|txt|ts|tsx|js|mjs|json|yaml|yml)$/i.test(name))
145
+ continue;
146
+ if (st.size > 512_000)
147
+ continue;
148
+ try {
149
+ const text = readFileSync(abs, "utf8");
150
+ if (text.toLowerCase().includes(lower)) {
151
+ hits.push({
152
+ title: name,
153
+ path: abs,
154
+ snippet: query,
155
+ source: "local",
156
+ });
157
+ }
158
+ }
159
+ catch {
160
+ /* ignore */
161
+ }
162
+ }
163
+ };
164
+ walk(root, 0);
165
+ return hits;
166
+ }
167
+ export const GENUI_COMPONENT_REGISTRY = [
168
+ "Card",
169
+ "Text",
170
+ "Button",
171
+ "Row",
172
+ "Column",
173
+ "Stack",
174
+ "Image",
175
+ "Input",
176
+ "Box",
177
+ "Fragment",
178
+ ];
179
+ function buildGenuiReactTree(node) {
180
+ if (node === null || node === undefined) {
181
+ return { type: "Text", props: { value: "" } };
182
+ }
183
+ if (typeof node !== "object") {
184
+ return { type: "Text", props: { value: String(node) } };
185
+ }
186
+ if (Array.isArray(node)) {
187
+ return { type: "Fragment", children: node.map((item) => buildGenuiReactTree(item)) };
188
+ }
189
+ const row = node;
190
+ const rawType = String(row.type ?? "Box");
191
+ const normalized = rawType.length > 0
192
+ ? rawType.charAt(0).toUpperCase() + rawType.slice(1)
193
+ : "Box";
194
+ const children = Array.isArray(row.children)
195
+ ? row.children.map((item) => buildGenuiReactTree(item))
196
+ : row.body
197
+ ? [buildGenuiReactTree(row.body)]
198
+ : undefined;
199
+ const props = {};
200
+ for (const [key, value] of Object.entries(row)) {
201
+ if (key === "type" || key === "children" || key === "body")
202
+ continue;
203
+ props[key] = value;
204
+ }
205
+ return {
206
+ type: normalized,
207
+ ...(Object.keys(props).length > 0 ? { props } : {}),
208
+ ...(children && children.length > 0 ? { children } : {}),
209
+ };
210
+ }
211
+ export function renderGenuiFromSchema(schema) {
212
+ const lines = [];
213
+ const walk = (node, depth, label) => {
214
+ const pad = " ".repeat(depth);
215
+ if (node === null || node === undefined) {
216
+ lines.push(`${pad}${label}: null`);
217
+ return;
218
+ }
219
+ if (typeof node !== "object") {
220
+ lines.push(`${pad}${label}: ${String(node)}`);
221
+ return;
222
+ }
223
+ if (Array.isArray(node)) {
224
+ lines.push(`${pad}${label}: [${node.length}]`);
225
+ node.slice(0, 8).forEach((item, i) => walk(item, depth + 1, `[${i}]`));
226
+ return;
227
+ }
228
+ const row = node;
229
+ const type = typeof row.type === "string" ? row.type : Array.isArray(row) ? "array" : "object";
230
+ lines.push(`${pad}${label}: <${type}>`);
231
+ for (const [key, value] of Object.entries(row).slice(0, 24)) {
232
+ walk(value, depth + 1, key);
233
+ }
234
+ };
235
+ walk(schema, 0, "root");
236
+ const html = renderGenuiHtmlFromSchema(schema);
237
+ const reactTree = buildGenuiReactTree(schema);
238
+ return {
239
+ preview: lines.join("\n"),
240
+ tree: schema,
241
+ html,
242
+ reactTree,
243
+ componentRegistry: GENUI_COMPONENT_REGISTRY,
244
+ live: true,
245
+ };
246
+ }
247
+ function escapeHtml(text) {
248
+ return text
249
+ .replace(/&/g, "&amp;")
250
+ .replace(/</g, "&lt;")
251
+ .replace(/>/g, "&gt;")
252
+ .replace(/"/g, "&quot;");
253
+ }
254
+ function renderGenuiHtmlFromSchema(schema) {
255
+ const renderNode = (node) => {
256
+ if (node === null || node === undefined)
257
+ return "";
258
+ if (typeof node === "string" || typeof node === "number" || typeof node === "boolean") {
259
+ return `<span>${escapeHtml(String(node))}</span>`;
260
+ }
261
+ if (Array.isArray(node)) {
262
+ return node.map((item) => renderNode(item)).join("");
263
+ }
264
+ if (typeof node !== "object")
265
+ return "";
266
+ const row = node;
267
+ const type = String(row.type ?? "box").toLowerCase();
268
+ const children = Array.isArray(row.children)
269
+ ? row.children.map((c) => renderNode(c)).join("")
270
+ : row.body
271
+ ? renderNode(row.body)
272
+ : row.value != null
273
+ ? escapeHtml(String(row.value))
274
+ : "";
275
+ const title = typeof row.title === "string"
276
+ ? `<header>${escapeHtml(row.title)}</header>`
277
+ : typeof row.label === "string"
278
+ ? `<header>${escapeHtml(row.label)}</header>`
279
+ : "";
280
+ switch (type) {
281
+ case "text":
282
+ case "paragraph":
283
+ return `<p data-genui="${type}">${children || escapeHtml(String(row.value ?? ""))}</p>`;
284
+ case "button":
285
+ return `<button type="button" data-genui="button">${children || escapeHtml(String(row.label ?? "Action"))}</button>`;
286
+ case "card":
287
+ case "panel":
288
+ return `<section data-genui="${type}">${title}${children}</section>`;
289
+ case "row":
290
+ case "column":
291
+ case "stack":
292
+ return `<div data-genui="${type}" style="display:flex;flex-direction:${type === "column" ? "column" : "row"};gap:8px">${children}</div>`;
293
+ default:
294
+ return `<div data-genui="${escapeHtml(type)}">${title}${children}</div>`;
295
+ }
296
+ };
297
+ return `<div data-xrk-genui-preview="1">${renderNode(schema)}</div>`;
298
+ }
299
+ function readBeUInt32(buf, offset) {
300
+ return buf.readUInt32BE(offset);
301
+ }
302
+ export function analyzeImageBuffer(buf) {
303
+ const bytes = buf.length;
304
+ const sha256Prefix = createHash("sha256").update(buf).digest("hex").slice(0, 16);
305
+ if (bytes >= 24 && buf[0] === 0x89 && buf.toString("ascii", 1, 4) === "PNG") {
306
+ return {
307
+ format: "png",
308
+ width: readBeUInt32(buf, 16),
309
+ height: readBeUInt32(buf, 20),
310
+ bytes,
311
+ sha256Prefix,
312
+ };
313
+ }
314
+ if (bytes >= 4 && buf[0] === 0xff && buf[1] === 0xd8) {
315
+ let offset = 2;
316
+ while (offset + 9 < bytes) {
317
+ if (buf[offset] !== 0xff)
318
+ break;
319
+ const marker = buf[offset + 1];
320
+ const len = buf.readUInt16BE(offset + 2);
321
+ if (marker === 0xc0 ||
322
+ marker === 0xc1 ||
323
+ marker === 0xc2 ||
324
+ marker === 0xc3) {
325
+ return {
326
+ format: "jpeg",
327
+ height: buf.readUInt16BE(offset + 5),
328
+ width: buf.readUInt16BE(offset + 7),
329
+ bytes,
330
+ sha256Prefix,
331
+ };
332
+ }
333
+ offset += 2 + len;
334
+ }
335
+ return { format: "jpeg", bytes, sha256Prefix };
336
+ }
337
+ if (bytes >= 6 &&
338
+ (buf.toString("ascii", 0, 6) === "GIF87a" ||
339
+ buf.toString("ascii", 0, 6) === "GIF89a")) {
340
+ return {
341
+ format: "gif",
342
+ width: buf.readUInt16LE(6),
343
+ height: buf.readUInt16LE(8),
344
+ bytes,
345
+ sha256Prefix,
346
+ };
347
+ }
348
+ if (bytes >= 30 &&
349
+ buf.toString("ascii", 0, 4) === "RIFF" &&
350
+ buf.toString("ascii", 8, 12) === "WEBP") {
351
+ return { format: "webp", bytes, sha256Prefix };
352
+ }
353
+ return { format: "unknown", bytes, sha256Prefix };
354
+ }
355
+ export function decodePasteImageBuffers(raw) {
356
+ if (Buffer.isBuffer(raw) && raw.length > 0) {
357
+ if (raw[0] === 0x7b || raw[0] === 0x5b) {
358
+ try {
359
+ const parsed = JSON.parse(raw.toString("utf8"));
360
+ return extractImageBuffersFromJson(parsed);
361
+ }
362
+ catch {
363
+ return [raw];
364
+ }
365
+ }
366
+ return [raw];
367
+ }
368
+ if (typeof raw === "string" && raw.trim()) {
369
+ try {
370
+ return extractImageBuffersFromJson(JSON.parse(raw));
371
+ }
372
+ catch {
373
+ return [];
374
+ }
375
+ }
376
+ return [];
377
+ }
378
+ function extractImageBuffersFromJson(parsed) {
379
+ const out = [];
380
+ const visit = (node) => {
381
+ if (!node)
382
+ return;
383
+ if (typeof node === "string") {
384
+ const m = /^data:image\/[^;]+;base64,(.+)$/i.exec(node.trim());
385
+ if (m?.[1]) {
386
+ try {
387
+ out.push(Buffer.from(m[1], "base64"));
388
+ }
389
+ catch {
390
+ /* ignore */
391
+ }
392
+ }
393
+ return;
394
+ }
395
+ if (Array.isArray(node)) {
396
+ for (const item of node)
397
+ visit(item);
398
+ return;
399
+ }
400
+ if (typeof node === "object") {
401
+ const row = node;
402
+ if (typeof row.data === "string")
403
+ visit(row.data);
404
+ if (typeof row.base64 === "string")
405
+ visit(row.base64);
406
+ if (typeof row.content === "string")
407
+ visit(row.content);
408
+ if (Array.isArray(row.images))
409
+ visit(row.images);
410
+ }
411
+ };
412
+ visit(parsed);
413
+ return out;
414
+ }
415
+ export function extractAsciiFromImageBuffer(buf) {
416
+ const chunks = [];
417
+ let current = "";
418
+ for (let i = 0; i < buf.length; i++) {
419
+ const byte = buf[i];
420
+ if (byte >= 32 && byte <= 126) {
421
+ current += String.fromCharCode(byte);
422
+ }
423
+ else if (current.length >= 4) {
424
+ chunks.push(current);
425
+ current = "";
426
+ }
427
+ else {
428
+ current = "";
429
+ }
430
+ }
431
+ if (current.length >= 4)
432
+ chunks.push(current);
433
+ return chunks.join("\n").slice(0, 8000);
434
+ }
435
+ export function analyzeVisionImage(buf) {
436
+ const meta = analyzeImageBuffer(buf);
437
+ return {
438
+ ...meta,
439
+ ocrText: extractAsciiFromImageBuffer(buf),
440
+ analyzed: true,
441
+ };
442
+ }
443
+ export function analyzePastePayload(raw) {
444
+ const buffers = decodePasteImageBuffers(raw);
445
+ const images = buffers.map((buf, index) => ({
446
+ index,
447
+ ...analyzeVisionImage(buf),
448
+ analyzed: true,
449
+ }));
450
+ return { images, analyzed: images.length > 0 };
451
+ }
452
+ export function scanTongflowRegistryFromInventory(packages) {
453
+ const plugins = {};
454
+ const nodePluginMap = {};
455
+ const official = [];
456
+ for (const pkg of packages) {
457
+ const slug = pkg.name.replace(/^@/, "").replace(/\//g, "-");
458
+ plugins[slug] = {
459
+ id: slug,
460
+ package: pkg.name,
461
+ version: pkg.version ?? "0.0.0",
462
+ source: "xrk-inventory",
463
+ };
464
+ nodePluginMap[`node.${slug}`] = slug;
465
+ if (pkg.name.startsWith("dsh-") || pkg.name.includes("tongflow")) {
466
+ official.push(slug);
467
+ }
468
+ }
469
+ return {
470
+ plugins,
471
+ nodePluginMap,
472
+ official,
473
+ scanner: "typescript-inventory",
474
+ python: false,
475
+ };
476
+ }
477
+ export function tryPythonTongflowScan(workspaceRoot) {
478
+ const script = [
479
+ "import json,sys",
480
+ "print(json.dumps({'plugins':{},'nodePluginMap':{},'official':[],'scanner':'python-stub','python':True}))",
481
+ ].join("\n");
482
+ for (const bin of ["python3", "python"]) {
483
+ const res = spawnSync(bin, ["-c", script], {
484
+ encoding: "utf8",
485
+ timeout: 5000,
486
+ cwd: workspaceRoot,
487
+ });
488
+ if (res.status !== 0 || !res.stdout?.trim())
489
+ continue;
490
+ try {
491
+ return JSON.parse(res.stdout);
492
+ }
493
+ catch {
494
+ continue;
495
+ }
496
+ }
497
+ return null;
498
+ }
499
+ export function searchNoemaMemories(memories, query, limit = 16) {
500
+ const tokens = query
501
+ .toLowerCase()
502
+ .split(/\s+/)
503
+ .filter((t) => t.length > 1);
504
+ if (tokens.length === 0)
505
+ return [];
506
+ const scored = memories
507
+ .map((row) => {
508
+ const hay = `${row.text} ${row.tags.join(" ")}`.toLowerCase();
509
+ let score = 0;
510
+ for (const token of tokens) {
511
+ if (hay.includes(token))
512
+ score += 1;
513
+ }
514
+ return { id: row.id, text: row.text, score };
515
+ })
516
+ .filter((row) => row.score > 0)
517
+ .sort((a, b) => b.score - a.score)
518
+ .slice(0, limit);
519
+ return scored;
520
+ }
521
+ export function classifyAutoReviewHeuristic(payload) {
522
+ const toolName = String(payload.toolName ?? payload.name ?? "").toLowerCase();
523
+ const args = JSON.stringify(payload.args ?? payload.arguments ?? payload.input ?? "");
524
+ const blob = `${toolName} ${args}`.toLowerCase();
525
+ const destructive = /\b(rm\s+-rf|del\s+\/|format\s+c:|drop\s+table|truncate\s+table|shutdown|mkfs)\b/;
526
+ if (destructive.test(blob)) {
527
+ return { verdict: "deny", reason: "destructive-pattern", confidence: 0.92 };
528
+ }
529
+ if (/\b(curl|wget|invoke-webrequest).*(http|https)/.test(blob)) {
530
+ return { verdict: "ask", reason: "network-fetch", confidence: 0.7 };
531
+ }
532
+ if (/\b(shell|bash|powershell|exec|write|delete|unlink)\b/.test(toolName)) {
533
+ return { verdict: "ask", reason: "sensitive-tool", confidence: 0.65 };
534
+ }
535
+ return { verdict: "allow", reason: "heuristic-pass", confidence: 0.55 };
536
+ }
537
+ export function validateImConnector(connector) {
538
+ if (!connector || typeof connector !== "object") {
539
+ return { ok: false, missing: ["connector"] };
540
+ }
541
+ const required = ["appId", "appSecret", "token", "webhook", "corpId", "agentId"];
542
+ const missing = required.filter((key) => {
543
+ const v = connector[key];
544
+ return typeof v !== "string" || !v.trim();
545
+ });
546
+ const hasAny = Object.values(connector).some((v) => typeof v === "string" && v.trim().length > 0);
547
+ if (!hasAny)
548
+ return { ok: false, missing: ["any-field"] };
549
+ return { ok: missing.length < required.length, missing };
550
+ }
551
+ //# sourceMappingURL=host-feature-bridge.js.map