elanous 0.3.1 → 0.3.3

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 (507) hide show
  1. package/apps/pwa/out/404/index.html +1 -1
  2. package/apps/pwa/out/404.html +1 -1
  3. package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → K-ckEB9hu9tXQ6iqnl27L}/_buildManifest.js +1 -1
  4. package/apps/pwa/out/_next/static/chunks/001d1d30.3b264a3a5834784b.js +1 -0
  5. package/apps/pwa/out/_next/static/chunks/{9531.ffbcd1e59e2c32fc.js → 1004.b334bd3d776bd455.js} +4 -4
  6. package/apps/pwa/out/_next/static/chunks/1044.f780ef30fbeec1d2.js +1 -0
  7. package/apps/pwa/out/_next/static/chunks/106.ef1dcdfef46b0b72.js +1 -0
  8. package/apps/pwa/out/_next/static/chunks/1207.912f5869bdf13244.js +1 -0
  9. package/apps/pwa/out/_next/static/chunks/1226-29248177d8e43df5.js +1 -0
  10. package/apps/pwa/out/_next/static/chunks/128757ea.677175b2ad79b371.js +1 -0
  11. package/apps/pwa/out/_next/static/chunks/1469.157ee10170c461ab.js +1 -0
  12. package/apps/pwa/out/_next/static/chunks/1475-f4208d07b2b41e44.js +1 -0
  13. package/apps/pwa/out/_next/static/chunks/1525.9fd05c15746d77c8.js +1 -0
  14. package/apps/pwa/out/_next/static/chunks/{5536.bbb17703f46e52e7.js → 1549.81d2a59aa303b629.js} +2 -2
  15. package/apps/pwa/out/_next/static/chunks/1596-80cc66168f6a520b.js +1 -0
  16. package/apps/pwa/out/_next/static/chunks/1695-e63446cc38743225.js +1 -0
  17. package/apps/pwa/out/_next/static/chunks/224.0585d01ba7f4f898.js +226 -0
  18. package/apps/pwa/out/_next/static/chunks/2277.80d00b0a6fe67cad.js +94 -0
  19. package/apps/pwa/out/_next/static/chunks/2287.6a4cce8ac8897fda.js +1 -0
  20. package/apps/pwa/out/_next/static/chunks/2378.0805bd9972a241f3.js +24 -0
  21. package/apps/pwa/out/_next/static/chunks/{751.95d127a92f7817e3.js → 2538.f7b0fd1f3b0c2bff.js} +1 -1
  22. package/apps/pwa/out/_next/static/chunks/25600806.42d40cb74fdc4bf3.js +122 -0
  23. package/apps/pwa/out/_next/static/chunks/2785-33003c356341fab5.js +1 -0
  24. package/apps/pwa/out/_next/static/chunks/280-53fe7ab5dbd19607.js +1 -0
  25. package/apps/pwa/out/_next/static/chunks/29.135cc356bdf1a8be.js +1 -0
  26. package/apps/pwa/out/_next/static/chunks/2987.f36195bfacdbcc4e.js +148 -0
  27. package/apps/pwa/out/_next/static/chunks/3111-f3c2382dc49d4719.js +1 -0
  28. package/apps/pwa/out/_next/static/chunks/{7479.d00f44fde98cf34e.js → 3130.69315cfa410b3cc7.js} +1 -1
  29. package/apps/pwa/out/_next/static/chunks/3135-4f30d19149be541d.js +1 -0
  30. package/apps/pwa/out/_next/static/chunks/336.dd6c1b81512124e6.js +74 -0
  31. package/apps/pwa/out/_next/static/chunks/337.35019dda0819a283.js +64 -0
  32. package/apps/pwa/out/_next/static/chunks/3393.cbbe17ef7aeee5e7.js +2 -0
  33. package/apps/pwa/out/_next/static/chunks/3394.8a08fac56ac2f941.js +1 -0
  34. package/apps/pwa/out/_next/static/chunks/3461-113eb7d3afb5969e.js +1 -0
  35. package/apps/pwa/out/_next/static/chunks/3603-473956ca996d5b03.js +1 -0
  36. package/apps/pwa/out/_next/static/chunks/3687.55335796604accd0.js +1 -0
  37. package/apps/pwa/out/_next/static/chunks/3692-ed2cebf0d6c4e273.js +1 -0
  38. package/apps/pwa/out/_next/static/chunks/3702-d50492fee8529bd7.js +1 -0
  39. package/apps/pwa/out/_next/static/chunks/3782.3ead96e62c8ac5c5.js +1 -0
  40. package/apps/pwa/out/_next/static/chunks/3849-59a5a66baa48998b.js +1 -0
  41. package/apps/pwa/out/_next/static/chunks/3965.1ae261de91a7507b.js +115 -0
  42. package/apps/pwa/out/_next/static/chunks/3985-432efaf9bc4e4123.js +1 -0
  43. package/apps/pwa/out/_next/static/chunks/4055-90325ff209cd557e.js +1 -0
  44. package/apps/pwa/out/_next/static/chunks/4174.d97cc593a5cf01bc.js +1 -0
  45. package/apps/pwa/out/_next/static/chunks/4276.863502da440e095f.js +1 -0
  46. package/apps/pwa/out/_next/static/chunks/4450-ea0ec552f18d799d.js +1 -0
  47. package/apps/pwa/out/_next/static/chunks/{5571.a062963c309338b4.js → 448.26b198f3b58cbcf9.js} +2 -2
  48. package/apps/pwa/out/_next/static/chunks/4495.2fbef8546af0792c.js +1 -0
  49. package/apps/pwa/out/_next/static/chunks/4578.04c77c13e3c62361.js +1 -0
  50. package/apps/pwa/out/_next/static/chunks/4674.e41c0f9b62fed6e2.js +36 -0
  51. package/apps/pwa/out/_next/static/chunks/{7197.7b19aa948048e19a.js → 482.52b487cbac96db29.js} +2 -2
  52. package/apps/pwa/out/_next/static/chunks/4841.b78af1deed2d3d3f.js +23 -0
  53. package/apps/pwa/out/_next/static/chunks/4869.839bacfaab182108.js +1 -0
  54. package/apps/pwa/out/_next/static/chunks/49263d14.0a995d745de3f818.js +1 -0
  55. package/apps/pwa/out/_next/static/chunks/4935.7f5b0bd162f201cc.js +1 -0
  56. package/apps/pwa/out/_next/static/chunks/500-57c24ef4341cdb21.js +1 -0
  57. package/apps/pwa/out/_next/static/chunks/5017-e079ea96feddbe85.js +1 -0
  58. package/apps/pwa/out/_next/static/chunks/{6932.f80f616260b74131.js → 5135.7b73d384c46dc26b.js} +1 -1
  59. package/apps/pwa/out/_next/static/chunks/5359-7aa498ded308ea17.js +1 -0
  60. package/apps/pwa/out/_next/static/chunks/{9705-bbcd00db4ffd3484.js → 5456-e9f9027af2bb4799.js} +1 -1
  61. package/apps/pwa/out/_next/static/chunks/{4506-f8439f6fbd0a8483.js → 5457-5459ae7638b42dff.js} +1 -1
  62. package/apps/pwa/out/_next/static/chunks/5521-16fb56b15c809e4a.js +1 -0
  63. package/apps/pwa/out/_next/static/chunks/5616-33de319a016180cd.js +1 -0
  64. package/apps/pwa/out/_next/static/chunks/5646.41a48aad446799fa.js +1 -0
  65. package/apps/pwa/out/_next/static/chunks/5716.ad2c840320ab9472.js +41 -0
  66. package/apps/pwa/out/_next/static/chunks/5730-ca5565abe3d360ad.js +1 -0
  67. package/apps/pwa/out/_next/static/chunks/{4069a63b.a074c39997560438.js → 57af6223.b79d56584a040f84.js} +7 -7
  68. package/apps/pwa/out/_next/static/chunks/5841.26bcfac34b5889b4.js +1 -0
  69. package/apps/pwa/out/_next/static/chunks/586.658dedb3bc558b22.js +1 -0
  70. package/apps/pwa/out/_next/static/chunks/{9693-ab5bc28704a66601.js → 5892-6f0a1ee3c6c38173.js} +3 -3
  71. package/apps/pwa/out/_next/static/chunks/5894-7d90af46a43f80d2.js +1 -0
  72. package/apps/pwa/out/_next/static/chunks/5927-88cbc16437430987.js +1 -0
  73. package/apps/pwa/out/_next/static/chunks/5960.0dfb8bd3d27e1063.js +1 -0
  74. package/apps/pwa/out/_next/static/chunks/597-9bf9f66dba4ccae9.js +1 -0
  75. package/apps/pwa/out/_next/static/chunks/6064.f425ee61836bb5c7.js +1 -0
  76. package/apps/pwa/out/_next/static/chunks/6074.39f84a90284749de.js +1 -0
  77. package/apps/pwa/out/_next/static/chunks/61.cbbe643a52cf53ab.js +62 -0
  78. package/apps/pwa/out/_next/static/chunks/6184.4c0ba455eb3d27a1.js +79 -0
  79. package/apps/pwa/out/_next/static/chunks/6224.cd0ca2a16727e9a9.js +1 -0
  80. package/apps/pwa/out/_next/static/chunks/6229-a83289910e01869b.js +1 -0
  81. package/apps/pwa/out/_next/static/chunks/6243.61e6f450a70a8d91.js +90 -0
  82. package/apps/pwa/out/_next/static/chunks/6295-4f1a1386f8667fd1.js +1 -0
  83. package/apps/pwa/out/_next/static/chunks/{5709.867a5086d782dd97.js → 6310.5fb57ba0781bc476.js} +2 -2
  84. package/apps/pwa/out/_next/static/chunks/{7087.99662912e4db6255.js → 6355.34fd60aca3e95acf.js} +1 -1
  85. package/apps/pwa/out/_next/static/chunks/6653.f3f30affdbe694aa.js +32 -0
  86. package/apps/pwa/out/_next/static/chunks/6657.f57e1d8511e510ce.js +1 -0
  87. package/apps/pwa/out/_next/static/chunks/6672-bc0f317b72f0bbd2.js +1 -0
  88. package/apps/pwa/out/_next/static/chunks/6761-2143fe6fe3578118.js +1 -0
  89. package/apps/pwa/out/_next/static/chunks/{6747.365eefdf3b4a0226.js → 6764.ec2d2cf14278c473.js} +3 -3
  90. package/apps/pwa/out/_next/static/chunks/6955-75b2659eafd27893.js +1 -0
  91. package/apps/pwa/out/_next/static/chunks/{52bafb67.054ec9d048116d83.js → 6cd6be76.9d27e7414d939d53.js} +1 -1
  92. package/apps/pwa/out/_next/static/chunks/{77a1aef7.ba1c04f78a1493d9.js → 6fa80ede.7b05276e6be12b1d.js} +1 -1
  93. package/apps/pwa/out/_next/static/chunks/7051-406b0538949c932f.js +1 -0
  94. package/apps/pwa/out/_next/static/chunks/7222.df77e48936e60d2e.js +1 -0
  95. package/apps/pwa/out/_next/static/chunks/7242-08db87893cf792b7.js +1 -0
  96. package/apps/pwa/out/_next/static/chunks/7307-3172df9d07acb8e0.js +1 -0
  97. package/apps/pwa/out/_next/static/chunks/{156.389be47355dc94c7.js → 7613.4523dc082005e359.js} +1 -1
  98. package/apps/pwa/out/_next/static/chunks/{234.f25f5b0d65f89af8.js → 7644.bdbfed1da174219e.js} +2 -2
  99. package/apps/pwa/out/_next/static/chunks/7648-7c7346c2a73503f9.js +1 -0
  100. package/apps/pwa/out/_next/static/chunks/7788.ffd9f4d57647a354.js +149 -0
  101. package/apps/pwa/out/_next/static/chunks/{1972.a8d37aadbc59ac43.js → 7793.4d3de6ce591fbc21.js} +1 -1
  102. package/apps/pwa/out/_next/static/chunks/{8469.f67afe44a0fa8af0.js → 7816.4b8c0fa1e5b4ec4f.js} +1 -1
  103. package/apps/pwa/out/_next/static/chunks/7988-bbcd506079ceceb6.js +1 -0
  104. package/apps/pwa/out/_next/static/chunks/{367.1ffe524fe1ee7803.js → 8066.32863fb9dd2dc278.js} +1 -1
  105. package/apps/pwa/out/_next/static/chunks/8073-cdf4607b80d127fe.js +1 -0
  106. package/apps/pwa/out/_next/static/chunks/{691.6ff56b5f4b6ec918.js → 8108.2cd332dff4f07acd.js} +4 -4
  107. package/apps/pwa/out/_next/static/chunks/8414-77dbc0c35bc85f42.js +1 -0
  108. package/apps/pwa/out/_next/static/chunks/849.fe241354322a97e9.js +27 -0
  109. package/apps/pwa/out/_next/static/chunks/8665.900daf2473f7032a.js +1 -0
  110. package/apps/pwa/out/_next/static/chunks/8713.11d79e4e023ab74f.js +1 -0
  111. package/apps/pwa/out/_next/static/chunks/8718.137b7ce2c3cae66b.js +8 -0
  112. package/apps/pwa/out/_next/static/chunks/8764.39400f626e015e79.js +287 -0
  113. package/apps/pwa/out/_next/static/chunks/8803.d3504166481bc91e.js +24 -0
  114. package/apps/pwa/out/_next/static/chunks/{9103.bd34694d18c05083.js → 8939.a14783a0a81e5e62.js} +1 -1
  115. package/apps/pwa/out/_next/static/chunks/8963.928e777871d1d637.js +104 -0
  116. package/apps/pwa/out/_next/static/chunks/8987-372a6317aaf83fa9.js +1 -0
  117. package/apps/pwa/out/_next/static/chunks/9039.03e40d9f9fd90920.js +1 -0
  118. package/apps/pwa/out/_next/static/chunks/{c58bec24.d208786405e23259.js → 922c23f1.797bdf68f73f0488.js} +1 -1
  119. package/apps/pwa/out/_next/static/chunks/{5998.d426273cdd00305a.js → 9546.3a0afc5d5fa0851d.js} +1 -1
  120. package/apps/pwa/out/_next/static/chunks/9671.d935d274b65718e4.js +1 -0
  121. package/apps/pwa/out/_next/static/chunks/9756.24e020ddf99f7020.js +77 -0
  122. package/apps/pwa/out/_next/static/chunks/9777-6b21b6f1989ea7b1.js +1 -0
  123. package/apps/pwa/out/_next/static/chunks/9947.7a8d89554e873316.js +1 -0
  124. package/apps/pwa/out/_next/static/chunks/9980.fd66776b3782eeb4.js +1 -0
  125. package/apps/pwa/out/_next/static/chunks/app/_not-found/page-2c29b6716055aa54.js +1 -0
  126. package/apps/pwa/out/_next/static/chunks/app/approvals/page-c9e997416c86c8dd.js +1 -0
  127. package/apps/pwa/out/_next/static/chunks/app/autopilot/{page-e4f014aa82483cae.js → page-4e24912975188223.js} +1 -1
  128. package/apps/pwa/out/_next/static/chunks/app/board/page-b117b7ee316afe86.js +1 -0
  129. package/apps/pwa/out/_next/static/chunks/app/botlab/{page-dbc30fbf2e8933d9.js → page-a447a17fd887c68e.js} +1 -1
  130. package/apps/pwa/out/_next/static/chunks/app/bots/page-2b3e0df385eba76f.js +1 -0
  131. package/apps/pwa/out/_next/static/chunks/app/ceo/page-409ed1d2f2c5f706.js +1 -0
  132. package/apps/pwa/out/_next/static/chunks/app/chat/page-1e90543da0a66b63.js +1 -0
  133. package/apps/pwa/out/_next/static/chunks/app/consult/page-f68c84b50dee9796.js +1 -0
  134. package/apps/pwa/out/_next/static/chunks/app/control/page-afefb7fac0047855.js +1 -0
  135. package/apps/pwa/out/_next/static/chunks/app/decisions/page-79f9d6ae042c07b4.js +1 -0
  136. package/apps/pwa/out/_next/static/chunks/app/design-check/page-9726864cd21303a2.js +1 -0
  137. package/apps/pwa/out/_next/static/chunks/app/editor/page-ab0febcc6695f4e4.js +1 -0
  138. package/apps/pwa/out/_next/static/chunks/app/exec/page-6f6b157c52869db0.js +1 -0
  139. package/apps/pwa/out/_next/static/chunks/app/field/page-78aef36734ddd588.js +1 -0
  140. package/apps/pwa/out/_next/static/chunks/app/healthz/route-2c29b6716055aa54.js +1 -0
  141. package/apps/pwa/out/_next/static/chunks/app/inside/{page-ffca50fc1f13759c.js → page-6a634383e6247c6b.js} +1 -1
  142. package/apps/pwa/out/_next/static/chunks/app/intake/page-66f0dc569bce5230.js +1 -0
  143. package/apps/pwa/out/_next/static/chunks/app/layout-fda2f39e4d21744c.js +1 -0
  144. package/apps/pwa/out/_next/static/chunks/app/live/page-a6fd7cb710d80092.js +1 -0
  145. package/apps/pwa/out/_next/static/chunks/app/live-run/page-2a7c714e7f65229d.js +1 -0
  146. package/apps/pwa/out/_next/static/chunks/app/loops/page-a71ad5f5b075be8d.js +1 -0
  147. package/apps/pwa/out/_next/static/chunks/app/market/page-df7f2d252ff836b5.js +1 -0
  148. package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-7f38deb0998488bf.js +1 -0
  149. package/apps/pwa/out/_next/static/chunks/app/morning/page-7e80f3b354be205e.js +1 -0
  150. package/apps/pwa/out/_next/static/chunks/app/not-found-5ea0e042882e87de.js +1 -0
  151. package/apps/pwa/out/_next/static/chunks/app/observatory/page-f3df76408c930b99.js +1 -0
  152. package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-88996ccc31edf06c.js +1 -0
  153. package/apps/pwa/out/_next/static/chunks/app/ops/release/page-d95db9df4a907fe1.js +1 -0
  154. package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-5a518950f4136aad.js +1 -0
  155. package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-d9e070e009e1a521.js +1 -0
  156. package/apps/pwa/out/_next/static/chunks/app/outputs/page-167c44a8ff378706.js +1 -0
  157. package/apps/pwa/out/_next/static/chunks/app/page-4763cf1b0e52e28b.js +1 -0
  158. package/apps/pwa/out/_next/static/chunks/app/reflection/page-a5bcd883385064d4.js +1 -0
  159. package/apps/pwa/out/_next/static/chunks/app/scheduler/page-f9ef43f59ba98937.js +1 -0
  160. package/apps/pwa/out/_next/static/chunks/app/sessions/page-43c5d7004582f888.js +1 -0
  161. package/apps/pwa/out/_next/static/chunks/app/settings/devices/{page-decfacd2237da403.js → page-20dfe2b5bca855eb.js} +1 -1
  162. package/apps/pwa/out/_next/static/chunks/app/settings/page-7c022f7edf3203d5.js +1 -0
  163. package/apps/pwa/out/_next/static/chunks/app/setup/done/page-adc6daed842128e6.js +1 -0
  164. package/apps/pwa/out/_next/static/chunks/app/setup/layout-2c29b6716055aa54.js +1 -0
  165. package/apps/pwa/out/_next/static/chunks/app/setup/page-683c175da53e9ec3.js +1 -0
  166. package/apps/pwa/out/_next/static/chunks/app/share/page-a91d9cbaf50cc8b4.js +1 -0
  167. package/apps/pwa/out/_next/static/chunks/app/showroom/page-376f3a03f4d31706.js +1 -0
  168. package/apps/pwa/out/_next/static/chunks/app/tasks/page-256d83e84ed55191.js +1 -0
  169. package/apps/pwa/out/_next/static/chunks/app/term/page-5e1fb7a8e0927cf6.js +1 -0
  170. package/apps/pwa/out/_next/static/chunks/app/today/page-95994b2b507ee120.js +1 -0
  171. package/apps/pwa/out/_next/static/chunks/app/trace/page-486b1d3605dbd5f3.js +1 -0
  172. package/apps/pwa/out/_next/static/chunks/app/vault/page-0159591688c45cae.js +1 -0
  173. package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-e640489e459c2789.js +1 -0
  174. package/apps/pwa/out/_next/static/chunks/app/workflows/page-89c00bebfb27b5d5.js +1 -0
  175. package/apps/pwa/out/_next/static/chunks/app/workspace/page-edf90eaa6d354fee.js +1 -0
  176. package/apps/pwa/out/_next/static/chunks/app/worktrees/page-2f2bd38085305ef0.js +1 -0
  177. package/apps/pwa/out/_next/static/chunks/{e7a93f74.aa8572069f848f17.js → d7c7394d.c015f14113d7faef.js} +1 -1
  178. package/apps/pwa/out/_next/static/chunks/db2f0161-8781ed841c51137a.js +1 -0
  179. package/apps/pwa/out/_next/static/chunks/f6a577ab-4b799b8c69e49cfd.js +1 -0
  180. package/apps/pwa/out/_next/static/chunks/framework-01d45c12f1bce665.js +1 -0
  181. package/apps/pwa/out/_next/static/chunks/main-0a9bbda118d4e9dc.js +1 -0
  182. package/apps/pwa/out/_next/static/chunks/main-app-7f817b9fe2a360cc.js +1 -0
  183. package/apps/pwa/out/_next/static/chunks/pages/_app-f953b3d6c9ece48e.js +1 -0
  184. package/apps/pwa/out/_next/static/chunks/pages/_error-1a3e6e3f0aa99004.js +1 -0
  185. package/apps/pwa/out/_next/static/chunks/webpack-090556529ba4efb6.js +1 -0
  186. package/apps/pwa/out/approvals/index.html +1 -1
  187. package/apps/pwa/out/approvals/index.txt +22 -22
  188. package/apps/pwa/out/autopilot/index.html +1 -1
  189. package/apps/pwa/out/autopilot/index.txt +22 -22
  190. package/apps/pwa/out/board/index.html +1 -1
  191. package/apps/pwa/out/board/index.txt +22 -22
  192. package/apps/pwa/out/botlab/index.html +1 -1
  193. package/apps/pwa/out/botlab/index.txt +21 -21
  194. package/apps/pwa/out/bots/index.html +1 -1
  195. package/apps/pwa/out/bots/index.txt +21 -21
  196. package/apps/pwa/out/ceo/index.html +1 -1
  197. package/apps/pwa/out/ceo/index.txt +22 -22
  198. package/apps/pwa/out/chat/index.html +1 -1
  199. package/apps/pwa/out/chat/index.txt +21 -21
  200. package/apps/pwa/out/consult/index.html +1 -1
  201. package/apps/pwa/out/consult/index.txt +22 -22
  202. package/apps/pwa/out/control/index.html +1 -1
  203. package/apps/pwa/out/control/index.txt +22 -22
  204. package/apps/pwa/out/decisions/index.html +1 -1
  205. package/apps/pwa/out/decisions/index.txt +21 -21
  206. package/apps/pwa/out/design-check/index.html +1 -1
  207. package/apps/pwa/out/design-check/index.txt +22 -22
  208. package/apps/pwa/out/editor/index.html +1 -1
  209. package/apps/pwa/out/editor/index.txt +22 -22
  210. package/apps/pwa/out/exec/index.html +1 -1
  211. package/apps/pwa/out/exec/index.txt +22 -22
  212. package/apps/pwa/out/field/index.html +1 -1
  213. package/apps/pwa/out/field/index.txt +22 -22
  214. package/apps/pwa/out/healthz +1 -1
  215. package/apps/pwa/out/index.html +1 -1
  216. package/apps/pwa/out/index.txt +21 -21
  217. package/apps/pwa/out/inside/index.html +1 -1
  218. package/apps/pwa/out/inside/index.txt +21 -21
  219. package/apps/pwa/out/intake/index.html +1 -1
  220. package/apps/pwa/out/intake/index.txt +22 -22
  221. package/apps/pwa/out/live/index.html +1 -1
  222. package/apps/pwa/out/live/index.txt +22 -22
  223. package/apps/pwa/out/live-run/index.html +1 -1
  224. package/apps/pwa/out/live-run/index.txt +22 -22
  225. package/apps/pwa/out/loops/index.html +1 -1
  226. package/apps/pwa/out/loops/index.txt +21 -21
  227. package/apps/pwa/out/market/index.html +1 -1
  228. package/apps/pwa/out/market/index.txt +21 -21
  229. package/apps/pwa/out/missions/placeholder/index.html +1 -1
  230. package/apps/pwa/out/missions/placeholder/index.txt +21 -21
  231. package/apps/pwa/out/morning/index.html +1 -1
  232. package/apps/pwa/out/morning/index.txt +22 -22
  233. package/apps/pwa/out/observatory/index.html +1 -1
  234. package/apps/pwa/out/observatory/index.txt +22 -22
  235. package/apps/pwa/out/ops/checklist/index.html +1 -1
  236. package/apps/pwa/out/ops/checklist/index.txt +21 -21
  237. package/apps/pwa/out/ops/release/index.html +1 -1
  238. package/apps/pwa/out/ops/release/index.txt +21 -21
  239. package/apps/pwa/out/ops/resources/index.html +1 -1
  240. package/apps/pwa/out/ops/resources/index.txt +21 -21
  241. package/apps/pwa/out/ops/seats/index.html +1 -1
  242. package/apps/pwa/out/ops/seats/index.txt +21 -21
  243. package/apps/pwa/out/outputs/index.html +1 -1
  244. package/apps/pwa/out/outputs/index.txt +21 -21
  245. package/apps/pwa/out/reflection/index.html +1 -1
  246. package/apps/pwa/out/reflection/index.txt +22 -22
  247. package/apps/pwa/out/scheduler/index.html +1 -1
  248. package/apps/pwa/out/scheduler/index.txt +22 -22
  249. package/apps/pwa/out/sessions/index.html +1 -1
  250. package/apps/pwa/out/sessions/index.txt +21 -21
  251. package/apps/pwa/out/settings/devices/index.html +1 -1
  252. package/apps/pwa/out/settings/devices/index.txt +22 -22
  253. package/apps/pwa/out/settings/index.html +1 -1
  254. package/apps/pwa/out/settings/index.txt +22 -22
  255. package/apps/pwa/out/setup/done/index.html +1 -1
  256. package/apps/pwa/out/setup/done/index.txt +22 -22
  257. package/apps/pwa/out/setup/index.html +1 -1
  258. package/apps/pwa/out/setup/index.txt +22 -22
  259. package/apps/pwa/out/share/index.html +1 -1
  260. package/apps/pwa/out/share/index.txt +22 -22
  261. package/apps/pwa/out/showroom/index.html +1 -1
  262. package/apps/pwa/out/showroom/index.txt +21 -21
  263. package/apps/pwa/out/tasks/index.html +1 -1
  264. package/apps/pwa/out/tasks/index.txt +22 -22
  265. package/apps/pwa/out/term/index.html +1 -1
  266. package/apps/pwa/out/term/index.txt +22 -22
  267. package/apps/pwa/out/today/index.html +1 -1
  268. package/apps/pwa/out/today/index.txt +22 -22
  269. package/apps/pwa/out/trace/index.html +1 -1
  270. package/apps/pwa/out/trace/index.txt +22 -22
  271. package/apps/pwa/out/vault/index.html +1 -1
  272. package/apps/pwa/out/vault/index.txt +22 -22
  273. package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
  274. package/apps/pwa/out/workflows/chat-ui/index.txt +22 -22
  275. package/apps/pwa/out/workflows/index.html +1 -1
  276. package/apps/pwa/out/workflows/index.txt +22 -22
  277. package/apps/pwa/out/workspace/index.html +1 -1
  278. package/apps/pwa/out/workspace/index.txt +22 -22
  279. package/apps/pwa/out/worktrees/index.html +1 -1
  280. package/apps/pwa/out/worktrees/index.txt +22 -22
  281. package/graphs/natural-language-research.yaml +38 -0
  282. package/package.json +1 -1
  283. package/personas/botlab-4.yaml +8 -0
  284. package/scripts/release-loop/auto-approve-node.ts +2 -1
  285. package/scripts/release-loop/gate-node.ts +13 -6
  286. package/scripts/release-loop/gate-shard-receipts.ts +5 -0
  287. package/scripts/release-loop/publish-node.ts +2 -1
  288. package/scripts/release-loop/pwa-scenarios-node.ts +10 -1
  289. package/scripts/zero-sim-world.sh +1 -1
  290. package/src/auto-research/research-turn.ts +120 -5
  291. package/src/autopilot/track-courier.ts +48 -8
  292. package/src/browser-cdp/client.ts +17 -3
  293. package/src/cli/fleet-cli.ts +9 -2
  294. package/src/cli/intake-source-cli.ts +9 -4
  295. package/src/cli/release-cli.ts +11 -5
  296. package/src/cli/setup-cli.ts +2 -2
  297. package/src/cli/setup-keys.ts +8 -5
  298. package/src/cli/task-plugin-wizard-host.ts +22 -3
  299. package/src/cli/test-state-dir-flag.ts +4 -1
  300. package/src/core-turn/run-core-turn.ts +93 -14
  301. package/src/dashboard/first-screen-band.ts +2 -6
  302. package/src/dashboard/index.ts +45 -32
  303. package/src/dashboard/plugin-wizard-runtime.ts +68 -7
  304. package/src/dashboard/plugin-wizard-tool.ts +16 -2
  305. package/src/dashboard/turn-preamble.ts +8 -0
  306. package/src/fleet/cloud-resource-discovery.ts +95 -0
  307. package/src/fleet/resource-inventory.ts +12 -3
  308. package/src/graph-runner/runner.ts +3 -1
  309. package/src/graph-wizard/mission-compose.ts +7 -1
  310. package/src/harness/harness-queue.ts +74 -6
  311. package/src/index.ts +26 -0
  312. package/src/intake-plane/actions.ts +20 -12
  313. package/src/intake-plane/intake-sources.ts +32 -11
  314. package/src/intake-plane/items.ts +1 -1
  315. package/src/llm.ts +4 -0
  316. package/src/loops/budget.ts +20 -0
  317. package/src/mcp/server.ts +7 -2
  318. package/src/native-tool-catalog.ts +3 -0
  319. package/src/nexus/api/harness-traversal.ts +3 -3
  320. package/src/nexus/api/meta-api.ts +3 -1
  321. package/src/nexus/api/research-run-observer.ts +59 -0
  322. package/src/onboarding/first-chat-gate.ts +4 -1
  323. package/src/onboarding/first-run-doctor-test-control.ts +42 -0
  324. package/src/onboarding/first-run-doctor.ts +1 -0
  325. package/src/onboarding/first-run.ts +8 -1
  326. package/src/onboarding.ts +5 -1
  327. package/src/pr-tool/census.ts +42 -5
  328. package/src/prompt-library/session-guidance.ts +7 -6
  329. package/src/pty-shell/pty-manifest.ts +15 -6
  330. package/src/release-loop/light-rc.ts +47 -0
  331. package/src/research/axis-fanout.ts +15 -8
  332. package/src/self-dev/dev-pipeline.ts +67 -8
  333. package/src/self-implement/gate-remote.ts +13 -7
  334. package/src/self-implement/run-ledger.ts +1 -1
  335. package/src/self-implement/run-step-projection.ts +10 -2
  336. package/src/session/chat.ts +2 -0
  337. package/src/session-runtime/index.ts +47 -5
  338. package/src/setup/service-key-catalog.ts +4 -2
  339. package/src/setup/service-keys.ts +34 -10
  340. package/src/sidetab-core/model.ts +64 -6
  341. package/src/task-orchestrator/surfaces/pod-source-receive.ts +10 -1
  342. package/src/terminal/coding-agent.ts +12 -1
  343. package/src/tool-hints/gate.ts +7 -3
  344. package/src/tool-hints/signals.ts +43 -1
  345. package/src/tool-runtime/aside-selection-runtime.ts +89 -0
  346. package/src/tool-runtime/index.ts +2 -0
  347. package/src/tui/entry.ts +75 -21
  348. package/src/tui/sidetab/attach.ts +1 -0
  349. package/src/tui/sidetab/list.ts +2 -1
  350. package/src/tui.ts +97 -4
  351. package/src/ux-sim/classic-tui-seat-scenarios.ts +54 -4
  352. package/src/ux-sim/mock-scenario-catalog.json +8 -3
  353. package/src/ux-sim/release-sim-rig.ts +244 -7
  354. package/src/version/packed-revision.json +1 -1
  355. package/apps/pwa/out/_next/static/chunks/1388-1eb6df003f29bb9c.js +0 -1
  356. package/apps/pwa/out/_next/static/chunks/1434-a2c279f005d9c501.js +0 -1
  357. package/apps/pwa/out/_next/static/chunks/1464.14588e93d2ab3190.js +0 -24
  358. package/apps/pwa/out/_next/static/chunks/1465.85f9a1708f17853a.js +0 -1
  359. package/apps/pwa/out/_next/static/chunks/162.c03cf23572cb4136.js +0 -1
  360. package/apps/pwa/out/_next/static/chunks/1831.25868bc1e2cc0dae.js +0 -1
  361. package/apps/pwa/out/_next/static/chunks/1896.b6c635d0c8f65727.js +0 -1
  362. package/apps/pwa/out/_next/static/chunks/1939.3fa2506ad8e585bc.js +0 -1
  363. package/apps/pwa/out/_next/static/chunks/1997-f22e6f9510520182.js +0 -1
  364. package/apps/pwa/out/_next/static/chunks/2242-6edf27c6c0ae7589.js +0 -1
  365. package/apps/pwa/out/_next/static/chunks/2344.795de26da3261060.js +0 -23
  366. package/apps/pwa/out/_next/static/chunks/2491.9ac5bd2f48bcd60c.js +0 -226
  367. package/apps/pwa/out/_next/static/chunks/2513.e03f6479c0079b6e.js +0 -79
  368. package/apps/pwa/out/_next/static/chunks/2551-43782d8812989ae7.js +0 -1
  369. package/apps/pwa/out/_next/static/chunks/2799.12b1a3e7090e27ef.js +0 -1
  370. package/apps/pwa/out/_next/static/chunks/2806.f04d7923f2adadb1.js +0 -1
  371. package/apps/pwa/out/_next/static/chunks/2862.b8ea08cbc69a63d4.js +0 -1
  372. package/apps/pwa/out/_next/static/chunks/295-1ff35d6a06be8400.js +0 -1
  373. package/apps/pwa/out/_next/static/chunks/3161.b9eb612f66d5ff04.js +0 -1
  374. package/apps/pwa/out/_next/static/chunks/3233.46021e4acc520c03.js +0 -1
  375. package/apps/pwa/out/_next/static/chunks/325.3cfd5b7571a9f740.js +0 -1
  376. package/apps/pwa/out/_next/static/chunks/3384.d91656787bec7922.js +0 -104
  377. package/apps/pwa/out/_next/static/chunks/3414f5fa-46ae45073dca64f0.js +0 -1
  378. package/apps/pwa/out/_next/static/chunks/3589.a9094c2bc034055c.js +0 -287
  379. package/apps/pwa/out/_next/static/chunks/3777.1450df79d987816d.js +0 -1
  380. package/apps/pwa/out/_next/static/chunks/3877-871ea505d778a6a7.js +0 -1
  381. package/apps/pwa/out/_next/static/chunks/4021.28d034c7fb0a6732.js +0 -1
  382. package/apps/pwa/out/_next/static/chunks/4212.873105c37a871421.js +0 -1
  383. package/apps/pwa/out/_next/static/chunks/423-6be27163a1bce5d7.js +0 -1
  384. package/apps/pwa/out/_next/static/chunks/4231.644cd1e23974f1f6.js +0 -1
  385. package/apps/pwa/out/_next/static/chunks/4362.1adc1412509b7bb8.js +0 -94
  386. package/apps/pwa/out/_next/static/chunks/4431.83a630154376636a.js +0 -41
  387. package/apps/pwa/out/_next/static/chunks/4540-993e2e4e1d485a9a.js +0 -1
  388. package/apps/pwa/out/_next/static/chunks/4719-1d04b01d4d6166fc.js +0 -1
  389. package/apps/pwa/out/_next/static/chunks/4754-bfd5e1ad9016e176.js +0 -1
  390. package/apps/pwa/out/_next/static/chunks/5001.b39bf6d792509317.js +0 -64
  391. package/apps/pwa/out/_next/static/chunks/5021.7234ae147ab0a3e1.js +0 -77
  392. package/apps/pwa/out/_next/static/chunks/5230.3e562ed2a69cbc7b.js +0 -1
  393. package/apps/pwa/out/_next/static/chunks/5279.f75fafa19de6e131.js +0 -1
  394. package/apps/pwa/out/_next/static/chunks/5325-b9c1258cc7e579f9.js +0 -1
  395. package/apps/pwa/out/_next/static/chunks/5495-37306015ec740354.js +0 -1
  396. package/apps/pwa/out/_next/static/chunks/5658.d1e61315cb865f82.js +0 -32
  397. package/apps/pwa/out/_next/static/chunks/5765.5949ec61cec63eac.js +0 -1
  398. package/apps/pwa/out/_next/static/chunks/587.e6b35bcbd947c58e.js +0 -8
  399. package/apps/pwa/out/_next/static/chunks/5951-f25e14d03e72135a.js +0 -1
  400. package/apps/pwa/out/_next/static/chunks/5962-1ab68b213684716b.js +0 -1
  401. package/apps/pwa/out/_next/static/chunks/6352.20c708245475cf50.js +0 -1
  402. package/apps/pwa/out/_next/static/chunks/6548-a160aa580fb9a8ff.js +0 -1
  403. package/apps/pwa/out/_next/static/chunks/673-40c924b2095a05eb.js +0 -1
  404. package/apps/pwa/out/_next/static/chunks/6731-c9308c2f71a1b8e3.js +0 -1
  405. package/apps/pwa/out/_next/static/chunks/6950-5d5edab502cc208b.js +0 -1
  406. package/apps/pwa/out/_next/static/chunks/6982.e8fecbf7feb3aba5.js +0 -1
  407. package/apps/pwa/out/_next/static/chunks/7051-0dbbb2c1ce4f519e.js +0 -1
  408. package/apps/pwa/out/_next/static/chunks/709.bd9939dbb991de9f.js +0 -1
  409. package/apps/pwa/out/_next/static/chunks/7230-6527ac6be205c096.js +0 -1
  410. package/apps/pwa/out/_next/static/chunks/7233-d93f8ce1475f730c.js +0 -1
  411. package/apps/pwa/out/_next/static/chunks/7292-a4d5c8d2fe255e06.js +0 -1
  412. package/apps/pwa/out/_next/static/chunks/7304-dae57d61a8ccccf0.js +0 -1
  413. package/apps/pwa/out/_next/static/chunks/7382.bf53ab097670a235.js +0 -27
  414. package/apps/pwa/out/_next/static/chunks/7434.99c31fb661085b6a.js +0 -1
  415. package/apps/pwa/out/_next/static/chunks/7457-9ceddd4301467503.js +0 -1
  416. package/apps/pwa/out/_next/static/chunks/7494.d8b8d01d8dcbafe8.js +0 -2
  417. package/apps/pwa/out/_next/static/chunks/7554-d9cec4ac2e6d556d.js +0 -1
  418. package/apps/pwa/out/_next/static/chunks/7733-6f0d8da7a3f3ce91.js +0 -1
  419. package/apps/pwa/out/_next/static/chunks/7757-6f4b6363cc651de5.js +0 -1
  420. package/apps/pwa/out/_next/static/chunks/787-4d1d55b1311a5019.js +0 -1
  421. package/apps/pwa/out/_next/static/chunks/7915-a755af5ea69cfcfe.js +0 -1
  422. package/apps/pwa/out/_next/static/chunks/8029-2963385667511b16.js +0 -1
  423. package/apps/pwa/out/_next/static/chunks/8090.bc2349b6133b2cd5.js +0 -1
  424. package/apps/pwa/out/_next/static/chunks/8136.8ff2113530c27083.js +0 -1
  425. package/apps/pwa/out/_next/static/chunks/819.632a2a50f814f98e.js +0 -74
  426. package/apps/pwa/out/_next/static/chunks/8328.72a79ba9b81971ad.js +0 -1
  427. package/apps/pwa/out/_next/static/chunks/8448.4e25153e035786b0.js +0 -62
  428. package/apps/pwa/out/_next/static/chunks/8613.76dfc054055f06ba.js +0 -1
  429. package/apps/pwa/out/_next/static/chunks/8649-fe9165a8879fad56.js +0 -1
  430. package/apps/pwa/out/_next/static/chunks/8840-53feb140de04dcfe.js +0 -1
  431. package/apps/pwa/out/_next/static/chunks/8873.ef8a37057644f876.js +0 -1
  432. package/apps/pwa/out/_next/static/chunks/8917-46eb4e608f44bf74.js +0 -1
  433. package/apps/pwa/out/_next/static/chunks/8954.e749ad9e9c5ca512.js +0 -115
  434. package/apps/pwa/out/_next/static/chunks/9065.8134b756614cf83f.js +0 -36
  435. package/apps/pwa/out/_next/static/chunks/9089.087fcd352568af49.js +0 -1
  436. package/apps/pwa/out/_next/static/chunks/9140-bfcc4075cac3c387.js +0 -1
  437. package/apps/pwa/out/_next/static/chunks/9272.787cb6d987824708.js +0 -1
  438. package/apps/pwa/out/_next/static/chunks/9361-5b10273d3f34b21d.js +0 -1
  439. package/apps/pwa/out/_next/static/chunks/9396.097c14dd4df77c43.js +0 -1
  440. package/apps/pwa/out/_next/static/chunks/9468.370ef15c86f7b141.js +0 -1
  441. package/apps/pwa/out/_next/static/chunks/963-66d3a6d98e977ae5.js +0 -1
  442. package/apps/pwa/out/_next/static/chunks/9644.a615f56876ed37b8.js +0 -90
  443. package/apps/pwa/out/_next/static/chunks/9786.2d8c3b7368f18f1b.js +0 -148
  444. package/apps/pwa/out/_next/static/chunks/9805.e17f9c6e3811e48b.js +0 -24
  445. package/apps/pwa/out/_next/static/chunks/9876-49a1e08c0dfe7b8c.js +0 -1
  446. package/apps/pwa/out/_next/static/chunks/9891.5995e75a99b53d4e.js +0 -149
  447. package/apps/pwa/out/_next/static/chunks/9912-2be6b6ea0321c365.js +0 -1
  448. package/apps/pwa/out/_next/static/chunks/app/_not-found/page-c0543429ffa9cdfb.js +0 -1
  449. package/apps/pwa/out/_next/static/chunks/app/approvals/page-39f04d88df12b3e9.js +0 -1
  450. package/apps/pwa/out/_next/static/chunks/app/board/page-e86f9273877eab46.js +0 -1
  451. package/apps/pwa/out/_next/static/chunks/app/bots/page-d83a916672a8cfd3.js +0 -1
  452. package/apps/pwa/out/_next/static/chunks/app/ceo/page-22f27eaa5e6e68c7.js +0 -1
  453. package/apps/pwa/out/_next/static/chunks/app/chat/page-66477bf22d33b56e.js +0 -1
  454. package/apps/pwa/out/_next/static/chunks/app/consult/page-913f2a86ea109c65.js +0 -1
  455. package/apps/pwa/out/_next/static/chunks/app/control/page-ac51dc349381d564.js +0 -1
  456. package/apps/pwa/out/_next/static/chunks/app/decisions/page-cd09fc74dca72511.js +0 -1
  457. package/apps/pwa/out/_next/static/chunks/app/design-check/page-6c357f5b58598b67.js +0 -1
  458. package/apps/pwa/out/_next/static/chunks/app/editor/page-ab83de8c73bd2e4f.js +0 -1
  459. package/apps/pwa/out/_next/static/chunks/app/exec/page-6402ad2273b6f7b5.js +0 -1
  460. package/apps/pwa/out/_next/static/chunks/app/field/page-50d9b8d13b33f785.js +0 -1
  461. package/apps/pwa/out/_next/static/chunks/app/healthz/route-c0543429ffa9cdfb.js +0 -1
  462. package/apps/pwa/out/_next/static/chunks/app/intake/page-3316bfc28a901722.js +0 -1
  463. package/apps/pwa/out/_next/static/chunks/app/layout-aef93e049341011e.js +0 -1
  464. package/apps/pwa/out/_next/static/chunks/app/live/page-8e67bb49fa81d4e5.js +0 -1
  465. package/apps/pwa/out/_next/static/chunks/app/live-run/page-8b8c8ac4a3edf0eb.js +0 -1
  466. package/apps/pwa/out/_next/static/chunks/app/loops/page-b5b994c9ea03f6d7.js +0 -1
  467. package/apps/pwa/out/_next/static/chunks/app/market/page-1a06f6f510439341.js +0 -1
  468. package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-d9720f6a03f31fa7.js +0 -1
  469. package/apps/pwa/out/_next/static/chunks/app/morning/page-d7c891d78672d771.js +0 -1
  470. package/apps/pwa/out/_next/static/chunks/app/not-found-e915872b37ca7dcf.js +0 -1
  471. package/apps/pwa/out/_next/static/chunks/app/observatory/page-43c2ec7c00978377.js +0 -1
  472. package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c2537aa89b121637.js +0 -1
  473. package/apps/pwa/out/_next/static/chunks/app/ops/release/page-3264666f6ef99431.js +0 -1
  474. package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-efe9dd7bc58d4fc6.js +0 -1
  475. package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-153277343c9956b8.js +0 -1
  476. package/apps/pwa/out/_next/static/chunks/app/outputs/page-c1457829d1506ad7.js +0 -1
  477. package/apps/pwa/out/_next/static/chunks/app/page-9622573651a4b6ce.js +0 -1
  478. package/apps/pwa/out/_next/static/chunks/app/reflection/page-5aeba1aa69ec67ad.js +0 -1
  479. package/apps/pwa/out/_next/static/chunks/app/scheduler/page-29cf1ba9ae2fdb92.js +0 -1
  480. package/apps/pwa/out/_next/static/chunks/app/sessions/page-99a060c6edd4726c.js +0 -1
  481. package/apps/pwa/out/_next/static/chunks/app/settings/page-3650eed85a5c5c93.js +0 -1
  482. package/apps/pwa/out/_next/static/chunks/app/setup/done/page-14077f0eddcae22f.js +0 -1
  483. package/apps/pwa/out/_next/static/chunks/app/setup/layout-c0543429ffa9cdfb.js +0 -1
  484. package/apps/pwa/out/_next/static/chunks/app/setup/page-364ee29f223bdc6b.js +0 -1
  485. package/apps/pwa/out/_next/static/chunks/app/share/page-905fb1f67c2665a7.js +0 -1
  486. package/apps/pwa/out/_next/static/chunks/app/showroom/page-79907fc36e3113f4.js +0 -1
  487. package/apps/pwa/out/_next/static/chunks/app/tasks/page-8f01867ee2a701b6.js +0 -1
  488. package/apps/pwa/out/_next/static/chunks/app/term/page-310b734167671ba8.js +0 -1
  489. package/apps/pwa/out/_next/static/chunks/app/today/page-cb1ca7ae52803603.js +0 -1
  490. package/apps/pwa/out/_next/static/chunks/app/trace/page-5491f2fb8e9376b5.js +0 -1
  491. package/apps/pwa/out/_next/static/chunks/app/vault/page-7e98befd36460b21.js +0 -1
  492. package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-220923eefd5149b5.js +0 -1
  493. package/apps/pwa/out/_next/static/chunks/app/workflows/page-afdef54bb570da39.js +0 -1
  494. package/apps/pwa/out/_next/static/chunks/app/workspace/page-19f8acddbff16091.js +0 -1
  495. package/apps/pwa/out/_next/static/chunks/app/worktrees/page-d327a7647a075184.js +0 -1
  496. package/apps/pwa/out/_next/static/chunks/bc1f8ef9.b79035bd0f565c66.js +0 -1
  497. package/apps/pwa/out/_next/static/chunks/cf9ff424.b702f4a2ac70d836.js +0 -1
  498. package/apps/pwa/out/_next/static/chunks/d90ea774-d492ff408af303c1.js +0 -1
  499. package/apps/pwa/out/_next/static/chunks/ec9064d2.691021d974525713.js +0 -122
  500. package/apps/pwa/out/_next/static/chunks/ef9d715f.186b83d00befb229.js +0 -1
  501. package/apps/pwa/out/_next/static/chunks/framework-f01b715c1ec2fb74.js +0 -1
  502. package/apps/pwa/out/_next/static/chunks/main-3267c2e627901292.js +0 -1
  503. package/apps/pwa/out/_next/static/chunks/main-app-a690bcbeac3c465d.js +0 -1
  504. package/apps/pwa/out/_next/static/chunks/pages/_app-124f11699738fd43.js +0 -1
  505. package/apps/pwa/out/_next/static/chunks/pages/_error-754b7bd073a36a5f.js +0 -1
  506. package/apps/pwa/out/_next/static/chunks/webpack-8ded1efe8121eba0.js +0 -1
  507. /package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → K-ckEB9hu9tXQ6iqnl27L}/_ssgManifest.js +0 -0
