@aria-cli/tools 1.0.18 → 1.0.31

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 (466) hide show
  1. package/dist/.aria-build-stamp.json +1 -1
  2. package/dist/ask-user-interaction.js +23 -0
  3. package/dist/cache/web-cache.js +67 -0
  4. package/dist/definitions/arion.js +105 -0
  5. package/dist/definitions/browser/browser.js +419 -0
  6. package/dist/definitions/browser/index.js +5 -0
  7. package/dist/definitions/browser/pw-downloads.js +115 -0
  8. package/dist/definitions/browser/pw-interactions.js +200 -0
  9. package/dist/definitions/browser/pw-responses.js +77 -0
  10. package/dist/definitions/browser/pw-session.js +311 -0
  11. package/dist/definitions/browser/pw-shared.js +67 -0
  12. package/dist/definitions/browser/pw-snapshot.js +302 -0
  13. package/dist/definitions/browser/pw-state.js +63 -0
  14. package/dist/definitions/browser/types.js +5 -0
  15. package/dist/definitions/code-intelligence.js +471 -0
  16. package/dist/definitions/core.js +110 -0
  17. package/dist/definitions/delegation.js +513 -0
  18. package/dist/definitions/deploy.js +66 -0
  19. package/dist/definitions/filesystem.js +197 -0
  20. package/dist/definitions/frg.js +64 -0
  21. package/{dist-cjs/definitions/index.d.ts → dist/definitions/index.js} +2 -0
  22. package/dist/definitions/memory.js +124 -0
  23. package/dist/definitions/messaging.js +626 -0
  24. package/dist/definitions/meta.js +350 -0
  25. package/dist/definitions/network.js +160 -0
  26. package/dist/definitions/outlook.js +278 -0
  27. package/dist/definitions/patch/apply-patch.js +185 -0
  28. package/dist/definitions/patch/fuzzy-match.js +167 -0
  29. package/{dist-cjs/definitions/patch/index.d.ts → dist/definitions/patch/index.js} +1 -0
  30. package/dist/definitions/patch/patch-parser.js +208 -0
  31. package/dist/definitions/patch/sandbox-paths.js +106 -0
  32. package/dist/definitions/process/index.js +5 -0
  33. package/dist/definitions/process/process-registry.js +214 -0
  34. package/dist/definitions/process/process.js +387 -0
  35. package/dist/definitions/process/pty-keys.js +255 -0
  36. package/dist/definitions/process/session-slug.js +143 -0
  37. package/dist/definitions/quip.js +196 -0
  38. package/dist/definitions/search.js +61 -0
  39. package/dist/definitions/session-history.js +70 -0
  40. package/dist/definitions/shell.js +182 -0
  41. package/dist/definitions/slack.js +181 -0
  42. package/dist/definitions/web.js +110 -0
  43. package/dist/{dns-pinning-vc0r0vpx.js → dns-pinning-7szqhtmq.js} +1 -1
  44. package/dist/executors/apply-patch.js +902 -0
  45. package/dist/executors/arion.js +120 -0
  46. package/dist/executors/code-intelligence.js +883 -0
  47. package/dist/executors/deploy.js +849 -0
  48. package/dist/executors/filesystem.js +1119 -0
  49. package/dist/executors/frg-freshness.js +577 -0
  50. package/dist/executors/frg.js +299 -0
  51. package/{dist-cjs/executors/index.d.ts → dist/executors/index.js} +22 -19
  52. package/dist/executors/learning-meta.js +1147 -0
  53. package/dist/executors/lsp-client.js +297 -0
  54. package/dist/executors/memory.js +751 -0
  55. package/dist/executors/meta.js +221 -0
  56. package/dist/executors/process-registry.js +466 -0
  57. package/dist/executors/pty-session-store.js +31 -0
  58. package/dist/executors/pty.js +281 -0
  59. package/dist/executors/restart.js +120 -0
  60. package/dist/executors/search-freshness.js +196 -0
  61. package/dist/executors/search-types.js +53 -0
  62. package/dist/executors/search.js +67 -0
  63. package/dist/executors/self-diagnose.js +399 -0
  64. package/dist/executors/session-history.js +284 -0
  65. package/dist/executors/shell-safety.js +474 -0
  66. package/dist/executors/shell.js +955 -0
  67. package/dist/executors/utils.js +34 -0
  68. package/dist/executors/web.js +543 -0
  69. package/dist/extraction/content-extraction.js +248 -0
  70. package/dist/extraction/index.js +5 -0
  71. package/dist/headless-control-contract.js +968 -0
  72. package/dist/{index-x52t2mbj.js → index-45qvfjbf.js} +2 -2
  73. package/dist/{index-8xap0se3.js → index-b3sdwzh5.js} +1 -1
  74. package/dist/index-tvryzx00.js +2 -0
  75. package/dist/index.js +71 -372
  76. package/dist/local-control-http-auth.js +3 -0
  77. package/dist/{lsp-client-msnj763y.js → lsp-client-3qxptwyw.js} +1 -1
  78. package/dist/mcp/client.js +182 -0
  79. package/dist/mcp/connection.js +484 -0
  80. package/dist/mcp/index.js +11 -0
  81. package/dist/mcp/jsonrpc.js +145 -0
  82. package/dist/mcp/types.js +8 -0
  83. package/dist/network-control-adapter.js +73 -0
  84. package/dist/network-runtime/address-types.js +166 -0
  85. package/dist/network-runtime/db-owner-fencing.js +70 -0
  86. package/dist/network-runtime/delivery-receipts.js +270 -0
  87. package/dist/network-runtime/direct-endpoint-authority.js +26 -0
  88. package/dist/network-runtime/index.js +13 -1
  89. package/dist/network-runtime/local-control-contract.js +628 -0
  90. package/dist/network-runtime/node-store-contract.js +35 -0
  91. package/dist/network-runtime/pair-route-contract.js +78 -0
  92. package/dist/network-runtime/peer-capabilities.js +29 -0
  93. package/dist/network-runtime/peer-principal-ref.js +13 -0
  94. package/dist/network-runtime/peer-state-machine.js +122 -0
  95. package/dist/network-runtime/protocol-schemas.js +206 -0
  96. package/dist/network-runtime/runtime-bootstrap-contract.js +61 -0
  97. package/dist/outlook/desktop-session.js +280 -0
  98. package/dist/policy.js +150 -0
  99. package/dist/providers/brave.js +63 -0
  100. package/dist/providers/duckduckgo.js +177 -0
  101. package/dist/providers/exa.js +64 -0
  102. package/dist/providers/firecrawl.js +56 -0
  103. package/{dist-cjs/providers/index.d.ts → dist/providers/index.js} +1 -1
  104. package/dist/providers/jina.js +50 -0
  105. package/dist/providers/router.js +97 -0
  106. package/dist/providers/search-provider.js +33 -0
  107. package/dist/providers/tavily.js +55 -0
  108. package/dist/pty-w5c9dv33.js +1 -0
  109. package/dist/quip/desktop-session.js +318 -0
  110. package/{dist-cjs/registry/index.d.ts → dist/registry/index.js} +1 -0
  111. package/dist/registry/registry.js +757 -0
  112. package/dist/runtime-socket-local-control-client.js +331 -0
  113. package/dist/security/dns-normalization.js +20 -0
  114. package/dist/security/dns-pinning.js +124 -0
  115. package/dist/security/external-content.js +92 -0
  116. package/dist/security/ssrf.js +182 -0
  117. package/dist/session-history-gk75e3ta.js +1 -0
  118. package/dist/slack/desktop-session.js +325 -0
  119. package/dist/tool-factory.js +48 -0
  120. package/dist/types.js +8 -0
  121. package/dist/utils/retry.js +133 -0
  122. package/dist/utils/safe-parse-json.js +161 -0
  123. package/dist/utils/url.js +20 -0
  124. package/dist-cjs/ask-user-interaction.js +28 -0
  125. package/dist-cjs/cache/web-cache.js +71 -0
  126. package/dist-cjs/definitions/arion.js +108 -0
  127. package/dist-cjs/definitions/browser/browser.js +422 -0
  128. package/dist-cjs/definitions/browser/index.js +9 -0
  129. package/dist-cjs/definitions/browser/pw-downloads.js +118 -0
  130. package/dist-cjs/definitions/browser/pw-interactions.js +214 -0
  131. package/dist-cjs/definitions/browser/pw-responses.js +85 -0
  132. package/dist-cjs/definitions/browser/pw-session.js +327 -0
  133. package/dist-cjs/definitions/browser/pw-shared.js +73 -0
  134. package/dist-cjs/definitions/browser/pw-snapshot.js +308 -0
  135. package/dist-cjs/definitions/browser/pw-state.js +71 -0
  136. package/dist-cjs/definitions/browser/types.js +6 -0
  137. package/dist-cjs/definitions/code-intelligence.js +474 -0
  138. package/dist-cjs/definitions/core.js +134 -0
  139. package/dist-cjs/definitions/delegation.js +516 -0
  140. package/dist-cjs/definitions/deploy.js +69 -0
  141. package/dist-cjs/definitions/filesystem.js +200 -0
  142. package/dist-cjs/definitions/frg.js +67 -0
  143. package/dist-cjs/definitions/index.js +44 -0
  144. package/dist-cjs/definitions/memory.js +127 -0
  145. package/dist-cjs/definitions/messaging.js +632 -0
  146. package/dist-cjs/definitions/meta.js +353 -0
  147. package/dist-cjs/definitions/network.js +163 -0
  148. package/dist-cjs/definitions/outlook.js +281 -0
  149. package/dist-cjs/definitions/patch/apply-patch.js +192 -0
  150. package/dist-cjs/definitions/patch/fuzzy-match.js +173 -0
  151. package/dist-cjs/definitions/patch/index.js +6 -0
  152. package/dist-cjs/definitions/patch/patch-parser.js +216 -0
  153. package/dist-cjs/definitions/patch/sandbox-paths.js +114 -0
  154. package/dist-cjs/definitions/process/index.js +9 -0
  155. package/dist-cjs/definitions/process/process-registry.js +232 -0
  156. package/dist-cjs/definitions/process/process.js +390 -0
  157. package/dist-cjs/definitions/process/pty-keys.js +260 -0
  158. package/dist-cjs/definitions/process/session-slug.js +146 -0
  159. package/dist-cjs/definitions/quip.js +199 -0
  160. package/dist-cjs/definitions/search.js +64 -0
  161. package/dist-cjs/definitions/session-history.js +73 -0
  162. package/dist-cjs/definitions/shell.js +185 -0
  163. package/dist-cjs/definitions/slack.js +184 -0
  164. package/dist-cjs/definitions/web.js +113 -0
  165. package/dist-cjs/executors/apply-patch.js +939 -0
  166. package/dist-cjs/executors/arion.js +126 -0
  167. package/dist-cjs/executors/code-intelligence.js +926 -0
  168. package/dist-cjs/executors/deploy.js +870 -0
  169. package/dist-cjs/executors/filesystem.js +1164 -0
  170. package/dist-cjs/executors/frg-freshness.js +628 -0
  171. package/dist-cjs/executors/frg.js +335 -0
  172. package/dist-cjs/executors/index.js +144 -0
  173. package/dist-cjs/executors/learning-meta.js +1166 -0
  174. package/dist-cjs/executors/memory.js +797 -0
  175. package/dist-cjs/executors/meta.js +227 -0
  176. package/dist-cjs/executors/process-registry.js +470 -0
  177. package/dist-cjs/executors/pty-session-store.js +35 -0
  178. package/dist-cjs/executors/pty.js +289 -0
  179. package/dist-cjs/executors/restart.js +156 -0
  180. package/dist-cjs/executors/search-freshness.js +235 -0
  181. package/dist-cjs/executors/search-types.js +57 -0
  182. package/dist-cjs/executors/search.js +103 -0
  183. package/dist-cjs/executors/self-diagnose.js +435 -0
  184. package/dist-cjs/executors/session-history.js +321 -0
  185. package/dist-cjs/executors/shell-safety.js +479 -0
  186. package/dist-cjs/executors/shell.js +1002 -0
  187. package/dist-cjs/executors/utils.js +74 -0
  188. package/dist-cjs/executors/web.js +548 -0
  189. package/dist-cjs/extraction/content-extraction.js +289 -0
  190. package/dist-cjs/extraction/index.js +9 -0
  191. package/dist-cjs/headless-control-contract.js +973 -0
  192. package/dist-cjs/index.js +436 -385
  193. package/dist-cjs/local-control-http-auth.js +6 -0
  194. package/dist-cjs/mcp/client.js +186 -0
  195. package/dist-cjs/mcp/connection.js +488 -0
  196. package/dist-cjs/mcp/index.js +31 -0
  197. package/dist-cjs/mcp/jsonrpc.js +149 -0
  198. package/dist-cjs/mcp/types.js +9 -0
  199. package/dist-cjs/network-control-adapter.js +78 -0
  200. package/dist-cjs/network-runtime/address-types.js +169 -0
  201. package/dist-cjs/network-runtime/db-owner-fencing.js +77 -0
  202. package/dist-cjs/network-runtime/delivery-receipts.js +279 -0
  203. package/dist-cjs/network-runtime/direct-endpoint-authority.js +30 -0
  204. package/dist-cjs/network-runtime/index.js +173 -8
  205. package/dist-cjs/network-runtime/local-control-contract.js +634 -0
  206. package/dist-cjs/network-runtime/node-store-contract.js +39 -0
  207. package/dist-cjs/network-runtime/pair-route-contract.js +81 -0
  208. package/dist-cjs/network-runtime/peer-capabilities.js +38 -0
  209. package/dist-cjs/network-runtime/peer-principal-ref.js +16 -0
  210. package/dist-cjs/network-runtime/peer-state-machine.js +130 -0
  211. package/dist-cjs/network-runtime/protocol-schemas.js +213 -0
  212. package/dist-cjs/network-runtime/runtime-bootstrap-contract.js +64 -0
  213. package/dist-cjs/outlook/desktop-session.js +319 -0
  214. package/dist-cjs/policy.js +156 -0
  215. package/dist-cjs/providers/brave.js +67 -0
  216. package/dist-cjs/providers/duckduckgo.js +181 -0
  217. package/dist-cjs/providers/exa.js +68 -0
  218. package/dist-cjs/providers/firecrawl.js +60 -0
  219. package/dist-cjs/providers/index.js +18 -0
  220. package/dist-cjs/providers/jina.js +54 -0
  221. package/dist-cjs/providers/router.js +101 -0
  222. package/dist-cjs/providers/search-provider.js +37 -0
  223. package/dist-cjs/providers/tavily.js +59 -0
  224. package/dist-cjs/quip/desktop-session.js +354 -0
  225. package/dist-cjs/registry/index.js +7 -0
  226. package/dist-cjs/registry/registry.js +762 -0
  227. package/dist-cjs/runtime-socket-local-control-client.js +368 -0
  228. package/dist-cjs/security/dns-normalization.js +23 -0
  229. package/dist-cjs/security/dns-pinning.js +161 -0
  230. package/dist-cjs/security/external-content.js +96 -0
  231. package/dist-cjs/security/ssrf.js +222 -0
  232. package/dist-cjs/slack/desktop-session.js +367 -0
  233. package/dist-cjs/tool-factory.js +51 -0
  234. package/dist-cjs/types.js +9 -0
  235. package/dist-cjs/utils/retry.js +170 -0
  236. package/dist-cjs/utils/safe-parse-json.js +165 -0
  237. package/dist-cjs/utils/url.js +24 -0
  238. package/package.json +11 -10
  239. package/dist/ask-user-interaction.d.ts +0 -10
  240. package/dist/cache/web-cache.d.ts +0 -52
  241. package/dist/definitions/arion.d.ts +0 -8
  242. package/dist/definitions/browser/browser.d.ts +0 -2
  243. package/dist/definitions/browser/index.d.ts +0 -1
  244. package/dist/definitions/browser/pw-downloads.d.ts +0 -13
  245. package/dist/definitions/browser/pw-interactions.d.ts +0 -78
  246. package/dist/definitions/browser/pw-responses.d.ts +0 -28
  247. package/dist/definitions/browser/pw-session.d.ts +0 -65
  248. package/dist/definitions/browser/pw-shared.d.ts +0 -22
  249. package/dist/definitions/browser/pw-snapshot.d.ts +0 -34
  250. package/dist/definitions/browser/pw-state.d.ts +0 -22
  251. package/dist/definitions/browser/types.d.ts +0 -277
  252. package/dist/definitions/code-intelligence.d.ts +0 -8
  253. package/dist/definitions/core.d.ts +0 -47
  254. package/dist/definitions/delegation.d.ts +0 -11
  255. package/dist/definitions/deploy.d.ts +0 -15
  256. package/dist/definitions/filesystem.d.ts +0 -9
  257. package/dist/definitions/frg.d.ts +0 -3
  258. package/dist/definitions/index.d.ts +0 -19
  259. package/dist/definitions/memory.d.ts +0 -8
  260. package/dist/definitions/messaging.d.ts +0 -11
  261. package/dist/definitions/meta.d.ts +0 -11
  262. package/dist/definitions/network.d.ts +0 -11
  263. package/dist/definitions/outlook.d.ts +0 -2
  264. package/dist/definitions/patch/apply-patch.d.ts +0 -11
  265. package/dist/definitions/patch/fuzzy-match.d.ts +0 -10
  266. package/dist/definitions/patch/index.d.ts +0 -1
  267. package/dist/definitions/patch/patch-parser.d.ts +0 -50
  268. package/dist/definitions/patch/sandbox-paths.d.ts +0 -18
  269. package/dist/definitions/process/index.d.ts +0 -1
  270. package/dist/definitions/process/process-registry.d.ts +0 -67
  271. package/dist/definitions/process/process.d.ts +0 -9
  272. package/dist/definitions/process/pty-keys.d.ts +0 -13
  273. package/dist/definitions/process/session-slug.d.ts +0 -1
  274. package/dist/definitions/quip.d.ts +0 -2
  275. package/dist/definitions/search.d.ts +0 -9
  276. package/dist/definitions/session-history.d.ts +0 -11
  277. package/dist/definitions/shell.d.ts +0 -8
  278. package/dist/definitions/slack.d.ts +0 -2
  279. package/dist/definitions/web.d.ts +0 -8
  280. package/dist/executors/apply-patch.d.ts +0 -51
  281. package/dist/executors/arion.d.ts +0 -50
  282. package/dist/executors/code-intelligence.d.ts +0 -138
  283. package/dist/executors/deploy.d.ts +0 -169
  284. package/dist/executors/filesystem.d.ts +0 -150
  285. package/dist/executors/frg-freshness.d.ts +0 -93
  286. package/dist/executors/frg.d.ts +0 -27
  287. package/dist/executors/index.d.ts +0 -44
  288. package/dist/executors/learning-meta.d.ts +0 -87
  289. package/dist/executors/lsp-client.d.ts +0 -38
  290. package/dist/executors/memory.d.ts +0 -203
  291. package/dist/executors/meta.d.ts +0 -73
  292. package/dist/executors/process-registry.d.ts +0 -98
  293. package/dist/executors/pty-session-store.d.ts +0 -14
  294. package/dist/executors/pty.d.ts +0 -133
  295. package/dist/executors/restart.d.ts +0 -13
  296. package/dist/executors/search-freshness.d.ts +0 -50
  297. package/dist/executors/search-types.d.ts +0 -52
  298. package/dist/executors/search.d.ts +0 -11
  299. package/dist/executors/self-diagnose.d.ts +0 -89
  300. package/dist/executors/session-history.d.ts +0 -75
  301. package/dist/executors/shell-safety.d.ts +0 -27
  302. package/dist/executors/shell.d.ts +0 -168
  303. package/dist/executors/utils.d.ts +0 -20
  304. package/dist/executors/web.d.ts +0 -89
  305. package/dist/extraction/content-extraction.d.ts +0 -48
  306. package/dist/extraction/index.d.ts +0 -4
  307. package/dist/headless-control-contract.d.ts +0 -3182
  308. package/dist/index-a2fr1b3x.js +0 -2
  309. package/dist/index.d.ts +0 -62
  310. package/dist/local-control-http-auth.d.ts +0 -2
  311. package/dist/mcp/client.d.ts +0 -68
  312. package/dist/mcp/connection.d.ts +0 -54
  313. package/dist/mcp/index.d.ts +0 -10
  314. package/dist/mcp/jsonrpc.d.ts +0 -36
  315. package/dist/mcp/types.d.ts +0 -178
  316. package/dist/network-control-adapter.d.ts +0 -4
  317. package/dist/network-runtime/address-types.d.ts +0 -201
  318. package/dist/network-runtime/db-owner-fencing.d.ts +0 -43
  319. package/dist/network-runtime/delivery-receipts.d.ts +0 -117
  320. package/dist/network-runtime/direct-endpoint-authority.d.ts +0 -8
  321. package/dist/network-runtime/index.d.ts +0 -24
  322. package/dist/network-runtime/local-control-contract.d.ts +0 -758
  323. package/dist/network-runtime/node-store-contract.d.ts +0 -49
  324. package/dist/network-runtime/pair-route-contract.d.ts +0 -100
  325. package/dist/network-runtime/peer-capabilities.d.ts +0 -10
  326. package/dist/network-runtime/peer-principal-ref.d.ts +0 -9
  327. package/dist/network-runtime/peer-state-machine.d.ts +0 -70
  328. package/dist/network-runtime/protocol-schemas.d.ts +0 -328
  329. package/dist/network-runtime/runtime-bootstrap-contract.d.ts +0 -81
  330. package/dist/outlook/desktop-session.d.ts +0 -68
  331. package/dist/policy.d.ts +0 -43
  332. package/dist/providers/brave.d.ts +0 -10
  333. package/dist/providers/duckduckgo.d.ts +0 -18
  334. package/dist/providers/exa.d.ts +0 -10
  335. package/dist/providers/firecrawl.d.ts +0 -10
  336. package/dist/providers/index.d.ts +0 -8
  337. package/dist/providers/jina.d.ts +0 -10
  338. package/dist/providers/router.d.ts +0 -21
  339. package/dist/providers/search-provider.d.ts +0 -35
  340. package/dist/providers/tavily.d.ts +0 -10
  341. package/dist/pty-ff59hy75.js +0 -1
  342. package/dist/quip/desktop-session.d.ts +0 -69
  343. package/dist/registry/index.d.ts +0 -1
  344. package/dist/registry/registry.d.ts +0 -156
  345. package/dist/runtime-socket-local-control-client.d.ts +0 -10
  346. package/dist/security/dns-normalization.d.ts +0 -6
  347. package/dist/security/dns-pinning.d.ts +0 -27
  348. package/dist/security/external-content.d.ts +0 -40
  349. package/dist/security/ssrf.d.ts +0 -40
  350. package/dist/session-history-6gn52xhp.js +0 -1
  351. package/dist/slack/desktop-session.d.ts +0 -69
  352. package/dist/tool-factory.d.ts +0 -46
  353. package/dist/types.d.ts +0 -1192
  354. package/dist/utils/retry.d.ts +0 -11
  355. package/dist/utils/safe-parse-json.d.ts +0 -26
  356. package/dist/utils/url.d.ts +0 -10
  357. package/dist-cjs/ask-user-interaction.d.ts +0 -10
  358. package/dist-cjs/cache/web-cache.d.ts +0 -52
  359. package/dist-cjs/definitions/arion.d.ts +0 -8
  360. package/dist-cjs/definitions/browser/browser.d.ts +0 -2
  361. package/dist-cjs/definitions/browser/index.d.ts +0 -1
  362. package/dist-cjs/definitions/browser/pw-downloads.d.ts +0 -13
  363. package/dist-cjs/definitions/browser/pw-interactions.d.ts +0 -78
  364. package/dist-cjs/definitions/browser/pw-responses.d.ts +0 -28
  365. package/dist-cjs/definitions/browser/pw-session.d.ts +0 -65
  366. package/dist-cjs/definitions/browser/pw-shared.d.ts +0 -22
  367. package/dist-cjs/definitions/browser/pw-snapshot.d.ts +0 -34
  368. package/dist-cjs/definitions/browser/pw-state.d.ts +0 -22
  369. package/dist-cjs/definitions/browser/types.d.ts +0 -277
  370. package/dist-cjs/definitions/code-intelligence.d.ts +0 -8
  371. package/dist-cjs/definitions/core.d.ts +0 -47
  372. package/dist-cjs/definitions/delegation.d.ts +0 -11
  373. package/dist-cjs/definitions/deploy.d.ts +0 -15
  374. package/dist-cjs/definitions/filesystem.d.ts +0 -9
  375. package/dist-cjs/definitions/frg.d.ts +0 -3
  376. package/dist-cjs/definitions/memory.d.ts +0 -8
  377. package/dist-cjs/definitions/messaging.d.ts +0 -11
  378. package/dist-cjs/definitions/meta.d.ts +0 -11
  379. package/dist-cjs/definitions/network.d.ts +0 -11
  380. package/dist-cjs/definitions/outlook.d.ts +0 -2
  381. package/dist-cjs/definitions/patch/apply-patch.d.ts +0 -11
  382. package/dist-cjs/definitions/patch/fuzzy-match.d.ts +0 -10
  383. package/dist-cjs/definitions/patch/patch-parser.d.ts +0 -50
  384. package/dist-cjs/definitions/patch/sandbox-paths.d.ts +0 -18
  385. package/dist-cjs/definitions/process/index.d.ts +0 -1
  386. package/dist-cjs/definitions/process/process-registry.d.ts +0 -67
  387. package/dist-cjs/definitions/process/process.d.ts +0 -9
  388. package/dist-cjs/definitions/process/pty-keys.d.ts +0 -13
  389. package/dist-cjs/definitions/process/session-slug.d.ts +0 -1
  390. package/dist-cjs/definitions/quip.d.ts +0 -2
  391. package/dist-cjs/definitions/search.d.ts +0 -9
  392. package/dist-cjs/definitions/session-history.d.ts +0 -11
  393. package/dist-cjs/definitions/shell.d.ts +0 -8
  394. package/dist-cjs/definitions/slack.d.ts +0 -2
  395. package/dist-cjs/definitions/web.d.ts +0 -8
  396. package/dist-cjs/executors/apply-patch.d.ts +0 -51
  397. package/dist-cjs/executors/arion.d.ts +0 -50
  398. package/dist-cjs/executors/code-intelligence.d.ts +0 -138
  399. package/dist-cjs/executors/deploy.d.ts +0 -169
  400. package/dist-cjs/executors/filesystem.d.ts +0 -150
  401. package/dist-cjs/executors/frg-freshness.d.ts +0 -93
  402. package/dist-cjs/executors/frg.d.ts +0 -27
  403. package/dist-cjs/executors/learning-meta.d.ts +0 -87
  404. package/dist-cjs/executors/lsp-client.d.ts +0 -38
  405. package/dist-cjs/executors/memory.d.ts +0 -203
  406. package/dist-cjs/executors/meta.d.ts +0 -73
  407. package/dist-cjs/executors/process-registry.d.ts +0 -98
  408. package/dist-cjs/executors/pty-session-store.d.ts +0 -14
  409. package/dist-cjs/executors/pty.d.ts +0 -133
  410. package/dist-cjs/executors/restart.d.ts +0 -13
  411. package/dist-cjs/executors/search-freshness.d.ts +0 -50
  412. package/dist-cjs/executors/search-types.d.ts +0 -52
  413. package/dist-cjs/executors/search.d.ts +0 -11
  414. package/dist-cjs/executors/self-diagnose.d.ts +0 -89
  415. package/dist-cjs/executors/session-history.d.ts +0 -75
  416. package/dist-cjs/executors/shell-safety.d.ts +0 -27
  417. package/dist-cjs/executors/shell.d.ts +0 -168
  418. package/dist-cjs/executors/utils.d.ts +0 -20
  419. package/dist-cjs/executors/web.d.ts +0 -89
  420. package/dist-cjs/extraction/content-extraction.d.ts +0 -48
  421. package/dist-cjs/extraction/index.d.ts +0 -4
  422. package/dist-cjs/headless-control-contract.d.ts +0 -3182
  423. package/dist-cjs/index.d.ts +0 -62
  424. package/dist-cjs/local-control-http-auth.d.ts +0 -2
  425. package/dist-cjs/mcp/client.d.ts +0 -68
  426. package/dist-cjs/mcp/connection.d.ts +0 -54
  427. package/dist-cjs/mcp/index.d.ts +0 -10
  428. package/dist-cjs/mcp/jsonrpc.d.ts +0 -36
  429. package/dist-cjs/mcp/types.d.ts +0 -178
  430. package/dist-cjs/network-control-adapter.d.ts +0 -4
  431. package/dist-cjs/network-runtime/address-types.d.ts +0 -201
  432. package/dist-cjs/network-runtime/db-owner-fencing.d.ts +0 -43
  433. package/dist-cjs/network-runtime/delivery-receipts.d.ts +0 -117
  434. package/dist-cjs/network-runtime/direct-endpoint-authority.d.ts +0 -8
  435. package/dist-cjs/network-runtime/index.d.ts +0 -24
  436. package/dist-cjs/network-runtime/local-control-contract.d.ts +0 -758
  437. package/dist-cjs/network-runtime/node-store-contract.d.ts +0 -49
  438. package/dist-cjs/network-runtime/pair-route-contract.d.ts +0 -100
  439. package/dist-cjs/network-runtime/peer-capabilities.d.ts +0 -10
  440. package/dist-cjs/network-runtime/peer-principal-ref.d.ts +0 -9
  441. package/dist-cjs/network-runtime/peer-state-machine.d.ts +0 -70
  442. package/dist-cjs/network-runtime/protocol-schemas.d.ts +0 -328
  443. package/dist-cjs/network-runtime/runtime-bootstrap-contract.d.ts +0 -81
  444. package/dist-cjs/outlook/desktop-session.d.ts +0 -68
  445. package/dist-cjs/policy.d.ts +0 -43
  446. package/dist-cjs/providers/brave.d.ts +0 -10
  447. package/dist-cjs/providers/duckduckgo.d.ts +0 -18
  448. package/dist-cjs/providers/exa.d.ts +0 -10
  449. package/dist-cjs/providers/firecrawl.d.ts +0 -10
  450. package/dist-cjs/providers/jina.d.ts +0 -10
  451. package/dist-cjs/providers/router.d.ts +0 -21
  452. package/dist-cjs/providers/search-provider.d.ts +0 -35
  453. package/dist-cjs/providers/tavily.d.ts +0 -10
  454. package/dist-cjs/quip/desktop-session.d.ts +0 -69
  455. package/dist-cjs/registry/registry.d.ts +0 -156
  456. package/dist-cjs/runtime-socket-local-control-client.d.ts +0 -10
  457. package/dist-cjs/security/dns-normalization.d.ts +0 -6
  458. package/dist-cjs/security/dns-pinning.d.ts +0 -27
  459. package/dist-cjs/security/external-content.d.ts +0 -40
  460. package/dist-cjs/security/ssrf.d.ts +0 -40
  461. package/dist-cjs/slack/desktop-session.d.ts +0 -69
  462. package/dist-cjs/tool-factory.d.ts +0 -46
  463. package/dist-cjs/types.d.ts +0 -1192
  464. package/dist-cjs/utils/retry.d.ts +0 -11
  465. package/dist-cjs/utils/safe-parse-json.d.ts +0 -26
  466. package/dist-cjs/utils/url.d.ts +0 -10
