panoma 0.9.0 → 0.10.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 (547) hide show
  1. package/README.md +1 -0
  2. package/app/BUILD-INFO.json +3 -3
  3. package/app/apps/web/.next-bundle/BUILD_ID +1 -1
  4. package/app/apps/web/.next-bundle/app-build-manifest.json +414 -322
  5. package/app/apps/web/.next-bundle/app-path-routes-manifest.json +45 -33
  6. package/app/apps/web/.next-bundle/build-manifest.json +3 -3
  7. package/app/apps/web/.next-bundle/prerender-manifest.json +9 -9
  8. package/app/apps/web/.next-bundle/required-server-files.json +5 -4
  9. package/app/apps/web/.next-bundle/routes-manifest.json +14 -0
  10. package/app/apps/web/.next-bundle/server/app/(app)/agents/page.js +2 -2
  11. package/app/apps/web/.next-bundle/server/app/(app)/agents/page_client-reference-manifest.js +1 -1
  12. package/app/apps/web/.next-bundle/server/app/(app)/ai/page.js +2 -2
  13. package/app/apps/web/.next-bundle/server/app/(app)/ai/page_client-reference-manifest.js +1 -1
  14. package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page.js +2 -2
  15. package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page_client-reference-manifest.js +1 -1
  16. package/app/apps/web/.next-bundle/server/app/(app)/apps/page.js +2 -2
  17. package/app/apps/web/.next-bundle/server/app/(app)/apps/page_client-reference-manifest.js +1 -1
  18. package/app/apps/web/.next-bundle/server/app/(app)/bridge/page.js +2 -2
  19. package/app/apps/web/.next-bundle/server/app/(app)/bridge/page_client-reference-manifest.js +1 -1
  20. package/app/apps/web/.next-bundle/server/app/(app)/copies/page.js +2 -2
  21. package/app/apps/web/.next-bundle/server/app/(app)/copies/page_client-reference-manifest.js +1 -1
  22. package/app/apps/web/.next-bundle/server/app/(app)/credentials/page.js +2 -2
  23. package/app/apps/web/.next-bundle/server/app/(app)/credentials/page_client-reference-manifest.js +1 -1
  24. package/app/apps/web/.next-bundle/server/app/(app)/disk/page.js +2 -2
  25. package/app/apps/web/.next-bundle/server/app/(app)/disk/page_client-reference-manifest.js +1 -1
  26. package/app/apps/web/.next-bundle/server/app/(app)/handoff/page.js +2 -0
  27. package/app/apps/web/.next-bundle/server/app/(app)/handoff/page_client-reference-manifest.js +1 -0
  28. package/app/apps/web/.next-bundle/server/app/(app)/hidden/page.js +2 -2
  29. package/app/apps/web/.next-bundle/server/app/(app)/hidden/page_client-reference-manifest.js +1 -1
  30. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page.js +2 -2
  31. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page_client-reference-manifest.js +1 -1
  32. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page.js +2 -2
  33. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page_client-reference-manifest.js +1 -1
  34. package/app/apps/web/.next-bundle/server/app/(app)/packages/page.js +2 -2
  35. package/app/apps/web/.next-bundle/server/app/(app)/packages/page_client-reference-manifest.js +1 -1
  36. package/app/apps/web/.next-bundle/server/app/(app)/page.js +2 -2
  37. package/app/apps/web/.next-bundle/server/app/(app)/page_client-reference-manifest.js +1 -1
  38. package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page.js +2 -2
  39. package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page_client-reference-manifest.js +1 -1
  40. package/app/apps/web/.next-bundle/server/app/(app)/runs/page.js +2 -2
  41. package/app/apps/web/.next-bundle/server/app/(app)/runs/page_client-reference-manifest.js +1 -1
  42. package/app/apps/web/.next-bundle/server/app/(app)/search/page.js +2 -2
  43. package/app/apps/web/.next-bundle/server/app/(app)/search/page_client-reference-manifest.js +1 -1
  44. package/app/apps/web/.next-bundle/server/app/(app)/spend/page.js +2 -2
  45. package/app/apps/web/.next-bundle/server/app/(app)/spend/page_client-reference-manifest.js +1 -1
  46. package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page.js +2 -2
  47. package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page_client-reference-manifest.js +1 -1
  48. package/app/apps/web/.next-bundle/server/app/(app)/twin/page.js +2 -2
  49. package/app/apps/web/.next-bundle/server/app/(app)/twin/page_client-reference-manifest.js +1 -1
  50. package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page.js +2 -2
  51. package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page_client-reference-manifest.js +1 -1
  52. package/app/apps/web/.next-bundle/server/app/_not-found/page.js +2 -2
  53. package/app/apps/web/.next-bundle/server/app/_not-found/page_client-reference-manifest.js +1 -1
  54. package/app/apps/web/.next-bundle/server/app/api/accounts/route.js +1 -1
  55. package/app/apps/web/.next-bundle/server/app/api/accounts/route_client-reference-manifest.js +1 -1
  56. package/app/apps/web/.next-bundle/server/app/api/agent/apps/route.js +1 -0
  57. package/app/apps/web/.next-bundle/server/app/api/agent/apps/route_client-reference-manifest.js +1 -0
  58. package/app/apps/web/.next-bundle/server/app/api/agent/consult/route.js +1 -1
  59. package/app/apps/web/.next-bundle/server/app/api/agent/consult/route_client-reference-manifest.js +1 -1
  60. package/app/apps/web/.next-bundle/server/app/api/agent/context/route.js +1 -1
  61. package/app/apps/web/.next-bundle/server/app/api/agent/context/route_client-reference-manifest.js +1 -1
  62. package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route.js +1 -0
  63. package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route_client-reference-manifest.js +1 -0
  64. package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route.js +1 -0
  65. package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route_client-reference-manifest.js +1 -0
  66. package/app/apps/web/.next-bundle/server/app/api/agent/hello/route.js +1 -1
  67. package/app/apps/web/.next-bundle/server/app/api/agent/hello/route_client-reference-manifest.js +1 -1
  68. package/app/apps/web/.next-bundle/server/app/api/agent/journal/route.js +1 -1
  69. package/app/apps/web/.next-bundle/server/app/api/agent/journal/route_client-reference-manifest.js +1 -1
  70. package/app/apps/web/.next-bundle/server/app/api/agent/keys/route.js +1 -1
  71. package/app/apps/web/.next-bundle/server/app/api/agent/keys/route_client-reference-manifest.js +1 -1
  72. package/app/apps/web/.next-bundle/server/app/api/agent/log/route.js +1 -1
  73. package/app/apps/web/.next-bundle/server/app/api/agent/log/route_client-reference-manifest.js +1 -1
  74. package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route.js +2 -2
  75. package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route_client-reference-manifest.js +1 -1
  76. package/app/apps/web/.next-bundle/server/app/api/agent/notes/route.js +1 -1
  77. package/app/apps/web/.next-bundle/server/app/api/agent/notes/route_client-reference-manifest.js +1 -1
  78. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route.js +1 -1
  79. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route_client-reference-manifest.js +1 -1
  80. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route.js +1 -1
  81. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route_client-reference-manifest.js +1 -1
  82. package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route.js +1 -0
  83. package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route_client-reference-manifest.js +1 -0
  84. package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route.js +1 -0
  85. package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route_client-reference-manifest.js +1 -0
  86. package/app/apps/web/.next-bundle/server/app/api/agent/video/route.js +1 -0
  87. package/app/apps/web/.next-bundle/server/app/api/agent/video/route_client-reference-manifest.js +1 -0
  88. package/app/apps/web/.next-bundle/server/app/api/ai/route.js +1 -1
  89. package/app/apps/web/.next-bundle/server/app/api/ai/route_client-reference-manifest.js +1 -1
  90. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route.js +1 -1
  91. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route_client-reference-manifest.js +1 -1
  92. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route.js +1 -1
  93. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route_client-reference-manifest.js +1 -1
  94. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route.js +1 -1
  95. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route_client-reference-manifest.js +1 -1
  96. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route.js +1 -1
  97. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route_client-reference-manifest.js +1 -1
  98. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route.js +1 -1
  99. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route_client-reference-manifest.js +1 -1
  100. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route.js +1 -1
  101. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route_client-reference-manifest.js +1 -1
  102. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route.js +1 -1
  103. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route_client-reference-manifest.js +1 -1
  104. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route.js +1 -1
  105. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route_client-reference-manifest.js +1 -1
  106. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route.js +1 -1
  107. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route_client-reference-manifest.js +1 -1
  108. package/app/apps/web/.next-bundle/server/app/api/apps/route.js +1 -1
  109. package/app/apps/web/.next-bundle/server/app/api/apps/route_client-reference-manifest.js +1 -1
  110. package/app/apps/web/.next-bundle/server/app/api/assets/route.js +1 -1
  111. package/app/apps/web/.next-bundle/server/app/api/assets/route_client-reference-manifest.js +1 -1
  112. package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route.js +2 -2
  113. package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route_client-reference-manifest.js +1 -1
  114. package/app/apps/web/.next-bundle/server/app/api/assignments/route.js +1 -1
  115. package/app/apps/web/.next-bundle/server/app/api/assignments/route_client-reference-manifest.js +1 -1
  116. package/app/apps/web/.next-bundle/server/app/api/catalog/route.js +1 -1
  117. package/app/apps/web/.next-bundle/server/app/api/catalog/route_client-reference-manifest.js +1 -1
  118. package/app/apps/web/.next-bundle/server/app/api/check/route.js +1 -1
  119. package/app/apps/web/.next-bundle/server/app/api/check/route_client-reference-manifest.js +1 -1
  120. package/app/apps/web/.next-bundle/server/app/api/consultations/route.js +1 -1
  121. package/app/apps/web/.next-bundle/server/app/api/consultations/route_client-reference-manifest.js +1 -1
  122. package/app/apps/web/.next-bundle/server/app/api/describe/route.js +2 -2
  123. package/app/apps/web/.next-bundle/server/app/api/describe/route_client-reference-manifest.js +1 -1
  124. package/app/apps/web/.next-bundle/server/app/api/disk/route.js +1 -1
  125. package/app/apps/web/.next-bundle/server/app/api/disk/route_client-reference-manifest.js +1 -1
  126. package/app/apps/web/.next-bundle/server/app/api/enrich/route.js +1 -1
  127. package/app/apps/web/.next-bundle/server/app/api/enrich/route_client-reference-manifest.js +1 -1
  128. package/app/apps/web/.next-bundle/server/app/api/environment/route.js +2 -2
  129. package/app/apps/web/.next-bundle/server/app/api/environment/route_client-reference-manifest.js +1 -1
  130. package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route.js +1 -0
  131. package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route_client-reference-manifest.js +1 -0
  132. package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route.js +1 -0
  133. package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route_client-reference-manifest.js +1 -0
  134. package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route.js +1 -0
  135. package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route_client-reference-manifest.js +1 -0
  136. package/app/apps/web/.next-bundle/server/app/api/handoff/record/route.js +1 -0
  137. package/app/apps/web/.next-bundle/server/app/api/handoff/record/route_client-reference-manifest.js +1 -0
  138. package/app/apps/web/.next-bundle/server/app/api/handoff/route.js +1 -0
  139. package/app/apps/web/.next-bundle/server/app/api/handoff/route_client-reference-manifest.js +1 -0
  140. package/app/apps/web/.next-bundle/server/app/api/hooks/route.js +2 -2
  141. package/app/apps/web/.next-bundle/server/app/api/hooks/route_client-reference-manifest.js +1 -1
  142. package/app/apps/web/.next-bundle/server/app/api/ingest/route.js +1 -1
  143. package/app/apps/web/.next-bundle/server/app/api/ingest/route_client-reference-manifest.js +1 -1
  144. package/app/apps/web/.next-bundle/server/app/api/md/apply/route.js +1 -1
  145. package/app/apps/web/.next-bundle/server/app/api/md/apply/route_client-reference-manifest.js +1 -1
  146. package/app/apps/web/.next-bundle/server/app/api/md/context/route.js +1 -1
  147. package/app/apps/web/.next-bundle/server/app/api/md/context/route_client-reference-manifest.js +1 -1
  148. package/app/apps/web/.next-bundle/server/app/api/md/inspect/route.js +1 -1
  149. package/app/apps/web/.next-bundle/server/app/api/md/inspect/route_client-reference-manifest.js +1 -1
  150. package/app/apps/web/.next-bundle/server/app/api/md/repair/route.js +1 -1
  151. package/app/apps/web/.next-bundle/server/app/api/md/repair/route_client-reference-manifest.js +1 -1
  152. package/app/apps/web/.next-bundle/server/app/api/md/review/route.js +2 -2
  153. package/app/apps/web/.next-bundle/server/app/api/md/review/route_client-reference-manifest.js +1 -1
  154. package/app/apps/web/.next-bundle/server/app/api/memory/export/route.js +2 -2
  155. package/app/apps/web/.next-bundle/server/app/api/memory/export/route_client-reference-manifest.js +1 -1
  156. package/app/apps/web/.next-bundle/server/app/api/north/route.js +1 -1
  157. package/app/apps/web/.next-bundle/server/app/api/north/route_client-reference-manifest.js +1 -1
  158. package/app/apps/web/.next-bundle/server/app/api/notes/route.js +1 -1
  159. package/app/apps/web/.next-bundle/server/app/api/notes/route_client-reference-manifest.js +1 -1
  160. package/app/apps/web/.next-bundle/server/app/api/open/all/route.js +1 -1
  161. package/app/apps/web/.next-bundle/server/app/api/open/all/route_client-reference-manifest.js +1 -1
  162. package/app/apps/web/.next-bundle/server/app/api/open/route.js +1 -1
  163. package/app/apps/web/.next-bundle/server/app/api/open/route_client-reference-manifest.js +1 -1
  164. package/app/apps/web/.next-bundle/server/app/api/project/route.js +1 -1
  165. package/app/apps/web/.next-bundle/server/app/api/project/route_client-reference-manifest.js +1 -1
  166. package/app/apps/web/.next-bundle/server/app/api/rescan/route.js +1 -1
  167. package/app/apps/web/.next-bundle/server/app/api/rescan/route_client-reference-manifest.js +1 -1
  168. package/app/apps/web/.next-bundle/server/app/api/roots/route.js +1 -1
  169. package/app/apps/web/.next-bundle/server/app/api/roots/route_client-reference-manifest.js +1 -1
  170. package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route.js +1 -1
  171. package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route_client-reference-manifest.js +1 -1
  172. package/app/apps/web/.next-bundle/server/app/api/runs/route.js +1 -1
  173. package/app/apps/web/.next-bundle/server/app/api/runs/route_client-reference-manifest.js +1 -1
  174. package/app/apps/web/.next-bundle/server/app/api/scale/route.js +1 -1
  175. package/app/apps/web/.next-bundle/server/app/api/scale/route_client-reference-manifest.js +1 -1
  176. package/app/apps/web/.next-bundle/server/app/api/search/route.js +1 -1
  177. package/app/apps/web/.next-bundle/server/app/api/search/route_client-reference-manifest.js +1 -1
  178. package/app/apps/web/.next-bundle/server/app/api/secrets/route.js +1 -1
  179. package/app/apps/web/.next-bundle/server/app/api/secrets/route_client-reference-manifest.js +1 -1
  180. package/app/apps/web/.next-bundle/server/app/api/spend/route.js +1 -1
  181. package/app/apps/web/.next-bundle/server/app/api/spend/route_client-reference-manifest.js +1 -1
  182. package/app/apps/web/.next-bundle/server/app/api/tasks/route.js +1 -1
  183. package/app/apps/web/.next-bundle/server/app/api/tasks/route_client-reference-manifest.js +1 -1
  184. package/app/apps/web/.next-bundle/server/app/api/today/route.js +1 -1
  185. package/app/apps/web/.next-bundle/server/app/api/today/route_client-reference-manifest.js +1 -1
  186. package/app/apps/web/.next-bundle/server/app/api/twin/assign/route.js +1 -1
  187. package/app/apps/web/.next-bundle/server/app/api/twin/assign/route_client-reference-manifest.js +1 -1
  188. package/app/apps/web/.next-bundle/server/app/api/twin/classify/route.js +1 -1
  189. package/app/apps/web/.next-bundle/server/app/api/twin/classify/route_client-reference-manifest.js +1 -1
  190. package/app/apps/web/.next-bundle/server/app/api/twin/critique/route.js +1 -1
  191. package/app/apps/web/.next-bundle/server/app/api/twin/critique/route_client-reference-manifest.js +1 -1
  192. package/app/apps/web/.next-bundle/server/app/api/twin/design/route.js +1 -1
  193. package/app/apps/web/.next-bundle/server/app/api/twin/design/route_client-reference-manifest.js +1 -1
  194. package/app/apps/web/.next-bundle/server/app/api/twin/distill/route.js +1 -1
  195. package/app/apps/web/.next-bundle/server/app/api/twin/distill/route_client-reference-manifest.js +1 -1
  196. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route.js +1 -1
  197. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route_client-reference-manifest.js +1 -1
  198. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route.js +1 -1
  199. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route_client-reference-manifest.js +1 -1
  200. package/app/apps/web/.next-bundle/server/app/api/twin/look/route.js +1 -1
  201. package/app/apps/web/.next-bundle/server/app/api/twin/look/route_client-reference-manifest.js +1 -1
  202. package/app/apps/web/.next-bundle/server/app/api/twin/mine/route.js +1 -1
  203. package/app/apps/web/.next-bundle/server/app/api/twin/mine/route_client-reference-manifest.js +1 -1
  204. package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route.js +1 -1
  205. package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route_client-reference-manifest.js +1 -1
  206. package/app/apps/web/.next-bundle/server/app/api/twin/score/route.js +1 -1
  207. package/app/apps/web/.next-bundle/server/app/api/twin/score/route_client-reference-manifest.js +1 -1
  208. package/app/apps/web/.next-bundle/server/app/api/twin/shot/route.js +1 -1
  209. package/app/apps/web/.next-bundle/server/app/api/twin/shot/route_client-reference-manifest.js +1 -1
  210. package/app/apps/web/.next-bundle/server/app/api/twin/sources/route.js +1 -1
  211. package/app/apps/web/.next-bundle/server/app/api/twin/sources/route_client-reference-manifest.js +1 -1
  212. package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route.js +1 -1
  213. package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route_client-reference-manifest.js +1 -1
  214. package/app/apps/web/.next-bundle/server/app/api/twin/taste/route.js +1 -1
  215. package/app/apps/web/.next-bundle/server/app/api/twin/taste/route_client-reference-manifest.js +1 -1
  216. package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route.js +1 -1
  217. package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route_client-reference-manifest.js +1 -1
  218. package/app/apps/web/.next-bundle/server/app/api/watch/route.js +1 -1
  219. package/app/apps/web/.next-bundle/server/app/api/watch/route_client-reference-manifest.js +1 -1
  220. package/app/apps/web/.next-bundle/server/app/apple-icon.png/route.js +1 -1
  221. package/app/apps/web/.next-bundle/server/app/icon/[id]/route.js +1 -1
  222. package/app/apps/web/.next-bundle/server/app/icon/[id]/route_client-reference-manifest.js +1 -1
  223. package/app/apps/web/.next-bundle/server/app/icon.png/route.js +1 -1
  224. package/app/apps/web/.next-bundle/server/app-paths-manifest.json +45 -33
  225. package/app/apps/web/.next-bundle/server/chunks/1190.js +1 -1
  226. package/app/apps/web/.next-bundle/server/chunks/1214.js +217 -0
  227. package/app/apps/web/.next-bundle/server/chunks/1646.js +5 -5
  228. package/app/apps/web/.next-bundle/server/chunks/2455.js +1 -1
  229. package/app/apps/web/.next-bundle/server/chunks/2658.js +2 -2
  230. package/app/apps/web/.next-bundle/server/chunks/305.js +3 -0
  231. package/app/apps/web/.next-bundle/server/chunks/329.js +1 -0
  232. package/app/apps/web/.next-bundle/server/chunks/3347.js +1 -1
  233. package/app/apps/web/.next-bundle/server/chunks/376.js +1 -0
  234. package/app/apps/web/.next-bundle/server/chunks/3815.js +1 -0
  235. package/app/apps/web/.next-bundle/server/chunks/3834.js +1 -1
  236. package/app/apps/web/.next-bundle/server/chunks/3863.js +1 -0
  237. package/app/apps/web/.next-bundle/server/chunks/3896.js +16 -0
  238. package/app/apps/web/.next-bundle/server/chunks/4478.js +1 -1
  239. package/app/apps/web/.next-bundle/server/chunks/4498.js +2 -2
  240. package/app/apps/web/.next-bundle/server/chunks/4810.js +5 -5
  241. package/app/apps/web/.next-bundle/server/chunks/5103.js +1 -1
  242. package/app/apps/web/.next-bundle/server/chunks/{5975.js → 5676.js} +1 -1
  243. package/app/apps/web/.next-bundle/server/chunks/5839.js +1 -0
  244. package/app/apps/web/.next-bundle/server/chunks/6206.js +1 -0
  245. package/app/apps/web/.next-bundle/server/chunks/6384.js +1 -0
  246. package/app/apps/web/.next-bundle/server/chunks/6913.js +7 -7
  247. package/app/apps/web/.next-bundle/server/chunks/{2256.js → 7011.js} +2 -2
  248. package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -1
  249. package/app/apps/web/.next-bundle/server/chunks/7400.js +3 -0
  250. package/app/apps/web/.next-bundle/server/chunks/7498.js +2 -0
  251. package/app/apps/web/.next-bundle/server/chunks/7957.js +1 -1
  252. package/app/apps/web/.next-bundle/server/chunks/8404.js +1 -1
  253. package/app/apps/web/.next-bundle/server/chunks/8441.js +1 -0
  254. package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -1
  255. package/app/apps/web/.next-bundle/server/chunks/9006.js +3 -0
  256. package/app/apps/web/.next-bundle/server/chunks/9128.js +1 -0
  257. package/app/apps/web/.next-bundle/server/chunks/{6693.js → 9226.js} +2 -2
  258. package/app/apps/web/.next-bundle/server/chunks/9441.js +1 -0
  259. package/app/apps/web/.next-bundle/server/chunks/9511.js +16 -0
  260. package/app/apps/web/.next-bundle/server/functions-config-manifest.json +14 -8
  261. package/app/apps/web/.next-bundle/server/middleware-build-manifest.js +1 -1
  262. package/app/apps/web/.next-bundle/server/middleware-manifest.json +5 -5
  263. package/app/apps/web/.next-bundle/server/middleware.js +2 -2
  264. package/app/apps/web/.next-bundle/server/next-font-manifest.js +1 -1
  265. package/app/apps/web/.next-bundle/server/next-font-manifest.json +1 -1
  266. package/app/apps/web/.next-bundle/server/pages/500.html +1 -1
  267. package/app/apps/web/.next-bundle/server/server-reference-manifest.json +1 -1
  268. package/app/apps/web/.next-bundle/static/chunks/1369-514f421b74ddd546.js +1 -0
  269. package/app/apps/web/.next-bundle/static/chunks/{2202-897aaad3cd785ea6.js → 2202-320ee3883061ca36.js} +1 -1
  270. package/app/apps/web/.next-bundle/static/chunks/2575-e53eff318f43e123.js +1 -0
  271. package/app/apps/web/.next-bundle/static/chunks/2921-92c9a83559025278.js +1 -0
  272. package/app/apps/web/.next-bundle/static/chunks/2948-db3dde2d3c76f184.js +1 -0
  273. package/app/apps/web/.next-bundle/static/chunks/4189-0adcbb5b786fe4ed.js +1 -0
  274. package/app/apps/web/.next-bundle/static/chunks/7f092448-875cfd730dc78b44.js +1 -0
  275. package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/{page-28b11f831b7bc8c4.js → page-be3b13d1301a5855.js} +1 -1
  276. package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/{page-8b5fe63986bf3757.js → page-beb96e7f7a56ac65.js} +1 -1
  277. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/{page-dc2c3a7874636c29.js → page-7fd561dfea561bee.js} +1 -1
  278. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-ba0da767076b59ee.js +1 -0
  279. package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-b8cc7ef93c7a01f7.js +1 -0
  280. package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-1c5bac527b81fbfb.js +1 -0
  281. package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/{page-0c3307d9cff31e71.js → page-db952949fd680244.js} +1 -1
  282. package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/{page-13cd17998c4b3c05.js → page-58dba9a693f3efd1.js} +1 -1
  283. package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-2c3f75f2c68c6bab.js +1 -0
  284. package/app/apps/web/.next-bundle/static/chunks/app/(app)/handoff/page-af0790c554af2371.js +1 -0
  285. package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-a2f95d21457cf062.js +1 -0
  286. package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-2f357c79701ed83e.js +1 -0
  287. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-ea0ecbae2d960666.js +1 -0
  288. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-51409af610218587.js +1 -0
  289. package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-eac7618918d667c0.js +1 -0
  290. package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-ad2cd4e236fd2f60.js +1 -0
  291. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/{page-0f664082168a49b2.js → page-75c179ccca63a724.js} +1 -1
  292. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-1c5bac527b81fbfb.js +1 -0
  293. package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/{page-0c57c71f581cdf40.js → page-5f61bffc868d47cc.js} +1 -1
  294. package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-fce603598ab4b457.js +1 -0
  295. package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/{page-a1f666c611d55a0c.js → page-e8582a3dd4da47bb.js} +1 -1
  296. package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/{page-c7212909b051736c.js → page-6e103fc5ed54eabe.js} +1 -1
  297. package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-433663c1b9556d04.js +1 -0
  298. package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-eac7618918d667c0.js +1 -0
  299. package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-eac7618918d667c0.js +1 -0
  300. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/apps/route-eac7618918d667c0.js +1 -0
  301. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-eac7618918d667c0.js +1 -0
  302. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-eac7618918d667c0.js +1 -0
  303. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/conversations/route-eac7618918d667c0.js +1 -0
  304. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/handoff/route-eac7618918d667c0.js +1 -0
  305. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-eac7618918d667c0.js +1 -0
  306. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-eac7618918d667c0.js +1 -0
  307. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-eac7618918d667c0.js +1 -0
  308. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-eac7618918d667c0.js +1 -0
  309. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-eac7618918d667c0.js +1 -0
  310. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-eac7618918d667c0.js +1 -0
  311. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-eac7618918d667c0.js +1 -0
  312. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-eac7618918d667c0.js +1 -0
  313. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/cancel/route-eac7618918d667c0.js +1 -0
  314. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/jobs/route-eac7618918d667c0.js +1 -0
  315. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/route-eac7618918d667c0.js +1 -0
  316. package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-eac7618918d667c0.js +1 -0
  317. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-eac7618918d667c0.js +1 -0
  318. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-eac7618918d667c0.js +1 -0
  319. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-eac7618918d667c0.js +1 -0
  320. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-eac7618918d667c0.js +1 -0
  321. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-eac7618918d667c0.js +1 -0
  322. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-eac7618918d667c0.js +1 -0
  323. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-eac7618918d667c0.js +1 -0
  324. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-eac7618918d667c0.js +1 -0
  325. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-eac7618918d667c0.js +1 -0
  326. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-eac7618918d667c0.js +1 -0
  327. package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-eac7618918d667c0.js +1 -0
  328. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-eac7618918d667c0.js +1 -0
  329. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-eac7618918d667c0.js +1 -0
  330. package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-eac7618918d667c0.js +1 -0
  331. package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-eac7618918d667c0.js +1 -0
  332. package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-eac7618918d667c0.js +1 -0
  333. package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-eac7618918d667c0.js +1 -0
  334. package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-eac7618918d667c0.js +1 -0
  335. package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-eac7618918d667c0.js +1 -0
  336. package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-eac7618918d667c0.js +1 -0
  337. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/[id]/route-eac7618918d667c0.js +1 -0
  338. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/digest/route-eac7618918d667c0.js +1 -0
  339. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/launch/route-eac7618918d667c0.js +1 -0
  340. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/record/route-eac7618918d667c0.js +1 -0
  341. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/route-eac7618918d667c0.js +1 -0
  342. package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-eac7618918d667c0.js +1 -0
  343. package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-eac7618918d667c0.js +1 -0
  344. package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-eac7618918d667c0.js +1 -0
  345. package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-eac7618918d667c0.js +1 -0
  346. package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-eac7618918d667c0.js +1 -0
  347. package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-eac7618918d667c0.js +1 -0
  348. package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-eac7618918d667c0.js +1 -0
  349. package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-eac7618918d667c0.js +1 -0
  350. package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-eac7618918d667c0.js +1 -0
  351. package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-eac7618918d667c0.js +1 -0
  352. package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-eac7618918d667c0.js +1 -0
  353. package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-eac7618918d667c0.js +1 -0
  354. package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-eac7618918d667c0.js +1 -0
  355. package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-eac7618918d667c0.js +1 -0
  356. package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-eac7618918d667c0.js +1 -0
  357. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-eac7618918d667c0.js +1 -0
  358. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-eac7618918d667c0.js +1 -0
  359. package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-eac7618918d667c0.js +1 -0
  360. package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-eac7618918d667c0.js +1 -0
  361. package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-eac7618918d667c0.js +1 -0
  362. package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-eac7618918d667c0.js +1 -0
  363. package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-eac7618918d667c0.js +1 -0
  364. package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-eac7618918d667c0.js +1 -0
  365. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-eac7618918d667c0.js +1 -0
  366. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-eac7618918d667c0.js +1 -0
  367. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-eac7618918d667c0.js +1 -0
  368. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-eac7618918d667c0.js +1 -0
  369. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-eac7618918d667c0.js +1 -0
  370. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-eac7618918d667c0.js +1 -0
  371. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-eac7618918d667c0.js +1 -0
  372. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-eac7618918d667c0.js +1 -0
  373. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-eac7618918d667c0.js +1 -0
  374. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-eac7618918d667c0.js +1 -0
  375. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-eac7618918d667c0.js +1 -0
  376. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-eac7618918d667c0.js +1 -0
  377. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-eac7618918d667c0.js +1 -0
  378. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-eac7618918d667c0.js +1 -0
  379. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-eac7618918d667c0.js +1 -0
  380. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-eac7618918d667c0.js +1 -0
  381. package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-eac7618918d667c0.js +1 -0
  382. package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-1c5bac527b81fbfb.js +1 -0
  383. package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-eac7618918d667c0.js +1 -0
  384. package/app/apps/web/.next-bundle/static/chunks/app/not-found-1c5bac527b81fbfb.js +1 -0
  385. package/app/apps/web/.next-bundle/static/chunks/{main-app-a35ca295bbc2c578.js → main-app-0bad81d9bc79bc82.js} +1 -1
  386. package/app/apps/web/.next-bundle/static/css/5fdcdf46b29ffe26.css +1 -0
  387. package/app/apps/web/.next-bundle/static/phRAJdip0Dtgh1L1Yw0jm/_buildManifest.js +1 -0
  388. package/app/apps/web/server.js +1 -1
  389. package/app/node_modules/@panoma/ai/dist/index.d.ts +6 -1
  390. package/app/node_modules/@panoma/ai/dist/index.js +43 -6
  391. package/app/node_modules/@panoma/core/dist/index.d.ts +39 -1
  392. package/app/node_modules/@panoma/core/dist/index.js +149 -57
  393. package/app/node_modules/@panoma/core/dist/untrusted.d.ts +14 -1
  394. package/app/node_modules/@panoma/db/dist/{chunk-V6TJYC6N.js → chunk-VTHU57AZ.js} +59 -3
  395. package/app/node_modules/@panoma/db/dist/{client-B1_3MF0o.d.ts → client-B2H4A_7h.d.ts} +379 -3
  396. package/app/node_modules/@panoma/db/dist/client.d.ts +1 -1
  397. package/app/node_modules/@panoma/db/dist/client.js +1 -1
  398. package/app/node_modules/@panoma/db/dist/index.d.ts +56 -4
  399. package/app/node_modules/@panoma/db/dist/index.js +104 -27
  400. package/app/node_modules/@panoma/db/migrations/0060_handoffs.sql +23 -0
  401. package/app/node_modules/@panoma/db/migrations/0061_handoff_surface.sql +1 -0
  402. package/app/node_modules/@panoma/db/migrations/0062_handoff_requested_by.sql +1 -0
  403. package/app/node_modules/@panoma/db/migrations/0063_app_job_requested_by.sql +1 -0
  404. package/app/node_modules/@panoma/db/migrations/meta/0060_snapshot.json +4258 -0
  405. package/app/node_modules/@panoma/db/migrations/meta/0061_snapshot.json +4265 -0
  406. package/app/node_modules/@panoma/db/migrations/meta/0062_snapshot.json +4271 -0
  407. package/app/node_modules/@panoma/db/migrations/meta/0063_snapshot.json +4277 -0
  408. package/app/node_modules/@panoma/db/migrations/meta/_journal.json +28 -0
  409. package/app/node_modules/@panoma/handoff/dist/chunk-4PTSNPI3.js +73 -0
  410. package/app/node_modules/@panoma/handoff/dist/faults.d.ts +26 -0
  411. package/app/node_modules/@panoma/handoff/dist/faults.js +14 -0
  412. package/app/node_modules/@panoma/handoff/dist/index.d.ts +579 -0
  413. package/app/node_modules/@panoma/handoff/dist/index.js +3364 -0
  414. package/app/node_modules/@panoma/handoff/package.json +23 -0
  415. package/app/node_modules/@panoma/mcp/dist/index.js +709 -13
  416. package/app/node_modules/drizzle-orm/node_modules/.bin/gel +3 -3
  417. package/dist/{ai-command-IRSVAWYU.js → ai-command-TSSMG7H3.js} +4 -4
  418. package/dist/{apps-FI2Q2CFP.js → apps-7E4RUVJY.js} +4 -4
  419. package/dist/{check-command-PPILA25M.js → check-command-RIUGB4HV.js} +4 -4
  420. package/dist/{chunk-P7ZGHSMO.js → chunk-3QYJKRW6.js} +209 -1
  421. package/dist/{chunk-5EG7NRL4.js → chunk-3T3WTSPS.js} +147 -57
  422. package/dist/{chunk-BCHIG2AU.js → chunk-47UUF7B7.js} +2 -2
  423. package/dist/{chunk-JY7ALFNX.js → chunk-6RVG2VUY.js} +44 -7
  424. package/dist/{chunk-2MKBCYVH.js → chunk-FWSQH4NS.js} +3 -3
  425. package/dist/{chunk-YQOQAFTY.js → chunk-HHHT2MTQ.js} +2 -2
  426. package/dist/{chunk-AW6KPPIR.js → chunk-WAI2SCFY.js} +22 -4
  427. package/dist/{dist-NQIOBJFO.js → dist-F3N6LCV6.js} +2 -2
  428. package/dist/{dist-G32QKT7H.js → dist-PQLBVRZQ.js} +7 -1
  429. package/dist/{dist-F5A5RVCK.js → dist-RNXJD4VL.js} +1 -1
  430. package/dist/handoff-command-NGSYPGWW.js +3876 -0
  431. package/dist/index.js +47 -16
  432. package/dist/{md-command-Q4M2YBEH.js → md-command-PYD3SPHA.js} +3 -3
  433. package/dist/{memory-command-IXVQSADX.js → memory-command-BWP52OQS.js} +3 -3
  434. package/dist/{next-command-2PXBP5OR.js → next-command-NFDGQMHO.js} +4 -4
  435. package/dist/{north-command-XFUNSNPH.js → north-command-SKBVZEGK.js} +4 -4
  436. package/dist/{review-command-6AH7MVKP.js → review-command-SMYI7XKH.js} +2 -2
  437. package/dist/{spend-command-DA36GLNI.js → spend-command-NYAELLRP.js} +3 -3
  438. package/dist/{twin-command-HYEG2WPA.js → twin-command-M25PTHLP.js} +9 -8
  439. package/dist/{video-TWUW2L36.js → video-QKEQ2FGR.js} +6 -6
  440. package/npm-shrinkwrap.json +2 -2
  441. package/package.json +3 -2
  442. package/app/apps/web/.next-bundle/server/chunks/1602.js +0 -3
  443. package/app/apps/web/.next-bundle/server/chunks/3088.js +0 -16
  444. package/app/apps/web/.next-bundle/server/chunks/3768.js +0 -3
  445. package/app/apps/web/.next-bundle/server/chunks/5251.js +0 -217
  446. package/app/apps/web/.next-bundle/server/chunks/5741.js +0 -1
  447. package/app/apps/web/.next-bundle/server/chunks/5941.js +0 -1
  448. package/app/apps/web/.next-bundle/server/chunks/7581.js +0 -1
  449. package/app/apps/web/.next-bundle/server/chunks/8384.js +0 -1
  450. package/app/apps/web/.next-bundle/server/chunks/8990.js +0 -2
  451. package/app/apps/web/.next-bundle/static/chunks/1369-8f6dde7e48bc4684.js +0 -1
  452. package/app/apps/web/.next-bundle/static/chunks/2340-11b365d374b2be7b.js +0 -1
  453. package/app/apps/web/.next-bundle/static/chunks/2575-62182d00e5cf3115.js +0 -1
  454. package/app/apps/web/.next-bundle/static/chunks/261-1c2829beaca77dc9.js +0 -1
  455. package/app/apps/web/.next-bundle/static/chunks/7f092448-e07c21e2897ac52e.js +0 -1
  456. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-00ec4bf42a14ac17.js +0 -1
  457. package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-86a819d6d7f65cd0.js +0 -1
  458. package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-69ee3fc638b1eecf.js +0 -1
  459. package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-4706c73d842251e2.js +0 -1
  460. package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-55639b16ccebad95.js +0 -1
  461. package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-7f3d387ae540018d.js +0 -1
  462. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-c3c3a9be458adeed.js +0 -1
  463. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-088684f252e3d59c.js +0 -1
  464. package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-de6e3e5d6198c075.js +0 -1
  465. package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-6cf474454fb2ea5e.js +0 -1
  466. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-69ee3fc638b1eecf.js +0 -1
  467. package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-201b626f17f11eeb.js +0 -1
  468. package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-c545489e991b83d2.js +0 -1
  469. package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-de6e3e5d6198c075.js +0 -1
  470. package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-de6e3e5d6198c075.js +0 -1
  471. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-de6e3e5d6198c075.js +0 -1
  472. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-de6e3e5d6198c075.js +0 -1
  473. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-de6e3e5d6198c075.js +0 -1
  474. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-de6e3e5d6198c075.js +0 -1
  475. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-de6e3e5d6198c075.js +0 -1
  476. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-de6e3e5d6198c075.js +0 -1
  477. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-de6e3e5d6198c075.js +0 -1
  478. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-de6e3e5d6198c075.js +0 -1
  479. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-de6e3e5d6198c075.js +0 -1
  480. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-de6e3e5d6198c075.js +0 -1
  481. package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-de6e3e5d6198c075.js +0 -1
  482. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-de6e3e5d6198c075.js +0 -1
  483. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-de6e3e5d6198c075.js +0 -1
  484. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-de6e3e5d6198c075.js +0 -1
  485. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-de6e3e5d6198c075.js +0 -1
  486. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-de6e3e5d6198c075.js +0 -1
  487. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-de6e3e5d6198c075.js +0 -1
  488. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-de6e3e5d6198c075.js +0 -1
  489. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-de6e3e5d6198c075.js +0 -1
  490. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-de6e3e5d6198c075.js +0 -1
  491. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-de6e3e5d6198c075.js +0 -1
  492. package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-de6e3e5d6198c075.js +0 -1
  493. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-de6e3e5d6198c075.js +0 -1
  494. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-de6e3e5d6198c075.js +0 -1
  495. package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-de6e3e5d6198c075.js +0 -1
  496. package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-de6e3e5d6198c075.js +0 -1
  497. package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-de6e3e5d6198c075.js +0 -1
  498. package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-de6e3e5d6198c075.js +0 -1
  499. package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-de6e3e5d6198c075.js +0 -1
  500. package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-de6e3e5d6198c075.js +0 -1
  501. package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-de6e3e5d6198c075.js +0 -1
  502. package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-de6e3e5d6198c075.js +0 -1
  503. package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-de6e3e5d6198c075.js +0 -1
  504. package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-de6e3e5d6198c075.js +0 -1
  505. package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-de6e3e5d6198c075.js +0 -1
  506. package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-de6e3e5d6198c075.js +0 -1
  507. package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-de6e3e5d6198c075.js +0 -1
  508. package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-de6e3e5d6198c075.js +0 -1
  509. package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-de6e3e5d6198c075.js +0 -1
  510. package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-de6e3e5d6198c075.js +0 -1
  511. package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-de6e3e5d6198c075.js +0 -1
  512. package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-de6e3e5d6198c075.js +0 -1
  513. package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-de6e3e5d6198c075.js +0 -1
  514. package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-de6e3e5d6198c075.js +0 -1
  515. package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-de6e3e5d6198c075.js +0 -1
  516. package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-de6e3e5d6198c075.js +0 -1
  517. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-de6e3e5d6198c075.js +0 -1
  518. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-de6e3e5d6198c075.js +0 -1
  519. package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-de6e3e5d6198c075.js +0 -1
  520. package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-de6e3e5d6198c075.js +0 -1
  521. package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-de6e3e5d6198c075.js +0 -1
  522. package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-de6e3e5d6198c075.js +0 -1
  523. package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-de6e3e5d6198c075.js +0 -1
  524. package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-de6e3e5d6198c075.js +0 -1
  525. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-de6e3e5d6198c075.js +0 -1
  526. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-de6e3e5d6198c075.js +0 -1
  527. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-de6e3e5d6198c075.js +0 -1
  528. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-de6e3e5d6198c075.js +0 -1
  529. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-de6e3e5d6198c075.js +0 -1
  530. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-de6e3e5d6198c075.js +0 -1
  531. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-de6e3e5d6198c075.js +0 -1
  532. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-de6e3e5d6198c075.js +0 -1
  533. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-de6e3e5d6198c075.js +0 -1
  534. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-de6e3e5d6198c075.js +0 -1
  535. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-de6e3e5d6198c075.js +0 -1
  536. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-de6e3e5d6198c075.js +0 -1
  537. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-de6e3e5d6198c075.js +0 -1
  538. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-de6e3e5d6198c075.js +0 -1
  539. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-de6e3e5d6198c075.js +0 -1
  540. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-de6e3e5d6198c075.js +0 -1
  541. package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-de6e3e5d6198c075.js +0 -1
  542. package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-69ee3fc638b1eecf.js +0 -1
  543. package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-de6e3e5d6198c075.js +0 -1
  544. package/app/apps/web/.next-bundle/static/chunks/app/not-found-69ee3fc638b1eecf.js +0 -1
  545. package/app/apps/web/.next-bundle/static/css/988bfb2024e770b7.css +0 -1
  546. package/app/apps/web/.next-bundle/static/mhsTm5XiqL98MCgDVB08u/_buildManifest.js +0 -1
  547. /package/app/apps/web/.next-bundle/static/{mhsTm5XiqL98MCgDVB08u → phRAJdip0Dtgh1L1Yw0jm}/_ssgManifest.js +0 -0
