@tianshu-ai/tianshu 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (917) hide show
  1. package/LICENSE +200 -0
  2. package/README.md +284 -0
  3. package/README.zh-CN.md +136 -0
  4. package/bin/tianshu.mjs +32 -0
  5. package/package.json +60 -0
  6. package/packages/plugin-sdk/dist/agent-loop.d.ts +96 -0
  7. package/packages/plugin-sdk/dist/agent-loop.d.ts.map +1 -0
  8. package/packages/plugin-sdk/dist/agent-loop.js +11 -0
  9. package/packages/plugin-sdk/dist/agent-loop.js.map +1 -0
  10. package/packages/plugin-sdk/dist/capabilities.d.ts +48 -0
  11. package/packages/plugin-sdk/dist/capabilities.d.ts.map +1 -0
  12. package/packages/plugin-sdk/dist/capabilities.js +61 -0
  13. package/packages/plugin-sdk/dist/capabilities.js.map +1 -0
  14. package/packages/plugin-sdk/dist/catalog.d.ts +60 -0
  15. package/packages/plugin-sdk/dist/catalog.d.ts.map +1 -0
  16. package/packages/plugin-sdk/dist/catalog.js +11 -0
  17. package/packages/plugin-sdk/dist/catalog.js.map +1 -0
  18. package/packages/plugin-sdk/dist/client.d.ts +171 -0
  19. package/packages/plugin-sdk/dist/client.d.ts.map +1 -0
  20. package/packages/plugin-sdk/dist/client.js +96 -0
  21. package/packages/plugin-sdk/dist/client.js.map +1 -0
  22. package/packages/plugin-sdk/dist/index.d.ts +9 -0
  23. package/packages/plugin-sdk/dist/index.d.ts.map +1 -0
  24. package/packages/plugin-sdk/dist/index.js +19 -0
  25. package/packages/plugin-sdk/dist/index.js.map +1 -0
  26. package/packages/plugin-sdk/dist/lsp.d.ts +32 -0
  27. package/packages/plugin-sdk/dist/lsp.d.ts.map +1 -0
  28. package/packages/plugin-sdk/dist/lsp.js +19 -0
  29. package/packages/plugin-sdk/dist/lsp.js.map +1 -0
  30. package/packages/plugin-sdk/dist/manifest.d.ts +423 -0
  31. package/packages/plugin-sdk/dist/manifest.d.ts.map +1 -0
  32. package/packages/plugin-sdk/dist/manifest.js +7 -0
  33. package/packages/plugin-sdk/dist/manifest.js.map +1 -0
  34. package/packages/plugin-sdk/dist/mcp-client.d.ts +74 -0
  35. package/packages/plugin-sdk/dist/mcp-client.d.ts.map +1 -0
  36. package/packages/plugin-sdk/dist/mcp-client.js +226 -0
  37. package/packages/plugin-sdk/dist/mcp-client.js.map +1 -0
  38. package/packages/plugin-sdk/dist/mcp-fetch.d.ts +10 -0
  39. package/packages/plugin-sdk/dist/mcp-fetch.d.ts.map +1 -0
  40. package/packages/plugin-sdk/dist/mcp-fetch.js +130 -0
  41. package/packages/plugin-sdk/dist/mcp-fetch.js.map +1 -0
  42. package/packages/plugin-sdk/dist/mcp-toolset.d.ts +128 -0
  43. package/packages/plugin-sdk/dist/mcp-toolset.d.ts.map +1 -0
  44. package/packages/plugin-sdk/dist/mcp-toolset.js +246 -0
  45. package/packages/plugin-sdk/dist/mcp-toolset.js.map +1 -0
  46. package/packages/plugin-sdk/dist/server.d.ts +486 -0
  47. package/packages/plugin-sdk/dist/server.d.ts.map +1 -0
  48. package/packages/plugin-sdk/dist/server.js +10 -0
  49. package/packages/plugin-sdk/dist/server.js.map +1 -0
  50. package/packages/plugin-sdk/dist/session-inbox.d.ts +56 -0
  51. package/packages/plugin-sdk/dist/session-inbox.d.ts.map +1 -0
  52. package/packages/plugin-sdk/dist/session-inbox.js +12 -0
  53. package/packages/plugin-sdk/dist/session-inbox.js.map +1 -0
  54. package/packages/plugin-sdk/package.json +36 -0
  55. package/packages/server/builtinConfig/plugins/README.md +1 -0
  56. package/packages/server/builtinConfig/plugins/files/manifest.json +100 -0
  57. package/packages/server/builtinConfig/plugins/files/skills/files-workspace-layout.md +29 -0
  58. package/packages/server/builtinConfig/plugins/microsandbox/manifest.json +177 -0
  59. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-browser-howto.md +155 -0
  60. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-build-use.md +201 -0
  61. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-config.md +38 -0
  62. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-exec-howto.md +144 -0
  63. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-libreoffice.md +159 -0
  64. package/packages/server/builtinConfig/plugins/microsandbox/skills/microsandbox-main-orchestration.md +75 -0
  65. package/packages/server/builtinConfig/plugins/microsandbox/templates/README.md +26 -0
  66. package/packages/server/builtinConfig/plugins/microsandbox/templates/browser.yaml +105 -0
  67. package/packages/server/builtinConfig/plugins/microsandbox/templates/task-runner-with-browser.yaml +80 -0
  68. package/packages/server/builtinConfig/plugins/microsandbox/templates/task-runner.yaml +80 -0
  69. package/packages/server/builtinConfig/plugins/web-search/manifest.json +65 -0
  70. package/packages/server/builtinConfig/plugins/web-search/skills/web-search-howto.md +69 -0
  71. package/packages/server/builtinConfig/plugins/workboard/agent-seeds/echo-demo/agent.json +7 -0
  72. package/packages/server/builtinConfig/plugins/workboard/agent-seeds/llm-default/SOUL.md +53 -0
  73. package/packages/server/builtinConfig/plugins/workboard/agent-seeds/llm-default/agent.json +7 -0
  74. package/packages/server/builtinConfig/plugins/workboard/manifest.json +180 -0
  75. package/packages/server/builtinConfig/plugins/workboard/skills/large-input-large-output.md +185 -0
  76. package/packages/server/builtinConfig/plugins/workboard/skills/workboard-howto.md +166 -0
  77. package/packages/server/builtinConfig/plugins/workboard/skills/worker-creator.md +267 -0
  78. package/packages/server/builtinConfig/plugins/workboard/skills/worker-fleet.md +431 -0
  79. package/packages/server/dist/catalog.d.ts +52 -0
  80. package/packages/server/dist/catalog.d.ts.map +1 -0
  81. package/packages/server/dist/catalog.js +189 -0
  82. package/packages/server/dist/catalog.js.map +1 -0
  83. package/packages/server/dist/chat/active-harnesses.d.ts +34 -0
  84. package/packages/server/dist/chat/active-harnesses.d.ts.map +1 -0
  85. package/packages/server/dist/chat/active-harnesses.js +118 -0
  86. package/packages/server/dist/chat/active-harnesses.js.map +1 -0
  87. package/packages/server/dist/chat/agent-loop.d.ts +64 -0
  88. package/packages/server/dist/chat/agent-loop.d.ts.map +1 -0
  89. package/packages/server/dist/chat/agent-loop.js +597 -0
  90. package/packages/server/dist/chat/agent-loop.js.map +1 -0
  91. package/packages/server/dist/chat/agent-tool-adapter.d.ts +33 -0
  92. package/packages/server/dist/chat/agent-tool-adapter.d.ts.map +1 -0
  93. package/packages/server/dist/chat/agent-tool-adapter.js +260 -0
  94. package/packages/server/dist/chat/agent-tool-adapter.js.map +1 -0
  95. package/packages/server/dist/chat/compact.d.ts +52 -0
  96. package/packages/server/dist/chat/compact.d.ts.map +1 -0
  97. package/packages/server/dist/chat/compact.js +248 -0
  98. package/packages/server/dist/chat/compact.js.map +1 -0
  99. package/packages/server/dist/chat/dump-system-prompt.d.ts +17 -0
  100. package/packages/server/dist/chat/dump-system-prompt.d.ts.map +1 -0
  101. package/packages/server/dist/chat/dump-system-prompt.js +58 -0
  102. package/packages/server/dist/chat/dump-system-prompt.js.map +1 -0
  103. package/packages/server/dist/chat/handler.d.ts +186 -0
  104. package/packages/server/dist/chat/handler.d.ts.map +1 -0
  105. package/packages/server/dist/chat/handler.js +1248 -0
  106. package/packages/server/dist/chat/handler.js.map +1 -0
  107. package/packages/server/dist/chat/image-fit.d.ts +34 -0
  108. package/packages/server/dist/chat/image-fit.d.ts.map +1 -0
  109. package/packages/server/dist/chat/image-fit.js +157 -0
  110. package/packages/server/dist/chat/image-fit.js.map +1 -0
  111. package/packages/server/dist/chat/messages.d.ts +118 -0
  112. package/packages/server/dist/chat/messages.d.ts.map +1 -0
  113. package/packages/server/dist/chat/messages.js +341 -0
  114. package/packages/server/dist/chat/messages.js.map +1 -0
  115. package/packages/server/dist/chat/session-inbox.d.ts +114 -0
  116. package/packages/server/dist/chat/session-inbox.d.ts.map +1 -0
  117. package/packages/server/dist/chat/session-inbox.js +418 -0
  118. package/packages/server/dist/chat/session-inbox.js.map +1 -0
  119. package/packages/server/dist/chat/sqlite-session-repo.d.ts +26 -0
  120. package/packages/server/dist/chat/sqlite-session-repo.d.ts.map +1 -0
  121. package/packages/server/dist/chat/sqlite-session-repo.js +132 -0
  122. package/packages/server/dist/chat/sqlite-session-repo.js.map +1 -0
  123. package/packages/server/dist/chat/sqlite-session-storage.d.ts +83 -0
  124. package/packages/server/dist/chat/sqlite-session-storage.d.ts.map +1 -0
  125. package/packages/server/dist/chat/sqlite-session-storage.js +418 -0
  126. package/packages/server/dist/chat/sqlite-session-storage.js.map +1 -0
  127. package/packages/server/dist/chat/stub-execution-env.d.ts +3 -0
  128. package/packages/server/dist/chat/stub-execution-env.d.ts.map +1 -0
  129. package/packages/server/dist/chat/stub-execution-env.js +87 -0
  130. package/packages/server/dist/chat/stub-execution-env.js.map +1 -0
  131. package/packages/server/dist/chat/token-estimate.d.ts +11 -0
  132. package/packages/server/dist/chat/token-estimate.d.ts.map +1 -0
  133. package/packages/server/dist/chat/token-estimate.js +67 -0
  134. package/packages/server/dist/chat/token-estimate.js.map +1 -0
  135. package/packages/server/dist/chat/ws-protocol.d.ts +244 -0
  136. package/packages/server/dist/chat/ws-protocol.d.ts.map +1 -0
  137. package/packages/server/dist/chat/ws-protocol.js +193 -0
  138. package/packages/server/dist/chat/ws-protocol.js.map +1 -0
  139. package/packages/server/dist/cli.d.ts +9 -0
  140. package/packages/server/dist/cli.d.ts.map +1 -0
  141. package/packages/server/dist/cli.js +329 -0
  142. package/packages/server/dist/cli.js.map +1 -0
  143. package/packages/server/dist/core/agent-seeds.d.ts +25 -0
  144. package/packages/server/dist/core/agent-seeds.d.ts.map +1 -0
  145. package/packages/server/dist/core/agent-seeds.js +69 -0
  146. package/packages/server/dist/core/agent-seeds.js.map +1 -0
  147. package/packages/server/dist/core/config.d.ts +172 -0
  148. package/packages/server/dist/core/config.d.ts.map +1 -0
  149. package/packages/server/dist/core/config.js +155 -0
  150. package/packages/server/dist/core/config.js.map +1 -0
  151. package/packages/server/dist/core/db-pool.d.ts +32 -0
  152. package/packages/server/dist/core/db-pool.d.ts.map +1 -0
  153. package/packages/server/dist/core/db-pool.js +108 -0
  154. package/packages/server/dist/core/db-pool.js.map +1 -0
  155. package/packages/server/dist/core/dev-mode.d.ts +13 -0
  156. package/packages/server/dist/core/dev-mode.d.ts.map +1 -0
  157. package/packages/server/dist/core/dev-mode.js +51 -0
  158. package/packages/server/dist/core/dev-mode.js.map +1 -0
  159. package/packages/server/dist/core/global-ops.d.ts +54 -0
  160. package/packages/server/dist/core/global-ops.d.ts.map +1 -0
  161. package/packages/server/dist/core/global-ops.js +143 -0
  162. package/packages/server/dist/core/global-ops.js.map +1 -0
  163. package/packages/server/dist/core/identity-resolvers.d.ts +102 -0
  164. package/packages/server/dist/core/identity-resolvers.d.ts.map +1 -0
  165. package/packages/server/dist/core/identity-resolvers.js +176 -0
  166. package/packages/server/dist/core/identity-resolvers.js.map +1 -0
  167. package/packages/server/dist/core/index.d.ts +13 -0
  168. package/packages/server/dist/core/index.d.ts.map +1 -0
  169. package/packages/server/dist/core/index.js +18 -0
  170. package/packages/server/dist/core/index.js.map +1 -0
  171. package/packages/server/dist/core/llm.d.ts +45 -0
  172. package/packages/server/dist/core/llm.d.ts.map +1 -0
  173. package/packages/server/dist/core/llm.js +140 -0
  174. package/packages/server/dist/core/llm.js.map +1 -0
  175. package/packages/server/dist/core/mcp-manager.d.ts +47 -0
  176. package/packages/server/dist/core/mcp-manager.d.ts.map +1 -0
  177. package/packages/server/dist/core/mcp-manager.js +129 -0
  178. package/packages/server/dist/core/mcp-manager.js.map +1 -0
  179. package/packages/server/dist/core/middleware.d.ts +31 -0
  180. package/packages/server/dist/core/middleware.d.ts.map +1 -0
  181. package/packages/server/dist/core/middleware.js +102 -0
  182. package/packages/server/dist/core/middleware.js.map +1 -0
  183. package/packages/server/dist/core/migrations/001-initial.d.ts +4 -0
  184. package/packages/server/dist/core/migrations/001-initial.d.ts.map +1 -0
  185. package/packages/server/dist/core/migrations/001-initial.js +66 -0
  186. package/packages/server/dist/core/migrations/001-initial.js.map +1 -0
  187. package/packages/server/dist/core/migrations/002-task-dependencies.d.ts +4 -0
  188. package/packages/server/dist/core/migrations/002-task-dependencies.d.ts.map +1 -0
  189. package/packages/server/dist/core/migrations/002-task-dependencies.js +20 -0
  190. package/packages/server/dist/core/migrations/002-task-dependencies.js.map +1 -0
  191. package/packages/server/dist/core/migrations/003-session-tree.d.ts +4 -0
  192. package/packages/server/dist/core/migrations/003-session-tree.d.ts.map +1 -0
  193. package/packages/server/dist/core/migrations/003-session-tree.js +96 -0
  194. package/packages/server/dist/core/migrations/003-session-tree.js.map +1 -0
  195. package/packages/server/dist/core/migrations/003-worker-agents.d.ts +4 -0
  196. package/packages/server/dist/core/migrations/003-worker-agents.d.ts.map +1 -0
  197. package/packages/server/dist/core/migrations/003-worker-agents.js +65 -0
  198. package/packages/server/dist/core/migrations/003-worker-agents.js.map +1 -0
  199. package/packages/server/dist/core/migrations/004-rebuild-message-chain.d.ts +4 -0
  200. package/packages/server/dist/core/migrations/004-rebuild-message-chain.d.ts.map +1 -0
  201. package/packages/server/dist/core/migrations/004-rebuild-message-chain.js +52 -0
  202. package/packages/server/dist/core/migrations/004-rebuild-message-chain.js.map +1 -0
  203. package/packages/server/dist/core/migrations/005-task-status-rename.d.ts +4 -0
  204. package/packages/server/dist/core/migrations/005-task-status-rename.d.ts.map +1 -0
  205. package/packages/server/dist/core/migrations/005-task-status-rename.js +64 -0
  206. package/packages/server/dist/core/migrations/005-task-status-rename.js.map +1 -0
  207. package/packages/server/dist/core/migrations/006-task-labels.d.ts +4 -0
  208. package/packages/server/dist/core/migrations/006-task-labels.d.ts.map +1 -0
  209. package/packages/server/dist/core/migrations/006-task-labels.js +43 -0
  210. package/packages/server/dist/core/migrations/006-task-labels.js.map +1 -0
  211. package/packages/server/dist/core/migrations/007-session-inbox.d.ts +4 -0
  212. package/packages/server/dist/core/migrations/007-session-inbox.d.ts.map +1 -0
  213. package/packages/server/dist/core/migrations/007-session-inbox.js +67 -0
  214. package/packages/server/dist/core/migrations/007-session-inbox.js.map +1 -0
  215. package/packages/server/dist/core/migrations/008-task-intervention.d.ts +4 -0
  216. package/packages/server/dist/core/migrations/008-task-intervention.d.ts.map +1 -0
  217. package/packages/server/dist/core/migrations/008-task-intervention.js +60 -0
  218. package/packages/server/dist/core/migrations/008-task-intervention.js.map +1 -0
  219. package/packages/server/dist/core/migrations/index.d.ts +12 -0
  220. package/packages/server/dist/core/migrations/index.d.ts.map +1 -0
  221. package/packages/server/dist/core/migrations/index.js +58 -0
  222. package/packages/server/dist/core/migrations/index.js.map +1 -0
  223. package/packages/server/dist/core/paths.d.ts +53 -0
  224. package/packages/server/dist/core/paths.d.ts.map +1 -0
  225. package/packages/server/dist/core/paths.js +125 -0
  226. package/packages/server/dist/core/paths.js.map +1 -0
  227. package/packages/server/dist/core/plugins/builtin-loader.d.ts +56 -0
  228. package/packages/server/dist/core/plugins/builtin-loader.d.ts.map +1 -0
  229. package/packages/server/dist/core/plugins/builtin-loader.js +153 -0
  230. package/packages/server/dist/core/plugins/builtin-loader.js.map +1 -0
  231. package/packages/server/dist/core/plugins/discovery.d.ts +28 -0
  232. package/packages/server/dist/core/plugins/discovery.d.ts.map +1 -0
  233. package/packages/server/dist/core/plugins/discovery.js +97 -0
  234. package/packages/server/dist/core/plugins/discovery.js.map +1 -0
  235. package/packages/server/dist/core/plugins/index.d.ts +6 -0
  236. package/packages/server/dist/core/plugins/index.d.ts.map +1 -0
  237. package/packages/server/dist/core/plugins/index.js +6 -0
  238. package/packages/server/dist/core/plugins/index.js.map +1 -0
  239. package/packages/server/dist/core/plugins/manifest.d.ts +9 -0
  240. package/packages/server/dist/core/plugins/manifest.d.ts.map +1 -0
  241. package/packages/server/dist/core/plugins/manifest.js +584 -0
  242. package/packages/server/dist/core/plugins/manifest.js.map +1 -0
  243. package/packages/server/dist/core/plugins/registry.d.ts +269 -0
  244. package/packages/server/dist/core/plugins/registry.d.ts.map +1 -0
  245. package/packages/server/dist/core/plugins/registry.js +1003 -0
  246. package/packages/server/dist/core/plugins/registry.js.map +1 -0
  247. package/packages/server/dist/core/plugins/secrets.d.ts +46 -0
  248. package/packages/server/dist/core/plugins/secrets.d.ts.map +1 -0
  249. package/packages/server/dist/core/plugins/secrets.js +174 -0
  250. package/packages/server/dist/core/plugins/secrets.js.map +1 -0
  251. package/packages/server/dist/core/plugins/skills.d.ts +131 -0
  252. package/packages/server/dist/core/plugins/skills.d.ts.map +1 -0
  253. package/packages/server/dist/core/plugins/skills.js +389 -0
  254. package/packages/server/dist/core/plugins/skills.js.map +1 -0
  255. package/packages/server/dist/core/templates.d.ts +28 -0
  256. package/packages/server/dist/core/templates.d.ts.map +1 -0
  257. package/packages/server/dist/core/templates.js +103 -0
  258. package/packages/server/dist/core/templates.js.map +1 -0
  259. package/packages/server/dist/core/tenant-context.d.ts +18 -0
  260. package/packages/server/dist/core/tenant-context.d.ts.map +1 -0
  261. package/packages/server/dist/core/tenant-context.js +42 -0
  262. package/packages/server/dist/core/tenant-context.js.map +1 -0
  263. package/packages/server/dist/core/tenant-id.d.ts +8 -0
  264. package/packages/server/dist/core/tenant-id.d.ts.map +1 -0
  265. package/packages/server/dist/core/tenant-id.js +53 -0
  266. package/packages/server/dist/core/tenant-id.js.map +1 -0
  267. package/packages/server/dist/core/tenant-skills.d.ts +29 -0
  268. package/packages/server/dist/core/tenant-skills.d.ts.map +1 -0
  269. package/packages/server/dist/core/tenant-skills.js +77 -0
  270. package/packages/server/dist/core/tenant-skills.js.map +1 -0
  271. package/packages/server/dist/core/worker-agents-fs.d.ts +44 -0
  272. package/packages/server/dist/core/worker-agents-fs.d.ts.map +1 -0
  273. package/packages/server/dist/core/worker-agents-fs.js +86 -0
  274. package/packages/server/dist/core/worker-agents-fs.js.map +1 -0
  275. package/packages/server/dist/core/worker-agents.d.ts +77 -0
  276. package/packages/server/dist/core/worker-agents.d.ts.map +1 -0
  277. package/packages/server/dist/core/worker-agents.js +191 -0
  278. package/packages/server/dist/core/worker-agents.js.map +1 -0
  279. package/packages/server/dist/index.d.ts +2 -0
  280. package/packages/server/dist/index.d.ts.map +1 -0
  281. package/packages/server/dist/index.js +623 -0
  282. package/packages/server/dist/index.js.map +1 -0
  283. package/packages/server/dist/lsp/client.d.ts +53 -0
  284. package/packages/server/dist/lsp/client.d.ts.map +1 -0
  285. package/packages/server/dist/lsp/client.js +258 -0
  286. package/packages/server/dist/lsp/client.js.map +1 -0
  287. package/packages/server/dist/lsp/format.d.ts +13 -0
  288. package/packages/server/dist/lsp/format.d.ts.map +1 -0
  289. package/packages/server/dist/lsp/format.js +55 -0
  290. package/packages/server/dist/lsp/format.js.map +1 -0
  291. package/packages/server/dist/lsp/index.d.ts +20 -0
  292. package/packages/server/dist/lsp/index.d.ts.map +1 -0
  293. package/packages/server/dist/lsp/index.js +32 -0
  294. package/packages/server/dist/lsp/index.js.map +1 -0
  295. package/packages/server/dist/lsp/language-registry.d.ts +29 -0
  296. package/packages/server/dist/lsp/language-registry.d.ts.map +1 -0
  297. package/packages/server/dist/lsp/language-registry.js +62 -0
  298. package/packages/server/dist/lsp/language-registry.js.map +1 -0
  299. package/packages/server/dist/lsp/manager.d.ts +77 -0
  300. package/packages/server/dist/lsp/manager.d.ts.map +1 -0
  301. package/packages/server/dist/lsp/manager.js +300 -0
  302. package/packages/server/dist/lsp/manager.js.map +1 -0
  303. package/packages/server/dist/plugins-routes.d.ts +96 -0
  304. package/packages/server/dist/plugins-routes.d.ts.map +1 -0
  305. package/packages/server/dist/plugins-routes.js +627 -0
  306. package/packages/server/dist/plugins-routes.js.map +1 -0
  307. package/packages/server/dist/setup/checks/config.d.ts +9 -0
  308. package/packages/server/dist/setup/checks/config.d.ts.map +1 -0
  309. package/packages/server/dist/setup/checks/config.js +66 -0
  310. package/packages/server/dist/setup/checks/config.js.map +1 -0
  311. package/packages/server/dist/setup/checks/db.d.ts +6 -0
  312. package/packages/server/dist/setup/checks/db.d.ts.map +1 -0
  313. package/packages/server/dist/setup/checks/db.js +79 -0
  314. package/packages/server/dist/setup/checks/db.js.map +1 -0
  315. package/packages/server/dist/setup/checks/known-models.d.ts +18 -0
  316. package/packages/server/dist/setup/checks/known-models.d.ts.map +1 -0
  317. package/packages/server/dist/setup/checks/known-models.js +119 -0
  318. package/packages/server/dist/setup/checks/known-models.js.map +1 -0
  319. package/packages/server/dist/setup/checks/network.d.ts +11 -0
  320. package/packages/server/dist/setup/checks/network.d.ts.map +1 -0
  321. package/packages/server/dist/setup/checks/network.js +176 -0
  322. package/packages/server/dist/setup/checks/network.js.map +1 -0
  323. package/packages/server/dist/setup/checks/plugins.d.ts +9 -0
  324. package/packages/server/dist/setup/checks/plugins.d.ts.map +1 -0
  325. package/packages/server/dist/setup/checks/plugins.js +194 -0
  326. package/packages/server/dist/setup/checks/plugins.js.map +1 -0
  327. package/packages/server/dist/setup/checks/providers.d.ts +12 -0
  328. package/packages/server/dist/setup/checks/providers.d.ts.map +1 -0
  329. package/packages/server/dist/setup/checks/providers.js +368 -0
  330. package/packages/server/dist/setup/checks/providers.js.map +1 -0
  331. package/packages/server/dist/setup/checks/runtime.d.ts +3 -0
  332. package/packages/server/dist/setup/checks/runtime.d.ts.map +1 -0
  333. package/packages/server/dist/setup/checks/runtime.js +44 -0
  334. package/packages/server/dist/setup/checks/runtime.js.map +1 -0
  335. package/packages/server/dist/setup/checks/sandbox.d.ts +9 -0
  336. package/packages/server/dist/setup/checks/sandbox.d.ts.map +1 -0
  337. package/packages/server/dist/setup/checks/sandbox.js +110 -0
  338. package/packages/server/dist/setup/checks/sandbox.js.map +1 -0
  339. package/packages/server/dist/setup/checks/tenants.d.ts +9 -0
  340. package/packages/server/dist/setup/checks/tenants.d.ts.map +1 -0
  341. package/packages/server/dist/setup/checks/tenants.js +509 -0
  342. package/packages/server/dist/setup/checks/tenants.js.map +1 -0
  343. package/packages/server/dist/setup/cli-agent.d.ts +39 -0
  344. package/packages/server/dist/setup/cli-agent.d.ts.map +1 -0
  345. package/packages/server/dist/setup/cli-agent.js +1353 -0
  346. package/packages/server/dist/setup/cli-agent.js.map +1 -0
  347. package/packages/server/dist/setup/doctor.d.ts +32 -0
  348. package/packages/server/dist/setup/doctor.d.ts.map +1 -0
  349. package/packages/server/dist/setup/doctor.js +80 -0
  350. package/packages/server/dist/setup/doctor.js.map +1 -0
  351. package/packages/server/dist/setup/launchd.d.ts +107 -0
  352. package/packages/server/dist/setup/launchd.d.ts.map +1 -0
  353. package/packages/server/dist/setup/launchd.js +309 -0
  354. package/packages/server/dist/setup/launchd.js.map +1 -0
  355. package/packages/server/dist/setup/load-env.d.ts +21 -0
  356. package/packages/server/dist/setup/load-env.d.ts.map +1 -0
  357. package/packages/server/dist/setup/load-env.js +88 -0
  358. package/packages/server/dist/setup/load-env.js.map +1 -0
  359. package/packages/server/dist/setup/probe-default-model.d.ts +28 -0
  360. package/packages/server/dist/setup/probe-default-model.d.ts.map +1 -0
  361. package/packages/server/dist/setup/probe-default-model.js +133 -0
  362. package/packages/server/dist/setup/probe-default-model.js.map +1 -0
  363. package/packages/server/dist/setup/render.d.ts +28 -0
  364. package/packages/server/dist/setup/render.d.ts.map +1 -0
  365. package/packages/server/dist/setup/render.js +60 -0
  366. package/packages/server/dist/setup/render.js.map +1 -0
  367. package/packages/server/dist/setup/repo-root.d.ts +3 -0
  368. package/packages/server/dist/setup/repo-root.d.ts.map +1 -0
  369. package/packages/server/dist/setup/repo-root.js +43 -0
  370. package/packages/server/dist/setup/repo-root.js.map +1 -0
  371. package/packages/server/dist/setup/service.d.ts +60 -0
  372. package/packages/server/dist/setup/service.d.ts.map +1 -0
  373. package/packages/server/dist/setup/service.js +345 -0
  374. package/packages/server/dist/setup/service.js.map +1 -0
  375. package/packages/server/dist/setup/start-server.d.ts +23 -0
  376. package/packages/server/dist/setup/start-server.d.ts.map +1 -0
  377. package/packages/server/dist/setup/start-server.js +465 -0
  378. package/packages/server/dist/setup/start-server.js.map +1 -0
  379. package/packages/server/dist/setup/wizard.d.ts +59 -0
  380. package/packages/server/dist/setup/wizard.d.ts.map +1 -0
  381. package/packages/server/dist/setup/wizard.js +556 -0
  382. package/packages/server/dist/setup/wizard.js.map +1 -0
  383. package/packages/server/dist/tools/edit-file.d.ts +13 -0
  384. package/packages/server/dist/tools/edit-file.d.ts.map +1 -0
  385. package/packages/server/dist/tools/edit-file.js +90 -0
  386. package/packages/server/dist/tools/edit-file.js.map +1 -0
  387. package/packages/server/dist/tools/glob.d.ts +12 -0
  388. package/packages/server/dist/tools/glob.d.ts.map +1 -0
  389. package/packages/server/dist/tools/glob.js +82 -0
  390. package/packages/server/dist/tools/glob.js.map +1 -0
  391. package/packages/server/dist/tools/index.d.ts +82 -0
  392. package/packages/server/dist/tools/index.d.ts.map +1 -0
  393. package/packages/server/dist/tools/index.js +72 -0
  394. package/packages/server/dist/tools/index.js.map +1 -0
  395. package/packages/server/dist/tools/list-dir.d.ts +24 -0
  396. package/packages/server/dist/tools/list-dir.d.ts.map +1 -0
  397. package/packages/server/dist/tools/list-dir.js +99 -0
  398. package/packages/server/dist/tools/list-dir.js.map +1 -0
  399. package/packages/server/dist/tools/path-helper.d.ts +15 -0
  400. package/packages/server/dist/tools/path-helper.d.ts.map +1 -0
  401. package/packages/server/dist/tools/path-helper.js +72 -0
  402. package/packages/server/dist/tools/path-helper.js.map +1 -0
  403. package/packages/server/dist/tools/read-file.d.ts +17 -0
  404. package/packages/server/dist/tools/read-file.d.ts.map +1 -0
  405. package/packages/server/dist/tools/read-file.js +94 -0
  406. package/packages/server/dist/tools/read-file.js.map +1 -0
  407. package/packages/server/dist/tools/sandbox.d.ts +57 -0
  408. package/packages/server/dist/tools/sandbox.d.ts.map +1 -0
  409. package/packages/server/dist/tools/sandbox.js +291 -0
  410. package/packages/server/dist/tools/sandbox.js.map +1 -0
  411. package/packages/server/dist/tools/write-file.d.ts +12 -0
  412. package/packages/server/dist/tools/write-file.d.ts.map +1 -0
  413. package/packages/server/dist/tools/write-file.js +67 -0
  414. package/packages/server/dist/tools/write-file.js.map +1 -0
  415. package/packages/server/dist/worker-agents-routes.d.ts +11 -0
  416. package/packages/server/dist/worker-agents-routes.d.ts.map +1 -0
  417. package/packages/server/dist/worker-agents-routes.js +253 -0
  418. package/packages/server/dist/worker-agents-routes.js.map +1 -0
  419. package/packages/server/package.json +41 -0
  420. package/packages/web/dist/assets/index-DH-gJ09_.js +60 -0
  421. package/packages/web/dist/assets/index-xU4lYYqY.css +2 -0
  422. package/packages/web/dist/index.html +14 -0
  423. package/packages/web/package.json +36 -0
  424. package/plugins/README.md +64 -0
  425. package/plugins/files/dist/client.d.ts +5 -0
  426. package/plugins/files/dist/client.d.ts.map +1 -0
  427. package/plugins/files/dist/client.js +354 -0
  428. package/plugins/files/dist/client.js.map +1 -0
  429. package/plugins/files/dist/server.d.ts +32 -0
  430. package/plugins/files/dist/server.d.ts.map +1 -0
  431. package/plugins/files/dist/server.js +514 -0
  432. package/plugins/files/dist/server.js.map +1 -0
  433. package/plugins/files/dist/tools/edit-file.d.ts +29 -0
  434. package/plugins/files/dist/tools/edit-file.d.ts.map +1 -0
  435. package/plugins/files/dist/tools/edit-file.js +230 -0
  436. package/plugins/files/dist/tools/edit-file.js.map +1 -0
  437. package/plugins/files/dist/tools/edit-file.prompt.md +36 -0
  438. package/plugins/files/dist/tools/glob.d.ts +12 -0
  439. package/plugins/files/dist/tools/glob.d.ts.map +1 -0
  440. package/plugins/files/dist/tools/glob.js +84 -0
  441. package/plugins/files/dist/tools/glob.js.map +1 -0
  442. package/plugins/files/dist/tools/index.d.ts +13 -0
  443. package/plugins/files/dist/tools/index.d.ts.map +1 -0
  444. package/plugins/files/dist/tools/index.js +158 -0
  445. package/plugins/files/dist/tools/index.js.map +1 -0
  446. package/plugins/files/dist/tools/list-dir.d.ts +24 -0
  447. package/plugins/files/dist/tools/list-dir.d.ts.map +1 -0
  448. package/plugins/files/dist/tools/list-dir.js +104 -0
  449. package/plugins/files/dist/tools/list-dir.js.map +1 -0
  450. package/plugins/files/dist/tools/load-prompt.d.ts +5 -0
  451. package/plugins/files/dist/tools/load-prompt.d.ts.map +1 -0
  452. package/plugins/files/dist/tools/load-prompt.js +39 -0
  453. package/plugins/files/dist/tools/load-prompt.js.map +1 -0
  454. package/plugins/files/dist/tools/path-helper.d.ts +32 -0
  455. package/plugins/files/dist/tools/path-helper.d.ts.map +1 -0
  456. package/plugins/files/dist/tools/path-helper.js +113 -0
  457. package/plugins/files/dist/tools/path-helper.js.map +1 -0
  458. package/plugins/files/dist/tools/read-file.d.ts +17 -0
  459. package/plugins/files/dist/tools/read-file.d.ts.map +1 -0
  460. package/plugins/files/dist/tools/read-file.js +109 -0
  461. package/plugins/files/dist/tools/read-file.js.map +1 -0
  462. package/plugins/files/dist/tools/read-tracker.d.ts +28 -0
  463. package/plugins/files/dist/tools/read-tracker.d.ts.map +1 -0
  464. package/plugins/files/dist/tools/read-tracker.js +135 -0
  465. package/plugins/files/dist/tools/read-tracker.js.map +1 -0
  466. package/plugins/files/dist/tools/replacers.d.ts +27 -0
  467. package/plugins/files/dist/tools/replacers.d.ts.map +1 -0
  468. package/plugins/files/dist/tools/replacers.js +221 -0
  469. package/plugins/files/dist/tools/replacers.js.map +1 -0
  470. package/plugins/files/dist/tools/tenant-config-delete.d.ts +12 -0
  471. package/plugins/files/dist/tools/tenant-config-delete.d.ts.map +1 -0
  472. package/plugins/files/dist/tools/tenant-config-delete.js +70 -0
  473. package/plugins/files/dist/tools/tenant-config-delete.js.map +1 -0
  474. package/plugins/files/dist/tools/tenant-config-edit.d.ts +25 -0
  475. package/plugins/files/dist/tools/tenant-config-edit.d.ts.map +1 -0
  476. package/plugins/files/dist/tools/tenant-config-edit.js +142 -0
  477. package/plugins/files/dist/tools/tenant-config-edit.js.map +1 -0
  478. package/plugins/files/dist/tools/tenant-config-glob.d.ts +12 -0
  479. package/plugins/files/dist/tools/tenant-config-glob.d.ts.map +1 -0
  480. package/plugins/files/dist/tools/tenant-config-glob.js +64 -0
  481. package/plugins/files/dist/tools/tenant-config-glob.js.map +1 -0
  482. package/plugins/files/dist/tools/tenant-config-helper.d.ts +64 -0
  483. package/plugins/files/dist/tools/tenant-config-helper.d.ts.map +1 -0
  484. package/plugins/files/dist/tools/tenant-config-helper.js +162 -0
  485. package/plugins/files/dist/tools/tenant-config-helper.js.map +1 -0
  486. package/plugins/files/dist/tools/tenant-config-list.d.ts +20 -0
  487. package/plugins/files/dist/tools/tenant-config-list.d.ts.map +1 -0
  488. package/plugins/files/dist/tools/tenant-config-list.js +95 -0
  489. package/plugins/files/dist/tools/tenant-config-list.js.map +1 -0
  490. package/plugins/files/dist/tools/tenant-config-read.d.ts +17 -0
  491. package/plugins/files/dist/tools/tenant-config-read.d.ts.map +1 -0
  492. package/plugins/files/dist/tools/tenant-config-read.js +87 -0
  493. package/plugins/files/dist/tools/tenant-config-read.js.map +1 -0
  494. package/plugins/files/dist/tools/tenant-config-write.d.ts +14 -0
  495. package/plugins/files/dist/tools/tenant-config-write.d.ts.map +1 -0
  496. package/plugins/files/dist/tools/tenant-config-write.js +78 -0
  497. package/plugins/files/dist/tools/tenant-config-write.js.map +1 -0
  498. package/plugins/files/dist/tools/text-shape.d.ts +20 -0
  499. package/plugins/files/dist/tools/text-shape.d.ts.map +1 -0
  500. package/plugins/files/dist/tools/text-shape.js +57 -0
  501. package/plugins/files/dist/tools/text-shape.js.map +1 -0
  502. package/plugins/files/dist/tools/write-file.d.ts +12 -0
  503. package/plugins/files/dist/tools/write-file.d.ts.map +1 -0
  504. package/plugins/files/dist/tools/write-file.js +89 -0
  505. package/plugins/files/dist/tools/write-file.js.map +1 -0
  506. package/plugins/files/dist/tools/write-file.prompt.md +14 -0
  507. package/plugins/files/manifest.json +100 -0
  508. package/plugins/files/package.json +39 -0
  509. package/plugins/files/skills/files-workspace-layout.md +29 -0
  510. package/plugins/microsandbox/dist/admin/browser-routes.d.ts +41 -0
  511. package/plugins/microsandbox/dist/admin/browser-routes.d.ts.map +1 -0
  512. package/plugins/microsandbox/dist/admin/browser-routes.js +208 -0
  513. package/plugins/microsandbox/dist/admin/browser-routes.js.map +1 -0
  514. package/plugins/microsandbox/dist/admin/preview-exec.d.ts +38 -0
  515. package/plugins/microsandbox/dist/admin/preview-exec.d.ts.map +1 -0
  516. package/plugins/microsandbox/dist/admin/preview-exec.js +185 -0
  517. package/plugins/microsandbox/dist/admin/preview-exec.js.map +1 -0
  518. package/plugins/microsandbox/dist/admin/routes.d.ts +35 -0
  519. package/plugins/microsandbox/dist/admin/routes.d.ts.map +1 -0
  520. package/plugins/microsandbox/dist/admin/routes.js +728 -0
  521. package/plugins/microsandbox/dist/admin/routes.js.map +1 -0
  522. package/plugins/microsandbox/dist/admin/sandboxfile-io.d.ts +11 -0
  523. package/plugins/microsandbox/dist/admin/sandboxfile-io.d.ts.map +1 -0
  524. package/plugins/microsandbox/dist/admin/sandboxfile-io.js +72 -0
  525. package/plugins/microsandbox/dist/admin/sandboxfile-io.js.map +1 -0
  526. package/plugins/microsandbox/dist/admin/templates.d.ts +16 -0
  527. package/plugins/microsandbox/dist/admin/templates.d.ts.map +1 -0
  528. package/plugins/microsandbox/dist/admin/templates.js +66 -0
  529. package/plugins/microsandbox/dist/admin/templates.js.map +1 -0
  530. package/plugins/microsandbox/dist/admin.d.ts +5 -0
  531. package/plugins/microsandbox/dist/admin.d.ts.map +1 -0
  532. package/plugins/microsandbox/dist/admin.js +256 -0
  533. package/plugins/microsandbox/dist/admin.js.map +1 -0
  534. package/plugins/microsandbox/dist/build/builder.d.ts +69 -0
  535. package/plugins/microsandbox/dist/build/builder.d.ts.map +1 -0
  536. package/plugins/microsandbox/dist/build/builder.js +257 -0
  537. package/plugins/microsandbox/dist/build/builder.js.map +1 -0
  538. package/plugins/microsandbox/dist/build/metadata.d.ts +27 -0
  539. package/plugins/microsandbox/dist/build/metadata.d.ts.map +1 -0
  540. package/plugins/microsandbox/dist/build/metadata.js +55 -0
  541. package/plugins/microsandbox/dist/build/metadata.js.map +1 -0
  542. package/plugins/microsandbox/dist/build/pointer.d.ts +51 -0
  543. package/plugins/microsandbox/dist/build/pointer.d.ts.map +1 -0
  544. package/plugins/microsandbox/dist/build/pointer.js +130 -0
  545. package/plugins/microsandbox/dist/build/pointer.js.map +1 -0
  546. package/plugins/microsandbox/dist/build/sandboxfile.d.ts +15 -0
  547. package/plugins/microsandbox/dist/build/sandboxfile.d.ts.map +1 -0
  548. package/plugins/microsandbox/dist/build/sandboxfile.js +176 -0
  549. package/plugins/microsandbox/dist/build/sandboxfile.js.map +1 -0
  550. package/plugins/microsandbox/dist/client.d.ts +5 -0
  551. package/plugins/microsandbox/dist/client.d.ts.map +1 -0
  552. package/plugins/microsandbox/dist/client.js +941 -0
  553. package/plugins/microsandbox/dist/client.js.map +1 -0
  554. package/plugins/microsandbox/dist/runner/browser.d.ts +50 -0
  555. package/plugins/microsandbox/dist/runner/browser.d.ts.map +1 -0
  556. package/plugins/microsandbox/dist/runner/browser.js +142 -0
  557. package/plugins/microsandbox/dist/runner/browser.js.map +1 -0
  558. package/plugins/microsandbox/dist/runner/free-port.d.ts +6 -0
  559. package/plugins/microsandbox/dist/runner/free-port.d.ts.map +1 -0
  560. package/plugins/microsandbox/dist/runner/free-port.js +53 -0
  561. package/plugins/microsandbox/dist/runner/free-port.js.map +1 -0
  562. package/plugins/microsandbox/dist/runner/index.d.ts +28 -0
  563. package/plugins/microsandbox/dist/runner/index.d.ts.map +1 -0
  564. package/plugins/microsandbox/dist/runner/index.js +72 -0
  565. package/plugins/microsandbox/dist/runner/index.js.map +1 -0
  566. package/plugins/microsandbox/dist/runner/microsandbox.d.ts +64 -0
  567. package/plugins/microsandbox/dist/runner/microsandbox.d.ts.map +1 -0
  568. package/plugins/microsandbox/dist/runner/microsandbox.js +668 -0
  569. package/plugins/microsandbox/dist/runner/microsandbox.js.map +1 -0
  570. package/plugins/microsandbox/dist/runner/nullable.d.ts +36 -0
  571. package/plugins/microsandbox/dist/runner/nullable.d.ts.map +1 -0
  572. package/plugins/microsandbox/dist/runner/nullable.js +82 -0
  573. package/plugins/microsandbox/dist/runner/nullable.js.map +1 -0
  574. package/plugins/microsandbox/dist/runner/pool.d.ts +97 -0
  575. package/plugins/microsandbox/dist/runner/pool.d.ts.map +1 -0
  576. package/plugins/microsandbox/dist/runner/pool.js +494 -0
  577. package/plugins/microsandbox/dist/runner/pool.js.map +1 -0
  578. package/plugins/microsandbox/dist/runner/types.d.ts +33 -0
  579. package/plugins/microsandbox/dist/runner/types.d.ts.map +1 -0
  580. package/plugins/microsandbox/dist/runner/types.js +79 -0
  581. package/plugins/microsandbox/dist/runner/types.js.map +1 -0
  582. package/plugins/microsandbox/dist/server.d.ts +7 -0
  583. package/plugins/microsandbox/dist/server.d.ts.map +1 -0
  584. package/plugins/microsandbox/dist/server.js +276 -0
  585. package/plugins/microsandbox/dist/server.js.map +1 -0
  586. package/plugins/microsandbox/dist/tools/browser.d.ts +25 -0
  587. package/plugins/microsandbox/dist/tools/browser.d.ts.map +1 -0
  588. package/plugins/microsandbox/dist/tools/browser.js +78 -0
  589. package/plugins/microsandbox/dist/tools/browser.js.map +1 -0
  590. package/plugins/microsandbox/dist/tools/build.d.ts +5 -0
  591. package/plugins/microsandbox/dist/tools/build.d.ts.map +1 -0
  592. package/plugins/microsandbox/dist/tools/build.js +243 -0
  593. package/plugins/microsandbox/dist/tools/build.js.map +1 -0
  594. package/plugins/microsandbox/dist/tools/index.d.ts +9 -0
  595. package/plugins/microsandbox/dist/tools/index.d.ts.map +1 -0
  596. package/plugins/microsandbox/dist/tools/index.js +430 -0
  597. package/plugins/microsandbox/dist/tools/index.js.map +1 -0
  598. package/plugins/microsandbox/dist/tools/mcp-client.d.ts +63 -0
  599. package/plugins/microsandbox/dist/tools/mcp-client.d.ts.map +1 -0
  600. package/plugins/microsandbox/dist/tools/mcp-client.js +226 -0
  601. package/plugins/microsandbox/dist/tools/mcp-client.js.map +1 -0
  602. package/plugins/microsandbox/manifest.json +177 -0
  603. package/plugins/microsandbox/package.json +38 -0
  604. package/plugins/microsandbox/skills/microsandbox-browser-howto.md +155 -0
  605. package/plugins/microsandbox/skills/microsandbox-build-use.md +201 -0
  606. package/plugins/microsandbox/skills/microsandbox-config.md +38 -0
  607. package/plugins/microsandbox/skills/microsandbox-exec-howto.md +144 -0
  608. package/plugins/microsandbox/skills/microsandbox-libreoffice.md +159 -0
  609. package/plugins/microsandbox/templates/README.md +26 -0
  610. package/plugins/web-search/dist/server.d.ts +4 -0
  611. package/plugins/web-search/dist/server.d.ts.map +1 -0
  612. package/plugins/web-search/dist/server.js +73 -0
  613. package/plugins/web-search/dist/server.js.map +1 -0
  614. package/plugins/web-search/dist/tools/health.d.ts +31 -0
  615. package/plugins/web-search/dist/tools/health.d.ts.map +1 -0
  616. package/plugins/web-search/dist/tools/health.js +59 -0
  617. package/plugins/web-search/dist/tools/health.js.map +1 -0
  618. package/plugins/web-search/dist/tools/index.d.ts +3 -0
  619. package/plugins/web-search/dist/tools/index.d.ts.map +1 -0
  620. package/plugins/web-search/dist/tools/index.js +2 -0
  621. package/plugins/web-search/dist/tools/index.js.map +1 -0
  622. package/plugins/web-search/dist/tools/providers.d.ts +43 -0
  623. package/plugins/web-search/dist/tools/providers.d.ts.map +1 -0
  624. package/plugins/web-search/dist/tools/providers.js +140 -0
  625. package/plugins/web-search/dist/tools/providers.js.map +1 -0
  626. package/plugins/web-search/dist/tools/web-search.d.ts +15 -0
  627. package/plugins/web-search/dist/tools/web-search.d.ts.map +1 -0
  628. package/plugins/web-search/dist/tools/web-search.js +244 -0
  629. package/plugins/web-search/dist/tools/web-search.js.map +1 -0
  630. package/plugins/web-search/manifest.json +65 -0
  631. package/plugins/web-search/node_modules/@esbuild/darwin-arm64/README.md +3 -0
  632. package/plugins/web-search/node_modules/@esbuild/darwin-arm64/package.json +20 -0
  633. package/plugins/web-search/node_modules/@vitest/expect/LICENSE +21 -0
  634. package/plugins/web-search/node_modules/@vitest/expect/README.md +21 -0
  635. package/plugins/web-search/node_modules/@vitest/expect/dist/index.d.ts +808 -0
  636. package/plugins/web-search/node_modules/@vitest/expect/dist/index.js +1799 -0
  637. package/plugins/web-search/node_modules/@vitest/expect/package.json +46 -0
  638. package/plugins/web-search/node_modules/@vitest/mocker/LICENSE +21 -0
  639. package/plugins/web-search/node_modules/@vitest/mocker/README.md +5 -0
  640. package/plugins/web-search/node_modules/@vitest/mocker/dist/auto-register.d.ts +2 -0
  641. package/plugins/web-search/node_modules/@vitest/mocker/dist/auto-register.js +9 -0
  642. package/plugins/web-search/node_modules/@vitest/mocker/dist/browser.d.ts +53 -0
  643. package/plugins/web-search/node_modules/@vitest/mocker/dist/browser.js +91 -0
  644. package/plugins/web-search/node_modules/@vitest/mocker/dist/chunk-interceptor-native.js +15 -0
  645. package/plugins/web-search/node_modules/@vitest/mocker/dist/chunk-mocker.js +1602 -0
  646. package/plugins/web-search/node_modules/@vitest/mocker/dist/chunk-pathe.M-eThtNZ.js +174 -0
  647. package/plugins/web-search/node_modules/@vitest/mocker/dist/chunk-registry.js +182 -0
  648. package/plugins/web-search/node_modules/@vitest/mocker/dist/chunk-utils.js +16 -0
  649. package/plugins/web-search/node_modules/@vitest/mocker/dist/index.d.ts +21 -0
  650. package/plugins/web-search/node_modules/@vitest/mocker/dist/index.js +174 -0
  651. package/plugins/web-search/node_modules/@vitest/mocker/dist/mocker.d-Ce9_ySj5.d.ts +83 -0
  652. package/plugins/web-search/node_modules/@vitest/mocker/dist/node.d.ts +821 -0
  653. package/plugins/web-search/node_modules/@vitest/mocker/dist/node.js +1306 -0
  654. package/plugins/web-search/node_modules/@vitest/mocker/dist/redirect.d.ts +3 -0
  655. package/plugins/web-search/node_modules/@vitest/mocker/dist/redirect.js +75 -0
  656. package/plugins/web-search/node_modules/@vitest/mocker/dist/register.d.ts +9 -0
  657. package/plugins/web-search/node_modules/@vitest/mocker/dist/register.js +41 -0
  658. package/plugins/web-search/node_modules/@vitest/mocker/dist/registry.d-D765pazg.d.ts +87 -0
  659. package/plugins/web-search/node_modules/@vitest/mocker/dist/types.d-D_aRZRdy.d.ts +8 -0
  660. package/plugins/web-search/node_modules/@vitest/mocker/package.json +82 -0
  661. package/plugins/web-search/node_modules/@vitest/pretty-format/LICENSE +21 -0
  662. package/plugins/web-search/node_modules/@vitest/pretty-format/dist/index.d.ts +119 -0
  663. package/plugins/web-search/node_modules/@vitest/pretty-format/dist/index.js +1387 -0
  664. package/plugins/web-search/node_modules/@vitest/pretty-format/package.json +44 -0
  665. package/plugins/web-search/node_modules/@vitest/runner/LICENSE +21 -0
  666. package/plugins/web-search/node_modules/@vitest/runner/README.md +5 -0
  667. package/plugins/web-search/node_modules/@vitest/runner/dist/chunk-hooks.js +2254 -0
  668. package/plugins/web-search/node_modules/@vitest/runner/dist/index.d.ts +261 -0
  669. package/plugins/web-search/node_modules/@vitest/runner/dist/index.js +6 -0
  670. package/plugins/web-search/node_modules/@vitest/runner/dist/tasks.d-CkscK4of.d.ts +558 -0
  671. package/plugins/web-search/node_modules/@vitest/runner/dist/types.d.ts +163 -0
  672. package/plugins/web-search/node_modules/@vitest/runner/dist/types.js +1 -0
  673. package/plugins/web-search/node_modules/@vitest/runner/dist/utils.d.ts +47 -0
  674. package/plugins/web-search/node_modules/@vitest/runner/dist/utils.js +6 -0
  675. package/plugins/web-search/node_modules/@vitest/runner/package.json +49 -0
  676. package/plugins/web-search/node_modules/@vitest/snapshot/LICENSE +21 -0
  677. package/plugins/web-search/node_modules/@vitest/snapshot/README.md +84 -0
  678. package/plugins/web-search/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts +22 -0
  679. package/plugins/web-search/node_modules/@vitest/snapshot/dist/environment.d.ts +16 -0
  680. package/plugins/web-search/node_modules/@vitest/snapshot/dist/environment.js +40 -0
  681. package/plugins/web-search/node_modules/@vitest/snapshot/dist/index.d.ts +137 -0
  682. package/plugins/web-search/node_modules/@vitest/snapshot/dist/index.js +2305 -0
  683. package/plugins/web-search/node_modules/@vitest/snapshot/dist/manager.d.ts +18 -0
  684. package/plugins/web-search/node_modules/@vitest/snapshot/dist/manager.js +73 -0
  685. package/plugins/web-search/node_modules/@vitest/snapshot/dist/rawSnapshot.d-lFsMJFUd.d.ts +61 -0
  686. package/plugins/web-search/node_modules/@vitest/snapshot/package.json +54 -0
  687. package/plugins/web-search/node_modules/@vitest/spy/LICENSE +21 -0
  688. package/plugins/web-search/node_modules/@vitest/spy/README.md +3 -0
  689. package/plugins/web-search/node_modules/@vitest/spy/dist/index.d.ts +356 -0
  690. package/plugins/web-search/node_modules/@vitest/spy/dist/index.js +191 -0
  691. package/plugins/web-search/node_modules/@vitest/spy/package.json +38 -0
  692. package/plugins/web-search/node_modules/@vitest/utils/LICENSE +21 -0
  693. package/plugins/web-search/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +158 -0
  694. package/plugins/web-search/node_modules/@vitest/utils/dist/diff.d.ts +104 -0
  695. package/plugins/web-search/node_modules/@vitest/utils/dist/diff.js +2185 -0
  696. package/plugins/web-search/node_modules/@vitest/utils/dist/error.d.ts +9 -0
  697. package/plugins/web-search/node_modules/@vitest/utils/dist/error.js +162 -0
  698. package/plugins/web-search/node_modules/@vitest/utils/dist/helpers.d.ts +56 -0
  699. package/plugins/web-search/node_modules/@vitest/utils/dist/helpers.js +251 -0
  700. package/plugins/web-search/node_modules/@vitest/utils/dist/index.d.ts +57 -0
  701. package/plugins/web-search/node_modules/@vitest/utils/dist/index.js +633 -0
  702. package/plugins/web-search/node_modules/@vitest/utils/dist/source-map.d.ts +139 -0
  703. package/plugins/web-search/node_modules/@vitest/utils/dist/source-map.js +996 -0
  704. package/plugins/web-search/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts +53 -0
  705. package/plugins/web-search/node_modules/@vitest/utils/dist/types.d.ts +53 -0
  706. package/plugins/web-search/node_modules/@vitest/utils/dist/types.js +1 -0
  707. package/plugins/web-search/node_modules/@vitest/utils/package.json +77 -0
  708. package/plugins/web-search/node_modules/chai/LICENSE +21 -0
  709. package/plugins/web-search/node_modules/chai/README.md +162 -0
  710. package/plugins/web-search/node_modules/chai/package.json +74 -0
  711. package/plugins/web-search/node_modules/esbuild/README.md +3 -0
  712. package/plugins/web-search/node_modules/esbuild/package.json +49 -0
  713. package/plugins/web-search/node_modules/std-env/README.md +118 -0
  714. package/plugins/web-search/node_modules/std-env/dist/index.cjs +1 -0
  715. package/plugins/web-search/node_modules/std-env/dist/index.d.cts +92 -0
  716. package/plugins/web-search/node_modules/std-env/dist/index.d.mts +92 -0
  717. package/plugins/web-search/node_modules/std-env/dist/index.d.ts +92 -0
  718. package/plugins/web-search/node_modules/std-env/dist/index.mjs +1 -0
  719. package/plugins/web-search/node_modules/std-env/package.json +46 -0
  720. package/plugins/web-search/node_modules/tinyexec/LICENSE +21 -0
  721. package/plugins/web-search/node_modules/tinyexec/README.md +256 -0
  722. package/plugins/web-search/node_modules/tinyexec/dist/main.cjs +575 -0
  723. package/plugins/web-search/node_modules/tinyexec/dist/main.d.cts +70 -0
  724. package/plugins/web-search/node_modules/tinyexec/dist/main.d.ts +70 -0
  725. package/plugins/web-search/node_modules/tinyexec/dist/main.js +578 -0
  726. package/plugins/web-search/node_modules/tinyexec/package.json +66 -0
  727. package/plugins/web-search/node_modules/tinyrainbow/README.md +28 -0
  728. package/plugins/web-search/node_modules/tinyrainbow/dist/browser.d.ts +8 -0
  729. package/plugins/web-search/node_modules/tinyrainbow/dist/browser.js +20 -0
  730. package/plugins/web-search/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +90 -0
  731. package/plugins/web-search/node_modules/tinyrainbow/dist/index-8b61d5bc.d.ts +59 -0
  732. package/plugins/web-search/node_modules/tinyrainbow/dist/node.d.ts +8 -0
  733. package/plugins/web-search/node_modules/tinyrainbow/dist/node.js +22 -0
  734. package/plugins/web-search/node_modules/tinyrainbow/package.json +37 -0
  735. package/plugins/web-search/node_modules/typescript/README.md +50 -0
  736. package/plugins/web-search/node_modules/typescript/package.json +120 -0
  737. package/plugins/web-search/node_modules/vite/README.md +20 -0
  738. package/plugins/web-search/node_modules/vite/dist/client/client.mjs +1106 -0
  739. package/plugins/web-search/node_modules/vite/dist/client/env.mjs +19 -0
  740. package/plugins/web-search/node_modules/vite/dist/node/chunks/build.js +4 -0
  741. package/plugins/web-search/node_modules/vite/dist/node/chunks/build2.js +5538 -0
  742. package/plugins/web-search/node_modules/vite/dist/node/chunks/chunk.js +48 -0
  743. package/plugins/web-search/node_modules/vite/dist/node/chunks/config.js +36065 -0
  744. package/plugins/web-search/node_modules/vite/dist/node/chunks/config2.js +4 -0
  745. package/plugins/web-search/node_modules/vite/dist/node/chunks/dist.js +6758 -0
  746. package/plugins/web-search/node_modules/vite/dist/node/chunks/lib.js +377 -0
  747. package/plugins/web-search/node_modules/vite/dist/node/chunks/logger.js +329 -0
  748. package/plugins/web-search/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +96 -0
  749. package/plugins/web-search/node_modules/vite/dist/node/chunks/optimizer.js +4 -0
  750. package/plugins/web-search/node_modules/vite/dist/node/chunks/postcss-import.js +479 -0
  751. package/plugins/web-search/node_modules/vite/dist/node/chunks/preview.js +4 -0
  752. package/plugins/web-search/node_modules/vite/dist/node/chunks/server.js +4 -0
  753. package/plugins/web-search/node_modules/vite/dist/node/cli.js +698 -0
  754. package/plugins/web-search/node_modules/vite/dist/node/index.d.ts +3717 -0
  755. package/plugins/web-search/node_modules/vite/dist/node/index.js +30 -0
  756. package/plugins/web-search/node_modules/vite/dist/node/module-runner.d.ts +311 -0
  757. package/plugins/web-search/node_modules/vite/dist/node/module-runner.js +1160 -0
  758. package/plugins/web-search/node_modules/vite/package.json +199 -0
  759. package/plugins/web-search/node_modules/vite/types/package.json +4 -0
  760. package/plugins/web-search/node_modules/vitest/README.md +7 -0
  761. package/plugins/web-search/node_modules/vitest/dist/browser.d.ts +34 -0
  762. package/plugins/web-search/node_modules/vitest/dist/browser.js +8 -0
  763. package/plugins/web-search/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +7 -0
  764. package/plugins/web-search/node_modules/vitest/dist/chunks/base.DfmxU-tU.js +38 -0
  765. package/plugins/web-search/node_modules/vitest/dist/chunks/benchmark.CYdenmiT.js +37 -0
  766. package/plugins/web-search/node_modules/vitest/dist/chunks/benchmark.d.BwvBVTda.d.ts +24 -0
  767. package/plugins/web-search/node_modules/vitest/dist/chunks/cac.0BJqEUeA.js +1469 -0
  768. package/plugins/web-search/node_modules/vitest/dist/chunks/cli-api.DWGBtMmz.js +10660 -0
  769. package/plugins/web-search/node_modules/vitest/dist/chunks/config.d.BKdhh7Zx.d.ts +224 -0
  770. package/plugins/web-search/node_modules/vitest/dist/chunks/console.CtFJOzRO.js +153 -0
  771. package/plugins/web-search/node_modules/vitest/dist/chunks/constants.DnKduX2e.js +44 -0
  772. package/plugins/web-search/node_modules/vitest/dist/chunks/coverage.DVF1vEu8.js +25 -0
  773. package/plugins/web-search/node_modules/vitest/dist/chunks/coverage.DfSpMS-b.js +4350 -0
  774. package/plugins/web-search/node_modules/vitest/dist/chunks/coverage.d.S9RMNXIe.d.ts +35 -0
  775. package/plugins/web-search/node_modules/vitest/dist/chunks/creator.GK6I-cL4.js +640 -0
  776. package/plugins/web-search/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +73 -0
  777. package/plugins/web-search/node_modules/vitest/dist/chunks/defaults.B7q_naMc.js +115 -0
  778. package/plugins/web-search/node_modules/vitest/dist/chunks/env.D4Lgay0q.js +8 -0
  779. package/plugins/web-search/node_modules/vitest/dist/chunks/environment.d.cL3nLXbE.d.ts +119 -0
  780. package/plugins/web-search/node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js +708 -0
  781. package/plugins/web-search/node_modules/vitest/dist/chunks/git.BVQ8w_Sw.js +72 -0
  782. package/plugins/web-search/node_modules/vitest/dist/chunks/global.d.MAmajcmJ.d.ts +136 -0
  783. package/plugins/web-search/node_modules/vitest/dist/chunks/globals.DEHgCU4V.js +26 -0
  784. package/plugins/web-search/node_modules/vitest/dist/chunks/index.B521nVV-.js +157 -0
  785. package/plugins/web-search/node_modules/vitest/dist/chunks/index.BCWujgDG.js +231 -0
  786. package/plugins/web-search/node_modules/vitest/dist/chunks/index.CdQS2e2Q.js +37 -0
  787. package/plugins/web-search/node_modules/vitest/dist/chunks/index.CmSc2RE5.js +587 -0
  788. package/plugins/web-search/node_modules/vitest/dist/chunks/index.CwejwG0H.js +105 -0
  789. package/plugins/web-search/node_modules/vitest/dist/chunks/index.D3XRDfWc.js +213 -0
  790. package/plugins/web-search/node_modules/vitest/dist/chunks/index.VByaPkjc.js +2183 -0
  791. package/plugins/web-search/node_modules/vitest/dist/chunks/index.X0nbfr6-.js +6584 -0
  792. package/plugins/web-search/node_modules/vitest/dist/chunks/inspector.C914Efll.js +57 -0
  793. package/plugins/web-search/node_modules/vitest/dist/chunks/mocker.d.BE_2ls6u.d.ts +17 -0
  794. package/plugins/web-search/node_modules/vitest/dist/chunks/node.fjCdwEIl.js +15 -0
  795. package/plugins/web-search/node_modules/vitest/dist/chunks/reporters.d.BuRON0I0.d.ts +3168 -0
  796. package/plugins/web-search/node_modules/vitest/dist/chunks/rpc.-pEldfrD.js +83 -0
  797. package/plugins/web-search/node_modules/vitest/dist/chunks/runBaseTests.9Ij9_de-.js +129 -0
  798. package/plugins/web-search/node_modules/vitest/dist/chunks/setup-common.Dd054P77.js +60 -0
  799. package/plugins/web-search/node_modules/vitest/dist/chunks/suite.d.FvehnV49.d.ts +10 -0
  800. package/plugins/web-search/node_modules/vitest/dist/chunks/typechecker.DRKU1-1g.js +874 -0
  801. package/plugins/web-search/node_modules/vitest/dist/chunks/utils.CAioKnHs.js +61 -0
  802. package/plugins/web-search/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +65 -0
  803. package/plugins/web-search/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +4015 -0
  804. package/plugins/web-search/node_modules/vitest/dist/chunks/vite.d.BnOPPc46.d.ts +25 -0
  805. package/plugins/web-search/node_modules/vitest/dist/chunks/vm.BThCzidc.js +756 -0
  806. package/plugins/web-search/node_modules/vitest/dist/chunks/worker.d.CUgIPz9V.d.ts +176 -0
  807. package/plugins/web-search/node_modules/vitest/dist/chunks/worker.d.uzWsCv9X.d.ts +8 -0
  808. package/plugins/web-search/node_modules/vitest/dist/cli.js +27 -0
  809. package/plugins/web-search/node_modules/vitest/dist/config.cjs +148 -0
  810. package/plugins/web-search/node_modules/vitest/dist/config.d.ts +100 -0
  811. package/plugins/web-search/node_modules/vitest/dist/config.js +21 -0
  812. package/plugins/web-search/node_modules/vitest/dist/coverage.d.ts +108 -0
  813. package/plugins/web-search/node_modules/vitest/dist/coverage.js +34 -0
  814. package/plugins/web-search/node_modules/vitest/dist/environments.d.ts +26 -0
  815. package/plugins/web-search/node_modules/vitest/dist/environments.js +2 -0
  816. package/plugins/web-search/node_modules/vitest/dist/execute.d.ts +150 -0
  817. package/plugins/web-search/node_modules/vitest/dist/execute.js +13 -0
  818. package/plugins/web-search/node_modules/vitest/dist/index.d.ts +651 -0
  819. package/plugins/web-search/node_modules/vitest/dist/index.js +18 -0
  820. package/plugins/web-search/node_modules/vitest/dist/mocker.d.ts +1 -0
  821. package/plugins/web-search/node_modules/vitest/dist/mocker.js +1 -0
  822. package/plugins/web-search/node_modules/vitest/dist/node.d.ts +158 -0
  823. package/plugins/web-search/node_modules/vitest/dist/node.js +105 -0
  824. package/plugins/web-search/node_modules/vitest/dist/path.js +7 -0
  825. package/plugins/web-search/node_modules/vitest/dist/reporters.d.ts +25 -0
  826. package/plugins/web-search/node_modules/vitest/dist/reporters.js +23 -0
  827. package/plugins/web-search/node_modules/vitest/dist/runners.d.ts +46 -0
  828. package/plugins/web-search/node_modules/vitest/dist/runners.js +235 -0
  829. package/plugins/web-search/node_modules/vitest/dist/snapshot.d.ts +9 -0
  830. package/plugins/web-search/node_modules/vitest/dist/snapshot.js +4 -0
  831. package/plugins/web-search/node_modules/vitest/dist/spy.js +1 -0
  832. package/plugins/web-search/node_modules/vitest/dist/suite.d.ts +5 -0
  833. package/plugins/web-search/node_modules/vitest/dist/suite.js +5 -0
  834. package/plugins/web-search/node_modules/vitest/dist/worker.js +124 -0
  835. package/plugins/web-search/node_modules/vitest/dist/workers/forks.js +43 -0
  836. package/plugins/web-search/node_modules/vitest/dist/workers/runVmTests.js +90 -0
  837. package/plugins/web-search/node_modules/vitest/dist/workers/threads.js +31 -0
  838. package/plugins/web-search/node_modules/vitest/dist/workers/vmForks.js +47 -0
  839. package/plugins/web-search/node_modules/vitest/dist/workers/vmThreads.js +37 -0
  840. package/plugins/web-search/node_modules/vitest/dist/workers.d.ts +40 -0
  841. package/plugins/web-search/node_modules/vitest/dist/workers.js +30 -0
  842. package/plugins/web-search/node_modules/vitest/package.json +207 -0
  843. package/plugins/web-search/package.json +30 -0
  844. package/plugins/web-search/skills/web-search-howto.md +69 -0
  845. package/plugins/workboard/agent-seeds/echo-demo/agent.json +7 -0
  846. package/plugins/workboard/agent-seeds/llm-default/SOUL.md +53 -0
  847. package/plugins/workboard/agent-seeds/llm-default/agent.json +7 -0
  848. package/plugins/workboard/dist/client.d.ts +5 -0
  849. package/plugins/workboard/dist/client.d.ts.map +1 -0
  850. package/plugins/workboard/dist/client.js +895 -0
  851. package/plugins/workboard/dist/client.js.map +1 -0
  852. package/plugins/workboard/dist/db/agents.d.ts +100 -0
  853. package/plugins/workboard/dist/db/agents.d.ts.map +1 -0
  854. package/plugins/workboard/dist/db/agents.js +280 -0
  855. package/plugins/workboard/dist/db/agents.js.map +1 -0
  856. package/plugins/workboard/dist/db/schema.d.ts +3 -0
  857. package/plugins/workboard/dist/db/schema.d.ts.map +1 -0
  858. package/plugins/workboard/dist/db/schema.js +31 -0
  859. package/plugins/workboard/dist/db/schema.js.map +1 -0
  860. package/plugins/workboard/dist/db/session-history.d.ts +28 -0
  861. package/plugins/workboard/dist/db/session-history.d.ts.map +1 -0
  862. package/plugins/workboard/dist/db/session-history.js +224 -0
  863. package/plugins/workboard/dist/db/session-history.js.map +1 -0
  864. package/plugins/workboard/dist/db/tasks.d.ts +260 -0
  865. package/plugins/workboard/dist/db/tasks.d.ts.map +1 -0
  866. package/plugins/workboard/dist/db/tasks.js +451 -0
  867. package/plugins/workboard/dist/db/tasks.js.map +1 -0
  868. package/plugins/workboard/dist/db/worker-agents.d.ts +16 -0
  869. package/plugins/workboard/dist/db/worker-agents.d.ts.map +1 -0
  870. package/plugins/workboard/dist/db/worker-agents.js +62 -0
  871. package/plugins/workboard/dist/db/worker-agents.js.map +1 -0
  872. package/plugins/workboard/dist/effective-skills.d.ts +13 -0
  873. package/plugins/workboard/dist/effective-skills.d.ts.map +1 -0
  874. package/plugins/workboard/dist/effective-skills.js +126 -0
  875. package/plugins/workboard/dist/effective-skills.js.map +1 -0
  876. package/plugins/workboard/dist/fs-worker-agents.d.ts +35 -0
  877. package/plugins/workboard/dist/fs-worker-agents.d.ts.map +1 -0
  878. package/plugins/workboard/dist/fs-worker-agents.js +199 -0
  879. package/plugins/workboard/dist/fs-worker-agents.js.map +1 -0
  880. package/plugins/workboard/dist/migrate-worker-agents.d.ts +11 -0
  881. package/plugins/workboard/dist/migrate-worker-agents.d.ts.map +1 -0
  882. package/plugins/workboard/dist/migrate-worker-agents.js +89 -0
  883. package/plugins/workboard/dist/migrate-worker-agents.js.map +1 -0
  884. package/plugins/workboard/dist/routes/handlers.d.ts +106 -0
  885. package/plugins/workboard/dist/routes/handlers.d.ts.map +1 -0
  886. package/plugins/workboard/dist/routes/handlers.js +668 -0
  887. package/plugins/workboard/dist/routes/handlers.js.map +1 -0
  888. package/plugins/workboard/dist/server.d.ts +6 -0
  889. package/plugins/workboard/dist/server.d.ts.map +1 -0
  890. package/plugins/workboard/dist/server.js +368 -0
  891. package/plugins/workboard/dist/server.js.map +1 -0
  892. package/plugins/workboard/dist/tools/index.d.ts +70 -0
  893. package/plugins/workboard/dist/tools/index.d.ts.map +1 -0
  894. package/plugins/workboard/dist/tools/index.js +963 -0
  895. package/plugins/workboard/dist/tools/index.js.map +1 -0
  896. package/plugins/workboard/dist/types.d.ts +27 -0
  897. package/plugins/workboard/dist/types.d.ts.map +1 -0
  898. package/plugins/workboard/dist/types.js +16 -0
  899. package/plugins/workboard/dist/types.js.map +1 -0
  900. package/plugins/workboard/dist/worker/pool.d.ts +220 -0
  901. package/plugins/workboard/dist/worker/pool.d.ts.map +1 -0
  902. package/plugins/workboard/dist/worker/pool.js +866 -0
  903. package/plugins/workboard/dist/worker/pool.js.map +1 -0
  904. package/plugins/workboard/dist/worker/tool-policy.d.ts +27 -0
  905. package/plugins/workboard/dist/worker/tool-policy.d.ts.map +1 -0
  906. package/plugins/workboard/dist/worker/tool-policy.js +76 -0
  907. package/plugins/workboard/dist/worker/tool-policy.js.map +1 -0
  908. package/plugins/workboard/dist/worker-agents-page.d.ts +4 -0
  909. package/plugins/workboard/dist/worker-agents-page.d.ts.map +1 -0
  910. package/plugins/workboard/dist/worker-agents-page.js +193 -0
  911. package/plugins/workboard/dist/worker-agents-page.js.map +1 -0
  912. package/plugins/workboard/manifest.json +180 -0
  913. package/plugins/workboard/package.json +37 -0
  914. package/plugins/workboard/skills/large-input-large-output.md +185 -0
  915. package/plugins/workboard/skills/workboard-howto.md +166 -0
  916. package/plugins/workboard/skills/worker-creator.md +267 -0
  917. package/plugins/workboard/skills/worker-fleet.md +431 -0
