yepanywhere 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (635) hide show
  1. package/bundled/@yep-anywhere/shared/dist/app-types.d.ts +229 -0
  2. package/bundled/@yep-anywhere/shared/dist/app-types.d.ts.map +1 -0
  3. package/bundled/@yep-anywhere/shared/dist/app-types.js +46 -0
  4. package/bundled/@yep-anywhere/shared/dist/app-types.js.map +1 -0
  5. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.d.ts +16 -0
  6. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.d.ts.map +1 -0
  7. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.js +17 -0
  8. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.js.map +1 -0
  9. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.d.ts +15 -0
  10. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.d.ts.map +1 -0
  11. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.js +10 -0
  12. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.js.map +1 -0
  13. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.d.ts +6 -0
  14. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.d.ts.map +1 -0
  15. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.js +6 -0
  16. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.js.map +1 -0
  17. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.d.ts +7 -0
  18. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.d.ts.map +1 -0
  19. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.js +7 -0
  20. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.js.map +1 -0
  21. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.d.ts +24 -0
  22. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.d.ts.map +1 -0
  23. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.js +13 -0
  24. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.js.map +1 -0
  25. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.d.ts +8 -0
  26. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.d.ts.map +1 -0
  27. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.js +8 -0
  28. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.js.map +1 -0
  29. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts +78 -0
  30. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts.map +1 -0
  31. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js +13 -0
  32. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js.map +1 -0
  33. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.d.ts +18 -0
  34. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.d.ts.map +1 -0
  35. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.js +19 -0
  36. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.js.map +1 -0
  37. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.d.ts +13 -0
  38. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.d.ts.map +1 -0
  39. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.js +14 -0
  40. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.js.map +1 -0
  41. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.d.ts +68 -0
  42. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.d.ts.map +1 -0
  43. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.js +37 -0
  44. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.js.map +1 -0
  45. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.d.ts +8 -0
  46. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.d.ts.map +1 -0
  47. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.js +7 -0
  48. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.js.map +1 -0
  49. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.d.ts +52 -0
  50. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.d.ts.map +1 -0
  51. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.js +29 -0
  52. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.js.map +1 -0
  53. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.d.ts +72 -0
  54. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.d.ts.map +1 -0
  55. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.js +10 -0
  56. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.js.map +1 -0
  57. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.d.ts +14 -0
  58. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.d.ts.map +1 -0
  59. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.js +39 -0
  60. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.js.map +1 -0
  61. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts +15 -0
  62. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts.map +1 -0
  63. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js +26 -0
  64. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js.map +1 -0
  65. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts +566 -0
  66. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts.map +1 -0
  67. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.js +39 -0
  68. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.js.map +1 -0
  69. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.d.ts +93 -0
  70. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.d.ts.map +1 -0
  71. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.js +40 -0
  72. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.js.map +1 -0
  73. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.d.ts +105 -0
  74. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.d.ts.map +1 -0
  75. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.js +20 -0
  76. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.js.map +1 -0
  77. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.d.ts +53 -0
  78. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.d.ts.map +1 -0
  79. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.js +54 -0
  80. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.js.map +1 -0
  81. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.d.ts +9 -0
  82. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.d.ts.map +1 -0
  83. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.js +9 -0
  84. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.js.map +1 -0
  85. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.d.ts +32 -0
  86. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.d.ts.map +1 -0
  87. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.js +12 -0
  88. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.js.map +1 -0
  89. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.d.ts +288 -0
  90. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.d.ts.map +1 -0
  91. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.js +293 -0
  92. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.js.map +1 -0
  93. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.d.ts +83 -0
  94. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.d.ts.map +1 -0
  95. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.js +10 -0
  96. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.js.map +1 -0
  97. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.d.ts +42 -0
  98. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.d.ts.map +1 -0
  99. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.js +11 -0
  100. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.js.map +1 -0
  101. package/bundled/@yep-anywhere/shared/dist/codex-schema/content.d.ts +99 -0
  102. package/bundled/@yep-anywhere/shared/dist/codex-schema/content.d.ts.map +1 -0
  103. package/bundled/@yep-anywhere/shared/dist/codex-schema/content.js +64 -0
  104. package/bundled/@yep-anywhere/shared/dist/codex-schema/content.js.map +1 -0
  105. package/bundled/@yep-anywhere/shared/dist/codex-schema/index.d.ts +17 -0
  106. package/bundled/@yep-anywhere/shared/dist/codex-schema/index.d.ts.map +1 -0
  107. package/bundled/@yep-anywhere/shared/dist/codex-schema/index.js +17 -0
  108. package/bundled/@yep-anywhere/shared/dist/codex-schema/index.js.map +1 -0
  109. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts +600 -0
  110. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts.map +1 -0
  111. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js +282 -0
  112. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js.map +1 -0
  113. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts +7 -0
  114. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts.map +1 -0
  115. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.js +6 -0
  116. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.js.map +1 -0
  117. package/bundled/@yep-anywhere/shared/dist/dag.d.ts +35 -0
  118. package/bundled/@yep-anywhere/shared/dist/dag.d.ts.map +1 -0
  119. package/bundled/@yep-anywhere/shared/dist/dag.js +75 -0
  120. package/bundled/@yep-anywhere/shared/dist/dag.js.map +1 -0
  121. package/bundled/@yep-anywhere/shared/dist/filePathDetection.d.ts +72 -0
  122. package/bundled/@yep-anywhere/shared/dist/filePathDetection.d.ts.map +1 -0
  123. package/bundled/@yep-anywhere/shared/dist/filePathDetection.js +376 -0
  124. package/bundled/@yep-anywhere/shared/dist/filePathDetection.js.map +1 -0
  125. package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.d.ts +95 -0
  126. package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.d.ts.map +1 -0
  127. package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.js +57 -0
  128. package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.js.map +1 -0
  129. package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.d.ts +174 -0
  130. package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.d.ts.map +1 -0
  131. package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.js +117 -0
  132. package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.js.map +1 -0
  133. package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.d.ts +18 -0
  134. package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.d.ts.map +1 -0
  135. package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.js +18 -0
  136. package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.js.map +1 -0
  137. package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.d.ts +267 -0
  138. package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.d.ts.map +1 -0
  139. package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.js +147 -0
  140. package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.js.map +1 -0
  141. package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.d.ts +7 -0
  142. package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.d.ts.map +1 -0
  143. package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.js +6 -0
  144. package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.js.map +1 -0
  145. package/bundled/@yep-anywhere/shared/dist/ideMetadata.d.ts +30 -0
  146. package/bundled/@yep-anywhere/shared/dist/ideMetadata.d.ts.map +1 -0
  147. package/bundled/@yep-anywhere/shared/dist/ideMetadata.js +58 -0
  148. package/bundled/@yep-anywhere/shared/dist/ideMetadata.js.map +1 -0
  149. package/bundled/@yep-anywhere/shared/dist/index.d.ts +24 -0
  150. package/bundled/@yep-anywhere/shared/dist/index.d.ts.map +1 -0
  151. package/bundled/@yep-anywhere/shared/dist/index.js +17 -0
  152. package/bundled/@yep-anywhere/shared/dist/index.js.map +1 -0
  153. package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.d.ts +457 -0
  154. package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.d.ts.map +1 -0
  155. package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.js +217 -0
  156. package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.js.map +1 -0
  157. package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.d.ts +23 -0
  158. package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.d.ts.map +1 -0
  159. package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.js +23 -0
  160. package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.js.map +1 -0
  161. package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.d.ts +149 -0
  162. package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.d.ts.map +1 -0
  163. package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.js +158 -0
  164. package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.js.map +1 -0
  165. package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.d.ts +7 -0
  166. package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.d.ts.map +1 -0
  167. package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.js +6 -0
  168. package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.js.map +1 -0
  169. package/bundled/@yep-anywhere/shared/dist/projectId.d.ts +48 -0
  170. package/bundled/@yep-anywhere/shared/dist/projectId.d.ts.map +1 -0
  171. package/bundled/@yep-anywhere/shared/dist/projectId.js +74 -0
  172. package/bundled/@yep-anywhere/shared/dist/projectId.js.map +1 -0
  173. package/bundled/@yep-anywhere/shared/dist/session/SessionView.d.ts +171 -0
  174. package/bundled/@yep-anywhere/shared/dist/session/SessionView.d.ts.map +1 -0
  175. package/bundled/@yep-anywhere/shared/dist/session/SessionView.js +189 -0
  176. package/bundled/@yep-anywhere/shared/dist/session/SessionView.js.map +1 -0
  177. package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.d.ts +31 -0
  178. package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.d.ts.map +1 -0
  179. package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.js +2 -0
  180. package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.js.map +1 -0
  181. package/bundled/@yep-anywhere/shared/dist/session/index.d.ts +3 -0
  182. package/bundled/@yep-anywhere/shared/dist/session/index.d.ts.map +1 -0
  183. package/bundled/@yep-anywhere/shared/dist/session/index.js +2 -0
  184. package/bundled/@yep-anywhere/shared/dist/session/index.js.map +1 -0
  185. package/bundled/@yep-anywhere/shared/dist/types.d.ts +172 -0
  186. package/bundled/@yep-anywhere/shared/dist/types.d.ts.map +1 -0
  187. package/bundled/@yep-anywhere/shared/dist/types.js +33 -0
  188. package/bundled/@yep-anywhere/shared/dist/types.js.map +1 -0
  189. package/bundled/@yep-anywhere/shared/dist/upload.d.ts +58 -0
  190. package/bundled/@yep-anywhere/shared/dist/upload.d.ts.map +1 -0
  191. package/bundled/@yep-anywhere/shared/dist/upload.js +6 -0
  192. package/bundled/@yep-anywhere/shared/dist/upload.js.map +1 -0
  193. package/bundled/@yep-anywhere/shared/package.json +7 -0
  194. package/client-dist/assets/index-C7DeAWG4.css +1 -0
  195. package/client-dist/assets/index-yX0HPwrz.js +147 -0
  196. package/client-dist/badge-96.png +0 -0
  197. package/client-dist/badge.svg +20 -0
  198. package/client-dist/debug-streaming.html +746 -0
  199. package/client-dist/favicon.ico +0 -0
  200. package/client-dist/icon-192.png +0 -0
  201. package/client-dist/icon-512.png +0 -0
  202. package/client-dist/icon.svg +27 -0
  203. package/client-dist/index.html +35 -0
  204. package/client-dist/manifest.json +23 -0
  205. package/client-dist/sw.js +482 -0
  206. package/dist/app.d.ts +67 -0
  207. package/dist/app.d.ts.map +1 -0
  208. package/dist/app.js +236 -0
  209. package/dist/app.js.map +1 -0
  210. package/dist/augments/augment-generator.d.ts +30 -0
  211. package/dist/augments/augment-generator.d.ts.map +1 -0
  212. package/dist/augments/augment-generator.js +171 -0
  213. package/dist/augments/augment-generator.js.map +1 -0
  214. package/dist/augments/block-detector.d.ts +81 -0
  215. package/dist/augments/block-detector.d.ts.map +1 -0
  216. package/dist/augments/block-detector.js +615 -0
  217. package/dist/augments/block-detector.js.map +1 -0
  218. package/dist/augments/edit-augments.d.ts +138 -0
  219. package/dist/augments/edit-augments.d.ts.map +1 -0
  220. package/dist/augments/edit-augments.js +665 -0
  221. package/dist/augments/edit-augments.js.map +1 -0
  222. package/dist/augments/index.d.ts +14 -0
  223. package/dist/augments/index.d.ts.map +1 -0
  224. package/dist/augments/index.js +20 -0
  225. package/dist/augments/index.js.map +1 -0
  226. package/dist/augments/markdown-augments.d.ts +33 -0
  227. package/dist/augments/markdown-augments.d.ts.map +1 -0
  228. package/dist/augments/markdown-augments.js +128 -0
  229. package/dist/augments/markdown-augments.js.map +1 -0
  230. package/dist/augments/read-augments.d.ts +40 -0
  231. package/dist/augments/read-augments.d.ts.map +1 -0
  232. package/dist/augments/read-augments.js +64 -0
  233. package/dist/augments/read-augments.js.map +1 -0
  234. package/dist/augments/stream-coordinator.d.ts +32 -0
  235. package/dist/augments/stream-coordinator.d.ts.map +1 -0
  236. package/dist/augments/stream-coordinator.js +115 -0
  237. package/dist/augments/stream-coordinator.js.map +1 -0
  238. package/dist/augments/write-augments.d.ts +32 -0
  239. package/dist/augments/write-augments.d.ts.map +1 -0
  240. package/dist/augments/write-augments.js +27 -0
  241. package/dist/augments/write-augments.js.map +1 -0
  242. package/dist/auth/AuthService.d.ts +98 -0
  243. package/dist/auth/AuthService.d.ts.map +1 -0
  244. package/dist/auth/AuthService.js +217 -0
  245. package/dist/auth/AuthService.js.map +1 -0
  246. package/dist/auth/index.d.ts +3 -0
  247. package/dist/auth/index.d.ts.map +1 -0
  248. package/dist/auth/index.js +3 -0
  249. package/dist/auth/index.js.map +1 -0
  250. package/dist/auth/routes.d.ts +13 -0
  251. package/dist/auth/routes.d.ts.map +1 -0
  252. package/dist/auth/routes.js +149 -0
  253. package/dist/auth/routes.js.map +1 -0
  254. package/dist/cli.d.ts +19 -0
  255. package/dist/cli.d.ts.map +1 -0
  256. package/dist/cli.js +152 -0
  257. package/dist/cli.js.map +1 -0
  258. package/dist/config.d.ts +76 -0
  259. package/dist/config.d.ts.map +1 -0
  260. package/dist/config.js +124 -0
  261. package/dist/config.js.map +1 -0
  262. package/dist/dev-mock.d.ts +18 -0
  263. package/dist/dev-mock.d.ts.map +1 -0
  264. package/dist/dev-mock.js +260 -0
  265. package/dist/dev-mock.js.map +1 -0
  266. package/dist/frontend/index.d.ts +10 -0
  267. package/dist/frontend/index.d.ts.map +1 -0
  268. package/dist/frontend/index.js +10 -0
  269. package/dist/frontend/index.js.map +1 -0
  270. package/dist/frontend/proxy.d.ts +70 -0
  271. package/dist/frontend/proxy.d.ts.map +1 -0
  272. package/dist/frontend/proxy.js +329 -0
  273. package/dist/frontend/proxy.js.map +1 -0
  274. package/dist/frontend/static.d.ts +16 -0
  275. package/dist/frontend/static.d.ts.map +1 -0
  276. package/dist/frontend/static.js +106 -0
  277. package/dist/frontend/static.js.map +1 -0
  278. package/dist/highlighting/index.d.ts +43 -0
  279. package/dist/highlighting/index.d.ts.map +1 -0
  280. package/dist/highlighting/index.js +224 -0
  281. package/dist/highlighting/index.js.map +1 -0
  282. package/dist/index.d.ts +2 -0
  283. package/dist/index.d.ts.map +1 -0
  284. package/dist/index.js +259 -0
  285. package/dist/index.js.map +1 -0
  286. package/dist/indexes/SessionIndexService.d.ts +106 -0
  287. package/dist/indexes/SessionIndexService.d.ts.map +1 -0
  288. package/dist/indexes/SessionIndexService.js +356 -0
  289. package/dist/indexes/SessionIndexService.js.map +1 -0
  290. package/dist/indexes/index.d.ts +3 -0
  291. package/dist/indexes/index.d.ts.map +1 -0
  292. package/dist/indexes/index.js +2 -0
  293. package/dist/indexes/index.js.map +1 -0
  294. package/dist/indexes/types.d.ts +55 -0
  295. package/dist/indexes/types.d.ts.map +1 -0
  296. package/dist/indexes/types.js +8 -0
  297. package/dist/indexes/types.js.map +1 -0
  298. package/dist/logging/index.d.ts +2 -0
  299. package/dist/logging/index.d.ts.map +1 -0
  300. package/dist/logging/index.js +2 -0
  301. package/dist/logging/index.js.map +1 -0
  302. package/dist/logging/logger.d.ts +81 -0
  303. package/dist/logging/logger.d.ts.map +1 -0
  304. package/dist/logging/logger.js +257 -0
  305. package/dist/logging/logger.js.map +1 -0
  306. package/dist/maintenance/debug-routes.d.ts +39 -0
  307. package/dist/maintenance/debug-routes.d.ts.map +1 -0
  308. package/dist/maintenance/debug-routes.js +561 -0
  309. package/dist/maintenance/debug-routes.js.map +1 -0
  310. package/dist/maintenance/index.d.ts +3 -0
  311. package/dist/maintenance/index.d.ts.map +1 -0
  312. package/dist/maintenance/index.js +3 -0
  313. package/dist/maintenance/index.js.map +1 -0
  314. package/dist/maintenance/server.d.ts +53 -0
  315. package/dist/maintenance/server.d.ts.map +1 -0
  316. package/dist/maintenance/server.js +419 -0
  317. package/dist/maintenance/server.js.map +1 -0
  318. package/dist/metadata/SessionMetadataService.d.ts +96 -0
  319. package/dist/metadata/SessionMetadataService.d.ts.map +1 -0
  320. package/dist/metadata/SessionMetadataService.js +209 -0
  321. package/dist/metadata/SessionMetadataService.js.map +1 -0
  322. package/dist/metadata/index.d.ts +2 -0
  323. package/dist/metadata/index.d.ts.map +1 -0
  324. package/dist/metadata/index.js +2 -0
  325. package/dist/metadata/index.js.map +1 -0
  326. package/dist/middleware/auth.d.ts +18 -0
  327. package/dist/middleware/auth.d.ts.map +1 -0
  328. package/dist/middleware/auth.js +53 -0
  329. package/dist/middleware/auth.js.map +1 -0
  330. package/dist/middleware/security.d.ts +4 -0
  331. package/dist/middleware/security.d.ts.map +1 -0
  332. package/dist/middleware/security.js +28 -0
  333. package/dist/middleware/security.js.map +1 -0
  334. package/dist/notifications/NotificationService.d.ts +76 -0
  335. package/dist/notifications/NotificationService.d.ts.map +1 -0
  336. package/dist/notifications/NotificationService.js +155 -0
  337. package/dist/notifications/NotificationService.js.map +1 -0
  338. package/dist/notifications/index.d.ts +2 -0
  339. package/dist/notifications/index.d.ts.map +1 -0
  340. package/dist/notifications/index.js +2 -0
  341. package/dist/notifications/index.js.map +1 -0
  342. package/dist/projects/codex-scanner.d.ts +52 -0
  343. package/dist/projects/codex-scanner.d.ts.map +1 -0
  344. package/dist/projects/codex-scanner.js +167 -0
  345. package/dist/projects/codex-scanner.js.map +1 -0
  346. package/dist/projects/gemini-project-map.d.ts +54 -0
  347. package/dist/projects/gemini-project-map.d.ts.map +1 -0
  348. package/dist/projects/gemini-project-map.js +116 -0
  349. package/dist/projects/gemini-project-map.js.map +1 -0
  350. package/dist/projects/gemini-scanner.d.ts +58 -0
  351. package/dist/projects/gemini-scanner.d.ts.map +1 -0
  352. package/dist/projects/gemini-scanner.js +210 -0
  353. package/dist/projects/gemini-scanner.js.map +1 -0
  354. package/dist/projects/index.d.ts +16 -0
  355. package/dist/projects/index.d.ts.map +1 -0
  356. package/dist/projects/index.js +17 -0
  357. package/dist/projects/index.js.map +1 -0
  358. package/dist/projects/paths.d.ts +127 -0
  359. package/dist/projects/paths.d.ts.map +1 -0
  360. package/dist/projects/paths.js +185 -0
  361. package/dist/projects/paths.js.map +1 -0
  362. package/dist/projects/scanner.d.ts +45 -0
  363. package/dist/projects/scanner.d.ts.map +1 -0
  364. package/dist/projects/scanner.js +287 -0
  365. package/dist/projects/scanner.js.map +1 -0
  366. package/dist/push/PushNotifier.d.ts +48 -0
  367. package/dist/push/PushNotifier.d.ts.map +1 -0
  368. package/dist/push/PushNotifier.js +145 -0
  369. package/dist/push/PushNotifier.js.map +1 -0
  370. package/dist/push/PushService.d.ts +95 -0
  371. package/dist/push/PushService.d.ts.map +1 -0
  372. package/dist/push/PushService.js +245 -0
  373. package/dist/push/PushService.js.map +1 -0
  374. package/dist/push/index.d.ts +9 -0
  375. package/dist/push/index.d.ts.map +1 -0
  376. package/dist/push/index.js +8 -0
  377. package/dist/push/index.js.map +1 -0
  378. package/dist/push/routes.d.ts +10 -0
  379. package/dist/push/routes.d.ts.map +1 -0
  380. package/dist/push/routes.js +111 -0
  381. package/dist/push/routes.js.map +1 -0
  382. package/dist/push/types.d.ts +80 -0
  383. package/dist/push/types.d.ts.map +1 -0
  384. package/dist/push/types.js +5 -0
  385. package/dist/push/types.js.map +1 -0
  386. package/dist/push/vapid.d.ts +42 -0
  387. package/dist/push/vapid.d.ts.map +1 -0
  388. package/dist/push/vapid.js +132 -0
  389. package/dist/push/vapid.js.map +1 -0
  390. package/dist/recents/RecentsService.d.ts +77 -0
  391. package/dist/recents/RecentsService.d.ts.map +1 -0
  392. package/dist/recents/RecentsService.js +155 -0
  393. package/dist/recents/RecentsService.js.map +1 -0
  394. package/dist/recents/index.d.ts +2 -0
  395. package/dist/recents/index.d.ts.map +1 -0
  396. package/dist/recents/index.js +2 -0
  397. package/dist/recents/index.js.map +1 -0
  398. package/dist/routes/activity.d.ts +7 -0
  399. package/dist/routes/activity.d.ts.map +1 -0
  400. package/dist/routes/activity.js +80 -0
  401. package/dist/routes/activity.js.map +1 -0
  402. package/dist/routes/beads.d.ts +42 -0
  403. package/dist/routes/beads.d.ts.map +1 -0
  404. package/dist/routes/beads.js +101 -0
  405. package/dist/routes/beads.js.map +1 -0
  406. package/dist/routes/debug-streaming.d.ts +7 -0
  407. package/dist/routes/debug-streaming.d.ts.map +1 -0
  408. package/dist/routes/debug-streaming.js +88 -0
  409. package/dist/routes/debug-streaming.js.map +1 -0
  410. package/dist/routes/dev.d.ts +11 -0
  411. package/dist/routes/dev.d.ts.map +1 -0
  412. package/dist/routes/dev.js +55 -0
  413. package/dist/routes/dev.js.map +1 -0
  414. package/dist/routes/files.d.ts +7 -0
  415. package/dist/routes/files.d.ts.map +1 -0
  416. package/dist/routes/files.js +429 -0
  417. package/dist/routes/files.js.map +1 -0
  418. package/dist/routes/global-sessions.d.ts +76 -0
  419. package/dist/routes/global-sessions.d.ts.map +1 -0
  420. package/dist/routes/global-sessions.js +207 -0
  421. package/dist/routes/global-sessions.js.map +1 -0
  422. package/dist/routes/health.d.ts +3 -0
  423. package/dist/routes/health.d.ts.map +1 -0
  424. package/dist/routes/health.js +6 -0
  425. package/dist/routes/health.js.map +1 -0
  426. package/dist/routes/inbox.d.ts +45 -0
  427. package/dist/routes/inbox.d.ts.map +1 -0
  428. package/dist/routes/inbox.js +174 -0
  429. package/dist/routes/inbox.js.map +1 -0
  430. package/dist/routes/processes.d.ts +16 -0
  431. package/dist/routes/processes.d.ts.map +1 -0
  432. package/dist/routes/processes.js +82 -0
  433. package/dist/routes/processes.js.map +1 -0
  434. package/dist/routes/projects.d.ts +30 -0
  435. package/dist/routes/projects.d.ts.map +1 -0
  436. package/dist/routes/projects.js +316 -0
  437. package/dist/routes/projects.js.map +1 -0
  438. package/dist/routes/providers.d.ts +9 -0
  439. package/dist/routes/providers.d.ts.map +1 -0
  440. package/dist/routes/providers.js +63 -0
  441. package/dist/routes/providers.js.map +1 -0
  442. package/dist/routes/recents.d.ts +14 -0
  443. package/dist/routes/recents.d.ts.map +1 -0
  444. package/dist/routes/recents.js +82 -0
  445. package/dist/routes/recents.js.map +1 -0
  446. package/dist/routes/sessions.d.ts +26 -0
  447. package/dist/routes/sessions.d.ts.map +1 -0
  448. package/dist/routes/sessions.js +962 -0
  449. package/dist/routes/sessions.js.map +1 -0
  450. package/dist/routes/stream.d.ts +7 -0
  451. package/dist/routes/stream.d.ts.map +1 -0
  452. package/dist/routes/stream.js +561 -0
  453. package/dist/routes/stream.js.map +1 -0
  454. package/dist/routes/upload.d.ts +14 -0
  455. package/dist/routes/upload.d.ts.map +1 -0
  456. package/dist/routes/upload.js +278 -0
  457. package/dist/routes/upload.js.map +1 -0
  458. package/dist/sdk/cli-detection.d.ts +47 -0
  459. package/dist/sdk/cli-detection.d.ts.map +1 -0
  460. package/dist/sdk/cli-detection.js +122 -0
  461. package/dist/sdk/cli-detection.js.map +1 -0
  462. package/dist/sdk/messageLogger.d.ts +15 -0
  463. package/dist/sdk/messageLogger.d.ts.map +1 -0
  464. package/dist/sdk/messageLogger.js +68 -0
  465. package/dist/sdk/messageLogger.js.map +1 -0
  466. package/dist/sdk/messageQueue.d.ts +49 -0
  467. package/dist/sdk/messageQueue.d.ts.map +1 -0
  468. package/dist/sdk/messageQueue.js +186 -0
  469. package/dist/sdk/messageQueue.js.map +1 -0
  470. package/dist/sdk/mock.d.ts +16 -0
  471. package/dist/sdk/mock.d.ts.map +1 -0
  472. package/dist/sdk/mock.js +81 -0
  473. package/dist/sdk/mock.js.map +1 -0
  474. package/dist/sdk/providers/__mocks__/base.d.ts +78 -0
  475. package/dist/sdk/providers/__mocks__/base.d.ts.map +1 -0
  476. package/dist/sdk/providers/__mocks__/base.js +185 -0
  477. package/dist/sdk/providers/__mocks__/base.js.map +1 -0
  478. package/dist/sdk/providers/__mocks__/claude.d.ts +33 -0
  479. package/dist/sdk/providers/__mocks__/claude.d.ts.map +1 -0
  480. package/dist/sdk/providers/__mocks__/claude.js +146 -0
  481. package/dist/sdk/providers/__mocks__/claude.js.map +1 -0
  482. package/dist/sdk/providers/__mocks__/codex.d.ts +45 -0
  483. package/dist/sdk/providers/__mocks__/codex.d.ts.map +1 -0
  484. package/dist/sdk/providers/__mocks__/codex.js +160 -0
  485. package/dist/sdk/providers/__mocks__/codex.js.map +1 -0
  486. package/dist/sdk/providers/__mocks__/factory.d.ts +40 -0
  487. package/dist/sdk/providers/__mocks__/factory.d.ts.map +1 -0
  488. package/dist/sdk/providers/__mocks__/factory.js +183 -0
  489. package/dist/sdk/providers/__mocks__/factory.js.map +1 -0
  490. package/dist/sdk/providers/__mocks__/gemini.d.ts +43 -0
  491. package/dist/sdk/providers/__mocks__/gemini.d.ts.map +1 -0
  492. package/dist/sdk/providers/__mocks__/gemini.js +198 -0
  493. package/dist/sdk/providers/__mocks__/gemini.js.map +1 -0
  494. package/dist/sdk/providers/__mocks__/index.d.ts +23 -0
  495. package/dist/sdk/providers/__mocks__/index.d.ts.map +1 -0
  496. package/dist/sdk/providers/__mocks__/index.js +25 -0
  497. package/dist/sdk/providers/__mocks__/index.js.map +1 -0
  498. package/dist/sdk/providers/__mocks__/opencode.d.ts +33 -0
  499. package/dist/sdk/providers/__mocks__/opencode.d.ts.map +1 -0
  500. package/dist/sdk/providers/__mocks__/opencode.js +136 -0
  501. package/dist/sdk/providers/__mocks__/opencode.js.map +1 -0
  502. package/dist/sdk/providers/__mocks__/types.d.ts +50 -0
  503. package/dist/sdk/providers/__mocks__/types.d.ts.map +1 -0
  504. package/dist/sdk/providers/__mocks__/types.js +8 -0
  505. package/dist/sdk/providers/__mocks__/types.js.map +1 -0
  506. package/dist/sdk/providers/claude.d.ts +63 -0
  507. package/dist/sdk/providers/claude.d.ts.map +1 -0
  508. package/dist/sdk/providers/claude.js +252 -0
  509. package/dist/sdk/providers/claude.js.map +1 -0
  510. package/dist/sdk/providers/codex-oss.d.ts +108 -0
  511. package/dist/sdk/providers/codex-oss.d.ts.map +1 -0
  512. package/dist/sdk/providers/codex-oss.js +744 -0
  513. package/dist/sdk/providers/codex-oss.js.map +1 -0
  514. package/dist/sdk/providers/codex.d.ts +82 -0
  515. package/dist/sdk/providers/codex.d.ts.map +1 -0
  516. package/dist/sdk/providers/codex.js +597 -0
  517. package/dist/sdk/providers/codex.js.map +1 -0
  518. package/dist/sdk/providers/gemini.d.ts +78 -0
  519. package/dist/sdk/providers/gemini.d.ts.map +1 -0
  520. package/dist/sdk/providers/gemini.js +536 -0
  521. package/dist/sdk/providers/gemini.js.map +1 -0
  522. package/dist/sdk/providers/index.d.ts +22 -0
  523. package/dist/sdk/providers/index.d.ts.map +1 -0
  524. package/dist/sdk/providers/index.js +53 -0
  525. package/dist/sdk/providers/index.js.map +1 -0
  526. package/dist/sdk/providers/opencode.d.ts +95 -0
  527. package/dist/sdk/providers/opencode.d.ts.map +1 -0
  528. package/dist/sdk/providers/opencode.js +586 -0
  529. package/dist/sdk/providers/opencode.js.map +1 -0
  530. package/dist/sdk/providers/types.d.ts +99 -0
  531. package/dist/sdk/providers/types.d.ts.map +1 -0
  532. package/dist/sdk/providers/types.js +2 -0
  533. package/dist/sdk/providers/types.js.map +1 -0
  534. package/dist/sdk/real.d.ts +20 -0
  535. package/dist/sdk/real.d.ts.map +1 -0
  536. package/dist/sdk/real.js +22 -0
  537. package/dist/sdk/real.js.map +1 -0
  538. package/dist/sdk/types.d.ts +113 -0
  539. package/dist/sdk/types.d.ts.map +1 -0
  540. package/dist/sdk/types.js +3 -0
  541. package/dist/sdk/types.js.map +1 -0
  542. package/dist/sessions/Session.d.ts +80 -0
  543. package/dist/sessions/Session.d.ts.map +1 -0
  544. package/dist/sessions/Session.js +119 -0
  545. package/dist/sessions/Session.js.map +1 -0
  546. package/dist/sessions/codex-reader.d.ts +166 -0
  547. package/dist/sessions/codex-reader.d.ts.map +1 -0
  548. package/dist/sessions/codex-reader.js +664 -0
  549. package/dist/sessions/codex-reader.js.map +1 -0
  550. package/dist/sessions/dag.d.ts +62 -0
  551. package/dist/sessions/dag.d.ts.map +1 -0
  552. package/dist/sessions/dag.js +175 -0
  553. package/dist/sessions/dag.js.map +1 -0
  554. package/dist/sessions/fork.d.ts +34 -0
  555. package/dist/sessions/fork.d.ts.map +1 -0
  556. package/dist/sessions/fork.js +58 -0
  557. package/dist/sessions/fork.js.map +1 -0
  558. package/dist/sessions/gemini-reader.d.ts +103 -0
  559. package/dist/sessions/gemini-reader.d.ts.map +1 -0
  560. package/dist/sessions/gemini-reader.js +332 -0
  561. package/dist/sessions/gemini-reader.js.map +1 -0
  562. package/dist/sessions/normalization.d.ts +7 -0
  563. package/dist/sessions/normalization.d.ts.map +1 -0
  564. package/dist/sessions/normalization.js +429 -0
  565. package/dist/sessions/normalization.js.map +1 -0
  566. package/dist/sessions/opencode-reader.d.ts +99 -0
  567. package/dist/sessions/opencode-reader.d.ts.map +1 -0
  568. package/dist/sessions/opencode-reader.js +370 -0
  569. package/dist/sessions/opencode-reader.js.map +1 -0
  570. package/dist/sessions/reader.d.ts +118 -0
  571. package/dist/sessions/reader.d.ts.map +1 -0
  572. package/dist/sessions/reader.js +444 -0
  573. package/dist/sessions/reader.js.map +1 -0
  574. package/dist/sessions/types.d.ts +77 -0
  575. package/dist/sessions/types.d.ts.map +1 -0
  576. package/dist/sessions/types.js +8 -0
  577. package/dist/sessions/types.js.map +1 -0
  578. package/dist/supervisor/ExternalSessionTracker.d.ts +94 -0
  579. package/dist/supervisor/ExternalSessionTracker.d.ts.map +1 -0
  580. package/dist/supervisor/ExternalSessionTracker.js +507 -0
  581. package/dist/supervisor/ExternalSessionTracker.js.map +1 -0
  582. package/dist/supervisor/Process.d.ts +230 -0
  583. package/dist/supervisor/Process.d.ts.map +1 -0
  584. package/dist/supervisor/Process.js +878 -0
  585. package/dist/supervisor/Process.js.map +1 -0
  586. package/dist/supervisor/Supervisor.d.ts +191 -0
  587. package/dist/supervisor/Supervisor.d.ts.map +1 -0
  588. package/dist/supervisor/Supervisor.js +933 -0
  589. package/dist/supervisor/Supervisor.js.map +1 -0
  590. package/dist/supervisor/WorkerQueue.d.ts +113 -0
  591. package/dist/supervisor/WorkerQueue.d.ts.map +1 -0
  592. package/dist/supervisor/WorkerQueue.js +148 -0
  593. package/dist/supervisor/WorkerQueue.js.map +1 -0
  594. package/dist/supervisor/types.d.ts +176 -0
  595. package/dist/supervisor/types.d.ts.map +1 -0
  596. package/dist/supervisor/types.js +7 -0
  597. package/dist/supervisor/types.js.map +1 -0
  598. package/dist/testing/mockProjectData.d.ts +5 -0
  599. package/dist/testing/mockProjectData.d.ts.map +1 -0
  600. package/dist/testing/mockProjectData.js +27 -0
  601. package/dist/testing/mockProjectData.js.map +1 -0
  602. package/dist/uploads/index.d.ts +3 -0
  603. package/dist/uploads/index.d.ts.map +1 -0
  604. package/dist/uploads/index.js +2 -0
  605. package/dist/uploads/index.js.map +1 -0
  606. package/dist/uploads/manager.d.ts +84 -0
  607. package/dist/uploads/manager.d.ts.map +1 -0
  608. package/dist/uploads/manager.js +215 -0
  609. package/dist/uploads/manager.js.map +1 -0
  610. package/dist/utils/fileLock.d.ts +57 -0
  611. package/dist/utils/fileLock.d.ts.map +1 -0
  612. package/dist/utils/fileLock.js +91 -0
  613. package/dist/utils/fileLock.js.map +1 -0
  614. package/dist/watcher/BatchProcessor.d.ts +58 -0
  615. package/dist/watcher/BatchProcessor.d.ts.map +1 -0
  616. package/dist/watcher/BatchProcessor.js +105 -0
  617. package/dist/watcher/BatchProcessor.js.map +1 -0
  618. package/dist/watcher/EventBus.d.ts +157 -0
  619. package/dist/watcher/EventBus.d.ts.map +1 -0
  620. package/dist/watcher/EventBus.js +36 -0
  621. package/dist/watcher/EventBus.js.map +1 -0
  622. package/dist/watcher/FileWatcher.d.ts +42 -0
  623. package/dist/watcher/FileWatcher.d.ts.map +1 -0
  624. package/dist/watcher/FileWatcher.js +165 -0
  625. package/dist/watcher/FileWatcher.js.map +1 -0
  626. package/dist/watcher/SourceWatcher.d.ts +36 -0
  627. package/dist/watcher/SourceWatcher.d.ts.map +1 -0
  628. package/dist/watcher/SourceWatcher.js +97 -0
  629. package/dist/watcher/SourceWatcher.js.map +1 -0
  630. package/dist/watcher/index.d.ts +9 -0
  631. package/dist/watcher/index.d.ts.map +1 -0
  632. package/dist/watcher/index.js +5 -0
  633. package/dist/watcher/index.js.map +1 -0
  634. package/package.json +54 -0
  635. package/scripts/postinstall.js +48 -0