@@ -37,9 +37,9 @@ case `uname -a` in
37
37
  esac
38
38
 
39
39
  if [ -z "$NODE_PATH" ]; then
40
- export NODE_PATH="/private/tmp/panoma-release/node_modules/.pnpm/gel@2.2.0/node_modules/gel/node_modules:/private/tmp/panoma-release/node_modules/.pnpm/gel@2.2.0/node_modules:/private/tmp/panoma-release/node_modules/.pnpm/node_modules"
40
+ export NODE_PATH="/private/tmp/panoma-0.10.0/node_modules/.pnpm/gel@2.2.0/node_modules/gel/node_modules:/private/tmp/panoma-0.10.0/node_modules/.pnpm/gel@2.2.0/node_modules:/private/tmp/panoma-0.10.0/node_modules/.pnpm/node_modules"
41
41
  else
42
- export NODE_PATH="/private/tmp/panoma-release/node_modules/.pnpm/gel@2.2.0/node_modules/gel/node_modules:/private/tmp/panoma-release/node_modules/.pnpm/gel@2.2.0/node_modules:/private/tmp/panoma-release/node_modules/.pnpm/node_modules:$NODE_PATH"
42
+ export NODE_PATH="/private/tmp/panoma-0.10.0/node_modules/.pnpm/gel@2.2.0/node_modules/gel/node_modules:/private/tmp/panoma-0.10.0/node_modules/.pnpm/gel@2.2.0/node_modules:/private/tmp/panoma-0.10.0/node_modules/.pnpm/node_modules:$NODE_PATH"
43
43
  fi
