@xrkseek/harness-cli 0.0.1 → 0.0.3

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 (869) hide show
  1. package/README.md +5 -0
  2. package/dist/commands/restart.d.ts +3 -0
  3. package/dist/commands/restart.d.ts.map +1 -0
  4. package/dist/commands/restart.js +32 -0
  5. package/dist/commands/restart.js.map +1 -0
  6. package/dist/commands/serve.d.ts.map +1 -1
  7. package/dist/commands/serve.js +19 -11
  8. package/dist/commands/serve.js.map +1 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +3 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/log.d.ts +19 -0
  13. package/dist/log.d.ts.map +1 -0
  14. package/dist/log.js +52 -0
  15. package/dist/log.js.map +1 -0
  16. package/dist/parse-args.d.ts +5 -1
  17. package/dist/parse-args.d.ts.map +1 -1
  18. package/dist/parse-args.js +33 -1
  19. package/dist/parse-args.js.map +1 -1
  20. package/dist/port.d.ts +9 -0
  21. package/dist/port.d.ts.map +1 -0
  22. package/dist/port.js +86 -0
  23. package/dist/port.js.map +1 -0
  24. package/node_modules/@xrkseek/core-agent/dist/index.d.ts +2 -0
  25. package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
  26. package/node_modules/@xrkseek/core-agent/dist/index.js +3 -0
  27. package/node_modules/@xrkseek/core-agent/dist/index.js.map +1 -1
  28. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +5 -0
  29. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
  30. package/node_modules/@xrkseek/core-agent-loop/dist/index.js +3 -0
  31. package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
  32. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.d.ts +5 -0
  33. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.d.ts.map +1 -1
  34. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.js +22 -2
  35. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.js.map +1 -1
  36. package/node_modules/@xrkseek/core-session/dist/compaction.d.ts.map +1 -1
  37. package/node_modules/@xrkseek/core-session/dist/compaction.js.map +1 -1
  38. package/node_modules/@xrkseek/exec-shell/dist/index.d.ts +4 -1
  39. package/node_modules/@xrkseek/exec-shell/dist/index.d.ts.map +1 -1
  40. package/node_modules/@xrkseek/exec-shell/dist/index.js +18 -2
  41. package/node_modules/@xrkseek/exec-shell/dist/index.js.map +1 -1
  42. package/node_modules/@xrkseek/exec-web/dist/index.d.ts +5 -2
  43. package/node_modules/@xrkseek/exec-web/dist/index.d.ts.map +1 -1
  44. package/node_modules/@xrkseek/exec-web/dist/index.js +5 -2
  45. package/node_modules/@xrkseek/exec-web/dist/index.js.map +1 -1
  46. package/node_modules/@xrkseek/exec-web/dist/search-duckduckgo.d.ts +14 -0
  47. package/node_modules/@xrkseek/exec-web/dist/search-duckduckgo.d.ts.map +1 -0
  48. package/node_modules/@xrkseek/exec-web/dist/search-duckduckgo.js +139 -0
  49. package/node_modules/@xrkseek/exec-web/dist/search-duckduckgo.js.map +1 -0
  50. package/node_modules/@xrkseek/exec-web/dist/search-mcp-client.d.ts +21 -0
  51. package/node_modules/@xrkseek/exec-web/dist/search-mcp-client.d.ts.map +1 -0
  52. package/node_modules/@xrkseek/exec-web/dist/search-mcp-client.js +175 -0
  53. package/node_modules/@xrkseek/exec-web/dist/search-mcp-client.js.map +1 -0
  54. package/node_modules/@xrkseek/exec-web/dist/search-parallel-free.d.ts +12 -0
  55. package/node_modules/@xrkseek/exec-web/dist/search-parallel-free.d.ts.map +1 -0
  56. package/node_modules/@xrkseek/exec-web/dist/search-parallel-free.js +105 -0
  57. package/node_modules/@xrkseek/exec-web/dist/search-parallel-free.js.map +1 -0
  58. package/node_modules/@xrkseek/exec-web/dist/search-providers.d.ts +9 -1
  59. package/node_modules/@xrkseek/exec-web/dist/search-providers.d.ts.map +1 -1
  60. package/node_modules/@xrkseek/exec-web/dist/search-providers.js +100 -12
  61. package/node_modules/@xrkseek/exec-web/dist/search-providers.js.map +1 -1
  62. package/node_modules/@xrkseek/mcp/dist/client.d.ts.map +1 -1
  63. package/node_modules/@xrkseek/mcp/dist/client.js.map +1 -1
  64. package/node_modules/@xrkseek/mcp/dist/project-content.js +1 -1
  65. package/node_modules/@xrkseek/mcp/dist/project-content.js.map +1 -1
  66. package/node_modules/@xrkseek/mcp/package.json +2 -1
  67. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +7 -0
  68. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  69. package/node_modules/@xrkseek/preset-harness/dist/preset.js +11 -1
  70. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  71. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  72. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  73. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  74. package/node_modules/@xrkseek/preset-server/dist/preset.js +3 -1
  75. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  76. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  77. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  78. package/node_modules/@xrkseek/server-face/dist/dispatch.js +4 -2
  79. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  80. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.d.ts.map +1 -1
  81. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js +3 -2
  82. package/node_modules/@xrkseek/server-face/dist/handlers/session-added.js.map +1 -1
  83. package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts.map +1 -1
  84. package/node_modules/@xrkseek/server-face/dist/handlers/session.js +5 -3
  85. package/node_modules/@xrkseek/server-face/dist/handlers/session.js.map +1 -1
  86. package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
  87. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  88. package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
  89. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  90. package/node_modules/@xrkseek/server-face/dist/session-cwd.d.ts +3 -0
  91. package/node_modules/@xrkseek/server-face/dist/session-cwd.d.ts.map +1 -0
  92. package/node_modules/@xrkseek/server-face/dist/session-cwd.js +19 -0
  93. package/node_modules/@xrkseek/server-face/dist/session-cwd.js.map +1 -0
  94. package/node_modules/@xrkseek/server-face/dist/settings-schemas.d.ts.map +1 -1
  95. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js +0 -9
  96. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
  97. package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts.map +1 -1
  98. package/node_modules/@xrkseek/server-face/dist/workspace-face.js +26 -9
  99. package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
  100. package/node_modules/@xrkseek/server-face/dist/workspace-registry.d.ts +6 -0
  101. package/node_modules/@xrkseek/server-face/dist/workspace-registry.d.ts.map +1 -1
  102. package/node_modules/@xrkseek/server-face/dist/workspace-registry.js +39 -1
  103. package/node_modules/@xrkseek/server-face/dist/workspace-registry.js.map +1 -1
  104. package/node_modules/@xrkseek/server-face/dist/workspace-store.d.ts +4 -0
  105. package/node_modules/@xrkseek/server-face/dist/workspace-store.d.ts.map +1 -1
  106. package/node_modules/@xrkseek/server-face/dist/workspace-store.js +43 -1
  107. package/node_modules/@xrkseek/server-face/dist/workspace-store.js.map +1 -1
  108. package/node_modules/@xrkseek/server-host/dist/index.d.ts +9 -1
  109. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  110. package/node_modules/@xrkseek/server-host/dist/index.js +92 -16
  111. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  112. package/node_modules/@xrkseek/server-host/dist/log.d.ts +14 -0
  113. package/node_modules/@xrkseek/server-host/dist/log.d.ts.map +1 -0
  114. package/node_modules/@xrkseek/server-host/dist/log.js +6 -0
  115. package/node_modules/@xrkseek/server-host/dist/log.js.map +1 -0
  116. package/node_modules/@xrkseek/server-host/dist/standing-tools.js +2 -2
  117. package/node_modules/@xrkseek/server-host/dist/standing-tools.js.map +1 -1
  118. package/node_modules/@xrkseek/server-http/dist/index.d.ts +9 -0
  119. package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
  120. package/node_modules/@xrkseek/server-http/dist/index.js +9 -0
  121. package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
  122. package/node_modules/zod/LICENSE +21 -0
  123. package/node_modules/zod/README.md +191 -0
  124. package/node_modules/zod/index.cjs +33 -0
  125. package/node_modules/zod/index.d.cts +4 -0
  126. package/node_modules/zod/index.d.ts +4 -0
  127. package/node_modules/zod/index.js +4 -0
  128. package/node_modules/zod/locales/index.cjs +17 -0
  129. package/node_modules/zod/locales/index.d.cts +1 -0
  130. package/node_modules/zod/locales/index.d.ts +1 -0
  131. package/node_modules/zod/locales/index.js +1 -0
  132. package/node_modules/zod/locales/package.json +7 -0
  133. package/node_modules/zod/mini/index.cjs +32 -0
  134. package/node_modules/zod/mini/index.d.cts +3 -0
  135. package/node_modules/zod/mini/index.d.ts +3 -0
  136. package/node_modules/zod/mini/index.js +3 -0
  137. package/node_modules/zod/mini/package.json +7 -0
  138. package/node_modules/zod/package.json +135 -0
  139. package/node_modules/zod/src/index.ts +4 -0
  140. package/node_modules/zod/src/locales/index.ts +1 -0
  141. package/node_modules/zod/src/mini/index.ts +3 -0
  142. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  143. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  144. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  145. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  146. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  147. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  148. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  149. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  150. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  151. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  152. package/node_modules/zod/src/v3/errors.ts +13 -0
  153. package/node_modules/zod/src/v3/external.ts +6 -0
  154. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  155. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  156. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  157. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  158. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  159. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  160. package/node_modules/zod/src/v3/index.ts +4 -0
  161. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  162. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  163. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  164. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  165. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  166. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  167. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  168. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  169. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  170. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  171. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  172. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  173. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  174. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  175. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  176. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  177. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  178. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  179. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  180. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  181. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  182. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  183. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  184. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  185. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  186. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  187. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  188. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  189. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  190. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  191. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  192. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  193. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  194. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  195. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  196. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  197. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  198. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  199. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  200. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  201. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  202. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  203. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  204. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  205. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  206. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  207. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  208. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  209. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  210. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  211. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  212. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  213. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  214. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  215. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  216. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  217. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  218. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  219. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  220. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  221. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  222. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  223. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  224. package/node_modules/zod/src/v3/types.ts +5138 -0
  225. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  226. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  227. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  228. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  229. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  230. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  231. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  232. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  233. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  234. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  235. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  236. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  237. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  238. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  239. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  240. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  241. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  242. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  243. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  244. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  245. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  246. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  247. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  248. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  249. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  250. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  251. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  252. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  253. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  254. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  255. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  256. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  257. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  258. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  259. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  260. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  261. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  262. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  263. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  264. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  265. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  266. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  267. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  268. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  269. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  270. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  271. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  272. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  273. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  274. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  275. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  276. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  277. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  278. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  279. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  280. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  281. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  282. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  283. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  284. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  285. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  286. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  287. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  288. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  289. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  290. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  291. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  292. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  293. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  294. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  295. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  296. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  297. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  298. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  299. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  300. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  301. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  302. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  303. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  304. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  305. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  306. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  307. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  308. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  309. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  310. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  311. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  312. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  313. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  314. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  315. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  316. package/node_modules/zod/src/v4/core/config.ts +15 -0
  317. package/node_modules/zod/src/v4/core/core.ts +153 -0
  318. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  319. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  320. package/node_modules/zod/src/v4/core/index.ts +16 -0
  321. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  322. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  323. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  324. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  325. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  326. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  327. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  328. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  329. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  330. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  331. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  332. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  333. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  334. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  335. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  336. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  337. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  338. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  339. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  340. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  341. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  342. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  343. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  344. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  345. package/node_modules/zod/src/v4/core/util.ts +983 -0
  346. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  347. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  348. package/node_modules/zod/src/v4/index.ts +4 -0
  349. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  350. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  351. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  352. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  353. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  354. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  355. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  356. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  357. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  358. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  359. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  360. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  361. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  362. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  363. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  364. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  365. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  366. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  367. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  368. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  369. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  370. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  371. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  372. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  373. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  374. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  375. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  376. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  377. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  378. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  379. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  380. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  381. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  382. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  383. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  384. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  385. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  386. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  387. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  388. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  389. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  390. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  391. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  392. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  393. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  394. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  395. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  396. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  397. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  398. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  399. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  400. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  401. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  402. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  403. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  404. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  405. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  406. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  407. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  408. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  409. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  410. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  411. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  412. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  413. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  414. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  415. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  416. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  417. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  418. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  419. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  420. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  421. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  422. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  423. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  424. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  425. package/node_modules/zod/v3/ZodError.cjs +138 -0
  426. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  427. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  428. package/node_modules/zod/v3/ZodError.js +133 -0
  429. package/node_modules/zod/v3/errors.cjs +17 -0
  430. package/node_modules/zod/v3/errors.d.cts +5 -0
  431. package/node_modules/zod/v3/errors.d.ts +5 -0
  432. package/node_modules/zod/v3/errors.js +9 -0
  433. package/node_modules/zod/v3/external.cjs +22 -0
  434. package/node_modules/zod/v3/external.d.cts +6 -0
  435. package/node_modules/zod/v3/external.d.ts +6 -0
  436. package/node_modules/zod/v3/external.js +6 -0
  437. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  438. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  439. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  440. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  441. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  442. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  443. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  444. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  445. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  446. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  447. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  448. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  449. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  450. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  451. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  452. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  453. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  454. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  455. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  456. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  457. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  458. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  459. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  460. package/node_modules/zod/v3/helpers/util.js +133 -0
  461. package/node_modules/zod/v3/index.cjs +33 -0
  462. package/node_modules/zod/v3/index.d.cts +4 -0
  463. package/node_modules/zod/v3/index.d.ts +4 -0
  464. package/node_modules/zod/v3/index.js +4 -0
  465. package/node_modules/zod/v3/locales/en.cjs +112 -0
  466. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  467. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  468. package/node_modules/zod/v3/locales/en.js +109 -0
  469. package/node_modules/zod/v3/package.json +7 -0
  470. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  471. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  472. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  473. package/node_modules/zod/v3/standard-schema.js +1 -0
  474. package/node_modules/zod/v3/types.cjs +3777 -0
  475. package/node_modules/zod/v3/types.d.cts +1034 -0
  476. package/node_modules/zod/v3/types.d.ts +1034 -0
  477. package/node_modules/zod/v3/types.js +3695 -0
  478. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  479. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  480. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  481. package/node_modules/zod/v4/classic/checks.js +1 -0
  482. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  483. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  484. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  485. package/node_modules/zod/v4/classic/coerce.js +17 -0
  486. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  487. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  488. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  489. package/node_modules/zod/v4/classic/compat.js +31 -0
  490. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  491. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  492. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  493. package/node_modules/zod/v4/classic/errors.js +48 -0
  494. package/node_modules/zod/v4/classic/external.cjs +73 -0
  495. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  496. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  497. package/node_modules/zod/v4/classic/external.js +20 -0
  498. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  499. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  500. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  501. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  502. package/node_modules/zod/v4/classic/index.cjs +33 -0
  503. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  504. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  505. package/node_modules/zod/v4/classic/index.js +4 -0
  506. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  507. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  508. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  509. package/node_modules/zod/v4/classic/iso.js +30 -0
  510. package/node_modules/zod/v4/classic/package.json +7 -0
  511. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  512. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  513. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  514. package/node_modules/zod/v4/classic/parse.js +15 -0
  515. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  516. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  517. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  518. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  519. package/node_modules/zod/v4/core/api.cjs +1227 -0
  520. package/node_modules/zod/v4/core/api.d.cts +325 -0
  521. package/node_modules/zod/v4/core/api.d.ts +325 -0
  522. package/node_modules/zod/v4/core/api.js +1087 -0
  523. package/node_modules/zod/v4/core/checks.cjs +601 -0
  524. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  525. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  526. package/node_modules/zod/v4/core/checks.js +575 -0
  527. package/node_modules/zod/v4/core/core.cjs +85 -0
  528. package/node_modules/zod/v4/core/core.d.cts +70 -0
  529. package/node_modules/zod/v4/core/core.d.ts +70 -0
  530. package/node_modules/zod/v4/core/core.js +78 -0
  531. package/node_modules/zod/v4/core/doc.cjs +39 -0
  532. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  533. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  534. package/node_modules/zod/v4/core/doc.js +35 -0
  535. package/node_modules/zod/v4/core/errors.cjs +216 -0
  536. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  537. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  538. package/node_modules/zod/v4/core/errors.js +185 -0
  539. package/node_modules/zod/v4/core/index.cjs +47 -0
  540. package/node_modules/zod/v4/core/index.d.cts +16 -0
  541. package/node_modules/zod/v4/core/index.d.ts +16 -0
  542. package/node_modules/zod/v4/core/index.js +16 -0
  543. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  544. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  545. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  546. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  547. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  548. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  549. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  550. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  551. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  552. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  553. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  554. package/node_modules/zod/v4/core/json-schema.js +1 -0
  555. package/node_modules/zod/v4/core/package.json +7 -0
  556. package/node_modules/zod/v4/core/parse.cjs +131 -0
  557. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  558. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  559. package/node_modules/zod/v4/core/parse.js +93 -0
  560. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  561. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  562. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  563. package/node_modules/zod/v4/core/regexes.js +139 -0
  564. package/node_modules/zod/v4/core/registries.cjs +56 -0
  565. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  566. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  567. package/node_modules/zod/v4/core/registries.js +51 -0
  568. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  569. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  570. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  571. package/node_modules/zod/v4/core/schemas.js +2239 -0
  572. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  573. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  574. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  575. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  576. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  577. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  578. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  579. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  580. package/node_modules/zod/v4/core/util.cjs +734 -0
  581. package/node_modules/zod/v4/core/util.d.cts +200 -0
  582. package/node_modules/zod/v4/core/util.d.ts +200 -0
  583. package/node_modules/zod/v4/core/util.js +674 -0
  584. package/node_modules/zod/v4/core/versions.cjs +8 -0
  585. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  586. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  587. package/node_modules/zod/v4/core/versions.js +5 -0
  588. package/node_modules/zod/v4/index.cjs +22 -0
  589. package/node_modules/zod/v4/index.d.cts +3 -0
  590. package/node_modules/zod/v4/index.d.ts +3 -0
  591. package/node_modules/zod/v4/index.js +3 -0
  592. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  593. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  594. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  595. package/node_modules/zod/v4/locales/ar.js +106 -0
  596. package/node_modules/zod/v4/locales/az.cjs +132 -0
  597. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  598. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  599. package/node_modules/zod/v4/locales/az.js +105 -0
  600. package/node_modules/zod/v4/locales/be.cjs +183 -0
  601. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  602. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  603. package/node_modules/zod/v4/locales/be.js +156 -0
  604. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  605. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  606. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  607. package/node_modules/zod/v4/locales/bg.js +120 -0
  608. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  609. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  610. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  611. package/node_modules/zod/v4/locales/ca.js +107 -0
  612. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  613. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  614. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  615. package/node_modules/zod/v4/locales/cs.js +111 -0
  616. package/node_modules/zod/v4/locales/da.cjs +142 -0
  617. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  618. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  619. package/node_modules/zod/v4/locales/da.js +115 -0
  620. package/node_modules/zod/v4/locales/de.cjs +135 -0
  621. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  622. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  623. package/node_modules/zod/v4/locales/de.js +108 -0
  624. package/node_modules/zod/v4/locales/el.cjs +136 -0
  625. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  626. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  627. package/node_modules/zod/v4/locales/el.js +109 -0
  628. package/node_modules/zod/v4/locales/en.cjs +140 -0
  629. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  630. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  631. package/node_modules/zod/v4/locales/en.js +113 -0
  632. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  633. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  634. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  635. package/node_modules/zod/v4/locales/eo.js +109 -0
  636. package/node_modules/zod/v4/locales/es.cjs +159 -0
  637. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  638. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  639. package/node_modules/zod/v4/locales/es.js +132 -0
  640. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  641. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  642. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  643. package/node_modules/zod/v4/locales/fa.js +114 -0
  644. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  645. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  646. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  647. package/node_modules/zod/v4/locales/fi.js +112 -0
  648. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  649. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  650. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  651. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  652. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  653. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  654. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  655. package/node_modules/zod/v4/locales/fr.js +125 -0
  656. package/node_modules/zod/v4/locales/he.cjs +241 -0
  657. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  658. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  659. package/node_modules/zod/v4/locales/he.js +214 -0
  660. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  661. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  662. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  663. package/node_modules/zod/v4/locales/hr.js +122 -0
  664. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  665. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  666. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  667. package/node_modules/zod/v4/locales/hu.js +108 -0
  668. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  669. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  670. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  671. package/node_modules/zod/v4/locales/hy.js +147 -0
  672. package/node_modules/zod/v4/locales/id.cjs +133 -0
  673. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  674. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  675. package/node_modules/zod/v4/locales/id.js +106 -0
  676. package/node_modules/zod/v4/locales/index.cjs +111 -0
  677. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  678. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  679. package/node_modules/zod/v4/locales/index.js +52 -0
  680. package/node_modules/zod/v4/locales/is.cjs +136 -0
  681. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  682. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  683. package/node_modules/zod/v4/locales/is.js +109 -0
  684. package/node_modules/zod/v4/locales/it.cjs +135 -0
  685. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  686. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  687. package/node_modules/zod/v4/locales/it.js +108 -0
  688. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  689. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  690. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  691. package/node_modules/zod/v4/locales/ja.js +107 -0
  692. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  693. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  694. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  695. package/node_modules/zod/v4/locales/ka.js +112 -0
  696. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  697. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  698. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  699. package/node_modules/zod/v4/locales/kh.js +5 -0
  700. package/node_modules/zod/v4/locales/km.cjs +137 -0
  701. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  702. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  703. package/node_modules/zod/v4/locales/km.js +110 -0
  704. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  705. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  706. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  707. package/node_modules/zod/v4/locales/ko.js +111 -0
  708. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  709. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  710. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  711. package/node_modules/zod/v4/locales/lt.js +203 -0
  712. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  713. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  714. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  715. package/node_modules/zod/v4/locales/mk.js +109 -0
  716. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  717. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  718. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  719. package/node_modules/zod/v4/locales/ms.js +107 -0
  720. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  721. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  722. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  723. package/node_modules/zod/v4/locales/nl.js +110 -0
  724. package/node_modules/zod/v4/locales/no.cjs +135 -0
  725. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  726. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  727. package/node_modules/zod/v4/locales/no.js +108 -0
  728. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  729. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  730. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  731. package/node_modules/zod/v4/locales/ota.js +109 -0
  732. package/node_modules/zod/v4/locales/package.json +7 -0
  733. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  734. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  735. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  736. package/node_modules/zod/v4/locales/pl.js +109 -0
  737. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  738. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  739. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  740. package/node_modules/zod/v4/locales/ps.js +114 -0
  741. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  742. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  743. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  744. package/node_modules/zod/v4/locales/pt.js +108 -0
  745. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  746. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  747. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  748. package/node_modules/zod/v4/locales/ro.js +119 -0
  749. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  750. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  751. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  752. package/node_modules/zod/v4/locales/ru.js +156 -0
  753. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  754. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  755. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  756. package/node_modules/zod/v4/locales/sl.js +109 -0
  757. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  758. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  759. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  760. package/node_modules/zod/v4/locales/sv.js +110 -0
  761. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  762. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  763. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  764. package/node_modules/zod/v4/locales/ta.js +110 -0
  765. package/node_modules/zod/v4/locales/th.cjs +137 -0
  766. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  767. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  768. package/node_modules/zod/v4/locales/th.js +110 -0
  769. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  770. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  771. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  772. package/node_modules/zod/v4/locales/tr.js +105 -0
  773. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  774. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  775. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  776. package/node_modules/zod/v4/locales/ua.js +5 -0
  777. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  778. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  779. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  780. package/node_modules/zod/v4/locales/uk.js +108 -0
  781. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  782. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  783. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  784. package/node_modules/zod/v4/locales/ur.js +110 -0
  785. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  786. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  787. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  788. package/node_modules/zod/v4/locales/uz.js +110 -0
  789. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  790. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  791. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  792. package/node_modules/zod/v4/locales/vi.js +108 -0
  793. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  794. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  795. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  796. package/node_modules/zod/v4/locales/yo.js +107 -0
  797. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  798. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  799. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  800. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  801. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  802. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  803. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  804. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  805. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  806. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  807. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  808. package/node_modules/zod/v4/mini/checks.js +1 -0
  809. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  810. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  811. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  812. package/node_modules/zod/v4/mini/coerce.js +22 -0
  813. package/node_modules/zod/v4/mini/external.cjs +63 -0
  814. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  815. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  816. package/node_modules/zod/v4/mini/external.js +14 -0
  817. package/node_modules/zod/v4/mini/index.cjs +32 -0
  818. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  819. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  820. package/node_modules/zod/v4/mini/index.js +3 -0
  821. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  822. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  823. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  824. package/node_modules/zod/v4/mini/iso.js +34 -0
  825. package/node_modules/zod/v4/mini/package.json +7 -0
  826. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  827. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  828. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  829. package/node_modules/zod/v4/mini/parse.js +1 -0
  830. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  831. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  832. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  833. package/node_modules/zod/v4/mini/schemas.js +961 -0
  834. package/node_modules/zod/v4/package.json +7 -0
  835. package/node_modules/zod/v4-mini/index.cjs +32 -0
  836. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  837. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  838. package/node_modules/zod/v4-mini/index.js +3 -0
  839. package/node_modules/zod/v4-mini/package.json +7 -0
  840. package/package.json +3 -1
  841. package/product-web/assets/vendor-CeMKrCZm.js.map +1 -1
  842. package/product-web/boot.json +1 -1
  843. package/product-web/plugins/@xrkseek/client-locale/client.js +3 -3
  844. package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +36 -36
  845. package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
  846. package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +159 -159
  847. package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +6 -6
  848. package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +29 -29
  849. package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
  850. package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +4 -4
  851. package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +7 -7
  852. package/product-web/plugins/@xrkseek/client-ui-layout/client.js +1 -1
  853. package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +3 -3
  854. package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +16 -16
  855. package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +5 -5
  856. package/product-web/plugins/@xrkseek/client-ui-plan/client.js +3 -3
  857. package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +14 -14
  858. package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +54 -54
  859. package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +11 -11
  860. package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +109 -530
  861. package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +14 -14
  862. package/product-web/plugins/@xrkseek/client-ui-skill/client.js +12 -12
  863. package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +17 -17
  864. package/product-web/plugins/@xrkseek/client-ui-theme/client.js +3 -3
  865. package/product-web/plugins/@xrkseek/client-ui-tool/client.js +42 -42
  866. package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +144 -144
  867. package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +30 -30
  868. package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +16 -16
  869. package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +51 -51
