@kortix/sdk 0.15.0 → 0.15.1

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 (506) hide show
  1. package/README.md +43 -2
  2. package/dist/browser/session-sync/server-transcript-mirror.d.ts +4 -4
  3. package/dist/browser/session-sync/server-transcript-mirror.d.ts.map +1 -1
  4. package/dist/browser/session-sync/server-transcript-mirror.js +4 -4
  5. package/dist/browser/session-sync/server-transcript-mirror.js.map +1 -1
  6. package/dist/browser/session-sync/session-cache-ownership.d.ts +5 -5
  7. package/dist/browser/session-sync/session-cache-ownership.js +5 -5
  8. package/dist/browser/session-sync/session-sync-registry.d.ts +1 -1
  9. package/dist/browser/session-sync/session-sync-registry.js +1 -1
  10. package/dist/browser/stores/{opencode-compaction-store.d.ts → runtime-compaction-store.d.ts} +3 -3
  11. package/dist/browser/stores/runtime-compaction-store.d.ts.map +1 -0
  12. package/dist/browser/stores/{opencode-compaction-store.js → runtime-compaction-store.js} +2 -2
  13. package/dist/browser/stores/runtime-compaction-store.js.map +1 -0
  14. package/dist/browser/stores/{opencode-pending-store.d.ts → runtime-pending-store.d.ts} +3 -3
  15. package/dist/browser/stores/runtime-pending-store.d.ts.map +1 -0
  16. package/dist/browser/stores/{opencode-pending-store.js → runtime-pending-store.js} +1 -1
  17. package/dist/browser/stores/runtime-pending-store.js.map +1 -0
  18. package/dist/browser/stores/sandbox-connection-store.d.ts +18 -3
  19. package/dist/browser/stores/sandbox-connection-store.d.ts.map +1 -1
  20. package/dist/browser/stores/sandbox-connection-store.js +57 -3
  21. package/dist/browser/stores/sandbox-connection-store.js.map +1 -1
  22. package/dist/browser/stores/sync-store.d.ts +2 -2
  23. package/dist/browser/stores/sync-store.js +3 -3
  24. package/dist/browser/stores/sync-store.js.map +1 -1
  25. package/dist/core/agents/composer-agents.js +3 -3
  26. package/dist/core/agents/composer-agents.js.map +1 -1
  27. package/dist/core/client/facade-commerce.d.ts +2 -0
  28. package/dist/core/client/facade-commerce.d.ts.map +1 -1
  29. package/dist/core/client/facade-commerce.js +2 -0
  30. package/dist/core/client/facade-commerce.js.map +1 -1
  31. package/dist/core/client/kortix.d.ts +12 -4
  32. package/dist/core/client/kortix.d.ts.map +1 -1
  33. package/dist/core/client/project-access-resources.d.ts +4 -1
  34. package/dist/core/client/project-access-resources.d.ts.map +1 -1
  35. package/dist/core/client/project-core.d.ts +3 -3
  36. package/dist/core/client/project-core.d.ts.map +1 -1
  37. package/dist/core/client/project-operations-admin.d.ts +4 -0
  38. package/dist/core/client/project-operations-admin.d.ts.map +1 -1
  39. package/dist/core/client/project-operations-review.d.ts +5 -0
  40. package/dist/core/client/project-operations-review.d.ts.map +1 -1
  41. package/dist/core/client/project-operations-review.js +5 -0
  42. package/dist/core/client/project-operations-review.js.map +1 -1
  43. package/dist/core/client/project-operations-workspace.d.ts +4 -0
  44. package/dist/core/client/project-operations-workspace.d.ts.map +1 -1
  45. package/dist/core/client/project-operations.d.ts +4 -0
  46. package/dist/core/client/project-operations.d.ts.map +1 -1
  47. package/dist/core/client/session-handle.d.ts +1 -1
  48. package/dist/core/client/session-handle.d.ts.map +1 -1
  49. package/dist/core/client/session-handle.js +3 -3
  50. package/dist/core/client/session-handle.js.map +1 -1
  51. package/dist/core/files/client.js +1 -1
  52. package/dist/core/files/client.js.map +1 -1
  53. package/dist/core/http/abort-error.d.ts +12 -13
  54. package/dist/core/http/abort-error.d.ts.map +1 -1
  55. package/dist/core/http/abort-error.js +14 -15
  56. package/dist/core/http/abort-error.js.map +1 -1
  57. package/dist/core/http/response-error.d.ts.map +1 -1
  58. package/dist/core/http/response-error.js +2 -0
  59. package/dist/core/http/response-error.js.map +1 -1
  60. package/dist/core/http/runtime-errors.d.ts +4 -5
  61. package/dist/core/http/runtime-errors.d.ts.map +1 -1
  62. package/dist/core/http/runtime-errors.js +7 -12
  63. package/dist/core/http/runtime-errors.js.map +1 -1
  64. package/dist/core/models/provider-connections.d.ts +6 -1
  65. package/dist/core/models/provider-connections.d.ts.map +1 -1
  66. package/dist/core/models/provider-connections.js +6 -1
  67. package/dist/core/models/provider-connections.js.map +1 -1
  68. package/dist/core/models/provider-selection.js +1 -1
  69. package/dist/core/models/provider-selection.js.map +1 -1
  70. package/dist/core/multi-agent/tool-data.d.ts +77 -0
  71. package/dist/core/multi-agent/tool-data.d.ts.map +1 -0
  72. package/dist/core/multi-agent/tool-data.js +145 -0
  73. package/dist/core/multi-agent/tool-data.js.map +1 -0
  74. package/dist/core/rest/projects-client/agent-config.d.ts +7 -8
  75. package/dist/core/rest/projects-client/agent-config.d.ts.map +1 -1
  76. package/dist/core/rest/projects-client/agent-config.js.map +1 -1
  77. package/dist/core/rest/projects-client/apps.d.ts +11 -3
  78. package/dist/core/rest/projects-client/apps.d.ts.map +1 -1
  79. package/dist/core/rest/projects-client/apps.js +7 -2
  80. package/dist/core/rest/projects-client/apps.js.map +1 -1
  81. package/dist/core/rest/projects-client/artifacts.d.ts.map +1 -1
  82. package/dist/core/rest/projects-client/artifacts.js +11 -6
  83. package/dist/core/rest/projects-client/artifacts.js.map +1 -1
  84. package/dist/core/rest/projects-client/billing.d.ts +20 -0
  85. package/dist/core/rest/projects-client/billing.d.ts.map +1 -1
  86. package/dist/core/rest/projects-client/billing.js +10 -0
  87. package/dist/core/rest/projects-client/billing.js.map +1 -1
  88. package/dist/core/rest/projects-client/goals.d.ts +260 -83
  89. package/dist/core/rest/projects-client/goals.d.ts.map +1 -1
  90. package/dist/core/rest/projects-client/goals.js +245 -400
  91. package/dist/core/rest/projects-client/goals.js.map +1 -1
  92. package/dist/core/rest/projects-client/project-agents.js +1 -1
  93. package/dist/core/rest/projects-client/project-agents.js.map +1 -1
  94. package/dist/core/rest/projects-client/projects.d.ts +35 -19
  95. package/dist/core/rest/projects-client/projects.d.ts.map +1 -1
  96. package/dist/core/rest/projects-client/projects.js +3 -2
  97. package/dist/core/rest/projects-client/projects.js.map +1 -1
  98. package/dist/core/rest/projects-client/public-session-shares.js +1 -1
  99. package/dist/core/rest/projects-client/public-session-shares.js.map +1 -1
  100. package/dist/core/rest/projects-client/session-sandbox.d.ts +2 -2
  101. package/dist/core/rest/projects-client/session-sandbox.js +1 -1
  102. package/dist/core/rest/projects-client/sessions.d.ts +16 -18
  103. package/dist/core/rest/projects-client/sessions.d.ts.map +1 -1
  104. package/dist/core/rest/projects-client/sessions.js +2 -2
  105. package/dist/core/rest/projects-client/sessions.js.map +1 -1
  106. package/dist/core/rest/projects-client/spaces.d.ts +32 -0
  107. package/dist/core/rest/projects-client/spaces.d.ts.map +1 -1
  108. package/dist/core/rest/projects-client/spaces.js +13 -0
  109. package/dist/core/rest/projects-client/spaces.js.map +1 -1
  110. package/dist/core/rest/projects-client/triggers.d.ts +6 -0
  111. package/dist/core/rest/projects-client/triggers.d.ts.map +1 -1
  112. package/dist/core/rest/projects-client/triggers.js.map +1 -1
  113. package/dist/core/runtime/kortix-master.d.ts +1 -0
  114. package/dist/core/runtime/kortix-master.d.ts.map +1 -1
  115. package/dist/core/runtime/kortix-master.js.map +1 -1
  116. package/dist/core/runtime/pty.js +2 -2
  117. package/dist/core/session/compaction.d.ts +2 -2
  118. package/dist/core/session/compaction.js +2 -2
  119. package/dist/core/session/control-stream.d.ts +50 -2
  120. package/dist/core/session/control-stream.d.ts.map +1 -1
  121. package/dist/core/session/control-stream.js +99 -9
  122. package/dist/core/session/control-stream.js.map +1 -1
  123. package/dist/core/session/current-runtime.d.ts +1 -1
  124. package/dist/core/session/health.d.ts +9 -19
  125. package/dist/core/session/health.d.ts.map +1 -1
  126. package/dist/core/session/health.js +2 -2
  127. package/dist/core/session/health.js.map +1 -1
  128. package/dist/core/session/runtime-actions.d.ts +3 -2
  129. package/dist/core/session/runtime-actions.d.ts.map +1 -1
  130. package/dist/core/session/runtime-actions.js.map +1 -1
  131. package/dist/core/session/server-store/active.d.ts +2 -2
  132. package/dist/core/session/server-store/active.js +2 -2
  133. package/dist/core/session/server-store/types.d.ts +2 -2
  134. package/dist/core/session/server-store/types.d.ts.map +1 -1
  135. package/dist/core/session/server-store/url-helpers.d.ts +5 -5
  136. package/dist/core/session/server-store/url-helpers.js +5 -5
  137. package/dist/core/session/session-runtime-registry.d.ts +1 -1
  138. package/dist/core/session/session-runtime-registry.js +1 -1
  139. package/dist/core/session/url.d.ts +2 -2
  140. package/dist/core/session/url.js +4 -4
  141. package/dist/core/session/url.js.map +1 -1
  142. package/dist/core/session/wire-message-id.d.ts +12 -42
  143. package/dist/core/session/wire-message-id.d.ts.map +1 -1
  144. package/dist/core/session/wire-message-id.js +11 -37
  145. package/dist/core/session/wire-message-id.js.map +1 -1
  146. package/dist/core/session/working-server.d.ts +13 -1
  147. package/dist/core/session/working-server.d.ts.map +1 -1
  148. package/dist/core/session/working-server.js +15 -1
  149. package/dist/core/session/working-server.js.map +1 -1
  150. package/dist/core/session/working.d.ts.map +1 -1
  151. package/dist/core/session/working.js +3 -1
  152. package/dist/core/session/working.js.map +1 -1
  153. package/dist/core/session-log/v1-view.d.ts +2 -2
  154. package/dist/core/session-log/v1-view.d.ts.map +1 -1
  155. package/dist/core/session-log/v1-view.js +3 -1
  156. package/dist/core/session-log/v1-view.js.map +1 -1
  157. package/dist/core/session-sync/saved-copy-store.d.ts +3 -3
  158. package/dist/core/session-sync/saved-copy-store.d.ts.map +1 -1
  159. package/dist/core/session-sync/saved-copy-store.js +3 -3
  160. package/dist/core/session-sync/saved-copy-store.js.map +1 -1
  161. package/dist/core/session-sync/saved-transcript.d.ts +5 -5
  162. package/dist/core/session-sync/saved-transcript.d.ts.map +1 -1
  163. package/dist/core/session-sync/saved-transcript.js +2 -2
  164. package/dist/core/session-sync/session-sync-controller.js +2 -2
  165. package/dist/core/session-sync/session-sync-controller.js.map +1 -1
  166. package/dist/core/stream/event-attempt.js +1 -1
  167. package/dist/core/stream/event-attempt.js.map +1 -1
  168. package/dist/core/stream/event-stream.d.ts +6 -6
  169. package/dist/core/stream/event-stream.js +4 -4
  170. package/dist/core/turns/shell.d.ts +2 -2
  171. package/dist/core/turns/shell.js +2 -2
  172. package/dist/core/wire-values.d.ts +81 -0
  173. package/dist/core/wire-values.d.ts.map +1 -0
  174. package/dist/core/wire-values.js +177 -0
  175. package/dist/core/wire-values.js.map +1 -0
  176. package/dist/index.d.ts +8 -5
  177. package/dist/index.d.ts.map +1 -1
  178. package/dist/index.js +6 -6
  179. package/dist/index.js.map +1 -1
  180. package/dist/kortix.esm.min.js +51 -66
  181. package/dist/kortix.global.js +51 -66
  182. package/dist/platform/auth-core.d.ts +2 -2
  183. package/dist/platform/auth-core.js +2 -2
  184. package/dist/react/chat/use-chat-turns.d.ts +1 -1
  185. package/dist/react/chat/use-chat-turns.d.ts.map +1 -1
  186. package/dist/react/hold-live-start.d.ts.map +1 -1
  187. package/dist/react/hold-live-start.js +4 -11
  188. package/dist/react/hold-live-start.js.map +1 -1
  189. package/dist/react/index.d.ts +6 -4
  190. package/dist/react/index.d.ts.map +1 -1
  191. package/dist/react/index.js +11 -10
  192. package/dist/react/index.js.map +1 -1
  193. package/dist/react/initial-session-pin.d.ts +1 -1
  194. package/dist/react/initial-session-pin.d.ts.map +1 -1
  195. package/dist/react/initial-session-pin.js +3 -3
  196. package/dist/react/initial-session-pin.js.map +1 -1
  197. package/dist/react/provider-refresh.d.ts +1 -1
  198. package/dist/react/provider-refresh.js +4 -4
  199. package/dist/react/provider-refresh.js.map +1 -1
  200. package/dist/react/query-keys.d.ts +8 -2
  201. package/dist/react/query-keys.d.ts.map +1 -1
  202. package/dist/react/query-keys.js +8 -2
  203. package/dist/react/query-keys.js.map +1 -1
  204. package/dist/react/reset-identity-state.js +1 -1
  205. package/dist/react/reset-identity-state.js.map +1 -1
  206. package/dist/react/runtime-actions.js +1 -1
  207. package/dist/react/runtime-actions.js.map +1 -1
  208. package/dist/react/{opencode.d.ts → runtime-hooks.d.ts} +14 -14
  209. package/dist/react/runtime-hooks.d.ts.map +1 -0
  210. package/dist/react/{opencode.js → runtime-hooks.js} +19 -19
  211. package/dist/react/runtime-hooks.js.map +1 -0
  212. package/dist/react/session-start-stash.d.ts +1 -1
  213. package/dist/react/session-start-stash.js +8 -8
  214. package/dist/react/session-start-stash.js.map +1 -1
  215. package/dist/react/session-stop.d.ts +5 -5
  216. package/dist/react/session-stop.d.ts.map +1 -1
  217. package/dist/react/session-stop.js +3 -3
  218. package/dist/react/session-stop.js.map +1 -1
  219. package/dist/react/session-title-sync.js +1 -1
  220. package/dist/react/session-transcript-subscription.d.ts +2 -2
  221. package/dist/react/session-transcript-subscription.js +2 -2
  222. package/dist/react/turn-end-handoff.d.ts +1 -1
  223. package/dist/react/turn-end-handoff.d.ts.map +1 -1
  224. package/dist/react/turn-end-handoff.js +2 -2
  225. package/dist/react/turn-end-handoff.js.map +1 -1
  226. package/dist/react/use-admin-credit-codes.d.ts +34 -0
  227. package/dist/react/use-admin-credit-codes.d.ts.map +1 -0
  228. package/dist/react/use-admin-credit-codes.js +48 -0
  229. package/dist/react/use-admin-credit-codes.js.map +1 -0
  230. package/dist/react/{use-canonical-opencode-session.d.ts → use-canonical-runtime-session.d.ts} +6 -6
  231. package/dist/react/use-canonical-runtime-session.d.ts.map +1 -0
  232. package/dist/react/{use-canonical-opencode-session.js → use-canonical-runtime-session.js} +5 -5
  233. package/dist/react/use-canonical-runtime-session.js.map +1 -0
  234. package/dist/react/use-goals.d.ts +48 -9
  235. package/dist/react/use-goals.d.ts.map +1 -1
  236. package/dist/react/use-goals.js +106 -16
  237. package/dist/react/use-goals.js.map +1 -1
  238. package/dist/react/use-kortix-master.d.ts +1 -1
  239. package/dist/react/use-kortix-master.js +4 -4
  240. package/dist/react/use-kortix-master.js.map +1 -1
  241. package/dist/react/use-model-store.d.ts +1 -1
  242. package/dist/react/use-model-store.d.ts.map +1 -1
  243. package/dist/react/use-model-store.js +14 -3
  244. package/dist/react/use-model-store.js.map +1 -1
  245. package/dist/react/use-permission-self-heal.d.ts +1 -1
  246. package/dist/react/use-permission-self-heal.js +2 -2
  247. package/dist/react/use-permission-self-heal.js.map +1 -1
  248. package/dist/react/use-project-apps.d.ts +13 -26
  249. package/dist/react/use-project-apps.d.ts.map +1 -1
  250. package/dist/react/use-project-apps.js +15 -4
  251. package/dist/react/use-project-apps.js.map +1 -1
  252. package/dist/react/use-project-session.d.ts +1 -1
  253. package/dist/react/use-project-session.js +1 -1
  254. package/dist/react/use-project-spaces.d.ts +11 -1
  255. package/dist/react/use-project-spaces.d.ts.map +1 -1
  256. package/dist/react/use-project-spaces.js +22 -1
  257. package/dist/react/use-project-spaces.js.map +1 -1
  258. package/dist/react/use-question-self-heal.js +1 -1
  259. package/dist/react/use-question-self-heal.js.map +1 -1
  260. package/dist/react/use-runtime-boot-stalled.d.ts +1 -1
  261. package/dist/react/use-runtime-boot-stalled.js +1 -1
  262. package/dist/react/{use-opencode-config.d.ts → use-runtime-config.d.ts} +4 -4
  263. package/dist/react/use-runtime-config.d.ts.map +1 -0
  264. package/dist/react/{use-opencode-config.js → use-runtime-config.js} +5 -5
  265. package/dist/react/use-runtime-config.js.map +1 -0
  266. package/dist/react/use-runtime-events/diagnostics.d.ts.map +1 -0
  267. package/dist/react/{use-opencode-events → use-runtime-events}/diagnostics.js +1 -1
  268. package/dist/react/use-runtime-events/diagnostics.js.map +1 -0
  269. package/dist/react/{use-opencode-events → use-runtime-events}/handle-event.d.ts +3 -3
  270. package/dist/react/use-runtime-events/handle-event.d.ts.map +1 -0
  271. package/dist/react/{use-opencode-events → use-runtime-events}/handle-event.js +1 -1
  272. package/dist/react/use-runtime-events/handle-event.js.map +1 -0
  273. package/dist/react/use-runtime-events/handle-interaction-event.d.ts.map +1 -0
  274. package/dist/react/use-runtime-events/handle-interaction-event.js.map +1 -0
  275. package/dist/react/use-runtime-events/handle-message-event.d.ts.map +1 -0
  276. package/dist/react/use-runtime-events/handle-message-event.js.map +1 -0
  277. package/dist/react/use-runtime-events/handle-session-event.d.ts.map +1 -0
  278. package/dist/react/{use-opencode-events → use-runtime-events}/handle-session-event.js +1 -1
  279. package/dist/react/use-runtime-events/handle-session-event.js.map +1 -0
  280. package/dist/react/use-runtime-events/handle-workspace-event.d.ts.map +1 -0
  281. package/dist/react/{use-opencode-events → use-runtime-events}/handle-workspace-event.js +6 -6
  282. package/dist/react/use-runtime-events/handle-workspace-event.js.map +1 -0
  283. package/dist/react/{use-opencode-events → use-runtime-events}/handler-context.d.ts +2 -2
  284. package/dist/react/use-runtime-events/handler-context.d.ts.map +1 -0
  285. package/dist/react/use-runtime-events/handler-context.js.map +1 -0
  286. package/dist/react/{use-opencode-events → use-runtime-events}/helpers.d.ts +4 -4
  287. package/dist/react/use-runtime-events/helpers.d.ts.map +1 -0
  288. package/dist/react/{use-opencode-events → use-runtime-events}/helpers.js +6 -5
  289. package/dist/react/use-runtime-events/helpers.js.map +1 -0
  290. package/dist/react/use-runtime-events/hydrate-core.d.ts.map +1 -0
  291. package/dist/react/use-runtime-events/hydrate-core.js.map +1 -0
  292. package/dist/react/{use-opencode-events → use-runtime-events}/index.d.ts +2 -2
  293. package/dist/react/use-runtime-events/index.d.ts.map +1 -0
  294. package/dist/react/{use-opencode-events → use-runtime-events}/index.js +8 -8
  295. package/dist/react/use-runtime-events/index.js.map +1 -0
  296. package/dist/react/use-runtime-events/log-control.d.ts.map +1 -0
  297. package/dist/react/{use-opencode-events → use-runtime-events}/log-control.js +11 -7
  298. package/dist/react/use-runtime-events/log-control.js.map +1 -0
  299. package/dist/react/use-runtime-events/rehydrate-targets.d.ts.map +1 -0
  300. package/dist/react/use-runtime-events/rehydrate-targets.js.map +1 -0
  301. package/dist/react/use-runtime-events/runtime-stream-signals.d.ts.map +1 -0
  302. package/dist/react/use-runtime-events/runtime-stream-signals.js.map +1 -0
  303. package/dist/react/use-runtime-events/stream-revival.d.ts.map +1 -0
  304. package/dist/react/use-runtime-events/stream-revival.js.map +1 -0
  305. package/dist/react/use-runtime-events/types.d.ts.map +1 -0
  306. package/dist/react/use-runtime-events/types.js.map +1 -0
  307. package/dist/react/{use-opencode-events → use-runtime-events}/use-event-stream-refs.d.ts +3 -3
  308. package/dist/react/use-runtime-events/use-event-stream-refs.d.ts.map +1 -0
  309. package/dist/react/{use-opencode-events → use-runtime-events}/use-event-stream-refs.js +4 -4
  310. package/dist/react/use-runtime-events/use-event-stream-refs.js.map +1 -0
  311. package/dist/react/{use-opencode-local.d.ts → use-runtime-local.d.ts} +1 -1
  312. package/dist/react/use-runtime-local.d.ts.map +1 -0
  313. package/dist/react/{use-opencode-local.js → use-runtime-local.js} +1 -1
  314. package/dist/react/use-runtime-local.js.map +1 -0
  315. package/dist/react/use-runtime-phase.js +1 -1
  316. package/dist/react/use-runtime-phase.js.map +1 -1
  317. package/dist/react/{use-opencode-pty.d.ts → use-runtime-pty.d.ts} +1 -1
  318. package/dist/react/use-runtime-pty.d.ts.map +1 -0
  319. package/dist/react/{use-opencode-pty.js → use-runtime-pty.js} +3 -3
  320. package/dist/react/use-runtime-pty.js.map +1 -0
  321. package/dist/react/use-runtime-reconnect.d.ts +13 -2
  322. package/dist/react/use-runtime-reconnect.d.ts.map +1 -1
  323. package/dist/react/use-runtime-reconnect.js +43 -7
  324. package/dist/react/use-runtime-reconnect.js.map +1 -1
  325. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/agents.d.ts +2 -3
  326. package/dist/react/use-runtime-sessions/agents.d.ts.map +1 -0
  327. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/agents.js +2 -3
  328. package/dist/react/use-runtime-sessions/agents.js.map +1 -0
  329. package/dist/react/use-runtime-sessions/commands.d.ts.map +1 -0
  330. package/dist/react/use-runtime-sessions/commands.js.map +1 -0
  331. package/dist/react/use-runtime-sessions/files.d.ts.map +1 -0
  332. package/dist/react/use-runtime-sessions/files.js.map +1 -0
  333. package/dist/react/use-runtime-sessions/index.d.ts.map +1 -0
  334. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/index.js +3 -4
  335. package/dist/react/use-runtime-sessions/index.js.map +1 -0
  336. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/keys.d.ts +23 -23
  337. package/dist/react/use-runtime-sessions/keys.d.ts.map +1 -0
  338. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/keys.js +22 -22
  339. package/dist/react/use-runtime-sessions/keys.js.map +1 -0
  340. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/log-sessions.d.ts +1 -1
  341. package/dist/react/use-runtime-sessions/log-sessions.d.ts.map +1 -0
  342. package/dist/react/use-runtime-sessions/log-sessions.js.map +1 -0
  343. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/messages.d.ts +2 -2
  344. package/dist/react/use-runtime-sessions/messages.d.ts.map +1 -0
  345. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/messages.js +3 -3
  346. package/dist/react/use-runtime-sessions/messages.js.map +1 -0
  347. package/dist/react/use-runtime-sessions/permissions.d.ts.map +1 -0
  348. package/dist/react/use-runtime-sessions/permissions.js.map +1 -0
  349. package/dist/react/use-runtime-sessions/projects.d.ts.map +1 -0
  350. package/dist/react/use-runtime-sessions/projects.js.map +1 -0
  351. package/dist/react/use-runtime-sessions/providers.d.ts.map +1 -0
  352. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/providers.js +3 -3
  353. package/dist/react/use-runtime-sessions/providers.js.map +1 -0
  354. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/sessions.d.ts +1 -1
  355. package/dist/react/use-runtime-sessions/sessions.d.ts.map +1 -0
  356. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/sessions.js +13 -12
  357. package/dist/react/use-runtime-sessions/sessions.js.map +1 -0
  358. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/shared.d.ts +5 -5
  359. package/dist/react/use-runtime-sessions/shared.d.ts.map +1 -0
  360. package/dist/react/{use-opencode-sessions → use-runtime-sessions}/shared.js +5 -5
  361. package/dist/react/use-runtime-sessions/shared.js.map +1 -0
  362. package/dist/react/use-runtime-sessions/vcs.d.ts.map +1 -0
  363. package/dist/react/use-runtime-sessions/vcs.js.map +1 -0
  364. package/dist/react/use-session-log.d.ts +1 -1
  365. package/dist/react/use-session-log.js +1 -1
  366. package/dist/react/use-session-model-selection.d.ts +1 -1
  367. package/dist/react/use-session-model-selection.d.ts.map +1 -1
  368. package/dist/react/use-session-model-selection.js +1 -1
  369. package/dist/react/use-session-model-selection.js.map +1 -1
  370. package/dist/react/use-session-prefetch.d.ts +1 -1
  371. package/dist/react/use-session-prefetch.d.ts.map +1 -1
  372. package/dist/react/use-session-prefetch.js +1 -1
  373. package/dist/react/use-session-prefetch.js.map +1 -1
  374. package/dist/react/use-session-prompts.d.ts +1 -1
  375. package/dist/react/use-session-prompts.d.ts.map +1 -1
  376. package/dist/react/use-session-prompts.js +5 -3
  377. package/dist/react/use-session-prompts.js.map +1 -1
  378. package/dist/react/use-session-send.d.ts +5 -5
  379. package/dist/react/use-session-send.d.ts.map +1 -1
  380. package/dist/react/use-session-send.js +1 -1
  381. package/dist/react/use-session-send.js.map +1 -1
  382. package/dist/react/use-session-stream.d.ts +10 -1
  383. package/dist/react/use-session-stream.d.ts.map +1 -1
  384. package/dist/react/use-session-stream.js +59 -12
  385. package/dist/react/use-session-stream.js.map +1 -1
  386. package/dist/react/use-session-sync.d.ts +1 -1
  387. package/dist/react/use-session-sync.js +4 -4
  388. package/dist/react/use-session-sync.js.map +1 -1
  389. package/dist/react/use-session-working.d.ts +2 -2
  390. package/dist/react/use-session-working.d.ts.map +1 -1
  391. package/dist/react/use-session-working.js +10 -5
  392. package/dist/react/use-session-working.js.map +1 -1
  393. package/dist/react/use-session.d.ts +6 -6
  394. package/dist/react/use-session.d.ts.map +1 -1
  395. package/dist/react/use-session.js +30 -21
  396. package/dist/react/use-session.js.map +1 -1
  397. package/dist/react/use-visible-agents.js +1 -1
  398. package/dist/react/use-visible-agents.js.map +1 -1
  399. package/dist/workspace-search/client.d.ts.map +1 -1
  400. package/dist/workspace-search/client.js +0 -1
  401. package/dist/workspace-search/client.js.map +1 -1
  402. package/package.json +3 -3
  403. package/dist/browser/stores/opencode-compaction-store.d.ts.map +0 -1
  404. package/dist/browser/stores/opencode-compaction-store.js.map +0 -1
  405. package/dist/browser/stores/opencode-pending-store.d.ts.map +0 -1
  406. package/dist/browser/stores/opencode-pending-store.js.map +0 -1
  407. package/dist/react/opencode.d.ts.map +0 -1
  408. package/dist/react/opencode.js.map +0 -1
  409. package/dist/react/use-canonical-opencode-session.d.ts.map +0 -1
  410. package/dist/react/use-canonical-opencode-session.js.map +0 -1
  411. package/dist/react/use-opencode-config.d.ts.map +0 -1
  412. package/dist/react/use-opencode-config.js.map +0 -1
  413. package/dist/react/use-opencode-events/diagnostics.d.ts.map +0 -1
  414. package/dist/react/use-opencode-events/diagnostics.js.map +0 -1
  415. package/dist/react/use-opencode-events/handle-event.d.ts.map +0 -1
  416. package/dist/react/use-opencode-events/handle-event.js.map +0 -1
  417. package/dist/react/use-opencode-events/handle-interaction-event.d.ts.map +0 -1
  418. package/dist/react/use-opencode-events/handle-interaction-event.js.map +0 -1
  419. package/dist/react/use-opencode-events/handle-message-event.d.ts.map +0 -1
  420. package/dist/react/use-opencode-events/handle-message-event.js.map +0 -1
  421. package/dist/react/use-opencode-events/handle-session-event.d.ts.map +0 -1
  422. package/dist/react/use-opencode-events/handle-session-event.js.map +0 -1
  423. package/dist/react/use-opencode-events/handle-workspace-event.d.ts.map +0 -1
  424. package/dist/react/use-opencode-events/handle-workspace-event.js.map +0 -1
  425. package/dist/react/use-opencode-events/handler-context.d.ts.map +0 -1
  426. package/dist/react/use-opencode-events/handler-context.js.map +0 -1
  427. package/dist/react/use-opencode-events/helpers.d.ts.map +0 -1
  428. package/dist/react/use-opencode-events/helpers.js.map +0 -1
  429. package/dist/react/use-opencode-events/hydrate-core.d.ts.map +0 -1
  430. package/dist/react/use-opencode-events/hydrate-core.js.map +0 -1
  431. package/dist/react/use-opencode-events/index.d.ts.map +0 -1
  432. package/dist/react/use-opencode-events/index.js.map +0 -1
  433. package/dist/react/use-opencode-events/log-control.d.ts.map +0 -1
  434. package/dist/react/use-opencode-events/log-control.js.map +0 -1
  435. package/dist/react/use-opencode-events/rehydrate-targets.d.ts.map +0 -1
  436. package/dist/react/use-opencode-events/rehydrate-targets.js.map +0 -1
  437. package/dist/react/use-opencode-events/runtime-stream-signals.d.ts.map +0 -1
  438. package/dist/react/use-opencode-events/runtime-stream-signals.js.map +0 -1
  439. package/dist/react/use-opencode-events/stream-revival.d.ts.map +0 -1
  440. package/dist/react/use-opencode-events/stream-revival.js.map +0 -1
  441. package/dist/react/use-opencode-events/types.d.ts.map +0 -1
  442. package/dist/react/use-opencode-events/types.js.map +0 -1
  443. package/dist/react/use-opencode-events/use-event-stream-refs.d.ts.map +0 -1
  444. package/dist/react/use-opencode-events/use-event-stream-refs.js.map +0 -1
  445. package/dist/react/use-opencode-local.d.ts.map +0 -1
  446. package/dist/react/use-opencode-local.js.map +0 -1
  447. package/dist/react/use-opencode-pty.d.ts.map +0 -1
  448. package/dist/react/use-opencode-pty.js.map +0 -1
  449. package/dist/react/use-opencode-sessions/agents.d.ts.map +0 -1
  450. package/dist/react/use-opencode-sessions/agents.js.map +0 -1
  451. package/dist/react/use-opencode-sessions/commands.d.ts.map +0 -1
  452. package/dist/react/use-opencode-sessions/commands.js.map +0 -1
  453. package/dist/react/use-opencode-sessions/files.d.ts.map +0 -1
  454. package/dist/react/use-opencode-sessions/files.js.map +0 -1
  455. package/dist/react/use-opencode-sessions/index.d.ts.map +0 -1
  456. package/dist/react/use-opencode-sessions/index.js.map +0 -1
  457. package/dist/react/use-opencode-sessions/keys.d.ts.map +0 -1
  458. package/dist/react/use-opencode-sessions/keys.js.map +0 -1
  459. package/dist/react/use-opencode-sessions/log-sessions.d.ts.map +0 -1
  460. package/dist/react/use-opencode-sessions/log-sessions.js.map +0 -1
  461. package/dist/react/use-opencode-sessions/messages.d.ts.map +0 -1
  462. package/dist/react/use-opencode-sessions/messages.js.map +0 -1
  463. package/dist/react/use-opencode-sessions/permissions.d.ts.map +0 -1
  464. package/dist/react/use-opencode-sessions/permissions.js.map +0 -1
  465. package/dist/react/use-opencode-sessions/projects.d.ts.map +0 -1
  466. package/dist/react/use-opencode-sessions/projects.js.map +0 -1
  467. package/dist/react/use-opencode-sessions/providers.d.ts.map +0 -1
  468. package/dist/react/use-opencode-sessions/providers.js.map +0 -1
  469. package/dist/react/use-opencode-sessions/sessions.d.ts.map +0 -1
  470. package/dist/react/use-opencode-sessions/sessions.js.map +0 -1
  471. package/dist/react/use-opencode-sessions/shared.d.ts.map +0 -1
  472. package/dist/react/use-opencode-sessions/shared.js.map +0 -1
  473. package/dist/react/use-opencode-sessions/vcs.d.ts.map +0 -1
  474. package/dist/react/use-opencode-sessions/vcs.js.map +0 -1
  475. /package/dist/react/{use-opencode-events → use-runtime-events}/diagnostics.d.ts +0 -0
  476. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-interaction-event.d.ts +0 -0
  477. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-interaction-event.js +0 -0
  478. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-message-event.d.ts +0 -0
  479. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-message-event.js +0 -0
  480. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-session-event.d.ts +0 -0
  481. /package/dist/react/{use-opencode-events → use-runtime-events}/handle-workspace-event.d.ts +0 -0
  482. /package/dist/react/{use-opencode-events → use-runtime-events}/handler-context.js +0 -0
  483. /package/dist/react/{use-opencode-events → use-runtime-events}/hydrate-core.d.ts +0 -0
  484. /package/dist/react/{use-opencode-events → use-runtime-events}/hydrate-core.js +0 -0
  485. /package/dist/react/{use-opencode-events → use-runtime-events}/log-control.d.ts +0 -0
  486. /package/dist/react/{use-opencode-events → use-runtime-events}/rehydrate-targets.d.ts +0 -0
  487. /package/dist/react/{use-opencode-events → use-runtime-events}/rehydrate-targets.js +0 -0
  488. /package/dist/react/{use-opencode-events → use-runtime-events}/runtime-stream-signals.d.ts +0 -0
  489. /package/dist/react/{use-opencode-events → use-runtime-events}/runtime-stream-signals.js +0 -0
  490. /package/dist/react/{use-opencode-events → use-runtime-events}/stream-revival.d.ts +0 -0
  491. /package/dist/react/{use-opencode-events → use-runtime-events}/stream-revival.js +0 -0
  492. /package/dist/react/{use-opencode-events → use-runtime-events}/types.d.ts +0 -0
  493. /package/dist/react/{use-opencode-events → use-runtime-events}/types.js +0 -0
  494. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/commands.d.ts +0 -0
  495. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/commands.js +0 -0
  496. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/files.d.ts +0 -0
  497. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/files.js +0 -0
  498. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/index.d.ts +0 -0
  499. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/log-sessions.js +0 -0
  500. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/permissions.d.ts +0 -0
  501. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/permissions.js +0 -0
  502. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/projects.d.ts +0 -0
  503. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/projects.js +0 -0
  504. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/providers.d.ts +0 -0
  505. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/vcs.d.ts +0 -0
  506. /package/dist/react/{use-opencode-sessions → use-runtime-sessions}/vcs.js +0 -0
