@harborclient/core 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (736) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE +21 -0
  3. package/README.md +36 -0
  4. package/dist/ai/chatComposer.d.ts +12 -0
  5. package/dist/ai/chatComposer.d.ts.map +1 -0
  6. package/dist/ai/chatComposer.js +20 -0
  7. package/dist/ai/chatComposer.js.map +1 -0
  8. package/dist/ai/chatContext.d.ts +181 -0
  9. package/dist/ai/chatContext.d.ts.map +1 -0
  10. package/dist/ai/chatContext.js +168 -0
  11. package/dist/ai/chatContext.js.map +1 -0
  12. package/dist/ai/chatStepMode.d.ts +43 -0
  13. package/dist/ai/chatStepMode.d.ts.map +1 -0
  14. package/dist/ai/chatStepMode.js +64 -0
  15. package/dist/ai/chatStepMode.js.map +1 -0
  16. package/dist/ai/chatTitle.d.ts +35 -0
  17. package/dist/ai/chatTitle.d.ts.map +1 -0
  18. package/dist/ai/chatTitle.js +109 -0
  19. package/dist/ai/chatTitle.js.map +1 -0
  20. package/dist/ai/gitCommitMessage.d.ts +47 -0
  21. package/dist/ai/gitCommitMessage.d.ts.map +1 -0
  22. package/dist/ai/gitCommitMessage.js +139 -0
  23. package/dist/ai/gitCommitMessage.js.map +1 -0
  24. package/dist/ai/models.d.ts +115 -0
  25. package/dist/ai/models.d.ts.map +1 -0
  26. package/dist/ai/models.js +209 -0
  27. package/dist/ai/models.js.map +1 -0
  28. package/dist/ai/requestUpdate.d.ts +273 -0
  29. package/dist/ai/requestUpdate.d.ts.map +1 -0
  30. package/dist/ai/requestUpdate.js +274 -0
  31. package/dist/ai/requestUpdate.js.map +1 -0
  32. package/dist/ai/scriptAsk.d.ts +115 -0
  33. package/dist/ai/scriptAsk.d.ts.map +1 -0
  34. package/dist/ai/scriptAsk.js +243 -0
  35. package/dist/ai/scriptAsk.js.map +1 -0
  36. package/dist/ai/scriptReferences.d.ts +377 -0
  37. package/dist/ai/scriptReferences.d.ts.map +1 -0
  38. package/dist/ai/scriptReferences.js +787 -0
  39. package/dist/ai/scriptReferences.js.map +1 -0
  40. package/dist/ai/settings.d.ts +8 -0
  41. package/dist/ai/settings.d.ts.map +1 -0
  42. package/dist/ai/settings.js +11 -0
  43. package/dist/ai/settings.js.map +1 -0
  44. package/dist/ai/tools/ITool.d.ts +26 -0
  45. package/dist/ai/tools/ITool.d.ts.map +1 -0
  46. package/dist/ai/tools/ITool.js +2 -0
  47. package/dist/ai/tools/ITool.js.map +1 -0
  48. package/dist/ai/tools/createCollection.d.ts +164 -0
  49. package/dist/ai/tools/createCollection.d.ts.map +1 -0
  50. package/dist/ai/tools/createCollection.js +36 -0
  51. package/dist/ai/tools/createCollection.js.map +1 -0
  52. package/dist/ai/tools/createFolder.d.ts +50 -0
  53. package/dist/ai/tools/createFolder.d.ts.map +1 -0
  54. package/dist/ai/tools/createFolder.js +34 -0
  55. package/dist/ai/tools/createFolder.js.map +1 -0
  56. package/dist/ai/tools/createRequest.d.ts +210 -0
  57. package/dist/ai/tools/createRequest.d.ts.map +1 -0
  58. package/dist/ai/tools/createRequest.js +88 -0
  59. package/dist/ai/tools/createRequest.js.map +1 -0
  60. package/dist/ai/tools/getActiveRequest.d.ts +20 -0
  61. package/dist/ai/tools/getActiveRequest.d.ts.map +1 -0
  62. package/dist/ai/tools/getActiveRequest.js +16 -0
  63. package/dist/ai/tools/getActiveRequest.js.map +1 -0
  64. package/dist/ai/tools/getActiveRequestDetails.d.ts +20 -0
  65. package/dist/ai/tools/getActiveRequestDetails.d.ts.map +1 -0
  66. package/dist/ai/tools/getActiveRequestDetails.js +16 -0
  67. package/dist/ai/tools/getActiveRequestDetails.js.map +1 -0
  68. package/dist/ai/tools/getActiveResponse.d.ts +39 -0
  69. package/dist/ai/tools/getActiveResponse.d.ts.map +1 -0
  70. package/dist/ai/tools/getActiveResponse.js +30 -0
  71. package/dist/ai/tools/getActiveResponse.js.map +1 -0
  72. package/dist/ai/tools/getActiveResponseSummary.d.ts +20 -0
  73. package/dist/ai/tools/getActiveResponseSummary.d.ts.map +1 -0
  74. package/dist/ai/tools/getActiveResponseSummary.js +16 -0
  75. package/dist/ai/tools/getActiveResponseSummary.js.map +1 -0
  76. package/dist/ai/tools/getActiveTerminal.d.ts +20 -0
  77. package/dist/ai/tools/getActiveTerminal.d.ts.map +1 -0
  78. package/dist/ai/tools/getActiveTerminal.js +16 -0
  79. package/dist/ai/tools/getActiveTerminal.js.map +1 -0
  80. package/dist/ai/tools/getActiveTerminalLines.d.ts +50 -0
  81. package/dist/ai/tools/getActiveTerminalLines.d.ts.map +1 -0
  82. package/dist/ai/tools/getActiveTerminalLines.js +37 -0
  83. package/dist/ai/tools/getActiveTerminalLines.js.map +1 -0
  84. package/dist/ai/tools/getCollection.d.ts +31 -0
  85. package/dist/ai/tools/getCollection.d.ts.map +1 -0
  86. package/dist/ai/tools/getCollection.js +28 -0
  87. package/dist/ai/tools/getCollection.js.map +1 -0
  88. package/dist/ai/tools/getFolder.d.ts +31 -0
  89. package/dist/ai/tools/getFolder.d.ts.map +1 -0
  90. package/dist/ai/tools/getFolder.js +28 -0
  91. package/dist/ai/tools/getFolder.js.map +1 -0
  92. package/dist/ai/tools/getMarkdownDocument.d.ts +40 -0
  93. package/dist/ai/tools/getMarkdownDocument.d.ts.map +1 -0
  94. package/dist/ai/tools/getMarkdownDocument.js +31 -0
  95. package/dist/ai/tools/getMarkdownDocument.js.map +1 -0
  96. package/dist/ai/tools/getRequest.d.ts +31 -0
  97. package/dist/ai/tools/getRequest.d.ts.map +1 -0
  98. package/dist/ai/tools/getRequest.js +28 -0
  99. package/dist/ai/tools/getRequest.js.map +1 -0
  100. package/dist/ai/tools/getSelectedCollection.d.ts +20 -0
  101. package/dist/ai/tools/getSelectedCollection.d.ts.map +1 -0
  102. package/dist/ai/tools/getSelectedCollection.js +16 -0
  103. package/dist/ai/tools/getSelectedCollection.js.map +1 -0
  104. package/dist/ai/tools/getSidebarRequest.d.ts +20 -0
  105. package/dist/ai/tools/getSidebarRequest.d.ts.map +1 -0
  106. package/dist/ai/tools/getSidebarRequest.js +16 -0
  107. package/dist/ai/tools/getSidebarRequest.js.map +1 -0
  108. package/dist/ai/tools/gitCommits.d.ts +50 -0
  109. package/dist/ai/tools/gitCommits.d.ts.map +1 -0
  110. package/dist/ai/tools/gitCommits.js +37 -0
  111. package/dist/ai/tools/gitCommits.js.map +1 -0
  112. package/dist/ai/tools/gitDiff.d.ts +70 -0
  113. package/dist/ai/tools/gitDiff.d.ts.map +1 -0
  114. package/dist/ai/tools/gitDiff.js +49 -0
  115. package/dist/ai/tools/gitDiff.js.map +1 -0
  116. package/dist/ai/tools/gitFileDiff.d.ts +80 -0
  117. package/dist/ai/tools/gitFileDiff.d.ts.map +1 -0
  118. package/dist/ai/tools/gitFileDiff.js +55 -0
  119. package/dist/ai/tools/gitFileDiff.js.map +1 -0
  120. package/dist/ai/tools/gitFileInfo.d.ts +60 -0
  121. package/dist/ai/tools/gitFileInfo.d.ts.map +1 -0
  122. package/dist/ai/tools/gitFileInfo.js +43 -0
  123. package/dist/ai/tools/gitFileInfo.js.map +1 -0
  124. package/dist/ai/tools/gitRepoInfo.d.ts +40 -0
  125. package/dist/ai/tools/gitRepoInfo.d.ts.map +1 -0
  126. package/dist/ai/tools/gitRepoInfo.js +31 -0
  127. package/dist/ai/tools/gitRepoInfo.js.map +1 -0
  128. package/dist/ai/tools/index.d.ts +1260 -0
  129. package/dist/ai/tools/index.d.ts.map +1 -0
  130. package/dist/ai/tools/index.js +100 -0
  131. package/dist/ai/tools/index.js.map +1 -0
  132. package/dist/ai/tools/listCollections.d.ts +20 -0
  133. package/dist/ai/tools/listCollections.d.ts.map +1 -0
  134. package/dist/ai/tools/listCollections.js +16 -0
  135. package/dist/ai/tools/listCollections.js.map +1 -0
  136. package/dist/ai/tools/listEnvironments.d.ts +20 -0
  137. package/dist/ai/tools/listEnvironments.d.ts.map +1 -0
  138. package/dist/ai/tools/listEnvironments.js +16 -0
  139. package/dist/ai/tools/listEnvironments.js.map +1 -0
  140. package/dist/ai/tools/listRequests.d.ts +40 -0
  141. package/dist/ai/tools/listRequests.d.ts.map +1 -0
  142. package/dist/ai/tools/listRequests.js +28 -0
  143. package/dist/ai/tools/listRequests.js.map +1 -0
  144. package/dist/ai/tools/queryResponseBody.d.ts +50 -0
  145. package/dist/ai/tools/queryResponseBody.d.ts.map +1 -0
  146. package/dist/ai/tools/queryResponseBody.js +37 -0
  147. package/dist/ai/tools/queryResponseBody.js.map +1 -0
  148. package/dist/ai/tools/schemas.d.ts +152 -0
  149. package/dist/ai/tools/schemas.d.ts.map +1 -0
  150. package/dist/ai/tools/schemas.js +81 -0
  151. package/dist/ai/tools/schemas.js.map +1 -0
  152. package/dist/ai/tools/searchDocs.d.ts +64 -0
  153. package/dist/ai/tools/searchDocs.d.ts.map +1 -0
  154. package/dist/ai/tools/searchDocs.js +44 -0
  155. package/dist/ai/tools/searchDocs.js.map +1 -0
  156. package/dist/ai/tools/sendActiveRequest.d.ts +39 -0
  157. package/dist/ai/tools/sendActiveRequest.d.ts.map +1 -0
  158. package/dist/ai/tools/sendActiveRequest.js +30 -0
  159. package/dist/ai/tools/sendActiveRequest.js.map +1 -0
  160. package/dist/ai/tools/setActiveEnvironment.d.ts +49 -0
  161. package/dist/ai/tools/setActiveEnvironment.d.ts.map +1 -0
  162. package/dist/ai/tools/setActiveEnvironment.js +36 -0
  163. package/dist/ai/tools/setActiveEnvironment.js.map +1 -0
  164. package/dist/ai/tools/systemPrompt.d.ts +5 -0
  165. package/dist/ai/tools/systemPrompt.d.ts.map +1 -0
  166. package/dist/ai/tools/systemPrompt.js +34 -0
  167. package/dist/ai/tools/systemPrompt.js.map +1 -0
  168. package/dist/ai/tools/terminalExec.d.ts +40 -0
  169. package/dist/ai/tools/terminalExec.d.ts.map +1 -0
  170. package/dist/ai/tools/terminalExec.js +31 -0
  171. package/dist/ai/tools/terminalExec.js.map +1 -0
  172. package/dist/ai/tools/types.d.ts +68 -0
  173. package/dist/ai/tools/types.d.ts.map +1 -0
  174. package/dist/ai/tools/types.js +2 -0
  175. package/dist/ai/tools/types.js.map +1 -0
  176. package/dist/ai/tools/updateActiveRequest.d.ts +279 -0
  177. package/dist/ai/tools/updateActiveRequest.d.ts.map +1 -0
  178. package/dist/ai/tools/updateActiveRequest.js +175 -0
  179. package/dist/ai/tools/updateActiveRequest.js.map +1 -0
  180. package/dist/ai/tools/updateRequestScript.d.ts +93 -0
  181. package/dist/ai/tools/updateRequestScript.d.ts.map +1 -0
  182. package/dist/ai/tools/updateRequestScript.js +57 -0
  183. package/dist/ai/tools/updateRequestScript.js.map +1 -0
  184. package/dist/auth.d.ts +192 -0
  185. package/dist/auth.d.ts.map +1 -0
  186. package/dist/auth.js +294 -0
  187. package/dist/auth.js.map +1 -0
  188. package/dist/bodyRawSend.d.ts +25 -0
  189. package/dist/bodyRawSend.d.ts.map +1 -0
  190. package/dist/bodyRawSend.js +61 -0
  191. package/dist/bodyRawSend.js.map +1 -0
  192. package/dist/builtinThemes.d.ts +33 -0
  193. package/dist/builtinThemes.d.ts.map +1 -0
  194. package/dist/builtinThemes.js +40 -0
  195. package/dist/builtinThemes.js.map +1 -0
  196. package/dist/codeEditorSettings.d.ts +2 -0
  197. package/dist/codeEditorSettings.d.ts.map +1 -0
  198. package/dist/codeEditorSettings.js +2 -0
  199. package/dist/codeEditorSettings.js.map +1 -0
  200. package/dist/collectionContainerOrder.d.ts +42 -0
  201. package/dist/collectionContainerOrder.d.ts.map +1 -0
  202. package/dist/collectionContainerOrder.js +62 -0
  203. package/dist/collectionContainerOrder.js.map +1 -0
  204. package/dist/collectionRunner.d.ts +510 -0
  205. package/dist/collectionRunner.d.ts.map +1 -0
  206. package/dist/collectionRunner.js +296 -0
  207. package/dist/collectionRunner.js.map +1 -0
  208. package/dist/contrast.d.ts +16 -0
  209. package/dist/contrast.d.ts.map +1 -0
  210. package/dist/contrast.js +51 -0
  211. package/dist/contrast.js.map +1 -0
  212. package/dist/cookies/CookieJar.d.ts +151 -0
  213. package/dist/cookies/CookieJar.d.ts.map +1 -0
  214. package/dist/cookies/CookieJar.js +318 -0
  215. package/dist/cookies/CookieJar.js.map +1 -0
  216. package/dist/deepLink.d.ts +98 -0
  217. package/dist/deepLink.d.ts.map +1 -0
  218. package/dist/deepLink.js +211 -0
  219. package/dist/deepLink.js.map +1 -0
  220. package/dist/environmentVariables.d.ts +34 -0
  221. package/dist/environmentVariables.d.ts.map +1 -0
  222. package/dist/environmentVariables.js +56 -0
  223. package/dist/environmentVariables.js.map +1 -0
  224. package/dist/filestore/index.d.ts +16 -0
  225. package/dist/filestore/index.d.ts.map +1 -0
  226. package/dist/filestore/index.js +16 -0
  227. package/dist/filestore/index.js.map +1 -0
  228. package/dist/filestore/parse.d.ts +44 -0
  229. package/dist/filestore/parse.d.ts.map +1 -0
  230. package/dist/filestore/parse.js +80 -0
  231. package/dist/filestore/parse.js.map +1 -0
  232. package/dist/filestore/schemas.d.ts +1612 -0
  233. package/dist/filestore/schemas.d.ts.map +1 -0
  234. package/dist/filestore/schemas.js +586 -0
  235. package/dist/filestore/schemas.js.map +1 -0
  236. package/dist/filestore/snippet.d.ts +10 -0
  237. package/dist/filestore/snippet.d.ts.map +1 -0
  238. package/dist/filestore/snippet.js +43 -0
  239. package/dist/filestore/snippet.js.map +1 -0
  240. package/dist/filestore/storageSchemas.d.ts +123 -0
  241. package/dist/filestore/storageSchemas.d.ts.map +1 -0
  242. package/dist/filestore/storageSchemas.js +94 -0
  243. package/dist/filestore/storageSchemas.js.map +1 -0
  244. package/dist/filestore/stringify.d.ts +59 -0
  245. package/dist/filestore/stringify.d.ts.map +1 -0
  246. package/dist/filestore/stringify.js +103 -0
  247. package/dist/filestore/stringify.js.map +1 -0
  248. package/dist/filestore/validate.d.ts +60 -0
  249. package/dist/filestore/validate.d.ts.map +1 -0
  250. package/dist/filestore/validate.js +118 -0
  251. package/dist/filestore/validate.js.map +1 -0
  252. package/dist/filestore/variables.d.ts +9 -0
  253. package/dist/filestore/variables.d.ts.map +1 -0
  254. package/dist/filestore/variables.js +15 -0
  255. package/dist/filestore/variables.js.map +1 -0
  256. package/dist/formData.d.ts +2 -0
  257. package/dist/formData.d.ts.map +1 -0
  258. package/dist/formData.js +2 -0
  259. package/dist/formData.js.map +1 -0
  260. package/dist/generalSettings.d.ts +22 -0
  261. package/dist/generalSettings.d.ts.map +1 -0
  262. package/dist/generalSettings.js +188 -0
  263. package/dist/generalSettings.js.map +1 -0
  264. package/dist/gitHttpErrors.d.ts +125 -0
  265. package/dist/gitHttpErrors.d.ts.map +1 -0
  266. package/dist/gitHttpErrors.js +271 -0
  267. package/dist/gitHttpErrors.js.map +1 -0
  268. package/dist/gitSidebarExpansion.d.ts +22 -0
  269. package/dist/gitSidebarExpansion.d.ts.map +1 -0
  270. package/dist/gitSidebarExpansion.js +16 -0
  271. package/dist/gitSidebarExpansion.js.map +1 -0
  272. package/dist/gitUrl.d.ts +39 -0
  273. package/dist/gitUrl.d.ts.map +1 -0
  274. package/dist/gitUrl.js +105 -0
  275. package/dist/gitUrl.js.map +1 -0
  276. package/dist/harborclientExport.d.ts +23 -0
  277. package/dist/harborclientExport.d.ts.map +1 -0
  278. package/dist/harborclientExport.js +39 -0
  279. package/dist/harborclientExport.js.map +1 -0
  280. package/dist/highContrastPalette.d.ts +91 -0
  281. package/dist/highContrastPalette.d.ts.map +1 -0
  282. package/dist/highContrastPalette.js +118 -0
  283. package/dist/highContrastPalette.js.map +1 -0
  284. package/dist/httpHeaders.d.ts +2 -0
  285. package/dist/httpHeaders.d.ts.map +1 -0
  286. package/dist/httpHeaders.js +2 -0
  287. package/dist/httpHeaders.js.map +1 -0
  288. package/dist/httpMethod.d.ts +9 -0
  289. package/dist/httpMethod.d.ts.map +1 -0
  290. package/dist/httpMethod.js +23 -0
  291. package/dist/httpMethod.js.map +1 -0
  292. package/dist/index.d.ts +18 -0
  293. package/dist/index.d.ts.map +1 -0
  294. package/dist/index.js +16 -0
  295. package/dist/index.js.map +1 -0
  296. package/dist/interfaces/ICookieJar.d.ts +41 -0
  297. package/dist/interfaces/ICookieJar.d.ts.map +1 -0
  298. package/dist/interfaces/ICookieJar.js +2 -0
  299. package/dist/interfaces/ICookieJar.js.map +1 -0
  300. package/dist/interfaces/IScriptRunner.d.ts +20 -0
  301. package/dist/interfaces/IScriptRunner.d.ts.map +1 -0
  302. package/dist/interfaces/IScriptRunner.js +2 -0
  303. package/dist/interfaces/IScriptRunner.js.map +1 -0
  304. package/dist/interfaces/PluginHooks.d.ts +24 -0
  305. package/dist/interfaces/PluginHooks.d.ts.map +1 -0
  306. package/dist/interfaces/PluginHooks.js +2 -0
  307. package/dist/interfaces/PluginHooks.js.map +1 -0
  308. package/dist/interfaces/SettingsProvider.d.ts +20 -0
  309. package/dist/interfaces/SettingsProvider.d.ts.map +1 -0
  310. package/dist/interfaces/SettingsProvider.js +2 -0
  311. package/dist/interfaces/SettingsProvider.js.map +1 -0
  312. package/dist/interfaces/index.d.ts +5 -0
  313. package/dist/interfaces/index.d.ts.map +1 -0
  314. package/dist/interfaces/index.js +2 -0
  315. package/dist/interfaces/index.js.map +1 -0
  316. package/dist/mcpToolNames.d.ts +27 -0
  317. package/dist/mcpToolNames.d.ts.map +1 -0
  318. package/dist/mcpToolNames.js +41 -0
  319. package/dist/mcpToolNames.js.map +1 -0
  320. package/dist/multipartRaw.d.ts +85 -0
  321. package/dist/multipartRaw.d.ts.map +1 -0
  322. package/dist/multipartRaw.js +244 -0
  323. package/dist/multipartRaw.js.map +1 -0
  324. package/dist/network/executeHttpSend.d.ts +39 -0
  325. package/dist/network/executeHttpSend.d.ts.map +1 -0
  326. package/dist/network/executeHttpSend.js +60 -0
  327. package/dist/network/executeHttpSend.js.map +1 -0
  328. package/dist/pageSidebarSection.d.ts +35 -0
  329. package/dist/pageSidebarSection.d.ts.map +1 -0
  330. package/dist/pageSidebarSection.js +76 -0
  331. package/dist/pageSidebarSection.js.map +1 -0
  332. package/dist/parseJson.d.ts +8 -0
  333. package/dist/parseJson.d.ts.map +1 -0
  334. package/dist/parseJson.js +17 -0
  335. package/dist/parseJson.js.map +1 -0
  336. package/dist/plugin/catalog.d.ts +229 -0
  337. package/dist/plugin/catalog.d.ts.map +1 -0
  338. package/dist/plugin/catalog.js +248 -0
  339. package/dist/plugin/catalog.js.map +1 -0
  340. package/dist/plugin/catalogCategories.d.ts +30 -0
  341. package/dist/plugin/catalogCategories.d.ts.map +1 -0
  342. package/dist/plugin/catalogCategories.js +88 -0
  343. package/dist/plugin/catalogCategories.js.map +1 -0
  344. package/dist/plugin/customThemeExport.d.ts +95 -0
  345. package/dist/plugin/customThemeExport.d.ts.map +1 -0
  346. package/dist/plugin/customThemeExport.js +264 -0
  347. package/dist/plugin/customThemeExport.js.map +1 -0
  348. package/dist/plugin/databaseTypes.d.ts +90 -0
  349. package/dist/plugin/databaseTypes.d.ts.map +1 -0
  350. package/dist/plugin/databaseTypes.js +2 -0
  351. package/dist/plugin/databaseTypes.js.map +1 -0
  352. package/dist/plugin/githubRaw.d.ts +54 -0
  353. package/dist/plugin/githubRaw.d.ts.map +1 -0
  354. package/dist/plugin/githubRaw.js +138 -0
  355. package/dist/plugin/githubRaw.js.map +1 -0
  356. package/dist/plugin/httpRequest.d.ts +17 -0
  357. package/dist/plugin/httpRequest.d.ts.map +1 -0
  358. package/dist/plugin/httpRequest.js +45 -0
  359. package/dist/plugin/httpRequest.js.map +1 -0
  360. package/dist/plugin/importHandlers.d.ts +65 -0
  361. package/dist/plugin/importHandlers.d.ts.map +1 -0
  362. package/dist/plugin/importHandlers.js +2 -0
  363. package/dist/plugin/importHandlers.js.map +1 -0
  364. package/dist/plugin/pluginDatabaseApi.d.ts +39 -0
  365. package/dist/plugin/pluginDatabaseApi.d.ts.map +1 -0
  366. package/dist/plugin/pluginDatabaseApi.js +45 -0
  367. package/dist/plugin/pluginDatabaseApi.js.map +1 -0
  368. package/dist/plugin/pluginSurface.d.ts +20 -0
  369. package/dist/plugin/pluginSurface.d.ts.map +1 -0
  370. package/dist/plugin/pluginSurface.js +31 -0
  371. package/dist/plugin/pluginSurface.js.map +1 -0
  372. package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.d.ts +9 -0
  373. package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.d.ts.map +1 -0
  374. package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.js +132 -0
  375. package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.js.map +1 -0
  376. package/dist/plugin/themeCategory.d.ts +62 -0
  377. package/dist/plugin/themeCategory.d.ts.map +1 -0
  378. package/dist/plugin/themeCategory.js +84 -0
  379. package/dist/plugin/themeCategory.js.map +1 -0
  380. package/dist/plugin/types.d.ts +415 -0
  381. package/dist/plugin/types.d.ts.map +1 -0
  382. package/dist/plugin/types.js +81 -0
  383. package/dist/plugin/types.js.map +1 -0
  384. package/dist/queryParams.d.ts +63 -0
  385. package/dist/queryParams.d.ts.map +1 -0
  386. package/dist/queryParams.js +170 -0
  387. package/dist/queryParams.js.map +1 -0
  388. package/dist/requestEditorTab.d.ts +24 -0
  389. package/dist/requestEditorTab.d.ts.map +1 -0
  390. package/dist/requestEditorTab.js +44 -0
  391. package/dist/requestEditorTab.js.map +1 -0
  392. package/dist/requestRunner/RequestRunner.d.ts +39 -0
  393. package/dist/requestRunner/RequestRunner.d.ts.map +1 -0
  394. package/dist/requestRunner/RequestRunner.js +298 -0
  395. package/dist/requestRunner/RequestRunner.js.map +1 -0
  396. package/dist/requestRunner/helpers.d.ts +52 -0
  397. package/dist/requestRunner/helpers.d.ts.map +1 -0
  398. package/dist/requestRunner/helpers.js +195 -0
  399. package/dist/requestRunner/helpers.js.map +1 -0
  400. package/dist/requestRunner/index.d.ts +7 -0
  401. package/dist/requestRunner/index.d.ts.map +1 -0
  402. package/dist/requestRunner/index.js +6 -0
  403. package/dist/requestRunner/index.js.map +1 -0
  404. package/dist/requestRunner/types.d.ts +148 -0
  405. package/dist/requestRunner/types.d.ts.map +1 -0
  406. package/dist/requestRunner/types.js +2 -0
  407. package/dist/requestRunner/types.js.map +1 -0
  408. package/dist/requestTags.d.ts +22 -0
  409. package/dist/requestTags.d.ts.map +1 -0
  410. package/dist/requestTags.js +34 -0
  411. package/dist/requestTags.js.map +1 -0
  412. package/dist/scriptRefs.d.ts +190 -0
  413. package/dist/scriptRefs.d.ts.map +1 -0
  414. package/dist/scriptRefs.js +387 -0
  415. package/dist/scriptRefs.js.map +1 -0
  416. package/dist/scriptStage.d.ts +118 -0
  417. package/dist/scriptStage.d.ts.map +1 -0
  418. package/dist/scriptStage.js +204 -0
  419. package/dist/scriptStage.js.map +1 -0
  420. package/dist/scripting/scriptApi.d.ts +59 -0
  421. package/dist/scripting/scriptApi.d.ts.map +1 -0
  422. package/dist/scripting/scriptApi.js +692 -0
  423. package/dist/scripting/scriptApi.js.map +1 -0
  424. package/dist/scripting/scriptAssertionCompat.d.ts +21 -0
  425. package/dist/scripting/scriptAssertionCompat.d.ts.map +1 -0
  426. package/dist/scripting/scriptAssertionCompat.js +58 -0
  427. package/dist/scripting/scriptAssertionCompat.js.map +1 -0
  428. package/dist/scripting/scriptEvaluator.d.ts +42 -0
  429. package/dist/scripting/scriptEvaluator.d.ts.map +1 -0
  430. package/dist/scripting/scriptEvaluator.js +179 -0
  431. package/dist/scripting/scriptEvaluator.js.map +1 -0
  432. package/dist/scripting/scriptExpect.d.ts +3 -0
  433. package/dist/scripting/scriptExpect.d.ts.map +1 -0
  434. package/dist/scripting/scriptExpect.js +14 -0
  435. package/dist/scripting/scriptExpect.js.map +1 -0
  436. package/dist/scripting/scriptFileOperations.d.ts +172 -0
  437. package/dist/scripting/scriptFileOperations.d.ts.map +1 -0
  438. package/dist/scripting/scriptFileOperations.js +271 -0
  439. package/dist/scripting/scriptFileOperations.js.map +1 -0
  440. package/dist/scripting/scriptResponseAssertions.d.ts +40 -0
  441. package/dist/scripting/scriptResponseAssertions.d.ts.map +1 -0
  442. package/dist/scripting/scriptResponseAssertions.js +249 -0
  443. package/dist/scripting/scriptResponseAssertions.js.map +1 -0
  444. package/dist/scripting/scriptResponseDocument.d.ts +47 -0
  445. package/dist/scripting/scriptResponseDocument.d.ts.map +1 -0
  446. package/dist/scripting/scriptResponseDocument.js +49 -0
  447. package/dist/scripting/scriptResponseDocument.js.map +1 -0
  448. package/dist/scripting/scriptRunner.d.ts +2 -0
  449. package/dist/scripting/scriptRunner.d.ts.map +1 -0
  450. package/dist/scripting/scriptRunner.js +132 -0
  451. package/dist/scripting/scriptRunner.js.map +1 -0
  452. package/dist/scripting/scriptSnippetBundler.d.ts +46 -0
  453. package/dist/scripting/scriptSnippetBundler.d.ts.map +1 -0
  454. package/dist/scripting/scriptSnippetBundler.js +136 -0
  455. package/dist/scripting/scriptSnippetBundler.js.map +1 -0
  456. package/dist/search/actions.d.ts +44 -0
  457. package/dist/search/actions.d.ts.map +1 -0
  458. package/dist/search/actions.js +120 -0
  459. package/dist/search/actions.js.map +1 -0
  460. package/dist/search/index.d.ts +13 -0
  461. package/dist/search/index.d.ts.map +1 -0
  462. package/dist/search/index.js +13 -0
  463. package/dist/search/index.js.map +1 -0
  464. package/dist/search/installedPlugins.d.ts +31 -0
  465. package/dist/search/installedPlugins.d.ts.map +1 -0
  466. package/dist/search/installedPlugins.js +73 -0
  467. package/dist/search/installedPlugins.js.map +1 -0
  468. package/dist/search/oramaIndex.d.ts +47 -0
  469. package/dist/search/oramaIndex.d.ts.map +1 -0
  470. package/dist/search/oramaIndex.js +56 -0
  471. package/dist/search/oramaIndex.js.map +1 -0
  472. package/dist/search/pagesCatalog.d.ts +34 -0
  473. package/dist/search/pagesCatalog.d.ts.map +1 -0
  474. package/dist/search/pagesCatalog.js +37 -0
  475. package/dist/search/pagesCatalog.js.map +1 -0
  476. package/dist/search/plugins.d.ts +40 -0
  477. package/dist/search/plugins.d.ts.map +1 -0
  478. package/dist/search/plugins.js +79 -0
  479. package/dist/search/plugins.js.map +1 -0
  480. package/dist/search/settings.d.ts +29 -0
  481. package/dist/search/settings.d.ts.map +1 -0
  482. package/dist/search/settings.js +63 -0
  483. package/dist/search/settings.js.map +1 -0
  484. package/dist/search/settingsCatalog.d.ts +112 -0
  485. package/dist/search/settingsCatalog.d.ts.map +1 -0
  486. package/dist/search/settingsCatalog.js +426 -0
  487. package/dist/search/settingsCatalog.js.map +1 -0
  488. package/dist/search/sidebar.d.ts +139 -0
  489. package/dist/search/sidebar.d.ts.map +1 -0
  490. package/dist/search/sidebar.js +342 -0
  491. package/dist/search/sidebar.js.map +1 -0
  492. package/dist/search/slashCommands.d.ts +45 -0
  493. package/dist/search/slashCommands.d.ts.map +1 -0
  494. package/dist/search/slashCommands.js +71 -0
  495. package/dist/search/slashCommands.js.map +1 -0
  496. package/dist/search/snippets.d.ts +48 -0
  497. package/dist/search/snippets.d.ts.map +1 -0
  498. package/dist/search/snippets.js +114 -0
  499. package/dist/search/snippets.js.map +1 -0
  500. package/dist/search/types.d.ts +60 -0
  501. package/dist/search/types.d.ts.map +1 -0
  502. package/dist/search/types.js +49 -0
  503. package/dist/search/types.js.map +1 -0
  504. package/dist/search/unified.d.ts +57 -0
  505. package/dist/search/unified.d.ts.map +1 -0
  506. package/dist/search/unified.js +153 -0
  507. package/dist/search/unified.js.map +1 -0
  508. package/dist/shortcuts.d.ts +174 -0
  509. package/dist/shortcuts.d.ts.map +1 -0
  510. package/dist/shortcuts.js +1040 -0
  511. package/dist/shortcuts.js.map +1 -0
  512. package/dist/sidebarColor.d.ts +16 -0
  513. package/dist/sidebarColor.d.ts.map +1 -0
  514. package/dist/sidebarColor.js +21 -0
  515. package/dist/sidebarColor.js.map +1 -0
  516. package/dist/sidebarExpansion.d.ts +12 -0
  517. package/dist/sidebarExpansion.d.ts.map +1 -0
  518. package/dist/sidebarExpansion.js +116 -0
  519. package/dist/sidebarExpansion.js.map +1 -0
  520. package/dist/snippet/catalog.d.ts +120 -0
  521. package/dist/snippet/catalog.d.ts.map +1 -0
  522. package/dist/snippet/catalog.js +105 -0
  523. package/dist/snippet/catalog.js.map +1 -0
  524. package/dist/snippet/types.d.ts +90 -0
  525. package/dist/snippet/types.d.ts.map +1 -0
  526. package/dist/snippet/types.js +2 -0
  527. package/dist/snippet/types.js.map +1 -0
  528. package/dist/snippetBundle.d.ts +21 -0
  529. package/dist/snippetBundle.d.ts.map +1 -0
  530. package/dist/snippetBundle.js +107 -0
  531. package/dist/snippetBundle.js.map +1 -0
  532. package/dist/snippetImport.d.ts +19 -0
  533. package/dist/snippetImport.d.ts.map +1 -0
  534. package/dist/snippetImport.js +34 -0
  535. package/dist/snippetImport.js.map +1 -0
  536. package/dist/snippetScope.d.ts +42 -0
  537. package/dist/snippetScope.d.ts.map +1 -0
  538. package/dist/snippetScope.js +50 -0
  539. package/dist/snippetScope.js.map +1 -0
  540. package/dist/storage/IStorage.d.ts +375 -0
  541. package/dist/storage/IStorage.d.ts.map +1 -0
  542. package/dist/storage/IStorage.js +2 -0
  543. package/dist/storage/IStorage.js.map +1 -0
  544. package/dist/themes.d.ts +24 -0
  545. package/dist/themes.d.ts.map +1 -0
  546. package/dist/themes.js +10 -0
  547. package/dist/themes.js.map +1 -0
  548. package/dist/types/ai.d.ts +304 -0
  549. package/dist/types/ai.d.ts.map +1 -0
  550. package/dist/types/ai.js +2 -0
  551. package/dist/types/ai.js.map +1 -0
  552. package/dist/types/api/backup.d.ts +27 -0
  553. package/dist/types/api/backup.d.ts.map +1 -0
  554. package/dist/types/api/backup.js +2 -0
  555. package/dist/types/api/backup.js.map +1 -0
  556. package/dist/types/api/chats.d.ts +88 -0
  557. package/dist/types/api/chats.d.ts.map +1 -0
  558. package/dist/types/api/chats.js +2 -0
  559. package/dist/types/api/chats.js.map +1 -0
  560. package/dist/types/api/collections.d.ts +251 -0
  561. package/dist/types/api/collections.d.ts.map +1 -0
  562. package/dist/types/api/collections.js +2 -0
  563. package/dist/types/api/collections.js.map +1 -0
  564. package/dist/types/api/customThemes.d.ts +68 -0
  565. package/dist/types/api/customThemes.d.ts.map +1 -0
  566. package/dist/types/api/customThemes.js +2 -0
  567. package/dist/types/api/customThemes.js.map +1 -0
  568. package/dist/types/api/docs.d.ts +14 -0
  569. package/dist/types/api/docs.d.ts.map +1 -0
  570. package/dist/types/api/docs.js +2 -0
  571. package/dist/types/api/docs.js.map +1 -0
  572. package/dist/types/api/documents.d.ts +51 -0
  573. package/dist/types/api/documents.d.ts.map +1 -0
  574. package/dist/types/api/documents.js +2 -0
  575. package/dist/types/api/documents.js.map +1 -0
  576. package/dist/types/api/environments.d.ts +57 -0
  577. package/dist/types/api/environments.d.ts.map +1 -0
  578. package/dist/types/api/environments.js +2 -0
  579. package/dist/types/api/environments.js.map +1 -0
  580. package/dist/types/api/git.d.ts +392 -0
  581. package/dist/types/api/git.d.ts.map +1 -0
  582. package/dist/types/api/git.js +2 -0
  583. package/dist/types/api/git.js.map +1 -0
  584. package/dist/types/api/http.d.ts +47 -0
  585. package/dist/types/api/http.d.ts.map +1 -0
  586. package/dist/types/api/http.js +2 -0
  587. package/dist/types/api/http.js.map +1 -0
  588. package/dist/types/api/index.d.ts +28 -0
  589. package/dist/types/api/index.d.ts.map +1 -0
  590. package/dist/types/api/index.js +2 -0
  591. package/dist/types/api/index.js.map +1 -0
  592. package/dist/types/api/mcp.d.ts +77 -0
  593. package/dist/types/api/mcp.d.ts.map +1 -0
  594. package/dist/types/api/mcp.js +2 -0
  595. package/dist/types/api/mcp.js.map +1 -0
  596. package/dist/types/api/plugins.d.ts +338 -0
  597. package/dist/types/api/plugins.d.ts.map +1 -0
  598. package/dist/types/api/plugins.js +2 -0
  599. package/dist/types/api/plugins.js.map +1 -0
  600. package/dist/types/api/requestHistory.d.ts +27 -0
  601. package/dist/types/api/requestHistory.d.ts.map +1 -0
  602. package/dist/types/api/requestHistory.js +2 -0
  603. package/dist/types/api/requestHistory.js.map +1 -0
  604. package/dist/types/api/requests.d.ts +35 -0
  605. package/dist/types/api/requests.d.ts.map +1 -0
  606. package/dist/types/api/requests.js +2 -0
  607. package/dist/types/api/requests.js.map +1 -0
  608. package/dist/types/api/settings.d.ts +163 -0
  609. package/dist/types/api/settings.d.ts.map +1 -0
  610. package/dist/types/api/settings.js +2 -0
  611. package/dist/types/api/settings.js.map +1 -0
  612. package/dist/types/api/sharing.d.ts +68 -0
  613. package/dist/types/api/sharing.d.ts.map +1 -0
  614. package/dist/types/api/sharing.js +2 -0
  615. package/dist/types/api/sharing.js.map +1 -0
  616. package/dist/types/api/snippets.d.ts +159 -0
  617. package/dist/types/api/snippets.d.ts.map +1 -0
  618. package/dist/types/api/snippets.js +2 -0
  619. package/dist/types/api/snippets.js.map +1 -0
  620. package/dist/types/api/storage.d.ts +57 -0
  621. package/dist/types/api/storage.d.ts.map +1 -0
  622. package/dist/types/api/storage.js +2 -0
  623. package/dist/types/api/storage.js.map +1 -0
  624. package/dist/types/api/tabGroup.d.ts +43 -0
  625. package/dist/types/api/tabGroup.d.ts.map +1 -0
  626. package/dist/types/api/tabGroup.js +2 -0
  627. package/dist/types/api/tabGroup.js.map +1 -0
  628. package/dist/types/api/teamHub.d.ts +225 -0
  629. package/dist/types/api/teamHub.d.ts.map +1 -0
  630. package/dist/types/api/teamHub.js +2 -0
  631. package/dist/types/api/teamHub.js.map +1 -0
  632. package/dist/types/api/terminal.d.ts +101 -0
  633. package/dist/types/api/terminal.d.ts.map +1 -0
  634. package/dist/types/api/terminal.js +2 -0
  635. package/dist/types/api/terminal.js.map +1 -0
  636. package/dist/types/api/trash.d.ts +27 -0
  637. package/dist/types/api/trash.d.ts.map +1 -0
  638. package/dist/types/api/trash.js +2 -0
  639. package/dist/types/api/trash.js.map +1 -0
  640. package/dist/types/api/window.d.ts +251 -0
  641. package/dist/types/api/window.d.ts.map +1 -0
  642. package/dist/types/api/window.js +2 -0
  643. package/dist/types/api/window.js.map +1 -0
  644. package/dist/types/app.d.ts +83 -0
  645. package/dist/types/app.d.ts.map +1 -0
  646. package/dist/types/app.js +2 -0
  647. package/dist/types/app.js.map +1 -0
  648. package/dist/types/collection.d.ts +559 -0
  649. package/dist/types/collection.d.ts.map +1 -0
  650. package/dist/types/collection.js +2 -0
  651. package/dist/types/collection.js.map +1 -0
  652. package/dist/types/common.d.ts +23 -0
  653. package/dist/types/common.d.ts.map +1 -0
  654. package/dist/types/common.js +2 -0
  655. package/dist/types/common.js.map +1 -0
  656. package/dist/types/customTheme.d.ts +163 -0
  657. package/dist/types/customTheme.d.ts.map +1 -0
  658. package/dist/types/customTheme.js +311 -0
  659. package/dist/types/customTheme.js.map +1 -0
  660. package/dist/types/environment.d.ts +64 -0
  661. package/dist/types/environment.d.ts.map +1 -0
  662. package/dist/types/environment.js +2 -0
  663. package/dist/types/environment.js.map +1 -0
  664. package/dist/types/index.d.ts +21 -0
  665. package/dist/types/index.d.ts.map +1 -0
  666. package/dist/types/index.js +20 -0
  667. package/dist/types/index.js.map +1 -0
  668. package/dist/types/mcp.d.ts +153 -0
  669. package/dist/types/mcp.d.ts.map +1 -0
  670. package/dist/types/mcp.js +2 -0
  671. package/dist/types/mcp.js.map +1 -0
  672. package/dist/types/request.d.ts +294 -0
  673. package/dist/types/request.d.ts.map +1 -0
  674. package/dist/types/request.js +2 -0
  675. package/dist/types/request.js.map +1 -0
  676. package/dist/types/requestHistory.d.ts +88 -0
  677. package/dist/types/requestHistory.d.ts.map +1 -0
  678. package/dist/types/requestHistory.js +5 -0
  679. package/dist/types/requestHistory.js.map +1 -0
  680. package/dist/types/script.d.ts +366 -0
  681. package/dist/types/script.d.ts.map +1 -0
  682. package/dist/types/script.js +34 -0
  683. package/dist/types/script.js.map +1 -0
  684. package/dist/types/settings.d.ts +340 -0
  685. package/dist/types/settings.d.ts.map +1 -0
  686. package/dist/types/settings.js +3 -0
  687. package/dist/types/settings.js.map +1 -0
  688. package/dist/types/sharing.d.ts +87 -0
  689. package/dist/types/sharing.d.ts.map +1 -0
  690. package/dist/types/sharing.js +2 -0
  691. package/dist/types/sharing.js.map +1 -0
  692. package/dist/types/snippet.d.ts +150 -0
  693. package/dist/types/snippet.d.ts.map +1 -0
  694. package/dist/types/snippet.js +2 -0
  695. package/dist/types/snippet.js.map +1 -0
  696. package/dist/types/storage.d.ts +846 -0
  697. package/dist/types/storage.d.ts.map +1 -0
  698. package/dist/types/storage.js +2 -0
  699. package/dist/types/storage.js.map +1 -0
  700. package/dist/types/tabGroup.d.ts +108 -0
  701. package/dist/types/tabGroup.d.ts.map +1 -0
  702. package/dist/types/tabGroup.js +26 -0
  703. package/dist/types/tabGroup.js.map +1 -0
  704. package/dist/types/teamHub.d.ts +690 -0
  705. package/dist/types/teamHub.d.ts.map +1 -0
  706. package/dist/types/teamHub.js +2 -0
  707. package/dist/types/teamHub.js.map +1 -0
  708. package/dist/types/trash.d.ts +63 -0
  709. package/dist/types/trash.d.ts.map +1 -0
  710. package/dist/types/trash.js +2 -0
  711. package/dist/types/trash.js.map +1 -0
  712. package/dist/types/window.d.ts +14 -0
  713. package/dist/types/window.d.ts.map +1 -0
  714. package/dist/types/window.js +2 -0
  715. package/dist/types/window.js.map +1 -0
  716. package/dist/types.d.ts +7 -0
  717. package/dist/types.d.ts.map +1 -0
  718. package/dist/types.js +2 -0
  719. package/dist/types.js.map +1 -0
  720. package/dist/urlencoded.d.ts +2 -0
  721. package/dist/urlencoded.d.ts.map +1 -0
  722. package/dist/urlencoded.js +2 -0
  723. package/dist/urlencoded.js.map +1 -0
  724. package/dist/urlencodedRaw.d.ts +23 -0
  725. package/dist/urlencodedRaw.d.ts.map +1 -0
  726. package/dist/urlencodedRaw.js +60 -0
  727. package/dist/urlencodedRaw.js.map +1 -0
  728. package/dist/userAgent.d.ts +132 -0
  729. package/dist/userAgent.d.ts.map +1 -0
  730. package/dist/userAgent.js +178 -0
  731. package/dist/userAgent.js.map +1 -0
  732. package/dist/zoomPresets.d.ts +38 -0
  733. package/dist/zoomPresets.d.ts.map +1 -0
  734. package/dist/zoomPresets.js +67 -0
  735. package/dist/zoomPresets.js.map +1 -0
  736. package/package.json +92 -0