44
44
  if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
45
45
  exec "$basedir/node.exe" "$basedir_win/../../../../../gel@2.2.0/node_modules/gel/dist/cli.mjs" "$@"
@@ -52,4 +52,4 @@ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
52
52
  else
53
53
  exec node "$basedir/../../../../../gel@2.2.0/node_modules/gel/dist/cli.mjs" "$@"
54
54
  fi
55
- # cmd-shim-target=/private/tmp/panoma-release/node_modules/.pnpm/gel@2.2.0/node_modules/gel/dist/cli.mjs
55
+ # cmd-shim-target=/private/tmp/panoma-0.10.0/node_modules/.pnpm/gel@2.2.0/node_modules/gel/dist/cli.mjs
@@ -10,12 +10,12 @@ import {
10
10
  readConfig,
11
11
  resolveCredential,
12
12
  updateConfig
13
- } from "./chunk-JY7ALFNX.js";
13
+ } from "./chunk-6RVG2VUY.js";
14
14
  import {
15
15
  say
16
- } from "./chunk-P7ZGHSMO.js";
16
+ } from "./chunk-3QYJKRW6.js";
17
17
  import "./chunk-DITTKJ7U.js";
18
- import "./chunk-5EG7NRL4.js";
18
+ import "./chunk-3T3WTSPS.js";
19
19
  import "./chunk-MLKGABMK.js";