@@ -1,19 +1,24 @@
1
1
  /**
2
2
  * Goals (project flag `goals`): what a person wants plus a definition of
3
- * done. An assigned agent works it, wake after wake, until an independent
4
- * verifier session confirms it. A goal is a folder in the project's Files,
5
- * `/Company/Goals/<slug>/` by default: `GOAL.md` (front matter = definition
6
- * and state, `parseGoalFile`), `log.md` (append-only), `evidence/`. The
7
- * `kortix goals` CLI writes it inside the owner session's sandbox. Its
8
- * heartbeat is a loop on the owner session. Older folders hold `goal.json`.
3
+ * done. An assigned agent works it in an owner session until an independent
4
+ * verifier session passes every criterion.
9
5
  *
10
- * The folder stays the only source of truth; nothing here keeps a second
11
- * copy of a goal's state. The writes here are what a person does from the
12
- * app: create a goal, pause, resume or stop it, answer its question.
6
+ * The API owns the lifecycle (`/v1/projects/:projectId/goals/*`): state,
7
+ * pause, stop, owner, verifier, caps, wakes and verification live in the
8
+ * goal record, and every write carries the `revision` it read (a stale one
9
+ * throws `ProjectGoalConflictError` with the current goal). The goal's folder
10
+ * in Files holds the brief (`GOAL.md`), `log.md` and `evidence/`; lifecycle
11
+ * fields written into GOAL.md change nothing.
12
+ *
13
+ * Who may do what is the server's decision; `ProjectGoal.capabilities` says
14
+ * it per goal for the caller. A person creates, pauses, resumes, stops,
15
+ * restarts and answers; the owner session reports progress; only the
16
+ * verifier session decides done.
13
17
  */
