prismalens 0.5.1 → 0.5.2

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 (443) hide show
  1. package/THIRD_PARTY_NOTICES.txt +82 -57
  2. package/node_modules/@prisma/adapter-better-sqlite3/package.json +2 -2
  3. package/node_modules/@prismalens/agent-adapters/LICENSE +201 -0
  4. package/node_modules/@prismalens/agent-adapters/README.md +3 -0
  5. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@agentclientprotocol/claude-agent-acp/LICENSE +191 -0
  6. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@agentclientprotocol/codex-acp/LICENSE +190 -0
  7. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@anthropic-ai/claude-agent-sdk/LICENSE.md +1 -0
  8. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@anthropic-ai/claude-agent-sdk/README.md +65 -0
  9. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@openai/codex/LICENSE +204 -0
  10. package/node_modules/@prismalens/agent-adapters/THIRD_PARTY_LICENSES/@openai/codex/NOTICE +6 -0
  11. package/node_modules/@prismalens/agent-adapters/dist/index.d.ts +9 -0
  12. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts +1369 -0
  13. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts +82 -0
  14. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts +25 -0
  15. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts +117 -0
  16. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts +140 -0
  17. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts +60 -0
  18. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts +18 -0
  19. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts +132 -0
  20. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts +13 -0
  21. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts +138 -0
  22. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts +42 -0
  23. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts +47 -0
  24. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts +15 -0
  25. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts +36 -0
  26. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts +152 -0
  27. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts +3 -0
  28. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts +7 -0
  29. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts +19 -0
  30. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts +71 -0
  31. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts +19 -0
  32. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts +10 -0
  33. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts +6 -0
  34. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts +9 -0
  35. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts +44 -0
  36. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts +5 -0
  37. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts +11 -0
  38. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts +5 -0
  39. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts +16 -0
  40. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts +11 -0
  41. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts +19 -0
  42. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts +4 -0
  43. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts +14 -0
  44. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts +97 -0
  45. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts +74 -0
  46. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts +41 -0
  47. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts +41 -0
  48. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts +15 -0
  49. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts +77 -0
  50. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts +68 -0
  51. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts +8 -0
  52. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts +98 -0
  53. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts +7 -0
  54. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts +16 -0
  55. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +1803 -0
  56. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.test.d.ts +1 -0
  57. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +5036 -0
  58. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.d.ts +89 -0
  59. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.test.d.ts +1 -0
  60. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/connection.test.js +507 -0
  61. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.d.ts +26 -0
  62. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.d.ts +1 -0
  63. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js +77 -0
  64. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/agent.d.ts +2 -0
  65. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/client.d.ts +2 -0
  66. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.d.ts +9 -0
  67. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.d.ts +2 -0
  68. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.d.ts +2 -0
  69. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.d.ts +2 -0
  70. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.d.ts +33 -0
  71. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.d.ts +1 -0
  72. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js +1380 -0
  73. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.d.ts +603 -0
  74. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.d.ts +1 -0
  75. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js +917 -0
  76. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.d.ts +22 -0
  77. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.d.ts +1 -0
  78. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js +45 -0
  79. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.d.ts +17 -0
  80. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.d.ts +1 -0
  81. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js +499 -0
  82. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.d.ts +37 -0
  83. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.d.ts +1 -0
  84. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js +535 -0
  85. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.d.ts +11 -0
  86. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.test.d.ts +1 -0
  87. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js +82 -0
  88. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +183 -0
  89. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +51 -0
  90. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +6219 -0
  91. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +15215 -0
  92. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +30 -0
  93. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.d.ts +1 -0
  94. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js +93 -0
  95. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.d.ts +1 -0
  96. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js +261 -0
  97. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.d.ts +1 -0
  98. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js +536 -0
  99. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.d.ts +2 -0
  100. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.d.ts +1 -0
  101. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js +53 -0
  102. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.d.ts +1 -0
  103. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js +992 -0
  104. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.d.ts +81 -0
  105. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.test.d.ts +1 -0
  106. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/server.test.js +1116 -0
  107. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.d.ts +4 -0
  108. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.test.d.ts +1 -0
  109. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/sse.test.js +126 -0
  110. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.d.ts +35 -0
  111. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.test.d.ts +1 -0
  112. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/stream.test.js +195 -0
  113. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.d.ts +8 -0
  114. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.d.ts +24 -0
  115. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.d.ts +9 -0
  116. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +957 -0
  117. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.d.ts +1 -0
  118. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +1287 -0
  119. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +946 -0
  120. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +42 -0
  121. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +6208 -0
  122. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +33267 -0
  123. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-server.d.ts +14 -0
  124. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.d.ts +54 -0
  125. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.d.ts +1 -0
  126. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js +836 -0
  127. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.d.ts +13 -0
  128. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.d.ts +1 -0
  129. package/node_modules/@prismalens/agent-adapters/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js +42 -0
  130. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/agentSdkTypes.d.ts +1 -0
  131. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/bridge.d.ts +378 -0
  132. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.d.ts +184 -0
  133. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/extractFromBunfs.d.ts +1 -0
  134. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk-tools.d.ts +4153 -0
  135. package/node_modules/@prismalens/agent-adapters/node_modules/@anthropic-ai/claude-agent-sdk/sdk.d.ts +9551 -0
  136. package/node_modules/@prismalens/agent-adapters/node_modules/default-browser/index.d.ts +29 -0
  137. package/node_modules/@prismalens/agent-adapters/node_modules/define-lazy-prop/index.d.ts +31 -0
  138. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
  139. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
  140. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/array.d.ts +19 -0
  141. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/base.d.ts +20 -0
  142. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/character.d.ts +19 -0
  143. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/css.d.ts +18 -0
  144. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/json.d.ts +24 -0
  145. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/line.d.ts +24 -0
  146. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
  147. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/diff/word.d.ts +35 -0
  148. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/index.d.ts +20 -0
  149. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
  150. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/create.d.ts +131 -0
  151. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
  152. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/parse.d.ts +16 -0
  153. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/patch/reverse.d.ts +22 -0
  154. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/types.d.ts +260 -0
  155. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/array.d.ts +3 -0
  156. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
  157. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/params.d.ts +4 -0
  158. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libcjs/util/string.d.ts +30 -0
  159. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
  160. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/convert/xml.d.ts +6 -0
  161. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/array.d.ts +19 -0
  162. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/base.d.ts +20 -0
  163. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/character.d.ts +19 -0
  164. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/css.d.ts +18 -0
  165. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/json.d.ts +24 -0
  166. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/line.d.ts +24 -0
  167. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
  168. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/diff/word.d.ts +35 -0
  169. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/index.d.ts +20 -0
  170. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/apply.d.ts +62 -0
  171. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/create.d.ts +131 -0
  172. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
  173. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/parse.d.ts +16 -0
  174. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/patch/reverse.d.ts +22 -0
  175. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/types.d.ts +260 -0
  176. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/array.d.ts +3 -0
  177. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
  178. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/params.d.ts +4 -0
  179. package/node_modules/@prismalens/agent-adapters/node_modules/diff/libesm/util/string.d.ts +30 -0
  180. package/node_modules/@prismalens/agent-adapters/node_modules/is-docker/index.d.ts +13 -0
  181. package/node_modules/@prismalens/agent-adapters/node_modules/is-in-ssh/index.d.ts +15 -0
  182. package/node_modules/@prismalens/agent-adapters/node_modules/is-inside-container/index.d.ts +13 -0
  183. package/node_modules/@prismalens/agent-adapters/node_modules/is-wsl/index.d.ts +15 -0
  184. package/node_modules/@prismalens/agent-adapters/node_modules/open/index.d.ts +158 -0
  185. package/node_modules/@prismalens/agent-adapters/node_modules/powershell-utils/index.d.ts +175 -0
  186. package/node_modules/@prismalens/agent-adapters/node_modules/run-applescript/index.d.ts +66 -0
  187. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  188. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
  189. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  190. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  191. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
  192. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  193. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  194. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  195. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  196. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
  197. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  198. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  199. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  200. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  201. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  202. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  203. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  204. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/node/main.d.ts +59 -0
  205. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
  206. package/node_modules/@prismalens/agent-adapters/node_modules/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  207. package/node_modules/@prismalens/agent-adapters/node_modules/wsl-utils/index.d.ts +180 -0
  208. package/node_modules/@prismalens/agent-adapters/node_modules/zod/compile.d.ts +1 -0
  209. package/node_modules/@prismalens/agent-adapters/node_modules/zod/index.d.ts +3 -0
  210. package/node_modules/@prismalens/agent-adapters/node_modules/zod/locales/index.d.ts +1 -0
  211. package/node_modules/@prismalens/agent-adapters/node_modules/zod/mini/index.d.ts +3 -0
  212. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/ZodError.d.ts +164 -0
  213. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/errors.d.ts +5 -0
  214. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/external.d.ts +6 -0
  215. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  216. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  217. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  218. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  219. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  220. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/helpers/util.d.ts +85 -0
  221. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/index.d.ts +4 -0
  222. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/locales/en.d.ts +3 -0
  223. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/standard-schema.d.ts +102 -0
  224. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v3/types.d.ts +1034 -0
  225. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/checks.d.ts +1 -0
  226. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  227. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/compat.d.ts +48 -0
  228. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  229. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/errors.d.ts +29 -0
  230. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/external.d.ts +19 -0
  231. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  232. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  233. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/index.d.ts +3 -0
  234. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/iso.d.ts +7 -0
  235. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/parse.d.ts +44 -0
  236. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/classic/schemas.d.ts +816 -0
  237. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/api.d.ts +335 -0
  238. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/checks.d.ts +294 -0
  239. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/compile.d.ts +65 -0
  240. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/core.d.ts +82 -0
  241. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/doc.d.ts +16 -0
  242. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/errors.d.ts +225 -0
  243. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/index.d.ts +19 -0
  244. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  245. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  246. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  247. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  248. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/parse.d.ts +52 -0
  249. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/regexes.d.ts +90 -0
  250. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/registries.d.ts +35 -0
  251. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/schemas.d.ts +1273 -0
  252. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  253. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
  254. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/util.d.ts +278 -0
  255. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/versions.d.ts +5 -0
  256. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/core/visit.d.ts +30 -0
  257. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/index.d.ts +3 -0
  258. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ar.d.ts +4 -0
  259. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/az.d.ts +4 -0
  260. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/be.d.ts +4 -0
  261. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/bg.d.ts +4 -0
  262. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/bn.d.ts +4 -0
  263. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ca.d.ts +4 -0
  264. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  265. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/cs.d.ts +4 -0
  266. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/da.d.ts +4 -0
  267. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/de.d.ts +4 -0
  268. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/el.d.ts +4 -0
  269. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/en.d.ts +4 -0
  270. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/eo.d.ts +4 -0
  271. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/es.d.ts +4 -0
  272. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fa.d.ts +4 -0
  273. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fi.d.ts +4 -0
  274. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  275. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/fr.d.ts +4 -0
  276. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/gu.d.ts +4 -0
  277. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/he.d.ts +4 -0
  278. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hi.d.ts +4 -0
  279. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hr.d.ts +4 -0
  280. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hu.d.ts +4 -0
  281. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/hy.d.ts +4 -0
  282. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/id.d.ts +4 -0
  283. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/index.d.ts +63 -0
  284. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/is.d.ts +4 -0
  285. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/it.d.ts +4 -0
  286. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ja.d.ts +4 -0
  287. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ka.d.ts +4 -0
  288. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/kh.d.ts +5 -0
  289. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/km.d.ts +4 -0
  290. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/kn.d.ts +4 -0
  291. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ko.d.ts +4 -0
  292. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/lt.d.ts +4 -0
  293. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/mk.d.ts +4 -0
  294. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ms.d.ts +4 -0
  295. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ne.d.ts +4 -0
  296. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/nl.d.ts +4 -0
  297. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/nn.d.ts +4 -0
  298. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/no.d.ts +4 -0
  299. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ota.d.ts +4 -0
  300. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pl.d.ts +4 -0
  301. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ps.d.ts +4 -0
  302. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  303. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/pt.d.ts +4 -0
  304. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ro.d.ts +4 -0
  305. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ru.d.ts +4 -0
  306. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sk.d.ts +4 -0
  307. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sl.d.ts +4 -0
  308. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/sv.d.ts +4 -0
  309. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ta.d.ts +4 -0
  310. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tg.d.ts +4 -0
  311. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/th.d.ts +4 -0
  312. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tk.d.ts +4 -0
  313. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/tr.d.ts +4 -0
  314. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ua.d.ts +5 -0
  315. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/uk.d.ts +4 -0
  316. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/ur.d.ts +4 -0
  317. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/uz.d.ts +4 -0
  318. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/vi.d.ts +4 -0
  319. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/yo.d.ts +4 -0
  320. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  321. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  322. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/checks.d.ts +1 -0
  323. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  324. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  325. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/external.d.ts +16 -0
  326. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  327. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/index.d.ts +3 -0
  328. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/iso.d.ts +22 -0
  329. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/parse.d.ts +1 -0
  330. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4/mini/schemas.d.ts +480 -0
  331. package/node_modules/@prismalens/agent-adapters/node_modules/zod/v4-mini/index.d.ts +3 -0
  332. package/node_modules/@prismalens/agent-adapters/package.json +21 -6
  333. package/node_modules/@prismalens/api/dist/src/core/harness/repo-source.service.js +1 -0
  334. package/node_modules/@prismalens/api/public/THIRD_PARTY_NOTICES.txt +82 -57
  335. package/node_modules/@prismalens/api/public/assets/{Field-dI7mth89.js → Field-Blwn4QDs.js} +1 -1
  336. package/node_modules/@prismalens/api/public/assets/Hint-I6G52Q_M.js +41 -0
  337. package/node_modules/@prismalens/api/public/assets/MergeDialog-DI7nb-pG.js +1 -0
  338. package/node_modules/@prismalens/api/public/assets/{ResolveDialog-D-swl2ib.js → ResolveDialog-CKyuzNtU.js} +1 -1
  339. package/node_modules/@prismalens/api/public/assets/RunsMenu-B46B_gZU.js +3 -0
  340. package/node_modules/@prismalens/api/public/assets/{ServiceFormDialog-CtxQGmaD.js → ServiceFormDialog-CQm0Unxf.js} +1 -1
  341. package/node_modules/@prismalens/api/public/assets/_authenticated-BPsBFlMh.js +1 -0
  342. package/node_modules/@prismalens/api/public/assets/_authenticated-BzbPxOeY.js +1 -0
  343. package/node_modules/@prismalens/api/public/assets/{_id-Due91CTg.js → _id-D_G5RMgK.js} +1 -1
  344. package/node_modules/@prismalens/api/public/assets/_id-Da-m0w25.js +1 -0
  345. package/node_modules/@prismalens/api/public/assets/_id-NQNr5-yE.js +1 -0
  346. package/node_modules/@prismalens/api/public/assets/_id-mJSRa5Ke.js +1 -0
  347. package/node_modules/@prismalens/api/public/assets/alerts-D_IcsMcM.js +1 -0
  348. package/node_modules/@prismalens/api/public/assets/bundle-mjs-B_LDP-6b.js +1 -0
  349. package/node_modules/@prismalens/api/public/assets/button-Chns-8Ua.js +1 -0
  350. package/node_modules/@prismalens/api/public/assets/conversation-BGvYjBh3.js +158 -0
  351. package/node_modules/@prismalens/api/public/assets/desktop-DCOrT9cX.js +63 -0
  352. package/node_modules/@prismalens/api/public/assets/dist-Cnb_-T3N.js +1 -0
  353. package/node_modules/@prismalens/api/public/assets/fixes-DpzBzASh.js +1 -0
  354. package/node_modules/@prismalens/api/public/assets/{highlighted-body-KQOG7T2V-C0hkD05-.js → highlighted-body-KQOG7T2V-CDakMIg-.js} +1 -1
  355. package/node_modules/@prismalens/api/public/assets/{incident-attention-Edky2Ay0.js → incident-attention-hT3OUOPc.js} +1 -1
  356. package/node_modules/@prismalens/api/public/assets/incidents-C6Rq41eK.js +1 -0
  357. package/node_modules/@prismalens/api/public/assets/index-BnrHkPFh.js +23 -0
  358. package/node_modules/@prismalens/api/public/assets/jsx-runtime-CXCudH8Z.js +1 -0
  359. package/node_modules/@prismalens/api/public/assets/{loader-circle-CfKw5wFE.js → loader-circle-C8a_Hnk6.js} +1 -1
  360. package/node_modules/@prismalens/api/public/assets/matchContext-IH8ddzQs.js +2 -0
  361. package/node_modules/@prismalens/api/public/assets/mermaid-MCJ5UELQ-CLXWgSuk.js +1 -0
  362. package/node_modules/@prismalens/api/public/assets/{pair-DuWT-CtT.js → pair-DQ8Y1YX_.js} +1 -1
  363. package/node_modules/@prismalens/api/public/assets/plus-Tlbf1bdm.js +1 -0
  364. package/node_modules/@prismalens/api/public/assets/react-dom-Dvr6R6wf.js +1 -0
  365. package/node_modules/@prismalens/api/public/assets/{route-Cc4UeO_y.js → route-CBoZ7fHn.js} +1 -1
  366. package/node_modules/@prismalens/api/public/assets/route-CPchh9kB.js +1 -0
  367. package/node_modules/@prismalens/api/public/assets/route-Cp0gs_ct.js +1 -0
  368. package/node_modules/@prismalens/api/public/assets/route-DwYYk8Dy.js +1 -0
  369. package/node_modules/@prismalens/api/public/assets/select-DjrA0HDy.js +1 -0
  370. package/node_modules/@prismalens/api/public/assets/services-CrKDtwBW.js +1 -0
  371. package/node_modules/@prismalens/api/public/assets/settings-0OoZAYmm.js +1 -0
  372. package/node_modules/@prismalens/api/public/assets/skeleton-CnspEYa-.js +1 -0
  373. package/node_modules/@prismalens/api/public/assets/{state-tone-Ba9ig-4k.js → state-tone-BFcai3hr.js} +1 -1
  374. package/node_modules/@prismalens/api/public/assets/textarea-DuN-b6di.js +1 -0
  375. package/node_modules/@prismalens/api/public/assets/{use-escape-back-CgXRn8uv.js → use-escape-back-7fyalpsD.js} +1 -1
  376. package/node_modules/@prismalens/api/public/assets/use-first-open-JY-c8X8V.js +1 -0
  377. package/node_modules/@prismalens/api/public/assets/useInvestigationRun-_lSx2TPz.js +1 -0
  378. package/node_modules/@prismalens/api/public/assets/useNavigate-CPXPooFu.js +1 -0
  379. package/node_modules/@prismalens/api/public/assets/useRouter-BU35VTbH.js +1 -0
  380. package/node_modules/@prismalens/api/public/assets/useSearch-CRD31eWF.js +1 -0
  381. package/node_modules/@prismalens/api/public/assets/useSelector-DoFJYpky.js +1 -0
  382. package/node_modules/@prismalens/api/public/assets/{utils-BZQvbTCD.js → utils-DD0Xz0Py.js} +1 -1
  383. package/node_modules/@prismalens/api/public/index.html +2 -2
  384. package/node_modules/@prismalens/config/dist/providers/model-catalogue.json +2 -2
  385. package/node_modules/@prismalens/database/dist/prisma/generated/internal/class.js +2 -2
  386. package/node_modules/@prismalens/database/dist/prisma/generated/internal/prismaNamespace.js +2 -2
  387. package/node_modules/@prismalens/engine/dist/adapter/acp-adapter.js +38 -1
  388. package/node_modules/@prismalens/engine/dist/run/harness-doctor.js +9 -1
  389. package/node_modules/@prismalens/engine/dist/run/investigate.js +1 -1
  390. package/node_modules/@prismalens/engine/dist/run/prompt.js +3 -0
  391. package/node_modules/@prismalens/engine/dist/runner/acp-client.js +5 -1
  392. package/package.json +27 -27
  393. package/node_modules/@prismalens/api/public/assets/Hint-D3aC42I-.js +0 -41
  394. package/node_modules/@prismalens/api/public/assets/MergeDialog-DDE8tX3n.js +0 -1
  395. package/node_modules/@prismalens/api/public/assets/Mono-9RkwFQz6.js +0 -1
  396. package/node_modules/@prismalens/api/public/assets/NewIncident-Zw5Jcao6.js +0 -1
  397. package/node_modules/@prismalens/api/public/assets/RunsMenu-CEu6e24R.js +0 -3
  398. package/node_modules/@prismalens/api/public/assets/_authenticated-BH_Nr03P.js +0 -1
  399. package/node_modules/@prismalens/api/public/assets/_authenticated-EivYBtHs.js +0 -1
  400. package/node_modules/@prismalens/api/public/assets/_id-B6W3_quZ.js +0 -1
  401. package/node_modules/@prismalens/api/public/assets/_id-B8h5SPwz.js +0 -1
  402. package/node_modules/@prismalens/api/public/assets/_id-C9BUtx3G.js +0 -1
  403. package/node_modules/@prismalens/api/public/assets/alert-dialog-D5xZvMIR.js +0 -3
  404. package/node_modules/@prismalens/api/public/assets/alerts-D8oKAWDJ.js +0 -1
  405. package/node_modules/@prismalens/api/public/assets/bundle-mjs-cJTHqqzI.js +0 -1
  406. package/node_modules/@prismalens/api/public/assets/button-Cr8PrWdC.js +0 -1
  407. package/node_modules/@prismalens/api/public/assets/chevron-right-tMCvSyxl.js +0 -1
  408. package/node_modules/@prismalens/api/public/assets/conversation-DHY3T60s.js +0 -158
  409. package/node_modules/@prismalens/api/public/assets/desktop-B9RvObhX.js +0 -58
  410. package/node_modules/@prismalens/api/public/assets/dist-zoA3XqRA.js +0 -1
  411. package/node_modules/@prismalens/api/public/assets/fixes-D-FUCZJt.js +0 -1
  412. package/node_modules/@prismalens/api/public/assets/format-time-CGRUxfR2.js +0 -1
  413. package/node_modules/@prismalens/api/public/assets/get-error-message-XWlcOfOx.js +0 -1
  414. package/node_modules/@prismalens/api/public/assets/incidents-BdT8KicR.js +0 -1
  415. package/node_modules/@prismalens/api/public/assets/index-CAX__NsJ.js +0 -21
  416. package/node_modules/@prismalens/api/public/assets/jsx-runtime-B-hcVAMW.js +0 -1
  417. package/node_modules/@prismalens/api/public/assets/lazyRouteComponent-C-LOuZQf.js +0 -1
  418. package/node_modules/@prismalens/api/public/assets/live-refresh-BjrOGhpR.js +0 -1
  419. package/node_modules/@prismalens/api/public/assets/matchContext-DyXrH4xk.js +0 -1
  420. package/node_modules/@prismalens/api/public/assets/mermaid-MCJ5UELQ-DHfZwKb6.js +0 -1
  421. package/node_modules/@prismalens/api/public/assets/model-selector-DDUMPzEw.js +0 -2
  422. package/node_modules/@prismalens/api/public/assets/plus-BV1g6VPp.js +0 -1
  423. package/node_modules/@prismalens/api/public/assets/preload-helper-BZ1Pz5am.js +0 -1
  424. package/node_modules/@prismalens/api/public/assets/react-dom-Cix4fOWO.js +0 -1
  425. package/node_modules/@prismalens/api/public/assets/root-DLTE-HSj.js +0 -1
  426. package/node_modules/@prismalens/api/public/assets/route-1TSuy85Z.js +0 -1
  427. package/node_modules/@prismalens/api/public/assets/route-BCBYAoCj.js +0 -1
  428. package/node_modules/@prismalens/api/public/assets/route-CurA5hZv.js +0 -1
  429. package/node_modules/@prismalens/api/public/assets/select-ywBitXld.js +0 -1
  430. package/node_modules/@prismalens/api/public/assets/services-CXVezw7r.js +0 -1
  431. package/node_modules/@prismalens/api/public/assets/settings-BPFYV0nc.js +0 -1
  432. package/node_modules/@prismalens/api/public/assets/skeleton-BmmBz9ps.js +0 -1
  433. package/node_modules/@prismalens/api/public/assets/textarea-Cqcau6oZ.js +0 -1
  434. package/node_modules/@prismalens/api/public/assets/use-back-BO8UKjVe.js +0 -1
  435. package/node_modules/@prismalens/api/public/assets/use-first-open-Bi42wite.js +0 -1
  436. package/node_modules/@prismalens/api/public/assets/use-sliding-mark-E_-I6D6E.js +0 -1
  437. package/node_modules/@prismalens/api/public/assets/useInvestigationRun-C352wvI5.js +0 -1
  438. package/node_modules/@prismalens/api/public/assets/useLocation-abth45bR.js +0 -1
  439. package/node_modules/@prismalens/api/public/assets/useNavigate-zph-3gLZ.js +0 -1
  440. package/node_modules/@prismalens/api/public/assets/useRouter-BGpAXxmD.js +0 -1
  441. package/node_modules/@prismalens/api/public/assets/useSearch-BT67bTwQ.js +0 -1
  442. package/node_modules/@prismalens/api/public/assets/useSelector-CMoDyMzz.js +0 -1
  443. package/node_modules/@prismalens/api/public/assets/utils-DjD33h0z.js +0 -1