@@ -1,22 +0,0 @@
1
- /**
2
- * Shared utilities for Playwright-based browser tool functions.
3
- * Ported from OpenClaw's pw-tools-core.shared.ts.
4
- */
5
- /**
6
- * Parse a raw ref string into its canonical "eN" form.
7
- * Accepts: "e1", "@e1", "ref=e1" -> "e1". Returns null if invalid.
8
- */
9
- export declare function parseRoleRef(raw: string): string | null;
10
- /**
11
- * Validate and normalize a ref string. Throws if the ref is empty/invalid.
12
- */
13
- export declare function requireRef(value: unknown): string;
14
- /**
15
- * Clamp a timeout value to a safe range (500ms .. 120s).
16
- */
17
- export declare function normalizeTimeoutMs(timeoutMs: number | undefined, fallback: number): number;
18
- /**
19
- * Rewrite Playwright errors into messages that guide the LLM to take
20
- * corrective action (re-snapshot, scroll, etc.).
21
- */
22
- export declare function toAIFriendlyError(error: unknown, selector: string): Error;
@@ -1,34 +0,0 @@
1
- /**
2
- * Accessibility tree snapshot and role-ref system.
3
- * Ported from OpenClaw's pw-role-snapshot.ts + pw-tools-core.snapshot.ts.
4
- */
5
- import type { PwPage, RoleRefMap, RoleSnapshotStats, SnapshotResult } from "./types.js";
6
- export interface RoleSnapshotOptions {
7
- /** Only include interactive elements (buttons, links, inputs, etc.). */
8
- interactive?: boolean;
9
- /** Maximum depth to include (0 = root only). */
10
- maxDepth?: number;
11
- /** Remove unnamed structural elements and empty branches. */
12
- compact?: boolean;
13
- }
14
- export declare function getRoleSnapshotStats(snapshot: string, refs: RoleRefMap): RoleSnapshotStats;
15
- /**
16
- * Build a role-ref snapshot from Playwright's ariaSnapshot() output.
17
- * This is the core transform: raw ARIA tree text -> annotated tree + ref map.
18
- */
19
- export declare function buildRoleSnapshotFromAriaSnapshot(ariaSnapshot: string, options?: RoleSnapshotOptions): {
20
- snapshot: string;
21
- refs: RoleRefMap;
22
- };
23
- /**
24
- * Take a role-based accessibility snapshot of a page.
25
- * Uses Playwright's built-in ariaSnapshot() on the :root locator,
26
- * then annotates elements with [ref=eN] markers.
27
- */
28
- export declare function snapshotPage(page: PwPage, options?: RoleSnapshotOptions): Promise<SnapshotResult>;
29
- /**
30
- * Navigate a page to a URL.
31
- */
32
- export declare function navigatePage(page: PwPage, url: string, timeoutMs?: number): Promise<{
33
- url: string;
34
- }>;
@@ -1,22 +0,0 @@
1
- /**
2
- * Cookie and storage management.
3
- * Ported from OpenClaw's pw-tools-core.state.ts + pw-tools-core.storage.ts.
4
- */
5
- import type { PwBrowserContext, PwCookie, PwPage } from "./types.js";
6
- export declare function cookiesGet(context: PwBrowserContext): Promise<{
7
- cookies: PwCookie[];
8
- }>;
9
- export declare function cookiesSet(context: PwBrowserContext, cookies: Array<{
10
- name: string;
11
- value: string;
12
- domain: string;
13
- path?: string;
14
- }>): Promise<void>;
15
- export declare function cookiesClear(context: PwBrowserContext): Promise<void>;
16
- type StorageKind = "local" | "session";
17
- export declare function storageGet(page: PwPage, kind: StorageKind, key?: string): Promise<{
18
- values: Record<string, string>;
19
- }>;
20
- export declare function storageSet(page: PwPage, kind: StorageKind, key: string, value: string): Promise<void>;
21
- export declare function storageClear(page: PwPage, kind: StorageKind): Promise<void>;
22
- export {};
@@ -1,277 +0,0 @@
1
- /**
2
- * Shared browser tool types.
3
- *
4
- * Playwright types are referenced dynamically (the `playwright` package is an
5
- * optional peer dependency loaded via `await import("playwright")`).
6
- */
7
- /** Minimal Browser interface (matches Playwright's Browser). */
8
- export interface PwBrowser {
9
- close(): Promise<void>;
10
- contexts(): PwBrowserContext[];
11
- isConnected(): boolean;
12
- }
13
- /** Minimal BrowserContext interface. */
14
- export interface PwBrowserContext {
15
- pages(): PwPage[];
16
- newPage(): Promise<PwPage>;
17
- cookies(urls?: string | string[]): Promise<PwCookie[]>;
18
- addCookies(cookies: PwCookie[]): Promise<void>;
19
- clearCookies(): Promise<void>;
20
- setOffline(offline: boolean): Promise<void>;
21
- close(): Promise<void>;
22
- }
23
- /** Minimal Page interface. */
24
- export interface PwPage {
25
- goto(url: string, options?: {
26
- timeout?: number;
27
- waitUntil?: "load" | "domcontentloaded" | "networkidle" | "commit";
28
- }): Promise<unknown>;
29
- url(): string;
30
- title(): Promise<string>;
31
- close(): Promise<void>;
32
- content(): Promise<string>;
33
- setViewportSize(size: {
34
- width: number;
35
- height: number;
36
- }): Promise<void>;
37
- screenshot(options?: {
38
- type?: "png" | "jpeg";
39
- fullPage?: boolean;
40
- }): Promise<Buffer>;
41
- evaluate<T>(fn: string | ((...args: unknown[]) => T), arg?: unknown): Promise<T>;
42
- locator(selector: string): PwLocator;
43
- getByRole(role: string, options?: {
44
- name?: string;
45
- exact?: boolean;
46
- }): PwLocator;
47
- keyboard: {
48
- press(key: string, options?: {
49
- delay?: number;
50
- }): Promise<void>;
51
- };
52
- mouse: {
53
- wheel(deltaX: number, deltaY: number): Promise<void>;
54
- };
55
- waitForTimeout(timeout: number): Promise<void>;
56
- waitForSelector(selector: string, options?: {
57
- timeout?: number;
58
- state?: string;
59
- }): Promise<unknown>;
60
- waitForLoadState(state?: string, options?: {
61
- timeout?: number;
62
- }): Promise<void>;
63
- on(event: string, handler: (...args: unknown[]) => void): void;
64
- off(event: string, handler: (...args: unknown[]) => void): void;
65
- isClosed(): boolean;
66
- frameLocator(selector: string): PwFrameLocator;
67
- }
68
- export interface PwFrameLocator {
69
- locator(selector: string): PwLocator;
70
- getByRole(role: string, options?: {
71
- name?: string;
72
- exact?: boolean;
73
- }): PwLocator;
74
- }
75
- export interface PwLocator {
76
- click(options?: {
77
- timeout?: number;
78
- button?: string;
79
- modifiers?: string[];
80
- }): Promise<void>;
81
- dblclick(options?: {
82
- timeout?: number;
83
- button?: string;
84
- modifiers?: string[];
85
- }): Promise<void>;
86
- fill(value: string, options?: {
87
- timeout?: number;
88
- }): Promise<void>;
89
- type(text: string, options?: {
90
- timeout?: number;
91
- delay?: number;
92
- }): Promise<void>;
93
- press(key: string, options?: {
94
- timeout?: number;
95
- }): Promise<void>;
96
- hover(options?: {
97
- timeout?: number;
98
- }): Promise<void>;
99
- selectOption(values: string | string[], options?: {
100
- timeout?: number;
101
- }): Promise<string[]>;
102
- dragTo(target: PwLocator, options?: {
103
- timeout?: number;
104
- }): Promise<void>;
105
- setInputFiles(files: string | string[]): Promise<void>;
106
- highlight(): Promise<void>;
107
- screenshot(options?: {
108
- type?: "png" | "jpeg";
109
- }): Promise<Buffer>;
110
- scrollIntoViewIfNeeded(options?: {
111
- timeout?: number;
112
- }): Promise<void>;
113
- boundingBox(): Promise<{
114
- x: number;
115
- y: number;
116
- width: number;
117
- height: number;
118
- } | null>;
119
- elementHandle(): Promise<PwElementHandle | null>;
120
- nth(index: number): PwLocator;
121
- first(): PwLocator;
122
- waitFor(options?: {
123
- state?: string;
124
- timeout?: number;
125
- }): Promise<void>;
126
- ariaSnapshot(): Promise<string>;
127
- setChecked(checked: boolean, options?: {
128
- timeout?: number;
129
- }): Promise<void>;
130
- }
131
- export interface PwElementHandle {
132
- evaluate<T>(fn: (el: Element, ...args: unknown[]) => T, ...args: unknown[]): Promise<T>;
133
- }
134
- export interface PwCookie {
135
- name: string;
136
- value: string;
137
- domain?: string;
138
- path?: string;
139
- url?: string;
140
- expires?: number;
141
- httpOnly?: boolean;
142
- secure?: boolean;
143
- sameSite?: "Lax" | "None" | "Strict";
144
- }
145
- export interface BrowserSession {
146
- browser: PwBrowser;
147
- context: PwBrowserContext;
148
- page: PwPage;
149
- }
150
- export interface RoleRef {
151
- role: string;
152
- name?: string;
153
- /** Index used only when role+name duplicates exist. */
154
- nth?: number;
155
- }
156
- export type RoleRefMap = Record<string, RoleRef>;
157
- export interface RoleSnapshotStats {
158
- lines: number;
159
- chars: number;
160
- refs: number;
161
- interactive: number;
162
- }
163
- export interface SnapshotResult {
164
- /** Text representation of accessibility tree */
165
- snapshot: string;
166
- refs: RoleRefMap;
167
- stats: RoleSnapshotStats;
168
- url: string;
169
- title: string;
170
- }
171
- export interface BrowserConsoleMessage {
172
- type: string;
173
- text: string;
174
- timestamp: string;
175
- }
176
- export interface BrowserNetworkRequest {
177
- id: string;
178
- timestamp: string;
179
- method: string;
180
- url: string;
181
- status?: number;
182
- resourceType?: string;
183
- ok?: boolean;
184
- failureText?: string;
185
- }
186
- export interface BrowserPageError {
187
- message: string;
188
- name?: string;
189
- timestamp: string;
190
- }
191
- export type BrowserAction = {
192
- action: "launch";
193
- url?: string;
194
- headless?: boolean;
195
- } | {
196
- action: "close";
197
- } | {
198
- action: "navigate";
199
- url: string;
200
- } | {
201
- action: "snapshot";
202
- interactive?: boolean;
203
- } | {
204
- action: "click";
205
- ref: string;
206
- button?: "left" | "right" | "middle";
207
- modifiers?: string[];
208
- doubleClick?: boolean;
209
- } | {
210
- action: "type";
211
- ref: string;
212
- text: string;
213
- submit?: boolean;
214
- slowly?: boolean;
215
- } | {
216
- action: "hover";
217
- ref: string;
218
- } | {
219
- action: "drag";
220
- startRef: string;
221
- endRef: string;
222
- } | {
223
- action: "select_option";
224
- ref: string;
225
- values: string[];
226
- } | {
227
- action: "press_key";
228
- key: string;
229
- } | {
230
- action: "scroll";
231
- direction: "up" | "down";
232
- amount?: number;
233
- } | {
234
- action: "evaluate";
235
- script: string;
236
- } | {
237
- action: "screenshot";
238
- } | {
239
- action: "get_console";
240
- level?: string;
241
- } | {
242
- action: "get_network";
243
- filter?: string;
244
- } | {
245
- action: "wait";
246
- selector?: string;
247
- text?: string;
248
- timeout?: number;
249
- } | {
250
- action: "tab_list";
251
- } | {
252
- action: "tab_new";
253
- url?: string;
254
- } | {
255
- action: "tab_select";
256
- index: number;
257
- } | {
258
- action: "tab_close";
259
- index?: number;
260
- } | {
261
- action: "cookies_get";
262
- url?: string;
263
- } | {
264
- action: "cookies_set";
265
- cookies: Array<{
266
- name: string;
267
- value: string;
268
- domain: string;
269
- path?: string;
270
- }>;
271
- } | {
272
- action: "cookies_clear";
273
- } | {
274
- action: "upload";
275
- ref: string;
276
- paths: string[];
277
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * Code intelligence tool definitions
3
- *
4
- * 7 native tools wrapping external CLI binaries for code search, structural
5
- * analysis, knowledge graphs, LSP intelligence, and file discovery.
6
- */
7
- import type { Tool } from "../types.js";
8
- export declare const CODE_INTELLIGENCE_TOOL_DEFINITIONS: Tool[];
@@ -1,47 +0,0 @@
1
- /**
2
- * Core tool definitions for ARIA
3
- * Core tools across 10 definition groups:
4
- * memory (5), web (3+1), filesystem (8), shell (7+1), arion (4), delegation (3), messaging (4+2), network (2), deploy (1), meta (11)
5
- *
6
- * Individual category definitions are in their respective files.
7
- * This module assembles them into the unified CORE_TOOL_DEFINITIONS array.
8
- * browser and process are forked from OpenClaw (MIT) and added directly here.
9
- */
10
- import type { Tool, ToolCategory, RiskLevel } from "../types.js";
11
- export { MEMORY_TOOL_DEFINITIONS } from "./memory.js";
12
- export { WEB_TOOL_DEFINITIONS } from "./web.js";
13
- export { FILESYSTEM_TOOL_DEFINITIONS } from "./filesystem.js";
14
- export { SHELL_TOOL_DEFINITIONS } from "./shell.js";
15
- export { ARION_TOOL_DEFINITIONS } from "./arion.js";
16
- export { DELEGATION_TOOL_DEFINITIONS } from "./delegation.js";
17
- export { MESSAGING_TOOL_DEFINITIONS } from "./messaging.js";
18
- export { SLACK_TOOL_DEFINITIONS } from "./slack.js";
19
- export { OUTLOOK_TOOL_DEFINITIONS } from "./outlook.js";
20
- export { QUIP_TOOL_DEFINITIONS } from "./quip.js";
21
- export { NETWORK_TOOL_DEFINITIONS } from "./network.js";
22
- export { DEPLOY_TOOL_DEFINITIONS } from "./deploy.js";
23
- export { META_TOOL_DEFINITIONS } from "./meta.js";
24
- export { SESSION_HISTORY_TOOL_DEFINITIONS } from "./session-history.js";
25
- export { FRG_TOOL_DEFINITIONS } from "./frg.js";
26
- export { CODE_INTELLIGENCE_TOOL_DEFINITIONS } from "./code-intelligence.js";
27
- export { SEARCH_TOOL_DEFINITIONS } from "./search.js";
28
- /**
29
- * All core tool definitions
30
- */
31
- export declare const CORE_TOOL_DEFINITIONS: Tool[];
32
- /**
33
- * Get all core tools
34
- */
35
- export declare function getCoreTools(): Tool[];
36
- /**
37
- * Get a core tool by name
38
- */
39
- export declare function getCoreTool(name: string): Tool | undefined;
40
- /**
41
- * Get all tools in a category
42
- */
43
- export declare function getCoreToolsByCategory(category: ToolCategory): Tool[];
44
- /**
45
- * Get all tools by risk level
46
- */
47
- export declare function getCoreToolsByRiskLevel(riskLevel: RiskLevel): Tool[];
@@ -1,11 +0,0 @@
1
- /**
2
- * Delegation tool definitions
3
- *
4
- * Tools: delegate_arion, spawn_worker, check_delegation, pause_delegation, resume_delegation, delegate_remote, quest_report (7 tools)
5
- *
6
- * delegate_arion and spawn_worker call context.delegationExecutor (injected by runner).
7
- * check_delegation uses context.delegationRegistry for status queries.
8
- * When the executor/registry aren't wired, tools return a clear error.
9
- */
10
- /** Delegation tool definitions (7) */
11
- export declare const DELEGATION_TOOL_DEFINITIONS: import("../types.js").Tool[];
@@ -1,15 +0,0 @@
1
- /**
2
- * Deploy tool definition.
3
- *
4
- * Tools: deploy (1 tool)
5
- *
6
- * Deploys ARIA to a remote machine via SSH. Detects OS, installs Node.js + pnpm,
7
- * clones/syncs repo, builds, sets up TLS certs, configures firewall, writes config,
8
- * and starts the daemon.
9
- *
10
- * Safety: requires explicit user confirmation (dangerous risk level).
11
- * Auto-denied in daemon autorun mode.
12
- */
13
- import type { Tool } from "../types.js";
14
- /** Deploy tool definitions (1) */
15
- export declare const DEPLOY_TOOL_DEFINITIONS: Tool[];
@@ -1,9 +0,0 @@
1
- /**
2
- * Filesystem tool definitions
3
- *
4
- * Tools: read_file, write_file, edit_file, glob, ls, apply_patch (6 tools)
5
- * Note: grep replaced by native indexed search in SEARCH_TOOL_DEFINITIONS
6
- */
7
- import type { Tool } from "../types.js";
8
- /** Filesystem tool definitions (6) — grep replaced by native indexed search in SEARCH_TOOL_DEFINITIONS */
9
- export declare const FILESYSTEM_TOOL_DEFINITIONS: Tool[];
@@ -1,3 +0,0 @@
1
- import type { Tool } from "../types.js";
2
- export declare const frgTool: Tool;
3
- export declare const FRG_TOOL_DEFINITIONS: Tool[];
@@ -1,19 +0,0 @@
1
- /**
2
- * Tool definitions exports
3
- */
4
- export { CORE_TOOL_DEFINITIONS, getCoreTools, getCoreTool, getCoreToolsByCategory, getCoreToolsByRiskLevel, } from "./core.js";
5
- export { MEMORY_TOOL_DEFINITIONS } from "./memory.js";
6
- export { WEB_TOOL_DEFINITIONS } from "./web.js";
7
- export { FILESYSTEM_TOOL_DEFINITIONS } from "./filesystem.js";
8
- export { SHELL_TOOL_DEFINITIONS } from "./shell.js";
9
- export { ARION_TOOL_DEFINITIONS } from "./arion.js";
10
- export { DELEGATION_TOOL_DEFINITIONS } from "./delegation.js";
11
- export { MESSAGING_TOOL_DEFINITIONS } from "./messaging.js";
12
- export { SLACK_TOOL_DEFINITIONS } from "./slack.js";
13
- export { QUIP_TOOL_DEFINITIONS } from "./quip.js";
14
- export { NETWORK_TOOL_DEFINITIONS } from "./network.js";
15
- export { META_TOOL_DEFINITIONS } from "./meta.js";
16
- export { SESSION_HISTORY_TOOL_DEFINITIONS } from "./session-history.js";
17
- export { FRG_TOOL_DEFINITIONS } from "./frg.js";
18
- export { CODE_INTELLIGENCE_TOOL_DEFINITIONS } from "./code-intelligence.js";
19
- export { SEARCH_TOOL_DEFINITIONS } from "./search.js";
@@ -1,8 +0,0 @@
1
- /**
2
- * Memory tool definitions
3
- *
4
- * Tools: remember, recall, forget, recall_knowledge, reflect (5 tools)
5
- */
6
- import type { Tool } from "../types.js";
7
- /** Memory tool definitions (5) */
8
- export declare const MEMORY_TOOL_DEFINITIONS: Tool[];
@@ -1,11 +0,0 @@
1
- /**
2
- * Messaging tool definitions
3
- *
4
- * Tools: send_message, check_messages, search_messages, get_thread (4 tools)
5
- *
6
- * Inter-agent messaging for arions, workers, and leaders.
7
- * All tools use context.messageStore (injected by runner when Memoria is available).
8
- * When the message store isn't wired, tools return a clear error.
9
- */
10
- /** Messaging tool definitions (4) */
11
- export declare const MESSAGING_TOOL_DEFINITIONS: import("../types.js").Tool[];
@@ -1,11 +0,0 @@
1
- /**
2
- * Meta tool definitions
3
- *
4
- * Tools:
5
- * - ask_user, quest_update, quest_list
6
- * - search, learn_tool, learn_skill
7
- * - create_tool, create_skill, use_skill
8
- */
9
- import type { Tool } from "../types.js";
10
- /** Meta tool definitions */
11
- export declare const META_TOOL_DEFINITIONS: Tool[];
@@ -1,11 +0,0 @@
1
- /**
2
- * Network management tool definitions.
3
- *
4
- * Tools: manage_network, list_clients (2 tools)
5
- *
6
- * ARIA manages its own secure WireGuard network. The LLM uses this tool
7
- * to invite peers, revoke access, list connections, and check status.
8
- * No user configuration needed — the network auto-creates on first run.
9
- */
10
- /** Network tool definitions (2) */
11
- export declare const NETWORK_TOOL_DEFINITIONS: import("../types.js").Tool[];
@@ -1,2 +0,0 @@
1
- import type { Tool } from "../types.js";
2
- export declare const OUTLOOK_TOOL_DEFINITIONS: Tool[];
@@ -1,11 +0,0 @@
1
- import type { Tool } from "../../types.js";
2
- import type { ApplyPatchSummary } from "./patch-parser.js";
3
- export type ApplyPatchResult = {
4
- success: boolean;
5
- summary: ApplyPatchSummary;
6
- text: string;
7
- };
8
- export declare function applyPatch(input: string, options: {
9
- cwd: string;
10
- }): Promise<ApplyPatchResult>;
11
- export declare const applyPatchTool: Tool;
@@ -1,10 +0,0 @@
1
- type UpdateFileChunk = {
2
- changeContext?: string;
3
- oldLines: string[];
4
- newLines: string[];
5
- isEndOfFile: boolean;
6
- };
7
- export declare function applyUpdateHunk(filePath: string, chunks: UpdateFileChunk[], options?: {
8
- readFile?: (filePath: string) => Promise<string>;
9
- }): Promise<string>;
10
- export {};
@@ -1 +0,0 @@
1
- export { applyPatchTool } from "./apply-patch.js";
@@ -1,50 +0,0 @@
1
- export declare const BEGIN_PATCH_MARKER = "*** Begin Patch";
2
- export declare const END_PATCH_MARKER = "*** End Patch";
3
- export declare const ADD_FILE_MARKER = "*** Add File: ";
4
- export declare const DELETE_FILE_MARKER = "*** Delete File: ";
5
- export declare const UPDATE_FILE_MARKER = "*** Update File: ";
6
- export declare const MOVE_TO_MARKER = "*** Move to: ";
7
- export declare const EOF_MARKER = "*** End of File";
8
- export declare const CHANGE_CONTEXT_MARKER = "@@ ";
9
- export declare const EMPTY_CHANGE_CONTEXT_MARKER = "@@";
10
- export type AddFileHunk = {
11
- kind: "add";
12
- path: string;
13
- contents: string;
14
- };
15
- export type DeleteFileHunk = {
16
- kind: "delete";
17
- path: string;
18
- };
19
- export type UpdateFileChunk = {
20
- changeContext?: string;
21
- oldLines: string[];
22
- newLines: string[];
23
- isEndOfFile: boolean;
24
- };
25
- export type UpdateFileHunk = {
26
- kind: "update";
27
- path: string;
28
- movePath?: string;
29
- chunks: UpdateFileChunk[];
30
- };
31
- export type Hunk = AddFileHunk | DeleteFileHunk | UpdateFileHunk;
32
- export type ApplyPatchSummary = {
33
- added: string[];
34
- modified: string[];
35
- deleted: string[];
36
- };
37
- export declare function normalizeUnicodeSpaces(value: string): string;
38
- export declare function parsePatchText(input: string): {
39
- hunks: Hunk[];
40
- patch: string;
41
- };
42
- export declare function checkPatchBoundariesLenient(lines: string[]): string[];
43
- export declare function parseOneHunk(lines: string[], lineNumber: number): {
44
- hunk: Hunk;
45
- consumed: number;
46
- };
47
- export declare function parseUpdateFileChunk(lines: string[], lineNumber: number, allowMissingContext: boolean): {
48
- chunk: UpdateFileChunk;
49
- consumed: number;
50
- };
@@ -1,18 +0,0 @@
1
- export declare function resolveSandboxInputPath(filePath: string, cwd: string): string;
2
- export declare function resolveSandboxPath(params: {
3
- filePath: string;
4
- cwd: string;
5
- root: string;
6
- }): {
7
- resolved: string;
8
- relative: string;
9
- };
10
- export declare function assertSandboxPath(params: {
11
- filePath: string;
12
- cwd: string;
13
- root: string;
14
- allowFinalSymlink?: boolean;
15
- }): Promise<{
16
- resolved: string;
17
- relative: string;
18
- }>;
@@ -1 +0,0 @@
1
- export { processTool } from "./process.js";