@nervekit/desktop 0.12.0 → 0.14.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 (1163) hide show
  1. package/README.md +9 -20
  2. package/build/icons/16x16.png +0 -0
  3. package/build/icons/20x20.png +0 -0
  4. package/build/icons/24x24.png +0 -0
  5. package/build/icons/32x32.png +0 -0
  6. package/build/icons/40x40.png +0 -0
  7. package/build/icons/48x48.png +0 -0
  8. package/build/tray/linux/tray-dark.png +0 -0
  9. package/build/tray/linux/tray-light.png +0 -0
  10. package/build/tray/macos/nerveTemplate.png +0 -0
  11. package/build/tray/macos/nerveTemplate@2x.png +0 -0
  12. package/dist/app/startup-sequence.d.ts +28 -0
  13. package/dist/app/startup-sequence.d.ts.map +1 -0
  14. package/dist/app/startup-sequence.js +46 -0
  15. package/dist/app/startup-sequence.js.map +1 -0
  16. package/dist/main.js +56 -31
  17. package/dist/main.js.map +1 -1
  18. package/dist/settings/desktop-settings.d.ts +2 -1
  19. package/dist/settings/desktop-settings.d.ts.map +1 -1
  20. package/dist/settings/desktop-settings.js +7 -3
  21. package/dist/settings/desktop-settings.js.map +1 -1
  22. package/dist/window/initial-zoom.d.ts +3 -0
  23. package/dist/window/initial-zoom.d.ts.map +1 -0
  24. package/dist/window/initial-zoom.js +9 -0
  25. package/dist/window/initial-zoom.js.map +1 -0
  26. package/dist/window/loading-pages.js +2 -2
  27. package/node_modules/@nervekit/contracts/dist/core/ids.d.ts +1 -1
  28. package/node_modules/@nervekit/contracts/dist/core/ids.d.ts.map +1 -1
  29. package/node_modules/@nervekit/contracts/dist/core/ids.js.map +1 -1
  30. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.js +7 -7
  31. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.js.map +1 -1
  32. package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts +1 -0
  33. package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts.map +1 -1
  34. package/node_modules/@nervekit/contracts/dist/domains/agents/index.js +1 -0
  35. package/node_modules/@nervekit/contracts/dist/domains/agents/index.js.map +1 -1
  36. package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.d.ts +2 -0
  37. package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.d.ts.map +1 -0
  38. package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.js +62 -0
  39. package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.js.map +1 -0
  40. package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js +1 -1
  41. package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js.map +1 -1
  42. package/node_modules/@nervekit/contracts/dist/domains/auth/auth.operations.schema.js +1 -1
  43. package/node_modules/@nervekit/contracts/dist/domains/auth/auth.operations.schema.js.map +1 -1
  44. package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.d.ts +2 -2
  45. package/node_modules/@nervekit/contracts/dist/domains/completions/completion.operations.schema.js +2 -2
  46. package/node_modules/@nervekit/contracts/dist/domains/completions/completion.operations.schema.js.map +1 -1
  47. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts +2 -1
  48. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts.map +1 -1
  49. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.events.schema.js +3 -1
  50. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.events.schema.js.map +1 -1
  51. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js +15 -10
  52. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js.map +1 -1
  53. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.d.ts.map +1 -1
  54. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.js +2 -3
  55. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.js.map +1 -1
  56. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts +4 -0
  57. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts.map +1 -1
  58. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js +11 -10
  59. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js.map +1 -1
  60. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts +68 -43
  61. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts.map +1 -1
  62. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js +35 -3
  63. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js.map +1 -1
  64. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts +2 -0
  65. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts.map +1 -1
  66. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js +5 -5
  67. package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js.map +1 -1
  68. package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js +1 -1
  69. package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js.map +1 -1
  70. package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.d.ts.map +1 -1
  71. package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.js +4 -4
  72. package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.js.map +1 -1
  73. package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.operations.schema.d.ts +2 -2
  74. package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.operations.schema.js +1 -1
  75. package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.operations.schema.js.map +1 -1
  76. package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.schema.d.ts +4 -4
  77. package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.d.ts +1 -1
  78. package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.js +17 -17
  79. package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.js.map +1 -1
  80. package/node_modules/@nervekit/contracts/dist/domains/git/git.schema.d.ts +2 -2
  81. package/node_modules/@nervekit/contracts/dist/domains/logs/logs.operations.schema.js +1 -1
  82. package/node_modules/@nervekit/contracts/dist/domains/logs/logs.operations.schema.js.map +1 -1
  83. package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.d.ts +7 -8
  84. package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.d.ts.map +1 -1
  85. package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.js +5 -6
  86. package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.js.map +1 -1
  87. package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.js +1 -1
  88. package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.js.map +1 -1
  89. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.d.ts +30 -50
  90. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.d.ts.map +1 -1
  91. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.js +14 -45
  92. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.js.map +1 -1
  93. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.d.ts +16 -0
  94. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.d.ts.map +1 -1
  95. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.js +3 -0
  96. package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.js.map +1 -1
  97. package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.d.ts +0 -1
  98. package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.d.ts.map +1 -1
  99. package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.js +1 -2
  100. package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.js.map +1 -1
  101. package/node_modules/@nervekit/contracts/dist/domains/projects/project.operations.schema.js +6 -6
  102. package/node_modules/@nervekit/contracts/dist/domains/projects/project.operations.schema.js.map +1 -1
  103. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.d.ts +11 -0
  104. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.d.ts.map +1 -1
  105. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.js +10 -1
  106. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.js.map +1 -1
  107. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.d.ts +67 -0
  108. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.d.ts.map +1 -1
  109. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.js +6 -4
  110. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.js.map +1 -1
  111. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts +80 -0
  112. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts.map +1 -1
  113. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.js +55 -1
  114. package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.js.map +1 -1
  115. package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.d.ts +0 -12
  116. package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.d.ts.map +1 -1
  117. package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.js +0 -2
  118. package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.js.map +1 -1
  119. package/node_modules/@nervekit/contracts/dist/domains/protocol/errors.schema.d.ts +0 -4
  120. package/node_modules/@nervekit/contracts/dist/domains/protocol/errors.schema.d.ts.map +1 -1
  121. package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.d.ts +0 -4
  122. package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.d.ts.map +1 -1
  123. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts +34 -82
  124. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts.map +1 -1
  125. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts +18 -88
  126. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts.map +1 -1
  127. package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts +0 -4
  128. package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts.map +1 -1
  129. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts +638 -7027
  130. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts.map +1 -1
  131. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.js +2 -4
  132. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.js.map +1 -1
  133. package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.d.ts +2 -26
  134. package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.d.ts.map +1 -1
  135. package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts +55 -7
  136. package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts.map +1 -1
  137. package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.d.ts +0 -8
  138. package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.d.ts.map +1 -1
  139. package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.d.ts +24 -24
  140. package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.js +5 -5
  141. package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.js.map +1 -1
  142. package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts +14 -14
  143. package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.d.ts +13 -13
  144. package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.js +2 -2
  145. package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.js.map +1 -1
  146. package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts +28 -4
  147. package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts.map +1 -1
  148. package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.js +2 -2
  149. package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.js.map +1 -1
  150. package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.d.ts +14 -14
  151. package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.js +6 -6
  152. package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.js.map +1 -1
  153. package/node_modules/@nervekit/contracts/dist/domains/storage/storage.schema.d.ts +27 -27
  154. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.d.ts +3 -0
  155. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.d.ts.map +1 -0
  156. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.js +3 -0
  157. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.js.map +1 -0
  158. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.d.ts +2 -0
  159. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.d.ts.map +1 -0
  160. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.js +10 -0
  161. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.js.map +1 -0
  162. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.d.ts +81 -0
  163. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.d.ts.map +1 -0
  164. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.js +26 -0
  165. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.js.map +1 -0
  166. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.d.ts +50 -0
  167. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.d.ts.map +1 -0
  168. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.js +30 -0
  169. package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.js.map +1 -0
  170. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.d.ts.map +1 -1
  171. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.js +4 -0
  172. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.js.map +1 -1
  173. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.d.ts +315 -10
  174. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.d.ts.map +1 -1
  175. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.js +18 -8
  176. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.js.map +1 -1
  177. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.d.ts +95 -6
  178. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.d.ts.map +1 -1
  179. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.js +27 -0
  180. package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.js.map +1 -1
  181. package/node_modules/@nervekit/contracts/dist/domains/tools/index.d.ts +0 -1
  182. package/node_modules/@nervekit/contracts/dist/domains/tools/index.d.ts.map +1 -1
  183. package/node_modules/@nervekit/contracts/dist/domains/tools/index.js +0 -1
  184. package/node_modules/@nervekit/contracts/dist/domains/tools/index.js.map +1 -1
  185. package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts +45 -18
  186. package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts.map +1 -1
  187. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.d.ts +150 -18
  188. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.d.ts.map +1 -1
  189. package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.d.ts +2 -37
  190. package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.d.ts.map +1 -1
  191. package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.js +15 -19
  192. package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.js.map +1 -1
  193. package/node_modules/@nervekit/contracts/dist/domains/usage/usage.operations.schema.js +1 -1
  194. package/node_modules/@nervekit/contracts/dist/domains/usage/usage.operations.schema.js.map +1 -1
  195. package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.d.ts +2 -2
  196. package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.js +2 -2
  197. package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.js.map +1 -1
  198. package/node_modules/@nervekit/contracts/dist/domains/workers/worker.schema.d.ts +2 -2
  199. package/node_modules/@nervekit/contracts/dist/index.d.ts +1 -1
  200. package/node_modules/@nervekit/contracts/dist/index.d.ts.map +1 -1
  201. package/node_modules/@nervekit/contracts/dist/index.js +1 -1
  202. package/node_modules/@nervekit/contracts/dist/index.js.map +1 -1
  203. package/node_modules/@nervekit/contracts/package.json +2 -3
  204. package/node_modules/@nervekit/harness/dist/{agent.d.ts → agent/agent.d.ts} +2 -2
  205. package/node_modules/@nervekit/harness/dist/agent/agent.d.ts.map +1 -0
  206. package/node_modules/@nervekit/harness/dist/{agent.js → agent/agent.js} +2 -2
  207. package/node_modules/@nervekit/harness/dist/agent/agent.js.map +1 -0
  208. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.d.ts +1 -1
  209. package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.d.ts.map +1 -0
  210. package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.js.map +1 -0
  211. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.d.ts +1 -1
  212. package/node_modules/@nervekit/harness/dist/agent/loop/events.d.ts.map +1 -0
  213. package/node_modules/@nervekit/harness/dist/agent/loop/events.js.map +1 -0
  214. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.d.ts +1 -1
  215. package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.d.ts.map +1 -0
  216. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.js +2 -2
  217. package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.js.map +1 -0
  218. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.d.ts +1 -1
  219. package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.d.ts.map +1 -0
  220. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.js +1 -1
  221. package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.js.map +1 -0
  222. package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.d.ts +1 -1
  223. package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.d.ts.map +1 -0
  224. package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.js.map +1 -0
  225. package/node_modules/@nervekit/harness/dist/{suspension.d.ts → agent/suspension.d.ts} +1 -1
  226. package/node_modules/@nervekit/harness/dist/agent/suspension.d.ts.map +1 -0
  227. package/node_modules/@nervekit/harness/dist/agent/suspension.js.map +1 -0
  228. package/node_modules/@nervekit/harness/dist/{tool-adapter.d.ts → agent/tool-adapter.d.ts} +1 -1
  229. package/node_modules/@nervekit/harness/dist/agent/tool-adapter.d.ts.map +1 -0
  230. package/node_modules/@nervekit/harness/dist/agent/tool-adapter.js.map +1 -0
  231. package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts +83 -0
  232. package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts.map +1 -0
  233. package/node_modules/@nervekit/harness/dist/agent/types/agent.js +2 -0
  234. package/node_modules/@nervekit/harness/dist/agent/types/agent.js.map +1 -0
  235. package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts +26 -0
  236. package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts.map +1 -0
  237. package/node_modules/@nervekit/harness/dist/agent/types/common.js +2 -0
  238. package/node_modules/@nervekit/harness/dist/agent/types/common.js.map +1 -0
  239. package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts +6 -0
  240. package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts.map +1 -0
  241. package/node_modules/@nervekit/harness/dist/agent/types/index.js +6 -0
  242. package/node_modules/@nervekit/harness/dist/agent/types/index.js.map +1 -0
  243. package/node_modules/@nervekit/harness/dist/{types.d.ts → agent/types/loop.d.ts} +5 -197
  244. package/node_modules/@nervekit/harness/dist/agent/types/loop.d.ts.map +1 -0
  245. package/node_modules/@nervekit/harness/dist/agent/types/loop.js +2 -0
  246. package/node_modules/@nervekit/harness/dist/agent/types/loop.js.map +1 -0
  247. package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts +24 -0
  248. package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts.map +1 -0
  249. package/node_modules/@nervekit/harness/dist/agent/types/messages.js +2 -0
  250. package/node_modules/@nervekit/harness/dist/agent/types/messages.js.map +1 -0
  251. package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts +74 -0
  252. package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts.map +1 -0
  253. package/node_modules/@nervekit/harness/dist/agent/types/tools.js +2 -0
  254. package/node_modules/@nervekit/harness/dist/agent/types/tools.js.map +1 -0
  255. package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts +6 -5
  256. package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts.map +1 -1
  257. package/node_modules/@nervekit/harness/dist/harness/agent-harness.js +67 -191
  258. package/node_modules/@nervekit/harness/dist/harness/agent-harness.js.map +1 -1
  259. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts +2 -2
  260. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
  261. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js +1 -1
  262. package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js.map +1 -1
  263. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts +23 -2
  264. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts.map +1 -1
  265. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js +55 -16
  266. package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js.map +1 -1
  267. package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts +1 -1
  268. package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts.map +1 -1
  269. package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts +1 -1
  270. package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts.map +1 -1
  271. package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts +1 -1
  272. package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts.map +1 -1
  273. package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.d.ts → configuration/operations.d.ts} +4 -4
  274. package/node_modules/@nervekit/harness/dist/harness/configuration/operations.d.ts.map +1 -0
  275. package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.js → configuration/operations.js} +5 -5
  276. package/node_modules/@nervekit/harness/dist/harness/configuration/operations.js.map +1 -0
  277. package/node_modules/@nervekit/harness/dist/harness/{options.d.ts → configuration/options.d.ts} +3 -3
  278. package/node_modules/@nervekit/harness/dist/harness/configuration/options.d.ts.map +1 -0
  279. package/node_modules/@nervekit/harness/dist/harness/configuration/options.js.map +1 -0
  280. package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.d.ts.map +1 -0
  281. package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.js.map +1 -0
  282. package/node_modules/@nervekit/harness/dist/harness/{configuration.d.ts → configuration/tools.d.ts} +3 -3
  283. package/node_modules/@nervekit/harness/dist/harness/configuration/tools.d.ts.map +1 -0
  284. package/node_modules/@nervekit/harness/dist/harness/{configuration.js → configuration/tools.js} +2 -2
  285. package/node_modules/@nervekit/harness/dist/harness/configuration/tools.js.map +1 -0
  286. package/node_modules/@nervekit/harness/dist/harness/{turn-state.d.ts → configuration/turn-state.d.ts} +3 -3
  287. package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.d.ts.map +1 -0
  288. package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.js.map +1 -0
  289. package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts +1 -1
  290. package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts.map +1 -1
  291. package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts +1 -1
  292. package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts.map +1 -1
  293. package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts +1 -1
  294. package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts.map +1 -1
  295. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts +1 -1
  296. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts.map +1 -1
  297. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts +1 -1
  298. package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts.map +1 -1
  299. package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.d.ts.map +1 -0
  300. package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.js.map +1 -0
  301. package/node_modules/@nervekit/harness/dist/harness/environment/types.d.ts.map +1 -0
  302. package/node_modules/@nervekit/harness/dist/harness/environment/types.js.map +1 -0
  303. package/node_modules/@nervekit/harness/dist/harness/{harness-events.d.ts → lifecycle/event-hub.d.ts} +4 -4
  304. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.d.ts.map +1 -0
  305. package/node_modules/@nervekit/harness/dist/harness/{harness-events.js → lifecycle/event-hub.js} +4 -4
  306. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.js.map +1 -0
  307. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts +26 -0
  308. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts.map +1 -0
  309. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js +52 -0
  310. package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js.map +1 -0
  311. package/node_modules/@nervekit/harness/dist/harness/{events.d.ts → lifecycle/events.d.ts} +3 -3
  312. package/node_modules/@nervekit/harness/dist/harness/lifecycle/events.d.ts.map +1 -0
  313. package/node_modules/@nervekit/harness/dist/harness/{events.js.map → lifecycle/events.js.map} +1 -1
  314. package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.d.ts → maintenance/operations.d.ts} +5 -5
  315. package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.d.ts.map +1 -0
  316. package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.js → maintenance/operations.js} +6 -6
  317. package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.js.map +1 -0
  318. package/node_modules/@nervekit/harness/dist/harness/messages.d.ts +3 -3
  319. package/node_modules/@nervekit/harness/dist/harness/messages.d.ts.map +1 -1
  320. package/node_modules/@nervekit/harness/dist/harness/messages.js.map +1 -1
  321. package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.d.ts → path-utils.d.ts} +1 -1
  322. package/node_modules/@nervekit/harness/dist/harness/path-utils.d.ts.map +1 -0
  323. package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.js → path-utils.js} +1 -1
  324. package/node_modules/@nervekit/harness/dist/harness/path-utils.js.map +1 -0
  325. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.d.ts → queue/coalescing.d.ts} +3 -3
  326. package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.d.ts.map +1 -0
  327. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.js → queue/coalescing.js} +2 -2
  328. package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.js.map +1 -0
  329. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.d.ts → queue/operations.d.ts} +14 -4
  330. package/node_modules/@nervekit/harness/dist/harness/queue/operations.d.ts.map +1 -0
  331. package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.js → queue/operations.js} +35 -5
  332. package/node_modules/@nervekit/harness/dist/harness/queue/operations.js.map +1 -0
  333. package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.d.ts → resources/invocations.d.ts} +4 -4
  334. package/node_modules/@nervekit/harness/dist/harness/resources/invocations.d.ts.map +1 -0
  335. package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.js → resources/invocations.js} +3 -3
  336. package/node_modules/@nervekit/harness/dist/harness/resources/invocations.js.map +1 -0
  337. package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.d.ts → resources/prompt-templates.d.ts} +2 -2
  338. package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.d.ts.map +1 -0
  339. package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.js → resources/prompt-templates.js} +2 -2
  340. package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.js.map +1 -0
  341. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.d.ts +1 -1
  342. package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.d.ts.map +1 -0
  343. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.js +1 -1
  344. package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.js.map +1 -0
  345. package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.d.ts.map +1 -0
  346. package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.js.map +1 -0
  347. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.d.ts +2 -2
  348. package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.d.ts.map +1 -0
  349. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.js +1 -1
  350. package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.js.map +1 -0
  351. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.d.ts +1 -1
  352. package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.d.ts.map +1 -0
  353. package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.js +1 -1
  354. package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.js.map +1 -0
  355. package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.d.ts.map +1 -0
  356. package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.js.map +1 -0
  357. package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.d.ts.map +1 -0
  358. package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.js.map +1 -0
  359. package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.d.ts → run/continuation.d.ts} +4 -4
  360. package/node_modules/@nervekit/harness/dist/harness/run/continuation.d.ts.map +1 -0
  361. package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.js → run/continuation.js} +6 -6
  362. package/node_modules/@nervekit/harness/dist/harness/run/continuation.js.map +1 -0
  363. package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.d.ts → run/conversation-writes.d.ts} +3 -3
  364. package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.d.ts.map +1 -0
  365. package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.js.map +1 -0
  366. package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts +42 -0
  367. package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts.map +1 -0
  368. package/node_modules/@nervekit/harness/dist/harness/run/execution.js +118 -0
  369. package/node_modules/@nervekit/harness/dist/harness/run/execution.js.map +1 -0
  370. package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts +1 -1
  371. package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts.map +1 -1
  372. package/node_modules/@nervekit/harness/dist/index.d.ts +24 -14
  373. package/node_modules/@nervekit/harness/dist/index.d.ts.map +1 -1
  374. package/node_modules/@nervekit/harness/dist/index.js +23 -13
  375. package/node_modules/@nervekit/harness/dist/index.js.map +1 -1
  376. package/node_modules/@nervekit/harness/dist/models/image-normalization.d.ts.map +1 -0
  377. package/node_modules/@nervekit/harness/dist/models/image-normalization.js.map +1 -0
  378. package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts +4 -0
  379. package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts.map +1 -0
  380. package/node_modules/@nervekit/harness/dist/models/prompt-stream.js +23 -0
  381. package/node_modules/@nervekit/harness/dist/models/prompt-stream.js.map +1 -0
  382. package/node_modules/@nervekit/harness/dist/models/provider-error-classification.d.ts +3 -0
  383. package/node_modules/@nervekit/harness/dist/models/provider-error-classification.d.ts.map +1 -0
  384. package/node_modules/@nervekit/harness/dist/models/provider-error-classification.js +9 -0
  385. package/node_modules/@nervekit/harness/dist/models/provider-error-classification.js.map +1 -0
  386. package/node_modules/@nervekit/harness/dist/{pi-ai-models.d.ts → models/provider-registry.d.ts} +1 -1
  387. package/node_modules/@nervekit/harness/dist/models/provider-registry.d.ts.map +1 -0
  388. package/node_modules/@nervekit/harness/dist/{pi-ai-models.js → models/provider-registry.js} +1 -1
  389. package/node_modules/@nervekit/harness/dist/models/provider-registry.js.map +1 -0
  390. package/node_modules/@nervekit/harness/dist/models/resolution.d.ts +17 -0
  391. package/node_modules/@nervekit/harness/dist/models/resolution.d.ts.map +1 -0
  392. package/node_modules/@nervekit/harness/dist/{runtime.js → models/resolution.js} +5 -74
  393. package/node_modules/@nervekit/harness/dist/models/resolution.js.map +1 -0
  394. package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts +10 -0
  395. package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts.map +1 -0
  396. package/node_modules/@nervekit/harness/dist/models/scripted-provider.js +55 -0
  397. package/node_modules/@nervekit/harness/dist/models/scripted-provider.js.map +1 -0
  398. package/node_modules/@nervekit/harness/dist/{runtime.d.ts → models/types.d.ts} +3 -23
  399. package/node_modules/@nervekit/harness/dist/models/types.d.ts.map +1 -0
  400. package/node_modules/@nervekit/harness/dist/{harness/env → models}/types.js.map +1 -1
  401. package/node_modules/@nervekit/harness/dist/node.d.ts +1 -1
  402. package/node_modules/@nervekit/harness/dist/node.d.ts.map +1 -1
  403. package/node_modules/@nervekit/harness/dist/node.js +1 -1
  404. package/node_modules/@nervekit/harness/dist/node.js.map +1 -1
  405. package/node_modules/@nervekit/harness/dist/{proxy.d.ts → transport/proxy.d.ts} +1 -1
  406. package/node_modules/@nervekit/harness/dist/transport/proxy.d.ts.map +1 -0
  407. package/node_modules/@nervekit/harness/dist/transport/proxy.js.map +1 -0
  408. package/node_modules/@nervekit/harness/package.json +4 -4
  409. package/node_modules/@nervekit/protocol/dist/http-client.d.ts.map +1 -1
  410. package/node_modules/@nervekit/protocol/dist/http-client.js +0 -3
  411. package/node_modules/@nervekit/protocol/dist/http-client.js.map +1 -1
  412. package/node_modules/@nervekit/protocol/dist/rpc.d.ts.map +1 -1
  413. package/node_modules/@nervekit/protocol/dist/rpc.js +0 -3
  414. package/node_modules/@nervekit/protocol/dist/rpc.js.map +1 -1
  415. package/node_modules/@nervekit/protocol/package.json +2 -2
  416. package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.d.ts +1 -1
  417. package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.d.ts.map +1 -1
  418. package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.js +3 -0
  419. package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.js.map +1 -1
  420. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts +2 -0
  421. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts.map +1 -0
  422. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js +59 -0
  423. package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js.map +1 -0
  424. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts +17 -0
  425. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts.map +1 -0
  426. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js +162 -0
  427. package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js.map +1 -0
  428. package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts +15 -0
  429. package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts.map +1 -0
  430. package/node_modules/@nervekit/tools/dist/execution/common/live-output.js +47 -0
  431. package/node_modules/@nervekit/tools/dist/execution/common/live-output.js.map +1 -0
  432. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts +5 -1
  433. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts.map +1 -1
  434. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js +24 -10
  435. package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js.map +1 -1
  436. package/node_modules/@nervekit/tools/dist/execution/confluence/files.d.ts.map +1 -1
  437. package/node_modules/@nervekit/tools/dist/execution/confluence/files.js +2 -2
  438. package/node_modules/@nervekit/tools/dist/execution/confluence/files.js.map +1 -1
  439. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts +1 -1
  440. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts.map +1 -1
  441. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js +6 -31
  442. package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js.map +1 -1
  443. package/node_modules/@nervekit/tools/dist/execution/index.d.ts +2 -1
  444. package/node_modules/@nervekit/tools/dist/execution/index.d.ts.map +1 -1
  445. package/node_modules/@nervekit/tools/dist/execution/index.js +2 -1
  446. package/node_modules/@nervekit/tools/dist/execution/index.js.map +1 -1
  447. package/node_modules/@nervekit/tools/dist/execution/python/python.js +7 -12
  448. package/node_modules/@nervekit/tools/dist/execution/python/python.js.map +1 -1
  449. package/node_modules/@nervekit/tools/dist/execution/shell/bash.d.ts.map +1 -1
  450. package/node_modules/@nervekit/tools/dist/execution/shell/bash.js +8 -13
  451. package/node_modules/@nervekit/tools/dist/execution/shell/bash.js.map +1 -1
  452. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.d.ts.map +1 -1
  453. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js +49 -4
  454. package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js.map +1 -1
  455. package/node_modules/@nervekit/tools/dist/index.d.ts +1 -1
  456. package/node_modules/@nervekit/tools/dist/index.d.ts.map +1 -1
  457. package/node_modules/@nervekit/tools/dist/index.js +1 -1
  458. package/node_modules/@nervekit/tools/dist/index.js.map +1 -1
  459. package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js +3 -3
  460. package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js.map +1 -1
  461. package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.d.ts.map +1 -1
  462. package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.js +3 -0
  463. package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.js.map +1 -1
  464. package/node_modules/@nervekit/tools/dist/runtime/types.d.ts +1 -1
  465. package/node_modules/@nervekit/tools/dist/runtime/types.d.ts.map +1 -1
  466. package/node_modules/@nervekit/tools/dist/runtime/types.js.map +1 -1
  467. package/node_modules/@nervekit/tools/dist/types.d.ts +1 -1
  468. package/node_modules/@nervekit/tools/dist/types.d.ts.map +1 -1
  469. package/node_modules/@nervekit/tools/package.json +3 -3
  470. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.d.ts.map +1 -1
  471. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js +9 -1
  472. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js.map +1 -1
  473. package/node_modules/@nervekit/{host-runtime/dist/index.d.ts → workbench-server/dist/core/ports.d.ts} +1 -14
  474. package/node_modules/@nervekit/workbench-server/dist/core/ports.d.ts.map +1 -0
  475. package/node_modules/@nervekit/workbench-server/dist/core/ports.js +2 -0
  476. package/node_modules/@nervekit/workbench-server/dist/core/ports.js.map +1 -0
  477. package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.js +1 -1
  478. package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.js.map +1 -1
  479. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.d.ts +1 -1
  480. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.d.ts.map +1 -1
  481. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js +1 -1
  482. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js.map +1 -1
  483. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.d.ts +1 -1
  484. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.d.ts.map +1 -1
  485. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.js +1 -1
  486. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.js.map +1 -1
  487. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.d.ts +1 -1
  488. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.d.ts.map +1 -1
  489. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.js +1 -1
  490. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.js.map +1 -1
  491. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts +6 -1
  492. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts.map +1 -1
  493. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js +12 -6
  494. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js.map +1 -1
  495. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-execution-shared.d.ts.map +1 -1
  496. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-execution-shared.js +3 -7
  497. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-execution-shared.js.map +1 -1
  498. package/node_modules/@nervekit/{host-runtime/dist/harness.d.ts → workbench-server/dist/domains/agents/run/harness-factory.d.ts} +1 -2
  499. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-factory.d.ts.map +1 -0
  500. package/node_modules/@nervekit/{host-runtime/dist/harness.js → workbench-server/dist/domains/agents/run/harness-factory.js} +1 -2
  501. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-factory.js.map +1 -0
  502. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-results.d.ts +2 -2
  503. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-results.d.ts.map +1 -1
  504. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.d.ts +2 -2
  505. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.d.ts.map +1 -1
  506. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.js +1 -1
  507. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.js.map +1 -1
  508. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts +1 -1
  509. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts.map +1 -1
  510. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/prompt-block-expansion.d.ts +1 -1
  511. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/prompt-block-expansion.d.ts.map +1 -1
  512. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts +2 -2
  513. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts.map +1 -1
  514. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js +1 -1
  515. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js.map +1 -1
  516. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.d.ts +1 -1
  517. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.d.ts.map +1 -1
  518. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts +7 -5
  519. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts.map +1 -1
  520. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js +8 -2
  521. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js.map +1 -1
  522. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.d.ts +1 -1
  523. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.d.ts.map +1 -1
  524. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js +4 -2
  525. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js.map +1 -1
  526. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts +1 -1
  527. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts.map +1 -1
  528. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js +5 -5
  529. package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js.map +1 -1
  530. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.d.ts +1 -1
  531. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.d.ts.map +1 -1
  532. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.js +1 -1
  533. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.js.map +1 -1
  534. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.d.ts.map +1 -1
  535. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js +5 -3
  536. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js.map +1 -1
  537. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.d.ts.map +1 -1
  538. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js +4 -4
  539. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js.map +1 -1
  540. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.d.ts.map +1 -1
  541. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js +5 -7
  542. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js.map +1 -1
  543. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.d.ts +36 -0
  544. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.d.ts.map +1 -0
  545. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.js +92 -0
  546. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.js.map +1 -0
  547. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts +10 -2
  548. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts.map +1 -1
  549. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js +221 -144
  550. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js.map +1 -1
  551. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.d.ts.map +1 -1
  552. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.js +1 -2
  553. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.js.map +1 -1
  554. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.d.ts +1 -1
  555. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.d.ts.map +1 -1
  556. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.js +1 -1
  557. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.js.map +1 -1
  558. package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-paths.js +1 -1
  559. package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-paths.js.map +1 -1
  560. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.d.ts +1 -0
  561. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.d.ts.map +1 -1
  562. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.js +1 -0
  563. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.js.map +1 -1
  564. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.d.ts +3 -0
  565. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.d.ts.map +1 -0
  566. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.js +95 -0
  567. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.js.map +1 -0
  568. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.d.ts +18 -0
  569. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.d.ts.map +1 -0
  570. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.js +51 -0
  571. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.js.map +1 -0
  572. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.d.ts.map +1 -1
  573. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.js +10 -4
  574. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.js.map +1 -1
  575. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.d.ts +2 -0
  576. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.d.ts.map +1 -1
  577. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.js +39 -11
  578. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.js.map +1 -1
  579. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.d.ts +5 -0
  580. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.d.ts.map +1 -1
  581. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.js.map +1 -1
  582. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.d.ts +10 -3
  583. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.d.ts.map +1 -1
  584. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.js +175 -53
  585. package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.js.map +1 -1
  586. package/node_modules/@nervekit/workbench-server/dist/domains/providers/provider-catalog.store.d.ts +1 -1
  587. package/node_modules/@nervekit/workbench-server/dist/domains/providers/provider-catalog.store.d.ts.map +1 -1
  588. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.d.ts +1 -1
  589. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.d.ts.map +1 -1
  590. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.d.ts +1 -1
  591. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.d.ts.map +1 -1
  592. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.js +1 -1
  593. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.js.map +1 -1
  594. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.d.ts +1 -1
  595. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.d.ts.map +1 -1
  596. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-execution.d.ts +1 -1
  597. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-execution.d.ts.map +1 -1
  598. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-integrity.d.ts +1 -1
  599. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-integrity.d.ts.map +1 -1
  600. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.d.ts +2 -2
  601. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.d.ts.map +1 -1
  602. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-references.d.ts +2 -2
  603. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-references.d.ts.map +1 -1
  604. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.d.ts +1 -1
  605. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.d.ts.map +1 -1
  606. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js +3 -4
  607. package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js.map +1 -1
  608. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.d.ts +16 -0
  609. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.d.ts.map +1 -0
  610. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/index.js +5 -3
  611. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.js.map +1 -0
  612. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-cancellation.d.ts.map +1 -0
  613. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-cancellation.js.map +1 -0
  614. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-checkpoints.d.ts.map +1 -0
  615. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-checkpoints.js.map +1 -0
  616. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-coordinator.d.ts +1 -1
  617. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-coordinator.d.ts.map +1 -0
  618. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-coordinator.js.map +1 -0
  619. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-errors.d.ts.map +1 -0
  620. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-errors.js.map +1 -0
  621. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-events.d.ts +1 -1
  622. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-events.d.ts.map +1 -0
  623. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-events.js +1 -1
  624. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-events.js.map +1 -0
  625. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-execution.d.ts.map +1 -0
  626. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-execution.js.map +1 -0
  627. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-locks.d.ts.map +1 -0
  628. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-locks.js.map +1 -0
  629. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-lookup-index.d.ts.map +1 -0
  630. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-lookup-index.js.map +1 -0
  631. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-prompts.d.ts +1 -1
  632. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-prompts.d.ts.map +1 -0
  633. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-prompts.js.map +1 -0
  634. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-recovery.d.ts.map +1 -0
  635. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-recovery.js.map +1 -0
  636. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-retries.d.ts.map +1 -0
  637. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-retries.js.map +1 -0
  638. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-runtime.d.ts.map +1 -0
  639. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-runtime.js.map +1 -0
  640. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-settlement.d.ts.map +1 -0
  641. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-settlement.js.map +1 -0
  642. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-transitions.d.ts +3 -3
  643. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-transitions.d.ts.map +1 -0
  644. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-transitions.js.map +1 -0
  645. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-unit-of-work.d.ts.map +1 -0
  646. package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-unit-of-work.js.map +1 -0
  647. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.d.ts +1 -1
  648. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.d.ts.map +1 -1
  649. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.d.ts +1 -1
  650. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.d.ts.map +1 -1
  651. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.js +1 -1
  652. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.js.map +1 -1
  653. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-status-projector.d.ts +1 -1
  654. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-status-projector.d.ts.map +1 -1
  655. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.d.ts +1 -1
  656. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.d.ts.map +1 -1
  657. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.js +1 -1
  658. package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.js.map +1 -1
  659. package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.d.ts +1 -1
  660. package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.d.ts.map +1 -1
  661. package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.js +1 -1
  662. package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.js.map +1 -1
  663. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.d.ts +3 -0
  664. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.d.ts.map +1 -0
  665. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.js +3 -0
  666. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.js.map +1 -0
  667. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.d.ts +11 -0
  668. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.d.ts.map +1 -0
  669. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.js +53 -0
  670. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.js.map +1 -0
  671. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.d.ts +15 -0
  672. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.d.ts.map +1 -0
  673. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.js +74 -0
  674. package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.js.map +1 -0
  675. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.d.ts +8 -0
  676. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.d.ts.map +1 -0
  677. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.js +40 -0
  678. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.js.map +1 -0
  679. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.d.ts +3 -0
  680. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.d.ts.map +1 -0
  681. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.js +163 -0
  682. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.js.map +1 -0
  683. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.d.ts +7 -0
  684. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.d.ts.map +1 -0
  685. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.js +7 -0
  686. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.js.map +1 -0
  687. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.d.ts +3 -0
  688. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.d.ts.map +1 -0
  689. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.js +182 -0
  690. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.js.map +1 -0
  691. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.d.ts +4 -0
  692. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.d.ts.map +1 -0
  693. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.js +14 -0
  694. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.js.map +1 -0
  695. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.d.ts +9 -0
  696. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.d.ts.map +1 -0
  697. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.js +63 -0
  698. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.js.map +1 -0
  699. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.d.ts +46 -0
  700. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.d.ts.map +1 -0
  701. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.js +2 -0
  702. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.js.map +1 -0
  703. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.d.ts +3 -0
  704. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.d.ts.map +1 -0
  705. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.js +148 -0
  706. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.js.map +1 -0
  707. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log-query.d.ts.map +1 -0
  708. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log-query.js.map +1 -0
  709. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.js +1 -1
  710. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.js.map +1 -1
  711. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.d.ts.map +1 -1
  712. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.js +8 -2
  713. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.js.map +1 -1
  714. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-service.d.ts +16 -6
  715. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-service.d.ts.map +1 -0
  716. package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-service.js +102 -16
  717. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-service.js.map +1 -0
  718. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.d.ts.map +1 -1
  719. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.js +3 -2
  720. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.js.map +1 -1
  721. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.d.ts +4 -1
  722. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.d.ts.map +1 -1
  723. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.js +16 -7
  724. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.js.map +1 -1
  725. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts +1 -1
  726. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts.map +1 -1
  727. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.js +38 -12
  728. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.js.map +1 -1
  729. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.d.ts +1 -1
  730. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.d.ts.map +1 -1
  731. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.js +12 -2
  732. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.js.map +1 -1
  733. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts +9 -6
  734. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts.map +1 -1
  735. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.js +15 -3
  736. package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.js.map +1 -1
  737. package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.d.ts +1 -1
  738. package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.d.ts.map +1 -1
  739. package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.js +2 -2
  740. package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.js.map +1 -1
  741. package/node_modules/@nervekit/workbench-server/dist/domains/tools/git-mutation-publisher.d.ts.map +1 -0
  742. package/node_modules/@nervekit/workbench-server/dist/domains/tools/git-mutation-publisher.js.map +1 -0
  743. package/node_modules/@nervekit/{host-runtime/dist/tools.d.ts → workbench-server/dist/domains/tools/host-tool-factory.d.ts} +1 -2
  744. package/node_modules/@nervekit/workbench-server/dist/domains/tools/host-tool-factory.d.ts.map +1 -0
  745. package/node_modules/@nervekit/{host-runtime/dist/tools.js → workbench-server/dist/domains/tools/host-tool-factory.js} +1 -2
  746. package/node_modules/@nervekit/workbench-server/dist/domains/tools/host-tool-factory.js.map +1 -0
  747. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts +17 -0
  748. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts.map +1 -0
  749. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js +75 -0
  750. package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js.map +1 -0
  751. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts +2 -2
  752. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts.map +1 -1
  753. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js +6 -32
  754. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js.map +1 -1
  755. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts +6 -2
  756. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts.map +1 -1
  757. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js +17 -8
  758. package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js.map +1 -1
  759. package/node_modules/@nervekit/workbench-server/dist/domains/tools/policy.js +1 -1
  760. package/node_modules/@nervekit/workbench-server/dist/domains/tools/policy.js.map +1 -1
  761. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts +17 -1
  762. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts.map +1 -1
  763. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js +44 -4
  764. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js.map +1 -1
  765. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.d.ts.map +1 -1
  766. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.js +1 -1
  767. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.js.map +1 -1
  768. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.d.ts +1 -1
  769. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.d.ts.map +1 -1
  770. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.js +1 -1
  771. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.js.map +1 -1
  772. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts +1 -0
  773. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts.map +1 -1
  774. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js +17 -1
  775. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js.map +1 -1
  776. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts +2 -0
  777. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts.map +1 -1
  778. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js +9 -2
  779. package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js.map +1 -1
  780. package/node_modules/@nervekit/workbench-server/dist/domains/workers/agent-process.js +1 -1
  781. package/node_modules/@nervekit/workbench-server/dist/domains/workers/agent-process.js.map +1 -1
  782. package/node_modules/@nervekit/workbench-server/dist/domains/workers/worker-manager.d.ts +2 -2
  783. package/node_modules/@nervekit/workbench-server/dist/http/errors.js +1 -1
  784. package/node_modules/@nervekit/workbench-server/dist/http/errors.js.map +1 -1
  785. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts +1 -0
  786. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts.map +1 -1
  787. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js +20 -4
  788. package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js.map +1 -1
  789. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts +8 -0
  790. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts.map +1 -1
  791. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js +26 -0
  792. package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js.map +1 -1
  793. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts +2 -0
  794. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts.map +1 -1
  795. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js +49 -0
  796. package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js.map +1 -1
  797. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts +7 -3
  798. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts.map +1 -1
  799. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js +67 -21
  800. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js.map +1 -1
  801. package/node_modules/@nervekit/workbench-server/dist/main.js +21 -14
  802. package/node_modules/@nervekit/workbench-server/dist/main.js.map +1 -1
  803. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.d.ts.map +1 -1
  804. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js +4 -12
  805. package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js.map +1 -1
  806. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts +17 -0
  807. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts.map +1 -0
  808. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js +54 -0
  809. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js.map +1 -0
  810. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts +505 -0
  811. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts.map +1 -0
  812. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js +88 -0
  813. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js.map +1 -0
  814. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts +433 -0
  815. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts.map +1 -0
  816. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js +24 -0
  817. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js.map +1 -0
  818. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts +400 -0
  819. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts.map +1 -0
  820. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js +68 -0
  821. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js.map +1 -0
  822. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts +1120 -0
  823. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts.map +1 -0
  824. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js +127 -0
  825. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js.map +1 -0
  826. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts +1085 -0
  827. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts.map +1 -0
  828. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js +92 -0
  829. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js.map +1 -0
  830. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts +3 -1
  831. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts.map +1 -1
  832. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js +18 -566
  833. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js.map +1 -1
  834. package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js +1 -1
  835. package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js.map +1 -1
  836. package/node_modules/@nervekit/workbench-server/dist/routes/project-routes.js +11 -11
  837. package/node_modules/@nervekit/workbench-server/dist/routes/project-routes.js.map +1 -1
  838. package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.d.ts.map +1 -1
  839. package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.js +12 -1
  840. package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.js.map +1 -1
  841. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts +3 -3
  842. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts.map +1 -1
  843. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js +23 -9
  844. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js.map +1 -1
  845. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts +172 -18
  846. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts.map +1 -1
  847. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js +117 -29
  848. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js.map +1 -1
  849. package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-CUNRgpDl.js → dist-U4j7h_73.js} +1 -1
  850. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-C7drErUN.css +1 -0
  851. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-Woxp8XqF.js +261 -0
  852. package/node_modules/@nervekit/workbench-server/dist/web/index.html +31 -2
  853. package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
  854. package/node_modules/@nervekit/workbench-server/package.json +8 -7
  855. package/package.json +11 -13
  856. package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.d.ts +0 -12
  857. package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.d.ts.map +0 -1
  858. package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.js +0 -12
  859. package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.js.map +0 -1
  860. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.d.ts +0 -2
  861. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.d.ts.map +0 -1
  862. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js +0 -35
  863. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js.map +0 -1
  864. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.d.ts +0 -2
  865. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.d.ts.map +0 -1
  866. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js +0 -22
  867. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js.map +0 -1
  868. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.d.ts +0 -226
  869. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.d.ts.map +0 -1
  870. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.js +0 -171
  871. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.js.map +0 -1
  872. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.d.ts +0 -6717
  873. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.d.ts.map +0 -1
  874. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.js +0 -781
  875. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.js.map +0 -1
  876. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts +0 -711
  877. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts.map +0 -1
  878. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.js +0 -38
  879. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.js.map +0 -1
  880. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts +0 -1345
  881. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts.map +0 -1
  882. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js +0 -323
  883. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js.map +0 -1
  884. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.d.ts +0 -7
  885. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.d.ts.map +0 -1
  886. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.js +0 -37
  887. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.js.map +0 -1
  888. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts +0 -5424
  889. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts.map +0 -1
  890. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js +0 -699
  891. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js.map +0 -1
  892. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts +0 -6737
  893. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts.map +0 -1
  894. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js +0 -45
  895. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js.map +0 -1
  896. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts +0 -891
  897. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts.map +0 -1
  898. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js +0 -363
  899. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js.map +0 -1
  900. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.d.ts +0 -2284
  901. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.d.ts.map +0 -1
  902. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.js +0 -377
  903. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.js.map +0 -1
  904. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.d.ts +0 -21
  905. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.d.ts.map +0 -1
  906. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.js +0 -323
  907. package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.js.map +0 -1
  908. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.d.ts +0 -39
  909. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.d.ts.map +0 -1
  910. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.js +0 -41
  911. package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.js.map +0 -1
  912. package/node_modules/@nervekit/contracts/schemas/sandbox-config-v1.schema.json +0 -8403
  913. package/node_modules/@nervekit/harness/dist/agent-loop.d.ts +0 -2
  914. package/node_modules/@nervekit/harness/dist/agent-loop.d.ts.map +0 -1
  915. package/node_modules/@nervekit/harness/dist/agent-loop.js +0 -2
  916. package/node_modules/@nervekit/harness/dist/agent-loop.js.map +0 -1
  917. package/node_modules/@nervekit/harness/dist/agent.d.ts.map +0 -1
  918. package/node_modules/@nervekit/harness/dist/agent.js.map +0 -1
  919. package/node_modules/@nervekit/harness/dist/harness/configuration.d.ts.map +0 -1
  920. package/node_modules/@nervekit/harness/dist/harness/configuration.js.map +0 -1
  921. package/node_modules/@nervekit/harness/dist/harness/conversation-writes.d.ts.map +0 -1
  922. package/node_modules/@nervekit/harness/dist/harness/conversation-writes.js.map +0 -1
  923. package/node_modules/@nervekit/harness/dist/harness/env/nodejs.d.ts.map +0 -1
  924. package/node_modules/@nervekit/harness/dist/harness/env/nodejs.js.map +0 -1
  925. package/node_modules/@nervekit/harness/dist/harness/env/types.d.ts.map +0 -1
  926. package/node_modules/@nervekit/harness/dist/harness/events.d.ts.map +0 -1
  927. package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.d.ts.map +0 -1
  928. package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.js.map +0 -1
  929. package/node_modules/@nervekit/harness/dist/harness/harness-continuation.d.ts.map +0 -1
  930. package/node_modules/@nervekit/harness/dist/harness/harness-continuation.js.map +0 -1
  931. package/node_modules/@nervekit/harness/dist/harness/harness-events.d.ts.map +0 -1
  932. package/node_modules/@nervekit/harness/dist/harness/harness-events.js.map +0 -1
  933. package/node_modules/@nervekit/harness/dist/harness/harness-invocations.d.ts.map +0 -1
  934. package/node_modules/@nervekit/harness/dist/harness/harness-invocations.js.map +0 -1
  935. package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.d.ts.map +0 -1
  936. package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.js.map +0 -1
  937. package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.d.ts.map +0 -1
  938. package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.js.map +0 -1
  939. package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.d.ts.map +0 -1
  940. package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.js.map +0 -1
  941. package/node_modules/@nervekit/harness/dist/harness/options.d.ts.map +0 -1
  942. package/node_modules/@nervekit/harness/dist/harness/options.js.map +0 -1
  943. package/node_modules/@nervekit/harness/dist/harness/prompt-templates.d.ts.map +0 -1
  944. package/node_modules/@nervekit/harness/dist/harness/prompt-templates.js.map +0 -1
  945. package/node_modules/@nervekit/harness/dist/harness/skills/format.d.ts.map +0 -1
  946. package/node_modules/@nervekit/harness/dist/harness/skills/format.js.map +0 -1
  947. package/node_modules/@nervekit/harness/dist/harness/skills/index.d.ts.map +0 -1
  948. package/node_modules/@nervekit/harness/dist/harness/skills/index.js.map +0 -1
  949. package/node_modules/@nervekit/harness/dist/harness/skills/loader.d.ts.map +0 -1
  950. package/node_modules/@nervekit/harness/dist/harness/skills/loader.js.map +0 -1
  951. package/node_modules/@nervekit/harness/dist/harness/skills/parser.d.ts.map +0 -1
  952. package/node_modules/@nervekit/harness/dist/harness/skills/parser.js.map +0 -1
  953. package/node_modules/@nervekit/harness/dist/harness/skills/validation.d.ts.map +0 -1
  954. package/node_modules/@nervekit/harness/dist/harness/skills/validation.js.map +0 -1
  955. package/node_modules/@nervekit/harness/dist/harness/skills.d.ts +0 -2
  956. package/node_modules/@nervekit/harness/dist/harness/skills.d.ts.map +0 -1
  957. package/node_modules/@nervekit/harness/dist/harness/skills.js +0 -2
  958. package/node_modules/@nervekit/harness/dist/harness/skills.js.map +0 -1
  959. package/node_modules/@nervekit/harness/dist/harness/stream-options.d.ts.map +0 -1
  960. package/node_modules/@nervekit/harness/dist/harness/stream-options.js.map +0 -1
  961. package/node_modules/@nervekit/harness/dist/harness/system-prompt.d.ts.map +0 -1
  962. package/node_modules/@nervekit/harness/dist/harness/system-prompt.js.map +0 -1
  963. package/node_modules/@nervekit/harness/dist/harness/turn-state.d.ts.map +0 -1
  964. package/node_modules/@nervekit/harness/dist/harness/turn-state.js.map +0 -1
  965. package/node_modules/@nervekit/harness/dist/harness/types.d.ts +0 -9
  966. package/node_modules/@nervekit/harness/dist/harness/types.d.ts.map +0 -1
  967. package/node_modules/@nervekit/harness/dist/harness/types.js +0 -8
  968. package/node_modules/@nervekit/harness/dist/harness/types.js.map +0 -1
  969. package/node_modules/@nervekit/harness/dist/harness/utils/env-path.d.ts.map +0 -1
  970. package/node_modules/@nervekit/harness/dist/harness/utils/env-path.js.map +0 -1
  971. package/node_modules/@nervekit/harness/dist/pi-ai-models.d.ts.map +0 -1
  972. package/node_modules/@nervekit/harness/dist/pi-ai-models.js.map +0 -1
  973. package/node_modules/@nervekit/harness/dist/proxy.d.ts.map +0 -1
  974. package/node_modules/@nervekit/harness/dist/proxy.js.map +0 -1
  975. package/node_modules/@nervekit/harness/dist/runtime/image-normalization.d.ts.map +0 -1
  976. package/node_modules/@nervekit/harness/dist/runtime/image-normalization.js.map +0 -1
  977. package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.d.ts.map +0 -1
  978. package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.js.map +0 -1
  979. package/node_modules/@nervekit/harness/dist/runtime/loop/events.d.ts.map +0 -1
  980. package/node_modules/@nervekit/harness/dist/runtime/loop/events.js.map +0 -1
  981. package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts +0 -6
  982. package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts.map +0 -1
  983. package/node_modules/@nervekit/harness/dist/runtime/loop/index.js +0 -6
  984. package/node_modules/@nervekit/harness/dist/runtime/loop/index.js.map +0 -1
  985. package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.d.ts.map +0 -1
  986. package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.js.map +0 -1
  987. package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.d.ts.map +0 -1
  988. package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.js.map +0 -1
  989. package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.d.ts.map +0 -1
  990. package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.js.map +0 -1
  991. package/node_modules/@nervekit/harness/dist/runtime.d.ts.map +0 -1
  992. package/node_modules/@nervekit/harness/dist/runtime.js.map +0 -1
  993. package/node_modules/@nervekit/harness/dist/suspension.d.ts.map +0 -1
  994. package/node_modules/@nervekit/harness/dist/suspension.js.map +0 -1
  995. package/node_modules/@nervekit/harness/dist/tool-adapter.d.ts.map +0 -1
  996. package/node_modules/@nervekit/harness/dist/tool-adapter.js.map +0 -1
  997. package/node_modules/@nervekit/harness/dist/types.d.ts.map +0 -1
  998. package/node_modules/@nervekit/harness/dist/types.js.map +0 -1
  999. package/node_modules/@nervekit/host-runtime/LICENSE +0 -201
  1000. package/node_modules/@nervekit/host-runtime/NOTICE +0 -5
  1001. package/node_modules/@nervekit/host-runtime/dist/git-mutation-publisher.d.ts.map +0 -1
  1002. package/node_modules/@nervekit/host-runtime/dist/git-mutation-publisher.js.map +0 -1
  1003. package/node_modules/@nervekit/host-runtime/dist/harness-worker.d.ts +0 -2
  1004. package/node_modules/@nervekit/host-runtime/dist/harness-worker.d.ts.map +0 -1
  1005. package/node_modules/@nervekit/host-runtime/dist/harness-worker.js +0 -2
  1006. package/node_modules/@nervekit/host-runtime/dist/harness-worker.js.map +0 -1
  1007. package/node_modules/@nervekit/host-runtime/dist/harness.d.ts.map +0 -1
  1008. package/node_modules/@nervekit/host-runtime/dist/harness.js.map +0 -1
  1009. package/node_modules/@nervekit/host-runtime/dist/index.d.ts.map +0 -1
  1010. package/node_modules/@nervekit/host-runtime/dist/index.js.map +0 -1
  1011. package/node_modules/@nervekit/host-runtime/dist/run-cancellation.d.ts.map +0 -1
  1012. package/node_modules/@nervekit/host-runtime/dist/run-cancellation.js.map +0 -1
  1013. package/node_modules/@nervekit/host-runtime/dist/run-checkpoints.d.ts.map +0 -1
  1014. package/node_modules/@nervekit/host-runtime/dist/run-checkpoints.js.map +0 -1
  1015. package/node_modules/@nervekit/host-runtime/dist/run-coordinator.d.ts.map +0 -1
  1016. package/node_modules/@nervekit/host-runtime/dist/run-coordinator.js.map +0 -1
  1017. package/node_modules/@nervekit/host-runtime/dist/run-errors.d.ts.map +0 -1
  1018. package/node_modules/@nervekit/host-runtime/dist/run-errors.js.map +0 -1
  1019. package/node_modules/@nervekit/host-runtime/dist/run-events.d.ts.map +0 -1
  1020. package/node_modules/@nervekit/host-runtime/dist/run-events.js.map +0 -1
  1021. package/node_modules/@nervekit/host-runtime/dist/run-execution.d.ts.map +0 -1
  1022. package/node_modules/@nervekit/host-runtime/dist/run-execution.js.map +0 -1
  1023. package/node_modules/@nervekit/host-runtime/dist/run-locks.d.ts.map +0 -1
  1024. package/node_modules/@nervekit/host-runtime/dist/run-locks.js.map +0 -1
  1025. package/node_modules/@nervekit/host-runtime/dist/run-lookup-index.d.ts.map +0 -1
  1026. package/node_modules/@nervekit/host-runtime/dist/run-lookup-index.js.map +0 -1
  1027. package/node_modules/@nervekit/host-runtime/dist/run-prompts.d.ts.map +0 -1
  1028. package/node_modules/@nervekit/host-runtime/dist/run-prompts.js.map +0 -1
  1029. package/node_modules/@nervekit/host-runtime/dist/run-recovery.d.ts.map +0 -1
  1030. package/node_modules/@nervekit/host-runtime/dist/run-recovery.js.map +0 -1
  1031. package/node_modules/@nervekit/host-runtime/dist/run-retries.d.ts.map +0 -1
  1032. package/node_modules/@nervekit/host-runtime/dist/run-retries.js.map +0 -1
  1033. package/node_modules/@nervekit/host-runtime/dist/run-runtime.d.ts.map +0 -1
  1034. package/node_modules/@nervekit/host-runtime/dist/run-runtime.js.map +0 -1
  1035. package/node_modules/@nervekit/host-runtime/dist/run-settlement.d.ts.map +0 -1
  1036. package/node_modules/@nervekit/host-runtime/dist/run-settlement.js.map +0 -1
  1037. package/node_modules/@nervekit/host-runtime/dist/run-transitions.d.ts.map +0 -1
  1038. package/node_modules/@nervekit/host-runtime/dist/run-transitions.js.map +0 -1
  1039. package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.d.ts.map +0 -1
  1040. package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.js.map +0 -1
  1041. package/node_modules/@nervekit/host-runtime/dist/task-log-query.d.ts.map +0 -1
  1042. package/node_modules/@nervekit/host-runtime/dist/task-log-query.js.map +0 -1
  1043. package/node_modules/@nervekit/host-runtime/dist/task-service.d.ts.map +0 -1
  1044. package/node_modules/@nervekit/host-runtime/dist/task-service.js.map +0 -1
  1045. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.d.ts +0 -71
  1046. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.d.ts.map +0 -1
  1047. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js +0 -121
  1048. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js.map +0 -1
  1049. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.d.ts +0 -3
  1050. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.d.ts.map +0 -1
  1051. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js +0 -146
  1052. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js.map +0 -1
  1053. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.d.ts +0 -6
  1054. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.d.ts.map +0 -1
  1055. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.js +0 -52
  1056. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.js.map +0 -1
  1057. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts +0 -96
  1058. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts.map +0 -1
  1059. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.js +0 -2
  1060. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.js.map +0 -1
  1061. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.d.ts +0 -10
  1062. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.d.ts.map +0 -1
  1063. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.js +0 -10
  1064. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.js.map +0 -1
  1065. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.d.ts +0 -3
  1066. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.d.ts.map +0 -1
  1067. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.js +0 -150
  1068. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.js.map +0 -1
  1069. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.d.ts +0 -4
  1070. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.d.ts.map +0 -1
  1071. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.js +0 -22
  1072. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.js.map +0 -1
  1073. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.d.ts +0 -3
  1074. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.d.ts.map +0 -1
  1075. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.js +0 -68
  1076. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.js.map +0 -1
  1077. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.d.ts +0 -3
  1078. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.d.ts.map +0 -1
  1079. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.js +0 -93
  1080. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.js.map +0 -1
  1081. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.d.ts +0 -3
  1082. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.d.ts.map +0 -1
  1083. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.js +0 -36
  1084. package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.js.map +0 -1
  1085. package/node_modules/@nervekit/host-runtime/dist/test-support.d.ts +0 -2
  1086. package/node_modules/@nervekit/host-runtime/dist/test-support.d.ts.map +0 -1
  1087. package/node_modules/@nervekit/host-runtime/dist/test-support.js +0 -2
  1088. package/node_modules/@nervekit/host-runtime/dist/test-support.js.map +0 -1
  1089. package/node_modules/@nervekit/host-runtime/dist/tools.d.ts.map +0 -1
  1090. package/node_modules/@nervekit/host-runtime/dist/tools.js.map +0 -1
  1091. package/node_modules/@nervekit/host-runtime/package.json +0 -38
  1092. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts +0 -114
  1093. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts.map +0 -1
  1094. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js +0 -452
  1095. package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js.map +0 -1
  1096. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.d.ts +0 -3
  1097. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.d.ts.map +0 -1
  1098. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.js +0 -3
  1099. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.js.map +0 -1
  1100. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.d.ts +0 -10
  1101. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.d.ts.map +0 -1
  1102. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.js +0 -28
  1103. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.js.map +0 -1
  1104. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.d.ts +0 -13
  1105. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.d.ts.map +0 -1
  1106. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.js +0 -63
  1107. package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.js.map +0 -1
  1108. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-CEGKY4zN.js +0 -260
  1109. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-oDY02_0Y.css +0 -2
  1110. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.js +0 -0
  1111. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.js +0 -0
  1112. /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.js +0 -0
  1113. /package/node_modules/@nervekit/harness/dist/{suspension.js → agent/suspension.js} +0 -0
  1114. /package/node_modules/@nervekit/harness/dist/{tool-adapter.js → agent/tool-adapter.js} +0 -0
  1115. /package/node_modules/@nervekit/harness/dist/harness/{options.js → configuration/options.js} +0 -0
  1116. /package/node_modules/@nervekit/harness/dist/harness/{stream-options.d.ts → configuration/stream-options.d.ts} +0 -0
  1117. /package/node_modules/@nervekit/harness/dist/harness/{stream-options.js → configuration/stream-options.js} +0 -0
  1118. /package/node_modules/@nervekit/harness/dist/harness/{turn-state.js → configuration/turn-state.js} +0 -0
  1119. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.d.ts +0 -0
  1120. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.js +0 -0
  1121. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.d.ts +0 -0
  1122. /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.js +0 -0
  1123. /package/node_modules/@nervekit/harness/dist/harness/{events.js → lifecycle/events.js} +0 -0
  1124. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.d.ts +0 -0
  1125. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.js +0 -0
  1126. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.d.ts +0 -0
  1127. /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.js +0 -0
  1128. /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.d.ts → resources/system-prompt.d.ts} +0 -0
  1129. /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.js → resources/system-prompt.js} +0 -0
  1130. /package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.js → run/conversation-writes.js} +0 -0
  1131. /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.d.ts +0 -0
  1132. /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.js +0 -0
  1133. /package/node_modules/@nervekit/harness/dist/{types.js → models/types.js} +0 -0
  1134. /package/node_modules/@nervekit/harness/dist/{proxy.js → transport/proxy.js} +0 -0
  1135. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-cancellation.d.ts +0 -0
  1136. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-cancellation.js +0 -0
  1137. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-checkpoints.d.ts +0 -0
  1138. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-checkpoints.js +0 -0
  1139. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-coordinator.js +0 -0
  1140. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-errors.d.ts +0 -0
  1141. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-errors.js +0 -0
  1142. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-execution.d.ts +0 -0
  1143. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-execution.js +0 -0
  1144. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-locks.d.ts +0 -0
  1145. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-locks.js +0 -0
  1146. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-lookup-index.d.ts +0 -0
  1147. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-lookup-index.js +0 -0
  1148. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-prompts.js +0 -0
  1149. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-recovery.d.ts +0 -0
  1150. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-recovery.js +0 -0
  1151. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-retries.d.ts +0 -0
  1152. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-retries.js +0 -0
  1153. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-runtime.d.ts +0 -0
  1154. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-runtime.js +0 -0
  1155. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-settlement.d.ts +0 -0
  1156. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-settlement.js +0 -0
  1157. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-transitions.js +0 -0
  1158. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-unit-of-work.d.ts +0 -0
  1159. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-unit-of-work.js +0 -0
  1160. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-log-query.d.ts +0 -0
  1161. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-log-query.js +0 -0
  1162. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tools}/git-mutation-publisher.d.ts +0 -0
  1163. /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tools}/git-mutation-publisher.js +0 -0