@@ -0,0 +1,1387 @@
1
+ import styles from 'tinyrainbow';
2
+
3
+ function _mergeNamespaces(n, m) {
4
+ m.forEach(function (e) {
5
+ e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
6
+ if (k !== 'default' && !(k in n)) {
7
+ var d = Object.getOwnPropertyDescriptor(e, k);
8
+ Object.defineProperty(n, k, d.get ? d : {
9
+ enumerable: true,
10
+ get: function () { return e[k]; }
11
+ });
12
+ }
13
+ });
14
+ });
15
+ return Object.freeze(n);
16
+ }
17
+
18
+ function getKeysOfEnumerableProperties(object, compareKeys) {
19
+ const rawKeys = Object.keys(object);
20
+ const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
21
+ if (Object.getOwnPropertySymbols) {
22
+ for (const symbol of Object.getOwnPropertySymbols(object)) {
23
+ if (Object.getOwnPropertyDescriptor(object, symbol).enumerable) {
24
+ keys.push(symbol);
25
+ }
26
+ }
27
+ }
28
+ return keys;
29
+ }
30
+ /**
31
+ * Return entries (for example, of a map)
32
+ * with spacing, indentation, and comma
33
+ * without surrounding punctuation (for example, braces)
34
+ */
35
+ function printIteratorEntries(iterator, config, indentation, depth, refs, printer, separator = ": ") {
36
+ let result = "";
37
+ let width = 0;
38
+ let current = iterator.next();
39
+ if (!current.done) {
40
+ result += config.spacingOuter;
41
+ const indentationNext = indentation + config.indent;
42
+ while (!current.done) {
43
+ result += indentationNext;
44
+ if (width++ === config.maxWidth) {
45
+ result += "…";
46
+ break;
47
+ }
48
+ const name = printer(current.value[0], config, indentationNext, depth, refs);
49
+ const value = printer(current.value[1], config, indentationNext, depth, refs);
50
+ result += name + separator + value;
51
+ current = iterator.next();
52
+ if (!current.done) {
53
+ result += `,${config.spacingInner}`;
54
+ } else if (!config.min) {
55
+ result += ",";
56
+ }
57
+ }
58
+ result += config.spacingOuter + indentation;
59
+ }
60
+ return result;
61
+ }
62
+ /**
63
+ * Return values (for example, of a set)
64
+ * with spacing, indentation, and comma
65
+ * without surrounding punctuation (braces or brackets)
66
+ */
67
+ function printIteratorValues(iterator, config, indentation, depth, refs, printer) {
68
+ let result = "";
69
+ let width = 0;
70
+ let current = iterator.next();
71
+ if (!current.done) {
72
+ result += config.spacingOuter;
73
+ const indentationNext = indentation + config.indent;
74
+ while (!current.done) {
75
+ result += indentationNext;
76
+ if (width++ === config.maxWidth) {
77
+ result += "…";
78
+ break;
79
+ }
80
+ result += printer(current.value, config, indentationNext, depth, refs);
81
+ current = iterator.next();
82
+ if (!current.done) {
83
+ result += `,${config.spacingInner}`;
84
+ } else if (!config.min) {
85
+ result += ",";
86
+ }
87
+ }
88
+ result += config.spacingOuter + indentation;
89
+ }
90
+ return result;
91
+ }
92
+ /**
93
+ * Return items (for example, of an array)
94
+ * with spacing, indentation, and comma
95
+ * without surrounding punctuation (for example, brackets)
96
+ */
97
+ function printListItems(list, config, indentation, depth, refs, printer) {
98
+ let result = "";
99
+ list = list instanceof ArrayBuffer ? new DataView(list) : list;
100
+ const isDataView = (l) => l instanceof DataView;
101
+ const length = isDataView(list) ? list.byteLength : list.length;
102
+ if (length > 0) {
103
+ result += config.spacingOuter;
104
+ const indentationNext = indentation + config.indent;
105
+ for (let i = 0; i < length; i++) {
106
+ result += indentationNext;
107
+ if (i === config.maxWidth) {
108
+ result += "…";
109
+ break;
110
+ }
111
+ if (isDataView(list) || i in list) {
112
+ result += printer(isDataView(list) ? list.getInt8(i) : list[i], config, indentationNext, depth, refs);
113
+ }
114
+ if (i < length - 1) {
115
+ result += `,${config.spacingInner}`;
116
+ } else if (!config.min) {
117
+ result += ",";
118
+ }
119
+ }
120
+ result += config.spacingOuter + indentation;
121
+ }
122
+ return result;
123
+ }
124
+ /**
125
+ * Return properties of an object
126
+ * with spacing, indentation, and comma
127
+ * without surrounding punctuation (for example, braces)
128
+ */
129
+ function printObjectProperties(val, config, indentation, depth, refs, printer) {
130
+ let result = "";
131
+ const keys = getKeysOfEnumerableProperties(val, config.compareKeys);
132
+ if (keys.length > 0) {
133
+ result += config.spacingOuter;
134
+ const indentationNext = indentation + config.indent;
135
+ for (let i = 0; i < keys.length; i++) {
136
+ const key = keys[i];
137
+ const name = printer(key, config, indentationNext, depth, refs);
138
+ const value = printer(val[key], config, indentationNext, depth, refs);
139
+ result += `${indentationNext + name}: ${value}`;
140
+ if (i < keys.length - 1) {
141
+ result += `,${config.spacingInner}`;
142
+ } else if (!config.min) {
143
+ result += ",";
144
+ }
145
+ }
146
+ result += config.spacingOuter + indentation;
147
+ }
148
+ return result;
149
+ }
150
+
151
+ const asymmetricMatcher = typeof Symbol === "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621;
152
+ const SPACE$2 = " ";
153
+ const serialize$5 = (val, config, indentation, depth, refs, printer) => {
154
+ const stringedValue = val.toString();
155
+ if (stringedValue === "ArrayContaining" || stringedValue === "ArrayNotContaining") {
156
+ if (++depth > config.maxDepth) {
157
+ return `[${stringedValue}]`;
158
+ }
159
+ return `${stringedValue + SPACE$2}[${printListItems(val.sample, config, indentation, depth, refs, printer)}]`;
160
+ }
161
+ if (stringedValue === "ObjectContaining" || stringedValue === "ObjectNotContaining") {
162
+ if (++depth > config.maxDepth) {
163
+ return `[${stringedValue}]`;
164
+ }
165
+ return `${stringedValue + SPACE$2}{${printObjectProperties(val.sample, config, indentation, depth, refs, printer)}}`;
166
+ }
167
+ if (stringedValue === "StringMatching" || stringedValue === "StringNotMatching") {
168
+ return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);
169
+ }
170
+ if (stringedValue === "StringContaining" || stringedValue === "StringNotContaining") {
171
+ return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);
172
+ }
173
+ if (typeof val.toAsymmetricMatcher !== "function") {
174
+ throw new TypeError(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);
175
+ }
176
+ return val.toAsymmetricMatcher();
177
+ };
178
+ const test$5 = (val) => val && val.$$typeof === asymmetricMatcher;
179
+ const plugin$5 = {
180
+ serialize: serialize$5,
181
+ test: test$5
182
+ };
183
+
184
+ const SPACE$1 = " ";
185
+ const OBJECT_NAMES = new Set(["DOMStringMap", "NamedNodeMap"]);
186
+ const ARRAY_REGEXP = /^(?:HTML\w*Collection|NodeList)$/;
187
+ function testName(name) {
188
+ return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name);
189
+ }
190
+ const test$4 = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);
191
+ function isNamedNodeMap(collection) {
192
+ return collection.constructor.name === "NamedNodeMap";
193
+ }
194
+ const serialize$4 = (collection, config, indentation, depth, refs, printer) => {
195
+ const name = collection.constructor.name;
196
+ if (++depth > config.maxDepth) {
197
+ return `[${name}]`;
198
+ }
199
+ return (config.min ? "" : name + SPACE$1) + (OBJECT_NAMES.has(name) ? `{${printObjectProperties(isNamedNodeMap(collection) ? [...collection].reduce((props, attribute) => {
200
+ props[attribute.name] = attribute.value;
201
+ return props;
202
+ }, {}) : { ...collection }, config, indentation, depth, refs, printer)}}` : `[${printListItems([...collection], config, indentation, depth, refs, printer)}]`);
203
+ };
204
+ const plugin$4 = {
205
+ serialize: serialize$4,
206
+ test: test$4
207
+ };
208
+
209
+ /**
210
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
211
+ *
212
+ * This source code is licensed under the MIT license found in the
213
+ * LICENSE file in the root directory of this source tree.
214
+ */
215
+ function escapeHTML(str) {
216
+ return str.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
217
+ }
218
+
219
+ // Return empty string if keys is empty.
220
+ function printProps(keys, props, config, indentation, depth, refs, printer) {
221
+ const indentationNext = indentation + config.indent;
222
+ const colors = config.colors;
223
+ return keys.map((key) => {
224
+ const value = props[key];
225
+ let printed = printer(value, config, indentationNext, depth, refs);
226
+ if (typeof value !== "string") {
227
+ if (printed.includes("\n")) {
228
+ printed = config.spacingOuter + indentationNext + printed + config.spacingOuter + indentation;
229
+ }
230
+ printed = `{${printed}}`;
231
+ }
232
+ return `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`;
233
+ }).join("");
234
+ }
235
+ // Return empty string if children is empty.
236
+ function printChildren(children, config, indentation, depth, refs, printer) {
237
+ return children.map((child) => config.spacingOuter + indentation + (typeof child === "string" ? printText(child, config) : printer(child, config, indentation, depth, refs))).join("");
238
+ }
239
+ function printText(text, config) {
240
+ const contentColor = config.colors.content;
241
+ return contentColor.open + escapeHTML(text) + contentColor.close;
242
+ }
243
+ function printComment(comment, config) {
244
+ const commentColor = config.colors.comment;
245
+ return `${commentColor.open}<!--${escapeHTML(comment)}-->${commentColor.close}`;
246
+ }
247
+ // Separate the functions to format props, children, and element,
248
+ // so a plugin could override a particular function, if needed.
249
+ // Too bad, so sad: the traditional (but unnecessary) space
250
+ // in a self-closing tagColor requires a second test of printedProps.
251
+ function printElement(type, printedProps, printedChildren, config, indentation) {
252
+ const tagColor = config.colors.tag;
253
+ return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}</${type}` : `${printedProps && !config.min ? "" : " "}/`}>${tagColor.close}`;
254
+ }
255
+ function printElementAsLeaf(type, config) {
256
+ const tagColor = config.colors.tag;
257
+ return `${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`;
258
+ }
259
+
260
+ const ELEMENT_NODE = 1;
261
+ const TEXT_NODE = 3;
262
+ const COMMENT_NODE = 8;
263
+ const FRAGMENT_NODE = 11;
264
+ const ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\w*)?Element$/;
265
+ function testHasAttribute(val) {
266
+ try {
267
+ return typeof val.hasAttribute === "function" && val.hasAttribute("is");
268
+ } catch {
269
+ return false;
270
+ }
271
+ }
272
+ function testNode(val) {
273
+ const constructorName = val.constructor.name;
274
+ const { nodeType, tagName } = val;
275
+ const isCustomElement = typeof tagName === "string" && tagName.includes("-") || testHasAttribute(val);
276
+ return nodeType === ELEMENT_NODE && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE && constructorName === "Text" || nodeType === COMMENT_NODE && constructorName === "Comment" || nodeType === FRAGMENT_NODE && constructorName === "DocumentFragment";
277
+ }
278
+ const test$3 = (val) => {
279
+ var _val$constructor;
280
+ return (val === null || val === void 0 || (_val$constructor = val.constructor) === null || _val$constructor === void 0 ? void 0 : _val$constructor.name) && testNode(val);
281
+ };
282
+ function nodeIsText(node) {
283
+ return node.nodeType === TEXT_NODE;
284
+ }
285
+ function nodeIsComment(node) {
286
+ return node.nodeType === COMMENT_NODE;
287
+ }
288
+ function nodeIsFragment(node) {
289
+ return node.nodeType === FRAGMENT_NODE;
290
+ }
291
+ const serialize$3 = (node, config, indentation, depth, refs, printer) => {
292
+ if (nodeIsText(node)) {
293
+ return printText(node.data, config);
294
+ }
295
+ if (nodeIsComment(node)) {
296
+ return printComment(node.data, config);
297
+ }
298
+ const type = nodeIsFragment(node) ? "DocumentFragment" : node.tagName.toLowerCase();
299
+ if (++depth > config.maxDepth) {
300
+ return printElementAsLeaf(type, config);
301
+ }
302
+ return printElement(type, printProps(nodeIsFragment(node) ? [] : Array.from(node.attributes, (attr) => attr.name).sort(), nodeIsFragment(node) ? {} : [...node.attributes].reduce((props, attribute) => {
303
+ props[attribute.name] = attribute.value;
304
+ return props;
305
+ }, {}), config, indentation + config.indent, depth, refs, printer), printChildren(Array.prototype.slice.call(node.childNodes || node.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
306
+ };
307
+ const plugin$3 = {
308
+ serialize: serialize$3,
309
+ test: test$3
310
+ };
311
+
312
+ // SENTINEL constants are from https://github.com/facebook/immutable-js
313
+ const IS_ITERABLE_SENTINEL = "@@__IMMUTABLE_ITERABLE__@@";
314
+ const IS_LIST_SENTINEL = "@@__IMMUTABLE_LIST__@@";
315
+ const IS_KEYED_SENTINEL = "@@__IMMUTABLE_KEYED__@@";
316
+ const IS_MAP_SENTINEL = "@@__IMMUTABLE_MAP__@@";
317
+ const IS_ORDERED_SENTINEL = "@@__IMMUTABLE_ORDERED__@@";
318
+ const IS_RECORD_SENTINEL = "@@__IMMUTABLE_RECORD__@@";
319
+ const IS_SEQ_SENTINEL = "@@__IMMUTABLE_SEQ__@@";
320
+ const IS_SET_SENTINEL = "@@__IMMUTABLE_SET__@@";
321
+ const IS_STACK_SENTINEL = "@@__IMMUTABLE_STACK__@@";
322
+ const getImmutableName = (name) => `Immutable.${name}`;
323
+ const printAsLeaf = (name) => `[${name}]`;
324
+ const SPACE = " ";
325
+ const LAZY = "…";
326
+ function printImmutableEntries(val, config, indentation, depth, refs, printer, type) {
327
+ return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}{${printIteratorEntries(val.entries(), config, indentation, depth, refs, printer)}}`;
328
+ }
329
+ // Record has an entries method because it is a collection in immutable v3.
330
+ // Return an iterator for Immutable Record from version v3 or v4.
331
+ function getRecordEntries(val) {
332
+ let i = 0;
333
+ return { next() {
334
+ if (i < val._keys.length) {
335
+ const key = val._keys[i++];
336
+ return {
337
+ done: false,
338
+ value: [key, val.get(key)]
339
+ };
340
+ }
341
+ return {
342
+ done: true,
343
+ value: undefined
344
+ };
345
+ } };
346
+ }
347
+ function printImmutableRecord(val, config, indentation, depth, refs, printer) {
348
+ // _name property is defined only for an Immutable Record instance
349
+ // which was constructed with a second optional descriptive name arg
350
+ const name = getImmutableName(val._name || "Record");
351
+ return ++depth > config.maxDepth ? printAsLeaf(name) : `${name + SPACE}{${printIteratorEntries(getRecordEntries(val), config, indentation, depth, refs, printer)}}`;
352
+ }
353
+ function printImmutableSeq(val, config, indentation, depth, refs, printer) {
354
+ const name = getImmutableName("Seq");
355
+ if (++depth > config.maxDepth) {
356
+ return printAsLeaf(name);
357
+ }
358
+ if (val[IS_KEYED_SENTINEL]) {
359
+ return `${name + SPACE}{${val._iter || val._object ? printIteratorEntries(val.entries(), config, indentation, depth, refs, printer) : LAZY}}`;
360
+ }
361
+ return `${name + SPACE}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(val.values(), config, indentation, depth, refs, printer) : LAZY}]`;
362
+ }
363
+ function printImmutableValues(val, config, indentation, depth, refs, printer, type) {
364
+ return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}[${printIteratorValues(val.values(), config, indentation, depth, refs, printer)}]`;
365
+ }
366
+ const serialize$2 = (val, config, indentation, depth, refs, printer) => {
367
+ if (val[IS_MAP_SENTINEL]) {
368
+ return printImmutableEntries(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedMap" : "Map");
369
+ }
370
+ if (val[IS_LIST_SENTINEL]) {
371
+ return printImmutableValues(val, config, indentation, depth, refs, printer, "List");
372
+ }
373
+ if (val[IS_SET_SENTINEL]) {
374
+ return printImmutableValues(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedSet" : "Set");
375
+ }
376
+ if (val[IS_STACK_SENTINEL]) {
377
+ return printImmutableValues(val, config, indentation, depth, refs, printer, "Stack");
378
+ }
379
+ if (val[IS_SEQ_SENTINEL]) {
380
+ return printImmutableSeq(val, config, indentation, depth, refs, printer);
381
+ }
382
+ // For compatibility with immutable v3 and v4, let record be the default.
383
+ return printImmutableRecord(val, config, indentation, depth, refs, printer);
384
+ };
385
+ // Explicitly comparing sentinel properties to true avoids false positive
386
+ // when mock identity-obj-proxy returns the key as the value for any key.
387
+ const test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);
388
+ const plugin$2 = {
389
+ serialize: serialize$2,
390
+ test: test$2
391
+ };
392
+
393
+ function getDefaultExportFromCjs (x) {
394
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
395
+ }
396
+
397
+ var reactIs$1 = {exports: {}};
398
+
399
+ var reactIs_production = {};
400
+
401
+ /**
402
+ * @license React
403
+ * react-is.production.js
404
+ *
405
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
406
+ *
407
+ * This source code is licensed under the MIT license found in the
408
+ * LICENSE file in the root directory of this source tree.
409
+ */
410
+
411
+ var hasRequiredReactIs_production;
412
+
413
+ function requireReactIs_production () {
414
+ if (hasRequiredReactIs_production) return reactIs_production;
415
+ hasRequiredReactIs_production = 1;
416
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
417
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
418
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
419
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
420
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
421
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
422
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
423
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
424
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
425
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
426
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
427
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
428
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
429
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
430
+ function typeOf(object) {
431
+ if ("object" === typeof object && null !== object) {
432
+ var $$typeof = object.$$typeof;
433
+ switch ($$typeof) {
434
+ case REACT_ELEMENT_TYPE:
435
+ switch (((object = object.type), object)) {
436
+ case REACT_FRAGMENT_TYPE:
437
+ case REACT_PROFILER_TYPE:
438
+ case REACT_STRICT_MODE_TYPE:
439
+ case REACT_SUSPENSE_TYPE:
440
+ case REACT_SUSPENSE_LIST_TYPE:
441
+ case REACT_VIEW_TRANSITION_TYPE:
442
+ return object;
443
+ default:
444
+ switch (((object = object && object.$$typeof), object)) {
445
+ case REACT_CONTEXT_TYPE:
446
+ case REACT_FORWARD_REF_TYPE:
447
+ case REACT_LAZY_TYPE:
448
+ case REACT_MEMO_TYPE:
449
+ return object;
450
+ case REACT_CONSUMER_TYPE:
451
+ return object;
452
+ default:
453
+ return $$typeof;
454
+ }
455
+ }
456
+ case REACT_PORTAL_TYPE:
457
+ return $$typeof;
458
+ }
459
+ }
460
+ }
461
+ reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
462
+ reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
463
+ reactIs_production.Element = REACT_ELEMENT_TYPE;
464
+ reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
465
+ reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
466
+ reactIs_production.Lazy = REACT_LAZY_TYPE;
467
+ reactIs_production.Memo = REACT_MEMO_TYPE;
468
+ reactIs_production.Portal = REACT_PORTAL_TYPE;
469
+ reactIs_production.Profiler = REACT_PROFILER_TYPE;
470
+ reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
471
+ reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
472
+ reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
473
+ reactIs_production.isContextConsumer = function (object) {
474
+ return typeOf(object) === REACT_CONSUMER_TYPE;
475
+ };
476
+ reactIs_production.isContextProvider = function (object) {
477
+ return typeOf(object) === REACT_CONTEXT_TYPE;
478
+ };
479
+ reactIs_production.isElement = function (object) {
480
+ return (
481
+ "object" === typeof object &&
482
+ null !== object &&
483
+ object.$$typeof === REACT_ELEMENT_TYPE
484
+ );
485
+ };
486
+ reactIs_production.isForwardRef = function (object) {
487
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
488
+ };
489
+ reactIs_production.isFragment = function (object) {
490
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
491
+ };
492
+ reactIs_production.isLazy = function (object) {
493
+ return typeOf(object) === REACT_LAZY_TYPE;
494
+ };
495
+ reactIs_production.isMemo = function (object) {
496
+ return typeOf(object) === REACT_MEMO_TYPE;
497
+ };
498
+ reactIs_production.isPortal = function (object) {
499
+ return typeOf(object) === REACT_PORTAL_TYPE;
500
+ };
501
+ reactIs_production.isProfiler = function (object) {
502
+ return typeOf(object) === REACT_PROFILER_TYPE;
503
+ };
504
+ reactIs_production.isStrictMode = function (object) {
505
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
506
+ };
507
+ reactIs_production.isSuspense = function (object) {
508
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
509
+ };
510
+ reactIs_production.isSuspenseList = function (object) {
511
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
512
+ };
513
+ reactIs_production.isValidElementType = function (type) {
514
+ return "string" === typeof type ||
515
+ "function" === typeof type ||
516
+ type === REACT_FRAGMENT_TYPE ||
517
+ type === REACT_PROFILER_TYPE ||
518
+ type === REACT_STRICT_MODE_TYPE ||
519
+ type === REACT_SUSPENSE_TYPE ||
520
+ type === REACT_SUSPENSE_LIST_TYPE ||
521
+ ("object" === typeof type &&
522
+ null !== type &&
523
+ (type.$$typeof === REACT_LAZY_TYPE ||
524
+ type.$$typeof === REACT_MEMO_TYPE ||
525
+ type.$$typeof === REACT_CONTEXT_TYPE ||
526
+ type.$$typeof === REACT_CONSUMER_TYPE ||
527
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
528
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
529
+ void 0 !== type.getModuleId))
530
+ ? true
531
+ : false;
532
+ };
533
+ reactIs_production.typeOf = typeOf;
534
+ return reactIs_production;
535
+ }
536
+
537
+ var reactIs_development$1 = {};
538
+
539
+ /**
540
+ * @license React
541
+ * react-is.development.js
542
+ *
543
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
544
+ *
545
+ * This source code is licensed under the MIT license found in the
546
+ * LICENSE file in the root directory of this source tree.
547
+ */
548
+
549
+ var hasRequiredReactIs_development$1;
550
+
551
+ function requireReactIs_development$1 () {
552
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
553
+ hasRequiredReactIs_development$1 = 1;
554
+ "production" !== process.env.NODE_ENV &&
555
+ (function () {
556
+ function typeOf(object) {
557
+ if ("object" === typeof object && null !== object) {
558
+ var $$typeof = object.$$typeof;
559
+ switch ($$typeof) {
560
+ case REACT_ELEMENT_TYPE:
561
+ switch (((object = object.type), object)) {
562
+ case REACT_FRAGMENT_TYPE:
563
+ case REACT_PROFILER_TYPE:
564
+ case REACT_STRICT_MODE_TYPE:
565
+ case REACT_SUSPENSE_TYPE:
566
+ case REACT_SUSPENSE_LIST_TYPE:
567
+ case REACT_VIEW_TRANSITION_TYPE:
568
+ return object;
569
+ default:
570
+ switch (((object = object && object.$$typeof), object)) {
571
+ case REACT_CONTEXT_TYPE:
572
+ case REACT_FORWARD_REF_TYPE:
573
+ case REACT_LAZY_TYPE:
574
+ case REACT_MEMO_TYPE:
575
+ return object;
576
+ case REACT_CONSUMER_TYPE:
577
+ return object;
578
+ default:
579
+ return $$typeof;
580
+ }
581
+ }
582
+ case REACT_PORTAL_TYPE:
583
+ return $$typeof;
584
+ }
585
+ }
586
+ }
587
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
588
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
589
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
590
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
591
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
592
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
593
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
594
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
595
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
596
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
597
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
598
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
599
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
600
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
601
+ reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
602
+ reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
603
+ reactIs_development$1.Element = REACT_ELEMENT_TYPE;
604
+ reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
605
+ reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
606
+ reactIs_development$1.Lazy = REACT_LAZY_TYPE;
607
+ reactIs_development$1.Memo = REACT_MEMO_TYPE;
608
+ reactIs_development$1.Portal = REACT_PORTAL_TYPE;
609
+ reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
610
+ reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
611
+ reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
612
+ reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
613
+ reactIs_development$1.isContextConsumer = function (object) {
614
+ return typeOf(object) === REACT_CONSUMER_TYPE;
615
+ };
616
+ reactIs_development$1.isContextProvider = function (object) {
617
+ return typeOf(object) === REACT_CONTEXT_TYPE;
618
+ };
619
+ reactIs_development$1.isElement = function (object) {
620
+ return (
621
+ "object" === typeof object &&
622
+ null !== object &&
623
+ object.$$typeof === REACT_ELEMENT_TYPE
624
+ );
625
+ };
626
+ reactIs_development$1.isForwardRef = function (object) {
627
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
628
+ };
629
+ reactIs_development$1.isFragment = function (object) {
630
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
631
+ };
632
+ reactIs_development$1.isLazy = function (object) {
633
+ return typeOf(object) === REACT_LAZY_TYPE;
634
+ };
635
+ reactIs_development$1.isMemo = function (object) {
636
+ return typeOf(object) === REACT_MEMO_TYPE;
637
+ };
638
+ reactIs_development$1.isPortal = function (object) {
639
+ return typeOf(object) === REACT_PORTAL_TYPE;
640
+ };
641
+ reactIs_development$1.isProfiler = function (object) {
642
+ return typeOf(object) === REACT_PROFILER_TYPE;
643
+ };
644
+ reactIs_development$1.isStrictMode = function (object) {
645
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
646
+ };
647
+ reactIs_development$1.isSuspense = function (object) {
648
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
649
+ };
650
+ reactIs_development$1.isSuspenseList = function (object) {
651
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
652
+ };
653
+ reactIs_development$1.isValidElementType = function (type) {
654
+ return "string" === typeof type ||
655
+ "function" === typeof type ||
656
+ type === REACT_FRAGMENT_TYPE ||
657
+ type === REACT_PROFILER_TYPE ||
658
+ type === REACT_STRICT_MODE_TYPE ||
659
+ type === REACT_SUSPENSE_TYPE ||
660
+ type === REACT_SUSPENSE_LIST_TYPE ||
661
+ ("object" === typeof type &&
662
+ null !== type &&
663
+ (type.$$typeof === REACT_LAZY_TYPE ||
664
+ type.$$typeof === REACT_MEMO_TYPE ||
665
+ type.$$typeof === REACT_CONTEXT_TYPE ||
666
+ type.$$typeof === REACT_CONSUMER_TYPE ||
667
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
668
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
669
+ void 0 !== type.getModuleId))
670
+ ? true
671
+ : false;
672
+ };
673
+ reactIs_development$1.typeOf = typeOf;
674
+ })();
675
+ return reactIs_development$1;
676
+ }
677
+
678
+ var hasRequiredReactIs$1;
679
+
680
+ function requireReactIs$1 () {
681
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
682
+ hasRequiredReactIs$1 = 1;
683
+
684
+ if (process.env.NODE_ENV === 'production') {
685
+ reactIs$1.exports = requireReactIs_production();
686
+ } else {
687
+ reactIs$1.exports = requireReactIs_development$1();
688
+ }
689
+ return reactIs$1.exports;
690
+ }
691
+
692
+ var reactIsExports$1 = requireReactIs$1();
693
+ var index$1 = /*@__PURE__*/getDefaultExportFromCjs(reactIsExports$1);
694
+
695
+ var ReactIs19 = /*#__PURE__*/_mergeNamespaces({
696
+ __proto__: null,
697
+ default: index$1
698
+ }, [reactIsExports$1]);
699
+
700
+ var reactIs = {exports: {}};
701
+
702
+ var reactIs_production_min = {};
703
+
704
+ /**
705
+ * @license React
706
+ * react-is.production.min.js
707
+ *
708
+ * Copyright (c) Facebook, Inc. and its affiliates.
709
+ *
710
+ * This source code is licensed under the MIT license found in the
711
+ * LICENSE file in the root directory of this source tree.
712
+ */
713
+
714
+ var hasRequiredReactIs_production_min;
715
+
716
+ function requireReactIs_production_min () {
717
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
718
+ hasRequiredReactIs_production_min = 1;
719
+ var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
720
+ function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
721
+ reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return false};reactIs_production_min.isConcurrentMode=function(){return false};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
722
+ reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
723
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?true:false};reactIs_production_min.typeOf=v;
724
+ return reactIs_production_min;
725
+ }
726
+
727
+ var reactIs_development = {};
728
+
729
+ /**
730
+ * @license React
731
+ * react-is.development.js
732
+ *
733
+ * Copyright (c) Facebook, Inc. and its affiliates.
734
+ *
735
+ * This source code is licensed under the MIT license found in the
736
+ * LICENSE file in the root directory of this source tree.
737
+ */
738
+
739
+ var hasRequiredReactIs_development;
740
+
741
+ function requireReactIs_development () {
742
+ if (hasRequiredReactIs_development) return reactIs_development;
743
+ hasRequiredReactIs_development = 1;
744
+
745
+ if (process.env.NODE_ENV !== "production") {
746
+ (function() {
747
+
748
+ // ATTENTION
749
+ // When adding new symbols to this file,
750
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
751
+ // The Symbol used to tag the ReactElement-like types.
752
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
753
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
754
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
755
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
756
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
757
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
758
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
759
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
760
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
761
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
762
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
763
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
764
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
765
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
766
+
767
+ // -----------------------------------------------------------------------------
768
+
769
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
770
+ var enableCacheElement = false;
771
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
772
+
773
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
774
+ // stuff. Intended to enable React core members to more easily debug scheduling
775
+ // issues in DEV builds.
776
+
777
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
778
+
779
+ var REACT_MODULE_REFERENCE;
780
+
781
+ {
782
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
783
+ }
784
+
785
+ function isValidElementType(type) {
786
+ if (typeof type === 'string' || typeof type === 'function') {
787
+ return true;
788
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
789
+
790
+
791
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
792
+ return true;
793
+ }
794
+
795
+ if (typeof type === 'object' && type !== null) {
796
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
797
+ // types supported by any Flight configuration anywhere since
798
+ // we don't know which Flight build this will end up being used
799
+ // with.
800
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
801
+ return true;
802
+ }
803
+ }
804
+
805
+ return false;
806
+ }
807
+
808
+ function typeOf(object) {
809
+ if (typeof object === 'object' && object !== null) {
810
+ var $$typeof = object.$$typeof;
811
+
812
+ switch ($$typeof) {
813
+ case REACT_ELEMENT_TYPE:
814
+ var type = object.type;
815
+
816
+ switch (type) {
817
+ case REACT_FRAGMENT_TYPE:
818
+ case REACT_PROFILER_TYPE:
819
+ case REACT_STRICT_MODE_TYPE:
820
+ case REACT_SUSPENSE_TYPE:
821
+ case REACT_SUSPENSE_LIST_TYPE:
822
+ return type;
823
+
824
+ default:
825
+ var $$typeofType = type && type.$$typeof;
826
+
827
+ switch ($$typeofType) {
828
+ case REACT_SERVER_CONTEXT_TYPE:
829
+ case REACT_CONTEXT_TYPE:
830
+ case REACT_FORWARD_REF_TYPE:
831
+ case REACT_LAZY_TYPE:
832
+ case REACT_MEMO_TYPE:
833
+ case REACT_PROVIDER_TYPE:
834
+ return $$typeofType;
835
+
836
+ default:
837
+ return $$typeof;
838
+ }
839
+
840
+ }
841
+
842
+ case REACT_PORTAL_TYPE:
843
+ return $$typeof;
844
+ }
845
+ }
846
+
847
+ return undefined;
848
+ }
849
+ var ContextConsumer = REACT_CONTEXT_TYPE;
850
+ var ContextProvider = REACT_PROVIDER_TYPE;
851
+ var Element = REACT_ELEMENT_TYPE;
852
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
853
+ var Fragment = REACT_FRAGMENT_TYPE;
854
+ var Lazy = REACT_LAZY_TYPE;
855
+ var Memo = REACT_MEMO_TYPE;
856
+ var Portal = REACT_PORTAL_TYPE;
857
+ var Profiler = REACT_PROFILER_TYPE;
858
+ var StrictMode = REACT_STRICT_MODE_TYPE;
859
+ var Suspense = REACT_SUSPENSE_TYPE;
860
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
861
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
862
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
863
+
864
+ function isAsyncMode(object) {
865
+ {
866
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
867
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
868
+
869
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
870
+ }
871
+ }
872
+
873
+ return false;
874
+ }
875
+ function isConcurrentMode(object) {
876
+ {
877
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
878
+ hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
879
+
880
+ console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
881
+ }
882
+ }
883
+
884
+ return false;
885
+ }
886
+ function isContextConsumer(object) {
887
+ return typeOf(object) === REACT_CONTEXT_TYPE;
888
+ }
889
+ function isContextProvider(object) {
890
+ return typeOf(object) === REACT_PROVIDER_TYPE;
891
+ }
892
+ function isElement(object) {
893
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
894
+ }
895
+ function isForwardRef(object) {
896
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
897
+ }
898
+ function isFragment(object) {
899
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
900
+ }
901
+ function isLazy(object) {
902
+ return typeOf(object) === REACT_LAZY_TYPE;
903
+ }
904
+ function isMemo(object) {
905
+ return typeOf(object) === REACT_MEMO_TYPE;
906
+ }
907
+ function isPortal(object) {
908
+ return typeOf(object) === REACT_PORTAL_TYPE;
909
+ }
910
+ function isProfiler(object) {
911
+ return typeOf(object) === REACT_PROFILER_TYPE;
912
+ }
913
+ function isStrictMode(object) {
914
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
915
+ }
916
+ function isSuspense(object) {
917
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
918
+ }
919
+ function isSuspenseList(object) {
920
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
921
+ }
922
+
923
+ reactIs_development.ContextConsumer = ContextConsumer;
924
+ reactIs_development.ContextProvider = ContextProvider;
925
+ reactIs_development.Element = Element;
926
+ reactIs_development.ForwardRef = ForwardRef;
927
+ reactIs_development.Fragment = Fragment;
928
+ reactIs_development.Lazy = Lazy;
929
+ reactIs_development.Memo = Memo;
930
+ reactIs_development.Portal = Portal;
931
+ reactIs_development.Profiler = Profiler;
932
+ reactIs_development.StrictMode = StrictMode;
933
+ reactIs_development.Suspense = Suspense;
934
+ reactIs_development.SuspenseList = SuspenseList;
935
+ reactIs_development.isAsyncMode = isAsyncMode;
936
+ reactIs_development.isConcurrentMode = isConcurrentMode;
937
+ reactIs_development.isContextConsumer = isContextConsumer;
938
+ reactIs_development.isContextProvider = isContextProvider;
939
+ reactIs_development.isElement = isElement;
940
+ reactIs_development.isForwardRef = isForwardRef;
941
+ reactIs_development.isFragment = isFragment;
942
+ reactIs_development.isLazy = isLazy;
943
+ reactIs_development.isMemo = isMemo;
944
+ reactIs_development.isPortal = isPortal;
945
+ reactIs_development.isProfiler = isProfiler;
946
+ reactIs_development.isStrictMode = isStrictMode;
947
+ reactIs_development.isSuspense = isSuspense;
948
+ reactIs_development.isSuspenseList = isSuspenseList;
949
+ reactIs_development.isValidElementType = isValidElementType;
950
+ reactIs_development.typeOf = typeOf;
951
+ })();
952
+ }
953
+ return reactIs_development;
954
+ }
955
+
956
+ var hasRequiredReactIs;
957
+
958
+ function requireReactIs () {
959
+ if (hasRequiredReactIs) return reactIs.exports;
960
+ hasRequiredReactIs = 1;
961
+
962
+ if (process.env.NODE_ENV === 'production') {
963
+ reactIs.exports = requireReactIs_production_min();
964
+ } else {
965
+ reactIs.exports = requireReactIs_development();
966
+ }
967
+ return reactIs.exports;
968
+ }
969
+
970
+ var reactIsExports = requireReactIs();
971
+ var index = /*@__PURE__*/getDefaultExportFromCjs(reactIsExports);
972
+
973
+ var ReactIs18 = /*#__PURE__*/_mergeNamespaces({
974
+ __proto__: null,
975
+ default: index
976
+ }, [reactIsExports]);
977
+
978
+ const reactIsMethods = [
979
+ "isAsyncMode",
980
+ "isConcurrentMode",
981
+ "isContextConsumer",
982
+ "isContextProvider",
983
+ "isElement",
984
+ "isForwardRef",
985
+ "isFragment",
986
+ "isLazy",
987
+ "isMemo",
988
+ "isPortal",
989
+ "isProfiler",
990
+ "isStrictMode",
991
+ "isSuspense",
992
+ "isSuspenseList",
993
+ "isValidElementType"
994
+ ];
995
+ const ReactIs = Object.fromEntries(reactIsMethods.map((m) => [m, (v) => ReactIs18[m](v) || ReactIs19[m](v)]));
996
+ // Given element.props.children, or subtree during recursive traversal,
997
+ // return flattened array of children.
998
+ function getChildren(arg, children = []) {
999
+ if (Array.isArray(arg)) {
1000
+ for (const item of arg) {
1001
+ getChildren(item, children);
1002
+ }
1003
+ } else if (arg != null && arg !== false && arg !== "") {
1004
+ children.push(arg);
1005
+ }
1006
+ return children;
1007
+ }
1008
+ function getType(element) {
1009
+ const type = element.type;
1010
+ if (typeof type === "string") {
1011
+ return type;
1012
+ }
1013
+ if (typeof type === "function") {
1014
+ return type.displayName || type.name || "Unknown";
1015
+ }
1016
+ if (ReactIs.isFragment(element)) {
1017
+ return "React.Fragment";
1018
+ }
1019
+ if (ReactIs.isSuspense(element)) {
1020
+ return "React.Suspense";
1021
+ }
1022
+ if (typeof type === "object" && type !== null) {
1023
+ if (ReactIs.isContextProvider(element)) {
1024
+ return "Context.Provider";
1025
+ }
1026
+ if (ReactIs.isContextConsumer(element)) {
1027
+ return "Context.Consumer";
1028
+ }
1029
+ if (ReactIs.isForwardRef(element)) {
1030
+ if (type.displayName) {
1031
+ return type.displayName;
1032
+ }
1033
+ const functionName = type.render.displayName || type.render.name || "";
1034
+ return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
1035
+ }
1036
+ if (ReactIs.isMemo(element)) {
1037
+ const functionName = type.displayName || type.type.displayName || type.type.name || "";
1038
+ return functionName === "" ? "Memo" : `Memo(${functionName})`;
1039
+ }
1040
+ }
1041
+ return "UNDEFINED";
1042
+ }
1043
+ function getPropKeys$1(element) {
1044
+ const { props } = element;
1045
+ return Object.keys(props).filter((key) => key !== "children" && props[key] !== undefined).sort();
1046
+ }
1047
+ const serialize$1 = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(getType(element), config) : printElement(getType(element), printProps(getPropKeys$1(element), element.props, config, indentation + config.indent, depth, refs, printer), printChildren(getChildren(element.props.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
1048
+ const test$1 = (val) => val != null && ReactIs.isElement(val);
1049
+ const plugin$1 = {
1050
+ serialize: serialize$1,
1051
+ test: test$1
1052
+ };
1053
+
1054
+ const testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
1055
+ function getPropKeys(object) {
1056
+ const { props } = object;
1057
+ return props ? Object.keys(props).filter((key) => props[key] !== undefined).sort() : [];
1058
+ }
1059
+ const serialize = (object, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(object.type, config) : printElement(object.type, object.props ? printProps(getPropKeys(object), object.props, config, indentation + config.indent, depth, refs, printer) : "", object.children ? printChildren(object.children, config, indentation + config.indent, depth, refs, printer) : "", config, indentation);
1060
+ const test = (val) => val && val.$$typeof === testSymbol;
1061
+ const plugin = {
1062
+ serialize,
1063
+ test
1064
+ };
1065
+
1066
+ const toString = Object.prototype.toString;
1067
+ const toISOString = Date.prototype.toISOString;
1068
+ const errorToString = Error.prototype.toString;
1069
+ const regExpToString = RegExp.prototype.toString;
1070
+ /**
1071
+ * Explicitly comparing typeof constructor to function avoids undefined as name
1072
+ * when mock identity-obj-proxy returns the key as the value for any key.
1073
+ */
1074
+ function getConstructorName(val) {
1075
+ return typeof val.constructor === "function" && val.constructor.name || "Object";
1076
+ }
1077
+ /** Is val is equal to global window object? Works even if it does not exist :) */
1078
+ function isWindow(val) {
1079
+ return typeof window !== "undefined" && val === window;
1080
+ }
1081
+ // eslint-disable-next-line regexp/no-super-linear-backtracking
1082
+ const SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/;
1083
+ const NEWLINE_REGEXP = /\n/g;
1084
+ class PrettyFormatPluginError extends Error {
1085
+ constructor(message, stack) {
1086
+ super(message);
1087
+ this.stack = stack;
1088
+ this.name = this.constructor.name;
1089
+ }
1090
+ }
1091
+ function isToStringedArrayType(toStringed) {
1092
+ return toStringed === "[object Array]" || toStringed === "[object ArrayBuffer]" || toStringed === "[object DataView]" || toStringed === "[object Float32Array]" || toStringed === "[object Float64Array]" || toStringed === "[object Int8Array]" || toStringed === "[object Int16Array]" || toStringed === "[object Int32Array]" || toStringed === "[object Uint8Array]" || toStringed === "[object Uint8ClampedArray]" || toStringed === "[object Uint16Array]" || toStringed === "[object Uint32Array]";
1093
+ }
1094
+ function printNumber(val) {
1095
+ return Object.is(val, -0) ? "-0" : String(val);
1096
+ }
1097
+ function printBigInt(val) {
1098
+ return String(`${val}n`);
1099
+ }
1100
+ function printFunction(val, printFunctionName) {
1101
+ if (!printFunctionName) {
1102
+ return "[Function]";
1103
+ }
1104
+ return `[Function ${val.name || "anonymous"}]`;
1105
+ }
1106
+ function printSymbol(val) {
1107
+ return String(val).replace(SYMBOL_REGEXP, "Symbol($1)");
1108
+ }
1109
+ function printError(val) {
1110
+ return `[${errorToString.call(val)}]`;
1111
+ }
1112
+ /**
1113
+ * The first port of call for printing an object, handles most of the
1114
+ * data-types in JS.
1115
+ */
1116
+ function printBasicValue(val, printFunctionName, escapeRegex, escapeString) {
1117
+ if (val === true || val === false) {
1118
+ return `${val}`;
1119
+ }
1120
+ if (val === undefined) {
1121
+ return "undefined";
1122
+ }
1123
+ if (val === null) {
1124
+ return "null";
1125
+ }
1126
+ const typeOf = typeof val;
1127
+ if (typeOf === "number") {
1128
+ return printNumber(val);
1129
+ }
1130
+ if (typeOf === "bigint") {
1131
+ return printBigInt(val);
1132
+ }
1133
+ if (typeOf === "string") {
1134
+ if (escapeString) {
1135
+ return `"${val.replaceAll(/"|\\/g, "\\$&")}"`;
1136
+ }
1137
+ return `"${val}"`;
1138
+ }
1139
+ if (typeOf === "function") {
1140
+ return printFunction(val, printFunctionName);
1141
+ }
1142
+ if (typeOf === "symbol") {
1143
+ return printSymbol(val);
1144
+ }
1145
+ const toStringed = toString.call(val);
1146
+ if (toStringed === "[object WeakMap]") {
1147
+ return "WeakMap {}";
1148
+ }
1149
+ if (toStringed === "[object WeakSet]") {
1150
+ return "WeakSet {}";
1151
+ }
1152
+ if (toStringed === "[object Function]" || toStringed === "[object GeneratorFunction]") {
1153
+ return printFunction(val, printFunctionName);
1154
+ }
1155
+ if (toStringed === "[object Symbol]") {
1156
+ return printSymbol(val);
1157
+ }
1158
+ if (toStringed === "[object Date]") {
1159
+ return Number.isNaN(+val) ? "Date { NaN }" : toISOString.call(val);
1160
+ }
1161
+ if (toStringed === "[object Error]") {
1162
+ return printError(val);
1163
+ }
1164
+ if (toStringed === "[object RegExp]") {
1165
+ if (escapeRegex) {
1166
+ // https://github.com/benjamingr/RegExp.escape/blob/main/polyfill.js
1167
+ return regExpToString.call(val).replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&");
1168
+ }
1169
+ return regExpToString.call(val);
1170
+ }
1171
+ if (val instanceof Error) {
1172
+ return printError(val);
1173
+ }
1174
+ return null;
1175
+ }
1176
+ /**
1177
+ * Handles more complex objects ( such as objects with circular references.
1178
+ * maps and sets etc )
1179
+ */
1180
+ function printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON) {
1181
+ if (refs.includes(val)) {
1182
+ return "[Circular]";
1183
+ }
1184
+ refs = [...refs];
1185
+ refs.push(val);
1186
+ const hitMaxDepth = ++depth > config.maxDepth;
1187
+ const min = config.min;
1188
+ if (config.callToJSON && !hitMaxDepth && val.toJSON && typeof val.toJSON === "function" && !hasCalledToJSON) {
1189
+ return printer(val.toJSON(), config, indentation, depth, refs, true);
1190
+ }
1191
+ const toStringed = toString.call(val);
1192
+ if (toStringed === "[object Arguments]") {
1193
+ return hitMaxDepth ? "[Arguments]" : `${min ? "" : "Arguments "}[${printListItems(val, config, indentation, depth, refs, printer)}]`;
1194
+ }
1195
+ if (isToStringedArrayType(toStringed)) {
1196
+ return hitMaxDepth ? `[${val.constructor.name}]` : `${min ? "" : !config.printBasicPrototype && val.constructor.name === "Array" ? "" : `${val.constructor.name} `}[${printListItems(val, config, indentation, depth, refs, printer)}]`;
1197
+ }
1198
+ if (toStringed === "[object Map]") {
1199
+ return hitMaxDepth ? "[Map]" : `Map {${printIteratorEntries(val.entries(), config, indentation, depth, refs, printer, " => ")}}`;
1200
+ }
1201
+ if (toStringed === "[object Set]") {
1202
+ return hitMaxDepth ? "[Set]" : `Set {${printIteratorValues(val.values(), config, indentation, depth, refs, printer)}}`;
1203
+ }
1204
+ // Avoid failure to serialize global window object in jsdom test environment.
1205
+ // For example, not even relevant if window is prop of React element.
1206
+ return hitMaxDepth || isWindow(val) ? `[${getConstructorName(val)}]` : `${min ? "" : !config.printBasicPrototype && getConstructorName(val) === "Object" ? "" : `${getConstructorName(val)} `}{${printObjectProperties(val, config, indentation, depth, refs, printer)}}`;
1207
+ }
1208
+ const ErrorPlugin = {
1209
+ test: (val) => val && val instanceof Error,
1210
+ serialize(val, config, indentation, depth, refs, printer) {
1211
+ if (refs.includes(val)) {
1212
+ return "[Circular]";
1213
+ }
1214
+ refs = [...refs, val];
1215
+ const hitMaxDepth = ++depth > config.maxDepth;
1216
+ const { message, cause,...rest } = val;
1217
+ const entries = {
1218
+ message,
1219
+ ...typeof cause !== "undefined" ? { cause } : {},
1220
+ ...val instanceof AggregateError ? { errors: val.errors } : {},
1221
+ ...rest
1222
+ };
1223
+ const name = val.name !== "Error" ? val.name : getConstructorName(val);
1224
+ return hitMaxDepth ? `[${name}]` : `${name} {${printIteratorEntries(Object.entries(entries).values(), config, indentation, depth, refs, printer)}}`;
1225
+ }
1226
+ };
1227
+ function isNewPlugin(plugin) {
1228
+ return plugin.serialize != null;
1229
+ }
1230
+ function printPlugin(plugin, val, config, indentation, depth, refs) {
1231
+ let printed;
1232
+ try {
1233
+ printed = isNewPlugin(plugin) ? plugin.serialize(val, config, indentation, depth, refs, printer) : plugin.print(val, (valChild) => printer(valChild, config, indentation, depth, refs), (str) => {
1234
+ const indentationNext = indentation + config.indent;
1235
+ return indentationNext + str.replaceAll(NEWLINE_REGEXP, `\n${indentationNext}`);
1236
+ }, {
1237
+ edgeSpacing: config.spacingOuter,
1238
+ min: config.min,
1239
+ spacing: config.spacingInner
1240
+ }, config.colors);
1241
+ } catch (error) {
1242
+ throw new PrettyFormatPluginError(error.message, error.stack);
1243
+ }
1244
+ if (typeof printed !== "string") {
1245
+ throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);
1246
+ }
1247
+ return printed;
1248
+ }
1249
+ function findPlugin(plugins, val) {
1250
+ for (const plugin of plugins) {
1251
+ try {
1252
+ if (plugin.test(val)) {
1253
+ return plugin;
1254
+ }
1255
+ } catch (error) {
1256
+ throw new PrettyFormatPluginError(error.message, error.stack);
1257
+ }
1258
+ }
1259
+ return null;
1260
+ }
1261
+ function printer(val, config, indentation, depth, refs, hasCalledToJSON) {
1262
+ const plugin = findPlugin(config.plugins, val);
1263
+ if (plugin !== null) {
1264
+ return printPlugin(plugin, val, config, indentation, depth, refs);
1265
+ }
1266
+ const basicResult = printBasicValue(val, config.printFunctionName, config.escapeRegex, config.escapeString);
1267
+ if (basicResult !== null) {
1268
+ return basicResult;
1269
+ }
1270
+ return printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON);
1271
+ }
1272
+ const DEFAULT_THEME = {
1273
+ comment: "gray",
1274
+ content: "reset",
1275
+ prop: "yellow",
1276
+ tag: "cyan",
1277
+ value: "green"
1278
+ };
1279
+ const DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME);
1280
+ const DEFAULT_OPTIONS = {
1281
+ callToJSON: true,
1282
+ compareKeys: undefined,
1283
+ escapeRegex: false,
1284
+ escapeString: true,
1285
+ highlight: false,
1286
+ indent: 2,
1287
+ maxDepth: Number.POSITIVE_INFINITY,
1288
+ maxWidth: Number.POSITIVE_INFINITY,
1289
+ min: false,
1290
+ plugins: [],
1291
+ printBasicPrototype: true,
1292
+ printFunctionName: true,
1293
+ theme: DEFAULT_THEME
1294
+ };
1295
+ function validateOptions(options) {
1296
+ for (const key of Object.keys(options)) {
1297
+ if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key)) {
1298
+ throw new Error(`pretty-format: Unknown option "${key}".`);
1299
+ }
1300
+ }
1301
+ if (options.min && options.indent !== undefined && options.indent !== 0) {
1302
+ throw new Error("pretty-format: Options \"min\" and \"indent\" cannot be used together.");
1303
+ }
1304
+ }
1305
+ function getColorsHighlight() {
1306
+ return DEFAULT_THEME_KEYS.reduce((colors, key) => {
1307
+ const value = DEFAULT_THEME[key];
1308
+ const color = value && styles[value];
1309
+ if (color && typeof color.close === "string" && typeof color.open === "string") {
1310
+ colors[key] = color;
1311
+ } else {
1312
+ throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);
1313
+ }
1314
+ return colors;
1315
+ }, Object.create(null));
1316
+ }
1317
+ function getColorsEmpty() {
1318
+ return DEFAULT_THEME_KEYS.reduce((colors, key) => {
1319
+ colors[key] = {
1320
+ close: "",
1321
+ open: ""
1322
+ };
1323
+ return colors;
1324
+ }, Object.create(null));
1325
+ }
1326
+ function getPrintFunctionName(options) {
1327
+ return (options === null || options === void 0 ? void 0 : options.printFunctionName) ?? DEFAULT_OPTIONS.printFunctionName;
1328
+ }
1329
+ function getEscapeRegex(options) {
1330
+ return (options === null || options === void 0 ? void 0 : options.escapeRegex) ?? DEFAULT_OPTIONS.escapeRegex;
1331
+ }
1332
+ function getEscapeString(options) {
1333
+ return (options === null || options === void 0 ? void 0 : options.escapeString) ?? DEFAULT_OPTIONS.escapeString;
1334
+ }
1335
+ function getConfig(options) {
1336
+ return {
1337
+ callToJSON: (options === null || options === void 0 ? void 0 : options.callToJSON) ?? DEFAULT_OPTIONS.callToJSON,
1338
+ colors: (options === null || options === void 0 ? void 0 : options.highlight) ? getColorsHighlight() : getColorsEmpty(),
1339
+ compareKeys: typeof (options === null || options === void 0 ? void 0 : options.compareKeys) === "function" || (options === null || options === void 0 ? void 0 : options.compareKeys) === null ? options.compareKeys : DEFAULT_OPTIONS.compareKeys,
1340
+ escapeRegex: getEscapeRegex(options),
1341
+ escapeString: getEscapeString(options),
1342
+ indent: (options === null || options === void 0 ? void 0 : options.min) ? "" : createIndent((options === null || options === void 0 ? void 0 : options.indent) ?? DEFAULT_OPTIONS.indent),
1343
+ maxDepth: (options === null || options === void 0 ? void 0 : options.maxDepth) ?? DEFAULT_OPTIONS.maxDepth,
1344
+ maxWidth: (options === null || options === void 0 ? void 0 : options.maxWidth) ?? DEFAULT_OPTIONS.maxWidth,
1345
+ min: (options === null || options === void 0 ? void 0 : options.min) ?? DEFAULT_OPTIONS.min,
1346
+ plugins: (options === null || options === void 0 ? void 0 : options.plugins) ?? DEFAULT_OPTIONS.plugins,
1347
+ printBasicPrototype: (options === null || options === void 0 ? void 0 : options.printBasicPrototype) ?? true,
1348
+ printFunctionName: getPrintFunctionName(options),
1349
+ spacingInner: (options === null || options === void 0 ? void 0 : options.min) ? " " : "\n",
1350
+ spacingOuter: (options === null || options === void 0 ? void 0 : options.min) ? "" : "\n"
1351
+ };
1352
+ }
1353
+ function createIndent(indent) {
1354
+ return Array.from({ length: indent + 1 }).join(" ");
1355
+ }
1356
+ /**
1357
+ * Returns a presentation string of your `val` object
1358
+ * @param val any potential JavaScript object
1359
+ * @param options Custom settings
1360
+ */
1361
+ function format(val, options) {
1362
+ if (options) {
1363
+ validateOptions(options);
1364
+ if (options.plugins) {
1365
+ const plugin = findPlugin(options.plugins, val);
1366
+ if (plugin !== null) {
1367
+ return printPlugin(plugin, val, getConfig(options), "", 0, []);
1368
+ }
1369
+ }
1370
+ }
1371
+ const basicResult = printBasicValue(val, getPrintFunctionName(options), getEscapeRegex(options), getEscapeString(options));
1372
+ if (basicResult !== null) {
1373
+ return basicResult;
1374
+ }
1375
+ return printComplexValue(val, getConfig(options), "", 0, []);
1376
+ }
1377
+ const plugins = {
1378
+ AsymmetricMatcher: plugin$5,
1379
+ DOMCollection: plugin$4,
1380
+ DOMElement: plugin$3,
1381
+ Immutable: plugin$2,
1382
+ ReactElement: plugin$1,
1383
+ ReactTestComponent: plugin,
1384
+ Error: ErrorPlugin
1385
+ };
1386
+
1387
+ export { DEFAULT_OPTIONS, format, plugins };