denchclaw 2.5.3 → 2.5.4

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 (592) hide show
  1. package/README.md +8 -0
  2. package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  3. package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +155 -162
  4. package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +35 -36
  5. package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +2 -2
  6. package/apps/web/.next/standalone/apps/web/.next/cache/config.json +3 -3
  7. package/apps/web/.next/standalone/apps/web/.next/prerender-manifest.json +3 -3
  8. package/apps/web/.next/standalone/apps/web/.next/required-server-files.json +1 -1
  9. package/apps/web/.next/standalone/apps/web/.next/routes-manifest.json +1 -1
  10. package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/cron/route_client-reference-manifest.js +1 -1
  12. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/proxy/route_client-reference-manifest.js +1 -1
  13. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/route_client-reference-manifest.js +1 -1
  14. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/serve/[...path]/route_client-reference-manifest.js +1 -1
  15. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/store/route_client-reference-manifest.js +1 -1
  16. package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/webhooks/[...path]/route_client-reference-manifest.js +1 -1
  17. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route.js.nft.json +1 -1
  18. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
  19. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js +1 -1
  20. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js.nft.json +1 -1
  21. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  22. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route.js.nft.json +1 -1
  23. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route_client-reference-manifest.js +1 -1
  24. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js +1 -1
  25. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js.nft.json +1 -1
  26. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
  27. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route.js.nft.json +1 -1
  28. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
  29. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route.js.nft.json +1 -1
  30. package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
  31. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route.js +8 -8
  32. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route.js.nft.json +1 -1
  33. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route_client-reference-manifest.js +1 -1
  34. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connect/route_client-reference-manifest.js +1 -1
  35. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route.js +1 -1
  36. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route.js.nft.json +1 -1
  37. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route_client-reference-manifest.js +1 -1
  38. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route.js +1 -1
  39. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route.js.nft.json +1 -1
  40. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route_client-reference-manifest.js +1 -1
  41. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route.js +7 -1
  42. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route.js.nft.json +1 -1
  43. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route_client-reference-manifest.js +1 -1
  44. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/toolkits/route_client-reference-manifest.js +1 -1
  45. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
  46. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
  47. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
  48. package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
  49. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js +1 -1
  50. package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -1
  51. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/channels/route_client-reference-manifest.js +1 -1
  52. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/route.js.nft.json +1 -1
  53. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/route_client-reference-manifest.js +1 -1
  54. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/stream/route.js.nft.json +1 -1
  55. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/stream/route_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/sessions/[id]/route_client-reference-manifest.js +1 -1
  57. package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/sessions/route_client-reference-manifest.js +1 -1
  58. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/[id]/toggle/route.js.nft.json +1 -1
  59. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/[id]/toggle/route_client-reference-manifest.js +1 -1
  60. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/repair/route.js.nft.json +1 -1
  61. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/repair/route_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/route.js.nft.json +1 -1
  63. package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/route_client-reference-manifest.js +1 -1
  64. package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
  65. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
  66. package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
  67. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
  68. package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  69. package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route.js +1 -1
  70. package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route.js.nft.json +1 -1
  71. package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route_client-reference-manifest.js +1 -1
  72. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/content/route_client-reference-manifest.js +1 -1
  73. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/route.js +1 -1
  74. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/route_client-reference-manifest.js +1 -1
  75. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/browse/route_client-reference-manifest.js +1 -1
  76. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -1
  77. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route.js +1 -1
  78. package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  79. package/apps/web/.next/standalone/apps/web/.next/server/app/api/terminal/port/route_client-reference-manifest.js +1 -1
  80. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route.js +1 -1
  81. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route.js.nft.json +1 -1
  82. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route_client-reference-manifest.js +1 -1
  83. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route.js +1 -1
  84. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route.js.nft.json +1 -1
  85. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route_client-reference-manifest.js +1 -1
  86. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route.js +1 -1
  87. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route.js.nft.json +1 -1
  88. package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route_client-reference-manifest.js +1 -1
  89. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
  90. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js.nft.json +1 -1
  91. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
  92. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route.js +1 -1
  93. package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
  94. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
  95. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
  96. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
  97. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
  98. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
  99. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
  100. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
  101. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route.js +1 -1
  102. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
  103. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/execute/route_client-reference-manifest.js +1 -1
  104. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  105. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route.js +1 -1
  106. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
  107. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/link-preview/route_client-reference-manifest.js +1 -1
  108. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
  109. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
  110. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
  111. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/actions/route_client-reference-manifest.js +1 -1
  112. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/actions/runs/route_client-reference-manifest.js +1 -1
  113. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
  114. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/content/route_client-reference-manifest.js +1 -1
  115. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route_client-reference-manifest.js +1 -1
  116. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route_client-reference-manifest.js +1 -1
  117. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
  118. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route.js +1 -1
  119. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
  120. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route_client-reference-manifest.js +1 -1
  121. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
  122. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
  123. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/route_client-reference-manifest.js +1 -1
  124. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
  125. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
  126. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
  127. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
  128. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
  129. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
  130. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
  131. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route.js +1 -1
  132. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
  133. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
  134. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
  135. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route.js +1 -1
  136. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
  137. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
  138. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
  139. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route.js +1 -1
  140. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  141. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
  142. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
  143. package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
  144. package/apps/web/.next/standalone/apps/web/.next/server/app/page.js +9 -8
  145. package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  146. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page.js +1 -1
  147. package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
  148. package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +35 -36
  149. package/apps/web/.next/standalone/apps/web/.next/server/chunks/6426.js +3 -3
  150. package/apps/web/.next/standalone/apps/web/.next/server/chunks/6787.js +1 -1
  151. package/apps/web/.next/standalone/apps/web/.next/server/chunks/687.js +4 -4
  152. package/apps/web/.next/standalone/apps/web/.next/server/chunks/7488.js +1 -1
  153. package/apps/web/.next/standalone/apps/web/.next/server/chunks/7515.js +1 -0
  154. package/apps/web/.next/standalone/apps/web/.next/server/chunks/8306.js +1 -1
  155. package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +19 -20
  156. package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  157. package/apps/web/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
  158. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/cron/{route-982235d988e17f31.js → route-3f5324f861724fe4.js} +1 -1
  159. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/proxy/{route-982235d988e17f31.js → route-3f5324f861724fe4.js} +1 -1
  160. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/{route-982235d988e17f31.js → route-3f5324f861724fe4.js} +1 -1
  161. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/{route-982235d988e17f31.js → route-3f5324f861724fe4.js} +1 -1
  162. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/store/route-3f5324f861724fe4.js +1 -0
  163. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-3f5324f861724fe4.js +1 -0
  164. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-3f5324f861724fe4.js +1 -0
  165. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-3f5324f861724fe4.js +1 -0
  166. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-3f5324f861724fe4.js +1 -0
  167. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-3f5324f861724fe4.js +1 -0
  168. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-3f5324f861724fe4.js +1 -0
  169. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-3f5324f861724fe4.js +1 -0
  170. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/callback/route-3f5324f861724fe4.js +1 -0
  171. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connect/route-3f5324f861724fe4.js +1 -0
  172. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connections/route-3f5324f861724fe4.js +1 -0
  173. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/disconnect/route-3f5324f861724fe4.js +1 -0
  174. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/status/route-3f5324f861724fe4.js +1 -0
  175. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/toolkits/route-3f5324f861724fe4.js +1 -0
  176. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-3f5324f861724fe4.js +1 -0
  177. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-3f5324f861724fe4.js +1 -0
  178. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-3f5324f861724fe4.js +1 -0
  179. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-3f5324f861724fe4.js +1 -0
  180. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-3f5324f861724fe4.js +1 -0
  181. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/channels/route-3f5324f861724fe4.js +1 -0
  182. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/route-3f5324f861724fe4.js +1 -0
  183. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-3f5324f861724fe4.js +1 -0
  184. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-3f5324f861724fe4.js +1 -0
  185. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/route-3f5324f861724fe4.js +1 -0
  186. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-3f5324f861724fe4.js +1 -0
  187. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/repair/route-3f5324f861724fe4.js +1 -0
  188. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/route-3f5324f861724fe4.js +1 -0
  189. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-3f5324f861724fe4.js +1 -0
  190. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-3f5324f861724fe4.js +1 -0
  191. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-3f5324f861724fe4.js +1 -0
  192. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-3f5324f861724fe4.js +1 -0
  193. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-3f5324f861724fe4.js +1 -0
  194. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/settings/cloud/route-3f5324f861724fe4.js +1 -0
  195. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-3f5324f861724fe4.js +1 -0
  196. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/route-3f5324f861724fe4.js +1 -0
  197. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/browse/route-3f5324f861724fe4.js +1 -0
  198. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/install/route-3f5324f861724fe4.js +1 -0
  199. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-3f5324f861724fe4.js +1 -0
  200. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-3f5324f861724fe4.js +1 -0
  201. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/speech/route-3f5324f861724fe4.js +1 -0
  202. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/transcribe/route-3f5324f861724fe4.js +1 -0
  203. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/voices/route-3f5324f861724fe4.js +1 -0
  204. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-3f5324f861724fe4.js +1 -0
  205. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-3f5324f861724fe4.js +1 -0
  206. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-3f5324f861724fe4.js +1 -0
  207. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-3f5324f861724fe4.js +1 -0
  208. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-3f5324f861724fe4.js +1 -0
  209. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-3f5324f861724fe4.js +1 -0
  210. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-3f5324f861724fe4.js +1 -0
  211. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-3f5324f861724fe4.js +1 -0
  212. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-3f5324f861724fe4.js +1 -0
  213. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-3f5324f861724fe4.js +1 -0
  214. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-3f5324f861724fe4.js +1 -0
  215. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/execute/route-3f5324f861724fe4.js +1 -0
  216. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-3f5324f861724fe4.js +1 -0
  217. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-3f5324f861724fe4.js +1 -0
  218. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-3f5324f861724fe4.js +1 -0
  219. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-3f5324f861724fe4.js +1 -0
  220. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-3f5324f861724fe4.js +1 -0
  221. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-3f5324f861724fe4.js +1 -0
  222. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-3f5324f861724fe4.js +1 -0
  223. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-3f5324f861724fe4.js +1 -0
  224. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-3f5324f861724fe4.js +1 -0
  225. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-3f5324f861724fe4.js +1 -0
  226. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-3f5324f861724fe4.js +1 -0
  227. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-3f5324f861724fe4.js +1 -0
  228. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-3f5324f861724fe4.js +1 -0
  229. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-3f5324f861724fe4.js +1 -0
  230. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-3f5324f861724fe4.js +1 -0
  231. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-3f5324f861724fe4.js +1 -0
  232. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-3f5324f861724fe4.js +1 -0
  233. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-3f5324f861724fe4.js +1 -0
  234. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-3f5324f861724fe4.js +1 -0
  235. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-3f5324f861724fe4.js +1 -0
  236. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-3f5324f861724fe4.js +1 -0
  237. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-3f5324f861724fe4.js +1 -0
  238. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-3f5324f861724fe4.js +1 -0
  239. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-3f5324f861724fe4.js +1 -0
  240. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-3f5324f861724fe4.js +1 -0
  241. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-3f5324f861724fe4.js +1 -0
  242. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-3f5324f861724fe4.js +1 -0
  243. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-3f5324f861724fe4.js +1 -0
  244. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-3f5324f861724fe4.js +1 -0
  245. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-3f5324f861724fe4.js +1 -0
  246. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-3f5324f861724fe4.js +1 -0
  247. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-3f5324f861724fe4.js +1 -0
  248. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-3f5324f861724fe4.js +1 -0
  249. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-3f5324f861724fe4.js +1 -0
  250. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-3f5324f861724fe4.js +1 -0
  251. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/{layout-efd4871c9d725d65.js → layout-f3680ff738cac0bb.js} +1 -1
  252. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-9d91562ada53b3ef.js +1 -0
  253. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/workspace/page-449a49cbf2cfee70.js +1 -0
  254. package/apps/web/.next/standalone/apps/web/.next/static/css/74b1299abb24af0e.css +1 -0
  255. package/apps/web/.next/standalone/apps/web/.next/static/oj1WoDEuGOF0TNojiymK5/_buildManifest.js +1 -0
  256. package/apps/web/.next/standalone/apps/web/app/components/__fixtures__/composio-empty-final-reply.jsonl +4 -0
  257. package/apps/web/.next/standalone/apps/web/public/dench-integrations-icon.png +0 -0
  258. package/apps/web/.next/standalone/apps/web/server.js +1 -1
  259. package/apps/web/.next/standalone/extensions/apollo-enrichment/index.ts +4 -26
  260. package/apps/web/.next/standalone/extensions/dench-ai-gateway/composio-bridge.ts +152 -426
  261. package/apps/web/.next/standalone/extensions/dench-ai-gateway/config-patch.ts +7 -4
  262. package/apps/web/.next/standalone/extensions/dench-ai-gateway/index.test.ts +280 -220
  263. package/apps/web/.next/standalone/extensions/dench-ai-gateway/index.ts +2 -2
  264. package/apps/web/.next/standalone/extensions/dench-identity/composio-cheat-sheet.test.ts +19 -111
  265. package/apps/web/.next/standalone/extensions/dench-identity/composio-cheat-sheet.ts +63 -108
  266. package/apps/web/.next/standalone/extensions/dench-identity/composio-tool-search.ts +322 -0
  267. package/apps/web/.next/standalone/extensions/dench-identity/index.test.ts +461 -55
  268. package/apps/web/.next/standalone/extensions/dench-identity/index.ts +1316 -200
  269. package/apps/web/.next/standalone/extensions/exa-search/index.ts +4 -27
  270. package/apps/web/.next/standalone/extensions/posthog-analytics/lib/build-env.js +1 -1
  271. package/apps/web/.next/standalone/extensions/shared/composio-search-context.ts +134 -0
  272. package/apps/web/.next/standalone/extensions/shared/dench-auth.ts +47 -0
  273. package/apps/web/.next/standalone/package.json +1 -1
  274. package/apps/web/.next/static/chunks/app/api/apps/cron/route-3f5324f861724fe4.js +1 -0
  275. package/apps/web/.next/static/chunks/app/api/apps/proxy/route-3f5324f861724fe4.js +1 -0
  276. package/apps/web/.next/static/chunks/app/api/apps/route-3f5324f861724fe4.js +1 -0
  277. package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-3f5324f861724fe4.js +1 -0
  278. package/apps/web/.next/static/chunks/app/api/apps/store/route-3f5324f861724fe4.js +1 -0
  279. package/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-3f5324f861724fe4.js +1 -0
  280. package/apps/web/.next/static/chunks/app/api/chat/active/route-3f5324f861724fe4.js +1 -0
  281. package/apps/web/.next/static/chunks/app/api/chat/route-3f5324f861724fe4.js +1 -0
  282. package/apps/web/.next/static/chunks/app/api/chat/runs/route-3f5324f861724fe4.js +1 -0
  283. package/apps/web/.next/static/chunks/app/api/chat/stop/route-3f5324f861724fe4.js +1 -0
  284. package/apps/web/.next/static/chunks/app/api/chat/stream/route-3f5324f861724fe4.js +1 -0
  285. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-3f5324f861724fe4.js +1 -0
  286. package/apps/web/.next/static/chunks/app/api/composio/callback/route-3f5324f861724fe4.js +1 -0
  287. package/apps/web/.next/static/chunks/app/api/composio/connect/route-3f5324f861724fe4.js +1 -0
  288. package/apps/web/.next/static/chunks/app/api/composio/connections/route-3f5324f861724fe4.js +1 -0
  289. package/apps/web/.next/static/chunks/app/api/composio/disconnect/route-3f5324f861724fe4.js +1 -0
  290. package/apps/web/.next/static/chunks/app/api/composio/status/route-3f5324f861724fe4.js +1 -0
  291. package/apps/web/.next/static/chunks/app/api/composio/toolkits/route-3f5324f861724fe4.js +1 -0
  292. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-3f5324f861724fe4.js +1 -0
  293. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-3f5324f861724fe4.js +1 -0
  294. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-3f5324f861724fe4.js +1 -0
  295. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-3f5324f861724fe4.js +1 -0
  296. package/apps/web/.next/static/chunks/app/api/feedback/route-3f5324f861724fe4.js +1 -0
  297. package/apps/web/.next/static/chunks/app/api/gateway/channels/route-3f5324f861724fe4.js +1 -0
  298. package/apps/web/.next/static/chunks/app/api/gateway/chat/route-3f5324f861724fe4.js +1 -0
  299. package/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-3f5324f861724fe4.js +1 -0
  300. package/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-3f5324f861724fe4.js +1 -0
  301. package/apps/web/.next/static/chunks/app/api/gateway/sessions/route-3f5324f861724fe4.js +1 -0
  302. package/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-3f5324f861724fe4.js +1 -0
  303. package/apps/web/.next/static/chunks/app/api/integrations/repair/route-3f5324f861724fe4.js +1 -0
  304. package/apps/web/.next/static/chunks/app/api/integrations/route-3f5324f861724fe4.js +1 -0
  305. package/apps/web/.next/static/chunks/app/api/memories/route-3f5324f861724fe4.js +1 -0
  306. package/apps/web/.next/static/chunks/app/api/profiles/route-3f5324f861724fe4.js +1 -0
  307. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-3f5324f861724fe4.js +1 -0
  308. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-3f5324f861724fe4.js +1 -0
  309. package/apps/web/.next/static/chunks/app/api/sessions/route-3f5324f861724fe4.js +1 -0
  310. package/apps/web/.next/static/chunks/app/api/settings/cloud/route-3f5324f861724fe4.js +1 -0
  311. package/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-3f5324f861724fe4.js +1 -0
  312. package/apps/web/.next/static/chunks/app/api/skills/[slug]/route-3f5324f861724fe4.js +1 -0
  313. package/apps/web/.next/static/chunks/app/api/skills/browse/route-3f5324f861724fe4.js +1 -0
  314. package/apps/web/.next/static/chunks/app/api/skills/install/route-3f5324f861724fe4.js +1 -0
  315. package/apps/web/.next/static/chunks/app/api/skills/route-3f5324f861724fe4.js +1 -0
  316. package/apps/web/.next/static/chunks/app/api/terminal/port/route-3f5324f861724fe4.js +1 -0
  317. package/apps/web/.next/static/chunks/app/api/voice/speech/route-3f5324f861724fe4.js +1 -0
  318. package/apps/web/.next/static/chunks/app/api/voice/transcribe/route-3f5324f861724fe4.js +1 -0
  319. package/apps/web/.next/static/chunks/app/api/voice/voices/route-3f5324f861724fe4.js +1 -0
  320. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-3f5324f861724fe4.js +1 -0
  321. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-3f5324f861724fe4.js +1 -0
  322. package/apps/web/.next/static/chunks/app/api/web-sessions/route-3f5324f861724fe4.js +1 -0
  323. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-3f5324f861724fe4.js +1 -0
  324. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-3f5324f861724fe4.js +1 -0
  325. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-3f5324f861724fe4.js +1 -0
  326. package/apps/web/.next/static/chunks/app/api/workspace/context/route-3f5324f861724fe4.js +1 -0
  327. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-3f5324f861724fe4.js +1 -0
  328. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-3f5324f861724fe4.js +1 -0
  329. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-3f5324f861724fe4.js +1 -0
  330. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-3f5324f861724fe4.js +1 -0
  331. package/apps/web/.next/static/chunks/app/api/workspace/execute/route-3f5324f861724fe4.js +1 -0
  332. package/apps/web/.next/static/chunks/app/api/workspace/file/route-3f5324f861724fe4.js +1 -0
  333. package/apps/web/.next/static/chunks/app/api/workspace/init/route-3f5324f861724fe4.js +1 -0
  334. package/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-3f5324f861724fe4.js +1 -0
  335. package/apps/web/.next/static/chunks/app/api/workspace/list/route-3f5324f861724fe4.js +1 -0
  336. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-3f5324f861724fe4.js +1 -0
  337. package/apps/web/.next/static/chunks/app/api/workspace/move/route-3f5324f861724fe4.js +1 -0
  338. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-3f5324f861724fe4.js +1 -0
  339. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-3f5324f861724fe4.js +1 -0
  340. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-3f5324f861724fe4.js +1 -0
  341. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-3f5324f861724fe4.js +1 -0
  342. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-3f5324f861724fe4.js +1 -0
  343. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-3f5324f861724fe4.js +1 -0
  344. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-3f5324f861724fe4.js +1 -0
  345. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-3f5324f861724fe4.js +1 -0
  346. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-3f5324f861724fe4.js +1 -0
  347. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-3f5324f861724fe4.js +1 -0
  348. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-3f5324f861724fe4.js +1 -0
  349. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-3f5324f861724fe4.js +1 -0
  350. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-3f5324f861724fe4.js +1 -0
  351. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-3f5324f861724fe4.js +1 -0
  352. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-3f5324f861724fe4.js +1 -0
  353. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-3f5324f861724fe4.js +1 -0
  354. package/apps/web/.next/static/chunks/app/api/workspace/query/route-3f5324f861724fe4.js +1 -0
  355. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-3f5324f861724fe4.js +1 -0
  356. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-3f5324f861724fe4.js +1 -0
  357. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-3f5324f861724fe4.js +1 -0
  358. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-3f5324f861724fe4.js +1 -0
  359. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-3f5324f861724fe4.js +1 -0
  360. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-3f5324f861724fe4.js +1 -0
  361. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-3f5324f861724fe4.js +1 -0
  362. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-3f5324f861724fe4.js +1 -0
  363. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-3f5324f861724fe4.js +1 -0
  364. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-3f5324f861724fe4.js +1 -0
  365. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-3f5324f861724fe4.js +1 -0
  366. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-3f5324f861724fe4.js +1 -0
  367. package/apps/web/.next/static/chunks/app/{layout-efd4871c9d725d65.js → layout-f3680ff738cac0bb.js} +1 -1
  368. package/apps/web/.next/static/chunks/app/page-9d91562ada53b3ef.js +1 -0
  369. package/apps/web/.next/static/chunks/app/workspace/page-449a49cbf2cfee70.js +1 -0
  370. package/apps/web/.next/static/css/74b1299abb24af0e.css +1 -0
  371. package/apps/web/.next/static/oj1WoDEuGOF0TNojiymK5/_buildManifest.js +1 -0
  372. package/apps/web/public/dench-integrations-icon.png +0 -0
  373. package/dist/{cli-name-CoW7mNz-.js → cli-name-Sz-5E3q2.js} +1 -1
  374. package/dist/entry.js +9 -2
  375. package/dist/{program-BYB4nfWK.js → program-CtW4fcfa.js} +265 -57
  376. package/dist/{run-main-Z-P_Zlf6.js → run-main-CPnN1zoG.js} +3 -3
  377. package/dist/{telemetry-DguRjCZq.js → telemetry-C_b18hhq.js} +1 -1
  378. package/extensions/apollo-enrichment/index.ts +4 -26
  379. package/extensions/dench-ai-gateway/composio-bridge.ts +152 -426
  380. package/extensions/dench-ai-gateway/config-patch.ts +7 -4
  381. package/extensions/dench-ai-gateway/index.test.ts +280 -220
  382. package/extensions/dench-ai-gateway/index.ts +2 -2
  383. package/extensions/dench-identity/composio-cheat-sheet.test.ts +19 -111
  384. package/extensions/dench-identity/composio-cheat-sheet.ts +63 -108
  385. package/extensions/dench-identity/composio-tool-search.ts +322 -0
  386. package/extensions/dench-identity/index.test.ts +461 -55
  387. package/extensions/dench-identity/index.ts +1316 -200
  388. package/extensions/exa-search/index.ts +4 -27
  389. package/extensions/posthog-analytics/lib/build-env.js +1 -1
  390. package/extensions/shared/composio-search-context.ts +134 -0
  391. package/extensions/shared/dench-auth.ts +47 -0
  392. package/package.json +1 -1
  393. package/skills/composio-apps/SKILL.md +27 -9
  394. package/skills/dench-integrations/SKILL.md +189 -0
  395. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route.js +0 -1
  396. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route.js.nft.json +0 -1
  397. package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route_client-reference-manifest.js +0 -1
  398. package/apps/web/.next/standalone/apps/web/.next/server/chunks/8650.js +0 -1
  399. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/store/route-982235d988e17f31.js +0 -1
  400. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-982235d988e17f31.js +0 -1
  401. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-982235d988e17f31.js +0 -1
  402. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-982235d988e17f31.js +0 -1
  403. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-982235d988e17f31.js +0 -1
  404. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-982235d988e17f31.js +0 -1
  405. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-982235d988e17f31.js +0 -1
  406. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-982235d988e17f31.js +0 -1
  407. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/callback/route-982235d988e17f31.js +0 -1
  408. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connect/route-982235d988e17f31.js +0 -1
  409. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connections/route-982235d988e17f31.js +0 -1
  410. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/disconnect/route-982235d988e17f31.js +0 -1
  411. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/status/route-982235d988e17f31.js +0 -1
  412. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/tool-index/route-982235d988e17f31.js +0 -1
  413. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/toolkits/route-982235d988e17f31.js +0 -1
  414. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-982235d988e17f31.js +0 -1
  415. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-982235d988e17f31.js +0 -1
  416. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-982235d988e17f31.js +0 -1
  417. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-982235d988e17f31.js +0 -1
  418. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-982235d988e17f31.js +0 -1
  419. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/channels/route-982235d988e17f31.js +0 -1
  420. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/route-982235d988e17f31.js +0 -1
  421. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-982235d988e17f31.js +0 -1
  422. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-982235d988e17f31.js +0 -1
  423. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/route-982235d988e17f31.js +0 -1
  424. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-982235d988e17f31.js +0 -1
  425. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/repair/route-982235d988e17f31.js +0 -1
  426. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/route-982235d988e17f31.js +0 -1
  427. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-982235d988e17f31.js +0 -1
  428. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-982235d988e17f31.js +0 -1
  429. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-982235d988e17f31.js +0 -1
  430. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-982235d988e17f31.js +0 -1
  431. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-982235d988e17f31.js +0 -1
  432. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/settings/cloud/route-982235d988e17f31.js +0 -1
  433. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-982235d988e17f31.js +0 -1
  434. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/route-982235d988e17f31.js +0 -1
  435. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/browse/route-982235d988e17f31.js +0 -1
  436. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/install/route-982235d988e17f31.js +0 -1
  437. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-982235d988e17f31.js +0 -1
  438. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-982235d988e17f31.js +0 -1
  439. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/speech/route-982235d988e17f31.js +0 -1
  440. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/transcribe/route-982235d988e17f31.js +0 -1
  441. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/voices/route-982235d988e17f31.js +0 -1
  442. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-982235d988e17f31.js +0 -1
  443. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-982235d988e17f31.js +0 -1
  444. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-982235d988e17f31.js +0 -1
  445. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-982235d988e17f31.js +0 -1
  446. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-982235d988e17f31.js +0 -1
  447. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-982235d988e17f31.js +0 -1
  448. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-982235d988e17f31.js +0 -1
  449. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-982235d988e17f31.js +0 -1
  450. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-982235d988e17f31.js +0 -1
  451. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-982235d988e17f31.js +0 -1
  452. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-982235d988e17f31.js +0 -1
  453. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/execute/route-982235d988e17f31.js +0 -1
  454. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-982235d988e17f31.js +0 -1
  455. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-982235d988e17f31.js +0 -1
  456. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-982235d988e17f31.js +0 -1
  457. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-982235d988e17f31.js +0 -1
  458. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-982235d988e17f31.js +0 -1
  459. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-982235d988e17f31.js +0 -1
  460. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-982235d988e17f31.js +0 -1
  461. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-982235d988e17f31.js +0 -1
  462. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-982235d988e17f31.js +0 -1
  463. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-982235d988e17f31.js +0 -1
  464. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-982235d988e17f31.js +0 -1
  465. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-982235d988e17f31.js +0 -1
  466. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-982235d988e17f31.js +0 -1
  467. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-982235d988e17f31.js +0 -1
  468. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-982235d988e17f31.js +0 -1
  469. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-982235d988e17f31.js +0 -1
  470. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-982235d988e17f31.js +0 -1
  471. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-982235d988e17f31.js +0 -1
  472. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-982235d988e17f31.js +0 -1
  473. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-982235d988e17f31.js +0 -1
  474. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-982235d988e17f31.js +0 -1
  475. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-982235d988e17f31.js +0 -1
  476. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-982235d988e17f31.js +0 -1
  477. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-982235d988e17f31.js +0 -1
  478. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-982235d988e17f31.js +0 -1
  479. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-982235d988e17f31.js +0 -1
  480. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-982235d988e17f31.js +0 -1
  481. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-982235d988e17f31.js +0 -1
  482. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-982235d988e17f31.js +0 -1
  483. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-982235d988e17f31.js +0 -1
  484. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-982235d988e17f31.js +0 -1
  485. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-982235d988e17f31.js +0 -1
  486. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-982235d988e17f31.js +0 -1
  487. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-982235d988e17f31.js +0 -1
  488. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-982235d988e17f31.js +0 -1
  489. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-b13706c37de35f50.js +0 -1
  490. package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/workspace/page-7f60d4efe8904f55.js +0 -1
  491. package/apps/web/.next/standalone/apps/web/.next/static/css/4f71a2dee93c9f97.css +0 -1
  492. package/apps/web/.next/standalone/apps/web/.next/static/pLgp4DdbS3S0fO7vmZX-a/_buildManifest.js +0 -1
  493. package/apps/web/.next/static/chunks/app/api/apps/cron/route-982235d988e17f31.js +0 -1
  494. package/apps/web/.next/static/chunks/app/api/apps/proxy/route-982235d988e17f31.js +0 -1
  495. package/apps/web/.next/static/chunks/app/api/apps/route-982235d988e17f31.js +0 -1
  496. package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-982235d988e17f31.js +0 -1
  497. package/apps/web/.next/static/chunks/app/api/apps/store/route-982235d988e17f31.js +0 -1
  498. package/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-982235d988e17f31.js +0 -1
  499. package/apps/web/.next/static/chunks/app/api/chat/active/route-982235d988e17f31.js +0 -1
  500. package/apps/web/.next/static/chunks/app/api/chat/route-982235d988e17f31.js +0 -1
  501. package/apps/web/.next/static/chunks/app/api/chat/runs/route-982235d988e17f31.js +0 -1
  502. package/apps/web/.next/static/chunks/app/api/chat/stop/route-982235d988e17f31.js +0 -1
  503. package/apps/web/.next/static/chunks/app/api/chat/stream/route-982235d988e17f31.js +0 -1
  504. package/apps/web/.next/static/chunks/app/api/chat/subagents/route-982235d988e17f31.js +0 -1
  505. package/apps/web/.next/static/chunks/app/api/composio/callback/route-982235d988e17f31.js +0 -1
  506. package/apps/web/.next/static/chunks/app/api/composio/connect/route-982235d988e17f31.js +0 -1
  507. package/apps/web/.next/static/chunks/app/api/composio/connections/route-982235d988e17f31.js +0 -1
  508. package/apps/web/.next/static/chunks/app/api/composio/disconnect/route-982235d988e17f31.js +0 -1
  509. package/apps/web/.next/static/chunks/app/api/composio/status/route-982235d988e17f31.js +0 -1
  510. package/apps/web/.next/static/chunks/app/api/composio/tool-index/route-982235d988e17f31.js +0 -1
  511. package/apps/web/.next/static/chunks/app/api/composio/toolkits/route-982235d988e17f31.js +0 -1
  512. package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-982235d988e17f31.js +0 -1
  513. package/apps/web/.next/static/chunks/app/api/cron/jobs/route-982235d988e17f31.js +0 -1
  514. package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-982235d988e17f31.js +0 -1
  515. package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-982235d988e17f31.js +0 -1
  516. package/apps/web/.next/static/chunks/app/api/feedback/route-982235d988e17f31.js +0 -1
  517. package/apps/web/.next/static/chunks/app/api/gateway/channels/route-982235d988e17f31.js +0 -1
  518. package/apps/web/.next/static/chunks/app/api/gateway/chat/route-982235d988e17f31.js +0 -1
  519. package/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-982235d988e17f31.js +0 -1
  520. package/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-982235d988e17f31.js +0 -1
  521. package/apps/web/.next/static/chunks/app/api/gateway/sessions/route-982235d988e17f31.js +0 -1
  522. package/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-982235d988e17f31.js +0 -1
  523. package/apps/web/.next/static/chunks/app/api/integrations/repair/route-982235d988e17f31.js +0 -1
  524. package/apps/web/.next/static/chunks/app/api/integrations/route-982235d988e17f31.js +0 -1
  525. package/apps/web/.next/static/chunks/app/api/memories/route-982235d988e17f31.js +0 -1
  526. package/apps/web/.next/static/chunks/app/api/profiles/route-982235d988e17f31.js +0 -1
  527. package/apps/web/.next/static/chunks/app/api/profiles/switch/route-982235d988e17f31.js +0 -1
  528. package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-982235d988e17f31.js +0 -1
  529. package/apps/web/.next/static/chunks/app/api/sessions/route-982235d988e17f31.js +0 -1
  530. package/apps/web/.next/static/chunks/app/api/settings/cloud/route-982235d988e17f31.js +0 -1
  531. package/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-982235d988e17f31.js +0 -1
  532. package/apps/web/.next/static/chunks/app/api/skills/[slug]/route-982235d988e17f31.js +0 -1
  533. package/apps/web/.next/static/chunks/app/api/skills/browse/route-982235d988e17f31.js +0 -1
  534. package/apps/web/.next/static/chunks/app/api/skills/install/route-982235d988e17f31.js +0 -1
  535. package/apps/web/.next/static/chunks/app/api/skills/route-982235d988e17f31.js +0 -1
  536. package/apps/web/.next/static/chunks/app/api/terminal/port/route-982235d988e17f31.js +0 -1
  537. package/apps/web/.next/static/chunks/app/api/voice/speech/route-982235d988e17f31.js +0 -1
  538. package/apps/web/.next/static/chunks/app/api/voice/transcribe/route-982235d988e17f31.js +0 -1
  539. package/apps/web/.next/static/chunks/app/api/voice/voices/route-982235d988e17f31.js +0 -1
  540. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-982235d988e17f31.js +0 -1
  541. package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-982235d988e17f31.js +0 -1
  542. package/apps/web/.next/static/chunks/app/api/web-sessions/route-982235d988e17f31.js +0 -1
  543. package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-982235d988e17f31.js +0 -1
  544. package/apps/web/.next/static/chunks/app/api/workspace/browse/route-982235d988e17f31.js +0 -1
  545. package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-982235d988e17f31.js +0 -1
  546. package/apps/web/.next/static/chunks/app/api/workspace/context/route-982235d988e17f31.js +0 -1
  547. package/apps/web/.next/static/chunks/app/api/workspace/copy/route-982235d988e17f31.js +0 -1
  548. package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-982235d988e17f31.js +0 -1
  549. package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-982235d988e17f31.js +0 -1
  550. package/apps/web/.next/static/chunks/app/api/workspace/delete/route-982235d988e17f31.js +0 -1
  551. package/apps/web/.next/static/chunks/app/api/workspace/execute/route-982235d988e17f31.js +0 -1
  552. package/apps/web/.next/static/chunks/app/api/workspace/file/route-982235d988e17f31.js +0 -1
  553. package/apps/web/.next/static/chunks/app/api/workspace/init/route-982235d988e17f31.js +0 -1
  554. package/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-982235d988e17f31.js +0 -1
  555. package/apps/web/.next/static/chunks/app/api/workspace/list/route-982235d988e17f31.js +0 -1
  556. package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-982235d988e17f31.js +0 -1
  557. package/apps/web/.next/static/chunks/app/api/workspace/move/route-982235d988e17f31.js +0 -1
  558. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-982235d988e17f31.js +0 -1
  559. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-982235d988e17f31.js +0 -1
  560. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-982235d988e17f31.js +0 -1
  561. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-982235d988e17f31.js +0 -1
  562. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-982235d988e17f31.js +0 -1
  563. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-982235d988e17f31.js +0 -1
  564. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-982235d988e17f31.js +0 -1
  565. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-982235d988e17f31.js +0 -1
  566. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-982235d988e17f31.js +0 -1
  567. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-982235d988e17f31.js +0 -1
  568. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-982235d988e17f31.js +0 -1
  569. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-982235d988e17f31.js +0 -1
  570. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-982235d988e17f31.js +0 -1
  571. package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-982235d988e17f31.js +0 -1
  572. package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-982235d988e17f31.js +0 -1
  573. package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-982235d988e17f31.js +0 -1
  574. package/apps/web/.next/static/chunks/app/api/workspace/query/route-982235d988e17f31.js +0 -1
  575. package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-982235d988e17f31.js +0 -1
  576. package/apps/web/.next/static/chunks/app/api/workspace/rename/route-982235d988e17f31.js +0 -1
  577. package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-982235d988e17f31.js +0 -1
  578. package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-982235d988e17f31.js +0 -1
  579. package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-982235d988e17f31.js +0 -1
  580. package/apps/web/.next/static/chunks/app/api/workspace/switch/route-982235d988e17f31.js +0 -1
  581. package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-982235d988e17f31.js +0 -1
  582. package/apps/web/.next/static/chunks/app/api/workspace/tree/route-982235d988e17f31.js +0 -1
  583. package/apps/web/.next/static/chunks/app/api/workspace/upload/route-982235d988e17f31.js +0 -1
  584. package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-982235d988e17f31.js +0 -1
  585. package/apps/web/.next/static/chunks/app/api/workspace/watch/route-982235d988e17f31.js +0 -1
  586. package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-982235d988e17f31.js +0 -1
  587. package/apps/web/.next/static/chunks/app/page-b13706c37de35f50.js +0 -1
  588. package/apps/web/.next/static/chunks/app/workspace/page-7f60d4efe8904f55.js +0 -1
  589. package/apps/web/.next/static/css/4f71a2dee93c9f97.css +0 -1
  590. package/apps/web/.next/static/pLgp4DdbS3S0fO7vmZX-a/_buildManifest.js +0 -1
  591. /package/apps/web/.next/standalone/apps/web/.next/static/{pLgp4DdbS3S0fO7vmZX-a → oj1WoDEuGOF0TNojiymK5}/_ssgManifest.js +0 -0
  592. /package/apps/web/.next/static/{pLgp4DdbS3S0fO7vmZX-a → oj1WoDEuGOF0TNojiymK5}/_ssgManifest.js +0 -0