@@ -8,7 +8,7 @@ import { findTrack } from '../autopilot/mission-phase-track.js';
8
8
  import { appendGithubStarSnapshots, collectGithubStars, ghApiSearchRepos, type SearchGithubRepos } from './collect-github.js';
9
9
  import { ingestIntakeItems, parseRawIntakeJsonl, type IntakeSource, type RegisteredIntakeSourceKind, type RawIntakeItem } from './items.js';
10
10
 
11
- export type SourceKind = 'github-query' | 'rss' | 'command' | 'topic-search';
11
+ export type SourceKind = 'github-query' | 'rss' | 'command' | 'topic-search' | 'markdown';
12
12
  export interface RegisteredIntakeSource {
13
13
  id: string;
14
14
  seat: string;
@@ -112,18 +112,19 @@ function commandArgv(spec: string): string[] {
112
112
 
113
113
  export function addSource(input: RegisteredIntakeSource, stateDir = effectiveInstanceRoot()): RegisteredIntakeSource {
114
114
  const seat = canonicalSeat(input.seat);
115
- if (!['github-query', 'rss', 'command', 'topic-search'].includes(input.kind)) throw new Error(`알 수 없는 원천 종류: ${input.kind}`);
115
+ if (!['github-query', 'rss', 'command', 'topic-search', 'markdown'].includes(input.kind)) throw new Error(`알 수 없는 원천 종류: ${input.kind}`);
116
116
  cadenceMs(input.every);
117
117
  if (input.until !== undefined) untilMs(input.until);
118
118
  if (!input.id?.trim() || !/^[\w.-]+$/.test(input.id)) throw new Error('원천 id 는 영문·숫자·_·-·. 만 허용한다');
119
119
  if (!input.spec?.trim()) throw new Error('원천 spec 이 비었다');
120
- if (input.linearIssueId !== undefined && (input.kind !== 'topic-search'
120
+ if (input.linearIssueId !== undefined && (!['topic-search', 'markdown'].includes(input.kind)
121
121
  || !/^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(input.linearIssueId))) {
122
- throw new Error('topic-search linearIssueId 는 부모 Linear issue UUID여야 한다');
122
+ throw new Error('관련 issue linearIssueId 는 부모 Linear issue UUID여야 한다');
123
123
  }
124
124
  if (input.kind === 'topic-search' && (!input.linearIssueId || !input.scheduleCron || !cron.validate(input.scheduleCron))) {
125
125
  throw new Error('topic-search 는 부모 Linear UUID와 유효한 개별 schedule cron 이 필요하다');
126
126
  }
127
+ if (input.kind === 'markdown' && !input.linearIssueId) throw new Error('markdown 원천은 관련 Linear issue UUID가 필요하다');
127
128
  if (input.kind !== 'topic-search' && input.scheduleCron !== undefined) throw new Error('scheduleCron 은 topic-search 원천만 가질 수 있다');
128
129
  if (input.kind === 'rss') {
129
130
  let protocol = '';
@@ -131,6 +132,7 @@ export function addSource(input: RegisteredIntakeSource, stateDir = effectiveIns
131
132
  if (protocol !== 'http:' && protocol !== 'https:') throw new Error('RSS spec 은 HTTP(S) URL 이어야 한다');
132
133
  }
133
134
  if (input.kind === 'command') commandArgv(input.spec);
135
+ if (input.kind === 'markdown' && !input.spec.startsWith('/')) throw new Error('markdown spec 은 절대 경로여야 한다');
134
136
  const sources = readSources(stateDir);
135
137
  if (sources.some((source) => source.id === input.id)) throw new Error(`이미 등록된 원천 id: ${input.id}`);
136
138
  const source = { ...input, seat };
@@ -224,6 +226,7 @@ export interface RunDueDeps {
224
226
  stateDir?: string;
225
227
  searchGithub?: SearchGithubRepos;
226
228
  fetchFeed?: (url: string) => Promise<string>;
229
+ readMarkdown?: (path: string) => string;
227
230
  runCommand?: (command: string) => Promise<string>;
228
231
  searchTopic?: (topic: string) => Promise<RawIntakeItem[]>;
229
232
  addBriefItem?: (input: import('../briefing/brief-items.js').AddBriefItem) => unknown;
@@ -248,9 +251,12 @@ async function addTopicBriefItems(stateDir: string, source: RegisteredIntakeSour
248
251
  const ledger = addBriefItem ? null : new (await import('../briefing/brief-items.js')).BriefItemsLedger({ stateDir });
249
252
  for (const item of items) {
250
253
  if (!item.url) continue;
251
- const text = `새 토픽 자료: ${(item.title ?? item.text ?? item.url).replace(/[\r\n]+/g, ' ').trim()}`;
254
+ const title = (item.title ?? item.text ?? item.url).replace(/[\r\n]+/g, ' ').trim();
255
+ const detail = source.kind === 'markdown' && item.title && item.text && item.text !== item.title
256
+ ? ` — ${item.text.replace(/[\r\n]+/g, ' ').trim()}` : '';
257
+ const text = `새 토픽 자료: ${title}${detail}`;
252
258
  const input = {
253
- text, domain: '흡수' as const, priority: 'P1' as const, source: `intake.topic-search:${source.id}`,
259
+ text, domain: '흡수' as const, priority: 'P1' as const, source: `intake.${source.kind}:${source.id}`,
254
260
  evidence: item.url, createdAt,
255
261
  ...(source.linearIssueId ? { linearIssueId: source.linearIssueId } : {}),
256
262
  dedupeKey: `${source.linearIssueId ?? source.id}:${item.url}`, dedupeWithinMs: Math.max(86_400_000, cadenceMs(source.every)),
@@ -260,6 +266,16 @@ async function addTopicBriefItems(stateDir: string, source: RegisteredIntakeSour
260
266
  }
261
267
  }
262
268
 
269
+ /** Parse curated scenario news rows without interpreting the factual summaries. */
270
+ export function parseMarkdownNews(markdown: string): RawIntakeItem[] {
271
+ return markdown.split(/\r?\n/).flatMap((line) => {
272
+ const match = /^\s*\d+\.\s+\*\*(.+?)\*\*\s+—\s+(.+?)(?:\s+\[[^\]]+\]\((https?:\/\/[^)]+)\))?\s*$/.exec(line);
273
+ if (!match) return [];
274
+ return [{ title: match[1]!.trim(), text: match[2]!.trim(), kind: 'article' as const,
275
+ ...(match[3] ? { url: match[3] } : {}) }];
276
+ });
277
+ }
278
+
263
279
  function xmlText(value: string): string {
264
280
  return value.replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g, '$1').replace(/<[^>]+>/g, '')
265
281
  .replace(/&(?:amp|lt|gt|quot|apos|#(\d+)|#x([a-f\d]+));/gi, (entity, dec: string | undefined, hex: string | undefined) => {
@@ -289,7 +305,7 @@ export async function runDue({ now = new Date(), seat, sourceId, deps = {} }: {
289
305
  const ran: Array<{ id: string; items: number; error?: string }> = [];
290
306
  for (const source of dueSources(now, stateDir, sourceId).filter((source) =>
291
307
  (selectedSeat === undefined || source.seat === selectedSeat)
292
- && (source.kind !== 'topic-search' || !!deps.projectTopicBriefing))) {
308
+ && (!['topic-search', 'markdown'].includes(source.kind) || !source.linearIssueId || !!deps.projectTopicBriefing))) {
293
309
  try {
294
310
  let raws: RawIntakeItem[];
295
311
  let githubSnapshots: { day: string; repo: string; stars: number }[] | undefined;
@@ -314,6 +330,11 @@ export async function runDue({ now = new Date(), seat, sourceId, deps = {} }: {
314
330
  } else if (source.kind === 'topic-search') {
315
331
  raws = await (deps.searchTopic ?? searchTopicWithResearchBridge)(source.spec);
316
332
  intakeSource = 'topic-search';
333
+ } else if (source.kind === 'markdown') {
334
+ const contents = (deps.readMarkdown ?? ((path: string) => readFileSync(path, 'utf8')))(source.spec);
335
+ raws = parseMarkdownNews(contents);
336
+ if (!raws.length) throw new Error('markdown 원천에서 뉴스 항목을 찾지 못했다');
337
+ intakeSource = 'markdown';
317
338
  } else {
318
339
  const argv = commandArgv(source.spec);
319
340
  const stdout = await (deps.runCommand ?? (async () => execFileSync(argv[0]!, argv.slice(1), { encoding: 'utf8', timeout: 600_000, maxBuffer: 16 * 1024 * 1024 })))(source.spec);
@@ -328,19 +349,19 @@ export async function runDue({ now = new Date(), seat, sourceId, deps = {} }: {
328
349
  }
329
350
  raws = raws.map((raw) => ({ ...raw, seat: source.seat,
330
351
  ...(source.briefingTopic ? { briefingTopic: source.briefingTopic } : {}),
331
- ...(source.kind === 'topic-search' && source.linearIssueId ? { linearIssueId: source.linearIssueId } : {}) }));
352
+ ...((source.kind === 'topic-search' || source.kind === 'markdown') && source.linearIssueId ? { linearIssueId: source.linearIssueId } : {}) }));
332
353
  const publishers = new Set(raws.map((raw) => {
333
354
  if (raw.publisher?.trim()) return raw.publisher.trim().toLowerCase();
334
355
  try { return new URL(raw.url!).hostname.toLowerCase().replace(/^www\./, ''); } catch { return undefined; }
335
356
  }).filter((host): host is string => !!host));
336
357
  const items = (deps.ingest ?? ingestIntakeItems)(stateDir, intakeSource, raws, now.toISOString()).shaped;
337
- if (source.kind === 'topic-search') await addTopicBriefItems(stateDir, source, raws, now.toISOString(), deps.addBriefItem);
358
+ if (source.kind === 'topic-search' || (source.kind === 'markdown' && source.linearIssueId)) await addTopicBriefItems(stateDir, source, raws, now.toISOString(), deps.addBriefItem);
338
359
  await deps.onCollected?.(source, raws, now);
339
360
  if (githubSnapshots) appendGithubStarSnapshots(stateDir, githubSnapshots);
340
- if (source.kind === 'topic-search' && source.linearIssueId && deps.projectTopicBriefing) {
361
+ if ((source.kind === 'topic-search' || source.kind === 'markdown') && source.linearIssueId && deps.projectTopicBriefing) {
341
362
  const { BriefItemsLedger } = await import('../briefing/brief-items.js');
342
363
  const ledger = new BriefItemsLedger({ stateDir });
343
- const pending = ledger.list().filter(item => item.source === `intake.topic-search:${source.id}`
364
+ const pending = ledger.list().filter(item => item.source === `intake.${source.kind}:${source.id}`
344
365
  && item.linearIssueId?.toLowerCase() === source.linearIssueId!.toLowerCase() && item.sent_at === null);
345
366
  if (pending.length) {
346
367
  await deps.projectTopicBriefing(source, pending, stateDir);
@@ -8,7 +8,7 @@ import { findTrack } from '../autopilot/mission-phase-track.js';
8
8
  import { wasIntakeEventScheduled } from './route.js';
9
9
 
10
10
  export const INTAKE_SOURCES = ['x', 'youtube', 'github', 'telegram-saved', 'telegram-bot', 'memo', 'pwa'] as const;
11
- export type RegisteredIntakeSourceKind = 'rss' | 'command' | 'topic-search';
11
+ export type RegisteredIntakeSourceKind = 'rss' | 'command' | 'topic-search' | 'markdown';
12
12
  export type IntakeSource = typeof INTAKE_SOURCES[number];
13
13
  export type IntakeKind = 'video' | 'repo' | 'post' | 'article' | 'note' | 'rss';
14
14
  export type IntakePrivacy = 'public' | 'user-private';
package/src/llm.ts CHANGED
@@ -9211,6 +9211,10 @@ export async function streamLLMWithTools(
9211
9211
  const message = buildInterjectionMessage(pending, 'mid-turn');
9212
9212
  if (message) {
9213
9213
  history.push({ role: 'user', content: message });
9214
+ // A queued user message begins a fresh request. Keep the repair
9215
+ // allowlist narrow for the failed request, but do not let its
9216
+ // one-turn gate reject tools requested by this new user turn.
9217
+ repairActionArmed = false;
9214
9218
  debug.log('llm.interjection', 'drained-mid-turn', {
9215
9219
  turn, count: pending.length, chars: message.length,
9216
9220
  }, { level: 'info' });
@@ -153,6 +153,26 @@ export function decideSpawn({ seat, running, caps, gate, injectedCap }: SpawnBud
153
153
  : { allow: false, reason: 'seat-cap', cap };
154
154
  }
155
155
 
156
+ export type ResourceAdmissionVerdict = 'allow' | 'deny' | 'unmeasured';
157
+ export interface ResourceAdmissionDecision {
158
+ verdict: ResourceAdmissionVerdict;
159
+ reason: 'resource-headroom' | 'pool-headroom-empty' | 'host-load-saturated' | 'resource-input-unmeasured';
160
+ }
161
+
162
+ /** Shadow-only resource signal. `hostLoad` is one-minute load normalized by logical cores. */
163
+ export function decideResourceAdmission(input: {
164
+ poolHeadroom: number | null | undefined;
165
+ hostLoad: number | null | undefined;
166
+ }): ResourceAdmissionDecision {
167
+ const { poolHeadroom, hostLoad } = input;
168
+ if (!Number.isSafeInteger(poolHeadroom) || poolHeadroom === null || poolHeadroom === undefined || poolHeadroom < 0
169
+ || typeof hostLoad !== 'number' || !Number.isFinite(hostLoad) || hostLoad < 0)
170
+ return { verdict: 'unmeasured', reason: 'resource-input-unmeasured' };
171
+ if (poolHeadroom === 0) return { verdict: 'deny', reason: 'pool-headroom-empty' };
172
+ if (hostLoad >= 1) return { verdict: 'deny', reason: 'host-load-saturated' };
173
+ return { verdict: 'allow', reason: 'resource-headroom' };
174
+ }
175
+
156
176
  /** SEAT-CAP-STALE: why a run or a queue row is left out of a seat's running count (counting only — nothing is stopped). */
157
177
  export type SeatCapExclusionReason = 'stale' | 'soft-stopped' | 'unknown-seat' | 'dead-row';
158
178
  export const SEAT_CAP_STALE_RUN_MINUTES = 30;
package/src/mcp/server.ts CHANGED
@@ -113,6 +113,10 @@ function mcpRunId(params: Record<string, unknown> | undefined): string | undefin
113
113
  return normalized === value ? value : undefined;
114
114
  }
115
115
 
116
+ function isAsideMcpClient(clientName: string | undefined): boolean {
117
+ return clientName?.trim().toLowerCase() === 'aside';
118
+ }
119
+
116
120
  function logAsideRunIdDrop(toolName: string, params: Record<string, unknown> | undefined): void {
117
121
  const meta = params?._meta;
118
122
  const raw = meta && typeof meta === 'object' && !Array.isArray(meta)
@@ -202,8 +206,9 @@ export async function handleMcpRequest(
202
206
  const args = (req.params?.arguments as Record<string, unknown>) ?? {};
203
207
  const surface = ctx.surface ?? 'mcp';
204
208
  const rt = getToolRuntime(name);
205
- const runId = ctx.clientName === 'aside' ? mcpRunId(req.params) : undefined;
206
- if (ctx.clientName === 'aside' && !runId) logAsideRunIdDrop(name, req.params);
209
+ const isAsideClient = isAsideMcpClient(ctx.clientName);
210
+ const runId = isAsideClient ? mcpRunId(req.params) : undefined;
211
+ if (isAsideClient && !runId) logAsideRunIdDrop(name, req.params);
207
212
  const asideReturn = runId !== undefined;
208
213
  const isExposedOnSurface = listToolRuntimes(surface).some(runtime => runtime.id === rt?.id);
209
214
  if (!rt || !isExposedOnSurface) {
@@ -750,6 +750,9 @@ export const nativeToolCatalog: NativeToolCatalogEntry[] = [
750
750
  description: 'DEMO-only grounded Linear secretary. Create a dated evidence-backed parent with 3–5 subtasks, record a child progress/Done transition using actual intake records and approved browser evidence, or open one local pending approval per parent. Repeated approval calls return the existing card state; no external notifications are sent.',
751
751
  promptSummary: '`elanous_linear_secretary` (DEMO create/progress/Done/evidence/approval; approval is local and sends nothing externally)',
752
752
  host: ['tui', 'mcp'], safety: ['mutating', 'network'], supportsParallel: false, defaultEnabled: true,
753
+ // Multi-step secretary workflow is discoverable on demand; direct action tools stay in the TUI catalog.
754
+ alwaysLoad: false,
755
+ shouldDefer: true,
753
756
  intentScope: 'ops-fleet',
754
757
  },
755
758
  {
@@ -49,7 +49,7 @@ export interface RunTraversalWire {
49
49
  substrate: string | null;
50
50
  steps: TraversalStepWire[];
51
51
  /** Structural graph changes in the same per-run sequence domain as `steps[].sourceSeq`. */
52
- graphEvents?: Extract<RunStep, { type: 'node-added' | 'edge-rerouted' | 'unit-expanded' | 'unit-collapsed' }>[];
52
+ graphEvents?: Extract<RunStep, { type: 'node-added' | 'edge-rerouted' | 'priority-changed' | 'unit-expanded' | 'unit-collapsed' }>[];
53
53
  /** Outcome edges read from this run's graph.path ledger rows, including injected fixture provenance. */
54
54
  journeyEdges?: Array<{ seq?: number; from: string; label: string; taken: string; source: 'graph' | 'code-default'; injected?: boolean; mockOutcome?: string; scene?: string; demo1104Scene?: string }>;
55
55
  ledgerEvents: number;
@@ -220,8 +220,8 @@ export function buildRunTraversal(runId: string, entries: readonly RunLedgerEntr
220
220
  const contract = sorted.find((entry) => entry.event === 'graph-run-contract-resolved')?.data;
221
221
  const pr = [...sorted].reverse().find((entry) => entry.event === 'pr-opened')?.data;
222
222
  const projected = projectRunLedgerSteps(runId, sorted);
223
- const graphEvents = projected.steps.filter((step): step is Extract<RunStep, { type: 'node-added' | 'edge-rerouted' | 'unit-expanded' | 'unit-collapsed' }> =>
224
- step.type === 'node-added' || step.type === 'edge-rerouted' || step.type === 'unit-expanded' || step.type === 'unit-collapsed');
223
+ const graphEvents = projected.steps.filter((step): step is Extract<RunStep, { type: 'node-added' | 'edge-rerouted' | 'priority-changed' | 'unit-expanded' | 'unit-collapsed' }> =>
224
+ step.type === 'node-added' || step.type === 'edge-rerouted' || step.type === 'priority-changed' || step.type === 'unit-expanded' || step.type === 'unit-collapsed');
225
225
  const journeyEdges = sorted.flatMap((entry) => {
226
226
  const source = entry.data.source;
227
227
  if (entry.event !== 'graph.path' || entry.data.event !== 'edge-taken'
@@ -261,7 +261,9 @@ function setupRouteAllowed(req: Request): boolean {
261
261
  if (path.startsWith('/v1/setup/')) return true;
262
262
  return (req.method === 'POST' && path === '/v1/prompt/stream')
263
263
  || (req.method === 'GET' && (
264
- /^\/v1\/sessions\/store\/[^/]+$/.test(path) || path === '/v1/chat/events'
264
+ /^\/v1\/sessions\/store\/[^/]+$/.test(path)
265
+ || path === '/v1/chat/events'
266
+ || path === '/v1/harness/runs'
265
267
  ));
266
268
  }
267
269
 
@@ -0,0 +1,59 @@
1
+ import { appendRunLedgerEntry } from '../../self-implement/run-ledger.js';
2
+ import { publishInsideEvent } from './inside-events.js';
3
+
4
+ export const RESEARCH_GRAPH_ID = 'natural-language-research';
5
+
6
+ export type ResearchGraphEvent =
7
+ | { type: 'enter'; node: string }
8
+ | { type: 'exit'; node: string; outcome: string }
9
+ | { type: 'node-added'; node: string; kind: string; reason: string }
10
+ | { type: 'edge-rerouted'; from: string; outcome: string; to: string; was: string; reason: string }
11
+ | { type: 'priority-changed'; node: string; from: number; to: number; reason: string };
12
+
13
+ export interface ResearchRunObserver {
14
+ event(event: ResearchGraphEvent): void;
15
+ finish(outcome: 'completed' | 'failed'): void;
16
+ }
17
+
18
+ /** Register one natural-language research run in the same ledger read by Nexus /live-run. */
19
+ export function registerResearchRun(runId: string, deps: {
20
+ append?: typeof appendRunLedgerEntry;
21
+ publish?: typeof publishInsideEvent;
22
+ } = {}): ResearchRunObserver {
23
+ const append = deps.append ?? appendRunLedgerEntry;
24
+ const publish = deps.publish ?? publishInsideEvent;
25
+ let finished = false;
26
+ const emit = (event: string, data: Record<string, unknown>): void => {
27
+ if (!runId) return;
28
+ const record = { runId, event, data: { graphId: RESEARCH_GRAPH_ID, ...data }, timestamp: new Date().toISOString() };
29
+ try { append(record); } catch { /* ledger failure must not suppress the live event */ }
30
+ try { publish({ kind: 'harness-run', event, runId, ...record.data }); } catch { /* observation is fail-soft */ }
31
+ };
32
+
33
+ emit('start', { feature: '자연어 리서치', graphId: RESEARCH_GRAPH_ID });
34
+ emit('graph-run-contract-resolved', { graphId: RESEARCH_GRAPH_ID });
35
+
36
+ return {
37
+ event(event) {
38
+ if (finished) return;
39
+ switch (event.type) {
40
+ case 'enter':
41
+ emit('pipeline-node-entry', { node: event.node, visit: 1, round: 0 });
42
+ break;
43
+ case 'exit':
44
+ emit('pipeline-node-exit', { node: event.node, outcome: event.outcome });
45
+ break;
46
+ case 'node-added':
47
+ case 'edge-rerouted':
48
+ case 'priority-changed':
49
+ emit(event.type, { ...event, decider: 'research-runtime' });
50
+ break;
51
+ }
52
+ },
53
+ finish(outcome) {
54
+ if (finished) return;
55
+ finished = true;
56
+ emit('run-status', { runStatus: outcome, stage: 'research' });
57
+ },
58
+ };
59
+ }
@@ -20,7 +20,10 @@ export async function firstChatGate(cfg: UserConfig, deps: FirstChatGateDeps): P
20
20
  if (deps.isTTY) {
21
21
  return decide(await deps.runInteractive() ? 'continue' : 'stop', 'interactive');
22
22
  }
23
- if (!needsFirstRun(cfg)) return decide('continue', 'already-ready');
23
+ // This gate decides whether the chat can run without an LLM. `needsFirstRun`
24
+ // also keeps the CLI's web-first setup available until detailed onboarding
25
+ // completes, so a ready provider must bypass this chat-only gate.
26
+ if (cfg.onboarding.ready === true || !needsFirstRun(cfg)) return decide('continue', 'already-ready');
24
27
  const result = await deps.runFirstRun({ config: cfg, isTTY: false, print: () => {} });
25
28
  if (result.outcome === 'ready') return decide('continue', result.outcome);
26
29
  deps.print(`다음: elanous setup llm (또는 ${UNATTENDED_SETUP_COMMAND})`);
@@ -0,0 +1,42 @@
1
+ import { runFirstRunDoctor } from './first-run-doctor.js';
2
+
3
+ /**
4
+ * Safe control for production-entry UX probes. The CLI gates this behind NODE_ENV=test
5
+ * and ELANOUS_TEST_FIRSTRUN_DOCTOR_PROBE=1; all filesystem and install edges are inert.
6
+ */
7
+ export function runFirstRunDoctorTestControl(): void {
8
+ if (process.env.NODE_ENV !== 'test' || process.env.ELANOUS_TEST_FIRSTRUN_DOCTOR_PROBE !== '1') {
9
+ throw new Error('first-run Doctor control requires the explicit test environment');
10
+ }
11
+ const bin = process.env.PATH ?? '';
12
+ runFirstRunDoctor({
13
+ home: process.env.HOME ?? '',
14
+ configDir: process.env.HOME ?? '',
15
+ cacheDir: process.env.HOME ?? '',
16
+ env: process.env,
17
+ readiness: {
18
+ platform: 'linux',
19
+ installPrefix: bin,
20
+ pathEntries: bin.split(':'),
21
+ tmpdirSameFsAsBunCache: true,
22
+ distro: 'amzn2',
23
+ rgOnPath: true,
24
+ pythonEnv: { status: 'ok', evidence: 'fixture' },
25
+ },
26
+ exists: () => true,
27
+ lstat: () => ({ mode: 0o700, isFile: () => false, isSymbolicLink: () => false }),
28
+ readdir: () => [],
29
+ readFile: () => '',
30
+ writeFile: () => {},
31
+ appendFile: () => {},
32
+ mkdir: () => {},
33
+ chmod: () => {},
34
+ rename: () => {},
35
+ remove: () => {},
36
+ removeTree: () => {},
37
+ installStaticTool: () => ({ ok: true, detail: 'fixture' }),
38
+ smokeCheck: () => true,
39
+ pythonSetup: () => 0,
40
+ installManagedPython: () => ({ python: null, detail: 'fixture' }),
41
+ });
42
+ }
@@ -24,6 +24,7 @@ export interface FirstRunDoctorResult {
24
24
 
25
25
  /** 첫 실행에서는 동의가 필요 없는 수리만 실행하고, 셸 시작 파일은 손대지 않는다. */
26
26
  export function runFirstRunDoctor(deps: DoctorFixDeps): FirstRunDoctorResult {
27
+ try { debug.log('doctor.first-run', 'started', {}); } catch { /* observation must not block setup */ }
27
28
  const result: FirstRunDoctorResult = { fixed: [], skipped: [], failed: [], later: [], lines: [] };
28
29
  const record = (id: string, outcome: 'fixed' | 'skipped' | 'failed', reason?: string) => {
29
30
  result[outcome].push(id);
@@ -171,7 +171,8 @@ export async function runFirstRun(deps: FirstRunDeps = {}): Promise<{
171
171
  provider = typeof setupResult === 'string' ? setupResult : null;
172
172
  if (!provider) {
173
173
  print('LLM 없이 첫 화면을 엽니다. LLM 기능은 사용할 수 없습니다. 다시 설정: `elanous setup keys` 또는 `elanous login openai-codex`.');
174
- (deps.saveConfig ?? saveUserConfig)({ ...cfg, onboarding: { ...cfg.onboarding, ready: true } }, path);
174
+ // Skipping provider setup keeps this invocation reachable, but it must
175
+ // not persist `ready`: a later bare launch still needs web-first setup.
175
176
  observe('ready', inputs);
176
177
  return { outcome: 'ready', inputs };
177
178
  }
@@ -191,7 +192,13 @@ export async function runFirstRun(deps: FirstRunDeps = {}): Promise<{
191
192
  env: deps.env,
192
193
  }, deps.getSecretAsync)
193
194
  : undefined;
195
+ // OAuth and agent-CLI credentials are discovered above, outside the API-key
196
+ // resolver. A user who picked one of those detected subscriptions has a
197
+ // usable provider even when no API key exists; sending them into key setup
198
+ // would contradict the subscription choice and prompt for an irrelevant key.
199
+ const selectedSubscription = subscriptions.some((item) => item.provider === provider);
194
200
  if (inputs === 1 && credential?.source === 'none'
201
+ && !selectedSubscription
195
202
  && !(providerSetUpInPlace && provider === 'openai-codex')) {
196
203
  if ((deps.isTTY ?? process.stdin.isTTY) !== true) return needsLlm(inputs);
197
204
  try {
package/src/onboarding.ts CHANGED
@@ -1688,7 +1688,11 @@ export function needsOnboarding(cfg: UserConfig): boolean {
1688
1688
  }
1689
1689
 
1690
1690
  export function needsFirstRun(cfg: UserConfig): boolean {
1691
- return !cfg.onboarding.completed && cfg.onboarding.ready !== true;
1691
+ // `ready` means first-run provider setup can open the dashboard; it does not
1692
+ // mean the default web-first setup was completed. Keep offering web-first
1693
+ // until onboarding completes, unless the user explicitly disabled it.
1694
+ return !cfg.onboarding.completed
1695
+ && (cfg.onboarding.ready !== true || cfg.onboarding.webFirst !== false);
1692
1696
  }
1693
1697
 
1694
1698
  /** γ (2026-04-28) · per-step wizard. Runs ONE of the 5 steps,
@@ -251,15 +251,52 @@ export function parseDiffHunks(patch: string): DiffHunk[] {
251
251
  return hunks;
252
252
  }
253
253
 
254
- /** `gh api --paginate --slurp` must return every REST page, including the last page. */
255
- function pagesArgs(endpoint: string): string[] { return ['api', '--paginate', '--slurp', endpoint]; }
254
+ /** `gh api --paginate` emits one JSON document per page on older gh versions. */
255
+ function pagesArgs(endpoint: string): string[] { return ['api', '--paginate', endpoint]; }
256
+ function jsonDocuments(raw: string, endpoint: string): unknown[] {
257
+ const documents: unknown[] = [];
258
+ let start = -1, depth = 0, quoted = false, escaped = false;
259
+ for (let i = 0; i < raw.length; i += 1) {
260
+ const char = raw[i]!;
261
+ if (start < 0) {
262
+ if (/\s/.test(char)) continue;
263
+ if (char !== '[' && char !== '{') throw new Error(`gh api ${endpoint}: JSON 오류`);
264
+ start = i; depth = 1; continue;
265
+ }
266
+ if (quoted) {
267
+ if (escaped) escaped = false;
268
+ else if (char === '\\') escaped = true;
269
+ else if (char === '"') quoted = false;
270
+ continue;
271
+ }
272
+ if (char === '"') quoted = true;
273
+ else if (char === '[' || char === '{') depth += 1;
274
+ else if (char === ']' || char === '}') {
275
+ depth -= 1;
276
+ if (depth === 0) {
277
+ try { documents.push(JSON.parse(raw.slice(start, i + 1))); }
278
+ catch { throw new Error(`gh api ${endpoint}: JSON 오류`); }
279
+ start = -1;
280
+ }
281
+ }
282
+ }
283
+ if (start >= 0 || quoted || documents.length === 0) throw new Error(`gh api ${endpoint}: JSON 오류`);
284
+ return documents;
285
+ }
256
286
  function parsePages(result: PrToolCommandResult, endpoint: string): readonly unknown[] {
257
287
  if (!result.ok) throw new Error(`gh api ${endpoint}: ${result.err || result.out || '조회 실패'}`);
258
- let parsed: unknown;
259
- try { parsed = JSON.parse(result.out); } catch { throw new Error(`gh api ${endpoint}: JSON 오류`); }
260
- if (!Array.isArray(parsed) || parsed.length >= MAX_PAGES || !parsed.every(page => Array.isArray(page) && page.length <= 100)) {
288
+ let parsed: unknown[];
289
+ try { parsed = jsonDocuments(result.out, endpoint); } catch (error) { throw error; }
290
+ if (parsed.length >= MAX_PAGES || !parsed.every(Array.isArray)) {
261
291
  throw new Error(`gh api ${endpoint}: 페이지 형식·상한 판정 불가`);
262
292
  }
293
+ // gh 2.45 merges --paginate pages into one array without --slurp; newer builds
294
+ // may emit one JSON array per page. Accept either shape while keeping a hard cap.
295
+ if (parsed.length === 1 && (parsed[0] as unknown[]).every(row => !Array.isArray(row))) {
296
+ if ((parsed[0] as unknown[]).length > MAX_PAGES * 100) throw new Error(`gh api ${endpoint}: 페이지 형식·상한 판정 불가`);
297
+ return parsed[0] as unknown[];
298
+ }
299
+ if (!parsed.every(page => (page as unknown[]).length <= 100)) throw new Error(`gh api ${endpoint}: 페이지 형식·상한 판정 불가`);
263
300
  return parsed.flat();
264
301
  }
265
302
  function pages(run: PrToolCommand, endpoint: string, cwd?: string): readonly unknown[] {
@@ -86,13 +86,14 @@ export function buildSessionGuidanceAddendum(
86
86
  );
87
87
  }
88
88
 
89
- // TaskCreate / UpdatePlan — multi-step planning discipline. ref
90
- // pattern (prompts.ts:308). When active, instruct the model to
91
- // break work into discrete tasks and mark each completed as soon
92
- // as done — don't batch.
93
- if (hasTool(active, 'TaskCreate', 'task_create', 'UpdatePlan', 'update_plan')) {
89
+ // Name the progress tool that is actually active. Ordered requests
90
+ // keep the user's sequence intact and start at step one.
91
+ const updatePlanTool = enabledTools.find((name) => ['update_plan', 'updateplan'].includes(name.toLowerCase()));
92
+ const taskCreateTool = enabledTools.find((name) => ['taskcreate', 'task_create'].includes(name.toLowerCase()));
93
+ const planTool = updatePlanTool ?? taskCreateTool;
94
+ if (planTool) {
94
95
  items.push(
95
- 'Use `TaskCreate` to plan and track work. Mark each task completed as soon as it\'s done; don\'t batch.',
96
+ `When the user lists steps in order, use \`${planTool}\` with those steps in the same order before starting; begin with step one and update progress as you go.`,
96
97
  );
97
98
  }
98
99
 
@@ -8,7 +8,7 @@ import { dirname, join } from 'node:path';
8
8
  import { existsSync, mkdirSync } from 'node:fs';
9
9
  import { elanousStateRoot } from '../autopilot/state-paths.js';
10
10
  import { resolveInstanceName } from '../instance-identity.js';
11
- import { getHarnessRunId, getHarnessRunIdSource, normalizeRunIdSource, type RunIdSource } from '../harness/harness-space.js';
11
+ import { getHarnessRunId, getHarnessRunIdSource, getHarnessSpace, normalizeRunIdSource, type HarnessSpaceKind, type RunIdSource } from '../harness/harness-space.js';
12
12
  import { getParentPtyId, getPtyChainOrigin } from '../agent/pty-identity.js';
13
13
  import { getNestDepth } from '../agent/nest-depth.js';
14
14
  import { originObservationFields } from '../agent/origin-observation.js';
@@ -86,6 +86,7 @@ export interface PtyManifestRow {
86
86
  runId: string;
87
87
  runIdSource: RunIdSource | '';
88
88
  spaceId: string;
89
+ spaceKind?: HarnessSpaceKind | '';
89
90
  sessionId: string;
90
91
  parentPtyId: string;
91
92
  parentPid: number;
@@ -191,6 +192,7 @@ export function migratePtyManifestSchema(d: Database): void {
191
192
  try { d.run(`ALTER TABLE pty_manifest ADD COLUMN run_id TEXT NOT NULL DEFAULT ''`); } catch { /* already exists */ }
192
193
  try { d.run(`ALTER TABLE pty_manifest ADD COLUMN run_id_source TEXT NOT NULL DEFAULT ''`); } catch { /* already exists */ }
193
194
  try { d.run(`ALTER TABLE pty_manifest ADD COLUMN space_id TEXT NOT NULL DEFAULT ''`); } catch { /* already exists */ }
195
+ try { d.run(`ALTER TABLE pty_manifest ADD COLUMN space_kind TEXT NOT NULL DEFAULT ''`); } catch { /* already exists */ }
194
196
  try { d.run(`ALTER TABLE pty_manifest ADD COLUMN session_id TEXT NOT NULL DEFAULT ''`); } catch { /* already exists */ }
195
197
  try { d.run('ALTER TABLE pty_manifest ADD COLUMN closed_at INTEGER NOT NULL DEFAULT 0'); } catch { /* already exists */ }
196
198
  try { d.run('ALTER TABLE pty_manifest ADD COLUMN pty_pid INTEGER NOT NULL DEFAULT 0'); } catch { /* already exists */ }
@@ -305,6 +307,7 @@ export function upsertPtyManifest(row: {
305
307
  origin?: { originRoot: string; controller?: string };
306
308
  identity?: {
307
309
  spaceId?: string;
310
+ spaceKind?: HarnessSpaceKind | '';
308
311
  parentPtyId?: string;
309
312
  parentPid?: number;
310
313
  controller?: string;
@@ -320,6 +323,7 @@ export function upsertPtyManifest(row: {
320
323
  const runId = getHarnessRunId(process.env);
321
324
  const runIdSource = getHarnessRunIdSource();
322
325
  const defaultSpaceId = process.env.ELANOUS_HARNESS_SPACE_ID?.trim() ?? '';
326
+ const defaultSpaceKind: HarnessSpaceKind | '' = getHarnessSpace()?.kind ?? '';
323
327
  const sessionId = process.env.ELANOUS_SESSION_ID?.trim() ?? '';
324
328
  const defaultParentPtyId = getParentPtyId() ?? '';
325
329
  const defaultParentPid = process.ppid;
@@ -334,14 +338,18 @@ export function upsertPtyManifest(row: {
334
338
  const codeSha = codeShaForWorkdir(row.workdir);
335
339
  d.run('BEGIN IMMEDIATE');
336
340
  try {
337
- const previous = d.query('SELECT alive, space_id, parent_pty_id, parent_pid, controller FROM pty_manifest WHERE id=?').get(row.id) as {
341
+ const previous = d.query('SELECT alive, space_id, space_kind, parent_pty_id, parent_pid, controller FROM pty_manifest WHERE id=?').get(row.id) as {
338
342
  alive: number;
339
343
  space_id: string;
344
+ space_kind: HarnessSpaceKind | '';
340
345
  parent_pty_id: string;
341
346
  parent_pid: number;
342
347
  controller: string | null;
343
348
  } | null;
344
349
  const spaceId = row.identity?.spaceId ?? previous?.space_id ?? defaultSpaceId;
350
+ const previousSpaceKind = previous?.space_id === spaceId ? previous.space_kind : '';
351
+ const defaultKindForSpace = defaultSpaceId === spaceId ? defaultSpaceKind : '';
352
+ const spaceKind = row.identity?.spaceKind || previousSpaceKind || defaultKindForSpace;
345
353
  const parentPtyId = row.identity?.parentPtyId ?? previous?.parent_pty_id ?? defaultParentPtyId;
346
354
  const parentPid = row.identity?.parentPid ?? previous?.parent_pid ?? defaultParentPid;
347
355
  const manifestController = row.identity?.controller ?? controller ?? previous?.controller ?? undefined;
@@ -353,16 +361,16 @@ export function upsertPtyManifest(row: {
353
361
  const shouldRecordSpawned = previous === null || previous.alive === 0;
354
362
  const values = [
355
363
  row.id, row.kind, row.nickname ?? null, row.cmd, row.workdir ?? null, row.purpose ?? null, row.seat ?? null, process.pid, row.ptyPid ?? 0, resolveInstanceName(),
356
- runId, runIdSource, spaceId, sessionId, codeSha, parentPtyId, parentPid, parentKind, chainOrigin ?? null, nestDepth ?? null,
364
+ runId, runIdSource, spaceId, spaceKind, sessionId, codeSha, parentPtyId, parentPid, parentKind, chainOrigin ?? null, nestDepth ?? null,
357
365
  originRoot ?? null, originAgent ?? null, originSession ?? null, manifestController ?? null, terminalOrigin.category, terminalOrigin.reason,
358
366
  terminalOrigin.externalToolName ?? null, row.startedAt, 1, null, '', 0, row.now,
359
367
  ];
360
368
  d.run(
361
- `INSERT INTO pty_manifest (id, kind, nickname, cmd, workdir, purpose, seat, owner_pid, pty_pid, instance, run_id, run_id_source, space_id, session_id, code_sha, parent_pty_id, parent_pid, parent_kind, chain_origin, nest_depth, origin_root, origin_agent, origin_session, controller, terminal_origin_category, terminal_origin_reason, external_tool_name, started_at, alive, exit_code, snapshot, snapshot_at, updated_at)
369
+ `INSERT INTO pty_manifest (id, kind, nickname, cmd, workdir, purpose, seat, owner_pid, pty_pid, instance, run_id, run_id_source, space_id, space_kind, session_id, code_sha, parent_pty_id, parent_pid, parent_kind, chain_origin, nest_depth, origin_root, origin_agent, origin_session, controller, terminal_origin_category, terminal_origin_reason, external_tool_name, started_at, alive, exit_code, snapshot, snapshot_at, updated_at)
362
370
  VALUES (${values.map(() => '?').join(', ')})
363
371
  ON CONFLICT(id) DO UPDATE SET kind=excluded.kind, nickname=excluded.nickname, cmd=excluded.cmd, workdir=excluded.workdir, purpose=excluded.purpose, seat=excluded.seat,
364
372
  owner_pid=excluded.owner_pid, pty_pid=excluded.pty_pid, instance=excluded.instance,
365
- run_id=excluded.run_id, run_id_source=excluded.run_id_source, space_id=excluded.space_id, session_id=excluded.session_id, code_sha=excluded.code_sha,
373
+ run_id=excluded.run_id, run_id_source=excluded.run_id_source, space_id=excluded.space_id, space_kind=excluded.space_kind, session_id=excluded.session_id, code_sha=excluded.code_sha,
366
374
  parent_pty_id=excluded.parent_pty_id, parent_pid=excluded.parent_pid, parent_kind=excluded.parent_kind,
367
375
  chain_origin=excluded.chain_origin, nest_depth=excluded.nest_depth, origin_root=excluded.origin_root, origin_agent=excluded.origin_agent,
368
376
  origin_session=excluded.origin_session, controller=excluded.controller, terminal_origin_category=excluded.terminal_origin_category,
@@ -380,7 +388,7 @@ export function upsertPtyManifest(row: {
380
388
  ...(row.seat ? { seat: row.seat } : {}),
381
389
  ...(row.workdir ? { workdir: row.workdir } : {}), ownerPid: process.pid, ptyPid: row.ptyPid ?? 0, instance: resolveInstanceName(),
382
390
  startedAt: row.startedAt, alive: true, exitCode: null, snapshot: '', snapshotAt: 0, outputBytesTotal: 0, updatedAt: row.now,
383
- frame: '', frameAt: 0, runId, runIdSource, spaceId, sessionId, parentPtyId, parentPid, parentKind,
391
+ frame: '', frameAt: 0, runId, runIdSource, spaceId, spaceKind, sessionId, parentPtyId, parentPid, parentKind,
384
392
  ...(chainOrigin === undefined ? {} : { chainOrigin }),
385
393
  ...(nestDepth === undefined ? {} : { nestDepth }),
386
394
  ...(originRoot === undefined ? {} : { originRoot }),
@@ -948,6 +956,7 @@ function mapRow(r: Record<string, unknown>): PtyManifestRow {
948
956
  runId: String(r.run_id ?? ''),
949
957
  runIdSource: normalizeRunIdSource(r.run_id_source),
950
958
  spaceId: String(r.space_id ?? ''),
959
+ spaceKind: String(r.space_kind ?? '') as HarnessSpaceKind | '',
951
960
  sessionId: String(r.session_id ?? ''),
952
961
  parentPtyId: String(r.parent_pty_id ?? ''),
953
962
  parentPid: Number(r.parent_pid ?? 0),