@dungle-scrubs/tallow 0.8.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 (1607) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +309 -0
  3. package/dist/atomic-write.d.ts +41 -0
  4. package/dist/atomic-write.d.ts.map +1 -0
  5. package/dist/atomic-write.js +109 -0
  6. package/dist/atomic-write.js.map +1 -0
  7. package/dist/auth-hardening.d.ts +86 -0
  8. package/dist/auth-hardening.d.ts.map +1 -0
  9. package/dist/auth-hardening.js +350 -0
  10. package/dist/auth-hardening.js.map +1 -0
  11. package/dist/cli.d.ts +13 -0
  12. package/dist/cli.d.ts.map +1 -0
  13. package/dist/cli.js +353 -0
  14. package/dist/cli.js.map +1 -0
  15. package/dist/config.d.ts +46 -0
  16. package/dist/config.d.ts.map +1 -0
  17. package/dist/config.js +267 -0
  18. package/dist/config.js.map +1 -0
  19. package/dist/fatal-errors.d.ts +21 -0
  20. package/dist/fatal-errors.d.ts.map +1 -0
  21. package/dist/fatal-errors.js +112 -0
  22. package/dist/fatal-errors.js.map +1 -0
  23. package/dist/index.d.ts +29 -0
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +30 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/install.d.ts +24 -0
  28. package/dist/install.d.ts.map +1 -0
  29. package/dist/install.js +606 -0
  30. package/dist/install.js.map +1 -0
  31. package/dist/pid-manager.d.ts +41 -0
  32. package/dist/pid-manager.d.ts.map +1 -0
  33. package/dist/pid-manager.js +123 -0
  34. package/dist/pid-manager.js.map +1 -0
  35. package/dist/plugins.d.ts +212 -0
  36. package/dist/plugins.d.ts.map +1 -0
  37. package/dist/plugins.js +489 -0
  38. package/dist/plugins.js.map +1 -0
  39. package/dist/process-cleanup.d.ts +25 -0
  40. package/dist/process-cleanup.d.ts.map +1 -0
  41. package/dist/process-cleanup.js +89 -0
  42. package/dist/process-cleanup.js.map +1 -0
  43. package/dist/sdk.d.ts +112 -0
  44. package/dist/sdk.d.ts.map +1 -0
  45. package/dist/sdk.js +627 -0
  46. package/dist/sdk.js.map +1 -0
  47. package/dist/session-migration.d.ts +31 -0
  48. package/dist/session-migration.d.ts.map +1 -0
  49. package/dist/session-migration.js +70 -0
  50. package/dist/session-migration.js.map +1 -0
  51. package/dist/session-utils.d.ts +33 -0
  52. package/dist/session-utils.d.ts.map +1 -0
  53. package/dist/session-utils.js +96 -0
  54. package/dist/session-utils.js.map +1 -0
  55. package/extensions/__integration__/cancellation.test.ts +164 -0
  56. package/extensions/__integration__/error-paths.test.ts +171 -0
  57. package/extensions/__integration__/hooks.test.ts +161 -0
  58. package/extensions/__integration__/interop-state-flow.test.ts +187 -0
  59. package/extensions/__integration__/lifecycle.test.ts +127 -0
  60. package/extensions/__integration__/mcp-sse-transport.test.ts +270 -0
  61. package/extensions/__integration__/mcp-streamable-http-transport.test.ts +198 -0
  62. package/extensions/__integration__/module-boundaries-and-size.test.ts +152 -0
  63. package/extensions/__integration__/shell-policy-confirm.test.ts +372 -0
  64. package/extensions/__integration__/slash-command-bridge.test.ts +138 -0
  65. package/extensions/__integration__/tasks-runtime.test.ts +224 -0
  66. package/extensions/__integration__/teams-runtime.test.ts +291 -0
  67. package/extensions/__integration__/tools.test.ts +189 -0
  68. package/extensions/_icons/__tests__/icons.test.ts +67 -0
  69. package/extensions/_icons/extension.json +8 -0
  70. package/extensions/_icons/index.ts +167 -0
  71. package/extensions/_shared/__tests__/inline-preview.test.ts +54 -0
  72. package/extensions/_shared/__tests__/permissions.test.ts +773 -0
  73. package/extensions/_shared/__tests__/pid-registry.test.ts +143 -0
  74. package/extensions/_shared/__tests__/shell-policy.test.ts +326 -0
  75. package/extensions/_shared/atomic-write.ts +6 -0
  76. package/extensions/_shared/inline-preview.ts +57 -0
  77. package/extensions/_shared/interop-events.ts +390 -0
  78. package/extensions/_shared/permissions.ts +1070 -0
  79. package/extensions/_shared/pid-registry.ts +169 -0
  80. package/extensions/_shared/shell-policy.ts +1059 -0
  81. package/extensions/agent-commands-tool/__tests__/parsing.test.ts +244 -0
  82. package/extensions/agent-commands-tool/extension.json +16 -0
  83. package/extensions/agent-commands-tool/index.ts +403 -0
  84. package/extensions/ask-user-question-tool/__tests__/error-paths.test.ts +105 -0
  85. package/extensions/ask-user-question-tool/extension.json +10 -0
  86. package/extensions/ask-user-question-tool/index.ts +357 -0
  87. package/extensions/background-task-tool/__tests__/lifecycle.test.ts +373 -0
  88. package/extensions/background-task-tool/__tests__/shell-detection.test.ts +129 -0
  89. package/extensions/background-task-tool/__tests__/utils.test.ts +64 -0
  90. package/extensions/background-task-tool/extension.json +16 -0
  91. package/extensions/background-task-tool/index.ts +1572 -0
  92. package/extensions/bash-tool-enhanced/__tests__/auto-background.test.ts +96 -0
  93. package/extensions/bash-tool-enhanced/__tests__/extract-exit-code.test.ts +25 -0
  94. package/extensions/bash-tool-enhanced/__tests__/maintain-project-dir.test.ts +28 -0
  95. package/extensions/bash-tool-enhanced/__tests__/osc-strip.test.ts +114 -0
  96. package/extensions/bash-tool-enhanced/__tests__/progress-message.test.ts +111 -0
  97. package/extensions/bash-tool-enhanced/extension.json +21 -0
  98. package/extensions/bash-tool-enhanced/index.ts +662 -0
  99. package/extensions/cd-tool/extension.json +10 -0
  100. package/extensions/cd-tool/index.ts +130 -0
  101. package/extensions/cheatsheet/extension.json +10 -0
  102. package/extensions/cheatsheet/index.ts +262 -0
  103. package/extensions/claude-bridge/__tests__/claude-bridge.test.ts +206 -0
  104. package/extensions/claude-bridge/extension.json +16 -0
  105. package/extensions/claude-bridge/index.ts +188 -0
  106. package/extensions/clear/extension.json +10 -0
  107. package/extensions/clear/index.ts +20 -0
  108. package/extensions/command-expansion/__tests__/expansion.test.ts +123 -0
  109. package/extensions/command-expansion/extension.json +10 -0
  110. package/extensions/command-expansion/index.ts +343 -0
  111. package/extensions/command-prompt/extension.json +10 -0
  112. package/extensions/command-prompt/index.ts +635 -0
  113. package/extensions/context-files/__tests__/add-dir.test.ts +198 -0
  114. package/extensions/context-files/__tests__/nested-rules.test.ts +247 -0
  115. package/extensions/context-files/__tests__/resolve-imports.test.ts +96 -0
  116. package/extensions/context-files/extension.json +10 -0
  117. package/extensions/context-files/index.ts +613 -0
  118. package/extensions/context-fork/__tests__/context-fork.test.ts +341 -0
  119. package/extensions/context-fork/extension.json +26 -0
  120. package/extensions/context-fork/frontmatter-index.ts +301 -0
  121. package/extensions/context-fork/index.ts +485 -0
  122. package/extensions/context-fork/model-resolver.ts +48 -0
  123. package/extensions/context-fork/spawn.ts +234 -0
  124. package/extensions/context-usage/__tests__/tokens.test.ts +108 -0
  125. package/extensions/context-usage/extension.json +9 -0
  126. package/extensions/context-usage/index.ts +483 -0
  127. package/extensions/custom-footer/extension.json +10 -0
  128. package/extensions/custom-footer/index.ts +388 -0
  129. package/extensions/debug/__tests__/analysis.test.ts +353 -0
  130. package/extensions/debug/__tests__/extension.test.ts +177 -0
  131. package/extensions/debug/__tests__/logger.test.ts +202 -0
  132. package/extensions/debug/__tests__/query-log.test.ts +180 -0
  133. package/extensions/debug/analysis.ts +294 -0
  134. package/extensions/debug/extension.json +21 -0
  135. package/extensions/debug/index.ts +629 -0
  136. package/extensions/debug/logger.ts +291 -0
  137. package/extensions/edit-tool-enhanced/__tests__/diff-link.test.ts +86 -0
  138. package/extensions/edit-tool-enhanced/extension.json +10 -0
  139. package/extensions/edit-tool-enhanced/index.ts +151 -0
  140. package/extensions/file-reference/__tests__/file-reference.test.ts +200 -0
  141. package/extensions/file-reference/extension.json +10 -0
  142. package/extensions/file-reference/index.ts +325 -0
  143. package/extensions/git-status/extension.json +10 -0
  144. package/extensions/git-status/index.ts +233 -0
  145. package/extensions/health/__tests__/diagnostics.test.ts +145 -0
  146. package/extensions/health/extension.json +10 -0
  147. package/extensions/health/index.ts +727 -0
  148. package/extensions/hooks/__tests__/multi-source.test.ts +228 -0
  149. package/extensions/hooks/__tests__/once-hooks.test.ts +222 -0
  150. package/extensions/hooks/extension.json +11 -0
  151. package/extensions/hooks/hooks.example.json +77 -0
  152. package/extensions/hooks/hooks.schema.json +214 -0
  153. package/extensions/hooks/index.ts +995 -0
  154. package/extensions/hooks/state-manager.ts +137 -0
  155. package/extensions/init/__tests__/init.test.ts +306 -0
  156. package/extensions/init/extension.json +10 -0
  157. package/extensions/init/index.ts +339 -0
  158. package/extensions/lsp/extension.json +13 -0
  159. package/extensions/lsp/index.ts +981 -0
  160. package/extensions/lsp/node_modules/.package-lock.json +48 -0
  161. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.d.ts +55 -0
  162. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.js +670 -0
  163. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/compiler/index.d.ts +2 -0
  164. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/compiler/index.js +22 -0
  165. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/errors.d.ts +91 -0
  166. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/errors.js +599 -0
  167. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/function.d.ts +21 -0
  168. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/function.js +153 -0
  169. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/index.d.ts +2 -0
  170. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/errors/index.js +19 -0
  171. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/index.d.ts +71 -0
  172. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/index.js +97 -0
  173. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/index.d.ts +2 -0
  174. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/index.js +39 -0
  175. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.d.ts +23 -0
  176. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.js +86 -0
  177. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.d.ts +5 -0
  178. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.js +45 -0
  179. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.d.ts +9 -0
  180. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.js +22 -0
  181. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.d.ts +9 -0
  182. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.js +160 -0
  183. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.d.ts +8 -0
  184. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.js +230 -0
  185. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.d.ts +98 -0
  186. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.js +71 -0
  187. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/index.d.ts +3 -0
  188. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/index.js +43 -0
  189. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.d.ts +20 -0
  190. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.js +3 -0
  191. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/token.d.ts +108 -0
  192. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/token.js +3 -0
  193. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/types.d.ts +69 -0
  194. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/parser/static/types.js +3 -0
  195. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/index.d.ts +1 -0
  196. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/index.js +18 -0
  197. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.d.ts +167 -0
  198. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.js +491 -0
  199. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/parser.d.ts +162 -0
  200. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/parser.js +191 -0
  201. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.d.ts +12 -0
  202. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.js +54 -0
  203. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/index.d.ts +2 -0
  204. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/index.js +19 -0
  205. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/policy.d.ts +29 -0
  206. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/policy.js +58 -0
  207. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/system.d.ts +16 -0
  208. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/system/system.js +43 -0
  209. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts +8 -0
  210. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/any/any.js +10 -0
  211. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts +1 -0
  212. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/any/index.js +18 -0
  213. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts +9 -0
  214. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.js +10 -0
  215. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts +1 -0
  216. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/argument/index.js +18 -0
  217. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts +28 -0
  218. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/array/array.js +10 -0
  219. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts +1 -0
  220. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/array/index.js +18 -0
  221. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts +11 -0
  222. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.js +10 -0
  223. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts +1 -0
  224. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.js +18 -0
  225. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts +14 -0
  226. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.js +41 -0
  227. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts +1 -0
  228. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.js +18 -0
  229. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts +16 -0
  230. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.js +10 -0
  231. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts +1 -0
  232. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.js +18 -0
  233. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts +9 -0
  234. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.js +10 -0
  235. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts +1 -0
  236. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.js +18 -0
  237. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts +2 -0
  238. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/index.js +19 -0
  239. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts +5 -0
  240. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/type.js +14 -0
  241. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts +2 -0
  242. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/clone/value.js +73 -0
  243. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts +18 -0
  244. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.js +46 -0
  245. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts +1 -0
  246. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/composite/index.js +18 -0
  247. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts +9 -0
  248. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.js +10 -0
  249. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts +1 -0
  250. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/computed/index.js +18 -0
  251. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts +27 -0
  252. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/const/const.js +58 -0
  253. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts +1 -0
  254. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/const/index.js +18 -0
  255. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts +23 -0
  256. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.js +10 -0
  257. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts +1 -0
  258. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.js +18 -0
  259. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts +7 -0
  260. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.js +44 -0
  261. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts +1 -0
  262. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.js +18 -0
  263. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.d.ts +2 -0
  264. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.js +70 -0
  265. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts +1 -0
  266. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/index.js +18 -0
  267. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts +3 -0
  268. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/create/type.js +19 -0
  269. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts +21 -0
  270. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/date/date.js +10 -0
  271. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts +1 -0
  272. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/date/index.js +18 -0
  273. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.d.ts +2 -0
  274. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.js +12 -0
  275. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/discard/index.d.ts +1 -0
  276. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/discard/index.js +18 -0
  277. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts +14 -0
  278. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.js +22 -0
  279. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts +1 -0
  280. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/enum/index.js +18 -0
  281. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts +4 -0
  282. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/error/error.js +11 -0
  283. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts +1 -0
  284. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/error/index.js +18 -0
  285. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts +11 -0
  286. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.js +22 -0
  287. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts +5 -0
  288. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.js +9 -0
  289. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts +21 -0
  290. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.js +29 -0
  291. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts +3 -0
  292. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.js +20 -0
  293. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts +10 -0
  294. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.js +641 -0
  295. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts +14 -0
  296. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.js +29 -0
  297. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts +11 -0
  298. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.js +23 -0
  299. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts +3 -0
  300. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.js +24 -0
  301. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts +16 -0
  302. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.js +27 -0
  303. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts +5 -0
  304. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extends/index.js +22 -0
  305. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts +11 -0
  306. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.js +22 -0
  307. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts +5 -0
  308. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.js +9 -0
  309. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts +21 -0
  310. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.js +29 -0
  311. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts +3 -0
  312. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/extract/index.js +20 -0
  313. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts +23 -0
  314. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/function/function.js +10 -0
  315. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts +1 -0
  316. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/function/index.js +18 -0
  317. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts +3 -0
  318. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/index.js +40 -0
  319. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts +147 -0
  320. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.js +320 -0
  321. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts +152 -0
  322. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/type.js +597 -0
  323. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts +34 -0
  324. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/guard/value.js +89 -0
  325. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts +42 -0
  326. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.js +8 -0
  327. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts +1 -0
  328. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.js +18 -0
  329. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/index.d.ts +71 -0
  330. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/index.js +88 -0
  331. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts +4 -0
  332. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.js +21 -0
  333. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts +13 -0
  334. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.js +26 -0
  335. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts +12 -0
  336. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.js +24 -0
  337. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts +14 -0
  338. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.js +36 -0
  339. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts +52 -0
  340. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.js +98 -0
  341. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts +1 -0
  342. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.js +18 -0
  343. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts +6 -0
  344. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.js +44 -0
  345. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts +1 -0
  346. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.js +18 -0
  347. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts +50 -0
  348. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.js +153 -0
  349. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts +1 -0
  350. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/integer/index.js +18 -0
  351. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts +16 -0
  352. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.js +10 -0
  353. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts +3 -0
  354. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.js +20 -0
  355. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.d.ts +3 -0
  356. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.js +23 -0
  357. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts +13 -0
  358. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.js +42 -0
  359. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts +15 -0
  360. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.js +4 -0
  361. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts +6 -0
  362. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.js +21 -0
  363. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts +5 -0
  364. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.js +9 -0
  365. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts +6 -0
  366. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.js +23 -0
  367. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts +14 -0
  368. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.js +30 -0
  369. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts +16 -0
  370. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.js +68 -0
  371. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts +5 -0
  372. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.js +9 -0
  373. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts +5 -0
  374. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.js +9 -0
  375. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts +5 -0
  376. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.js +9 -0
  377. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts +1 -0
  378. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.js +18 -0
  379. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts +11 -0
  380. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.js +10 -0
  381. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts +4 -0
  382. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.js +21 -0
  383. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts +12 -0
  384. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.js +23 -0
  385. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts +7 -0
  386. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.js +16 -0
  387. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts +24 -0
  388. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.js +78 -0
  389. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts +21 -0
  390. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.js +40 -0
  391. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts +1 -0
  392. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/literal/index.js +18 -0
  393. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts +10 -0
  394. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.js +14 -0
  395. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts +3 -0
  396. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.js +20 -0
  397. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts +8 -0
  398. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.js +13 -0
  399. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts +9 -0
  400. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.js +13 -0
  401. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts +47 -0
  402. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.js +107 -0
  403. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts +59 -0
  404. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/compute.js +205 -0
  405. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts +1 -0
  406. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/index.js +18 -0
  407. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts +49 -0
  408. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/infer.js +3 -0
  409. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts +27 -0
  410. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/module/module.js +38 -0
  411. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts +1 -0
  412. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/never/index.js +18 -0
  413. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts +9 -0
  414. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/never/never.js +10 -0
  415. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts +1 -0
  416. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/not/index.js +18 -0
  417. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts +10 -0
  418. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/not/not.js +10 -0
  419. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts +1 -0
  420. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/null/index.js +18 -0
  421. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts +9 -0
  422. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/null/null.js +10 -0
  423. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts +1 -0
  424. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/number/index.js +18 -0
  425. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts +16 -0
  426. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/number/number.js +10 -0
  427. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts +1 -0
  428. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/object/index.js +18 -0
  429. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts +51 -0
  430. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/object/object.js +22 -0
  431. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts +3 -0
  432. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/index.js +20 -0
  433. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts +12 -0
  434. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.js +26 -0
  435. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts +12 -0
  436. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.js +23 -0
  437. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts +36 -0
  438. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.js +75 -0
  439. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts +2 -0
  440. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/index.js +19 -0
  441. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts +10 -0
  442. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.js +22 -0
  443. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts +20 -0
  444. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.js +26 -0
  445. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts +1 -0
  446. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.js +18 -0
  447. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts +7 -0
  448. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.js +44 -0
  449. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts +2 -0
  450. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/index.js +19 -0
  451. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts +12 -0
  452. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.js +23 -0
  453. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts +35 -0
  454. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.js +111 -0
  455. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts +1 -0
  456. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.js +18 -0
  457. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts +8 -0
  458. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.js +12 -0
  459. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts +3 -0
  460. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/index.js +20 -0
  461. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts +12 -0
  462. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.js +28 -0
  463. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts +12 -0
  464. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.js +23 -0
  465. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts +36 -0
  466. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.js +70 -0
  467. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts +1 -0
  468. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/promise/index.js +18 -0
  469. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts +11 -0
  470. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.js +10 -0
  471. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts +2 -0
  472. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.js +19 -0
  473. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts +10 -0
  474. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.js +22 -0
  475. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts +20 -0
  476. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.js +26 -0
  477. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts +1 -0
  478. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.js +18 -0
  479. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts +6 -0
  480. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.js +10 -0
  481. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts +1 -0
  482. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/record/index.js +18 -0
  483. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts +71 -0
  484. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/record/record.js +123 -0
  485. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts +1 -0
  486. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.js +18 -0
  487. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts +16 -0
  488. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.js +19 -0
  489. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts +1 -0
  490. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/ref/index.js +18 -0
  491. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts +41 -0
  492. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.js +14 -0
  493. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts +1 -0
  494. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.js +18 -0
  495. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts +20 -0
  496. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.js +12 -0
  497. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts +13 -0
  498. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/format.js +35 -0
  499. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts +2 -0
  500. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/index.js +39 -0
  501. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts +13 -0
  502. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/registry/type.js +35 -0
  503. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts +2 -0
  504. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/index.js +19 -0
  505. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts +12 -0
  506. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.js +22 -0
  507. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts +35 -0
  508. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/required/required.js +110 -0
  509. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts +1 -0
  510. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/rest/index.js +18 -0
  511. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts +10 -0
  512. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.js +19 -0
  513. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts +1 -0
  514. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.js +18 -0
  515. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts +6 -0
  516. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.js +44 -0
  517. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts +33 -0
  518. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.js +3 -0
  519. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts +2 -0
  520. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/index.js +19 -0
  521. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts +29 -0
  522. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.js +4 -0
  523. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts +1 -0
  524. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/sets/index.js +18 -0
  525. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts +28 -0
  526. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/sets/set.js +59 -0
  527. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts +1 -0
  528. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/static/index.js +18 -0
  529. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts +39 -0
  530. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/static/static.js +3 -0
  531. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts +1 -0
  532. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/string/index.js +18 -0
  533. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts +25 -0
  534. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/string/string.js +10 -0
  535. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts +1 -0
  536. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.js +18 -0
  537. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts +10 -0
  538. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.js +10 -0
  539. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts +1 -0
  540. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.js +18 -0
  541. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts +10 -0
  542. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.js +14 -0
  543. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts +19 -0
  544. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.js +56 -0
  545. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts +21 -0
  546. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.js +60 -0
  547. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts +7 -0
  548. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.js +24 -0
  549. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts +20 -0
  550. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.js +174 -0
  551. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts +5 -0
  552. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.js +39 -0
  553. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts +20 -0
  554. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.js +59 -0
  555. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts +30 -0
  556. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.js +17 -0
  557. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts +9 -0
  558. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.js +13 -0
  559. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts +1 -0
  560. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/transform/index.js +18 -0
  561. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts +30 -0
  562. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.js +47 -0
  563. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts +1 -0
  564. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.js +18 -0
  565. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts +16 -0
  566. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.js +13 -0
  567. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts +6 -0
  568. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/index.js +51 -0
  569. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts +64 -0
  570. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.js +104 -0
  571. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts +208 -0
  572. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/json.js +226 -0
  573. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/type.d.ts +59 -0
  574. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/type/type.js +129 -0
  575. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts +1 -0
  576. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.js +18 -0
  577. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts +13 -0
  578. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.js +10 -0
  579. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts +1 -0
  580. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.js +18 -0
  581. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts +9 -0
  582. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.js +10 -0
  583. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts +3 -0
  584. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/index.js +20 -0
  585. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.d.ts +3 -0
  586. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.js +9 -0
  587. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts +13 -0
  588. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.js +40 -0
  589. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts +12 -0
  590. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.js +4 -0
  591. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts +6 -0
  592. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/union/union.js +14 -0
  593. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts +1 -0
  594. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.js +18 -0
  595. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts +8 -0
  596. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.js +10 -0
  597. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts +1 -0
  598. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.js +18 -0
  599. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts +11 -0
  600. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.js +10 -0
  601. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts +1 -0
  602. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/void/index.js +18 -0
  603. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts +9 -0
  604. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/type/void/void.js +10 -0
  605. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.d.ts +15 -0
  606. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.js +55 -0
  607. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/assert/index.d.ts +1 -0
  608. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/assert/index.js +18 -0
  609. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.d.ts +11 -0
  610. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.js +241 -0
  611. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/cast/index.d.ts +1 -0
  612. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/cast/index.js +18 -0
  613. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/check/check.d.ts +11 -0
  614. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/check/check.js +476 -0
  615. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/check/index.d.ts +1 -0
  616. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/check/index.js +18 -0
  617. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.d.ts +5 -0
  618. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.js +149 -0
  619. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clean/index.d.ts +1 -0
  620. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clean/index.js +18 -0
  621. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.d.ts +2 -0
  622. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.js +60 -0
  623. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clone/index.d.ts +1 -0
  624. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/clone/index.js +18 -0
  625. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.d.ts +5 -0
  626. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.js +264 -0
  627. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/convert/index.d.ts +1 -0
  628. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/convert/index.js +18 -0
  629. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/create/create.d.ts +11 -0
  630. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/create/create.js +474 -0
  631. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/create/index.d.ts +1 -0
  632. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/create/index.js +18 -0
  633. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.d.ts +6 -0
  634. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.js +14 -0
  635. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/decode/index.d.ts +1 -0
  636. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/decode/index.js +18 -0
  637. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/default/default.d.ts +5 -0
  638. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/default/default.js +176 -0
  639. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/default/index.d.ts +1 -0
  640. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/default/index.js +18 -0
  641. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.d.ts +32 -0
  642. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.js +178 -0
  643. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/delta/index.d.ts +1 -0
  644. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/delta/index.js +18 -0
  645. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.d.ts +12 -0
  646. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.js +36 -0
  647. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/deref/index.d.ts +1 -0
  648. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/deref/index.js +18 -0
  649. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.d.ts +6 -0
  650. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.js +15 -0
  651. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/encode/index.d.ts +1 -0
  652. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/encode/index.js +18 -0
  653. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.d.ts +2 -0
  654. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.js +50 -0
  655. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/equal/index.d.ts +1 -0
  656. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/equal/index.js +18 -0
  657. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.d.ts +74 -0
  658. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.js +195 -0
  659. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/guard/index.d.ts +1 -0
  660. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/guard/index.js +18 -0
  661. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.d.ts +7 -0
  662. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.js +152 -0
  663. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/hash/index.d.ts +1 -0
  664. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/hash/index.js +18 -0
  665. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/index.d.ts +20 -0
  666. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/index.js +53 -0
  667. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.d.ts +1 -0
  668. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.js +18 -0
  669. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.d.ts +9 -0
  670. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.js +104 -0
  671. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/parse/index.d.ts +1 -0
  672. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/parse/index.js +18 -0
  673. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.d.ts +22 -0
  674. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.js +87 -0
  675. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.d.ts +1 -0
  676. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.js +38 -0
  677. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.d.ts +22 -0
  678. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.js +126 -0
  679. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.d.ts +22 -0
  680. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.js +214 -0
  681. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.d.ts +23 -0
  682. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.js +225 -0
  683. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/has.d.ts +3 -0
  684. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/has.js +133 -0
  685. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/index.d.ts +3 -0
  686. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/transform/index.js +20 -0
  687. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/value/index.d.ts +1 -0
  688. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/value/index.js +38 -0
  689. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/value/value.d.ts +16 -0
  690. package/extensions/lsp/node_modules/@sinclair/typebox/build/cjs/value/value/value.js +39 -0
  691. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/compiler/compiler.d.mts +55 -0
  692. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/compiler/compiler.mjs +663 -0
  693. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/compiler/index.d.mts +2 -0
  694. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/compiler/index.mjs +2 -0
  695. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/errors.d.mts +91 -0
  696. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/errors.mjs +592 -0
  697. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/function.d.mts +21 -0
  698. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/function.mjs +147 -0
  699. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/index.d.mts +2 -0
  700. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/errors/index.mjs +2 -0
  701. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/index.d.mts +71 -0
  702. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/index.mjs +80 -0
  703. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/index.d.mts +2 -0
  704. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/index.mjs +2 -0
  705. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.d.mts +23 -0
  706. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.mjs +72 -0
  707. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.d.mts +5 -0
  708. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.mjs +5 -0
  709. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.d.mts +9 -0
  710. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.mjs +17 -0
  711. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.d.mts +9 -0
  712. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.mjs +123 -0
  713. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.d.mts +8 -0
  714. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.mjs +223 -0
  715. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.d.mts +98 -0
  716. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.mjs +55 -0
  717. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/index.d.mts +3 -0
  718. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/index.mjs +3 -0
  719. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/parse.d.mts +20 -0
  720. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/parse.mjs +1 -0
  721. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/token.d.mts +108 -0
  722. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/token.mjs +1 -0
  723. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/types.d.mts +69 -0
  724. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/parser/static/types.mjs +1 -0
  725. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/index.d.mts +1 -0
  726. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/index.mjs +1 -0
  727. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/mapping.d.mts +167 -0
  728. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/mapping.mjs +386 -0
  729. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/parser.d.mts +162 -0
  730. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/parser.mjs +78 -0
  731. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/syntax.d.mts +12 -0
  732. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/syntax/syntax.mjs +16 -0
  733. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/index.d.mts +2 -0
  734. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/index.mjs +2 -0
  735. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/policy.d.mts +29 -0
  736. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +54 -0
  737. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/system.d.mts +16 -0
  738. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/system/system.mjs +37 -0
  739. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/any/any.d.mts +8 -0
  740. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +6 -0
  741. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/any/index.d.mts +1 -0
  742. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +1 -0
  743. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/argument/argument.d.mts +9 -0
  744. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +6 -0
  745. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/argument/index.d.mts +1 -0
  746. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +1 -0
  747. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/array/array.d.mts +28 -0
  748. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +6 -0
  749. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/array/index.d.mts +1 -0
  750. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +1 -0
  751. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.d.mts +11 -0
  752. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +6 -0
  753. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.d.mts +1 -0
  754. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +1 -0
  755. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.d.mts +14 -0
  756. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +37 -0
  757. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/awaited/index.d.mts +1 -0
  758. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +1 -0
  759. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.d.mts +16 -0
  760. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +6 -0
  761. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/bigint/index.d.mts +1 -0
  762. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +1 -0
  763. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.d.mts +9 -0
  764. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +6 -0
  765. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/boolean/index.d.mts +1 -0
  766. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +1 -0
  767. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/index.d.mts +2 -0
  768. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +2 -0
  769. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/type.d.mts +5 -0
  770. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +9 -0
  771. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/value.d.mts +2 -0
  772. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +36 -0
  773. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/composite/composite.d.mts +18 -0
  774. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +42 -0
  775. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/composite/index.d.mts +1 -0
  776. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +1 -0
  777. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/computed/computed.d.mts +9 -0
  778. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +6 -0
  779. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/computed/index.d.mts +1 -0
  780. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +1 -0
  781. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/const/const.d.mts +27 -0
  782. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +54 -0
  783. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/const/index.d.mts +1 -0
  784. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +1 -0
  785. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.d.mts +23 -0
  786. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +6 -0
  787. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor/index.d.mts +1 -0
  788. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +1 -0
  789. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.d.mts +7 -0
  790. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +7 -0
  791. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.d.mts +1 -0
  792. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +1 -0
  793. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/immutable.d.mts +2 -0
  794. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +33 -0
  795. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/index.d.mts +1 -0
  796. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +1 -0
  797. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/type.d.mts +3 -0
  798. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +15 -0
  799. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/date/date.d.mts +21 -0
  800. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +6 -0
  801. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/date/index.d.mts +1 -0
  802. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +1 -0
  803. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/discard/discard.d.mts +2 -0
  804. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +8 -0
  805. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/discard/index.d.mts +1 -0
  806. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +1 -0
  807. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/enum/enum.d.mts +14 -0
  808. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +18 -0
  809. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/enum/index.d.mts +1 -0
  810. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +1 -0
  811. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/error/error.d.mts +4 -0
  812. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +6 -0
  813. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/error/index.d.mts +1 -0
  814. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +1 -0
  815. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.d.mts +11 -0
  816. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +18 -0
  817. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.d.mts +5 -0
  818. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +5 -0
  819. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.d.mts +21 -0
  820. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +25 -0
  821. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/index.d.mts +3 -0
  822. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +3 -0
  823. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.d.mts +10 -0
  824. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +635 -0
  825. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.d.mts +14 -0
  826. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +25 -0
  827. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.d.mts +11 -0
  828. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +19 -0
  829. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.d.mts +3 -0
  830. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +20 -0
  831. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends.d.mts +16 -0
  832. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +23 -0
  833. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/index.d.mts +5 -0
  834. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +5 -0
  835. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.d.mts +11 -0
  836. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +18 -0
  837. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.d.mts +5 -0
  838. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +5 -0
  839. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract.d.mts +21 -0
  840. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +25 -0
  841. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/index.d.mts +3 -0
  842. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +3 -0
  843. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/function/function.d.mts +23 -0
  844. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +6 -0
  845. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/function/index.d.mts +1 -0
  846. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +1 -0
  847. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/index.d.mts +3 -0
  848. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +3 -0
  849. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/kind.d.mts +147 -0
  850. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +235 -0
  851. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/type.d.mts +152 -0
  852. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +509 -0
  853. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/value.d.mts +34 -0
  854. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +70 -0
  855. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.d.mts +42 -0
  856. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +4 -0
  857. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/helpers/index.d.mts +1 -0
  858. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +1 -0
  859. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/index.d.mts +71 -0
  860. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/index.mjs +71 -0
  861. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/index.d.mts +4 -0
  862. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +4 -0
  863. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.d.mts +13 -0
  864. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +22 -0
  865. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.d.mts +12 -0
  866. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +20 -0
  867. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.d.mts +14 -0
  868. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +32 -0
  869. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.d.mts +52 -0
  870. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +91 -0
  871. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.d.mts +1 -0
  872. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +1 -0
  873. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.d.mts +6 -0
  874. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +7 -0
  875. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.d.mts +1 -0
  876. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +1 -0
  877. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.d.mts +50 -0
  878. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +115 -0
  879. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/integer/index.d.mts +1 -0
  880. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +1 -0
  881. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/integer/integer.d.mts +16 -0
  882. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +6 -0
  883. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/index.d.mts +3 -0
  884. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +3 -0
  885. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.d.mts +3 -0
  886. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +19 -0
  887. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.d.mts +13 -0
  888. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +38 -0
  889. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.d.mts +15 -0
  890. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +1 -0
  891. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.d.mts +6 -0
  892. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +17 -0
  893. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.d.mts +5 -0
  894. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +5 -0
  895. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.d.mts +6 -0
  896. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +6 -0
  897. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.d.mts +14 -0
  898. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +26 -0
  899. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.d.mts +16 -0
  900. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +64 -0
  901. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.d.mts +5 -0
  902. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +5 -0
  903. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.d.mts +5 -0
  904. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +5 -0
  905. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.d.mts +5 -0
  906. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +5 -0
  907. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/iterator/index.d.mts +1 -0
  908. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +1 -0
  909. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.d.mts +11 -0
  910. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +6 -0
  911. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/index.d.mts +4 -0
  912. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +4 -0
  913. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.d.mts +12 -0
  914. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +19 -0
  915. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.d.mts +7 -0
  916. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +12 -0
  917. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.d.mts +24 -0
  918. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +73 -0
  919. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.d.mts +21 -0
  920. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +35 -0
  921. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/literal/index.d.mts +1 -0
  922. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +1 -0
  923. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/literal/literal.d.mts +10 -0
  924. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +10 -0
  925. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/index.d.mts +3 -0
  926. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +3 -0
  927. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.d.mts +8 -0
  928. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +9 -0
  929. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.d.mts +9 -0
  930. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +9 -0
  931. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.d.mts +47 -0
  932. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +102 -0
  933. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/compute.d.mts +59 -0
  934. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +166 -0
  935. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/index.d.mts +1 -0
  936. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +1 -0
  937. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/infer.d.mts +49 -0
  938. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/infer.mjs +1 -0
  939. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/module.d.mts +27 -0
  940. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +32 -0
  941. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/never/index.d.mts +1 -0
  942. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +1 -0
  943. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/never/never.d.mts +9 -0
  944. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +6 -0
  945. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/not/index.d.mts +1 -0
  946. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +1 -0
  947. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/not/not.d.mts +10 -0
  948. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +6 -0
  949. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/null/index.d.mts +1 -0
  950. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +1 -0
  951. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/null/null.d.mts +9 -0
  952. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +6 -0
  953. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/number/index.d.mts +1 -0
  954. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +1 -0
  955. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/number/number.d.mts +16 -0
  956. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +6 -0
  957. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/object/index.d.mts +1 -0
  958. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +1 -0
  959. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/object/object.d.mts +51 -0
  960. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +18 -0
  961. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/index.d.mts +3 -0
  962. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +3 -0
  963. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.d.mts +12 -0
  964. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +22 -0
  965. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.d.mts +12 -0
  966. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +19 -0
  967. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit.d.mts +36 -0
  968. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +71 -0
  969. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/index.d.mts +2 -0
  970. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +2 -0
  971. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.d.mts +10 -0
  972. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +18 -0
  973. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/optional.d.mts +20 -0
  974. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +22 -0
  975. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/parameters/index.d.mts +1 -0
  976. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +1 -0
  977. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.d.mts +7 -0
  978. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +7 -0
  979. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/index.d.mts +2 -0
  980. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +2 -0
  981. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.d.mts +12 -0
  982. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +19 -0
  983. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/partial.d.mts +35 -0
  984. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +74 -0
  985. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/patterns/index.d.mts +1 -0
  986. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +1 -0
  987. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.d.mts +8 -0
  988. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +8 -0
  989. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/index.d.mts +3 -0
  990. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +3 -0
  991. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.d.mts +12 -0
  992. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +24 -0
  993. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.d.mts +12 -0
  994. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +19 -0
  995. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick.d.mts +36 -0
  996. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +66 -0
  997. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/promise/index.d.mts +1 -0
  998. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +1 -0
  999. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/promise/promise.d.mts +11 -0
  1000. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +6 -0
  1001. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/index.d.mts +2 -0
  1002. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +2 -0
  1003. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.d.mts +10 -0
  1004. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +18 -0
  1005. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.d.mts +20 -0
  1006. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +22 -0
  1007. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.d.mts +1 -0
  1008. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +1 -0
  1009. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.d.mts +6 -0
  1010. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +6 -0
  1011. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/record/index.d.mts +1 -0
  1012. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +1 -0
  1013. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/record/record.d.mts +71 -0
  1014. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +116 -0
  1015. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/recursive/index.d.mts +1 -0
  1016. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +1 -0
  1017. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.d.mts +16 -0
  1018. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +15 -0
  1019. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/ref/index.d.mts +1 -0
  1020. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +1 -0
  1021. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/ref/ref.d.mts +41 -0
  1022. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +10 -0
  1023. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/regexp/index.d.mts +1 -0
  1024. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +1 -0
  1025. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.d.mts +20 -0
  1026. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +8 -0
  1027. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/format.d.mts +13 -0
  1028. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +26 -0
  1029. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/index.d.mts +2 -0
  1030. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +2 -0
  1031. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/type.d.mts +13 -0
  1032. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +26 -0
  1033. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/index.d.mts +2 -0
  1034. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +2 -0
  1035. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.d.mts +12 -0
  1036. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +18 -0
  1037. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/required.d.mts +35 -0
  1038. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +73 -0
  1039. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/rest/index.d.mts +1 -0
  1040. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +1 -0
  1041. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/rest/rest.d.mts +10 -0
  1042. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +15 -0
  1043. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/return-type/index.d.mts +1 -0
  1044. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +1 -0
  1045. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.d.mts +6 -0
  1046. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +7 -0
  1047. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.d.mts +33 -0
  1048. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +1 -0
  1049. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/index.d.mts +2 -0
  1050. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +2 -0
  1051. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/schema.d.mts +29 -0
  1052. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +1 -0
  1053. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/sets/index.d.mts +1 -0
  1054. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +1 -0
  1055. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/sets/set.d.mts +28 -0
  1056. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +48 -0
  1057. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/static/index.d.mts +1 -0
  1058. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +1 -0
  1059. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/static/static.d.mts +39 -0
  1060. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +1 -0
  1061. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/string/index.d.mts +1 -0
  1062. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +1 -0
  1063. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/string/string.d.mts +25 -0
  1064. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +6 -0
  1065. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbol/index.d.mts +1 -0
  1066. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +1 -0
  1067. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.d.mts +10 -0
  1068. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +6 -0
  1069. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbols/index.d.mts +1 -0
  1070. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +1 -0
  1071. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.d.mts +10 -0
  1072. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +10 -0
  1073. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.d.mts +19 -0
  1074. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +49 -0
  1075. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.d.mts +21 -0
  1076. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +53 -0
  1077. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.d.mts +7 -0
  1078. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +7 -0
  1079. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.d.mts +20 -0
  1080. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +167 -0
  1081. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.d.mts +5 -0
  1082. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +33 -0
  1083. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.d.mts +20 -0
  1084. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +55 -0
  1085. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.d.mts +30 -0
  1086. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +13 -0
  1087. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.d.mts +9 -0
  1088. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +9 -0
  1089. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/transform/index.d.mts +1 -0
  1090. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +1 -0
  1091. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/transform/transform.d.mts +30 -0
  1092. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +40 -0
  1093. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/tuple/index.d.mts +1 -0
  1094. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +1 -0
  1095. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.d.mts +16 -0
  1096. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +9 -0
  1097. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/index.d.mts +6 -0
  1098. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +13 -0
  1099. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/javascript.d.mts +64 -0
  1100. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +99 -0
  1101. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/json.d.mts +208 -0
  1102. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +221 -0
  1103. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/type.d.mts +59 -0
  1104. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +62 -0
  1105. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.d.mts +1 -0
  1106. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +1 -0
  1107. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.d.mts +13 -0
  1108. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +6 -0
  1109. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/undefined/index.d.mts +1 -0
  1110. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +1 -0
  1111. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.d.mts +9 -0
  1112. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +6 -0
  1113. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/index.d.mts +3 -0
  1114. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +3 -0
  1115. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-create.d.mts +3 -0
  1116. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +5 -0
  1117. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.d.mts +13 -0
  1118. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +36 -0
  1119. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-type.d.mts +12 -0
  1120. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +1 -0
  1121. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union.d.mts +6 -0
  1122. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +10 -0
  1123. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unknown/index.d.mts +1 -0
  1124. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +1 -0
  1125. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.d.mts +8 -0
  1126. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +6 -0
  1127. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.d.mts +1 -0
  1128. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +1 -0
  1129. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.d.mts +11 -0
  1130. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +6 -0
  1131. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/void/index.d.mts +1 -0
  1132. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +1 -0
  1133. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/void/void.d.mts +9 -0
  1134. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +6 -0
  1135. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/assert/assert.d.mts +15 -0
  1136. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/assert/assert.mjs +49 -0
  1137. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/assert/index.d.mts +1 -0
  1138. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/assert/index.mjs +1 -0
  1139. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/cast/cast.d.mts +11 -0
  1140. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/cast/cast.mjs +235 -0
  1141. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/cast/index.d.mts +1 -0
  1142. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/cast/index.mjs +1 -0
  1143. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/check/check.d.mts +11 -0
  1144. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/check/check.mjs +470 -0
  1145. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/check/index.d.mts +1 -0
  1146. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/check/index.mjs +1 -0
  1147. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clean/clean.d.mts +5 -0
  1148. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clean/clean.mjs +145 -0
  1149. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clean/index.d.mts +1 -0
  1150. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clean/index.mjs +1 -0
  1151. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clone/clone.d.mts +2 -0
  1152. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clone/clone.mjs +56 -0
  1153. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clone/index.d.mts +1 -0
  1154. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/clone/index.mjs +1 -0
  1155. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/convert/convert.d.mts +5 -0
  1156. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/convert/convert.mjs +260 -0
  1157. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/convert/index.d.mts +1 -0
  1158. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/convert/index.mjs +1 -0
  1159. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/create/create.d.mts +11 -0
  1160. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/create/create.mjs +468 -0
  1161. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/create/index.d.mts +1 -0
  1162. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/create/index.mjs +1 -0
  1163. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/decode/decode.d.mts +6 -0
  1164. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/decode/decode.mjs +10 -0
  1165. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/decode/index.d.mts +1 -0
  1166. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/decode/index.mjs +1 -0
  1167. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/default/default.d.mts +5 -0
  1168. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/default/default.mjs +172 -0
  1169. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/default/index.d.mts +1 -0
  1170. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/default/index.mjs +1 -0
  1171. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/delta/delta.d.mts +32 -0
  1172. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/delta/delta.mjs +171 -0
  1173. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/delta/index.d.mts +1 -0
  1174. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/delta/index.mjs +1 -0
  1175. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/deref/deref.d.mts +12 -0
  1176. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/deref/deref.mjs +29 -0
  1177. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/deref/index.d.mts +1 -0
  1178. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/deref/index.mjs +1 -0
  1179. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/encode/encode.d.mts +6 -0
  1180. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/encode/encode.mjs +11 -0
  1181. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/encode/index.d.mts +1 -0
  1182. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/encode/index.mjs +1 -0
  1183. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/equal/equal.d.mts +2 -0
  1184. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/equal/equal.mjs +46 -0
  1185. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/equal/index.d.mts +1 -0
  1186. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/equal/index.mjs +1 -0
  1187. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/guard/guard.d.mts +74 -0
  1188. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +158 -0
  1189. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/guard/index.d.mts +1 -0
  1190. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +1 -0
  1191. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/hash/hash.d.mts +7 -0
  1192. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/hash/hash.mjs +146 -0
  1193. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/hash/index.d.mts +1 -0
  1194. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/hash/index.mjs +1 -0
  1195. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/index.d.mts +20 -0
  1196. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/index.mjs +32 -0
  1197. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/mutate/index.d.mts +1 -0
  1198. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/mutate/index.mjs +1 -0
  1199. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.d.mts +9 -0
  1200. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.mjs +98 -0
  1201. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/parse/index.d.mts +1 -0
  1202. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/parse/index.mjs +1 -0
  1203. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/parse/parse.d.mts +22 -0
  1204. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/parse/parse.mjs +81 -0
  1205. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/pointer/index.d.mts +1 -0
  1206. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/pointer/index.mjs +1 -0
  1207. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.d.mts +22 -0
  1208. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.mjs +115 -0
  1209. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/decode.d.mts +22 -0
  1210. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/decode.mjs +207 -0
  1211. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/encode.d.mts +23 -0
  1212. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/encode.mjs +218 -0
  1213. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/has.d.mts +3 -0
  1214. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/has.mjs +129 -0
  1215. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/index.d.mts +3 -0
  1216. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/transform/index.mjs +3 -0
  1217. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/value/index.d.mts +1 -0
  1218. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/value/index.mjs +1 -0
  1219. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/value/value.d.mts +16 -0
  1220. package/extensions/lsp/node_modules/@sinclair/typebox/build/esm/value/value/value.mjs +16 -0
  1221. package/extensions/lsp/node_modules/@sinclair/typebox/compiler/package.json +4 -0
  1222. package/extensions/lsp/node_modules/@sinclair/typebox/errors/package.json +4 -0
  1223. package/extensions/lsp/node_modules/@sinclair/typebox/license +25 -0
  1224. package/extensions/lsp/node_modules/@sinclair/typebox/package.json +116 -0
  1225. package/extensions/lsp/node_modules/@sinclair/typebox/parser/package.json +4 -0
  1226. package/extensions/lsp/node_modules/@sinclair/typebox/readme.md +1865 -0
  1227. package/extensions/lsp/node_modules/@sinclair/typebox/syntax/package.json +4 -0
  1228. package/extensions/lsp/node_modules/@sinclair/typebox/system/package.json +4 -0
  1229. package/extensions/lsp/node_modules/@sinclair/typebox/type/package.json +4 -0
  1230. package/extensions/lsp/node_modules/@sinclair/typebox/value/package.json +4 -0
  1231. package/extensions/lsp/node_modules/vscode-jsonrpc/License.txt +11 -0
  1232. package/extensions/lsp/node_modules/vscode-jsonrpc/README.md +69 -0
  1233. package/extensions/lsp/node_modules/vscode-jsonrpc/browser.d.ts +6 -0
  1234. package/extensions/lsp/node_modules/vscode-jsonrpc/browser.js +7 -0
  1235. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  1236. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/browser/main.js +76 -0
  1237. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +12 -0
  1238. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/browser/ril.js +156 -0
  1239. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  1240. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/api.js +81 -0
  1241. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  1242. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/cancellation.js +96 -0
  1243. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +358 -0
  1244. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/connection.js +1214 -0
  1245. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  1246. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/disposable.js +16 -0
  1247. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  1248. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/encoding.js +70 -0
  1249. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  1250. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/events.js +128 -0
  1251. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  1252. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/is.js +35 -0
  1253. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +53 -0
  1254. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +398 -0
  1255. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  1256. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +152 -0
  1257. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  1258. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageReader.js +197 -0
  1259. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  1260. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +115 -0
  1261. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  1262. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/messages.js +306 -0
  1263. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  1264. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/ral.js +23 -0
  1265. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  1266. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/semaphore.js +68 -0
  1267. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  1268. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +76 -0
  1269. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/node/main.d.ts +63 -0
  1270. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/node/main.js +257 -0
  1271. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +13 -0
  1272. package/extensions/lsp/node_modules/vscode-jsonrpc/lib/node/ril.js +161 -0
  1273. package/extensions/lsp/node_modules/vscode-jsonrpc/node.cmd +5 -0
  1274. package/extensions/lsp/node_modules/vscode-jsonrpc/node.d.ts +6 -0
  1275. package/extensions/lsp/node_modules/vscode-jsonrpc/node.js +7 -0
  1276. package/extensions/lsp/node_modules/vscode-jsonrpc/package.json +45 -0
  1277. package/extensions/lsp/node_modules/vscode-jsonrpc/thirdpartynotices.txt +16 -0
  1278. package/extensions/lsp/node_modules/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  1279. package/extensions/lsp/node_modules/vscode-languageserver-protocol/License.txt +11 -0
  1280. package/extensions/lsp/node_modules/vscode-languageserver-protocol/README.md +16 -0
  1281. package/extensions/lsp/node_modules/vscode-languageserver-protocol/browser.d.ts +6 -0
  1282. package/extensions/lsp/node_modules/vscode-languageserver-protocol/browser.js +7 -0
  1283. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/browser/main.d.ts +4 -0
  1284. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
  1285. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/api.d.ts +58 -0
  1286. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/api.js +77 -0
  1287. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/connection.d.ts +187 -0
  1288. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/connection.js +15 -0
  1289. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/messages.d.ts +51 -0
  1290. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/messages.js +44 -0
  1291. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.$.d.ts +1 -0
  1292. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.$.js +43 -0
  1293. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.d.ts +86 -0
  1294. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +42 -0
  1295. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.d.ts +66 -0
  1296. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +32 -0
  1297. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.d.ts +35 -0
  1298. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +24 -0
  1299. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.d.ts +3252 -0
  1300. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.d.ts +37 -0
  1301. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +22 -0
  1302. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.d.ts +341 -0
  1303. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +74 -0
  1304. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.d.ts +306 -0
  1305. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +101 -0
  1306. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.d.ts +109 -0
  1307. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +30 -0
  1308. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.d.ts +38 -0
  1309. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +21 -0
  1310. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.d.ts +110 -0
  1311. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +43 -0
  1312. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.d.ts +57 -0
  1313. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +22 -0
  1314. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.d.ts +86 -0
  1315. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +30 -0
  1316. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +943 -0
  1317. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.d.ts +52 -0
  1318. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +19 -0
  1319. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.d.ts +106 -0
  1320. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +68 -0
  1321. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.d.ts +400 -0
  1322. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +214 -0
  1323. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.d.ts +107 -0
  1324. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +37 -0
  1325. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.d.ts +41 -0
  1326. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +20 -0
  1327. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.d.ts +223 -0
  1328. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +57 -0
  1329. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.d.ts +72 -0
  1330. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +22 -0
  1331. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.d.ts +38 -0
  1332. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +21 -0
  1333. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.d.ts +83 -0
  1334. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +42 -0
  1335. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.d.ts +74 -0
  1336. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +27 -0
  1337. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/utils/is.d.ts +9 -0
  1338. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +46 -0
  1339. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/node/main.d.ts +6 -0
  1340. package/extensions/lsp/node_modules/vscode-languageserver-protocol/lib/node/main.js +28 -0
  1341. package/extensions/lsp/node_modules/vscode-languageserver-protocol/metaModel.schema.json +783 -0
  1342. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node.cmd +5 -0
  1343. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node.d.ts +6 -0
  1344. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node.js +7 -0
  1345. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/License.txt +11 -0
  1346. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/README.md +69 -0
  1347. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.d.ts +6 -0
  1348. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/browser.js +7 -0
  1349. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  1350. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/main.js +76 -0
  1351. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +12 -0
  1352. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/browser/ril.js +156 -0
  1353. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  1354. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/api.js +81 -0
  1355. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  1356. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/cancellation.js +96 -0
  1357. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +358 -0
  1358. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/connection.js +1212 -0
  1359. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  1360. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/disposable.js +16 -0
  1361. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  1362. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/encoding.js +70 -0
  1363. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  1364. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/events.js +128 -0
  1365. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  1366. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/is.js +35 -0
  1367. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +53 -0
  1368. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +398 -0
  1369. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  1370. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +152 -0
  1371. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  1372. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageReader.js +197 -0
  1373. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  1374. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +115 -0
  1375. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  1376. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/messages.js +306 -0
  1377. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  1378. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/ral.js +23 -0
  1379. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  1380. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/semaphore.js +68 -0
  1381. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  1382. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +76 -0
  1383. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/node/main.d.ts +63 -0
  1384. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/node/main.js +257 -0
  1385. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +13 -0
  1386. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/lib/node/ril.js +161 -0
  1387. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/node.cmd +5 -0
  1388. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/node.d.ts +6 -0
  1389. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/node.js +7 -0
  1390. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/package.json +45 -0
  1391. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/thirdpartynotices.txt +16 -0
  1392. package/extensions/lsp/node_modules/vscode-languageserver-protocol/node_modules/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  1393. package/extensions/lsp/node_modules/vscode-languageserver-protocol/package.json +45 -0
  1394. package/extensions/lsp/node_modules/vscode-languageserver-protocol/thirdpartynotices.txt +31 -0
  1395. package/extensions/lsp/node_modules/vscode-languageserver-types/License.txt +11 -0
  1396. package/extensions/lsp/node_modules/vscode-languageserver-types/README.md +17 -0
  1397. package/extensions/lsp/node_modules/vscode-languageserver-types/lib/esm/main.d.ts +3139 -0
  1398. package/extensions/lsp/node_modules/vscode-languageserver-types/lib/esm/main.js +2222 -0
  1399. package/extensions/lsp/node_modules/vscode-languageserver-types/lib/esm/package.json +3 -0
  1400. package/extensions/lsp/node_modules/vscode-languageserver-types/lib/umd/main.d.ts +3139 -0
  1401. package/extensions/lsp/node_modules/vscode-languageserver-types/lib/umd/main.js +2272 -0
  1402. package/extensions/lsp/node_modules/vscode-languageserver-types/package.json +38 -0
  1403. package/extensions/lsp/node_modules/vscode-languageserver-types/thirdpartynotices.txt +16 -0
  1404. package/extensions/lsp/package.json +10 -0
  1405. package/extensions/lsp/types.d.ts +27 -0
  1406. package/extensions/mcp-adapter-tool/__tests__/config.test.ts +102 -0
  1407. package/extensions/mcp-adapter-tool/__tests__/map-content.test.ts +158 -0
  1408. package/extensions/mcp-adapter-tool/__tests__/reconnect.test.ts +123 -0
  1409. package/extensions/mcp-adapter-tool/__tests__/transport.test.ts +201 -0
  1410. package/extensions/mcp-adapter-tool/extension.json +10 -0
  1411. package/extensions/mcp-adapter-tool/index.ts +1482 -0
  1412. package/extensions/minimal-skill-display/extension.json +10 -0
  1413. package/extensions/minimal-skill-display/index.ts +127 -0
  1414. package/extensions/output-styles-tool/__tests__/utils.test.ts +304 -0
  1415. package/extensions/output-styles-tool/extension.json +10 -0
  1416. package/extensions/output-styles-tool/index.ts +286 -0
  1417. package/extensions/output-styles-tool/utils.ts +143 -0
  1418. package/extensions/permissions/extension.json +26 -0
  1419. package/extensions/permissions/index.ts +398 -0
  1420. package/extensions/plan-mode-tool/__tests__/e2e.mjs +258 -0
  1421. package/extensions/plan-mode-tool/__tests__/utils.test.ts +238 -0
  1422. package/extensions/plan-mode-tool/extension.json +10 -0
  1423. package/extensions/plan-mode-tool/index.ts +577 -0
  1424. package/extensions/plan-mode-tool/utils.ts +200 -0
  1425. package/extensions/progress-indicator/extension.json +10 -0
  1426. package/extensions/progress-indicator/index.ts +52 -0
  1427. package/extensions/prompt-suggestions/__tests__/autocomplete.test.ts +506 -0
  1428. package/extensions/prompt-suggestions/__tests__/conversation-context.test.ts +254 -0
  1429. package/extensions/prompt-suggestions/__tests__/templates.test.ts +41 -0
  1430. package/extensions/prompt-suggestions/autocomplete.ts +270 -0
  1431. package/extensions/prompt-suggestions/extension.json +10 -0
  1432. package/extensions/prompt-suggestions/index.ts +333 -0
  1433. package/extensions/prompt-suggestions/templates.ts +48 -0
  1434. package/extensions/random-spinner/extension.json +16 -0
  1435. package/extensions/random-spinner/index.ts +651 -0
  1436. package/extensions/read-tool-enhanced/__tests__/error-paths.test.ts +116 -0
  1437. package/extensions/read-tool-enhanced/__tests__/pdf.test.ts +268 -0
  1438. package/extensions/read-tool-enhanced/__tests__/skill-icon.test.ts +53 -0
  1439. package/extensions/read-tool-enhanced/extension.json +18 -0
  1440. package/extensions/read-tool-enhanced/index.ts +691 -0
  1441. package/extensions/read-tool-enhanced/pdf.ts +354 -0
  1442. package/extensions/rewind/__tests__/snapshots.test.ts +231 -0
  1443. package/extensions/rewind/__tests__/tracker.test.ts +145 -0
  1444. package/extensions/rewind/extension.json +16 -0
  1445. package/extensions/rewind/index.ts +202 -0
  1446. package/extensions/rewind/snapshots.ts +281 -0
  1447. package/extensions/rewind/tracker.ts +148 -0
  1448. package/extensions/rewind/ui.ts +97 -0
  1449. package/extensions/session-memory/ROADMAP.md +68 -0
  1450. package/extensions/session-memory/__tests__/debug-fts.ts +0 -0
  1451. package/extensions/session-memory/__tests__/indexer.test.ts +231 -0
  1452. package/extensions/session-memory/curator-prompt.ts +23 -0
  1453. package/extensions/session-memory/extension.json +9 -0
  1454. package/extensions/session-memory/index.ts +453 -0
  1455. package/extensions/session-memory/indexer.ts +433 -0
  1456. package/extensions/session-memory/sqlite-adapter.ts +167 -0
  1457. package/extensions/session-memory/types.ts +41 -0
  1458. package/extensions/session-namer/__tests__/session-namer.test.ts +100 -0
  1459. package/extensions/session-namer/extension.json +16 -0
  1460. package/extensions/session-namer/index.ts +227 -0
  1461. package/extensions/shell-interpolation/__tests__/interpolation.test.ts +171 -0
  1462. package/extensions/shell-interpolation/extension.json +10 -0
  1463. package/extensions/shell-interpolation/index.ts +117 -0
  1464. package/extensions/show-system-prompt/extension.json +10 -0
  1465. package/extensions/show-system-prompt/index.ts +29 -0
  1466. package/extensions/skill-commands/__tests__/skill-commands.test.ts +68 -0
  1467. package/extensions/skill-commands/extension.json +10 -0
  1468. package/extensions/skill-commands/index.ts +191 -0
  1469. package/extensions/slash-command-bridge/__tests__/slash-command-bridge.test.ts +343 -0
  1470. package/extensions/slash-command-bridge/extension.json +13 -0
  1471. package/extensions/slash-command-bridge/index.ts +271 -0
  1472. package/extensions/stats/__tests__/aggregator.test.ts +281 -0
  1473. package/extensions/stats/__tests__/stats-log.test.ts +142 -0
  1474. package/extensions/stats/aggregator.ts +363 -0
  1475. package/extensions/stats/extension.json +9 -0
  1476. package/extensions/stats/formatters.ts +251 -0
  1477. package/extensions/stats/index.ts +316 -0
  1478. package/extensions/stats/stats-log.ts +129 -0
  1479. package/extensions/subagent-tool/__tests__/auto-cheap-model.test.ts +164 -0
  1480. package/extensions/subagent-tool/__tests__/centipede-mode.test.ts +228 -0
  1481. package/extensions/subagent-tool/__tests__/coerce-array.test.ts +104 -0
  1482. package/extensions/subagent-tool/__tests__/denial-detection.test.ts +210 -0
  1483. package/extensions/subagent-tool/__tests__/discovery-defaults.test.ts +321 -0
  1484. package/extensions/subagent-tool/__tests__/model-matrix.test.ts +86 -0
  1485. package/extensions/subagent-tool/__tests__/model-resolver.test.ts +93 -0
  1486. package/extensions/subagent-tool/__tests__/model-router.test.ts +19 -0
  1487. package/extensions/subagent-tool/__tests__/task-restriction.test.ts +143 -0
  1488. package/extensions/subagent-tool/agents.ts +513 -0
  1489. package/extensions/subagent-tool/extension.json +16 -0
  1490. package/extensions/subagent-tool/formatting.ts +257 -0
  1491. package/extensions/subagent-tool/index.ts +1317 -0
  1492. package/extensions/subagent-tool/model-matrix.ts +8 -0
  1493. package/extensions/subagent-tool/model-resolver.ts +12 -0
  1494. package/extensions/subagent-tool/model-router.ts +310 -0
  1495. package/extensions/subagent-tool/process.ts +826 -0
  1496. package/extensions/subagent-tool/schema.ts +171 -0
  1497. package/extensions/subagent-tool/task-classifier.ts +87 -0
  1498. package/extensions/subagent-tool/widget.ts +223 -0
  1499. package/extensions/tasks/__tests__/parsing.test.ts +246 -0
  1500. package/extensions/tasks/__tests__/state-transitions.test.ts +428 -0
  1501. package/extensions/tasks/__tests__/state-ui.test.ts +123 -0
  1502. package/extensions/tasks/__tests__/store.test.ts +236 -0
  1503. package/extensions/tasks/agents/index.ts +202 -0
  1504. package/extensions/tasks/commands/register-tasks-extension.ts +1971 -0
  1505. package/extensions/tasks/extension.json +24 -0
  1506. package/extensions/tasks/index.ts +57 -0
  1507. package/extensions/tasks/parsing/index.ts +103 -0
  1508. package/extensions/tasks/state/index.ts +423 -0
  1509. package/extensions/tasks/ui/index.ts +85 -0
  1510. package/extensions/teams-tool/__tests__/auto-dispatch.test.ts +229 -0
  1511. package/extensions/teams-tool/__tests__/dashboard.test.ts +118 -0
  1512. package/extensions/teams-tool/__tests__/e2e.mjs +253 -0
  1513. package/extensions/teams-tool/__tests__/events.test.ts +136 -0
  1514. package/extensions/teams-tool/__tests__/interrupt.test.ts +340 -0
  1515. package/extensions/teams-tool/__tests__/peer-messaging.test.ts +256 -0
  1516. package/extensions/teams-tool/__tests__/store-logic.test.ts +347 -0
  1517. package/extensions/teams-tool/__tests__/team-view.test.ts +139 -0
  1518. package/extensions/teams-tool/__tests__/unit.test.ts +695 -0
  1519. package/extensions/teams-tool/dashboard/feed.ts +49 -0
  1520. package/extensions/teams-tool/dashboard/state.ts +376 -0
  1521. package/extensions/teams-tool/dashboard.ts +1443 -0
  1522. package/extensions/teams-tool/dispatch/auto-dispatch.ts +123 -0
  1523. package/extensions/teams-tool/extension.json +22 -0
  1524. package/extensions/teams-tool/index.ts +54 -0
  1525. package/extensions/teams-tool/sessions/spawn.ts +129 -0
  1526. package/extensions/teams-tool/state/team-view.ts +168 -0
  1527. package/extensions/teams-tool/state/types.ts +25 -0
  1528. package/extensions/teams-tool/store.ts +368 -0
  1529. package/extensions/teams-tool/tools/register-extension.ts +952 -0
  1530. package/extensions/teams-tool/tools/teammate-tools.ts +222 -0
  1531. package/extensions/theme-selector/__tests__/tags.test.ts +392 -0
  1532. package/extensions/theme-selector/extension.json +10 -0
  1533. package/extensions/theme-selector/index.ts +647 -0
  1534. package/extensions/tool-display/__tests__/sanitize-tabs.test.ts +91 -0
  1535. package/extensions/tool-display/extension.json +31 -0
  1536. package/extensions/tool-display/index.ts +246 -0
  1537. package/extensions/upstream-check/extension.json +8 -0
  1538. package/extensions/upstream-check/index.ts +107 -0
  1539. package/extensions/web-fetch-tool/extension.json +10 -0
  1540. package/extensions/web-fetch-tool/index.ts +142 -0
  1541. package/extensions/web-search-tool/__tests__/brave-provider.test.ts +256 -0
  1542. package/extensions/web-search-tool/extension.json +21 -0
  1543. package/extensions/web-search-tool/index.ts +240 -0
  1544. package/extensions/web-search-tool/providers/brave.ts +155 -0
  1545. package/extensions/web-search-tool/providers/interface.ts +94 -0
  1546. package/extensions/wezterm-pane-control/__tests__/index.test.ts +271 -0
  1547. package/extensions/wezterm-pane-control/extension.json +10 -0
  1548. package/extensions/wezterm-pane-control/index.ts +631 -0
  1549. package/extensions/write-tool-enhanced/extension.json +17 -0
  1550. package/extensions/write-tool-enhanced/index.ts +82 -0
  1551. package/package.json +106 -0
  1552. package/schemas/settings.schema.json +357 -0
  1553. package/skills/.gitkeep +0 -0
  1554. package/skills/tallow-expert/SKILL.md +204 -0
  1555. package/templates/agents/_defaults.md +58 -0
  1556. package/templates/agents/architect.md +23 -0
  1557. package/templates/agents/debug.md +21 -0
  1558. package/templates/agents/explore.md +39 -0
  1559. package/templates/agents/planner.md +38 -0
  1560. package/templates/agents/refactor.md +25 -0
  1561. package/templates/agents/reviewer.md +36 -0
  1562. package/templates/agents/scout.md +51 -0
  1563. package/templates/agents/tallow-expert.md +35 -0
  1564. package/templates/agents/worker.md +26 -0
  1565. package/templates/commands/fix.md +16 -0
  1566. package/templates/commands/implement-and-review.md +10 -0
  1567. package/templates/commands/implement.md +10 -0
  1568. package/templates/commands/question.md +19 -0
  1569. package/templates/commands/review.md +14 -0
  1570. package/templates/commands/scaffold.md +16 -0
  1571. package/templates/commands/scout-and-plan.md +9 -0
  1572. package/templates/commands/test.md +16 -0
  1573. package/themes/.gitkeep +0 -0
  1574. package/themes/apprentice.json +75 -0
  1575. package/themes/ayu-mirage.json +74 -0
  1576. package/themes/bluloco-dark.json +76 -0
  1577. package/themes/catppuccin-frappe.json +88 -0
  1578. package/themes/catppuccin-macchiato.json +88 -0
  1579. package/themes/catppuccin-mocha.json +88 -0
  1580. package/themes/dracula.json +74 -0
  1581. package/themes/everforest-dark.json +74 -0
  1582. package/themes/flexoki-dark.json +85 -0
  1583. package/themes/github-dark.json +76 -0
  1584. package/themes/gruvbox-dark.json +75 -0
  1585. package/themes/horizon.json +77 -0
  1586. package/themes/iceberg.json +75 -0
  1587. package/themes/kanagawa-wave.json +74 -0
  1588. package/themes/material-ocean.json +74 -0
  1589. package/themes/mellow.json +75 -0
  1590. package/themes/modus-vivendi.json +76 -0
  1591. package/themes/monokai-pro.json +74 -0
  1592. package/themes/moonlight.json +76 -0
  1593. package/themes/night-owl.json +74 -0
  1594. package/themes/nord.json +78 -0
  1595. package/themes/one-dark.json +74 -0
  1596. package/themes/oxocarbon-dark.json +74 -0
  1597. package/themes/palenight.json +75 -0
  1598. package/themes/poimandres.json +74 -0
  1599. package/themes/rose-pine.json +74 -0
  1600. package/themes/solarized-dark.json +78 -0
  1601. package/themes/spaceduck.json +76 -0
  1602. package/themes/synthwave-84.json +77 -0
  1603. package/themes/tokyo-night.json +77 -0
  1604. package/themes/trash-panda.json +77 -0
  1605. package/themes/vesper.json +74 -0
  1606. package/themes/vitesse-dark.json +77 -0
  1607. package/themes/zenburn-dark.json +74 -0