20
20
 
21
21
  // src/ai-command.ts
@@ -156,7 +156,7 @@ ${say("ai.keyEmpty")}
156
156
  `));
157
157
  return 1;
158
158
  }
159
- const { saveKey } = await import("./dist-NQIOBJFO.js");
159
+ const { saveKey } = await import("./dist-F3N6LCV6.js");
160
160
  await saveKey(provider.id, key);
161
161
  process.stdout.write(
162
162
  `
@@ -3,11 +3,11 @@ import {
3
3
  appsFetch,
4
4
  confirmApps,
5
5
  followAppJob
6
- } from "./chunk-BCHIG2AU.js";
7
- import "./chunk-YQOQAFTY.js";
8
- import "./chunk-P7ZGHSMO.js";
6
+ } from "./chunk-47UUF7B7.js";
7
+ import "./chunk-HHHT2MTQ.js";
8
+ import "./chunk-3QYJKRW6.js";
9
9
  import "./chunk-DITTKJ7U.js";
10
- import "./chunk-5EG7NRL4.js";
10
+ import "./chunk-3T3WTSPS.js";
11
11
  import "./chunk-MLKGABMK.js";
12
12
  export {
13
13
  appsCommand,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  search
3
- } from "./chunk-2MKBCYVH.js";
3
+ } from "./chunk-FWSQH4NS.js";
4
4
  import {
5
5
  catalogFetch,
6
6
  unreachable
7
- } from "./chunk-YQOQAFTY.js";
7
+ } from "./chunk-HHHT2MTQ.js";
8
8
  import {
9
9
  say
10
- } from "./chunk-P7ZGHSMO.js";
10
+ } from "./chunk-3QYJKRW6.js";
11
11
  import "./chunk-DITTKJ7U.js";