18
+ import { ApiError } from '../../http/api-client.js';
14
19
  import type { ResourceBinding } from './manifest-spaces.js';
15
- import { type ProjectConfigSummary } from './projects.js';
16
- import { type ProjectReminder } from './session-reminders.js';
20
+ import type { ProjectConfigSummary } from './projects.js';
21
+ import type { ProjectReminder } from './session-reminders.js';
17
22
  export type ProjectGoalStatus = 'draft' | 'active' | 'waiting_on_user' | 'waiting_external' | 'verifying' | 'done' | 'stopped' | 'abandoned';
18
23
  export interface ProjectGoalCriterion {
19
24
  id: string;
@@ -51,8 +56,13 @@ export interface ProjectGoalTransition {
51
56
  by: string;
52
57
  }
53
58
  /**
54
- * A goal's definition and state: the front matter of `GOAL.md`
55
- * (`parseGoalFile`), or a legacy `goal.json`. `kortix goals` writes it.
59
+ * A goal's definition and state in the shape GOAL.md front matter had
60
+ * (`parseGoalFile`). `ProjectGoal.goal` holds it, derived from the server
61
+ * record: `success_criteria[].met` is the owner's claim (`reported_met`),
62
+ * never verification (read `ProjectGoal.criteria[].verified`), `items`,
63
+ * `transitions` and `links` are empty (read `listProjectGoalEvents`), and
64
+ * `body` is absent (read `getProjectGoalFiles(...).brief`). Lifecycle fields
65
+ * written into a GOAL.md file change nothing: the API owns them.
56
66
  */
57
67
  export interface ProjectGoalDocument {
58
68
  version: 1;
@@ -108,91 +118,249 @@ export interface ProjectGoalDocument {
108
118
  * - `ask_overdue`: an open ask is past its due time.
109
119
  * - `verification_stalled`: verification started more than 24 hours ago.
110
120
  * - `unreadable`: GOAL.md (or a legacy goal.json) is missing or has no goal.
121
+ * - `blocked`: the server records why the goal cannot go on by itself
122
+ * (`ProjectGoal.blockedReason`: credits, a cap, a lost owner, storage, the flag, setup).
111
123
  */
112
- export type ProjectGoalIssue = 'no_heartbeat' | 'heartbeat_paused' | 'heartbeat_failed' | 'missed_wake' | 'ask_overdue' | 'verification_stalled' | 'unreadable';
124
+ export type ProjectGoalIssue = 'no_heartbeat' | 'heartbeat_paused' | 'heartbeat_failed' | 'missed_wake' | 'ask_overdue' | 'verification_stalled' | 'unreadable' | 'blocked';
113
125
  export interface ProjectGoalHealth {
114
126
  /** `closed`: done or abandoned. `attention`: at least one issue. */
115
127
  state: 'healthy' | 'attention' | 'closed';
116
128
  issues: ProjectGoalIssue[];
117
129
  }
130
+ /**
131
+ * One goal as the API holds it (`ProjectGoalRecord`), in the shape the SDK
132
+ * has always returned plus the server fields. Use `goalId` to address it and
133
+ * send `revision` back on every write.
134
+ */
118
135
  export interface ProjectGoal {
119
- /** The folder name. Unique within its scope. */
136
+ /** The folder name. Unique within the folder's parent. Use `goalId` to address a goal. */
120
137
  slug: string;
121
- /** `company`: under `/Company/Goals`. `personal`: under the caller's own folder. */
138
+ /** `company`: a folder under `/Company/`. `personal`: any other folder (a person's own or a shared one). Read `folder` for where it is. */
122
139
  scope: 'company' | 'personal';
123
140
  driveId: string;
124
- /** The folder's path in Files, for example `/Company/Goals/bank-close`. */
141
+ /** The folder's path in Files, for example `/Users/<user_id>/Goals/bank-close`. */
125
142
  folder: string;
126
- /** Null when `goal.json` is missing or unreadable. */
143
+ /** The record in the shape of GOAL.md front matter (see `ProjectGoalDocument`). Never null for a server record. */
127
144
  goal: ProjectGoalDocument | null;
128
- /** The coordinating session's active or paused heartbeat, or null. */
145
+ /**
146
+ * @deprecated The API owns the heartbeat and does not expose its reminder.
147
+ * Always null; read `record.next_wake_at` and `record.last_wake_at`.
148
+ */
129
149
  heartbeat: ProjectReminder | null;
150
+ /** The goal's current owner session (`record.owner_session_id`). */
130
151
  coordinatorSessionId: string | null;
131
152
  health: ProjectGoalHealth;
153
+ /** The project the goal belongs to. */
154
+ projectId: string;
155
+ /** The goal's stable id (`goal_id`): its page is `/projects/<projectId>/goals/<goalId>`. */
156
+ goalId: string;
157
+ /** Compare-and-set token: every write sends the revision it read. A stale one throws `ProjectGoalConflictError`. */
158
+ revision: number;
159
+ /** What the caller may do on this goal now. Show only these controls. */
160
+ capabilities: ProjectGoalCapabilities;
161
+ /** Why the goal cannot go on by itself, or null. */
162
+ blockedReason: ProjectGoalBlockedReason | null;
163
+ /** The latest independent verification, or null. */
164
+ verification: ProjectGoalVerification | null;
165
+ /** Done criteria: `reported_met` is the owner's claim, `verified` is the verifier's pass. */
166
+ criteria: ProjectGoalCriterionStatus[];
167
+ /** The server record as the API returned it. */
168
+ record: ProjectGoalRecord;
132
169
  }
133
- /** A goal's health from its `goal.json` and its heartbeat, at `now` (ms). */
134
- export declare function goalHealth(goal: ProjectGoalDocument | null, heartbeat: ProjectReminder | null, now?: number): ProjectGoalHealth;
170
+ /** States of the server record. */
171
+ export type ProjectGoalRecordState = 'draft' | 'active' | 'waiting_on_user' | 'verifying' | 'done' | 'stopped';
135
172
  /**
136
- * Every goal in the project the caller can see: Company goals first, then the
137
- * caller's own. Sorted by folder within each scope.
173
+ * Why a goal cannot make progress by itself right now.
174
+ * - `credits`: a wake was refused for credits; it goes on after a top-up and a person's resume.
175
+ * - `wake_cap`: `max_wakes_per_day` reached; it goes on the next UTC day by itself.
176
+ * - `session_cap`: `max_sessions` reached; a person raises the cap.
177
+ * - `owner_lost`: the owner session failed and no successor took over; a person restarts it.
178
+ * - `storage`: the goal's folder in Files could not be read or written.
179
+ * - `flag_off`: the project's `goals` flag is off; nothing runs until it is on and a person resumes.
180
+ * - `setup`: create did not finish; the API finishes it by itself.
181
+ */
182
+ export type ProjectGoalBlockedReason = 'credits' | 'wake_cap' | 'session_cap' | 'owner_lost' | 'storage' | 'flag_off' | 'setup';
183
+ /** What the caller may do on a goal now. A person who may not sees no control. */
184
+ export interface ProjectGoalCapabilities {
185
+ read: boolean;
186
+ edit: boolean;
187
+ pause: boolean;
188
+ resume: boolean;
189
+ stop: boolean;
190
+ restart: boolean;
191
+ answer: boolean;
192
+ edit_criteria: boolean;
193
+ }
194
+ export interface ProjectGoalCriterionStatus {
195
+ id: string;
196
+ text: string;
197
+ /** The owner's claim. Not verification: see `verified`. */
198
+ reported_met: boolean;
199
+ /** A path relative to the goal folder, under `evidence/`. */
200
+ evidence: string | null;
201
+ /** True only after a passed verification of the current criteria. */
202
+ verified: boolean;
203
+ }
204
+ export interface ProjectGoalVerification {
205
+ attempt: number;
206
+ verifier_session_id: string;
207
+ criteria_revision: number;
208
+ started_at: string;
209
+ decided_at: string | null;
210
+ outcome: 'pending' | 'pass' | 'fail';
211
+ results: Array<{
212
+ criterion_id: string;
213
+ result: 'pass' | 'fail' | 'inconclusive';
214
+ note: string;
215
+ }>;
216
+ /** Evidence files the verdict covered: path → sha256 at verdict time. */
217
+ evidence_hashes: Record<string, string>;
218
+ }
219
+ /** A goal as `GET /projects/:projectId/goals` returns it (`packages/api-contract` `Goal`). */
220
+ export interface ProjectGoalRecord {
221
+ goal_id: string;
222
+ project_id: string;
223
+ revision: number;
224
+ title: string;
225
+ state: ProjectGoalRecordState;
226
+ /** The question the goal waits on while `waiting_on_user`. */
227
+ waiting_on: string | null;
228
+ /** When a `waiting_on_user` goal wakes to chase, if it asked to. */
229
+ chase_at: string | null;
230
+ summary: string;
231
+ paused_at: string | null;
232
+ paused_by_user_id: string | null;
233
+ stopped_at: string | null;
234
+ blocked_reason: ProjectGoalBlockedReason | null;
235
+ assigned_user_id: string | null;
236
+ created_by_user_id: string;
237
+ agent: string | null;
238
+ space: string | null;
239
+ drive_id: string;
240
+ /** The folder in Files, for example `/Users/<user_id>/Goals/<slug>`. */
241
+ folder: string;
242
+ /** The same folder as the owner's sandbox sees it, for example `/drives/me/Goals/<slug>`. */
243
+ box_folder: string;
244
+ slug: string;
245
+ owner_session_id: string | null;
246
+ /** Every owner and verifier session the goal used, oldest first. */
247
+ sessions: Array<{
248
+ id: string;
249
+ role: 'owner' | 'verifier';
250
+ since: string;
251
+ }>;
252
+ criteria_revision: number;
253
+ criteria: ProjectGoalCriterionStatus[];
254
+ verification: ProjectGoalVerification | null;
255
+ heartbeat_every: string;
256
+ next_wake_at: string | null;
257
+ last_wake_at: string | null;
258
+ max_wakes_per_day: number;
259
+ /** Wakes the server admitted this UTC day. */
260
+ wakes_today: number;
261
+ max_sessions: number;
262
+ /** `legacy_unverified`: imported from a folder; a `done` there was never verified by the API. */
263
+ provenance: 'api' | 'legacy_unverified';
264
+ created_at: string;
265
+ updated_at: string;
266
+ capabilities: ProjectGoalCapabilities;
267
+ }
268
+ /** One line of a goal's audit trail (`GET …/goals/:goalId/events`). */
269
+ export interface ProjectGoalEvent {
270
+ id: string;
271
+ goal_id: string;
272
+ at: string;
273
+ /** For example `created`, `activated`, `waiting`, `answered`, `paused`, `resumed`, `stopped`, `restarted`, `wake_admitted`, `wake_refused`, `verification_requested`, `verdict`, `handover`, `owner_adopted`, `criteria_changed`, `progress`, `blocked`, `unblocked`, `edited`. */
274
+ kind: string;
275
+ actor_kind: 'user' | 'session' | 'platform';
276
+ actor_id: string | null;
277
+ from_state: ProjectGoalRecordState | null;
278
+ to_state: ProjectGoalRecordState | null;
279
+ /** A short human-readable line. */
280
+ message: string;
281
+ data: Record<string, unknown>;
282
+ }
283
+ /** A write's result: the document as before, plus the goal as the server holds it now (with its new `revision`). */
284
+ export interface ProjectGoalWriteResult extends ProjectGoalDocument {
285
+ projectGoal: ProjectGoal;
286
+ }
287
+ /**
288
+ * A goal write sent a stale `revision` (`409 goal_conflict`): someone or
289
+ * something changed the goal first. `goal` is the goal as it is now. Show it
290
+ * and let the person decide again; never resend the write blindly.
291
+ */
292
+ export declare class ProjectGoalConflictError extends ApiError {
293
+ goal: ProjectGoal;
294
+ constructor(source: ApiError, goal: ProjectGoal);
295
+ }
296
+ /**
297
+ * A goal's health at `now` (ms). For a server record (`ProjectGoalRecord`) it
298
+ * reads the server fields: `blocked_reason`, `next_wake_at` (a wake more than
299
+ * 15 minutes overdue), and the start of a pending verification (more than 24
300
+ * hours). A paused or waiting goal has no wake due, unless it asked to chase.
301
+ * `heartbeat` is ignored for a record. A `ProjectGoalDocument` (a GOAL.md
302
+ * read by hand) is judged by its heartbeat reminder, as before.
303
+ */
304
+ export declare function goalHealth(goal: ProjectGoalDocument | ProjectGoalRecord | null, heartbeat: ProjectReminder | null, now?: number): ProjectGoalHealth;
305
+ /**
306
+ * Every goal in the project the caller may read, from the API: their own,
307
+ * the ones assigned to them, the ones in folders shared with them, and all
308
+ * of them for a project admin. Empty when the `goals` flag is off.
138
309
  */
139
310
  export declare function listProjectGoals(projectId: string, options?: {
140
311
  now?: number;
141
312
  }): Promise<ProjectGoal[]>;
313
+ /** One goal by its `goal_id`. Throws `ApiError` 404 (no such goal) or 403 (no access). */
314
+ export declare function getProjectGoal(projectId: string, goalId: string, options?: {
315
+ now?: number;
316
+ }): Promise<ProjectGoal>;
317
+ /** A page of a goal's audit trail, oldest first. Pass `nextCursor` back as `cursor` for the next page; null: no more. */
318
+ export declare function listProjectGoalEvents(projectId: string, goalId: string, options?: {
319
+ cursor?: string | null;
320
+ }): Promise<{
321
+ events: ProjectGoalEvent[];
322
+ nextCursor: string | null;
323
+ }>;
324
+ /** The goal a write addresses: its id and the revision the caller read. Other `ProjectGoal` fields are accepted and ignored. */
325
+ type GoalTarget = Pick<ProjectGoal, 'goalId' | 'revision'> & Partial<Omit<ProjectGoal, 'goalId' | 'revision'>>;
142
326
  /**
143
- * Bind a goal to a space or an agent: read `goal.json` with its version,
144
- * merge `space` / `agent` (null clears one, an absent key keeps it) and write
145
- * it back with `If-Match`. A concurrent write throws `ApiError` 409. Returns
146
- * the document as written. Grouping only: it grants nothing.
327
+ * Bind a goal to a space or an agent (`PATCH …/goals/:goalId`): null clears
328
+ * one, an absent key keeps it. Grouping only: it grants nothing. A stale
329
+ * `revision` throws `ProjectGoalConflictError`.
147
330
  */
148
- export declare function setProjectGoalBinding(goal: Pick<ProjectGoal, 'driveId' | 'folder'>, binding: ResourceBinding): Promise<ProjectGoalDocument>;
331
+ export declare function setProjectGoalBinding(goal: GoalTarget, binding: ResourceBinding): Promise<ProjectGoalWriteResult>;
149
332
  export interface ProjectGoalFiles {
333
+ /** `GOAL.md`: the brief (title, context, criteria as the agent reads them). */
334
+ brief: string | null;
150
335
  /** `log.md`: the append-only timeline. */
151
336
  log: string | null;
152
337
  /** `notes.md`: request, constraints, threads, what was learned. */
153
338
  notes: string | null;
154
- /** `evidence/verification.md`: the independent verifier's verdict. */
339
+ /** `evidence/verification.md`: the independent verifier's report. */
155
340
  verification: string | null;
156
341
  }
157
342
  /** A goal folder's text files. A missing file is null. */
158
343
  export declare function getProjectGoalFiles(driveId: string, folder: string): Promise<ProjectGoalFiles>;
159
344
  /**
160
- * A person stops a goal (any open state → `stopped`): writes the state into
161
- * GOAL.md on the version it read (a concurrent write throws `ApiError` 409),
162
- * appends the move to `log.md`, and removes the heartbeat so nothing wakes it
163
- * again. Returns the document as written. Throws on a closed goal and on a
164
- * legacy `goal.json` folder.
345
+ * A person stops a goal (`POST …/stop`): any open state → `stopped`. The API
346
+ * removes the heartbeat and aborts the owner's running turn. A retry on a
347
+ * goal that is already stopped finishes that cleanup and succeeds.
165
348
  */
166
- export declare function stopProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'driveId' | 'folder' | 'heartbeat'>, reason: string): Promise<ProjectGoalDocument>;
349
+ export declare function stopProjectGoal(projectId: string, goal: GoalTarget, reason: string): Promise<ProjectGoalWriteResult>;
167
350
  /**
168
- * A person pauses a goal: GOAL.md records `paused_at` on the version it read
169
- * (a concurrent write throws `ApiError` 409), `log.md` records the reason,
170
- * and the heartbeat is disabled. The state does not change, so resuming picks
171
- * up where the goal was. A turn already running finishes; no new one starts.
172
- * Throws on a closed goal. On a goal GOAL.md already records as paused (a
173
- * retry after the heartbeat update failed) it only disables the heartbeat.
351
+ * A person pauses a goal (`POST …/pause`). The state does not change; no new
352
+ * turn starts until a person resumes it. A turn already running finishes,
353
+ * and the API refuses its lifecycle writes.
174
354
  */
175
- export declare function pauseProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'driveId' | 'folder' | 'heartbeat'>, reason: string): Promise<ProjectGoalDocument>;
355
+ export declare function pauseProjectGoal(projectId: string, goal: GoalTarget, reason: string): Promise<ProjectGoalWriteResult>;
356
+ /** A person resumes a paused goal (`POST …/resume`): the heartbeat runs again and the owner wakes once. */
357
+ export declare function resumeProjectGoal(projectId: string, goal: GoalTarget): Promise<ProjectGoalWriteResult>;
176
358
  /**
177
- * A person resumes a paused goal, in this order: the heartbeat is enabled
178
- * again, GOAL.md clears `paused_at` (`log.md` records it), and the owner
179
- * session wakes now (its turn end re-arms a heartbeat that went missing). A
180
- * retry after a later step failed finishes the steps left: a goal GOAL.md
181
- * already records as running gets its heartbeat enabled, and a wake when it
182
- * has no live heartbeat.
359
+ * A person starts a stopped goal again (`POST …/restart`): `active` when it
360
+ * has criteria, else `draft`. When the owner session is gone the API starts a
361
+ * new one (within `max_sessions`).
183
362
  */
184
- export declare function resumeProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'driveId' | 'folder' | 'heartbeat' | 'scope' | 'slug' | 'coordinatorSessionId'>): Promise<ProjectGoalDocument>;
185
- /**
186
- * A person starts a stopped goal again, in place: GOAL.md moves `stopped` →
187
- * `active` (→ `draft` when it has no done criteria yet, so the owner writes
188
- * them first) on the version it read (a concurrent write throws `ApiError`
189
- * 409), `log.md` records the move, and then the owner session wakes. Its turn
190
- * end (`kortix goals check --enforce`) arms the heartbeat the stop removed.
191
- * The wake id names the stop, so a retry is deduped. A retry after the wake
192
- * failed (the goal is open again, but no live heartbeat wakes it) writes
193
- * nothing and only wakes the owner. Throws on any other goal.
194
- */
195
- export declare function restartProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'driveId' | 'folder' | 'heartbeat' | 'scope' | 'slug' | 'coordinatorSessionId'>, reason: string): Promise<ProjectGoalDocument>;
363
+ export declare function restartProjectGoal(projectId: string, goal: GoalTarget, reason: string): Promise<ProjectGoalWriteResult>;
196
364
  /**
197
365
  * The agent that owns a new goal. A goal lives in Files, so its owner needs
198
366
  * Files mounted: My Kortix (sandbox `mykortix`) has none. Named: that agent,
@@ -213,51 +381,60 @@ export interface GoalAgentConfig {
213
381
  */