@@ -0,0 +1,1572 @@
1
+ /**
2
+ * Background Tasks Extension for Pi
3
+ *
4
+ * Enables running bash commands in the background.
5
+ *
6
+ * Features:
7
+ * - `bg_bash` tool: Run commands in background, returns task ID immediately
8
+ * - `task_output` tool: Retrieve output from a background task
9
+ * - `task_status` tool: Check if a task is running or completed
10
+ * - `/bg` command: List and manage background tasks
11
+ * - Status widget shows running background tasks
12
+ *
13
+ * Usage:
14
+ * Ask the agent to "run npm test in the background"
15
+ * Or use the bg_bash tool directly with a command
16
+ */
17
+
18
+ import { type ChildProcess, spawn } from "node:child_process";
19
+ import * as fs from "node:fs";
20
+ import * as os from "node:os";
21
+ import * as path from "node:path";
22
+ import { type ExtensionAPI, type ExtensionContext, keyHint } from "@mariozechner/pi-coding-agent";
23
+ import {
24
+ Container,
25
+ Key,
26
+ Loader,
27
+ matchesKey,
28
+ Text,
29
+ type TUI,
30
+ truncateToWidth,
31
+ visibleWidth,
32
+ } from "@mariozechner/pi-tui";
33
+ import { Type } from "@sinclair/typebox";
34
+ import { getIcon, getSpinner } from "../_icons/index.js";
35
+ import { extractPreview, isInlineResultsEnabled } from "../_shared/inline-preview.js";
36
+ import {
37
+ emitInteropEvent,
38
+ INTEROP_API_CHANNELS,
39
+ INTEROP_EVENT_NAMES,
40
+ type InteropBackgroundTaskView,
41
+ onInteropEvent,
42
+ } from "../_shared/interop-events.js";
43
+ import { registerPid, unregisterPid } from "../_shared/pid-registry.js";
44
+ import { enforceExplicitPolicy, recordAudit } from "../_shared/shell-policy.js";
45
+
46
+ // ANSI escape codes for Catppuccin Macchiato colors (medium-dark variant)
47
+ // Crust bg: #181926, Mauve: #c6a0f6, Text: #cad3f5
48
+ const BG_DARK_GRAY = "\x1b[48;2;24;25;38m"; // Catppuccin Macchiato crust #181926
49
+ const FG_PURPLE = "\x1b[38;2;198;160;246m"; // Catppuccin Macchiato mauve #c6a0f6
50
+ const FG_PURPLE_MUTED = "\x1b[38;2;165;173;203m"; // Catppuccin Macchiato subtext0 #a5adcb
51
+ const FG_LIGHT_GREEN = "\x1b[38;2;166;218;149m"; // Catppuccin Macchiato green #a6da95
52
+ const FG_LIGHT_RED = "\x1b[38;2;237;135;150m"; // Catppuccin Macchiato red #ed8796
53
+ const FG_WHITE = "\x1b[38;2;202;211;245m"; // Catppuccin Macchiato text #cad3f5
54
+ const RESET_ALL = "\x1b[0m";
55
+
56
+ /**
57
+ * Applies dark blue background with light text to a line, padding to full width.
58
+ * @param line - Line content to style
59
+ * @param width - Total width to pad to
60
+ * @returns Styled line with ANSI escape codes
61
+ */
62
+ function withDarkBlueBg(line: string, width: number): string {
63
+ const visLen = visibleWidth(line);
64
+ const padding = " ".repeat(Math.max(0, width - visLen));
65
+ // Reset any existing colors, then apply dark blue bg + white text
66
+ return `${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}${line}${padding}${RESET_ALL}`;
67
+ }
68
+
69
+ interface BackgroundTask {
70
+ id: string;
71
+ command: string;
72
+ cwd: string;
73
+ startTime: number;
74
+ endTime?: number;
75
+ exitCode?: number | null;
76
+ output: string[];
77
+ outputBytes: number;
78
+ process: ChildProcess | null;
79
+ status: "running" | "completed" | "failed" | "killed";
80
+ }
81
+
82
+ const MAX_OUTPUT_BYTES = 1024 * 1024; // 1MB max buffered output per task
83
+ const MAX_TASKS = 20; // Max concurrent/recent tasks
84
+
85
+ /** Reference to pi events bus, set when the extension initializes. */
86
+ let piEventsRef: ExtensionAPI["events"] | null = null;
87
+
88
+ /** Reference to pi extension API, for sendMessage from async close handlers. */
89
+ let piRef: ExtensionAPI | null = null;
90
+
91
+ /**
92
+ * Abort controllers for promoted tasks (bash → background handoff).
93
+ * Regular bg_bash tasks use ChildProcess.kill(); promoted tasks use AbortController.
94
+ */
95
+ const promotedAbortControllers = new Map<string, AbortController>();
96
+
97
+ // TUI reference captured at session_start for Loader in renderResult
98
+ let tuiRef: TUI | null = null;
99
+
100
+ // Persistent Loader instances per streaming task (avoids leaking intervals)
101
+ const activeLoaders = new Map<string, InstanceType<typeof Loader>>();
102
+
103
+ // In-memory task registry (published via typed interop events)
104
+ const tasks = new Map<string, BackgroundTask>();
105
+ let taskCounter = 0;
106
+ let interopStateRequestCleanup: (() => void) | undefined;
107
+
108
+ /**
109
+ * Build a serializable background task snapshot for cross-extension consumers.
110
+ *
111
+ * @returns Array of task views in insertion order
112
+ */
113
+ function buildBackgroundTaskSnapshot(): InteropBackgroundTaskView[] {
114
+ return [...tasks.values()].map((task) => ({
115
+ command: task.command,
116
+ id: task.id,
117
+ startTime: task.startTime,
118
+ status: task.status,
119
+ }));
120
+ }
121
+
122
+ /**
123
+ * Publish the current background task snapshot over the interop event bus.
124
+ *
125
+ * @param events - Shared extension event bus
126
+ * @returns void
127
+ */
128
+ function publishBackgroundTaskSnapshot(events: ExtensionAPI["events"]): void {
129
+ emitInteropEvent(events, INTEROP_EVENT_NAMES.backgroundTasksSnapshot, {
130
+ tasks: buildBackgroundTaskSnapshot(),
131
+ });
132
+ }
133
+
134
+ /**
135
+ * Generates a unique task ID combining counter and timestamp.
136
+ * @returns Unique task identifier string
137
+ */
138
+ function generateTaskId(): string {
139
+ taskCounter++;
140
+ return `bg_${taskCounter}_${Date.now().toString(36)}`;
141
+ }
142
+
143
+ /**
144
+ * Removes oldest completed tasks when task count exceeds MAX_TASKS.
145
+ */
146
+ function cleanupOldTasks(): void {
147
+ if (tasks.size <= MAX_TASKS) return;
148
+
149
+ // Remove oldest completed tasks
150
+ const completed = [...tasks.entries()]
151
+ .filter(([_, t]) => t.status !== "running")
152
+ .sort((a, b) => (a[1].endTime || 0) - (b[1].endTime || 0));
153
+
154
+ while (tasks.size > MAX_TASKS && completed.length > 0) {
155
+ const entry = completed.shift();
156
+ if (entry) tasks.delete(entry[0]);
157
+ }
158
+ }
159
+
160
+ // ── Promoted Task API ────────────────────────────────────────────────────────
161
+
162
+ /** Handle for updating a task that was promoted from bash to background. */
163
+ export interface PromotedTaskHandle {
164
+ /** The background task ID. */
165
+ readonly id: string;
166
+ /** Replace the task's entire output buffer (bash streams full text, not deltas). */
167
+ replaceOutput(text: string): void;
168
+ /** Mark the task as completed with the given exit code. */
169
+ complete(exitCode: number | null): void;
170
+ }
171
+
172
+ /**
173
+ * Promote a running bash command to a tracked background task.
174
+ *
175
+ * Called by bash-tool-enhanced when a command exceeds the auto-background
176
+ * timeout. Creates a BackgroundTask entry in the shared registry so that
177
+ * task_status, task_output, and task_kill all work on it.
178
+ *
179
+ * @param opts.command - The shell command string
180
+ * @param opts.cwd - Working directory where the command was started
181
+ * @param opts.startTime - Timestamp (ms) when the command originally started
182
+ * @param opts.initialOutput - Output captured before promotion
183
+ * @param opts.abortController - Controller to abort the underlying bash execution
184
+ * @returns Handle for streaming updates and marking completion
185
+ */
186
+ export function promoteToBackground(opts: {
187
+ command: string;
188
+ cwd: string;
189
+ startTime: number;
190
+ initialOutput: string;
191
+ abortController: AbortController;
192
+ }): PromotedTaskHandle {
193
+ const taskId = generateTaskId();
194
+ const task: BackgroundTask = {
195
+ id: taskId,
196
+ command: opts.command,
197
+ cwd: opts.cwd,
198
+ startTime: opts.startTime,
199
+ output: opts.initialOutput ? [opts.initialOutput] : [],
200
+ outputBytes: opts.initialOutput?.length ?? 0,
201
+ process: null,
202
+ status: "running",
203
+ };
204
+
205
+ promotedAbortControllers.set(taskId, opts.abortController);
206
+ tasks.set(taskId, task);
207
+ cleanupOldTasks();
208
+
209
+ if (piEventsRef) publishBackgroundTaskSnapshot(piEventsRef);
210
+
211
+ return {
212
+ id: taskId,
213
+ replaceOutput(text: string) {
214
+ task.output = [text];
215
+ task.outputBytes = text.length;
216
+ },
217
+ complete(exitCode: number | null) {
218
+ task.endTime = Date.now();
219
+ task.exitCode = exitCode;
220
+ task.status = exitCode === 0 ? "completed" : "failed";
221
+ promotedAbortControllers.delete(taskId);
222
+ if (piEventsRef) publishBackgroundTaskSnapshot(piEventsRef);
223
+ // Post inline result for promoted tasks (bash → background handoff)
224
+ if (piRef && isInlineResultsEnabled()) {
225
+ const duration = formatDuration((task.endTime ?? Date.now()) - task.startTime);
226
+ const output = task.output.join("");
227
+ const preview = extractPreview(output, 3, 80);
228
+ piRef.sendMessage({
229
+ customType: "background-task-complete",
230
+ content: `Task ${task.id} ${task.status} (${duration})`,
231
+ display: true,
232
+ details: {
233
+ taskId: task.id,
234
+ command: task.command,
235
+ exitCode: task.exitCode ?? null,
236
+ duration,
237
+ preview,
238
+ status: task.status as "completed" | "failed",
239
+ timestamp: Date.now(),
240
+ } satisfies BgTaskCompleteDetails,
241
+ });
242
+ }
243
+ },
244
+ };
245
+ }
246
+
247
+ /**
248
+ * Formats milliseconds into human-readable duration (e.g., "5s", "2m 30s", "1h 15m").
249
+ * @param ms - Duration in milliseconds
250
+ * @returns Formatted duration string
251
+ */
252
+ export function formatDuration(ms: number): string {
253
+ const seconds = Math.floor(ms / 1000);
254
+ if (seconds < 60) return `${seconds}s`;
255
+ const minutes = Math.floor(seconds / 60);
256
+ const secs = seconds % 60;
257
+ if (minutes < 60) return `${minutes}m ${secs}s`;
258
+ const hours = Math.floor(minutes / 60);
259
+ const mins = minutes % 60;
260
+ return `${hours}h ${mins}m`;
261
+ }
262
+
263
+ /**
264
+ * Truncates a command string with ellipsis if it exceeds max length.
265
+ * @param cmd - Command string to truncate
266
+ * @param maxLen - Maximum length (default 40)
267
+ * @returns Truncated command or original if short enough
268
+ */
269
+ export function truncateCommand(cmd: string, maxLen = 40): string {
270
+ if (cmd.length <= maxLen) return cmd;
271
+ return `${cmd.substring(0, maxLen - 3)}...`;
272
+ }
273
+
274
+ // ── Exported detection patterns (testable) ───────────────────────────────────
275
+
276
+ /**
277
+ * Regex detecting a backgrounding `&` in a shell command.
278
+ * Matches single `&` not preceded by `&` (excludes `&&`) and not followed by `>` (excludes `&>`).
279
+ */
280
+ export const BACKGROUND_AMPERSAND_PATTERN = /(?<!&)&(?!>)(?!&)(\s*$|\s*\n|\s*;|\s*\)|\s+[a-zA-Z])/;
281
+
282
+ /** Regex detecting heredoc markers — used to exempt `&` inside heredocs. */
283
+ export const HEREDOC_PATTERN = /<<[-]?\s*['"]?\w+['"]?/;
284
+
285
+ /** Pattern/reason pairs for commands likely to hang. */
286
+ export const HANG_PATTERNS: ReadonlyArray<{ pattern: RegExp; reason: string }> = [
287
+ {
288
+ pattern: /docker exec[^|]*node -e/,
289
+ reason: "docker exec with inline node script may hang if connections aren't closed",
290
+ },
291
+ {
292
+ pattern: /docker exec[^|]*python -c/,
293
+ reason: "docker exec with inline python script may hang if connections aren't closed",
294
+ },
295
+ {
296
+ pattern: /docker exec[^|]*-it\s/,
297
+ reason: "docker exec with interactive flag will hang",
298
+ },
299
+ {
300
+ pattern: /docker exec[^|]*--interactive/,
301
+ reason: "docker exec with --interactive will hang",
302
+ },
303
+ {
304
+ pattern: /\bpsql\b[^|]*-c\s+["']/,
305
+ reason: "psql with inline query may hang on connection issues",
306
+ },
307
+ {
308
+ pattern: /\bmysql\b[^|]*-e\s+["']/,
309
+ reason: "mysql with inline query may hang on connection issues",
310
+ },
311
+ {
312
+ pattern: /\bnc\b[^|]*-l/,
313
+ reason: "netcat listen mode will hang waiting for connections",
314
+ },
315
+ {
316
+ pattern: /\btail\b[^|]*-f/,
317
+ reason: "tail -f will run forever - use bg_bash",
318
+ },
319
+ {
320
+ pattern: /\bwatch\b\s/,
321
+ reason: "watch command runs forever - use bg_bash",
322
+ },
323
+ ];
324
+
325
+ /**
326
+ * Detect if a command uses `&` for backgrounding (which hangs in pi).
327
+ *
328
+ * @param command - Shell command string
329
+ * @returns True if the command backgrounds a process with `&`
330
+ */
331
+ export function detectsBackgroundAmpersand(command: string): boolean {
332
+ const hasAmpersand = BACKGROUND_AMPERSAND_PATTERN.test(command);
333
+ const hasHeredoc = HEREDOC_PATTERN.test(command);
334
+ return hasAmpersand && !hasHeredoc;
335
+ }
336
+
337
+ /**
338
+ * Check if a command matches any known hang pattern.
339
+ *
340
+ * @param command - Shell command string
341
+ * @returns The matching reason if found, or null
342
+ */
343
+ export function detectsHangPattern(command: string): string | null {
344
+ for (const { pattern, reason } of HANG_PATTERNS) {
345
+ if (pattern.test(command)) return reason;
346
+ }
347
+ return null;
348
+ }
349
+
350
+ /**
351
+ * Registers background task tools (bg_bash, task_output, task_status, task_kill) and /bg command.
352
+ * @param pi - Extension API for registering tools and commands
353
+ */
354
+ /** Details for inline background-task-complete messages. */
355
+ interface BgTaskCompleteDetails {
356
+ readonly taskId: string;
357
+ readonly command: string;
358
+ readonly exitCode: number | null;
359
+ readonly duration: string;
360
+ readonly preview: string[];
361
+ readonly status: "completed" | "failed" | "killed";
362
+ readonly timestamp: number;
363
+ }
364
+
365
+ export default function backgroundTasksExtension(pi: ExtensionAPI): void {
366
+ piEventsRef = pi.events;
367
+ piRef = pi;
368
+
369
+ // Register inline result renderer for fire-and-forget task completions
370
+ pi.registerMessageRenderer<BgTaskCompleteDetails>(
371
+ "background-task-complete",
372
+ (message, _options, theme) => {
373
+ const d = message.details;
374
+ if (!d) return undefined;
375
+
376
+ const icon =
377
+ d.status === "completed"
378
+ ? theme.fg("success", getIcon("success"))
379
+ : theme.fg("error", getIcon("error"));
380
+ const label = d.status === "completed" ? "completed" : d.status;
381
+
382
+ let text = `${icon} ${theme.fg("muted", "⚙ Task")} ${theme.fg("accent", d.taskId)} ${theme.fg("muted", label)} ${theme.fg("dim", `(exit ${d.exitCode ?? "?"}, ${d.duration})`)}`;
383
+
384
+ if (d.preview.length > 0) {
385
+ for (const line of d.preview) {
386
+ text += `\n ${theme.fg("dim", line)}`;
387
+ }
388
+ } else {
389
+ text += `\n ${theme.fg("dim", "(no output)")}`;
390
+ }
391
+
392
+ text += `\n ${theme.fg("muted", `Use task_output("${d.taskId}") to view full output`)}`;
393
+
394
+ return new Text(text, 0, 0);
395
+ }
396
+ );
397
+
398
+ /**
399
+ * Post an inline notification when a fire-and-forget task completes.
400
+ *
401
+ * Checks the inlineAgentResults setting before posting.
402
+ * Only fires for fire-and-forget tasks (background: true).
403
+ *
404
+ * @param task - Completed background task
405
+ * @returns void
406
+ */
407
+ function postInlineResult(task: BackgroundTask): void {
408
+ if (!piRef || !isInlineResultsEnabled()) return;
409
+ // Skip killed tasks
410
+ if (task.status === "killed") return;
411
+
412
+ const duration = formatDuration((task.endTime ?? Date.now()) - task.startTime);
413
+ const output = task.output.join("");
414
+ const preview = extractPreview(output, 3, 80);
415
+
416
+ piRef.sendMessage({
417
+ customType: "background-task-complete",
418
+ content: `Task ${task.id} ${task.status} (${duration})`,
419
+ display: true,
420
+ details: {
421
+ taskId: task.id,
422
+ command: task.command,
423
+ exitCode: task.exitCode ?? null,
424
+ duration,
425
+ preview,
426
+ status: task.status as "completed" | "failed",
427
+ timestamp: Date.now(),
428
+ } satisfies BgTaskCompleteDetails,
429
+ });
430
+ }
431
+
432
+ /**
433
+ * Updates the status bar indicator for running background tasks.
434
+ * @param ctx - Extension context for UI access
435
+ */
436
+ function updateWidget(ctx: ExtensionContext): void {
437
+ // Guard: ctx.ui may be undefined if context is stale (e.g., from async callback after shutdown)
438
+ if (!ctx?.ui) return;
439
+
440
+ const running = [...tasks.values()].filter((t) => t.status === "running");
441
+
442
+ if (running.length === 0) {
443
+ ctx.ui.setStatus("bg-tasks", undefined);
444
+ return;
445
+ }
446
+
447
+ // Status bar only - widget is rendered by tasks extension
448
+ ctx.ui.setStatus("bg-tasks", `${FG_PURPLE}⚙ ${running.length} bg${RESET_ALL}`);
449
+ }
450
+
451
+ /**
452
+ * Sync background-task state to both local UI and cross-extension event consumers.
453
+ *
454
+ * @param ctx - Extension context for widget updates
455
+ * @returns void
456
+ */
457
+ function syncTaskState(ctx: ExtensionContext): void {
458
+ updateWidget(ctx);
459
+ publishBackgroundTaskSnapshot(pi.events);
460
+ }
461
+
462
+ interopStateRequestCleanup?.();
463
+ interopStateRequestCleanup = onInteropEvent(pi.events, INTEROP_EVENT_NAMES.stateRequest, () => {
464
+ publishBackgroundTaskSnapshot(pi.events);
465
+ });
466
+
467
+ // Expose promoteToBackground to other extensions via event bus.
468
+ // This avoids cross-extension static imports that break under jiti's
469
+ // moduleCache:false (each extension gets its own module instance).
470
+ const publishPromoteApi = () => {
471
+ pi.events.emit(INTEROP_API_CHANNELS.promoteToBackgroundApi, { promote: promoteToBackground });
472
+ };
473
+ publishPromoteApi();
474
+ pi.events.on(INTEROP_API_CHANNELS.promoteToBackgroundApiRequest, publishPromoteApi);
475
+
476
+ // Tool: Run bash in background
477
+ pi.registerTool({
478
+ name: "bg_bash",
479
+ label: "bg_bash",
480
+ description:
481
+ "Run a bash command in the background. By default, streams live output and waits for completion. Set background=true for fire-and-forget daemons/servers.\n\nWHEN TO USE:\n- Starting daemons or servers (with background: true)\n- Long-running builds or tests (default: streams output)\n- Any process you want to run independently\n\nWARNING: Never use bash tool with & to background processes - it will hang. Use bg_bash instead.",
482
+ parameters: Type.Object({
483
+ command: Type.String({
484
+ description: "Bash command to run in background",
485
+ }),
486
+ timeout: Type.Optional(
487
+ Type.Number({
488
+ description: "Timeout in seconds (optional, default: no timeout)",
489
+ })
490
+ ),
491
+ background: Type.Optional(
492
+ Type.Boolean({
493
+ description:
494
+ "If true, return immediately without streaming output. Use for daemons/servers.",
495
+ })
496
+ ),
497
+ }),
498
+ async execute(_toolCallId, params, signal, onUpdate, ctx) {
499
+ const taskId = generateTaskId();
500
+ const cwd = ctx.cwd;
501
+ const fireAndForget = params.background === true;
502
+
503
+ const task: BackgroundTask = {
504
+ id: taskId,
505
+ command: params.command,
506
+ cwd,
507
+ startTime: Date.now(),
508
+ output: [],
509
+ outputBytes: 0,
510
+ process: null,
511
+ status: "running",
512
+ };
513
+
514
+ // Spawn the process
515
+ const shell = process.env.SHELL || "/bin/bash";
516
+ const child = spawn(shell, ["-c", params.command], {
517
+ cwd,
518
+ stdio: ["ignore", "pipe", "pipe"],
519
+ detached: true,
520
+ });
521
+
522
+ task.process = child;
523
+ tasks.set(taskId, task);
524
+ cleanupOldTasks();
525
+
526
+ // Track PID for orphan cleanup if parent is killed (SIGKILL, OOM, crash)
527
+ if (child.pid != null) {
528
+ registerPid(child.pid, params.command);
529
+ }
530
+
531
+ // Buffer output (and stream if not fire-and-forget)
532
+ const onData = (data: Buffer) => {
533
+ // Guard: ignore data arriving after task is no longer running
534
+ if (task.status !== "running") return;
535
+
536
+ if (task.outputBytes < MAX_OUTPUT_BYTES) {
537
+ const text = data.toString();
538
+ task.output.push(text);
539
+ task.outputBytes += data.length;
540
+
541
+ if (task.outputBytes >= MAX_OUTPUT_BYTES) {
542
+ task.output.push("\n[Output truncated - max buffer size reached]\n");
543
+ }
544
+ }
545
+
546
+ // Stream live updates to the TUI
547
+ if (!fireAndForget) {
548
+ const output = task.output.join("");
549
+ onUpdate?.({
550
+ content: [{ type: "text", text: output || "(no output yet)" }],
551
+ details: { taskId },
552
+ });
553
+ }
554
+ };
555
+
556
+ child.stdout?.on("data", onData);
557
+ child.stderr?.on("data", onData);
558
+
559
+ /**
560
+ * Remove onData listeners from child streams to prevent leaks
561
+ * in long sessions with many background tasks.
562
+ */
563
+ const cleanupStreams = () => {
564
+ child.stdout?.removeListener("data", onData);
565
+ child.stderr?.removeListener("data", onData);
566
+ };
567
+
568
+ // Handle timeout
569
+ if (params.timeout && params.timeout > 0) {
570
+ setTimeout(() => {
571
+ if (task.status === "running" && task.process) {
572
+ task.process.kill("SIGTERM");
573
+ task.status = "killed";
574
+ if (child.pid != null) unregisterPid(child.pid);
575
+ task.output.push(`\n[Killed: timeout after ${params.timeout}s]\n`);
576
+ syncTaskState(ctx);
577
+ }
578
+ }, params.timeout * 1000);
579
+ }
580
+
581
+ // Fire-and-forget: return immediately
582
+ if (fireAndForget) {
583
+ // Handle completion in background
584
+ child.on("close", (code) => {
585
+ cleanupStreams();
586
+ task.endTime = Date.now();
587
+ task.exitCode = code;
588
+ task.status = code === 0 ? "completed" : "failed";
589
+ if (child.pid != null) unregisterPid(child.pid);
590
+ task.process = null;
591
+ syncTaskState(ctx);
592
+ postInlineResult(task);
593
+ });
594
+ child.on("error", (err) => {
595
+ cleanupStreams();
596
+ task.endTime = Date.now();
597
+ task.status = "failed";
598
+ task.output.push(`\nError: ${err.message}\n`);
599
+ if (child.pid != null) unregisterPid(child.pid);
600
+ task.process = null;
601
+ syncTaskState(ctx);
602
+ postInlineResult(task);
603
+ });
604
+ child.unref();
605
+ syncTaskState(ctx);
606
+
607
+ return {
608
+ details: { taskId, command: params.command, fireAndForget: true },
609
+ content: [
610
+ {
611
+ type: "text",
612
+ text: `Background task started (fire-and-forget).\nTask ID: ${taskId}\nCommand: ${params.command}\nUse task_output("${taskId}") to check later.`,
613
+ },
614
+ ],
615
+ };
616
+ }
617
+
618
+ // Streaming mode: wait for process to complete
619
+ syncTaskState(ctx);
620
+
621
+ const result = await new Promise<{
622
+ exitCode: number | null;
623
+ error?: string;
624
+ }>((resolve) => {
625
+ child.on("close", (code) => {
626
+ cleanupStreams();
627
+ task.endTime = Date.now();
628
+ task.exitCode = code;
629
+ task.status = code === 0 ? "completed" : "failed";
630
+ if (child.pid != null) unregisterPid(child.pid);
631
+ task.process = null;
632
+ syncTaskState(ctx);
633
+ resolve({ exitCode: code });
634
+ });
635
+ child.on("error", (err) => {
636
+ cleanupStreams();
637
+ task.endTime = Date.now();
638
+ task.status = "failed";
639
+ task.output.push(`\nError: ${err.message}\n`);
640
+ if (child.pid != null) unregisterPid(child.pid);
641
+ task.process = null;
642
+ syncTaskState(ctx);
643
+ resolve({ exitCode: null, error: err.message });
644
+ });
645
+
646
+ // Kill on abort signal (e.g., user presses Escape)
647
+ signal?.addEventListener("abort", () => {
648
+ if (task.status === "running" && task.process) {
649
+ task.process.kill("SIGTERM");
650
+ task.status = "killed";
651
+ task.endTime = Date.now();
652
+ if (child.pid != null) unregisterPid(child.pid);
653
+ task.output.push("\n[Killed: aborted by user]\n");
654
+ syncTaskState(ctx);
655
+ resolve({ exitCode: null, error: "Aborted" });
656
+ }
657
+ });
658
+ });
659
+
660
+ // Stop and clean up the persistent Loader for this task
661
+ const loader = activeLoaders.get(taskId);
662
+ if (loader) {
663
+ loader.stop();
664
+ activeLoaders.delete(taskId);
665
+ }
666
+
667
+ const output = task.output.join("");
668
+ const duration = formatDuration((task.endTime || Date.now()) - task.startTime);
669
+
670
+ return {
671
+ details: {
672
+ taskId,
673
+ command: params.command,
674
+ status: task.status,
675
+ duration,
676
+ exitCode: result.exitCode,
677
+ output,
678
+ },
679
+ content: [
680
+ {
681
+ type: "text",
682
+ text: output || "(no output)",
683
+ },
684
+ ],
685
+ };
686
+ },
687
+
688
+ renderCall(args, theme) {
689
+ const cmd = truncateCommand(args.command as string, 60);
690
+ const bg = args.background ? theme.fg("dim", " (detached)") : "";
691
+ return new Text(
692
+ theme.fg("toolTitle", theme.bold("bg_bash ")) + theme.fg("muted", cmd) + bg,
693
+ 0,
694
+ 0
695
+ );
696
+ },
697
+
698
+ renderResult(result, { expanded, isPartial }, theme) {
699
+ const details = result.details as { fireAndForget?: boolean; taskId?: string } | undefined;
700
+
701
+ // Fire-and-forget: compact one-liner
702
+ if (details?.fireAndForget) {
703
+ return new Text(theme.fg("success", "⚙ Started (detached)"), 0, 0);
704
+ }
705
+
706
+ const COLLAPSED_LINES = 10;
707
+ const EXPANDED_LINES = 50;
708
+
709
+ // Extract output (available during streaming via onUpdate and after completion)
710
+ const text = result.content[0];
711
+ const output = text?.type === "text" ? text.text : "";
712
+
713
+ // While running: show streamed output + loader spinner at bottom
714
+ if (isPartial) {
715
+ const container = new Container();
716
+
717
+ if (output) {
718
+ const allLines = output.split("\n").filter((l: string) => l.length > 0);
719
+ const maxLines = COLLAPSED_LINES;
720
+ const truncated = allLines.length > maxLines;
721
+ const tail = truncated ? allLines.slice(-maxLines) : allLines;
722
+
723
+ let rendered = "";
724
+ if (truncated) {
725
+ rendered += `${theme.fg("dim", `... ${allLines.length - maxLines} more lines above`)}\n`;
726
+ }
727
+ for (let i = 0; i < tail.length; i++) {
728
+ rendered += theme.fg("muted", tail[i]);
729
+ if (i < tail.length - 1) rendered += "\n";
730
+ }
731
+ container.addChild(new Text(rendered, 0, 0));
732
+ }
733
+
734
+ // Reuse persistent Loader (one per task, avoids leaking intervals)
735
+ const tid = details?.taskId ?? "__bg_default";
736
+ let loader = activeLoaders.get(tid);
737
+ if (!loader && tuiRef) {
738
+ loader = new Loader(
739
+ tuiRef,
740
+ (s) => theme.fg("warning", s),
741
+ (s) => theme.fg("muted", s),
742
+ "Running..."
743
+ );
744
+ (loader as unknown as Record<string, string[]>).frames = getSpinner();
745
+ activeLoaders.set(tid, loader);
746
+ }
747
+ if (loader) {
748
+ container.addChild(loader);
749
+ } else {
750
+ container.addChild(new Text(theme.fg("bashMode", "Running..."), 0, 0));
751
+ }
752
+
753
+ return container;
754
+ }
755
+
756
+ // Completed: show output
757
+ if (!output) return new Text(theme.fg("dim", "(no output)"), 0, 0);
758
+
759
+ const allLines = output.split("\n").filter((l: string) => l.length > 0);
760
+ const maxLines = expanded ? EXPANDED_LINES : COLLAPSED_LINES;
761
+ const truncated = allLines.length > maxLines;
762
+ const tail = truncated ? allLines.slice(-maxLines) : allLines;
763
+
764
+ let rendered = "";
765
+ if (truncated) {
766
+ rendered += `${theme.fg("dim", `... ${allLines.length - maxLines} more lines above`)}\n`;
767
+ }
768
+ for (let i = 0; i < tail.length; i++) {
769
+ rendered += theme.fg("toolOutput", tail[i]);
770
+ if (i < tail.length - 1) rendered += "\n";
771
+ }
772
+ if (truncated && !expanded) {
773
+ rendered += `\n${theme.fg("dim", `... ${allLines.length - maxLines} more lines`)} ${keyHint("expandTools", "to expand")}`;
774
+ }
775
+
776
+ return new Text(rendered, 0, 0);
777
+ },
778
+ });
779
+
780
+ // Tool: Get task output
781
+ pi.registerTool({
782
+ name: "task_output",
783
+ label: "task_output",
784
+ description:
785
+ "Retrieve the output from a background task. Can be called while task is still running to get partial output.",
786
+ parameters: Type.Object({
787
+ taskId: Type.String({ description: "Task ID returned by bg_bash" }),
788
+ tail: Type.Optional(Type.Number({ description: "Only return last N lines (optional)" })),
789
+ }),
790
+ async execute(_toolCallId, params, _signal, _onUpdate, _ctx) {
791
+ const task = tasks.get(params.taskId);
792
+
793
+ if (!task) {
794
+ return {
795
+ details: { error: true },
796
+ content: [
797
+ {
798
+ type: "text",
799
+ text: `Task not found: ${params.taskId}\n\nAvailable tasks:\n${[...tasks.keys()].join("\n") || "(none)"}`,
800
+ },
801
+ ],
802
+ };
803
+ }
804
+
805
+ let output = task.output.join("");
806
+
807
+ if (params.tail && params.tail > 0) {
808
+ const lines = output.split("\n");
809
+ output = lines.slice(-params.tail).join("\n");
810
+ }
811
+
812
+ const duration = formatDuration((task.endTime || Date.now()) - task.startTime);
813
+ const statusLine =
814
+ task.status === "running"
815
+ ? `Status: running (${duration})`
816
+ : `Status: ${task.status} (exit code: ${task.exitCode}, duration: ${duration})`;
817
+
818
+ return {
819
+ details: {
820
+ taskId: params.taskId,
821
+ command: task.command,
822
+ status: task.status,
823
+ exitCode: task.exitCode,
824
+ duration,
825
+ outputLines: output.split("\n").length,
826
+ outputBytes: task.outputBytes,
827
+ output,
828
+ },
829
+ content: [
830
+ {
831
+ type: "text",
832
+ text: `Task: ${params.taskId}\nCommand: ${task.command}\n${statusLine}\n\n--- Output ---\n${output || "(no output yet)"}`,
833
+ },
834
+ ],
835
+ };
836
+ },
837
+
838
+ renderCall(args, theme) {
839
+ const taskId = args.taskId as string;
840
+ const task = tasks.get(taskId);
841
+ const cmd = task ? truncateCommand(task.command, 40) : "";
842
+ let text = theme.fg("toolTitle", theme.bold("task_output ")) + theme.fg("accent", taskId);
843
+ if (cmd) text += theme.fg("dim", ` ${cmd}`);
844
+ return new Text(text, 0, 0);
845
+ },
846
+
847
+ renderResult(result, { expanded }, theme) {
848
+ const COLLAPSED_LINES = 10;
849
+ const EXPANDED_LINES = 50;
850
+
851
+ const details = result.details as
852
+ | {
853
+ taskId?: string;
854
+ command?: string;
855
+ status?: string;
856
+ exitCode?: number | null;
857
+ duration?: string;
858
+ outputLines?: number;
859
+ outputBytes?: number;
860
+ output?: string;
861
+ error?: boolean;
862
+ }
863
+ | undefined;
864
+
865
+ // Error case — show full text
866
+ if (details?.error) {
867
+ const text = result.content[0];
868
+ return new Text(theme.fg("error", text?.type === "text" ? text.text : "Error"), 0, 0);
869
+ }
870
+
871
+ const status = details?.status ?? "unknown";
872
+ const duration = details?.duration ?? "";
873
+
874
+ // Status icon
875
+ let icon: string;
876
+ let statusColor: "success" | "warning" | "error" | "accent";
877
+ switch (status) {
878
+ case "running":
879
+ icon = getIcon("in_progress");
880
+ statusColor = "accent";
881
+ break;
882
+ case "completed":
883
+ icon = getIcon("success");
884
+ statusColor = "success";
885
+ break;
886
+ default:
887
+ icon = getIcon("error");
888
+ statusColor = "error";
889
+ }
890
+
891
+ // Header line
892
+ let text = theme.fg(statusColor, `${icon} ${status}`) + theme.fg("muted", ` (${duration})`);
893
+
894
+ // Show output tail (always — collapsed=10 lines, expanded=50)
895
+ if (details?.output) {
896
+ const allLines = details.output.split("\n").filter((l) => l.length > 0);
897
+ const maxLines = expanded ? EXPANDED_LINES : COLLAPSED_LINES;
898
+ const truncated = allLines.length > maxLines;
899
+ const tail = truncated ? allLines.slice(-maxLines) : allLines;
900
+
901
+ if (truncated) {
902
+ text += `\n${theme.fg("dim", ` ... ${allLines.length - maxLines} more lines above`)}`;
903
+ }
904
+ for (const line of tail) {
905
+ text += `\n${theme.fg("dim", ` ${line}`)}`;
906
+ }
907
+
908
+ if (!expanded && truncated) {
909
+ text += `\n${keyHint("expandTools", "to show more")}`;
910
+ }
911
+ } else {
912
+ text += theme.fg("dim", " (no output yet)");
913
+ }
914
+
915
+ return new Text(text, 0, 0);
916
+ },
917
+ });
918
+
919
+ // Tool: Check task status
920
+ pi.registerTool({
921
+ name: "task_status",
922
+ label: "task_status",
923
+ description: "Check if a background task is still running or has completed.",
924
+ parameters: Type.Object({
925
+ taskId: Type.String({ description: "Task ID returned by bg_bash" }),
926
+ }),
927
+ async execute(_toolCallId, params, _signal, _onUpdate, _ctx) {
928
+ const task = tasks.get(params.taskId);
929
+
930
+ if (!task) {
931
+ return {
932
+ details: { error: true },
933
+ content: [
934
+ {
935
+ type: "text",
936
+ text: `Task not found: ${params.taskId}`,
937
+ },
938
+ ],
939
+ };
940
+ }
941
+
942
+ const duration = formatDuration((task.endTime || Date.now()) - task.startTime);
943
+
944
+ return {
945
+ details: {
946
+ taskId: task.id,
947
+ status: task.status,
948
+ exitCode: task.exitCode,
949
+ duration,
950
+ },
951
+ content: [
952
+ {
953
+ type: "text",
954
+ text: JSON.stringify(
955
+ {
956
+ taskId: task.id,
957
+ command: task.command,
958
+ status: task.status,
959
+ exitCode: task.exitCode,
960
+ duration,
961
+ outputBytes: task.outputBytes,
962
+ },
963
+ null,
964
+ 2
965
+ ),
966
+ },
967
+ ],
968
+ };
969
+ },
970
+
971
+ renderCall(args, theme) {
972
+ return new Text(
973
+ theme.fg("toolTitle", theme.bold("task_status ")) +
974
+ theme.fg("accent", args.taskId as string),
975
+ 0,
976
+ 0
977
+ );
978
+ },
979
+
980
+ renderResult(result, _options, theme) {
981
+ const details = result.details as
982
+ | { status?: string; duration?: string; error?: boolean }
983
+ | undefined;
984
+ if (details?.error) {
985
+ const text = result.content[0];
986
+ return new Text(theme.fg("error", text?.type === "text" ? text.text : "Not found"), 0, 0);
987
+ }
988
+ const status = details?.status ?? "unknown";
989
+ const duration = details?.duration ?? "";
990
+ const icon =
991
+ status === "running"
992
+ ? getIcon("in_progress")
993
+ : status === "completed"
994
+ ? getIcon("success")
995
+ : getIcon("error");
996
+ const color: "success" | "accent" | "error" =
997
+ status === "completed" ? "success" : status === "running" ? "accent" : "error";
998
+ return new Text(
999
+ theme.fg(color, `${icon} ${status}`) + theme.fg("muted", ` (${duration})`),
1000
+ 0,
1001
+ 0
1002
+ );
1003
+ },
1004
+ });
1005
+
1006
+ // Tool: Kill a background task
1007
+ pi.registerTool({
1008
+ name: "task_kill",
1009
+ label: "task_kill",
1010
+ description: "Kill a running background task.",
1011
+ parameters: Type.Object({
1012
+ taskId: Type.String({ description: "Task ID to kill" }),
1013
+ }),
1014
+ async execute(_toolCallId, params, _signal, _onUpdate, ctx) {
1015
+ const task = tasks.get(params.taskId);
1016
+
1017
+ if (!task) {
1018
+ return {
1019
+ details: { error: true },
1020
+ content: [{ type: "text", text: `Task not found: ${params.taskId}` }],
1021
+ };
1022
+ }
1023
+
1024
+ if (task.status !== "running") {
1025
+ return {
1026
+ details: { error: true },
1027
+ content: [
1028
+ {
1029
+ type: "text",
1030
+ text: `Task ${params.taskId} is not running (status: ${task.status})`,
1031
+ },
1032
+ ],
1033
+ };
1034
+ }
1035
+
1036
+ // Kill via ChildProcess (regular bg_bash) or AbortController (promoted from bash)
1037
+ if (task.process) {
1038
+ if (task.process.pid != null) unregisterPid(task.process.pid);
1039
+ task.process.kill("SIGTERM");
1040
+ } else {
1041
+ const abort = promotedAbortControllers.get(params.taskId);
1042
+ if (abort) {
1043
+ abort.abort();
1044
+ promotedAbortControllers.delete(params.taskId);
1045
+ }
1046
+ }
1047
+ task.status = "killed";
1048
+ task.endTime = Date.now();
1049
+ task.output.push("\n[Killed by user]\n");
1050
+
1051
+ syncTaskState(ctx);
1052
+
1053
+ return {
1054
+ details: { taskId: params.taskId, killed: true },
1055
+ content: [{ type: "text", text: `Killed task ${params.taskId}` }],
1056
+ };
1057
+ },
1058
+
1059
+ renderCall(args, theme) {
1060
+ return new Text(
1061
+ theme.fg("toolTitle", theme.bold("task_kill ")) + theme.fg("error", args.taskId as string),
1062
+ 0,
1063
+ 0
1064
+ );
1065
+ },
1066
+
1067
+ renderResult(result, _options, theme) {
1068
+ const details = result.details as { killed?: boolean; error?: boolean } | undefined;
1069
+ if (details?.error) {
1070
+ const text = result.content[0];
1071
+ return new Text(theme.fg("error", text?.type === "text" ? text.text : "Error"), 0, 0);
1072
+ }
1073
+ return new Text(theme.fg("warning", `${getIcon("error")} Killed`), 0, 0);
1074
+ },
1075
+ });
1076
+
1077
+ // Command: /bg - List and manage background tasks with interactive viewer
1078
+ pi.registerCommand("bg", {
1079
+ description: "List and manage background tasks (interactive viewer)",
1080
+ handler: async (args, ctx) => {
1081
+ const parts = args.trim().split(/\s+/);
1082
+ const subcommand = parts[0]?.toLowerCase() || "";
1083
+ const rest = parts.slice(1).join(" ");
1084
+
1085
+ // Quick subcommands
1086
+ if (subcommand === "kill" && rest) {
1087
+ const task = tasks.get(rest);
1088
+ if (!task) {
1089
+ ctx.ui.notify(`Task not found: ${rest}`, "error");
1090
+ return;
1091
+ }
1092
+ if (task.status !== "running") {
1093
+ ctx.ui.notify(`Task ${rest} is not running`, "error");
1094
+ return;
1095
+ }
1096
+ if (task.process) {
1097
+ if (task.process.pid != null) unregisterPid(task.process.pid);
1098
+ task.process.kill("SIGTERM");
1099
+ } else {
1100
+ const abort = promotedAbortControllers.get(rest);
1101
+ if (abort) {
1102
+ abort.abort();
1103
+ promotedAbortControllers.delete(rest);
1104
+ }
1105
+ }
1106
+ task.status = "killed";
1107
+ task.endTime = Date.now();
1108
+ syncTaskState(ctx);
1109
+ ctx.ui.notify(`Killed task ${rest}`, "info");
1110
+ return;
1111
+ }
1112
+
1113
+ if (subcommand === "clear") {
1114
+ const completed = [...tasks.entries()].filter(([_, t]) => t.status !== "running");
1115
+ for (const [id] of completed) {
1116
+ tasks.delete(id);
1117
+ }
1118
+ syncTaskState(ctx);
1119
+ ctx.ui.notify(`Cleared ${completed.length} completed tasks`, "info");
1120
+ return;
1121
+ }
1122
+
1123
+ // No tasks? Show message
1124
+ if (tasks.size === 0) {
1125
+ ctx.ui.notify(
1126
+ "No background tasks.\n\n" +
1127
+ "To run a command in background, ask the agent to use bg_bash,\n" +
1128
+ "or say 'run [command] in the background'.",
1129
+ "info"
1130
+ );
1131
+ return;
1132
+ }
1133
+
1134
+ // Hide the widget and status BEFORE opening the viewer (avoid duplication)
1135
+ ctx.ui.setWidget("bg-tasks", undefined);
1136
+ ctx.ui.setStatus("bg-tasks", undefined);
1137
+
1138
+ // Interactive task viewer
1139
+ await ctx.ui.custom<void>((tui, theme, _kb, done) => {
1140
+ type ViewMode = "list" | "output";
1141
+ let mode: ViewMode = "list";
1142
+ let selectedIndex = 0;
1143
+ let selectedTaskId: string | null = null;
1144
+ let scrollOffset = 0;
1145
+ let cachedLines: string[] | undefined;
1146
+ let refreshInterval: NodeJS.Timeout | null = null;
1147
+
1148
+ // Start auto-refresh for live output
1149
+ refreshInterval = setInterval(() => {
1150
+ cachedLines = undefined;
1151
+ tui.requestRender();
1152
+ }, 500);
1153
+
1154
+ function getTaskList(): BackgroundTask[] {
1155
+ return [...tasks.values()].sort((a, b) => b.startTime - a.startTime);
1156
+ }
1157
+
1158
+ function refresh() {
1159
+ cachedLines = undefined;
1160
+ tui.requestRender();
1161
+ }
1162
+
1163
+ function cleanup() {
1164
+ if (refreshInterval) {
1165
+ clearInterval(refreshInterval);
1166
+ refreshInterval = null;
1167
+ }
1168
+ // Restore the widget when closing the viewer
1169
+ syncTaskState(ctx);
1170
+ }
1171
+
1172
+ function handleInput(data: string) {
1173
+ const taskList = getTaskList();
1174
+
1175
+ if (mode === "list") {
1176
+ // List mode navigation
1177
+ if (matchesKey(data, Key.up)) {
1178
+ selectedIndex = Math.max(0, selectedIndex - 1);
1179
+ refresh();
1180
+ return true;
1181
+ }
1182
+ if (matchesKey(data, Key.down)) {
1183
+ selectedIndex = Math.min(taskList.length - 1, selectedIndex + 1);
1184
+ refresh();
1185
+ return true;
1186
+ }
1187
+ if (matchesKey(data, Key.enter)) {
1188
+ if (taskList.length > 0) {
1189
+ selectedTaskId = taskList[selectedIndex].id;
1190
+ mode = "output";
1191
+ scrollOffset = 0;
1192
+ refresh();
1193
+ }
1194
+ return true;
1195
+ }
1196
+ if (matchesKey(data, Key.escape) || matchesKey(data, "q")) {
1197
+ cleanup();
1198
+ done();
1199
+ return true;
1200
+ }
1201
+ // Kill with 'k' or 'x'
1202
+ if ((data === "k" || data === "x") && taskList.length > 0) {
1203
+ const task = taskList[selectedIndex];
1204
+ if (task.status === "running") {
1205
+ if (task.process) {
1206
+ if (task.process.pid != null) unregisterPid(task.process.pid);
1207
+ task.process.kill("SIGTERM");
1208
+ } else {
1209
+ const abort = promotedAbortControllers.get(task.id);
1210
+ if (abort) {
1211
+ abort.abort();
1212
+ promotedAbortControllers.delete(task.id);
1213
+ }
1214
+ }
1215
+ task.status = "killed";
1216
+ task.endTime = Date.now();
1217
+ publishBackgroundTaskSnapshot(pi.events);
1218
+ refresh();
1219
+ }
1220
+ return true;
1221
+ }
1222
+ } else if (mode === "output") {
1223
+ // Output view navigation
1224
+ if (
1225
+ matchesKey(data, Key.escape) ||
1226
+ matchesKey(data, "q") ||
1227
+ matchesKey(data, Key.left)
1228
+ ) {
1229
+ mode = "list";
1230
+ selectedTaskId = null;
1231
+ refresh();
1232
+ return true;
1233
+ }
1234
+ if (matchesKey(data, Key.up)) {
1235
+ scrollOffset = Math.max(0, scrollOffset - 1);
1236
+ refresh();
1237
+ return true;
1238
+ }
1239
+ if (matchesKey(data, Key.down)) {
1240
+ scrollOffset++;
1241
+ refresh();
1242
+ return true;
1243
+ }
1244
+ if (matchesKey(data, Key.pageUp)) {
1245
+ scrollOffset = Math.max(0, scrollOffset - 10);
1246
+ refresh();
1247
+ return true;
1248
+ }
1249
+ if (matchesKey(data, Key.pageDown)) {
1250
+ scrollOffset += 10;
1251
+ refresh();
1252
+ return true;
1253
+ }
1254
+ // Kill with 'k' or 'x'
1255
+ if ((data === "k" || data === "x") && selectedTaskId) {
1256
+ const task = tasks.get(selectedTaskId);
1257
+ if (task && task.status === "running") {
1258
+ if (task.process) {
1259
+ if (task.process.pid != null) unregisterPid(task.process.pid);
1260
+ task.process.kill("SIGTERM");
1261
+ } else {
1262
+ const abort = promotedAbortControllers.get(selectedTaskId);
1263
+ if (abort) {
1264
+ abort.abort();
1265
+ promotedAbortControllers.delete(selectedTaskId);
1266
+ }
1267
+ }
1268
+ task.status = "killed";
1269
+ task.endTime = Date.now();
1270
+ publishBackgroundTaskSnapshot(pi.events);
1271
+ refresh();
1272
+ }
1273
+ return true;
1274
+ }
1275
+ // 'g' to go to top, 'G' to go to bottom
1276
+ if (data === "g") {
1277
+ scrollOffset = 0;
1278
+ refresh();
1279
+ return true;
1280
+ }
1281
+ if (data === "G") {
1282
+ scrollOffset = 99_999; // Will be clamped in render
1283
+ refresh();
1284
+ return true;
1285
+ }
1286
+ }
1287
+ return true;
1288
+ }
1289
+
1290
+ function render(width: number): string[] {
1291
+ if (cachedLines && cachedLines.length > 0) return cachedLines;
1292
+
1293
+ const rawLines: string[] = [];
1294
+ const height = tui.terminal.rows - 4; // Leave room for header/footer
1295
+ const taskList = getTaskList();
1296
+
1297
+ if (mode === "list") {
1298
+ // Header - light blue on dark blue bg
1299
+ rawLines.push(
1300
+ `${FG_PURPLE_MUTED}${theme.bold(" Background Tasks")} (${taskList.length})${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`
1301
+ );
1302
+ rawLines.push("");
1303
+
1304
+ // Task list - light colors for contrast on dark blue bg
1305
+ for (let i = 0; i < taskList.length; i++) {
1306
+ const task = taskList[i];
1307
+ const isSelected = i === selectedIndex;
1308
+ const duration = formatDuration((task.endTime || Date.now()) - task.startTime);
1309
+
1310
+ let statusIcon: string;
1311
+ let iconColor: string;
1312
+ switch (task.status) {
1313
+ case "running":
1314
+ statusIcon = getIcon("in_progress");
1315
+ iconColor = FG_PURPLE; // Light blue dot
1316
+ break;
1317
+ case "completed":
1318
+ statusIcon = getIcon("success");
1319
+ iconColor = FG_LIGHT_GREEN; // Light green
1320
+ break;
1321
+ case "killed":
1322
+ statusIcon = getIcon("error");
1323
+ iconColor = FG_LIGHT_RED; // Light red
1324
+ break;
1325
+ default:
1326
+ statusIcon = "!";
1327
+ iconColor = FG_LIGHT_RED;
1328
+ }
1329
+
1330
+ const prefix = isSelected
1331
+ ? `${FG_PURPLE} > ${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`
1332
+ : " ";
1333
+ const icon = `${iconColor}${statusIcon}${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`;
1334
+ const cmd = truncateCommand(task.command, width - 30);
1335
+ const info = ` [${task.status}, ${duration}]`;
1336
+
1337
+ if (isSelected) {
1338
+ rawLines.push(
1339
+ `${prefix + icon} ${FG_PURPLE}${cmd}${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}${info}`
1340
+ );
1341
+ } else {
1342
+ rawLines.push(`${prefix + icon} ${cmd}${info}`);
1343
+ }
1344
+ }
1345
+
1346
+ rawLines.push("");
1347
+ rawLines.push(" ↑↓ navigate • Enter view output • k kill • q close");
1348
+ } else if (mode === "output" && selectedTaskId) {
1349
+ const task = tasks.get(selectedTaskId);
1350
+ if (!task) {
1351
+ mode = "list";
1352
+ return render(width);
1353
+ }
1354
+
1355
+ const duration = formatDuration((task.endTime || Date.now()) - task.startTime);
1356
+ let statusText: string;
1357
+ switch (task.status) {
1358
+ case "running":
1359
+ statusText = `${FG_PURPLE}${getIcon("in_progress")} RUNNING${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`;
1360
+ break;
1361
+ case "completed":
1362
+ statusText = `${FG_LIGHT_GREEN}${getIcon("success")} COMPLETED${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`;
1363
+ break;
1364
+ case "killed":
1365
+ statusText = `${FG_LIGHT_RED}${getIcon("error")} KILLED${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`;
1366
+ break;
1367
+ default:
1368
+ statusText = `${FG_LIGHT_RED}! FAILED${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE}`;
1369
+ }
1370
+
1371
+ // Header - light blue on dark blue
1372
+ rawLines.push(
1373
+ `${FG_PURPLE}${theme.bold(" Task Output")}${RESET_ALL}${BG_DARK_GRAY}${FG_WHITE} ${statusText} (${duration})`
1374
+ );
1375
+ rawLines.push(` ${truncateCommand(task.command, width - 4)}`);
1376
+ rawLines.push("");
1377
+
1378
+ // Output content
1379
+ const outputText = task.output.join("");
1380
+ const outputLines = outputText.split("\n");
1381
+
1382
+ // Clamp scroll offset
1383
+ const maxScroll = Math.max(0, outputLines.length - (height - 8));
1384
+ scrollOffset = Math.min(scrollOffset, maxScroll);
1385
+
1386
+ const visibleLines = outputLines.slice(scrollOffset, scrollOffset + height - 8);
1387
+
1388
+ if (visibleLines.length === 0) {
1389
+ rawLines.push(" (no output yet)");
1390
+ } else {
1391
+ for (const line of visibleLines) {
1392
+ rawLines.push(` ${truncateToWidth(line, width - 2)}`);
1393
+ }
1394
+ }
1395
+
1396
+ // Scroll indicator
1397
+ if (outputLines.length > height - 8) {
1398
+ const scrollPct = Math.round((scrollOffset / maxScroll) * 100);
1399
+ rawLines.push("");
1400
+ rawLines.push(
1401
+ ` [${scrollOffset + 1}-${Math.min(scrollOffset + height - 8, outputLines.length)}/${outputLines.length}] ${scrollPct}%`
1402
+ );
1403
+ }
1404
+
1405
+ rawLines.push("");
1406
+ const killHint = task.status === "running" ? " • k kill" : "";
1407
+ rawLines.push(` Esc/q back • ↑↓ scroll • g/G top/bottom${killHint}`);
1408
+ }
1409
+
1410
+ // Apply dark blue background to all lines
1411
+ cachedLines = rawLines.map((line) => withDarkBlueBg(line, width));
1412
+ return cachedLines;
1413
+ }
1414
+
1415
+ return {
1416
+ render,
1417
+ invalidate: () => {
1418
+ cachedLines = undefined;
1419
+ },
1420
+ handleInput,
1421
+ };
1422
+ });
1423
+
1424
+ // Force a full re-render to clean up stale content from the full-screen viewer.
1425
+ // showExtensionCustom only calls requestRender() (non-force) when restoring the editor,
1426
+ // which leaves stale lines on screen because clearOnShrink is off by default.
1427
+ tuiRef?.requestRender(true);
1428
+ syncTaskState(ctx);
1429
+ },
1430
+ });
1431
+
1432
+ // Command: /toggle-inline-results — Enable or disable inline completion notifications
1433
+ pi.registerCommand("toggle-inline-results", {
1434
+ description: "Toggle inline result notifications for background tasks and subagents",
1435
+ handler: async (_args, ctx) => {
1436
+ const settingsPath = path.join(os.homedir(), ".tallow", "settings.json");
1437
+ let settings: Record<string, unknown> = {};
1438
+ try {
1439
+ const raw = fs.readFileSync(settingsPath, "utf-8");
1440
+ settings = JSON.parse(raw) as Record<string, unknown>;
1441
+ } catch {
1442
+ /* no settings file yet */
1443
+ }
1444
+
1445
+ const current = settings.inlineAgentResults !== false;
1446
+ settings.inlineAgentResults = !current;
1447
+
1448
+ fs.mkdirSync(path.dirname(settingsPath), { recursive: true });
1449
+ fs.writeFileSync(settingsPath, JSON.stringify(settings, null, "\t"), "utf-8");
1450
+
1451
+ const state = settings.inlineAgentResults ? "enabled" : "disabled";
1452
+ ctx.ui.notify(`Inline agent results: ${state}`, "info");
1453
+ },
1454
+ });
1455
+
1456
+ // Cleanup on session end
1457
+ pi.on("session_shutdown", async () => {
1458
+ // Kill all running tasks and unregister PIDs
1459
+ for (const task of tasks.values()) {
1460
+ if (task.status === "running") {
1461
+ if (task.process) {
1462
+ if (task.process.pid != null) unregisterPid(task.process.pid);
1463
+ task.process.kill("SIGTERM");
1464
+ } else {
1465
+ const abort = promotedAbortControllers.get(task.id);
1466
+ if (abort) abort.abort();
1467
+ }
1468
+ }
1469
+ }
1470
+ tasks.clear();
1471
+ promotedAbortControllers.clear();
1472
+ publishBackgroundTaskSnapshot(pi.events);
1473
+ interopStateRequestCleanup?.();
1474
+ interopStateRequestCleanup = undefined;
1475
+ });
1476
+
1477
+ // Capture TUI reference and update status on session start
1478
+ pi.on("session_start", async (_event, ctx) => {
1479
+ // Capture TUI via a throwaway widget so Loader can be used in renderResult
1480
+ ctx.ui.setWidget("bg-tasks-tui-capture", (tui, _theme) => {
1481
+ tuiRef = tui;
1482
+ return { render: () => [], invalidate: () => {} };
1483
+ });
1484
+ // Immediately remove — we just needed the reference
1485
+ ctx.ui.setWidget("bg-tasks-tui-capture", undefined);
1486
+
1487
+ ctx.ui.setStatus("bg-tasks", undefined);
1488
+ syncTaskState(ctx);
1489
+ });
1490
+
1491
+ // Register Ctrl+Shift+B shortcut for background tasks
1492
+ // Note: only works when TUI is idle, not during tool execution
1493
+ pi.registerShortcut(Key.ctrlShift("b"), {
1494
+ description: "Show background tasks (Note: use bg_bash tool to run commands in background)",
1495
+ handler: async (ctx) => {
1496
+ const running = [...tasks.values()].filter((t) => t.status === "running");
1497
+
1498
+ if (running.length === 0) {
1499
+ ctx.ui.notify(
1500
+ "No background tasks running.\n\n" +
1501
+ "To run a command in background, ask the agent to use the bg_bash tool,\n" +
1502
+ "or say 'run [command] in the background'.",
1503
+ "info"
1504
+ );
1505
+ } else {
1506
+ const lines = running.map((t) => {
1507
+ const duration = formatDuration(Date.now() - t.startTime);
1508
+ return `${getIcon("in_progress")} ${t.id}: ${truncateCommand(t.command, 40)} (${duration})`;
1509
+ });
1510
+ ctx.ui.notify(`Running Background Tasks:\n${lines.join("\n")}`, "info");
1511
+ }
1512
+ },
1513
+ });
1514
+
1515
+ // Enforce shell policy for bg_bash tool calls — denies denylist hits outright
1516
+ // and prompts for confirmation on high-risk commands in interactive mode.
1517
+ pi.on("tool_call", async (event, ctx) => {
1518
+ if (event.toolName !== "bg_bash") return;
1519
+
1520
+ const command = (event.input as Record<string, unknown>).command as string | undefined;
1521
+ if (!command) return;
1522
+
1523
+ return enforceExplicitPolicy(command, "bg_bash", ctx.cwd, ctx.hasUI, (msg) =>
1524
+ ctx.ui.confirm("Shell Policy", msg)
1525
+ );
1526
+ });
1527
+
1528
+ pi.on("tool_result", async (event, ctx) => {
1529
+ if (event.toolName !== "bg_bash") return;
1530
+ const command = (event.input as Record<string, unknown>).command;
1531
+ if (typeof command !== "string" || command.trim().length === 0) return;
1532
+
1533
+ const details = (
1534
+ event as unknown as { details?: { exitCode?: number | null; status?: string } }
1535
+ ).details;
1536
+ recordAudit({
1537
+ timestamp: Date.now(),
1538
+ command: command.trim(),
1539
+ source: "bg_bash",
1540
+ trustLevel: "explicit",
1541
+ cwd: ctx.cwd,
1542
+ outcome: event.isError || details?.status === "failed" ? "failed" : "executed",
1543
+ exitCode: details?.exitCode ?? null,
1544
+ });
1545
+ });
1546
+
1547
+ // Intercept bash commands with & backgrounding and block them
1548
+ // This prevents the common mistake of using `bash &` which hangs forever
1549
+ pi.on("tool_call", async (event, _ctx) => {
1550
+ if (event.toolName !== "bash") return;
1551
+
1552
+ const command = event.input?.command as string | undefined;
1553
+ if (!command) return;
1554
+
1555
+ if (detectsBackgroundAmpersand(command)) {
1556
+ return {
1557
+ block: true,
1558
+ reason:
1559
+ "Cannot use & to background processes in bash - it will hang forever.\n" +
1560
+ "Use the bg_bash tool instead for background tasks.",
1561
+ };
1562
+ }
1563
+
1564
+ const hangReason = detectsHangPattern(command);
1565
+ if (hangReason) {
1566
+ return {
1567
+ block: true,
1568
+ reason: `This command is likely to hang: ${hangReason}\n\nUse bg_bash instead for commands that may not exit promptly.`,
1569
+ };
1570
+ }
1571
+ });
1572
+ }