@nervekit/desktop 0.12.0 → 0.13.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 (532) hide show
  1. package/README.md +1 -1
  2. package/dist/app/startup-sequence.d.ts +28 -0
  3. package/dist/app/startup-sequence.d.ts.map +1 -0
  4. package/dist/app/startup-sequence.js +46 -0
  5. package/dist/app/startup-sequence.js.map +1 -0
  6. package/dist/main.js +56 -31
  7. package/dist/main.js.map +1 -1
  8. package/dist/settings/desktop-settings.d.ts +2 -1
  9. package/dist/settings/desktop-settings.d.ts.map +1 -1
  10. package/dist/settings/desktop-settings.js +7 -3
  11. package/dist/settings/desktop-settings.js.map +1 -1
  12. package/dist/window/initial-zoom.d.ts +3 -0
  13. package/dist/window/initial-zoom.d.ts.map +1 -0
  14. package/dist/window/initial-zoom.js +9 -0
  15. package/dist/window/initial-zoom.js.map +1 -0
  16. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts +2 -1
  17. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts.map +1 -1
  18. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js +15 -10
  19. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js.map +1 -1
  20. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts +4 -0
  21. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts.map +1 -1
  22. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js +1 -0
  23. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js.map +1 -1
  24. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts +28 -2
  25. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts.map +1 -1
  26. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js +17 -2
  27. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js.map +1 -1
  28. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts +2 -0
  29. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts.map +1 -1
  30. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js +5 -5
  31. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js.map +1 -1
  32. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts +4 -0
  33. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts.map +1 -1
  34. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts +2 -0
  35. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts.map +1 -1
  36. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts +5 -0
  37. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts.map +1 -1
  38. package/node_modules/@nervekit/contracts/package.json +1 -1
  39. package/node_modules/@nervekit/harness/dist/{agent.d.ts → agent/agent.d.ts} +2 -2
  40. package/node_modules/@nervekit/harness/dist/agent/agent.d.ts.map +1 -0
  41. package/node_modules/@nervekit/harness/dist/{agent.js → agent/agent.js} +2 -2
  42. package/node_modules/@nervekit/harness/dist/agent/agent.js.map +1 -0
  43. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.d.ts +1 -1
  44. package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.d.ts.map +1 -0
  45. package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.js.map +1 -0
  46. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.d.ts +1 -1
  47. package/node_modules/@nervekit/harness/dist/agent/loop/events.d.ts.map +1 -0
  48. package/node_modules/@nervekit/harness/dist/agent/loop/events.js.map +1 -0
  49. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.d.ts +1 -1
  50. package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.d.ts.map +1 -0
  51. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.js +2 -2
  52. package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.js.map +1 -0
  53. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.d.ts +1 -1
  54. package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.d.ts.map +1 -0
  55. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.js +1 -1
  56. package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.js.map +1 -0
  57. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.d.ts +1 -1
  58. package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.d.ts.map +1 -0
  59. package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.js.map +1 -0
  60. package/node_modules/@nervekit/harness/dist/{suspension.d.ts → agent/suspension.d.ts} +1 -1
  61. package/node_modules/@nervekit/harness/dist/agent/suspension.d.ts.map +1 -0
  62. package/node_modules/@nervekit/harness/dist/agent/suspension.js.map +1 -0
  63. package/node_modules/@nervekit/harness/dist/{tool-adapter.d.ts → agent/tool-adapter.d.ts} +1 -1
  64. package/node_modules/@nervekit/harness/dist/agent/tool-adapter.d.ts.map +1 -0
  65. package/node_modules/@nervekit/harness/dist/agent/tool-adapter.js.map +1 -0
  66. package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts +83 -0
  67. package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts.map +1 -0
  68. package/node_modules/@nervekit/harness/dist/agent/types/agent.js +2 -0
  69. package/node_modules/@nervekit/harness/dist/agent/types/agent.js.map +1 -0
  70. package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts +26 -0
  71. package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts.map +1 -0
  72. package/node_modules/@nervekit/harness/dist/agent/types/common.js +2 -0
  73. package/node_modules/@nervekit/harness/dist/agent/types/common.js.map +1 -0
  74. package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts +6 -0
  75. package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts.map +1 -0
  76. package/node_modules/@nervekit/harness/dist/agent/types/index.js +6 -0
  77. package/node_modules/@nervekit/harness/dist/agent/types/index.js.map +1 -0
  78. package/node_modules/@nervekit/harness/dist/{types.d.ts → agent/types/loop.d.ts} +5 -197
  79. package/node_modules/@nervekit/harness/dist/agent/types/loop.d.ts.map +1 -0
  80. package/node_modules/@nervekit/harness/dist/agent/types/loop.js +2 -0
  81. package/node_modules/@nervekit/harness/dist/agent/types/loop.js.map +1 -0
  82. package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts +24 -0
  83. package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts.map +1 -0
  84. package/node_modules/@nervekit/harness/dist/agent/types/messages.js +2 -0
  85. package/node_modules/@nervekit/harness/dist/agent/types/messages.js.map +1 -0
  86. package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts +74 -0
  87. package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts.map +1 -0
  88. package/node_modules/@nervekit/harness/dist/agent/types/tools.js +2 -0
  89. package/node_modules/@nervekit/harness/dist/agent/types/tools.js.map +1 -0
  90. package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts +6 -5
  91. package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts.map +1 -1
  92. package/node_modules/@nervekit/harness/dist/harness/agent-harness.js +67 -191
  93. package/node_modules/@nervekit/harness/dist/harness/agent-harness.js.map +1 -1
  94. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts +2 -2
  95. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
  96. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js +1 -1
  97. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js.map +1 -1
  98. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts +1 -1
  99. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts.map +1 -1
  100. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js +1 -1
  101. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js.map +1 -1
  102. package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts +1 -1
  103. package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts.map +1 -1
  104. package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts +1 -1
  105. package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts.map +1 -1
  106. package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts +1 -1
  107. package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts.map +1 -1
  108. package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.d.ts → configuration/operations.d.ts} +4 -4
  109. package/node_modules/@nervekit/harness/dist/harness/configuration/operations.d.ts.map +1 -0
  110. package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.js → configuration/operations.js} +5 -5
  111. package/node_modules/@nervekit/harness/dist/harness/configuration/operations.js.map +1 -0
  112. package/node_modules/@nervekit/harness/dist/harness/{options.d.ts → configuration/options.d.ts} +3 -3
  113. package/node_modules/@nervekit/harness/dist/harness/configuration/options.d.ts.map +1 -0
  114. package/node_modules/@nervekit/harness/dist/harness/configuration/options.js.map +1 -0
  115. package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.d.ts.map +1 -0
  116. package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.js.map +1 -0
  117. package/node_modules/@nervekit/harness/dist/harness/{configuration.d.ts → configuration/tools.d.ts} +3 -3
  118. package/node_modules/@nervekit/harness/dist/harness/configuration/tools.d.ts.map +1 -0
  119. package/node_modules/@nervekit/harness/dist/harness/{configuration.js → configuration/tools.js} +2 -2
  120. package/node_modules/@nervekit/harness/dist/harness/configuration/tools.js.map +1 -0
  121. package/node_modules/@nervekit/harness/dist/harness/{turn-state.d.ts → configuration/turn-state.d.ts} +3 -3
  122. package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.d.ts.map +1 -0
  123. package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.js.map +1 -0
  124. package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts +1 -1
  125. package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts.map +1 -1
  126. package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts +1 -1
  127. package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts.map +1 -1
  128. package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts +1 -1
  129. package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts.map +1 -1
  130. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts +1 -1
  131. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts.map +1 -1
  132. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts +1 -1
  133. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts.map +1 -1
  134. package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.d.ts.map +1 -0
  135. package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.js.map +1 -0
  136. package/node_modules/@nervekit/harness/dist/harness/environment/types.d.ts.map +1 -0
  137. package/node_modules/@nervekit/harness/dist/harness/environment/types.js.map +1 -0
  138. package/node_modules/@nervekit/harness/dist/harness/{harness-events.d.ts → lifecycle/event-hub.d.ts} +4 -4
  139. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.d.ts.map +1 -0
  140. package/node_modules/@nervekit/harness/dist/harness/{harness-events.js → lifecycle/event-hub.js} +4 -4
  141. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.js.map +1 -0
  142. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts +26 -0
  143. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts.map +1 -0
  144. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js +52 -0
  145. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js.map +1 -0
  146. package/node_modules/@nervekit/harness/dist/harness/{events.d.ts → lifecycle/events.d.ts} +3 -3
  147. package/node_modules/@nervekit/harness/dist/harness/lifecycle/events.d.ts.map +1 -0
  148. package/node_modules/@nervekit/harness/dist/harness/{events.js.map → lifecycle/events.js.map} +1 -1
  149. package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.d.ts → maintenance/operations.d.ts} +5 -5
  150. package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.d.ts.map +1 -0
  151. package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.js → maintenance/operations.js} +6 -6
  152. package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.js.map +1 -0
  153. package/node_modules/@nervekit/harness/dist/harness/messages.d.ts +2 -2
  154. package/node_modules/@nervekit/harness/dist/harness/messages.d.ts.map +1 -1
  155. package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.d.ts → path-utils.d.ts} +1 -1
  156. package/node_modules/@nervekit/harness/dist/harness/path-utils.d.ts.map +1 -0
  157. package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.js → path-utils.js} +1 -1
  158. package/node_modules/@nervekit/harness/dist/harness/path-utils.js.map +1 -0
  159. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.d.ts → queue/coalescing.d.ts} +3 -3
  160. package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.d.ts.map +1 -0
  161. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.js → queue/coalescing.js} +2 -2
  162. package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.js.map +1 -0
  163. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.d.ts → queue/operations.d.ts} +14 -4
  164. package/node_modules/@nervekit/harness/dist/harness/queue/operations.d.ts.map +1 -0
  165. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.js → queue/operations.js} +35 -5
  166. package/node_modules/@nervekit/harness/dist/harness/queue/operations.js.map +1 -0
  167. package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.d.ts → resources/invocations.d.ts} +4 -4
  168. package/node_modules/@nervekit/harness/dist/harness/resources/invocations.d.ts.map +1 -0
  169. package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.js → resources/invocations.js} +3 -3
  170. package/node_modules/@nervekit/harness/dist/harness/resources/invocations.js.map +1 -0
  171. package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.d.ts → resources/prompt-templates.d.ts} +2 -2
  172. package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.d.ts.map +1 -0
  173. package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.js → resources/prompt-templates.js} +2 -2
  174. package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.js.map +1 -0
  175. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.d.ts +1 -1
  176. package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.d.ts.map +1 -0
  177. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.js +1 -1
  178. package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.js.map +1 -0
  179. package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.d.ts.map +1 -0
  180. package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.js.map +1 -0
  181. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.d.ts +2 -2
  182. package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.d.ts.map +1 -0
  183. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.js +1 -1
  184. package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.js.map +1 -0
  185. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.d.ts +1 -1
  186. package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.d.ts.map +1 -0
  187. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.js +1 -1
  188. package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.js.map +1 -0
  189. package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.d.ts.map +1 -0
  190. package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.js.map +1 -0
  191. package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.d.ts.map +1 -0
  192. package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.js.map +1 -0
  193. package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.d.ts → run/continuation.d.ts} +4 -4
  194. package/node_modules/@nervekit/harness/dist/harness/run/continuation.d.ts.map +1 -0
  195. package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.js → run/continuation.js} +6 -6
  196. package/node_modules/@nervekit/harness/dist/harness/run/continuation.js.map +1 -0
  197. package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.d.ts → run/conversation-writes.d.ts} +3 -3
  198. package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.d.ts.map +1 -0
  199. package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.js.map +1 -0
  200. package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts +42 -0
  201. package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts.map +1 -0
  202. package/node_modules/@nervekit/harness/dist/harness/run/execution.js +118 -0
  203. package/node_modules/@nervekit/harness/dist/harness/run/execution.js.map +1 -0
  204. package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts +1 -1
  205. package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts.map +1 -1
  206. package/node_modules/@nervekit/harness/dist/index.d.ts +22 -13
  207. package/node_modules/@nervekit/harness/dist/index.d.ts.map +1 -1
  208. package/node_modules/@nervekit/harness/dist/index.js +22 -13
  209. package/node_modules/@nervekit/harness/dist/index.js.map +1 -1
  210. package/node_modules/@nervekit/harness/dist/models/image-normalization.d.ts.map +1 -0
  211. package/node_modules/@nervekit/harness/dist/models/image-normalization.js.map +1 -0
  212. package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts +4 -0
  213. package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts.map +1 -0
  214. package/node_modules/@nervekit/harness/dist/models/prompt-stream.js +23 -0
  215. package/node_modules/@nervekit/harness/dist/models/prompt-stream.js.map +1 -0
  216. package/node_modules/@nervekit/harness/dist/{pi-ai-models.d.ts → models/provider-registry.d.ts} +1 -1
  217. package/node_modules/@nervekit/harness/dist/models/provider-registry.d.ts.map +1 -0
  218. package/node_modules/@nervekit/harness/dist/{pi-ai-models.js → models/provider-registry.js} +1 -1
  219. package/node_modules/@nervekit/harness/dist/models/provider-registry.js.map +1 -0
  220. package/node_modules/@nervekit/harness/dist/models/resolution.d.ts +17 -0
  221. package/node_modules/@nervekit/harness/dist/models/resolution.d.ts.map +1 -0
  222. package/node_modules/@nervekit/harness/dist/{runtime.js → models/resolution.js} +5 -74
  223. package/node_modules/@nervekit/harness/dist/models/resolution.js.map +1 -0
  224. package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts +10 -0
  225. package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts.map +1 -0
  226. package/node_modules/@nervekit/harness/dist/models/scripted-provider.js +55 -0
  227. package/node_modules/@nervekit/harness/dist/models/scripted-provider.js.map +1 -0
  228. package/node_modules/@nervekit/harness/dist/{runtime.d.ts → models/types.d.ts} +3 -23
  229. package/node_modules/@nervekit/harness/dist/models/types.d.ts.map +1 -0
  230. package/node_modules/@nervekit/harness/dist/{harness/env → models}/types.js.map +1 -1
  231. package/node_modules/@nervekit/harness/dist/node.d.ts +1 -1
  232. package/node_modules/@nervekit/harness/dist/node.d.ts.map +1 -1
  233. package/node_modules/@nervekit/harness/dist/node.js +1 -1
  234. package/node_modules/@nervekit/harness/dist/node.js.map +1 -1
  235. package/node_modules/@nervekit/harness/dist/{proxy.d.ts → transport/proxy.d.ts} +1 -1
  236. package/node_modules/@nervekit/harness/dist/transport/proxy.d.ts.map +1 -0
  237. package/node_modules/@nervekit/harness/dist/transport/proxy.js.map +1 -0
  238. package/node_modules/@nervekit/harness/package.json +3 -3
  239. package/node_modules/@nervekit/host-runtime/dist/task-service.d.ts +1 -2
  240. package/node_modules/@nervekit/host-runtime/dist/task-service.d.ts.map +1 -1
  241. package/node_modules/@nervekit/host-runtime/dist/task-service.js +21 -6
  242. package/node_modules/@nervekit/host-runtime/dist/task-service.js.map +1 -1
  243. package/node_modules/@nervekit/host-runtime/package.json +4 -4
  244. package/node_modules/@nervekit/protocol/package.json +2 -2
  245. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts +2 -0
  246. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts.map +1 -0
  247. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js +59 -0
  248. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js.map +1 -0
  249. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts +17 -0
  250. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts.map +1 -0
  251. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js +162 -0
  252. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js.map +1 -0
  253. package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts +15 -0
  254. package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts.map +1 -0
  255. package/node_modules/@nervekit/tools/dist/execution/common/live-output.js +47 -0
  256. package/node_modules/@nervekit/tools/dist/execution/common/live-output.js.map +1 -0
  257. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts +5 -1
  258. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts.map +1 -1
  259. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js +24 -10
  260. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js.map +1 -1
  261. package/node_modules/@nervekit/tools/dist/execution/confluence/files.d.ts.map +1 -1
  262. package/node_modules/@nervekit/tools/dist/execution/confluence/files.js +2 -2
  263. package/node_modules/@nervekit/tools/dist/execution/confluence/files.js.map +1 -1
  264. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts +1 -1
  265. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts.map +1 -1
  266. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js +6 -31
  267. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js.map +1 -1
  268. package/node_modules/@nervekit/tools/dist/execution/index.d.ts +2 -1
  269. package/node_modules/@nervekit/tools/dist/execution/index.d.ts.map +1 -1
  270. package/node_modules/@nervekit/tools/dist/execution/index.js +2 -1
  271. package/node_modules/@nervekit/tools/dist/execution/index.js.map +1 -1
  272. package/node_modules/@nervekit/tools/dist/execution/python/python.js +7 -12
  273. package/node_modules/@nervekit/tools/dist/execution/python/python.js.map +1 -1
  274. package/node_modules/@nervekit/tools/dist/execution/shell/bash.d.ts.map +1 -1
  275. package/node_modules/@nervekit/tools/dist/execution/shell/bash.js +8 -13
  276. package/node_modules/@nervekit/tools/dist/execution/shell/bash.js.map +1 -1
  277. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.d.ts.map +1 -1
  278. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js +49 -4
  279. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js.map +1 -1
  280. package/node_modules/@nervekit/tools/dist/index.d.ts +1 -1
  281. package/node_modules/@nervekit/tools/dist/index.d.ts.map +1 -1
  282. package/node_modules/@nervekit/tools/dist/index.js +1 -1
  283. package/node_modules/@nervekit/tools/dist/index.js.map +1 -1
  284. package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js +3 -3
  285. package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js.map +1 -1
  286. package/node_modules/@nervekit/tools/dist/runtime/types.d.ts +1 -1
  287. package/node_modules/@nervekit/tools/dist/runtime/types.d.ts.map +1 -1
  288. package/node_modules/@nervekit/tools/dist/runtime/types.js.map +1 -1
  289. package/node_modules/@nervekit/tools/dist/types.d.ts +1 -1
  290. package/node_modules/@nervekit/tools/dist/types.d.ts.map +1 -1
  291. package/node_modules/@nervekit/tools/package.json +2 -2
  292. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.d.ts.map +1 -1
  293. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js +8 -0
  294. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js.map +1 -1
  295. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts +5 -0
  296. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts.map +1 -1
  297. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js +10 -4
  298. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js.map +1 -1
  299. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts +3 -1
  300. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts.map +1 -1
  301. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js +7 -1
  302. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js.map +1 -1
  303. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.d.ts.map +1 -1
  304. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js +2 -1
  305. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js.map +1 -1
  306. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts +1 -1
  307. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts.map +1 -1
  308. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js +5 -5
  309. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js.map +1 -1
  310. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.d.ts.map +1 -1
  311. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js +5 -3
  312. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js.map +1 -1
  313. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.d.ts.map +1 -1
  314. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js +3 -3
  315. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js.map +1 -1
  316. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.d.ts.map +1 -1
  317. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js +5 -7
  318. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js.map +1 -1
  319. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts +5 -1
  320. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts.map +1 -1
  321. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js +210 -145
  322. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js.map +1 -1
  323. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.d.ts.map +1 -1
  324. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js +2 -3
  325. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js.map +1 -1
  326. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts.map +1 -1
  327. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.js +23 -4
  328. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.js.map +1 -1
  329. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts +3 -3
  330. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts.map +1 -1
  331. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts +17 -0
  332. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts.map +1 -0
  333. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js +75 -0
  334. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js.map +1 -0
  335. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts +1 -1
  336. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts.map +1 -1
  337. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js +5 -31
  338. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js.map +1 -1
  339. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts +5 -1
  340. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts.map +1 -1
  341. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js +15 -7
  342. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js.map +1 -1
  343. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts +17 -1
  344. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts.map +1 -1
  345. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js +44 -4
  346. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js.map +1 -1
  347. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts +1 -0
  348. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts.map +1 -1
  349. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js +16 -0
  350. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js.map +1 -1
  351. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts +2 -0
  352. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts.map +1 -1
  353. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js +9 -2
  354. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js.map +1 -1
  355. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts +1 -0
  356. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts.map +1 -1
  357. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js +20 -4
  358. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js.map +1 -1
  359. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts +8 -0
  360. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts.map +1 -1
  361. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js +26 -0
  362. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js.map +1 -1
  363. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts +2 -0
  364. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts.map +1 -1
  365. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js +49 -0
  366. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js.map +1 -1
  367. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts +7 -3
  368. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts.map +1 -1
  369. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js +67 -21
  370. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js.map +1 -1
  371. package/node_modules/@nervekit/workbench-server/dist/main.js +21 -14
  372. package/node_modules/@nervekit/workbench-server/dist/main.js.map +1 -1
  373. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.d.ts.map +1 -1
  374. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js +3 -11
  375. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js.map +1 -1
  376. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts +17 -0
  377. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts.map +1 -0
  378. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js +54 -0
  379. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js.map +1 -0
  380. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts +505 -0
  381. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts.map +1 -0
  382. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js +88 -0
  383. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js.map +1 -0
  384. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts +433 -0
  385. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts.map +1 -0
  386. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js +24 -0
  387. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js.map +1 -0
  388. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts +400 -0
  389. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts.map +1 -0
  390. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js +68 -0
  391. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js.map +1 -0
  392. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts +1099 -0
  393. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts.map +1 -0
  394. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js +127 -0
  395. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js.map +1 -0
  396. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts +910 -0
  397. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts.map +1 -0
  398. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js +82 -0
  399. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js.map +1 -0
  400. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts +3 -1
  401. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts.map +1 -1
  402. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js +18 -566
  403. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js.map +1 -1
  404. package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js +1 -1
  405. package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js.map +1 -1
  406. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts +13 -1
  407. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts.map +1 -1
  408. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js +72 -18
  409. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js.map +1 -1
  410. package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-CUNRgpDl.js → dist-CFWIYh0s.js} +1 -1
  411. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-maZKRPqe.css +1 -0
  412. package/node_modules/@nervekit/workbench-server/dist/web/assets/{index-CEGKY4zN.js → index-uoIbQOdM.js} +145 -144
  413. package/node_modules/@nervekit/workbench-server/dist/web/index.html +31 -2
  414. package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
  415. package/node_modules/@nervekit/workbench-server/package.json +5 -5
  416. package/package.json +8 -8
  417. package/node_modules/@nervekit/harness/dist/agent-loop.d.ts +0 -2
  418. package/node_modules/@nervekit/harness/dist/agent-loop.d.ts.map +0 -1
  419. package/node_modules/@nervekit/harness/dist/agent-loop.js +0 -2
  420. package/node_modules/@nervekit/harness/dist/agent-loop.js.map +0 -1
  421. package/node_modules/@nervekit/harness/dist/agent.d.ts.map +0 -1
  422. package/node_modules/@nervekit/harness/dist/agent.js.map +0 -1
  423. package/node_modules/@nervekit/harness/dist/harness/configuration.d.ts.map +0 -1
  424. package/node_modules/@nervekit/harness/dist/harness/configuration.js.map +0 -1
  425. package/node_modules/@nervekit/harness/dist/harness/conversation-writes.d.ts.map +0 -1
  426. package/node_modules/@nervekit/harness/dist/harness/conversation-writes.js.map +0 -1
  427. package/node_modules/@nervekit/harness/dist/harness/env/nodejs.d.ts.map +0 -1
  428. package/node_modules/@nervekit/harness/dist/harness/env/nodejs.js.map +0 -1
  429. package/node_modules/@nervekit/harness/dist/harness/env/types.d.ts.map +0 -1
  430. package/node_modules/@nervekit/harness/dist/harness/events.d.ts.map +0 -1
  431. package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.d.ts.map +0 -1
  432. package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.js.map +0 -1
  433. package/node_modules/@nervekit/harness/dist/harness/harness-continuation.d.ts.map +0 -1
  434. package/node_modules/@nervekit/harness/dist/harness/harness-continuation.js.map +0 -1
  435. package/node_modules/@nervekit/harness/dist/harness/harness-events.d.ts.map +0 -1
  436. package/node_modules/@nervekit/harness/dist/harness/harness-events.js.map +0 -1
  437. package/node_modules/@nervekit/harness/dist/harness/harness-invocations.d.ts.map +0 -1
  438. package/node_modules/@nervekit/harness/dist/harness/harness-invocations.js.map +0 -1
  439. package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.d.ts.map +0 -1
  440. package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.js.map +0 -1
  441. package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.d.ts.map +0 -1
  442. package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.js.map +0 -1
  443. package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.d.ts.map +0 -1
  444. package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.js.map +0 -1
  445. package/node_modules/@nervekit/harness/dist/harness/options.d.ts.map +0 -1
  446. package/node_modules/@nervekit/harness/dist/harness/options.js.map +0 -1
  447. package/node_modules/@nervekit/harness/dist/harness/prompt-templates.d.ts.map +0 -1
  448. package/node_modules/@nervekit/harness/dist/harness/prompt-templates.js.map +0 -1
  449. package/node_modules/@nervekit/harness/dist/harness/skills/format.d.ts.map +0 -1
  450. package/node_modules/@nervekit/harness/dist/harness/skills/format.js.map +0 -1
  451. package/node_modules/@nervekit/harness/dist/harness/skills/index.d.ts.map +0 -1
  452. package/node_modules/@nervekit/harness/dist/harness/skills/index.js.map +0 -1
  453. package/node_modules/@nervekit/harness/dist/harness/skills/loader.d.ts.map +0 -1
  454. package/node_modules/@nervekit/harness/dist/harness/skills/loader.js.map +0 -1
  455. package/node_modules/@nervekit/harness/dist/harness/skills/parser.d.ts.map +0 -1
  456. package/node_modules/@nervekit/harness/dist/harness/skills/parser.js.map +0 -1
  457. package/node_modules/@nervekit/harness/dist/harness/skills/validation.d.ts.map +0 -1
  458. package/node_modules/@nervekit/harness/dist/harness/skills/validation.js.map +0 -1
  459. package/node_modules/@nervekit/harness/dist/harness/skills.d.ts +0 -2
  460. package/node_modules/@nervekit/harness/dist/harness/skills.d.ts.map +0 -1
  461. package/node_modules/@nervekit/harness/dist/harness/skills.js +0 -2
  462. package/node_modules/@nervekit/harness/dist/harness/skills.js.map +0 -1
  463. package/node_modules/@nervekit/harness/dist/harness/stream-options.d.ts.map +0 -1
  464. package/node_modules/@nervekit/harness/dist/harness/stream-options.js.map +0 -1
  465. package/node_modules/@nervekit/harness/dist/harness/system-prompt.d.ts.map +0 -1
  466. package/node_modules/@nervekit/harness/dist/harness/system-prompt.js.map +0 -1
  467. package/node_modules/@nervekit/harness/dist/harness/turn-state.d.ts.map +0 -1
  468. package/node_modules/@nervekit/harness/dist/harness/turn-state.js.map +0 -1
  469. package/node_modules/@nervekit/harness/dist/harness/types.d.ts +0 -9
  470. package/node_modules/@nervekit/harness/dist/harness/types.d.ts.map +0 -1
  471. package/node_modules/@nervekit/harness/dist/harness/types.js +0 -8
  472. package/node_modules/@nervekit/harness/dist/harness/types.js.map +0 -1
  473. package/node_modules/@nervekit/harness/dist/harness/utils/env-path.d.ts.map +0 -1
  474. package/node_modules/@nervekit/harness/dist/harness/utils/env-path.js.map +0 -1
  475. package/node_modules/@nervekit/harness/dist/pi-ai-models.d.ts.map +0 -1
  476. package/node_modules/@nervekit/harness/dist/pi-ai-models.js.map +0 -1
  477. package/node_modules/@nervekit/harness/dist/proxy.d.ts.map +0 -1
  478. package/node_modules/@nervekit/harness/dist/proxy.js.map +0 -1
  479. package/node_modules/@nervekit/harness/dist/runtime/image-normalization.d.ts.map +0 -1
  480. package/node_modules/@nervekit/harness/dist/runtime/image-normalization.js.map +0 -1
  481. package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.d.ts.map +0 -1
  482. package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.js.map +0 -1
  483. package/node_modules/@nervekit/harness/dist/runtime/loop/events.d.ts.map +0 -1
  484. package/node_modules/@nervekit/harness/dist/runtime/loop/events.js.map +0 -1
  485. package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts +0 -6
  486. package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts.map +0 -1
  487. package/node_modules/@nervekit/harness/dist/runtime/loop/index.js +0 -6
  488. package/node_modules/@nervekit/harness/dist/runtime/loop/index.js.map +0 -1
  489. package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.d.ts.map +0 -1
  490. package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.js.map +0 -1
  491. package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.d.ts.map +0 -1
  492. package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.js.map +0 -1
  493. package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.d.ts.map +0 -1
  494. package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.js.map +0 -1
  495. package/node_modules/@nervekit/harness/dist/runtime.d.ts.map +0 -1
  496. package/node_modules/@nervekit/harness/dist/runtime.js.map +0 -1
  497. package/node_modules/@nervekit/harness/dist/suspension.d.ts.map +0 -1
  498. package/node_modules/@nervekit/harness/dist/suspension.js.map +0 -1
  499. package/node_modules/@nervekit/harness/dist/tool-adapter.d.ts.map +0 -1
  500. package/node_modules/@nervekit/harness/dist/tool-adapter.js.map +0 -1
  501. package/node_modules/@nervekit/harness/dist/types.d.ts.map +0 -1
  502. package/node_modules/@nervekit/harness/dist/types.js.map +0 -1
  503. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts +0 -114
  504. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts.map +0 -1
  505. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js +0 -452
  506. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js.map +0 -1
  507. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-oDY02_0Y.css +0 -2
  508. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.js +0 -0
  509. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.js +0 -0
  510. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.js +0 -0
  511. /package/node_modules/@nervekit/harness/dist/{suspension.js → agent/suspension.js} +0 -0
  512. /package/node_modules/@nervekit/harness/dist/{tool-adapter.js → agent/tool-adapter.js} +0 -0
  513. /package/node_modules/@nervekit/harness/dist/harness/{options.js → configuration/options.js} +0 -0
  514. /package/node_modules/@nervekit/harness/dist/harness/{stream-options.d.ts → configuration/stream-options.d.ts} +0 -0
  515. /package/node_modules/@nervekit/harness/dist/harness/{stream-options.js → configuration/stream-options.js} +0 -0
  516. /package/node_modules/@nervekit/harness/dist/harness/{turn-state.js → configuration/turn-state.js} +0 -0
  517. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.d.ts +0 -0
  518. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.js +0 -0
  519. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.d.ts +0 -0
  520. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.js +0 -0
  521. /package/node_modules/@nervekit/harness/dist/harness/{events.js → lifecycle/events.js} +0 -0
  522. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.d.ts +0 -0
  523. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.js +0 -0
  524. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.d.ts +0 -0
  525. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.js +0 -0
  526. /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.d.ts → resources/system-prompt.d.ts} +0 -0
  527. /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.js → resources/system-prompt.js} +0 -0
  528. /package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.js → run/conversation-writes.js} +0 -0
  529. /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.d.ts +0 -0
  530. /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.js +0 -0
  531. /package/node_modules/@nervekit/harness/dist/{types.js → models/types.js} +0 -0
  532. /package/node_modules/@nervekit/harness/dist/{proxy.js → transport/proxy.js} +0 -0