@@ -0,0 +1,131 @@
1
+ import type { StructuredPatch, DiffLinesOptionsAbortable, DiffLinesOptionsNonabortable, AbortableDiffOptions } from '../types.js';
2
+ type StructuredPatchCallbackAbortable = (patch: StructuredPatch | undefined) => void;
3
+ type StructuredPatchCallbackNonabortable = (patch: StructuredPatch) => void;
4
+ export interface HeaderOptions {
5
+ includeIndex: boolean;
6
+ includeUnderline: boolean;
7
+ includeFileHeaders: boolean;
8
+ }
9
+ export declare const INCLUDE_HEADERS: {
10
+ includeIndex: boolean;
11
+ includeUnderline: boolean;
12
+ includeFileHeaders: boolean;
13
+ };
14
+ export declare const FILE_HEADERS_ONLY: {
15
+ includeIndex: boolean;
16
+ includeUnderline: boolean;
17
+ includeFileHeaders: boolean;
18
+ };
19
+ export declare const OMIT_HEADERS: {
20
+ includeIndex: boolean;
21
+ includeUnderline: boolean;
22
+ includeFileHeaders: boolean;
23
+ };
24
+ interface _StructuredPatchOptionsAbortable extends Pick<DiffLinesOptionsAbortable, 'ignoreWhitespace' | 'stripTrailingCr'> {
25
+ /**
26
+ * describes how many lines of context should be included.
27
+ * You can set this to `Number.MAX_SAFE_INTEGER` or `Infinity` to include the entire file content in one hunk.
28
+ * @default 4
29
+ */
30
+ context?: number;
31
+ callback?: StructuredPatchCallbackAbortable;
32
+ }
33
+ export type StructuredPatchOptionsAbortable = _StructuredPatchOptionsAbortable & AbortableDiffOptions;
34
+ export interface StructuredPatchOptionsNonabortable extends Pick<DiffLinesOptionsNonabortable, 'ignoreWhitespace' | 'stripTrailingCr'> {
35
+ context?: number;
36
+ callback?: StructuredPatchCallbackNonabortable;
37
+ }
38
+ interface StructuredPatchCallbackOptionAbortable {
39
+ /**
40
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
41
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
42
+ */
43
+ callback: StructuredPatchCallbackAbortable;
44
+ }
45
+ interface StructuredPatchCallbackOptionNonabortable {
46
+ /**
47
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
48
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
49
+ */
50
+ callback: StructuredPatchCallbackNonabortable;
51
+ }
52
+ /**
53
+ * returns an object with an array of hunk objects.
54
+ *
55
+ * This method is similar to createTwoFilesPatch, but returns a data structure suitable for further processing.
56
+ * @param oldFileName String to be output in the filename section of the patch for the removals
57
+ * @param newFileName String to be output in the filename section of the patch for the additions
58
+ * @param oldStr Original string value
59
+ * @param newStr New string value
60
+ * @param oldHeader Optional additional information to include in the old file header.
61
+ * @param newHeader Optional additional information to include in the new file header.
62
+ */
63
+ export declare function structuredPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: StructuredPatchCallbackNonabortable): undefined;
64
+ export declare function structuredPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: StructuredPatchOptionsAbortable & StructuredPatchCallbackOptionAbortable): undefined;
65
+ export declare function structuredPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: StructuredPatchOptionsNonabortable & StructuredPatchCallbackOptionNonabortable): undefined;
66
+ export declare function structuredPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: StructuredPatchOptionsAbortable): StructuredPatch | undefined;
67
+ export declare function structuredPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader?: string, newHeader?: string, options?: StructuredPatchOptionsNonabortable): StructuredPatch;
68
+ /**
69
+ * creates a unified diff patch.
70
+ *
71
+ * @param patch either a single structured patch object (as returned by `structuredPatch`) or an
72
+ * array of them (as returned by `parsePatch`).
73
+ * @param headerOptions behaves the same as the `headerOptions` option of `createTwoFilesPatch`.
74
+ * Ignored for patches where `isGit` is `true`.
75
+ *
76
+ * When a patch has `isGit: true`, `formatPatch` output is changed to more closely match Git's
77
+ * output: it emits a `diff --git` header, emits Git extended headers as appropriate based on
78
+ * properties like `isRename`, `isCreate`, `newMode`, etc, and will omit `---`/`+++` file
79
+ * headers for patches with no hunks (e.g. renames without content changes).
80
+ */
81
+ export declare function formatPatch(patch: StructuredPatch | StructuredPatch[], headerOptions?: HeaderOptions): string;
82
+ type CreatePatchCallbackAbortable = (patch: string | undefined) => void;
83
+ type CreatePatchCallbackNonabortable = (patch: string) => void;
84
+ interface _CreatePatchOptionsAbortable extends Pick<DiffLinesOptionsAbortable, 'ignoreWhitespace' | 'stripTrailingCr'> {
85
+ context?: number;
86
+ callback?: CreatePatchCallbackAbortable;
87
+ headerOptions?: HeaderOptions;
88
+ }
89
+ export type CreatePatchOptionsAbortable = _CreatePatchOptionsAbortable & AbortableDiffOptions;
90
+ export interface CreatePatchOptionsNonabortable extends Pick<DiffLinesOptionsNonabortable, 'ignoreWhitespace' | 'stripTrailingCr'> {
91
+ context?: number;
92
+ callback?: CreatePatchCallbackNonabortable;
93
+ headerOptions?: HeaderOptions;
94
+ }
95
+ interface CreatePatchCallbackOptionAbortable {
96
+ callback: CreatePatchCallbackAbortable;
97
+ }
98
+ interface CreatePatchCallbackOptionNonabortable {
99
+ callback: CreatePatchCallbackNonabortable;
100
+ }
101
+ /**
102
+ * creates a unified diff patch by first computing a diff with `diffLines` and then serializing it to unified diff format.
103
+ * @param oldFileName String to be output in the filename section of the patch for the removals
104
+ * @param newFileName String to be output in the filename section of the patch for the additions
105
+ * @param oldStr Original string value
106
+ * @param newStr New string value
107
+ * @param oldHeader Optional additional information to include in the old file header.
108
+ * @param newHeader Optional additional information to include in the new file header.
109
+ */
110
+ export declare function createTwoFilesPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchCallbackNonabortable): undefined;
111
+ export declare function createTwoFilesPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsAbortable & CreatePatchCallbackOptionAbortable): undefined;
112
+ export declare function createTwoFilesPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsNonabortable & CreatePatchCallbackOptionNonabortable): undefined;
113
+ export declare function createTwoFilesPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsAbortable): string | undefined;
114
+ export declare function createTwoFilesPatch(oldFileName: string, newFileName: string, oldStr: string, newStr: string, oldHeader?: string, newHeader?: string, options?: CreatePatchOptionsNonabortable): string;
115
+ /**
116
+ * creates a unified diff patch.
117
+ *
118
+ * Just like createTwoFilesPatch, but with oldFileName being equal to newFileName.
119
+ * @param fileName String to be output in the filename section of the patch
120
+ * @param oldStr Original string value
121
+ * @param newStr New string value
122
+ * @param oldHeader Optional additional information to include in the old file header.
123
+ * @param newHeader Optional additional information to include in the new file header.
124
+ */
125
+ export declare function createPatch(fileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchCallbackNonabortable): undefined;
126
+ export declare function createPatch(fileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsAbortable & CreatePatchCallbackOptionAbortable): undefined;
127
+ export declare function createPatch(fileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsNonabortable & CreatePatchCallbackOptionNonabortable): undefined;
128
+ export declare function createPatch(fileName: string, oldStr: string, newStr: string, oldHeader: string | undefined, newHeader: string | undefined, options: CreatePatchOptionsAbortable): string | undefined;
129
+ export declare function createPatch(fileName: string, oldStr: string, newStr: string, oldHeader?: string, newHeader?: string, options?: CreatePatchOptionsNonabortable): string;
130
+ export {};
131
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1,17 @@
1
+ import type { StructuredPatch } from '../types.js';
2
+ export declare function unixToWin(patch: StructuredPatch): StructuredPatch;
3
+ export declare function unixToWin(patches: StructuredPatch[]): StructuredPatch[];
4
+ export declare function unixToWin(patch: StructuredPatch | StructuredPatch[]): StructuredPatch | StructuredPatch[];
5
+ export declare function winToUnix(patch: StructuredPatch): StructuredPatch;
6
+ export declare function winToUnix(patches: StructuredPatch[]): StructuredPatch[];
7
+ export declare function winToUnix(patch: StructuredPatch | StructuredPatch[]): StructuredPatch | StructuredPatch[];
8
+ /**
9
+ * Returns true if the patch consistently uses Unix line endings (or only involves one line and has
10
+ * no line endings).
11
+ */
12
+ export declare function isUnix(patch: StructuredPatch | StructuredPatch[]): boolean;
13
+ /**
14
+ * Returns true if the patch uses Windows line endings and only Windows line endings.
15
+ */
16
+ export declare function isWin(patch: StructuredPatch | StructuredPatch[]): boolean;
17
+ //# sourceMappingURL=line-endings.d.ts.map
@@ -0,0 +1,16 @@
1
+ import type { StructuredPatch } from '../types.js';
2
+ /**
3
+ * Parses a unified diff format patch into a structured patch object.
4
+ *
5
+ * `parsePatch` has some understanding of Git's particular dialect of unified diff format.
6
+ * When parsing a Git patch, each index in the result may contain additional
7
+ * fields (`isRename`, `isBinary`, etc) not included in the data structure returned by
8
+ * `structuredPatch`; see the `StructuredPatch` interface for a full list.
9
+ *
10
+ * @return a JSON object representation of the patch, suitable for use with the `applyPatch`
11
+ * method. This parses to the same structure returned by `structuredPatch`, except that
12
+ * `oldFileName` and `newFileName` may be `undefined` if the patch doesn't contain enough
13
+ * information to determine them (e.g. a hunk-only patch with no file headers).
14
+ */
15
+ export declare function parsePatch(uniDiff: string): StructuredPatch[];
16
+ //# sourceMappingURL=parse.d.ts.map
@@ -0,0 +1,22 @@
1
+ import type { StructuredPatch } from '../types.js';
2
+ /**
3
+ * Returns a new structured patch which when applied will undo the original `patch`.
4
+ *
5
+ * When `patch` is a Git-style patch, `reversePatch` handles extended header information (relating
6
+ * to renames, file modes, etc.) to the extent that doing so is possible, but note one fundamental
7
+ * limitation: the correct inverse of a patch featuring `copy from`/`copy to` headers cannot, in
8
+ * general, be determined based on the information contained in the patch alone, and so
9
+ * `reversePatch`'s output when passed such a patch will usually be rejected by `git apply`. (The
10
+ * correct inverse would be a patch that deletes the newly-created file, but for Git to apply such
11
+ * a patch, the patch must explicitly delete every line of content in the file too, and that
12
+ * content cannot be determined from the original patch on its own. `reversePatch` therefore does
13
+ * the only vaguely reasonable thing it can do in this scenario: it outputs a patch with a
14
+ * `deleted file mode` header - indicating that the file should be deleted - but no hunks.)
15
+ *
16
+ * @param patch either a single structured patch object (as returned by `structuredPatch`) or an
17
+ * array of them (as returned by `parsePatch`).
18
+ */
19
+ export declare function reversePatch(structuredPatch: StructuredPatch): StructuredPatch;
20
+ export declare function reversePatch(structuredPatch: StructuredPatch[]): StructuredPatch[];
21
+ export declare function reversePatch(structuredPatch: StructuredPatch | StructuredPatch[]): StructuredPatch | StructuredPatch[];
22
+ //# sourceMappingURL=reverse.d.ts.map
@@ -0,0 +1,260 @@
1
+ export interface ChangeObject<ValueT> {
2
+ /**
3
+ * The concatenated content of all the tokens represented by this change object - i.e. generally the text that is either added, deleted, or common, as a single string.
4
+ * In cases where tokens are considered common but are non-identical (e.g. because an option like `ignoreCase` or a custom `comparator` was used), the value from the *new* string will be provided here.
5
+ */
6
+ value: ValueT;
7
+ /**
8
+ * true if the value was inserted into the new string, otherwise false
9
+ */
10
+ added: boolean;
11
+ /**
12
+ * true if the value was removed from the old string, otherwise false
13
+ */
14
+ removed: boolean;
15
+ /**
16
+ * How many tokens (e.g. chars for `diffChars`, lines for `diffLines`) the value in the change object consists of
17
+ */
18
+ count: number;
19
+ }
20
+ export type Change = ChangeObject<string>;
21
+ export type ArrayChange<T> = ChangeObject<T[]>;
22
+ export interface CommonDiffOptions {
23
+ /**
24
+ * If `true`, the array of change objects returned will contain one change object per token (e.g. one per line if calling `diffLines`), instead of runs of consecutive tokens that are all added / all removed / all conserved being combined into a single change object.
25
+ */
26
+ oneChangePerToken?: boolean;
27
+ }
28
+ export interface TimeoutOption {
29
+ /**
30
+ * A number of milliseconds after which the diffing algorithm will abort and return `undefined`.
31
+ * Supported by the same functions as `maxEditLength`.
32
+ */
33
+ timeout: number;
34
+ }
35
+ export interface MaxEditLengthOption {
36
+ /**
37
+ * A number specifying the maximum edit distance to consider between the old and new texts.
38
+ * You can use this to limit the computational cost of diffing large, very different texts by giving up early if the cost will be huge.
39
+ * This option can be passed either to diffing functions (`diffLines`, `diffChars`, etc) or to patch-creation function (`structuredPatch`, `createPatch`, etc), all of which will indicate that the max edit length was reached by returning `undefined` instead of whatever they'd normally return.
40
+ */
41
+ maxEditLength: number;
42
+ }
43
+ export type AbortableDiffOptions = TimeoutOption | MaxEditLengthOption;
44
+ export type DiffCallbackNonabortable<T> = (result: ChangeObject<T>[]) => void;
45
+ export type DiffCallbackAbortable<T> = (result: ChangeObject<T>[] | undefined) => void;
46
+ export interface CallbackOptionNonabortable<T> {
47
+ /**
48
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
49
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
50
+ */
51
+ callback: DiffCallbackNonabortable<T>;
52
+ }
53
+ export interface CallbackOptionAbortable<T> {
54
+ /**
55
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
56
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
57
+ */
58
+ callback: DiffCallbackAbortable<T>;
59
+ }
60
+ interface DiffArraysOptions<T> extends CommonDiffOptions {
61
+ comparator?: (a: T, b: T) => boolean;
62
+ }
63
+ export interface DiffArraysOptionsNonabortable<T> extends DiffArraysOptions<T> {
64
+ /**
65
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
66
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
67
+ */
68
+ callback?: DiffCallbackNonabortable<T[]>;
69
+ }
70
+ export type DiffArraysOptionsAbortable<T> = DiffArraysOptions<T> & AbortableDiffOptions & Partial<CallbackOptionAbortable<T[]>>;
71
+ interface DiffCharsOptions extends CommonDiffOptions {
72
+ /**
73
+ * If `true`, the uppercase and lowercase forms of a character are considered equal.
74
+ * @default false
75
+ */
76
+ ignoreCase?: boolean;
77
+ }
78
+ export interface DiffCharsOptionsNonabortable extends DiffCharsOptions {
79
+ /**
80
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
81
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
82
+ */
83
+ callback?: DiffCallbackNonabortable<string>;
84
+ }
85
+ export type DiffCharsOptionsAbortable = DiffCharsOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
86
+ interface DiffLinesOptions extends CommonDiffOptions {
87
+ /**
88
+ * `true` to remove all trailing CR (`\r`) characters before performing the diff.
89
+ * This helps to get a useful diff when diffing UNIX text files against Windows text files.
90
+ * @default false
91
+ */
92
+ stripTrailingCr?: boolean;
93
+ /**
94
+ * `true` to treat the newline character at the end of each line as its own token.
95
+ * This allows for changes to the newline structure to occur independently of the line content and to be treated as such.
96
+ * In general this is the more human friendly form of `diffLines`; the default behavior with this option turned off is better suited for patches and other computer friendly output.
97
+ *
98
+ * Note that while using `ignoreWhitespace` in combination with `newlineIsToken` is not an error, results may not be as expected.
99
+ * With `ignoreWhitespace: true` and `newlineIsToken: false`, changing a completely empty line to contain some spaces is treated as a non-change, but with `ignoreWhitespace: true` and `newlineIsToken: true`, it is treated as an insertion.
100
+ * This is because the content of a completely blank line is not a token at all in `newlineIsToken` mode.
101
+ *
102
+ * @default false
103
+ */
104
+ newlineIsToken?: boolean;
105
+ /**
106
+ * `true` to ignore a missing newline character at the end of the last line when comparing it to other lines.
107
+ * (By default, the line `'b\n'` in text `'a\nb\nc'` is not considered equal to the line `'b'` in text `'a\nb'`; this option makes them be considered equal.)
108
+ * Ignored if `ignoreWhitespace` or `newlineIsToken` are also true.
109
+ * @default false
110
+ */
111
+ ignoreNewlineAtEof?: boolean;
112
+ /**
113
+ * `true` to ignore leading and trailing whitespace characters when checking if two lines are equal.
114
+ * @default false
115
+ */
116
+ ignoreWhitespace?: boolean;
117
+ }
118
+ export interface DiffLinesOptionsNonabortable extends DiffLinesOptions {
119
+ /**
120
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
121
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
122
+ */
123
+ callback?: DiffCallbackNonabortable<string>;
124
+ }
125
+ export type DiffLinesOptionsAbortable = DiffLinesOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
126
+ interface DiffWordsOptions extends CommonDiffOptions {
127
+ /**
128
+ * Same as in `diffChars`.
129
+ * @default false
130
+ */
131
+ ignoreCase?: boolean;
132
+ /**
133
+ * An optional [`Intl.Segmenter`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) object (which must have a `granularity` of `'word'`) for `diffWords` to use to split the text into words.
134
+ *
135
+ * Note that this is (deliberately) incorrectly typed as `any` to avoid users whose `lib` & `target` settings in tsconfig.json are older than es2022 getting type errors when they build about `Intl.Segmenter` not existing.
136
+ * This is kind of ugly, since it makes the type declarations worse for users who genuinely use this feature, but seemed worth it to avoid the majority of the library's users (who probably do not use this particular option) getting confusing errors and being forced to change their `lib` to es2022 (even if their own code doesn't use any es2022 functions).
137
+ *
138
+ * By default, `diffWords` does not use an `Intl.Segmenter`, just some regexes for splitting text into words. This will tend to give worse results than `Intl.Segmenter` would, but ensures the results are consistent across environments; `Intl.Segmenter` behaviour is only loosely specced and the implementations in browsers could in principle change dramatically in future. If you want to use `diffWords` with an `Intl.Segmenter` but ensure it behaves the same whatever environment you run it in, use an `Intl.Segmenter` polyfill instead of the JavaScript engine's native `Intl.Segmenter` implementation.
139
+ *
140
+ * Using an `Intl.Segmenter` should allow better word-level diffing of non-English text than the default behaviour. For instance, `Intl.Segmenter`s can generally identify via built-in dictionaries which sequences of adjacent Chinese characters form words, allowing word-level diffing of Chinese. By specifying a language when instantiating the segmenter (e.g. `new Intl.Segmenter('sv', {granularity: 'word'})`) you can also support language-specific rules, like treating Swedish's colon separated contractions (like *k:a* for *kyrka*) as single words; by default this would be seen as two words separated by a colon.
141
+ */
142
+ intlSegmenter?: any;
143
+ }
144
+ export interface DiffWordsOptionsNonabortable extends DiffWordsOptions {
145
+ /**
146
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
147
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
148
+ */
149
+ callback?: DiffCallbackNonabortable<string>;
150
+ }
151
+ export type DiffWordsOptionsAbortable = DiffWordsOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
152
+ interface DiffSentencesOptions extends CommonDiffOptions {
153
+ }
154
+ export interface DiffSentencesOptionsNonabortable extends DiffSentencesOptions {
155
+ /**
156
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
157
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
158
+ */
159
+ callback?: DiffCallbackNonabortable<string>;
160
+ }
161
+ export type DiffSentencesOptionsAbortable = DiffSentencesOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
162
+ interface DiffJsonOptions extends CommonDiffOptions {
163
+ /**
164
+ * A value to replace `undefined` with. Ignored if a `stringifyReplacer` is provided.
165
+ */
166
+ undefinedReplacement?: any;
167
+ /**
168
+ * A custom replacer function.
169
+ * Operates similarly to the `replacer` parameter to [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#the_replacer_parameter), but must be a function.
170
+ */
171
+ stringifyReplacer?: (k: string, v: any) => any;
172
+ }
173
+ export interface DiffJsonOptionsNonabortable extends DiffJsonOptions {
174
+ /**
175
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
176
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
177
+ */
178
+ callback?: DiffCallbackNonabortable<string>;
179
+ }
180
+ export type DiffJsonOptionsAbortable = DiffJsonOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
181
+ interface DiffCssOptions extends CommonDiffOptions {
182
+ }
183
+ export interface DiffCssOptionsNonabortable extends DiffCssOptions {
184
+ /**
185
+ * If provided, the diff will be computed in async mode to avoid blocking the event loop while the diff is calculated.
186
+ * The value of the `callback` option should be a function and will be passed the computed diff or patch as its first argument.
187
+ */
188
+ callback?: DiffCallbackNonabortable<string>;
189
+ }
190
+ export type DiffCssOptionsAbortable = DiffCssOptions & AbortableDiffOptions & Partial<CallbackOptionAbortable<string>>;
191
+ /**
192
+ * Note that this contains the union of ALL options accepted by any of the built-in diffing
193
+ * functions. The README notes which options are usable which functions. Using an option with a
194
+ * diffing function that doesn't support it might yield unreasonable results.
195
+ */
196
+ export type AllDiffOptions = DiffArraysOptions<unknown> & DiffCharsOptions & DiffWordsOptions & DiffLinesOptions & DiffJsonOptions;
197
+ export interface StructuredPatch {
198
+ oldFileName: string | undefined;
199
+ newFileName: string | undefined;
200
+ oldHeader: string | undefined;
201
+ newHeader: string | undefined;
202
+ hunks: StructuredPatchHunk[];
203
+ index?: string;
204
+ /**
205
+ * Set to true when the patch was parsed from a Git-style diff (one with a
206
+ * `diff --git` header). Controls whether `formatPatch` emits a `diff --git`
207
+ * header (instead of `Index:` / underline headers) when formatting the patch.
208
+ */
209
+ isGit?: boolean;
210
+ /**
211
+ * Set to true when parsing a Git diff that includes `rename from`/`rename to`
212
+ * extended headers, indicating the file was renamed (and the old file no
213
+ * longer exists). Consumers applying the patch should delete the old file.
214
+ */
215
+ isRename?: boolean;
216
+ /**
217
+ * Set to true when parsing a Git diff that includes `copy from`/`copy to`
218
+ * extended headers, indicating the file was copied (and the old file still
219
+ * exists). Consumers applying the patch should NOT delete the old file.
220
+ */
221
+ isCopy?: boolean;
222
+ /**
223
+ * Set to true when parsing a Git diff that includes a `new file mode` extended
224
+ * header, indicating the file was newly created.
225
+ */
226
+ isCreate?: boolean;
227
+ /**
228
+ * Set to true when parsing a Git diff that includes a `deleted file mode`
229
+ * extended header, indicating the file was deleted.
230
+ */
231
+ isDelete?: boolean;
232
+ /**
233
+ * The file mode (e.g. `'100644'`, `'100755'`) of the old file, parsed from
234
+ * Git extended headers (`old mode` or `deleted file mode`).
235
+ */
236
+ oldMode?: string;
237
+ /**
238
+ * The file mode (e.g. `'100644'`, `'100755'`) of the new file, parsed from
239
+ * Git extended headers (`new mode` or `new file mode`).
240
+ */
241
+ newMode?: string;
242
+ /**
243
+ * Set to true when parsing a Git diff that includes a
244
+ * `Binary files ... differ` line, indicating a binary file change.
245
+ * Binary patches have no hunks, so the patch content alone is not
246
+ * sufficient to apply the change; consumers should handle this case
247
+ * specially (e.g. by warning the user or fetching the binary content
248
+ * separately).
249
+ */
250
+ isBinary?: boolean;
251
+ }
252
+ export interface StructuredPatchHunk {
253
+ oldStart: number;
254
+ oldLines: number;
255
+ newStart: number;
256
+ newLines: number;
257
+ lines: string[];
258
+ }
259
+ export {};
260
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ export declare function arrayEqual(a: any[], b: any[]): boolean;
2
+ export declare function arrayStartsWith(array: any[], start: any[]): boolean;
3
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1,2 @@
1
+ export default function (start: number, minLine: number, maxLine: number): () => number | undefined;
2
+ //# sourceMappingURL=distance-iterator.d.ts.map
@@ -0,0 +1,4 @@
1
+ export declare function generateOptions(options: {
2
+ [key: string]: any;
3
+ } | ((_: unknown) => void), defaults: any): object;
4
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1,30 @@
1
+ export declare function longestCommonPrefix(str1: string, str2: string): string;
2
+ export declare function longestCommonSuffix(str1: string, str2: string): string;
3
+ export declare function replacePrefix(string: string, oldPrefix: string, newPrefix: string): string;
4
+ export declare function replaceSuffix(string: string, oldSuffix: string, newSuffix: string): string;
5
+ export declare function removePrefix(string: string, oldPrefix: string): string;
6
+ export declare function removeSuffix(string: string, oldSuffix: string): string;
7
+ export declare function maximumOverlap(string1: string, string2: string): string;
8
+ /**
9
+ * Returns true if the string consistently uses Windows line endings.
10
+ */
11
+ export declare function hasOnlyWinLineEndings(string: string): boolean;
12
+ /**
13
+ * Returns true if the string consistently uses Unix line endings.
14
+ */
15
+ export declare function hasOnlyUnixLineEndings(string: string): boolean;
16
+ /**
17
+ * Split a string into segments using a word segmenter, merging consecutive
18
+ * segments if they are both whitespace segments. Whitespace segments can
19
+ * appear adjacent to one another for two reasons:
20
+ * - newlines always get their own segment
21
+ * - where a diacritic is attached to a whitespace character in the text, the
22
+ * segment ends after the diacritic, so e.g. " \u0300 " becomes two segments.
23
+ * This function therefore runs the segmenter's .segment() method and then
24
+ * merges consecutive segments of whitespace into a single part.
25
+ */
26
+ export declare function segment(string: string, segmenter: Intl.Segmenter): string[];
27
+ export declare function trailingWs(string: string, segmenter?: Intl.Segmenter): string;
28
+ export declare function leadingWs(string: string, segmenter?: Intl.Segmenter): string;
29
+ export declare function leadingAndTrailingWs(string: string, segmenter?: Intl.Segmenter): [string, string];
30
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ Check if the process is running inside a Docker container.
3
+
4
+ @example
5
+ ```
6
+ import isDocker from 'is-docker';
7
+
8
+ if (isDocker()) {
9
+ console.log('Running inside a Docker container');
10
+ }
11
+ ```
12
+ */
13
+ export default function isDocker(): boolean;
@@ -0,0 +1,15 @@
1
+ /**
2
+ Check if the process is running in an SSH session.
3
+
4
+ @example
5
+ ```
6
+ import isInSsh from 'is-in-ssh';
7
+
8
+ if (isInSsh) {
9
+ console.log('Running in an SSH session');
10
+ }
11
+ ```
12
+ */
13
+ declare const isInSsh: boolean;
14
+
15
+ export default isInSsh;
@@ -0,0 +1,13 @@
1
+ /**
2
+ Check if the process is running inside a container.
3
+
4
+ @example
5
+ ```
6
+ import isInsideContainer from 'is-inside-container';
7
+
8
+ if (isInsideContainer()) {
9
+ console.log('Running inside a container');
10
+ }
11
+ ```
12
+ */
13
+ export default function isInsideContainer(): boolean;
@@ -0,0 +1,15 @@
1
+ /**
2
+ Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows).
3
+
4
+ @example
5
+ ```
6
+ import isWsl from 'is-wsl';
7
+
8
+ // When running inside Windows Subsystem for Linux
9
+ console.log(isWsl);
10
+ //=> true
11
+ ```
12
+ */
13
+ declare const isWsl: boolean;
14
+
15
+ export default isWsl;