saeeol 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/package.json +14 -14
  2. package/script/build.ts +1 -1
  3. package/src/addons/addon-analytics.ts +1 -1
  4. package/src/cli/cmd/tui/routes/session/suggest.tsx +1 -1
  5. package/src/cli/logo.ts +1 -1
  6. package/src/cli/ui.ts +1 -1
  7. package/src/config/config-loader.ts +1 -1
  8. package/src/config/config-schema.ts +1 -1
  9. package/src/config/config.ts +1 -1
  10. package/src/config/markdown.ts +1 -1
  11. package/src/index.ts +2 -2
  12. package/src/lsp/lsp.ts +1 -1
  13. package/src/lsp/server-web.ts +1 -1
  14. package/src/mcp/oauth-callback.ts +1 -1
  15. package/src/{saeeol → overlay}/encoding.ts +1 -1
  16. package/src/{saeeol → overlay}/text-stream.ts +1 -1
  17. package/src/{saeeol → overlay}/tool/encoded-io.ts +1 -1
  18. package/src/patch/patch-apply.ts +1 -1
  19. package/src/patch/patch-parse.ts +1 -1
  20. package/src/session/compaction-helpers.ts +1 -169
  21. package/src/session/compaction.ts +1 -712
  22. package/src/session/core/compaction/compaction-helpers.ts +169 -0
  23. package/src/session/core/compaction/compaction.ts +712 -0
  24. package/src/session/core/compaction/overflow.ts +28 -0
  25. package/src/session/core/instruction.ts +234 -0
  26. package/src/session/core/llm.ts +504 -0
  27. package/src/session/core/network.ts +392 -0
  28. package/src/session/core/processor.ts +731 -0
  29. package/src/session/core/projectors.ts +139 -0
  30. package/src/session/core/resolve-tools.ts +241 -0
  31. package/src/session/core/retry.ts +149 -0
  32. package/src/session/core/revert.ts +173 -0
  33. package/src/session/core/run-state.ts +110 -0
  34. package/src/session/core/schema.ts +35 -0
  35. package/src/session/core/session-types.ts +160 -0
  36. package/src/session/core/session.sql.ts +124 -0
  37. package/src/session/core/session.ts +948 -0
  38. package/src/session/core/shell-exec.ts +205 -0
  39. package/src/session/core/status.ts +100 -0
  40. package/src/session/core/subtask.ts +268 -0
  41. package/src/session/core/summary.ts +173 -0
  42. package/src/session/core/system.ts +114 -0
  43. package/src/session/core/todo.ts +86 -0
  44. package/src/session/core/user-part.ts +293 -0
  45. package/src/session/instruction.ts +1 -234
  46. package/src/session/llm.ts +1 -504
  47. package/src/session/message/message-errors.ts +83 -0
  48. package/src/session/message/message-parts.ts +89 -0
  49. package/src/session/message/message-query.ts +107 -0
  50. package/src/session/message/message-transform.ts +156 -0
  51. package/src/session/message/message-types.ts +68 -0
  52. package/src/session/message/message-v2.ts +73 -0
  53. package/src/session/message/message.ts +192 -0
  54. package/src/session/message-errors.ts +1 -83
  55. package/src/session/message-parts.ts +1 -89
  56. package/src/session/message-query.ts +1 -107
  57. package/src/session/message-transform.ts +1 -156
  58. package/src/session/message-types.ts +1 -68
  59. package/src/session/message-v2.ts +1 -73
  60. package/src/session/message.ts +1 -192
  61. package/src/session/network.ts +1 -392
  62. package/src/session/overflow.ts +1 -28
  63. package/src/session/processor.ts +1 -731
  64. package/src/session/projectors.ts +2 -139
  65. package/src/session/prompt/prompt-command.ts +93 -0
  66. package/src/session/prompt/prompt-loop.ts +299 -0
  67. package/src/session/prompt/prompt-model.ts +44 -0
  68. package/src/session/prompt/prompt-reminders.ts +120 -0
  69. package/src/session/prompt/prompt-resolve.ts +42 -0
  70. package/src/session/prompt/prompt-schemas.ts +128 -0
  71. package/src/session/prompt/prompt-title.ts +55 -0
  72. package/src/session/prompt/prompt-types.ts +47 -0
  73. package/src/session/prompt/prompt-user-msg.ts +80 -0
  74. package/src/session/prompt/prompt.ts +211 -0
  75. package/src/session/prompt-command.ts +1 -93
  76. package/src/session/prompt-loop.ts +1 -299
  77. package/src/session/prompt-model.ts +1 -44
  78. package/src/session/prompt-reminders.ts +1 -120
  79. package/src/session/prompt-resolve.ts +1 -42
  80. package/src/session/prompt-schemas.ts +1 -128
  81. package/src/session/prompt-title.ts +1 -55
  82. package/src/session/prompt-types.ts +1 -47
  83. package/src/session/prompt-user-msg.ts +1 -80
  84. package/src/session/prompt.ts +1 -211
  85. package/src/session/resolve-tools.ts +1 -241
  86. package/src/session/retry.ts +1 -149
  87. package/src/session/revert.ts +1 -173
  88. package/src/session/run-state.ts +1 -110
  89. package/src/session/schema.ts +1 -35
  90. package/src/session/session-types.ts +1 -160
  91. package/src/session/session.sql.ts +1 -124
  92. package/src/session/session.ts +1 -948
  93. package/src/session/shell-exec.ts +1 -205
  94. package/src/session/status.ts +1 -100
  95. package/src/session/subtask.ts +1 -268
  96. package/src/session/summary.ts +1 -173
  97. package/src/session/system.ts +1 -114
  98. package/src/session/todo.ts +1 -86
  99. package/src/session/user-part.ts +1 -293
  100. package/src/skill/index.ts +1 -1
  101. package/src/suggestion/index.ts +1 -1
  102. package/src/tool/apply_patch.ts +2 -2
  103. package/src/tool/edit.ts +2 -2
  104. package/src/tool/read.ts +2 -2
  105. package/src/tool/recall.ts +1 -1
  106. package/src/tool/registry.ts +2 -2
  107. package/src/tool/suggest.ts +1 -1
  108. package/src/tool/task.ts +3 -3
  109. package/src/tool/todo.ts +1 -1
  110. package/src/tool/write.ts +2 -2
  111. package/test/lsp/index.test.ts +1 -1
  112. package/test/saeeol/agent-manager-tool.test.ts +1 -1
  113. package/test/saeeol/ask-agent-permissions.test.ts +1 -1
  114. package/test/saeeol/bash-hierarchy.test.ts +1 -1
  115. package/test/saeeol/builtin-skills.test.ts +1 -1
  116. package/test/saeeol/cli/dev-setup.test.ts +1 -1
  117. package/test/saeeol/cli/roll-call.test.ts +1 -1
  118. package/test/saeeol/cli-run-auto-helper.test.ts +1 -1
  119. package/test/saeeol/codex-auth-refresh.test.ts +1 -1
  120. package/test/saeeol/commit-message/generate.test.ts +1 -1
  121. package/test/saeeol/commit-message/git-context.test.ts +1 -1
  122. package/test/saeeol/commit-message-windows.test.ts +1 -1
  123. package/test/saeeol/compaction-payload-recovery.test.ts +1 -1
  124. package/test/saeeol/config/config.test.ts +1 -1
  125. package/test/saeeol/config-injector.test.ts +1 -1
  126. package/test/saeeol/config-validation.test.ts +1 -1
  127. package/test/saeeol/cost-propagation.test.ts +1 -1
  128. package/test/saeeol/custom-provider-delete.test.ts +1 -1
  129. package/test/saeeol/diff-full.test.ts +1 -1
  130. package/test/saeeol/encoding.test.ts +1 -1
  131. package/test/saeeol/enhance-prompt.test.ts +1 -1
  132. package/test/saeeol/ensure-plan-dir.test.ts +1 -1
  133. package/test/saeeol/errors.test.ts +1 -1
  134. package/test/saeeol/help.test.ts +3 -3
  135. package/test/saeeol/ignore-migrator.test.ts +1 -1
  136. package/test/saeeol/indexing-auth.test.ts +1 -1
  137. package/test/saeeol/indexing-feature.test.ts +1 -1
  138. package/test/saeeol/indexing-label.test.ts +1 -1
  139. package/test/saeeol/indexing-startup.test.ts +1 -1
  140. package/test/saeeol/indexing-worktree.test.ts +1 -1
  141. package/test/saeeol/lancedb-runtime.test.ts +9 -9
  142. package/test/saeeol/logo.test.ts +1 -1
  143. package/test/saeeol/lsp-typescript-lightweight.test.ts +2 -2
  144. package/test/saeeol/mcp-migrator.test.ts +1 -1
  145. package/test/saeeol/model-info-panel-utils.test.ts +1 -1
  146. package/test/saeeol/modes-migrator.test.ts +1 -1
  147. package/test/saeeol/paths.test.ts +1 -1
  148. package/test/saeeol/permission/config-paths.test.ts +2 -2
  149. package/test/saeeol/permission/external-directory-allow.test.ts +1 -1
  150. package/test/saeeol/plan-exit-detection.test.ts +1 -1
  151. package/test/saeeol/plan-followup.test.ts +2 -2
  152. package/test/saeeol/project-id.test.ts +1 -1
  153. package/test/saeeol/question-dismiss-all.test.ts +1 -1
  154. package/test/saeeol/rules-migrator.test.ts +1 -1
  155. package/test/saeeol/semantic-search.test.ts +2 -2
  156. package/test/saeeol/session/platform-attribution.test.ts +1 -1
  157. package/test/saeeol/session-compaction-cap.test.ts +2 -2
  158. package/test/saeeol/session-compaction-chunks.test.ts +1 -1
  159. package/test/saeeol/session-compaction-safety.test.ts +1 -1
  160. package/test/saeeol/session-import-service.test.ts +1 -1
  161. package/test/saeeol/session-processor-empty-tool-calls.test.ts +1 -1
  162. package/test/saeeol/session-processor-review-telemetry.test.ts +1 -1
  163. package/test/saeeol/session-prompt-queue.test.ts +1 -1
  164. package/test/saeeol/sessions/remote-sender.test.ts +1 -1
  165. package/test/saeeol/snapshot-track-timeout.test.ts +1 -1
  166. package/test/saeeol/suggestion/auto-dismiss.test.ts +2 -2
  167. package/test/saeeol/suggestion/suggestion.test.ts +1 -1
  168. package/test/saeeol/suggestion/tool.test.ts +2 -2
  169. package/test/saeeol/system-prompt.test.ts +1 -1
  170. package/test/saeeol/todo-view.test.ts +1 -1
  171. package/test/saeeol/tool-registry-indexing.test.ts +3 -3
  172. package/test/saeeol/tui-diff.test.ts +1 -1
  173. package/test/saeeol/tui-sync.test.ts +1 -1
  174. package/test/saeeol/util/url.test.ts +1 -1
  175. package/test/saeeol/workflows-migrator.test.ts +1 -1
  176. package/test/saeeol/worktree-diff-summary.test.ts +1 -1
  177. package/tsconfig.json +1 -1
  178. /package/src/{saeeol → overlay}/agent/agent-remove.ts +0 -0
  179. /package/src/{saeeol → overlay}/agent/index.ts +0 -0
  180. /package/src/{saeeol → overlay}/agent/patch-agents.ts +0 -0
  181. /package/src/{saeeol → overlay}/agent/permissions.ts +0 -0
  182. /package/src/{saeeol → overlay}/agent-manager/event.ts +0 -0
  183. /package/src/{saeeol → overlay}/bash-hierarchy.ts +0 -0
  184. /package/src/{saeeol → overlay}/bell.ts +0 -0
  185. /package/src/{saeeol → overlay}/bootstrap.ts +0 -0
  186. /package/src/{saeeol → overlay}/claw/autocomplete-popup.tsx +0 -0
  187. /package/src/{saeeol → overlay}/claw/autocomplete-ref.ts +0 -0
  188. /package/src/{saeeol → overlay}/claw/autocomplete-types.ts +0 -0
  189. /package/src/{saeeol → overlay}/claw/autocomplete.tsx +0 -0
  190. /package/src/{saeeol → overlay}/claw/chat-client.ts +0 -0
  191. /package/src/{saeeol → overlay}/claw/chat.tsx +0 -0
  192. /package/src/{saeeol → overlay}/claw/client-events.ts +0 -0
  193. /package/src/{saeeol → overlay}/claw/client-helpers.ts +0 -0
  194. /package/src/{saeeol → overlay}/claw/client.ts +0 -0
  195. /package/src/{saeeol → overlay}/claw/dialog-conversation-list.tsx +0 -0
  196. /package/src/{saeeol → overlay}/claw/event-service-client-core.ts +0 -0
  197. /package/src/{saeeol → overlay}/claw/event-service-client-impl.ts +0 -0
  198. /package/src/{saeeol → overlay}/claw/event-service-client.ts +0 -0
  199. /package/src/{saeeol → overlay}/claw/hooks.ts +0 -0
  200. /package/src/{saeeol → overlay}/claw/sidebar.tsx +0 -0
  201. /package/src/{saeeol → overlay}/claw/types.ts +0 -0
  202. /package/src/{saeeol → overlay}/claw/view.tsx +0 -0
  203. /package/src/{saeeol → overlay}/cli/cmd/roll-call-call.ts +0 -0
  204. /package/src/{saeeol → overlay}/cli/cmd/roll-call-format.ts +0 -0
  205. /package/src/{saeeol → overlay}/cli/cmd/roll-call.ts +0 -0
  206. /package/src/{saeeol → overlay}/cli/cmd/tui/app.tsx +0 -0
  207. /package/src/{saeeol → overlay}/cli/cmd/tui/component/dialog-provider.tsx +0 -0
  208. /package/src/{saeeol → overlay}/cli/cmd/tui/feedback.ts +0 -0
  209. /package/src/{saeeol → overlay}/cli/cmd/tui/util/terminal.ts +0 -0
  210. /package/src/{saeeol → overlay}/cli/dev-setup-utils.ts +0 -0
  211. /package/src/{saeeol → overlay}/cli/dev-setup.ts +0 -0
  212. /package/src/{saeeol → overlay}/cli/heap-snapshot.ts +0 -0
  213. /package/src/{saeeol → overlay}/cli/logo.ts +0 -0
  214. /package/src/{saeeol → overlay}/cli/run-auto.ts +0 -0
  215. /package/src/{saeeol → overlay}/cli/saeeol-logo.ts +0 -0
  216. /package/src/{saeeol → overlay}/cloud-session.ts +0 -0
  217. /package/src/{saeeol → overlay}/commands-index.ts +0 -0
  218. /package/src/{saeeol → overlay}/commands.ts +0 -0
  219. /package/src/{saeeol → overlay}/commands.tsx +0 -0
  220. /package/src/{saeeol → overlay}/commit-message/generate.ts +0 -0
  221. /package/src/{saeeol → overlay}/commit-message/git-context.ts +0 -0
  222. /package/src/{saeeol → overlay}/commit-message/index.ts +0 -0
  223. /package/src/{saeeol → overlay}/commit-message/types.ts +0 -0
  224. /package/src/{saeeol → overlay}/components/dialog-auto-method.tsx +0 -0
  225. /package/src/{saeeol → overlay}/components/dialog-claw-setup.tsx +0 -0
  226. /package/src/{saeeol → overlay}/components/dialog-claw-upgrade.tsx +0 -0
  227. /package/src/{saeeol → overlay}/components/dialog-indexing-helpers.ts +0 -0
  228. /package/src/{saeeol → overlay}/components/dialog-indexing.tsx +0 -0
  229. /package/src/{saeeol → overlay}/components/dialog-notifications.tsx +0 -0
  230. /package/src/{saeeol → overlay}/components/dialog-organization.tsx +0 -0
  231. /package/src/{saeeol → overlay}/components/dialog-profile.tsx +0 -0
  232. /package/src/{saeeol → overlay}/components/dialog-provider-settings.tsx +0 -0
  233. /package/src/{saeeol → overlay}/components/dialog-team-select.tsx +0 -0
  234. /package/src/{saeeol → overlay}/components/dialog-tuning.tsx +0 -0
  235. /package/src/{saeeol → overlay}/components/dialog-vector-store.tsx +0 -0
  236. /package/src/{saeeol → overlay}/components/error-display.tsx +0 -0
  237. /package/src/{saeeol → overlay}/components/model-info-panel-utils.ts +0 -0
  238. /package/src/{saeeol → overlay}/components/model-info-panel.tsx +0 -0
  239. /package/src/{saeeol → overlay}/components/news.tsx +0 -0
  240. /package/src/{saeeol → overlay}/components/notification-banner.tsx +0 -0
  241. /package/src/{saeeol → overlay}/components/session-indexing.tsx +0 -0
  242. /package/src/{saeeol → overlay}/components/tips.tsx +0 -0
  243. /package/src/{saeeol → overlay}/config/config-core.ts +0 -0
  244. /package/src/{saeeol → overlay}/config/config-helpers.ts +0 -0
  245. /package/src/{saeeol → overlay}/config/config-legacy.ts +0 -0
  246. /package/src/{saeeol → overlay}/config/config.ts +0 -0
  247. /package/src/{saeeol → overlay}/config/default-plugins.ts +0 -0
  248. /package/src/{saeeol → overlay}/config/markdown.ts +0 -0
  249. /package/src/{saeeol → overlay}/config-injector.ts +0 -0
  250. /package/src/{saeeol → overlay}/config-validation.ts +0 -0
  251. /package/src/{saeeol → overlay}/const.ts +0 -0
  252. /package/src/{saeeol → overlay}/cost-tracker/format.ts +0 -0
  253. /package/src/{saeeol → overlay}/cost-tracker/index.ts +0 -0
  254. /package/src/{saeeol → overlay}/cost-tracker/state.ts +0 -0
  255. /package/src/{saeeol → overlay}/cost-tracker/types.ts +0 -0
  256. /package/src/{saeeol → overlay}/docs/migration.md +0 -0
  257. /package/src/{saeeol → overlay}/docs/rules-migration.md +0 -0
  258. /package/src/{saeeol → overlay}/editor-context.ts +0 -0
  259. /package/src/{saeeol → overlay}/enhance-prompt.ts +0 -0
  260. /package/src/{saeeol → overlay}/errors.ts +0 -0
  261. /package/src/{saeeol → overlay}/generate-cli-docs.ts +0 -0
  262. /package/src/{saeeol → overlay}/help-command.ts +0 -0
  263. /package/src/{saeeol → overlay}/help.ts +0 -0
  264. /package/src/{saeeol → overlay}/i18n/index.ts +0 -0
  265. /package/src/{saeeol → overlay}/ignore-migrator.ts +0 -0
  266. /package/src/{saeeol → overlay}/index.ts +0 -0
  267. /package/src/{saeeol → overlay}/indexing-auth.ts +0 -0
  268. /package/src/{saeeol → overlay}/indexing-feature.ts +0 -0
  269. /package/src/{saeeol → overlay}/indexing-helpers.ts +0 -0
  270. /package/src/{saeeol → overlay}/indexing-label.ts +0 -0
  271. /package/src/{saeeol → overlay}/indexing-state.ts +0 -0
  272. /package/src/{saeeol → overlay}/indexing-types.ts +0 -0
  273. /package/src/{saeeol → overlay}/indexing.ts +0 -0
  274. /package/src/{saeeol → overlay}/lancedb.ts +0 -0
  275. /package/src/{saeeol → overlay}/mcp-migrator.ts +0 -0
  276. /package/src/{saeeol → overlay}/mcp-oauth-callback.ts +0 -0
  277. /package/src/{saeeol → overlay}/memory/age.ts +0 -0
  278. /package/src/{saeeol → overlay}/memory/index.ts +0 -0
  279. /package/src/{saeeol → overlay}/memory/paths.ts +0 -0
  280. /package/src/{saeeol → overlay}/memory/scan.ts +0 -0
  281. /package/src/{saeeol → overlay}/memory/types.ts +0 -0
  282. /package/src/{saeeol → overlay}/model-match.ts +0 -0
  283. /package/src/{saeeol → overlay}/modes-migrator.ts +0 -0
  284. /package/src/{saeeol → overlay}/paths.ts +0 -0
  285. /package/src/{saeeol → overlay}/permission/config-paths.ts +0 -0
  286. /package/src/{saeeol → overlay}/permission/drain.ts +0 -0
  287. /package/src/{saeeol → overlay}/permission/external-directory.ts +0 -0
  288. /package/src/{saeeol → overlay}/permission/read.ts +0 -0
  289. /package/src/{saeeol → overlay}/permission/routes.ts +0 -0
  290. /package/src/{saeeol → overlay}/permission/rule.ts +0 -0
  291. /package/src/{saeeol → overlay}/plan-followup-handover.ts +0 -0
  292. /package/src/{saeeol → overlay}/plan-followup-runtime.ts +0 -0
  293. /package/src/{saeeol → overlay}/plan-followup-session.ts +0 -0
  294. /package/src/{saeeol → overlay}/plan-followup.ts +0 -0
  295. /package/src/{saeeol → overlay}/plugins/home-footer.tsx +0 -0
  296. /package/src/{saeeol → overlay}/plugins/home-news.tsx +0 -0
  297. /package/src/{saeeol → overlay}/plugins/home-onboarding.tsx +0 -0
  298. /package/src/{saeeol → overlay}/plugins/sidebar-footer.tsx +0 -0
  299. /package/src/{saeeol → overlay}/plugins/sidebar-pr.tsx +0 -0
  300. /package/src/{saeeol → overlay}/plugins/sidebar-usage.tsx +0 -0
  301. /package/src/{saeeol → overlay}/project-id.ts +0 -0
  302. /package/src/{saeeol → overlay}/provider/codex-refresh.ts +0 -0
  303. /package/src/{saeeol → overlay}/provider/provider.ts +0 -0
  304. /package/src/{saeeol → overlay}/provider-options.ts +0 -0
  305. /package/src/{saeeol → overlay}/question/index.ts +0 -0
  306. /package/src/{saeeol → overlay}/remote-tui.tsx +0 -0
  307. /package/src/{saeeol → overlay}/review/command.ts +0 -0
  308. /package/src/{saeeol → overlay}/review/diff.ts +0 -0
  309. /package/src/{saeeol → overlay}/review/prompt.ts +0 -0
  310. /package/src/{saeeol → overlay}/review/review.ts +0 -0
  311. /package/src/{saeeol → overlay}/review/types.ts +0 -0
  312. /package/src/{saeeol → overlay}/review/worktree-diff.ts +0 -0
  313. /package/src/{saeeol → overlay}/rules-migrator.ts +0 -0
  314. /package/src/{saeeol → overlay}/server/instance.ts +0 -0
  315. /package/src/{saeeol → overlay}/server/router.ts +0 -0
  316. /package/src/{saeeol → overlay}/server/routes/commit-message.ts +0 -0
  317. /package/src/{saeeol → overlay}/server/routes/indexing.ts +0 -0
  318. /package/src/{saeeol → overlay}/server/server.ts +0 -0
  319. /package/src/{saeeol → overlay}/session/compaction-chunks-core.ts +0 -0
  320. /package/src/{saeeol → overlay}/session/compaction-chunks-utils.ts +0 -0
  321. /package/src/{saeeol → overlay}/session/compaction-chunks.ts +0 -0
  322. /package/src/{saeeol → overlay}/session/compaction-payload-recovery.ts +0 -0
  323. /package/src/{saeeol → overlay}/session/cost-propagation.ts +0 -0
  324. /package/src/{saeeol → overlay}/session/digest-storage.ts +0 -0
  325. /package/src/{saeeol → overlay}/session/fork.ts +0 -0
  326. /package/src/{saeeol → overlay}/session/index.ts +0 -0
  327. /package/src/{saeeol → overlay}/session/instruction.ts +0 -0
  328. /package/src/{saeeol → overlay}/session/kg-compaction.ts +0 -0
  329. /package/src/{saeeol → overlay}/session/llm.ts +0 -0
  330. /package/src/{saeeol → overlay}/session/overflow.ts +0 -0
  331. /package/src/{saeeol → overlay}/session/platform.ts +0 -0
  332. /package/src/{saeeol → overlay}/session/processor.ts +0 -0
  333. /package/src/{saeeol → overlay}/session/prompt-context.ts +0 -0
  334. /package/src/{saeeol → overlay}/session/prompt-plan.ts +0 -0
  335. /package/src/{saeeol → overlay}/session/prompt-queue.ts +0 -0
  336. /package/src/{saeeol → overlay}/session/prompt.ts +0 -0
  337. /package/src/{saeeol → overlay}/session/queries.ts +0 -0
  338. /package/src/{saeeol → overlay}/session/tui-sync.ts +0 -0
  339. /package/src/{saeeol → overlay}/session-import/routes.ts +0 -0
  340. /package/src/{saeeol → overlay}/session-import/service.ts +0 -0
  341. /package/src/{saeeol → overlay}/session-import/types.ts +0 -0
  342. /package/src/{saeeol → overlay}/skills/builtin.ts +0 -0
  343. /package/src/{saeeol → overlay}/skills/config.md +0 -0
  344. /package/src/{saeeol → overlay}/snapshot/diff-full.ts +0 -0
  345. /package/src/{saeeol → overlay}/snapshot/index.ts +0 -0
  346. /package/src/{saeeol → overlay}/snapshot/track-hooks.ts +0 -0
  347. /package/src/{saeeol → overlay}/snapshot/track-types.ts +0 -0
  348. /package/src/{saeeol → overlay}/snapshot/track.ts +0 -0
  349. /package/src/{saeeol → overlay}/soul.txt +0 -0
  350. /package/src/{saeeol → overlay}/suggestion/index.ts +0 -0
  351. /package/src/{saeeol → overlay}/suggestion/routes.ts +0 -0
  352. /package/src/{saeeol → overlay}/suggestion/tool.ts +0 -0
  353. /package/src/{saeeol → overlay}/suggestion/tool.txt +0 -0
  354. /package/src/{saeeol → overlay}/suggestion/tui/bar.tsx +0 -0
  355. /package/src/{saeeol → overlay}/suggestion/tui/prompt.tsx +0 -0
  356. /package/src/{saeeol → overlay}/suggestion/tui/render.tsx +0 -0
  357. /package/src/{saeeol → overlay}/suggestion/tui/sync.ts +0 -0
  358. /package/src/{saeeol → overlay}/system-prompt.ts +0 -0
  359. /package/src/{saeeol → overlay}/todo-view.ts +0 -0
  360. /package/src/{saeeol → overlay}/tool/agent-manager.ts +0 -0
  361. /package/src/{saeeol → overlay}/tool/agent-manager.txt +0 -0
  362. /package/src/{saeeol → overlay}/tool/bash-security-patterns.ts +0 -0
  363. /package/src/{saeeol → overlay}/tool/bash-security.ts +0 -0
  364. /package/src/{saeeol → overlay}/tool/question.ts +0 -0
  365. /package/src/{saeeol → overlay}/tool/registry.ts +0 -0
  366. /package/src/{saeeol → overlay}/tool/semantic-search.ts +0 -0
  367. /package/src/{saeeol → overlay}/tool/semantic-search.txt +0 -0
  368. /package/src/{saeeol → overlay}/tool/task.ts +0 -0
  369. /package/src/{saeeol → overlay}/ts-check.ts +0 -0
  370. /package/src/{saeeol → overlay}/ts-client.ts +0 -0
  371. /package/src/{saeeol → overlay}/tui/diff.ts +0 -0
  372. /package/src/{saeeol → overlay}/util/url.ts +0 -0
  373. /package/src/{saeeol → overlay}/worker/index.ts +0 -0
  374. /package/src/{saeeol → overlay}/worker/pool.ts +0 -0
  375. /package/src/{saeeol → overlay}/worker/store.ts +0 -0
  376. /package/src/{saeeol → overlay}/worker/types.ts +0 -0
  377. /package/src/{saeeol → overlay}/workflows-migrator.ts +0 -0
  378. /package/src/{saeeol → overlay}/worktree-cleanup.ts +0 -0
  379. /package/src/{saeeol → overlay}/worktree-family.ts +0 -0
