@seqyuan/annovibe 0.8.134 → 0.8.136

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 (350) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +19 -12
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/react-loadable-manifest.json +1 -1
  6. package/.next/required-server-files.js +1 -1
  7. package/.next/required-server-files.json +1 -1
  8. package/.next/routes-manifest.json +46 -0
  9. package/.next/server/app/_global-error/page.js +3 -3
  10. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/_global-error.html +1 -1
  12. package/.next/server/app/_global-error.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  17. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  18. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  19. package/.next/server/app/_not-found/page.js +2 -2
  20. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/_not-found.html +1 -1
  22. package/.next/server/app/_not-found.rsc +4 -4
  23. package/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  24. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  28. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  29. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  30. package/.next/server/app/api/agent/[id]/prepare/route.js +1 -1
  31. package/.next/server/app/api/agent/[id]/route.js +1 -1
  32. package/.next/server/app/api/agent/new/route.js +2 -2
  33. package/.next/server/app/api/agent/running/events/route.js +2 -2
  34. package/.next/server/app/api/agent/running/route.js +1 -1
  35. package/.next/server/app/api/agent/runtime/route.js +1 -1
  36. package/.next/server/app/api/apps/[id]/[[...path]]/route.js +2 -2
  37. package/.next/server/app/api/apps/route.js +2 -2
  38. package/.next/server/app/api/auth/all-providers/route.js +1 -1
  39. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  40. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  41. package/.next/server/app/api/auth/login/route.js +1 -1
  42. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  43. package/.next/server/app/api/auth/providers/route.js +1 -1
  44. package/.next/server/app/api/auth/status/route.js +1 -1
  45. package/.next/server/app/api/auth/totp/route.js +1 -1
  46. package/.next/server/app/api/debug-models/route.js +1 -1
  47. package/.next/server/app/api/default-cwd/route.js +1 -1
  48. package/.next/server/app/api/file-index/route.js +1 -0
  49. package/.next/server/app/api/file-index/route_client-reference-manifest.js +1 -0
  50. package/.next/server/app/api/file-tree/delete/route.js +1 -1
  51. package/.next/server/app/api/file-tree/mkdir/route.js +1 -1
  52. package/.next/server/app/api/file-tree/rename/route.js +1 -1
  53. package/.next/server/app/api/file-tree/reveal/route.js +1 -1
  54. package/.next/server/app/api/file-tree/write/route.js +1 -1
  55. package/.next/server/app/api/file-watch/route.js +3 -3
  56. package/.next/server/app/api/files/[...path]/route.js +2 -2
  57. package/.next/server/app/api/harness/route.js +1 -1
  58. package/.next/server/app/api/home/route.js +1 -1
  59. package/.next/server/app/api/im/cancel/route.js +1 -1
  60. package/.next/server/app/api/im/gateway-status/route.js +1 -1
  61. package/.next/server/app/api/im/gateway-token/route.js +1 -1
  62. package/.next/server/app/api/im/project/route.js +1 -1
  63. package/.next/server/app/api/im/projects/route.js +1 -1
  64. package/.next/server/app/api/im/session-ids/route.js +1 -1
  65. package/.next/server/app/api/im/turn/route.js +2 -2
  66. package/.next/server/app/api/images/upload/route.js +1 -1
  67. package/.next/server/app/api/internal/runtime/route.js +1 -1
  68. package/.next/server/app/api/memory/dismiss/route.js +2 -2
  69. package/.next/server/app/api/memory/promote/route.js +2 -2
  70. package/.next/server/app/api/models/route.js +1 -1
  71. package/.next/server/app/api/models-config/discover/route.js +1 -1
  72. package/.next/server/app/api/models-config/route.js +1 -1
  73. package/.next/server/app/api/models-config/test/route.js +1 -1
  74. package/.next/server/app/api/plot-kernels/route.js +1 -1
  75. package/.next/server/app/api/plot-kernels/save/route.js +1 -1
  76. package/.next/server/app/api/plot-kernels/status/route.js +1 -1
  77. package/.next/server/app/api/plot-kernels/stop/route.js +1 -1
  78. package/.next/server/app/api/plugins/route.js +1 -0
  79. package/.next/server/app/api/plugins/route_client-reference-manifest.js +1 -0
  80. package/.next/server/app/api/project-trust/route.js +1 -0
  81. package/.next/server/app/api/project-trust/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/projects/browse/route.js +1 -1
  83. package/.next/server/app/api/projects/route.js +1 -1
  84. package/.next/server/app/api/search/route.js +1 -1
  85. package/.next/server/app/api/session-index/events/route.js +1 -1
  86. package/.next/server/app/api/sessions/[id]/auto-name/route.js +9 -8
  87. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  88. package/.next/server/app/api/sessions/[id]/export/route.js +1 -0
  89. package/.next/server/app/api/sessions/[id]/export/route_client-reference-manifest.js +1 -0
  90. package/.next/server/app/api/sessions/[id]/kernel-state/route.js +1 -1
  91. package/.next/server/app/api/sessions/[id]/media/route.js +1 -0
  92. package/.next/server/app/api/sessions/[id]/media/route_client-reference-manifest.js +1 -0
  93. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  94. package/.next/server/app/api/sessions/[id]/shadowed/route.js +1 -1
  95. package/.next/server/app/api/sessions/[id]/workbench-artifact/route.js +1 -1
  96. package/.next/server/app/api/sessions/[id]/workbench-review/route.js +1 -1
  97. package/.next/server/app/api/sessions/new/route.js +1 -1
  98. package/.next/server/app/api/sessions/route.js +1 -1
  99. package/.next/server/app/api/settings/route.js +1 -1
  100. package/.next/server/app/api/skills/check/route.js +1 -0
  101. package/.next/server/app/api/skills/check/route_client-reference-manifest.js +1 -0
  102. package/.next/server/app/api/skills/install/route.js +2 -2
  103. package/.next/server/app/api/skills/route.js +2 -2
  104. package/.next/server/app/api/skills/search/route.js +1 -1
  105. package/.next/server/app/api/skills/update/route.js +2 -0
  106. package/.next/server/app/api/skills/update/route_client-reference-manifest.js +1 -0
  107. package/.next/server/app/api/smoke/prompt-admission/route.js +1 -1
  108. package/.next/server/app/api/soul/route.js +1 -1
  109. package/.next/server/app/api/subagents/status/route.js +1 -1
  110. package/.next/server/app/api/version/route.js +1 -1
  111. package/.next/server/app/favicon.ico/route.js +1 -1
  112. package/.next/server/app/icon.svg/route.js +1 -1
  113. package/.next/server/app/index.html +1 -1
  114. package/.next/server/app/index.rsc +5 -5
  115. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  116. package/.next/server/app/index.segments/_full.segment.rsc +5 -5
  117. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  118. package/.next/server/app/index.segments/_index.segment.rsc +4 -4
  119. package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  120. package/.next/server/app/login/page.js +2 -2
  121. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  122. package/.next/server/app/login.html +1 -1
  123. package/.next/server/app/login.rsc +4 -4
  124. package/.next/server/app/login.segments/_full.segment.rsc +4 -4
  125. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  126. package/.next/server/app/login.segments/_index.segment.rsc +4 -4
  127. package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
  128. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  129. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  130. package/.next/server/app/page.js +24 -24
  131. package/.next/server/app/page_client-reference-manifest.js +1 -1
  132. package/.next/server/app/smoke/page.js +3 -3
  133. package/.next/server/app/smoke/page_client-reference-manifest.js +1 -1
  134. package/.next/server/app/smoke/session-stream/page.js +2 -2
  135. package/.next/server/app/smoke/session-stream/page_client-reference-manifest.js +1 -1
  136. package/.next/server/app/smoke/session-stream.html +1 -1
  137. package/.next/server/app/smoke/session-stream.rsc +5 -5
  138. package/.next/server/app/smoke/session-stream.segments/_full.segment.rsc +5 -5
  139. package/.next/server/app/smoke/session-stream.segments/_head.segment.rsc +1 -1
  140. package/.next/server/app/smoke/session-stream.segments/_index.segment.rsc +4 -4
  141. package/.next/server/app/smoke/session-stream.segments/_tree.segment.rsc +3 -3
  142. package/.next/server/app/smoke/session-stream.segments/smoke/session-stream/__PAGE__.segment.rsc +2 -2
  143. package/.next/server/app/smoke/session-stream.segments/smoke/session-stream.segment.rsc +1 -1
  144. package/.next/server/app/smoke/session-stream.segments/smoke.segment.rsc +1 -1
  145. package/.next/server/app/smoke.html +2 -2
  146. package/.next/server/app/smoke.rsc +5 -5
  147. package/.next/server/app/smoke.segments/_full.segment.rsc +5 -5
  148. package/.next/server/app/smoke.segments/_head.segment.rsc +1 -1
  149. package/.next/server/app/smoke.segments/_index.segment.rsc +4 -4
  150. package/.next/server/app/smoke.segments/_tree.segment.rsc +3 -3
  151. package/.next/server/app/smoke.segments/smoke/__PAGE__.segment.rsc +2 -2
  152. package/.next/server/app/smoke.segments/smoke.segment.rsc +1 -1
  153. package/.next/server/app-paths-manifest.json +19 -12
  154. package/.next/server/chunks/1761.js +1 -1
  155. package/.next/server/chunks/402.js +4 -2
  156. package/.next/server/chunks/6429.js +9 -8
  157. package/.next/server/chunks/707.js +2 -2
  158. package/.next/server/chunks/7303.js +260 -0
  159. package/.next/server/chunks/7365.js +1 -0
  160. package/.next/server/chunks/7890.js +1 -1
  161. package/.next/server/chunks/8304.js +1 -1
  162. package/.next/server/chunks/8797.js +22 -0
  163. package/.next/server/functions-config-manifest.json +11 -1
  164. package/.next/server/middleware-build-manifest.js +1 -1
  165. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  166. package/.next/server/middleware.js +3 -3
  167. package/.next/server/pages/404.html +1 -1
  168. package/.next/server/pages/500.html +1 -1
  169. package/.next/server/server-reference-manifest.json +1 -1
  170. package/.next/static/chunks/{2693-b831832202452107.js → 2693-52c358cf5d84b069.js} +1 -1
  171. package/.next/static/chunks/291-bfdfc8bcf5d0a962.js +22 -0
  172. package/.next/static/chunks/{5618-3b8444e736e6ae4d.js → 5618-5e2e47e6ed401a75.js} +3 -3
  173. package/.next/static/chunks/{1960.b1e26436d7a5f586.js → 7198.4c3df741a5e26fb2.js} +1 -1
  174. package/.next/static/chunks/9867-b1d15d9354f100e7.js +260 -0
  175. package/.next/static/chunks/app/_global-error/page-dcc4d4b28dc1e9eb.js +1 -0
  176. package/.next/static/chunks/app/api/agent/[id]/events/route-dcc4d4b28dc1e9eb.js +1 -0
  177. package/.next/static/chunks/app/api/agent/[id]/prepare/route-dcc4d4b28dc1e9eb.js +1 -0
  178. package/.next/static/chunks/app/api/agent/[id]/route-dcc4d4b28dc1e9eb.js +1 -0
  179. package/.next/static/chunks/app/api/agent/new/route-dcc4d4b28dc1e9eb.js +1 -0
  180. package/.next/static/chunks/app/api/agent/running/events/route-dcc4d4b28dc1e9eb.js +1 -0
  181. package/.next/static/chunks/app/api/agent/running/route-dcc4d4b28dc1e9eb.js +1 -0
  182. package/.next/static/chunks/app/api/agent/runtime/route-dcc4d4b28dc1e9eb.js +1 -0
  183. package/.next/static/chunks/app/api/apps/[id]/[[...path]]/route-dcc4d4b28dc1e9eb.js +1 -0
  184. package/.next/static/chunks/app/api/apps/route-dcc4d4b28dc1e9eb.js +1 -0
  185. package/.next/static/chunks/app/api/auth/all-providers/route-dcc4d4b28dc1e9eb.js +1 -0
  186. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-dcc4d4b28dc1e9eb.js +1 -0
  187. package/.next/static/chunks/app/api/auth/login/[provider]/route-dcc4d4b28dc1e9eb.js +1 -0
  188. package/.next/static/chunks/app/api/auth/login/route-dcc4d4b28dc1e9eb.js +1 -0
  189. package/.next/static/chunks/app/api/auth/logout/[provider]/route-dcc4d4b28dc1e9eb.js +1 -0
  190. package/.next/static/chunks/app/api/auth/providers/route-dcc4d4b28dc1e9eb.js +1 -0
  191. package/.next/static/chunks/app/api/auth/status/route-dcc4d4b28dc1e9eb.js +1 -0
  192. package/.next/static/chunks/app/api/auth/totp/route-dcc4d4b28dc1e9eb.js +1 -0
  193. package/.next/static/chunks/app/api/debug-models/route-dcc4d4b28dc1e9eb.js +1 -0
  194. package/.next/static/chunks/app/api/default-cwd/route-dcc4d4b28dc1e9eb.js +1 -0
  195. package/.next/static/chunks/app/api/file-index/route-dcc4d4b28dc1e9eb.js +1 -0
  196. package/.next/static/chunks/app/api/file-tree/delete/route-dcc4d4b28dc1e9eb.js +1 -0
  197. package/.next/static/chunks/app/api/file-tree/mkdir/route-dcc4d4b28dc1e9eb.js +1 -0
  198. package/.next/static/chunks/app/api/file-tree/rename/route-dcc4d4b28dc1e9eb.js +1 -0
  199. package/.next/static/chunks/app/api/file-tree/reveal/route-dcc4d4b28dc1e9eb.js +1 -0
  200. package/.next/static/chunks/app/api/file-tree/write/route-dcc4d4b28dc1e9eb.js +1 -0
  201. package/.next/static/chunks/app/api/file-watch/route-dcc4d4b28dc1e9eb.js +1 -0
  202. package/.next/static/chunks/app/api/files/[...path]/route-dcc4d4b28dc1e9eb.js +1 -0
  203. package/.next/static/chunks/app/api/harness/route-dcc4d4b28dc1e9eb.js +1 -0
  204. package/.next/static/chunks/app/api/home/route-dcc4d4b28dc1e9eb.js +1 -0
  205. package/.next/static/chunks/app/api/im/cancel/route-dcc4d4b28dc1e9eb.js +1 -0
  206. package/.next/static/chunks/app/api/im/gateway-status/route-dcc4d4b28dc1e9eb.js +1 -0
  207. package/.next/static/chunks/app/api/im/gateway-token/route-dcc4d4b28dc1e9eb.js +1 -0
  208. package/.next/static/chunks/app/api/im/project/route-dcc4d4b28dc1e9eb.js +1 -0
  209. package/.next/static/chunks/app/api/im/projects/route-dcc4d4b28dc1e9eb.js +1 -0
  210. package/.next/static/chunks/app/api/im/session-ids/route-dcc4d4b28dc1e9eb.js +1 -0
  211. package/.next/static/chunks/app/api/im/turn/route-dcc4d4b28dc1e9eb.js +1 -0
  212. package/.next/static/chunks/app/api/images/upload/route-dcc4d4b28dc1e9eb.js +1 -0
  213. package/.next/static/chunks/app/api/internal/runtime/route-dcc4d4b28dc1e9eb.js +1 -0
  214. package/.next/static/chunks/app/api/memory/dismiss/route-dcc4d4b28dc1e9eb.js +1 -0
  215. package/.next/static/chunks/app/api/memory/promote/route-dcc4d4b28dc1e9eb.js +1 -0
  216. package/.next/static/chunks/app/api/models/route-dcc4d4b28dc1e9eb.js +1 -0
  217. package/.next/static/chunks/app/api/models-config/discover/route-dcc4d4b28dc1e9eb.js +1 -0
  218. package/.next/static/chunks/app/api/models-config/route-dcc4d4b28dc1e9eb.js +1 -0
  219. package/.next/static/chunks/app/api/models-config/test/route-dcc4d4b28dc1e9eb.js +1 -0
  220. package/.next/static/chunks/app/api/plot-kernels/route-dcc4d4b28dc1e9eb.js +1 -0
  221. package/.next/static/chunks/app/api/plot-kernels/save/route-dcc4d4b28dc1e9eb.js +1 -0
  222. package/.next/static/chunks/app/api/plot-kernels/status/route-dcc4d4b28dc1e9eb.js +1 -0
  223. package/.next/static/chunks/app/api/plot-kernels/stop/route-dcc4d4b28dc1e9eb.js +1 -0
  224. package/.next/static/chunks/app/api/plugins/route-dcc4d4b28dc1e9eb.js +1 -0
  225. package/.next/static/chunks/app/api/project-trust/route-dcc4d4b28dc1e9eb.js +1 -0
  226. package/.next/static/chunks/app/api/projects/browse/route-dcc4d4b28dc1e9eb.js +1 -0
  227. package/.next/static/chunks/app/api/projects/route-dcc4d4b28dc1e9eb.js +1 -0
  228. package/.next/static/chunks/app/api/search/route-dcc4d4b28dc1e9eb.js +1 -0
  229. package/.next/static/chunks/app/api/session-index/events/route-dcc4d4b28dc1e9eb.js +1 -0
  230. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-dcc4d4b28dc1e9eb.js +1 -0
  231. package/.next/static/chunks/app/api/sessions/[id]/context/route-dcc4d4b28dc1e9eb.js +1 -0
  232. package/.next/static/chunks/app/api/sessions/[id]/export/route-dcc4d4b28dc1e9eb.js +1 -0
  233. package/.next/static/chunks/app/api/sessions/[id]/kernel-state/route-dcc4d4b28dc1e9eb.js +1 -0
  234. package/.next/static/chunks/app/api/sessions/[id]/media/route-dcc4d4b28dc1e9eb.js +1 -0
  235. package/.next/static/chunks/app/api/sessions/[id]/route-dcc4d4b28dc1e9eb.js +1 -0
  236. package/.next/static/chunks/app/api/sessions/[id]/shadowed/route-dcc4d4b28dc1e9eb.js +1 -0
  237. package/.next/static/chunks/app/api/sessions/[id]/workbench-artifact/route-dcc4d4b28dc1e9eb.js +1 -0
  238. package/.next/static/chunks/app/api/sessions/[id]/workbench-review/route-dcc4d4b28dc1e9eb.js +1 -0
  239. package/.next/static/chunks/app/api/sessions/new/route-dcc4d4b28dc1e9eb.js +1 -0
  240. package/.next/static/chunks/app/api/sessions/route-dcc4d4b28dc1e9eb.js +1 -0
  241. package/.next/static/chunks/app/api/settings/route-dcc4d4b28dc1e9eb.js +1 -0
  242. package/.next/static/chunks/app/api/skills/check/route-dcc4d4b28dc1e9eb.js +1 -0
  243. package/.next/static/chunks/app/api/skills/install/route-dcc4d4b28dc1e9eb.js +1 -0
  244. package/.next/static/chunks/app/api/skills/route-dcc4d4b28dc1e9eb.js +1 -0
  245. package/.next/static/chunks/app/api/skills/search/route-dcc4d4b28dc1e9eb.js +1 -0
  246. package/.next/static/chunks/app/api/skills/update/route-dcc4d4b28dc1e9eb.js +1 -0
  247. package/.next/static/chunks/app/api/smoke/prompt-admission/route-dcc4d4b28dc1e9eb.js +1 -0
  248. package/.next/static/chunks/app/api/soul/route-dcc4d4b28dc1e9eb.js +1 -0
  249. package/.next/static/chunks/app/api/subagents/status/route-dcc4d4b28dc1e9eb.js +1 -0
  250. package/.next/static/chunks/app/api/version/route-dcc4d4b28dc1e9eb.js +1 -0
  251. package/.next/static/chunks/app/favicon.ico/route-dcc4d4b28dc1e9eb.js +1 -0
  252. package/.next/static/chunks/app/{layout-5608bfe5e8f4e4c0.js → layout-101c4ccdf12880f0.js} +1 -1
  253. package/.next/static/chunks/app/page-703d91d8bff67f70.js +44 -0
  254. package/.next/static/chunks/app/smoke/{page-35df723c803f35e1.js → page-32674afc320aa48b.js} +2 -2
  255. package/.next/static/chunks/app/smoke/session-stream/page-e754151f65003821.js +6 -0
  256. package/.next/static/chunks/next/dist/client/components/builtin/app-error-dcc4d4b28dc1e9eb.js +1 -0
  257. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-dcc4d4b28dc1e9eb.js +1 -0
  258. package/.next/static/chunks/next/dist/client/components/builtin/not-found-dcc4d4b28dc1e9eb.js +1 -0
  259. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-dcc4d4b28dc1e9eb.js +1 -0
  260. package/.next/static/chunks/{webpack-abcc6ba654c7ed4b.js → webpack-0d1f7348ddb20bdc.js} +1 -1
  261. package/.next/static/css/738b0b1c24aae500.css +1 -0
  262. package/.next/static/css/{88714c00e109ce28.css → 9bcd6051db4f8890.css} +1 -1
  263. package/.next/static/zeWki1Z47rqBkR2ph5H6N/_buildManifest.js +1 -0
  264. package/README.md +4 -1
  265. package/bin/annovibe-im-gateway.js +0 -4
  266. package/bin/pi-web.js +103 -37
  267. package/package.json +6 -5
  268. package/.next/server/chunks/4584.js +0 -260
  269. package/.next/server/chunks/9230.js +0 -22
  270. package/.next/static/2gyhgfAo_GNB2lRPOJwF9/_buildManifest.js +0 -1
  271. package/.next/static/chunks/4456-91f92907e8ef1f89.js +0 -260
  272. package/.next/static/chunks/9544-5e2696923ae4f6b5.js +0 -22
  273. package/.next/static/chunks/app/_global-error/page-c47e15c89def27e4.js +0 -1
  274. package/.next/static/chunks/app/api/agent/[id]/events/route-c47e15c89def27e4.js +0 -1
  275. package/.next/static/chunks/app/api/agent/[id]/prepare/route-c47e15c89def27e4.js +0 -1
  276. package/.next/static/chunks/app/api/agent/[id]/route-c47e15c89def27e4.js +0 -1
  277. package/.next/static/chunks/app/api/agent/new/route-c47e15c89def27e4.js +0 -1
  278. package/.next/static/chunks/app/api/agent/running/events/route-c47e15c89def27e4.js +0 -1
  279. package/.next/static/chunks/app/api/agent/running/route-c47e15c89def27e4.js +0 -1
  280. package/.next/static/chunks/app/api/agent/runtime/route-c47e15c89def27e4.js +0 -1
  281. package/.next/static/chunks/app/api/apps/[id]/[[...path]]/route-c47e15c89def27e4.js +0 -1
  282. package/.next/static/chunks/app/api/apps/route-c47e15c89def27e4.js +0 -1
  283. package/.next/static/chunks/app/api/auth/all-providers/route-c47e15c89def27e4.js +0 -1
  284. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-c47e15c89def27e4.js +0 -1
  285. package/.next/static/chunks/app/api/auth/login/[provider]/route-c47e15c89def27e4.js +0 -1
  286. package/.next/static/chunks/app/api/auth/login/route-c47e15c89def27e4.js +0 -1
  287. package/.next/static/chunks/app/api/auth/logout/[provider]/route-c47e15c89def27e4.js +0 -1
  288. package/.next/static/chunks/app/api/auth/providers/route-c47e15c89def27e4.js +0 -1
  289. package/.next/static/chunks/app/api/auth/status/route-c47e15c89def27e4.js +0 -1
  290. package/.next/static/chunks/app/api/auth/totp/route-c47e15c89def27e4.js +0 -1
  291. package/.next/static/chunks/app/api/debug-models/route-c47e15c89def27e4.js +0 -1
  292. package/.next/static/chunks/app/api/default-cwd/route-c47e15c89def27e4.js +0 -1
  293. package/.next/static/chunks/app/api/file-tree/delete/route-c47e15c89def27e4.js +0 -1
  294. package/.next/static/chunks/app/api/file-tree/mkdir/route-c47e15c89def27e4.js +0 -1
  295. package/.next/static/chunks/app/api/file-tree/rename/route-c47e15c89def27e4.js +0 -1
  296. package/.next/static/chunks/app/api/file-tree/reveal/route-c47e15c89def27e4.js +0 -1
  297. package/.next/static/chunks/app/api/file-tree/write/route-c47e15c89def27e4.js +0 -1
  298. package/.next/static/chunks/app/api/file-watch/route-c47e15c89def27e4.js +0 -1
  299. package/.next/static/chunks/app/api/files/[...path]/route-c47e15c89def27e4.js +0 -1
  300. package/.next/static/chunks/app/api/harness/route-c47e15c89def27e4.js +0 -1
  301. package/.next/static/chunks/app/api/home/route-c47e15c89def27e4.js +0 -1
  302. package/.next/static/chunks/app/api/im/cancel/route-c47e15c89def27e4.js +0 -1
  303. package/.next/static/chunks/app/api/im/gateway-status/route-c47e15c89def27e4.js +0 -1
  304. package/.next/static/chunks/app/api/im/gateway-token/route-c47e15c89def27e4.js +0 -1
  305. package/.next/static/chunks/app/api/im/project/route-c47e15c89def27e4.js +0 -1
  306. package/.next/static/chunks/app/api/im/projects/route-c47e15c89def27e4.js +0 -1
  307. package/.next/static/chunks/app/api/im/session-ids/route-c47e15c89def27e4.js +0 -1
  308. package/.next/static/chunks/app/api/im/turn/route-c47e15c89def27e4.js +0 -1
  309. package/.next/static/chunks/app/api/images/upload/route-c47e15c89def27e4.js +0 -1
  310. package/.next/static/chunks/app/api/internal/runtime/route-c47e15c89def27e4.js +0 -1
  311. package/.next/static/chunks/app/api/memory/dismiss/route-c47e15c89def27e4.js +0 -1
  312. package/.next/static/chunks/app/api/memory/promote/route-c47e15c89def27e4.js +0 -1
  313. package/.next/static/chunks/app/api/models/route-c47e15c89def27e4.js +0 -1
  314. package/.next/static/chunks/app/api/models-config/discover/route-c47e15c89def27e4.js +0 -1
  315. package/.next/static/chunks/app/api/models-config/route-c47e15c89def27e4.js +0 -1
  316. package/.next/static/chunks/app/api/models-config/test/route-c47e15c89def27e4.js +0 -1
  317. package/.next/static/chunks/app/api/plot-kernels/route-c47e15c89def27e4.js +0 -1
  318. package/.next/static/chunks/app/api/plot-kernels/save/route-c47e15c89def27e4.js +0 -1
  319. package/.next/static/chunks/app/api/plot-kernels/status/route-c47e15c89def27e4.js +0 -1
  320. package/.next/static/chunks/app/api/plot-kernels/stop/route-c47e15c89def27e4.js +0 -1
  321. package/.next/static/chunks/app/api/projects/browse/route-c47e15c89def27e4.js +0 -1
  322. package/.next/static/chunks/app/api/projects/route-c47e15c89def27e4.js +0 -1
  323. package/.next/static/chunks/app/api/search/route-c47e15c89def27e4.js +0 -1
  324. package/.next/static/chunks/app/api/session-index/events/route-c47e15c89def27e4.js +0 -1
  325. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-c47e15c89def27e4.js +0 -1
  326. package/.next/static/chunks/app/api/sessions/[id]/context/route-c47e15c89def27e4.js +0 -1
  327. package/.next/static/chunks/app/api/sessions/[id]/kernel-state/route-c47e15c89def27e4.js +0 -1
  328. package/.next/static/chunks/app/api/sessions/[id]/route-c47e15c89def27e4.js +0 -1
  329. package/.next/static/chunks/app/api/sessions/[id]/shadowed/route-c47e15c89def27e4.js +0 -1
  330. package/.next/static/chunks/app/api/sessions/[id]/workbench-artifact/route-c47e15c89def27e4.js +0 -1
  331. package/.next/static/chunks/app/api/sessions/[id]/workbench-review/route-c47e15c89def27e4.js +0 -1
  332. package/.next/static/chunks/app/api/sessions/new/route-c47e15c89def27e4.js +0 -1
  333. package/.next/static/chunks/app/api/sessions/route-c47e15c89def27e4.js +0 -1
  334. package/.next/static/chunks/app/api/settings/route-c47e15c89def27e4.js +0 -1
  335. package/.next/static/chunks/app/api/skills/install/route-c47e15c89def27e4.js +0 -1
  336. package/.next/static/chunks/app/api/skills/route-c47e15c89def27e4.js +0 -1
  337. package/.next/static/chunks/app/api/skills/search/route-c47e15c89def27e4.js +0 -1
  338. package/.next/static/chunks/app/api/smoke/prompt-admission/route-c47e15c89def27e4.js +0 -1
  339. package/.next/static/chunks/app/api/soul/route-c47e15c89def27e4.js +0 -1
  340. package/.next/static/chunks/app/api/subagents/status/route-c47e15c89def27e4.js +0 -1
  341. package/.next/static/chunks/app/api/version/route-c47e15c89def27e4.js +0 -1
  342. package/.next/static/chunks/app/favicon.ico/route-c47e15c89def27e4.js +0 -1
  343. package/.next/static/chunks/app/page-959c2935e21471e4.js +0 -44
  344. package/.next/static/chunks/app/smoke/session-stream/page-49b8cf27895b9187.js +0 -6
  345. package/.next/static/chunks/next/dist/client/components/builtin/app-error-c47e15c89def27e4.js +0 -1
  346. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-c47e15c89def27e4.js +0 -1
  347. package/.next/static/chunks/next/dist/client/components/builtin/not-found-c47e15c89def27e4.js +0 -1
  348. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-c47e15c89def27e4.js +0 -1
  349. package/.next/static/css/fdfd4d4bcfae3c6a.css +0 -1
  350. /package/.next/static/{2gyhgfAo_GNB2lRPOJwF9 → zeWki1Z47rqBkR2ph5H6N}/_ssgManifest.js +0 -0