214
382
  export declare function defaultGoalAgent(config: GoalAgentConfig): string | null;
215
383
  export interface CreateProjectGoalInput {
216
- /** What should be true when the goal is done, in the person's words. */
384
+ /** What should be true when the goal is done, in the person's words. The first line is the title; the rest is the context. */
217
385
  outcome: string;
218
386
  /** Done criteria someone else can check: at most 8. Blank lines are dropped. None: the agent writes them. */
219
387
  criteria?: string[];
220
- /** The agent that works it (`assigned_agent`). It needs Files, so never My Kortix. Omitted: the project's default agent, else the first agent that can. */
388
+ /** The agent that works it. It needs Files, so never My Kortix. Omitted: the server picks the project's default agent, else the first agent that can. */
221
389
  agent?: string | null;
222
- /** The person it is for: a user id. Omitted: nobody named in GOAL.md. */
390
+ /** The person it is for: a user id. Omitted: nobody. */
223
391
  assignedUser?: string | null;
224
392
  /**
225
- * The owner session's id (an RFC 4122 v4 UUID). Pass the same id to retry a
226
- * create: a folder this session already owns is reused and nothing is written
227
- * twice. Omitted: a new id.
393
+ * The goal's id (an RFC 4122 v4 UUID) and the create's idempotency key:
394
+ * pass the same id to retry a create, and the API returns the same goal.
395
+ * Omitted: `sessionId`, else a new id.
396
+ */
397
+ goalId?: string;
398
+ /**
399
+ * @deprecated Pass `goalId`. Still the idempotency key when `goalId` is
400
+ * omitted: it is sent as the goal id. The API picks the owner session's id.
228
401
  */
229
402
  sessionId?: string;
230
- /** The creation time, UTC ISO 8601. Omitted: now. */
403
+ /** @deprecated Ignored: the API records the creation time. */
231
404
  now?: string;
232
405
  }