@@ -20,17 +20,17 @@ window.__ModuleLoader__.load({
20
20
  document.head.appendChild(tag);
21
21
  }
22
22
  var fields_module_css_default = {
23
- "field": "MiE2dW_field",
24
- "badge": "MiE2dW_badge",
25
- "badgeMuted": "MiE2dW_badgeMuted",
26
23
  "label": "MiE2dW_label",
27
- "badges": "MiE2dW_badges",
28
- "select": "MiE2dW_select",
29
- "inputInvalid": "MiE2dW_inputInvalid",
30
- "invalid": "MiE2dW_invalid",
31
24
  "input": "MiE2dW_input",
25
+ "invalid": "MiE2dW_invalid",
26
+ "badge": "MiE2dW_badge",
32
27
  "reset": "MiE2dW_reset",
28
+ "field": "MiE2dW_field",
33
29
  "head": "MiE2dW_head",
30
+ "badges": "MiE2dW_badges",
31
+ "badgeMuted": "MiE2dW_badgeMuted",
32
+ "select": "MiE2dW_select",
33
+ "inputInvalid": "MiE2dW_inputInvalid",
34
34
  "hint": "MiE2dW_hint"
35
35
  };
36
36
  //#endregion
@@ -43,68 +43,6 @@ window.__ModuleLoader__.load({
43
43
  * card's save is the single point where a draft becomes a document mutation.
44
44
  */
45
45
  /**
46
- * Label + control + hint without override chrome (list editors, MCP rows).
47
- */
48
- function PlainField(props) {
49
- const invalid = props.invalid === true;
50
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
51
- className: fields_module_css_default.field,
52
- children: [
53
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
54
- className: fields_module_css_default.label,
55
- htmlFor: props.id,
56
- children: props.label
57
- }),
58
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
59
- id: props.id,
60
- className: invalid ? fields_module_css_default.inputInvalid : fields_module_css_default.input,
61
- type: "text",
62
- value: props.value,
63
- placeholder: props.placeholder ?? "",
64
- disabled: props.disabled,
65
- "aria-invalid": invalid || void 0,
66
- onChange: (event) => {
67
- props.onChange(event.target.value);
68
- }
69
- }),
70
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
71
- className: fields_module_css_default.hint,
72
- children: props.hint
73
- })
74
- ]
75
- });
76
- }
77
- /** Same chrome as PlainField, for a short option list (MCP transport). */
78
- function SelectField(props) {
79
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
80
- className: fields_module_css_default.field,
81
- children: [
82
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
83
- className: fields_module_css_default.label,
84
- htmlFor: props.id,
85
- children: props.label
86
- }),
87
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("select", {
88
- id: props.id,
89
- className: fields_module_css_default.select,
90
- value: props.value,
91
- disabled: props.disabled,
92
- onChange: (event) => {
93
- props.onChange(event.target.value);
94
- },
95
- children: props.options.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
96
- value: option.value,
97
- children: option.label
98
- }, option.value))
99
- }),
100
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
101
- className: fields_module_css_default.hint,
102
- children: props.hint
103
- })
104
- ]
105
- });
106
- }
107
- /**
108
46
  * A staged value field. `numeric` only hints the keypad: which drafts a field
109
47
  * accepts is decided by its spec, so the control never silently rewrites what
110
48
  * the user typed.
@@ -155,49 +93,6 @@ window.__ModuleLoader__.load({
155
93
  ]
156
94
  });
157
95
  }
158
- /**
159
- * A write-only credential control. The value never rides a response, so the
160
- * control reports only whether one is configured and starts blank; a blank
161
- * draft writes nothing, which keeps the stored key rather than clearing it.
162
- * @param props - the field's copy, its staged text, and the configured state.
163
- * @returns the labelled control.
164
- */
165
- function SecretField(props) {
166
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
167
- className: fields_module_css_default.field,
168
- children: [
169
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
170
- className: fields_module_css_default.head,
171
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
172
- className: fields_module_css_default.label,
173
- htmlFor: props.id,
174
- children: props.label
175
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
176
- className: fields_module_css_default.badges,
177
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
178
- className: props.configured ? fields_module_css_default.badge : fields_module_css_default.badgeMuted,
179
- children: props.stateLabel
180
- })
181
- })]
182
- }),
183
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
184
- id: props.id,
185
- className: fields_module_css_default.input,
186
- type: "password",
187
- autoComplete: "off",
188
- value: props.text,
189
- disabled: props.disabled,
190
- onChange: (event) => {
191
- props.onEdit(event.target.value);
192
- }
193
- }),
194
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
195
- className: fields_module_css_default.hint,
196
- children: props.hint
197
- })
198
- ]
199
- });
200
- }
201
96
  //#endregion