@@ -0,0 +1,1260 @@
1
+ import type { ChatCompletionTool } from 'openai/resources/chat/completions';
2
+ import type { z } from 'zod';
3
+ import type { UpdateActiveRequestToolArgs } from '../requestUpdate';
4
+ export type { UpdateActiveRequestToolArgs };
5
+ export type { ITool } from './ITool';
6
+ export { AI_SYSTEM_PROMPT } from './systemPrompt';
7
+ export type { CreateCollectionRequestRow, CreateSavedRequestKeyValue, GetSidebarItemByUuidToolArgs } from './types';
8
+ export type { CreateCollectionToolArgs } from './createCollection';
9
+ export type { CreateFolderToolArgs } from './createFolder';
10
+ export type { CreateRequestToolArgs } from './createRequest';
11
+ export type { GetActiveResponseToolArgs } from './getActiveResponse';
12
+ export type { GetActiveTerminalLinesToolArgs } from './getActiveTerminalLines';
13
+ export type { GetMarkdownDocumentToolArgs } from './getMarkdownDocument';
14
+ export type { GitCommitsToolArgs } from './gitCommits';
15
+ export type { GitDiffToolArgs } from './gitDiff';
16
+ export type { GitFileDiffToolArgs } from './gitFileDiff';
17
+ export type { GitFileInfoToolArgs } from './gitFileInfo';
18
+ export type { GitRepoInfoToolArgs } from './gitRepoInfo';
19
+ export type { ListRequestsToolArgs } from './listRequests';
20
+ export type { QueryResponseBodyToolArgs } from './queryResponseBody';
21
+ export type { SearchDocsToolArgs } from './searchDocs';
22
+ export type { SendActiveRequestToolArgs } from './sendActiveRequest';
23
+ export type { SetActiveEnvironmentToolArgs } from './setActiveEnvironment';
24
+ export type { TerminalExecToolArgs } from './terminalExec';
25
+ export type { UpdateRequestScriptToolArgs } from './updateRequestScript';
26
+ /**
27
+ * Ordered registry of every Harbor AI agent tool.
28
+ *
29
+ * Order matches the historical `AI_TOOL_NAMES` / `AI_TOOL_DEFINITIONS` sequence
30
+ * so consumers that iterate tools keep stable ordering.
31
+ */
32
+ export declare const AI_TOOLS: readonly [{
33
+ readonly name: "get_selected_collection";
34
+ readonly definition: {
35
+ readonly type: "function";
36
+ readonly function: {
37
+ readonly name: "get_selected_collection";
38
+ readonly description: "Returns the collection currently selected in the sidebar, or null when none is selected.";
39
+ readonly parameters: {
40
+ readonly type: "object";
41
+ readonly properties: {};
42
+ readonly additionalProperties: false;
43
+ };
44
+ };
45
+ };
46
+ readonly inputShape: {};
47
+ }, {
48
+ readonly name: "list_collections";
49
+ readonly definition: {
50
+ readonly type: "function";
51
+ readonly function: {
52
+ readonly name: "list_collections";
53
+ readonly description: "Lists all collections with configuration (variables, headers, auth, scripts), storage metadata (uuid, storageType, isGitBacked, connectionId), and whether each is selected.";
54
+ readonly parameters: {
55
+ readonly type: "object";
56
+ readonly properties: {};
57
+ readonly additionalProperties: false;
58
+ };
59
+ };
60
+ };
61
+ readonly inputShape: {};
62
+ }, {
63
+ readonly name: "get_collection";
64
+ readonly definition: {
65
+ readonly type: "function";
66
+ readonly function: {
67
+ readonly name: "get_collection";
68
+ readonly description: "Returns one collection by uuid with full configuration (variables, headers, auth, scripts). Use when the user message contains @collection.<uuid>. Use the uuid only for this tool call; refer to the collection by its returned name in replies.";
69
+ readonly parameters: {
70
+ readonly type: "object";
71
+ readonly properties: {
72
+ readonly uuid: {
73
+ readonly type: "string";
74
+ readonly description: "Collection uuid from the @collection reference.";
75
+ };
76
+ };
77
+ readonly required: readonly ["uuid"];
78
+ readonly additionalProperties: false;
79
+ };
80
+ };
81
+ };
82
+ readonly inputShape: {
83
+ readonly uuid: z.ZodString;
84
+ };
85
+ }, {
86
+ readonly name: "list_requests";
87
+ readonly definition: {
88
+ readonly type: "function";
89
+ readonly function: {
90
+ readonly name: "list_requests";
91
+ readonly description: "Lists saved requests in a collection by id.";
92
+ readonly parameters: {
93
+ readonly type: "object";
94
+ readonly properties: {
95
+ readonly collectionId: {
96
+ readonly type: "number";
97
+ readonly description: "Collection id to list requests for.";
98
+ };
99
+ };
100
+ readonly required: readonly ["collectionId"];
101
+ readonly additionalProperties: false;
102
+ };
103
+ };
104
+ };
105
+ readonly inputShape: {
106
+ readonly collectionId: z.ZodNumber;
107
+ };
108
+ }, {
109
+ readonly name: "get_folder";
110
+ readonly definition: {
111
+ readonly type: "function";
112
+ readonly function: {
113
+ readonly name: "get_folder";
114
+ readonly description: "Returns one folder by uuid with variables, headers, auth, and scripts. Use when the user message contains @folder.<uuid>. Use the uuid only for this tool call; refer to the folder by its returned name in replies.";
115
+ readonly parameters: {
116
+ readonly type: "object";
117
+ readonly properties: {
118
+ readonly uuid: {
119
+ readonly type: "string";
120
+ readonly description: "Folder uuid from the @folder reference.";
121
+ };
122
+ };
123
+ readonly required: readonly ["uuid"];
124
+ readonly additionalProperties: false;
125
+ };
126
+ };
127
+ };
128
+ readonly inputShape: {
129
+ readonly uuid: z.ZodString;
130
+ };
131
+ }, {
132
+ readonly name: "get_request";
133
+ readonly definition: {
134
+ readonly type: "function";
135
+ readonly function: {
136
+ readonly name: "get_request";
137
+ readonly description: "Returns one saved request by uuid with method, url, headers, params, body, auth, and scripts. Use when the user message contains @request.<uuid>. Use the uuid only for this tool call; refer to the request by its returned name in replies.";
138
+ readonly parameters: {
139
+ readonly type: "object";
140
+ readonly properties: {
141
+ readonly uuid: {
142
+ readonly type: "string";
143
+ readonly description: "Saved request uuid from the @request reference.";
144
+ };
145
+ };
146
+ readonly required: readonly ["uuid"];
147
+ readonly additionalProperties: false;
148
+ };
149
+ };
150
+ };
151
+ readonly inputShape: {
152
+ readonly uuid: z.ZodString;
153
+ };
154
+ }, {
155
+ readonly name: "list_environments";
156
+ readonly definition: {
157
+ readonly type: "function";
158
+ readonly function: {
159
+ readonly name: "list_environments";
160
+ readonly description: "Lists all environments with variables and which one is active.";
161
+ readonly parameters: {
162
+ readonly type: "object";
163
+ readonly properties: {};
164
+ readonly additionalProperties: false;
165
+ };
166
+ };
167
+ };
168
+ readonly inputShape: {};
169
+ }, {
170
+ readonly name: "get_sidebar_request";
171
+ readonly definition: {
172
+ readonly type: "function";
173
+ readonly function: {
174
+ readonly name: "get_sidebar_request";
175
+ readonly description: "Returns the saved request highlighted in the sidebar (from the active editor tab), or null when the tab is unsaved.";
176
+ readonly parameters: {
177
+ readonly type: "object";
178
+ readonly properties: {};
179
+ readonly additionalProperties: false;
180
+ };
181
+ };
182
+ };
183
+ readonly inputShape: {};
184
+ }, {
185
+ readonly name: "get_active_request";
186
+ readonly definition: {
187
+ readonly type: "function";
188
+ readonly function: {
189
+ readonly name: "get_active_request";
190
+ readonly description: "Returns summary info for the request open in the editor pane (tab id, method, url, dirty state).";
191
+ readonly parameters: {
192
+ readonly type: "object";
193
+ readonly properties: {};
194
+ readonly additionalProperties: false;
195
+ };
196
+ };
197
+ };
198
+ readonly inputShape: {};
199
+ }, {
200
+ readonly name: "get_active_request_details";
201
+ readonly definition: {
202
+ readonly type: "function";
203
+ readonly function: {
204
+ readonly name: "get_active_request_details";
205
+ readonly description: "Returns the full draft of the active editor request (headers, params, body, auth, scripts, cookies). Includes pre_request_scripts and post_request_scripts arrays with 1-based index, name, kind (inline or snippet), and resolved source code for each script row. For multipart and urlencoded bodies, also returns body_raw (verbatim override or null), body_raw_open (drawer state), and body_raw_effective (the wire text that will be sent — the override when set, otherwise a projection from structured rows).";
206
+ readonly parameters: {
207
+ readonly type: "object";
208
+ readonly properties: {};
209
+ readonly additionalProperties: false;
210
+ };
211
+ };
212
+ };
213
+ readonly inputShape: {};
214
+ }, {
215
+ readonly name: "get_active_response_summary";
216
+ readonly definition: {
217
+ readonly type: "function";
218
+ readonly function: {
219
+ readonly name: "get_active_response_summary";
220
+ readonly description: "Returns a compact summary of the last HTTP response for the active tab (status, headers, short body preview, tests), or null. Prefer this before fetching the full body.";
221
+ readonly parameters: {
222
+ readonly type: "object";
223
+ readonly properties: {};
224
+ readonly additionalProperties: false;
225
+ };
226
+ };
227
+ };
228
+ readonly inputShape: {};
229
+ }, {
230
+ readonly name: "get_active_response";
231
+ readonly definition: {
232
+ readonly type: "function";
233
+ readonly function: {
234
+ readonly name: "get_active_response";
235
+ readonly description: "Returns the last HTTP response for the active tab with a capped body (status, headers, body, tests), or null. Use get_active_response_summary first; pass maxBodyChars only when more body text is needed.";
236
+ readonly parameters: {
237
+ readonly type: "object";
238
+ readonly properties: {
239
+ readonly maxBodyChars: {
240
+ readonly type: "number";
241
+ readonly description: "Maximum response body characters to return; defaults to 16384.";
242
+ };
243
+ };
244
+ readonly additionalProperties: false;
245
+ };
246
+ };
247
+ };
248
+ readonly inputShape: {
249
+ readonly maxBodyChars: z.ZodOptional<z.ZodNumber>;
250
+ };
251
+ }, {
252
+ readonly name: "query_response_body";
253
+ readonly definition: {
254
+ readonly type: "function";
255
+ readonly function: {
256
+ readonly name: "query_response_body";
257
+ readonly description: "Evaluates a JMESPath expression against the JSON response body of the last HTTP response for the active tab and returns a small structured result. Prefer this for counting items, extracting fields, or checking values without loading the full body. Examples: length(@), length(data.items), data.users[*].id, keys(@).";
258
+ readonly parameters: {
259
+ readonly type: "object";
260
+ readonly properties: {
261
+ readonly expression: {
262
+ readonly type: "string";
263
+ readonly description: "JMESPath expression to evaluate against the JSON response body.";
264
+ };
265
+ readonly maxResultChars: {
266
+ readonly type: "number";
267
+ readonly description: "Maximum stringified result characters to return; defaults to 4000.";
268
+ };
269
+ };
270
+ readonly required: readonly ["expression"];
271
+ readonly additionalProperties: false;
272
+ };
273
+ };
274
+ };
275
+ readonly inputShape: {
276
+ readonly expression: z.ZodString;
277
+ readonly maxResultChars: z.ZodOptional<z.ZodNumber>;
278
+ };
279
+ }, {
280
+ readonly name: "send_active_request";
281
+ readonly definition: {
282
+ readonly type: "function";
283
+ readonly function: {
284
+ readonly name: "send_active_request";
285
+ readonly description: "Sends the HTTP request in the active editor tab (equivalent to clicking Send). Returns a compact response summary by default (status, headers, short body preview, tests). Pass maxBodyChars only when you need a capped full body in the same turn; otherwise call get_active_response afterward.";
286
+ readonly parameters: {
287
+ readonly type: "object";
288
+ readonly properties: {
289
+ readonly maxBodyChars: {
290
+ readonly type: "number";
291
+ readonly description: "Optional. When provided and greater than zero, includes a capped response body; otherwise only a summary preview is returned.";
292
+ };
293
+ };
294
+ readonly additionalProperties: false;
295
+ };
296
+ };
297
+ };
298
+ readonly inputShape: {
299
+ readonly maxBodyChars: z.ZodOptional<z.ZodNumber>;
300
+ };
301
+ }, {
302
+ readonly name: "set_active_environment";
303
+ readonly definition: {
304
+ readonly type: "function";
305
+ readonly function: {
306
+ readonly name: "set_active_environment";
307
+ readonly description: "Sets the global active environment by id or name. Pass environmentId null to clear the active environment.";
308
+ readonly parameters: {
309
+ readonly type: "object";
310
+ readonly properties: {
311
+ readonly environmentId: {
312
+ readonly type: readonly ["number", "null"];
313
+ readonly description: "Environment id to activate, or null for no environment.";
314
+ };
315
+ readonly name: {
316
+ readonly type: "string";
317
+ readonly description: "Environment name to resolve when environmentId is omitted.";
318
+ };
319
+ };
320
+ readonly additionalProperties: false;
321
+ };
322
+ };
323
+ };
324
+ readonly inputShape: {
325
+ readonly environmentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
326
+ readonly name: z.ZodOptional<z.ZodString>;
327
+ };
328
+ }, {
329
+ readonly name: "update_active_request";
330
+ readonly definition: {
331
+ readonly type: "function";
332
+ readonly function: {
333
+ readonly name: "update_active_request";
334
+ readonly description: "Modifies the request open in the editor (method, URL, params, headers, body, auth, pre/post scripts, cookies). Call get_active_request_details first when you need current values. For multipart/urlencoded, use body for structured JSON rows and body_raw for the verbatim Raw body drawer text (authoritative at send time, including intentionally invalid bodies). Pass body_raw: null to clear the raw override. Use HarborClient hc API in scripts, not Postman pm (hc.data for passing values between scripts in one send; hc.request.variables/collection.variables/environment.variables/globals with get/set/clear for persisted variables; hc.cookies, hc.execution.setNextRequest/skipRequest, await hc.sendRequest when enabled in Settings → General). Changes appear in the editor immediately but are not saved until the user saves.";
335
+ readonly parameters: {
336
+ readonly type: "object";
337
+ readonly properties: {
338
+ readonly name: {
339
+ readonly type: "string";
340
+ readonly description: "Display name for the request.";
341
+ };
342
+ readonly method: {
343
+ readonly type: "string";
344
+ readonly enum: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
345
+ readonly description: "HTTP method for the request.";
346
+ };
347
+ readonly url: {
348
+ readonly type: "string";
349
+ readonly description: "Request URL. When changed without params, the params table syncs from the query string.";
350
+ };
351
+ readonly body: {
352
+ readonly type: "string";
353
+ readonly description: "Request body content. For multipart/urlencoded this is JSON-serialized structured rows; prefer body_raw when editing the Raw body drawer.";
354
+ };
355
+ readonly body_type: {
356
+ readonly type: "string";
357
+ readonly enum: readonly ["none", "json", "text", "multipart", "urlencoded"];
358
+ readonly description: "Content type of the request body.";
359
+ };
360
+ readonly body_raw: {
361
+ readonly type: readonly ["string", "null"];
362
+ readonly description: "Verbatim Raw body override for multipart/urlencoded. Sets the wire text sent as-is and best-effort syncs structured rows. Pass null to clear the override.";
363
+ };
364
+ readonly pre_request_script: {
365
+ readonly type: "string";
366
+ readonly description: "JavaScript run before the request is sent.";
367
+ };
368
+ readonly pre_request_script_mode: {
369
+ readonly type: "string";
370
+ readonly enum: readonly ["replace", "append"];
371
+ readonly description: "How to apply pre_request_script; defaults to replace.";
372
+ };
373
+ readonly post_request_script: {
374
+ readonly type: "string";
375
+ readonly description: "JavaScript run after the response is received.";
376
+ };
377
+ readonly post_request_script_mode: {
378
+ readonly type: "string";
379
+ readonly enum: readonly ["replace", "append"];
380
+ readonly description: "How to apply post_request_script; defaults to replace.";
381
+ };
382
+ readonly comment: {
383
+ readonly type: "string";
384
+ readonly description: "Free-form notes for the request.";
385
+ };
386
+ readonly headers: {
387
+ readonly type: "array";
388
+ readonly items: {
389
+ readonly type: "object";
390
+ readonly properties: {
391
+ readonly key: {
392
+ readonly type: "string";
393
+ readonly description: "Header, param, or cookie name.";
394
+ };
395
+ readonly value: {
396
+ readonly type: "string";
397
+ readonly description: "Header, param, or cookie value.";
398
+ };
399
+ readonly enabled: {
400
+ readonly type: "boolean";
401
+ readonly description: "Whether the row is active; defaults to true when omitted.";
402
+ };
403
+ };
404
+ readonly required: readonly ["key", "value"];
405
+ readonly additionalProperties: false;
406
+ };
407
+ readonly description: "Request headers to merge or replace.";
408
+ };
409
+ readonly headers_mode: {
410
+ readonly type: "string";
411
+ readonly enum: readonly ["merge", "replace"];
412
+ readonly description: "How to apply headers; defaults to merge.";
413
+ };
414
+ readonly params: {
415
+ readonly type: "array";
416
+ readonly items: {
417
+ readonly type: "object";
418
+ readonly properties: {
419
+ readonly key: {
420
+ readonly type: "string";
421
+ readonly description: "Header, param, or cookie name.";
422
+ };
423
+ readonly value: {
424
+ readonly type: "string";
425
+ readonly description: "Header, param, or cookie value.";
426
+ };
427
+ readonly enabled: {
428
+ readonly type: "boolean";
429
+ readonly description: "Whether the row is active; defaults to true when omitted.";
430
+ };
431
+ };
432
+ readonly required: readonly ["key", "value"];
433
+ readonly additionalProperties: false;
434
+ };
435
+ readonly description: "Query params to merge or replace.";
436
+ };
437
+ readonly params_mode: {
438
+ readonly type: "string";
439
+ readonly enum: readonly ["merge", "replace"];
440
+ readonly description: "How to apply params; defaults to merge.";
441
+ };
442
+ readonly auth: {
443
+ readonly type: "object";
444
+ readonly properties: {
445
+ readonly type: {
446
+ readonly type: "string";
447
+ readonly enum: readonly ["none", "basic", "bearer"];
448
+ readonly description: "Selected auth mode.";
449
+ };
450
+ readonly basic: {
451
+ readonly type: "object";
452
+ readonly properties: {
453
+ readonly username: {
454
+ readonly type: "string";
455
+ };
456
+ readonly password: {
457
+ readonly type: "string";
458
+ };
459
+ };
460
+ readonly additionalProperties: false;
461
+ };
462
+ readonly bearer: {
463
+ readonly type: "object";
464
+ readonly properties: {
465
+ readonly token: {
466
+ readonly type: "string";
467
+ };
468
+ };
469
+ readonly additionalProperties: false;
470
+ };
471
+ };
472
+ readonly additionalProperties: false;
473
+ readonly description: "Partial auth settings patch.";
474
+ };
475
+ readonly cookies: {
476
+ readonly type: "array";
477
+ readonly items: {
478
+ readonly type: "object";
479
+ readonly properties: {
480
+ readonly key: {
481
+ readonly type: "string";
482
+ readonly description: "Header, param, or cookie name.";
483
+ };
484
+ readonly value: {
485
+ readonly type: "string";
486
+ readonly description: "Header, param, or cookie value.";
487
+ };
488
+ readonly enabled: {
489
+ readonly type: "boolean";
490
+ readonly description: "Whether the row is active; defaults to true when omitted.";
491
+ };
492
+ };
493
+ readonly required: readonly ["key", "value"];
494
+ readonly additionalProperties: false;
495
+ };
496
+ readonly description: "Cookies for the request host; stored in the cookie jar for the URL hostname.";
497
+ };
498
+ readonly cookies_mode: {
499
+ readonly type: "string";
500
+ readonly enum: readonly ["merge", "replace"];
501
+ readonly description: "How to apply cookies; defaults to merge.";
502
+ };
503
+ };
504
+ readonly additionalProperties: false;
505
+ };
506
+ };
507
+ };
508
+ readonly inputShape: {
509
+ readonly name: z.ZodOptional<z.ZodString>;
510
+ readonly method: z.ZodOptional<z.ZodEnum<{
511
+ GET: "GET";
512
+ POST: "POST";
513
+ PUT: "PUT";
514
+ PATCH: "PATCH";
515
+ DELETE: "DELETE";
516
+ HEAD: "HEAD";
517
+ OPTIONS: "OPTIONS";
518
+ }>>;
519
+ readonly url: z.ZodOptional<z.ZodString>;
520
+ readonly body: z.ZodOptional<z.ZodString>;
521
+ readonly body_type: z.ZodOptional<z.ZodEnum<{
522
+ none: "none";
523
+ text: "text";
524
+ json: "json";
525
+ multipart: "multipart";
526
+ urlencoded: "urlencoded";
527
+ }>>;
528
+ readonly body_raw: z.ZodOptional<z.ZodNullable<z.ZodString>>;
529
+ readonly pre_request_script: z.ZodOptional<z.ZodString>;
530
+ readonly pre_request_script_mode: z.ZodOptional<z.ZodEnum<{
531
+ replace: "replace";
532
+ append: "append";
533
+ }>>;
534
+ readonly post_request_script: z.ZodOptional<z.ZodString>;
535
+ readonly post_request_script_mode: z.ZodOptional<z.ZodEnum<{
536
+ replace: "replace";
537
+ append: "append";
538
+ }>>;
539
+ readonly comment: z.ZodOptional<z.ZodString>;
540
+ readonly headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
541
+ key: z.ZodString;
542
+ value: z.ZodString;
543
+ enabled: z.ZodOptional<z.ZodBoolean>;
544
+ }, z.core.$strip>>>;
545
+ readonly headers_mode: z.ZodOptional<z.ZodEnum<{
546
+ replace: "replace";
547
+ merge: "merge";
548
+ }>>;
549
+ readonly params: z.ZodOptional<z.ZodArray<z.ZodObject<{
550
+ key: z.ZodString;
551
+ value: z.ZodString;
552
+ enabled: z.ZodOptional<z.ZodBoolean>;
553
+ }, z.core.$strip>>>;
554
+ readonly params_mode: z.ZodOptional<z.ZodEnum<{
555
+ replace: "replace";
556
+ merge: "merge";
557
+ }>>;
558
+ readonly auth: z.ZodOptional<z.ZodObject<{
559
+ type: z.ZodOptional<z.ZodEnum<{
560
+ none: "none";
561
+ basic: "basic";
562
+ bearer: "bearer";
563
+ }>>;
564
+ basic: z.ZodOptional<z.ZodObject<{
565
+ username: z.ZodOptional<z.ZodString>;
566
+ password: z.ZodOptional<z.ZodString>;
567
+ }, z.core.$strip>>;
568
+ bearer: z.ZodOptional<z.ZodObject<{
569
+ token: z.ZodOptional<z.ZodString>;
570
+ }, z.core.$strip>>;
571
+ }, z.core.$strip>>;
572
+ readonly cookies: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
+ key: z.ZodString;
574
+ value: z.ZodString;
575
+ enabled: z.ZodOptional<z.ZodBoolean>;
576
+ }, z.core.$strip>>>;
577
+ readonly cookies_mode: z.ZodOptional<z.ZodEnum<{
578
+ replace: "replace";
579
+ merge: "merge";
580
+ }>>;
581
+ };
582
+ }, {
583
+ readonly name: "update_request_script";
584
+ readonly definition: {
585
+ readonly type: "function";
586
+ readonly function: {
587
+ readonly name: "update_request_script";
588
+ readonly description: "Updates a specific pre- or post-request script in the active editor request by 1-based index. Use when the user message contains @<request-id>.<pre|post>.<script-index> (for example @42.pre.3 or @active.post.1), optionally with #<start>.<end> character offsets into that script source to highlight the selected region. Only inline scripts can be edited; snippet-linked scripts must be reported to the user. Changes update the editor draft only until the user saves.";
589
+ readonly parameters: {
590
+ readonly type: "object";
591
+ readonly properties: {
592
+ readonly requestId: {
593
+ readonly oneOf: readonly [{
594
+ readonly type: "number";
595
+ }, {
596
+ readonly type: "string";
597
+ readonly enum: readonly ["active"];
598
+ }];
599
+ readonly description: "Saved request id from the @ reference, or \"active\" when the tab is unsaved.";
600
+ };
601
+ readonly phase: {
602
+ readonly type: "string";
603
+ readonly enum: readonly ["pre", "post"];
604
+ readonly description: "Script phase: pre-request (pre) or post-request (post).";
605
+ };
606
+ readonly scriptIndex: {
607
+ readonly type: "number";
608
+ readonly description: "1-based index of the script in the phase array.";
609
+ };
610
+ readonly code: {
611
+ readonly type: "string";
612
+ readonly description: "JavaScript source to apply to the script.";
613
+ };
614
+ readonly mode: {
615
+ readonly type: "string";
616
+ readonly enum: readonly ["replace", "append"];
617
+ readonly description: "How to apply code; defaults to replace.";
618
+ };
619
+ };
620
+ readonly required: readonly ["requestId", "phase", "scriptIndex", "code"];
621
+ readonly additionalProperties: false;
622
+ };
623
+ };
624
+ };
625
+ readonly inputShape: {
626
+ readonly requestId: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"active">]>;
627
+ readonly phase: z.ZodEnum<{
628
+ pre: "pre";
629
+ post: "post";
630
+ }>;
631
+ readonly scriptIndex: z.ZodNumber;
632
+ readonly code: z.ZodString;
633
+ readonly mode: z.ZodOptional<z.ZodEnum<{
634
+ replace: "replace";
635
+ append: "append";
636
+ }>>;
637
+ };
638
+ }, {
639
+ readonly name: "create_collection";
640
+ readonly definition: {
641
+ readonly type: "function";
642
+ readonly function: {
643
+ readonly name: "create_collection";
644
+ readonly description: "Creates a new collection and optionally saves requests inside it. Persists immediately to storage and selects the collection in the sidebar. Use when the user asks to create a new collection or scaffold API requests in a new collection. Each request row may include an optional folder name; folders are created automatically.";
645
+ readonly parameters: {
646
+ readonly type: "object";
647
+ readonly properties: {
648
+ readonly name: {
649
+ readonly type: "string";
650
+ readonly description: "Display name for the new collection.";
651
+ };
652
+ readonly requests: {
653
+ readonly type: "array";
654
+ readonly items: {
655
+ readonly type: "object";
656
+ readonly properties: {
657
+ readonly name: {
658
+ readonly type: "string";
659
+ readonly description: "Display name for the saved request.";
660
+ };
661
+ readonly method: {
662
+ readonly type: "string";
663
+ readonly description: "HTTP method (for example GET or POST).";
664
+ };
665
+ readonly url: {
666
+ readonly type: "string";
667
+ readonly description: "Request URL.";
668
+ };
669
+ readonly folder: {
670
+ readonly type: "string";
671
+ readonly description: "Optional folder name within the new collection.";
672
+ };
673
+ readonly headers: {
674
+ readonly description: "Optional headers as a flat object or key-value rows.";
675
+ readonly oneOf: readonly [{
676
+ readonly type: "object";
677
+ readonly additionalProperties: {
678
+ readonly type: "string";
679
+ };
680
+ }, {
681
+ readonly type: "array";
682
+ readonly items: {
683
+ readonly type: "object";
684
+ readonly properties: {
685
+ readonly key: {
686
+ readonly type: "string";
687
+ readonly description: "Header, param, or cookie name.";
688
+ };
689
+ readonly value: {
690
+ readonly type: "string";
691
+ readonly description: "Header, param, or cookie value.";
692
+ };
693
+ readonly enabled: {
694
+ readonly type: "boolean";
695
+ readonly description: "Whether the row is active; defaults to true when omitted.";
696
+ };
697
+ };
698
+ readonly required: readonly ["key", "value"];
699
+ readonly additionalProperties: false;
700
+ };
701
+ }];
702
+ };
703
+ readonly params: {
704
+ readonly type: "array";
705
+ readonly items: {
706
+ readonly type: "object";
707
+ readonly properties: {
708
+ readonly key: {
709
+ readonly type: "string";
710
+ readonly description: "Header, param, or cookie name.";
711
+ };
712
+ readonly value: {
713
+ readonly type: "string";
714
+ readonly description: "Header, param, or cookie value.";
715
+ };
716
+ readonly enabled: {
717
+ readonly type: "boolean";
718
+ readonly description: "Whether the row is active; defaults to true when omitted.";
719
+ };
720
+ };
721
+ readonly required: readonly ["key", "value"];
722
+ readonly additionalProperties: false;
723
+ };
724
+ readonly description: "Optional query params.";
725
+ };
726
+ readonly body: {
727
+ readonly type: "string";
728
+ readonly description: "Optional request body content.";
729
+ };
730
+ readonly bodyType: {
731
+ readonly type: "string";
732
+ readonly enum: readonly ["none", "json", "text", "multipart", "urlencoded"];
733
+ readonly description: "Optional body content type.";
734
+ };
735
+ readonly comment: {
736
+ readonly type: "string";
737
+ readonly description: "Optional free-form notes for the request.";
738
+ };
739
+ };
740
+ readonly required: readonly ["name", "method", "url"];
741
+ readonly additionalProperties: false;
742
+ };
743
+ readonly description: "Saved requests to create inside the collection.";
744
+ };
745
+ };
746
+ readonly required: readonly ["name"];
747
+ readonly additionalProperties: false;
748
+ };
749
+ };
750
+ };
751
+ readonly inputShape: {
752
+ readonly name: z.ZodString;
753
+ readonly requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
754
+ name: z.ZodString;
755
+ method: z.ZodString;
756
+ url: z.ZodString;
757
+ folder: z.ZodOptional<z.ZodString>;
758
+ headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodObject<{
759
+ key: z.ZodString;
760
+ value: z.ZodString;
761
+ enabled: z.ZodOptional<z.ZodBoolean>;
762
+ }, z.core.$strip>>]>>;
763
+ params: z.ZodOptional<z.ZodArray<z.ZodObject<{
764
+ key: z.ZodString;
765
+ value: z.ZodString;
766
+ enabled: z.ZodOptional<z.ZodBoolean>;
767
+ }, z.core.$strip>>>;
768
+ body: z.ZodOptional<z.ZodString>;
769
+ bodyType: z.ZodOptional<z.ZodEnum<{
770
+ none: "none";
771
+ text: "text";
772
+ json: "json";
773
+ multipart: "multipart";
774
+ urlencoded: "urlencoded";
775
+ }>>;
776
+ comment: z.ZodOptional<z.ZodString>;
777
+ }, z.core.$strip>>>;
778
+ };
779
+ }, {
780
+ readonly name: "create_folder";
781
+ readonly definition: {
782
+ readonly type: "function";
783
+ readonly function: {
784
+ readonly name: "create_folder";
785
+ readonly description: "Creates a folder inside an existing collection. Persists immediately. Use list_collections or get_collection first when you need the collection id.";
786
+ readonly parameters: {
787
+ readonly type: "object";
788
+ readonly properties: {
789
+ readonly collectionId: {
790
+ readonly type: "number";
791
+ readonly description: "Collection id that will own the new folder.";
792
+ };
793
+ readonly name: {
794
+ readonly type: "string";
795
+ readonly description: "Display name for the new folder.";
796
+ };
797
+ };
798
+ readonly required: readonly ["collectionId", "name"];
799
+ readonly additionalProperties: false;
800
+ };
801
+ };
802
+ };
803
+ readonly inputShape: {
804
+ readonly collectionId: z.ZodNumber;
805
+ readonly name: z.ZodString;
806
+ };
807
+ }, {
808
+ readonly name: "create_request";
809
+ readonly definition: {
810
+ readonly type: "function";
811
+ readonly function: {
812
+ readonly name: "create_request";
813
+ readonly description: "Creates a saved request in an existing collection or folder. Persists immediately without opening an editor tab. Use create_folder first when the target folder does not exist yet.";
814
+ readonly parameters: {
815
+ readonly type: "object";
816
+ readonly properties: {
817
+ readonly collectionId: {
818
+ readonly type: "number";
819
+ readonly description: "Collection id that will own the new saved request.";
820
+ };
821
+ readonly name: {
822
+ readonly type: "string";
823
+ readonly description: "Display name for the saved request.";
824
+ };
825
+ readonly method: {
826
+ readonly type: "string";
827
+ readonly enum: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
828
+ readonly description: "HTTP method for the request.";
829
+ };
830
+ readonly url: {
831
+ readonly type: "string";
832
+ readonly description: "Request URL.";
833
+ };
834
+ readonly folderId: {
835
+ readonly type: readonly ["number", "null"];
836
+ readonly description: "Folder id when the request belongs to a folder; omit for collection root.";
837
+ };
838
+ readonly folderName: {
839
+ readonly type: "string";
840
+ readonly description: "Folder name to resolve within the collection when folderId is omitted.";
841
+ };
842
+ readonly headers: {
843
+ readonly description: "Optional headers as a flat object or key-value rows.";
844
+ readonly oneOf: readonly [{
845
+ readonly type: "object";
846
+ readonly additionalProperties: {
847
+ readonly type: "string";
848
+ };
849
+ }, {
850
+ readonly type: "array";
851
+ readonly items: {
852
+ readonly type: "object";
853
+ readonly properties: {
854
+ readonly key: {
855
+ readonly type: "string";
856
+ readonly description: "Header, param, or cookie name.";
857
+ };
858
+ readonly value: {
859
+ readonly type: "string";
860
+ readonly description: "Header, param, or cookie value.";
861
+ };
862
+ readonly enabled: {
863
+ readonly type: "boolean";
864
+ readonly description: "Whether the row is active; defaults to true when omitted.";
865
+ };
866
+ };
867
+ readonly required: readonly ["key", "value"];
868
+ readonly additionalProperties: false;
869
+ };
870
+ }];
871
+ };
872
+ readonly params: {
873
+ readonly type: "array";
874
+ readonly items: {
875
+ readonly type: "object";
876
+ readonly properties: {
877
+ readonly key: {
878
+ readonly type: "string";
879
+ readonly description: "Header, param, or cookie name.";
880
+ };
881
+ readonly value: {
882
+ readonly type: "string";
883
+ readonly description: "Header, param, or cookie value.";
884
+ };
885
+ readonly enabled: {
886
+ readonly type: "boolean";
887
+ readonly description: "Whether the row is active; defaults to true when omitted.";
888
+ };
889
+ };
890
+ readonly required: readonly ["key", "value"];
891
+ readonly additionalProperties: false;
892
+ };
893
+ readonly description: "Optional query params.";
894
+ };
895
+ readonly body: {
896
+ readonly type: "string";
897
+ readonly description: "Optional request body content.";
898
+ };
899
+ readonly bodyType: {
900
+ readonly type: "string";
901
+ readonly enum: readonly ["none", "json", "text", "multipart", "urlencoded"];
902
+ readonly description: "Optional body content type.";
903
+ };
904
+ readonly comment: {
905
+ readonly type: "string";
906
+ readonly description: "Optional free-form notes for the request.";
907
+ };
908
+ };
909
+ readonly required: readonly ["collectionId", "name", "method", "url"];
910
+ readonly additionalProperties: false;
911
+ };
912
+ };
913
+ };
914
+ readonly inputShape: {
915
+ readonly collectionId: z.ZodNumber;
916
+ readonly name: z.ZodString;
917
+ readonly method: z.ZodEnum<{
918
+ GET: "GET";
919
+ POST: "POST";
920
+ PUT: "PUT";
921
+ PATCH: "PATCH";
922
+ DELETE: "DELETE";
923
+ HEAD: "HEAD";
924
+ OPTIONS: "OPTIONS";
925
+ }>;
926
+ readonly url: z.ZodString;
927
+ readonly folderId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
928
+ readonly folderName: z.ZodOptional<z.ZodString>;
929
+ readonly headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodObject<{
930
+ key: z.ZodString;
931
+ value: z.ZodString;
932
+ enabled: z.ZodOptional<z.ZodBoolean>;
933
+ }, z.core.$strip>>]>>;
934
+ readonly params: z.ZodOptional<z.ZodArray<z.ZodObject<{
935
+ key: z.ZodString;
936
+ value: z.ZodString;
937
+ enabled: z.ZodOptional<z.ZodBoolean>;
938
+ }, z.core.$strip>>>;
939
+ readonly body: z.ZodOptional<z.ZodString>;
940
+ readonly bodyType: z.ZodOptional<z.ZodEnum<{
941
+ none: "none";
942
+ text: "text";
943
+ json: "json";
944
+ multipart: "multipart";
945
+ urlencoded: "urlencoded";
946
+ }>>;
947
+ readonly comment: z.ZodOptional<z.ZodString>;
948
+ };
949
+ }, {
950
+ readonly name: "search_docs";
951
+ readonly definition: {
952
+ readonly type: "function";
953
+ readonly function: {
954
+ readonly name: "search_docs";
955
+ readonly description: "Search HarborClient user docs and plugin SDK docs for how features work, usage guides, scripting APIs, plugins, and settings. Returns ranked passages with titles and public URLs.";
956
+ readonly parameters: {
957
+ readonly type: "object";
958
+ readonly properties: {
959
+ readonly query: {
960
+ readonly type: "string";
961
+ readonly description: "Natural-language question or keywords to search for in the documentation.";
962
+ };
963
+ readonly limit: {
964
+ readonly type: "number";
965
+ readonly description: "Maximum number of passages to return; defaults to 5.";
966
+ };
967
+ readonly source: {
968
+ readonly type: "string";
969
+ readonly enum: readonly ["site", "sdk"];
970
+ readonly description: "Optional filter: site user docs or sdk plugin development docs.";
971
+ };
972
+ };
973
+ readonly required: readonly ["query"];
974
+ readonly additionalProperties: false;
975
+ };
976
+ };
977
+ };
978
+ readonly inputShape: {
979
+ readonly query: z.ZodString;
980
+ readonly limit: z.ZodOptional<z.ZodNumber>;
981
+ readonly source: z.ZodOptional<z.ZodEnum<{
982
+ site: "site";
983
+ sdk: "sdk";
984
+ }>>;
985
+ };
986
+ }, {
987
+ readonly name: "get_active_terminal";
988
+ readonly definition: {
989
+ readonly type: "function";
990
+ readonly function: {
991
+ readonly name: "get_active_terminal";
992
+ readonly description: "Returns summary info for the active footer terminal tab (id, title, 1-based tab index, total output line count, host operating system metadata), or an error when no terminal tab is selected.";
993
+ readonly parameters: {
994
+ readonly type: "object";
995
+ readonly properties: {};
996
+ readonly additionalProperties: false;
997
+ };
998
+ };
999
+ };
1000
+ readonly inputShape: {};
1001
+ }, {
1002
+ readonly name: "get_active_terminal_lines";
1003
+ readonly definition: {
1004
+ readonly type: "function";
1005
+ readonly function: {
1006
+ readonly name: "get_active_terminal_lines";
1007
+ readonly description: "Returns a 1-based inclusive line range from the active footer terminal output as plain text. Call get_active_terminal first to see totalLines before requesting a range. Lines are clamped to the available buffer.";
1008
+ readonly parameters: {
1009
+ readonly type: "object";
1010
+ readonly properties: {
1011
+ readonly startLine: {
1012
+ readonly type: "number";
1013
+ readonly description: "1-based first line to read (inclusive).";
1014
+ };
1015
+ readonly endLine: {
1016
+ readonly type: "number";
1017
+ readonly description: "1-based last line to read (inclusive).";
1018
+ };
1019
+ };
1020
+ readonly required: readonly ["startLine", "endLine"];
1021
+ readonly additionalProperties: false;
1022
+ };
1023
+ };
1024
+ };
1025
+ readonly inputShape: {
1026
+ readonly startLine: z.ZodNumber;
1027
+ readonly endLine: z.ZodNumber;
1028
+ };
1029
+ }, {
1030
+ readonly name: "terminal_exec";
1031
+ readonly definition: {
1032
+ readonly type: "function";
1033
+ readonly function: {
1034
+ readonly name: "terminal_exec";
1035
+ readonly description: "Sends raw input to the active footer terminal shell stdin (for example \"cd foo\\n\" to change directory or \"npm test\\n\" to run a command). The terminal panel must be open. Include a trailing newline when executing a command. Use get_active_terminal_lines afterward to read command output. Never use for destructive or irreversible commands (rm, rmdir, dd, git reset --hard, sudo, shutdown, and similar).";
1036
+ readonly parameters: {
1037
+ readonly type: "object";
1038
+ readonly properties: {
1039
+ readonly input: {
1040
+ readonly type: "string";
1041
+ readonly description: "Raw bytes to write to the shell stdin; include \\n at the end when running a command.";
1042
+ };
1043
+ };
1044
+ readonly required: readonly ["input"];
1045
+ readonly additionalProperties: false;
1046
+ };
1047
+ };
1048
+ };
1049
+ readonly inputShape: {
1050
+ readonly input: z.ZodString;
1051
+ };
1052
+ }, {
1053
+ readonly name: "get_markdown_document";
1054
+ readonly definition: {
1055
+ readonly type: "function";
1056
+ readonly function: {
1057
+ readonly name: "get_markdown_document";
1058
+ readonly description: "Returns one collection markdown document or saved request comment by uuid with name and markdown content. Use when the user message contains @markdown.<uuid>. Prefer the open editor tab content when the document is being edited. Use the uuid only for this tool call; refer to the document by its returned name in replies.";
1059
+ readonly parameters: {
1060
+ readonly type: "object";
1061
+ readonly properties: {
1062
+ readonly uuid: {
1063
+ readonly type: "string";
1064
+ readonly description: "Markdown document or request uuid from the @markdown reference.";
1065
+ };
1066
+ };
1067
+ readonly required: readonly ["uuid"];
1068
+ readonly additionalProperties: false;
1069
+ };
1070
+ };
1071
+ };
1072
+ readonly inputShape: {
1073
+ readonly uuid: z.ZodString;
1074
+ };
1075
+ }, {
1076
+ readonly name: "git_diff";
1077
+ readonly definition: {
1078
+ readonly type: "function";
1079
+ readonly function: {
1080
+ readonly name: "git_diff";
1081
+ readonly description: "Returns uncommitted git changes for the HarborClient subdirectory of the repository that contains a collection. Use get_collection or list_collections to find a collection uuid. The diff covers the whole repository working tree for that git connection, not only the referenced collection folder.";
1082
+ readonly parameters: {
1083
+ readonly type: "object";
1084
+ readonly properties: {
1085
+ readonly collectionUuid: {
1086
+ readonly type: "string";
1087
+ readonly description: "Collection uuid used to resolve the git-backed repository connection.";
1088
+ };
1089
+ readonly maxFiles: {
1090
+ readonly type: "number";
1091
+ readonly description: "Maximum number of changed files to include; defaults to 40.";
1092
+ };
1093
+ readonly maxCharsPerFile: {
1094
+ readonly type: "number";
1095
+ readonly description: "Maximum characters per file diff excerpt; defaults to 4000.";
1096
+ };
1097
+ readonly maxTotalChars: {
1098
+ readonly type: "number";
1099
+ readonly description: "Maximum total characters across all file excerpts; defaults to 32000.";
1100
+ };
1101
+ };
1102
+ readonly required: readonly ["collectionUuid"];
1103
+ readonly additionalProperties: false;
1104
+ };
1105
+ };
1106
+ };
1107
+ readonly inputShape: {
1108
+ readonly collectionUuid: z.ZodString;
1109
+ readonly maxFiles: z.ZodOptional<z.ZodNumber>;
1110
+ readonly maxCharsPerFile: z.ZodOptional<z.ZodNumber>;
1111
+ readonly maxTotalChars: z.ZodOptional<z.ZodNumber>;
1112
+ };
1113
+ }, {
1114
+ readonly name: "git_repo_info";
1115
+ readonly definition: {
1116
+ readonly type: "function";
1117
+ readonly function: {
1118
+ readonly name: "git_repo_info";
1119
+ readonly description: "Returns git repository metadata for a git-backed collection: remote url, repo path, HarborClient data path, branch/status, saved requests and documents with repo-relative paths, and uncommitted changes. Use list_collections or get_collection to find a collection uuid.";
1120
+ readonly parameters: {
1121
+ readonly type: "object";
1122
+ readonly properties: {
1123
+ readonly collectionUuid: {
1124
+ readonly type: "string";
1125
+ readonly description: "Collection uuid used to resolve the git-backed repository connection.";
1126
+ };
1127
+ };
1128
+ readonly required: readonly ["collectionUuid"];
1129
+ readonly additionalProperties: false;
1130
+ };
1131
+ };
1132
+ };
1133
+ readonly inputShape: {
1134
+ readonly collectionUuid: z.ZodString;
1135
+ };
1136
+ }, {
1137
+ readonly name: "git_commits";
1138
+ readonly definition: {
1139
+ readonly type: "function";
1140
+ readonly function: {
1141
+ readonly name: "git_commits";
1142
+ readonly description: "Returns recent commit history for the git repository that contains a collection. Use list_collections or get_collection to find a collection uuid.";
1143
+ readonly parameters: {
1144
+ readonly type: "object";
1145
+ readonly properties: {
1146
+ readonly collectionUuid: {
1147
+ readonly type: "string";
1148
+ readonly description: "Collection uuid used to resolve the git-backed repository connection.";
1149
+ };
1150
+ readonly depth: {
1151
+ readonly type: "number";
1152
+ readonly description: "Maximum number of commits to return; defaults to 20.";
1153
+ };
1154
+ };
1155
+ readonly required: readonly ["collectionUuid"];
1156
+ readonly additionalProperties: false;
1157
+ };
1158
+ };
1159
+ };
1160
+ readonly inputShape: {
1161
+ readonly collectionUuid: z.ZodString;
1162
+ readonly depth: z.ZodOptional<z.ZodNumber>;
1163
+ };
1164
+ }, {
1165
+ readonly name: "git_file_info";
1166
+ readonly definition: {
1167
+ readonly type: "function";
1168
+ readonly function: {
1169
+ readonly name: "git_file_info";
1170
+ readonly description: "Returns detailed information about one saved request in a git-backed collection, including its repository-relative file path and commit history for that file. Use get_request or list_requests to find request uuids.";
1171
+ readonly parameters: {
1172
+ readonly type: "object";
1173
+ readonly properties: {
1174
+ readonly collectionUuid: {
1175
+ readonly type: "string";
1176
+ readonly description: "Collection uuid that owns the request.";
1177
+ };
1178
+ readonly requestUuid: {
1179
+ readonly type: "string";
1180
+ readonly description: "Stable request uuid for the saved request file to inspect.";
1181
+ };
1182
+ readonly depth: {
1183
+ readonly type: "number";
1184
+ readonly description: "Maximum number of commits to include in per-file history; defaults to 20.";
1185
+ };
1186
+ };
1187
+ readonly required: readonly ["collectionUuid", "requestUuid"];
1188
+ readonly additionalProperties: false;
1189
+ };
1190
+ };
1191
+ };
1192
+ readonly inputShape: {
1193
+ readonly collectionUuid: z.ZodString;
1194
+ readonly requestUuid: z.ZodString;
1195
+ readonly depth: z.ZodOptional<z.ZodNumber>;
1196
+ };
1197
+ }, {
1198
+ readonly name: "git_file_diff";
1199
+ readonly definition: {
1200
+ readonly type: "function";
1201
+ readonly function: {
1202
+ readonly name: "git_file_diff";
1203
+ readonly description: "Returns a diff of one saved request file between two commits in a git-backed collection. Use git_commits or git_file_info to find commit object ids.";
1204
+ readonly parameters: {
1205
+ readonly type: "object";
1206
+ readonly properties: {
1207
+ readonly collectionUuid: {
1208
+ readonly type: "string";
1209
+ readonly description: "Collection uuid that owns the request.";
1210
+ };
1211
+ readonly requestUuid: {
1212
+ readonly type: "string";
1213
+ readonly description: "Stable request uuid for the saved request file to diff.";
1214
+ };
1215
+ readonly commitA: {
1216
+ readonly type: "string";
1217
+ readonly description: "Older commit object id (parent side of the diff).";
1218
+ };
1219
+ readonly commitB: {
1220
+ readonly type: "string";
1221
+ readonly description: "Newer commit object id (child side of the diff).";
1222
+ };
1223
+ readonly maxChars: {
1224
+ readonly type: "number";
1225
+ readonly description: "Maximum diff characters to return; defaults to 4000.";
1226
+ };
1227
+ };
1228
+ readonly required: readonly ["collectionUuid", "requestUuid", "commitA", "commitB"];
1229
+ readonly additionalProperties: false;
1230
+ };
1231
+ };
1232
+ };
1233
+ readonly inputShape: {
1234
+ readonly collectionUuid: z.ZodString;
1235
+ readonly requestUuid: z.ZodString;
1236
+ readonly commitA: z.ZodString;
1237
+ readonly commitB: z.ZodString;
1238
+ readonly maxChars: z.ZodOptional<z.ZodNumber>;
1239
+ };
1240
+ }];
1241
+ /**
1242
+ * Names of tools exposed to the AI chat agent, derived from {@link AI_TOOLS}.
1243
+ */
1244
+ export declare const AI_TOOL_NAMES: ["get_selected_collection", "list_collections", "get_collection", "list_requests", "get_folder", "get_request", "list_environments", "get_sidebar_request", "get_active_request", "get_active_request_details", "get_active_response_summary", "get_active_response", "query_response_body", "send_active_request", "set_active_environment", "update_active_request", "update_request_script", "create_collection", "create_folder", "create_request", "search_docs", "get_active_terminal", "get_active_terminal_lines", "terminal_exec", "get_markdown_document", "git_diff", "git_repo_info", "git_commits", "git_file_info", "git_file_diff"];
1245
+ /**
1246
+ * Union of supported AI agent tool names.
1247
+ */
1248
+ export type AiToolName = (typeof AI_TOOL_NAMES)[number];
1249
+ /**
1250
+ * OpenAI tool definitions for querying and controlling Harbor app state.
1251
+ */
1252
+ export declare const AI_TOOL_DEFINITIONS: ChatCompletionTool[];
1253
+ /**
1254
+ * Returns the Zod raw shape for a Harbor AI tool's MCP input schema.
1255
+ *
1256
+ * @param name - Harbor AI tool name.
1257
+ * @returns Zod raw shape used when registering the tool on the MCP server.
1258
+ */
1259
+ export declare function getAiToolInputShape(name: AiToolName): Record<string, z.ZodType>;
1260
+ //# sourceMappingURL=index.d.ts.map