233
406
  export interface CreatedProjectGoal {
234
407
  slug: string;
235
- /** A goal a person creates from the app is theirs: it lives in their own folder. */
408
+ /** A goal a person creates from the app lives in their own folder. */
236
409
  scope: 'personal';
237
410
  driveId: string;
238
411
  folder: string;
239
- /** The owner session, already started on its first wake. */
412
+ /** The owner session, already started on its first wake. Empty while the API still finishes the setup (`blockedReason: 'setup'`). */
240
413
  sessionId: string;
414
+ /** The goal's id: the one sent, or the one generated. */
415
+ goalId: string;
416
+ /** The goal as the API holds it after the create. */
417
+ goal: ProjectGoal;
241
418
  }
242
419
  /**
243
- * A person creates a goal, in this order: the owner session (idle,
244
- * unattended), its heartbeat, `GOAL.md` (state `draft`, that session its
245
- * owner, the heartbeat recorded) and `log.md` in `<own folder>/Goals/<slug>/`,
246
- * then the session's first wake. Nothing runs before GOAL.md exists, so the
247
- * agent never races the write. The owner's turn end (`kortix goals check
248
- * --enforce`, run by kortixd) keeps the heartbeat alive because GOAL.md names
249
- * the session its owner: no step depends on the model remembering it.
250
- * A slug another goal holds gets `-2`, `-3`, …. Retrying with the same
251
- * `sessionId` is safe: a `409` session create is the session that already
252
- * exists, a folder it owns is reused, and the first wake is deduped.
420
+ * A person creates a goal (`POST /projects/:projectId/goals`). The API puts
421
+ * it in the caller's own folder, writes GOAL.md and log.md, starts the owner
422
+ * session with its heartbeat, and sends the first wake. `goalId` is the
423
+ * idempotency key: a retry with the same id returns the same goal and starts
424
+ * nothing twice. Throws before any request on an empty outcome or more than
425
+ * 8 criteria; the API refuses an agent without Files.
253
426
  */