@@ -0,0 +1,400 @@
1
+ export declare const interactionMethodHandlers: {
2
+ readonly "tool.list": (state: import("../../app/orchestrator-state.js").OrchestratorState) => {
3
+ tools: {
4
+ name: "bash" | "python_exec" | "web_search" | "web_fetch" | "find" | "read" | "explore" | "edit" | "write" | "grep" | "ls" | "ask_user" | "todos_set" | "todos_get" | "jira_search_users" | "jira_search_issues" | "jira_get_issue" | "jira_get_project" | "jira_create_issue" | "jira_update_issue" | "jira_add_comment" | "jira_transition_issue" | "confluence_search_spaces" | "confluence_search_pages" | "confluence_get_page" | "confluence_download_pages" | "confluence_create_page" | "confluence_update_page" | "confluence_publish_pages" | "confluence_upload_attachment" | "task_start" | "task_status" | "task_logs" | "task_cancel" | "task_restart" | "plan_mode_enter" | "plan_mode_present" | "plan_mode_force_exit";
5
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
6
+ description: string;
7
+ group: "input" | "jira" | "confluence" | "python" | "web" | "shell" | "explore" | "todos" | "fileInspection" | "fileEditing" | "taskManagement" | "planMode";
8
+ executionKind: "host" | "local";
9
+ traits: ("write_capable" | "read_only_network" | "long_running" | "credentialed" | "suspending")[];
10
+ }[];
11
+ };
12
+ readonly "toolCall.list": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
13
+ status?: "error" | "running" | "denied" | "completed" | "requested" | "pending_approval" | "waiting_for_user" | undefined;
14
+ limit?: number | undefined;
15
+ } | undefined) => {
16
+ toolCalls: {
17
+ status: "error" | "running" | "denied" | "completed" | "requested" | "pending_approval" | "waiting_for_user";
18
+ id: string;
19
+ projectId: string;
20
+ conversationId: string;
21
+ agentId: string;
22
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
23
+ toolName: string;
24
+ cwd: string;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ runId?: string | undefined;
28
+ sourceToolCallId?: string | undefined;
29
+ providerToolCallId?: string | undefined;
30
+ turnId?: string | undefined;
31
+ liveMessageId?: string | undefined;
32
+ contentIndex?: number | undefined;
33
+ hidden?: boolean | undefined;
34
+ approvalId?: string | undefined;
35
+ suspensionId?: string | undefined;
36
+ argsPreview?: unknown;
37
+ resultPreview?: unknown;
38
+ error?: string | undefined;
39
+ errorDetails?: {
40
+ code: string;
41
+ message: string;
42
+ retryable?: boolean | undefined;
43
+ details?: Record<string, unknown> | undefined;
44
+ } | undefined;
45
+ previewOverflow?: {
46
+ hidden: number;
47
+ noun: string;
48
+ direction: "head" | "tail" | "mixed";
49
+ } | undefined;
50
+ }[];
51
+ };
52
+ readonly "toolCall.get": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
53
+ toolCallId: string;
54
+ conversationId?: string | undefined;
55
+ agentId?: string | undefined;
56
+ runId?: string | undefined;
57
+ }) => {
58
+ toolCall: {
59
+ id: string;
60
+ agentId: string;
61
+ conversationId: string;
62
+ projectId: string;
63
+ toolName: string;
64
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
65
+ args: unknown;
66
+ cwd: string;
67
+ status: "error" | "running" | "denied" | "completed" | "requested" | "pending_approval" | "waiting_for_user";
68
+ createdAt: string;
69
+ updatedAt: string;
70
+ sourceToolCallId?: string | undefined;
71
+ providerToolCallId?: string | undefined;
72
+ runId?: string | undefined;
73
+ turnId?: string | undefined;
74
+ liveMessageId?: string | undefined;
75
+ contentIndex?: number | undefined;
76
+ hidden?: boolean | undefined;
77
+ approvalId?: string | undefined;
78
+ suspensionId?: string | undefined;
79
+ result?: unknown;
80
+ error?: string | undefined;
81
+ errorDetails?: {
82
+ code: string;
83
+ message: string;
84
+ retryable?: boolean | undefined;
85
+ details?: Record<string, unknown> | undefined;
86
+ } | undefined;
87
+ };
88
+ };
89
+ readonly "approval.list": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
90
+ status?: "pending" | "denied" | "granted" | undefined;
91
+ } | undefined) => {
92
+ approvals: {
93
+ id: string;
94
+ toolCallId: string;
95
+ agentId: string;
96
+ conversationId: string;
97
+ projectId: string;
98
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
99
+ reason: string;
100
+ status: "pending" | "denied" | "granted";
101
+ requestedAt: string;
102
+ resolvedAt?: string | undefined;
103
+ resolutionNote?: string | undefined;
104
+ }[];
105
+ };
106
+ readonly "approval.grant": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
107
+ approvalId: string;
108
+ note?: string | undefined;
109
+ }) => Promise<{
110
+ toolCall: {
111
+ id: string;
112
+ agentId: string;
113
+ conversationId: string;
114
+ projectId: string;
115
+ toolName: string;
116
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
117
+ args: unknown;
118
+ cwd: string;
119
+ status: "error" | "running" | "denied" | "completed" | "requested" | "pending_approval" | "waiting_for_user";
120
+ createdAt: string;
121
+ updatedAt: string;
122
+ sourceToolCallId?: string | undefined;
123
+ providerToolCallId?: string | undefined;
124
+ runId?: string | undefined;
125
+ turnId?: string | undefined;
126
+ liveMessageId?: string | undefined;
127
+ contentIndex?: number | undefined;
128
+ hidden?: boolean | undefined;
129
+ approvalId?: string | undefined;
130
+ suspensionId?: string | undefined;
131
+ result?: unknown;
132
+ error?: string | undefined;
133
+ errorDetails?: {
134
+ code: string;
135
+ message: string;
136
+ retryable?: boolean | undefined;
137
+ details?: Record<string, unknown> | undefined;
138
+ } | undefined;
139
+ };
140
+ }>;
141
+ readonly "approval.deny": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
142
+ approvalId: string;
143
+ note?: string | undefined;
144
+ }) => Promise<{
145
+ toolCall: {
146
+ id: string;
147
+ agentId: string;
148
+ conversationId: string;
149
+ projectId: string;
150
+ toolName: string;
151
+ risk: "read" | "secret" | "command" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
152
+ args: unknown;
153
+ cwd: string;
154
+ status: "error" | "running" | "denied" | "completed" | "requested" | "pending_approval" | "waiting_for_user";
155
+ createdAt: string;
156
+ updatedAt: string;
157
+ sourceToolCallId?: string | undefined;
158
+ providerToolCallId?: string | undefined;
159
+ runId?: string | undefined;
160
+ turnId?: string | undefined;
161
+ liveMessageId?: string | undefined;
162
+ contentIndex?: number | undefined;
163
+ hidden?: boolean | undefined;
164
+ approvalId?: string | undefined;
165
+ suspensionId?: string | undefined;
166
+ result?: unknown;
167
+ error?: string | undefined;
168
+ errorDetails?: {
169
+ code: string;
170
+ message: string;
171
+ retryable?: boolean | undefined;
172
+ details?: Record<string, unknown> | undefined;
173
+ } | undefined;
174
+ };
175
+ }>;
176
+ readonly "userQuestion.list": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
177
+ status?: "pending" | "answered" | "dismissed" | undefined;
178
+ } | undefined) => {
179
+ questions: {
180
+ id: string;
181
+ toolCallId: string;
182
+ agentId: string;
183
+ conversationId: string;
184
+ projectId: string;
185
+ question: string;
186
+ status: "pending" | "answered" | "dismissed";
187
+ requestedAt: string;
188
+ updatedAt: string;
189
+ context?: string | undefined;
190
+ recommendation?: string | undefined;
191
+ placeholder?: string | undefined;
192
+ answer?: string | undefined;
193
+ dismissedReason?: string | undefined;
194
+ resolvedAt?: string | undefined;
195
+ }[];
196
+ };
197
+ readonly "userQuestion.answer": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
198
+ questionId: string;
199
+ answer: string;
200
+ }) => Promise<{
201
+ question: {
202
+ id: string;
203
+ toolCallId: string;
204
+ agentId: string;
205
+ conversationId: string;
206
+ projectId: string;
207
+ question: string;
208
+ status: "pending" | "answered" | "dismissed";
209
+ requestedAt: string;
210
+ updatedAt: string;
211
+ context?: string | undefined;
212
+ recommendation?: string | undefined;
213
+ placeholder?: string | undefined;
214
+ answer?: string | undefined;
215
+ dismissedReason?: string | undefined;
216
+ resolvedAt?: string | undefined;
217
+ };
218
+ }>;
219
+ readonly "userQuestion.dismiss": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
220
+ questionId: string;
221
+ reason?: string | undefined;
222
+ }) => Promise<{
223
+ question: {
224
+ id: string;
225
+ toolCallId: string;
226
+ agentId: string;
227
+ conversationId: string;
228
+ projectId: string;
229
+ question: string;
230
+ status: "pending" | "answered" | "dismissed";
231
+ requestedAt: string;
232
+ updatedAt: string;
233
+ context?: string | undefined;
234
+ recommendation?: string | undefined;
235
+ placeholder?: string | undefined;
236
+ answer?: string | undefined;
237
+ dismissedReason?: string | undefined;
238
+ resolvedAt?: string | undefined;
239
+ };
240
+ }>;
241
+ readonly "planReview.list": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
242
+ status?: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited" | undefined;
243
+ } | undefined) => {
244
+ planReviews: {
245
+ id: string;
246
+ toolCallId: string;
247
+ agentId: string;
248
+ conversationId: string;
249
+ projectId: string;
250
+ slug: string;
251
+ planPath: string;
252
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
253
+ requestedAt: string;
254
+ updatedAt: string;
255
+ title?: string | undefined;
256
+ summary?: string | undefined;
257
+ content?: string | undefined;
258
+ feedback?: string | undefined;
259
+ resolvedAt?: string | undefined;
260
+ }[];
261
+ };
262
+ readonly "planReview.accept": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
263
+ reviewId: string;
264
+ feedback?: string | undefined;
265
+ implementationModel?: {
266
+ provider: string;
267
+ modelId: string;
268
+ } | undefined;
269
+ implementationThinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
270
+ }) => Promise<{
271
+ planReview: {
272
+ id: string;
273
+ toolCallId: string;
274
+ agentId: string;
275
+ conversationId: string;
276
+ projectId: string;
277
+ slug: string;
278
+ planPath: string;
279
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
280
+ requestedAt: string;
281
+ updatedAt: string;
282
+ title?: string | undefined;
283
+ summary?: string | undefined;
284
+ content?: string | undefined;
285
+ feedback?: string | undefined;
286
+ resolvedAt?: string | undefined;
287
+ };
288
+ }>;
289
+ readonly "planReview.acceptInNewChat": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
290
+ reviewId: string;
291
+ feedback?: string | undefined;
292
+ implementationModel?: {
293
+ provider: string;
294
+ modelId: string;
295
+ } | undefined;
296
+ implementationThinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
297
+ }) => Promise<{
298
+ planReview: {
299
+ id: string;
300
+ toolCallId: string;
301
+ agentId: string;
302
+ conversationId: string;
303
+ projectId: string;
304
+ slug: string;
305
+ planPath: string;
306
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
307
+ requestedAt: string;
308
+ updatedAt: string;
309
+ title?: string | undefined;
310
+ summary?: string | undefined;
311
+ content?: string | undefined;
312
+ feedback?: string | undefined;
313
+ resolvedAt?: string | undefined;
314
+ };
315
+ conversation: import("@nervekit/contracts").ConversationRecord;
316
+ agent: import("@nervekit/contracts").AgentRecord;
317
+ }>;
318
+ readonly "planReview.requestChanges": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
319
+ reviewId: string;
320
+ feedback?: string | undefined;
321
+ implementationModel?: {
322
+ provider: string;
323
+ modelId: string;
324
+ } | undefined;
325
+ implementationThinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
326
+ }) => Promise<{
327
+ planReview: {
328
+ id: string;
329
+ toolCallId: string;
330
+ agentId: string;
331
+ conversationId: string;
332
+ projectId: string;
333
+ slug: string;
334
+ planPath: string;
335
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
336
+ requestedAt: string;
337
+ updatedAt: string;
338
+ title?: string | undefined;
339
+ summary?: string | undefined;
340
+ content?: string | undefined;
341
+ feedback?: string | undefined;
342
+ resolvedAt?: string | undefined;
343
+ };
344
+ }>;
345
+ readonly "planReview.reject": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
346
+ reviewId: string;
347
+ feedback?: string | undefined;
348
+ implementationModel?: {
349
+ provider: string;
350
+ modelId: string;
351
+ } | undefined;
352
+ implementationThinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
353
+ }) => Promise<{
354
+ planReview: {
355
+ id: string;
356
+ toolCallId: string;
357
+ agentId: string;
358
+ conversationId: string;
359
+ projectId: string;
360
+ slug: string;
361
+ planPath: string;
362
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
363
+ requestedAt: string;
364
+ updatedAt: string;
365
+ title?: string | undefined;
366
+ summary?: string | undefined;
367
+ content?: string | undefined;
368
+ feedback?: string | undefined;
369
+ resolvedAt?: string | undefined;
370
+ };
371
+ }>;
372
+ readonly "planReview.discard": (state: import("../../app/orchestrator-state.js").OrchestratorState, params: {
373
+ reviewId: string;
374
+ feedback?: string | undefined;
375
+ implementationModel?: {
376
+ provider: string;
377
+ modelId: string;
378
+ } | undefined;
379
+ implementationThinkingLevel?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
380
+ }) => Promise<{
381
+ planReview: {
382
+ id: string;
383
+ toolCallId: string;
384
+ agentId: string;
385
+ conversationId: string;
386
+ projectId: string;
387
+ slug: string;
388
+ planPath: string;
389
+ status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
390
+ requestedAt: string;
391
+ updatedAt: string;
392
+ title?: string | undefined;
393
+ summary?: string | undefined;
394
+ content?: string | undefined;
395
+ feedback?: string | undefined;
396
+ resolvedAt?: string | undefined;
397
+ };
398
+ }>;
399
+ };
400
+ //# sourceMappingURL=interaction-method-handlers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interaction-method-handlers.d.ts","sourceRoot":"","sources":["../../../src/protocol/method-handlers/interaction-method-handlers.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFpC,CAAC"}
@@ -0,0 +1,68 @@
1
+ import { planReviewPreview } from "../../domains/plans/plan-service.js";
2
+ import { toToolCallTranscriptRecord } from "../../domains/tools/tool-call-transcript-preview.js";
3
+ import { defineWorkbenchMethodHandlers } from "../method-handler-registry.js";
4
+ export const interactionMethodHandlers = defineWorkbenchMethodHandlers({
5
+ "tool.list": (state) => ({ tools: state.registry.tools.listTools() }),
6
+ "toolCall.list": (state, params) => {
7
+ let toolCalls = state.registry.tools.listToolCalls();
8
+ if (params?.status) {
9
+ toolCalls = toolCalls.filter((toolCall) => toolCall.status === params.status);
10
+ }
11
+ if (params?.limit !== undefined)
12
+ toolCalls = toolCalls.slice(0, params.limit);
13
+ return { toolCalls: toolCalls.map(toToolCallTranscriptRecord) };
14
+ },
15
+ "toolCall.get": (state, params) => ({
16
+ toolCall: state.registry.tools.getToolCall(params.toolCallId),
17
+ }),
18
+ "approval.list": (state, params) => ({
19
+ approvals: state.registry.tools.listApprovals(params?.status),
20
+ }),
21
+ "approval.grant": async (state, params) => ({
22
+ toolCall: await state.registry.grantApproval(params.approvalId, params.note),
23
+ }),
24
+ "approval.deny": async (state, params) => ({
25
+ toolCall: await state.registry.denyApproval(params.approvalId, params.note),
26
+ }),
27
+ "userQuestion.list": (state, params) => ({
28
+ questions: state.registry.listUserQuestions(params?.status),
29
+ }),
30
+ "userQuestion.answer": async (state, params) => ({
31
+ question: await state.registry.answerUserQuestion(params.questionId, params.answer),
32
+ }),
33
+ "userQuestion.dismiss": async (state, params) => ({
34
+ question: await state.registry.dismissUserQuestion(params.questionId, params.reason),
35
+ }),
36
+ "planReview.list": (state, params) => ({
37
+ planReviews: state.registry
38
+ .listPlanReviews(params?.status)
39
+ .map(planReviewPreview),
40
+ }),
41
+ "planReview.accept": async (state, params) => {
42
+ const planReview = await state.registry.acceptPlanReview(params.reviewId, params.feedback, implementation(params));
43
+ return { planReview: planReviewPreview(planReview) };
44
+ },
45
+ "planReview.acceptInNewChat": async (state, params) => {
46
+ const result = await state.registry.acceptPlanReviewInNewChat(params.reviewId, params.feedback, implementation(params));
47
+ return { ...result, planReview: planReviewPreview(result.planReview) };
48
+ },
49
+ "planReview.requestChanges": async (state, params) => {
50
+ const planReview = await state.registry.requestPlanChanges(params.reviewId, params.feedback);
51
+ return { planReview: planReviewPreview(planReview) };
52
+ },
53
+ "planReview.reject": async (state, params) => {
54
+ const planReview = await state.registry.rejectPlanReview(params.reviewId, params.feedback);
55
+ return { planReview: planReviewPreview(planReview) };
56
+ },
57
+ "planReview.discard": async (state, params) => {
58
+ const planReview = await state.registry.discardPlanReview(params.reviewId, params.feedback);
59
+ return { planReview: planReviewPreview(planReview) };
60
+ },
61
+ });
62
+ function implementation(request) {
63
+ return {
64
+ implementationModel: request.implementationModel,
65
+ implementationThinkingLevel: request.implementationThinkingLevel,
66
+ };
67
+ }
68
+ //# sourceMappingURL=interaction-method-handlers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interaction-method-handlers.js","sourceRoot":"","sources":["../../../src/protocol/method-handlers/interaction-method-handlers.ts"],"names":[],"mappings":"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"}