@@ -1,146 +0,0 @@
1
- import { assertNoUnresolved, assertSingleTerminal, assertStatus, invariant, } from "./assertions.js";
2
- import { REAL_HOST_PLAN_PATH, } from "./fixture.js";
3
- export async function runCancellationScenarios(fixture) {
4
- let assertions = 0;
5
- await cancellationCase(fixture, { name: "cancel-model", steps: [{ type: "waitForAbort" }] }, async (session, runId) => session.cancel(runId));
6
- assertions += 4;
7
- await cancellationCase(fixture, {
8
- name: "cancel-tool",
9
- permissionLevel: "autonomous",
10
- steps: [
11
- {
12
- type: "toolCall",
13
- id: "parity_long_tool",
14
- name: "bash",
15
- args: {
16
- command: "node -e \"process.on('SIGTERM',()=>{}); Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,5000)\"",
17
- timeout: 10,
18
- },
19
- },
20
- { type: "assistantText", text: "The command should not complete." },
21
- ],
22
- }, async (session, runId) => {
23
- await session.waitForToolStatus(runId, "running");
24
- const startedAt = Date.now();
25
- await session.cancel(runId);
26
- invariant(Date.now() - startedAt < 2_000, "Run cancellation waited for graceful process timeout");
27
- });
28
- assertions += 4;
29
- await cancellationCase(fixture, {
30
- name: "cancel-active-queued-prompt",
31
- permissionLevel: "autonomous",
32
- steps: [
33
- {
34
- type: "toolCall",
35
- id: "parity_active_queue_tool",
36
- name: "bash",
37
- args: {
38
- command: 'node -e "Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,5000)"',
39
- timeout: 10,
40
- },
41
- },
42
- { type: "assistantText", text: "The queued prompt was discarded." },
43
- ],
44
- }, async (session, runId) => {
45
- await session.waitForToolStatus(runId, "running");
46
- const promptId = await session.followUp(runId, "Discard this active queued prompt.");
47
- const accepted = await session.load(runId);
48
- invariant(accepted?.prompts.find((prompt) => prompt.id === promptId)?.status ===
49
- "accepted", "Active queued prompt was not retained as accepted");
50
- await session.cancelPrompt(runId, promptId);
51
- const cancelled = await session.load(runId);
52
- invariant(cancelled?.prompts.find((prompt) => prompt.id === promptId)?.status ===
53
- "cancelled", "Active queued prompt was not cancelled");
54
- await session.cancel(runId);
55
- });
56
- assertions += 6;
57
- await cancellationCase(fixture, {
58
- name: "cancel-queued-prompt",
59
- steps: questionSteps("question_parity_queue"),
60
- }, async (session, runId) => {
61
- await session.waitForStatus(runId, ["waiting"]);
62
- const promptId = await session.followUp(runId, "This queued prompt must be cancelled.");
63
- await session.cancelPrompt(runId, promptId);
64
- await session.cancel(runId);
65
- });
66
- assertions += 4;
67
- const interactions = [
68
- {
69
- kind: "question",
70
- options: {
71
- name: "cancel-pending-question",
72
- steps: questionSteps("question_parity_cancel"),
73
- },
74
- },
75
- {
76
- kind: "approval",
77
- options: {
78
- name: "cancel-pending-approval",
79
- permissionLevel: "supervised",
80
- steps: [
81
- {
82
- type: "toolCall",
83
- id: "approval_parity_cancel",
84
- name: "bash",
85
- args: { command: "printf pending-approval" },
86
- },
87
- ],
88
- },
89
- },
90
- {
91
- kind: "plan_review",
92
- options: {
93
- name: "cancel-pending-plan",
94
- mode: "planning",
95
- permissionLevel: "autonomous",
96
- planContent: "# Cancellation plan\n\n1. Wait for cancellation.\n",
97
- steps: [
98
- {
99
- type: "toolCall",
100
- id: "plan_review_parity_cancel",
101
- name: "plan_mode_present",
102
- args: {
103
- file_path: REAL_HOST_PLAN_PATH,
104
- title: "Cancellation plan",
105
- },
106
- },
107
- ],
108
- },
109
- },
110
- ];
111
- for (const item of interactions) {
112
- await cancellationCase(fixture, item.options, async (session, runId) => {
113
- await session.waitForStatus(runId, ["waiting"]);
114
- invariant(await session.pendingInteraction(runId, item.kind), `Missing pending ${item.kind}`);
115
- await session.cancel(runId);
116
- });
117
- assertions += 5;
118
- }
119
- return { name: "cancellation", runs: 6, assertions };
120
- }
121
- function questionSteps(id) {
122
- return [
123
- {
124
- type: "toolCall",
125
- id,
126
- name: "ask_user",
127
- args: { question: "Should this run remain pending?" },
128
- },
129
- ];
130
- }
131
- async function cancellationCase(fixture, options, trigger) {
132
- const session = await fixture.prepare(options);
133
- try {
134
- const runId = await session.start(`Run ${options.name}.`);
135
- await trigger(session, runId);
136
- const state = await session.waitForStatus(runId, ["cancelled"]);
137
- assertStatus(state, "cancelled");
138
- assertSingleTerminal(state);
139
- invariant(state.run.cancellationEvidence.every((evidence) => ["confirmed", "not_running"].includes(evidence.status)), "Cancellation evidence was not truthful and terminal");
140
- assertNoUnresolved(state);
141
- }
142
- finally {
143
- await session.dispose();
144
- }
145
- }
146
- //# sourceMappingURL=cancellation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancellation.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/cancellation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,GAKpB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KAAK,CAAC,CAAC,QAAQ,EAAE,EAAE,CAChD,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CACvD,EACD,qDAAqD,CACtD,CAAC;QACF,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { PromptImage } from "@nervekit/contracts";
2
- import type { RealHostRunMatrixFixture, RealHostScenarioSummary } from "./fixture.js";
3
- declare const image: PromptImage;
4
- export declare function runCompletionScenario(fixture: RealHostRunMatrixFixture): Promise<RealHostScenarioSummary>;
5
- export { image as realHostParityImage };
6
- //# sourceMappingURL=completion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completion.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/completion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAQvD,OAAO,KAAK,EACV,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAEtB,QAAA,MAAM,KAAK,EAAE,WAIZ,CAAC;AAEF,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAqElC;AAED,OAAO,EAAE,KAAK,IAAI,mBAAmB,EAAE,CAAC"}
@@ -1,52 +0,0 @@
1
- import { assertSingleTerminal, assertStatus, invariant, normalizedDurableProjection, normalizedSnapshotProjection, } from "./assertions.js";
2
- const image = {
3
- type: "image",
4
- data: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
5
- mimeType: "image/png",
6
- };
7
- export async function runCompletionScenario(fixture) {
8
- const session = await fixture.prepare({
9
- name: "completion",
10
- steps: [
11
- { type: "assistantText", text: "Parity response. ".repeat(400) },
12
- ...Array.from({ length: 5 }, () => ({
13
- type: "assistantText",
14
- text: "Parity response.",
15
- })),
16
- ],
17
- });
18
- try {
19
- const runId = await session.start("Reply with a short parity greeting.", [
20
- image,
21
- ]);
22
- await session.steer(runId, "Include the word steer.", [image]);
23
- await session.followUp(runId, "Then include the word follow-up.", [image]);
24
- const state = await session.waitForStatus(runId, ["completed"]);
25
- assertStatus(state, "completed");
26
- assertSingleTerminal(state);
27
- invariant(state.transitions[0]?.kind === "started", "First transition was not started");
28
- const prompts = [...state.prompts].sort((a, b) => a.ordinal - b.ordinal);
29
- invariant(prompts.length === 2, "Expected steer and follow-up prompts");
30
- invariant(prompts.map((prompt) => prompt.behavior).join(",") === "steer,follow-up", "Prompt order diverged");
31
- invariant(prompts.every((prompt) => prompt.status === "delivered" &&
32
- prompt.images?.length === 1 &&
33
- prompt.images[0]?.data === image.data &&
34
- prompt.images[0]?.mimeType === image.mimeType), "Prompt images or delivery state diverged");
35
- const durable = normalizedDurableProjection(state);
36
- invariant(durable.entries.some((entry) => entry.role === "assistant"), "Missing durable terminal assistant entry");
37
- const events = await session.events(runId);
38
- invariant(events.some((event) => event.type === "run.started"), "Missing durable run.started event");
39
- invariant(events.some((event) => event.type === "run.completed"), "Missing durable run.completed event");
40
- invariant(events.some((event) => event.type === "conversation.entry.appended"), "Missing durable conversation.entry.appended event");
41
- const snapshot = await session.snapshot(runId);
42
- invariant(snapshot.runId === runId, "Snapshot run identity mismatch");
43
- invariant(JSON.stringify(normalizedSnapshotProjection(snapshot)) ===
44
- JSON.stringify(durable), "Normalized snapshot diverged from the durable run journal");
45
- return { name: session.name, runs: 1, assertions: 11 };
46
- }
47
- finally {
48
- await session.dispose();
49
- }
50
- }
51
- export { image as realHostParityImage };
52
- //# sourceMappingURL=completion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completion.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/completion.ts"],"names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,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,eAAe,CAAC,EACtD,qCAAqC,CACtC,CAAC;QACF,SAAS,CACP,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,6BAA6B,CAAC,EACpE,mDAAmD,CACpD,CAAC;QACF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC/C,SAAS,CAAC,QAAQ,CAAC,KAAK,KAAK,KAAK,EAAE,gCAAgC,CAAC,CAAC;QACtE,SAAS,CACP,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,QAAQ,CAAC,CAAC;YACpD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EACzB,2DAA2D,CAC5D,CAAC;QACF,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IACzD,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC;AAED,OAAO,EAAE,KAAK,IAAI,mBAAmB,EAAE,CAAC"}
@@ -1,96 +0,0 @@
1
- import type { PromptImage, RunInteractionRecord, ToolCallTranscriptRecord } from "@nervekit/contracts";
2
- import type { RunHydratedState } from "../../run-unit-of-work.js";
3
- export declare const REAL_HOST_PLAN_PATH = "__NERVE_REAL_HOST_PLAN_PATH__";
4
- export type RealHostScriptedStep = {
5
- type: "assistantText";
6
- text?: string;
7
- chunks?: string[];
8
- } | {
9
- type: "toolCall";
10
- id: string;
11
- name: string;
12
- args: unknown;
13
- } | {
14
- type: "providerError";
15
- message: string;
16
- retryable?: boolean;
17
- } | {
18
- type: "waitForAbort";
19
- };
20
- export interface RealHostScenarioPreparation {
21
- name: string;
22
- steps: RealHostScriptedStep[];
23
- mode?: "coding" | "planning";
24
- permissionLevel?: "read_only" | "supervised" | "autonomous";
25
- planContent?: string;
26
- }
27
- export interface NormalizedHostRunSnapshot {
28
- runId: string;
29
- status: string;
30
- entries: Array<{
31
- id: string;
32
- role: string;
33
- text: string;
34
- }>;
35
- toolCalls: Array<{
36
- id: string;
37
- toolName: string;
38
- status: string;
39
- resultPreview?: unknown;
40
- }>;
41
- }
42
- export interface RealHostEventObservation {
43
- id: string;
44
- type: string;
45
- delivery: string;
46
- runId?: string;
47
- sequence: number;
48
- }
49
- export interface PendingInteractionObservation {
50
- interactionId: string;
51
- externalId: string;
52
- toolCallId: string;
53
- kind: RunInteractionRecord["kind"];
54
- status: RunInteractionRecord["status"];
55
- checkpointId: string;
56
- }
57
- export type CheckpointFault = "missing" | "stale" | "corrupt";
58
- export interface RealHostScenarioSession {
59
- readonly name: string;
60
- readonly planPath?: string;
61
- start(prompt: string, images?: PromptImage[]): Promise<string>;
62
- steer(runId: string, text: string, images?: PromptImage[]): Promise<string>;
63
- followUp(runId: string, text: string, images?: PromptImage[]): Promise<string>;
64
- continue(runId: string): Promise<void>;
65
- cancel(runId: string): Promise<void>;
66
- cancelPrompt(runId: string, promptId: string): Promise<void>;
67
- answerQuestion(externalId: string, answer: string): Promise<void>;
68
- dismissQuestion(externalId: string, reason?: string): Promise<void>;
69
- resolveApproval(externalId: string, decision: "allow" | "deny"): Promise<void>;
70
- resolvePlan(externalId: string, decision: "accept" | "request_changes", feedback?: string): Promise<void>;
71
- restart(): Promise<void>;
72
- load(runId: string): Promise<RunHydratedState | undefined>;
73
- snapshot(runId: string): Promise<NormalizedHostRunSnapshot>;
74
- events(runId: string): Promise<RealHostEventObservation[]>;
75
- tools(runId: string): Promise<ToolCallTranscriptRecord[]>;
76
- pendingInteraction(runId: string, kind?: RunInteractionRecord["kind"]): Promise<PendingInteractionObservation | undefined>;
77
- waitForStatus(runId: string, statuses: string[]): Promise<RunHydratedState>;
78
- waitForToolStatus(runId: string, status: string): Promise<void>;
79
- faultCheckpoint(runId: string, fault: CheckpointFault): Promise<void>;
80
- removeDeliveryMarker(runId: string, eventType: string): Promise<void>;
81
- dispose(): Promise<void>;
82
- }
83
- export interface RealHostRunMatrixFixture {
84
- prepare(options: RealHostScenarioPreparation): Promise<RealHostScenarioSession>;
85
- }
86
- export interface RealHostScenarioSummary {
87
- name: string;
88
- runs: number;
89
- assertions: number;
90
- }
91
- export interface RealHostRunMatrixResult {
92
- scenarios: RealHostScenarioSummary[];
93
- totalRuns: number;
94
- totalAssertions: number;
95
- }
96
- //# sourceMappingURL=fixture.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,eAAO,MAAM,mBAAmB,kCAAkC,CAAC;AAEnE,MAAM,MAAM,oBAAoB,GAC5B;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC7D;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/D;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;AAE7B,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC7B,eAAe,CAAC,EAAE,WAAW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C;IAC3D,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAC1D,kBAAkB,CAChB,KAAK,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAClC,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACtD,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5E,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,CACL,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,uBAAuB,EAAE,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -1,2 +0,0 @@
1
- export const REAL_HOST_PLAN_PATH = "__NERVE_REAL_HOST_PLAN_PATH__";
2
- //# sourceMappingURL=fixture.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixture.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/fixture.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,mBAAmB,GAAG,+BAA+B,CAAC"}
@@ -1,10 +0,0 @@
1
- export * from "./assertions.js";
2
- export * from "./cancellation.js";
3
- export * from "./completion.js";
4
- export * from "./fixture.js";
5
- export * from "./interactions.js";
6
- export * from "./matrix.js";
7
- export * from "./redelivery-races.js";
8
- export * from "./retry-recovery.js";
9
- export * from "./tools.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
@@ -1,10 +0,0 @@
1
- export * from "./assertions.js";
2
- export * from "./cancellation.js";
3
- export * from "./completion.js";
4
- export * from "./fixture.js";
5
- export * from "./interactions.js";
6
- export * from "./matrix.js";
7
- export * from "./redelivery-races.js";
8
- export * from "./retry-recovery.js";
9
- export * from "./tools.js";
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
@@ -1,3 +0,0 @@
1
- import { type RealHostRunMatrixFixture, type RealHostScenarioSummary } from "./fixture.js";
2
- export declare function runInteractionScenarios(fixture: RealHostRunMatrixFixture): Promise<RealHostScenarioSummary>;
3
- //# sourceMappingURL=interactions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interactions.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/interactions.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,wBAAwB,EAE7B,KAAK,uBAAuB,EAE7B,MAAM,cAAc,CAAC;AAEtB,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAyIlC"}
@@ -1,150 +0,0 @@
1
- import { assertStatus, invariant, normalizedInteractionProjection, } from "./assertions.js";
2
- import { REAL_HOST_PLAN_PATH, } from "./fixture.js";
3
- export async function runInteractionScenarios(fixture) {
4
- let assertions = 0;
5
- await withSession(fixture, {
6
- name: "interaction-question-restart",
7
- steps: [
8
- {
9
- type: "toolCall",
10
- id: "question_parity_1",
11
- name: "ask_user",
12
- args: { question: "What is the parity value?" },
13
- },
14
- { type: "assistantText", text: "The answer was recorded once." },
15
- ],
16
- }, async (session) => {
17
- const runId = await session.start("Ask one parity question.");
18
- const waiting = await session.waitForStatus(runId, ["waiting"]);
19
- assertWaiting(waiting, "question");
20
- await session.restart();
21
- const pending = await session.pendingInteraction(runId, "question");
22
- invariant(pending, "Question was not hydrated after restart");
23
- await session.answerQuestion(pending.externalId, "42");
24
- const completed = await session.waitForStatus(runId, ["completed"]);
25
- assertResolvedContinuation(completed, "question");
26
- assertions += 6;
27
- });
28
- for (const decision of ["deny", "allow"]) {
29
- await withSession(fixture, {
30
- name: `interaction-approval-${decision}`,
31
- permissionLevel: "supervised",
32
- steps: approvalSteps(decision),
33
- }, async (session) => {
34
- const runId = await session.start(`Exercise approval ${decision}.`);
35
- const waiting = await session.waitForStatus(runId, ["waiting"]);
36
- assertWaiting(waiting, "approval");
37
- const pending = await session.pendingInteraction(runId, "approval");
38
- invariant(pending, "Approval was not exposed by the host");
39
- await session.resolveApproval(pending.externalId, decision);
40
- const completed = await session.waitForStatus(runId, ["completed"]);
41
- assertResolvedContinuation(completed, "approval");
42
- const tools = await session.tools(runId);
43
- invariant(tools.some((tool) => decision === "deny"
44
- ? tool.status === "denied" || tool.status === "error"
45
- : tool.status === "completed"), `Approval ${decision} did not settle its tool call`);
46
- assertions += 7;
47
- });
48
- }
49
- await withSession(fixture, {
50
- name: "interaction-plan-changes-accept",
51
- mode: "planning",
52
- permissionLevel: "autonomous",
53
- planContent: "# Parity plan\n\n1. Exercise shared host parity.\n",
54
- steps: [
55
- planStep("plan_review_parity_1", "Parity plan"),
56
- planStep("plan_review_parity_2", "Parity plan revised"),
57
- { type: "assistantText", text: "The accepted plan is complete." },
58
- ],
59
- }, async (session) => {
60
- const runId = await session.start("Present the parity plan.");
61
- await session.waitForStatus(runId, ["waiting"]);
62
- const first = await session.pendingInteraction(runId, "plan_review");
63
- invariant(first, "First plan review was not exposed");
64
- await session.resolvePlan(first.externalId, "request_changes", "Clarify the parity step.");
65
- await waitForDifferentPlan(session, runId, first.interactionId);
66
- const second = await session.pendingInteraction(runId, "plan_review");
67
- invariant(second && second.interactionId !== first.interactionId, "Revised plan did not create a new review");
68
- await session.restart();
69
- const recovered = await session.pendingInteraction(runId, "plan_review");
70
- invariant(recovered, "Revised plan was not hydrated after restart");
71
- invariant(recovered.interactionId === second.interactionId &&
72
- recovered.checkpointId === second.checkpointId, "Restart changed the durable plan interaction checkpoint");
73
- const recoveredState = await session.load(runId);
74
- invariant(recoveredState?.checkpoints.some((checkpoint) => checkpoint.checkpointId === recovered.checkpointId), "Restart did not hydrate the plan suspension checkpoint");
75
- await session.resolvePlan(recovered.externalId, "accept");
76
- const completed = await session.waitForStatus(runId, ["completed"]);
77
- assertStatus(completed, "completed");
78
- const projections = normalizedInteractionProjection(completed).filter((interaction) => interaction.kind === "plan_review");
79
- invariant(projections.length === 2, "Expected two plan interactions");
80
- invariant(projections.every((interaction) => interaction.status === "resolved" &&
81
- interaction.ownsCheckpoint &&
82
- interaction.resolutionCount === 1), "Plan interaction resolution/checkpoint ownership diverged");
83
- invariant(completed.transitions.filter((item) => item.kind === "resumed")
84
- .length === 2, "Plan review did not resume exactly twice");
85
- invariant(!completed.transitions
86
- .flatMap((transition) => transition.events)
87
- .some((event) => event.type === "run.retrying"), "Plan review emitted a false retry event");
88
- assertions += 10;
89
- });
90
- return { name: "interactions", runs: 4, assertions };
91
- }
92
- function approvalSteps(decision) {
93
- return [
94
- {
95
- type: "toolCall",
96
- id: `approval_parity_${decision}`,
97
- name: "bash",
98
- args: { command: "printf parity-approval" },
99
- },
100
- { type: "assistantText", text: `Approval ${decision} settled once.` },
101
- ];
102
- }
103
- function planStep(id, title) {
104
- return {
105
- type: "toolCall",
106
- id,
107
- name: "plan_mode_present",
108
- args: { file_path: REAL_HOST_PLAN_PATH, title },
109
- };
110
- }
111
- function assertWaiting(state, kind) {
112
- invariant(state, "Waiting run was not stored");
113
- assertStatus(state, "waiting");
114
- const projection = normalizedInteractionProjection(state);
115
- invariant(projection.some((interaction) => interaction.kind === kind &&
116
- interaction.status === "pending" &&
117
- interaction.ownsCheckpoint), `${kind} wait did not own a valid suspension checkpoint`);
118
- }
119
- function assertResolvedContinuation(state, kind) {
120
- assertStatus(state, "completed");
121
- const projection = normalizedInteractionProjection(state).filter((interaction) => interaction.kind === kind);
122
- invariant(projection.length === 1, `Expected one ${kind} interaction`);
123
- invariant(projection[0]?.status === "resolved" &&
124
- projection[0].ownsCheckpoint &&
125
- projection[0].resolutionCount === 1, `${kind} resolution was not unique or checkpoint-owned`);
126
- invariant(state.transitions.filter((item) => item.kind === "resumed").length === 1, `${kind} resolution did not resume exactly once`);
127
- invariant(!state.transitions
128
- .flatMap((transition) => transition.events)
129
- .some((event) => event.type === "run.retrying"), `${kind} resolution emitted a false retry event`);
130
- }
131
- async function waitForDifferentPlan(session, runId, previousId) {
132
- const deadline = Date.now() + 10_000;
133
- while (Date.now() < deadline) {
134
- const pending = await session.pendingInteraction(runId, "plan_review");
135
- if (pending && pending.interactionId !== previousId)
136
- return;
137
- await new Promise((resolve) => setTimeout(resolve, 20));
138
- }
139
- throw new Error("Timed out waiting for revised plan interaction");
140
- }
141
- async function withSession(fixture, options, action) {
142
- const session = await fixture.prepare(options);
143
- try {
144
- await action(session);
145
- }
146
- finally {
147
- await session.dispose();
148
- }
149
- }
150
- //# sourceMappingURL=interactions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interactions.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/interactions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,SAAS,EACT,+BAA+B,GAChC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,GAKpB,MAAM,cAAc,CAAC;AAEtB,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,OAAiC;IAEjC,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,MAAM,WAAW,CACf,OAAO,EACP;QACE,IAAI,EAAE,8BAA8B;QACpC,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,UAAU;gBAChB,EAAE,EAAE,mBAAmB;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE;aAChD;YACD,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,+BAA+B,EAAE;SACjE;KACF,EACD,KAAK,EAAE,OAAO,EAAE,EAAE;QAChB,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9D,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;QAChE,aAAa,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACnC,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QACxB,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,KA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AAG,IAAI,yCAAyC,CACjD,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,oBAAoB,CACjC,OAAgC,EAChC,KAAa,EACb,UAAkB;IAElB,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC;IACrC,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,QAAQ,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;QACvE,IAAI,OAAO,IAAI,OAAO,CAAC,aAAa,KAAK,UAAU;YAAE,OAAO;QAC5D,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;AACpE,CAAC;AAED,KAAK,UAAU,WAAW,CACxB,OAAiC,EACjC,OAA2D,EAC3D,MAA2D;IAE3D,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/C,IAAI,CAAC;QACH,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { RealHostRunMatrixFixture, RealHostRunMatrixResult } from "./fixture.js";
2
- /** Runs the production-host parity matrix in deterministic provider order. */
3
- export declare function runRealHostParityMatrix(fixture: RealHostRunMatrixFixture): Promise<RealHostRunMatrixResult>;
4
- //# sourceMappingURL=matrix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/matrix.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAMtB,8EAA8E;AAC9E,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAgBlC"}
@@ -1,22 +0,0 @@
1
- import { runCancellationScenarios } from "./cancellation.js";
2
- import { runCompletionScenario } from "./completion.js";
3
- import { runInteractionScenarios } from "./interactions.js";
4
- import { runRedeliveryRaceScenarios } from "./redelivery-races.js";
5
- import { runRetryRecoveryScenarios } from "./retry-recovery.js";
6
- import { runToolLifecycleScenario } from "./tools.js";
7
- /** Runs the production-host parity matrix in deterministic provider order. */
8
- export async function runRealHostParityMatrix(fixture) {
9
- const scenarios = [];
10
- scenarios.push(await runCompletionScenario(fixture));
11
- scenarios.push(await runToolLifecycleScenario(fixture));
12
- scenarios.push(await runInteractionScenarios(fixture));
13
- scenarios.push(await runCancellationScenarios(fixture));
14
- scenarios.push(await runRetryRecoveryScenarios(fixture));
15
- scenarios.push(await runRedeliveryRaceScenarios(fixture));
16
- return {
17
- scenarios,
18
- totalRuns: scenarios.reduce((sum, scenario) => sum + scenario.runs, 0),
19
- totalAssertions: scenarios.reduce((sum, scenario) => sum + scenario.assertions, 0),
20
- };
21
- }
22
- //# sourceMappingURL=matrix.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matrix.js","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAKxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,8EAA8E;AAC9E,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,OAAiC;IAEjC,MAAM,SAAS,GAAG,EAAE,CAAC;IACrB,SAAS,CAAC,IAAI,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;IACrD,SAAS,CAAC,IAAI,CAAC,MAAM,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC;IACxD,SAAS,CAAC,IAAI,CAAC,MAAM,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;IACvD,SAAS,CAAC,IAAI,CAAC,MAAM,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC;IACxD,SAAS,CAAC,IAAI,CAAC,MAAM,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,SAAS,CAAC,IAAI,CAAC,MAAM,0BAA0B,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,OAAO;QACL,SAAS;QACT,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QACtE,eAAe,EAAE,SAAS,CAAC,MAAM,CAC/B,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,GAAG,GAAG,QAAQ,CAAC,UAAU,EAC5C,CAAC,CACF;KACF,CAAC;AACJ,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { RealHostRunMatrixFixture, RealHostScenarioSummary } from "./fixture.js";
2
- export declare function runRedeliveryRaceScenarios(fixture: RealHostRunMatrixFixture): Promise<RealHostScenarioSummary>;
3
- //# sourceMappingURL=redelivery-races.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redelivery-races.d.ts","sourceRoot":"","sources":["../../../src/test-support/real-host-run-scenarios/redelivery-races.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAEtB,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CA4FlC"}