package/bin/pi-web.js CHANGED
@@ -3,27 +3,16 @@
3
3
 
4
4
  process.title = "annovibe";
5
5
 
6
- // eslint-disable-next-line @typescript-eslint/no-require-imports
7
6
  const { spawn, spawnSync } = require("child_process");
8
- // eslint-disable-next-line @typescript-eslint/no-require-imports
9
7
  const path = require("path");
10
- // eslint-disable-next-line @typescript-eslint/no-require-imports
11
8
  const fs = require("fs");
12
- // eslint-disable-next-line @typescript-eslint/no-require-imports
13
9
  const os = require("os");
14
- // eslint-disable-next-line @typescript-eslint/no-require-imports
15
10
  const http = require("http");
16
- // eslint-disable-next-line @typescript-eslint/no-require-imports
17
11
  const net = require("net");
18
- // eslint-disable-next-line @typescript-eslint/no-require-imports
19
12
  const readline = require("readline");
20
- // eslint-disable-next-line @typescript-eslint/no-require-imports
21
13
  const { parseArgs } = require("util");
22
- // eslint-disable-next-line @typescript-eslint/no-require-imports
23
14
  const bcrypt = require("bcryptjs");
24
- // eslint-disable-next-line @typescript-eslint/no-require-imports
25
15
  const https = require("https");
