@xrkseek/harness-cli 0.0.11 → 0.1.1

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/dist/plugin/install-client.d.ts.map +1 -1
  2. package/dist/plugin/install-client.js +80 -2
  3. package/dist/plugin/install-client.js.map +1 -1
  4. package/node_modules/@img/colour/LICENSE.md +82 -0
  5. package/node_modules/@img/colour/README.md +15 -0
  6. package/node_modules/@img/colour/color.cjs +1596 -0
  7. package/node_modules/@img/colour/index.cjs +1 -0
  8. package/node_modules/@img/colour/index.d.ts +929 -0
  9. package/node_modules/@img/colour/package.json +58 -0
  10. package/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
  11. package/node_modules/@img/sharp-win32-x64/README.md +59 -0
  12. package/node_modules/@img/sharp-win32-x64/index.cjs +1 -0
  13. package/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
  14. package/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.18.3.dll +0 -0
  15. package/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64-0.35.3.node +0 -0
  16. package/node_modules/@img/sharp-win32-x64/package.json +40 -0
  17. package/node_modules/@img/sharp-win32-x64/versions.json +30 -0
  18. package/node_modules/@types/node/LICENSE +21 -0
  19. package/node_modules/@types/node/README.md +15 -0
  20. package/node_modules/@types/node/assert/strict.d.ts +111 -0
  21. package/node_modules/@types/node/assert.d.ts +1115 -0
  22. package/node_modules/@types/node/async_hooks.d.ts +623 -0
  23. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  24. package/node_modules/@types/node/buffer.d.ts +1934 -0
  25. package/node_modules/@types/node/child_process.d.ts +1476 -0
  26. package/node_modules/@types/node/cluster.d.ts +578 -0
  27. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  28. package/node_modules/@types/node/console.d.ts +453 -0
  29. package/node_modules/@types/node/constants.d.ts +21 -0
  30. package/node_modules/@types/node/crypto.d.ts +5417 -0
  31. package/node_modules/@types/node/dgram.d.ts +600 -0
  32. package/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
  33. package/node_modules/@types/node/dns/promises.d.ts +503 -0
  34. package/node_modules/@types/node/dns.d.ts +923 -0
  35. package/node_modules/@types/node/domain.d.ts +166 -0
  36. package/node_modules/@types/node/events.d.ts +976 -0
  37. package/node_modules/@types/node/fs/promises.d.ts +1341 -0
  38. package/node_modules/@types/node/fs.d.ts +4714 -0
  39. package/node_modules/@types/node/globals.d.ts +170 -0
  40. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  41. package/node_modules/@types/node/http.d.ts +2154 -0
  42. package/node_modules/@types/node/http2.d.ts +2835 -0
  43. package/node_modules/@types/node/https.d.ts +585 -0
  44. package/node_modules/@types/node/index.d.ts +101 -0
  45. package/node_modules/@types/node/inspector.d.ts +277 -0
  46. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  47. package/node_modules/@types/node/module.d.ts +843 -0
  48. package/node_modules/@types/node/net.d.ts +1073 -0
  49. package/node_modules/@types/node/os.d.ts +507 -0
  50. package/node_modules/@types/node/package.json +155 -0
  51. package/node_modules/@types/node/path.d.ts +200 -0
  52. package/node_modules/@types/node/perf_hooks.d.ts +1042 -0
  53. package/node_modules/@types/node/process.d.ts +2102 -0
  54. package/node_modules/@types/node/punycode.d.ts +117 -0
  55. package/node_modules/@types/node/querystring.d.ts +152 -0
  56. package/node_modules/@types/node/readline/promises.d.ts +161 -0
  57. package/node_modules/@types/node/readline.d.ts +600 -0
  58. package/node_modules/@types/node/repl.d.ts +438 -0
  59. package/node_modules/@types/node/sea.d.ts +162 -0
  60. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  61. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  62. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  63. package/node_modules/@types/node/stream/web.d.ts +573 -0
  64. package/node_modules/@types/node/stream.d.ts +1706 -0
  65. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  66. package/node_modules/@types/node/test.d.ts +2349 -0
  67. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  68. package/node_modules/@types/node/timers.d.ts +285 -0
  69. package/node_modules/@types/node/tls.d.ts +1279 -0
  70. package/node_modules/@types/node/trace_events.d.ts +197 -0
  71. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  72. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  73. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  74. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  75. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  76. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  77. package/node_modules/@types/node/tty.d.ts +208 -0
  78. package/node_modules/@types/node/url.d.ts +1079 -0
  79. package/node_modules/@types/node/util.d.ts +2336 -0
  80. package/node_modules/@types/node/v8.d.ts +982 -0
  81. package/node_modules/@types/node/vm.d.ts +1195 -0
  82. package/node_modules/@types/node/wasi.d.ts +202 -0
  83. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  84. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  85. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  86. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  87. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  88. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  89. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  90. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  91. package/node_modules/@types/node/worker_threads.d.ts +894 -0
  92. package/node_modules/@types/node/zlib.d.ts +745 -0
  93. package/node_modules/@xrkseek/attachment/dist/error.d.ts +3 -2
  94. package/node_modules/@xrkseek/attachment/dist/error.d.ts.map +1 -1
  95. package/node_modules/@xrkseek/attachment/dist/error.js +17 -2
  96. package/node_modules/@xrkseek/attachment/dist/error.js.map +1 -1
  97. package/node_modules/@xrkseek/attachment/dist/index.d.ts +2 -2
  98. package/node_modules/@xrkseek/attachment/dist/index.d.ts.map +1 -1
  99. package/node_modules/@xrkseek/attachment/dist/index.js +1 -1
  100. package/node_modules/@xrkseek/attachment/dist/index.js.map +1 -1
  101. package/node_modules/@xrkseek/attachment/dist/memory.d.ts.map +1 -1
  102. package/node_modules/@xrkseek/attachment/dist/memory.js +6 -0
  103. package/node_modules/@xrkseek/attachment/dist/memory.js.map +1 -1
  104. package/node_modules/@xrkseek/attachment/dist/store.d.ts +6 -1
  105. package/node_modules/@xrkseek/attachment/dist/store.d.ts.map +1 -1
  106. package/node_modules/@xrkseek/attachment/dist/types.d.ts +19 -0
  107. package/node_modules/@xrkseek/attachment/dist/types.d.ts.map +1 -1
  108. package/node_modules/@xrkseek/attachment/dist/types.js.map +1 -1
  109. package/node_modules/@xrkseek/attachment-local/README.md +3 -0
  110. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts +18 -0
  111. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts.map +1 -0
  112. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js +43 -0
  113. package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js.map +1 -0
  114. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts +23 -0
  115. package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts.map +1 -0
  116. package/node_modules/@xrkseek/attachment-local/dist/encoding.js +33 -0
  117. package/node_modules/@xrkseek/attachment-local/dist/encoding.js.map +1 -0
  118. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts +54 -0
  119. package/node_modules/@xrkseek/attachment-local/dist/image.d.ts.map +1 -0
  120. package/node_modules/@xrkseek/attachment-local/dist/image.js +97 -0
  121. package/node_modules/@xrkseek/attachment-local/dist/image.js.map +1 -0
  122. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +32 -0
  123. package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -0
  124. package/node_modules/@xrkseek/attachment-local/dist/index.js +188 -0
  125. package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -0
  126. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts +44 -0
  127. package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts.map +1 -0
  128. package/node_modules/@xrkseek/attachment-local/dist/normalization.js +148 -0
  129. package/node_modules/@xrkseek/attachment-local/dist/normalization.js.map +1 -0
  130. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +34 -0
  131. package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -0
  132. package/node_modules/@xrkseek/attachment-local/dist/request-image.js +208 -0
  133. package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -0
  134. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts +58 -0
  135. package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -0
  136. package/node_modules/@xrkseek/attachment-local/dist/store.js +290 -0
  137. package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -0
  138. package/node_modules/@xrkseek/attachment-local/package.json +25 -0
  139. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +3 -0
  140. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
  141. package/node_modules/@xrkseek/exec-fs/dist/index.js +10 -0
  142. package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
  143. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts +35 -0
  144. package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts.map +1 -0
  145. package/node_modules/@xrkseek/exec-fs/dist/read-image.js +120 -0
  146. package/node_modules/@xrkseek/exec-fs/dist/read-image.js.map +1 -0
  147. package/node_modules/@xrkseek/exec-fs/package.json +3 -1
  148. package/node_modules/@xrkseek/llm/dist/index.d.ts +1 -0
  149. package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
  150. package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
  151. package/node_modules/@xrkseek/llm-deepseek/README.md +3 -1
  152. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts +10 -0
  153. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts.map +1 -0
  154. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js +8 -0
  155. package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js.map +1 -0
  156. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts +40 -0
  157. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts.map +1 -0
  158. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js +164 -0
  159. package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js.map +1 -0
  160. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts +56 -0
  161. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts.map +1 -0
  162. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js +180 -0
  163. package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js.map +1 -0
  164. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts +15 -6
  165. package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts.map +1 -1
  166. package/node_modules/@xrkseek/llm-deepseek/dist/index.js +63 -13
  167. package/node_modules/@xrkseek/llm-deepseek/dist/index.js.map +1 -1
  168. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts +8 -0
  169. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts.map +1 -0
  170. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js +12 -0
  171. package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js.map +1 -0
  172. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts +28 -0
  173. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -0
  174. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +142 -0
  175. package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -0
  176. package/node_modules/@xrkseek/llm-deepseek/package.json +3 -1
  177. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts +27 -0
  178. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts.map +1 -1
  179. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js +20 -5
  180. package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js.map +1 -1
  181. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts +1 -0
  182. package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts.map +1 -1
  183. package/node_modules/@xrkseek/llm-registry/dist/registry.js +15 -1
  184. package/node_modules/@xrkseek/llm-registry/dist/registry.js.map +1 -1
  185. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +5 -0
  186. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  187. package/node_modules/@xrkseek/preset-harness/dist/preset.js +10 -1
  188. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  189. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  190. package/node_modules/@xrkseek/preset-harness/package.json +1 -0
  191. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  192. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  193. package/node_modules/@xrkseek/preset-server/dist/preset.js +3 -1
  194. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  195. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  196. package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
  197. package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
  198. package/node_modules/@xrkseek/protocol/dist/content.js +8 -1
  199. package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
  200. package/node_modules/@xrkseek/server-face/dist/context.d.ts +6 -3
  201. package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
  202. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts +9 -0
  203. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts.map +1 -0
  204. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js +28 -0
  205. package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js.map +1 -0
  206. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts +16 -0
  207. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts.map +1 -0
  208. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js +141 -0
  209. package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js.map +1 -0
  210. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts +13 -0
  211. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts.map +1 -0
  212. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js +158 -0
  213. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js.map +1 -0
  214. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts +284 -0
  215. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts.map +1 -0
  216. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js +696 -0
  217. package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js.map +1 -0
  218. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts +15 -0
  219. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts.map +1 -0
  220. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js +196 -0
  221. package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js.map +1 -0
  222. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts +19 -0
  223. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts.map +1 -0
  224. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js +143 -0
  225. package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js.map +1 -0
  226. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts +16 -0
  227. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts.map +1 -0
  228. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js +84 -0
  229. package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js.map +1 -0
  230. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts +19 -0
  231. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts.map +1 -0
  232. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js +221 -0
  233. package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js.map +1 -0
  234. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts +133 -0
  235. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -0
  236. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +561 -0
  237. package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.map +1 -0
  238. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  239. package/node_modules/@xrkseek/server-face/dist/dispatch.js +15 -0
  240. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  241. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts +0 -5
  242. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
  243. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +277 -24
  244. package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
  245. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +30 -0
  246. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -0
  247. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +48 -0
  248. package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -0
  249. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts +6 -0
  250. package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts.map +1 -0
  251. package/node_modules/@xrkseek/server-face/dist/handlers/references.js +42 -0
  252. package/node_modules/@xrkseek/server-face/dist/handlers/references.js.map +1 -0
  253. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts +6 -0
  254. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts.map +1 -0
  255. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js +24 -0
  256. package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js.map +1 -0
  257. package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
  258. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  259. package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
  260. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  261. package/node_modules/@xrkseek/server-face/dist/llm-resolve.d.ts.map +1 -1
  262. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js +5 -3
  263. package/node_modules/@xrkseek/server-face/dist/llm-resolve.js.map +1 -1
  264. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts +2 -2
  265. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts.map +1 -1
  266. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js +7 -3
  267. package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js.map +1 -1
  268. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -0
  269. package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
  270. package/node_modules/@xrkseek/server-face/dist/projections/index.js +2 -0
  271. package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
  272. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
  273. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +12 -0
  274. package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
  275. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +45 -0
  276. package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
  277. package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
  278. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts +40 -0
  279. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts.map +1 -0
  280. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js +103 -0
  281. package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js.map +1 -0
  282. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts +9 -0
  283. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts.map +1 -0
  284. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js +24 -0
  285. package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js.map +1 -0
  286. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +37 -0
  287. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -0
  288. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +109 -0
  289. package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -0
  290. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts +35 -0
  291. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -0
  292. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +151 -0
  293. package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -0
  294. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts +13 -0
  295. package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -0
  296. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +81 -0
  297. package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -0
  298. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +5 -1
  299. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
  300. package/node_modules/@xrkseek/server-face/dist/runtime.js +25 -0
  301. package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
  302. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +15 -0
  303. package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
  304. package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
  305. package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
  306. package/node_modules/@xrkseek/server-face/dist/slash.js +19 -0
  307. package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
  308. package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
  309. package/node_modules/@xrkseek/server-face/dist/wire/paths.js +3 -0
  310. package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
  311. package/node_modules/@xrkseek/server-face/package.json +3 -0
  312. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts +4 -0
  313. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts.map +1 -0
  314. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js +10 -0
  315. package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js.map +1 -0
  316. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts +11 -0
  317. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts.map +1 -0
  318. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js +29 -0
  319. package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js.map +1 -0
  320. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts +15 -0
  321. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts.map +1 -0
  322. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js +34 -0
  323. package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js.map +1 -0
  324. package/node_modules/@xrkseek/server-host/dist/index.d.ts +6 -1
  325. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  326. package/node_modules/@xrkseek/server-host/dist/index.js +126 -19
  327. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  328. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +17 -0
  329. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -0
  330. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +201 -0
  331. package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -0
  332. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts +10 -0
  333. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts.map +1 -0
  334. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js +31 -0
  335. package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js.map +1 -0
  336. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts +7 -0
  337. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -0
  338. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +40 -0
  339. package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -0
  340. package/node_modules/@xrkseek/server-host/package.json +8 -1
  341. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +12 -0
  342. package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
  343. package/node_modules/@xrkseek/server-http/dist/boot-inject.js +54 -0
  344. package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
  345. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts +6 -0
  346. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts.map +1 -0
  347. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js +141 -0
  348. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js.map +1 -0
  349. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts +3 -0
  350. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -0
  351. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +445 -0
  352. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -0
  353. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts +7 -0
  354. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts.map +1 -0
  355. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js +15 -0
  356. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js.map +1 -0
  357. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +57 -0
  358. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -0
  359. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js +2 -0
  360. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js.map +1 -0
  361. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts +10 -0
  362. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts.map +1 -0
  363. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js +275 -0
  364. package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js.map +1 -0
  365. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts +10 -0
  366. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts.map +1 -0
  367. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js +41 -0
  368. package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js.map +1 -0
  369. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +17 -0
  370. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -0
  371. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +184 -0
  372. package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -0
  373. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts +5 -0
  374. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts.map +1 -0
  375. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js +5 -0
  376. package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js.map +1 -0
  377. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts +21 -0
  378. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts.map +1 -0
  379. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js +122 -0
  380. package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js.map +1 -0
  381. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +10 -0
  382. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -0
  383. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +58 -0
  384. package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -0
  385. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +7 -0
  386. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts.map +1 -0
  387. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +59 -0
  388. package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -0
  389. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts +25 -0
  390. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts.map +1 -0
  391. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js +154 -0
  392. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js.map +1 -0
  393. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts +2 -0
  394. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts.map +1 -0
  395. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js +77 -0
  396. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js.map +1 -0
  397. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +16 -0
  398. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -0
  399. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +121 -0
  400. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -0
  401. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts +12 -0
  402. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts.map +1 -0
  403. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js +48 -0
  404. package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js.map +1 -0
  405. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts +18 -0
  406. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts.map +1 -0
  407. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js +62 -0
  408. package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js.map +1 -0
  409. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts +9 -0
  410. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts.map +1 -0
  411. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js +42 -0
  412. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js.map +1 -0
  413. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts +6 -0
  414. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts.map +1 -0
  415. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js +88 -0
  416. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js.map +1 -0
  417. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts +9 -0
  418. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts.map +1 -0
  419. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +67 -0
  420. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -0
  421. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +18 -0
  422. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -0
  423. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +198 -0
  424. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -0
  425. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts +27 -0
  426. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts.map +1 -0
  427. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js +71 -0
  428. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js.map +1 -0
  429. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts +8 -0
  430. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts.map +1 -0
  431. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +12 -0
  432. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -0
  433. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts +2 -0
  434. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts.map +1 -0
  435. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js +6 -0
  436. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js.map +1 -0
  437. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts +22 -0
  438. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -0
  439. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +219 -0
  440. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -0
  441. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts +4 -0
  442. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts.map +1 -0
  443. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js +53 -0
  444. package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js.map +1 -0
  445. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +11 -0
  446. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts.map +1 -0
  447. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +61 -0
  448. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -0
  449. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts +7 -0
  450. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -0
  451. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +150 -0
  452. package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -0
  453. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts +10 -0
  454. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -0
  455. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +239 -0
  456. package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -0
  457. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts +22 -0
  458. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts.map +1 -0
  459. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js +83 -0
  460. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js.map +1 -0
  461. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts +18 -0
  462. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts.map +1 -0
  463. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js +191 -0
  464. package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js.map +1 -0
  465. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +21 -0
  466. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -0
  467. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +105 -0
  468. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -0
  469. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts +7 -0
  470. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts.map +1 -0
  471. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +57 -0
  472. package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -0
  473. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts +6 -0
  474. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts.map +1 -0
  475. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js +74 -0
  476. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js.map +1 -0
  477. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts +14 -0
  478. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts.map +1 -0
  479. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js +17 -0
  480. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js.map +1 -0
  481. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts +76 -0
  482. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts.map +1 -0
  483. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js +551 -0
  484. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js.map +1 -0
  485. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts +7 -0
  486. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts.map +1 -0
  487. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js +136 -0
  488. package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js.map +1 -0
  489. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +21 -0
  490. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -0
  491. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +281 -0
  492. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -0
  493. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +16 -0
  494. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -0
  495. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +163 -0
  496. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -0
  497. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +5 -0
  498. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -0
  499. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +125 -0
  500. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -0
  501. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts +17 -0
  502. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts.map +1 -0
  503. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js +188 -0
  504. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js.map +1 -0
  505. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts +9 -0
  506. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts.map +1 -0
  507. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js +55 -0
  508. package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js.map +1 -0
  509. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +37 -0
  510. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -0
  511. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +36 -0
  512. package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -0
  513. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts +5 -0
  514. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts.map +1 -0
  515. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js +28 -0
  516. package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js.map +1 -0
  517. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts +7 -0
  518. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts.map +1 -0
  519. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js +108 -0
  520. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js.map +1 -0
  521. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts +7 -0
  522. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -0
  523. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +218 -0
  524. package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -0
  525. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +10 -0
  526. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -0
  527. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +81 -0
  528. package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -0
  529. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts +10 -0
  530. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts.map +1 -0
  531. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js +15 -0
  532. package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js.map +1 -0
  533. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts +8 -0
  534. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts.map +1 -0
  535. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js +83 -0
  536. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js.map +1 -0
  537. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts +9 -0
  538. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts.map +1 -0
  539. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js +144 -0
  540. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js.map +1 -0
  541. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +17 -0
  542. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -0
  543. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +52 -0
  544. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -0
  545. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +11 -0
  546. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -0
  547. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +221 -0
  548. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -0
  549. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +22 -0
  550. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -0
  551. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +155 -0
  552. package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -0
  553. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts +14 -0
  554. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts.map +1 -0
  555. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +213 -0
  556. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -0
  557. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts +14 -0
  558. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -0
  559. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +200 -0
  560. package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -0
  561. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +11 -0
  562. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -0
  563. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +200 -0
  564. package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -0
  565. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts +6 -0
  566. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts.map +1 -0
  567. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js +47 -0
  568. package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js.map +1 -0
  569. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts +15 -0
  570. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts.map +1 -0
  571. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js +132 -0
  572. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js.map +1 -0
  573. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts +13 -0
  574. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts.map +1 -0
  575. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js +336 -0
  576. package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js.map +1 -0
  577. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +10 -0
  578. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -0
  579. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +86 -0
  580. package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -0
  581. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts +8 -0
  582. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts.map +1 -0
  583. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +34 -0
  584. package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -0
  585. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts +4 -0
  586. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts.map +1 -0
  587. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js +170 -0
  588. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js.map +1 -0
  589. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts +33 -0
  590. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts.map +1 -0
  591. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js +108 -0
  592. package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js.map +1 -0
  593. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts +10 -0
  594. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -0
  595. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +38 -0
  596. package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -0
  597. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +10 -0
  598. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -0
  599. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +358 -0
  600. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -0
  601. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +25 -0
  602. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -0
  603. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +78 -0
  604. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -0
  605. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts +9 -0
  606. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts.map +1 -0
  607. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js +56 -0
  608. package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js.map +1 -0
  609. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts +11 -0
  610. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts.map +1 -0
  611. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +106 -0
  612. package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -0
  613. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts +18 -0
  614. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts.map +1 -0
  615. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js +240 -0
  616. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js.map +1 -0
  617. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts +5 -0
  618. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts.map +1 -0
  619. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js +78 -0
  620. package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js.map +1 -0
  621. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts +42 -0
  622. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -0
  623. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +117 -0
  624. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -0
  625. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts +11 -0
  626. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -0
  627. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +111 -0
  628. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -0
  629. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +16 -0
  630. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -0
  631. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +455 -0
  632. package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -0
  633. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts +26 -0
  634. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts.map +1 -0
  635. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js +22 -0
  636. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js.map +1 -0
  637. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts +12 -0
  638. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts.map +1 -0
  639. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +123 -0
  640. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -0
  641. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +16 -0
  642. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -0
  643. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +99 -0
  644. package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -0
  645. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +106 -0
  646. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -0
  647. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +6 -0
  648. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js.map +1 -0
  649. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +14 -0
  650. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts.map +1 -0
  651. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +21 -0
  652. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js.map +1 -0
  653. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +9 -0
  654. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts.map +1 -0
  655. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +22 -0
  656. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -0
  657. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +22 -0
  658. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -0
  659. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +13 -0
  660. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -0
  661. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts +21 -0
  662. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -0
  663. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +190 -0
  664. package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -0
  665. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts +10 -0
  666. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts.map +1 -0
  667. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +438 -0
  668. package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -0
  669. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts +8 -0
  670. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts.map +1 -0
  671. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +69 -0
  672. package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -0
  673. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts +6 -0
  674. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts.map +1 -0
  675. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js +62 -0
  676. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js.map +1 -0
  677. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts +5 -0
  678. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts.map +1 -0
  679. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js +17 -0
  680. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js.map +1 -0
  681. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts +7 -0
  682. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts.map +1 -0
  683. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js +67 -0
  684. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js.map +1 -0
  685. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts +12 -0
  686. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts.map +1 -0
  687. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +198 -0
  688. package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -0
  689. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +15 -0
  690. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -0
  691. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +111 -0
  692. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -0
  693. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts +9 -0
  694. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts.map +1 -0
  695. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +161 -0
  696. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -0
  697. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +6 -0
  698. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts.map +1 -0
  699. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js +31 -0
  700. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js.map +1 -0
  701. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +9 -0
  702. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -0
  703. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +103 -0
  704. package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -0
  705. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts +49 -0
  706. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts.map +1 -0
  707. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js +190 -0
  708. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js.map +1 -0
  709. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts +9 -0
  710. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts.map +1 -0
  711. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +44 -0
  712. package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -0
  713. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts +6 -0
  714. package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts.map +1 -0
  715. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js +6 -0
  716. package/node_modules/@xrkseek/server-http/dist/dsh-compat.js.map +1 -0
  717. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +14 -0
  718. package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -0
  719. package/node_modules/@xrkseek/server-http/dist/host-wire.js +15 -0
  720. package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -0
  721. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts +12 -0
  722. package/node_modules/@xrkseek/server-http/dist/http-json.d.ts.map +1 -0
  723. package/node_modules/@xrkseek/server-http/dist/http-json.js +40 -0
  724. package/node_modules/@xrkseek/server-http/dist/http-json.js.map +1 -0
  725. package/node_modules/@xrkseek/server-http/dist/index.d.ts +12 -1
  726. package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
  727. package/node_modules/@xrkseek/server-http/dist/index.js +12 -1
  728. package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
  729. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts +19 -0
  730. package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts.map +1 -0
  731. package/node_modules/@xrkseek/server-http/dist/public-routes.js +34 -0
  732. package/node_modules/@xrkseek/server-http/dist/public-routes.js.map +1 -0
  733. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +13 -0
  734. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -0
  735. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +58 -0
  736. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -0
  737. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +16 -0
  738. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -0
  739. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +49 -0
  740. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -0
  741. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts +35 -0
  742. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -0
  743. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +103 -0
  744. package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -0
  745. package/node_modules/@xrkseek/server-http/package.json +2 -1
  746. package/node_modules/@xrkseek/server-loader/dist/host.d.ts +6 -0
  747. package/node_modules/@xrkseek/server-loader/dist/host.d.ts.map +1 -0
  748. package/node_modules/@xrkseek/server-loader/dist/host.js +11 -0
  749. package/node_modules/@xrkseek/server-loader/dist/host.js.map +1 -0
  750. package/node_modules/@xrkseek/server-loader/dist/index.d.ts +2 -1
  751. package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
  752. package/node_modules/@xrkseek/server-loader/dist/index.js +1 -0
  753. package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
  754. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -0
  755. package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
  756. package/node_modules/@xrkseek/server-loader/dist/kinds.js +5 -0
  757. package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
  758. package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
  759. package/node_modules/@xrkseek/server-loader/dist/load.js +5 -0
  760. package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
  761. package/node_modules/@xrkseek/server-loader/dist/types.d.ts +40 -0
  762. package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
  763. package/node_modules/@xrkseek/xrk-file-reference/README.i18n.yaml +6 -0
  764. package/node_modules/@xrkseek/xrk-file-reference/README.md +22 -0
  765. package/node_modules/@xrkseek/xrk-file-reference/README.zh.md +22 -0
  766. package/node_modules/@xrkseek/xrk-file-reference/dist/grammar.d.ts +33 -0
  767. package/node_modules/@xrkseek/xrk-file-reference/dist/grammar.d.ts.map +1 -0
  768. package/node_modules/@xrkseek/xrk-file-reference/dist/grammar.js +43 -0
  769. package/node_modules/@xrkseek/xrk-file-reference/dist/grammar.js.map +1 -0
  770. package/node_modules/@xrkseek/xrk-file-reference/dist/types.d.ts +13 -0
  771. package/node_modules/@xrkseek/xrk-file-reference/dist/types.d.ts.map +1 -0
  772. package/node_modules/@xrkseek/xrk-file-reference/dist/types.js +7 -0
  773. package/node_modules/@xrkseek/xrk-file-reference/dist/types.js.map +1 -0
  774. package/node_modules/@xrkseek/xrk-file-reference/package.json +31 -0
  775. package/node_modules/@xrkseek/xrk-file-reference-local/README.i18n.yaml +6 -0
  776. package/node_modules/@xrkseek/xrk-file-reference-local/README.md +45 -0
  777. package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +45 -0
  778. package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.d.ts +52 -0
  779. package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.d.ts.map +1 -0
  780. package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.js +258 -0
  781. package/node_modules/@xrkseek/xrk-file-reference-local/dist/search.js.map +1 -0
  782. package/node_modules/@xrkseek/xrk-file-reference-local/package.json +29 -0
  783. package/node_modules/@xrkseek/xrk-session-reference/README.i18n.yaml +6 -0
  784. package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -0
  785. package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -0
  786. package/node_modules/@xrkseek/xrk-session-reference/dist/config.d.ts +25 -0
  787. package/node_modules/@xrkseek/xrk-session-reference/dist/config.d.ts.map +1 -0
  788. package/node_modules/@xrkseek/xrk-session-reference/dist/config.js +18 -0
  789. package/node_modules/@xrkseek/xrk-session-reference/dist/config.js.map +1 -0
  790. package/node_modules/@xrkseek/xrk-session-reference/dist/types.d.ts +70 -0
  791. package/node_modules/@xrkseek/xrk-session-reference/dist/types.d.ts.map +1 -0
  792. package/node_modules/@xrkseek/xrk-session-reference/dist/types.js +11 -0
  793. package/node_modules/@xrkseek/xrk-session-reference/dist/types.js.map +1 -0
  794. package/node_modules/@xrkseek/xrk-session-reference/dist/uri.d.ts +40 -0
  795. package/node_modules/@xrkseek/xrk-session-reference/dist/uri.d.ts.map +1 -0
  796. package/node_modules/@xrkseek/xrk-session-reference/dist/uri.js +81 -0
  797. package/node_modules/@xrkseek/xrk-session-reference/dist/uri.js.map +1 -0
  798. package/node_modules/@xrkseek/xrk-session-reference/package.json +39 -0
  799. package/node_modules/detect-libc/LICENSE +201 -0
  800. package/node_modules/detect-libc/README.md +163 -0
  801. package/node_modules/detect-libc/index.d.ts +14 -0
  802. package/node_modules/detect-libc/lib/detect-libc.js +313 -0
  803. package/node_modules/detect-libc/lib/elf.js +39 -0
  804. package/node_modules/detect-libc/lib/filesystem.js +51 -0
  805. package/node_modules/detect-libc/lib/process.js +24 -0
  806. package/node_modules/detect-libc/package.json +44 -0
  807. package/node_modules/semver/LICENSE +15 -0
  808. package/node_modules/semver/README.md +680 -0
  809. package/node_modules/semver/bin/semver.js +195 -0
  810. package/node_modules/semver/classes/comparator.js +143 -0
  811. package/node_modules/semver/classes/index.js +7 -0
  812. package/node_modules/semver/classes/range.js +577 -0
  813. package/node_modules/semver/classes/semver.js +350 -0
  814. package/node_modules/semver/functions/clean.js +8 -0
  815. package/node_modules/semver/functions/cmp.js +54 -0
  816. package/node_modules/semver/functions/coerce.js +62 -0
  817. package/node_modules/semver/functions/compare-build.js +9 -0
  818. package/node_modules/semver/functions/compare-loose.js +5 -0
  819. package/node_modules/semver/functions/compare.js +7 -0
  820. package/node_modules/semver/functions/diff.js +60 -0
  821. package/node_modules/semver/functions/eq.js +5 -0
  822. package/node_modules/semver/functions/gt.js +5 -0
  823. package/node_modules/semver/functions/gte.js +5 -0
  824. package/node_modules/semver/functions/inc.js +21 -0
  825. package/node_modules/semver/functions/lt.js +5 -0
  826. package/node_modules/semver/functions/lte.js +5 -0
  827. package/node_modules/semver/functions/major.js +5 -0
  828. package/node_modules/semver/functions/minor.js +5 -0
  829. package/node_modules/semver/functions/neq.js +5 -0
  830. package/node_modules/semver/functions/parse.js +18 -0
  831. package/node_modules/semver/functions/patch.js +5 -0
  832. package/node_modules/semver/functions/prerelease.js +8 -0
  833. package/node_modules/semver/functions/rcompare.js +5 -0
  834. package/node_modules/semver/functions/rsort.js +5 -0
  835. package/node_modules/semver/functions/satisfies.js +12 -0
  836. package/node_modules/semver/functions/sort.js +5 -0
  837. package/node_modules/semver/functions/truncate.js +48 -0
  838. package/node_modules/semver/functions/valid.js +8 -0
  839. package/node_modules/semver/index.js +93 -0
  840. package/node_modules/semver/internal/constants.js +37 -0
  841. package/node_modules/semver/internal/debug.js +11 -0
  842. package/node_modules/semver/internal/identifiers.js +29 -0
  843. package/node_modules/semver/internal/lrucache.js +42 -0
  844. package/node_modules/semver/internal/parse-options.js +17 -0
  845. package/node_modules/semver/internal/re.js +223 -0
  846. package/node_modules/semver/package.json +78 -0
  847. package/node_modules/semver/preload.js +4 -0
  848. package/node_modules/semver/range.bnf +17 -0
  849. package/node_modules/semver/ranges/gtr.js +6 -0
  850. package/node_modules/semver/ranges/intersects.js +9 -0
  851. package/node_modules/semver/ranges/ltr.js +6 -0
  852. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  853. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  854. package/node_modules/semver/ranges/min-version.js +63 -0
  855. package/node_modules/semver/ranges/outside.js +82 -0
  856. package/node_modules/semver/ranges/simplify.js +49 -0
  857. package/node_modules/semver/ranges/subset.js +249 -0
  858. package/node_modules/semver/ranges/to-comparators.js +10 -0
  859. package/node_modules/semver/ranges/valid.js +13 -0
  860. package/node_modules/sharp/LICENSE +191 -0
  861. package/node_modules/sharp/README.md +112 -0
  862. package/node_modules/sharp/dist/channel.cjs +177 -0
  863. package/node_modules/sharp/dist/channel.mjs +177 -0
  864. package/node_modules/sharp/dist/colour.cjs +199 -0
  865. package/node_modules/sharp/dist/colour.mjs +199 -0
  866. package/node_modules/sharp/dist/composite.cjs +213 -0
  867. package/node_modules/sharp/dist/composite.mjs +213 -0
  868. package/node_modules/sharp/dist/constructor.cjs +511 -0
  869. package/node_modules/sharp/dist/constructor.mjs +511 -0
  870. package/node_modules/sharp/dist/index.cjs +25 -0
  871. package/node_modules/sharp/dist/index.d.cts +1999 -0
  872. package/node_modules/sharp/dist/index.d.mts +2046 -0
  873. package/node_modules/sharp/dist/index.mjs +25 -0
  874. package/node_modules/sharp/dist/input.cjs +814 -0
  875. package/node_modules/sharp/dist/input.mjs +814 -0
  876. package/node_modules/sharp/dist/is.cjs +143 -0
  877. package/node_modules/sharp/dist/is.mjs +143 -0
  878. package/node_modules/sharp/dist/libvips.cjs +212 -0
  879. package/node_modules/sharp/dist/libvips.mjs +212 -0
  880. package/node_modules/sharp/dist/operation.cjs +998 -0
  881. package/node_modules/sharp/dist/operation.mjs +998 -0
  882. package/node_modules/sharp/dist/output.cjs +1788 -0
  883. package/node_modules/sharp/dist/output.mjs +1788 -0
  884. package/node_modules/sharp/dist/resize.cjs +617 -0
  885. package/node_modules/sharp/dist/resize.mjs +617 -0
  886. package/node_modules/sharp/dist/sharp.cjs +174 -0
  887. package/node_modules/sharp/dist/sharp.mjs +174 -0
  888. package/node_modules/sharp/dist/utility.cjs +301 -0
  889. package/node_modules/sharp/dist/utility.mjs +301 -0
  890. package/node_modules/sharp/install/build.js +38 -0
  891. package/node_modules/sharp/lib/index.d.ts +1999 -0
  892. package/node_modules/sharp/package.json +227 -0
  893. package/node_modules/sharp/src/binding.gyp +303 -0
  894. package/node_modules/sharp/src/common.cc +1183 -0
  895. package/node_modules/sharp/src/common.h +421 -0
  896. package/node_modules/sharp/src/metadata.cc +404 -0
  897. package/node_modules/sharp/src/metadata.h +95 -0
  898. package/node_modules/sharp/src/operations.cc +516 -0
  899. package/node_modules/sharp/src/operations.h +137 -0
  900. package/node_modules/sharp/src/pipeline.cc +1948 -0
  901. package/node_modules/sharp/src/pipeline.h +422 -0
  902. package/node_modules/sharp/src/sharp.cc +43 -0
  903. package/node_modules/sharp/src/stats.cc +186 -0
  904. package/node_modules/sharp/src/stats.h +62 -0
  905. package/node_modules/sharp/src/utilities.cc +289 -0
  906. package/node_modules/sharp/src/utilities.h +22 -0
  907. package/node_modules/undici-types/LICENSE +21 -0
  908. package/node_modules/undici-types/README.md +6 -0
  909. package/node_modules/undici-types/agent.d.ts +32 -0
  910. package/node_modules/undici-types/api.d.ts +43 -0
  911. package/node_modules/undici-types/balanced-pool.d.ts +30 -0
  912. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  913. package/node_modules/undici-types/cache.d.ts +36 -0
  914. package/node_modules/undici-types/client-stats.d.ts +15 -0
  915. package/node_modules/undici-types/client.d.ts +108 -0
  916. package/node_modules/undici-types/connector.d.ts +34 -0
  917. package/node_modules/undici-types/content-type.d.ts +21 -0
  918. package/node_modules/undici-types/cookies.d.ts +30 -0
  919. package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  920. package/node_modules/undici-types/dispatcher.d.ts +276 -0
  921. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  922. package/node_modules/undici-types/errors.d.ts +161 -0
  923. package/node_modules/undici-types/eventsource.d.ts +66 -0
  924. package/node_modules/undici-types/fetch.d.ts +211 -0
  925. package/node_modules/undici-types/formdata.d.ts +108 -0
  926. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  927. package/node_modules/undici-types/global-origin.d.ts +7 -0
  928. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  929. package/node_modules/undici-types/handlers.d.ts +15 -0
  930. package/node_modules/undici-types/header.d.ts +160 -0
  931. package/node_modules/undici-types/index.d.ts +88 -0
  932. package/node_modules/undici-types/interceptors.d.ts +73 -0
  933. package/node_modules/undici-types/mock-agent.d.ts +68 -0
  934. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  935. package/node_modules/undici-types/mock-client.d.ts +27 -0
  936. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  937. package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  938. package/node_modules/undici-types/mock-pool.d.ts +27 -0
  939. package/node_modules/undici-types/package.json +55 -0
  940. package/node_modules/undici-types/patch.d.ts +29 -0
  941. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  942. package/node_modules/undici-types/pool.d.ts +41 -0
  943. package/node_modules/undici-types/proxy-agent.d.ts +29 -0
  944. package/node_modules/undici-types/readable.d.ts +68 -0
  945. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  946. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  947. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  948. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  949. package/node_modules/undici-types/util.d.ts +18 -0
  950. package/node_modules/undici-types/utility.d.ts +7 -0
  951. package/node_modules/undici-types/webidl.d.ts +341 -0
  952. package/node_modules/undici-types/websocket.d.ts +186 -0
  953. package/package.json +23 -1
  954. package/product-web/assets/{index-CSGf6Qzd.css → index-C0u-TtQQ.css} +1 -1
  955. package/product-web/assets/index-CHKZdZNt.js +112 -0
  956. package/product-web/assets/index-CHKZdZNt.js.map +1 -0
  957. package/product-web/assets/langs/{php-DY2VakOf.js → php-9bx0az3O.js} +2 -2
  958. package/product-web/assets/langs/{php-DY2VakOf.js.map → php-9bx0az3O.js.map} +1 -1
  959. package/product-web/assets/langs/{ruby-hwtoiFmS.js → ruby-HDLHRjSL.js} +2 -2
  960. package/product-web/assets/langs/{ruby-hwtoiFmS.js.map → ruby-HDLHRjSL.js.map} +1 -1
  961. package/product-web/assets/{vendor-CldRVjca.js → vendor-CeMKrCZm.js} +36 -35
  962. package/product-web/assets/vendor-CeMKrCZm.js.map +1 -0
  963. package/product-web/boot.json +20 -1
  964. package/product-web/index.html +3 -3
  965. package/product-web/plugins/@xrkseek/client-connection/client.js +7 -164
  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 +8 -56
  969. package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +34 -34
  970. package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +782 -0
  971. package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
  972. package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +967 -563
  973. package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +4 -4
  974. package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +27 -27
  975. package/product-web/plugins/@xrkseek/client-ui-goal/client.js +7 -7
  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 +2 -2
  979. package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +4 -4
  980. package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +18 -18
  981. package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +2 -2
  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 +13 -13
  985. package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +58 -58
  986. package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +10 -10
  987. package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +42 -42
  988. package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +13 -13
  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 +1 -1
  992. package/product-web/plugins/@xrkseek/client-ui-tool/client.js +37 -37
  993. package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +147 -168
  994. package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +27 -27
  995. package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +16 -16
  996. package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +56 -56
  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,50 @@