@@ -0,0 +1,288 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Task tool result schema
4
+ * Accepts either structured object OR string error message from SDK
5
+ */
6
+ export declare const TaskResultSchema: z.ZodUnion<readonly [z.ZodObject<{
7
+ status: z.ZodOptional<z.ZodEnum<{
8
+ completed: "completed";
9
+ failed: "failed";
10
+ timeout: "timeout";
11
+ }>>;
12
+ prompt: z.ZodOptional<z.ZodString>;
13
+ agentId: z.ZodOptional<z.ZodString>;
14
+ content: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
+ type: z.ZodEnum<{
16
+ text: "text";
17
+ thinking: "thinking";
18
+ tool_result: "tool_result";
19
+ tool_use: "tool_use";
20
+ }>;
21
+ text: z.ZodOptional<z.ZodString>;
22
+ thinking: z.ZodOptional<z.ZodString>;
23
+ signature: z.ZodOptional<z.ZodString>;
24
+ id: z.ZodOptional<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodString>;
26
+ input: z.ZodOptional<z.ZodUnknown>;
27
+ tool_use_id: z.ZodOptional<z.ZodString>;
28
+ content: z.ZodOptional<z.ZodString>;
29
+ is_error: z.ZodOptional<z.ZodBoolean>;
30
+ }, z.core.$strip>>>;
31
+ totalDurationMs: z.ZodOptional<z.ZodNumber>;
32
+ totalTokens: z.ZodOptional<z.ZodNumber>;
33
+ totalToolUseCount: z.ZodOptional<z.ZodNumber>;
34
+ }, z.core.$strip>, z.ZodString]>;
35
+ export type TaskResultValidated = z.infer<typeof TaskResultSchema>;
36
+ /**
37
+ * Bash tool result schema
38
+ * Accepts either structured object OR string error message from SDK
39
+ */
40
+ export declare const BashResultSchema: z.ZodUnion<readonly [z.ZodObject<{
41
+ stdout: z.ZodOptional<z.ZodString>;
42
+ stderr: z.ZodOptional<z.ZodString>;
43
+ interrupted: z.ZodOptional<z.ZodBoolean>;
44
+ isImage: z.ZodOptional<z.ZodBoolean>;
45
+ backgroundTaskId: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>, z.ZodString]>;
47
+ export type BashResultValidated = z.infer<typeof BashResultSchema>;
48
+ /**
49
+ * Read tool result schema
50
+ * Accepts either structured object OR string error message from SDK
51
+ */
52
+ export declare const ReadResultSchema: z.ZodUnion<readonly [z.ZodObject<{
53
+ type: z.ZodOptional<z.ZodEnum<{
54
+ text: "text";
55
+ image: "image";
56
+ }>>;
57
+ file: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
58
+ filePath: z.ZodOptional<z.ZodString>;
59
+ content: z.ZodOptional<z.ZodString>;
60
+ numLines: z.ZodOptional<z.ZodNumber>;
61
+ startLine: z.ZodOptional<z.ZodNumber>;
62
+ totalLines: z.ZodOptional<z.ZodNumber>;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ base64: z.ZodOptional<z.ZodString>;
65
+ type: z.ZodOptional<z.ZodString>;
66
+ originalSize: z.ZodOptional<z.ZodNumber>;
67
+ dimensions: z.ZodOptional<z.ZodObject<{
68
+ originalWidth: z.ZodOptional<z.ZodNumber>;
69
+ originalHeight: z.ZodOptional<z.ZodNumber>;
70
+ displayWidth: z.ZodOptional<z.ZodNumber>;
71
+ displayHeight: z.ZodOptional<z.ZodNumber>;
72
+ }, z.core.$strip>>;
73
+ }, z.core.$strip>]>>;
74
+ }, z.core.$strip>, z.ZodString]>;
75
+ export type ReadResultValidated = z.infer<typeof ReadResultSchema>;
76
+ /**
77
+ * Edit tool result schema
78
+ * Accepts either structured object OR string error message from SDK
79
+ */
80
+ export declare const EditResultSchema: z.ZodUnion<readonly [z.ZodObject<{
81
+ type: z.ZodOptional<z.ZodEnum<{
82
+ create: "create";
83
+ edit: "edit";
84
+ update: "update";
85
+ }>>;
86
+ filePath: z.ZodOptional<z.ZodString>;
87
+ oldString: z.ZodOptional<z.ZodString>;
88
+ newString: z.ZodOptional<z.ZodString>;
89
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ replaceAll: z.ZodOptional<z.ZodBoolean>;
91
+ userModified: z.ZodOptional<z.ZodBoolean>;
92
+ structuredPatch: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ oldStart: z.ZodOptional<z.ZodNumber>;
94
+ oldLines: z.ZodOptional<z.ZodNumber>;
95
+ newStart: z.ZodOptional<z.ZodNumber>;
96
+ newLines: z.ZodOptional<z.ZodNumber>;
97
+ lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ }, z.core.$strip>>>;
99
+ }, z.core.$strip>, z.ZodString]>;
100
+ export type EditResultValidated = z.infer<typeof EditResultSchema>;
101
+ /**
102
+ * Write tool result schema
103
+ * Accepts either structured object OR string error message from SDK
104
+ */
105
+ export declare const WriteResultSchema: z.ZodUnion<readonly [z.ZodObject<{
106
+ type: z.ZodOptional<z.ZodLiteral<"text">>;
107
+ file: z.ZodOptional<z.ZodObject<{
108
+ filePath: z.ZodOptional<z.ZodString>;
109
+ content: z.ZodOptional<z.ZodString>;
110
+ numLines: z.ZodOptional<z.ZodNumber>;
111
+ startLine: z.ZodOptional<z.ZodNumber>;
112
+ totalLines: z.ZodOptional<z.ZodNumber>;
113
+ }, z.core.$strip>>;
114
+ }, z.core.$strip>, z.ZodString]>;
115
+ export type WriteResultValidated = z.infer<typeof WriteResultSchema>;
116
+ /**
117
+ * Glob tool result schema
118
+ * Accepts either structured object OR string error message from SDK
119
+ */
120
+ export declare const GlobResultSchema: z.ZodUnion<readonly [z.ZodObject<{
121
+ filenames: z.ZodOptional<z.ZodArray<z.ZodString>>;
122
+ durationMs: z.ZodOptional<z.ZodNumber>;
123
+ numFiles: z.ZodOptional<z.ZodNumber>;
124
+ truncated: z.ZodOptional<z.ZodBoolean>;
125
+ }, z.core.$strip>, z.ZodString]>;
126
+ export type GlobResultValidated = z.infer<typeof GlobResultSchema>;
127
+ /**
128
+ * Grep tool result schema
129
+ * Accepts either structured object OR string error message from SDK
130
+ */
131
+ export declare const GrepResultSchema: z.ZodUnion<readonly [z.ZodObject<{
132
+ mode: z.ZodOptional<z.ZodEnum<{
133
+ content: "content";
134
+ files_with_matches: "files_with_matches";
135
+ count: "count";
136
+ }>>;
137
+ filenames: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ numFiles: z.ZodOptional<z.ZodNumber>;
139
+ content: z.ZodOptional<z.ZodString>;
140
+ numLines: z.ZodOptional<z.ZodNumber>;
141
+ appliedLimit: z.ZodOptional<z.ZodNumber>;
142
+ }, z.core.$strip>, z.ZodString]>;
143
+ export type GrepResultValidated = z.infer<typeof GrepResultSchema>;
144
+ /**
145
+ * TodoWrite tool result schema
146
+ * Accepts either structured object OR string error message from SDK
147
+ */
148
+ export declare const TodoWriteResultSchema: z.ZodUnion<readonly [z.ZodObject<{
149
+ oldTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
+ content: z.ZodOptional<z.ZodString>;
151
+ status: z.ZodOptional<z.ZodEnum<{
152
+ pending: "pending";
153
+ in_progress: "in_progress";
154
+ completed: "completed";
155
+ }>>;
156
+ activeForm: z.ZodOptional<z.ZodString>;
157
+ }, z.core.$strip>>>;
158
+ newTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ content: z.ZodOptional<z.ZodString>;
160
+ status: z.ZodOptional<z.ZodEnum<{
161
+ pending: "pending";
162
+ in_progress: "in_progress";
163
+ completed: "completed";
164
+ }>>;
165
+ activeForm: z.ZodOptional<z.ZodString>;
166
+ }, z.core.$strip>>>;
167
+ }, z.core.$strip>, z.ZodString]>;
168
+ export type TodoWriteResultValidated = z.infer<typeof TodoWriteResultSchema>;
169
+ /**
170
+ * WebSearch tool result schema
171
+ * Accepts either structured object OR string error message from SDK
172
+ */
173
+ export declare const WebSearchResultSchema: z.ZodUnion<readonly [z.ZodObject<{
174
+ query: z.ZodOptional<z.ZodString>;
175
+ results: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
176
+ tool_use_id: z.ZodOptional<z.ZodString>;
177
+ content: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
+ title: z.ZodOptional<z.ZodString>;
179
+ url: z.ZodOptional<z.ZodString>;
180
+ }, z.core.$strip>>>;
181
+ }, z.core.$strip>, z.ZodString]>>>;
182
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
183
+ }, z.core.$strip>, z.ZodString]>;
184
+ export type WebSearchResultValidated = z.infer<typeof WebSearchResultSchema>;
185
+ /**
186
+ * WebFetch tool result schema
187
+ * Accepts either structured object OR string error message from SDK
188
+ */
189
+ export declare const WebFetchResultSchema: z.ZodUnion<readonly [z.ZodObject<{
190
+ bytes: z.ZodOptional<z.ZodNumber>;
191
+ code: z.ZodOptional<z.ZodNumber>;
192
+ codeText: z.ZodOptional<z.ZodString>;
193
+ result: z.ZodOptional<z.ZodString>;
194
+ durationMs: z.ZodOptional<z.ZodNumber>;
195
+ url: z.ZodOptional<z.ZodString>;
196
+ }, z.core.$strip>, z.ZodString]>;
197
+ export type WebFetchResultValidated = z.infer<typeof WebFetchResultSchema>;
198
+ /**
199
+ * AskUserQuestion tool result schema
200
+ * Accepts either structured object OR string error message from SDK
201
+ */
202
+ export declare const AskUserQuestionResultSchema: z.ZodUnion<readonly [z.ZodObject<{
203
+ questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ question: z.ZodOptional<z.ZodString>;
205
+ header: z.ZodOptional<z.ZodString>;
206
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
+ label: z.ZodOptional<z.ZodString>;
208
+ description: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strip>>>;
210
+ multiSelect: z.ZodOptional<z.ZodBoolean>;
211
+ }, z.core.$strip>>>;
212
+ answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
213
+ }, z.core.$strip>, z.ZodString]>;
214
+ export type AskUserQuestionResultValidated = z.infer<typeof AskUserQuestionResultSchema>;
215
+ /**
216
+ * BashOutput tool result schema
217
+ * Accepts either structured object OR string error message from SDK
218
+ */
219
+ export declare const BashOutputResultSchema: z.ZodUnion<readonly [z.ZodObject<{
220
+ shellId: z.ZodOptional<z.ZodString>;
221
+ command: z.ZodOptional<z.ZodString>;
222
+ status: z.ZodOptional<z.ZodEnum<{
223
+ completed: "completed";
224
+ failed: "failed";
225
+ running: "running";
226
+ }>>;
227
+ exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
228
+ stdout: z.ZodOptional<z.ZodString>;
229
+ stderr: z.ZodOptional<z.ZodString>;
230
+ stdoutLines: z.ZodOptional<z.ZodNumber>;
231
+ stderrLines: z.ZodOptional<z.ZodNumber>;
232
+ timestamp: z.ZodOptional<z.ZodString>;
233
+ }, z.core.$strip>, z.ZodString]>;
234
+ export type BashOutputResultValidated = z.infer<typeof BashOutputResultSchema>;
235
+ /**
236
+ * TaskOutput tool result schema
237
+ * Accepts either structured object OR string error message from SDK
238
+ */
239
+ export declare const TaskOutputResultSchema: z.ZodUnion<readonly [z.ZodObject<{
240
+ retrieval_status: z.ZodOptional<z.ZodEnum<{
241
+ completed: "completed";
242
+ timeout: "timeout";
243
+ running: "running";
244
+ }>>;
245
+ task: z.ZodOptional<z.ZodObject<{
246
+ task_id: z.ZodOptional<z.ZodString>;
247
+ task_type: z.ZodOptional<z.ZodEnum<{
248
+ local_bash: "local_bash";
249
+ agent: "agent";
250
+ }>>;
251
+ status: z.ZodOptional<z.ZodEnum<{
252
+ completed: "completed";
253
+ failed: "failed";
254
+ running: "running";
255
+ }>>;
256
+ description: z.ZodOptional<z.ZodString>;
257
+ output: z.ZodOptional<z.ZodString>;
258
+ exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
259
+ }, z.core.$strip>>;
260
+ }, z.core.$strip>, z.ZodString]>;
261
+ export type TaskOutputResultValidated = z.infer<typeof TaskOutputResultSchema>;
262
+ /**
263
+ * KillShell tool result schema
264
+ * Accepts either structured object OR string error message from SDK
265
+ */
266
+ export declare const KillShellResultSchema: z.ZodUnion<readonly [z.ZodObject<{
267
+ message: z.ZodOptional<z.ZodString>;
268
+ shell_id: z.ZodOptional<z.ZodString>;
269
+ }, z.core.$strip>, z.ZodString]>;
270
+ export type KillShellResultValidated = z.infer<typeof KillShellResultSchema>;
271
+ /**
272
+ * EnterPlanMode tool result schema
273
+ * Accepts either structured object OR string error message from SDK
274
+ */
275
+ export declare const EnterPlanModeResultSchema: z.ZodUnion<readonly [z.ZodObject<{
276
+ message: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strip>, z.ZodString]>;
278
+ export type EnterPlanModeResultValidated = z.infer<typeof EnterPlanModeResultSchema>;
279
+ /**
280
+ * ExitPlanMode tool result schema
281
+ * Accepts either structured object OR string error message from SDK
282
+ */
283
+ export declare const ExitPlanModeResultSchema: z.ZodUnion<readonly [z.ZodObject<{
284
+ message: z.ZodOptional<z.ZodString>;
285
+ plan: z.ZodOptional<z.ZodString>;
286
+ }, z.core.$strip>, z.ZodString]>;
287
+ export type ExitPlanModeResultValidated = z.infer<typeof ExitPlanModeResultSchema>;
288
+ //# sourceMappingURL=ToolResultSchemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolResultSchemas.d.ts","sourceRoot":"","sources":["../../../src/claude-sdk-schema/tool/ToolResultSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAanE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO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CAAC,CAAC;AAmB3E;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;gCAEvC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;gCAElC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAgB/E;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;gCAElC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAO/E;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;gCAEjC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAM7E;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;gCAErC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAOF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;gCAEpC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,wBAAwB,CAChC,CAAC"}
@@ -0,0 +1,293 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Helper to create a tool result schema that accepts either the structured
4
+ * object format OR a string error message.
5
+ *
6
+ * The SDK writes toolUseResult as a string for errors/interrupts, e.g.:
7
+ * - "Error: Exit code 1\n..."
8
+ * - "Error: [Request interrupted by user for tool use]"
9
+ *
10
+ * This is the actual format persisted in session JSONL files.
11
+ */
12
+ function withStringError(schema) {
13
+ return z.union([schema, z.string()]);
14
+ }
15
+ /**
16
+ * ContentBlock schema for Task result content
17
+ * Matches the ContentBlock interface in client/src/components/renderers/types.ts
18
+ */
19
+ const ContentBlockSchema = z.object({
20
+ type: z.enum(["text", "thinking", "tool_use", "tool_result"]),
21
+ text: z.string().optional(),
22
+ thinking: z.string().optional(),
23
+ signature: z.string().optional(),
24
+ id: z.string().optional(),
25
+ name: z.string().optional(),
26
+ input: z.unknown().optional(),
27
+ tool_use_id: z.string().optional(),
28
+ content: z.string().optional(),
29
+ is_error: z.boolean().optional(),
30
+ });
31
+ /**
32
+ * Task tool structured result (success case)
33
+ */
34
+ const TaskResultObjectSchema = z.object({
35
+ status: z.enum(["completed", "failed", "timeout"]).optional(),
36
+ prompt: z.string().optional(),
37
+ agentId: z.string().optional(),
38
+ content: z.array(ContentBlockSchema).optional(),
39
+ totalDurationMs: z.number().optional(),
40
+ totalTokens: z.number().optional(),
41
+ totalToolUseCount: z.number().optional(),
42
+ });
43
+ /**
44
+ * Task tool result schema
45
+ * Accepts either structured object OR string error message from SDK
46
+ */
47
+ export const TaskResultSchema = withStringError(TaskResultObjectSchema);
48
+ /**
49
+ * Bash tool structured result (success case)
50
+ */
51
+ const BashResultObjectSchema = z.object({
52
+ stdout: z.string().optional(),
53
+ stderr: z.string().optional(),
54
+ interrupted: z.boolean().optional(),
55
+ isImage: z.boolean().optional(),
56
+ backgroundTaskId: z.string().optional(),
57
+ });
58
+ /**
59
+ * Bash tool result schema
60
+ * Accepts either structured object OR string error message from SDK
61
+ */
62
+ export const BashResultSchema = withStringError(BashResultObjectSchema);
63
+ /**
64
+ * Read tool result schemas
65
+ * Matches the ReadResult, TextFile, and ImageFile interfaces
66
+ */
67
+ const TextFileSchema = z.object({
68
+ filePath: z.string().optional(),
69
+ content: z.string().optional(),
70
+ numLines: z.number().optional(),
71
+ startLine: z.number().optional(),
72
+ totalLines: z.number().optional(),
73
+ });
74
+ const ImageFileDimensionsSchema = z.object({
75
+ originalWidth: z.number().optional(),
76
+ originalHeight: z.number().optional(),
77
+ displayWidth: z.number().optional(),
78
+ displayHeight: z.number().optional(),
79
+ });
80
+ const ImageFileSchema = z.object({
81
+ base64: z.string().optional(),
82
+ type: z.string().optional(),
83
+ originalSize: z.number().optional(),
84
+ dimensions: ImageFileDimensionsSchema.optional(),
85
+ });
86
+ const ReadResultObjectSchema = z.object({
87
+ type: z.enum(["text", "image"]).optional(),
88
+ file: z.union([TextFileSchema, ImageFileSchema]).optional(),
89
+ });
90
+ /**
91
+ * Read tool result schema
92
+ * Accepts either structured object OR string error message from SDK
93
+ */
94
+ export const ReadResultSchema = withStringError(ReadResultObjectSchema);
95
+ /**
96
+ * Edit tool result schema
97
+ * Matches the EditResult and PatchHunk interfaces
98
+ *
99
+ * Note: The SDK provides `type` field ("create" for new files, "edit" for modifications)
100
+ * and `originalFile` can be null for new file creation.
101
+ */
102
+ const PatchHunkSchema = z.object({
103
+ oldStart: z.number().optional(),
104
+ oldLines: z.number().optional(),
105
+ newStart: z.number().optional(),
106
+ newLines: z.number().optional(),
107
+ lines: z.array(z.string()).optional(),
108
+ });
109
+ const EditResultObjectSchema = z.object({
110
+ type: z.enum(["create", "edit", "update"]).optional(),
111
+ filePath: z.string().optional(),
112
+ oldString: z.string().optional(),
113
+ newString: z.string().optional(),
114
+ originalFile: z.string().nullable().optional(),
115
+ replaceAll: z.boolean().optional(),
116
+ userModified: z.boolean().optional(),
117
+ structuredPatch: z.array(PatchHunkSchema).optional(),
118
+ });
119
+ /**
120
+ * Edit tool result schema
121
+ * Accepts either structured object OR string error message from SDK
122
+ */
123
+ export const EditResultSchema = withStringError(EditResultObjectSchema);
124
+ const WriteResultObjectSchema = z.object({
125
+ type: z.literal("text").optional(),
126
+ file: z
127
+ .object({
128
+ filePath: z.string().optional(),
129
+ content: z.string().optional(),
130
+ numLines: z.number().optional(),
131
+ startLine: z.number().optional(),
132
+ totalLines: z.number().optional(),
133
+ })
134
+ .optional(),
135
+ });
136
+ /**
137
+ * Write tool result schema
138
+ * Accepts either structured object OR string error message from SDK
139
+ */
140
+ export const WriteResultSchema = withStringError(WriteResultObjectSchema);
141
+ const GlobResultObjectSchema = z.object({
142
+ filenames: z.array(z.string()).optional(),
143
+ durationMs: z.number().optional(),
144
+ numFiles: z.number().optional(),
145
+ truncated: z.boolean().optional(),
146
+ });
147
+ /**
148
+ * Glob tool result schema
149
+ * Accepts either structured object OR string error message from SDK
150
+ */
151
+ export const GlobResultSchema = withStringError(GlobResultObjectSchema);
152
+ const GrepResultObjectSchema = z.object({
153
+ mode: z.enum(["files_with_matches", "content", "count"]).optional(),
154
+ filenames: z.array(z.string()).optional(),
155
+ numFiles: z.number().optional(),
156
+ content: z.string().optional(),
157
+ numLines: z.number().optional(),
158
+ appliedLimit: z.number().optional(),
159
+ });
160
+ /**
161
+ * Grep tool result schema
162
+ * Accepts either structured object OR string error message from SDK
163
+ */
164
+ export const GrepResultSchema = withStringError(GrepResultObjectSchema);
165
+ const TodoSchema = z.object({
166
+ content: z.string().optional(),
167
+ status: z.enum(["pending", "in_progress", "completed"]).optional(),
168
+ activeForm: z.string().optional(),
169
+ });
170
+ const TodoWriteResultObjectSchema = z.object({
171
+ oldTodos: z.array(TodoSchema).optional(),
172
+ newTodos: z.array(TodoSchema).optional(),
173
+ });
174
+ /**
175
+ * TodoWrite tool result schema
176
+ * Accepts either structured object OR string error message from SDK
177
+ */
178
+ export const TodoWriteResultSchema = withStringError(TodoWriteResultObjectSchema);
179
+ /**
180
+ * WebSearch result item - can be an object with search results or a string summary
181
+ */
182
+ const WebSearchResultItemSchema = z.object({
183
+ tool_use_id: z.string().optional(),
184
+ content: z
185
+ .array(z.object({
186
+ title: z.string().optional(),
187
+ url: z.string().optional(),
188
+ }))
189
+ .optional(),
190
+ });
191
+ const WebSearchResultObjectSchema = z.object({
192
+ query: z.string().optional(),
193
+ results: z.array(z.union([WebSearchResultItemSchema, z.string()])).optional(),
194
+ durationSeconds: z.number().optional(),
195
+ });
196
+ /**
197
+ * WebSearch tool result schema
198
+ * Accepts either structured object OR string error message from SDK
199
+ */
200
+ export const WebSearchResultSchema = withStringError(WebSearchResultObjectSchema);
201
+ const WebFetchResultObjectSchema = z.object({
202
+ bytes: z.number().optional(),
203
+ code: z.number().optional(),
204
+ codeText: z.string().optional(),
205
+ result: z.string().optional(),
206
+ durationMs: z.number().optional(),
207
+ url: z.string().optional(),
208
+ });
209
+ /**
210
+ * WebFetch tool result schema
211
+ * Accepts either structured object OR string error message from SDK
212
+ */
213
+ export const WebFetchResultSchema = withStringError(WebFetchResultObjectSchema);
214
+ const QuestionOptionSchema = z.object({
215
+ label: z.string().optional(),
216
+ description: z.string().optional(),
217
+ });
218
+ const QuestionSchema = z.object({
219
+ question: z.string().optional(),
220
+ header: z.string().optional(),
221
+ options: z.array(QuestionOptionSchema).optional(),
222
+ multiSelect: z.boolean().optional(),
223
+ });
224
+ const AskUserQuestionResultObjectSchema = z.object({
225
+ questions: z.array(QuestionSchema).optional(),
226
+ answers: z.record(z.string(), z.string()).optional(),
227
+ });
228
+ /**
229
+ * AskUserQuestion tool result schema
230
+ * Accepts either structured object OR string error message from SDK
231
+ */
232
+ export const AskUserQuestionResultSchema = withStringError(AskUserQuestionResultObjectSchema);
233
+ const BashOutputResultObjectSchema = z.object({
234
+ shellId: z.string().optional(),
235
+ command: z.string().optional(),
236
+ status: z.enum(["running", "completed", "failed"]).optional(),
237
+ exitCode: z.number().nullable().optional(),
238
+ stdout: z.string().optional(),
239
+ stderr: z.string().optional(),
240
+ stdoutLines: z.number().optional(),
241
+ stderrLines: z.number().optional(),
242
+ timestamp: z.string().optional(),
243
+ });
244
+ /**
245
+ * BashOutput tool result schema
246
+ * Accepts either structured object OR string error message from SDK
247
+ */
248
+ export const BashOutputResultSchema = withStringError(BashOutputResultObjectSchema);
249
+ const TaskOutputResultObjectSchema = z.object({
250
+ retrieval_status: z.enum(["completed", "timeout", "running"]).optional(),
251
+ task: z
252
+ .object({
253
+ task_id: z.string().optional(),
254
+ task_type: z.enum(["local_bash", "agent"]).optional(),
255
+ status: z.enum(["running", "completed", "failed"]).optional(),
256
+ description: z.string().optional(),
257
+ output: z.string().optional(),
258
+ exitCode: z.number().nullable().optional(),
259
+ })
260
+ .optional(),
261
+ });
262
+ /**
263
+ * TaskOutput tool result schema
264
+ * Accepts either structured object OR string error message from SDK
265
+ */
266
+ export const TaskOutputResultSchema = withStringError(TaskOutputResultObjectSchema);
267
+ const KillShellResultObjectSchema = z.object({
268
+ message: z.string().optional(),
269
+ shell_id: z.string().optional(),
270
+ });
271
+ /**
272
+ * KillShell tool result schema
273
+ * Accepts either structured object OR string error message from SDK
274
+ */
275
+ export const KillShellResultSchema = withStringError(KillShellResultObjectSchema);
276
+ const EnterPlanModeResultObjectSchema = z.object({
277
+ message: z.string().optional(),
278
+ });
279
+ /**
280
+ * EnterPlanMode tool result schema
281
+ * Accepts either structured object OR string error message from SDK
282
+ */
283
+ export const EnterPlanModeResultSchema = withStringError(EnterPlanModeResultObjectSchema);
284
+ const ExitPlanModeResultObjectSchema = z.object({
285
+ message: z.string().optional(),
286
+ plan: z.string().optional(),
287
+ });
288
+ /**
289
+ * ExitPlanMode tool result schema
290
+ * Accepts either structured object OR string error message from SDK
291
+ */
292
+ export const ExitPlanModeResultSchema = withStringError(ExitPlanModeResultObjectSchema);
293
+ //# sourceMappingURL=ToolResultSchemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolResultSchemas.js","sourceRoot":"","sources":["../../../src/claude-sdk-schema/tool/ToolResultSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,SAAS,eAAe,CAAyB,MAAS;IACxD,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AACvC,CAAC;AAED;;;GAGG;AACH,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,UAAU,E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