12
- import "./chunk-5EG7NRL4.js";
12
+ import "./chunk-3T3WTSPS.js";
13
13
  import "./chunk-MLKGABMK.js";
14
14
 
15
15
  // src/check-command.ts
@@ -3,6 +3,72 @@ import {
3
3
  faultOf
4
4
  } from "./chunk-DITTKJ7U.js";
5
5
 
6
+ // ../../packages/handoff/dist/chunk-4PTSNPI3.js
7
+ var HANDOFF_FAULTS = [
8
+ // What a person can meet.
9
+ "store-missing",
10
+ "conversation-not-found",
11
+ "ambiguous-id",
12
+ "invalid-id",
13
+ "unreadable-transcript",
14
+ "unsupported-target",
15
+ "target-store-missing",
16
+ "cwd-missing",
17
+ "write-failed",
18
+ "import-command-missing",
19
+ "import-command-failed",
20
+ "bundle-invalid",
21
+ "too-large",
22
+ "nothing-to-carry",
23
+ "same-store",
24
+ // The operating system's own refusals, mapped from an errno.
25
+ "no-space-left",
26
+ "permission-denied",
27
+ "read-only-disk",
28
+ "disk-error"
29
+ ];
30
+ var KNOWN = new Set(HANDOFF_FAULTS);
31
+ function isHandoffFaultCode(value) {
32
+ return KNOWN.has(value);
33
+ }
34
+ var HandoffFault = class extends Error {
35
+ constructor(code, detail, options) {
36
+ super(detail ? `${code}: ${detail}` : code, options);
37
+ this.code = code;
38
+ this.detail = detail;
39
+ this.name = "HandoffFault";
40
+ }
41
+ code;
42
+ detail;
43
+ };
44
+ function faultOf2(value) {
45
+ const message = value instanceof Error ? value.message : typeof value === "string" ? value : "";
46
+ const cut = message.indexOf(": ");
47
+ const head = cut === -1 ? message : message.slice(0, cut);
48
+ if (!isHandoffFaultCode(head)) return { code: null, ...message ? { detail: message } : {} };
49
+ return cut === -1 ? { code: head } : { code: head, detail: message.slice(cut + 2) };
50
+ }
51
+ var ERRNO = {
52
+ ENOSPC: "no-space-left",
53
+ EDQUOT: "no-space-left",
54
+ EACCES: "permission-denied",
55
+ EPERM: "permission-denied",
56
+ EROFS: "read-only-disk",
57
+ EMFILE: "disk-error",
58
+ ENFILE: "disk-error",
59
+ ELOOP: "disk-error",
60
+ EIO: "disk-error"
61
+ };
62
+ function asHandoffFault(value, fallback = "disk-error") {
63
+ if (value instanceof HandoffFault) return value;
64
+ const errno = value?.code;
65
+ if (typeof errno === "string" && ERRNO[errno]) {
66
+ return new HandoffFault(ERRNO[errno], errno, { cause: value });
67
+ }
68
+ const detail = value instanceof Error ? value.message : typeof value === "string" ? value : void 0;
69
+ return new HandoffFault(fallback, detail, { cause: value });
70
+ }
71
+
6
72
  // src/messages.ts