1
+ # `@xrkseek/xrk-session-reference`
2
+
3
+ English | [中文](README.zh.md)
4
+
5
+ `ctx.sessionReferenceResolver` prepares bounded, read-only snapshots of other sessions as sourced model-facing context. It consumes `ctx.sessionQuery` and the backend-independent compact checkpoint marker; SQLite FTS is not required. Hosts that support cross-session mentions may opt into the service.
6
+
7
+ ## Public API
8
+
9
+ - `listCandidates(agent, query?, limit?)` lists sessions other than `agent.id`, filters case-insensitively by id, cwd, or the latest log-backed title, and ranks same-cwd, cwd-less, then other-cwd records while preserving `listSessions()` creation order within each group. Each selected candidate uses that title as the mention label and falls back to the session id when the title is absent or unreadable; message bodies are not searched. The unary `sessionReferenceResolver/candidates` Remote method serves the same discovery under the configured candidate limit and attaches each candidate's canonical mention, so browser consumers call `ctx.remote.sessionReferenceResolver.candidates` without an API Proxy route.
10
+ - `prepare(agent, content, references, signal?)` preserves first-mention order, deduplicates ids, rejects self-reference and more than the configured distinct-source limit, reads every source in parallel, and returns detached content plus zero or one aggregated, identified `UserMessage` context. The service calls it for canonical mentions in direct user messages after downstream `agent/pre-step` listeners accept the step.
11
+ - `encodeSessionReferenceUri()` and `decodeSessionReferenceUri()` implement `dsh-session:<base64url(JSON.stringify(sessionId))>` so every JavaScript string id round-trips exactly. `formatSessionReferenceMention()` emits `@[label](uri)`, and `parseSessionReferenceText()` replaces Markdown mentions or bare canonical URIs with readable `@label` text while returning structured references. Explicit Markdown mentions reject every malformed URI; bare text is considered a reference only when a non-empty base64url-shaped payload follows the scheme, and a matching noncanonical candidate still fails. Empty or punctuation-only scheme mentions remain ordinary discussion text.
12
+
13
+ ## Snapshot semantics
14
+
15
+ Preparation calls `ctx.sessionQuery.readSurface()` once per distinct source when the target message reaches `agent/pre-step`. A queued message therefore captures the source state at model-step entry, and the resulting context is immutable after that point. Projection keeps only direct-user `user/message`, assistant text, and `user/message` checkpoints carrying the canonical `dsh-compaction` source marker from the folded current surface. Separately sourced session-reference messages are injected context and are excluded, preventing recursive snapshot propagation. Shadowed pre-compaction events, tools, reasoning, other plugin-generated user messages except marked compact checkpoints, and unfinished assistant chunks are also excluded. A compacted source therefore contributes its latest checkpoint plus retained later conversation, not restored shadowed text.
16
+
17
+ The context source is `{ kind: 'session-reference', version: 1, references }`; each reference records its source id and label, capture seq, compact presence, retained/omitted message counts, omitted UTF-8 bytes, and truncation state. The service's outer `agent/pre-step` listener post-processes accepted direct user messages, preserves their message ids, and inserts each snapshot immediately after the message that cited it. Queue edits and queue-to-steer relocation need no reference-specific handling because parsing occurs after the final inbox claim. Invalid mentions, failed reads, cancellation, and budget failures end that turn before its messages enter model-visible history. The target log records the readable direct `user/message` followed by its sourced context `user/message`; source mutation after capture cannot change target replay.
18
+
19
+ ## Configuration
20
+
21
+ | Key | Default | Contract |
22
+ |---|---:|---|
23
+ | `maxReferences` | `3` | Maximum distinct source sessions in one prepared message; must be at most `3`. |
24
+ | `candidateLimit` | `50` | Default candidate count returned to a host. |
25
+ | `maxReferenceBytes` | `65536` | Maximum serialized JSON bytes for one reference object. |
26
+
27
+ Retention applies `maxReferenceBytes` independently to each source, keeps compact checkpoints and the newest message before dropping older non-checkpoint units, and uses `dsh-output-retention` head/tail truncation with an exact UTF-8 omission notice. If one source's fixed serialized fields cannot fit, preparation fails with `SESSION_REFERENCE_BUDGET_EXCEEDED` instead of returning a partial context.
28
+
29
+ ## Model Experience
30
+
31
+ ### Referenced session background
32
+
33
+ #### What the model sees
34
+
35
+ The model sees two consecutive user-role messages: the current message with its readable `@label`, then the `## Referenced sessions` untrusted snapshot. The warning forbids following instructions, permission claims, or tool requests from the snapshot unless the current user explicitly repeats them. Labels, cwd values, ids, and conversation text are serialized as JSON inside `<referenced-sessions>` tags; every data `<` is emitted as the lossless JSON escape `\u003c`, so source text cannot spell a framing tag.
36
+
37
+ #### Token effect
38
+
39
+ Each referenced message adds the fixed warning plus up to three serialized snapshots, each independently bounded by `maxReferenceBytes`. The exact snapshot remains in target history until target compaction shadows or summarizes it; source-session changes add no further tokens.
40
+
41
+ #### KV Cache effect
42
+
43
+ The request and snapshot are consecutive append-only target messages and preserve earlier cacheable history. Different references or source capture contents change the new suffix only; later target compaction may invalidate reuse from its replacement boundary.
44
+
45
+ ## Known Limitations and Deferred Work
46
+
47
+ - **No body discovery** — candidate queries inspect folded titles but do not search message bodies. A non-empty query may inspect every visible persisted session log through the session-query service's bounded, cancellable batch; a dedicated title index may replace that discovery path without changing URI, snapshot, or persistence contracts.
48
+ - **Trusted caller boundary** — the service assumes its host is authorized to read every session exposed by `ctx.sessionQuery`; it is not a model-facing search tool.
49
+ - **Text projection only** — non-text user and assistant blocks are not propagated across sessions.
50
+ - **No live link** — references are snapshots, not forks, resumes, subscriptions, or source-session mutations.
@@ -0,0 +1,50 @@
1
+ # `@xrkseek/xrk-session-reference`
2
+
3
+ [English](README.md) | 中文
4
+
5
+ `ctx.sessionReferenceResolver` 会把其他会话准备为有界、只读快照,作为带来源信息、面向模型的上下文。它消费 `ctx.sessionQuery` 与后端无关的 compact 检查点标记;不需要 SQLite FTS。支持跨会话 mention 的宿主可以主动启用该服务。
6
+
7
+ ## 公开 API
8
+
9
+ - `listCandidates(agent, query?, limit?)` 会列出 `agent.id` 之外的会话,按 id、cwd 或以日志为依据的最新标题进行不区分大小写的筛选,再按同 cwd、无 cwd、其他 cwd 记录排序,同时保持每组内的 `listSessions()` 创建顺序。每个已选候选会话都使用该标题作为 mention label;标题不存在或无法读取时回退到会话 id。不搜索消息主体。一元 `sessionReferenceResolver/candidates` Remote 方法在配置的候选上限内提供同一发现能力,并为每个候选附上规范 mention,浏览器消费方直接调用 `ctx.remote.sessionReferenceResolver.candidates`,无需 API Proxy 路由。
10
+ - `prepare(agent, content, references, signal?)` 会保留首次 mention 顺序、对 id 去重,并拒绝自引用或超过已配置不同源上限的情况。它会并行读取所有源,返回与输入脱离的内容,外加零个或一个聚合且带标识的 `UserMessage` 上下文。下游 `agent/pre-step` 监听器接受步骤后,该服务会针对直接用户消息中的规范 mention 调用此方法。
11
+ - `encodeSessionReferenceUri()` 与 `decodeSessionReferenceUri()` 实现 `dsh-session:<base64url(JSON.stringify(sessionId))>`,因此每个 JavaScript 字符串 id 都能精确往返。`formatSessionReferenceMention()` 发出 `@[label](uri)`,`parseSessionReferenceText()` 将 Markdown mention 或裸规范 URI 替换为可读的 `@label` 文本,并返回结构化引用。解析器会拒绝显式 Markdown mention 中任何格式错误的 URI;只当 scheme 后跟非空、符合 base64url 形状的 payload 时,裸文本才被视为引用,匹配但非规范的候选项仍会失败。空 scheme mention 或只含标点符号的 scheme mention 仍是普通讨论文本。
12
+
13
+ ## 快照语义
14
+
15
+ 目标消息到达 `agent/pre-step` 时,准备阶段会对每个不同源调用一次 `ctx.sessionQuery.readSurface()`。因此,queued 消息在进入模型步骤时捕获源状态,此后生成的上下文保持不变。它仅投影折叠后当前表层中的用户直接发出的 `user/message`、assistant 文本,以及 `user/message` 检查点;这类检查点携带规范 `dsh-compaction` 源标记。带独立来源的 session-reference 消息属于注入上下文,会被排除以防止快照递归传播。已遮蔽的压缩(compaction)前事件、工具、推理(reasoning)、除已标记 compact 检查点外的其他插件生成 user 消息,以及未完成的 assistant 分片也都会被排除。因此,已压缩源只会提供最新检查点及其后保留的会话内容,不会还原已遮蔽的文本。
16
+
17
+ 上下文源为 `{ kind: 'session-reference', version: 1, references }`;每条引用会记录其源 id 与 label、捕获 seq、是否存在 compact、已保留/已省略消息数、已省略 UTF-8 字节数与截断状态。该服务的外层 `agent/pre-step` 监听器会处理已接受的直接用户消息,保留其消息 id,并把每份快照插入到引用它的消息紧后。解析发生在最终领取收件箱消息之后,因此队列编辑和从 queue 移动到 steer 不需要引用专用处理。无效 mention、读取失败、取消和预算失败会在消息进入面向模型的历史之前结束该轮次。目标日志会先记录可读的直接 `user/message`,再记录其带来源信息的上下文 `user/message`;捕获后的源变更无法改变目标回放。
18
+
19
+ ## 配置
20
+
21
+ | Key | 默认值 | 约定 |
22
+ |---|---:|---|
23
+ | `maxReferences` | `3` | 一条已准备消息中不同源会话的最大数量;必须不大于 `3`。 |
24
+ | `candidateLimit` | `50` | 返回给宿主的默认候选数量。 |
25
+ | `maxReferenceBytes` | `65536` | 一个引用对象的最大序列化 JSON 字节数。 |
26
+
27
+ 保留会对每个源独立应用 `maxReferenceBytes`,保留 compact 检查点与最新消息,再丢弃较旧的非检查点单元,并使用 `dsh-output-retention` 头部/尾部截断和精确 UTF-8 省略通知。如果某个源的固定序列化字段本身就超出限额,准备会以 `SESSION_REFERENCE_BUDGET_EXCEEDED` 失败,而不返回部分上下文。
28
+
29
+ ## 模型体验
30
+
31
+ ### 引用会话背景
32
+
33
+ #### 模型看到的内容
34
+
35
+ 模型会看到两条连续的 user 角色消息:先是带可读 `@label` 的当前消息,再是 `## Referenced sessions` 不受信任快照。警告禁止遵循快照中的指令、权限声明或工具请求,除非当前用户明确重复这些内容。标签、cwd 值、id 与会话文本会作为 JSON 在 `<referenced-sessions>` 标签中序列化;数据中的每个 `<` 都会以无损 JSON 转义 `\u003c` 的形式发出,因此源文本无法拼出定界标签。
36
+
37
+ #### Token 影响
38
+
39
+ 每条包含引用的消息都会添加固定警告和最多三个序列化快照,每个快照都受 `maxReferenceBytes` 独立限制。精确快照会保留在目标历史中,直到目标压缩遮蔽或摘要它;源会话变更不会添加更多 token。
40
+
41
+ #### KV Cache 影响
42
+
43
+ 请求与快照是两条连续、仅追加的目标消息,并保留较早的可缓存历史。不同引用或源捕获内容只改变新后缀;后续目标压缩可能使从替换边界起的复用失效。
44
+
45
+ ## 已知限制与暂缓事项
46
+
47
+ - **不支持消息正文检索**:候选查询会检查折叠后的标题,但不搜索消息主体。非空查询可能通过 session-query 服务有界、可取消的批处理检查每个可见的持久化会话日志;专用标题索引未来可以替换这条发现路径,而不改变 URI、快照或持久化约定。
48
+ - **受信任调用方边界**:该服务假设宿主有权读取 `ctx.sessionQuery` 公开的每个会话;它不是面向模型的搜索工具。
49
+ - **只投影文本**:不会在会话间传播非文本 user 与 assistant 块。
50
+ - **没有实时链接**:引用是快照,不是 fork、恢复、订阅或源会话变更。
@@ -0,0 +1,25 @@
1
+ /** Configuration and stable diagnostics for session references. */
2
+ /** Hard maximum references accepted by one message. */
3
+ export declare const MAX_REFERENCES = 3;
4
+ /** Default number of discovery candidates returned to a host. */
5
+ export declare const DEFAULT_CANDIDATE_LIMIT = 50;
6
+ /** Default UTF-8 budget for one rendered reference JSON object. */
7
+ export declare const DEFAULT_MAX_REFERENCE_BYTES = 65536;
8
+ /** Session-reference service configuration. */
9
+ export interface Config {
10
+ /** Maximum distinct source sessions referenced by one message, from one to three. */
11
+ maxReferences?: number;
12
+ /** Default host candidate-list limit. */
13
+ candidateLimit?: number;
14
+ /** Maximum rendered UTF-8 bytes for one source snapshot. */
15
+ maxReferenceBytes?: number;
16
+ }
17
+ /** Stable failure codes exposed to host adapters. */
18
+ export type SessionReferenceErrorCode = 'SESSION_REFERENCE_INVALID_CONFIG' | 'SESSION_REFERENCE_INVALID_REFERENCE' | 'SESSION_REFERENCE_SELF_REFERENCE' | 'SESSION_REFERENCE_TOO_MANY' | 'SESSION_REFERENCE_READ_FAILED' | 'SESSION_REFERENCE_BUDGET_EXCEEDED' | 'SESSION_REFERENCE_CANCELLED';
19
+ /** Typed session-reference failure suitable for host protocol error mapping. */
20
+ export declare class SessionReferenceError extends Error {
21
+ readonly code: SessionReferenceErrorCode;
22
+ /** @param message Human-readable diagnosis. @param code Stable routing code. @param options Optional cause. */
23
+ constructor(message: string, code: SessionReferenceErrorCode, options?: ErrorOptions);
24
+ }
25
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAEnE,uDAAuD;AACvD,eAAO,MAAM,cAAc,IAAI,CAAA;AAC/B,iEAAiE;AACjE,eAAO,MAAM,uBAAuB,KAAK,CAAA;AACzC,mEAAmE;AACnE,eAAO,MAAM,2BAA2B,QAAS,CAAA;AAEjD,+CAA+C;AAC/C,MAAM,WAAW,MAAM;IACrB,qFAAqF;IACrF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,4DAA4D;IAC5D,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,qDAAqD;AACrD,MAAM,MAAM,yBAAyB,GACjC,kCAAkC,GAClC,qCAAqC,GACrC,kCAAkC,GAClC,4BAA4B,GAC5B,+BAA+B,GAC/B,mCAAmC,GACnC,6BAA6B,CAAA;AAEjC,gFAAgF;AAChF,qBAAa,qBAAsB,SAAQ,KAAK;IAI5C,QAAQ,CAAC,IAAI,EAAE,yBAAyB;IAH1C,+GAA+G;gBAE7G,OAAO,EAAE,MAAM,EACN,IAAI,EAAE,yBAAyB,EACxC,OAAO,CAAC,EAAE,YAAY;CAKzB"}
@@ -0,0 +1,18 @@
1
+ /** Configuration and stable diagnostics for session references. */
2
+ /** Hard maximum references accepted by one message. */
3
+ export const MAX_REFERENCES = 3;
4
+ /** Default number of discovery candidates returned to a host. */
5
+ export const DEFAULT_CANDIDATE_LIMIT = 50;
6
+ /** Default UTF-8 budget for one rendered reference JSON object. */
7
+ export const DEFAULT_MAX_REFERENCE_BYTES = 65_536;
8
+ /** Typed session-reference failure suitable for host protocol error mapping. */
9
+ export class SessionReferenceError extends Error {
10
+ code;
11
+ /** @param message Human-readable diagnosis. @param code Stable routing code. @param options Optional cause. */
12
+ constructor(message, code, options) {
13
+ super(message, options);
14
+ this.code = code;
15
+ this.name = 'SessionReferenceError';
16
+ }
17
+ }
18
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAEnE,uDAAuD;AACvD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAA;AAC/B,iEAAiE;AACjE,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAA;AACzC,mEAAmE;AACnE,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAA;AAsBjD,gFAAgF;AAChF,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAInC;IAHX,+GAA+G;IAC/G,YACE,OAAe,EACN,IAA+B,EACxC,OAAsB;QAEtB,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QAHd,SAAI,GAAJ,IAAI,CAA2B;QAIxC,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAA;IACrC,CAAC;CACF"}
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Public session-reference request, candidate, and preparation records.
3
+ * Face discovery imports stay on type-only subpaths; Cordis prepare lives in
4
+ * `index.ts` (not wired on XRK Host main path).
5
+ * @module @xrkseek/xrk-session-reference/types
6
+ */
7
+ import type { ContentBlock, UserMessage } from '@xrkseek/protocol';
8
+ /** Opaque session id (Face path; Cordis prepare uses branded ids when wired). */
9
+ export type SessionId = string & {
10
+ readonly __xrkSessionId?: unique symbol;
11
+ };
12
+ /** Brand a raw session id string for URI codec helpers. */
13
+ export declare function SessionId(id: string): SessionId;
14
+ /** Durable source session, cited event seqs, and snapshot facts for prepared cross-session context. */
15
+ export interface SessionReferenceSource {
16
+ kind: 'session-reference';
17
+ /** Material lifted out of another session's log (`recall` context form). */
18
+ form: 'recall';
19
+ version: 1;
20
+ references: {
21
+ sessionId: string;
22
+ label: string;
23
+ capturedThroughSeq: number | null;
24
+ compacted: boolean;
25
+ originalMessages: number;
26
+ retainedMessages: number;
27
+ omittedMessages: number;
28
+ omittedBytes: number;
29
+ truncated: boolean;
30
+ inputIndex: number;
31
+ }[];
32
+ }
33
+ /** One source session selected by a host. */
34
+ export interface SessionReferenceInput {
35
+ /** Opaque source session identity. */
36
+ sessionId: SessionId;
37
+ /** Optional user-facing mention label. */
38
+ label?: string;
39
+ }
40
+ /** One host-facing candidate from exact session metadata. */
41
+ export interface SessionReferenceCandidate {
42
+ /** Opaque source session identity. */
43
+ sessionId: SessionId;
44
+ /** Latest log-backed title, falling back to the opaque session id. */
45
+ label: string;
46
+ /** Source session working directory, when recorded. */
47
+ cwd?: string;
48
+ /** Source session creation time in Unix epoch milliseconds. */
49
+ createdAt: number;
50
+ }
51
+ /** One discovery candidate carrying its canonical prompt mention. */
52
+ export interface SessionReferenceMentionCandidate extends SessionReferenceCandidate {
53
+ /** Canonical `@[label](dsh-session:…)` mention serialized into the prompt draft. */
54
+ mention: string;
55
+ }
56
+ /** Direct message content and optional referenced-session context. */
57
+ export interface PreparedReferencedMessage {
58
+ /** Readable message content after host mention tokens are removed. */
59
+ content: ContentBlock[];
60
+ /** Aggregated untrusted snapshot, absent when the message has no references. */
61
+ additionalContext?: UserMessage;
62
+ }
63
+ /** Text-only projected conversation item. */
64
+ export interface ReferencedConversationItem {
65
+ /** Original message role. */
66
+ role: 'user' | 'assistant';
67
+ /** Visible text retained from that message. */
68
+ text: string;
69
+ }
70
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAElE,iFAAiF;AACjF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,MAAM,CAAA;CAAE,CAAA;AAE5E,2DAA2D;AAC3D,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAE/C;AAED,uGAAuG;AACvG,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,mBAAmB,CAAA;IACzB,4EAA4E;IAC5E,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,CAAC,CAAA;IACV,UAAU,EAAE;QACV,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;QACjC,SAAS,EAAE,OAAO,CAAA;QAClB,gBAAgB,EAAE,MAAM,CAAA;QACxB,gBAAgB,EAAE,MAAM,CAAA;QACxB,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,OAAO,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;KACnB,EAAE,CAAA;CACJ;AAED,6CAA6C;AAC7C,MAAM,WAAW,qBAAqB;IACpC,sCAAsC;IACtC,SAAS,EAAE,SAAS,CAAA;IACpB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,6DAA6D;AAC7D,MAAM,WAAW,yBAAyB;IACxC,sCAAsC;IACtC,SAAS,EAAE,SAAS,CAAA;IACpB,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,qEAAqE;AACrE,MAAM,WAAW,gCAAiC,SAAQ,yBAAyB;IACjF,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,sEAAsE;AACtE,MAAM,WAAW,yBAAyB;IACxC,sEAAsE;IACtE,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,WAAW,CAAA;CAChC;AAED,6CAA6C;AAC7C,MAAM,WAAW,0BAA0B;IACzC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;IAC1B,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Public session-reference request, candidate, and preparation records.
3
+ * Face discovery imports stay on type-only subpaths; Cordis prepare lives in
4
+ * `index.ts` (not wired on XRK Host main path).
5
+ * @module @xrkseek/xrk-session-reference/types
6
+ */
7
+ /** Brand a raw session id string for URI codec helpers. */
8
+ export function SessionId(id) {
9
+ return id;
10
+ }
11
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,2DAA2D;AAC3D,MAAM,UAAU,SAAS,CAAC,EAAU;IAClC,OAAO,EAAe,CAAA;AACxB,CAAC"}
@@ -0,0 +1,40 @@
1
+ /** Canonical session URI and inline mention encoding. */
2
+ import { type SessionId as SessionIdType } from './types.js';
3
+ import type { SessionReferenceInput } from './types.js';
4
+ /** URI scheme reserved for XRK-Harness session snapshots. */
5
+ export declare const SESSION_REFERENCE_SCHEME = "dsh-session:";
6
+ /**
7
+ * Encode any JavaScript session-id string as a canonical lossless URI.
8
+ * @param sessionId - opaque session id to serialize.
9
+ * @returns canonical `dsh-session:` URI.
10
+ */
11
+ export declare function encodeSessionReferenceUri(sessionId: SessionIdType): string;
12
+ /**
13
+ * Decode and canonicalize one session-reference URI.
14
+ * @param uri - complete canonical URI.
15
+ * @returns decoded session id.
16
+ */
17
+ export declare function decodeSessionReferenceUri(uri: string): SessionIdType;
18
+ /**
19
+ * Render a host-neutral Markdown mention carrying the canonical URI.
20
+ * @param reference - structured id and optional display label.
21
+ * @returns escaped `@[label](uri)` mention.
22
+ */
23
+ export declare function formatSessionReferenceMention(reference: SessionReferenceInput): string;
24
+ /** Result of extracting canonical mentions from plain text. */
25
+ export interface ParsedSessionReferenceText {
26
+ /** Text with opaque tokens replaced by readable `@label` spans. */
27
+ text: string;
28
+ /** Structured references in first-appearance order, before service deduplication. */
29
+ references: SessionReferenceInput[];
30
+ }
31
+ /**
32
+ * Extract Markdown mentions and bare canonical URIs from one text value.
33
+ * Explicit Markdown mentions fail on any malformed URI. Bare text is treated
34
+ * as a reference only when it has a non-empty base64url-shaped payload, then
35
+ * still fails if that candidate is not canonical.
36
+ * @param text - host text to normalize.
37
+ * @returns readable text and structured references in appearance order.
38
+ */
39
+ export declare function parseSessionReferenceText(text: string): ParsedSessionReferenceText;
40
+ //# sourceMappingURL=uri.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../src/uri.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,OAAO,EAAa,KAAK,SAAS,IAAI,aAAa,EAAE,MAAM,YAAY,CAAA;AAEvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAEvD,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,iBAAiB,CAAA;AAEtD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,aAAa,GAAG,MAAM,CAG1E;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAepE;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,qBAAqB,GAAG,MAAM,CAGtF;AAED,+DAA+D;AAC/D,MAAM,WAAW,0BAA0B;IACzC,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAA;IACZ,qFAAqF;IACrF,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,0BAA0B,CAkBlF"}
@@ -0,0 +1,81 @@
1
+ /** Canonical session URI and inline mention encoding. */
2
+ import { SessionId } from './types.js';
3
+ import { SessionReferenceError } from './config.js';
4
+ /** URI scheme reserved for XRK-Harness session snapshots. */
5
+ export const SESSION_REFERENCE_SCHEME = 'dsh-session:';
6
+ /**
7
+ * Encode any JavaScript session-id string as a canonical lossless URI.
8
+ * @param sessionId - opaque session id to serialize.
9
+ * @returns canonical `dsh-session:` URI.
10
+ */
11
+ export function encodeSessionReferenceUri(sessionId) {
12
+ const payload = Buffer.from(JSON.stringify(sessionId), 'utf8').toString('base64url');
13
+ return `${SESSION_REFERENCE_SCHEME}${payload}`;
14
+ }
15
+ /**
16
+ * Decode and canonicalize one session-reference URI.
17
+ * @param uri - complete canonical URI.
18
+ * @returns decoded session id.
19
+ */
20
+ export function decodeSessionReferenceUri(uri) {
21
+ if (!uri.startsWith(SESSION_REFERENCE_SCHEME)) {
22
+ throw invalidUri(uri);
23
+ }
24
+ const payload = uri.slice(SESSION_REFERENCE_SCHEME.length);
25
+ if (!/^[A-Za-z0-9_-]+$/.test(payload))
26
+ throw invalidUri(uri);
27
+ try {
28
+ const parsed = JSON.parse(Buffer.from(payload, 'base64url').toString('utf8'));
29
+ if (typeof parsed !== 'string')
30
+ throw new TypeError('decoded session id is not a string');
31
+ const sessionId = SessionId(parsed);
32
+ if (encodeSessionReferenceUri(sessionId) !== uri)
33
+ throw new TypeError('URI is not canonical');
34
+ return sessionId;
35
+ }
36
+ catch (error) {
37
+ throw invalidUri(uri, error);
38
+ }
39
+ }
40
+ /**
41
+ * Render a host-neutral Markdown mention carrying the canonical URI.
42
+ * @param reference - structured id and optional display label.
43
+ * @returns escaped `@[label](uri)` mention.
44
+ */
45
+ export function formatSessionReferenceMention(reference) {
46
+ const label = escapeLabel(reference.label ?? reference.sessionId);
47
+ return `@[${label}](${encodeSessionReferenceUri(reference.sessionId)})`;
48
+ }
49
+ /**
50
+ * Extract Markdown mentions and bare canonical URIs from one text value.
51
+ * Explicit Markdown mentions fail on any malformed URI. Bare text is treated
52
+ * as a reference only when it has a non-empty base64url-shaped payload, then
53
+ * still fails if that candidate is not canonical.
54
+ * @param text - host text to normalize.
55
+ * @returns readable text and structured references in appearance order.
56
+ */
57
+ export function parseSessionReferenceText(text) {
58
+ const references = [];
59
+ const pattern = /@\[((?:\\.|[^\\\]])*)\]\((dsh-session:[^\s)]*)\)|(dsh-session:[A-Za-z0-9_-]+)/gu;
60
+ const rendered = text.replace(pattern, (_match, rawLabel, markdownUri, bareUri) => {
61
+ const uri = markdownUri ?? bareUri;
62
+ /* v8 ignore next -- the two-alternative regex always captures exactly one URI group. */
63
+ if (uri === undefined)
64
+ throw new SessionReferenceError('session reference URI is missing', 'SESSION_REFERENCE_INVALID_REFERENCE');
65
+ const sessionId = decodeSessionReferenceUri(uri);
66
+ const label = rawLabel === undefined ? sessionId : unescapeLabel(rawLabel);
67
+ references.push({ sessionId, label });
68
+ return `@${label}`;
69
+ });
70
+ return { text: rendered, references };
71
+ }
72
+ function escapeLabel(label) {
73
+ return label.replace(/[\\\]]/gu, match => `\\${match}`);
74
+ }
75
+ function unescapeLabel(label) {
76
+ return label.replace(/\\(.)/gu, '$1');
77
+ }
78
+ function invalidUri(uri, cause) {
79
+ return new SessionReferenceError(`invalid session reference URI ${JSON.stringify(uri)}`, 'SESSION_REFERENCE_INVALID_REFERENCE', cause === undefined ? undefined : { cause });
80
+ }
81
+ //# sourceMappingURL=uri.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uri.js","sourceRoot":"","sources":["../src/uri.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,OAAO,EAAE,SAAS,EAAmC,MAAM,YAAY,CAAA;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAGnD,6DAA6D;AAC7D,MAAM,CAAC,MAAM,wBAAwB,GAAG,cAAc,CAAA;AAEtD;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAAC,SAAwB;IAChE,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;IACpF,OAAO,GAAG,wBAAwB,GAAG,OAAO,EAAE,CAAA;AAChD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAAC,GAAW;IACnD,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,EAAE,CAAC;QAC9C,MAAM,UAAU,CAAC,GAAG,CAAC,CAAA;IACvB,CAAC;IACD,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAA;IAC1D,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,MAAM,UAAU,CAAC,GAAG,CAAC,CAAA;IAC5D,IAAI,CAAC;QACH,MAAM,MAAM,GAAY,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;QACtF,IAAI,OAAO,MAAM,KAAK,QAAQ;YAAE,MAAM,IAAI,SAAS,CAAC,oCAAoC,CAAC,CAAA;QACzF,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,yBAAyB,CAAC,SAAS,CAAC,KAAK,GAAG;YAAE,MAAM,IAAI,SAAS,CAAC,sBAAsB,CAAC,CAAA;QAC7F,OAAO,SAAS,CAAA;IAClB,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACxB,MAAM,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;IAC9B,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAC,SAAgC;IAC5E,MAAM,KAAK,GAAG,WAAW,CAAC,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,SAAS,CAAC,CAAA;IACjE,OAAO,KAAK,KAAK,KAAK,yBAAyB,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,CAAA;AACzE,CAAC;AAUD;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,MAAM,UAAU,GAA4B,EAAE,CAAA;IAC9C,MAAM,OAAO,GAAG,iFAAiF,CAAA;IACjG,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CACrC,MAAM,EACN,QAA4B,EAC5B,WAA+B,EAC/B,OAA2B,EAC3B,EAAE;QACF,MAAM,GAAG,GAAG,WAAW,IAAI,OAAO,CAAA;QAClC,wFAAwF;QACxF,IAAI,GAAG,KAAK,SAAS;YAAE,MAAM,IAAI,qBAAqB,CAAC,kCAAkC,EAAE,qCAAqC,CAAC,CAAA;QACjI,MAAM,SAAS,GAAG,yBAAyB,CAAC,GAAG,CAAC,CAAA;QAChD,MAAM,KAAK,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAA;QAC1E,UAAU,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAA;QACrC,OAAO,IAAI,KAAK,EAAE,CAAA;IACpB,CAAC,CAAC,CAAA;IACF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAA;AACvC,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAA;AACzD,CAAC;AAED,SAAS,aAAa,CAAC,KAAa;IAClC,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;AACvC,CAAC;AAED,SAAS,UAAU,CAAC,GAAW,EAAE,KAAe;IAC9C,OAAO,IAAI,qBAAqB,CAC9B,iCAAiC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EACtD,qCAAqC,EACrC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAC5C,CAAA;AACH,CAAC"}
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@xrkseek/xrk-session-reference",
3
+ "description": "Cross-session snapshot references and durable untrusted model context (ctx.sessionReferenceResolver)",
4
+ "version": "0.1.1-rc.2",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/xrkseek/XRK-harness.git",
8
+ "directory": "packages/context/session-reference"
9
+ },
10
+ "type": "module",
11
+ "exports": {
12
+ "./types": {
13
+ "types": "./dist/types.d.ts",
14
+ "import": "./dist/types.js",
15
+ "default": "./dist/types.js"
16
+ },
17
+ "./config": {
18
+ "types": "./dist/config.d.ts",
19
+ "import": "./dist/config.js",
20
+ "default": "./dist/config.js"
21
+ },
22
+ "./uri": {
23
+ "types": "./dist/uri.d.ts",
24
+ "import": "./dist/uri.js",
25
+ "default": "./dist/uri.js"
26
+ },
27
+ "./package.json": "./package.json"
28
+ },
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "README.zh.md"
33
+ ],
34
+ "license": "MIT",
35
+ "dependencies": {
36
+ "@xrkseek/protocol": "workspace:*"
37
+ },
38
+ "private": true
39
+ }
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.