@aion0/forge 0.6.1 → 0.6.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 (2985) hide show
  1. package/.forge/agent-context.json +3 -3
  2. package/.forge/mcp.json +1 -1
  3. package/RELEASE_NOTES.md +6 -6
  4. package/components/SettingsModal.tsx +2 -2
  5. package/components/TerminalLauncher.tsx +3 -1
  6. package/components/WorkspaceView.tsx +18 -10
  7. package/lib/agents/index.ts +44 -6
  8. package/lib/agents/types.ts +1 -1
  9. package/lib/help-docs/01-settings.md +2 -2
  10. package/lib/help-docs/10-troubleshooting.md +10 -2
  11. package/lib/terminal-standalone.ts +58 -36
  12. package/lib/workspace/orchestrator.ts +1 -0
  13. package/next-env.d.ts +1 -1
  14. package/package.json +1 -1
  15. package/reviewer/.forge/agent-context.json +6 -0
  16. package/.forge/memory/graph.json +0 -1
  17. package/.forge/memory/knowledge.json +0 -18
  18. package/.forge/memory/meta.json +0 -7
  19. package/.forge/migration/endpoints.json +0 -1
  20. package/.forge/worktrees/pipeline-0a33c50d/CLAUDE.md +0 -86
  21. package/.forge/worktrees/pipeline-0a33c50d/README.md +0 -136
  22. package/.forge/worktrees/pipeline-0a33c50d/RELEASE_NOTES.md +0 -11
  23. package/.forge/worktrees/pipeline-0a33c50d/app/api/agents/route.ts +0 -17
  24. package/.forge/worktrees/pipeline-0a33c50d/app/api/auth/[...nextauth]/route.ts +0 -3
  25. package/.forge/worktrees/pipeline-0a33c50d/app/api/auth/verify/route.ts +0 -46
  26. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude/[id]/route.ts +0 -31
  27. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude/[id]/stream/route.ts +0 -63
  28. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude/route.ts +0 -28
  29. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  30. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  31. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude-sessions/[projectName]/route.ts +0 -37
  32. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude-sessions/sync/route.ts +0 -17
  33. package/.forge/worktrees/pipeline-0a33c50d/app/api/claude-templates/route.ts +0 -145
  34. package/.forge/worktrees/pipeline-0a33c50d/app/api/code/route.ts +0 -299
  35. package/.forge/worktrees/pipeline-0a33c50d/app/api/delivery/[id]/route.ts +0 -62
  36. package/.forge/worktrees/pipeline-0a33c50d/app/api/delivery/route.ts +0 -40
  37. package/.forge/worktrees/pipeline-0a33c50d/app/api/detect-cli/route.ts +0 -46
  38. package/.forge/worktrees/pipeline-0a33c50d/app/api/docs/route.ts +0 -176
  39. package/.forge/worktrees/pipeline-0a33c50d/app/api/docs/sessions/route.ts +0 -54
  40. package/.forge/worktrees/pipeline-0a33c50d/app/api/favorites/route.ts +0 -26
  41. package/.forge/worktrees/pipeline-0a33c50d/app/api/flows/route.ts +0 -6
  42. package/.forge/worktrees/pipeline-0a33c50d/app/api/flows/run/route.ts +0 -19
  43. package/.forge/worktrees/pipeline-0a33c50d/app/api/git/route.ts +0 -149
  44. package/.forge/worktrees/pipeline-0a33c50d/app/api/help/route.ts +0 -84
  45. package/.forge/worktrees/pipeline-0a33c50d/app/api/issue-scanner/route.ts +0 -116
  46. package/.forge/worktrees/pipeline-0a33c50d/app/api/logs/route.ts +0 -100
  47. package/.forge/worktrees/pipeline-0a33c50d/app/api/mobile-chat/route.ts +0 -115
  48. package/.forge/worktrees/pipeline-0a33c50d/app/api/monitor/route.ts +0 -74
  49. package/.forge/worktrees/pipeline-0a33c50d/app/api/notifications/route.ts +0 -42
  50. package/.forge/worktrees/pipeline-0a33c50d/app/api/notify/test/route.ts +0 -33
  51. package/.forge/worktrees/pipeline-0a33c50d/app/api/online/route.ts +0 -40
  52. package/.forge/worktrees/pipeline-0a33c50d/app/api/pipelines/[id]/route.ts +0 -41
  53. package/.forge/worktrees/pipeline-0a33c50d/app/api/pipelines/route.ts +0 -90
  54. package/.forge/worktrees/pipeline-0a33c50d/app/api/plugins/route.ts +0 -75
  55. package/.forge/worktrees/pipeline-0a33c50d/app/api/preview/[...path]/route.ts +0 -64
  56. package/.forge/worktrees/pipeline-0a33c50d/app/api/preview/route.ts +0 -156
  57. package/.forge/worktrees/pipeline-0a33c50d/app/api/project-pipelines/route.ts +0 -91
  58. package/.forge/worktrees/pipeline-0a33c50d/app/api/project-sessions/route.ts +0 -61
  59. package/.forge/worktrees/pipeline-0a33c50d/app/api/projects/route.ts +0 -26
  60. package/.forge/worktrees/pipeline-0a33c50d/app/api/sessions/[id]/chat/route.ts +0 -64
  61. package/.forge/worktrees/pipeline-0a33c50d/app/api/sessions/[id]/messages/route.ts +0 -9
  62. package/.forge/worktrees/pipeline-0a33c50d/app/api/sessions/[id]/route.ts +0 -17
  63. package/.forge/worktrees/pipeline-0a33c50d/app/api/sessions/route.ts +0 -20
  64. package/.forge/worktrees/pipeline-0a33c50d/app/api/settings/route.ts +0 -64
  65. package/.forge/worktrees/pipeline-0a33c50d/app/api/skills/local/route.ts +0 -228
  66. package/.forge/worktrees/pipeline-0a33c50d/app/api/skills/route.ts +0 -182
  67. package/.forge/worktrees/pipeline-0a33c50d/app/api/smith-templates/route.ts +0 -81
  68. package/.forge/worktrees/pipeline-0a33c50d/app/api/status/route.ts +0 -12
  69. package/.forge/worktrees/pipeline-0a33c50d/app/api/tabs/route.ts +0 -25
  70. package/.forge/worktrees/pipeline-0a33c50d/app/api/tasks/[id]/route.ts +0 -51
  71. package/.forge/worktrees/pipeline-0a33c50d/app/api/tasks/[id]/stream/route.ts +0 -77
  72. package/.forge/worktrees/pipeline-0a33c50d/app/api/tasks/link/route.ts +0 -37
  73. package/.forge/worktrees/pipeline-0a33c50d/app/api/tasks/route.ts +0 -44
  74. package/.forge/worktrees/pipeline-0a33c50d/app/api/tasks/session/route.ts +0 -14
  75. package/.forge/worktrees/pipeline-0a33c50d/app/api/telegram/route.ts +0 -23
  76. package/.forge/worktrees/pipeline-0a33c50d/app/api/templates/route.ts +0 -6
  77. package/.forge/worktrees/pipeline-0a33c50d/app/api/terminal-bell/route.ts +0 -35
  78. package/.forge/worktrees/pipeline-0a33c50d/app/api/terminal-cwd/route.ts +0 -19
  79. package/.forge/worktrees/pipeline-0a33c50d/app/api/terminal-state/route.ts +0 -15
  80. package/.forge/worktrees/pipeline-0a33c50d/app/api/tunnel/route.ts +0 -26
  81. package/.forge/worktrees/pipeline-0a33c50d/app/api/upgrade/route.ts +0 -43
  82. package/.forge/worktrees/pipeline-0a33c50d/app/api/usage/route.ts +0 -20
  83. package/.forge/worktrees/pipeline-0a33c50d/app/api/version/route.ts +0 -78
  84. package/.forge/worktrees/pipeline-0a33c50d/app/api/watchers/route.ts +0 -33
  85. package/.forge/worktrees/pipeline-0a33c50d/app/api/workspace/[id]/agents/route.ts +0 -35
  86. package/.forge/worktrees/pipeline-0a33c50d/app/api/workspace/[id]/memory/route.ts +0 -23
  87. package/.forge/worktrees/pipeline-0a33c50d/app/api/workspace/[id]/smith/route.ts +0 -22
  88. package/.forge/worktrees/pipeline-0a33c50d/app/api/workspace/[id]/stream/route.ts +0 -28
  89. package/.forge/worktrees/pipeline-0a33c50d/app/api/workspace/route.ts +0 -100
  90. package/.forge/worktrees/pipeline-0a33c50d/app/global-error.tsx +0 -21
  91. package/.forge/worktrees/pipeline-0a33c50d/app/globals.css +0 -52
  92. package/.forge/worktrees/pipeline-0a33c50d/app/icon.ico +0 -0
  93. package/.forge/worktrees/pipeline-0a33c50d/app/icon.png +0 -0
  94. package/.forge/worktrees/pipeline-0a33c50d/app/icon.svg +0 -106
  95. package/.forge/worktrees/pipeline-0a33c50d/app/layout.tsx +0 -17
  96. package/.forge/worktrees/pipeline-0a33c50d/app/login/LoginForm.tsx +0 -96
  97. package/.forge/worktrees/pipeline-0a33c50d/app/login/page.tsx +0 -10
  98. package/.forge/worktrees/pipeline-0a33c50d/app/mobile/page.tsx +0 -9
  99. package/.forge/worktrees/pipeline-0a33c50d/app/page.tsx +0 -21
  100. package/.forge/worktrees/pipeline-0a33c50d/bin/forge-server.mjs +0 -484
  101. package/.forge/worktrees/pipeline-0a33c50d/check-forge-status.sh +0 -71
  102. package/.forge/worktrees/pipeline-0a33c50d/cli/mw.ts +0 -579
  103. package/.forge/worktrees/pipeline-0a33c50d/components/BrowserPanel.tsx +0 -175
  104. package/.forge/worktrees/pipeline-0a33c50d/components/ChatPanel.tsx +0 -191
  105. package/.forge/worktrees/pipeline-0a33c50d/components/ClaudeTerminal.tsx +0 -267
  106. package/.forge/worktrees/pipeline-0a33c50d/components/CodeViewer.tsx +0 -787
  107. package/.forge/worktrees/pipeline-0a33c50d/components/ConversationEditor.tsx +0 -411
  108. package/.forge/worktrees/pipeline-0a33c50d/components/ConversationGraphView.tsx +0 -347
  109. package/.forge/worktrees/pipeline-0a33c50d/components/ConversationTerminalView.tsx +0 -303
  110. package/.forge/worktrees/pipeline-0a33c50d/components/Dashboard.tsx +0 -807
  111. package/.forge/worktrees/pipeline-0a33c50d/components/DashboardWrapper.tsx +0 -9
  112. package/.forge/worktrees/pipeline-0a33c50d/components/DeliveryFlowEditor.tsx +0 -491
  113. package/.forge/worktrees/pipeline-0a33c50d/components/DeliveryList.tsx +0 -230
  114. package/.forge/worktrees/pipeline-0a33c50d/components/DeliveryWorkspace.tsx +0 -589
  115. package/.forge/worktrees/pipeline-0a33c50d/components/DocTerminal.tsx +0 -187
  116. package/.forge/worktrees/pipeline-0a33c50d/components/DocsViewer.tsx +0 -574
  117. package/.forge/worktrees/pipeline-0a33c50d/components/HelpDialog.tsx +0 -169
  118. package/.forge/worktrees/pipeline-0a33c50d/components/HelpTerminal.tsx +0 -141
  119. package/.forge/worktrees/pipeline-0a33c50d/components/InlinePipelineView.tsx +0 -111
  120. package/.forge/worktrees/pipeline-0a33c50d/components/LogViewer.tsx +0 -194
  121. package/.forge/worktrees/pipeline-0a33c50d/components/MarkdownContent.tsx +0 -73
  122. package/.forge/worktrees/pipeline-0a33c50d/components/MobileView.tsx +0 -385
  123. package/.forge/worktrees/pipeline-0a33c50d/components/MonitorPanel.tsx +0 -122
  124. package/.forge/worktrees/pipeline-0a33c50d/components/NewSessionModal.tsx +0 -93
  125. package/.forge/worktrees/pipeline-0a33c50d/components/NewTaskModal.tsx +0 -492
  126. package/.forge/worktrees/pipeline-0a33c50d/components/PipelineEditor.tsx +0 -570
  127. package/.forge/worktrees/pipeline-0a33c50d/components/PipelineView.tsx +0 -1018
  128. package/.forge/worktrees/pipeline-0a33c50d/components/PluginsPanel.tsx +0 -472
  129. package/.forge/worktrees/pipeline-0a33c50d/components/ProjectDetail.tsx +0 -1618
  130. package/.forge/worktrees/pipeline-0a33c50d/components/ProjectList.tsx +0 -108
  131. package/.forge/worktrees/pipeline-0a33c50d/components/ProjectManager.tsx +0 -401
  132. package/.forge/worktrees/pipeline-0a33c50d/components/SessionList.tsx +0 -74
  133. package/.forge/worktrees/pipeline-0a33c50d/components/SessionView.tsx +0 -726
  134. package/.forge/worktrees/pipeline-0a33c50d/components/SettingsModal.tsx +0 -1647
  135. package/.forge/worktrees/pipeline-0a33c50d/components/SkillsPanel.tsx +0 -969
  136. package/.forge/worktrees/pipeline-0a33c50d/components/StatusBar.tsx +0 -99
  137. package/.forge/worktrees/pipeline-0a33c50d/components/TabBar.tsx +0 -46
  138. package/.forge/worktrees/pipeline-0a33c50d/components/TaskBoard.tsx +0 -113
  139. package/.forge/worktrees/pipeline-0a33c50d/components/TaskDetail.tsx +0 -372
  140. package/.forge/worktrees/pipeline-0a33c50d/components/TerminalLauncher.tsx +0 -398
  141. package/.forge/worktrees/pipeline-0a33c50d/components/TunnelToggle.tsx +0 -206
  142. package/.forge/worktrees/pipeline-0a33c50d/components/UsagePanel.tsx +0 -207
  143. package/.forge/worktrees/pipeline-0a33c50d/components/WebTerminal.tsx +0 -1683
  144. package/.forge/worktrees/pipeline-0a33c50d/components/WorkspaceTree.tsx +0 -221
  145. package/.forge/worktrees/pipeline-0a33c50d/components/WorkspaceView.tsx +0 -4048
  146. package/.forge/worktrees/pipeline-0a33c50d/dev-test.sh +0 -5
  147. package/.forge/worktrees/pipeline-0a33c50d/docs/Forge_Memory_Layer_Design.docx +0 -0
  148. package/.forge/worktrees/pipeline-0a33c50d/docs/Forge_Strategy_Research_2026.docx +0 -0
  149. package/.forge/worktrees/pipeline-0a33c50d/docs/LOCAL-DEPLOY.md +0 -144
  150. package/.forge/worktrees/pipeline-0a33c50d/docs/roadmap-multi-agent-workflow.md +0 -330
  151. package/.forge/worktrees/pipeline-0a33c50d/forge-logo.png +0 -0
  152. package/.forge/worktrees/pipeline-0a33c50d/forge-logo.svg +0 -106
  153. package/.forge/worktrees/pipeline-0a33c50d/hooks/useSidebarResize.ts +0 -52
  154. package/.forge/worktrees/pipeline-0a33c50d/install.sh +0 -29
  155. package/.forge/worktrees/pipeline-0a33c50d/instrumentation.ts +0 -35
  156. package/.forge/worktrees/pipeline-0a33c50d/lib/agents/claude-adapter.ts +0 -104
  157. package/.forge/worktrees/pipeline-0a33c50d/lib/agents/generic-adapter.ts +0 -64
  158. package/.forge/worktrees/pipeline-0a33c50d/lib/agents/index.ts +0 -245
  159. package/.forge/worktrees/pipeline-0a33c50d/lib/agents/types.ts +0 -70
  160. package/.forge/worktrees/pipeline-0a33c50d/lib/artifacts.ts +0 -106
  161. package/.forge/worktrees/pipeline-0a33c50d/lib/auth.ts +0 -62
  162. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/docker.yaml +0 -70
  163. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/http.yaml +0 -66
  164. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/jenkins.yaml +0 -92
  165. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/llm-vision.yaml +0 -85
  166. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/playwright.yaml +0 -111
  167. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/shell-command.yaml +0 -60
  168. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/slack.yaml +0 -48
  169. package/.forge/worktrees/pipeline-0a33c50d/lib/builtin-plugins/webhook.yaml +0 -56
  170. package/.forge/worktrees/pipeline-0a33c50d/lib/claude-process.ts +0 -352
  171. package/.forge/worktrees/pipeline-0a33c50d/lib/claude-sessions.ts +0 -266
  172. package/.forge/worktrees/pipeline-0a33c50d/lib/claude-templates.ts +0 -227
  173. package/.forge/worktrees/pipeline-0a33c50d/lib/cloudflared.ts +0 -424
  174. package/.forge/worktrees/pipeline-0a33c50d/lib/crypto.ts +0 -67
  175. package/.forge/worktrees/pipeline-0a33c50d/lib/delivery.ts +0 -787
  176. package/.forge/worktrees/pipeline-0a33c50d/lib/dirs.ts +0 -99
  177. package/.forge/worktrees/pipeline-0a33c50d/lib/flows.ts +0 -86
  178. package/.forge/worktrees/pipeline-0a33c50d/lib/forge-mcp-server.ts +0 -717
  179. package/.forge/worktrees/pipeline-0a33c50d/lib/forge-skills/forge-inbox.md +0 -38
  180. package/.forge/worktrees/pipeline-0a33c50d/lib/forge-skills/forge-send.md +0 -47
  181. package/.forge/worktrees/pipeline-0a33c50d/lib/forge-skills/forge-status.md +0 -32
  182. package/.forge/worktrees/pipeline-0a33c50d/lib/forge-skills/forge-workspace-sync.md +0 -37
  183. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/00-overview.md +0 -40
  184. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/01-settings.md +0 -194
  185. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/02-telegram.md +0 -41
  186. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/03-tunnel.md +0 -31
  187. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/04-tasks.md +0 -52
  188. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/05-pipelines.md +0 -460
  189. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/06-skills.md +0 -43
  190. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/07-projects.md +0 -73
  191. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/08-rules.md +0 -53
  192. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/09-issue-autofix.md +0 -55
  193. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/10-troubleshooting.md +0 -89
  194. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/11-workspace.md +0 -810
  195. package/.forge/worktrees/pipeline-0a33c50d/lib/help-docs/CLAUDE.md +0 -62
  196. package/.forge/worktrees/pipeline-0a33c50d/lib/init.ts +0 -266
  197. package/.forge/worktrees/pipeline-0a33c50d/lib/issue-scanner.ts +0 -298
  198. package/.forge/worktrees/pipeline-0a33c50d/lib/logger.ts +0 -79
  199. package/.forge/worktrees/pipeline-0a33c50d/lib/notifications.ts +0 -75
  200. package/.forge/worktrees/pipeline-0a33c50d/lib/notify.ts +0 -108
  201. package/.forge/worktrees/pipeline-0a33c50d/lib/password.ts +0 -97
  202. package/.forge/worktrees/pipeline-0a33c50d/lib/pipeline-scheduler.ts +0 -373
  203. package/.forge/worktrees/pipeline-0a33c50d/lib/pipeline.ts +0 -1438
  204. package/.forge/worktrees/pipeline-0a33c50d/lib/plugins/executor.ts +0 -347
  205. package/.forge/worktrees/pipeline-0a33c50d/lib/plugins/registry.ts +0 -228
  206. package/.forge/worktrees/pipeline-0a33c50d/lib/plugins/types.ts +0 -103
  207. package/.forge/worktrees/pipeline-0a33c50d/lib/project-sessions.ts +0 -53
  208. package/.forge/worktrees/pipeline-0a33c50d/lib/projects.ts +0 -86
  209. package/.forge/worktrees/pipeline-0a33c50d/lib/session-manager.ts +0 -156
  210. package/.forge/worktrees/pipeline-0a33c50d/lib/session-utils.ts +0 -53
  211. package/.forge/worktrees/pipeline-0a33c50d/lib/session-watcher.ts +0 -345
  212. package/.forge/worktrees/pipeline-0a33c50d/lib/settings.ts +0 -195
  213. package/.forge/worktrees/pipeline-0a33c50d/lib/skills.ts +0 -458
  214. package/.forge/worktrees/pipeline-0a33c50d/lib/task-manager.ts +0 -949
  215. package/.forge/worktrees/pipeline-0a33c50d/lib/telegram-bot.ts +0 -1477
  216. package/.forge/worktrees/pipeline-0a33c50d/lib/telegram-standalone.ts +0 -83
  217. package/.forge/worktrees/pipeline-0a33c50d/lib/terminal-server.ts +0 -70
  218. package/.forge/worktrees/pipeline-0a33c50d/lib/terminal-standalone.ts +0 -421
  219. package/.forge/worktrees/pipeline-0a33c50d/lib/usage-scanner.ts +0 -249
  220. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/__tests__/state-machine.test.ts +0 -388
  221. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/__tests__/workspace.test.ts +0 -311
  222. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/agent-bus.ts +0 -416
  223. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/agent-worker.ts +0 -655
  224. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/backends/api-backend.ts +0 -262
  225. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/backends/cli-backend.ts +0 -491
  226. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/index.ts +0 -82
  227. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/manager.ts +0 -136
  228. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/orchestrator.ts +0 -3400
  229. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/persistence.ts +0 -309
  230. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/presets.ts +0 -649
  231. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/requests.ts +0 -287
  232. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/session-monitor.ts +0 -240
  233. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/skill-installer.ts +0 -275
  234. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/smith-memory.ts +0 -498
  235. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/types.ts +0 -241
  236. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace/watch-manager.ts +0 -560
  237. package/.forge/worktrees/pipeline-0a33c50d/lib/workspace-standalone.ts +0 -911
  238. package/.forge/worktrees/pipeline-0a33c50d/middleware.ts +0 -51
  239. package/.forge/worktrees/pipeline-0a33c50d/next.config.ts +0 -26
  240. package/.forge/worktrees/pipeline-0a33c50d/package.json +0 -74
  241. package/.forge/worktrees/pipeline-0a33c50d/pnpm-lock.yaml +0 -3719
  242. package/.forge/worktrees/pipeline-0a33c50d/pnpm-workspace.yaml +0 -1
  243. package/.forge/worktrees/pipeline-0a33c50d/postcss.config.mjs +0 -7
  244. package/.forge/worktrees/pipeline-0a33c50d/publish.sh +0 -133
  245. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/README.md +0 -66
  246. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/results/.gitignore +0 -2
  247. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/run.ts +0 -635
  248. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/01-text-utils/task.md +0 -26
  249. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  250. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  251. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/02-pagination/task.md +0 -48
  252. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  253. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  254. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  255. package/.forge/worktrees/pipeline-0a33c50d/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  256. package/.forge/worktrees/pipeline-0a33c50d/scripts/verify-usage.ts +0 -178
  257. package/.forge/worktrees/pipeline-0a33c50d/src/config/index.ts +0 -129
  258. package/.forge/worktrees/pipeline-0a33c50d/src/core/db/database.ts +0 -259
  259. package/.forge/worktrees/pipeline-0a33c50d/src/core/memory/strategy.ts +0 -32
  260. package/.forge/worktrees/pipeline-0a33c50d/src/core/providers/chat.ts +0 -65
  261. package/.forge/worktrees/pipeline-0a33c50d/src/core/providers/registry.ts +0 -60
  262. package/.forge/worktrees/pipeline-0a33c50d/src/core/session/manager.ts +0 -190
  263. package/.forge/worktrees/pipeline-0a33c50d/src/types/index.ts +0 -129
  264. package/.forge/worktrees/pipeline-0a33c50d/start.sh +0 -31
  265. package/.forge/worktrees/pipeline-0a33c50d/templates/smith-lead.json +0 -45
  266. package/.forge/worktrees/pipeline-0a33c50d/tsconfig.json +0 -42
  267. package/.forge/worktrees/pipeline-2ba01c10/CLAUDE.md +0 -86
  268. package/.forge/worktrees/pipeline-2ba01c10/README.md +0 -136
  269. package/.forge/worktrees/pipeline-2ba01c10/RELEASE_NOTES.md +0 -11
  270. package/.forge/worktrees/pipeline-2ba01c10/app/api/agents/route.ts +0 -17
  271. package/.forge/worktrees/pipeline-2ba01c10/app/api/auth/[...nextauth]/route.ts +0 -3
  272. package/.forge/worktrees/pipeline-2ba01c10/app/api/auth/verify/route.ts +0 -46
  273. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude/[id]/route.ts +0 -31
  274. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude/[id]/stream/route.ts +0 -63
  275. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude/route.ts +0 -28
  276. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  277. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  278. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude-sessions/[projectName]/route.ts +0 -37
  279. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude-sessions/sync/route.ts +0 -17
  280. package/.forge/worktrees/pipeline-2ba01c10/app/api/claude-templates/route.ts +0 -145
  281. package/.forge/worktrees/pipeline-2ba01c10/app/api/code/route.ts +0 -299
  282. package/.forge/worktrees/pipeline-2ba01c10/app/api/delivery/[id]/route.ts +0 -62
  283. package/.forge/worktrees/pipeline-2ba01c10/app/api/delivery/route.ts +0 -40
  284. package/.forge/worktrees/pipeline-2ba01c10/app/api/detect-cli/route.ts +0 -46
  285. package/.forge/worktrees/pipeline-2ba01c10/app/api/docs/route.ts +0 -176
  286. package/.forge/worktrees/pipeline-2ba01c10/app/api/docs/sessions/route.ts +0 -54
  287. package/.forge/worktrees/pipeline-2ba01c10/app/api/favorites/route.ts +0 -26
  288. package/.forge/worktrees/pipeline-2ba01c10/app/api/flows/route.ts +0 -6
  289. package/.forge/worktrees/pipeline-2ba01c10/app/api/flows/run/route.ts +0 -19
  290. package/.forge/worktrees/pipeline-2ba01c10/app/api/git/route.ts +0 -149
  291. package/.forge/worktrees/pipeline-2ba01c10/app/api/help/route.ts +0 -84
  292. package/.forge/worktrees/pipeline-2ba01c10/app/api/issue-scanner/route.ts +0 -116
  293. package/.forge/worktrees/pipeline-2ba01c10/app/api/logs/route.ts +0 -100
  294. package/.forge/worktrees/pipeline-2ba01c10/app/api/mobile-chat/route.ts +0 -115
  295. package/.forge/worktrees/pipeline-2ba01c10/app/api/monitor/route.ts +0 -74
  296. package/.forge/worktrees/pipeline-2ba01c10/app/api/notifications/route.ts +0 -42
  297. package/.forge/worktrees/pipeline-2ba01c10/app/api/notify/test/route.ts +0 -33
  298. package/.forge/worktrees/pipeline-2ba01c10/app/api/online/route.ts +0 -40
  299. package/.forge/worktrees/pipeline-2ba01c10/app/api/pipelines/[id]/route.ts +0 -41
  300. package/.forge/worktrees/pipeline-2ba01c10/app/api/pipelines/route.ts +0 -90
  301. package/.forge/worktrees/pipeline-2ba01c10/app/api/plugins/route.ts +0 -75
  302. package/.forge/worktrees/pipeline-2ba01c10/app/api/preview/[...path]/route.ts +0 -64
  303. package/.forge/worktrees/pipeline-2ba01c10/app/api/preview/route.ts +0 -156
  304. package/.forge/worktrees/pipeline-2ba01c10/app/api/project-pipelines/route.ts +0 -91
  305. package/.forge/worktrees/pipeline-2ba01c10/app/api/project-sessions/route.ts +0 -61
  306. package/.forge/worktrees/pipeline-2ba01c10/app/api/projects/route.ts +0 -26
  307. package/.forge/worktrees/pipeline-2ba01c10/app/api/sessions/[id]/chat/route.ts +0 -64
  308. package/.forge/worktrees/pipeline-2ba01c10/app/api/sessions/[id]/messages/route.ts +0 -9
  309. package/.forge/worktrees/pipeline-2ba01c10/app/api/sessions/[id]/route.ts +0 -17
  310. package/.forge/worktrees/pipeline-2ba01c10/app/api/sessions/route.ts +0 -20
  311. package/.forge/worktrees/pipeline-2ba01c10/app/api/settings/route.ts +0 -64
  312. package/.forge/worktrees/pipeline-2ba01c10/app/api/skills/local/route.ts +0 -228
  313. package/.forge/worktrees/pipeline-2ba01c10/app/api/skills/route.ts +0 -182
  314. package/.forge/worktrees/pipeline-2ba01c10/app/api/smith-templates/route.ts +0 -81
  315. package/.forge/worktrees/pipeline-2ba01c10/app/api/status/route.ts +0 -12
  316. package/.forge/worktrees/pipeline-2ba01c10/app/api/tabs/route.ts +0 -25
  317. package/.forge/worktrees/pipeline-2ba01c10/app/api/tasks/[id]/route.ts +0 -51
  318. package/.forge/worktrees/pipeline-2ba01c10/app/api/tasks/[id]/stream/route.ts +0 -77
  319. package/.forge/worktrees/pipeline-2ba01c10/app/api/tasks/link/route.ts +0 -37
  320. package/.forge/worktrees/pipeline-2ba01c10/app/api/tasks/route.ts +0 -44
  321. package/.forge/worktrees/pipeline-2ba01c10/app/api/tasks/session/route.ts +0 -14
  322. package/.forge/worktrees/pipeline-2ba01c10/app/api/telegram/route.ts +0 -23
  323. package/.forge/worktrees/pipeline-2ba01c10/app/api/templates/route.ts +0 -6
  324. package/.forge/worktrees/pipeline-2ba01c10/app/api/terminal-bell/route.ts +0 -35
  325. package/.forge/worktrees/pipeline-2ba01c10/app/api/terminal-cwd/route.ts +0 -19
  326. package/.forge/worktrees/pipeline-2ba01c10/app/api/terminal-state/route.ts +0 -15
  327. package/.forge/worktrees/pipeline-2ba01c10/app/api/tunnel/route.ts +0 -26
  328. package/.forge/worktrees/pipeline-2ba01c10/app/api/upgrade/route.ts +0 -43
  329. package/.forge/worktrees/pipeline-2ba01c10/app/api/usage/route.ts +0 -20
  330. package/.forge/worktrees/pipeline-2ba01c10/app/api/version/route.ts +0 -78
  331. package/.forge/worktrees/pipeline-2ba01c10/app/api/watchers/route.ts +0 -33
  332. package/.forge/worktrees/pipeline-2ba01c10/app/api/workspace/[id]/agents/route.ts +0 -35
  333. package/.forge/worktrees/pipeline-2ba01c10/app/api/workspace/[id]/memory/route.ts +0 -23
  334. package/.forge/worktrees/pipeline-2ba01c10/app/api/workspace/[id]/smith/route.ts +0 -22
  335. package/.forge/worktrees/pipeline-2ba01c10/app/api/workspace/[id]/stream/route.ts +0 -28
  336. package/.forge/worktrees/pipeline-2ba01c10/app/api/workspace/route.ts +0 -100
  337. package/.forge/worktrees/pipeline-2ba01c10/app/global-error.tsx +0 -21
  338. package/.forge/worktrees/pipeline-2ba01c10/app/globals.css +0 -52
  339. package/.forge/worktrees/pipeline-2ba01c10/app/icon.ico +0 -0
  340. package/.forge/worktrees/pipeline-2ba01c10/app/icon.png +0 -0
  341. package/.forge/worktrees/pipeline-2ba01c10/app/icon.svg +0 -106
  342. package/.forge/worktrees/pipeline-2ba01c10/app/layout.tsx +0 -17
  343. package/.forge/worktrees/pipeline-2ba01c10/app/login/LoginForm.tsx +0 -96
  344. package/.forge/worktrees/pipeline-2ba01c10/app/login/page.tsx +0 -10
  345. package/.forge/worktrees/pipeline-2ba01c10/app/mobile/page.tsx +0 -9
  346. package/.forge/worktrees/pipeline-2ba01c10/app/page.tsx +0 -21
  347. package/.forge/worktrees/pipeline-2ba01c10/bin/forge-server.mjs +0 -484
  348. package/.forge/worktrees/pipeline-2ba01c10/check-forge-status.sh +0 -71
  349. package/.forge/worktrees/pipeline-2ba01c10/cli/mw.ts +0 -579
  350. package/.forge/worktrees/pipeline-2ba01c10/components/BrowserPanel.tsx +0 -175
  351. package/.forge/worktrees/pipeline-2ba01c10/components/ChatPanel.tsx +0 -191
  352. package/.forge/worktrees/pipeline-2ba01c10/components/ClaudeTerminal.tsx +0 -267
  353. package/.forge/worktrees/pipeline-2ba01c10/components/CodeViewer.tsx +0 -787
  354. package/.forge/worktrees/pipeline-2ba01c10/components/ConversationEditor.tsx +0 -411
  355. package/.forge/worktrees/pipeline-2ba01c10/components/ConversationGraphView.tsx +0 -347
  356. package/.forge/worktrees/pipeline-2ba01c10/components/ConversationTerminalView.tsx +0 -303
  357. package/.forge/worktrees/pipeline-2ba01c10/components/Dashboard.tsx +0 -807
  358. package/.forge/worktrees/pipeline-2ba01c10/components/DashboardWrapper.tsx +0 -9
  359. package/.forge/worktrees/pipeline-2ba01c10/components/DeliveryFlowEditor.tsx +0 -491
  360. package/.forge/worktrees/pipeline-2ba01c10/components/DeliveryList.tsx +0 -230
  361. package/.forge/worktrees/pipeline-2ba01c10/components/DeliveryWorkspace.tsx +0 -589
  362. package/.forge/worktrees/pipeline-2ba01c10/components/DocTerminal.tsx +0 -187
  363. package/.forge/worktrees/pipeline-2ba01c10/components/DocsViewer.tsx +0 -574
  364. package/.forge/worktrees/pipeline-2ba01c10/components/HelpDialog.tsx +0 -169
  365. package/.forge/worktrees/pipeline-2ba01c10/components/HelpTerminal.tsx +0 -141
  366. package/.forge/worktrees/pipeline-2ba01c10/components/InlinePipelineView.tsx +0 -111
  367. package/.forge/worktrees/pipeline-2ba01c10/components/LogViewer.tsx +0 -194
  368. package/.forge/worktrees/pipeline-2ba01c10/components/MarkdownContent.tsx +0 -73
  369. package/.forge/worktrees/pipeline-2ba01c10/components/MobileView.tsx +0 -385
  370. package/.forge/worktrees/pipeline-2ba01c10/components/MonitorPanel.tsx +0 -122
  371. package/.forge/worktrees/pipeline-2ba01c10/components/NewSessionModal.tsx +0 -93
  372. package/.forge/worktrees/pipeline-2ba01c10/components/NewTaskModal.tsx +0 -492
  373. package/.forge/worktrees/pipeline-2ba01c10/components/PipelineEditor.tsx +0 -570
  374. package/.forge/worktrees/pipeline-2ba01c10/components/PipelineView.tsx +0 -1018
  375. package/.forge/worktrees/pipeline-2ba01c10/components/PluginsPanel.tsx +0 -472
  376. package/.forge/worktrees/pipeline-2ba01c10/components/ProjectDetail.tsx +0 -1618
  377. package/.forge/worktrees/pipeline-2ba01c10/components/ProjectList.tsx +0 -108
  378. package/.forge/worktrees/pipeline-2ba01c10/components/ProjectManager.tsx +0 -401
  379. package/.forge/worktrees/pipeline-2ba01c10/components/SessionList.tsx +0 -74
  380. package/.forge/worktrees/pipeline-2ba01c10/components/SessionView.tsx +0 -726
  381. package/.forge/worktrees/pipeline-2ba01c10/components/SettingsModal.tsx +0 -1647
  382. package/.forge/worktrees/pipeline-2ba01c10/components/SkillsPanel.tsx +0 -969
  383. package/.forge/worktrees/pipeline-2ba01c10/components/StatusBar.tsx +0 -99
  384. package/.forge/worktrees/pipeline-2ba01c10/components/TabBar.tsx +0 -46
  385. package/.forge/worktrees/pipeline-2ba01c10/components/TaskBoard.tsx +0 -113
  386. package/.forge/worktrees/pipeline-2ba01c10/components/TaskDetail.tsx +0 -372
  387. package/.forge/worktrees/pipeline-2ba01c10/components/TerminalLauncher.tsx +0 -398
  388. package/.forge/worktrees/pipeline-2ba01c10/components/TunnelToggle.tsx +0 -206
  389. package/.forge/worktrees/pipeline-2ba01c10/components/UsagePanel.tsx +0 -207
  390. package/.forge/worktrees/pipeline-2ba01c10/components/WebTerminal.tsx +0 -1683
  391. package/.forge/worktrees/pipeline-2ba01c10/components/WorkspaceTree.tsx +0 -221
  392. package/.forge/worktrees/pipeline-2ba01c10/components/WorkspaceView.tsx +0 -4048
  393. package/.forge/worktrees/pipeline-2ba01c10/dev-test.sh +0 -5
  394. package/.forge/worktrees/pipeline-2ba01c10/docs/Forge_Memory_Layer_Design.docx +0 -0
  395. package/.forge/worktrees/pipeline-2ba01c10/docs/Forge_Strategy_Research_2026.docx +0 -0
  396. package/.forge/worktrees/pipeline-2ba01c10/docs/LOCAL-DEPLOY.md +0 -144
  397. package/.forge/worktrees/pipeline-2ba01c10/docs/roadmap-multi-agent-workflow.md +0 -330
  398. package/.forge/worktrees/pipeline-2ba01c10/forge-logo.png +0 -0
  399. package/.forge/worktrees/pipeline-2ba01c10/forge-logo.svg +0 -106
  400. package/.forge/worktrees/pipeline-2ba01c10/hooks/useSidebarResize.ts +0 -52
  401. package/.forge/worktrees/pipeline-2ba01c10/install.sh +0 -29
  402. package/.forge/worktrees/pipeline-2ba01c10/instrumentation.ts +0 -35
  403. package/.forge/worktrees/pipeline-2ba01c10/lib/agents/claude-adapter.ts +0 -104
  404. package/.forge/worktrees/pipeline-2ba01c10/lib/agents/generic-adapter.ts +0 -64
  405. package/.forge/worktrees/pipeline-2ba01c10/lib/agents/index.ts +0 -245
  406. package/.forge/worktrees/pipeline-2ba01c10/lib/agents/types.ts +0 -70
  407. package/.forge/worktrees/pipeline-2ba01c10/lib/artifacts.ts +0 -106
  408. package/.forge/worktrees/pipeline-2ba01c10/lib/auth.ts +0 -62
  409. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/docker.yaml +0 -70
  410. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/http.yaml +0 -66
  411. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/jenkins.yaml +0 -92
  412. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/llm-vision.yaml +0 -85
  413. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/playwright.yaml +0 -111
  414. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/shell-command.yaml +0 -60
  415. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/slack.yaml +0 -48
  416. package/.forge/worktrees/pipeline-2ba01c10/lib/builtin-plugins/webhook.yaml +0 -56
  417. package/.forge/worktrees/pipeline-2ba01c10/lib/claude-process.ts +0 -352
  418. package/.forge/worktrees/pipeline-2ba01c10/lib/claude-sessions.ts +0 -266
  419. package/.forge/worktrees/pipeline-2ba01c10/lib/claude-templates.ts +0 -227
  420. package/.forge/worktrees/pipeline-2ba01c10/lib/cloudflared.ts +0 -424
  421. package/.forge/worktrees/pipeline-2ba01c10/lib/crypto.ts +0 -67
  422. package/.forge/worktrees/pipeline-2ba01c10/lib/delivery.ts +0 -787
  423. package/.forge/worktrees/pipeline-2ba01c10/lib/dirs.ts +0 -99
  424. package/.forge/worktrees/pipeline-2ba01c10/lib/flows.ts +0 -86
  425. package/.forge/worktrees/pipeline-2ba01c10/lib/forge-mcp-server.ts +0 -717
  426. package/.forge/worktrees/pipeline-2ba01c10/lib/forge-skills/forge-inbox.md +0 -38
  427. package/.forge/worktrees/pipeline-2ba01c10/lib/forge-skills/forge-send.md +0 -47
  428. package/.forge/worktrees/pipeline-2ba01c10/lib/forge-skills/forge-status.md +0 -32
  429. package/.forge/worktrees/pipeline-2ba01c10/lib/forge-skills/forge-workspace-sync.md +0 -37
  430. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/00-overview.md +0 -40
  431. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/01-settings.md +0 -194
  432. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/02-telegram.md +0 -41
  433. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/03-tunnel.md +0 -31
  434. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/04-tasks.md +0 -52
  435. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/05-pipelines.md +0 -460
  436. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/06-skills.md +0 -43
  437. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/07-projects.md +0 -73
  438. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/08-rules.md +0 -53
  439. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/09-issue-autofix.md +0 -55
  440. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/10-troubleshooting.md +0 -89
  441. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/11-workspace.md +0 -810
  442. package/.forge/worktrees/pipeline-2ba01c10/lib/help-docs/CLAUDE.md +0 -62
  443. package/.forge/worktrees/pipeline-2ba01c10/lib/init.ts +0 -266
  444. package/.forge/worktrees/pipeline-2ba01c10/lib/issue-scanner.ts +0 -298
  445. package/.forge/worktrees/pipeline-2ba01c10/lib/logger.ts +0 -79
  446. package/.forge/worktrees/pipeline-2ba01c10/lib/notifications.ts +0 -75
  447. package/.forge/worktrees/pipeline-2ba01c10/lib/notify.ts +0 -108
  448. package/.forge/worktrees/pipeline-2ba01c10/lib/password.ts +0 -97
  449. package/.forge/worktrees/pipeline-2ba01c10/lib/pipeline-scheduler.ts +0 -373
  450. package/.forge/worktrees/pipeline-2ba01c10/lib/pipeline.ts +0 -1438
  451. package/.forge/worktrees/pipeline-2ba01c10/lib/plugins/executor.ts +0 -347
  452. package/.forge/worktrees/pipeline-2ba01c10/lib/plugins/registry.ts +0 -228
  453. package/.forge/worktrees/pipeline-2ba01c10/lib/plugins/types.ts +0 -103
  454. package/.forge/worktrees/pipeline-2ba01c10/lib/project-sessions.ts +0 -53
  455. package/.forge/worktrees/pipeline-2ba01c10/lib/projects.ts +0 -86
  456. package/.forge/worktrees/pipeline-2ba01c10/lib/session-manager.ts +0 -156
  457. package/.forge/worktrees/pipeline-2ba01c10/lib/session-utils.ts +0 -53
  458. package/.forge/worktrees/pipeline-2ba01c10/lib/session-watcher.ts +0 -345
  459. package/.forge/worktrees/pipeline-2ba01c10/lib/settings.ts +0 -195
  460. package/.forge/worktrees/pipeline-2ba01c10/lib/skills.ts +0 -458
  461. package/.forge/worktrees/pipeline-2ba01c10/lib/task-manager.ts +0 -949
  462. package/.forge/worktrees/pipeline-2ba01c10/lib/telegram-bot.ts +0 -1477
  463. package/.forge/worktrees/pipeline-2ba01c10/lib/telegram-standalone.ts +0 -83
  464. package/.forge/worktrees/pipeline-2ba01c10/lib/terminal-server.ts +0 -70
  465. package/.forge/worktrees/pipeline-2ba01c10/lib/terminal-standalone.ts +0 -421
  466. package/.forge/worktrees/pipeline-2ba01c10/lib/usage-scanner.ts +0 -249
  467. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/__tests__/state-machine.test.ts +0 -388
  468. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/__tests__/workspace.test.ts +0 -311
  469. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/agent-bus.ts +0 -416
  470. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/agent-worker.ts +0 -655
  471. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/backends/api-backend.ts +0 -262
  472. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/backends/cli-backend.ts +0 -491
  473. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/index.ts +0 -82
  474. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/manager.ts +0 -136
  475. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/orchestrator.ts +0 -3400
  476. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/persistence.ts +0 -309
  477. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/presets.ts +0 -649
  478. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/requests.ts +0 -287
  479. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/session-monitor.ts +0 -240
  480. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/skill-installer.ts +0 -275
  481. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/smith-memory.ts +0 -498
  482. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/types.ts +0 -241
  483. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace/watch-manager.ts +0 -560
  484. package/.forge/worktrees/pipeline-2ba01c10/lib/workspace-standalone.ts +0 -911
  485. package/.forge/worktrees/pipeline-2ba01c10/middleware.ts +0 -51
  486. package/.forge/worktrees/pipeline-2ba01c10/next.config.ts +0 -26
  487. package/.forge/worktrees/pipeline-2ba01c10/package.json +0 -74
  488. package/.forge/worktrees/pipeline-2ba01c10/pnpm-lock.yaml +0 -3719
  489. package/.forge/worktrees/pipeline-2ba01c10/pnpm-workspace.yaml +0 -1
  490. package/.forge/worktrees/pipeline-2ba01c10/postcss.config.mjs +0 -7
  491. package/.forge/worktrees/pipeline-2ba01c10/publish.sh +0 -133
  492. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/README.md +0 -66
  493. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/results/.gitignore +0 -2
  494. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/run.ts +0 -635
  495. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/01-text-utils/task.md +0 -26
  496. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  497. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  498. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/02-pagination/task.md +0 -48
  499. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  500. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  501. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  502. package/.forge/worktrees/pipeline-2ba01c10/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  503. package/.forge/worktrees/pipeline-2ba01c10/scripts/verify-usage.ts +0 -178
  504. package/.forge/worktrees/pipeline-2ba01c10/src/config/index.ts +0 -129
  505. package/.forge/worktrees/pipeline-2ba01c10/src/core/db/database.ts +0 -259
  506. package/.forge/worktrees/pipeline-2ba01c10/src/core/memory/strategy.ts +0 -32
  507. package/.forge/worktrees/pipeline-2ba01c10/src/core/providers/chat.ts +0 -65
  508. package/.forge/worktrees/pipeline-2ba01c10/src/core/providers/registry.ts +0 -60
  509. package/.forge/worktrees/pipeline-2ba01c10/src/core/session/manager.ts +0 -190
  510. package/.forge/worktrees/pipeline-2ba01c10/src/types/index.ts +0 -129
  511. package/.forge/worktrees/pipeline-2ba01c10/start.sh +0 -31
  512. package/.forge/worktrees/pipeline-2ba01c10/templates/smith-lead.json +0 -45
  513. package/.forge/worktrees/pipeline-2ba01c10/tsconfig.json +0 -42
  514. package/.forge/worktrees/pipeline-3156a8b3/CLAUDE.md +0 -86
  515. package/.forge/worktrees/pipeline-3156a8b3/README.md +0 -136
  516. package/.forge/worktrees/pipeline-3156a8b3/RELEASE_NOTES.md +0 -11
  517. package/.forge/worktrees/pipeline-3156a8b3/app/api/agents/route.ts +0 -17
  518. package/.forge/worktrees/pipeline-3156a8b3/app/api/auth/[...nextauth]/route.ts +0 -3
  519. package/.forge/worktrees/pipeline-3156a8b3/app/api/auth/verify/route.ts +0 -46
  520. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude/[id]/route.ts +0 -31
  521. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude/[id]/stream/route.ts +0 -63
  522. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude/route.ts +0 -28
  523. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  524. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  525. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude-sessions/[projectName]/route.ts +0 -37
  526. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude-sessions/sync/route.ts +0 -17
  527. package/.forge/worktrees/pipeline-3156a8b3/app/api/claude-templates/route.ts +0 -145
  528. package/.forge/worktrees/pipeline-3156a8b3/app/api/code/route.ts +0 -299
  529. package/.forge/worktrees/pipeline-3156a8b3/app/api/delivery/[id]/route.ts +0 -62
  530. package/.forge/worktrees/pipeline-3156a8b3/app/api/delivery/route.ts +0 -40
  531. package/.forge/worktrees/pipeline-3156a8b3/app/api/detect-cli/route.ts +0 -46
  532. package/.forge/worktrees/pipeline-3156a8b3/app/api/docs/route.ts +0 -176
  533. package/.forge/worktrees/pipeline-3156a8b3/app/api/docs/sessions/route.ts +0 -54
  534. package/.forge/worktrees/pipeline-3156a8b3/app/api/favorites/route.ts +0 -26
  535. package/.forge/worktrees/pipeline-3156a8b3/app/api/flows/route.ts +0 -6
  536. package/.forge/worktrees/pipeline-3156a8b3/app/api/flows/run/route.ts +0 -19
  537. package/.forge/worktrees/pipeline-3156a8b3/app/api/git/route.ts +0 -149
  538. package/.forge/worktrees/pipeline-3156a8b3/app/api/help/route.ts +0 -84
  539. package/.forge/worktrees/pipeline-3156a8b3/app/api/issue-scanner/route.ts +0 -116
  540. package/.forge/worktrees/pipeline-3156a8b3/app/api/logs/route.ts +0 -100
  541. package/.forge/worktrees/pipeline-3156a8b3/app/api/mobile-chat/route.ts +0 -115
  542. package/.forge/worktrees/pipeline-3156a8b3/app/api/monitor/route.ts +0 -74
  543. package/.forge/worktrees/pipeline-3156a8b3/app/api/notifications/route.ts +0 -42
  544. package/.forge/worktrees/pipeline-3156a8b3/app/api/notify/test/route.ts +0 -33
  545. package/.forge/worktrees/pipeline-3156a8b3/app/api/online/route.ts +0 -40
  546. package/.forge/worktrees/pipeline-3156a8b3/app/api/pipelines/[id]/route.ts +0 -41
  547. package/.forge/worktrees/pipeline-3156a8b3/app/api/pipelines/route.ts +0 -90
  548. package/.forge/worktrees/pipeline-3156a8b3/app/api/plugins/route.ts +0 -75
  549. package/.forge/worktrees/pipeline-3156a8b3/app/api/preview/[...path]/route.ts +0 -64
  550. package/.forge/worktrees/pipeline-3156a8b3/app/api/preview/route.ts +0 -156
  551. package/.forge/worktrees/pipeline-3156a8b3/app/api/project-pipelines/route.ts +0 -91
  552. package/.forge/worktrees/pipeline-3156a8b3/app/api/project-sessions/route.ts +0 -61
  553. package/.forge/worktrees/pipeline-3156a8b3/app/api/projects/route.ts +0 -26
  554. package/.forge/worktrees/pipeline-3156a8b3/app/api/sessions/[id]/chat/route.ts +0 -64
  555. package/.forge/worktrees/pipeline-3156a8b3/app/api/sessions/[id]/messages/route.ts +0 -9
  556. package/.forge/worktrees/pipeline-3156a8b3/app/api/sessions/[id]/route.ts +0 -17
  557. package/.forge/worktrees/pipeline-3156a8b3/app/api/sessions/route.ts +0 -20
  558. package/.forge/worktrees/pipeline-3156a8b3/app/api/settings/route.ts +0 -64
  559. package/.forge/worktrees/pipeline-3156a8b3/app/api/skills/local/route.ts +0 -228
  560. package/.forge/worktrees/pipeline-3156a8b3/app/api/skills/route.ts +0 -182
  561. package/.forge/worktrees/pipeline-3156a8b3/app/api/smith-templates/route.ts +0 -81
  562. package/.forge/worktrees/pipeline-3156a8b3/app/api/status/route.ts +0 -12
  563. package/.forge/worktrees/pipeline-3156a8b3/app/api/tabs/route.ts +0 -25
  564. package/.forge/worktrees/pipeline-3156a8b3/app/api/tasks/[id]/route.ts +0 -51
  565. package/.forge/worktrees/pipeline-3156a8b3/app/api/tasks/[id]/stream/route.ts +0 -77
  566. package/.forge/worktrees/pipeline-3156a8b3/app/api/tasks/link/route.ts +0 -37
  567. package/.forge/worktrees/pipeline-3156a8b3/app/api/tasks/route.ts +0 -44
  568. package/.forge/worktrees/pipeline-3156a8b3/app/api/tasks/session/route.ts +0 -14
  569. package/.forge/worktrees/pipeline-3156a8b3/app/api/telegram/route.ts +0 -23
  570. package/.forge/worktrees/pipeline-3156a8b3/app/api/templates/route.ts +0 -6
  571. package/.forge/worktrees/pipeline-3156a8b3/app/api/terminal-bell/route.ts +0 -35
  572. package/.forge/worktrees/pipeline-3156a8b3/app/api/terminal-cwd/route.ts +0 -19
  573. package/.forge/worktrees/pipeline-3156a8b3/app/api/terminal-state/route.ts +0 -15
  574. package/.forge/worktrees/pipeline-3156a8b3/app/api/tunnel/route.ts +0 -26
  575. package/.forge/worktrees/pipeline-3156a8b3/app/api/upgrade/route.ts +0 -43
  576. package/.forge/worktrees/pipeline-3156a8b3/app/api/usage/route.ts +0 -20
  577. package/.forge/worktrees/pipeline-3156a8b3/app/api/version/route.ts +0 -78
  578. package/.forge/worktrees/pipeline-3156a8b3/app/api/watchers/route.ts +0 -33
  579. package/.forge/worktrees/pipeline-3156a8b3/app/api/workspace/[id]/agents/route.ts +0 -35
  580. package/.forge/worktrees/pipeline-3156a8b3/app/api/workspace/[id]/memory/route.ts +0 -23
  581. package/.forge/worktrees/pipeline-3156a8b3/app/api/workspace/[id]/smith/route.ts +0 -22
  582. package/.forge/worktrees/pipeline-3156a8b3/app/api/workspace/[id]/stream/route.ts +0 -28
  583. package/.forge/worktrees/pipeline-3156a8b3/app/api/workspace/route.ts +0 -100
  584. package/.forge/worktrees/pipeline-3156a8b3/app/global-error.tsx +0 -21
  585. package/.forge/worktrees/pipeline-3156a8b3/app/globals.css +0 -52
  586. package/.forge/worktrees/pipeline-3156a8b3/app/icon.ico +0 -0
  587. package/.forge/worktrees/pipeline-3156a8b3/app/icon.png +0 -0
  588. package/.forge/worktrees/pipeline-3156a8b3/app/icon.svg +0 -106
  589. package/.forge/worktrees/pipeline-3156a8b3/app/layout.tsx +0 -17
  590. package/.forge/worktrees/pipeline-3156a8b3/app/login/LoginForm.tsx +0 -96
  591. package/.forge/worktrees/pipeline-3156a8b3/app/login/page.tsx +0 -10
  592. package/.forge/worktrees/pipeline-3156a8b3/app/mobile/page.tsx +0 -9
  593. package/.forge/worktrees/pipeline-3156a8b3/app/page.tsx +0 -21
  594. package/.forge/worktrees/pipeline-3156a8b3/bin/forge-server.mjs +0 -484
  595. package/.forge/worktrees/pipeline-3156a8b3/check-forge-status.sh +0 -71
  596. package/.forge/worktrees/pipeline-3156a8b3/cli/mw.ts +0 -579
  597. package/.forge/worktrees/pipeline-3156a8b3/components/BrowserPanel.tsx +0 -175
  598. package/.forge/worktrees/pipeline-3156a8b3/components/ChatPanel.tsx +0 -191
  599. package/.forge/worktrees/pipeline-3156a8b3/components/ClaudeTerminal.tsx +0 -267
  600. package/.forge/worktrees/pipeline-3156a8b3/components/CodeViewer.tsx +0 -787
  601. package/.forge/worktrees/pipeline-3156a8b3/components/ConversationEditor.tsx +0 -411
  602. package/.forge/worktrees/pipeline-3156a8b3/components/ConversationGraphView.tsx +0 -347
  603. package/.forge/worktrees/pipeline-3156a8b3/components/ConversationTerminalView.tsx +0 -303
  604. package/.forge/worktrees/pipeline-3156a8b3/components/Dashboard.tsx +0 -807
  605. package/.forge/worktrees/pipeline-3156a8b3/components/DashboardWrapper.tsx +0 -9
  606. package/.forge/worktrees/pipeline-3156a8b3/components/DeliveryFlowEditor.tsx +0 -491
  607. package/.forge/worktrees/pipeline-3156a8b3/components/DeliveryList.tsx +0 -230
  608. package/.forge/worktrees/pipeline-3156a8b3/components/DeliveryWorkspace.tsx +0 -589
  609. package/.forge/worktrees/pipeline-3156a8b3/components/DocTerminal.tsx +0 -187
  610. package/.forge/worktrees/pipeline-3156a8b3/components/DocsViewer.tsx +0 -574
  611. package/.forge/worktrees/pipeline-3156a8b3/components/HelpDialog.tsx +0 -169
  612. package/.forge/worktrees/pipeline-3156a8b3/components/HelpTerminal.tsx +0 -141
  613. package/.forge/worktrees/pipeline-3156a8b3/components/InlinePipelineView.tsx +0 -111
  614. package/.forge/worktrees/pipeline-3156a8b3/components/LogViewer.tsx +0 -194
  615. package/.forge/worktrees/pipeline-3156a8b3/components/MarkdownContent.tsx +0 -73
  616. package/.forge/worktrees/pipeline-3156a8b3/components/MobileView.tsx +0 -385
  617. package/.forge/worktrees/pipeline-3156a8b3/components/MonitorPanel.tsx +0 -122
  618. package/.forge/worktrees/pipeline-3156a8b3/components/NewSessionModal.tsx +0 -93
  619. package/.forge/worktrees/pipeline-3156a8b3/components/NewTaskModal.tsx +0 -492
  620. package/.forge/worktrees/pipeline-3156a8b3/components/PipelineEditor.tsx +0 -570
  621. package/.forge/worktrees/pipeline-3156a8b3/components/PipelineView.tsx +0 -1018
  622. package/.forge/worktrees/pipeline-3156a8b3/components/PluginsPanel.tsx +0 -472
  623. package/.forge/worktrees/pipeline-3156a8b3/components/ProjectDetail.tsx +0 -1618
  624. package/.forge/worktrees/pipeline-3156a8b3/components/ProjectList.tsx +0 -108
  625. package/.forge/worktrees/pipeline-3156a8b3/components/ProjectManager.tsx +0 -401
  626. package/.forge/worktrees/pipeline-3156a8b3/components/SessionList.tsx +0 -74
  627. package/.forge/worktrees/pipeline-3156a8b3/components/SessionView.tsx +0 -726
  628. package/.forge/worktrees/pipeline-3156a8b3/components/SettingsModal.tsx +0 -1647
  629. package/.forge/worktrees/pipeline-3156a8b3/components/SkillsPanel.tsx +0 -969
  630. package/.forge/worktrees/pipeline-3156a8b3/components/StatusBar.tsx +0 -99
  631. package/.forge/worktrees/pipeline-3156a8b3/components/TabBar.tsx +0 -46
  632. package/.forge/worktrees/pipeline-3156a8b3/components/TaskBoard.tsx +0 -113
  633. package/.forge/worktrees/pipeline-3156a8b3/components/TaskDetail.tsx +0 -372
  634. package/.forge/worktrees/pipeline-3156a8b3/components/TerminalLauncher.tsx +0 -398
  635. package/.forge/worktrees/pipeline-3156a8b3/components/TunnelToggle.tsx +0 -206
  636. package/.forge/worktrees/pipeline-3156a8b3/components/UsagePanel.tsx +0 -207
  637. package/.forge/worktrees/pipeline-3156a8b3/components/WebTerminal.tsx +0 -1683
  638. package/.forge/worktrees/pipeline-3156a8b3/components/WorkspaceTree.tsx +0 -221
  639. package/.forge/worktrees/pipeline-3156a8b3/components/WorkspaceView.tsx +0 -4048
  640. package/.forge/worktrees/pipeline-3156a8b3/dev-test.sh +0 -5
  641. package/.forge/worktrees/pipeline-3156a8b3/docs/Forge_Memory_Layer_Design.docx +0 -0
  642. package/.forge/worktrees/pipeline-3156a8b3/docs/Forge_Strategy_Research_2026.docx +0 -0
  643. package/.forge/worktrees/pipeline-3156a8b3/docs/LOCAL-DEPLOY.md +0 -144
  644. package/.forge/worktrees/pipeline-3156a8b3/docs/roadmap-multi-agent-workflow.md +0 -330
  645. package/.forge/worktrees/pipeline-3156a8b3/forge-logo.png +0 -0
  646. package/.forge/worktrees/pipeline-3156a8b3/forge-logo.svg +0 -106
  647. package/.forge/worktrees/pipeline-3156a8b3/hooks/useSidebarResize.ts +0 -52
  648. package/.forge/worktrees/pipeline-3156a8b3/install.sh +0 -29
  649. package/.forge/worktrees/pipeline-3156a8b3/instrumentation.ts +0 -35
  650. package/.forge/worktrees/pipeline-3156a8b3/lib/agents/claude-adapter.ts +0 -104
  651. package/.forge/worktrees/pipeline-3156a8b3/lib/agents/generic-adapter.ts +0 -64
  652. package/.forge/worktrees/pipeline-3156a8b3/lib/agents/index.ts +0 -245
  653. package/.forge/worktrees/pipeline-3156a8b3/lib/agents/types.ts +0 -70
  654. package/.forge/worktrees/pipeline-3156a8b3/lib/artifacts.ts +0 -106
  655. package/.forge/worktrees/pipeline-3156a8b3/lib/auth.ts +0 -62
  656. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/docker.yaml +0 -70
  657. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/http.yaml +0 -66
  658. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/jenkins.yaml +0 -92
  659. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/llm-vision.yaml +0 -85
  660. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/playwright.yaml +0 -111
  661. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/shell-command.yaml +0 -60
  662. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/slack.yaml +0 -48
  663. package/.forge/worktrees/pipeline-3156a8b3/lib/builtin-plugins/webhook.yaml +0 -56
  664. package/.forge/worktrees/pipeline-3156a8b3/lib/claude-process.ts +0 -351
  665. package/.forge/worktrees/pipeline-3156a8b3/lib/claude-sessions.ts +0 -266
  666. package/.forge/worktrees/pipeline-3156a8b3/lib/claude-templates.ts +0 -227
  667. package/.forge/worktrees/pipeline-3156a8b3/lib/cloudflared.ts +0 -424
  668. package/.forge/worktrees/pipeline-3156a8b3/lib/crypto.ts +0 -67
  669. package/.forge/worktrees/pipeline-3156a8b3/lib/delivery.ts +0 -787
  670. package/.forge/worktrees/pipeline-3156a8b3/lib/dirs.ts +0 -99
  671. package/.forge/worktrees/pipeline-3156a8b3/lib/flows.ts +0 -86
  672. package/.forge/worktrees/pipeline-3156a8b3/lib/forge-mcp-server.ts +0 -717
  673. package/.forge/worktrees/pipeline-3156a8b3/lib/forge-skills/forge-inbox.md +0 -38
  674. package/.forge/worktrees/pipeline-3156a8b3/lib/forge-skills/forge-send.md +0 -47
  675. package/.forge/worktrees/pipeline-3156a8b3/lib/forge-skills/forge-status.md +0 -32
  676. package/.forge/worktrees/pipeline-3156a8b3/lib/forge-skills/forge-workspace-sync.md +0 -37
  677. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/00-overview.md +0 -40
  678. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/01-settings.md +0 -194
  679. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/02-telegram.md +0 -41
  680. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/03-tunnel.md +0 -31
  681. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/04-tasks.md +0 -52
  682. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/05-pipelines.md +0 -460
  683. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/06-skills.md +0 -43
  684. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/07-projects.md +0 -73
  685. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/08-rules.md +0 -53
  686. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/09-issue-autofix.md +0 -55
  687. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/10-troubleshooting.md +0 -89
  688. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/11-workspace.md +0 -810
  689. package/.forge/worktrees/pipeline-3156a8b3/lib/help-docs/CLAUDE.md +0 -62
  690. package/.forge/worktrees/pipeline-3156a8b3/lib/init.ts +0 -266
  691. package/.forge/worktrees/pipeline-3156a8b3/lib/issue-scanner.ts +0 -298
  692. package/.forge/worktrees/pipeline-3156a8b3/lib/logger.ts +0 -79
  693. package/.forge/worktrees/pipeline-3156a8b3/lib/notifications.ts +0 -75
  694. package/.forge/worktrees/pipeline-3156a8b3/lib/notify.ts +0 -108
  695. package/.forge/worktrees/pipeline-3156a8b3/lib/password.ts +0 -97
  696. package/.forge/worktrees/pipeline-3156a8b3/lib/pipeline-scheduler.ts +0 -373
  697. package/.forge/worktrees/pipeline-3156a8b3/lib/pipeline.ts +0 -1441
  698. package/.forge/worktrees/pipeline-3156a8b3/lib/plugins/executor.ts +0 -347
  699. package/.forge/worktrees/pipeline-3156a8b3/lib/plugins/registry.ts +0 -228
  700. package/.forge/worktrees/pipeline-3156a8b3/lib/plugins/types.ts +0 -103
  701. package/.forge/worktrees/pipeline-3156a8b3/lib/project-sessions.ts +0 -53
  702. package/.forge/worktrees/pipeline-3156a8b3/lib/projects.ts +0 -86
  703. package/.forge/worktrees/pipeline-3156a8b3/lib/session-manager.ts +0 -156
  704. package/.forge/worktrees/pipeline-3156a8b3/lib/session-utils.ts +0 -53
  705. package/.forge/worktrees/pipeline-3156a8b3/lib/session-watcher.ts +0 -345
  706. package/.forge/worktrees/pipeline-3156a8b3/lib/settings.ts +0 -195
  707. package/.forge/worktrees/pipeline-3156a8b3/lib/skills.ts +0 -458
  708. package/.forge/worktrees/pipeline-3156a8b3/lib/task-manager.ts +0 -949
  709. package/.forge/worktrees/pipeline-3156a8b3/lib/telegram-bot.ts +0 -1477
  710. package/.forge/worktrees/pipeline-3156a8b3/lib/telegram-standalone.ts +0 -83
  711. package/.forge/worktrees/pipeline-3156a8b3/lib/terminal-server.ts +0 -70
  712. package/.forge/worktrees/pipeline-3156a8b3/lib/terminal-standalone.ts +0 -421
  713. package/.forge/worktrees/pipeline-3156a8b3/lib/usage-scanner.ts +0 -249
  714. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/__tests__/state-machine.test.ts +0 -388
  715. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/__tests__/workspace.test.ts +0 -311
  716. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/agent-bus.ts +0 -416
  717. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/agent-worker.ts +0 -655
  718. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/backends/api-backend.ts +0 -262
  719. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/backends/cli-backend.ts +0 -491
  720. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/index.ts +0 -82
  721. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/manager.ts +0 -136
  722. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/orchestrator.ts +0 -3400
  723. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/persistence.ts +0 -309
  724. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/presets.ts +0 -649
  725. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/requests.ts +0 -287
  726. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/session-monitor.ts +0 -240
  727. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/skill-installer.ts +0 -275
  728. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/smith-memory.ts +0 -498
  729. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/types.ts +0 -241
  730. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace/watch-manager.ts +0 -560
  731. package/.forge/worktrees/pipeline-3156a8b3/lib/workspace-standalone.ts +0 -911
  732. package/.forge/worktrees/pipeline-3156a8b3/middleware.ts +0 -51
  733. package/.forge/worktrees/pipeline-3156a8b3/next.config.ts +0 -26
  734. package/.forge/worktrees/pipeline-3156a8b3/package.json +0 -74
  735. package/.forge/worktrees/pipeline-3156a8b3/pnpm-lock.yaml +0 -3719
  736. package/.forge/worktrees/pipeline-3156a8b3/pnpm-workspace.yaml +0 -1
  737. package/.forge/worktrees/pipeline-3156a8b3/postcss.config.mjs +0 -7
  738. package/.forge/worktrees/pipeline-3156a8b3/publish.sh +0 -133
  739. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/README.md +0 -66
  740. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/results/.gitignore +0 -2
  741. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/run.ts +0 -635
  742. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/01-text-utils/task.md +0 -26
  743. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  744. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  745. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/02-pagination/task.md +0 -48
  746. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  747. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  748. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  749. package/.forge/worktrees/pipeline-3156a8b3/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  750. package/.forge/worktrees/pipeline-3156a8b3/scripts/verify-usage.ts +0 -178
  751. package/.forge/worktrees/pipeline-3156a8b3/src/config/index.ts +0 -129
  752. package/.forge/worktrees/pipeline-3156a8b3/src/core/db/database.ts +0 -259
  753. package/.forge/worktrees/pipeline-3156a8b3/src/core/memory/strategy.ts +0 -32
  754. package/.forge/worktrees/pipeline-3156a8b3/src/core/providers/chat.ts +0 -65
  755. package/.forge/worktrees/pipeline-3156a8b3/src/core/providers/registry.ts +0 -60
  756. package/.forge/worktrees/pipeline-3156a8b3/src/core/session/manager.ts +0 -190
  757. package/.forge/worktrees/pipeline-3156a8b3/src/types/index.ts +0 -129
  758. package/.forge/worktrees/pipeline-3156a8b3/start.sh +0 -31
  759. package/.forge/worktrees/pipeline-3156a8b3/templates/smith-lead.json +0 -45
  760. package/.forge/worktrees/pipeline-3156a8b3/tsconfig.json +0 -42
  761. package/.forge/worktrees/pipeline-316c6574/CLAUDE.md +0 -86
  762. package/.forge/worktrees/pipeline-316c6574/README.md +0 -136
  763. package/.forge/worktrees/pipeline-316c6574/RELEASE_NOTES.md +0 -11
  764. package/.forge/worktrees/pipeline-316c6574/app/api/agents/route.ts +0 -17
  765. package/.forge/worktrees/pipeline-316c6574/app/api/auth/[...nextauth]/route.ts +0 -3
  766. package/.forge/worktrees/pipeline-316c6574/app/api/auth/verify/route.ts +0 -46
  767. package/.forge/worktrees/pipeline-316c6574/app/api/claude/[id]/route.ts +0 -31
  768. package/.forge/worktrees/pipeline-316c6574/app/api/claude/[id]/stream/route.ts +0 -63
  769. package/.forge/worktrees/pipeline-316c6574/app/api/claude/route.ts +0 -28
  770. package/.forge/worktrees/pipeline-316c6574/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  771. package/.forge/worktrees/pipeline-316c6574/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  772. package/.forge/worktrees/pipeline-316c6574/app/api/claude-sessions/[projectName]/route.ts +0 -37
  773. package/.forge/worktrees/pipeline-316c6574/app/api/claude-sessions/sync/route.ts +0 -17
  774. package/.forge/worktrees/pipeline-316c6574/app/api/claude-templates/route.ts +0 -145
  775. package/.forge/worktrees/pipeline-316c6574/app/api/code/route.ts +0 -299
  776. package/.forge/worktrees/pipeline-316c6574/app/api/delivery/[id]/route.ts +0 -62
  777. package/.forge/worktrees/pipeline-316c6574/app/api/delivery/route.ts +0 -40
  778. package/.forge/worktrees/pipeline-316c6574/app/api/detect-cli/route.ts +0 -46
  779. package/.forge/worktrees/pipeline-316c6574/app/api/docs/route.ts +0 -176
  780. package/.forge/worktrees/pipeline-316c6574/app/api/docs/sessions/route.ts +0 -54
  781. package/.forge/worktrees/pipeline-316c6574/app/api/favorites/route.ts +0 -26
  782. package/.forge/worktrees/pipeline-316c6574/app/api/flows/route.ts +0 -6
  783. package/.forge/worktrees/pipeline-316c6574/app/api/flows/run/route.ts +0 -19
  784. package/.forge/worktrees/pipeline-316c6574/app/api/git/route.ts +0 -149
  785. package/.forge/worktrees/pipeline-316c6574/app/api/help/route.ts +0 -84
  786. package/.forge/worktrees/pipeline-316c6574/app/api/issue-scanner/route.ts +0 -116
  787. package/.forge/worktrees/pipeline-316c6574/app/api/logs/route.ts +0 -100
  788. package/.forge/worktrees/pipeline-316c6574/app/api/mobile-chat/route.ts +0 -115
  789. package/.forge/worktrees/pipeline-316c6574/app/api/monitor/route.ts +0 -74
  790. package/.forge/worktrees/pipeline-316c6574/app/api/notifications/route.ts +0 -42
  791. package/.forge/worktrees/pipeline-316c6574/app/api/notify/test/route.ts +0 -33
  792. package/.forge/worktrees/pipeline-316c6574/app/api/online/route.ts +0 -40
  793. package/.forge/worktrees/pipeline-316c6574/app/api/pipelines/[id]/route.ts +0 -41
  794. package/.forge/worktrees/pipeline-316c6574/app/api/pipelines/route.ts +0 -90
  795. package/.forge/worktrees/pipeline-316c6574/app/api/plugins/route.ts +0 -75
  796. package/.forge/worktrees/pipeline-316c6574/app/api/preview/[...path]/route.ts +0 -64
  797. package/.forge/worktrees/pipeline-316c6574/app/api/preview/route.ts +0 -156
  798. package/.forge/worktrees/pipeline-316c6574/app/api/project-pipelines/route.ts +0 -91
  799. package/.forge/worktrees/pipeline-316c6574/app/api/project-sessions/route.ts +0 -61
  800. package/.forge/worktrees/pipeline-316c6574/app/api/projects/route.ts +0 -26
  801. package/.forge/worktrees/pipeline-316c6574/app/api/sessions/[id]/chat/route.ts +0 -64
  802. package/.forge/worktrees/pipeline-316c6574/app/api/sessions/[id]/messages/route.ts +0 -9
  803. package/.forge/worktrees/pipeline-316c6574/app/api/sessions/[id]/route.ts +0 -17
  804. package/.forge/worktrees/pipeline-316c6574/app/api/sessions/route.ts +0 -20
  805. package/.forge/worktrees/pipeline-316c6574/app/api/settings/route.ts +0 -64
  806. package/.forge/worktrees/pipeline-316c6574/app/api/skills/local/route.ts +0 -228
  807. package/.forge/worktrees/pipeline-316c6574/app/api/skills/route.ts +0 -182
  808. package/.forge/worktrees/pipeline-316c6574/app/api/smith-templates/route.ts +0 -81
  809. package/.forge/worktrees/pipeline-316c6574/app/api/status/route.ts +0 -12
  810. package/.forge/worktrees/pipeline-316c6574/app/api/tabs/route.ts +0 -25
  811. package/.forge/worktrees/pipeline-316c6574/app/api/tasks/[id]/route.ts +0 -51
  812. package/.forge/worktrees/pipeline-316c6574/app/api/tasks/[id]/stream/route.ts +0 -77
  813. package/.forge/worktrees/pipeline-316c6574/app/api/tasks/link/route.ts +0 -37
  814. package/.forge/worktrees/pipeline-316c6574/app/api/tasks/route.ts +0 -44
  815. package/.forge/worktrees/pipeline-316c6574/app/api/tasks/session/route.ts +0 -14
  816. package/.forge/worktrees/pipeline-316c6574/app/api/telegram/route.ts +0 -23
  817. package/.forge/worktrees/pipeline-316c6574/app/api/templates/route.ts +0 -6
  818. package/.forge/worktrees/pipeline-316c6574/app/api/terminal-bell/route.ts +0 -35
  819. package/.forge/worktrees/pipeline-316c6574/app/api/terminal-cwd/route.ts +0 -19
  820. package/.forge/worktrees/pipeline-316c6574/app/api/terminal-state/route.ts +0 -15
  821. package/.forge/worktrees/pipeline-316c6574/app/api/tunnel/route.ts +0 -26
  822. package/.forge/worktrees/pipeline-316c6574/app/api/upgrade/route.ts +0 -43
  823. package/.forge/worktrees/pipeline-316c6574/app/api/usage/route.ts +0 -20
  824. package/.forge/worktrees/pipeline-316c6574/app/api/version/route.ts +0 -78
  825. package/.forge/worktrees/pipeline-316c6574/app/api/watchers/route.ts +0 -33
  826. package/.forge/worktrees/pipeline-316c6574/app/api/workspace/[id]/agents/route.ts +0 -35
  827. package/.forge/worktrees/pipeline-316c6574/app/api/workspace/[id]/memory/route.ts +0 -23
  828. package/.forge/worktrees/pipeline-316c6574/app/api/workspace/[id]/smith/route.ts +0 -22
  829. package/.forge/worktrees/pipeline-316c6574/app/api/workspace/[id]/stream/route.ts +0 -28
  830. package/.forge/worktrees/pipeline-316c6574/app/api/workspace/route.ts +0 -100
  831. package/.forge/worktrees/pipeline-316c6574/app/global-error.tsx +0 -21
  832. package/.forge/worktrees/pipeline-316c6574/app/globals.css +0 -52
  833. package/.forge/worktrees/pipeline-316c6574/app/icon.ico +0 -0
  834. package/.forge/worktrees/pipeline-316c6574/app/icon.png +0 -0
  835. package/.forge/worktrees/pipeline-316c6574/app/icon.svg +0 -106
  836. package/.forge/worktrees/pipeline-316c6574/app/layout.tsx +0 -17
  837. package/.forge/worktrees/pipeline-316c6574/app/login/LoginForm.tsx +0 -96
  838. package/.forge/worktrees/pipeline-316c6574/app/login/page.tsx +0 -10
  839. package/.forge/worktrees/pipeline-316c6574/app/mobile/page.tsx +0 -9
  840. package/.forge/worktrees/pipeline-316c6574/app/page.tsx +0 -21
  841. package/.forge/worktrees/pipeline-316c6574/bin/forge-server.mjs +0 -484
  842. package/.forge/worktrees/pipeline-316c6574/check-forge-status.sh +0 -71
  843. package/.forge/worktrees/pipeline-316c6574/cli/mw.ts +0 -579
  844. package/.forge/worktrees/pipeline-316c6574/components/BrowserPanel.tsx +0 -175
  845. package/.forge/worktrees/pipeline-316c6574/components/ChatPanel.tsx +0 -191
  846. package/.forge/worktrees/pipeline-316c6574/components/ClaudeTerminal.tsx +0 -267
  847. package/.forge/worktrees/pipeline-316c6574/components/CodeViewer.tsx +0 -787
  848. package/.forge/worktrees/pipeline-316c6574/components/ConversationEditor.tsx +0 -411
  849. package/.forge/worktrees/pipeline-316c6574/components/ConversationGraphView.tsx +0 -347
  850. package/.forge/worktrees/pipeline-316c6574/components/ConversationTerminalView.tsx +0 -303
  851. package/.forge/worktrees/pipeline-316c6574/components/Dashboard.tsx +0 -807
  852. package/.forge/worktrees/pipeline-316c6574/components/DashboardWrapper.tsx +0 -9
  853. package/.forge/worktrees/pipeline-316c6574/components/DeliveryFlowEditor.tsx +0 -491
  854. package/.forge/worktrees/pipeline-316c6574/components/DeliveryList.tsx +0 -230
  855. package/.forge/worktrees/pipeline-316c6574/components/DeliveryWorkspace.tsx +0 -589
  856. package/.forge/worktrees/pipeline-316c6574/components/DocTerminal.tsx +0 -187
  857. package/.forge/worktrees/pipeline-316c6574/components/DocsViewer.tsx +0 -574
  858. package/.forge/worktrees/pipeline-316c6574/components/HelpDialog.tsx +0 -169
  859. package/.forge/worktrees/pipeline-316c6574/components/HelpTerminal.tsx +0 -141
  860. package/.forge/worktrees/pipeline-316c6574/components/InlinePipelineView.tsx +0 -111
  861. package/.forge/worktrees/pipeline-316c6574/components/LogViewer.tsx +0 -194
  862. package/.forge/worktrees/pipeline-316c6574/components/MarkdownContent.tsx +0 -73
  863. package/.forge/worktrees/pipeline-316c6574/components/MobileView.tsx +0 -385
  864. package/.forge/worktrees/pipeline-316c6574/components/MonitorPanel.tsx +0 -122
  865. package/.forge/worktrees/pipeline-316c6574/components/NewSessionModal.tsx +0 -93
  866. package/.forge/worktrees/pipeline-316c6574/components/NewTaskModal.tsx +0 -492
  867. package/.forge/worktrees/pipeline-316c6574/components/PipelineEditor.tsx +0 -570
  868. package/.forge/worktrees/pipeline-316c6574/components/PipelineView.tsx +0 -1018
  869. package/.forge/worktrees/pipeline-316c6574/components/PluginsPanel.tsx +0 -472
  870. package/.forge/worktrees/pipeline-316c6574/components/ProjectDetail.tsx +0 -1618
  871. package/.forge/worktrees/pipeline-316c6574/components/ProjectList.tsx +0 -108
  872. package/.forge/worktrees/pipeline-316c6574/components/ProjectManager.tsx +0 -401
  873. package/.forge/worktrees/pipeline-316c6574/components/SessionList.tsx +0 -74
  874. package/.forge/worktrees/pipeline-316c6574/components/SessionView.tsx +0 -726
  875. package/.forge/worktrees/pipeline-316c6574/components/SettingsModal.tsx +0 -1647
  876. package/.forge/worktrees/pipeline-316c6574/components/SkillsPanel.tsx +0 -969
  877. package/.forge/worktrees/pipeline-316c6574/components/StatusBar.tsx +0 -99
  878. package/.forge/worktrees/pipeline-316c6574/components/TabBar.tsx +0 -46
  879. package/.forge/worktrees/pipeline-316c6574/components/TaskBoard.tsx +0 -113
  880. package/.forge/worktrees/pipeline-316c6574/components/TaskDetail.tsx +0 -372
  881. package/.forge/worktrees/pipeline-316c6574/components/TerminalLauncher.tsx +0 -398
  882. package/.forge/worktrees/pipeline-316c6574/components/TunnelToggle.tsx +0 -206
  883. package/.forge/worktrees/pipeline-316c6574/components/UsagePanel.tsx +0 -207
  884. package/.forge/worktrees/pipeline-316c6574/components/WebTerminal.tsx +0 -1683
  885. package/.forge/worktrees/pipeline-316c6574/components/WorkspaceTree.tsx +0 -221
  886. package/.forge/worktrees/pipeline-316c6574/components/WorkspaceView.tsx +0 -4048
  887. package/.forge/worktrees/pipeline-316c6574/dev-test.sh +0 -5
  888. package/.forge/worktrees/pipeline-316c6574/docs/Forge_Memory_Layer_Design.docx +0 -0
  889. package/.forge/worktrees/pipeline-316c6574/docs/Forge_Strategy_Research_2026.docx +0 -0
  890. package/.forge/worktrees/pipeline-316c6574/docs/LOCAL-DEPLOY.md +0 -144
  891. package/.forge/worktrees/pipeline-316c6574/docs/roadmap-multi-agent-workflow.md +0 -330
  892. package/.forge/worktrees/pipeline-316c6574/forge-logo.png +0 -0
  893. package/.forge/worktrees/pipeline-316c6574/forge-logo.svg +0 -106
  894. package/.forge/worktrees/pipeline-316c6574/hooks/useSidebarResize.ts +0 -52
  895. package/.forge/worktrees/pipeline-316c6574/install.sh +0 -29
  896. package/.forge/worktrees/pipeline-316c6574/instrumentation.ts +0 -35
  897. package/.forge/worktrees/pipeline-316c6574/lib/agents/claude-adapter.ts +0 -104
  898. package/.forge/worktrees/pipeline-316c6574/lib/agents/generic-adapter.ts +0 -64
  899. package/.forge/worktrees/pipeline-316c6574/lib/agents/index.ts +0 -245
  900. package/.forge/worktrees/pipeline-316c6574/lib/agents/types.ts +0 -70
  901. package/.forge/worktrees/pipeline-316c6574/lib/artifacts.ts +0 -106
  902. package/.forge/worktrees/pipeline-316c6574/lib/auth.ts +0 -62
  903. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/docker.yaml +0 -70
  904. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/http.yaml +0 -66
  905. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/jenkins.yaml +0 -92
  906. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/llm-vision.yaml +0 -85
  907. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/playwright.yaml +0 -111
  908. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/shell-command.yaml +0 -60
  909. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/slack.yaml +0 -48
  910. package/.forge/worktrees/pipeline-316c6574/lib/builtin-plugins/webhook.yaml +0 -56
  911. package/.forge/worktrees/pipeline-316c6574/lib/claude-process.ts +0 -361
  912. package/.forge/worktrees/pipeline-316c6574/lib/claude-sessions.ts +0 -266
  913. package/.forge/worktrees/pipeline-316c6574/lib/claude-templates.ts +0 -227
  914. package/.forge/worktrees/pipeline-316c6574/lib/cloudflared.ts +0 -424
  915. package/.forge/worktrees/pipeline-316c6574/lib/crypto.ts +0 -67
  916. package/.forge/worktrees/pipeline-316c6574/lib/delivery.ts +0 -787
  917. package/.forge/worktrees/pipeline-316c6574/lib/dirs.ts +0 -99
  918. package/.forge/worktrees/pipeline-316c6574/lib/flows.ts +0 -86
  919. package/.forge/worktrees/pipeline-316c6574/lib/forge-mcp-server.ts +0 -717
  920. package/.forge/worktrees/pipeline-316c6574/lib/forge-skills/forge-inbox.md +0 -38
  921. package/.forge/worktrees/pipeline-316c6574/lib/forge-skills/forge-send.md +0 -47
  922. package/.forge/worktrees/pipeline-316c6574/lib/forge-skills/forge-status.md +0 -32
  923. package/.forge/worktrees/pipeline-316c6574/lib/forge-skills/forge-workspace-sync.md +0 -37
  924. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/00-overview.md +0 -40
  925. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/01-settings.md +0 -194
  926. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/02-telegram.md +0 -41
  927. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/03-tunnel.md +0 -31
  928. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/04-tasks.md +0 -52
  929. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/05-pipelines.md +0 -460
  930. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/06-skills.md +0 -43
  931. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/07-projects.md +0 -73
  932. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/08-rules.md +0 -53
  933. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/09-issue-autofix.md +0 -55
  934. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/10-troubleshooting.md +0 -89
  935. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/11-workspace.md +0 -810
  936. package/.forge/worktrees/pipeline-316c6574/lib/help-docs/CLAUDE.md +0 -62
  937. package/.forge/worktrees/pipeline-316c6574/lib/init.ts +0 -266
  938. package/.forge/worktrees/pipeline-316c6574/lib/issue-scanner.ts +0 -298
  939. package/.forge/worktrees/pipeline-316c6574/lib/logger.ts +0 -79
  940. package/.forge/worktrees/pipeline-316c6574/lib/notifications.ts +0 -75
  941. package/.forge/worktrees/pipeline-316c6574/lib/notify.ts +0 -108
  942. package/.forge/worktrees/pipeline-316c6574/lib/password.ts +0 -97
  943. package/.forge/worktrees/pipeline-316c6574/lib/pipeline-scheduler.ts +0 -373
  944. package/.forge/worktrees/pipeline-316c6574/lib/pipeline.ts +0 -1441
  945. package/.forge/worktrees/pipeline-316c6574/lib/plugins/executor.ts +0 -347
  946. package/.forge/worktrees/pipeline-316c6574/lib/plugins/registry.ts +0 -228
  947. package/.forge/worktrees/pipeline-316c6574/lib/plugins/types.ts +0 -103
  948. package/.forge/worktrees/pipeline-316c6574/lib/project-sessions.ts +0 -53
  949. package/.forge/worktrees/pipeline-316c6574/lib/projects.ts +0 -86
  950. package/.forge/worktrees/pipeline-316c6574/lib/session-manager.ts +0 -156
  951. package/.forge/worktrees/pipeline-316c6574/lib/session-utils.ts +0 -53
  952. package/.forge/worktrees/pipeline-316c6574/lib/session-watcher.ts +0 -345
  953. package/.forge/worktrees/pipeline-316c6574/lib/settings.ts +0 -195
  954. package/.forge/worktrees/pipeline-316c6574/lib/skills.ts +0 -458
  955. package/.forge/worktrees/pipeline-316c6574/lib/task-manager.ts +0 -949
  956. package/.forge/worktrees/pipeline-316c6574/lib/telegram-bot.ts +0 -1477
  957. package/.forge/worktrees/pipeline-316c6574/lib/telegram-standalone.ts +0 -83
  958. package/.forge/worktrees/pipeline-316c6574/lib/terminal-server.ts +0 -70
  959. package/.forge/worktrees/pipeline-316c6574/lib/terminal-standalone.ts +0 -421
  960. package/.forge/worktrees/pipeline-316c6574/lib/usage-scanner.ts +0 -249
  961. package/.forge/worktrees/pipeline-316c6574/lib/workspace/__tests__/state-machine.test.ts +0 -388
  962. package/.forge/worktrees/pipeline-316c6574/lib/workspace/__tests__/workspace.test.ts +0 -311
  963. package/.forge/worktrees/pipeline-316c6574/lib/workspace/agent-bus.ts +0 -416
  964. package/.forge/worktrees/pipeline-316c6574/lib/workspace/agent-worker.ts +0 -655
  965. package/.forge/worktrees/pipeline-316c6574/lib/workspace/backends/api-backend.ts +0 -262
  966. package/.forge/worktrees/pipeline-316c6574/lib/workspace/backends/cli-backend.ts +0 -491
  967. package/.forge/worktrees/pipeline-316c6574/lib/workspace/index.ts +0 -82
  968. package/.forge/worktrees/pipeline-316c6574/lib/workspace/manager.ts +0 -136
  969. package/.forge/worktrees/pipeline-316c6574/lib/workspace/orchestrator.ts +0 -3400
  970. package/.forge/worktrees/pipeline-316c6574/lib/workspace/persistence.ts +0 -309
  971. package/.forge/worktrees/pipeline-316c6574/lib/workspace/presets.ts +0 -649
  972. package/.forge/worktrees/pipeline-316c6574/lib/workspace/requests.ts +0 -287
  973. package/.forge/worktrees/pipeline-316c6574/lib/workspace/session-monitor.ts +0 -240
  974. package/.forge/worktrees/pipeline-316c6574/lib/workspace/skill-installer.ts +0 -275
  975. package/.forge/worktrees/pipeline-316c6574/lib/workspace/smith-memory.ts +0 -498
  976. package/.forge/worktrees/pipeline-316c6574/lib/workspace/types.ts +0 -241
  977. package/.forge/worktrees/pipeline-316c6574/lib/workspace/watch-manager.ts +0 -560
  978. package/.forge/worktrees/pipeline-316c6574/lib/workspace-standalone.ts +0 -911
  979. package/.forge/worktrees/pipeline-316c6574/middleware.ts +0 -51
  980. package/.forge/worktrees/pipeline-316c6574/next.config.ts +0 -26
  981. package/.forge/worktrees/pipeline-316c6574/package.json +0 -74
  982. package/.forge/worktrees/pipeline-316c6574/pnpm-lock.yaml +0 -3719
  983. package/.forge/worktrees/pipeline-316c6574/pnpm-workspace.yaml +0 -1
  984. package/.forge/worktrees/pipeline-316c6574/postcss.config.mjs +0 -7
  985. package/.forge/worktrees/pipeline-316c6574/publish.sh +0 -133
  986. package/.forge/worktrees/pipeline-316c6574/scripts/bench/README.md +0 -66
  987. package/.forge/worktrees/pipeline-316c6574/scripts/bench/results/.gitignore +0 -2
  988. package/.forge/worktrees/pipeline-316c6574/scripts/bench/run.ts +0 -635
  989. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/01-text-utils/task.md +0 -26
  990. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  991. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  992. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/02-pagination/task.md +0 -48
  993. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  994. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  995. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  996. package/.forge/worktrees/pipeline-316c6574/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  997. package/.forge/worktrees/pipeline-316c6574/scripts/verify-usage.ts +0 -178
  998. package/.forge/worktrees/pipeline-316c6574/src/config/index.ts +0 -129
  999. package/.forge/worktrees/pipeline-316c6574/src/core/db/database.ts +0 -259
  1000. package/.forge/worktrees/pipeline-316c6574/src/core/memory/strategy.ts +0 -32
  1001. package/.forge/worktrees/pipeline-316c6574/src/core/providers/chat.ts +0 -65
  1002. package/.forge/worktrees/pipeline-316c6574/src/core/providers/registry.ts +0 -60
  1003. package/.forge/worktrees/pipeline-316c6574/src/core/session/manager.ts +0 -190
  1004. package/.forge/worktrees/pipeline-316c6574/src/types/index.ts +0 -129
  1005. package/.forge/worktrees/pipeline-316c6574/start.sh +0 -31
  1006. package/.forge/worktrees/pipeline-316c6574/templates/smith-lead.json +0 -45
  1007. package/.forge/worktrees/pipeline-316c6574/tsconfig.json +0 -42
  1008. package/.forge/worktrees/pipeline-44a94121/CLAUDE.md +0 -86
  1009. package/.forge/worktrees/pipeline-44a94121/README.md +0 -136
  1010. package/.forge/worktrees/pipeline-44a94121/RELEASE_NOTES.md +0 -11
  1011. package/.forge/worktrees/pipeline-44a94121/app/api/agents/route.ts +0 -17
  1012. package/.forge/worktrees/pipeline-44a94121/app/api/auth/[...nextauth]/route.ts +0 -3
  1013. package/.forge/worktrees/pipeline-44a94121/app/api/auth/verify/route.ts +0 -46
  1014. package/.forge/worktrees/pipeline-44a94121/app/api/claude/[id]/route.ts +0 -31
  1015. package/.forge/worktrees/pipeline-44a94121/app/api/claude/[id]/stream/route.ts +0 -63
  1016. package/.forge/worktrees/pipeline-44a94121/app/api/claude/route.ts +0 -28
  1017. package/.forge/worktrees/pipeline-44a94121/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  1018. package/.forge/worktrees/pipeline-44a94121/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  1019. package/.forge/worktrees/pipeline-44a94121/app/api/claude-sessions/[projectName]/route.ts +0 -37
  1020. package/.forge/worktrees/pipeline-44a94121/app/api/claude-sessions/sync/route.ts +0 -17
  1021. package/.forge/worktrees/pipeline-44a94121/app/api/claude-templates/route.ts +0 -145
  1022. package/.forge/worktrees/pipeline-44a94121/app/api/code/route.ts +0 -299
  1023. package/.forge/worktrees/pipeline-44a94121/app/api/delivery/[id]/route.ts +0 -62
  1024. package/.forge/worktrees/pipeline-44a94121/app/api/delivery/route.ts +0 -40
  1025. package/.forge/worktrees/pipeline-44a94121/app/api/detect-cli/route.ts +0 -46
  1026. package/.forge/worktrees/pipeline-44a94121/app/api/docs/route.ts +0 -176
  1027. package/.forge/worktrees/pipeline-44a94121/app/api/docs/sessions/route.ts +0 -54
  1028. package/.forge/worktrees/pipeline-44a94121/app/api/favorites/route.ts +0 -26
  1029. package/.forge/worktrees/pipeline-44a94121/app/api/flows/route.ts +0 -6
  1030. package/.forge/worktrees/pipeline-44a94121/app/api/flows/run/route.ts +0 -19
  1031. package/.forge/worktrees/pipeline-44a94121/app/api/git/route.ts +0 -149
  1032. package/.forge/worktrees/pipeline-44a94121/app/api/help/route.ts +0 -84
  1033. package/.forge/worktrees/pipeline-44a94121/app/api/issue-scanner/route.ts +0 -116
  1034. package/.forge/worktrees/pipeline-44a94121/app/api/logs/route.ts +0 -100
  1035. package/.forge/worktrees/pipeline-44a94121/app/api/mobile-chat/route.ts +0 -115
  1036. package/.forge/worktrees/pipeline-44a94121/app/api/monitor/route.ts +0 -74
  1037. package/.forge/worktrees/pipeline-44a94121/app/api/notifications/route.ts +0 -42
  1038. package/.forge/worktrees/pipeline-44a94121/app/api/notify/test/route.ts +0 -33
  1039. package/.forge/worktrees/pipeline-44a94121/app/api/online/route.ts +0 -40
  1040. package/.forge/worktrees/pipeline-44a94121/app/api/pipelines/[id]/route.ts +0 -41
  1041. package/.forge/worktrees/pipeline-44a94121/app/api/pipelines/route.ts +0 -90
  1042. package/.forge/worktrees/pipeline-44a94121/app/api/plugins/route.ts +0 -75
  1043. package/.forge/worktrees/pipeline-44a94121/app/api/preview/[...path]/route.ts +0 -64
  1044. package/.forge/worktrees/pipeline-44a94121/app/api/preview/route.ts +0 -156
  1045. package/.forge/worktrees/pipeline-44a94121/app/api/project-pipelines/route.ts +0 -91
  1046. package/.forge/worktrees/pipeline-44a94121/app/api/project-sessions/route.ts +0 -61
  1047. package/.forge/worktrees/pipeline-44a94121/app/api/projects/route.ts +0 -26
  1048. package/.forge/worktrees/pipeline-44a94121/app/api/sessions/[id]/chat/route.ts +0 -64
  1049. package/.forge/worktrees/pipeline-44a94121/app/api/sessions/[id]/messages/route.ts +0 -9
  1050. package/.forge/worktrees/pipeline-44a94121/app/api/sessions/[id]/route.ts +0 -17
  1051. package/.forge/worktrees/pipeline-44a94121/app/api/sessions/route.ts +0 -20
  1052. package/.forge/worktrees/pipeline-44a94121/app/api/settings/route.ts +0 -64
  1053. package/.forge/worktrees/pipeline-44a94121/app/api/skills/local/route.ts +0 -228
  1054. package/.forge/worktrees/pipeline-44a94121/app/api/skills/route.ts +0 -182
  1055. package/.forge/worktrees/pipeline-44a94121/app/api/smith-templates/route.ts +0 -81
  1056. package/.forge/worktrees/pipeline-44a94121/app/api/status/route.ts +0 -12
  1057. package/.forge/worktrees/pipeline-44a94121/app/api/tabs/route.ts +0 -25
  1058. package/.forge/worktrees/pipeline-44a94121/app/api/tasks/[id]/route.ts +0 -51
  1059. package/.forge/worktrees/pipeline-44a94121/app/api/tasks/[id]/stream/route.ts +0 -77
  1060. package/.forge/worktrees/pipeline-44a94121/app/api/tasks/link/route.ts +0 -37
  1061. package/.forge/worktrees/pipeline-44a94121/app/api/tasks/route.ts +0 -44
  1062. package/.forge/worktrees/pipeline-44a94121/app/api/tasks/session/route.ts +0 -14
  1063. package/.forge/worktrees/pipeline-44a94121/app/api/telegram/route.ts +0 -23
  1064. package/.forge/worktrees/pipeline-44a94121/app/api/templates/route.ts +0 -6
  1065. package/.forge/worktrees/pipeline-44a94121/app/api/terminal-bell/route.ts +0 -35
  1066. package/.forge/worktrees/pipeline-44a94121/app/api/terminal-cwd/route.ts +0 -19
  1067. package/.forge/worktrees/pipeline-44a94121/app/api/terminal-state/route.ts +0 -15
  1068. package/.forge/worktrees/pipeline-44a94121/app/api/tunnel/route.ts +0 -26
  1069. package/.forge/worktrees/pipeline-44a94121/app/api/upgrade/route.ts +0 -43
  1070. package/.forge/worktrees/pipeline-44a94121/app/api/usage/route.ts +0 -20
  1071. package/.forge/worktrees/pipeline-44a94121/app/api/version/route.ts +0 -78
  1072. package/.forge/worktrees/pipeline-44a94121/app/api/watchers/route.ts +0 -33
  1073. package/.forge/worktrees/pipeline-44a94121/app/api/workspace/[id]/agents/route.ts +0 -35
  1074. package/.forge/worktrees/pipeline-44a94121/app/api/workspace/[id]/memory/route.ts +0 -23
  1075. package/.forge/worktrees/pipeline-44a94121/app/api/workspace/[id]/smith/route.ts +0 -22
  1076. package/.forge/worktrees/pipeline-44a94121/app/api/workspace/[id]/stream/route.ts +0 -28
  1077. package/.forge/worktrees/pipeline-44a94121/app/api/workspace/route.ts +0 -100
  1078. package/.forge/worktrees/pipeline-44a94121/app/global-error.tsx +0 -21
  1079. package/.forge/worktrees/pipeline-44a94121/app/globals.css +0 -52
  1080. package/.forge/worktrees/pipeline-44a94121/app/icon.ico +0 -0
  1081. package/.forge/worktrees/pipeline-44a94121/app/icon.png +0 -0
  1082. package/.forge/worktrees/pipeline-44a94121/app/icon.svg +0 -106
  1083. package/.forge/worktrees/pipeline-44a94121/app/layout.tsx +0 -17
  1084. package/.forge/worktrees/pipeline-44a94121/app/login/LoginForm.tsx +0 -96
  1085. package/.forge/worktrees/pipeline-44a94121/app/login/page.tsx +0 -10
  1086. package/.forge/worktrees/pipeline-44a94121/app/mobile/page.tsx +0 -9
  1087. package/.forge/worktrees/pipeline-44a94121/app/page.tsx +0 -21
  1088. package/.forge/worktrees/pipeline-44a94121/bin/forge-server.mjs +0 -484
  1089. package/.forge/worktrees/pipeline-44a94121/check-forge-status.sh +0 -71
  1090. package/.forge/worktrees/pipeline-44a94121/cli/mw.ts +0 -579
  1091. package/.forge/worktrees/pipeline-44a94121/components/BrowserPanel.tsx +0 -175
  1092. package/.forge/worktrees/pipeline-44a94121/components/ChatPanel.tsx +0 -191
  1093. package/.forge/worktrees/pipeline-44a94121/components/ClaudeTerminal.tsx +0 -267
  1094. package/.forge/worktrees/pipeline-44a94121/components/CodeViewer.tsx +0 -787
  1095. package/.forge/worktrees/pipeline-44a94121/components/ConversationEditor.tsx +0 -411
  1096. package/.forge/worktrees/pipeline-44a94121/components/ConversationGraphView.tsx +0 -347
  1097. package/.forge/worktrees/pipeline-44a94121/components/ConversationTerminalView.tsx +0 -303
  1098. package/.forge/worktrees/pipeline-44a94121/components/Dashboard.tsx +0 -807
  1099. package/.forge/worktrees/pipeline-44a94121/components/DashboardWrapper.tsx +0 -9
  1100. package/.forge/worktrees/pipeline-44a94121/components/DeliveryFlowEditor.tsx +0 -491
  1101. package/.forge/worktrees/pipeline-44a94121/components/DeliveryList.tsx +0 -230
  1102. package/.forge/worktrees/pipeline-44a94121/components/DeliveryWorkspace.tsx +0 -589
  1103. package/.forge/worktrees/pipeline-44a94121/components/DocTerminal.tsx +0 -187
  1104. package/.forge/worktrees/pipeline-44a94121/components/DocsViewer.tsx +0 -574
  1105. package/.forge/worktrees/pipeline-44a94121/components/HelpDialog.tsx +0 -169
  1106. package/.forge/worktrees/pipeline-44a94121/components/HelpTerminal.tsx +0 -141
  1107. package/.forge/worktrees/pipeline-44a94121/components/InlinePipelineView.tsx +0 -111
  1108. package/.forge/worktrees/pipeline-44a94121/components/LogViewer.tsx +0 -194
  1109. package/.forge/worktrees/pipeline-44a94121/components/MarkdownContent.tsx +0 -73
  1110. package/.forge/worktrees/pipeline-44a94121/components/MobileView.tsx +0 -385
  1111. package/.forge/worktrees/pipeline-44a94121/components/MonitorPanel.tsx +0 -122
  1112. package/.forge/worktrees/pipeline-44a94121/components/NewSessionModal.tsx +0 -93
  1113. package/.forge/worktrees/pipeline-44a94121/components/NewTaskModal.tsx +0 -492
  1114. package/.forge/worktrees/pipeline-44a94121/components/PipelineEditor.tsx +0 -570
  1115. package/.forge/worktrees/pipeline-44a94121/components/PipelineView.tsx +0 -1018
  1116. package/.forge/worktrees/pipeline-44a94121/components/PluginsPanel.tsx +0 -472
  1117. package/.forge/worktrees/pipeline-44a94121/components/ProjectDetail.tsx +0 -1618
  1118. package/.forge/worktrees/pipeline-44a94121/components/ProjectList.tsx +0 -108
  1119. package/.forge/worktrees/pipeline-44a94121/components/ProjectManager.tsx +0 -401
  1120. package/.forge/worktrees/pipeline-44a94121/components/SessionList.tsx +0 -74
  1121. package/.forge/worktrees/pipeline-44a94121/components/SessionView.tsx +0 -726
  1122. package/.forge/worktrees/pipeline-44a94121/components/SettingsModal.tsx +0 -1647
  1123. package/.forge/worktrees/pipeline-44a94121/components/SkillsPanel.tsx +0 -969
  1124. package/.forge/worktrees/pipeline-44a94121/components/StatusBar.tsx +0 -99
  1125. package/.forge/worktrees/pipeline-44a94121/components/TabBar.tsx +0 -46
  1126. package/.forge/worktrees/pipeline-44a94121/components/TaskBoard.tsx +0 -113
  1127. package/.forge/worktrees/pipeline-44a94121/components/TaskDetail.tsx +0 -372
  1128. package/.forge/worktrees/pipeline-44a94121/components/TerminalLauncher.tsx +0 -398
  1129. package/.forge/worktrees/pipeline-44a94121/components/TunnelToggle.tsx +0 -206
  1130. package/.forge/worktrees/pipeline-44a94121/components/UsagePanel.tsx +0 -207
  1131. package/.forge/worktrees/pipeline-44a94121/components/WebTerminal.tsx +0 -1683
  1132. package/.forge/worktrees/pipeline-44a94121/components/WorkspaceTree.tsx +0 -221
  1133. package/.forge/worktrees/pipeline-44a94121/components/WorkspaceView.tsx +0 -4048
  1134. package/.forge/worktrees/pipeline-44a94121/dev-test.sh +0 -5
  1135. package/.forge/worktrees/pipeline-44a94121/docs/Forge_Memory_Layer_Design.docx +0 -0
  1136. package/.forge/worktrees/pipeline-44a94121/docs/Forge_Strategy_Research_2026.docx +0 -0
  1137. package/.forge/worktrees/pipeline-44a94121/docs/LOCAL-DEPLOY.md +0 -144
  1138. package/.forge/worktrees/pipeline-44a94121/docs/roadmap-multi-agent-workflow.md +0 -330
  1139. package/.forge/worktrees/pipeline-44a94121/forge-logo.png +0 -0
  1140. package/.forge/worktrees/pipeline-44a94121/forge-logo.svg +0 -106
  1141. package/.forge/worktrees/pipeline-44a94121/hooks/useSidebarResize.ts +0 -52
  1142. package/.forge/worktrees/pipeline-44a94121/install.sh +0 -29
  1143. package/.forge/worktrees/pipeline-44a94121/instrumentation.ts +0 -35
  1144. package/.forge/worktrees/pipeline-44a94121/lib/agents/claude-adapter.ts +0 -104
  1145. package/.forge/worktrees/pipeline-44a94121/lib/agents/generic-adapter.ts +0 -64
  1146. package/.forge/worktrees/pipeline-44a94121/lib/agents/index.ts +0 -245
  1147. package/.forge/worktrees/pipeline-44a94121/lib/agents/types.ts +0 -70
  1148. package/.forge/worktrees/pipeline-44a94121/lib/artifacts.ts +0 -106
  1149. package/.forge/worktrees/pipeline-44a94121/lib/auth.ts +0 -62
  1150. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/docker.yaml +0 -70
  1151. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/http.yaml +0 -66
  1152. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/jenkins.yaml +0 -92
  1153. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/llm-vision.yaml +0 -85
  1154. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/playwright.yaml +0 -111
  1155. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/shell-command.yaml +0 -60
  1156. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/slack.yaml +0 -48
  1157. package/.forge/worktrees/pipeline-44a94121/lib/builtin-plugins/webhook.yaml +0 -56
  1158. package/.forge/worktrees/pipeline-44a94121/lib/claude-process.ts +0 -351
  1159. package/.forge/worktrees/pipeline-44a94121/lib/claude-sessions.ts +0 -266
  1160. package/.forge/worktrees/pipeline-44a94121/lib/claude-templates.ts +0 -227
  1161. package/.forge/worktrees/pipeline-44a94121/lib/cloudflared.ts +0 -424
  1162. package/.forge/worktrees/pipeline-44a94121/lib/crypto.ts +0 -67
  1163. package/.forge/worktrees/pipeline-44a94121/lib/delivery.ts +0 -787
  1164. package/.forge/worktrees/pipeline-44a94121/lib/dirs.ts +0 -99
  1165. package/.forge/worktrees/pipeline-44a94121/lib/flows.ts +0 -86
  1166. package/.forge/worktrees/pipeline-44a94121/lib/forge-mcp-server.ts +0 -717
  1167. package/.forge/worktrees/pipeline-44a94121/lib/forge-skills/forge-inbox.md +0 -38
  1168. package/.forge/worktrees/pipeline-44a94121/lib/forge-skills/forge-send.md +0 -47
  1169. package/.forge/worktrees/pipeline-44a94121/lib/forge-skills/forge-status.md +0 -32
  1170. package/.forge/worktrees/pipeline-44a94121/lib/forge-skills/forge-workspace-sync.md +0 -37
  1171. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/00-overview.md +0 -40
  1172. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/01-settings.md +0 -194
  1173. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/02-telegram.md +0 -41
  1174. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/03-tunnel.md +0 -31
  1175. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/04-tasks.md +0 -52
  1176. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/05-pipelines.md +0 -460
  1177. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/06-skills.md +0 -43
  1178. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/07-projects.md +0 -73
  1179. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/08-rules.md +0 -53
  1180. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/09-issue-autofix.md +0 -55
  1181. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/10-troubleshooting.md +0 -89
  1182. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/11-workspace.md +0 -810
  1183. package/.forge/worktrees/pipeline-44a94121/lib/help-docs/CLAUDE.md +0 -62
  1184. package/.forge/worktrees/pipeline-44a94121/lib/init.ts +0 -266
  1185. package/.forge/worktrees/pipeline-44a94121/lib/issue-scanner.ts +0 -298
  1186. package/.forge/worktrees/pipeline-44a94121/lib/logger.ts +0 -79
  1187. package/.forge/worktrees/pipeline-44a94121/lib/notifications.ts +0 -75
  1188. package/.forge/worktrees/pipeline-44a94121/lib/notify.ts +0 -108
  1189. package/.forge/worktrees/pipeline-44a94121/lib/password.ts +0 -97
  1190. package/.forge/worktrees/pipeline-44a94121/lib/pipeline-scheduler.ts +0 -373
  1191. package/.forge/worktrees/pipeline-44a94121/lib/pipeline.ts +0 -1441
  1192. package/.forge/worktrees/pipeline-44a94121/lib/plugins/executor.ts +0 -347
  1193. package/.forge/worktrees/pipeline-44a94121/lib/plugins/registry.ts +0 -228
  1194. package/.forge/worktrees/pipeline-44a94121/lib/plugins/types.ts +0 -103
  1195. package/.forge/worktrees/pipeline-44a94121/lib/project-sessions.ts +0 -53
  1196. package/.forge/worktrees/pipeline-44a94121/lib/projects.ts +0 -86
  1197. package/.forge/worktrees/pipeline-44a94121/lib/session-manager.ts +0 -156
  1198. package/.forge/worktrees/pipeline-44a94121/lib/session-utils.ts +0 -53
  1199. package/.forge/worktrees/pipeline-44a94121/lib/session-watcher.ts +0 -345
  1200. package/.forge/worktrees/pipeline-44a94121/lib/settings.ts +0 -195
  1201. package/.forge/worktrees/pipeline-44a94121/lib/skills.ts +0 -458
  1202. package/.forge/worktrees/pipeline-44a94121/lib/task-manager.ts +0 -949
  1203. package/.forge/worktrees/pipeline-44a94121/lib/telegram-bot.ts +0 -1477
  1204. package/.forge/worktrees/pipeline-44a94121/lib/telegram-standalone.ts +0 -83
  1205. package/.forge/worktrees/pipeline-44a94121/lib/terminal-server.ts +0 -70
  1206. package/.forge/worktrees/pipeline-44a94121/lib/terminal-standalone.ts +0 -421
  1207. package/.forge/worktrees/pipeline-44a94121/lib/usage-scanner.ts +0 -249
  1208. package/.forge/worktrees/pipeline-44a94121/lib/workspace/__tests__/state-machine.test.ts +0 -388
  1209. package/.forge/worktrees/pipeline-44a94121/lib/workspace/__tests__/workspace.test.ts +0 -311
  1210. package/.forge/worktrees/pipeline-44a94121/lib/workspace/agent-bus.ts +0 -416
  1211. package/.forge/worktrees/pipeline-44a94121/lib/workspace/agent-worker.ts +0 -655
  1212. package/.forge/worktrees/pipeline-44a94121/lib/workspace/backends/api-backend.ts +0 -262
  1213. package/.forge/worktrees/pipeline-44a94121/lib/workspace/backends/cli-backend.ts +0 -491
  1214. package/.forge/worktrees/pipeline-44a94121/lib/workspace/index.ts +0 -82
  1215. package/.forge/worktrees/pipeline-44a94121/lib/workspace/manager.ts +0 -136
  1216. package/.forge/worktrees/pipeline-44a94121/lib/workspace/orchestrator.ts +0 -3400
  1217. package/.forge/worktrees/pipeline-44a94121/lib/workspace/persistence.ts +0 -309
  1218. package/.forge/worktrees/pipeline-44a94121/lib/workspace/presets.ts +0 -649
  1219. package/.forge/worktrees/pipeline-44a94121/lib/workspace/requests.ts +0 -287
  1220. package/.forge/worktrees/pipeline-44a94121/lib/workspace/session-monitor.ts +0 -240
  1221. package/.forge/worktrees/pipeline-44a94121/lib/workspace/skill-installer.ts +0 -275
  1222. package/.forge/worktrees/pipeline-44a94121/lib/workspace/smith-memory.ts +0 -498
  1223. package/.forge/worktrees/pipeline-44a94121/lib/workspace/types.ts +0 -241
  1224. package/.forge/worktrees/pipeline-44a94121/lib/workspace/watch-manager.ts +0 -560
  1225. package/.forge/worktrees/pipeline-44a94121/lib/workspace-standalone.ts +0 -911
  1226. package/.forge/worktrees/pipeline-44a94121/middleware.ts +0 -51
  1227. package/.forge/worktrees/pipeline-44a94121/next.config.ts +0 -26
  1228. package/.forge/worktrees/pipeline-44a94121/package.json +0 -74
  1229. package/.forge/worktrees/pipeline-44a94121/pnpm-lock.yaml +0 -3719
  1230. package/.forge/worktrees/pipeline-44a94121/pnpm-workspace.yaml +0 -1
  1231. package/.forge/worktrees/pipeline-44a94121/postcss.config.mjs +0 -7
  1232. package/.forge/worktrees/pipeline-44a94121/publish.sh +0 -133
  1233. package/.forge/worktrees/pipeline-44a94121/scripts/bench/README.md +0 -66
  1234. package/.forge/worktrees/pipeline-44a94121/scripts/bench/results/.gitignore +0 -2
  1235. package/.forge/worktrees/pipeline-44a94121/scripts/bench/run.ts +0 -635
  1236. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/01-text-utils/task.md +0 -26
  1237. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  1238. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  1239. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/02-pagination/task.md +0 -48
  1240. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  1241. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  1242. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  1243. package/.forge/worktrees/pipeline-44a94121/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  1244. package/.forge/worktrees/pipeline-44a94121/scripts/verify-usage.ts +0 -178
  1245. package/.forge/worktrees/pipeline-44a94121/src/config/index.ts +0 -129
  1246. package/.forge/worktrees/pipeline-44a94121/src/core/db/database.ts +0 -259
  1247. package/.forge/worktrees/pipeline-44a94121/src/core/memory/strategy.ts +0 -32
  1248. package/.forge/worktrees/pipeline-44a94121/src/core/providers/chat.ts +0 -65
  1249. package/.forge/worktrees/pipeline-44a94121/src/core/providers/registry.ts +0 -60
  1250. package/.forge/worktrees/pipeline-44a94121/src/core/session/manager.ts +0 -190
  1251. package/.forge/worktrees/pipeline-44a94121/src/types/index.ts +0 -129
  1252. package/.forge/worktrees/pipeline-44a94121/start.sh +0 -31
  1253. package/.forge/worktrees/pipeline-44a94121/templates/smith-lead.json +0 -45
  1254. package/.forge/worktrees/pipeline-44a94121/tsconfig.json +0 -42
  1255. package/.forge/worktrees/pipeline-4dd8dc2d/CLAUDE.md +0 -86
  1256. package/.forge/worktrees/pipeline-4dd8dc2d/README.md +0 -136
  1257. package/.forge/worktrees/pipeline-4dd8dc2d/RELEASE_NOTES.md +0 -36
  1258. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/agents/route.ts +0 -17
  1259. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/auth/[...nextauth]/route.ts +0 -3
  1260. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/auth/verify/route.ts +0 -46
  1261. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude/[id]/route.ts +0 -31
  1262. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude/[id]/stream/route.ts +0 -63
  1263. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude/route.ts +0 -28
  1264. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  1265. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  1266. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude-sessions/[projectName]/route.ts +0 -37
  1267. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude-sessions/sync/route.ts +0 -17
  1268. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/claude-templates/route.ts +0 -145
  1269. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/code/route.ts +0 -299
  1270. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/delivery/[id]/route.ts +0 -62
  1271. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/delivery/route.ts +0 -40
  1272. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/detect-cli/route.ts +0 -46
  1273. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/docs/route.ts +0 -176
  1274. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/docs/sessions/route.ts +0 -54
  1275. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/favorites/route.ts +0 -26
  1276. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/flows/route.ts +0 -6
  1277. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/flows/run/route.ts +0 -19
  1278. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/git/route.ts +0 -149
  1279. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/help/route.ts +0 -84
  1280. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/issue-scanner/route.ts +0 -116
  1281. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/logs/route.ts +0 -100
  1282. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/mobile-chat/route.ts +0 -115
  1283. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/monitor/route.ts +0 -74
  1284. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/notifications/route.ts +0 -42
  1285. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/notify/test/route.ts +0 -33
  1286. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/online/route.ts +0 -40
  1287. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/pipelines/[id]/route.ts +0 -41
  1288. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/pipelines/route.ts +0 -90
  1289. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/plugins/route.ts +0 -75
  1290. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/preview/[...path]/route.ts +0 -64
  1291. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/preview/route.ts +0 -156
  1292. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/project-pipelines/route.ts +0 -91
  1293. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/project-sessions/route.ts +0 -61
  1294. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/projects/route.ts +0 -26
  1295. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/sessions/[id]/chat/route.ts +0 -64
  1296. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/sessions/[id]/messages/route.ts +0 -9
  1297. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/sessions/[id]/route.ts +0 -17
  1298. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/sessions/route.ts +0 -20
  1299. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/settings/route.ts +0 -64
  1300. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/skills/local/route.ts +0 -228
  1301. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/skills/route.ts +0 -182
  1302. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/smith-templates/route.ts +0 -81
  1303. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/status/route.ts +0 -12
  1304. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tabs/route.ts +0 -25
  1305. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tasks/[id]/route.ts +0 -51
  1306. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tasks/[id]/stream/route.ts +0 -77
  1307. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tasks/link/route.ts +0 -37
  1308. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tasks/route.ts +0 -44
  1309. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tasks/session/route.ts +0 -14
  1310. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/telegram/route.ts +0 -23
  1311. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/templates/route.ts +0 -6
  1312. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/terminal-bell/route.ts +0 -39
  1313. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/terminal-cwd/route.ts +0 -19
  1314. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/terminal-state/route.ts +0 -15
  1315. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/tunnel/route.ts +0 -26
  1316. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/upgrade/route.ts +0 -43
  1317. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/usage/route.ts +0 -20
  1318. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/version/route.ts +0 -78
  1319. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/watchers/route.ts +0 -33
  1320. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/workspace/[id]/agents/route.ts +0 -35
  1321. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/workspace/[id]/memory/route.ts +0 -23
  1322. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/workspace/[id]/smith/route.ts +0 -22
  1323. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/workspace/[id]/stream/route.ts +0 -31
  1324. package/.forge/worktrees/pipeline-4dd8dc2d/app/api/workspace/route.ts +0 -79
  1325. package/.forge/worktrees/pipeline-4dd8dc2d/app/global-error.tsx +0 -21
  1326. package/.forge/worktrees/pipeline-4dd8dc2d/app/globals.css +0 -52
  1327. package/.forge/worktrees/pipeline-4dd8dc2d/app/icon.ico +0 -0
  1328. package/.forge/worktrees/pipeline-4dd8dc2d/app/icon.png +0 -0
  1329. package/.forge/worktrees/pipeline-4dd8dc2d/app/icon.svg +0 -106
  1330. package/.forge/worktrees/pipeline-4dd8dc2d/app/layout.tsx +0 -17
  1331. package/.forge/worktrees/pipeline-4dd8dc2d/app/login/LoginForm.tsx +0 -96
  1332. package/.forge/worktrees/pipeline-4dd8dc2d/app/login/page.tsx +0 -10
  1333. package/.forge/worktrees/pipeline-4dd8dc2d/app/mobile/page.tsx +0 -10
  1334. package/.forge/worktrees/pipeline-4dd8dc2d/app/page.tsx +0 -22
  1335. package/.forge/worktrees/pipeline-4dd8dc2d/bin/forge-server.mjs +0 -484
  1336. package/.forge/worktrees/pipeline-4dd8dc2d/check-forge-status.sh +0 -71
  1337. package/.forge/worktrees/pipeline-4dd8dc2d/cli/mw.ts +0 -579
  1338. package/.forge/worktrees/pipeline-4dd8dc2d/components/BrowserPanel.tsx +0 -175
  1339. package/.forge/worktrees/pipeline-4dd8dc2d/components/ChatPanel.tsx +0 -191
  1340. package/.forge/worktrees/pipeline-4dd8dc2d/components/ClaudeTerminal.tsx +0 -267
  1341. package/.forge/worktrees/pipeline-4dd8dc2d/components/CodeViewer.tsx +0 -787
  1342. package/.forge/worktrees/pipeline-4dd8dc2d/components/ConversationEditor.tsx +0 -411
  1343. package/.forge/worktrees/pipeline-4dd8dc2d/components/ConversationGraphView.tsx +0 -347
  1344. package/.forge/worktrees/pipeline-4dd8dc2d/components/ConversationTerminalView.tsx +0 -303
  1345. package/.forge/worktrees/pipeline-4dd8dc2d/components/Dashboard.tsx +0 -807
  1346. package/.forge/worktrees/pipeline-4dd8dc2d/components/DashboardWrapper.tsx +0 -9
  1347. package/.forge/worktrees/pipeline-4dd8dc2d/components/DeliveryFlowEditor.tsx +0 -491
  1348. package/.forge/worktrees/pipeline-4dd8dc2d/components/DeliveryList.tsx +0 -230
  1349. package/.forge/worktrees/pipeline-4dd8dc2d/components/DeliveryWorkspace.tsx +0 -589
  1350. package/.forge/worktrees/pipeline-4dd8dc2d/components/DocTerminal.tsx +0 -187
  1351. package/.forge/worktrees/pipeline-4dd8dc2d/components/DocsViewer.tsx +0 -574
  1352. package/.forge/worktrees/pipeline-4dd8dc2d/components/HelpDialog.tsx +0 -169
  1353. package/.forge/worktrees/pipeline-4dd8dc2d/components/HelpTerminal.tsx +0 -141
  1354. package/.forge/worktrees/pipeline-4dd8dc2d/components/InlinePipelineView.tsx +0 -111
  1355. package/.forge/worktrees/pipeline-4dd8dc2d/components/LogViewer.tsx +0 -194
  1356. package/.forge/worktrees/pipeline-4dd8dc2d/components/MarkdownContent.tsx +0 -73
  1357. package/.forge/worktrees/pipeline-4dd8dc2d/components/MobileView.tsx +0 -385
  1358. package/.forge/worktrees/pipeline-4dd8dc2d/components/MonitorPanel.tsx +0 -122
  1359. package/.forge/worktrees/pipeline-4dd8dc2d/components/NewSessionModal.tsx +0 -93
  1360. package/.forge/worktrees/pipeline-4dd8dc2d/components/NewTaskModal.tsx +0 -492
  1361. package/.forge/worktrees/pipeline-4dd8dc2d/components/PipelineEditor.tsx +0 -570
  1362. package/.forge/worktrees/pipeline-4dd8dc2d/components/PipelineView.tsx +0 -1018
  1363. package/.forge/worktrees/pipeline-4dd8dc2d/components/PluginsPanel.tsx +0 -472
  1364. package/.forge/worktrees/pipeline-4dd8dc2d/components/ProjectDetail.tsx +0 -1618
  1365. package/.forge/worktrees/pipeline-4dd8dc2d/components/ProjectList.tsx +0 -108
  1366. package/.forge/worktrees/pipeline-4dd8dc2d/components/ProjectManager.tsx +0 -401
  1367. package/.forge/worktrees/pipeline-4dd8dc2d/components/SessionList.tsx +0 -74
  1368. package/.forge/worktrees/pipeline-4dd8dc2d/components/SessionView.tsx +0 -726
  1369. package/.forge/worktrees/pipeline-4dd8dc2d/components/SettingsModal.tsx +0 -1647
  1370. package/.forge/worktrees/pipeline-4dd8dc2d/components/SkillsPanel.tsx +0 -969
  1371. package/.forge/worktrees/pipeline-4dd8dc2d/components/StatusBar.tsx +0 -99
  1372. package/.forge/worktrees/pipeline-4dd8dc2d/components/TabBar.tsx +0 -46
  1373. package/.forge/worktrees/pipeline-4dd8dc2d/components/TaskBoard.tsx +0 -113
  1374. package/.forge/worktrees/pipeline-4dd8dc2d/components/TaskDetail.tsx +0 -372
  1375. package/.forge/worktrees/pipeline-4dd8dc2d/components/TerminalLauncher.tsx +0 -398
  1376. package/.forge/worktrees/pipeline-4dd8dc2d/components/TunnelToggle.tsx +0 -206
  1377. package/.forge/worktrees/pipeline-4dd8dc2d/components/UsagePanel.tsx +0 -207
  1378. package/.forge/worktrees/pipeline-4dd8dc2d/components/WebTerminal.tsx +0 -1743
  1379. package/.forge/worktrees/pipeline-4dd8dc2d/components/WorkspaceTree.tsx +0 -221
  1380. package/.forge/worktrees/pipeline-4dd8dc2d/components/WorkspaceView.tsx +0 -4048
  1381. package/.forge/worktrees/pipeline-4dd8dc2d/dev-test.sh +0 -5
  1382. package/.forge/worktrees/pipeline-4dd8dc2d/docs/Forge_Memory_Layer_Design.docx +0 -0
  1383. package/.forge/worktrees/pipeline-4dd8dc2d/docs/Forge_Strategy_Research_2026.docx +0 -0
  1384. package/.forge/worktrees/pipeline-4dd8dc2d/docs/LOCAL-DEPLOY.md +0 -144
  1385. package/.forge/worktrees/pipeline-4dd8dc2d/docs/roadmap-multi-agent-workflow.md +0 -330
  1386. package/.forge/worktrees/pipeline-4dd8dc2d/forge-logo.png +0 -0
  1387. package/.forge/worktrees/pipeline-4dd8dc2d/forge-logo.svg +0 -106
  1388. package/.forge/worktrees/pipeline-4dd8dc2d/hooks/useSidebarResize.ts +0 -52
  1389. package/.forge/worktrees/pipeline-4dd8dc2d/install.sh +0 -29
  1390. package/.forge/worktrees/pipeline-4dd8dc2d/instrumentation.ts +0 -35
  1391. package/.forge/worktrees/pipeline-4dd8dc2d/lib/agents/claude-adapter.ts +0 -104
  1392. package/.forge/worktrees/pipeline-4dd8dc2d/lib/agents/generic-adapter.ts +0 -64
  1393. package/.forge/worktrees/pipeline-4dd8dc2d/lib/agents/index.ts +0 -245
  1394. package/.forge/worktrees/pipeline-4dd8dc2d/lib/agents/types.ts +0 -70
  1395. package/.forge/worktrees/pipeline-4dd8dc2d/lib/artifacts.ts +0 -106
  1396. package/.forge/worktrees/pipeline-4dd8dc2d/lib/auth.ts +0 -62
  1397. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/docker.yaml +0 -70
  1398. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/http.yaml +0 -66
  1399. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/jenkins.yaml +0 -92
  1400. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/llm-vision.yaml +0 -85
  1401. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/playwright.yaml +0 -111
  1402. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/shell-command.yaml +0 -60
  1403. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/slack.yaml +0 -48
  1404. package/.forge/worktrees/pipeline-4dd8dc2d/lib/builtin-plugins/webhook.yaml +0 -56
  1405. package/.forge/worktrees/pipeline-4dd8dc2d/lib/claude-process.ts +0 -361
  1406. package/.forge/worktrees/pipeline-4dd8dc2d/lib/claude-sessions.ts +0 -266
  1407. package/.forge/worktrees/pipeline-4dd8dc2d/lib/claude-templates.ts +0 -227
  1408. package/.forge/worktrees/pipeline-4dd8dc2d/lib/cloudflared.ts +0 -424
  1409. package/.forge/worktrees/pipeline-4dd8dc2d/lib/crypto.ts +0 -67
  1410. package/.forge/worktrees/pipeline-4dd8dc2d/lib/delivery.ts +0 -787
  1411. package/.forge/worktrees/pipeline-4dd8dc2d/lib/dirs.ts +0 -99
  1412. package/.forge/worktrees/pipeline-4dd8dc2d/lib/flows.ts +0 -86
  1413. package/.forge/worktrees/pipeline-4dd8dc2d/lib/forge-mcp-server.ts +0 -732
  1414. package/.forge/worktrees/pipeline-4dd8dc2d/lib/forge-skills/forge-inbox.md +0 -38
  1415. package/.forge/worktrees/pipeline-4dd8dc2d/lib/forge-skills/forge-send.md +0 -47
  1416. package/.forge/worktrees/pipeline-4dd8dc2d/lib/forge-skills/forge-status.md +0 -32
  1417. package/.forge/worktrees/pipeline-4dd8dc2d/lib/forge-skills/forge-workspace-sync.md +0 -37
  1418. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/00-overview.md +0 -40
  1419. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/01-settings.md +0 -194
  1420. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/02-telegram.md +0 -41
  1421. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/03-tunnel.md +0 -31
  1422. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/04-tasks.md +0 -52
  1423. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/05-pipelines.md +0 -460
  1424. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/06-skills.md +0 -43
  1425. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/07-projects.md +0 -73
  1426. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/08-rules.md +0 -53
  1427. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/09-issue-autofix.md +0 -55
  1428. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/10-troubleshooting.md +0 -89
  1429. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/11-workspace.md +0 -810
  1430. package/.forge/worktrees/pipeline-4dd8dc2d/lib/help-docs/CLAUDE.md +0 -62
  1431. package/.forge/worktrees/pipeline-4dd8dc2d/lib/init.ts +0 -266
  1432. package/.forge/worktrees/pipeline-4dd8dc2d/lib/issue-scanner.ts +0 -298
  1433. package/.forge/worktrees/pipeline-4dd8dc2d/lib/logger.ts +0 -79
  1434. package/.forge/worktrees/pipeline-4dd8dc2d/lib/notifications.ts +0 -75
  1435. package/.forge/worktrees/pipeline-4dd8dc2d/lib/notify.ts +0 -108
  1436. package/.forge/worktrees/pipeline-4dd8dc2d/lib/password.ts +0 -97
  1437. package/.forge/worktrees/pipeline-4dd8dc2d/lib/pipeline-scheduler.ts +0 -373
  1438. package/.forge/worktrees/pipeline-4dd8dc2d/lib/pipeline.ts +0 -1565
  1439. package/.forge/worktrees/pipeline-4dd8dc2d/lib/plugins/executor.ts +0 -347
  1440. package/.forge/worktrees/pipeline-4dd8dc2d/lib/plugins/registry.ts +0 -228
  1441. package/.forge/worktrees/pipeline-4dd8dc2d/lib/plugins/types.ts +0 -103
  1442. package/.forge/worktrees/pipeline-4dd8dc2d/lib/project-sessions.ts +0 -53
  1443. package/.forge/worktrees/pipeline-4dd8dc2d/lib/projects.ts +0 -86
  1444. package/.forge/worktrees/pipeline-4dd8dc2d/lib/session-manager.ts +0 -156
  1445. package/.forge/worktrees/pipeline-4dd8dc2d/lib/session-utils.ts +0 -53
  1446. package/.forge/worktrees/pipeline-4dd8dc2d/lib/session-watcher.ts +0 -345
  1447. package/.forge/worktrees/pipeline-4dd8dc2d/lib/settings.ts +0 -195
  1448. package/.forge/worktrees/pipeline-4dd8dc2d/lib/skills.ts +0 -458
  1449. package/.forge/worktrees/pipeline-4dd8dc2d/lib/task-manager.ts +0 -951
  1450. package/.forge/worktrees/pipeline-4dd8dc2d/lib/telegram-bot.ts +0 -1477
  1451. package/.forge/worktrees/pipeline-4dd8dc2d/lib/telegram-standalone.ts +0 -83
  1452. package/.forge/worktrees/pipeline-4dd8dc2d/lib/terminal-server.ts +0 -70
  1453. package/.forge/worktrees/pipeline-4dd8dc2d/lib/terminal-standalone.ts +0 -438
  1454. package/.forge/worktrees/pipeline-4dd8dc2d/lib/usage-scanner.ts +0 -249
  1455. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/__tests__/state-machine.test.ts +0 -388
  1456. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/__tests__/workspace.test.ts +0 -311
  1457. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/agent-bus.ts +0 -416
  1458. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/agent-worker.ts +0 -655
  1459. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/backends/api-backend.ts +0 -262
  1460. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/backends/cli-backend.ts +0 -491
  1461. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/index.ts +0 -84
  1462. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/manager.ts +0 -136
  1463. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/orchestrator.ts +0 -3415
  1464. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/persistence.ts +0 -309
  1465. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/presets.ts +0 -649
  1466. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/requests.ts +0 -287
  1467. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/session-monitor.ts +0 -240
  1468. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/skill-installer.ts +0 -275
  1469. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/smith-memory.ts +0 -498
  1470. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/types.ts +0 -241
  1471. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace/watch-manager.ts +0 -560
  1472. package/.forge/worktrees/pipeline-4dd8dc2d/lib/workspace-standalone.ts +0 -978
  1473. package/.forge/worktrees/pipeline-4dd8dc2d/middleware.ts +0 -51
  1474. package/.forge/worktrees/pipeline-4dd8dc2d/next.config.ts +0 -26
  1475. package/.forge/worktrees/pipeline-4dd8dc2d/package.json +0 -74
  1476. package/.forge/worktrees/pipeline-4dd8dc2d/pnpm-lock.yaml +0 -3719
  1477. package/.forge/worktrees/pipeline-4dd8dc2d/pnpm-workspace.yaml +0 -1
  1478. package/.forge/worktrees/pipeline-4dd8dc2d/postcss.config.mjs +0 -7
  1479. package/.forge/worktrees/pipeline-4dd8dc2d/publish.sh +0 -133
  1480. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/README.md +0 -66
  1481. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/results/.gitignore +0 -2
  1482. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/run.ts +0 -635
  1483. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/01-text-utils/task.md +0 -26
  1484. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  1485. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  1486. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/02-pagination/task.md +0 -48
  1487. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  1488. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  1489. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  1490. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  1491. package/.forge/worktrees/pipeline-4dd8dc2d/scripts/verify-usage.ts +0 -178
  1492. package/.forge/worktrees/pipeline-4dd8dc2d/src/config/index.ts +0 -129
  1493. package/.forge/worktrees/pipeline-4dd8dc2d/src/core/db/database.ts +0 -259
  1494. package/.forge/worktrees/pipeline-4dd8dc2d/src/core/memory/strategy.ts +0 -32
  1495. package/.forge/worktrees/pipeline-4dd8dc2d/src/core/providers/chat.ts +0 -65
  1496. package/.forge/worktrees/pipeline-4dd8dc2d/src/core/providers/registry.ts +0 -60
  1497. package/.forge/worktrees/pipeline-4dd8dc2d/src/core/session/manager.ts +0 -190
  1498. package/.forge/worktrees/pipeline-4dd8dc2d/src/types/index.ts +0 -129
  1499. package/.forge/worktrees/pipeline-4dd8dc2d/start.sh +0 -32
  1500. package/.forge/worktrees/pipeline-4dd8dc2d/templates/smith-lead.json +0 -45
  1501. package/.forge/worktrees/pipeline-4dd8dc2d/tsconfig.json +0 -42
  1502. package/.forge/worktrees/pipeline-d1757a50/CLAUDE.md +0 -86
  1503. package/.forge/worktrees/pipeline-d1757a50/README.md +0 -136
  1504. package/.forge/worktrees/pipeline-d1757a50/RELEASE_NOTES.md +0 -11
  1505. package/.forge/worktrees/pipeline-d1757a50/app/api/agents/route.ts +0 -17
  1506. package/.forge/worktrees/pipeline-d1757a50/app/api/auth/[...nextauth]/route.ts +0 -3
  1507. package/.forge/worktrees/pipeline-d1757a50/app/api/auth/verify/route.ts +0 -46
  1508. package/.forge/worktrees/pipeline-d1757a50/app/api/claude/[id]/route.ts +0 -31
  1509. package/.forge/worktrees/pipeline-d1757a50/app/api/claude/[id]/stream/route.ts +0 -63
  1510. package/.forge/worktrees/pipeline-d1757a50/app/api/claude/route.ts +0 -28
  1511. package/.forge/worktrees/pipeline-d1757a50/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  1512. package/.forge/worktrees/pipeline-d1757a50/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  1513. package/.forge/worktrees/pipeline-d1757a50/app/api/claude-sessions/[projectName]/route.ts +0 -37
  1514. package/.forge/worktrees/pipeline-d1757a50/app/api/claude-sessions/sync/route.ts +0 -17
  1515. package/.forge/worktrees/pipeline-d1757a50/app/api/claude-templates/route.ts +0 -145
  1516. package/.forge/worktrees/pipeline-d1757a50/app/api/code/route.ts +0 -299
  1517. package/.forge/worktrees/pipeline-d1757a50/app/api/delivery/[id]/route.ts +0 -62
  1518. package/.forge/worktrees/pipeline-d1757a50/app/api/delivery/route.ts +0 -40
  1519. package/.forge/worktrees/pipeline-d1757a50/app/api/detect-cli/route.ts +0 -46
  1520. package/.forge/worktrees/pipeline-d1757a50/app/api/docs/route.ts +0 -176
  1521. package/.forge/worktrees/pipeline-d1757a50/app/api/docs/sessions/route.ts +0 -54
  1522. package/.forge/worktrees/pipeline-d1757a50/app/api/favorites/route.ts +0 -26
  1523. package/.forge/worktrees/pipeline-d1757a50/app/api/flows/route.ts +0 -6
  1524. package/.forge/worktrees/pipeline-d1757a50/app/api/flows/run/route.ts +0 -19
  1525. package/.forge/worktrees/pipeline-d1757a50/app/api/git/route.ts +0 -149
  1526. package/.forge/worktrees/pipeline-d1757a50/app/api/help/route.ts +0 -84
  1527. package/.forge/worktrees/pipeline-d1757a50/app/api/issue-scanner/route.ts +0 -116
  1528. package/.forge/worktrees/pipeline-d1757a50/app/api/logs/route.ts +0 -100
  1529. package/.forge/worktrees/pipeline-d1757a50/app/api/mobile-chat/route.ts +0 -115
  1530. package/.forge/worktrees/pipeline-d1757a50/app/api/monitor/route.ts +0 -74
  1531. package/.forge/worktrees/pipeline-d1757a50/app/api/notifications/route.ts +0 -42
  1532. package/.forge/worktrees/pipeline-d1757a50/app/api/notify/test/route.ts +0 -33
  1533. package/.forge/worktrees/pipeline-d1757a50/app/api/online/route.ts +0 -40
  1534. package/.forge/worktrees/pipeline-d1757a50/app/api/pipelines/[id]/route.ts +0 -41
  1535. package/.forge/worktrees/pipeline-d1757a50/app/api/pipelines/route.ts +0 -90
  1536. package/.forge/worktrees/pipeline-d1757a50/app/api/plugins/route.ts +0 -75
  1537. package/.forge/worktrees/pipeline-d1757a50/app/api/preview/[...path]/route.ts +0 -64
  1538. package/.forge/worktrees/pipeline-d1757a50/app/api/preview/route.ts +0 -156
  1539. package/.forge/worktrees/pipeline-d1757a50/app/api/project-pipelines/route.ts +0 -91
  1540. package/.forge/worktrees/pipeline-d1757a50/app/api/project-sessions/route.ts +0 -61
  1541. package/.forge/worktrees/pipeline-d1757a50/app/api/projects/route.ts +0 -26
  1542. package/.forge/worktrees/pipeline-d1757a50/app/api/sessions/[id]/chat/route.ts +0 -64
  1543. package/.forge/worktrees/pipeline-d1757a50/app/api/sessions/[id]/messages/route.ts +0 -9
  1544. package/.forge/worktrees/pipeline-d1757a50/app/api/sessions/[id]/route.ts +0 -17
  1545. package/.forge/worktrees/pipeline-d1757a50/app/api/sessions/route.ts +0 -20
  1546. package/.forge/worktrees/pipeline-d1757a50/app/api/settings/route.ts +0 -64
  1547. package/.forge/worktrees/pipeline-d1757a50/app/api/skills/local/route.ts +0 -228
  1548. package/.forge/worktrees/pipeline-d1757a50/app/api/skills/route.ts +0 -182
  1549. package/.forge/worktrees/pipeline-d1757a50/app/api/smith-templates/route.ts +0 -81
  1550. package/.forge/worktrees/pipeline-d1757a50/app/api/status/route.ts +0 -12
  1551. package/.forge/worktrees/pipeline-d1757a50/app/api/tabs/route.ts +0 -25
  1552. package/.forge/worktrees/pipeline-d1757a50/app/api/tasks/[id]/route.ts +0 -51
  1553. package/.forge/worktrees/pipeline-d1757a50/app/api/tasks/[id]/stream/route.ts +0 -77
  1554. package/.forge/worktrees/pipeline-d1757a50/app/api/tasks/link/route.ts +0 -37
  1555. package/.forge/worktrees/pipeline-d1757a50/app/api/tasks/route.ts +0 -44
  1556. package/.forge/worktrees/pipeline-d1757a50/app/api/tasks/session/route.ts +0 -14
  1557. package/.forge/worktrees/pipeline-d1757a50/app/api/telegram/route.ts +0 -23
  1558. package/.forge/worktrees/pipeline-d1757a50/app/api/templates/route.ts +0 -6
  1559. package/.forge/worktrees/pipeline-d1757a50/app/api/terminal-bell/route.ts +0 -35
  1560. package/.forge/worktrees/pipeline-d1757a50/app/api/terminal-cwd/route.ts +0 -19
  1561. package/.forge/worktrees/pipeline-d1757a50/app/api/terminal-state/route.ts +0 -15
  1562. package/.forge/worktrees/pipeline-d1757a50/app/api/tunnel/route.ts +0 -26
  1563. package/.forge/worktrees/pipeline-d1757a50/app/api/upgrade/route.ts +0 -43
  1564. package/.forge/worktrees/pipeline-d1757a50/app/api/usage/route.ts +0 -20
  1565. package/.forge/worktrees/pipeline-d1757a50/app/api/version/route.ts +0 -78
  1566. package/.forge/worktrees/pipeline-d1757a50/app/api/watchers/route.ts +0 -33
  1567. package/.forge/worktrees/pipeline-d1757a50/app/api/workspace/[id]/agents/route.ts +0 -35
  1568. package/.forge/worktrees/pipeline-d1757a50/app/api/workspace/[id]/memory/route.ts +0 -23
  1569. package/.forge/worktrees/pipeline-d1757a50/app/api/workspace/[id]/smith/route.ts +0 -22
  1570. package/.forge/worktrees/pipeline-d1757a50/app/api/workspace/[id]/stream/route.ts +0 -28
  1571. package/.forge/worktrees/pipeline-d1757a50/app/api/workspace/route.ts +0 -100
  1572. package/.forge/worktrees/pipeline-d1757a50/app/global-error.tsx +0 -21
  1573. package/.forge/worktrees/pipeline-d1757a50/app/globals.css +0 -52
  1574. package/.forge/worktrees/pipeline-d1757a50/app/icon.ico +0 -0
  1575. package/.forge/worktrees/pipeline-d1757a50/app/icon.png +0 -0
  1576. package/.forge/worktrees/pipeline-d1757a50/app/icon.svg +0 -106
  1577. package/.forge/worktrees/pipeline-d1757a50/app/layout.tsx +0 -17
  1578. package/.forge/worktrees/pipeline-d1757a50/app/login/LoginForm.tsx +0 -96
  1579. package/.forge/worktrees/pipeline-d1757a50/app/login/page.tsx +0 -10
  1580. package/.forge/worktrees/pipeline-d1757a50/app/mobile/page.tsx +0 -9
  1581. package/.forge/worktrees/pipeline-d1757a50/app/page.tsx +0 -21
  1582. package/.forge/worktrees/pipeline-d1757a50/bin/forge-server.mjs +0 -484
  1583. package/.forge/worktrees/pipeline-d1757a50/check-forge-status.sh +0 -71
  1584. package/.forge/worktrees/pipeline-d1757a50/cli/mw.ts +0 -579
  1585. package/.forge/worktrees/pipeline-d1757a50/components/BrowserPanel.tsx +0 -175
  1586. package/.forge/worktrees/pipeline-d1757a50/components/ChatPanel.tsx +0 -191
  1587. package/.forge/worktrees/pipeline-d1757a50/components/ClaudeTerminal.tsx +0 -267
  1588. package/.forge/worktrees/pipeline-d1757a50/components/CodeViewer.tsx +0 -787
  1589. package/.forge/worktrees/pipeline-d1757a50/components/ConversationEditor.tsx +0 -411
  1590. package/.forge/worktrees/pipeline-d1757a50/components/ConversationGraphView.tsx +0 -347
  1591. package/.forge/worktrees/pipeline-d1757a50/components/ConversationTerminalView.tsx +0 -303
  1592. package/.forge/worktrees/pipeline-d1757a50/components/Dashboard.tsx +0 -807
  1593. package/.forge/worktrees/pipeline-d1757a50/components/DashboardWrapper.tsx +0 -9
  1594. package/.forge/worktrees/pipeline-d1757a50/components/DeliveryFlowEditor.tsx +0 -491
  1595. package/.forge/worktrees/pipeline-d1757a50/components/DeliveryList.tsx +0 -230
  1596. package/.forge/worktrees/pipeline-d1757a50/components/DeliveryWorkspace.tsx +0 -589
  1597. package/.forge/worktrees/pipeline-d1757a50/components/DocTerminal.tsx +0 -187
  1598. package/.forge/worktrees/pipeline-d1757a50/components/DocsViewer.tsx +0 -574
  1599. package/.forge/worktrees/pipeline-d1757a50/components/HelpDialog.tsx +0 -169
  1600. package/.forge/worktrees/pipeline-d1757a50/components/HelpTerminal.tsx +0 -141
  1601. package/.forge/worktrees/pipeline-d1757a50/components/InlinePipelineView.tsx +0 -111
  1602. package/.forge/worktrees/pipeline-d1757a50/components/LogViewer.tsx +0 -194
  1603. package/.forge/worktrees/pipeline-d1757a50/components/MarkdownContent.tsx +0 -73
  1604. package/.forge/worktrees/pipeline-d1757a50/components/MobileView.tsx +0 -385
  1605. package/.forge/worktrees/pipeline-d1757a50/components/MonitorPanel.tsx +0 -122
  1606. package/.forge/worktrees/pipeline-d1757a50/components/NewSessionModal.tsx +0 -93
  1607. package/.forge/worktrees/pipeline-d1757a50/components/NewTaskModal.tsx +0 -492
  1608. package/.forge/worktrees/pipeline-d1757a50/components/PipelineEditor.tsx +0 -570
  1609. package/.forge/worktrees/pipeline-d1757a50/components/PipelineView.tsx +0 -1018
  1610. package/.forge/worktrees/pipeline-d1757a50/components/PluginsPanel.tsx +0 -472
  1611. package/.forge/worktrees/pipeline-d1757a50/components/ProjectDetail.tsx +0 -1618
  1612. package/.forge/worktrees/pipeline-d1757a50/components/ProjectList.tsx +0 -108
  1613. package/.forge/worktrees/pipeline-d1757a50/components/ProjectManager.tsx +0 -401
  1614. package/.forge/worktrees/pipeline-d1757a50/components/SessionList.tsx +0 -74
  1615. package/.forge/worktrees/pipeline-d1757a50/components/SessionView.tsx +0 -726
  1616. package/.forge/worktrees/pipeline-d1757a50/components/SettingsModal.tsx +0 -1647
  1617. package/.forge/worktrees/pipeline-d1757a50/components/SkillsPanel.tsx +0 -969
  1618. package/.forge/worktrees/pipeline-d1757a50/components/StatusBar.tsx +0 -99
  1619. package/.forge/worktrees/pipeline-d1757a50/components/TabBar.tsx +0 -46
  1620. package/.forge/worktrees/pipeline-d1757a50/components/TaskBoard.tsx +0 -113
  1621. package/.forge/worktrees/pipeline-d1757a50/components/TaskDetail.tsx +0 -372
  1622. package/.forge/worktrees/pipeline-d1757a50/components/TerminalLauncher.tsx +0 -398
  1623. package/.forge/worktrees/pipeline-d1757a50/components/TunnelToggle.tsx +0 -206
  1624. package/.forge/worktrees/pipeline-d1757a50/components/UsagePanel.tsx +0 -207
  1625. package/.forge/worktrees/pipeline-d1757a50/components/WebTerminal.tsx +0 -1683
  1626. package/.forge/worktrees/pipeline-d1757a50/components/WorkspaceTree.tsx +0 -221
  1627. package/.forge/worktrees/pipeline-d1757a50/components/WorkspaceView.tsx +0 -4048
  1628. package/.forge/worktrees/pipeline-d1757a50/dev-test.sh +0 -5
  1629. package/.forge/worktrees/pipeline-d1757a50/docs/Forge_Memory_Layer_Design.docx +0 -0
  1630. package/.forge/worktrees/pipeline-d1757a50/docs/Forge_Strategy_Research_2026.docx +0 -0
  1631. package/.forge/worktrees/pipeline-d1757a50/docs/LOCAL-DEPLOY.md +0 -144
  1632. package/.forge/worktrees/pipeline-d1757a50/docs/roadmap-multi-agent-workflow.md +0 -330
  1633. package/.forge/worktrees/pipeline-d1757a50/forge-logo.png +0 -0
  1634. package/.forge/worktrees/pipeline-d1757a50/forge-logo.svg +0 -106
  1635. package/.forge/worktrees/pipeline-d1757a50/hooks/useSidebarResize.ts +0 -52
  1636. package/.forge/worktrees/pipeline-d1757a50/install.sh +0 -29
  1637. package/.forge/worktrees/pipeline-d1757a50/instrumentation.ts +0 -35
  1638. package/.forge/worktrees/pipeline-d1757a50/lib/agents/claude-adapter.ts +0 -104
  1639. package/.forge/worktrees/pipeline-d1757a50/lib/agents/generic-adapter.ts +0 -64
  1640. package/.forge/worktrees/pipeline-d1757a50/lib/agents/index.ts +0 -245
  1641. package/.forge/worktrees/pipeline-d1757a50/lib/agents/types.ts +0 -70
  1642. package/.forge/worktrees/pipeline-d1757a50/lib/artifacts.ts +0 -106
  1643. package/.forge/worktrees/pipeline-d1757a50/lib/auth.ts +0 -62
  1644. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/docker.yaml +0 -70
  1645. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/http.yaml +0 -66
  1646. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/jenkins.yaml +0 -92
  1647. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/llm-vision.yaml +0 -85
  1648. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/playwright.yaml +0 -111
  1649. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/shell-command.yaml +0 -60
  1650. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/slack.yaml +0 -48
  1651. package/.forge/worktrees/pipeline-d1757a50/lib/builtin-plugins/webhook.yaml +0 -56
  1652. package/.forge/worktrees/pipeline-d1757a50/lib/claude-process.ts +0 -361
  1653. package/.forge/worktrees/pipeline-d1757a50/lib/claude-sessions.ts +0 -266
  1654. package/.forge/worktrees/pipeline-d1757a50/lib/claude-templates.ts +0 -227
  1655. package/.forge/worktrees/pipeline-d1757a50/lib/cloudflared.ts +0 -424
  1656. package/.forge/worktrees/pipeline-d1757a50/lib/crypto.ts +0 -67
  1657. package/.forge/worktrees/pipeline-d1757a50/lib/delivery.ts +0 -787
  1658. package/.forge/worktrees/pipeline-d1757a50/lib/dirs.ts +0 -99
  1659. package/.forge/worktrees/pipeline-d1757a50/lib/flows.ts +0 -86
  1660. package/.forge/worktrees/pipeline-d1757a50/lib/forge-mcp-server.ts +0 -717
  1661. package/.forge/worktrees/pipeline-d1757a50/lib/forge-skills/forge-inbox.md +0 -38
  1662. package/.forge/worktrees/pipeline-d1757a50/lib/forge-skills/forge-send.md +0 -47
  1663. package/.forge/worktrees/pipeline-d1757a50/lib/forge-skills/forge-status.md +0 -32
  1664. package/.forge/worktrees/pipeline-d1757a50/lib/forge-skills/forge-workspace-sync.md +0 -37
  1665. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/00-overview.md +0 -40
  1666. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/01-settings.md +0 -194
  1667. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/02-telegram.md +0 -41
  1668. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/03-tunnel.md +0 -31
  1669. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/04-tasks.md +0 -52
  1670. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/05-pipelines.md +0 -460
  1671. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/06-skills.md +0 -43
  1672. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/07-projects.md +0 -73
  1673. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/08-rules.md +0 -53
  1674. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/09-issue-autofix.md +0 -55
  1675. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/10-troubleshooting.md +0 -89
  1676. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/11-workspace.md +0 -810
  1677. package/.forge/worktrees/pipeline-d1757a50/lib/help-docs/CLAUDE.md +0 -62
  1678. package/.forge/worktrees/pipeline-d1757a50/lib/init.ts +0 -266
  1679. package/.forge/worktrees/pipeline-d1757a50/lib/issue-scanner.ts +0 -298
  1680. package/.forge/worktrees/pipeline-d1757a50/lib/logger.ts +0 -79
  1681. package/.forge/worktrees/pipeline-d1757a50/lib/notifications.ts +0 -75
  1682. package/.forge/worktrees/pipeline-d1757a50/lib/notify.ts +0 -108
  1683. package/.forge/worktrees/pipeline-d1757a50/lib/password.ts +0 -97
  1684. package/.forge/worktrees/pipeline-d1757a50/lib/pipeline-scheduler.ts +0 -373
  1685. package/.forge/worktrees/pipeline-d1757a50/lib/pipeline.ts +0 -1441
  1686. package/.forge/worktrees/pipeline-d1757a50/lib/plugins/executor.ts +0 -347
  1687. package/.forge/worktrees/pipeline-d1757a50/lib/plugins/registry.ts +0 -228
  1688. package/.forge/worktrees/pipeline-d1757a50/lib/plugins/types.ts +0 -103
  1689. package/.forge/worktrees/pipeline-d1757a50/lib/project-sessions.ts +0 -53
  1690. package/.forge/worktrees/pipeline-d1757a50/lib/projects.ts +0 -86
  1691. package/.forge/worktrees/pipeline-d1757a50/lib/session-manager.ts +0 -156
  1692. package/.forge/worktrees/pipeline-d1757a50/lib/session-utils.ts +0 -53
  1693. package/.forge/worktrees/pipeline-d1757a50/lib/session-watcher.ts +0 -345
  1694. package/.forge/worktrees/pipeline-d1757a50/lib/settings.ts +0 -195
  1695. package/.forge/worktrees/pipeline-d1757a50/lib/skills.ts +0 -458
  1696. package/.forge/worktrees/pipeline-d1757a50/lib/task-manager.ts +0 -949
  1697. package/.forge/worktrees/pipeline-d1757a50/lib/telegram-bot.ts +0 -1477
  1698. package/.forge/worktrees/pipeline-d1757a50/lib/telegram-standalone.ts +0 -83
  1699. package/.forge/worktrees/pipeline-d1757a50/lib/terminal-server.ts +0 -70
  1700. package/.forge/worktrees/pipeline-d1757a50/lib/terminal-standalone.ts +0 -421
  1701. package/.forge/worktrees/pipeline-d1757a50/lib/usage-scanner.ts +0 -249
  1702. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/__tests__/state-machine.test.ts +0 -388
  1703. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/__tests__/workspace.test.ts +0 -311
  1704. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/agent-bus.ts +0 -416
  1705. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/agent-worker.ts +0 -655
  1706. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/backends/api-backend.ts +0 -262
  1707. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/backends/cli-backend.ts +0 -491
  1708. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/index.ts +0 -82
  1709. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/manager.ts +0 -136
  1710. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/orchestrator.ts +0 -3400
  1711. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/persistence.ts +0 -309
  1712. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/presets.ts +0 -649
  1713. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/requests.ts +0 -287
  1714. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/session-monitor.ts +0 -240
  1715. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/skill-installer.ts +0 -275
  1716. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/smith-memory.ts +0 -498
  1717. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/types.ts +0 -241
  1718. package/.forge/worktrees/pipeline-d1757a50/lib/workspace/watch-manager.ts +0 -560
  1719. package/.forge/worktrees/pipeline-d1757a50/lib/workspace-standalone.ts +0 -911
  1720. package/.forge/worktrees/pipeline-d1757a50/middleware.ts +0 -51
  1721. package/.forge/worktrees/pipeline-d1757a50/next.config.ts +0 -26
  1722. package/.forge/worktrees/pipeline-d1757a50/package.json +0 -74
  1723. package/.forge/worktrees/pipeline-d1757a50/pnpm-lock.yaml +0 -3719
  1724. package/.forge/worktrees/pipeline-d1757a50/pnpm-workspace.yaml +0 -1
  1725. package/.forge/worktrees/pipeline-d1757a50/postcss.config.mjs +0 -7
  1726. package/.forge/worktrees/pipeline-d1757a50/publish.sh +0 -133
  1727. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/README.md +0 -66
  1728. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/results/.gitignore +0 -2
  1729. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/run.ts +0 -635
  1730. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/01-text-utils/task.md +0 -26
  1731. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  1732. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  1733. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/02-pagination/task.md +0 -48
  1734. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  1735. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  1736. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  1737. package/.forge/worktrees/pipeline-d1757a50/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  1738. package/.forge/worktrees/pipeline-d1757a50/scripts/verify-usage.ts +0 -178
  1739. package/.forge/worktrees/pipeline-d1757a50/src/config/index.ts +0 -129
  1740. package/.forge/worktrees/pipeline-d1757a50/src/core/db/database.ts +0 -259
  1741. package/.forge/worktrees/pipeline-d1757a50/src/core/memory/strategy.ts +0 -32
  1742. package/.forge/worktrees/pipeline-d1757a50/src/core/providers/chat.ts +0 -65
  1743. package/.forge/worktrees/pipeline-d1757a50/src/core/providers/registry.ts +0 -60
  1744. package/.forge/worktrees/pipeline-d1757a50/src/core/session/manager.ts +0 -190
  1745. package/.forge/worktrees/pipeline-d1757a50/src/types/index.ts +0 -129
  1746. package/.forge/worktrees/pipeline-d1757a50/start.sh +0 -31
  1747. package/.forge/worktrees/pipeline-d1757a50/templates/smith-lead.json +0 -45
  1748. package/.forge/worktrees/pipeline-d1757a50/tsconfig.json +0 -42
  1749. package/.forge/worktrees/pipeline-d59c2fe2/CLAUDE.md +0 -86
  1750. package/.forge/worktrees/pipeline-d59c2fe2/README.md +0 -136
  1751. package/.forge/worktrees/pipeline-d59c2fe2/RELEASE_NOTES.md +0 -11
  1752. package/.forge/worktrees/pipeline-d59c2fe2/app/api/agents/route.ts +0 -17
  1753. package/.forge/worktrees/pipeline-d59c2fe2/app/api/auth/[...nextauth]/route.ts +0 -3
  1754. package/.forge/worktrees/pipeline-d59c2fe2/app/api/auth/verify/route.ts +0 -46
  1755. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude/[id]/route.ts +0 -31
  1756. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude/[id]/stream/route.ts +0 -63
  1757. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude/route.ts +0 -28
  1758. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  1759. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  1760. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude-sessions/[projectName]/route.ts +0 -37
  1761. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude-sessions/sync/route.ts +0 -17
  1762. package/.forge/worktrees/pipeline-d59c2fe2/app/api/claude-templates/route.ts +0 -145
  1763. package/.forge/worktrees/pipeline-d59c2fe2/app/api/code/route.ts +0 -299
  1764. package/.forge/worktrees/pipeline-d59c2fe2/app/api/delivery/[id]/route.ts +0 -62
  1765. package/.forge/worktrees/pipeline-d59c2fe2/app/api/delivery/route.ts +0 -40
  1766. package/.forge/worktrees/pipeline-d59c2fe2/app/api/detect-cli/route.ts +0 -46
  1767. package/.forge/worktrees/pipeline-d59c2fe2/app/api/docs/route.ts +0 -176
  1768. package/.forge/worktrees/pipeline-d59c2fe2/app/api/docs/sessions/route.ts +0 -54
  1769. package/.forge/worktrees/pipeline-d59c2fe2/app/api/favorites/route.ts +0 -26
  1770. package/.forge/worktrees/pipeline-d59c2fe2/app/api/flows/route.ts +0 -6
  1771. package/.forge/worktrees/pipeline-d59c2fe2/app/api/flows/run/route.ts +0 -19
  1772. package/.forge/worktrees/pipeline-d59c2fe2/app/api/git/route.ts +0 -149
  1773. package/.forge/worktrees/pipeline-d59c2fe2/app/api/help/route.ts +0 -84
  1774. package/.forge/worktrees/pipeline-d59c2fe2/app/api/issue-scanner/route.ts +0 -116
  1775. package/.forge/worktrees/pipeline-d59c2fe2/app/api/logs/route.ts +0 -100
  1776. package/.forge/worktrees/pipeline-d59c2fe2/app/api/mobile-chat/route.ts +0 -115
  1777. package/.forge/worktrees/pipeline-d59c2fe2/app/api/monitor/route.ts +0 -74
  1778. package/.forge/worktrees/pipeline-d59c2fe2/app/api/notifications/route.ts +0 -42
  1779. package/.forge/worktrees/pipeline-d59c2fe2/app/api/notify/test/route.ts +0 -33
  1780. package/.forge/worktrees/pipeline-d59c2fe2/app/api/online/route.ts +0 -40
  1781. package/.forge/worktrees/pipeline-d59c2fe2/app/api/pipelines/[id]/route.ts +0 -41
  1782. package/.forge/worktrees/pipeline-d59c2fe2/app/api/pipelines/route.ts +0 -90
  1783. package/.forge/worktrees/pipeline-d59c2fe2/app/api/plugins/route.ts +0 -75
  1784. package/.forge/worktrees/pipeline-d59c2fe2/app/api/preview/[...path]/route.ts +0 -64
  1785. package/.forge/worktrees/pipeline-d59c2fe2/app/api/preview/route.ts +0 -156
  1786. package/.forge/worktrees/pipeline-d59c2fe2/app/api/project-pipelines/route.ts +0 -91
  1787. package/.forge/worktrees/pipeline-d59c2fe2/app/api/project-sessions/route.ts +0 -61
  1788. package/.forge/worktrees/pipeline-d59c2fe2/app/api/projects/route.ts +0 -26
  1789. package/.forge/worktrees/pipeline-d59c2fe2/app/api/sessions/[id]/chat/route.ts +0 -64
  1790. package/.forge/worktrees/pipeline-d59c2fe2/app/api/sessions/[id]/messages/route.ts +0 -9
  1791. package/.forge/worktrees/pipeline-d59c2fe2/app/api/sessions/[id]/route.ts +0 -17
  1792. package/.forge/worktrees/pipeline-d59c2fe2/app/api/sessions/route.ts +0 -20
  1793. package/.forge/worktrees/pipeline-d59c2fe2/app/api/settings/route.ts +0 -64
  1794. package/.forge/worktrees/pipeline-d59c2fe2/app/api/skills/local/route.ts +0 -228
  1795. package/.forge/worktrees/pipeline-d59c2fe2/app/api/skills/route.ts +0 -182
  1796. package/.forge/worktrees/pipeline-d59c2fe2/app/api/smith-templates/route.ts +0 -81
  1797. package/.forge/worktrees/pipeline-d59c2fe2/app/api/status/route.ts +0 -12
  1798. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tabs/route.ts +0 -25
  1799. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tasks/[id]/route.ts +0 -51
  1800. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tasks/[id]/stream/route.ts +0 -77
  1801. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tasks/link/route.ts +0 -37
  1802. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tasks/route.ts +0 -44
  1803. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tasks/session/route.ts +0 -14
  1804. package/.forge/worktrees/pipeline-d59c2fe2/app/api/telegram/route.ts +0 -23
  1805. package/.forge/worktrees/pipeline-d59c2fe2/app/api/templates/route.ts +0 -6
  1806. package/.forge/worktrees/pipeline-d59c2fe2/app/api/terminal-bell/route.ts +0 -35
  1807. package/.forge/worktrees/pipeline-d59c2fe2/app/api/terminal-cwd/route.ts +0 -19
  1808. package/.forge/worktrees/pipeline-d59c2fe2/app/api/terminal-state/route.ts +0 -15
  1809. package/.forge/worktrees/pipeline-d59c2fe2/app/api/tunnel/route.ts +0 -26
  1810. package/.forge/worktrees/pipeline-d59c2fe2/app/api/upgrade/route.ts +0 -43
  1811. package/.forge/worktrees/pipeline-d59c2fe2/app/api/usage/route.ts +0 -20
  1812. package/.forge/worktrees/pipeline-d59c2fe2/app/api/version/route.ts +0 -78
  1813. package/.forge/worktrees/pipeline-d59c2fe2/app/api/watchers/route.ts +0 -33
  1814. package/.forge/worktrees/pipeline-d59c2fe2/app/api/workspace/[id]/agents/route.ts +0 -35
  1815. package/.forge/worktrees/pipeline-d59c2fe2/app/api/workspace/[id]/memory/route.ts +0 -23
  1816. package/.forge/worktrees/pipeline-d59c2fe2/app/api/workspace/[id]/smith/route.ts +0 -22
  1817. package/.forge/worktrees/pipeline-d59c2fe2/app/api/workspace/[id]/stream/route.ts +0 -28
  1818. package/.forge/worktrees/pipeline-d59c2fe2/app/api/workspace/route.ts +0 -100
  1819. package/.forge/worktrees/pipeline-d59c2fe2/app/global-error.tsx +0 -21
  1820. package/.forge/worktrees/pipeline-d59c2fe2/app/globals.css +0 -52
  1821. package/.forge/worktrees/pipeline-d59c2fe2/app/icon.ico +0 -0
  1822. package/.forge/worktrees/pipeline-d59c2fe2/app/icon.png +0 -0
  1823. package/.forge/worktrees/pipeline-d59c2fe2/app/icon.svg +0 -106
  1824. package/.forge/worktrees/pipeline-d59c2fe2/app/layout.tsx +0 -17
  1825. package/.forge/worktrees/pipeline-d59c2fe2/app/login/LoginForm.tsx +0 -96
  1826. package/.forge/worktrees/pipeline-d59c2fe2/app/login/page.tsx +0 -10
  1827. package/.forge/worktrees/pipeline-d59c2fe2/app/mobile/page.tsx +0 -9
  1828. package/.forge/worktrees/pipeline-d59c2fe2/app/page.tsx +0 -21
  1829. package/.forge/worktrees/pipeline-d59c2fe2/bin/forge-server.mjs +0 -484
  1830. package/.forge/worktrees/pipeline-d59c2fe2/check-forge-status.sh +0 -71
  1831. package/.forge/worktrees/pipeline-d59c2fe2/cli/mw.ts +0 -579
  1832. package/.forge/worktrees/pipeline-d59c2fe2/components/BrowserPanel.tsx +0 -175
  1833. package/.forge/worktrees/pipeline-d59c2fe2/components/ChatPanel.tsx +0 -191
  1834. package/.forge/worktrees/pipeline-d59c2fe2/components/ClaudeTerminal.tsx +0 -267
  1835. package/.forge/worktrees/pipeline-d59c2fe2/components/CodeViewer.tsx +0 -787
  1836. package/.forge/worktrees/pipeline-d59c2fe2/components/ConversationEditor.tsx +0 -411
  1837. package/.forge/worktrees/pipeline-d59c2fe2/components/ConversationGraphView.tsx +0 -347
  1838. package/.forge/worktrees/pipeline-d59c2fe2/components/ConversationTerminalView.tsx +0 -303
  1839. package/.forge/worktrees/pipeline-d59c2fe2/components/Dashboard.tsx +0 -807
  1840. package/.forge/worktrees/pipeline-d59c2fe2/components/DashboardWrapper.tsx +0 -9
  1841. package/.forge/worktrees/pipeline-d59c2fe2/components/DeliveryFlowEditor.tsx +0 -491
  1842. package/.forge/worktrees/pipeline-d59c2fe2/components/DeliveryList.tsx +0 -230
  1843. package/.forge/worktrees/pipeline-d59c2fe2/components/DeliveryWorkspace.tsx +0 -589
  1844. package/.forge/worktrees/pipeline-d59c2fe2/components/DocTerminal.tsx +0 -187
  1845. package/.forge/worktrees/pipeline-d59c2fe2/components/DocsViewer.tsx +0 -574
  1846. package/.forge/worktrees/pipeline-d59c2fe2/components/HelpDialog.tsx +0 -169
  1847. package/.forge/worktrees/pipeline-d59c2fe2/components/HelpTerminal.tsx +0 -141
  1848. package/.forge/worktrees/pipeline-d59c2fe2/components/InlinePipelineView.tsx +0 -111
  1849. package/.forge/worktrees/pipeline-d59c2fe2/components/LogViewer.tsx +0 -194
  1850. package/.forge/worktrees/pipeline-d59c2fe2/components/MarkdownContent.tsx +0 -73
  1851. package/.forge/worktrees/pipeline-d59c2fe2/components/MobileView.tsx +0 -385
  1852. package/.forge/worktrees/pipeline-d59c2fe2/components/MonitorPanel.tsx +0 -122
  1853. package/.forge/worktrees/pipeline-d59c2fe2/components/NewSessionModal.tsx +0 -93
  1854. package/.forge/worktrees/pipeline-d59c2fe2/components/NewTaskModal.tsx +0 -492
  1855. package/.forge/worktrees/pipeline-d59c2fe2/components/PipelineEditor.tsx +0 -570
  1856. package/.forge/worktrees/pipeline-d59c2fe2/components/PipelineView.tsx +0 -1018
  1857. package/.forge/worktrees/pipeline-d59c2fe2/components/PluginsPanel.tsx +0 -472
  1858. package/.forge/worktrees/pipeline-d59c2fe2/components/ProjectDetail.tsx +0 -1618
  1859. package/.forge/worktrees/pipeline-d59c2fe2/components/ProjectList.tsx +0 -108
  1860. package/.forge/worktrees/pipeline-d59c2fe2/components/ProjectManager.tsx +0 -401
  1861. package/.forge/worktrees/pipeline-d59c2fe2/components/SessionList.tsx +0 -74
  1862. package/.forge/worktrees/pipeline-d59c2fe2/components/SessionView.tsx +0 -726
  1863. package/.forge/worktrees/pipeline-d59c2fe2/components/SettingsModal.tsx +0 -1647
  1864. package/.forge/worktrees/pipeline-d59c2fe2/components/SkillsPanel.tsx +0 -969
  1865. package/.forge/worktrees/pipeline-d59c2fe2/components/StatusBar.tsx +0 -99
  1866. package/.forge/worktrees/pipeline-d59c2fe2/components/TabBar.tsx +0 -46
  1867. package/.forge/worktrees/pipeline-d59c2fe2/components/TaskBoard.tsx +0 -113
  1868. package/.forge/worktrees/pipeline-d59c2fe2/components/TaskDetail.tsx +0 -372
  1869. package/.forge/worktrees/pipeline-d59c2fe2/components/TerminalLauncher.tsx +0 -398
  1870. package/.forge/worktrees/pipeline-d59c2fe2/components/TunnelToggle.tsx +0 -206
  1871. package/.forge/worktrees/pipeline-d59c2fe2/components/UsagePanel.tsx +0 -207
  1872. package/.forge/worktrees/pipeline-d59c2fe2/components/WebTerminal.tsx +0 -1683
  1873. package/.forge/worktrees/pipeline-d59c2fe2/components/WorkspaceTree.tsx +0 -221
  1874. package/.forge/worktrees/pipeline-d59c2fe2/components/WorkspaceView.tsx +0 -4048
  1875. package/.forge/worktrees/pipeline-d59c2fe2/dev-test.sh +0 -5
  1876. package/.forge/worktrees/pipeline-d59c2fe2/docs/Forge_Memory_Layer_Design.docx +0 -0
  1877. package/.forge/worktrees/pipeline-d59c2fe2/docs/Forge_Strategy_Research_2026.docx +0 -0
  1878. package/.forge/worktrees/pipeline-d59c2fe2/docs/LOCAL-DEPLOY.md +0 -144
  1879. package/.forge/worktrees/pipeline-d59c2fe2/docs/roadmap-multi-agent-workflow.md +0 -330
  1880. package/.forge/worktrees/pipeline-d59c2fe2/forge-logo.png +0 -0
  1881. package/.forge/worktrees/pipeline-d59c2fe2/forge-logo.svg +0 -106
  1882. package/.forge/worktrees/pipeline-d59c2fe2/hooks/useSidebarResize.ts +0 -52
  1883. package/.forge/worktrees/pipeline-d59c2fe2/install.sh +0 -29
  1884. package/.forge/worktrees/pipeline-d59c2fe2/instrumentation.ts +0 -35
  1885. package/.forge/worktrees/pipeline-d59c2fe2/lib/agents/claude-adapter.ts +0 -104
  1886. package/.forge/worktrees/pipeline-d59c2fe2/lib/agents/generic-adapter.ts +0 -64
  1887. package/.forge/worktrees/pipeline-d59c2fe2/lib/agents/index.ts +0 -245
  1888. package/.forge/worktrees/pipeline-d59c2fe2/lib/agents/types.ts +0 -70
  1889. package/.forge/worktrees/pipeline-d59c2fe2/lib/artifacts.ts +0 -106
  1890. package/.forge/worktrees/pipeline-d59c2fe2/lib/auth.ts +0 -62
  1891. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/docker.yaml +0 -70
  1892. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/http.yaml +0 -66
  1893. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/jenkins.yaml +0 -92
  1894. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/llm-vision.yaml +0 -85
  1895. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/playwright.yaml +0 -111
  1896. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/shell-command.yaml +0 -60
  1897. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/slack.yaml +0 -48
  1898. package/.forge/worktrees/pipeline-d59c2fe2/lib/builtin-plugins/webhook.yaml +0 -56
  1899. package/.forge/worktrees/pipeline-d59c2fe2/lib/claude-process.ts +0 -361
  1900. package/.forge/worktrees/pipeline-d59c2fe2/lib/claude-sessions.ts +0 -266
  1901. package/.forge/worktrees/pipeline-d59c2fe2/lib/claude-templates.ts +0 -227
  1902. package/.forge/worktrees/pipeline-d59c2fe2/lib/cloudflared.ts +0 -424
  1903. package/.forge/worktrees/pipeline-d59c2fe2/lib/crypto.ts +0 -67
  1904. package/.forge/worktrees/pipeline-d59c2fe2/lib/delivery.ts +0 -787
  1905. package/.forge/worktrees/pipeline-d59c2fe2/lib/dirs.ts +0 -99
  1906. package/.forge/worktrees/pipeline-d59c2fe2/lib/flows.ts +0 -86
  1907. package/.forge/worktrees/pipeline-d59c2fe2/lib/forge-mcp-server.ts +0 -717
  1908. package/.forge/worktrees/pipeline-d59c2fe2/lib/forge-skills/forge-inbox.md +0 -38
  1909. package/.forge/worktrees/pipeline-d59c2fe2/lib/forge-skills/forge-send.md +0 -47
  1910. package/.forge/worktrees/pipeline-d59c2fe2/lib/forge-skills/forge-status.md +0 -32
  1911. package/.forge/worktrees/pipeline-d59c2fe2/lib/forge-skills/forge-workspace-sync.md +0 -37
  1912. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/00-overview.md +0 -40
  1913. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/01-settings.md +0 -194
  1914. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/02-telegram.md +0 -41
  1915. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/03-tunnel.md +0 -31
  1916. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/04-tasks.md +0 -52
  1917. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/05-pipelines.md +0 -460
  1918. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/06-skills.md +0 -43
  1919. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/07-projects.md +0 -73
  1920. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/08-rules.md +0 -53
  1921. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/09-issue-autofix.md +0 -55
  1922. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/10-troubleshooting.md +0 -89
  1923. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/11-workspace.md +0 -810
  1924. package/.forge/worktrees/pipeline-d59c2fe2/lib/help-docs/CLAUDE.md +0 -62
  1925. package/.forge/worktrees/pipeline-d59c2fe2/lib/init.ts +0 -266
  1926. package/.forge/worktrees/pipeline-d59c2fe2/lib/issue-scanner.ts +0 -298
  1927. package/.forge/worktrees/pipeline-d59c2fe2/lib/logger.ts +0 -79
  1928. package/.forge/worktrees/pipeline-d59c2fe2/lib/notifications.ts +0 -75
  1929. package/.forge/worktrees/pipeline-d59c2fe2/lib/notify.ts +0 -108
  1930. package/.forge/worktrees/pipeline-d59c2fe2/lib/password.ts +0 -97
  1931. package/.forge/worktrees/pipeline-d59c2fe2/lib/pipeline-scheduler.ts +0 -373
  1932. package/.forge/worktrees/pipeline-d59c2fe2/lib/pipeline.ts +0 -1441
  1933. package/.forge/worktrees/pipeline-d59c2fe2/lib/plugins/executor.ts +0 -347
  1934. package/.forge/worktrees/pipeline-d59c2fe2/lib/plugins/registry.ts +0 -228
  1935. package/.forge/worktrees/pipeline-d59c2fe2/lib/plugins/types.ts +0 -103
  1936. package/.forge/worktrees/pipeline-d59c2fe2/lib/project-sessions.ts +0 -53
  1937. package/.forge/worktrees/pipeline-d59c2fe2/lib/projects.ts +0 -86
  1938. package/.forge/worktrees/pipeline-d59c2fe2/lib/session-manager.ts +0 -156
  1939. package/.forge/worktrees/pipeline-d59c2fe2/lib/session-utils.ts +0 -53
  1940. package/.forge/worktrees/pipeline-d59c2fe2/lib/session-watcher.ts +0 -345
  1941. package/.forge/worktrees/pipeline-d59c2fe2/lib/settings.ts +0 -195
  1942. package/.forge/worktrees/pipeline-d59c2fe2/lib/skills.ts +0 -458
  1943. package/.forge/worktrees/pipeline-d59c2fe2/lib/task-manager.ts +0 -949
  1944. package/.forge/worktrees/pipeline-d59c2fe2/lib/telegram-bot.ts +0 -1477
  1945. package/.forge/worktrees/pipeline-d59c2fe2/lib/telegram-standalone.ts +0 -83
  1946. package/.forge/worktrees/pipeline-d59c2fe2/lib/terminal-server.ts +0 -70
  1947. package/.forge/worktrees/pipeline-d59c2fe2/lib/terminal-standalone.ts +0 -421
  1948. package/.forge/worktrees/pipeline-d59c2fe2/lib/usage-scanner.ts +0 -249
  1949. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/__tests__/state-machine.test.ts +0 -388
  1950. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/__tests__/workspace.test.ts +0 -311
  1951. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/agent-bus.ts +0 -416
  1952. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/agent-worker.ts +0 -655
  1953. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/backends/api-backend.ts +0 -262
  1954. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/backends/cli-backend.ts +0 -491
  1955. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/index.ts +0 -82
  1956. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/manager.ts +0 -136
  1957. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/orchestrator.ts +0 -3400
  1958. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/persistence.ts +0 -309
  1959. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/presets.ts +0 -649
  1960. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/requests.ts +0 -287
  1961. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/session-monitor.ts +0 -240
  1962. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/skill-installer.ts +0 -275
  1963. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/smith-memory.ts +0 -498
  1964. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/types.ts +0 -241
  1965. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace/watch-manager.ts +0 -560
  1966. package/.forge/worktrees/pipeline-d59c2fe2/lib/workspace-standalone.ts +0 -911
  1967. package/.forge/worktrees/pipeline-d59c2fe2/middleware.ts +0 -51
  1968. package/.forge/worktrees/pipeline-d59c2fe2/next.config.ts +0 -26
  1969. package/.forge/worktrees/pipeline-d59c2fe2/package.json +0 -74
  1970. package/.forge/worktrees/pipeline-d59c2fe2/pnpm-lock.yaml +0 -3719
  1971. package/.forge/worktrees/pipeline-d59c2fe2/pnpm-workspace.yaml +0 -1
  1972. package/.forge/worktrees/pipeline-d59c2fe2/postcss.config.mjs +0 -7
  1973. package/.forge/worktrees/pipeline-d59c2fe2/publish.sh +0 -133
  1974. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/README.md +0 -66
  1975. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/results/.gitignore +0 -2
  1976. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/run.ts +0 -635
  1977. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/01-text-utils/task.md +0 -26
  1978. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  1979. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  1980. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/02-pagination/task.md +0 -48
  1981. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  1982. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  1983. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  1984. package/.forge/worktrees/pipeline-d59c2fe2/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  1985. package/.forge/worktrees/pipeline-d59c2fe2/scripts/verify-usage.ts +0 -178
  1986. package/.forge/worktrees/pipeline-d59c2fe2/src/config/index.ts +0 -129
  1987. package/.forge/worktrees/pipeline-d59c2fe2/src/core/db/database.ts +0 -259
  1988. package/.forge/worktrees/pipeline-d59c2fe2/src/core/memory/strategy.ts +0 -32
  1989. package/.forge/worktrees/pipeline-d59c2fe2/src/core/providers/chat.ts +0 -65
  1990. package/.forge/worktrees/pipeline-d59c2fe2/src/core/providers/registry.ts +0 -60
  1991. package/.forge/worktrees/pipeline-d59c2fe2/src/core/session/manager.ts +0 -190
  1992. package/.forge/worktrees/pipeline-d59c2fe2/src/types/index.ts +0 -129
  1993. package/.forge/worktrees/pipeline-d59c2fe2/start.sh +0 -31
  1994. package/.forge/worktrees/pipeline-d59c2fe2/templates/smith-lead.json +0 -45
  1995. package/.forge/worktrees/pipeline-d59c2fe2/tsconfig.json +0 -42
  1996. package/.forge/worktrees/pipeline-d6a6ef23/CLAUDE.md +0 -86
  1997. package/.forge/worktrees/pipeline-d6a6ef23/README.md +0 -136
  1998. package/.forge/worktrees/pipeline-d6a6ef23/RELEASE_NOTES.md +0 -11
  1999. package/.forge/worktrees/pipeline-d6a6ef23/app/api/agents/route.ts +0 -17
  2000. package/.forge/worktrees/pipeline-d6a6ef23/app/api/auth/[...nextauth]/route.ts +0 -3
  2001. package/.forge/worktrees/pipeline-d6a6ef23/app/api/auth/verify/route.ts +0 -46
  2002. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude/[id]/route.ts +0 -31
  2003. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude/[id]/stream/route.ts +0 -63
  2004. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude/route.ts +0 -28
  2005. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  2006. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  2007. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude-sessions/[projectName]/route.ts +0 -37
  2008. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude-sessions/sync/route.ts +0 -17
  2009. package/.forge/worktrees/pipeline-d6a6ef23/app/api/claude-templates/route.ts +0 -145
  2010. package/.forge/worktrees/pipeline-d6a6ef23/app/api/code/route.ts +0 -299
  2011. package/.forge/worktrees/pipeline-d6a6ef23/app/api/delivery/[id]/route.ts +0 -62
  2012. package/.forge/worktrees/pipeline-d6a6ef23/app/api/delivery/route.ts +0 -40
  2013. package/.forge/worktrees/pipeline-d6a6ef23/app/api/detect-cli/route.ts +0 -46
  2014. package/.forge/worktrees/pipeline-d6a6ef23/app/api/docs/route.ts +0 -176
  2015. package/.forge/worktrees/pipeline-d6a6ef23/app/api/docs/sessions/route.ts +0 -54
  2016. package/.forge/worktrees/pipeline-d6a6ef23/app/api/favorites/route.ts +0 -26
  2017. package/.forge/worktrees/pipeline-d6a6ef23/app/api/flows/route.ts +0 -6
  2018. package/.forge/worktrees/pipeline-d6a6ef23/app/api/flows/run/route.ts +0 -19
  2019. package/.forge/worktrees/pipeline-d6a6ef23/app/api/git/route.ts +0 -149
  2020. package/.forge/worktrees/pipeline-d6a6ef23/app/api/help/route.ts +0 -84
  2021. package/.forge/worktrees/pipeline-d6a6ef23/app/api/issue-scanner/route.ts +0 -116
  2022. package/.forge/worktrees/pipeline-d6a6ef23/app/api/logs/route.ts +0 -100
  2023. package/.forge/worktrees/pipeline-d6a6ef23/app/api/mobile-chat/route.ts +0 -115
  2024. package/.forge/worktrees/pipeline-d6a6ef23/app/api/monitor/route.ts +0 -74
  2025. package/.forge/worktrees/pipeline-d6a6ef23/app/api/notifications/route.ts +0 -42
  2026. package/.forge/worktrees/pipeline-d6a6ef23/app/api/notify/test/route.ts +0 -33
  2027. package/.forge/worktrees/pipeline-d6a6ef23/app/api/online/route.ts +0 -40
  2028. package/.forge/worktrees/pipeline-d6a6ef23/app/api/pipelines/[id]/route.ts +0 -41
  2029. package/.forge/worktrees/pipeline-d6a6ef23/app/api/pipelines/route.ts +0 -90
  2030. package/.forge/worktrees/pipeline-d6a6ef23/app/api/plugins/route.ts +0 -75
  2031. package/.forge/worktrees/pipeline-d6a6ef23/app/api/preview/[...path]/route.ts +0 -64
  2032. package/.forge/worktrees/pipeline-d6a6ef23/app/api/preview/route.ts +0 -156
  2033. package/.forge/worktrees/pipeline-d6a6ef23/app/api/project-pipelines/route.ts +0 -91
  2034. package/.forge/worktrees/pipeline-d6a6ef23/app/api/project-sessions/route.ts +0 -61
  2035. package/.forge/worktrees/pipeline-d6a6ef23/app/api/projects/route.ts +0 -26
  2036. package/.forge/worktrees/pipeline-d6a6ef23/app/api/sessions/[id]/chat/route.ts +0 -64
  2037. package/.forge/worktrees/pipeline-d6a6ef23/app/api/sessions/[id]/messages/route.ts +0 -9
  2038. package/.forge/worktrees/pipeline-d6a6ef23/app/api/sessions/[id]/route.ts +0 -17
  2039. package/.forge/worktrees/pipeline-d6a6ef23/app/api/sessions/route.ts +0 -20
  2040. package/.forge/worktrees/pipeline-d6a6ef23/app/api/settings/route.ts +0 -64
  2041. package/.forge/worktrees/pipeline-d6a6ef23/app/api/skills/local/route.ts +0 -228
  2042. package/.forge/worktrees/pipeline-d6a6ef23/app/api/skills/route.ts +0 -182
  2043. package/.forge/worktrees/pipeline-d6a6ef23/app/api/smith-templates/route.ts +0 -81
  2044. package/.forge/worktrees/pipeline-d6a6ef23/app/api/status/route.ts +0 -12
  2045. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tabs/route.ts +0 -25
  2046. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tasks/[id]/route.ts +0 -51
  2047. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tasks/[id]/stream/route.ts +0 -77
  2048. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tasks/link/route.ts +0 -37
  2049. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tasks/route.ts +0 -44
  2050. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tasks/session/route.ts +0 -14
  2051. package/.forge/worktrees/pipeline-d6a6ef23/app/api/telegram/route.ts +0 -23
  2052. package/.forge/worktrees/pipeline-d6a6ef23/app/api/templates/route.ts +0 -6
  2053. package/.forge/worktrees/pipeline-d6a6ef23/app/api/terminal-bell/route.ts +0 -35
  2054. package/.forge/worktrees/pipeline-d6a6ef23/app/api/terminal-cwd/route.ts +0 -19
  2055. package/.forge/worktrees/pipeline-d6a6ef23/app/api/terminal-state/route.ts +0 -15
  2056. package/.forge/worktrees/pipeline-d6a6ef23/app/api/tunnel/route.ts +0 -26
  2057. package/.forge/worktrees/pipeline-d6a6ef23/app/api/upgrade/route.ts +0 -43
  2058. package/.forge/worktrees/pipeline-d6a6ef23/app/api/usage/route.ts +0 -20
  2059. package/.forge/worktrees/pipeline-d6a6ef23/app/api/version/route.ts +0 -78
  2060. package/.forge/worktrees/pipeline-d6a6ef23/app/api/watchers/route.ts +0 -33
  2061. package/.forge/worktrees/pipeline-d6a6ef23/app/api/workspace/[id]/agents/route.ts +0 -35
  2062. package/.forge/worktrees/pipeline-d6a6ef23/app/api/workspace/[id]/memory/route.ts +0 -23
  2063. package/.forge/worktrees/pipeline-d6a6ef23/app/api/workspace/[id]/smith/route.ts +0 -22
  2064. package/.forge/worktrees/pipeline-d6a6ef23/app/api/workspace/[id]/stream/route.ts +0 -28
  2065. package/.forge/worktrees/pipeline-d6a6ef23/app/api/workspace/route.ts +0 -100
  2066. package/.forge/worktrees/pipeline-d6a6ef23/app/global-error.tsx +0 -21
  2067. package/.forge/worktrees/pipeline-d6a6ef23/app/globals.css +0 -52
  2068. package/.forge/worktrees/pipeline-d6a6ef23/app/icon.ico +0 -0
  2069. package/.forge/worktrees/pipeline-d6a6ef23/app/icon.png +0 -0
  2070. package/.forge/worktrees/pipeline-d6a6ef23/app/icon.svg +0 -106
  2071. package/.forge/worktrees/pipeline-d6a6ef23/app/layout.tsx +0 -17
  2072. package/.forge/worktrees/pipeline-d6a6ef23/app/login/LoginForm.tsx +0 -96
  2073. package/.forge/worktrees/pipeline-d6a6ef23/app/login/page.tsx +0 -10
  2074. package/.forge/worktrees/pipeline-d6a6ef23/app/mobile/page.tsx +0 -9
  2075. package/.forge/worktrees/pipeline-d6a6ef23/app/page.tsx +0 -21
  2076. package/.forge/worktrees/pipeline-d6a6ef23/bin/forge-server.mjs +0 -484
  2077. package/.forge/worktrees/pipeline-d6a6ef23/check-forge-status.sh +0 -71
  2078. package/.forge/worktrees/pipeline-d6a6ef23/cli/mw.ts +0 -579
  2079. package/.forge/worktrees/pipeline-d6a6ef23/components/BrowserPanel.tsx +0 -175
  2080. package/.forge/worktrees/pipeline-d6a6ef23/components/ChatPanel.tsx +0 -191
  2081. package/.forge/worktrees/pipeline-d6a6ef23/components/ClaudeTerminal.tsx +0 -267
  2082. package/.forge/worktrees/pipeline-d6a6ef23/components/CodeViewer.tsx +0 -787
  2083. package/.forge/worktrees/pipeline-d6a6ef23/components/ConversationEditor.tsx +0 -411
  2084. package/.forge/worktrees/pipeline-d6a6ef23/components/ConversationGraphView.tsx +0 -347
  2085. package/.forge/worktrees/pipeline-d6a6ef23/components/ConversationTerminalView.tsx +0 -303
  2086. package/.forge/worktrees/pipeline-d6a6ef23/components/Dashboard.tsx +0 -807
  2087. package/.forge/worktrees/pipeline-d6a6ef23/components/DashboardWrapper.tsx +0 -9
  2088. package/.forge/worktrees/pipeline-d6a6ef23/components/DeliveryFlowEditor.tsx +0 -491
  2089. package/.forge/worktrees/pipeline-d6a6ef23/components/DeliveryList.tsx +0 -230
  2090. package/.forge/worktrees/pipeline-d6a6ef23/components/DeliveryWorkspace.tsx +0 -589
  2091. package/.forge/worktrees/pipeline-d6a6ef23/components/DocTerminal.tsx +0 -187
  2092. package/.forge/worktrees/pipeline-d6a6ef23/components/DocsViewer.tsx +0 -574
  2093. package/.forge/worktrees/pipeline-d6a6ef23/components/HelpDialog.tsx +0 -169
  2094. package/.forge/worktrees/pipeline-d6a6ef23/components/HelpTerminal.tsx +0 -141
  2095. package/.forge/worktrees/pipeline-d6a6ef23/components/InlinePipelineView.tsx +0 -111
  2096. package/.forge/worktrees/pipeline-d6a6ef23/components/LogViewer.tsx +0 -194
  2097. package/.forge/worktrees/pipeline-d6a6ef23/components/MarkdownContent.tsx +0 -73
  2098. package/.forge/worktrees/pipeline-d6a6ef23/components/MobileView.tsx +0 -385
  2099. package/.forge/worktrees/pipeline-d6a6ef23/components/MonitorPanel.tsx +0 -122
  2100. package/.forge/worktrees/pipeline-d6a6ef23/components/NewSessionModal.tsx +0 -93
  2101. package/.forge/worktrees/pipeline-d6a6ef23/components/NewTaskModal.tsx +0 -492
  2102. package/.forge/worktrees/pipeline-d6a6ef23/components/PipelineEditor.tsx +0 -570
  2103. package/.forge/worktrees/pipeline-d6a6ef23/components/PipelineView.tsx +0 -1018
  2104. package/.forge/worktrees/pipeline-d6a6ef23/components/PluginsPanel.tsx +0 -472
  2105. package/.forge/worktrees/pipeline-d6a6ef23/components/ProjectDetail.tsx +0 -1618
  2106. package/.forge/worktrees/pipeline-d6a6ef23/components/ProjectList.tsx +0 -108
  2107. package/.forge/worktrees/pipeline-d6a6ef23/components/ProjectManager.tsx +0 -401
  2108. package/.forge/worktrees/pipeline-d6a6ef23/components/SessionList.tsx +0 -74
  2109. package/.forge/worktrees/pipeline-d6a6ef23/components/SessionView.tsx +0 -726
  2110. package/.forge/worktrees/pipeline-d6a6ef23/components/SettingsModal.tsx +0 -1647
  2111. package/.forge/worktrees/pipeline-d6a6ef23/components/SkillsPanel.tsx +0 -969
  2112. package/.forge/worktrees/pipeline-d6a6ef23/components/StatusBar.tsx +0 -99
  2113. package/.forge/worktrees/pipeline-d6a6ef23/components/TabBar.tsx +0 -46
  2114. package/.forge/worktrees/pipeline-d6a6ef23/components/TaskBoard.tsx +0 -113
  2115. package/.forge/worktrees/pipeline-d6a6ef23/components/TaskDetail.tsx +0 -372
  2116. package/.forge/worktrees/pipeline-d6a6ef23/components/TerminalLauncher.tsx +0 -398
  2117. package/.forge/worktrees/pipeline-d6a6ef23/components/TunnelToggle.tsx +0 -206
  2118. package/.forge/worktrees/pipeline-d6a6ef23/components/UsagePanel.tsx +0 -207
  2119. package/.forge/worktrees/pipeline-d6a6ef23/components/WebTerminal.tsx +0 -1683
  2120. package/.forge/worktrees/pipeline-d6a6ef23/components/WorkspaceTree.tsx +0 -221
  2121. package/.forge/worktrees/pipeline-d6a6ef23/components/WorkspaceView.tsx +0 -4048
  2122. package/.forge/worktrees/pipeline-d6a6ef23/dev-test.sh +0 -5
  2123. package/.forge/worktrees/pipeline-d6a6ef23/docs/Forge_Memory_Layer_Design.docx +0 -0
  2124. package/.forge/worktrees/pipeline-d6a6ef23/docs/Forge_Strategy_Research_2026.docx +0 -0
  2125. package/.forge/worktrees/pipeline-d6a6ef23/docs/LOCAL-DEPLOY.md +0 -144
  2126. package/.forge/worktrees/pipeline-d6a6ef23/docs/roadmap-multi-agent-workflow.md +0 -330
  2127. package/.forge/worktrees/pipeline-d6a6ef23/forge-logo.png +0 -0
  2128. package/.forge/worktrees/pipeline-d6a6ef23/forge-logo.svg +0 -106
  2129. package/.forge/worktrees/pipeline-d6a6ef23/hooks/useSidebarResize.ts +0 -52
  2130. package/.forge/worktrees/pipeline-d6a6ef23/install.sh +0 -29
  2131. package/.forge/worktrees/pipeline-d6a6ef23/instrumentation.ts +0 -35
  2132. package/.forge/worktrees/pipeline-d6a6ef23/lib/agents/claude-adapter.ts +0 -104
  2133. package/.forge/worktrees/pipeline-d6a6ef23/lib/agents/generic-adapter.ts +0 -64
  2134. package/.forge/worktrees/pipeline-d6a6ef23/lib/agents/index.ts +0 -245
  2135. package/.forge/worktrees/pipeline-d6a6ef23/lib/agents/types.ts +0 -70
  2136. package/.forge/worktrees/pipeline-d6a6ef23/lib/artifacts.ts +0 -106
  2137. package/.forge/worktrees/pipeline-d6a6ef23/lib/auth.ts +0 -62
  2138. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/docker.yaml +0 -70
  2139. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/http.yaml +0 -66
  2140. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/jenkins.yaml +0 -92
  2141. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/llm-vision.yaml +0 -85
  2142. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/playwright.yaml +0 -111
  2143. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/shell-command.yaml +0 -60
  2144. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/slack.yaml +0 -48
  2145. package/.forge/worktrees/pipeline-d6a6ef23/lib/builtin-plugins/webhook.yaml +0 -56
  2146. package/.forge/worktrees/pipeline-d6a6ef23/lib/claude-process.ts +0 -352
  2147. package/.forge/worktrees/pipeline-d6a6ef23/lib/claude-sessions.ts +0 -266
  2148. package/.forge/worktrees/pipeline-d6a6ef23/lib/claude-templates.ts +0 -227
  2149. package/.forge/worktrees/pipeline-d6a6ef23/lib/cloudflared.ts +0 -424
  2150. package/.forge/worktrees/pipeline-d6a6ef23/lib/crypto.ts +0 -67
  2151. package/.forge/worktrees/pipeline-d6a6ef23/lib/delivery.ts +0 -787
  2152. package/.forge/worktrees/pipeline-d6a6ef23/lib/dirs.ts +0 -99
  2153. package/.forge/worktrees/pipeline-d6a6ef23/lib/flows.ts +0 -86
  2154. package/.forge/worktrees/pipeline-d6a6ef23/lib/forge-mcp-server.ts +0 -717
  2155. package/.forge/worktrees/pipeline-d6a6ef23/lib/forge-skills/forge-inbox.md +0 -38
  2156. package/.forge/worktrees/pipeline-d6a6ef23/lib/forge-skills/forge-send.md +0 -47
  2157. package/.forge/worktrees/pipeline-d6a6ef23/lib/forge-skills/forge-status.md +0 -32
  2158. package/.forge/worktrees/pipeline-d6a6ef23/lib/forge-skills/forge-workspace-sync.md +0 -37
  2159. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/00-overview.md +0 -40
  2160. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/01-settings.md +0 -194
  2161. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/02-telegram.md +0 -41
  2162. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/03-tunnel.md +0 -31
  2163. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/04-tasks.md +0 -52
  2164. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/05-pipelines.md +0 -460
  2165. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/06-skills.md +0 -43
  2166. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/07-projects.md +0 -73
  2167. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/08-rules.md +0 -53
  2168. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/09-issue-autofix.md +0 -55
  2169. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/10-troubleshooting.md +0 -89
  2170. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/11-workspace.md +0 -810
  2171. package/.forge/worktrees/pipeline-d6a6ef23/lib/help-docs/CLAUDE.md +0 -62
  2172. package/.forge/worktrees/pipeline-d6a6ef23/lib/init.ts +0 -266
  2173. package/.forge/worktrees/pipeline-d6a6ef23/lib/issue-scanner.ts +0 -298
  2174. package/.forge/worktrees/pipeline-d6a6ef23/lib/logger.ts +0 -79
  2175. package/.forge/worktrees/pipeline-d6a6ef23/lib/notifications.ts +0 -75
  2176. package/.forge/worktrees/pipeline-d6a6ef23/lib/notify.ts +0 -108
  2177. package/.forge/worktrees/pipeline-d6a6ef23/lib/password.ts +0 -97
  2178. package/.forge/worktrees/pipeline-d6a6ef23/lib/pipeline-scheduler.ts +0 -373
  2179. package/.forge/worktrees/pipeline-d6a6ef23/lib/pipeline.ts +0 -1438
  2180. package/.forge/worktrees/pipeline-d6a6ef23/lib/plugins/executor.ts +0 -347
  2181. package/.forge/worktrees/pipeline-d6a6ef23/lib/plugins/registry.ts +0 -228
  2182. package/.forge/worktrees/pipeline-d6a6ef23/lib/plugins/types.ts +0 -103
  2183. package/.forge/worktrees/pipeline-d6a6ef23/lib/project-sessions.ts +0 -53
  2184. package/.forge/worktrees/pipeline-d6a6ef23/lib/projects.ts +0 -86
  2185. package/.forge/worktrees/pipeline-d6a6ef23/lib/session-manager.ts +0 -156
  2186. package/.forge/worktrees/pipeline-d6a6ef23/lib/session-utils.ts +0 -53
  2187. package/.forge/worktrees/pipeline-d6a6ef23/lib/session-watcher.ts +0 -345
  2188. package/.forge/worktrees/pipeline-d6a6ef23/lib/settings.ts +0 -195
  2189. package/.forge/worktrees/pipeline-d6a6ef23/lib/skills.ts +0 -458
  2190. package/.forge/worktrees/pipeline-d6a6ef23/lib/task-manager.ts +0 -949
  2191. package/.forge/worktrees/pipeline-d6a6ef23/lib/telegram-bot.ts +0 -1477
  2192. package/.forge/worktrees/pipeline-d6a6ef23/lib/telegram-standalone.ts +0 -83
  2193. package/.forge/worktrees/pipeline-d6a6ef23/lib/terminal-server.ts +0 -70
  2194. package/.forge/worktrees/pipeline-d6a6ef23/lib/terminal-standalone.ts +0 -421
  2195. package/.forge/worktrees/pipeline-d6a6ef23/lib/usage-scanner.ts +0 -249
  2196. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/__tests__/state-machine.test.ts +0 -388
  2197. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/__tests__/workspace.test.ts +0 -311
  2198. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/agent-bus.ts +0 -416
  2199. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/agent-worker.ts +0 -655
  2200. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/backends/api-backend.ts +0 -262
  2201. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/backends/cli-backend.ts +0 -491
  2202. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/index.ts +0 -82
  2203. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/manager.ts +0 -136
  2204. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/orchestrator.ts +0 -3400
  2205. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/persistence.ts +0 -309
  2206. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/presets.ts +0 -649
  2207. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/requests.ts +0 -287
  2208. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/session-monitor.ts +0 -240
  2209. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/skill-installer.ts +0 -275
  2210. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/smith-memory.ts +0 -498
  2211. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/types.ts +0 -241
  2212. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace/watch-manager.ts +0 -560
  2213. package/.forge/worktrees/pipeline-d6a6ef23/lib/workspace-standalone.ts +0 -911
  2214. package/.forge/worktrees/pipeline-d6a6ef23/middleware.ts +0 -51
  2215. package/.forge/worktrees/pipeline-d6a6ef23/next.config.ts +0 -26
  2216. package/.forge/worktrees/pipeline-d6a6ef23/package.json +0 -74
  2217. package/.forge/worktrees/pipeline-d6a6ef23/pnpm-lock.yaml +0 -3719
  2218. package/.forge/worktrees/pipeline-d6a6ef23/pnpm-workspace.yaml +0 -1
  2219. package/.forge/worktrees/pipeline-d6a6ef23/postcss.config.mjs +0 -7
  2220. package/.forge/worktrees/pipeline-d6a6ef23/publish.sh +0 -133
  2221. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/README.md +0 -66
  2222. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/results/.gitignore +0 -2
  2223. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/run.ts +0 -635
  2224. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/01-text-utils/task.md +0 -26
  2225. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  2226. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  2227. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/02-pagination/task.md +0 -48
  2228. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  2229. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  2230. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  2231. package/.forge/worktrees/pipeline-d6a6ef23/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  2232. package/.forge/worktrees/pipeline-d6a6ef23/scripts/verify-usage.ts +0 -178
  2233. package/.forge/worktrees/pipeline-d6a6ef23/src/config/index.ts +0 -129
  2234. package/.forge/worktrees/pipeline-d6a6ef23/src/core/db/database.ts +0 -259
  2235. package/.forge/worktrees/pipeline-d6a6ef23/src/core/memory/strategy.ts +0 -32
  2236. package/.forge/worktrees/pipeline-d6a6ef23/src/core/providers/chat.ts +0 -65
  2237. package/.forge/worktrees/pipeline-d6a6ef23/src/core/providers/registry.ts +0 -60
  2238. package/.forge/worktrees/pipeline-d6a6ef23/src/core/session/manager.ts +0 -190
  2239. package/.forge/worktrees/pipeline-d6a6ef23/src/types/index.ts +0 -129
  2240. package/.forge/worktrees/pipeline-d6a6ef23/start.sh +0 -31
  2241. package/.forge/worktrees/pipeline-d6a6ef23/templates/smith-lead.json +0 -45
  2242. package/.forge/worktrees/pipeline-d6a6ef23/tsconfig.json +0 -42
  2243. package/.forge/worktrees/pipeline-e7f78b7a/CLAUDE.md +0 -86
  2244. package/.forge/worktrees/pipeline-e7f78b7a/README.md +0 -136
  2245. package/.forge/worktrees/pipeline-e7f78b7a/RELEASE_NOTES.md +0 -11
  2246. package/.forge/worktrees/pipeline-e7f78b7a/app/api/agents/route.ts +0 -17
  2247. package/.forge/worktrees/pipeline-e7f78b7a/app/api/auth/[...nextauth]/route.ts +0 -3
  2248. package/.forge/worktrees/pipeline-e7f78b7a/app/api/auth/verify/route.ts +0 -46
  2249. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude/[id]/route.ts +0 -31
  2250. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude/[id]/stream/route.ts +0 -63
  2251. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude/route.ts +0 -28
  2252. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  2253. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  2254. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude-sessions/[projectName]/route.ts +0 -37
  2255. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude-sessions/sync/route.ts +0 -17
  2256. package/.forge/worktrees/pipeline-e7f78b7a/app/api/claude-templates/route.ts +0 -145
  2257. package/.forge/worktrees/pipeline-e7f78b7a/app/api/code/route.ts +0 -299
  2258. package/.forge/worktrees/pipeline-e7f78b7a/app/api/delivery/[id]/route.ts +0 -62
  2259. package/.forge/worktrees/pipeline-e7f78b7a/app/api/delivery/route.ts +0 -40
  2260. package/.forge/worktrees/pipeline-e7f78b7a/app/api/detect-cli/route.ts +0 -46
  2261. package/.forge/worktrees/pipeline-e7f78b7a/app/api/docs/route.ts +0 -176
  2262. package/.forge/worktrees/pipeline-e7f78b7a/app/api/docs/sessions/route.ts +0 -54
  2263. package/.forge/worktrees/pipeline-e7f78b7a/app/api/favorites/route.ts +0 -26
  2264. package/.forge/worktrees/pipeline-e7f78b7a/app/api/flows/route.ts +0 -6
  2265. package/.forge/worktrees/pipeline-e7f78b7a/app/api/flows/run/route.ts +0 -19
  2266. package/.forge/worktrees/pipeline-e7f78b7a/app/api/git/route.ts +0 -149
  2267. package/.forge/worktrees/pipeline-e7f78b7a/app/api/help/route.ts +0 -84
  2268. package/.forge/worktrees/pipeline-e7f78b7a/app/api/issue-scanner/route.ts +0 -116
  2269. package/.forge/worktrees/pipeline-e7f78b7a/app/api/logs/route.ts +0 -100
  2270. package/.forge/worktrees/pipeline-e7f78b7a/app/api/mobile-chat/route.ts +0 -115
  2271. package/.forge/worktrees/pipeline-e7f78b7a/app/api/monitor/route.ts +0 -74
  2272. package/.forge/worktrees/pipeline-e7f78b7a/app/api/notifications/route.ts +0 -42
  2273. package/.forge/worktrees/pipeline-e7f78b7a/app/api/notify/test/route.ts +0 -33
  2274. package/.forge/worktrees/pipeline-e7f78b7a/app/api/online/route.ts +0 -40
  2275. package/.forge/worktrees/pipeline-e7f78b7a/app/api/pipelines/[id]/route.ts +0 -41
  2276. package/.forge/worktrees/pipeline-e7f78b7a/app/api/pipelines/route.ts +0 -90
  2277. package/.forge/worktrees/pipeline-e7f78b7a/app/api/plugins/route.ts +0 -75
  2278. package/.forge/worktrees/pipeline-e7f78b7a/app/api/preview/[...path]/route.ts +0 -64
  2279. package/.forge/worktrees/pipeline-e7f78b7a/app/api/preview/route.ts +0 -156
  2280. package/.forge/worktrees/pipeline-e7f78b7a/app/api/project-pipelines/route.ts +0 -91
  2281. package/.forge/worktrees/pipeline-e7f78b7a/app/api/project-sessions/route.ts +0 -61
  2282. package/.forge/worktrees/pipeline-e7f78b7a/app/api/projects/route.ts +0 -26
  2283. package/.forge/worktrees/pipeline-e7f78b7a/app/api/sessions/[id]/chat/route.ts +0 -64
  2284. package/.forge/worktrees/pipeline-e7f78b7a/app/api/sessions/[id]/messages/route.ts +0 -9
  2285. package/.forge/worktrees/pipeline-e7f78b7a/app/api/sessions/[id]/route.ts +0 -17
  2286. package/.forge/worktrees/pipeline-e7f78b7a/app/api/sessions/route.ts +0 -20
  2287. package/.forge/worktrees/pipeline-e7f78b7a/app/api/settings/route.ts +0 -64
  2288. package/.forge/worktrees/pipeline-e7f78b7a/app/api/skills/local/route.ts +0 -228
  2289. package/.forge/worktrees/pipeline-e7f78b7a/app/api/skills/route.ts +0 -182
  2290. package/.forge/worktrees/pipeline-e7f78b7a/app/api/smith-templates/route.ts +0 -81
  2291. package/.forge/worktrees/pipeline-e7f78b7a/app/api/status/route.ts +0 -12
  2292. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tabs/route.ts +0 -25
  2293. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tasks/[id]/route.ts +0 -51
  2294. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tasks/[id]/stream/route.ts +0 -77
  2295. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tasks/link/route.ts +0 -37
  2296. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tasks/route.ts +0 -44
  2297. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tasks/session/route.ts +0 -14
  2298. package/.forge/worktrees/pipeline-e7f78b7a/app/api/telegram/route.ts +0 -23
  2299. package/.forge/worktrees/pipeline-e7f78b7a/app/api/templates/route.ts +0 -6
  2300. package/.forge/worktrees/pipeline-e7f78b7a/app/api/terminal-bell/route.ts +0 -35
  2301. package/.forge/worktrees/pipeline-e7f78b7a/app/api/terminal-cwd/route.ts +0 -19
  2302. package/.forge/worktrees/pipeline-e7f78b7a/app/api/terminal-state/route.ts +0 -15
  2303. package/.forge/worktrees/pipeline-e7f78b7a/app/api/tunnel/route.ts +0 -26
  2304. package/.forge/worktrees/pipeline-e7f78b7a/app/api/upgrade/route.ts +0 -43
  2305. package/.forge/worktrees/pipeline-e7f78b7a/app/api/usage/route.ts +0 -20
  2306. package/.forge/worktrees/pipeline-e7f78b7a/app/api/version/route.ts +0 -78
  2307. package/.forge/worktrees/pipeline-e7f78b7a/app/api/watchers/route.ts +0 -33
  2308. package/.forge/worktrees/pipeline-e7f78b7a/app/api/workspace/[id]/agents/route.ts +0 -35
  2309. package/.forge/worktrees/pipeline-e7f78b7a/app/api/workspace/[id]/memory/route.ts +0 -23
  2310. package/.forge/worktrees/pipeline-e7f78b7a/app/api/workspace/[id]/smith/route.ts +0 -22
  2311. package/.forge/worktrees/pipeline-e7f78b7a/app/api/workspace/[id]/stream/route.ts +0 -28
  2312. package/.forge/worktrees/pipeline-e7f78b7a/app/api/workspace/route.ts +0 -100
  2313. package/.forge/worktrees/pipeline-e7f78b7a/app/global-error.tsx +0 -21
  2314. package/.forge/worktrees/pipeline-e7f78b7a/app/globals.css +0 -52
  2315. package/.forge/worktrees/pipeline-e7f78b7a/app/icon.ico +0 -0
  2316. package/.forge/worktrees/pipeline-e7f78b7a/app/icon.png +0 -0
  2317. package/.forge/worktrees/pipeline-e7f78b7a/app/icon.svg +0 -106
  2318. package/.forge/worktrees/pipeline-e7f78b7a/app/layout.tsx +0 -17
  2319. package/.forge/worktrees/pipeline-e7f78b7a/app/login/LoginForm.tsx +0 -96
  2320. package/.forge/worktrees/pipeline-e7f78b7a/app/login/page.tsx +0 -10
  2321. package/.forge/worktrees/pipeline-e7f78b7a/app/mobile/page.tsx +0 -9
  2322. package/.forge/worktrees/pipeline-e7f78b7a/app/page.tsx +0 -21
  2323. package/.forge/worktrees/pipeline-e7f78b7a/bin/forge-server.mjs +0 -484
  2324. package/.forge/worktrees/pipeline-e7f78b7a/check-forge-status.sh +0 -71
  2325. package/.forge/worktrees/pipeline-e7f78b7a/cli/mw.ts +0 -579
  2326. package/.forge/worktrees/pipeline-e7f78b7a/components/BrowserPanel.tsx +0 -175
  2327. package/.forge/worktrees/pipeline-e7f78b7a/components/ChatPanel.tsx +0 -191
  2328. package/.forge/worktrees/pipeline-e7f78b7a/components/ClaudeTerminal.tsx +0 -267
  2329. package/.forge/worktrees/pipeline-e7f78b7a/components/CodeViewer.tsx +0 -787
  2330. package/.forge/worktrees/pipeline-e7f78b7a/components/ConversationEditor.tsx +0 -411
  2331. package/.forge/worktrees/pipeline-e7f78b7a/components/ConversationGraphView.tsx +0 -347
  2332. package/.forge/worktrees/pipeline-e7f78b7a/components/ConversationTerminalView.tsx +0 -303
  2333. package/.forge/worktrees/pipeline-e7f78b7a/components/Dashboard.tsx +0 -807
  2334. package/.forge/worktrees/pipeline-e7f78b7a/components/DashboardWrapper.tsx +0 -9
  2335. package/.forge/worktrees/pipeline-e7f78b7a/components/DeliveryFlowEditor.tsx +0 -491
  2336. package/.forge/worktrees/pipeline-e7f78b7a/components/DeliveryList.tsx +0 -230
  2337. package/.forge/worktrees/pipeline-e7f78b7a/components/DeliveryWorkspace.tsx +0 -589
  2338. package/.forge/worktrees/pipeline-e7f78b7a/components/DocTerminal.tsx +0 -187
  2339. package/.forge/worktrees/pipeline-e7f78b7a/components/DocsViewer.tsx +0 -574
  2340. package/.forge/worktrees/pipeline-e7f78b7a/components/HelpDialog.tsx +0 -169
  2341. package/.forge/worktrees/pipeline-e7f78b7a/components/HelpTerminal.tsx +0 -141
  2342. package/.forge/worktrees/pipeline-e7f78b7a/components/InlinePipelineView.tsx +0 -111
  2343. package/.forge/worktrees/pipeline-e7f78b7a/components/LogViewer.tsx +0 -194
  2344. package/.forge/worktrees/pipeline-e7f78b7a/components/MarkdownContent.tsx +0 -73
  2345. package/.forge/worktrees/pipeline-e7f78b7a/components/MobileView.tsx +0 -385
  2346. package/.forge/worktrees/pipeline-e7f78b7a/components/MonitorPanel.tsx +0 -122
  2347. package/.forge/worktrees/pipeline-e7f78b7a/components/NewSessionModal.tsx +0 -93
  2348. package/.forge/worktrees/pipeline-e7f78b7a/components/NewTaskModal.tsx +0 -492
  2349. package/.forge/worktrees/pipeline-e7f78b7a/components/PipelineEditor.tsx +0 -570
  2350. package/.forge/worktrees/pipeline-e7f78b7a/components/PipelineView.tsx +0 -1018
  2351. package/.forge/worktrees/pipeline-e7f78b7a/components/PluginsPanel.tsx +0 -472
  2352. package/.forge/worktrees/pipeline-e7f78b7a/components/ProjectDetail.tsx +0 -1618
  2353. package/.forge/worktrees/pipeline-e7f78b7a/components/ProjectList.tsx +0 -108
  2354. package/.forge/worktrees/pipeline-e7f78b7a/components/ProjectManager.tsx +0 -401
  2355. package/.forge/worktrees/pipeline-e7f78b7a/components/SessionList.tsx +0 -74
  2356. package/.forge/worktrees/pipeline-e7f78b7a/components/SessionView.tsx +0 -726
  2357. package/.forge/worktrees/pipeline-e7f78b7a/components/SettingsModal.tsx +0 -1647
  2358. package/.forge/worktrees/pipeline-e7f78b7a/components/SkillsPanel.tsx +0 -969
  2359. package/.forge/worktrees/pipeline-e7f78b7a/components/StatusBar.tsx +0 -99
  2360. package/.forge/worktrees/pipeline-e7f78b7a/components/TabBar.tsx +0 -46
  2361. package/.forge/worktrees/pipeline-e7f78b7a/components/TaskBoard.tsx +0 -113
  2362. package/.forge/worktrees/pipeline-e7f78b7a/components/TaskDetail.tsx +0 -372
  2363. package/.forge/worktrees/pipeline-e7f78b7a/components/TerminalLauncher.tsx +0 -398
  2364. package/.forge/worktrees/pipeline-e7f78b7a/components/TunnelToggle.tsx +0 -206
  2365. package/.forge/worktrees/pipeline-e7f78b7a/components/UsagePanel.tsx +0 -207
  2366. package/.forge/worktrees/pipeline-e7f78b7a/components/WebTerminal.tsx +0 -1683
  2367. package/.forge/worktrees/pipeline-e7f78b7a/components/WorkspaceTree.tsx +0 -221
  2368. package/.forge/worktrees/pipeline-e7f78b7a/components/WorkspaceView.tsx +0 -4048
  2369. package/.forge/worktrees/pipeline-e7f78b7a/dev-test.sh +0 -5
  2370. package/.forge/worktrees/pipeline-e7f78b7a/docs/Forge_Memory_Layer_Design.docx +0 -0
  2371. package/.forge/worktrees/pipeline-e7f78b7a/docs/Forge_Strategy_Research_2026.docx +0 -0
  2372. package/.forge/worktrees/pipeline-e7f78b7a/docs/LOCAL-DEPLOY.md +0 -144
  2373. package/.forge/worktrees/pipeline-e7f78b7a/docs/roadmap-multi-agent-workflow.md +0 -330
  2374. package/.forge/worktrees/pipeline-e7f78b7a/forge-logo.png +0 -0
  2375. package/.forge/worktrees/pipeline-e7f78b7a/forge-logo.svg +0 -106
  2376. package/.forge/worktrees/pipeline-e7f78b7a/hooks/useSidebarResize.ts +0 -52
  2377. package/.forge/worktrees/pipeline-e7f78b7a/install.sh +0 -29
  2378. package/.forge/worktrees/pipeline-e7f78b7a/instrumentation.ts +0 -35
  2379. package/.forge/worktrees/pipeline-e7f78b7a/lib/agents/claude-adapter.ts +0 -104
  2380. package/.forge/worktrees/pipeline-e7f78b7a/lib/agents/generic-adapter.ts +0 -64
  2381. package/.forge/worktrees/pipeline-e7f78b7a/lib/agents/index.ts +0 -245
  2382. package/.forge/worktrees/pipeline-e7f78b7a/lib/agents/types.ts +0 -70
  2383. package/.forge/worktrees/pipeline-e7f78b7a/lib/artifacts.ts +0 -106
  2384. package/.forge/worktrees/pipeline-e7f78b7a/lib/auth.ts +0 -62
  2385. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/docker.yaml +0 -70
  2386. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/http.yaml +0 -66
  2387. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/jenkins.yaml +0 -92
  2388. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/llm-vision.yaml +0 -85
  2389. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/playwright.yaml +0 -111
  2390. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/shell-command.yaml +0 -60
  2391. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/slack.yaml +0 -48
  2392. package/.forge/worktrees/pipeline-e7f78b7a/lib/builtin-plugins/webhook.yaml +0 -56
  2393. package/.forge/worktrees/pipeline-e7f78b7a/lib/claude-process.ts +0 -352
  2394. package/.forge/worktrees/pipeline-e7f78b7a/lib/claude-sessions.ts +0 -266
  2395. package/.forge/worktrees/pipeline-e7f78b7a/lib/claude-templates.ts +0 -227
  2396. package/.forge/worktrees/pipeline-e7f78b7a/lib/cloudflared.ts +0 -424
  2397. package/.forge/worktrees/pipeline-e7f78b7a/lib/crypto.ts +0 -67
  2398. package/.forge/worktrees/pipeline-e7f78b7a/lib/delivery.ts +0 -787
  2399. package/.forge/worktrees/pipeline-e7f78b7a/lib/dirs.ts +0 -99
  2400. package/.forge/worktrees/pipeline-e7f78b7a/lib/flows.ts +0 -86
  2401. package/.forge/worktrees/pipeline-e7f78b7a/lib/forge-mcp-server.ts +0 -717
  2402. package/.forge/worktrees/pipeline-e7f78b7a/lib/forge-skills/forge-inbox.md +0 -38
  2403. package/.forge/worktrees/pipeline-e7f78b7a/lib/forge-skills/forge-send.md +0 -47
  2404. package/.forge/worktrees/pipeline-e7f78b7a/lib/forge-skills/forge-status.md +0 -32
  2405. package/.forge/worktrees/pipeline-e7f78b7a/lib/forge-skills/forge-workspace-sync.md +0 -37
  2406. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/00-overview.md +0 -40
  2407. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/01-settings.md +0 -194
  2408. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/02-telegram.md +0 -41
  2409. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/03-tunnel.md +0 -31
  2410. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/04-tasks.md +0 -52
  2411. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/05-pipelines.md +0 -460
  2412. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/06-skills.md +0 -43
  2413. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/07-projects.md +0 -73
  2414. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/08-rules.md +0 -53
  2415. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/09-issue-autofix.md +0 -55
  2416. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/10-troubleshooting.md +0 -89
  2417. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/11-workspace.md +0 -810
  2418. package/.forge/worktrees/pipeline-e7f78b7a/lib/help-docs/CLAUDE.md +0 -62
  2419. package/.forge/worktrees/pipeline-e7f78b7a/lib/init.ts +0 -266
  2420. package/.forge/worktrees/pipeline-e7f78b7a/lib/issue-scanner.ts +0 -298
  2421. package/.forge/worktrees/pipeline-e7f78b7a/lib/logger.ts +0 -79
  2422. package/.forge/worktrees/pipeline-e7f78b7a/lib/notifications.ts +0 -75
  2423. package/.forge/worktrees/pipeline-e7f78b7a/lib/notify.ts +0 -108
  2424. package/.forge/worktrees/pipeline-e7f78b7a/lib/password.ts +0 -97
  2425. package/.forge/worktrees/pipeline-e7f78b7a/lib/pipeline-scheduler.ts +0 -373
  2426. package/.forge/worktrees/pipeline-e7f78b7a/lib/pipeline.ts +0 -1441
  2427. package/.forge/worktrees/pipeline-e7f78b7a/lib/plugins/executor.ts +0 -347
  2428. package/.forge/worktrees/pipeline-e7f78b7a/lib/plugins/registry.ts +0 -228
  2429. package/.forge/worktrees/pipeline-e7f78b7a/lib/plugins/types.ts +0 -103
  2430. package/.forge/worktrees/pipeline-e7f78b7a/lib/project-sessions.ts +0 -53
  2431. package/.forge/worktrees/pipeline-e7f78b7a/lib/projects.ts +0 -86
  2432. package/.forge/worktrees/pipeline-e7f78b7a/lib/session-manager.ts +0 -156
  2433. package/.forge/worktrees/pipeline-e7f78b7a/lib/session-utils.ts +0 -53
  2434. package/.forge/worktrees/pipeline-e7f78b7a/lib/session-watcher.ts +0 -345
  2435. package/.forge/worktrees/pipeline-e7f78b7a/lib/settings.ts +0 -195
  2436. package/.forge/worktrees/pipeline-e7f78b7a/lib/skills.ts +0 -458
  2437. package/.forge/worktrees/pipeline-e7f78b7a/lib/task-manager.ts +0 -949
  2438. package/.forge/worktrees/pipeline-e7f78b7a/lib/telegram-bot.ts +0 -1477
  2439. package/.forge/worktrees/pipeline-e7f78b7a/lib/telegram-standalone.ts +0 -83
  2440. package/.forge/worktrees/pipeline-e7f78b7a/lib/terminal-server.ts +0 -70
  2441. package/.forge/worktrees/pipeline-e7f78b7a/lib/terminal-standalone.ts +0 -421
  2442. package/.forge/worktrees/pipeline-e7f78b7a/lib/usage-scanner.ts +0 -249
  2443. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/__tests__/state-machine.test.ts +0 -388
  2444. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/__tests__/workspace.test.ts +0 -311
  2445. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/agent-bus.ts +0 -416
  2446. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/agent-worker.ts +0 -655
  2447. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/backends/api-backend.ts +0 -262
  2448. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/backends/cli-backend.ts +0 -491
  2449. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/index.ts +0 -82
  2450. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/manager.ts +0 -136
  2451. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/orchestrator.ts +0 -3400
  2452. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/persistence.ts +0 -309
  2453. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/presets.ts +0 -649
  2454. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/requests.ts +0 -287
  2455. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/session-monitor.ts +0 -240
  2456. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/skill-installer.ts +0 -275
  2457. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/smith-memory.ts +0 -498
  2458. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/types.ts +0 -241
  2459. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace/watch-manager.ts +0 -560
  2460. package/.forge/worktrees/pipeline-e7f78b7a/lib/workspace-standalone.ts +0 -911
  2461. package/.forge/worktrees/pipeline-e7f78b7a/middleware.ts +0 -51
  2462. package/.forge/worktrees/pipeline-e7f78b7a/next.config.ts +0 -26
  2463. package/.forge/worktrees/pipeline-e7f78b7a/package.json +0 -74
  2464. package/.forge/worktrees/pipeline-e7f78b7a/pnpm-lock.yaml +0 -3719
  2465. package/.forge/worktrees/pipeline-e7f78b7a/pnpm-workspace.yaml +0 -1
  2466. package/.forge/worktrees/pipeline-e7f78b7a/postcss.config.mjs +0 -7
  2467. package/.forge/worktrees/pipeline-e7f78b7a/publish.sh +0 -133
  2468. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/README.md +0 -66
  2469. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/results/.gitignore +0 -2
  2470. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/run.ts +0 -635
  2471. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/01-text-utils/task.md +0 -26
  2472. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  2473. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  2474. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/02-pagination/task.md +0 -48
  2475. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  2476. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  2477. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  2478. package/.forge/worktrees/pipeline-e7f78b7a/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  2479. package/.forge/worktrees/pipeline-e7f78b7a/scripts/verify-usage.ts +0 -178
  2480. package/.forge/worktrees/pipeline-e7f78b7a/src/config/index.ts +0 -129
  2481. package/.forge/worktrees/pipeline-e7f78b7a/src/core/db/database.ts +0 -259
  2482. package/.forge/worktrees/pipeline-e7f78b7a/src/core/memory/strategy.ts +0 -32
  2483. package/.forge/worktrees/pipeline-e7f78b7a/src/core/providers/chat.ts +0 -65
  2484. package/.forge/worktrees/pipeline-e7f78b7a/src/core/providers/registry.ts +0 -60
  2485. package/.forge/worktrees/pipeline-e7f78b7a/src/core/session/manager.ts +0 -190
  2486. package/.forge/worktrees/pipeline-e7f78b7a/src/types/index.ts +0 -129
  2487. package/.forge/worktrees/pipeline-e7f78b7a/start.sh +0 -31
  2488. package/.forge/worktrees/pipeline-e7f78b7a/templates/smith-lead.json +0 -45
  2489. package/.forge/worktrees/pipeline-e7f78b7a/tsconfig.json +0 -42
  2490. package/.forge/worktrees/pipeline-e97c13c7/CLAUDE.md +0 -86
  2491. package/.forge/worktrees/pipeline-e97c13c7/README.md +0 -136
  2492. package/.forge/worktrees/pipeline-e97c13c7/RELEASE_NOTES.md +0 -11
  2493. package/.forge/worktrees/pipeline-e97c13c7/app/api/agents/route.ts +0 -17
  2494. package/.forge/worktrees/pipeline-e97c13c7/app/api/auth/[...nextauth]/route.ts +0 -3
  2495. package/.forge/worktrees/pipeline-e97c13c7/app/api/auth/verify/route.ts +0 -46
  2496. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude/[id]/route.ts +0 -31
  2497. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude/[id]/stream/route.ts +0 -63
  2498. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude/route.ts +0 -28
  2499. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  2500. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  2501. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude-sessions/[projectName]/route.ts +0 -37
  2502. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude-sessions/sync/route.ts +0 -17
  2503. package/.forge/worktrees/pipeline-e97c13c7/app/api/claude-templates/route.ts +0 -145
  2504. package/.forge/worktrees/pipeline-e97c13c7/app/api/code/route.ts +0 -299
  2505. package/.forge/worktrees/pipeline-e97c13c7/app/api/delivery/[id]/route.ts +0 -62
  2506. package/.forge/worktrees/pipeline-e97c13c7/app/api/delivery/route.ts +0 -40
  2507. package/.forge/worktrees/pipeline-e97c13c7/app/api/detect-cli/route.ts +0 -46
  2508. package/.forge/worktrees/pipeline-e97c13c7/app/api/docs/route.ts +0 -176
  2509. package/.forge/worktrees/pipeline-e97c13c7/app/api/docs/sessions/route.ts +0 -54
  2510. package/.forge/worktrees/pipeline-e97c13c7/app/api/favorites/route.ts +0 -26
  2511. package/.forge/worktrees/pipeline-e97c13c7/app/api/flows/route.ts +0 -6
  2512. package/.forge/worktrees/pipeline-e97c13c7/app/api/flows/run/route.ts +0 -19
  2513. package/.forge/worktrees/pipeline-e97c13c7/app/api/git/route.ts +0 -149
  2514. package/.forge/worktrees/pipeline-e97c13c7/app/api/help/route.ts +0 -84
  2515. package/.forge/worktrees/pipeline-e97c13c7/app/api/issue-scanner/route.ts +0 -116
  2516. package/.forge/worktrees/pipeline-e97c13c7/app/api/logs/route.ts +0 -100
  2517. package/.forge/worktrees/pipeline-e97c13c7/app/api/mobile-chat/route.ts +0 -115
  2518. package/.forge/worktrees/pipeline-e97c13c7/app/api/monitor/route.ts +0 -74
  2519. package/.forge/worktrees/pipeline-e97c13c7/app/api/notifications/route.ts +0 -42
  2520. package/.forge/worktrees/pipeline-e97c13c7/app/api/notify/test/route.ts +0 -33
  2521. package/.forge/worktrees/pipeline-e97c13c7/app/api/online/route.ts +0 -40
  2522. package/.forge/worktrees/pipeline-e97c13c7/app/api/pipelines/[id]/route.ts +0 -41
  2523. package/.forge/worktrees/pipeline-e97c13c7/app/api/pipelines/route.ts +0 -90
  2524. package/.forge/worktrees/pipeline-e97c13c7/app/api/plugins/route.ts +0 -75
  2525. package/.forge/worktrees/pipeline-e97c13c7/app/api/preview/[...path]/route.ts +0 -64
  2526. package/.forge/worktrees/pipeline-e97c13c7/app/api/preview/route.ts +0 -156
  2527. package/.forge/worktrees/pipeline-e97c13c7/app/api/project-pipelines/route.ts +0 -91
  2528. package/.forge/worktrees/pipeline-e97c13c7/app/api/project-sessions/route.ts +0 -61
  2529. package/.forge/worktrees/pipeline-e97c13c7/app/api/projects/route.ts +0 -26
  2530. package/.forge/worktrees/pipeline-e97c13c7/app/api/sessions/[id]/chat/route.ts +0 -64
  2531. package/.forge/worktrees/pipeline-e97c13c7/app/api/sessions/[id]/messages/route.ts +0 -9
  2532. package/.forge/worktrees/pipeline-e97c13c7/app/api/sessions/[id]/route.ts +0 -17
  2533. package/.forge/worktrees/pipeline-e97c13c7/app/api/sessions/route.ts +0 -20
  2534. package/.forge/worktrees/pipeline-e97c13c7/app/api/settings/route.ts +0 -64
  2535. package/.forge/worktrees/pipeline-e97c13c7/app/api/skills/local/route.ts +0 -228
  2536. package/.forge/worktrees/pipeline-e97c13c7/app/api/skills/route.ts +0 -182
  2537. package/.forge/worktrees/pipeline-e97c13c7/app/api/smith-templates/route.ts +0 -81
  2538. package/.forge/worktrees/pipeline-e97c13c7/app/api/status/route.ts +0 -12
  2539. package/.forge/worktrees/pipeline-e97c13c7/app/api/tabs/route.ts +0 -25
  2540. package/.forge/worktrees/pipeline-e97c13c7/app/api/tasks/[id]/route.ts +0 -51
  2541. package/.forge/worktrees/pipeline-e97c13c7/app/api/tasks/[id]/stream/route.ts +0 -77
  2542. package/.forge/worktrees/pipeline-e97c13c7/app/api/tasks/link/route.ts +0 -37
  2543. package/.forge/worktrees/pipeline-e97c13c7/app/api/tasks/route.ts +0 -44
  2544. package/.forge/worktrees/pipeline-e97c13c7/app/api/tasks/session/route.ts +0 -14
  2545. package/.forge/worktrees/pipeline-e97c13c7/app/api/telegram/route.ts +0 -23
  2546. package/.forge/worktrees/pipeline-e97c13c7/app/api/templates/route.ts +0 -6
  2547. package/.forge/worktrees/pipeline-e97c13c7/app/api/terminal-bell/route.ts +0 -35
  2548. package/.forge/worktrees/pipeline-e97c13c7/app/api/terminal-cwd/route.ts +0 -19
  2549. package/.forge/worktrees/pipeline-e97c13c7/app/api/terminal-state/route.ts +0 -15
  2550. package/.forge/worktrees/pipeline-e97c13c7/app/api/tunnel/route.ts +0 -26
  2551. package/.forge/worktrees/pipeline-e97c13c7/app/api/upgrade/route.ts +0 -43
  2552. package/.forge/worktrees/pipeline-e97c13c7/app/api/usage/route.ts +0 -20
  2553. package/.forge/worktrees/pipeline-e97c13c7/app/api/version/route.ts +0 -78
  2554. package/.forge/worktrees/pipeline-e97c13c7/app/api/watchers/route.ts +0 -33
  2555. package/.forge/worktrees/pipeline-e97c13c7/app/api/workspace/[id]/agents/route.ts +0 -35
  2556. package/.forge/worktrees/pipeline-e97c13c7/app/api/workspace/[id]/memory/route.ts +0 -23
  2557. package/.forge/worktrees/pipeline-e97c13c7/app/api/workspace/[id]/smith/route.ts +0 -22
  2558. package/.forge/worktrees/pipeline-e97c13c7/app/api/workspace/[id]/stream/route.ts +0 -28
  2559. package/.forge/worktrees/pipeline-e97c13c7/app/api/workspace/route.ts +0 -100
  2560. package/.forge/worktrees/pipeline-e97c13c7/app/global-error.tsx +0 -21
  2561. package/.forge/worktrees/pipeline-e97c13c7/app/globals.css +0 -52
  2562. package/.forge/worktrees/pipeline-e97c13c7/app/icon.ico +0 -0
  2563. package/.forge/worktrees/pipeline-e97c13c7/app/icon.png +0 -0
  2564. package/.forge/worktrees/pipeline-e97c13c7/app/icon.svg +0 -106
  2565. package/.forge/worktrees/pipeline-e97c13c7/app/layout.tsx +0 -17
  2566. package/.forge/worktrees/pipeline-e97c13c7/app/login/LoginForm.tsx +0 -96
  2567. package/.forge/worktrees/pipeline-e97c13c7/app/login/page.tsx +0 -10
  2568. package/.forge/worktrees/pipeline-e97c13c7/app/mobile/page.tsx +0 -9
  2569. package/.forge/worktrees/pipeline-e97c13c7/app/page.tsx +0 -21
  2570. package/.forge/worktrees/pipeline-e97c13c7/bin/forge-server.mjs +0 -484
  2571. package/.forge/worktrees/pipeline-e97c13c7/check-forge-status.sh +0 -71
  2572. package/.forge/worktrees/pipeline-e97c13c7/cli/mw.ts +0 -579
  2573. package/.forge/worktrees/pipeline-e97c13c7/components/BrowserPanel.tsx +0 -175
  2574. package/.forge/worktrees/pipeline-e97c13c7/components/ChatPanel.tsx +0 -191
  2575. package/.forge/worktrees/pipeline-e97c13c7/components/ClaudeTerminal.tsx +0 -267
  2576. package/.forge/worktrees/pipeline-e97c13c7/components/CodeViewer.tsx +0 -787
  2577. package/.forge/worktrees/pipeline-e97c13c7/components/ConversationEditor.tsx +0 -411
  2578. package/.forge/worktrees/pipeline-e97c13c7/components/ConversationGraphView.tsx +0 -347
  2579. package/.forge/worktrees/pipeline-e97c13c7/components/ConversationTerminalView.tsx +0 -303
  2580. package/.forge/worktrees/pipeline-e97c13c7/components/Dashboard.tsx +0 -807
  2581. package/.forge/worktrees/pipeline-e97c13c7/components/DashboardWrapper.tsx +0 -9
  2582. package/.forge/worktrees/pipeline-e97c13c7/components/DeliveryFlowEditor.tsx +0 -491
  2583. package/.forge/worktrees/pipeline-e97c13c7/components/DeliveryList.tsx +0 -230
  2584. package/.forge/worktrees/pipeline-e97c13c7/components/DeliveryWorkspace.tsx +0 -589
  2585. package/.forge/worktrees/pipeline-e97c13c7/components/DocTerminal.tsx +0 -187
  2586. package/.forge/worktrees/pipeline-e97c13c7/components/DocsViewer.tsx +0 -574
  2587. package/.forge/worktrees/pipeline-e97c13c7/components/HelpDialog.tsx +0 -169
  2588. package/.forge/worktrees/pipeline-e97c13c7/components/HelpTerminal.tsx +0 -141
  2589. package/.forge/worktrees/pipeline-e97c13c7/components/InlinePipelineView.tsx +0 -111
  2590. package/.forge/worktrees/pipeline-e97c13c7/components/LogViewer.tsx +0 -194
  2591. package/.forge/worktrees/pipeline-e97c13c7/components/MarkdownContent.tsx +0 -73
  2592. package/.forge/worktrees/pipeline-e97c13c7/components/MobileView.tsx +0 -385
  2593. package/.forge/worktrees/pipeline-e97c13c7/components/MonitorPanel.tsx +0 -122
  2594. package/.forge/worktrees/pipeline-e97c13c7/components/NewSessionModal.tsx +0 -93
  2595. package/.forge/worktrees/pipeline-e97c13c7/components/NewTaskModal.tsx +0 -492
  2596. package/.forge/worktrees/pipeline-e97c13c7/components/PipelineEditor.tsx +0 -570
  2597. package/.forge/worktrees/pipeline-e97c13c7/components/PipelineView.tsx +0 -1018
  2598. package/.forge/worktrees/pipeline-e97c13c7/components/PluginsPanel.tsx +0 -472
  2599. package/.forge/worktrees/pipeline-e97c13c7/components/ProjectDetail.tsx +0 -1618
  2600. package/.forge/worktrees/pipeline-e97c13c7/components/ProjectList.tsx +0 -108
  2601. package/.forge/worktrees/pipeline-e97c13c7/components/ProjectManager.tsx +0 -401
  2602. package/.forge/worktrees/pipeline-e97c13c7/components/SessionList.tsx +0 -74
  2603. package/.forge/worktrees/pipeline-e97c13c7/components/SessionView.tsx +0 -726
  2604. package/.forge/worktrees/pipeline-e97c13c7/components/SettingsModal.tsx +0 -1647
  2605. package/.forge/worktrees/pipeline-e97c13c7/components/SkillsPanel.tsx +0 -969
  2606. package/.forge/worktrees/pipeline-e97c13c7/components/StatusBar.tsx +0 -99
  2607. package/.forge/worktrees/pipeline-e97c13c7/components/TabBar.tsx +0 -46
  2608. package/.forge/worktrees/pipeline-e97c13c7/components/TaskBoard.tsx +0 -113
  2609. package/.forge/worktrees/pipeline-e97c13c7/components/TaskDetail.tsx +0 -372
  2610. package/.forge/worktrees/pipeline-e97c13c7/components/TerminalLauncher.tsx +0 -398
  2611. package/.forge/worktrees/pipeline-e97c13c7/components/TunnelToggle.tsx +0 -206
  2612. package/.forge/worktrees/pipeline-e97c13c7/components/UsagePanel.tsx +0 -207
  2613. package/.forge/worktrees/pipeline-e97c13c7/components/WebTerminal.tsx +0 -1683
  2614. package/.forge/worktrees/pipeline-e97c13c7/components/WorkspaceTree.tsx +0 -221
  2615. package/.forge/worktrees/pipeline-e97c13c7/components/WorkspaceView.tsx +0 -4048
  2616. package/.forge/worktrees/pipeline-e97c13c7/dev-test.sh +0 -5
  2617. package/.forge/worktrees/pipeline-e97c13c7/docs/Forge_Memory_Layer_Design.docx +0 -0
  2618. package/.forge/worktrees/pipeline-e97c13c7/docs/Forge_Strategy_Research_2026.docx +0 -0
  2619. package/.forge/worktrees/pipeline-e97c13c7/docs/LOCAL-DEPLOY.md +0 -144
  2620. package/.forge/worktrees/pipeline-e97c13c7/docs/roadmap-multi-agent-workflow.md +0 -330
  2621. package/.forge/worktrees/pipeline-e97c13c7/forge-logo.png +0 -0
  2622. package/.forge/worktrees/pipeline-e97c13c7/forge-logo.svg +0 -106
  2623. package/.forge/worktrees/pipeline-e97c13c7/hooks/useSidebarResize.ts +0 -52
  2624. package/.forge/worktrees/pipeline-e97c13c7/install.sh +0 -29
  2625. package/.forge/worktrees/pipeline-e97c13c7/instrumentation.ts +0 -35
  2626. package/.forge/worktrees/pipeline-e97c13c7/lib/agents/claude-adapter.ts +0 -104
  2627. package/.forge/worktrees/pipeline-e97c13c7/lib/agents/generic-adapter.ts +0 -64
  2628. package/.forge/worktrees/pipeline-e97c13c7/lib/agents/index.ts +0 -245
  2629. package/.forge/worktrees/pipeline-e97c13c7/lib/agents/types.ts +0 -70
  2630. package/.forge/worktrees/pipeline-e97c13c7/lib/artifacts.ts +0 -106
  2631. package/.forge/worktrees/pipeline-e97c13c7/lib/auth.ts +0 -62
  2632. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/docker.yaml +0 -70
  2633. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/http.yaml +0 -66
  2634. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/jenkins.yaml +0 -92
  2635. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/llm-vision.yaml +0 -85
  2636. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/playwright.yaml +0 -111
  2637. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/shell-command.yaml +0 -60
  2638. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/slack.yaml +0 -48
  2639. package/.forge/worktrees/pipeline-e97c13c7/lib/builtin-plugins/webhook.yaml +0 -56
  2640. package/.forge/worktrees/pipeline-e97c13c7/lib/claude-process.ts +0 -352
  2641. package/.forge/worktrees/pipeline-e97c13c7/lib/claude-sessions.ts +0 -266
  2642. package/.forge/worktrees/pipeline-e97c13c7/lib/claude-templates.ts +0 -227
  2643. package/.forge/worktrees/pipeline-e97c13c7/lib/cloudflared.ts +0 -424
  2644. package/.forge/worktrees/pipeline-e97c13c7/lib/crypto.ts +0 -67
  2645. package/.forge/worktrees/pipeline-e97c13c7/lib/delivery.ts +0 -787
  2646. package/.forge/worktrees/pipeline-e97c13c7/lib/dirs.ts +0 -99
  2647. package/.forge/worktrees/pipeline-e97c13c7/lib/flows.ts +0 -86
  2648. package/.forge/worktrees/pipeline-e97c13c7/lib/forge-mcp-server.ts +0 -717
  2649. package/.forge/worktrees/pipeline-e97c13c7/lib/forge-skills/forge-inbox.md +0 -38
  2650. package/.forge/worktrees/pipeline-e97c13c7/lib/forge-skills/forge-send.md +0 -47
  2651. package/.forge/worktrees/pipeline-e97c13c7/lib/forge-skills/forge-status.md +0 -32
  2652. package/.forge/worktrees/pipeline-e97c13c7/lib/forge-skills/forge-workspace-sync.md +0 -37
  2653. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/00-overview.md +0 -40
  2654. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/01-settings.md +0 -194
  2655. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/02-telegram.md +0 -41
  2656. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/03-tunnel.md +0 -31
  2657. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/04-tasks.md +0 -52
  2658. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/05-pipelines.md +0 -460
  2659. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/06-skills.md +0 -43
  2660. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/07-projects.md +0 -73
  2661. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/08-rules.md +0 -53
  2662. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/09-issue-autofix.md +0 -55
  2663. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/10-troubleshooting.md +0 -89
  2664. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/11-workspace.md +0 -810
  2665. package/.forge/worktrees/pipeline-e97c13c7/lib/help-docs/CLAUDE.md +0 -62
  2666. package/.forge/worktrees/pipeline-e97c13c7/lib/init.ts +0 -266
  2667. package/.forge/worktrees/pipeline-e97c13c7/lib/issue-scanner.ts +0 -298
  2668. package/.forge/worktrees/pipeline-e97c13c7/lib/logger.ts +0 -79
  2669. package/.forge/worktrees/pipeline-e97c13c7/lib/notifications.ts +0 -75
  2670. package/.forge/worktrees/pipeline-e97c13c7/lib/notify.ts +0 -108
  2671. package/.forge/worktrees/pipeline-e97c13c7/lib/password.ts +0 -97
  2672. package/.forge/worktrees/pipeline-e97c13c7/lib/pipeline-scheduler.ts +0 -373
  2673. package/.forge/worktrees/pipeline-e97c13c7/lib/pipeline.ts +0 -1438
  2674. package/.forge/worktrees/pipeline-e97c13c7/lib/plugins/executor.ts +0 -347
  2675. package/.forge/worktrees/pipeline-e97c13c7/lib/plugins/registry.ts +0 -228
  2676. package/.forge/worktrees/pipeline-e97c13c7/lib/plugins/types.ts +0 -103
  2677. package/.forge/worktrees/pipeline-e97c13c7/lib/project-sessions.ts +0 -53
  2678. package/.forge/worktrees/pipeline-e97c13c7/lib/projects.ts +0 -86
  2679. package/.forge/worktrees/pipeline-e97c13c7/lib/session-manager.ts +0 -156
  2680. package/.forge/worktrees/pipeline-e97c13c7/lib/session-utils.ts +0 -53
  2681. package/.forge/worktrees/pipeline-e97c13c7/lib/session-watcher.ts +0 -345
  2682. package/.forge/worktrees/pipeline-e97c13c7/lib/settings.ts +0 -195
  2683. package/.forge/worktrees/pipeline-e97c13c7/lib/skills.ts +0 -458
  2684. package/.forge/worktrees/pipeline-e97c13c7/lib/task-manager.ts +0 -949
  2685. package/.forge/worktrees/pipeline-e97c13c7/lib/telegram-bot.ts +0 -1477
  2686. package/.forge/worktrees/pipeline-e97c13c7/lib/telegram-standalone.ts +0 -83
  2687. package/.forge/worktrees/pipeline-e97c13c7/lib/terminal-server.ts +0 -70
  2688. package/.forge/worktrees/pipeline-e97c13c7/lib/terminal-standalone.ts +0 -421
  2689. package/.forge/worktrees/pipeline-e97c13c7/lib/usage-scanner.ts +0 -249
  2690. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/__tests__/state-machine.test.ts +0 -388
  2691. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/__tests__/workspace.test.ts +0 -311
  2692. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/agent-bus.ts +0 -416
  2693. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/agent-worker.ts +0 -655
  2694. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/backends/api-backend.ts +0 -262
  2695. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/backends/cli-backend.ts +0 -491
  2696. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/index.ts +0 -82
  2697. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/manager.ts +0 -136
  2698. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/orchestrator.ts +0 -3400
  2699. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/persistence.ts +0 -309
  2700. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/presets.ts +0 -649
  2701. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/requests.ts +0 -287
  2702. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/session-monitor.ts +0 -240
  2703. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/skill-installer.ts +0 -275
  2704. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/smith-memory.ts +0 -498
  2705. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/types.ts +0 -241
  2706. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace/watch-manager.ts +0 -560
  2707. package/.forge/worktrees/pipeline-e97c13c7/lib/workspace-standalone.ts +0 -911
  2708. package/.forge/worktrees/pipeline-e97c13c7/middleware.ts +0 -51
  2709. package/.forge/worktrees/pipeline-e97c13c7/next.config.ts +0 -26
  2710. package/.forge/worktrees/pipeline-e97c13c7/package.json +0 -74
  2711. package/.forge/worktrees/pipeline-e97c13c7/pnpm-lock.yaml +0 -3719
  2712. package/.forge/worktrees/pipeline-e97c13c7/pnpm-workspace.yaml +0 -1
  2713. package/.forge/worktrees/pipeline-e97c13c7/postcss.config.mjs +0 -7
  2714. package/.forge/worktrees/pipeline-e97c13c7/publish.sh +0 -133
  2715. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/README.md +0 -66
  2716. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/results/.gitignore +0 -2
  2717. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/run.ts +0 -635
  2718. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/01-text-utils/task.md +0 -26
  2719. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  2720. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  2721. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/02-pagination/task.md +0 -48
  2722. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  2723. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  2724. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  2725. package/.forge/worktrees/pipeline-e97c13c7/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  2726. package/.forge/worktrees/pipeline-e97c13c7/scripts/verify-usage.ts +0 -178
  2727. package/.forge/worktrees/pipeline-e97c13c7/src/config/index.ts +0 -129
  2728. package/.forge/worktrees/pipeline-e97c13c7/src/core/db/database.ts +0 -259
  2729. package/.forge/worktrees/pipeline-e97c13c7/src/core/memory/strategy.ts +0 -32
  2730. package/.forge/worktrees/pipeline-e97c13c7/src/core/providers/chat.ts +0 -65
  2731. package/.forge/worktrees/pipeline-e97c13c7/src/core/providers/registry.ts +0 -60
  2732. package/.forge/worktrees/pipeline-e97c13c7/src/core/session/manager.ts +0 -190
  2733. package/.forge/worktrees/pipeline-e97c13c7/src/types/index.ts +0 -129
  2734. package/.forge/worktrees/pipeline-e97c13c7/start.sh +0 -31
  2735. package/.forge/worktrees/pipeline-e97c13c7/templates/smith-lead.json +0 -45
  2736. package/.forge/worktrees/pipeline-e97c13c7/tsconfig.json +0 -42
  2737. package/.forge/worktrees/pipeline-ecd7cb0f/CLAUDE.md +0 -86
  2738. package/.forge/worktrees/pipeline-ecd7cb0f/README.md +0 -136
  2739. package/.forge/worktrees/pipeline-ecd7cb0f/RELEASE_NOTES.md +0 -11
  2740. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/agents/route.ts +0 -17
  2741. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/auth/[...nextauth]/route.ts +0 -3
  2742. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/auth/verify/route.ts +0 -46
  2743. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude/[id]/route.ts +0 -31
  2744. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude/[id]/stream/route.ts +0 -63
  2745. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude/route.ts +0 -28
  2746. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude-sessions/[projectName]/entries/route.ts +0 -23
  2747. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude-sessions/[projectName]/live/route.ts +0 -72
  2748. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude-sessions/[projectName]/route.ts +0 -37
  2749. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude-sessions/sync/route.ts +0 -17
  2750. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/claude-templates/route.ts +0 -145
  2751. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/code/route.ts +0 -299
  2752. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/delivery/[id]/route.ts +0 -62
  2753. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/delivery/route.ts +0 -40
  2754. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/detect-cli/route.ts +0 -46
  2755. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/docs/route.ts +0 -176
  2756. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/docs/sessions/route.ts +0 -54
  2757. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/favorites/route.ts +0 -26
  2758. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/flows/route.ts +0 -6
  2759. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/flows/run/route.ts +0 -19
  2760. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/git/route.ts +0 -149
  2761. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/help/route.ts +0 -84
  2762. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/issue-scanner/route.ts +0 -116
  2763. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/logs/route.ts +0 -100
  2764. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/mobile-chat/route.ts +0 -115
  2765. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/monitor/route.ts +0 -74
  2766. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/notifications/route.ts +0 -42
  2767. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/notify/test/route.ts +0 -33
  2768. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/online/route.ts +0 -40
  2769. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/pipelines/[id]/route.ts +0 -41
  2770. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/pipelines/route.ts +0 -90
  2771. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/plugins/route.ts +0 -75
  2772. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/preview/[...path]/route.ts +0 -64
  2773. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/preview/route.ts +0 -156
  2774. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/project-pipelines/route.ts +0 -91
  2775. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/project-sessions/route.ts +0 -61
  2776. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/projects/route.ts +0 -26
  2777. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/sessions/[id]/chat/route.ts +0 -64
  2778. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/sessions/[id]/messages/route.ts +0 -9
  2779. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/sessions/[id]/route.ts +0 -17
  2780. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/sessions/route.ts +0 -20
  2781. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/settings/route.ts +0 -64
  2782. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/skills/local/route.ts +0 -228
  2783. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/skills/route.ts +0 -182
  2784. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/smith-templates/route.ts +0 -81
  2785. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/status/route.ts +0 -12
  2786. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tabs/route.ts +0 -25
  2787. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tasks/[id]/route.ts +0 -51
  2788. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tasks/[id]/stream/route.ts +0 -77
  2789. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tasks/link/route.ts +0 -37
  2790. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tasks/route.ts +0 -44
  2791. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tasks/session/route.ts +0 -14
  2792. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/telegram/route.ts +0 -23
  2793. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/templates/route.ts +0 -6
  2794. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/terminal-bell/route.ts +0 -35
  2795. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/terminal-cwd/route.ts +0 -19
  2796. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/terminal-state/route.ts +0 -15
  2797. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/tunnel/route.ts +0 -26
  2798. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/upgrade/route.ts +0 -43
  2799. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/usage/route.ts +0 -20
  2800. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/version/route.ts +0 -78
  2801. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/watchers/route.ts +0 -33
  2802. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/workspace/[id]/agents/route.ts +0 -35
  2803. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/workspace/[id]/memory/route.ts +0 -23
  2804. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/workspace/[id]/smith/route.ts +0 -22
  2805. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/workspace/[id]/stream/route.ts +0 -28
  2806. package/.forge/worktrees/pipeline-ecd7cb0f/app/api/workspace/route.ts +0 -100
  2807. package/.forge/worktrees/pipeline-ecd7cb0f/app/global-error.tsx +0 -21
  2808. package/.forge/worktrees/pipeline-ecd7cb0f/app/globals.css +0 -52
  2809. package/.forge/worktrees/pipeline-ecd7cb0f/app/icon.ico +0 -0
  2810. package/.forge/worktrees/pipeline-ecd7cb0f/app/icon.png +0 -0
  2811. package/.forge/worktrees/pipeline-ecd7cb0f/app/icon.svg +0 -106
  2812. package/.forge/worktrees/pipeline-ecd7cb0f/app/layout.tsx +0 -17
  2813. package/.forge/worktrees/pipeline-ecd7cb0f/app/login/LoginForm.tsx +0 -96
  2814. package/.forge/worktrees/pipeline-ecd7cb0f/app/login/page.tsx +0 -10
  2815. package/.forge/worktrees/pipeline-ecd7cb0f/app/mobile/page.tsx +0 -9
  2816. package/.forge/worktrees/pipeline-ecd7cb0f/app/page.tsx +0 -21
  2817. package/.forge/worktrees/pipeline-ecd7cb0f/bin/forge-server.mjs +0 -484
  2818. package/.forge/worktrees/pipeline-ecd7cb0f/check-forge-status.sh +0 -71
  2819. package/.forge/worktrees/pipeline-ecd7cb0f/cli/mw.ts +0 -579
  2820. package/.forge/worktrees/pipeline-ecd7cb0f/components/BrowserPanel.tsx +0 -175
  2821. package/.forge/worktrees/pipeline-ecd7cb0f/components/ChatPanel.tsx +0 -191
  2822. package/.forge/worktrees/pipeline-ecd7cb0f/components/ClaudeTerminal.tsx +0 -267
  2823. package/.forge/worktrees/pipeline-ecd7cb0f/components/CodeViewer.tsx +0 -787
  2824. package/.forge/worktrees/pipeline-ecd7cb0f/components/ConversationEditor.tsx +0 -411
  2825. package/.forge/worktrees/pipeline-ecd7cb0f/components/ConversationGraphView.tsx +0 -347
  2826. package/.forge/worktrees/pipeline-ecd7cb0f/components/ConversationTerminalView.tsx +0 -303
  2827. package/.forge/worktrees/pipeline-ecd7cb0f/components/Dashboard.tsx +0 -807
  2828. package/.forge/worktrees/pipeline-ecd7cb0f/components/DashboardWrapper.tsx +0 -9
  2829. package/.forge/worktrees/pipeline-ecd7cb0f/components/DeliveryFlowEditor.tsx +0 -491
  2830. package/.forge/worktrees/pipeline-ecd7cb0f/components/DeliveryList.tsx +0 -230
  2831. package/.forge/worktrees/pipeline-ecd7cb0f/components/DeliveryWorkspace.tsx +0 -589
  2832. package/.forge/worktrees/pipeline-ecd7cb0f/components/DocTerminal.tsx +0 -187
  2833. package/.forge/worktrees/pipeline-ecd7cb0f/components/DocsViewer.tsx +0 -574
  2834. package/.forge/worktrees/pipeline-ecd7cb0f/components/HelpDialog.tsx +0 -169
  2835. package/.forge/worktrees/pipeline-ecd7cb0f/components/HelpTerminal.tsx +0 -141
  2836. package/.forge/worktrees/pipeline-ecd7cb0f/components/InlinePipelineView.tsx +0 -111
  2837. package/.forge/worktrees/pipeline-ecd7cb0f/components/LogViewer.tsx +0 -194
  2838. package/.forge/worktrees/pipeline-ecd7cb0f/components/MarkdownContent.tsx +0 -73
  2839. package/.forge/worktrees/pipeline-ecd7cb0f/components/MobileView.tsx +0 -385
  2840. package/.forge/worktrees/pipeline-ecd7cb0f/components/MonitorPanel.tsx +0 -122
  2841. package/.forge/worktrees/pipeline-ecd7cb0f/components/NewSessionModal.tsx +0 -93
  2842. package/.forge/worktrees/pipeline-ecd7cb0f/components/NewTaskModal.tsx +0 -492
  2843. package/.forge/worktrees/pipeline-ecd7cb0f/components/PipelineEditor.tsx +0 -570
  2844. package/.forge/worktrees/pipeline-ecd7cb0f/components/PipelineView.tsx +0 -1018
  2845. package/.forge/worktrees/pipeline-ecd7cb0f/components/PluginsPanel.tsx +0 -472
  2846. package/.forge/worktrees/pipeline-ecd7cb0f/components/ProjectDetail.tsx +0 -1618
  2847. package/.forge/worktrees/pipeline-ecd7cb0f/components/ProjectList.tsx +0 -108
  2848. package/.forge/worktrees/pipeline-ecd7cb0f/components/ProjectManager.tsx +0 -401
  2849. package/.forge/worktrees/pipeline-ecd7cb0f/components/SessionList.tsx +0 -74
  2850. package/.forge/worktrees/pipeline-ecd7cb0f/components/SessionView.tsx +0 -726
  2851. package/.forge/worktrees/pipeline-ecd7cb0f/components/SettingsModal.tsx +0 -1647
  2852. package/.forge/worktrees/pipeline-ecd7cb0f/components/SkillsPanel.tsx +0 -969
  2853. package/.forge/worktrees/pipeline-ecd7cb0f/components/StatusBar.tsx +0 -99
  2854. package/.forge/worktrees/pipeline-ecd7cb0f/components/TabBar.tsx +0 -46
  2855. package/.forge/worktrees/pipeline-ecd7cb0f/components/TaskBoard.tsx +0 -113
  2856. package/.forge/worktrees/pipeline-ecd7cb0f/components/TaskDetail.tsx +0 -372
  2857. package/.forge/worktrees/pipeline-ecd7cb0f/components/TerminalLauncher.tsx +0 -398
  2858. package/.forge/worktrees/pipeline-ecd7cb0f/components/TunnelToggle.tsx +0 -206
  2859. package/.forge/worktrees/pipeline-ecd7cb0f/components/UsagePanel.tsx +0 -207
  2860. package/.forge/worktrees/pipeline-ecd7cb0f/components/WebTerminal.tsx +0 -1683
  2861. package/.forge/worktrees/pipeline-ecd7cb0f/components/WorkspaceTree.tsx +0 -221
  2862. package/.forge/worktrees/pipeline-ecd7cb0f/components/WorkspaceView.tsx +0 -4048
  2863. package/.forge/worktrees/pipeline-ecd7cb0f/dev-test.sh +0 -5
  2864. package/.forge/worktrees/pipeline-ecd7cb0f/docs/Forge_Memory_Layer_Design.docx +0 -0
  2865. package/.forge/worktrees/pipeline-ecd7cb0f/docs/Forge_Strategy_Research_2026.docx +0 -0
  2866. package/.forge/worktrees/pipeline-ecd7cb0f/docs/LOCAL-DEPLOY.md +0 -144
  2867. package/.forge/worktrees/pipeline-ecd7cb0f/docs/roadmap-multi-agent-workflow.md +0 -330
  2868. package/.forge/worktrees/pipeline-ecd7cb0f/forge-logo.png +0 -0
  2869. package/.forge/worktrees/pipeline-ecd7cb0f/forge-logo.svg +0 -106
  2870. package/.forge/worktrees/pipeline-ecd7cb0f/hooks/useSidebarResize.ts +0 -52
  2871. package/.forge/worktrees/pipeline-ecd7cb0f/install.sh +0 -29
  2872. package/.forge/worktrees/pipeline-ecd7cb0f/instrumentation.ts +0 -35
  2873. package/.forge/worktrees/pipeline-ecd7cb0f/lib/agents/claude-adapter.ts +0 -104
  2874. package/.forge/worktrees/pipeline-ecd7cb0f/lib/agents/generic-adapter.ts +0 -64
  2875. package/.forge/worktrees/pipeline-ecd7cb0f/lib/agents/index.ts +0 -245
  2876. package/.forge/worktrees/pipeline-ecd7cb0f/lib/agents/types.ts +0 -70
  2877. package/.forge/worktrees/pipeline-ecd7cb0f/lib/artifacts.ts +0 -106
  2878. package/.forge/worktrees/pipeline-ecd7cb0f/lib/auth.ts +0 -62
  2879. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/docker.yaml +0 -70
  2880. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/http.yaml +0 -66
  2881. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/jenkins.yaml +0 -92
  2882. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/llm-vision.yaml +0 -85
  2883. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/playwright.yaml +0 -111
  2884. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/shell-command.yaml +0 -60
  2885. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/slack.yaml +0 -48
  2886. package/.forge/worktrees/pipeline-ecd7cb0f/lib/builtin-plugins/webhook.yaml +0 -56
  2887. package/.forge/worktrees/pipeline-ecd7cb0f/lib/claude-process.ts +0 -352
  2888. package/.forge/worktrees/pipeline-ecd7cb0f/lib/claude-sessions.ts +0 -266
  2889. package/.forge/worktrees/pipeline-ecd7cb0f/lib/claude-templates.ts +0 -227
  2890. package/.forge/worktrees/pipeline-ecd7cb0f/lib/cloudflared.ts +0 -424
  2891. package/.forge/worktrees/pipeline-ecd7cb0f/lib/crypto.ts +0 -67
  2892. package/.forge/worktrees/pipeline-ecd7cb0f/lib/delivery.ts +0 -787
  2893. package/.forge/worktrees/pipeline-ecd7cb0f/lib/dirs.ts +0 -99
  2894. package/.forge/worktrees/pipeline-ecd7cb0f/lib/flows.ts +0 -86
  2895. package/.forge/worktrees/pipeline-ecd7cb0f/lib/forge-mcp-server.ts +0 -717
  2896. package/.forge/worktrees/pipeline-ecd7cb0f/lib/forge-skills/forge-inbox.md +0 -38
  2897. package/.forge/worktrees/pipeline-ecd7cb0f/lib/forge-skills/forge-send.md +0 -47
  2898. package/.forge/worktrees/pipeline-ecd7cb0f/lib/forge-skills/forge-status.md +0 -32
  2899. package/.forge/worktrees/pipeline-ecd7cb0f/lib/forge-skills/forge-workspace-sync.md +0 -37
  2900. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/00-overview.md +0 -40
  2901. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/01-settings.md +0 -194
  2902. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/02-telegram.md +0 -41
  2903. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/03-tunnel.md +0 -31
  2904. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/04-tasks.md +0 -52
  2905. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/05-pipelines.md +0 -460
  2906. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/06-skills.md +0 -43
  2907. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/07-projects.md +0 -73
  2908. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/08-rules.md +0 -53
  2909. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/09-issue-autofix.md +0 -55
  2910. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/10-troubleshooting.md +0 -89
  2911. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/11-workspace.md +0 -810
  2912. package/.forge/worktrees/pipeline-ecd7cb0f/lib/help-docs/CLAUDE.md +0 -62
  2913. package/.forge/worktrees/pipeline-ecd7cb0f/lib/init.ts +0 -266
  2914. package/.forge/worktrees/pipeline-ecd7cb0f/lib/issue-scanner.ts +0 -298
  2915. package/.forge/worktrees/pipeline-ecd7cb0f/lib/logger.ts +0 -79
  2916. package/.forge/worktrees/pipeline-ecd7cb0f/lib/notifications.ts +0 -75
  2917. package/.forge/worktrees/pipeline-ecd7cb0f/lib/notify.ts +0 -108
  2918. package/.forge/worktrees/pipeline-ecd7cb0f/lib/password.ts +0 -97
  2919. package/.forge/worktrees/pipeline-ecd7cb0f/lib/pipeline-scheduler.ts +0 -373
  2920. package/.forge/worktrees/pipeline-ecd7cb0f/lib/pipeline.ts +0 -1441
  2921. package/.forge/worktrees/pipeline-ecd7cb0f/lib/plugins/executor.ts +0 -347
  2922. package/.forge/worktrees/pipeline-ecd7cb0f/lib/plugins/registry.ts +0 -228
  2923. package/.forge/worktrees/pipeline-ecd7cb0f/lib/plugins/types.ts +0 -103
  2924. package/.forge/worktrees/pipeline-ecd7cb0f/lib/project-sessions.ts +0 -53
  2925. package/.forge/worktrees/pipeline-ecd7cb0f/lib/projects.ts +0 -86
  2926. package/.forge/worktrees/pipeline-ecd7cb0f/lib/session-manager.ts +0 -156
  2927. package/.forge/worktrees/pipeline-ecd7cb0f/lib/session-utils.ts +0 -53
  2928. package/.forge/worktrees/pipeline-ecd7cb0f/lib/session-watcher.ts +0 -345
  2929. package/.forge/worktrees/pipeline-ecd7cb0f/lib/settings.ts +0 -195
  2930. package/.forge/worktrees/pipeline-ecd7cb0f/lib/skills.ts +0 -458
  2931. package/.forge/worktrees/pipeline-ecd7cb0f/lib/task-manager.ts +0 -949
  2932. package/.forge/worktrees/pipeline-ecd7cb0f/lib/telegram-bot.ts +0 -1477
  2933. package/.forge/worktrees/pipeline-ecd7cb0f/lib/telegram-standalone.ts +0 -83
  2934. package/.forge/worktrees/pipeline-ecd7cb0f/lib/terminal-server.ts +0 -70
  2935. package/.forge/worktrees/pipeline-ecd7cb0f/lib/terminal-standalone.ts +0 -421
  2936. package/.forge/worktrees/pipeline-ecd7cb0f/lib/usage-scanner.ts +0 -249
  2937. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/__tests__/state-machine.test.ts +0 -388
  2938. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/__tests__/workspace.test.ts +0 -311
  2939. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/agent-bus.ts +0 -416
  2940. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/agent-worker.ts +0 -655
  2941. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/backends/api-backend.ts +0 -262
  2942. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/backends/cli-backend.ts +0 -491
  2943. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/index.ts +0 -82
  2944. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/manager.ts +0 -136
  2945. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/orchestrator.ts +0 -3400
  2946. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/persistence.ts +0 -309
  2947. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/presets.ts +0 -649
  2948. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/requests.ts +0 -287
  2949. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/session-monitor.ts +0 -240
  2950. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/skill-installer.ts +0 -275
  2951. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/smith-memory.ts +0 -498
  2952. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/types.ts +0 -241
  2953. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace/watch-manager.ts +0 -560
  2954. package/.forge/worktrees/pipeline-ecd7cb0f/lib/workspace-standalone.ts +0 -911
  2955. package/.forge/worktrees/pipeline-ecd7cb0f/middleware.ts +0 -51
  2956. package/.forge/worktrees/pipeline-ecd7cb0f/next.config.ts +0 -26
  2957. package/.forge/worktrees/pipeline-ecd7cb0f/package.json +0 -74
  2958. package/.forge/worktrees/pipeline-ecd7cb0f/pnpm-lock.yaml +0 -3719
  2959. package/.forge/worktrees/pipeline-ecd7cb0f/pnpm-workspace.yaml +0 -1
  2960. package/.forge/worktrees/pipeline-ecd7cb0f/postcss.config.mjs +0 -7
  2961. package/.forge/worktrees/pipeline-ecd7cb0f/publish.sh +0 -133
  2962. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/README.md +0 -66
  2963. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/results/.gitignore +0 -2
  2964. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/run.ts +0 -635
  2965. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/01-text-utils/task.md +0 -26
  2966. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/01-text-utils/validator.sh +0 -46
  2967. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/02-pagination/setup.sh +0 -19
  2968. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/02-pagination/task.md +0 -48
  2969. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/02-pagination/validator.sh +0 -69
  2970. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/03-bug-fix/setup.sh +0 -82
  2971. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/03-bug-fix/task.md +0 -30
  2972. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/bench/tasks/03-bug-fix/validator.sh +0 -29
  2973. package/.forge/worktrees/pipeline-ecd7cb0f/scripts/verify-usage.ts +0 -178
  2974. package/.forge/worktrees/pipeline-ecd7cb0f/src/config/index.ts +0 -129
  2975. package/.forge/worktrees/pipeline-ecd7cb0f/src/core/db/database.ts +0 -259
  2976. package/.forge/worktrees/pipeline-ecd7cb0f/src/core/memory/strategy.ts +0 -32
  2977. package/.forge/worktrees/pipeline-ecd7cb0f/src/core/providers/chat.ts +0 -65
  2978. package/.forge/worktrees/pipeline-ecd7cb0f/src/core/providers/registry.ts +0 -60
  2979. package/.forge/worktrees/pipeline-ecd7cb0f/src/core/session/manager.ts +0 -190
  2980. package/.forge/worktrees/pipeline-ecd7cb0f/src/types/index.ts +0 -129
  2981. package/.forge/worktrees/pipeline-ecd7cb0f/start.sh +0 -31
  2982. package/.forge/worktrees/pipeline-ecd7cb0f/templates/smith-lead.json +0 -45
  2983. package/.forge/worktrees/pipeline-ecd7cb0f/tsconfig.json +0 -42
  2984. package/qa/.forge/agent-context.json +0 -6
  2985. package/qa/.forge/mcp.json +0 -8
@@ -1,1438 +0,0 @@
1
- /**
2
- * Pipeline Engine — DAG-based workflow orchestration on top of the Task system.
3
- *
4
- * Workflow YAML → Pipeline instance → Nodes executed as Tasks
5
- * Supports: dependencies, output passing, conditional routing, parallel execution, notifications.
6
- */
7
-
8
- import { randomUUID } from 'node:crypto';
9
- import { existsSync, readdirSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
10
- import { join } from 'node:path';
11
- import YAML from 'yaml';
12
- import { createTask, getTask, onTaskEvent, taskModelOverrides } from './task-manager';
13
- import { getProjectInfo } from './projects';
14
- import { loadSettings } from './settings';
15
- import { getAgent, listAgents } from './agents';
16
- import type { Task } from '@/src/types';
17
- import { getDataDir } from './dirs';
18
-
19
- const PIPELINES_DIR = join(getDataDir(), 'pipelines');
20
- const WORKFLOWS_DIR = join(getDataDir(), 'flows');
21
-
22
- // Track pipeline task IDs so terminal notifications can skip them (persists across hot-reloads)
23
- const pipelineTaskKey = Symbol.for('mw-pipeline-task-ids');
24
- const gPipeline = globalThis as any;
25
- if (!gPipeline[pipelineTaskKey]) gPipeline[pipelineTaskKey] = new Set<string>();
26
- export const pipelineTaskIds: Set<string> = gPipeline[pipelineTaskKey];
27
-
28
- // ─── Types ────────────────────────────────────────────────
29
-
30
- export interface WorkflowNode {
31
- id: string;
32
- project: string;
33
- prompt: string;
34
- mode?: 'claude' | 'shell' | 'plugin'; // default: 'claude', 'shell' runs command, 'plugin' runs plugin action
35
- agent?: string; // agent ID (default: from settings)
36
- branch?: string; // auto checkout this branch before running (supports templates)
37
- // Plugin mode fields
38
- plugin?: string; // plugin ID (e.g., 'jenkins', 'docker')
39
- pluginAction?: string; // action name (e.g., 'trigger', 'build'), defaults to plugin's defaultAction
40
- pluginParams?: Record<string, any>; // per-use parameters
41
- pluginWait?: boolean; // auto-run 'wait' action after main action
42
- dependsOn: string[];
43
- outputs: { name: string; extract: 'result' | 'git_diff' | 'stdout' | 'plugin' }[];
44
- routes: { condition: string; next: string }[];
45
- maxIterations: number;
46
- }
47
-
48
- // ─── Conversation Mode Types ──────────────────────────────
49
-
50
- export interface ConversationAgent {
51
- id: string; // logical ID within this conversation (e.g., 'architect', 'implementer')
52
- agent: string; // agent registry ID (e.g., 'claude', 'codex', 'aider')
53
- role: string; // system prompt / role description
54
- project?: string; // project context (optional, defaults to workflow input.project)
55
- }
56
-
57
- export interface ConversationMessage {
58
- round: number;
59
- agentId: string; // logical ID from ConversationAgent
60
- agentName: string; // display name (resolved from registry)
61
- content: string;
62
- timestamp: string;
63
- taskId?: string; // backing task ID
64
- status: 'pending' | 'running' | 'done' | 'failed';
65
- }
66
-
67
- export interface ConversationConfig {
68
- agents: ConversationAgent[];
69
- maxRounds: number; // max back-and-forth rounds
70
- stopCondition?: string; // e.g., "all agents say DONE", "any agent says DONE"
71
- initialPrompt: string; // the seed prompt to kick off the conversation
72
- contextStrategy?: 'full' | 'window' | 'summary'; // how to pass history, default: 'summary'
73
- contextWindow?: number; // for 'window'/'summary': how many recent messages to include in full (default: 4)
74
- maxContentLength?: number; // truncate each message to this length (default: 3000)
75
- }
76
-
77
- // ─── Workflow ─────────────────────────────────────────────
78
-
79
- export interface Workflow {
80
- name: string;
81
- type?: 'dag' | 'conversation'; // default: 'dag'
82
- description?: string;
83
- vars: Record<string, string>;
84
- input: Record<string, string>; // required input fields
85
- nodes: Record<string, WorkflowNode>;
86
- // Conversation mode fields (only when type === 'conversation')
87
- conversation?: ConversationConfig;
88
- }
89
-
90
- export type PipelineNodeStatus = 'pending' | 'running' | 'done' | 'failed' | 'skipped';
91
-
92
- export interface PipelineNodeState {
93
- status: PipelineNodeStatus;
94
- taskId?: string;
95
- outputs: Record<string, string>;
96
- iterations: number;
97
- startedAt?: string;
98
- completedAt?: string;
99
- error?: string;
100
- }
101
-
102
- export interface Pipeline {
103
- id: string;
104
- workflowName: string;
105
- type?: 'dag' | 'conversation'; // default: 'dag'
106
- status: 'running' | 'done' | 'failed' | 'cancelled';
107
- input: Record<string, string>;
108
- vars: Record<string, string>;
109
- nodes: Record<string, PipelineNodeState>;
110
- nodeOrder: string[]; // for UI display
111
- createdAt: string;
112
- completedAt?: string;
113
- // Conversation mode state
114
- conversation?: {
115
- config: ConversationConfig;
116
- messages: ConversationMessage[];
117
- currentRound: number;
118
- currentAgentIndex: number; // index into config.agents
119
- };
120
- }
121
-
122
- // ─── Workflow Loading ─────────────────────────────────────
123
-
124
- // ─── Built-in workflows ──────────────────────────────────
125
-
126
- export const BUILTIN_WORKFLOWS: Record<string, string> = {
127
- 'issue-fix-and-review': `
128
- name: issue-fix-and-review
129
- description: "Fetch GitHub issue → fix code → create PR → review PR → notify"
130
- input:
131
- issue_id: "GitHub issue number"
132
- project: "Project name"
133
- base_branch: "Base branch (default: auto-detect)"
134
- extra_context: "Additional instructions for the fix (optional)"
135
- nodes:
136
- setup:
137
- mode: shell
138
- project: "{{input.project}}"
139
- prompt: |
140
- cd "$(git rev-parse --show-toplevel)" && \
141
- if [ -n "$(git status --porcelain)" ]; then echo "ERROR: Working directory has uncommitted changes. Please commit or stash first." && exit 1; fi && \
142
- ORIG_BRANCH=$(git branch --show-current || git rev-parse --short HEAD) && \
143
- REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || git remote get-url origin | sed 's/.*github.com[:/]//;s/.git$//') && \
144
- BASE="{{input.base_branch}}" && \
145
- if [ -z "$BASE" ] || [ "$BASE" = "auto-detect" ]; then BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo main); fi && \
146
- git checkout "$BASE" 2>/dev/null || true && \
147
- git pull origin "$BASE" 2>/dev/null || true && \
148
- OLD_BRANCH=$(git branch --list "fix/{{input.issue_id}}-*" | head -1 | tr -d ' *') && \
149
- if [ -n "$OLD_BRANCH" ]; then git branch -D "$OLD_BRANCH" 2>/dev/null || true; fi && \
150
- echo "REPO=$REPO" && echo "BASE=$BASE" && echo "ORIG_BRANCH=$ORIG_BRANCH"
151
- outputs:
152
- - name: info
153
- extract: stdout
154
- fetch-issue:
155
- mode: shell
156
- project: "{{input.project}}"
157
- depends_on: [setup]
158
- prompt: |
159
- ISSUE_ID="{{input.issue_id}}" && \
160
- if [ -z "$ISSUE_ID" ]; then echo "__SKIP__ No issue_id provided" && exit 0; fi && \
161
- SETUP_INFO=$'{{nodes.setup.outputs.info}}' && \
162
- REPO=$(echo "$SETUP_INFO" | grep REPO= | cut -d= -f2) && \
163
- gh issue view "$ISSUE_ID" --json title,body,labels,number -R "$REPO"
164
- outputs:
165
- - name: issue_json
166
- extract: stdout
167
- fix-code:
168
- project: "{{input.project}}"
169
- depends_on: [fetch-issue]
170
- prompt: |
171
- A GitHub issue needs to be fixed. Here is the issue data:
172
-
173
- {{nodes.fetch-issue.outputs.issue_json}}
174
-
175
- Steps:
176
- 1. Create a new branch from the current branch (which is already on the base). Name format: fix/{{input.issue_id}}-<short-description> (e.g. fix/3-add-validation, fix/15-null-pointer). Any old branch for this issue has been cleaned up.
177
- 2. Analyze the issue and fix the code.
178
- 3. Stage and commit with a message referencing #{{input.issue_id}}.
179
-
180
- Base branch info: {{nodes.setup.outputs.info}}
181
-
182
- Additional context from user: {{input.extra_context}}
183
- outputs:
184
- - name: summary
185
- extract: result
186
- - name: diff
187
- extract: git_diff
188
- push-and-pr:
189
- mode: shell
190
- project: "{{input.project}}"
191
- depends_on: [fix-code]
192
- prompt: |
193
- SETUP_INFO=$'{{nodes.setup.outputs.info}}' && \
194
- REPO=$(echo "$SETUP_INFO" | grep REPO= | cut -d= -f2) && \
195
- BRANCH=$(git branch --show-current) && \
196
- git push -u origin "$BRANCH" --force-with-lease 2>&1 && \
197
- PR_URL=$(gh pr create --title "Fix #{{input.issue_id}}" \
198
- --body "Auto-fix by Forge Pipeline for issue #{{input.issue_id}}." -R "$REPO" 2>/dev/null || \
199
- gh pr view "$BRANCH" --json url -q .url -R "$REPO" 2>/dev/null) && \
200
- echo "$PR_URL"
201
- outputs:
202
- - name: pr_url
203
- extract: stdout
204
- review:
205
- project: "{{input.project}}"
206
- depends_on: [push-and-pr]
207
- prompt: |
208
- Review the code changes for issue #{{input.issue_id}}.
209
-
210
- Fix summary: {{nodes.fix-code.outputs.summary}}
211
-
212
- Git diff:
213
- {{nodes.fix-code.outputs.diff}}
214
-
215
- Check for:
216
- - Bugs and logic errors
217
- - Security vulnerabilities
218
- - Performance issues
219
- - Whether the fix actually addresses the issue
220
-
221
- Respond with:
222
- 1. APPROVED or CHANGES_REQUESTED
223
- 2. Specific issues found with file paths and line numbers
224
- outputs:
225
- - name: review_result
226
- extract: result
227
- cleanup:
228
- mode: shell
229
- project: "{{input.project}}"
230
- depends_on: [review]
231
- prompt: |
232
- SETUP_INFO=$'{{nodes.setup.outputs.info}}' && \
233
- ORIG=$(echo "$SETUP_INFO" | grep ORIG_BRANCH= | cut -d= -f2) && \
234
- PR_URL=$'{{nodes.push-and-pr.outputs.pr_url}}' && \
235
- if [ -n "$(git status --porcelain)" ]; then
236
- echo "Issue #{{input.issue_id}} — PR: $PR_URL (staying on $(git branch --show-current))"
237
- else
238
- git checkout "$ORIG" 2>/dev/null || true
239
- echo "Issue #{{input.issue_id}} — PR: $PR_URL (switched back to $ORIG)"
240
- fi
241
- outputs:
242
- - name: result
243
- extract: stdout
244
- `,
245
- 'multi-agent-collaboration': `
246
- name: multi-agent-collaboration
247
- type: conversation
248
- description: "Two agents collaborate: one designs, one implements"
249
- input:
250
- project: "Project name"
251
- task: "What to build or fix"
252
- agents:
253
- - id: architect
254
- agent: claude
255
- role: "You are a software architect. Round 1: design the solution with clear steps. Later rounds: review the implementation and say DONE if satisfied."
256
- - id: implementer
257
- agent: claude
258
- role: "You are a developer. Implement what the architect designs. After implementing, say DONE."
259
- max_rounds: 3
260
- stop_condition: "both agents say DONE"
261
- initial_prompt: "Task: {{input.task}}"
262
- `,
263
- };
264
-
265
- export interface WorkflowWithMeta extends Workflow {
266
- builtin?: boolean;
267
- }
268
-
269
- export function listWorkflows(): WorkflowWithMeta[] {
270
- // User workflows
271
- const userWorkflows: WorkflowWithMeta[] = [];
272
- if (existsSync(WORKFLOWS_DIR)) {
273
- for (const f of readdirSync(WORKFLOWS_DIR).filter(f => f.endsWith('.yaml') || f.endsWith('.yml'))) {
274
- try {
275
- userWorkflows.push({ ...parseWorkflow(readFileSync(join(WORKFLOWS_DIR, f), 'utf-8')), builtin: false });
276
- } catch {}
277
- }
278
- }
279
-
280
- // Built-in workflows (don't override user ones with same name)
281
- const userNames = new Set(userWorkflows.map(w => w.name));
282
- const builtins: WorkflowWithMeta[] = [];
283
- for (const [, yaml] of Object.entries(BUILTIN_WORKFLOWS)) {
284
- try {
285
- const w = parseWorkflow(yaml);
286
- if (!userNames.has(w.name)) {
287
- builtins.push({ ...w, builtin: true });
288
- }
289
- } catch {}
290
- }
291
-
292
- return [...builtins, ...userWorkflows];
293
- }
294
-
295
- export function getWorkflow(name: string): WorkflowWithMeta | null {
296
- return listWorkflows().find(w => w.name === name) || null;
297
- }
298
-
299
- function parseWorkflow(raw: string): Workflow {
300
- const parsed = YAML.parse(raw);
301
- const workflowType = parsed.type || 'dag';
302
- const nodes: Record<string, WorkflowNode> = {};
303
-
304
- for (const [id, def] of Object.entries(parsed.nodes || {})) {
305
- const n = def as any;
306
- nodes[id] = {
307
- id,
308
- project: n.project || '',
309
- prompt: n.prompt || '',
310
- mode: n.mode || (n.plugin ? 'plugin' : 'claude'),
311
- agent: n.agent || undefined,
312
- branch: n.branch || undefined,
313
- plugin: n.plugin || undefined,
314
- pluginAction: n.plugin_action || n.pluginAction || undefined,
315
- pluginParams: n.plugin_params || n.pluginParams || n.params || undefined,
316
- pluginWait: n.plugin_wait || n.pluginWait || n.wait || false,
317
- dependsOn: n.depends_on || n.dependsOn || [],
318
- outputs: (n.outputs || []).map((o: any) => ({
319
- name: o.name,
320
- extract: o.extract || 'result',
321
- })),
322
- routes: (n.routes || []).map((r: any) => ({
323
- condition: r.condition || 'default',
324
- next: r.next,
325
- })),
326
- maxIterations: n.max_iterations || n.maxIterations || 3,
327
- };
328
- }
329
-
330
- // Parse conversation config
331
- let conversation: ConversationConfig | undefined;
332
- if (workflowType === 'conversation' && parsed.agents) {
333
- conversation = {
334
- agents: (parsed.agents as any[]).map((a: any) => ({
335
- id: a.id,
336
- agent: a.agent || 'claude',
337
- role: a.role || '',
338
- project: a.project || undefined,
339
- })),
340
- maxRounds: parsed.max_rounds || parsed.maxRounds || 10,
341
- stopCondition: parsed.stop_condition || parsed.stopCondition || undefined,
342
- initialPrompt: parsed.initial_prompt || parsed.initialPrompt || '',
343
- contextStrategy: parsed.context_strategy || parsed.contextStrategy || 'summary',
344
- contextWindow: parsed.context_window || parsed.contextWindow || 4,
345
- maxContentLength: parsed.max_content_length || parsed.maxContentLength || 3000,
346
- };
347
- }
348
-
349
- return {
350
- name: parsed.name || 'unnamed',
351
- type: workflowType,
352
- description: parsed.description,
353
- vars: parsed.vars || {},
354
- input: parsed.input || {},
355
- nodes,
356
- conversation,
357
- };
358
- }
359
-
360
- // ─── Pipeline Persistence ─────────────────────────────────
361
-
362
- function ensureDir() {
363
- if (!existsSync(PIPELINES_DIR)) mkdirSync(PIPELINES_DIR, { recursive: true });
364
- }
365
-
366
- function savePipeline(pipeline: Pipeline) {
367
- ensureDir();
368
- writeFileSync(join(PIPELINES_DIR, `${pipeline.id}.json`), JSON.stringify(pipeline, null, 2));
369
- }
370
-
371
- export function getPipeline(id: string): Pipeline | null {
372
- try {
373
- return JSON.parse(readFileSync(join(PIPELINES_DIR, `${id}.json`), 'utf-8'));
374
- } catch {
375
- return null;
376
- }
377
- }
378
-
379
- export function deletePipeline(id: string): boolean {
380
- const filePath = join(PIPELINES_DIR, `${id}.json`);
381
- try {
382
- if (existsSync(filePath)) {
383
- const { unlinkSync } = require('node:fs');
384
- unlinkSync(filePath);
385
- return true;
386
- }
387
- } catch {}
388
- return false;
389
- }
390
-
391
- export function listPipelines(): Pipeline[] {
392
- ensureDir();
393
- return readdirSync(PIPELINES_DIR)
394
- .filter(f => f.endsWith('.json'))
395
- .map(f => {
396
- try {
397
- return JSON.parse(readFileSync(join(PIPELINES_DIR, f), 'utf-8')) as Pipeline;
398
- } catch {
399
- return null;
400
- }
401
- })
402
- .filter(Boolean) as Pipeline[];
403
- }
404
-
405
- // ─── Template Resolution ──────────────────────────────────
406
-
407
- /** Escape a string for safe embedding in single-quoted shell strings */
408
- function shellEscape(s: string): string {
409
- // Replace single quotes with '\'' (end quote, escaped quote, start quote)
410
- return s.replace(/'/g, "'\\''");
411
- }
412
-
413
- /** Escape a string for safe embedding in $'...' shell strings (ANSI-C quoting) */
414
- function shellEscapeAnsiC(s: string): string {
415
- return s
416
- .replace(/\\/g, '\\\\')
417
- .replace(/'/g, "\\'")
418
- .replace(/\n/g, '\\n')
419
- .replace(/\r/g, '\\r')
420
- .replace(/\t/g, '\\t');
421
- }
422
-
423
- function resolveTemplate(template: string, ctx: {
424
- input: Record<string, string>;
425
- vars: Record<string, string>;
426
- nodes: Record<string, PipelineNodeState>;
427
- }, shellMode?: boolean): string {
428
- return template.replace(/\{\{(.*?)\}\}/g, (_, expr) => {
429
- const path = expr.trim();
430
- let value = '';
431
-
432
- // {{input.xxx}}
433
- if (path.startsWith('input.')) value = ctx.input[path.slice(6)] || '';
434
- // {{vars.xxx}}
435
- else if (path.startsWith('vars.')) value = ctx.vars[path.slice(5)] || '';
436
- // {{nodes.xxx.outputs.yyy}}
437
- else {
438
- const nodeMatch = path.match(/^nodes\.([\w-]+)\.outputs\.([\w-]+)$/);
439
- if (nodeMatch) {
440
- const [, nodeId, outputName] = nodeMatch;
441
- value = ctx.nodes[nodeId]?.outputs[outputName] || '';
442
- } else {
443
- return `{{${path}}}`;
444
- }
445
- }
446
-
447
- return shellMode ? shellEscapeAnsiC(value) : value;
448
- });
449
- }
450
-
451
- // ─── Project-level pipeline lock ─────────────────────────
452
- const projectPipelineLocks = new Map<string, string>(); // projectPath → pipelineId
453
-
454
- function acquireProjectLock(projectPath: string, pipelineId: string): boolean {
455
- const existing = projectPipelineLocks.get(projectPath);
456
- if (existing && existing !== pipelineId) {
457
- // Check if the existing pipeline is still running
458
- const p = getPipeline(existing);
459
- if (p && p.status === 'running') return false;
460
- // Stale lock, clear it
461
- }
462
- projectPipelineLocks.set(projectPath, pipelineId);
463
- return true;
464
- }
465
-
466
- function releaseProjectLock(projectPath: string, pipelineId: string) {
467
- if (projectPipelineLocks.get(projectPath) === pipelineId) {
468
- projectPipelineLocks.delete(projectPath);
469
- }
470
- }
471
-
472
- // ─── Pipeline Execution ───────────────────────────────────
473
-
474
- export function startPipeline(workflowName: string, input: Record<string, string>): Pipeline {
475
- const workflow = getWorkflow(workflowName);
476
- if (!workflow) throw new Error(`Workflow not found: ${workflowName}`);
477
-
478
- // Conversation mode — separate execution path
479
- if (workflow.type === 'conversation' && workflow.conversation) {
480
- return startConversationPipeline(workflow, input);
481
- }
482
-
483
- const id = randomUUID().slice(0, 8);
484
- const nodes: Record<string, PipelineNodeState> = {};
485
- const nodeOrder = topologicalSort(workflow.nodes);
486
-
487
- for (const nodeId of nodeOrder) {
488
- nodes[nodeId] = {
489
- status: 'pending',
490
- outputs: {},
491
- iterations: 0,
492
- };
493
- }
494
-
495
- const pipeline: Pipeline = {
496
- id,
497
- workflowName,
498
- status: 'running',
499
- input,
500
- vars: { ...workflow.vars },
501
- nodes,
502
- nodeOrder,
503
- createdAt: new Date().toISOString(),
504
- };
505
-
506
- savePipeline(pipeline);
507
-
508
- // Start nodes that have no dependencies
509
- scheduleReadyNodes(pipeline, workflow);
510
-
511
- // Listen for task completions
512
- setupTaskListener(pipeline.id);
513
-
514
- return pipeline;
515
- }
516
-
517
- // ─── Conversation State Type (extracted to avoid Turbopack parse issues) ──
518
- type ConversationState = {
519
- config: ConversationConfig;
520
- messages: ConversationMessage[];
521
- currentRound: number;
522
- currentAgentIndex: number;
523
- };
524
-
525
- // ─── Conversation Mode Execution ──────────────────────────
526
-
527
- function startConversationPipeline(workflow: Workflow, input: Record<string, string>): Pipeline {
528
- const conv = workflow.conversation!;
529
- const id = randomUUID().slice(0, 8);
530
-
531
- // Resolve agent display names
532
- const agentNames: Record<string, string> = {};
533
- const allAgents = listAgents();
534
- for (const ca of conv.agents) {
535
- const found = allAgents.find(a => a.id === ca.agent);
536
- agentNames[ca.id] = found?.name || ca.agent;
537
- }
538
-
539
- const pipeline: Pipeline = {
540
- id,
541
- workflowName: workflow.name,
542
- type: 'conversation',
543
- status: 'running',
544
- input,
545
- vars: { ...workflow.vars },
546
- nodes: {},
547
- nodeOrder: [],
548
- createdAt: new Date().toISOString(),
549
- conversation: {
550
- config: {
551
- ...conv,
552
- // Store resolved initial prompt so buildConversationContext uses it
553
- initialPrompt: conv.initialPrompt.replace(/\{\{input\.(\w+)\}\}/g, (_, key) => input[key] || ''),
554
- },
555
- messages: [],
556
- currentRound: 1,
557
- currentAgentIndex: 0,
558
- },
559
- };
560
-
561
- savePipeline(pipeline);
562
-
563
- const resolvedPrompt = pipeline.conversation!.config.initialPrompt;
564
-
565
- // Start the first round
566
- scheduleNextConversationTurn(pipeline, resolvedPrompt, agentNames);
567
-
568
- return pipeline;
569
- }
570
-
571
- function scheduleNextConversationTurn(pipeline: Pipeline, contextForAgent: string, agentNames?: Record<string, string>) {
572
- const conv = pipeline.conversation!;
573
- const config = conv.config;
574
- const agentDef = config.agents[conv.currentAgentIndex];
575
-
576
- if (!agentDef) {
577
- pipeline.status = 'failed';
578
- pipeline.completedAt = new Date().toISOString();
579
- savePipeline(pipeline);
580
- return;
581
- }
582
-
583
- // Resolve project
584
- const projectName = agentDef.project || pipeline.input.project || '';
585
- const projectInfo = getProjectInfo(projectName);
586
- if (!projectInfo) {
587
- pipeline.status = 'failed';
588
- pipeline.completedAt = new Date().toISOString();
589
- savePipeline(pipeline);
590
- notifyPipelineComplete(pipeline);
591
- return;
592
- }
593
-
594
- // Build the prompt: role context + conversation history + new message
595
- const rolePrefix = agentDef.role ? `[Your role: ${agentDef.role}]\n\n` : '';
596
- const fullPrompt = `${rolePrefix}${contextForAgent}`;
597
-
598
- // Create a task for this agent's turn
599
- const task = createTask({
600
- projectName: projectInfo.name,
601
- projectPath: projectInfo.path,
602
- prompt: fullPrompt,
603
- mode: 'prompt',
604
- agent: agentDef.agent,
605
- conversationId: '', // fresh session — no resume for conversation mode
606
- });
607
- pipelineTaskIds.add(task.id);
608
-
609
- // Add pending message
610
- const names = agentNames || resolveAgentNames(config.agents);
611
- conv.messages.push({
612
- round: conv.currentRound,
613
- agentId: agentDef.id,
614
- agentName: names[agentDef.id] || agentDef.agent,
615
- content: '',
616
- timestamp: new Date().toISOString(),
617
- taskId: task.id,
618
- status: 'running',
619
- });
620
-
621
- savePipeline(pipeline);
622
-
623
- // Listen for this task to complete
624
- setupConversationTaskListener(pipeline.id, task.id);
625
- }
626
-
627
- function resolveAgentNames(agents: ConversationAgent[]): Record<string, string> {
628
- const allAgents = listAgents();
629
- const names: Record<string, string> = {};
630
- for (const ca of agents) {
631
- const found = allAgents.find(a => a.id === ca.agent);
632
- names[ca.id] = found?.name || ca.agent;
633
- }
634
- return names;
635
- }
636
-
637
- function setupConversationTaskListener(pipelineId: string, taskId: string) {
638
- const cleanup = onTaskEvent((evtTaskId, event, data) => {
639
- if (evtTaskId !== taskId) return;
640
- if (event !== 'status') return;
641
- if (data !== 'done' && data !== 'failed') return;
642
-
643
- cleanup(); // one-shot listener
644
-
645
- const pipeline = getPipeline(pipelineId);
646
- if (!pipeline || pipeline.status !== 'running' || !pipeline.conversation) return;
647
-
648
- const conv = pipeline.conversation;
649
- const config = conv.config;
650
- const msgIndex = conv.messages.findIndex(m => m.taskId === taskId);
651
- if (msgIndex < 0) return;
652
-
653
- const task = getTask(taskId);
654
-
655
- if (data === 'failed' || !task) {
656
- conv.messages[msgIndex].status = 'failed';
657
- conv.messages[msgIndex].content = task?.error || 'Task failed';
658
- pipeline.status = 'failed';
659
- pipeline.completedAt = new Date().toISOString();
660
- savePipeline(pipeline);
661
- notifyPipelineComplete(pipeline);
662
- return;
663
- }
664
-
665
- // Task completed — extract response
666
- const response = task.resultSummary || '';
667
- conv.messages[msgIndex].status = 'done';
668
- conv.messages[msgIndex].content = response;
669
-
670
- // Check stop condition
671
- if (checkConversationStopCondition(conv, response)) {
672
- finishConversation(pipeline, 'done');
673
- return;
674
- }
675
-
676
- // Move to next agent in round, or next round
677
- conv.currentAgentIndex++;
678
- if (conv.currentAgentIndex >= config.agents.length) {
679
- // Completed a full round
680
- conv.currentAgentIndex = 0;
681
- conv.currentRound++;
682
-
683
- if (conv.currentRound > config.maxRounds) {
684
- finishConversation(pipeline, 'done');
685
- return;
686
- }
687
- }
688
-
689
- savePipeline(pipeline);
690
-
691
- // Build context for next agent: accumulate conversation history
692
- const contextForNext = buildConversationContext(conv);
693
- scheduleNextConversationTurn(pipeline, contextForNext);
694
- });
695
- }
696
-
697
- /**
698
- * Build context string for the next agent in conversation.
699
- *
700
- * Three strategies:
701
- * - 'full' : pass ALL history as-is (token-heavy, good for short convos)
702
- * - 'window' : pass only the last N messages in full, drop older ones
703
- * - 'summary' : pass older messages as one-line summaries + last N in full (default)
704
- */
705
- function buildConversationContext(conv: ConversationState): string {
706
- const config = conv.config;
707
- const strategy = config.contextStrategy || 'summary';
708
- const windowSize = config.contextWindow || 4;
709
- const maxLen = config.maxContentLength || 3000;
710
-
711
- const doneMessages = conv.messages.filter(m => m.status === 'done' && m.content);
712
-
713
- let context = `[Conversation — Round ${conv.currentRound}]\n\n`;
714
- context += `Task: ${config.initialPrompt}\n\n`;
715
-
716
- if (doneMessages.length === 0) {
717
- context += `--- Your Turn ---\nYou are the first to respond. Please address the task above. If you believe the task is complete, include "DONE" in your response.`;
718
- return context;
719
- }
720
-
721
- context += `--- Conversation History ---\n\n`;
722
-
723
- if (strategy === 'full') {
724
- // Full: all messages, truncated per maxLen
725
- for (const msg of doneMessages) {
726
- context += formatMessage(msg, config, maxLen);
727
- }
728
- } else if (strategy === 'window') {
729
- // Window: only last N messages
730
- const recent = doneMessages.slice(-windowSize);
731
- if (doneMessages.length > windowSize) {
732
- context += `[... ${doneMessages.length - windowSize} earlier messages omitted ...]\n\n`;
733
- }
734
- for (const msg of recent) {
735
- context += formatMessage(msg, config, maxLen);
736
- }
737
- } else {
738
- // Summary (default): older messages as one-line summaries, recent in full
739
- const cutoff = doneMessages.length - windowSize;
740
- if (cutoff > 0) {
741
- context += `[Previous rounds summary]\n`;
742
- for (let i = 0; i < cutoff; i++) {
743
- const msg = doneMessages[i];
744
- const summary = extractSummaryLine(msg.content);
745
- context += ` R${msg.round} ${msg.agentName}: ${summary}\n`;
746
- }
747
- context += `\n`;
748
- }
749
- // Recent messages in full
750
- const recent = doneMessages.slice(Math.max(0, cutoff));
751
- for (const msg of recent) {
752
- context += formatMessage(msg, config, maxLen);
753
- }
754
- }
755
-
756
- context += `--- Your Turn ---\nRespond based on the conversation above. If you believe the task is complete, include "DONE" in your response.`;
757
- return context;
758
- }
759
-
760
- function formatMessage(msg: ConversationMessage, config: ConversationConfig, maxLen: number): string {
761
- const agentDef = config.agents.find(a => a.id === msg.agentId);
762
- const label = `${msg.agentName} (${agentDef?.id || '?'})`;
763
- const content = msg.content.length > maxLen
764
- ? msg.content.slice(0, maxLen) + '\n[... truncated]'
765
- : msg.content;
766
- return `[${label} — Round ${msg.round}]:\n${content}\n\n`;
767
- }
768
-
769
- /** Extract a one-line summary from agent output (first meaningful line or first 120 chars) */
770
- function extractSummaryLine(content: string): string {
771
- const lines = content.split('\n').map(l => l.trim()).filter(l => l.length > 10);
772
- const first = lines[0] || content.slice(0, 120);
773
- return first.length > 120 ? first.slice(0, 117) + '...' : first;
774
- }
775
-
776
- function checkConversationStopCondition(conv: ConversationState, latestResponse: string): boolean {
777
- const condition = conv.config.stopCondition;
778
- if (!condition) return false;
779
-
780
- const lower = condition.toLowerCase();
781
-
782
- // "any agent says DONE"
783
- if (lower.includes('any') && lower.includes('done')) {
784
- return latestResponse.toUpperCase().includes('DONE');
785
- }
786
-
787
- // "all agents say DONE" / "both agents say DONE"
788
- if ((lower.includes('all') || lower.includes('both')) && lower.includes('done')) {
789
- // Only check messages from the CURRENT round — don't mix rounds
790
- const currentRound = conv.currentRound;
791
- const agentIds = conv.config.agents.map(a => a.id);
792
- const roundMessages = new Map<string, string>();
793
- for (const msg of conv.messages) {
794
- if (msg.status === 'done' && msg.round === currentRound && msg.agentId !== 'user') {
795
- roundMessages.set(msg.agentId, msg.content);
796
- }
797
- }
798
- // All agents in this round must have responded AND said DONE
799
- return agentIds.every(id => {
800
- const content = roundMessages.get(id);
801
- return content && content.toUpperCase().includes('DONE');
802
- });
803
- }
804
-
805
- // Default: check if latest response contains DONE
806
- return latestResponse.toUpperCase().includes('DONE');
807
- }
808
-
809
- /** Cleanly finish a conversation — cancel any still-running tasks, mark messages */
810
- function finishConversation(pipeline: Pipeline, status: 'done' | 'failed') {
811
- const conv = pipeline.conversation!;
812
- for (const msg of conv.messages) {
813
- if (msg.status === 'running' && msg.taskId) {
814
- // Cancel the running task
815
- try { const { cancelTask } = require('./task-manager'); cancelTask(msg.taskId); } catch {}
816
- msg.status = status === 'done' ? 'done' : 'failed';
817
- if (!msg.content) msg.content = status === 'done' ? '(conversation ended)' : '(conversation failed)';
818
- }
819
- if (msg.status === 'pending') {
820
- msg.status = 'failed';
821
- }
822
- }
823
- pipeline.status = status;
824
- pipeline.completedAt = new Date().toISOString();
825
- savePipeline(pipeline);
826
- notifyPipelineComplete(pipeline);
827
- }
828
-
829
- /** Cancel a conversation pipeline */
830
- export function cancelConversation(pipelineId: string): boolean {
831
- const pipeline = getPipeline(pipelineId);
832
- if (!pipeline || pipeline.status !== 'running' || !pipeline.conversation) return false;
833
-
834
- // Cancel any running task
835
- for (const msg of pipeline.conversation.messages) {
836
- if (msg.status === 'running' && msg.taskId) {
837
- const { cancelTask } = require('./task-manager');
838
- cancelTask(msg.taskId);
839
- }
840
- if (msg.status === 'pending') msg.status = 'failed';
841
- }
842
-
843
- pipeline.status = 'cancelled';
844
- pipeline.completedAt = new Date().toISOString();
845
- savePipeline(pipeline);
846
- return true;
847
- }
848
-
849
- /**
850
- * Inject a user message into a running conversation.
851
- * Waits for current agent to finish, then sends the injected message
852
- * as additional context to the specified agent on the next turn.
853
- */
854
- export function injectConversationMessage(pipelineId: string, targetAgentId: string, message: string): boolean {
855
- const pipeline = getPipeline(pipelineId);
856
- if (!pipeline || pipeline.status !== 'running' || !pipeline.conversation) {
857
- throw new Error('Pipeline not running or not a conversation');
858
- }
859
-
860
- const conv = pipeline.conversation;
861
- const agentDef = conv.config.agents.find(a => a.id === targetAgentId);
862
- if (!agentDef) throw new Error(`Agent not found: ${targetAgentId}`);
863
-
864
- // Add a "user" message to the conversation
865
- conv.messages.push({
866
- round: conv.currentRound,
867
- agentId: 'user',
868
- agentName: 'Operator',
869
- content: `[@${targetAgentId}] ${message}`,
870
- timestamp: new Date().toISOString(),
871
- status: 'done',
872
- });
873
-
874
- savePipeline(pipeline);
875
-
876
- // If no agent is currently running, immediately schedule the target agent
877
- const hasRunning = conv.messages.some(m => m.status === 'running');
878
- if (!hasRunning) {
879
- // Point to the target agent for next turn
880
- const targetIdx = conv.config.agents.findIndex(a => a.id === targetAgentId);
881
- if (targetIdx >= 0) {
882
- conv.currentAgentIndex = targetIdx;
883
- savePipeline(pipeline);
884
- const context = buildConversationContext(conv);
885
- scheduleNextConversationTurn(pipeline, context);
886
- }
887
- }
888
- // If an agent IS running, the injected message will be included in the next context build
889
-
890
- return true;
891
- }
892
-
893
- // ─── Conversation Recovery ────────────────────────────────
894
-
895
- function recoverConversationPipeline(pipeline: Pipeline) {
896
- const conv = pipeline.conversation!;
897
- const runningMsg = conv.messages.find(m => m.status === 'running');
898
- if (!runningMsg || !runningMsg.taskId) return;
899
-
900
- const task = getTask(runningMsg.taskId);
901
- if (!task) {
902
- // Task gone — mark as done with empty content, try next turn
903
- runningMsg.status = 'done';
904
- runningMsg.content = '(no response — task was cleaned up)';
905
- savePipeline(pipeline);
906
- advanceConversation(pipeline);
907
- return;
908
- }
909
- if (task.status === 'done') {
910
- runningMsg.status = 'done';
911
- runningMsg.content = task.resultSummary || '';
912
- savePipeline(pipeline);
913
- advanceConversation(pipeline);
914
- } else if (task.status === 'failed' || task.status === 'cancelled') {
915
- runningMsg.status = 'failed';
916
- runningMsg.content = task.error || 'Task failed';
917
- pipeline.status = 'failed';
918
- pipeline.completedAt = new Date().toISOString();
919
- savePipeline(pipeline);
920
- } else {
921
- // Still running — re-attach listener
922
- setupConversationTaskListener(pipeline.id, runningMsg.taskId);
923
- }
924
- }
925
-
926
- function advanceConversation(pipeline: Pipeline) {
927
- const conv = pipeline.conversation!;
928
- const config = conv.config;
929
- const lastDoneMsg = [...conv.messages].reverse().find(m => m.status === 'done');
930
-
931
- if (lastDoneMsg && checkConversationStopCondition(conv, lastDoneMsg.content)) {
932
- finishConversation(pipeline, 'done');
933
- return;
934
- }
935
-
936
- conv.currentAgentIndex++;
937
- if (conv.currentAgentIndex >= config.agents.length) {
938
- conv.currentAgentIndex = 0;
939
- conv.currentRound++;
940
- if (conv.currentRound > config.maxRounds) {
941
- finishConversation(pipeline, 'done');
942
- return;
943
- }
944
- }
945
-
946
- savePipeline(pipeline);
947
- const contextForNext = buildConversationContext(conv);
948
- scheduleNextConversationTurn(pipeline, contextForNext);
949
- }
950
-
951
- // ─── Recovery: check for stuck pipelines ──────────────────
952
-
953
- function recoverStuckPipelines() {
954
- const pipelines = listPipelines().filter(p => p.status === 'running');
955
- for (const pipeline of pipelines) {
956
- // Conversation mode recovery
957
- if (pipeline.type === 'conversation' && pipeline.conversation) {
958
- recoverConversationPipeline(pipeline);
959
- continue;
960
- }
961
-
962
- const workflow = getWorkflow(pipeline.workflowName);
963
- if (!workflow) continue;
964
-
965
- let changed = false;
966
- for (const [nodeId, node] of Object.entries(pipeline.nodes)) {
967
- if (node.status === 'running' && node.taskId) {
968
- const task = getTask(node.taskId);
969
- if (!task) {
970
- // Task gone — mark node as done (task completed and was cleaned up)
971
- node.status = 'done';
972
- node.completedAt = new Date().toISOString();
973
- changed = true;
974
- } else if (task.status === 'done') {
975
- // Extract outputs
976
- const nodeDef = workflow.nodes[nodeId];
977
- if (nodeDef) {
978
- for (const outputDef of nodeDef.outputs) {
979
- if (outputDef.extract === 'result' || outputDef.extract === 'stdout') node.outputs[outputDef.name] = task.resultSummary || '';
980
- else if (outputDef.extract === 'git_diff') node.outputs[outputDef.name] = task.gitDiff || '';
981
- }
982
- }
983
- node.status = 'done';
984
- node.completedAt = new Date().toISOString();
985
- changed = true;
986
- } else if (task.status === 'failed' || task.status === 'cancelled') {
987
- node.status = 'failed';
988
- node.error = task.error || 'Task failed';
989
- node.completedAt = new Date().toISOString();
990
- changed = true;
991
- }
992
- }
993
- }
994
-
995
- if (changed) {
996
- savePipeline(pipeline);
997
- // Re-setup listener and schedule next nodes
998
- setupTaskListener(pipeline.id);
999
- scheduleReadyNodes(pipeline, workflow);
1000
- }
1001
- }
1002
- }
1003
-
1004
- // Run recovery every 30 seconds
1005
- setInterval(recoverStuckPipelines, 30_000);
1006
- // Also run once on load
1007
- setTimeout(recoverStuckPipelines, 5000);
1008
-
1009
- export function cancelPipeline(id: string): boolean {
1010
- const pipeline = getPipeline(id);
1011
- if (!pipeline || pipeline.status !== 'running') return false;
1012
-
1013
- // Conversation mode
1014
- if (pipeline.type === 'conversation') {
1015
- return cancelConversation(id);
1016
- }
1017
-
1018
- pipeline.status = 'cancelled';
1019
- pipeline.completedAt = new Date().toISOString();
1020
-
1021
- // Cancel all running tasks
1022
- for (const [, node] of Object.entries(pipeline.nodes)) {
1023
- if (node.status === 'running' && node.taskId) {
1024
- const { cancelTask } = require('./task-manager');
1025
- cancelTask(node.taskId);
1026
- }
1027
- if (node.status === 'pending') node.status = 'skipped';
1028
- }
1029
-
1030
- savePipeline(pipeline);
1031
- return true;
1032
- }
1033
-
1034
- // ─── Node Scheduling ──────────────────────────────────────
1035
-
1036
- async function scheduleReadyNodes(pipeline: Pipeline, workflow: Workflow) {
1037
- const ctx = { input: pipeline.input, vars: pipeline.vars, nodes: pipeline.nodes };
1038
-
1039
- for (const nodeId of pipeline.nodeOrder) {
1040
- const nodeState = pipeline.nodes[nodeId];
1041
- if (nodeState.status !== 'pending') continue;
1042
-
1043
- const nodeDef = workflow.nodes[nodeId];
1044
- if (!nodeDef) continue;
1045
-
1046
- // Check all dependencies are done
1047
- const depsReady = nodeDef.dependsOn.every(dep => {
1048
- const depState = pipeline.nodes[dep];
1049
- return depState && depState.status === 'done';
1050
- });
1051
-
1052
- // Check if any dependency failed (skip this node)
1053
- const depsFailed = nodeDef.dependsOn.some(dep => {
1054
- const depState = pipeline.nodes[dep];
1055
- return depState && (depState.status === 'failed' || depState.status === 'skipped');
1056
- });
1057
-
1058
- if (depsFailed) {
1059
- nodeState.status = 'skipped';
1060
- savePipeline(pipeline);
1061
- continue;
1062
- }
1063
-
1064
- if (!depsReady) continue;
1065
-
1066
- // Resolve templates
1067
- const isShell = nodeDef.mode === 'shell';
1068
- const project = resolveTemplate(nodeDef.project, ctx);
1069
- const prompt = resolveTemplate(nodeDef.prompt, ctx, isShell);
1070
-
1071
- const projectInfo = getProjectInfo(project);
1072
- if (!projectInfo) {
1073
- nodeState.status = 'failed';
1074
- nodeState.error = `Project not found: ${project}`;
1075
- savePipeline(pipeline);
1076
- notifyStep(pipeline, nodeId, 'failed', nodeState.error);
1077
- continue;
1078
- }
1079
-
1080
- // All steps run in git worktree for isolated execution.
1081
- // Shell steps receive worktree info via env vars (FORGE_WORKTREE, FORGE_WORKTREE_BRANCH, FORGE_PROJECT_ROOT).
1082
- let effectivePath = projectInfo.path;
1083
- const branchName = nodeDef.branch ? resolveTemplate(nodeDef.branch, ctx) : `pipeline/${pipeline.id.slice(0, 8)}`;
1084
- try {
1085
- const { execSync } = require('node:child_process');
1086
- const worktreePath = `${projectInfo.path}/.forge/worktrees/${branchName.replace(/\//g, '-')}`;
1087
- const { mkdirSync } = require('node:fs');
1088
- mkdirSync(`${projectInfo.path}/.forge/worktrees`, { recursive: true });
1089
-
1090
- // Create branch if needed
1091
- try { execSync(`git branch ${branchName}`, { cwd: projectInfo.path, stdio: 'pipe' }); } catch {}
1092
-
1093
- // Create or reuse worktree
1094
- try {
1095
- execSync(`git worktree add "${worktreePath}" ${branchName}`, { cwd: projectInfo.path, stdio: 'pipe' });
1096
- console.log(`[pipeline] Created worktree: ${worktreePath} (branch: ${branchName})`);
1097
- } catch {
1098
- const { existsSync } = require('node:fs');
1099
- if (existsSync(worktreePath)) {
1100
- console.log(`[pipeline] Reusing worktree: ${worktreePath}`);
1101
- } else {
1102
- try { execSync(`git worktree remove "${worktreePath}" --force`, { cwd: projectInfo.path, stdio: 'pipe' }); } catch {}
1103
- execSync(`git worktree add "${worktreePath}" ${branchName}`, { cwd: projectInfo.path, stdio: 'pipe' });
1104
- console.log(`[pipeline] Recreated worktree: ${worktreePath}`);
1105
- }
1106
- }
1107
-
1108
- effectivePath = worktreePath;
1109
- (nodeState as any).worktreePath = worktreePath;
1110
- (nodeState as any).worktreeBranch = branchName;
1111
- } catch (e: any) {
1112
- console.warn(`[pipeline] Worktree creation failed, falling back to project dir: ${e.message}`);
1113
- }
1114
-
1115
- // ── Plugin mode: execute plugin action directly ──
1116
- if (nodeDef.mode === 'plugin' && nodeDef.plugin) {
1117
- nodeState.status = 'running';
1118
- nodeState.startedAt = new Date().toISOString();
1119
- savePipeline(pipeline);
1120
- notifyStep(pipeline, nodeId, 'running');
1121
-
1122
- try {
1123
- const { getInstalledPlugin } = await import('./plugins/registry');
1124
- const { executePluginWithWait } = await import('./plugins/executor');
1125
-
1126
- const inst = getInstalledPlugin(nodeDef.plugin);
1127
- if (!inst) throw new Error(`Plugin "${nodeDef.plugin}" not installed`);
1128
- if (!inst.enabled) throw new Error(`Plugin "${nodeDef.plugin}" is disabled`);
1129
-
1130
- // Resolve template params
1131
- const resolvedParams: Record<string, any> = {};
1132
- for (const [k, v] of Object.entries(nodeDef.pluginParams || {})) {
1133
- resolvedParams[k] = typeof v === 'string' ? resolveTemplate(v, ctx) : v;
1134
- }
1135
-
1136
- const actionName = nodeDef.pluginAction || inst.definition.defaultAction || Object.keys(inst.definition.actions)[0];
1137
- const result = await executePluginWithWait(inst, actionName, resolvedParams, nodeDef.pluginWait);
1138
-
1139
- if (result.ok) {
1140
- nodeState.status = 'done';
1141
- nodeState.completedAt = new Date().toISOString();
1142
- // Store plugin outputs
1143
- for (const [name, value] of Object.entries(result.output)) {
1144
- nodeState.outputs[name] = typeof value === 'string' ? value : JSON.stringify(value);
1145
- }
1146
- savePipeline(pipeline);
1147
- notifyStep(pipeline, nodeId, 'done');
1148
- console.log(`[pipeline] Plugin ${nodeDef.plugin}.${actionName}: done (${result.duration}ms)`);
1149
- } else {
1150
- throw new Error(result.error || 'Plugin action failed');
1151
- }
1152
- } catch (err: any) {
1153
- nodeState.status = 'failed';
1154
- nodeState.error = err.message;
1155
- nodeState.completedAt = new Date().toISOString();
1156
- savePipeline(pipeline);
1157
- notifyStep(pipeline, nodeId, 'failed', err.message);
1158
- console.error(`[pipeline] Plugin ${nodeDef.plugin}: failed — ${err.message}`);
1159
- }
1160
- continue;
1161
- }
1162
-
1163
- // ── Shell/Agent mode: create task ──
1164
- // Inject worktree info into shell prompt so git commands work correctly
1165
- const taskMode = nodeDef.mode === 'shell' ? 'shell' : 'prompt';
1166
- let effectivePrompt = prompt;
1167
- if (taskMode === 'shell' && effectivePath !== projectInfo.path) {
1168
- // Prepend env vars so shell scripts know they're in a worktree
1169
- const envPrefix = `export FORGE_WORKTREE="${effectivePath}" FORGE_WORKTREE_BRANCH="${(nodeState as any).worktreeBranch || branchName}" FORGE_PROJECT_ROOT="${projectInfo.path}" && `;
1170
- effectivePrompt = envPrefix + prompt;
1171
- }
1172
- const task = createTask({
1173
- projectName: projectInfo.name,
1174
- projectPath: effectivePath,
1175
- prompt: effectivePrompt,
1176
- mode: taskMode as any,
1177
- agent: nodeDef.agent || undefined,
1178
- });
1179
- pipelineTaskIds.add(task.id);
1180
- if (taskMode !== 'shell') {
1181
- const pipelineModel = loadSettings().pipelineModel;
1182
- if (pipelineModel && pipelineModel !== 'default') {
1183
- taskModelOverrides.set(task.id, pipelineModel);
1184
- }
1185
- }
1186
-
1187
- nodeState.status = 'running';
1188
- nodeState.taskId = task.id;
1189
- nodeState.iterations++;
1190
- nodeState.startedAt = new Date().toISOString();
1191
- savePipeline(pipeline);
1192
-
1193
- notifyStep(pipeline, nodeId, 'running');
1194
- }
1195
-
1196
- // Check if pipeline is complete
1197
- checkPipelineCompletion(pipeline);
1198
- }
1199
-
1200
- function checkPipelineCompletion(pipeline: Pipeline) {
1201
- const states = Object.values(pipeline.nodes);
1202
- const allDone = states.every(s => s.status === 'done' || s.status === 'skipped' || s.status === 'failed');
1203
-
1204
- if (allDone && pipeline.status === 'running') {
1205
- const anyFailed = states.some(s => s.status === 'failed');
1206
- pipeline.status = anyFailed ? 'failed' : 'done';
1207
- pipeline.completedAt = new Date().toISOString();
1208
- savePipeline(pipeline);
1209
- notifyPipelineComplete(pipeline);
1210
-
1211
- // Sync run status to project pipeline runs
1212
- try {
1213
- const { syncRunStatus } = require('./pipeline-scheduler');
1214
- syncRunStatus(pipeline.id);
1215
- } catch {}
1216
-
1217
- // Log worktree info for user review
1218
- for (const [nodeId, state] of Object.entries(pipeline.nodes)) {
1219
- const wt = (state as any).worktreePath;
1220
- const branch = (state as any).worktreeBranch;
1221
- if (wt && branch) {
1222
- console.log(`[pipeline] Worktree preserved: ${wt} (branch: ${branch}) — review changes, then: git worktree remove "${wt}"`);
1223
- }
1224
- }
1225
-
1226
- // Release project lock
1227
- const workflow = getWorkflow(pipeline.workflowName);
1228
- if (workflow) {
1229
- const projectNames = new Set(Object.values(workflow.nodes).map(n => n.project));
1230
- for (const pName of projectNames) {
1231
- const pInfo = getProjectInfo(resolveTemplate(pName, { input: pipeline.input, vars: pipeline.vars, nodes: pipeline.nodes }));
1232
- if (pInfo) releaseProjectLock(pInfo.path, pipeline.id);
1233
- }
1234
- }
1235
- }
1236
- }
1237
-
1238
- // ─── Task Event Listener ──────────────────────────────────
1239
-
1240
- const activeListeners = new Set<string>();
1241
-
1242
- function setupTaskListener(pipelineId: string) {
1243
- if (activeListeners.has(pipelineId)) return;
1244
- activeListeners.add(pipelineId);
1245
-
1246
- const cleanup = onTaskEvent((taskId, event, data) => {
1247
- if (event !== 'status') return;
1248
- if (data !== 'done' && data !== 'failed') return;
1249
-
1250
- const pipeline = getPipeline(pipelineId);
1251
- if (!pipeline || pipeline.status !== 'running') {
1252
- cleanup();
1253
- activeListeners.delete(pipelineId);
1254
- return;
1255
- }
1256
-
1257
- // Find the node for this task
1258
- const nodeEntry = Object.entries(pipeline.nodes).find(([, n]) => n.taskId === taskId);
1259
- if (!nodeEntry) return;
1260
-
1261
- const [nodeId, nodeState] = nodeEntry;
1262
- const workflow = getWorkflow(pipeline.workflowName);
1263
- if (!workflow) return;
1264
-
1265
- const nodeDef = workflow.nodes[nodeId];
1266
- const task = getTask(taskId);
1267
-
1268
- if (data === 'done' && task) {
1269
- // Extract outputs
1270
- for (const outputDef of nodeDef.outputs) {
1271
- if (outputDef.extract === 'result') {
1272
- nodeState.outputs[outputDef.name] = task.resultSummary || '';
1273
- } else if (outputDef.extract === 'stdout') {
1274
- nodeState.outputs[outputDef.name] = task.resultSummary || '';
1275
- } else if (outputDef.extract === 'git_diff') {
1276
- nodeState.outputs[outputDef.name] = task.gitDiff || '';
1277
- }
1278
- }
1279
-
1280
- // Convention: if stdout contains __SKIP__, mark node as skipped (downstream nodes will also skip)
1281
- const outputStr = task.resultSummary || '';
1282
- if (outputStr.includes('__SKIP__')) {
1283
- nodeState.status = 'skipped';
1284
- nodeState.completedAt = new Date().toISOString();
1285
- savePipeline(pipeline);
1286
- scheduleReadyNodes(pipeline, workflow);
1287
- checkPipelineCompletion(pipeline);
1288
- return;
1289
- }
1290
-
1291
- // Check routes for conditional next step
1292
- if (nodeDef.routes.length > 0) {
1293
- const nextNode = evaluateRoutes(nodeDef.routes, nodeState.outputs, pipeline);
1294
- if (nextNode && nextNode !== nodeId) {
1295
- // Route to next node — mark this as done
1296
- nodeState.status = 'done';
1297
- nodeState.completedAt = new Date().toISOString();
1298
- // Reset next node to pending so it gets scheduled
1299
- if (pipeline.nodes[nextNode] && pipeline.nodes[nextNode].status !== 'done') {
1300
- pipeline.nodes[nextNode].status = 'pending';
1301
- }
1302
- } else if (nextNode === nodeId) {
1303
- // Loop back — check iteration limit
1304
- if (nodeState.iterations < nodeDef.maxIterations) {
1305
- nodeState.status = 'pending';
1306
- nodeState.taskId = undefined;
1307
- } else {
1308
- nodeState.status = 'done';
1309
- nodeState.completedAt = new Date().toISOString();
1310
- }
1311
- } else {
1312
- nodeState.status = 'done';
1313
- nodeState.completedAt = new Date().toISOString();
1314
- }
1315
- } else {
1316
- nodeState.status = 'done';
1317
- nodeState.completedAt = new Date().toISOString();
1318
- }
1319
-
1320
- savePipeline(pipeline);
1321
- // No per-step done notification — only notify on start and failure
1322
- } else if (data === 'failed') {
1323
- nodeState.status = 'failed';
1324
- nodeState.error = task?.error || 'Task failed';
1325
- nodeState.completedAt = new Date().toISOString();
1326
- savePipeline(pipeline);
1327
- notifyStep(pipeline, nodeId, 'failed', nodeState.error);
1328
- }
1329
-
1330
- // Schedule next ready nodes
1331
- scheduleReadyNodes(pipeline, workflow);
1332
- });
1333
- }
1334
-
1335
- function evaluateRoutes(
1336
- routes: { condition: string; next: string }[],
1337
- outputs: Record<string, string>,
1338
- pipeline: Pipeline
1339
- ): string | null {
1340
- for (const route of routes) {
1341
- if (route.condition === 'default') return route.next;
1342
-
1343
- // Simple "contains" check: {{outputs.xxx contains 'YYY'}}
1344
- const containsMatch = route.condition.match(/\{\{outputs\.(\w+)\s+contains\s+'([^']+)'\}\}/);
1345
- if (containsMatch) {
1346
- const [, outputName, keyword] = containsMatch;
1347
- if (outputs[outputName]?.includes(keyword)) return route.next;
1348
- continue;
1349
- }
1350
-
1351
- // Default: treat as truthy check
1352
- return route.next;
1353
- }
1354
- return null;
1355
- }
1356
-
1357
- // ─── Topological Sort ─────────────────────────────────────
1358
-
1359
- function topologicalSort(nodes: Record<string, WorkflowNode>): string[] {
1360
- const sorted: string[] = [];
1361
- const visited = new Set<string>();
1362
- const visiting = new Set<string>();
1363
-
1364
- function visit(id: string) {
1365
- if (visited.has(id)) return;
1366
- if (visiting.has(id)) return; // cycle — skip
1367
- visiting.add(id);
1368
-
1369
- const node = nodes[id];
1370
- if (node) {
1371
- for (const dep of node.dependsOn) {
1372
- visit(dep);
1373
- }
1374
- // Also add route targets
1375
- for (const route of node.routes) {
1376
- if (nodes[route.next] && !node.dependsOn.includes(route.next)) {
1377
- // Don't visit route targets in topo sort to avoid cycles
1378
- }
1379
- }
1380
- }
1381
-
1382
- visiting.delete(id);
1383
- visited.add(id);
1384
- sorted.push(id);
1385
- }
1386
-
1387
- for (const id of Object.keys(nodes)) {
1388
- visit(id);
1389
- }
1390
-
1391
- return sorted;
1392
- }
1393
-
1394
- // ─── Notifications ────────────────────────────────────────
1395
-
1396
- async function notifyStep(pipeline: Pipeline, nodeId: string, status: string, error?: string) {
1397
- const settings = loadSettings();
1398
- if (!settings.telegramBotToken || !settings.telegramChatId) return;
1399
-
1400
- const icon = status === 'done' ? '✅' : status === 'failed' ? '❌' : status === 'running' ? '🔄' : '⏳';
1401
- const msg = `${icon} Pipeline ${pipeline.id}/${nodeId}: ${status}${error ? `\n${error}` : ''}`;
1402
-
1403
- try {
1404
- await fetch(`https://api.telegram.org/bot${settings.telegramBotToken}/sendMessage`, {
1405
- method: 'POST',
1406
- headers: { 'Content-Type': 'application/json' },
1407
- body: JSON.stringify({
1408
- chat_id: settings.telegramChatId.split(',')[0].trim(),
1409
- text: msg,
1410
- disable_web_page_preview: true,
1411
- }),
1412
- });
1413
- } catch {}
1414
- }
1415
-
1416
- async function notifyPipelineComplete(pipeline: Pipeline) {
1417
- const settings = loadSettings();
1418
- if (!settings.telegramBotToken || !settings.telegramChatId) return;
1419
-
1420
- const icon = pipeline.status === 'done' ? '🎉' : '💥';
1421
- const nodes = Object.entries(pipeline.nodes)
1422
- .map(([id, n]) => ` ${n.status === 'done' ? '✅' : n.status === 'failed' ? '❌' : '⏭'} ${id}`)
1423
- .join('\n');
1424
-
1425
- const msg = `${icon} Pipeline ${pipeline.id} (${pipeline.workflowName}) ${pipeline.status}\n\n${nodes}`;
1426
-
1427
- try {
1428
- await fetch(`https://api.telegram.org/bot${settings.telegramBotToken}/sendMessage`, {
1429
- method: 'POST',
1430
- headers: { 'Content-Type': 'application/json' },
1431
- body: JSON.stringify({
1432
- chat_id: settings.telegramChatId.split(',')[0].trim(),
1433
- text: msg,
1434
- disable_web_page_preview: true,
1435
- }),
1436
- });
1437
- } catch {}
1438
- }