@@ -13,8 +13,8 @@ import { AppFileSystem } from "@saeeol/core/filesystem"
13
13
  import DESCRIPTION from "./apply_patch.txt"
14
14
  import { File } from "../file"
15
15
  import { filterDiagnostics } from "./diagnostics"
16
- import { ConfigValidation } from "../saeeol/config-validation"
17
- import * as EncodedIO from "../saeeol/tool/encoded-io"
16
+ import { ConfigValidation } from "../overlay/config-validation"
17
+ import * as EncodedIO from "../overlay/tool/encoded-io"
18
18
  import { Format } from "../format"
19
19
  import * as Bom from "@/util/bom"
20
20
 
package/src/tool/edit.ts CHANGED
@@ -19,8 +19,8 @@ import { assertExternalDirectoryEffect } from "./external-directory"
19
19
  import { AppFileSystem } from "@saeeol/core/filesystem"
20
20
  import * as Bom from "@/util/bom"
21
21
  import { filterDiagnostics } from "./diagnostics"
22
- import { ConfigValidation } from "../saeeol/config-validation"
23
- import * as EncodedIO from "../saeeol/tool/encoded-io"
22
+ import { ConfigValidation } from "../overlay/config-validation"
23
+ import * as EncodedIO from "../overlay/tool/encoded-io"
24
24
  import { buildFileDiff, normalizeLineEndings, detectLineEnding, convertToLineEnding, trimDiff } from "./edit-utils"