@@ -5,6 +5,35 @@ import { buildIdentityPrompt, resolveWorkspaceDir } from "./index.ts";
5
5
  import register from "./index.ts";
6
6
  import path from "node:path";
7
7
 
8
+ function getRegisteredTool(api: { registerTool: ReturnType<typeof vi.fn> }, name: string) {
9
+ return api.registerTool.mock.calls
10
+ .map((call) => call[0])
11
+ .find((tool) => tool?.name === name);
12
+ }
13
+
14
+ async function executeTool(tool: { execute: (toolCallId: string, input: Record<string, unknown>) => Promise<any> }, input: Record<string, unknown>) {
15
+ return await tool.execute("tool-call-1", input);
16
+ }
17
+
18
+ function mockGatewaySearch(responsePayload: Record<string, unknown>) {
19
+ process.env.DENCH_API_KEY = "dench-test-key";
20
+ process.env.DENCH_GATEWAY_URL = "https://gateway.example.com";
21
+ globalThis.fetch = vi.fn(async (input, init) => {
22
+ const url = typeof input === "string" ? input : input.url;
23
+ expect(url).toBe("https://gateway.example.com/v1/composio/tools/search");
24
+ expect(init?.method).toBe("POST");
25
+ return new Response(
26
+ JSON.stringify(responsePayload),
27
+ {
28
+ status: 200,
29
+ headers: {
30
+ "content-type": "application/json",
31
+ },
32
+ },
33
+ );
34
+ }) as typeof fetch;
35
+ }
36
+
8
37
  describe("buildIdentityPrompt", () => {
9
38
  const workspaceDir = "/home/user/workspace";
10
39
 
@@ -31,24 +60,25 @@ describe("buildIdentityPrompt", () => {
31
60
  );
32
61
  });
33
62
 
34
- it("includes composio-apps skill path and MCP tool preference", () => {
63
+ it("includes Dench Integrations skill path and guidance", () => {
35
64
  const prompt = buildIdentityPrompt(workspaceDir);
36
65
  expect(prompt).toContain(
37
- path.join(workspaceDir, "skills", "composio-apps", "SKILL.md"),
66
+ path.join(workspaceDir, "skills", "dench-integrations", "SKILL.md"),
38
67
  );
39
- expect(prompt).toContain("Composio MCP");
68
+ expect(prompt).toContain("Dench Integrations");
69
+ expect(prompt).not.toContain("Composio MCP");
40
70
  expect(prompt).toContain("Never");
41
- expect(prompt).toContain("composio_resolve_tool");
71
+ expect(prompt).toContain("dench_search_integrations");
72
+ expect(prompt).toContain("dench_execute_integrations");
42
73
  });
43
74
 
44
75
  it("teaches the agent to emit direct composio connect links for any app", () => {
45
76
  const prompt = buildIdentityPrompt(workspaceDir);
46
77
  expect(prompt).toContain("ANY third-party app or service");
47
- expect(prompt).toContain("always call `composio_resolve_tool`");
78
+ expect(prompt).toContain("always call `dench_search_integrations`");
48
79
  expect(prompt).toContain("action_link_markdown");
49
80
  expect(prompt).toContain("MUST end the assistant reply with that exact markdown link");
50
81
  expect(prompt).toContain("dench://composio/connect");
51
- expect(prompt).toContain("dench://composio/reconnect");
52
82
  expect(prompt).toContain("connect_required");
53
83
  });
54
84
 
@@ -61,12 +91,11 @@ describe("buildIdentityPrompt", () => {
61
91
  expect(prompt).toContain("Use Apollo for structured CRM enrichment and Exa for broader web research");
62
92
  });
63
93
 
64
- it("prefers Composio over gog even without a generated tool index", () => {
94
+ it("prefers Dench Integrations over gog without workspace cache files", () => {
65
95
  const prompt = buildIdentityPrompt(workspaceDir);
66
- expect(prompt).toContain("Composio is the default integration layer");
96
+ expect(prompt).toContain("use the **Dench Integrations** tools directly");
67
97
  expect(prompt).toContain("Never use `gog`");
68
- expect(prompt).toContain("If Composio MCP is unavailable in this session, stop");
69
- expect(prompt).toContain("GMAIL_FETCH_EMAILS");
98
+ expect(prompt).toContain("live integration schema");
70
99
  });
71
100
 
72
101
  it("does not advertise the removed browser skill contract", () => {
@@ -90,16 +119,30 @@ describe("buildIdentityPrompt", () => {
90
119
  });
91
120
  });
92
121
 
93
- describe("buildIdentityPrompt composio-tool-index", () => {
122
+ describe("buildIdentityPrompt composio cache files", () => {
94
123
  let tmp: string;
124
+ const originalFetch = globalThis.fetch;
125
+ const originalDenchApiKey = process.env.DENCH_API_KEY;
126
+ const originalDenchGatewayUrl = process.env.DENCH_GATEWAY_URL;
95
127
 
96
128
  afterEach(() => {
129
+ globalThis.fetch = originalFetch;
130
+ if (originalDenchApiKey !== undefined) {
131
+ process.env.DENCH_API_KEY = originalDenchApiKey;
132
+ } else {
133
+ delete process.env.DENCH_API_KEY;
134
+ }
135
+ if (originalDenchGatewayUrl !== undefined) {
136
+ process.env.DENCH_GATEWAY_URL = originalDenchGatewayUrl;
137
+ } else {
138
+ delete process.env.DENCH_GATEWAY_URL;
139
+ }
97
140
  if (tmp) {
98
141
  rmSync(tmp, { recursive: true, force: true });
99
142
  }
100
143
  });
101
144
 
102
- it("includes Gmail tool names from composio-tool-index.json so the agent skips catalog discovery", () => {
145
+ it("does not expose cached tool-index contents in runtime integration guidance", () => {
103
146
  tmp = path.join(
104
147
  os.tmpdir(),
105
148
  `dench-identity-composio-${Date.now()}-${Math.random().toString(36).slice(2)}`,
@@ -133,10 +176,10 @@ describe("buildIdentityPrompt composio-tool-index", () => {
133
176
  );
134
177
 
135
178
  const prompt = buildIdentityPrompt(tmp);
136
- expect(prompt).toContain("Connected App Tools (via Composio MCP)");
137
- expect(prompt).toContain("GMAIL_FETCH_EMAILS");
138
- expect(prompt).toContain("Read recent emails");
139
- expect(prompt).toContain("label_ids");
179
+ expect(prompt).toContain("Connected App Tools (Dench Integrations)");
180
+ expect(prompt).toContain("live integration schema");
181
+ expect(prompt).toContain("dench_search_integrations");
182
+ expect(prompt).not.toContain("GMAIL_FETCH_EMAILS");
140
183
  });
141
184
  });
142
185
 
@@ -184,6 +227,24 @@ describe("resolveWorkspaceDir", () => {
184
227
  });
185
228
 
186
229
  describe("register", () => {
230
+ const originalFetch = globalThis.fetch;
231
+ const originalDenchApiKey = process.env.DENCH_API_KEY;
232
+ const originalDenchGatewayUrl = process.env.DENCH_GATEWAY_URL;
233
+
234
+ afterEach(() => {
235
+ globalThis.fetch = originalFetch;
236
+ if (originalDenchApiKey !== undefined) {
237
+ process.env.DENCH_API_KEY = originalDenchApiKey;
238
+ } else {
239
+ delete process.env.DENCH_API_KEY;
240
+ }
241
+ if (originalDenchGatewayUrl !== undefined) {
242
+ process.env.DENCH_GATEWAY_URL = originalDenchGatewayUrl;
243
+ } else {
244
+ delete process.env.DENCH_GATEWAY_URL;
245
+ }
246
+ });
247
+
187
248
  it("hooks into before_prompt_build event when enabled", () => {
188
249
  const api = {
189
250
  config: { plugins: { entries: {} }, agents: { defaults: { workspace: "/ws" } } },
@@ -232,15 +293,15 @@ describe("register", () => {
232
293
  expect(result).toBeUndefined();
233
294
  });
234
295
 
235
- it("registers the Composio resolver tool when the managed skill exists", () => {
296
+ it("registers the Dench Integrations search tool when the workspace is configured", () => {
236
297
  const tmp = path.join(
237
298
  os.tmpdir(),
238
299
  `dench-identity-register-${Date.now()}-${Math.random().toString(36).slice(2)}`,
239
300
  );
240
- mkdirSync(path.join(tmp, "skills", "composio-apps"), { recursive: true });
301
+ mkdirSync(path.join(tmp, "skills", "dench-integrations"), { recursive: true });
241
302
  writeFileSync(
242
- path.join(tmp, "skills", "composio-apps", "SKILL.md"),
243
- "# Composio connected apps\n",
303
+ path.join(tmp, "skills", "dench-integrations", "SKILL.md"),
304
+ "# Dench Integrations connected apps\n",
244
305
  "utf-8",
245
306
  );
246
307
 
@@ -253,38 +314,161 @@ describe("register", () => {
253
314
  register(api as any);
254
315
 
255
316
  expect(api.registerTool).toHaveBeenCalledWith(
256
- expect.objectContaining({ name: "composio_resolve_tool" }),
317
+ expect.objectContaining({ name: "dench_search_integrations" }),
318
+ );
319
+ expect(getRegisteredTool(api as any, "dench_execute_integrations")).toBeUndefined();
320
+
321
+ rmSync(tmp, { recursive: true, force: true });
322
+ });
323
+
324
+ it("searches GitHub integration tools for recent PR requests", async () => {
325
+ const tmp = path.join(
326
+ os.tmpdir(),
327
+ `dench-identity-github-search-${Date.now()}-${Math.random().toString(36).slice(2)}`,
328
+ );
329
+ mkdirSync(tmp, { recursive: true });
330
+ mockGatewaySearch({
331
+ items: [
332
+ {
333
+ slug: "GITHUB_FIND_PULL_REQUESTS",
334
+ name: "Find pull requests",
335
+ description: "Find GitHub pull requests.",
336
+ toolkit: {
337
+ slug: "github",
338
+ name: "GitHub",
339
+ },
340
+ input_parameters: {
341
+ type: "object",
342
+ properties: {
343
+ state: {
344
+ type: "string",
345
+ },
346
+ },
347
+ },
348
+ connection_status: {
349
+ is_connected: true,
350
+ account_count: 1,
351
+ accounts: [],
352
+ },
353
+ },
354
+ ],
355
+ connected_toolkits: ["github"],
356
+ });
357
+
358
+ const api = {
359
+ config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
360
+ on: vi.fn(),
361
+ registerTool: vi.fn(),
362
+ };
363
+
364
+ register(api as any);
365
+
366
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
367
+ const result = await executeTool(searchTool, {
368
+ toolkit: "github",
369
+ query: "check my recent PRs",
370
+ });
371
+ const payload = JSON.parse(result.content[0].text);
372
+
373
+ expect(payload.toolkit_filter).toBe("github");
374
+ expect(payload.result_count).toBe(1);
375
+ expect(payload.results[0].tool_slug).toBe("GITHUB_FIND_PULL_REQUESTS");
376
+ expect(payload.instruction).toContain("dench_execute_integrations");
377
+
378
+ rmSync(tmp, { recursive: true, force: true });
379
+ });
380
+
381
+ it("searches across connected apps and ranks the best tool matches", async () => {
382
+ const tmp = path.join(
383
+ os.tmpdir(),
384
+ `dench-identity-search-${Date.now()}-${Math.random().toString(36).slice(2)}`,
257
385
  );
386
+ mkdirSync(tmp, { recursive: true });
387
+ mockGatewaySearch({
388
+ items: [
389
+ {
390
+ slug: "STRIPE_LIST_SUBSCRIPTIONS",
391
+ name: "List subscriptions",
392
+ description: "List Stripe subscriptions for billing analysis.",
393
+ toolkit: {
394
+ slug: "stripe",
395
+ name: "Stripe",
396
+ },
397
+ input_parameters: { type: "object", properties: {} },
398
+ connection_status: {
399
+ is_connected: true,
400
+ account_count: 1,
401
+ accounts: [],
402
+ },
403
+ },
404
+ {
405
+ slug: "GITHUB_FIND_PULL_REQUESTS",
406
+ name: "Find pull requests",
407
+ description: "Find GitHub pull requests.",
408
+ toolkit: {
409
+ slug: "github",
410
+ name: "GitHub",
411
+ },
412
+ input_parameters: { type: "object", properties: {} },
413
+ connection_status: {
414
+ is_connected: true,
415
+ account_count: 1,
416
+ accounts: [],
417
+ },
418
+ },
419
+ ],
420
+ connected_toolkits: ["stripe", "github"],
421
+ });
422
+
423
+ const api = {
424
+ config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
425
+ on: vi.fn(),
426
+ registerTool: vi.fn(),
427
+ };
428
+
429
+ register(api as any);
430
+
431
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
432
+ const result = await executeTool(searchTool, {
433
+ query: "find billing subscriptions for a customer",
434
+ });
435
+ const payload = JSON.parse(result.content[0].text);
436
+
437
+ expect(payload.result_count).toBeGreaterThan(0);
438
+ expect(payload.results[0].tool_slug).toBe("STRIPE_LIST_SUBSCRIPTIONS");
439
+ expect(payload.results[1].tool_slug).toBe("GITHUB_FIND_PULL_REQUESTS");
440
+ expect(payload.results[0].toolkit.slug).toBe("stripe");
258
441
 
259
442
  rmSync(tmp, { recursive: true, force: true });
260
443
  });
261
444
 
262
- it("resolves recent GitHub PR requests through recipe-backed tools outside the direct tool slice", async () => {
445
+ it("returns gateway-backed Dench Integrations search results with full schemas", async () => {
263
446
  const tmp = path.join(
264
447
  os.tmpdir(),
265
- `dench-identity-resolver-${Date.now()}-${Math.random().toString(36).slice(2)}`,
448
+ `dench-identity-gateway-search-${Date.now()}-${Math.random().toString(36).slice(2)}`,
266
449
  );
267
450
  mkdirSync(tmp, { recursive: true });
268
451
  writeFileSync(
269
452
  path.join(tmp, "composio-tool-index.json"),
270
453
  JSON.stringify({
271
454
  generated_at: "2026-04-03T00:00:00.000Z",
455
+ managed_tools: ["dench_search_integrations", "dench_execute_integrations"],
272
456
  connected_apps: [
273
457
  {
274
- toolkit_slug: "github",
275
- toolkit_name: "GitHub",
458
+ toolkit_slug: "stripe",
459
+ toolkit_name: "Stripe",
276
460
  account_count: 1,
277
461
  tools: [
278
462
  {
279
- name: "GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER",
280
- title: "List repositories",
281
- description_short: "Lists repositories for the authenticated user.",
463
+ name: "STRIPE_LIST_SUBSCRIPTIONS",
464
+ title: "List subscriptions",
465
+ description_short: "List Stripe subscriptions.",
282
466
  required_args: [],
283
467
  arg_hints: {},
284
468
  },
285
469
  ],
286
470
  recipes: {
287
- "Find pull requests": "GITHUB_FIND_PULL_REQUESTS",
471
+ "List subscriptions": "STRIPE_LIST_SUBSCRIPTIONS",
288
472
  },
289
473
  },
290
474
  ],
@@ -292,6 +476,136 @@ describe("register", () => {
292
476
  "utf-8",
293
477
  );
294
478
 
479
+ process.env.DENCH_API_KEY = "dench-test-key";
480
+ process.env.DENCH_GATEWAY_URL = "https://gateway.example.com";
481
+ globalThis.fetch = vi.fn(async (input, init) => {
482
+ const url = typeof input === "string" ? input : input.url;
483
+ expect(url).toBe("https://gateway.example.com/v1/composio/tools/search");
484
+ expect(init?.method).toBe("POST");
485
+ return new Response(
486
+ JSON.stringify({
487
+ items: [
488
+ {
489
+ slug: "STRIPE_LIST_SUBSCRIPTIONS",
490
+ name: "List subscriptions",
491
+ description: "List subscriptions.",
492
+ toolkit: {
493
+ slug: "stripe",
494
+ name: "Stripe",
495
+ },
496
+ input_parameters: {
497
+ type: "object",
498
+ properties: {
499
+ limit: { type: "number" },
500
+ starting_after: { type: "string" },
501
+ },
502
+ },
503
+ connection_status: {
504
+ is_connected: true,
505
+ account_count: 1,
506
+ accounts: [
507
+ {
508
+ id: "acct_primary",
509
+ alias: "Primary Stripe",
510
+ is_default: true,
511
+ user_info: {
512
+ email: "ops@example.com",
513
+ name: "Primary Stripe",
514
+ },
515
+ },
516
+ ],
517
+ },
518
+ },
519
+ ],
520
+ connected_toolkits: ["stripe"],
521
+ }),
522
+ {
523
+ status: 200,
524
+ headers: {
525
+ "content-type": "application/json",
526
+ },
527
+ },
528
+ );
529
+ }) as typeof fetch;
530
+
531
+ const api = {
532
+ config: {
533
+ plugins: {
534
+ entries: {
535
+ "dench-ai-gateway": {
536
+ config: {
537
+ gatewayUrl: "https://gateway.example.com",
538
+ },
539
+ },
540
+ },
541
+ },
542
+ agents: { defaults: { workspace: tmp } },
543
+ },
544
+ on: vi.fn(),
545
+ registerTool: vi.fn(),
546
+ };
547
+
548
+ register(api as any);
549
+
550
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
551
+ const result = await executeTool(searchTool, {
552
+ toolkit: "stripe",
553
+ query: "list Stripe subscriptions for billing analysis",
554
+ });
555
+ const payload = JSON.parse(result.content[0].text);
556
+
557
+ expect(payload.result_count).toBe(1);
558
+ expect(payload.results[0].tool_slug).toBe("STRIPE_LIST_SUBSCRIPTIONS");
559
+ expect(payload.results[0].input_schema.properties.starting_after).toBeTruthy();
560
+ expect(payload.results[0].accounts).toHaveLength(1);
561
+
562
+ rmSync(tmp, { recursive: true, force: true });
563
+ });
564
+
565
+ it("requires account selection when multiple connected accounts match the same app", async () => {
566
+ const tmp = path.join(
567
+ os.tmpdir(),
568
+ `dench-identity-multi-account-${Date.now()}-${Math.random().toString(36).slice(2)}`,
569
+ );
570
+ mkdirSync(tmp, { recursive: true });
571
+ mockGatewaySearch({
572
+ items: [
573
+ {
574
+ slug: "STRIPE_LIST_SUBSCRIPTIONS",
575
+ name: "List subscriptions",
576
+ description: "List subscriptions.",
577
+ toolkit: {
578
+ slug: "stripe",
579
+ name: "Stripe",
580
+ },
581
+ input_parameters: { type: "object", properties: {} },
582
+ connection_status: {
583
+ is_connected: true,
584
+ account_count: 2,
585
+ accounts: [
586
+ {
587
+ id: "acct_prod",
588
+ alias: "Prod Stripe",
589
+ user_info: {
590
+ email: "ops@example.com",
591
+ name: "Prod Stripe",
592
+ },
593
+ },
594
+ {
595
+ id: "acct_test",
596
+ alias: "Test Stripe",
597
+ user_info: {
598
+ email: "dev@example.com",
599
+ name: "Test Stripe",
600
+ },
601
+ },
602
+ ],
603
+ },
604
+ },
605
+ ],
606
+ connected_toolkits: ["stripe"],
607
+ });
608
+
295
609
  const api = {
296
610
  config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
297
611
  on: vi.fn(),
@@ -300,41 +614,133 @@ describe("register", () => {
300
614
 
301
615
  register(api as any);
302
616
 
303
- const resolver = api.registerTool.mock.calls[0][0];
304
- const result = await resolver.execute({
305
- app: "github",
306
- intent: "check my recent PRs",
617
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
618
+ const result = await executeTool(searchTool, {
619
+ toolkit: "stripe",
620
+ query: "list subscriptions",
307
621
  });
308
622
  const payload = JSON.parse(result.content[0].text);
309
623
 
310
- expect(payload.tool).toBe("GITHUB_FIND_PULL_REQUESTS");
311
- expect(payload.directly_callable).toBe(true);
624
+ expect(payload.results[0].account_count).toBe(2);
625
+ expect(payload.results[0].accounts).toHaveLength(2);
626
+ expect(payload.instruction).toContain("multiple connected accounts");
312
627
 
313
628
  rmSync(tmp, { recursive: true, force: true });
314
629
  });
315
630
 
316
- it("returns a direct connect link when the requested app is not connected", async () => {
631
+ it("forwards toolkit and limit filters to gateway-backed searches", async () => {
317
632
  const tmp = path.join(
318
633
  os.tmpdir(),
319
- `dench-identity-resolver-missing-${Date.now()}-${Math.random().toString(36).slice(2)}`,
634
+ `dench-identity-filtered-search-${Date.now()}-${Math.random().toString(36).slice(2)}`,
320
635
  );
321
636
  mkdirSync(tmp, { recursive: true });
322
- writeFileSync(
323
- path.join(tmp, "composio-tool-index.json"),
324
- JSON.stringify({
325
- generated_at: "2026-04-03T00:00:00.000Z",
326
- connected_apps: [
327
- {
328
- toolkit_slug: "github",
329
- toolkit_name: "GitHub",
330
- account_count: 1,
331
- tools: [],
332
- recipes: {},
637
+ process.env.DENCH_API_KEY = "dench-test-key";
638
+ process.env.DENCH_GATEWAY_URL = "https://gateway.example.com";
639
+
640
+ globalThis.fetch = vi.fn(async (input, init) => {
641
+ const url = typeof input === "string" ? input : input.url;
642
+ expect(url).toBe("https://gateway.example.com/v1/composio/tools/search");
643
+ expect(init?.method).toBe("POST");
644
+ expect(JSON.parse(String(init?.body ?? "{}"))).toMatchObject({
645
+ query: "list Stripe subscriptions",
646
+ toolkit_slug: "stripe",
647
+ limit: 5,
648
+ });
649
+ return new Response(
650
+ JSON.stringify({
651
+ items: [
652
+ {
653
+ slug: "STRIPE_LIST_SUBSCRIPTIONS",
654
+ name: "List subscriptions",
655
+ description: "List subscriptions.",
656
+ toolkit: {
657
+ slug: "stripe",
658
+ name: "Stripe",
659
+ },
660
+ input_parameters: { type: "object", properties: {} },
661
+ connection_status: {
662
+ is_connected: true,
663
+ account_count: 1,
664
+ accounts: [],
665
+ },
666
+ },
667
+ ],
668
+ connected_toolkits: ["stripe"],
669
+ }),
670
+ {
671
+ status: 200,
672
+ headers: {
673
+ "content-type": "application/json",
333
674
  },
334
- ],
335
- }),
336
- "utf-8",
675
+ },
676
+ );
677
+ }) as typeof fetch;
678
+
679
+ const api = {
680
+ config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
681
+ on: vi.fn(),
682
+ registerTool: vi.fn(),
683
+ };
684
+
685
+ register(api as any);
686
+
687
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
688
+ const result = await executeTool(searchTool, {
689
+ toolkit: "stripe",
690
+ limit: 5,
691
+ query: "list Stripe subscriptions",
692
+ });
693
+ const payload = JSON.parse(result.content[0].text);
694
+
695
+ expect(payload.toolkit_filter).toBe("stripe");
696
+ expect(payload.result_count).toBe(1);
697
+
698
+ rmSync(tmp, { recursive: true, force: true });
699
+ });
700
+
701
+ it("returns no-match guidance when a toolkit search has no matching tools", async () => {
702
+ const tmp = path.join(
703
+ os.tmpdir(),
704
+ `dench-identity-no-match-${Date.now()}-${Math.random().toString(36).slice(2)}`,
337
705
  );
706
+ mkdirSync(tmp, { recursive: true });
707
+ mockGatewaySearch({
708
+ items: [],
709
+ connected_toolkits: ["gmail"],
710
+ });
711
+
712
+ const api = {
713
+ config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
714
+ on: vi.fn(),
715
+ registerTool: vi.fn(),
716
+ };
717
+
718
+ register(api as any);
719
+
720
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
721
+ const result = await executeTool(searchTool, {
722
+ toolkit: "gmail",
723
+ query: "read my recent email",
724
+ });
725
+ const payload = JSON.parse(result.content[0].text);
726
+
727
+ expect(payload.result_count).toBe(0);
728
+ expect(payload.connected_toolkits).toEqual(["gmail"]);
729
+ expect(payload.instruction).toContain("No Gmail integration tools matched");
730
+
731
+ rmSync(tmp, { recursive: true, force: true });
732
+ });
733
+
734
+ it("returns a direct connect link when the requested app is not connected", async () => {
735
+ const tmp = path.join(
736
+ os.tmpdir(),
737
+ `dench-identity-connect-required-${Date.now()}-${Math.random().toString(36).slice(2)}`,
738
+ );
739
+ mkdirSync(tmp, { recursive: true });
740
+ mockGatewaySearch({
741
+ items: [],
742
+ connected_toolkits: [],
743
+ });
338
744
 
339
745
  const api = {
340
746
  config: { plugins: { entries: {} }, agents: { defaults: { workspace: tmp } } },
@@ -344,10 +750,10 @@ describe("register", () => {
344
750
 
345
751
  register(api as any);
346
752
 
347
- const resolver = api.registerTool.mock.calls[0][0];
348
- const result = await resolver.execute({
349
- app: "slack",
350
- intent: "check my slack",
753
+ const searchTool = getRegisteredTool(api as any, "dench_search_integrations");
754
+ const result = await executeTool(searchTool, {
755
+ toolkit: "slack",
756
+ query: "check my slack",
351
757
  });
352
758
  const payload = JSON.parse(result.content[0].text);
353
759