26
- // eslint-disable-next-line @typescript-eslint/no-require-imports
27
16
  const { randomBytes } = require("crypto");
28
17
 
29
18
  const pkgDir = path.join(__dirname, "..");
@@ -258,9 +247,70 @@ function staleStateRemoved() {
258
247
  return false;
259
248
  }
260
249
 
250
+ const QUOTA_ERROR_MARKER = "disk quota exceeded (EDQUOT, errno 122)";
251
+
252
+ function isQuotaExceededError(error) {
253
+ if (!error) return false;
254
+ const code = typeof error === "object" ? error.code : undefined;
255
+ const errno = typeof error === "object" ? error.errno : undefined;
256
+ const message = error instanceof Error ? error.message : String(error);
257
+ return (
258
+ code === "EDQUOT" ||
259
+ errno === -122 ||
260
+ errno === 122 ||
261
+ /\bEDQUOT\b/i.test(message) ||
262
+ /unknown system error -122\b/i.test(message)
263
+ );
264
+ }
265
+
266
+ // errno 122 is EDQUOT on Linux. Some Node/libuv builds do not know the name,
267
+ // so they print "Unknown system error -122" instead, which looks like a bug
268
+ // in the missing file. Turn it into an actionable message.
269
+ function formatFsError(error, action) {
270
+ const raw = error instanceof Error ? error.message : String(error);
271
+ if (isQuotaExceededError(error)) {
272
+ return [
273
+ `${action}: ${QUOTA_ERROR_MARKER}`,
274
+ "Free space/quota in your home directory, then retry.",
275
+ "Useful checks: `quota -s`, `df -h ~`, `df -i ~`, `du -sh ~/.pi ~/.npm ~/.cache`.",
276
+ "If a previous `annovibe start` left a server running, run `annovibe stop` first.",
277
+ ].join("\n");
278
+ }
279
+ return `${action}: ${raw}`;
280
+ }
281
+
282
+ function printCommandError(prefix, error) {
283
+ const message = error instanceof Error ? error.message : String(error);
284
+ if (message.includes(QUOTA_ERROR_MARKER)) {
285
+ console.error(`${prefix}: ${message}`);
286
+ return;
287
+ }
288
+ if (isQuotaExceededError(error)) {
289
+ console.error(formatFsError(error, prefix));
290
+ return;
291
+ }
292
+ console.error(`${prefix}: ${message}`);
293
+ }
294
+
261
295
  function writeState(state) {
262
296
  ensureAgentDir();
263
- fs.writeFileSync(stateFile, JSON.stringify({ ...state, updatedAt: nowIso() }, null, 2));
297
+ try {
298
+ fs.writeFileSync(stateFile, JSON.stringify({ ...state, updatedAt: nowIso() }, null, 2));
299
+ } catch (error) {
300
+ throw new Error(formatFsError(error, `cannot write ${stateFile}`));
301
+ }
302
+ }
303
+
304
+ function assertAgentDirWritable() {
305
+ ensureAgentDir();
306
+ const probeFile = path.join(agentDir, `.annovibe-write-check-${process.pid}`);
307
+ try {
308
+ fs.writeFileSync(probeFile, "ok");
309
+ } catch (error) {
310
+ throw new Error(formatFsError(error, `cannot write to ${agentDir}`));
311
+ } finally {
312
+ try { fs.rmSync(probeFile, { force: true }); } catch { /* ignore */ }
313
+ }
264
314
  }