25
25
  import {
26
26
  SimpleReplacer,
package/src/tool/read.ts CHANGED
@@ -12,8 +12,8 @@ import { InstanceState } from "@/effect/instance-state"
12
12
  import { assertExternalDirectoryEffect } from "./external-directory"
13
13
  import { Instruction } from "../session/instruction"
14
14
  import { isPdfAttachment, sniffAttachmentMime } from "@/util/media"
15
- import * as Encoding from "../saeeol/encoding"
16
- import * as TextStream from "../saeeol/text-stream"
15
+ import * as Encoding from "../overlay/encoding"
16
+ import * as TextStream from "../overlay/text-stream"
17
17
 
18
18
  const DEFAULT_READ_LIMIT = 2000
19
19
  const MAX_LINE_LENGTH = 2000
@@ -3,7 +3,7 @@ import * as Tool from "./tool"
3
3
  import { Instance } from "../project/instance"
4
4
  import { Locale } from "../util/locale"
5
5
  import { Filesystem } from "../util/filesystem"
6
- import { WorktreeFamily } from "../saeeol/worktree-family"
6
+ import { WorktreeFamily } from "../overlay/worktree-family"
7
7
  import DESCRIPTION from "./recall.txt"
8
8
 
9
9
  const Parameters = Schema.Struct({
@@ -1,7 +1,7 @@
1
1
  import { PlanExitTool } from "./plan"
2
2
  import { Session } from "@/session/session"
3
3
  import { QuestionTool } from "./question"
4
- import { SuggestTool } from "../saeeol/suggestion/tool"
4
+ import { SuggestTool } from "../overlay/suggestion/tool"
5
5
  import { BashTool } from "./bash"
6
6
  import { EditTool } from "./edit"
7
7
  import { GlobTool } from "./glob"
@@ -24,7 +24,7 @@ import { Plugin } from "../plugin"
24
24
  import { Provider } from "@/provider/provider"
25
25
  import { ProviderID, type ModelID } from "../provider/schema"
26
26
  import { WebSearchTool } from "./websearch"
27
- import { SaeeolToolRegistry } from "../saeeol/tool/registry"
27
+ import { SaeeolToolRegistry } from "../overlay/tool/registry"
28
28
  import { makeRuntime } from "@/effect/run-service"
29
29
  import { Flag } from "@saeeol/core/flag/flag"
30
30
  import * as Log from "@saeeol/core/util/log"
@@ -1 +1 @@
1
- export { SuggestTool } from "../saeeol/suggestion/tool"
1
+ export { SuggestTool } from "../overlay/suggestion/tool"
package/src/tool/task.ts CHANGED
@@ -6,9 +6,9 @@ import { MessageV2 } from "../session/message-v2"
6
6
  import { Agent } from "../agent/agent"
7
7
  import type { SessionPrompt } from "../session/prompt"
8
8
  import { Config } from "@/config/config"
9
- import { SaeeolTask } from "../saeeol/tool/task"
10
- import { SaeeolCostPropagation } from "../saeeol/session/cost-propagation"
11
- import { SaeeolSessionProcessor } from "../saeeol/session/processor"
9
+ import { SaeeolTask } from "../overlay/tool/task"
10
+ import { SaeeolCostPropagation } from "../overlay/session/cost-propagation"
11
+ import { SaeeolSessionProcessor } from "../overlay/session/processor"
12
12
  import { Effect, Schema } from "effect"
13
13
 
14
14
  export interface TaskPromptOps {
package/src/tool/todo.ts CHANGED
@@ -2,7 +2,7 @@ import { Effect, Schema } from "effect"
2
2
  import * as Tool from "./tool"
3
3
  import DESCRIPTION_WRITE from "./todowrite.txt"
4
4
  import { Todo } from "../session/todo"
5
- import { TodoView } from "../saeeol/todo-view"
5
+ import { TodoView } from "../overlay/todo-view"
6
6
 
7
7
  // Todo.Info is still a zod schema (session/todo.ts). Inline the field shape
8
8
  // here rather than referencing its `.shape` — the LLM-visible JSON Schema is
package/src/tool/write.ts CHANGED
@@ -14,8 +14,8 @@ import { InstanceState } from "@/effect/instance-state"
14
14
  import { trimDiff, buildFileDiff } from "./edit"
15
15
  import { assertExternalDirectoryEffect } from "./external-directory"
16
16
  import { filterDiagnostics } from "./diagnostics"
17
- import { ConfigValidation } from "../saeeol/config-validation"
18
- import * as EncodedIO from "../saeeol/tool/encoded-io"
17
+ import { ConfigValidation } from "../overlay/config-validation"
18
+ import * as EncodedIO from "../overlay/tool/encoded-io"
19
19
  import * as Bom from "@/util/bom"
20
20
 
21
21
  const MAX_PROJECT_DIAGNOSTICS_FILES = 5
@@ -10,7 +10,7 @@ import { provideTmpdirInstance, tmpdir } from "../fixture/fixture"
10
10
  import { testEffect } from "../lib/effect"
11
11
  import { Instance, type InstanceContext } from "../../src/project/instance"
12
12
  import { Flag } from "@saeeol/core/flag/flag"
13
- import { TsCheck } from "../../src/saeeol/ts-check"
13
+ import { TsCheck } from "../../src/overlay/ts-check"
14
14
  const fakeCtx = {} as InstanceContext
15
15
 
16
16
  const it = testEffect(Layer.mergeAll(LSP.defaultLayer, CrossSpawnSpawner.defaultLayer))
@@ -3,7 +3,7 @@ import { Effect, Layer, ManagedRuntime } from "effect"
3
3
  import { MessageID, SessionID } from "../../src/session/schema"
4
4
  import { provideTmpdirInstance } from "../fixture/fixture"
5
5
  import { CrossSpawnSpawner } from "@saeeol/core/cross-spawn-spawner"
6
- import { AgentManagerTool } from "../../src/saeeol/tool/agent-manager"
6
+ import { AgentManagerTool } from "../../src/overlay/tool/agent-manager"
7
7
  import { Bus } from "../../src/bus"
8
8
  import { Tool } from "../../src/tool/tool"
9
9
  import { Truncate } from "../../src/tool/truncate"
@@ -1,6 +1,6 @@
1
1
  import { test, expect, describe } from "bun:test"
2
2
  import { Permission } from "../../src/permission"
3
- import { readOnlyBash } from "../../src/saeeol/agent"
3
+ import { readOnlyBash } from "../../src/overlay/agent"
4
4
 
5
5
  /** Build the Ask agent ruleset without MCP servers */
6
6
  function askRuleset() {
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { BashHierarchy } from "../../src/saeeol/bash-hierarchy"
2
+ import { BashHierarchy } from "../../src/overlay/bash-hierarchy"
3
3
 
4
4
  function collect(command: string[], text: string): string[] {
5
5
  const set = new Set<string>()
@@ -2,7 +2,7 @@ import { afterEach, test, expect } from "bun:test"
2
2
  import path from "path"
3
3
  import { Skill } from "../../src/skill"
4
4
  import { Instance } from "../../src/project/instance"
5
- import { BUILTIN_SKILLS } from "../../src/saeeol/skills/builtin"
5
+ import { BUILTIN_SKILLS } from "../../src/overlay/skills/builtin"
6
6
  import { disposeAllInstances, tmpdir } from "../fixture/fixture"
7
7
 
8
8
  afterEach(async () => {
@@ -2,7 +2,7 @@ import { describe, test, expect } from "bun:test"
2
2
  import path from "path"
3
3
  import fs from "fs/promises"
4
4
  import { tmpdir } from "../../fixture/fixture"
5
- import { detectRepo, findRepoFrom } from "../../../src/saeeol/cli/dev-setup"
5
+ import { detectRepo, findRepoFrom } from "../../../src/overlay/cli/dev-setup"
6
6
 
7
7
  // Simulate a repo root by writing the sentinel file detectRepo looks for.
8
8
  async function makeSynthRepo(dir: string) {
@@ -1,6 +1,6 @@
1
1
  import { test, expect, describe } from "bun:test"
2
2
  import { Provider } from "../../../src/provider/provider"
3
- import { formatTable, formatMarkdown, handle, isTextModel } from "../../../src/saeeol/cli/cmd/roll-call"
3
+ import { formatTable, formatMarkdown, handle, isTextModel } from "../../../src/overlay/cli/cmd/roll-call"
4
4
 
5
5
  const base = {
6
6
  input: { text: false, audio: false, image: false, video: false, pdf: false },
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from "bun:test"
2
- import { SaeeolRunAuto } from "../../src/saeeol/cli/run-auto"
2
+ import { SaeeolRunAuto } from "../../src/overlay/cli/run-auto"
3
3
 
4
4
  describe("SaeeolRunAuto", () => {
5
5
  test("tracks task child sessions without allowing unrelated sessions", () => {
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from "bun:test"
2
- import { CodexAuthExpiredError, refreshCodexAuth } from "../../src/saeeol/provider/codex-refresh"
2
+ import { CodexAuthExpiredError, refreshCodexAuth } from "../../src/overlay/provider/codex-refresh"
3
3
  import type { PluginInput } from "@saeeol/plugin"
4
4
  import { MessageV2 } from "../../src/session/message-v2"
5
5
  import { ProviderID } from "../../src/provider/schema"
@@ -78,7 +78,7 @@ mock.module("@saeeol/core/util/log", () => ({
78
78
  }),
79
79
  }))
80
80
 
81
- import { generateCommitMessage } from "../../../src/saeeol/commit-message/generate"
81
+ import { generateCommitMessage } from "../../../src/overlay/commit-message/generate"
82
82
 
83
83
  describe("commit-message.generate", () => {
84
84
  beforeEach(() => {
@@ -11,7 +11,7 @@ import {
11
11
  mapStatus,
12
12
  isUntracked,
13
13
  MAX_DIFF_LENGTH,
14
- } from "../../../src/saeeol/commit-message/git-context"
14
+ } from "../../../src/overlay/commit-message/git-context"
15
15
 
16
16
  // ── Helper: stage files in a temp git repo ──────────────────────────
17
17
  async function stage(dir: string, files: Record<string, string>) {
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, spyOn, test } from "bun:test"
2
- import { getGitContext } from "../../src/saeeol/commit-message/git-context"
2
+ import { getGitContext } from "../../src/overlay/commit-message/git-context"
3
3
 
4
4
  describe("commit-message git context", () => {
5
5
  test("hides Windows console windows for git subprocesses", async () => {
@@ -5,7 +5,7 @@ import * as Stream from "effect/Stream"
5
5
  import { Agent } from "../../src/agent/agent"
6
6
  import { Bus } from "../../src/bus"
7
7
  import { Config } from "../../src/config/config"
8
- import { SaeeolCompactionPayloadRecovery } from "../../src/saeeol/session/compaction-payload-recovery"
8
+ import { SaeeolCompactionPayloadRecovery } from "../../src/overlay/session/compaction-payload-recovery"
9
9
  import { Permission } from "../../src/permission"
10
10
  import { Plugin } from "../../src/plugin"
11
11
  import { Instance } from "../../src/project/instance"
@@ -12,7 +12,7 @@ import { Auth } from "../../../src/auth"
12
12
  import { Config } from "../../../src/config/config"
13
13
  import { ConfigMarkdown } from "../../../src/config/markdown"
14
14
  import { Env } from "../../../src/env"
15
- import { SaeeolIndexing } from "../../../src/saeeol/indexing"
15
+ import { SaeeolIndexing } from "../../../src/overlay/indexing"
16
16
  import { Instance } from "../../../src/project/instance"
17
17
  import { Filesystem } from "../../../src/util/filesystem"
18
18
  import { disposeAllInstances, tmpdir } from "../../fixture/fixture"
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { SaeeolConfigInjector } from "../../src/saeeol/config-injector"
2
+ import { SaeeolConfigInjector } from "../../src/overlay/config-injector"
3
3
  import { tmpdir } from "../fixture/fixture"
4
4
  import path from "path"
5
5
  import fs from "fs/promises"
@@ -1,6 +1,6 @@
1
1
  import { afterEach, describe, expect, test } from "bun:test"
2
2
  import path from "path"
3
- import { ConfigValidation } from "../../src/saeeol/config-validation"
3
+ import { ConfigValidation } from "../../src/overlay/config-validation"
4
4
  import { Instance } from "../../src/project/instance"
5
5
  import { Config } from "../../src/config/config"
6
6
  import { Filesystem } from "../../src/util/filesystem"
@@ -6,7 +6,7 @@ import { afterEach, describe, expect } from "bun:test"
6
6
  import { Effect, Layer } from "effect"
7
7
  import { Bus } from "../../src/bus"
8
8
  import * as CrossSpawnSpawner from "@saeeol/core/cross-spawn-spawner"
9
- import { SaeeolCostPropagation } from "../../src/saeeol/session/cost-propagation"
9
+ import { SaeeolCostPropagation } from "../../src/overlay/session/cost-propagation"
10
10
  import { Instance } from "../../src/project/instance"
11
11
  import { ProviderID, ModelID } from "../../src/provider/schema"
12
12
  import { Session } from "../../src/session/session"
@@ -9,7 +9,7 @@
9
9
 
10
10
  import { describe, expect, it } from "bun:test"
11
11
  import * as Config from "../../src/config/config"
12
- import { SaeeolConfig } from "../../src/saeeol/config/config"
12
+ import { SaeeolConfig } from "../../src/overlay/config/config"
13
13
 
14
14
  describe("Config.Info — null sentinels for custom provider deletes", () => {
15
15
  it("accepts a null model value inside a provider", () => {
@@ -6,7 +6,7 @@ import { describe, expect } from "bun:test"
6
6
  import { Effect, Layer } from "effect"
7
7
  import path from "path"
8
8
  import * as CrossSpawnSpawner from "@saeeol/core/cross-spawn-spawner"
9
- import { DiffFull } from "../../src/saeeol/snapshot/diff-full"
9
+ import { DiffFull } from "../../src/overlay/snapshot/diff-full"
10
10
  import { Filesystem } from "../../src/util/filesystem"
11
11
  import * as Log from "@saeeol/core/util/log"
12
12
  import { tmpdirScoped } from "../fixture/fixture"
@@ -10,7 +10,7 @@ import fs from "fs/promises"
10
10
  import os from "os"
11
11
  import path from "path"
12
12
  import iconv from "iconv-lite"
13
- import * as Encoding from "../../src/saeeol/encoding"
13
+ import * as Encoding from "../../src/overlay/encoding"
14
14
 
15
15
  const BOM = {
16
16
  utf8: Buffer.from([0xef, 0xbb, 0xbf]),
@@ -1,5 +1,5 @@
1
1
  import { describe, it, expect } from "bun:test"
2
- import { clean, INSTRUCTION } from "../../src/saeeol/enhance-prompt"
2
+ import { clean, INSTRUCTION } from "../../src/overlay/enhance-prompt"
3
3
 
4
4
  describe("enhance-prompt", () => {
5
5
  describe("instruction", () => {
@@ -1,7 +1,7 @@
1
1
  import { describe, expect, test } from "bun:test"
2
2
  import fs from "fs/promises"
3
3
  import path from "path"
4
- import { SaeeolSessionPrompt } from "../../src/saeeol/session/prompt"
4
+ import { SaeeolSessionPrompt } from "../../src/overlay/session/prompt"
5
5
  import { tmpdir } from "../fixture/fixture"
6
6
 
7
7
  describe("SaeeolSessionPrompt.ensurePlanDir", () => {
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect } from "bun:test"
2
2
  import { MessageV2 } from "../../src/session/message-v2"
3
- import { SAEEOL_ERROR_CODES, isSaeeolError, parseSaeeolErrorCode } from "../../src/saeeol/errors"
3
+ import { SAEEOL_ERROR_CODES, isSaeeolError, parseSaeeolErrorCode } from "../../src/overlay/errors"
4
4
  import { SessionRetry } from "../../src/session/retry"
5
5
  import { NamedError } from "@saeeol/core/util/error"
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { describe, test, expect } from "bun:test"
2
2
  import path from "path"
3
- import { generateHelp, generateCommandTable } from "../../src/saeeol/help"
3
+ import { generateHelp, generateCommandTable } from "../../src/overlay/help"
4
4
  import { AcpCommand } from "../../src/cli/cmd/acp"
5
5
  import { McpCommand } from "../../src/cli/cmd/mcp"
6
6
  import { RunCommand } from "../../src/cli/cmd/run"
@@ -22,7 +22,7 @@ import { RemoteCommand } from "../../src/cli/cmd/remote"
22
22
  import { ConfigCommand as ConfigCLICommand } from "../../src/cli/cmd/config"
23
23
  import { PluginCommand } from "../../src/cli/cmd/plug"
24
24
  import { DbCommand } from "../../src/cli/cmd/db"
25
- import { HelpCommand } from "../../src/saeeol/help-command"
25
+ import { HelpCommand } from "../../src/overlay/help-command"
26
26
 
27
27
  // Stand-in for TuiThreadCommand — the real one imports @opentui/solid which
28
28
  // doesn't resolve in the test environment. Only command/describe matter here.
@@ -174,7 +174,7 @@ describe("generateCommandTable", () => {
174
174
  describe("commands.ts stays in sync with index.ts", () => {
175
175
  test("every .command() in index.ts has an entry in the commands array", async () => {
176
176
  const index = await Bun.file(path.resolve(import.meta.dir, "../../src/index.ts")).text()
177
- const barrel = await Bun.file(path.resolve(import.meta.dir, "../../src/saeeol/commands.ts")).text()
177
+ const barrel = await Bun.file(path.resolve(import.meta.dir, "../../src/overlay/commands.ts")).text()
178
178
 
179
179
  // Match uncommented .command(XxxCommand) calls in index.ts
180
180
  const registered = [...index.matchAll(/^\s*\.command\((\w+)\)/gm)].map((m) => m[1]!)
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { IgnoreMigrator } from "../../src/saeeol/ignore-migrator"
2
+ import { IgnoreMigrator } from "../../src/overlay/ignore-migrator"
3
3
  import { tmpdir } from "../fixture/fixture"
4
4
  import path from "path"
5
5
 
@@ -3,7 +3,7 @@ import {
3
3
  hasSaeeolIndexingAuth,
4
4
  resolveSaeeolIndexingAuth,
5
5
  shouldDefaultIndexingToSaeeol,
6
- } from "../../src/saeeol/indexing-auth"
6
+ } from "../../src/overlay/indexing-auth"
7
7
 
8
8
  describe("Saeeol indexing auth resolution", () => {
9
9
  test("detects auth from explicit indexing Saeeol config", () => {
@@ -4,7 +4,7 @@ import {
4
4
  indexingEnabled,
5
5
  INDEXING_PLUGIN,
6
6
  resolveIndexingPlugin,
7
- } from "../../src/saeeol/indexing-feature"
7
+ } from "../../src/overlay/indexing-feature"
8
8
 
9
9
  describe("indexing plugin helpers", () => {
10
10
  test("detects plugin-enabled configs", () => {
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from "bun:test"
2
- import { formatIndexingLabel } from "../../src/saeeol/indexing-label"
2
+ import { formatIndexingLabel } from "../../src/overlay/indexing-label"
3
3
 
4
4
  describe("indexing label", () => {
5
5
  test("formats in-progress status with counts", () => {
@@ -3,7 +3,7 @@ import { CodeIndexManager } from "@saeeol/indexing/engine"
3
3
  import type { Config } from "../../src/config/config"
4
4
  import { GlobalBus } from "../../src/bus/global"
5
5
  import { getBootstrapRunEffect } from "../../src/effect/app-runtime"
6
- import { SaeeolIndexing } from "../../src/saeeol/indexing"
6
+ import { SaeeolIndexing } from "../../src/overlay/indexing"
7
7
  import { Instance } from "../../src/project/instance"
8
8
  import { Server } from "../../src/server/server"
9
9
  import * as Log from "@saeeol/core/util/log"
@@ -2,7 +2,7 @@ import { afterEach, describe, expect, test } from "bun:test"
2
2
  import { mkdir } from "node:fs/promises"
3
3
  import type { Config } from "../../src/config/config"
4
4
  import { getBootstrapRunEffect } from "../../src/effect/app-runtime"
5
- import { SaeeolIndexing } from "../../src/saeeol/indexing"
5
+ import { SaeeolIndexing } from "../../src/overlay/indexing"
6
6
  import { Instance } from "../../src/project/instance"
7
7
  import { disposeAllInstances, tmpdir } from "../fixture/fixture"
8
8
 
@@ -17,21 +17,21 @@ const prev = process.env[env]
17
17
 
18
18
  describe("LanceDBRuntime", () => {
19
19
  beforeEach(async () => {
20
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
20
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
21
21
  LanceDBRuntime.clear()
22
22
  add.mockClear()
23
23
  add.mockImplementation(async () => ({ directory: "/tmp/saeeol-cache", entrypoint: entry }))
24
24
  })
25
25
 
26
26
  afterEach(async () => {
27
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
27
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
28
28
  LanceDBRuntime.clear()
29
29
  if (prev === undefined) delete process.env[env]
30
30
  if (prev !== undefined) process.env[env] = prev
31
31
  })
32
32
 
33
33
  test("skips installation for non-lancedb backends", async () => {
34
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
34
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
35
35
 
36
36
  await LanceDBRuntime.ensure("qdrant")
37
37
 
@@ -40,7 +40,7 @@ describe("LanceDBRuntime", () => {
40
40
  })
41
41
 
42
42
  test("installs the pinned package and exports a file URL for lancedb", async () => {
43
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
43
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
44
44
 
45
45
  await LanceDBRuntime.ensure("lancedb")
46
46
 
@@ -49,7 +49,7 @@ describe("LanceDBRuntime", () => {
49
49
  })
50
50
 
51
51
  test("exposes every LanceDB package that must stay external to bun compile", async () => {
52
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
52
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
53
53
 
54
54
  expect(LanceDBRuntime.external).toEqual([
55
55
  "@lancedb/lancedb",
@@ -64,7 +64,7 @@ describe("LanceDBRuntime", () => {
64
64
  })
65
65
 
66
66
  test("skips install when runtime path is already set", async () => {
67
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
67
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
68
68
  process.env[env] = "file:///already/set.js"
69
69
 
70
70
  await LanceDBRuntime.ensure("lancedb")
@@ -74,7 +74,7 @@ describe("LanceDBRuntime", () => {
74
74
  })
75
75
 
76
76
  test("dedupes concurrent ensure calls", async () => {
77
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
77
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
78
78
 
79
79
  await Promise.all([
80
80
  LanceDBRuntime.ensure("lancedb"),
@@ -87,7 +87,7 @@ describe("LanceDBRuntime", () => {
87
87
  })
88
88
 
89
89
  test("surfaces install failures without swallowing them", async () => {
90
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
90
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
91
91
  add.mockImplementationOnce(async () => {
92
92
  throw new Error("registry unavailable")
93
93
  })
@@ -97,7 +97,7 @@ describe("LanceDBRuntime", () => {
97
97
  })
98
98
 
99
99
  test("retries after a failed install", async () => {
100
- const { LanceDBRuntime } = await import("../../src/saeeol/lancedb")
100
+ const { LanceDBRuntime } = await import("../../src/overlay/lancedb")
101
101
  add
102
102
  .mockImplementationOnce(async () => {
103
103
  throw new Error("install failed")
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from "bun:test"
2
- import { plain, session, supports, tui } from "../../src/saeeol/cli/logo"
2
+ import { plain, session, supports, tui } from "../../src/overlay/cli/logo"
3
3
 
4
4
  describe("saeeol logo", () => {
5
5
  test("falls back on remote terminals", () => {
@@ -5,8 +5,8 @@
5
5
  import { describe, test, expect, spyOn, afterEach } from "bun:test"
6
6
  import path from "path"
7
7
  import * as LSPServer from "../../src/lsp/server"
8
- import { TsClient } from "../../src/saeeol/ts-client"
9
- import { TsCheck } from "../../src/saeeol/ts-check"
8
+ import { TsClient } from "../../src/overlay/ts-client"
9
+ import { TsCheck } from "../../src/overlay/ts-check"
10
10
  import { Flag } from "@saeeol/core/flag/flag"
11
11
  import { Instance, type InstanceContext } from "../../src/project/instance"
12
12
  import { disposeAllInstances } from "../fixture/fixture"
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { McpMigrator } from "../../src/saeeol/mcp-migrator"
2
+ import { McpMigrator } from "../../src/overlay/mcp-migrator"
3
3
  import { tmpdir } from "../fixture/fixture"
4
4
  import path from "path"
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, test } from "bun:test"
2
- import { avgPrice, fmtCachedPrice, fmtContext, fmtPrice } from "../../src/saeeol/components/model-info-panel-utils"
2
+ import { avgPrice, fmtCachedPrice, fmtContext, fmtPrice } from "../../src/overlay/components/model-info-panel-utils"
3
3
 
4
4
  describe("model info panel price formatting", () => {
5
5
  test("fmtPrice returns Free for zero", () => {
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { ModesMigrator } from "../../src/saeeol/modes-migrator"
2
+ import { ModesMigrator } from "../../src/overlay/modes-migrator"
3
3
  import { tmpdir } from "../fixture/fixture"
4
4
  import path from "path"
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { test, expect, describe } from "bun:test"
2
- import { SaeeolPaths } from "../../src/saeeol/paths"
2
+ import { SaeeolPaths } from "../../src/overlay/paths"
3
3
  import { tmpdir } from "../fixture/fixture"
4
4
  import path from "path"
5
5
  import fs from "fs/promises"
@@ -1,8 +1,8 @@
1
1
  import path from "path"
2
2
  import { describe, expect, test } from "bun:test"
3
- import { ConfigProtection } from "../../../src/saeeol/permission/config-paths"
3
+ import { ConfigProtection } from "../../../src/overlay/permission/config-paths"
4
4
  import { Global } from "@saeeol/core/global"
5
- import { SaeeolPaths } from "../../../src/saeeol/paths"
5
+ import { SaeeolPaths } from "../../../src/overlay/paths"
6
6
 
7
7
  describe("ConfigProtection.isRequest", () => {
8
8
  const config = path.resolve(Global.Path.config)
@@ -15,7 +15,7 @@ import { Truncate } from "../../../src/tool/truncate"
15
15
  import { BashTool } from "../../../src/tool/bash"
16
16
  import { Plugin } from "../../../src/plugin"
17
17
  import { disposeAllInstances, tmpdir } from "../../fixture/fixture"
18
- import { ConfigProtection } from "../../../src/saeeol/permission/config-paths"
18
+ import { ConfigProtection } from "../../../src/overlay/permission/config-paths"
19
19
 
20
20
  const runtime = ManagedRuntime.make(
21
21
  Layer.mergeAll(
@@ -5,7 +5,7 @@ import { Identifier } from "../../src/id/id"
5
5
  import { SessionID, MessageID, PartID } from "../../src/session/schema"
6
6
  import { ModelID, ProviderID } from "../../src/provider/schema"
7
7
  import { Instance } from "../../src/project/instance"
8
- import { PlanFollowup } from "../../src/saeeol/plan-followup"
8
+ import { PlanFollowup } from "../../src/overlay/plan-followup"
9
9
  import { Question } from "../../src/question"
10
10
  import { Session } from "../../src/session/session"
11
11
  import { MessageV2 } from "../../src/session/message-v2"
@@ -5,7 +5,7 @@ import { TuiEvent } from "../../src/cli/cmd/tui/event"
5
5
  import { Identifier } from "../../src/id/id"
6
6
  import { SessionID, MessageID, PartID } from "../../src/session/schema"
7
7
  import { ModelID, ProviderID } from "../../src/provider/schema"
8
- import { formatTodos, generateHandover, PlanFollowup, PlanFollowupRuntime } from "../../src/saeeol/plan-followup"
8
+ import { formatTodos, generateHandover, PlanFollowup, PlanFollowupRuntime } from "../../src/overlay/plan-followup"
9
9
  import { Instance } from "../../src/project/instance"
10
10
  import { Provider } from "../../src/provider/provider"
11
11
  import { Question } from "../../src/question"
@@ -477,7 +477,7 @@ describe("plan follow-up", () => {
477
477
 
478
478
  test("ask - retargets prompt queue so injected message is visible in scope", () =>
479
479
  withInstance(async () => {
480
- const { SaeeolSessionPromptQueue } = await import("../../src/saeeol/session/prompt-queue")
480
+ const { SaeeolSessionPromptQueue } = await import("../../src/overlay/session/prompt-queue")
481
481
  const seeded = await seed({ text: "1. Refactor\n2. Ship" })
482
482
 
483
483
  // Simulate the prompt queue having a target set (like during a running loop)
@@ -3,7 +3,7 @@ import { tmpdir } from "../fixture/fixture"
3
3
  import path from "path"
4
4
  import fs from "fs/promises"
5
5
  import { Instance } from "../../src/project/instance"
6
- import { getSaeeolProjectId } from "../../src/saeeol/project-id"
6
+ import { getSaeeolProjectId } from "../../src/overlay/project-id"
7
7
 
8
8
  describe("project-id", () => {
9
9
  describe("normalization", () => {