7
73
  var MESSAGES = {
8
74
  "apps.help": " panoma apps manage optional official apps (install, doctor, update, remove)",
@@ -481,6 +547,11 @@ var MESSAGES = {
481
547
  "error.folderAndTerminal": "--folder and --terminal ask for two different things. Pick one.",
482
548
  "error.allAndOne": "--all opens everything the plan lists; --folder and --terminal open one thing. Pick one.",
483
549
  "error.installAndRemove": "--install and --remove ask for two different things. Pick one.",
550
+ "error.unknownTier": "Unknown tier: {value}",
551
+ "error.tierLevels": "Tiers: {list}",
552
+ "error.unknownDigest": "Unknown digest author: {value}",
553
+ "error.digestKinds": "The ones there are: {list}",
554
+ "error.badKeep": "--keep needs a whole number greater than zero.",
484
555
  // ── The agents' .md ───────────────────────────────────────────────────────
485
556
  "md.usage": "panoma md [check|fix|init|sync|review] [path]",
486
557
  "md.unknownSub": "Unknown subcommand: {sub}",
@@ -643,6 +714,7 @@ var MESSAGES = {
643
714
  "twin.funnelUserTurns": "turns of yours, with none of the above still in",
644
715
  "twin.funnelToolResults": "tool results, which you did not write",
645
716
  "twin.funnelSidechain": "subagent turns, which you did not either",
717
+ "twin.funnelHandedOff": "handed-off copies, whose turns were already read at their source",
646
718
  "twin.funnelCommands": "slash commands: instructions, not reactions",
647
719
  "twin.funnelReactions": "reactions to something you had been handed",
648
720
  "twin.funnelBriefs": "one line or shorter",
@@ -958,7 +1030,113 @@ var MESSAGES = {
958
1030
  "spend.paused": "Paused: every cap reads as zero until it is lifted on the Spend screen.",
959
1031
  "spend.broken": "spend.json exists and cannot be read: the factory values apply.",
960
1032
  "spend.screen": "The caps and your rates, at {url}",
961
- "spend.rejected": "The catalog could not report the spend ({status}). {detail}"
1033
+ "spend.rejected": "The catalog could not report the spend ({status}). {detail}",
1034
+ // ── The handoff: a conversation continues in another agent ───────────────
1035
+ /*
1036
+ The same vocabulary as the `/handoff` screen: conversation, handoff, tier, digest, receipt.
1037
+ One grammar and no sub-verbs, so every sentence names the flags and not a second verb. The
1038
+ fault sentences are dispatched by `handoffFaultText` below, closed over `HandoffFaultCode`
1039
+ the way the app faults are.
1040
+ */
1041
+ "handoff.usage": "Usage: panoma handoff [source] [--to <agent>] [--tier full|compact|brief] [--digest panoma|model] [--keep <n>] [--target-home <dir>] [--out <file>] [--dry-run] [--json]",
1042
+ "handoff.usageHint": "The source is a handle from the list (bare panoma handoff prints it) or a bundle file. Without --to, the list; with --tier brief and no --to, the document.",
1043
+ "handoff.extraArgument": "One source at a time; this was not expected: {extra}",
1044
+ "handoff.unknownTarget": "Unknown target: {target}",
1045
+ "handoff.targets": "Targets: {list}",
1046
+ "handoff.noneHere": "No conversation was kept for this folder: {cwd}",
1047
+ "handoff.noneHereHint": "Bare panoma handoff lists every conversation on this disk; name one by its handle.",
1048
+ "handoff.tookNewest": "Taken: the newest conversation in this folder, {agent} {handle}, {when}",
1049
+ "handoff.twoRecent": "Two agents talked in this folder within the same hour. Name the one to hand off:",
1050
+ "handoff.candidate": "panoma handoff {handle} --to {target} {agent} \xB7 {when}",
1051
+ "handoff.inFolder": "In this folder",
1052
+ "handoff.elsewhere": "Elsewhere on this disk",
1053
+ "handoff.notInCatalog": "Not in the catalog",
1054
+ "handoff.rowTurns": "{when} \xB7 turns: {n}",
1055
+ "handoff.rowSize": "{when} \xB7 {size}",
1056
+ "handoff.rowSummary": "carries its own summary",
1057
+ "handoff.rowLimit": "ended on a usage limit",
1058
+ "handoff.rowLimitBack": "ended on a usage limit \xB7 back {when}",
1059
+ "handoff.rowLimitLifted": "limit lifted {when}",
1060
+ "handoff.inMinutes": "in {n} min",
1061
+ "handoff.inHours": "in {n} h",
1062
+ "handoff.readyLine": "panoma handoff {handle} --to {target}",
1063
+ "handoff.emptyAll": "No conversations found on this disk.",
1064
+ "handoff.storeFound": "{agent} \xB7 {path} \xB7 conversations: {n}",
1065
+ "handoff.storeMissing": "{agent} \xB7 {path} \xB7 not found",
1066
+ "handoff.storesHint": "panoma reads the agents' own histories; it writes nothing until you ask. CLAUDE_CONFIG_DIR, CODEX_HOME and XDG_DATA_HOME are honoured.",
1067
+ "handoff.catalogDown": "The catalog is not up, so the list is not grouped by project.",
1068
+ "handoff.needsCatalog": "A model digest is the catalog's: it talks to the model and counts the spend. Or leave --digest out for the mechanical one.",
1069
+ "handoff.digestRejected": "The catalog would not write the digest ({status}). {detail}",
1070
+ "handoff.digestUnreadable": "The catalog answered something that is not a digest.",
1071
+ "handoff.preview": "Preview \u2014 nothing is written",
1072
+ "handoff.dryRunDigest": "--dry-run spends nothing: this preview carries the mechanical digest; the real command asks the model.",
1073
+ "handoff.dryRunSameAgent": "--dry-run changes nothing here: the same agent writes nothing, and these are the steps the real command prints.",
1074
+ "handoff.bundleWouldWrite": "The bundle would be written: {path}",
1075
+ "handoff.bundleWouldPrint": "The bundle would be printed on stdout; --out <file> writes it instead.",
1076
+ "handoff.source": "{agent} {handle} \xB7 {title}",
1077
+ "handoff.digestBy": "digest by {by} \xB7 tier {tier}",
1078
+ "handoff.goal": "Goal: {goal}",
1079
+ "handoff.sourceSummary": "The source carries a summary of its own, and it travels.",
1080
+ "handoff.counts": "decisions: {decisions} \xB7 files touched: {files} \xB7 commands run: {commands} \xB7 open items: {open}",
1081
+ "handoff.travels": "Travels to {agent}:",
1082
+ "handoff.stays": "Stays behind:",
1083
+ "handoff.sizeLine": "turns: {n} \xB7 \u2248 {k}k tokens \xB7 {size}",
1084
+ "handoff.written": "Written for {agent}: {path}",
1085
+ "handoff.documentWritten": "Document written: {path}",
1086
+ "handoff.bundleWritten": "Bundle written: {path}",
1087
+ "handoff.documentOnly": "{agent} cannot resume a written conversation, so it gets a document to paste as the first message.",
1088
+ "handoff.resume": "Resume it:",
1089
+ "handoff.then": "Then:",
1090
+ "handoff.stepRan": "ran: {step}",
1091
+ "handoff.stepPending": "run it yourself: {step}",
1092
+ "handoff.claudeContinue": "In that folder, claude --continue now resumes the copy; claude --resume <id> picks either one by id.",
1093
+ "handoff.leftBehind": "Left behind: {list}",
1094
+ "handoff.left.thinking": "thinking: {n}",
1095
+ "handoff.left.images": "images: {n}",
1096
+ "handoff.left.subagents": "subagent runs: {n}",
1097
+ "handoff.left.offloaded": "offloaded tool outputs: {n}",
1098
+ "handoff.left.secrets": "secrets masked: {n}",
1099
+ "handoff.left.other": "other: {n}",
1100
+ "handoff.recorded": "Recorded in the catalog: {id}",
1101
+ "handoff.notRecorded": "The catalog did not record this handoff; the file is written all the same.",
1102
+ "handoff.sameAgent": "Nothing is written: the conversation stays on this disk.",
1103
+ "handoff.sameAgentSignOut": "Sign out of {agent}: {command}",
1104
+ "handoff.sameAgentSignIn": "Sign in with the account you want to continue with: {command}",
1105
+ "handoff.sameAgentOrInside": "{command} (or {slash} inside {binary})",
1106
+ "handoff.sameAgentResume": "Resume it: {line}",
1107
+ "handoff.sameAgentAppDoor": "Or in {app}: {line}",
1108
+ "handoff.sameAgentAppClaude": "{app} lists conversations per account; the link adopts this one into the account you signed in with, and marks the folder as trusted.",
1109
+ "handoff.sameAgentAppCodex": "{app} lists threads from the shared database; the link opens this one, and registers it if the list lacks it.",
1110
+ "handoff.sameAgentFork": "Optional, fork so the original stays as it is: {line}",
1111
+ "handoff.sameAgentBundle": "Optional, keep a copy outside the agent: panoma handoff {handle} --to bundle --out <file>",
1112
+ "handoff.sameAgentHome": "A second home of the same agent takes a folder: panoma handoff {handle} --to {target} --target-home <folder>",
1113
+ "handoff.forkLine": "Optional, keeping the original untouched: {line}",
1114
+ "handoff.openInApp": "Open it in {app}:",
1115
+ "handoff.appFallback": "If the link does not answer: {sentence}.",
1116
+ "handoff.claudeTrust": "The link also marks that folder as trusted in Claude's own settings.",
1117
+ "handoff.orTerminal": "Or, in a terminal:",
1118
+ "handoff.appMacOnly": "{app} exists only on macOS; in a terminal:",
1119
+ "handoff.hint": "Hand it: panoma handoff {handle} --to <agent> (--dry-run shows what would travel)",
1120
+ "handoff.fault.storeMissing": "That agent's history was not found on this disk.",
1121
+ "handoff.fault.conversationNotFound": "No conversation matches that handle.",
1122
+ "handoff.fault.ambiguousId": "More than one conversation matches that handle. Type more of it; the candidates:",
1123
+ "handoff.fault.invalidId": "That is not a conversation handle: at least four characters of the id, or agent:id.",
1124
+ "handoff.fault.unreadableTranscript": "The transcript could not be read.",
1125
+ "handoff.fault.unsupportedTarget": "That agent is not a handoff target.",
1126
+ "handoff.fault.targetStoreMissing": "The target agent has no history folder here, so there is nowhere to write. Open that agent once, or name its folder with --target-home.",
1127
+ "handoff.fault.cwdMissing": "The conversation's folder no longer exists, so the target would not find the copy.",
1128
+ "handoff.fault.writeFailed": "The file could not be written.",
1129
+ "handoff.fault.importCommandMissing": "OpenCode is not installed here, so the import step did not run.",
1130
+ "handoff.fault.importCommandFailed": "opencode import ended with an error.",
1131
+ "handoff.fault.bundleInvalid": "That file is not a panoma conversation bundle.",
1132
+ "handoff.fault.tooLarge": "The conversation is over 64 MiB, which is more than a handoff carries.",
1133
+ "handoff.fault.nothingToCarry": "The conversation has no message to carry.",
1134
+ "handoff.fault.sameStore": "The target is the agent this conversation already lives in. Sign in and resume it, write a shorter copy with --tier compact, or name a second home with --target-home.",
1135
+ "handoff.fault.noSpaceLeft": "There is no space left on the disk.",
1136
+ "handoff.fault.permissionDenied": "panoma is not allowed to write in the target agent's folder.",
1137
+ "handoff.fault.readOnlyDisk": "The disk is read-only.",
1138
+ "handoff.fault.diskError": "A disk operation failed.",
1139
+ "handoff.failed": "The handoff did not happen: {detail}"
962
1140
  };
963
1141
  var CLI_LANGUAGE = "en";
964
1142
  function say(key, vars = {}) {
@@ -1069,6 +1247,33 @@ function appFaultText(value, unknown) {
1069
1247
  const said = say(FAULT_KEY[code]);
1070
1248
  return detail ? `${said} ${detail}` : said;
1071
1249
  }
1250
+ var HANDOFF_FAULT_KEY = {
1251
+ "store-missing": "handoff.fault.storeMissing",
1252
+ "conversation-not-found": "handoff.fault.conversationNotFound",
1253
+ "ambiguous-id": "handoff.fault.ambiguousId",
1254
+ "invalid-id": "handoff.fault.invalidId",
1255
+ "unreadable-transcript": "handoff.fault.unreadableTranscript",
1256
+ "unsupported-target": "handoff.fault.unsupportedTarget",
1257
+ "target-store-missing": "handoff.fault.targetStoreMissing",
1258
+ "cwd-missing": "handoff.fault.cwdMissing",
1259
+ "write-failed": "handoff.fault.writeFailed",
1260
+ "import-command-missing": "handoff.fault.importCommandMissing",
1261
+ "import-command-failed": "handoff.fault.importCommandFailed",
1262
+ "bundle-invalid": "handoff.fault.bundleInvalid",
1263
+ "too-large": "handoff.fault.tooLarge",
1264
+ "nothing-to-carry": "handoff.fault.nothingToCarry",
1265
+ "same-store": "handoff.fault.sameStore",
1266
+ "no-space-left": "handoff.fault.noSpaceLeft",
1267
+ "permission-denied": "handoff.fault.permissionDenied",
1268
+ "read-only-disk": "handoff.fault.readOnlyDisk",
1269
+ "disk-error": "handoff.fault.diskError"
1270
+ };
1271
+ function handoffFaultText(value) {
1272
+ const { code, detail } = faultOf2(value);
1273
+ if (!code) return say("handoff.failed", { detail: detail ?? "" });
1274
+ const said = say(HANDOFF_FAULT_KEY[code]);
1275
+ return detail ? `${said} ${detail}` : said;
1276
+ }
1072
1277
  function riskText(risk) {
1073
1278
  const n = risk.count ?? 0;
1074
1279
  const vars = { n, s: plural(n), es: plural(n, "es") };
@@ -1081,9 +1286,12 @@ function riskText(risk) {
1081
1286
  }
1082
1287
 
1083
1288
  export {
1289
+ HandoffFault,
1290
+ asHandoffFault,
1084
1291
  CLI_LANGUAGE,
1085
1292
  say,
1086
1293
  plural,
1087
1294
  appFaultText,
1295
+ handoffFaultText,
1088
1296
  riskText
1089
1297
  };
@@ -4637,6 +4637,9 @@ function redactSecrets(text) {
4637
4637
  for (const shape of SECRET_SHAPES) out = out.replace(shape, REDACTED);
4638
4638
  return out;
4639
4639
  }
4640
+ var HANDOFF_PROVENANCE_PREFIX = "Continued from ";
4641
+ var HANDOFF_CLAUDE_RECORD_VERSION = "panoma-handoff";
4642
+ var HANDOFF_CODEX_ORIGINATOR = "panoma";
4640
4643
  var HOOKS_BRAND = "# panoma-hooks";
4641
4644
  function hookIsOurs(text) {
4642
4645
  return text.includes(HOOKS_BRAND);
@@ -7211,6 +7214,7 @@ function emptyStats() {
7211
7214
  userTurns: 0,
7212
7215
  toolResults: 0,
7213
7216
  sidechain: 0,
7217
+ handedOff: 0,
7214
7218
  commands: 0,
7215
7219
  reactions: 0,
7216
7220
  briefs: 0,
@@ -7274,6 +7278,7 @@ async function mineTranscript(path, options, limit, stats, sessions, out, narrat
7274
7278
  const orphans = [];
7275
7279
  const fallbackSession = basename4(path, ".jsonl");
7276
7280
  const capture = narratives === void 0 ? void 0 : new NarrativeCapture(Math.max(0, limit - narratives.length), options.cwdPrefix);
7281
+ let carriedSeen = false;
7277
7282
  try {
7278
7283
  for await (const line of lines) {
7279
7284
  if (line.length < 2 || line.length > MAX_LINE_CHARS2) continue;
@@ -7288,7 +7293,12 @@ async function mineTranscript(path, options, limit, stats, sessions, out, narrat
7288
7293
  const type = parsed["type"];
7289
7294
  if (type !== "user" && type !== "assistant") continue;
7290
7295
  const sessionId = typeof parsed["sessionId"] === "string" && parsed["sessionId"].length > 0 ? parsed["sessionId"] : fallbackSession;
7291
- sessions.add(sessionId);
7296
+ const carried = parsed["version"] === HANDOFF_CLAUDE_RECORD_VERSION;
7297
+ if (!carried) sessions.add(sessionId);
7298
+ else if (!carriedSeen) {
7299
+ carriedSeen = true;
7300
+ stats.handedOff += 1;
7301
+ }
7292
7302
  const message = parsed["message"];
7293
7303
  const content = readContent(isRecord(message) ? message["content"] : void 0);
7294
7304
  if (type === "assistant") {
@@ -7309,6 +7319,7 @@ async function mineTranscript(path, options, limit, stats, sessions, out, narrat
7309
7319
  if (content.hasText && text2.length > 0) delivery = text2;
7310
7320
  continue;
7311
7321
  }
7322
+ if (carried) continue;
7312
7323
  if (content.toolResult) {
7313
7324
  stats.toolResults += 1;
7314
7325
  continue;
@@ -7544,6 +7555,7 @@ function emptyStats2() {
7544
7555
  userTurns: 0,
7545
7556
  toolResults: 0,
7546
7557
  sidechain: 0,
7558
+ handedOff: 0,
7547
7559
  commands: 0,
7548
7560
  reactions: 0,
7549
7561
  briefs: 0,
@@ -7632,9 +7644,14 @@ var SESSION_META = '"session_meta"';
7632
7644
  var TURN_CONTEXT = '"turn_context"';
7633
7645
  var USER_MESSAGE = '"user_message"';
7634
7646
  var AGENT_MESSAGE = '"agent_message"';
7647
+ var USER_ITEM = '"UserMessage"';
7648
+ var AGENT_ITEM = '"AgentMessage"';
7649
+ var INPUT_TEXT = '"input_text"';
7650
+ var OUTPUT_TEXT = '"output_text"';
7635
7651
  var TOOL_CALL = '"function_call"';
7636
7652
  var TOOL_OUTPUT = '"function_call_output"';
7637
7653
  var CUSTOM_CALL = '"custom_tool_call"';
7654
+ var THREAD_SETTINGS = '"thread_settings_applied"';
7638
7655
  var MAX_TOUCHED2 = 12;
7639
7656
  var MAX_SESSION_PATHS2 = 64;
7640
7657
  var MAX_CALL_CHARS = 4e4;
@@ -7696,8 +7713,15 @@ function objectIn(text) {
7696
7713
  var INJECTED_BLOCKS2 = [
7697
7714
  /<realtime_delegation>[\s\S]*?<\/realtime_delegation>/g,
7698
7715
  /<in-app-browser-context[\s\S]*?<\/in-app-browser-context>/g,
7699
- /<environment_context>[\s\S]*?<\/environment_context>/g
7716
+ /<environment_context>[\s\S]*?<\/environment_context>/g,
7717
+ // The app's blocks, measured on 12-Sep-2026 over the user-role response items of the newest
7718
+ // 120 rollouts here: the plugin list opens 71, an aborted turn 3, an internal goal 1. The
7719
+ // `<send_user_message_question_reply>` block is not here: it is the person's own answer.
7720
+ /<recommended_plugins>[\s\S]*?<\/recommended_plugins>/g,
7721
+ /<turn_aborted>[\s\S]*?<\/turn_aborted>/g,
7722
+ /<codex_internal_context[\s\S]*?<\/codex_internal_context>/g
7700
7723
  ];
7724
+ var INJECTED_WHOLE = /^#[ \t]+AGENTS\.md instructions\b/;
7701
7725
  var REQUEST_MARKER = /^##[ \t]+My request(?:[ \t]+for[ \t]+Codex)?:[ \t]*$/m;
7702
7726
  async function mineCodex(options = {}) {
7703
7727
  const root = join16(options.home ?? homedir5(), ".codex");
@@ -7749,11 +7773,72 @@ async function mineRollout(path, options, limit, stats, sessions, out, narrative
7749
7773
  const orphans = [];
7750
7774
  const capture = narratives === void 0 ? void 0 : new NarrativeCapture(Math.max(0, limit - narratives.length), options.cwdPrefix);
7751
7775
  capture?.begin(sessionId);
7776
+ let carried = false;
7777
+ let lastShown;
7778
+ let held;
7779
+ let lastTurn;
7780
+ const takeHeld = () => {
7781
+ if (held === void 0) return;
7782
+ const { raw, at } = held;
7783
+ held = void 0;
7784
+ userTurn(raw, at);
7785
+ };
7786
+ const userTurn = (raw, at) => {
7787
+ lastTurn = raw;
7788
+ if (carried) return;
7789
+ if (subagent) {
7790
+ stats.sidechain += 1;
7791
+ return;
7792
+ }
7793
+ if (raw.length === 0) return;
7794
+ const text = stripInjected2(raw);
7795
+ if (text.length === 0) {
7796
+ stats.commands += 1;
7797
+ return;
7798
+ }
7799
+ stats.userTurns += 1;
7800
+ sessions.add(sessionId);
7801
+ capture?.owner({
7802
+ source: "codex",
7803
+ sessionId,
7804
+ at,
7805
+ cwd: turnCwd ?? sessionCwd,
7806
+ gitBranch
7807
+ }, text);
7808
+ if (delivery === void 0) {
7809
+ stats.spontaneous += 1;
7810
+ return;
7811
+ }
7812
+ const brief = isBrief(text);
7813
+ const signals = brief ? [] : detectSignals(text);
7814
+ stats.reactions += 1;
7815
+ if (brief) stats.briefs += 1;
7816
+ if (signals.length > 0) stats.withSignal += 1;
7817
+ if (options.onlySignals === true && signals.length === 0) return;
7818
+ const cwd = turnCwd ?? sessionCwd;
7819
+ if (!underPrefix(cwd, options.cwdPrefix)) return;
7820
+ const reaction = {
7821
+ source: "codex",
7822
+ sessionId,
7823
+ at,
7824
+ delivery: excerpt(redactQuote(delivery).text, DELIVERY_CHARS),
7825
+ reaction: cap(redactQuote(text).text, REACTION_CHARS),
7826
+ chars: text.length,
7827
+ brief,
7828
+ signals
7829
+ };
7830
+ if (cwd !== void 0) reaction.cwd = cwd;
7831
+ if (window.size > 0) reaction.paths = [...window];
7832
+ else orphans.push(reaction);
7833
+ window.clear();
7834
+ if (gitBranch !== void 0) reaction.gitBranch = gitBranch;
7835
+ if (out.length < limit) out.push(reaction);
7836
+ };
7752
7837
  try {
7753
7838
  for await (const line of lines) {
7754
7839
  if (line.length < 2) continue;
7755
7840
  const scan = line.length > SCAN_CHARS ? line.slice(0, SCAN_CHARS) : line;
7756
- if (!scan.includes(SESSION_META) && !scan.includes(TURN_CONTEXT) && !scan.includes(USER_MESSAGE) && !scan.includes(AGENT_MESSAGE)) {
7841
+ if (!scan.includes(SESSION_META) && !scan.includes(TURN_CONTEXT) && !scan.includes(USER_MESSAGE) && !scan.includes(AGENT_MESSAGE) && !scan.includes(USER_ITEM) && !scan.includes(AGENT_ITEM) && !scan.includes(INPUT_TEXT) && !scan.includes(OUTPUT_TEXT) && !(carried && scan.includes(THREAD_SETTINGS))) {
7757
7842
  if (scan.includes(TOOL_CALL) || scan.includes(TOOL_OUTPUT)) stats.toolResults += 1;
7758
7843
  const call = scan.includes(TOOL_CALL) || scan.includes(CUSTOM_CALL);
7759
7844
  if (!call || line.length > MAX_CALL_CHARS) continue;
@@ -7789,6 +7874,7 @@ async function mineRollout(path, options, limit, stats, sessions, out, narrative
7789
7874
  if (!isRecord(payload)) continue;
7790
7875
  const type = parsed["type"];
7791
7876
  if (type === "session_meta") {
7877
+ takeHeld();
7792
7878
  const id = readString(payload["id"]);
7793
7879
  if (id !== void 0) sessionId = id;
7794
7880
  sessionCwd = readString(payload["cwd"]);
@@ -7798,75 +7884,51 @@ async function mineRollout(path, options, limit, stats, sessions, out, narrative
7798
7884
  subagent = isRecord(source) && source["subagent"] !== void 0;
7799
7885
  turnCwd = void 0;
7800
7886
  delivery = void 0;
7887
+ lastShown = void 0;
7888
+ lastTurn = void 0;
7801
7889
  window.clear();
7802
7890
  capture?.begin(sessionId);
7803
- sessions.add(sessionId);
7891
+ carried = payload["originator"] === HANDOFF_CODEX_ORIGINATOR;
7892
+ if (carried) stats.handedOff += 1;
7893
+ else sessions.add(sessionId);
7804
7894
  continue;
7805
7895
  }
7806
7896
  if (type === "turn_context") {
7807
- const cwd2 = readString(payload["cwd"]);
7808
- if (cwd2 !== void 0) turnCwd = cwd2;
7897
+ const cwd = readString(payload["cwd"]);
7898
+ if (cwd !== void 0) turnCwd = cwd;
7809
7899
  continue;
7810
7900
  }
7811
- if (type !== "event_msg") continue;
7812
7901
  const kind = payload["type"];
7813
- if (kind !== "user_message" && kind !== "agent_message") continue;
7814
- const message = readString(payload["message"]) ?? readString(payload["text"]);
7815
- if (kind === "agent_message") {
7816
- const shown = message?.trim() ?? "";
7817
- if (shown.length > 0) delivery = shown;
7818
- if (!subagent) capture?.assistant(shown);
7902
+ if (carried && type === "event_msg" && kind === "thread_settings_applied") {
7903
+ carried = false;
7819
7904
  continue;
7820
7905
  }
7821
- if (subagent) {
7822
- stats.sidechain += 1;
7823
- continue;
7824
- }
7825
- const raw = message?.trim() ?? "";
7826
- if (raw.length === 0) continue;
7827
- const text = stripInjected2(raw);
7828
- if (text.length === 0) {
7829
- stats.commands += 1;
7906
+ const spoken = spokenOf(type, kind, payload);
7907
+ if (spoken === void 0) continue;
7908
+ const at = readString(parsed["timestamp"]) ?? "";
7909
+ if (spoken.role === "assistant") {
7910
+ takeHeld();
7911
+ const shown = spoken.text.trim();
7912
+ if (shown.length > 0 && shown !== lastShown) {
7913
+ delivery = shown;
7914
+ lastShown = shown;
7915
+ if (!subagent) capture?.assistant(shown);
7916
+ }
7830
7917
  continue;
7831
7918
  }
7832
- stats.userTurns += 1;
7833
- sessions.add(sessionId);
7834
- capture?.owner({
7835
- source: "codex",
7836
- sessionId,
7837
- at: readString(parsed["timestamp"]) ?? "",
7838
- cwd: turnCwd ?? sessionCwd,
7839
- gitBranch
7840
- }, text);
7841
- if (delivery === void 0) {
7842
- stats.spontaneous += 1;
7919
+ if (spoken.channel === "response") {
7920
+ takeHeld();
7921
+ const raw = spoken.text.trim();
7922
+ if (raw.length === 0 || stripInjected2(raw).length === 0) continue;
7923
+ if (raw === lastTurn) continue;
7924
+ held = { raw, at };
7843
7925
  continue;
7844
7926
  }
7845
- const brief = isBrief(text);
7846
- const signals = brief ? [] : detectSignals(text);
7847
- stats.reactions += 1;
7848
- if (brief) stats.briefs += 1;
7849
- if (signals.length > 0) stats.withSignal += 1;
7850
- if (options.onlySignals === true && signals.length === 0) continue;
7851
- const cwd = turnCwd ?? sessionCwd;
7852
- if (!underPrefix(cwd, options.cwdPrefix)) continue;
7853
- const reaction = {
7854
- source: "codex",
7855
- sessionId,
7856
- at: readString(parsed["timestamp"]) ?? "",
7857
- delivery: excerpt(redactQuote(delivery).text, DELIVERY_CHARS),
7858
- reaction: cap(redactQuote(text).text, REACTION_CHARS),
7859
- chars: text.length,
7860
- brief,
7861
- signals
7862
- };
7863
- if (cwd !== void 0) reaction.cwd = cwd;
7864
- if (window.size > 0) reaction.paths = [...window];
7865
- else orphans.push(reaction);
7866
- window.clear();
7867
- if (gitBranch !== void 0) reaction.gitBranch = gitBranch;
7868
- if (out.length < limit) out.push(reaction);
7927
+ if (held !== void 0 && held.raw === spoken.text.trim()) held = void 0;
7928
+ else takeHeld();
7929
+ userTurn(spoken.text.trim(), at);
7869
7930
  }
7931
+ takeHeld();
7870
7932
  } catch {
7871
7933
  } finally {
7872
7934
  lines.close();
@@ -7881,9 +7943,34 @@ async function mineRollout(path, options, limit, stats, sessions, out, narrative
7881
7943
  for (const narrative of capture.finish()) narratives.push(narrative);
7882
7944
  }
7883
7945
  }
7946
+ function spokenOf(type, kind, payload) {
7947
+ if (type === "event_msg") {
7948
+ if (kind === "user_message" || kind === "agent_message") {
7949
+ const text = readString(payload["message"]) ?? readString(payload["text"]) ?? "";
7950
+ return { role: kind === "user_message" ? "user" : "assistant", channel: "event", text };
7951
+ }
7952
+ if (kind !== "item_completed") return void 0;
7953
+ const item = payload["item"];
7954
+ if (!isRecord(item)) return void 0;
7955
+ if (item["type"] === "UserMessage") return { role: "user", channel: "event", text: partsText(item["content"]) };
7956
+ if (item["type"] === "AgentMessage") return { role: "assistant", channel: "event", text: partsText(item["content"]) };
7957
+ return void 0;
7958
+ }
7959
+ if (type === "response_item" && kind === "message") {
7960
+ const role = payload["role"];
7961
+ if (role !== "user" && role !== "assistant") return void 0;
7962
+ return { role, channel: "response", text: partsText(payload["content"]) };
7963
+ }
7964
+ return void 0;
7965
+ }
7966
+ function partsText(content) {
7967
+ if (!Array.isArray(content)) return "";
7968
+ return content.map((part) => isRecord(part) ? readString(part["text"]) ?? "" : "").filter((text) => text.length > 0).join("\n");
7969
+ }
7884
7970
  function stripInjected2(text) {
7885
7971
  let out = text;
7886
7972
  for (const block of INJECTED_BLOCKS2) out = out.replace(block, " ");
7973
+ if (INJECTED_WHOLE.test(out.trimStart())) return "";
7887
7974
  const marker = REQUEST_MARKER.exec(out);
7888
7975
  if (marker !== null) out = out.slice(marker.index + marker[0].length);
7889
7976
  return out.trim();
@@ -8355,6 +8442,9 @@ export {
8355
8442
  identityCandidate,
8356
8443
  REDACTED,
8357
8444
  redactSecrets,
8445
+ HANDOFF_PROVENANCE_PREFIX,
8446
+ HANDOFF_CLAUDE_RECORD_VERSION,
8447
+ HANDOFF_CODEX_ORIGINATOR,
8358
8448
  HOOKS_BRAND,
8359
8449
  hookIsOurs,
8360
8450
  asShellLine,