254
427
  export declare function createProjectGoal(projectId: string, input: CreateProjectGoalInput): Promise<CreatedProjectGoal>;
255
428
  /**
256
- * Answer a goal: queue `text` into the owner session's inbox, which wakes it.
257
- * The prompt names the goal folder, so the owner knows which goal the answer
258
- * is for. Resolves when the prompt is durable, not when it is read.
429
+ * A person answers a goal (`POST …/answer`): the API queues the text into
430
+ * the owner session, attributed to the caller, and a goal waiting on a
431
+ * person goes back to active. `answerId` is the idempotency key: pass the
432
+ * same id to retry, and the owner gets the answer once. Omitted: a new id.
433
+ * Resolves when the answer is durable, not when it is read.
259
434
  */
260
- export declare function replyToProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'scope' | 'slug' | 'coordinatorSessionId'>, text: string): Promise<void>;
435
+ export declare function replyToProjectGoal(projectId: string, goal: Pick<ProjectGoal, 'goalId'> & Partial<Omit<ProjectGoal, 'goalId'>>, text: string, options?: {
436
+ answerId?: string;
437
+ }): Promise<void>;
261
438
  /** What a session reads when a person asks it to turn the conversation into a goal. */
262
439
  export declare const MAKE_GOAL_PROMPT: string;
263
440
  /** "Make this a goal" from a chat: queue `MAKE_GOAL_PROMPT` into that session. */
@@ -1 +1 @@
1
- {"version":3,"file":"goals.d.ts","sourceRoot":"","sources":["../../../../src/core/rest/projects-client/goals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEzE,OAAO,EAML,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,QAAQ,GACR,iBAAiB,GACjB,kBAAkB,GAClB,WAAW,GACX,MAAM,GACN,SAAS,GACT,WAAW,CAAC;AAEhB,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;IACb,qEAAqE;IACrE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,uFAAuF;IACvF,I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