202
97
  //#region ../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
203
98
  function r(e) {
@@ -225,21 +120,21 @@ window.__ModuleLoader__.load({
225
120
  document.head.appendChild(tag);
226
121
  }
227
122
  var PluginCard_module_css_default = {
228
- "card": "YRvGva_card",
123
+ "headText": "YRvGva_headText",
124
+ "failed": "YRvGva_failed",
229
125
  "chevronOpen": "YRvGva_chevronOpen",
230
- "description": "YRvGva_description",
231
- "pending": "YRvGva_pending",
232
- "footer": "YRvGva_footer",
126
+ "header": "YRvGva_header",
233
127
  "save": "YRvGva_save",
234
128
  "body": "YRvGva_body",
235
- "failed": "YRvGva_failed",
236
- "discard": "YRvGva_discard",
237
- "name": "YRvGva_name",
238
129
  "readOnly": "YRvGva_readOnly",
239
- "cardOpen": "YRvGva_cardOpen",
240
- "headText": "YRvGva_headText",
130
+ "name": "YRvGva_name",
131
+ "card": "YRvGva_card",
132
+ "description": "YRvGva_description",
241
133
  "chevron": "YRvGva_chevron",
242
- "header": "YRvGva_header"
134
+ "discard": "YRvGva_discard",
135
+ "pending": "YRvGva_pending",
136
+ "cardOpen": "YRvGva_cardOpen",
137
+ "footer": "YRvGva_footer"
243
138
  };
244
139
  //#endregion
245
140
  //#region src/client/PluginCard.tsx
@@ -434,14 +329,14 @@ window.__ModuleLoader__.load({
434
329
  document.head.appendChild(tag);
435
330
  }
436
331
  var PluginsSettingsSection_module_css_default = {
437
- "cards": "ha2I9q_cards",
438
- "intro": "ha2I9q_intro",
439
- "tab": "ha2I9q_tab",
440
332
  "tabs": "ha2I9q_tabs",
333
+ "tab": "ha2I9q_tab",
334
+ "cards": "ha2I9q_cards",
441
335
  "empty": "ha2I9q_empty",
336
+ "section": "ha2I9q_section",
442
337
  "heading": "ha2I9q_heading",
443
338
  "panel": "ha2I9q_panel",
444
- "section": "ha2I9q_section"
339
+ "intro": "ha2I9q_intro"
445
340
  };
446
341
  //#endregion
447
342
  //#region src/client/ConfigurablePluginsTab.tsx
@@ -482,35 +377,30 @@ window.__ModuleLoader__.load({
482
377
  document.head.appendChild(tag);
483
378
  }
484
379
  var McpCard_module_css_default = {
485
- "pasteLabel": "FVl50a_pasteLabel",
486
- "badge": "FVl50a_badge",
487
- "block": "FVl50a_block",
488
- "connectedRow": "FVl50a_connectedRow",
489
- "entry": "FVl50a_entry",
490
- "list": "FVl50a_list",
491
- "invalid": "FVl50a_invalid",
380
+ "remove": "FVl50a_remove",
492
381
  "badgeError": "FVl50a_badgeError",
493
- "connectedList": "FVl50a_connectedList",
382
+ "entry": "FVl50a_entry",
383
+ "entryTitle": "FVl50a_entryTitle",
494
384
  "paste": "FVl50a_paste",
385
+ "badgeMuted": "FVl50a_badgeMuted",
386
+ "note": "FVl50a_note",
387
+ "block": "FVl50a_block",
495
388
  "empty": "FVl50a_empty",
496
- "add": "FVl50a_add",
497
389
  "entryHead": "FVl50a_entryHead",
498
- "note": "FVl50a_note",
499
- "remove": "FVl50a_remove",
500
- "entryBody": "FVl50a_entryBody",
390
+ "badge": "FVl50a_badge",
391
+ "add": "FVl50a_add",
392
+ "invalid": "FVl50a_invalid",
393
+ "connectedList": "FVl50a_connectedList",
394
+ "list": "FVl50a_list",
395
+ "connectedRow": "FVl50a_connectedRow",
501
396
  "connectedName": "FVl50a_connectedName",
502
- "badgeMuted": "FVl50a_badgeMuted",
503
397
  "heading": "FVl50a_heading",
504
- "entryTitle": "FVl50a_entryTitle"
398
+ "entryBody": "FVl50a_entryBody",
399
+ "pasteLabel": "FVl50a_pasteLabel"
505
400
  };
506
401
  //#endregion
507
402
  //#region src/client/McpCard.tsx
508
- /** MCP desired-server card: edit draft servers; connected overlay stays read-only.
509
- *
510
- * Same vertical field stack as Agent / Bash (label + control + hint). All of
511
- * name / transport / command / args / cwd stay visible so they read alike —
512
- * no launch-line merge, no buried “advanced” cwd.
513
- */
403
+ /** MCP desired-server card: JSON-block paste only (Cursor / Trae style). */
514
404
  /**
515
405
  * Render the MCP card.
516
406
  * @param props - locale copy, the card snapshot, and its form actions.
@@ -521,10 +411,16 @@ window.__ModuleLoader__.load({
521
411
  const state = props.useMcpCard((snapshot) => snapshot);
522
412
  const disabled = !state.writable;
523
413
  const pasteRef = (0, react.useRef)(null);
524
- const addFromPasteOrBlank = () => {
414
+ const [pasteHint, setPasteHint] = (0, react.useState)();
415
+ const addFromPaste = () => {
525
416
  const pasted = pasteRef.current?.value ?? "";
526
- props.addRow(pasted);
527
- if (pasteRef.current) pasteRef.current.value = "";
417
+ const result = props.addRow(pasted);
418
+ if (result === "ok") {
419
+ if (pasteRef.current) pasteRef.current.value = "";
420
+ setPasteHint(void 0);
421
+ return;
422
+ }
423
+ setPasteHint(result === "empty" ? t("mcpPasteEmpty") : t("mcpPasteInvalid"));
528
424
  };
529
425
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PluginCard, {
530
426
  t,
@@ -587,19 +483,16 @@ window.__ModuleLoader__.load({
587
483
  state.rows.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
588
484
  className: McpCard_module_css_default.empty,
589
485
  children: t("mcpServersEmpty")
590
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
486
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
591
487
  className: McpCard_module_css_default.list,
592
- children: state.rows.map((row, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ServerEntry, {
488
+ children: state.rows.map((row, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ServerSummary, {
593
489
  t,
594
- index,
595
490
  row,
596
491
  disabled,
597
- showErrors: state.showErrors,
598
- onEdit: props.editRow,
599
492
  onRemove: () => {
600
493
  props.removeRow(index);
601
494
  }
602
- }, `mcp-row-${String(index)}`))
495
+ }, `mcp-row-${row.serverName}-${String(index)}`))
603
496
  }),
604
497
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
605
498
  className: McpCard_module_css_default.pasteLabel,
@@ -612,124 +505,52 @@ window.__ModuleLoader__.load({
612
505
  className: McpCard_module_css_default.paste,
613
506
  disabled,
614
507
  placeholder: t("mcpPasteHint"),
615
- rows: 5,
616
- spellCheck: false
508
+ rows: 8,
509
+ spellCheck: false,
510
+ onChange: () => {
511
+ if (pasteHint) setPasteHint(void 0);
512
+ }
617
513
  }),
618
514
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
619
515
  type: "button",
620
516
  className: McpCard_module_css_default.add,
621
517
  disabled,
622
- onClick: addFromPasteOrBlank,
518
+ onClick: addFromPaste,
623
519
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_xrkseek_client_ui_primitives.IconPlusOutline16, { size: 14 }), t("mcpAddServer")]
624
520
  }),
625
- state.showErrors ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
521
+ pasteHint ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
626
522
  className: McpCard_module_css_default.invalid,
627
523
  role: "status",
628
- children: t("mcpRowInvalid")
524
+ children: pasteHint
629
525
  }) : null
630
526
  ]
631
527
  })
632
528
  ]
633
529
  });
634
530
  }
635
- function ServerEntry({ t, index, row, disabled, showErrors, onEdit, onRemove }) {
636
- const n = String(index + 1);
637
- const title = row.serverName.trim() || t("mcpServerRow").replace("{index}", n);
638
- const nameInvalid = showErrors && row.serverName.trim() === "";
639
- const endpointInvalid = showErrors && (row.transport === "http" ? row.url.trim() === "" : row.command.trim() === "");
640
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("article", {
531
+ function ServerSummary({ t, row, disabled, onRemove }) {
532
+ const summary = row.transport === "http" ? row.url : [row.command, row.args].filter((part) => part.trim()).join(" ");
533
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
641
534
  className: McpCard_module_css_default.entry,
642
- "aria-label": title,
643
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
535
+ "aria-label": row.serverName,
536
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
644
537
  className: McpCard_module_css_default.entryHead,
645
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", {
538
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", {
646
539
  className: McpCard_module_css_default.entryTitle,
647
- children: title
648
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
540
+ children: row.serverName
541
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
542
+ className: McpCard_module_css_default.empty,
543
+ children: summary || t("mcpServerRow").replace("{index}", "")
544
+ })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
649
545
  type: "button",
650
546
  className: McpCard_module_css_default.remove,
651
- "aria-label": `${t("mcpRemoveServer")} ${n}`,
547
+ "aria-label": `${t("mcpRemoveServer")} ${row.serverName}`,
652
548
  title: t("mcpRemoveServer"),
653
549
  disabled,
654
550
  onClick: onRemove,
655
551
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_xrkseek_client_ui_primitives.IconTrashOutline16, { size: 14 })
656
552
  })]
657
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
658
- className: McpCard_module_css_default.entryBody,
659
- children: [
660
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainField, {
661
- id: `plugin-config-mcp-name-${String(index)}`,
662
- label: t("mcpServerName"),
663
- hint: t("mcpServerNameHint"),
664
- value: row.serverName,
665
- invalid: nameInvalid,
666
- disabled,
667
- onChange: (value) => {
668
- onEdit(index, { serverName: value });
669
- }
670
- }),
671
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectField, {
672
- id: `plugin-config-mcp-transport-${String(index)}`,
673
- label: t("mcpTransport"),
674
- hint: t("mcpTransportHint"),
675
- value: row.transport,
676
- disabled,
677
- options: [{
678
- value: "stdio",
679
- label: t("mcpTransportStdio")
680
- }, {
681
- value: "http",
682
- label: t("mcpTransportHttp")
683
- }],
684
- onChange: (value) => {
685
- onEdit(index, { transport: value });
686
- }
687
- }),
688
- row.transport === "http" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainField, {
689
- id: `plugin-config-mcp-url-${String(index)}`,
690
- label: t("mcpUrl"),
691
- hint: t("mcpUrlHint"),
692
- value: row.url,
693
- invalid: endpointInvalid,
694
- disabled,
695
- onChange: (value) => {
696
- onEdit(index, { url: value });
697
- }
698
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
699
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainField, {
700
- id: `plugin-config-mcp-command-${String(index)}`,
701
- label: t("mcpCommand"),
702
- hint: t("mcpCommandHint"),
703
- value: row.command,
704
- invalid: endpointInvalid,
705
- disabled,
706
- onChange: (value) => {
707
- onEdit(index, { command: value });
708
- }
709
- }),
710
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainField, {
711
- id: `plugin-config-mcp-args-${String(index)}`,
712
- label: t("mcpArgs"),
713
- hint: t("mcpArgsHint"),
714
- value: row.args,
715
- disabled,
716
- onChange: (value) => {
717
- onEdit(index, { args: value });
718
- }
719
- }),
720
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlainField, {
721
- id: `plugin-config-mcp-cwd-${String(index)}`,
722
- label: t("mcpCwd"),
723
- hint: t("mcpCwdHint"),
724
- value: row.cwd,
725
- disabled,
726
- onChange: (value) => {
727
- onEdit(index, { cwd: value });
728
- }
729
- })
730
- ] })
731
- ]
732
- })]
553
+ })
733
554
  });
734
555
  }
735
556
  //#endregion
@@ -826,73 +647,6 @@ window.__ModuleLoader__.load({
826
647
  });
827
648
  }
828
649
  //#endregion
829
- //#region src/client/WebSearchCard.tsx
830
- /**
831
- * Render the web-search card.
832
- * @param props - locale copy, the card snapshot, and its form actions.
833
- * @returns the card.
834
- */
835
- function WebSearchCard(props) {
836
- const { t } = props;
837
- const state = props.useWebSearchCard((snapshot) => snapshot);
838
- const disabled = !state.writable;
839
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(PluginCard, {
840
- t,
841
- titleKey: "webSearchTitle",
842
- descriptionKey: "webSearchDescription",
843
- state,
844
- onSave: props.save,
845
- onDiscard: props.discard,
846
- children: [
847
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SecretField, {
848
- id: "plugin-config-web-search-key",
849
- label: t("webSearchApiKey"),
850
- hint: t("webSearchApiKeyHint"),
851
- disabled: !state.apiKeyWritable,
852
- text: state.apiKey.text,
853
- configured: state.apiKeyConfigured,
854
- stateLabel: state.apiKeyConfigured ? t("webSearchApiKeySet") : t("webSearchApiKeyUnset"),
855
- onEdit: (text) => {
856
- props.edit("apiKey", text);
857
- }
858
- }),
859
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ValueField, {
860
- id: "plugin-config-web-search-endpoint",
861
- label: t("webSearchBaseUrl"),
862
- hint: t("webSearchBaseUrlHint"),
863
- overriddenLabel: t("overridden"),
864
- resetLabel: t("reset"),
865
- invalidLabel: t("invalidNumber"),
866
- disabled,
867
- ...state.baseURL,
868
- onEdit: (text) => {
869
- props.edit("baseURL", text);
870
- },
871
- onReset: () => {
872
- props.resetField("baseURL");
873
- }
874
- }),
875
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ValueField, {
876
- id: "plugin-config-web-search-max-uses",
877
- label: t("webSearchMaxUses"),
878
- hint: t("webSearchMaxUsesHint"),
879
- overriddenLabel: t("overridden"),
880
- resetLabel: t("reset"),
881
- invalidLabel: t("invalidNumber"),
882
- numeric: true,
883
- disabled,
884
- ...state.maxUses,
885
- onEdit: (text) => {
886
- props.edit("maxUses", text);
887
- },
888
- onReset: () => {
889
- props.resetField("maxUses");
890
- }
891
- })
892
- ]
893
- });
894
- }
895
- //#endregion
896
650
  //#region src/client/card-form.ts
897
651
  /**
898
652
  * A whole-number field. An empty draft clears the field; any other draft that
@@ -916,25 +670,6 @@ window.__ModuleLoader__.load({
916
670
  };
917
671
  }
918
672
  /**
919
- * A free-text field. An empty draft clears the field, so emptying the control
920
- * and saving is the same gesture as resetting it.
921
- * @param field - field name inside the namespace section.
922
- * @returns the field's conversion spec.
923
- */
924
- function textField(field) {
925
- return {
926
- field,
927
- format: (value) => typeof value === "string" ? value : "",
928
- parse: (text) => {
929
- const trimmed = text.trim();
930
- return trimmed === "" ? { kind: "clear" } : {
931
- kind: "set",
932
- value: trimmed
933
- };
934
- }
935
- };
936
- }
937
- /**
938
673
  * Stages one card's edits over one settings namespace and writes them on save.
939
674
  *
940
675
  * The form publishes through a snapshot store because slot components read
@@ -1184,11 +919,11 @@ window.__ModuleLoader__.load({
1184
919
  //#endregion
1185
920
  //#region src/client/bash-card-controller.ts
1186
921
  /**
1187
- * Namespace of the shell capability. Spelled here rather than imported: a
1188
- * client package must not depend on a Host package, and the executor families
1189
- * that own it spell the same value.
922
+ * Namespace of the bash/terminal capability. Must match Face
923
+ * `FACE_PRODUCT_SETTINGS_NAMESPACES` (`bash`) or the Plugins tab never
924
+ * dispatches this card (Host serves `bash`, not `shell`).
1190
925
  */
1191
- const SHELL_NS = "shell";
926
+ const SHELL_NS = "bash";
1192
927
  /** Bridges the `bash` scope onto the shell card's staged form. */
1193
928
  var BashCardController = class {
1194
929
  form;
@@ -1284,9 +1019,7 @@ window.__ModuleLoader__.load({
1284
1019
  editRow: (index, patch) => {
1285
1020
  this.editRow(index, patch);
1286
1021
  },
1287
- addRow: (paste) => {
1288
- this.addRow(paste);
1289
- },
1022
+ addRow: (paste) => this.addRow(paste),
1290
1023
  removeRow: (index) => {
1291
1024
  this.removeRow(index);
1292
1025
  },
@@ -1322,10 +1055,14 @@ window.__ModuleLoader__.load({
1322
1055
  this.publish();
1323
1056
  }
1324
1057
  addRow(paste) {
1325
- const imported = paste ? rowsFromMcpPaste(paste) : [];
1326
- this.rows = imported.length > 0 ? [...this.rows, ...imported] : [...this.rows, emptyRow()];
1058
+ const raw = typeof paste === "string" ? paste.trim() : "";
1059
+ if (!raw) return "empty";
1060
+ const imported = rowsFromMcpPaste(raw);
1061
+ if (imported.length === 0) return "invalid";
1062
+ this.rows = mergeRowsByName(this.rows, imported);
1327
1063
  this.failed = false;
1328
1064
  this.publish();
1065
+ return "ok";
1329
1066
  }
1330
1067
  removeRow(index) {
1331
1068
  if (index < 0 || index >= this.rows.length) return;
@@ -1416,15 +1153,14 @@ window.__ModuleLoader__.load({
1416
1153
  ...cwd ? { cwd } : {}
1417
1154
  };
1418
1155
  }
1419
- function emptyRow() {
1420
- return {
1421
- serverName: "",
1422
- transport: "stdio",
1423
- command: "",
1424
- url: "",
1425
- args: "",
1426
- cwd: ""
1427
- };
1156
+ /** Upsert imported rows by `serverName` (later paste wins). */
1157
+ function mergeRowsByName(existing, imported) {
1158
+ const byName = new Map(existing.map((row) => [row.serverName, row]));
1159
+ for (const row of imported) byName.set(row.serverName, row);
1160
+ const order = [];
1161
+ for (const row of existing) if (!order.includes(row.serverName)) order.push(row.serverName);
1162
+ for (const row of imported) if (!order.includes(row.serverName)) order.push(row.serverName);
1163
+ return order.map((name) => byName.get(name)).filter(Boolean);
1428
1164
  }
1429
1165
  function namedRowToUi(name, row) {
1430
1166
  const serverName = name.trim();
@@ -1442,7 +1178,7 @@ window.__ModuleLoader__.load({
1442
1178
  };
1443
1179
  }
1444
1180
  /**
1445
- * Cursor / Claude Desktop paste: `{ "mcpServers": { "12306-mcp": { "command": "npx", "args": ["-y", "12306-mcp"] } } }`.
1181
+ * Cursor / Trae / Claude Desktop paste: `{ "mcpServers": { "name": { "command", "args" } } }`.
1446
1182
  * Also accepts a bare name map or a Face array of `{ serverName, command }`.
1447
1183
  */
1448
1184
  function rowsFromMcpPaste(raw) {
@@ -1552,137 +1288,6 @@ window.__ModuleLoader__.load({
1552
1288
  }
1553
1289
  };
1554
1290
  //#endregion
1555
- //#region src/client/web-search-card-controller.ts
1556
- /**
1557
- * Namespace of the DeepSeek search provider. Spelled here rather than
1558
- * imported: a client package must not depend on a Host package.
1559
- */
1560
- const WEB_SEARCH_NS = "web-search-deepseek";
1561
- /** Credential reference the provider resolves when the section names none. */
1562
- const DEFAULT_API_KEY_REF = "DEEPSEEK_API_KEY";
1563
- /** Form field the credential control stages under. */
1564
- const API_KEY_FIELD = "apiKey";
1565
- /** Bridges the `web-search-deepseek` scope and the credentials domain onto the card. */
1566
- var WebSearchCardController = class {
1567
- scope;
1568
- api;
1569
- form;
1570
- store;
1571
- credential = {
1572
- ref: "",
1573
- configured: false,
1574
- writable: true
1575
- };
1576
- /**
1577
- * @param scope - the bound settings scope for the `web-search-deepseek` namespace.
1578
- * @param api - wire face used for the credential the section references.
1579
- */
1580
- constructor(scope, api) {
1581
- this.scope = scope;
1582
- this.api = api;
1583
- this.form = new CardForm(scope, [textField("baseURL"), numberField("maxUses")], [{
1584
- field: API_KEY_FIELD,
1585
- write: (text) => this.writeKey(text)
1586
- }]);
1587
- this.store = this.form.bind(() => this.projection());
1588
- scope.subscribe(() => {
1589
- this.readCredential();
1590
- });
1591
- this.readCredential();
1592
- }
1593
- projection() {
1594
- return {
1595
- ...this.form.shell(),
1596
- baseURL: this.form.field("baseURL"),
1597
- maxUses: this.form.field("maxUses"),
1598
- apiKey: this.form.field(API_KEY_FIELD),
1599
- apiKeyConfigured: this.credential.configured,
1600
- apiKeyWritable: this.credential.writable
1601
- };
1602
- }
1603
- /**
1604
- * Ask the credentials domain about the reference the section currently names.
1605
- *
1606
- * The answer is stored with the reference it describes: `apiKeyEnv` can
1607
- * change between the request and its response, and two reads can settle out
1608
- * of order, so a response is published only while it still answers for the
1609
- * reference in force.
1610
- */
1611
- async readCredential() {
1612
- const ref = refOf(this.scope.getSnapshot());
1613
- if (ref !== this.credential.ref) {
1614
- this.credential = {
1615
- ref,
1616
- configured: false,
1617
- writable: true
1618
- };
1619
- this.store.set(this.projection());
1620
- }
1621
- let response;
1622
- try {
1623
- response = await this.api.credentials.describe({ refs: [ref] });
1624
- } catch (_credentialReadFailure) {
1625
- return;
1626
- }
1627
- if (!response.result.ok || ref !== refOf(this.scope.getSnapshot())) return;
1628
- const view = response.result.value.credentials[ref];
1629
- const next = {
1630
- ref,
1631
- configured: view?.configured ?? false,
1632
- writable: view?.writable ?? true
1633
- };
1634
- if (next.configured === this.credential.configured && next.writable === this.credential.writable) return;
1635
- this.credential = next;
1636
- this.store.set(this.projection());
1637
- }
1638
- /**
1639
- * Re-read after the Host reports a change to the reference this card watches.
1640
- *
1641
- * A key can be written from somewhere else — the Models page addresses the
1642
- * same reference — and the settings section does not change when it is, so
1643
- * without this the badge keeps reporting a state the Host already replaced.
1644
- * @param ref - the reference the Host reports as changed.
1645
- */
1646
- refreshCredential(ref) {
1647
- if (ref !== this.credential.ref) return;
1648
- this.readCredential();
1649
- }
1650
- /**
1651
- * Build the face the card's slot registration injects.
1652
- * @returns the card's snapshot and its form actions.
1653
- */
1654
- inject() {
1655
- return {
1656
- hooks: { webSearchCard: this.store },
1657
- ...this.form.actions()
1658
- };
1659
- }
1660
- /**
1661
- * Write the staged key, then re-read whether the Host now holds one.
1662
- * @param value - the staged credential literal.
1663
- * @returns whether the Host reports a configured credential afterwards.
1664
- */
1665
- async writeKey(value) {
1666
- try {
1667
- await this.api.credentials.set({
1668
- ref: refOf(this.scope.getSnapshot()),
1669
- value
1670
- });
1671
- } catch (_credentialWriteFailure) {}
1672
- await this.readCredential();
1673
- return this.credential.configured;
1674
- }
1675
- };
1676
- /**
1677
- * The credential reference the section names, or the provider's default.
1678
- * @param snapshot - the current scope snapshot.
1679
- * @returns the reference to address.
1680
- */
1681
- function refOf(snapshot) {
1682
- const declared = snapshot.value?.apiKeyEnv;
1683
- return declared !== void 0 && declared.length > 0 ? declared : DEFAULT_API_KEY_REF;
1684
- }
1685
- //#endregion
1686
1291
  //#region src/client/locales.ts
1687
1292
  /** English copy. */
1688
1293
  const en = {
@@ -1713,25 +1318,17 @@ window.__ModuleLoader__.load({
1713
1318
  agentLoopDescription: "How the agent dispatches tool calls.",
1714
1319
  agentLoopMaxParallel: "Parallel tool calls",
1715
1320
  agentLoopMaxParallelHint: "Upper bound on parallel-safe calls running at once within one step.",
1716
- webSearchTitle: "Web search",
1717
- webSearchDescription: "The XRK search provider.",
1718
- webSearchApiKey: "API key",
1719
- webSearchApiKeyHint: "Stored outside the settings file. Leave blank to keep the current key.",
1720
- webSearchApiKeySet: "A key is configured.",
1721
- webSearchApiKeyUnset: "No key is configured; search is unavailable until one is.",
1722
- webSearchBaseUrl: "Endpoint",
1723
- webSearchBaseUrlHint: "Leave blank to use the provider default.",
1724
- webSearchMaxUses: "Max searches per request",
1725
- webSearchMaxUsesHint: "How many times one request may search before it must answer.",
1726
1321
  mcpTitle: "MCP servers",
1727
- mcpDescription: "Add local commands or remote URLs. Saved list remounts live when Host uses the settings file (empty XRK_MCP_SERVERS). Allow policy still required to connect.",
1322
+ mcpDescription: "Paste Cursor / Trae style JSON blocks one at a time. Each paste merges servers by name; save remounts when Host uses the settings file.",
1728
1323
  mcpConnectedHeading: "Connected now",
1729
1324
  mcpServersHeading: "Servers",
1730
- mcpServersEmpty: "No servers yet. Add one, save, and Host remounts.",
1731
- mcpAddServer: "Add server",
1325
+ mcpServersEmpty: "No servers yet. Paste a JSON block below and add.",
1326
+ mcpAddServer: "Add from JSON",
1732
1327
  mcpRemoveServer: "Remove",
1733
- mcpPaste: "Paste JSON",
1734
- mcpPasteHint: "{ \"mcpServers\": { \"12306-mcp\": { \"command\": \"npx\", \"args\": [\"-y\", \"12306-mcp\"] } } }",
1328
+ mcpPaste: "Paste JSON block",
1329
+ mcpPasteHint: "{ \"mcpServers\": { \"demo\": { \"command\": \"npx\", \"args\": [\"-y\", \"demo-mcp\"] } } }",
1330
+ mcpPasteEmpty: "Paste a JSON block first.",
1331
+ mcpPasteInvalid: "Could not find mcpServers entries in that JSON.",
1735
1332
  mcpServerRow: "Server {index}",
1736
1333
  mcpServerName: "Name",
1737
1334
  mcpServerNameHint: "Short id in tool names (mcp__name__…).",
@@ -1782,25 +1379,17 @@ window.__ModuleLoader__.load({
1782
1379
  agentLoopDescription: "Agent 如何派发工具调用。",
1783
1380
  agentLoopMaxParallel: "并行工具调用数",
1784
1381
  agentLoopMaxParallelHint: "同一步内最多同时运行多少个可并行的调用。",
1785
- webSearchTitle: "网页搜索",
1786
- webSearchDescription: "XRK 搜索提供方。",
1787
- webSearchApiKey: "API Key",
1788
- webSearchApiKeyHint: "不写入设置文件。留空表示保持当前密钥。",
1789
- webSearchApiKeySet: "已配置密钥。",
1790
- webSearchApiKeyUnset: "未配置密钥;配置之前搜索不可用。",
1791
- webSearchBaseUrl: "接口地址",
1792
- webSearchBaseUrlHint: "留空则使用提供方默认地址。",
1793
- webSearchMaxUses: "单次请求最多搜索次数",
1794
- webSearchMaxUsesHint: "一次请求在必须作答前最多可以搜索多少次。",
1795
1382
  mcpTitle: "MCP 服务器",
1796
- mcpDescription: "添加本地命令或远程 URL。设置文件为真源(空 XRK_MCP_SERVERS)时保存后热挂载;连接仍需 allow 策略。",
1383
+ mcpDescription: " Trae / Cursor 一样每次粘贴一段 mcpServers JSON;按名称合并进列表,保存后热挂载。",
1797
1384
  mcpConnectedHeading: "当前已连接",
1798
1385
  mcpServersHeading: "服务器",
1799
- mcpServersEmpty: "还没有服务器。添加一条并保存即可热挂载。",
1800
- mcpAddServer: "添加服务器",
1386
+ mcpServersEmpty: "还没有服务器。在下方粘贴 JSON 块后点添加。",
1387
+ mcpAddServer: "从 JSON 添加",
1801
1388
  mcpRemoveServer: "移除",
1802
- mcpPaste: "粘贴 JSON",
1803
- mcpPasteHint: "{ \"mcpServers\": { \"12306-mcp\": { \"command\": \"npx\", \"args\": [\"-y\", \"12306-mcp\"] } } }",
1389
+ mcpPaste: "粘贴 JSON",
1390
+ mcpPasteHint: "{ \"mcpServers\": { \"demo\": { \"command\": \"npx\", \"args\": [\"-y\", \"demo-mcp\"] } } }",
1391
+ mcpPasteEmpty: "请先粘贴一段 JSON。",
1392
+ mcpPasteInvalid: "这段 JSON 里没有可用的 mcpServers 条目。",
1804
1393
  mcpServerRow: "服务器 {index}",
1805
1394
  mcpServerName: "名称",
1806
1395
  mcpServerNameHint: "工具名里的短 id(mcp__name__…)。",
@@ -1847,11 +1436,7 @@ window.__ModuleLoader__.load({
1847
1436
  }), "ui-settings-plugins: section dictionaries");
1848
1437
  const bash = new BashCardController(ctx.settingsScope.bind({ namespace: SHELL_NS }));
1849
1438
  const agentLoop = new AgentLoopCardController(ctx.settingsScope.bind({ namespace: AGENT_LOOP_NS }));
1850
- const webSearch = new WebSearchCardController(ctx.settingsScope.bind({ namespace: WEB_SEARCH_NS }), api);
1851
1439
  const mcp = new McpCardController(ctx.settingsScope.bind({ namespace: "mcp" }));
1852
- ctx.effect(() => ctx.remote.$on("credentials/updated", (ref) => {
1853
- webSearch.refreshCredential(ref);
1854
- }), "ui-settings-plugins: credential invalidations");
1855
1440
  const configurable = new ConfigurablePluginsTabController(api, () => ctx.slots.entries("settings.plugin.item"));
1856
1441
  ctx.effect(() => () => {
1857
1442
  configurable.dispose();
@@ -1919,6 +1504,12 @@ window.__ModuleLoader__.load({
1919
1504
  } }
1920
1505
  }, ConfigurablePluginsTab));
1921
1506
  ctx.slots.inject("settings.plugin.item", function* () {
1507
+ yield ctx.slots.register({
1508
+ name: "settings.plugin.item",
1509
+ key: "mcp",
1510
+ locale: NS,
1511
+ inject: () => mcp.inject()
1512
+ }, McpCard);
1922
1513
  yield ctx.slots.register({
1923
1514
  name: "settings.plugin.item",
1924
1515
  key: SHELL_NS,
@@ -1931,18 +1522,6 @@ window.__ModuleLoader__.load({
1931
1522
  locale: NS,
1932
1523
  inject: () => agentLoop.inject()
1933
1524
  }, AgentLoopCard);
1934
- yield ctx.slots.register({
1935
- name: "settings.plugin.item",
1936
- key: WEB_SEARCH_NS,
1937
- locale: NS,
1938
- inject: () => webSearch.inject()
1939
- }, WebSearchCard);
1940
- yield ctx.slots.register({
1941
- name: "settings.plugin.item",
1942
- key: "mcp",
1943
- locale: NS,
1944
- inject: () => mcp.inject()
1945
- }, McpCard);
1946
1525
  });
1947
1526
  }
1948
1527
  //#endregion