265
315
 
266
316
  function findListeningPids(listenPort) {
@@ -631,7 +681,7 @@ async function startManagedServer({ quiet = false, effectivePort: optPort, effec
631
681
  }
632
682
  removeState();
633
683
  }
634
- ensureAgentDir();
684
+ assertAgentDirWritable();
635
685
  const child = spawnDetachedServer({}, effectivePort, effectiveHost);
636
686
  if (!child.pid) {
637
687
  throw new Error("failed to start annovibe server");
@@ -650,7 +700,15 @@ async function startManagedServer({ quiet = false, effectivePort: optPort, effec
650
700
  stateFile,
651
701
  startedAt: nowIso(),
652
702
  };
653
- writeState(state);
703
+ try {
704
+ writeState(state);
705
+ } catch (error) {
706
+ // The supervisor has already been spawned. Stop it and drop any partial
707
+ // state file so a failed start does not leave an untracked process behind.
708
+ try { process.kill(child.pid, "SIGTERM"); } catch { /* already gone */ }
709
+ removeState();
710
+ throw error;
711
+ }
654
712
  if (!quiet) {
655
713
  console.log(`annovibe start: pid ${child.pid}`);
656
714
  console.log(`url: ${state.url}`);
@@ -735,7 +793,7 @@ if (firstPos === "stop") {
735
793
  stopManagedServer()
736
794
  .then((code) => process.exit(code))
737
795
  .catch((error) => {
738
- console.error(`annovibe stop: ${error instanceof Error ? error.message : String(error)}`);
796
+ printCommandError("annovibe stop", error);
739
797
  process.exit(1);
740
798
  });
741
799
  return;
@@ -745,7 +803,7 @@ if (firstPos === "start") {
745
803
  startManagedServer()
746
804
  .then((code) => process.exit(code))
747
805
  .catch((error) => {
748
- console.error(`annovibe start: ${error instanceof Error ? error.message : String(error)}`);
806
+ printCommandError("annovibe start", error);
749
807
  process.exit(1);
750
808
  });
751
809
  return;
@@ -759,7 +817,7 @@ if (firstPos === "restart") {
759
817
  if (code !== 0) process.exit(code);
760
818
  process.exit(await startManagedServerWithPort(restartPort, restartHost));
761
819
  }).catch((error) => {
762
- console.error(`annovibe restart: ${error instanceof Error ? error.message : String(error)}`);
820
+ printCommandError("annovibe restart", error);
763
821
  process.exit(1);
764
822
  });
765
823
  return;
@@ -1073,6 +1131,7 @@ async function runServerProcess() {
1073
1131
  ANNOVIBE_INTERNAL_TOKEN: internalToken,
1074
1132
  ANNOVIBE_SUPERVISOR_PID: String(process.pid),
1075
1133
  ANNOVIBE_NEXT_WRAPPER: "1",
1134
+ ...(hostname ? { ANNOVIBE_HOSTNAME: String(hostname) } : {}),
1076
1135
  },
1077
1136
  });
1078
1137
  let restarting = false;
@@ -1101,22 +1160,28 @@ async function runServerProcess() {
1101
1160
 
1102
1161
  const writeCurrentState = (patch = {}) => {
1103
1162
  const current = readState() ?? {};
1104
- writeState({
1105
- schemaVersion: 1,
1106
- version: VERSION,
1107
- command: getServerCommand(),
1108
- supervisorPid: process.pid,
1109
- nextPid: child.pid ?? null,
1110
- imGatewayPid: imGatewayChild?.pid ?? null,
1111
- imGatewayLogFile,
1112
- port: String(port),
1113
- hostname,
1114
- url,
1115
- logFile,
1116
- stateFile,
1117
- startedAt: current.startedAt ?? nowIso(),
1118
- ...patch,
1119
- });
1163
+ try {
1164
+ writeState({
1165
+ schemaVersion: 1,
1166
+ version: VERSION,
1167
+ command: getServerCommand(),
1168
+ supervisorPid: process.pid,
1169
+ nextPid: child.pid ?? null,
1170
+ imGatewayPid: imGatewayChild?.pid ?? null,
1171
+ imGatewayLogFile,
1172
+ port: String(port),
1173
+ hostname,
1174
+ url,
1175
+ logFile,
1176
+ stateFile,
1177
+ startedAt: current.startedAt ?? nowIso(),
1178
+ ...patch,
1179
+ });
1180
+ } catch (error) {
1181
+ // Keep the server alive, but say that status/stop may not find it.
1182
+ console.error(error instanceof Error ? error.message : String(error));
1183
+ console.error("annovibe: failed to persist supervisor state; `annovibe status` / `annovibe stop` may not work until this is fixed.");
1184
+ }
1120
1185
  };
1121
1186
 
1122
1187
  writeCurrentState();
@@ -1159,6 +1224,8 @@ async function runServerProcess() {
1159
1224
 
1160
1225
  function runNextProcess() {
1161
1226
  setStableProcessTitle(NEXT_PROCESS_TITLE);
1227
+ // The proxy allow-lists the hostname the operator explicitly bound.
1228
+ if (hostname) process.env.ANNOVIBE_HOSTNAME = String(hostname);
1162
1229
  if (!fs.existsSync(nextDir)) {
1163
1230
  console.error("Build artifacts not found. Please report this issue.");
1164
1231
  process.exit(1);
@@ -1167,27 +1234,26 @@ function runNextProcess() {
1167
1234
  const nextArgs = ["start", "-p", String(port)];
1168
1235
  if (hostname) nextArgs.push("-H", String(hostname));
1169
1236
  process.argv = [process.execPath, nextBin, ...nextArgs];
1170
- // eslint-disable-next-line @typescript-eslint/no-require-imports
1171
1237
  require(nextBin);
1172
1238
  }
1173
1239
 
1174
1240
  if (firstPos === "__server") {
1175
1241
  runServerProcess().catch((error) => {
1176
- console.error(`annovibe server: ${error instanceof Error ? error.message : String(error)}`);
1242
+ printCommandError("annovibe server", error);
1177
1243
  process.exit(1);
1178
1244
  });
1179
1245
  } else if (firstPos === "__next") {
1180
1246
  try {
1181
1247
  runNextProcess();
1182
1248
  } catch (error) {
1183
- console.error(`annovibe next: ${error instanceof Error ? error.message : String(error)}`);
1249
+ printCommandError("annovibe next", error);
1184
1250
  process.exit(1);
1185
1251
  }
1186
1252
  } else {
1187
1253
  startManagedServer()
1188
1254
  .then((code) => process.exit(code))
1189
1255
  .catch((error) => {
1190
- console.error(`annovibe start: ${error instanceof Error ? error.message : String(error)}`);
1256
+ printCommandError("annovibe start", error);
1191
1257
  process.exit(1);
1192
1258
  });
1193
1259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seqyuan/annovibe",
3
- "version": "0.8.134",
3
+ "version": "0.8.136",
4
4
  "description": "AI-native bioinformatics workspace by Annoroad",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -31,12 +31,13 @@
31
31
  "pack:check": "node scripts/check-npm-pack.mjs",
32
32
  "smoke:generative-ui": "python3 scripts/smoke_generative_ui.py",
33
33
  "prepublishOnly": "node scripts/check-npm-pack.mjs",
34
- "release": "npm version patch --no-git-tag-version && npm run build && npm run pack:check && npm publish --access public"
34
+ "release": "npm version patch --no-git-tag-version && npm run build && npm run pack:check && npm publish --access public",
35
+ "test": "node --experimental-strip-types --test \"lib/**/*.test.mjs\""
35
36
  },
36
37
  "dependencies": {
37
- "@earendil-works/pi-agent-core": "0.80.2",
38
- "@earendil-works/pi-ai": "0.80.2",
39
- "@earendil-works/pi-coding-agent": "0.80.2",
38
+ "@earendil-works/pi-agent-core": "0.84.2",
39
+ "@earendil-works/pi-ai": "0.84.2",
40
+ "@earendil-works/pi-coding-agent": "0.84.2",
40
41
  "@seqyuan/kernel-lite-core": "^0.2.1",
41
42
  "@seqyuan/pi-kernel-plot": "^0.2.1",
42
43
  "bcryptjs": "^3.0.3",