ft-scout 9.5.1 → 9.5.4

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 (306) hide show
  1. package/README.md +36 -18
  2. package/bin/src/commands/agent.d.ts +41 -0
  3. package/bin/src/commands/agent.js +155 -19
  4. package/bin/src/commands/audit.d.ts +2 -0
  5. package/bin/src/commands/authCommand.d.ts +2 -0
  6. package/bin/src/commands/benchmark.d.ts +20 -0
  7. package/bin/src/commands/benchmark.js +120 -97
  8. package/bin/src/commands/brief.d.ts +4 -0
  9. package/bin/src/commands/checkpoint.d.ts +7 -0
  10. package/bin/src/commands/configCommand.d.ts +7 -0
  11. package/bin/src/commands/dashboard.d.ts +5 -0
  12. package/bin/src/commands/history.d.ts +2 -0
  13. package/bin/src/commands/init.d.ts +8 -0
  14. package/bin/src/commands/login.d.ts +10 -0
  15. package/bin/src/commands/logout.d.ts +6 -0
  16. package/bin/src/commands/mcp.d.ts +49 -0
  17. package/bin/src/commands/owners.d.ts +2 -0
  18. package/bin/src/commands/plan.d.ts +2 -0
  19. package/bin/src/commands/pr.d.ts +11 -0
  20. package/bin/src/commands/quota.d.ts +2 -0
  21. package/bin/src/commands/recommend.d.ts +5 -0
  22. package/bin/src/commands/risky.d.ts +10 -0
  23. package/bin/src/commands/setup.d.ts +2 -0
  24. package/bin/src/commands/signup.d.ts +8 -0
  25. package/bin/src/commands/switchCommand.d.ts +3 -0
  26. package/bin/src/commands/undo.d.ts +2 -0
  27. package/bin/src/commands/watch.d.ts +12 -0
  28. package/bin/src/commands/web.d.ts +8 -0
  29. package/bin/src/discovery/config.d.ts +10 -0
  30. package/bin/src/discovery/display.d.ts +3 -0
  31. package/bin/src/discovery/messages.d.ts +4 -0
  32. package/bin/src/discovery/signals.d.ts +16 -0
  33. package/bin/src/engine/actionVerifier.d.ts +69 -0
  34. package/bin/src/engine/agentEngine.d.ts +110 -0
  35. package/bin/src/engine/agentEngine.js +12 -14
  36. package/bin/src/engine/agentState.d.ts +154 -0
  37. package/bin/src/engine/browser/browserController.d.ts +155 -0
  38. package/bin/src/engine/browser/index.d.ts +2 -0
  39. package/bin/src/engine/checkpoints/checkpointManager.d.ts +48 -0
  40. package/bin/src/engine/computer/computerController.d.ts +130 -0
  41. package/bin/src/engine/computer/computerController.js +8 -0
  42. package/bin/src/engine/computer/computerDiagnostic.d.ts +31 -0
  43. package/bin/src/engine/computer/index.d.ts +4 -0
  44. package/bin/src/engine/computer/mockComputer.d.ts +62 -0
  45. package/bin/src/engine/computer/operatorHud.d.ts +30 -0
  46. package/bin/src/engine/git.d.ts +20 -0
  47. package/bin/src/engine/llm.d.ts +92 -0
  48. package/bin/src/engine/planner.d.ts +21 -0
  49. package/bin/src/engine/runtime/agentRuntime.d.ts +111 -0
  50. package/bin/src/engine/runtime/agentRuntime.js +3 -6
  51. package/bin/src/engine/runtime/index.d.ts +2 -0
  52. package/bin/src/engine/safety.d.ts +55 -0
  53. package/bin/src/engine/scanners.d.ts +2 -0
  54. package/bin/src/engine/subagents/subagentManager.d.ts +106 -0
  55. package/bin/src/engine/subagents/subagentManager.js +275 -3
  56. package/bin/src/engine/toolRegistry.d.ts +38 -0
  57. package/bin/src/engine/verifier.d.ts +47 -0
  58. package/bin/src/engine/voiceEngine.d.ts +26 -0
  59. package/bin/src/engine/web.d.ts +22 -0
  60. package/bin/src/engine/workspace/agentWorkspace.d.ts +112 -0
  61. package/bin/src/engine/workspace/index.d.ts +2 -0
  62. package/bin/src/index.d.ts +2 -0
  63. package/bin/src/index.js +5 -5
  64. package/bin/src/mcp/client.d.ts +62 -0
  65. package/bin/src/mcp/client.js +1 -1
  66. package/bin/src/mcp/cloudSync.d.ts +19 -0
  67. package/bin/src/mcp/discovery.d.ts +22 -0
  68. package/bin/src/mcp/health.d.ts +13 -0
  69. package/bin/src/mcp/index.d.ts +16 -0
  70. package/bin/src/mcp/manager.d.ts +113 -0
  71. package/bin/src/mcp/permissions.d.ts +18 -0
  72. package/bin/src/mcp/persistence.d.ts +44 -0
  73. package/bin/src/mcp/persistence.js +8 -1
  74. package/bin/src/mcp/recovery.d.ts +19 -0
  75. package/bin/src/mcp/telemetry.d.ts +15 -0
  76. package/bin/src/mcp/toolRouter.d.ts +23 -0
  77. package/bin/src/mcp/transport.d.ts +60 -0
  78. package/bin/src/mcp/types.d.ts +130 -0
  79. package/bin/src/server/server.d.ts +6 -0
  80. package/bin/src/utils/admin.d.ts +84 -0
  81. package/bin/src/utils/auditLogger.d.ts +18 -0
  82. package/bin/src/utils/auth.d.ts +132 -0
  83. package/bin/src/utils/branding.d.ts +2 -0
  84. package/bin/src/utils/branding.js +1 -1
  85. package/bin/src/utils/claudeUI.d.ts +131 -0
  86. package/bin/src/utils/claudeUI.js +138 -4
  87. package/bin/src/utils/config.d.ts +46 -0
  88. package/bin/src/utils/email.d.ts +36 -0
  89. package/bin/src/utils/firebaseAuth.d.ts +19 -0
  90. package/bin/src/utils/holoseneAuth.d.ts +18 -0
  91. package/bin/src/utils/interruptHandler.d.ts +32 -0
  92. package/bin/src/utils/language.d.ts +13 -0
  93. package/bin/src/utils/logger.d.ts +2 -0
  94. package/bin/src/utils/markdown.d.ts +19 -0
  95. package/bin/src/utils/payment.d.ts +81 -0
  96. package/bin/src/utils/pricing.d.ts +26 -0
  97. package/bin/src/utils/pricing.js +0 -1
  98. package/bin/src/utils/qrBridge.d.ts +33 -0
  99. package/bin/src/utils/qrBridge.js +1 -1
  100. package/bin/src/utils/razorpay.d.ts +48 -0
  101. package/bin/src/utils/rules.d.ts +24 -0
  102. package/bin/src/utils/session.d.ts +32 -0
  103. package/bin/src/utils/updateCheck.d.ts +3 -0
  104. package/package.json +17 -7
  105. package/.firebase/hosting.d2Vi.cache +0 -16
  106. package/.firebaserc +0 -14
  107. package/.mcp-config.json +0 -19
  108. package/.mft-mcp-config.json +0 -29
  109. package/.scoutrules +0 -13
  110. package/.test-ft/mcp_activity.json +0 -23
  111. package/.test-ft/mcp_credentials.enc +0 -1
  112. package/.test-ft/mcp_servers.json +0 -1
  113. package/bin/src/commands/agent.d.ts.map +0 -1
  114. package/bin/src/commands/agent.js.map +0 -1
  115. package/bin/src/commands/audit.d.ts.map +0 -1
  116. package/bin/src/commands/audit.js.map +0 -1
  117. package/bin/src/commands/authCommand.d.ts.map +0 -1
  118. package/bin/src/commands/authCommand.js.map +0 -1
  119. package/bin/src/commands/benchmark.d.ts.map +0 -1
  120. package/bin/src/commands/benchmark.js.map +0 -1
  121. package/bin/src/commands/brief.d.ts.map +0 -1
  122. package/bin/src/commands/brief.js.map +0 -1
  123. package/bin/src/commands/checkpoint.d.ts.map +0 -1
  124. package/bin/src/commands/checkpoint.js.map +0 -1
  125. package/bin/src/commands/configCommand.d.ts.map +0 -1
  126. package/bin/src/commands/configCommand.js.map +0 -1
  127. package/bin/src/commands/dashboard.d.ts.map +0 -1
  128. package/bin/src/commands/dashboard.js.map +0 -1
  129. package/bin/src/commands/history.d.ts.map +0 -1
  130. package/bin/src/commands/history.js.map +0 -1
  131. package/bin/src/commands/init.d.ts.map +0 -1
  132. package/bin/src/commands/init.js.map +0 -1
  133. package/bin/src/commands/login.d.ts.map +0 -1
  134. package/bin/src/commands/login.js.map +0 -1
  135. package/bin/src/commands/logout.d.ts.map +0 -1
  136. package/bin/src/commands/logout.js.map +0 -1
  137. package/bin/src/commands/mcp.d.ts.map +0 -1
  138. package/bin/src/commands/mcp.js.map +0 -1
  139. package/bin/src/commands/owners.d.ts.map +0 -1
  140. package/bin/src/commands/owners.js.map +0 -1
  141. package/bin/src/commands/plan.d.ts.map +0 -1
  142. package/bin/src/commands/plan.js.map +0 -1
  143. package/bin/src/commands/pr.d.ts.map +0 -1
  144. package/bin/src/commands/pr.js.map +0 -1
  145. package/bin/src/commands/quota.d.ts.map +0 -1
  146. package/bin/src/commands/quota.js.map +0 -1
  147. package/bin/src/commands/recommend.d.ts.map +0 -1
  148. package/bin/src/commands/recommend.js.map +0 -1
  149. package/bin/src/commands/risky.d.ts.map +0 -1
  150. package/bin/src/commands/risky.js.map +0 -1
  151. package/bin/src/commands/setup.d.ts.map +0 -1
  152. package/bin/src/commands/setup.js.map +0 -1
  153. package/bin/src/commands/signup.d.ts.map +0 -1
  154. package/bin/src/commands/signup.js.map +0 -1
  155. package/bin/src/commands/switchCommand.d.ts.map +0 -1
  156. package/bin/src/commands/switchCommand.js.map +0 -1
  157. package/bin/src/commands/undo.d.ts.map +0 -1
  158. package/bin/src/commands/undo.js.map +0 -1
  159. package/bin/src/commands/watch.d.ts.map +0 -1
  160. package/bin/src/commands/watch.js.map +0 -1
  161. package/bin/src/commands/web.d.ts.map +0 -1
  162. package/bin/src/commands/web.js.map +0 -1
  163. package/bin/src/discovery/config.d.ts.map +0 -1
  164. package/bin/src/discovery/config.js.map +0 -1
  165. package/bin/src/discovery/display.d.ts.map +0 -1
  166. package/bin/src/discovery/display.js.map +0 -1
  167. package/bin/src/discovery/messages.d.ts.map +0 -1
  168. package/bin/src/discovery/messages.js.map +0 -1
  169. package/bin/src/discovery/signals.d.ts.map +0 -1
  170. package/bin/src/discovery/signals.js.map +0 -1
  171. package/bin/src/engine/actionVerifier.d.ts.map +0 -1
  172. package/bin/src/engine/actionVerifier.js.map +0 -1
  173. package/bin/src/engine/agentEngine.d.ts.map +0 -1
  174. package/bin/src/engine/agentEngine.js.map +0 -1
  175. package/bin/src/engine/agentState.d.ts.map +0 -1
  176. package/bin/src/engine/agentState.js.map +0 -1
  177. package/bin/src/engine/browser/browserController.d.ts.map +0 -1
  178. package/bin/src/engine/browser/browserController.js.map +0 -1
  179. package/bin/src/engine/browser/index.d.ts.map +0 -1
  180. package/bin/src/engine/browser/index.js.map +0 -1
  181. package/bin/src/engine/checkpoints/checkpointManager.d.ts.map +0 -1
  182. package/bin/src/engine/checkpoints/checkpointManager.js.map +0 -1
  183. package/bin/src/engine/computer/computerController.d.ts.map +0 -1
  184. package/bin/src/engine/computer/computerController.js.map +0 -1
  185. package/bin/src/engine/computer/computerDiagnostic.d.ts.map +0 -1
  186. package/bin/src/engine/computer/computerDiagnostic.js.map +0 -1
  187. package/bin/src/engine/computer/index.d.ts.map +0 -1
  188. package/bin/src/engine/computer/index.js.map +0 -1
  189. package/bin/src/engine/computer/mockComputer.d.ts.map +0 -1
  190. package/bin/src/engine/computer/mockComputer.js.map +0 -1
  191. package/bin/src/engine/computer/operatorHud.d.ts.map +0 -1
  192. package/bin/src/engine/computer/operatorHud.js.map +0 -1
  193. package/bin/src/engine/computer/scout_driver.exe +0 -0
  194. package/bin/src/engine/git.d.ts.map +0 -1
  195. package/bin/src/engine/git.js.map +0 -1
  196. package/bin/src/engine/llm.d.ts.map +0 -1
  197. package/bin/src/engine/llm.js.map +0 -1
  198. package/bin/src/engine/planner.d.ts.map +0 -1
  199. package/bin/src/engine/planner.js.map +0 -1
  200. package/bin/src/engine/runtime/agentRuntime.d.ts.map +0 -1
  201. package/bin/src/engine/runtime/agentRuntime.js.map +0 -1
  202. package/bin/src/engine/runtime/index.d.ts.map +0 -1
  203. package/bin/src/engine/runtime/index.js.map +0 -1
  204. package/bin/src/engine/safety.d.ts.map +0 -1
  205. package/bin/src/engine/safety.js.map +0 -1
  206. package/bin/src/engine/scanners.d.ts.map +0 -1
  207. package/bin/src/engine/scanners.js.map +0 -1
  208. package/bin/src/engine/scoutAudioRecorder.cs +0 -215
  209. package/bin/src/engine/scout_audio_recorder.exe +0 -0
  210. package/bin/src/engine/subagents/subagentManager.d.ts.map +0 -1
  211. package/bin/src/engine/subagents/subagentManager.js.map +0 -1
  212. package/bin/src/engine/toolRegistry.d.ts.map +0 -1
  213. package/bin/src/engine/toolRegistry.js.map +0 -1
  214. package/bin/src/engine/verifier.d.ts.map +0 -1
  215. package/bin/src/engine/verifier.js.map +0 -1
  216. package/bin/src/engine/voiceEngine.d.ts.map +0 -1
  217. package/bin/src/engine/voiceEngine.js.map +0 -1
  218. package/bin/src/engine/web.d.ts.map +0 -1
  219. package/bin/src/engine/web.js.map +0 -1
  220. package/bin/src/engine/workspace/agentWorkspace.d.ts.map +0 -1
  221. package/bin/src/engine/workspace/agentWorkspace.js.map +0 -1
  222. package/bin/src/engine/workspace/index.d.ts.map +0 -1
  223. package/bin/src/engine/workspace/index.js.map +0 -1
  224. package/bin/src/index.d.ts.map +0 -1
  225. package/bin/src/index.js.map +0 -1
  226. package/bin/src/mcp/client.d.ts.map +0 -1
  227. package/bin/src/mcp/client.js.map +0 -1
  228. package/bin/src/mcp/cloudSync.d.ts.map +0 -1
  229. package/bin/src/mcp/cloudSync.js.map +0 -1
  230. package/bin/src/mcp/discovery.d.ts.map +0 -1
  231. package/bin/src/mcp/discovery.js.map +0 -1
  232. package/bin/src/mcp/health.d.ts.map +0 -1
  233. package/bin/src/mcp/health.js.map +0 -1
  234. package/bin/src/mcp/index.d.ts.map +0 -1
  235. package/bin/src/mcp/index.js.map +0 -1
  236. package/bin/src/mcp/manager.d.ts.map +0 -1
  237. package/bin/src/mcp/manager.js.map +0 -1
  238. package/bin/src/mcp/permissions.d.ts.map +0 -1
  239. package/bin/src/mcp/permissions.js.map +0 -1
  240. package/bin/src/mcp/persistence.d.ts.map +0 -1
  241. package/bin/src/mcp/persistence.js.map +0 -1
  242. package/bin/src/mcp/recovery.d.ts.map +0 -1
  243. package/bin/src/mcp/recovery.js.map +0 -1
  244. package/bin/src/mcp/telemetry.d.ts.map +0 -1
  245. package/bin/src/mcp/telemetry.js.map +0 -1
  246. package/bin/src/mcp/toolRouter.d.ts.map +0 -1
  247. package/bin/src/mcp/toolRouter.js.map +0 -1
  248. package/bin/src/mcp/transport.d.ts.map +0 -1
  249. package/bin/src/mcp/transport.js.map +0 -1
  250. package/bin/src/mcp/types.d.ts.map +0 -1
  251. package/bin/src/mcp/types.js.map +0 -1
  252. package/bin/src/server/server.d.ts.map +0 -1
  253. package/bin/src/server/server.js.map +0 -1
  254. package/bin/src/utils/admin.d.ts.map +0 -1
  255. package/bin/src/utils/admin.js.map +0 -1
  256. package/bin/src/utils/auditLogger.d.ts.map +0 -1
  257. package/bin/src/utils/auditLogger.js.map +0 -1
  258. package/bin/src/utils/auth.d.ts.map +0 -1
  259. package/bin/src/utils/auth.js.map +0 -1
  260. package/bin/src/utils/branding.d.ts.map +0 -1
  261. package/bin/src/utils/branding.js.map +0 -1
  262. package/bin/src/utils/claudeUI.d.ts.map +0 -1
  263. package/bin/src/utils/claudeUI.js.map +0 -1
  264. package/bin/src/utils/config.d.ts.map +0 -1
  265. package/bin/src/utils/config.js.map +0 -1
  266. package/bin/src/utils/email.d.ts.map +0 -1
  267. package/bin/src/utils/email.js.map +0 -1
  268. package/bin/src/utils/firebaseAuth.d.ts.map +0 -1
  269. package/bin/src/utils/firebaseAuth.js.map +0 -1
  270. package/bin/src/utils/holoseneAuth.d.ts.map +0 -1
  271. package/bin/src/utils/holoseneAuth.js.map +0 -1
  272. package/bin/src/utils/interruptHandler.d.ts.map +0 -1
  273. package/bin/src/utils/interruptHandler.js.map +0 -1
  274. package/bin/src/utils/language.d.ts.map +0 -1
  275. package/bin/src/utils/language.js.map +0 -1
  276. package/bin/src/utils/logger.d.ts.map +0 -1
  277. package/bin/src/utils/logger.js.map +0 -1
  278. package/bin/src/utils/markdown.d.ts.map +0 -1
  279. package/bin/src/utils/markdown.js.map +0 -1
  280. package/bin/src/utils/payment.d.ts.map +0 -1
  281. package/bin/src/utils/payment.js.map +0 -1
  282. package/bin/src/utils/pricing.d.ts.map +0 -1
  283. package/bin/src/utils/pricing.js.map +0 -1
  284. package/bin/src/utils/qrBridge.d.ts.map +0 -1
  285. package/bin/src/utils/qrBridge.js.map +0 -1
  286. package/bin/src/utils/razorpay.d.ts.map +0 -1
  287. package/bin/src/utils/razorpay.js.map +0 -1
  288. package/bin/src/utils/rules.d.ts.map +0 -1
  289. package/bin/src/utils/rules.js.map +0 -1
  290. package/bin/src/utils/session.d.ts.map +0 -1
  291. package/bin/src/utils/session.js.map +0 -1
  292. package/bin/src/utils/updateCheck.d.ts.map +0 -1
  293. package/bin/src/utils/updateCheck.js.map +0 -1
  294. package/downloads/invoice-2026-03.pdf +0 -1
  295. package/firebase.json +0 -74
  296. package/front-terrain-cli-1.0.0.tgz +0 -0
  297. package/web/ScoutFavicon.png +0 -0
  298. package/web/ScoutOGImage.png +0 -0
  299. package/web/app.js +0 -4510
  300. package/web/ft-logo.png +0 -0
  301. package/web/og-image.png +0 -0
  302. package/web/robots.txt +0 -24
  303. package/web/site.webmanifest +0 -16
  304. package/web/sitemap-tryscout.xml +0 -47
  305. package/web/sitemap.xml +0 -47
  306. package/web/styles.css +0 -3436
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Scout CLI Checkpoint & Rollback Command
3
+ */
4
+ export declare function handleCheckpoint(label?: string): Promise<void>;
5
+ export declare function handleRollback(checkpointId?: string): Promise<void>;
6
+ export declare function handleListCheckpoints(): Promise<void>;
7
+ //# sourceMappingURL=checkpoint.d.ts.map
@@ -0,0 +1,7 @@
1
+ export interface ConfigOptions {
2
+ confidential?: boolean | undefined;
3
+ deny?: boolean | undefined;
4
+ tips?: string | undefined;
5
+ }
6
+ export declare function handleConfig(options?: ConfigOptions): Promise<void>;
7
+ //# sourceMappingURL=configCommand.d.ts.map
@@ -0,0 +1,5 @@
1
+ export declare function handleDashboard(options?: {
2
+ open?: boolean;
3
+ port?: number;
4
+ }): Promise<void>;
5
+ //# sourceMappingURL=dashboard.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handleHistory(): Promise<void>;
2
+ //# sourceMappingURL=history.d.ts.map
@@ -0,0 +1,8 @@
1
+ export declare function handleInit(repoUrl?: string, options?: {
2
+ ask?: boolean;
3
+ web?: boolean;
4
+ lang?: string;
5
+ native?: boolean;
6
+ skipSave?: boolean;
7
+ }): Promise<void>;
8
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1,10 @@
1
+ export interface LoginOptions {
2
+ email?: string;
3
+ password?: string;
4
+ token?: string;
5
+ holosene?: boolean;
6
+ holoseneToken?: string;
7
+ provider?: 'firebase' | 'holosene';
8
+ }
9
+ export declare function handleLogin(options?: LoginOptions): Promise<void>;
10
+ //# sourceMappingURL=login.d.ts.map
@@ -0,0 +1,6 @@
1
+ export interface LogoutOptions {
2
+ all?: boolean;
3
+ email?: string;
4
+ }
5
+ export declare function handleLogout(options?: LogoutOptions): Promise<void>;
6
+ //# sourceMappingURL=logout.d.ts.map
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Scout MCP Ecosystem - CLI Commands
3
+ * Implements scout mcp list, add, remove, connect, disconnect, inspect, tools, health.
4
+ */
5
+ /**
6
+ * scout mcp list
7
+ */
8
+ export declare function handleMcpList(): Promise<void>;
9
+ /**
10
+ * scout mcp add [name] [options]
11
+ */
12
+ export declare function handleMcpAdd(nameArg?: string, options?: {
13
+ url?: string;
14
+ endpoint?: string;
15
+ command?: string;
16
+ args?: string;
17
+ transport?: string;
18
+ auth?: string;
19
+ authType?: string;
20
+ token?: string;
21
+ key?: string;
22
+ secret?: string;
23
+ headerKey?: string;
24
+ }): Promise<void>;
25
+ /**
26
+ * scout mcp remove <server>
27
+ */
28
+ export declare function handleMcpRemove(serverArg: string): Promise<void>;
29
+ /**
30
+ * scout mcp connect <server>
31
+ */
32
+ export declare function handleMcpConnect(serverArg: string): Promise<void>;
33
+ /**
34
+ * scout mcp disconnect <server>
35
+ */
36
+ export declare function handleMcpDisconnect(serverArg: string): Promise<void>;
37
+ /**
38
+ * scout mcp inspect <server>
39
+ */
40
+ export declare function handleMcpInspect(serverArg: string): Promise<void>;
41
+ /**
42
+ * scout mcp tools <server>
43
+ */
44
+ export declare function handleMcpTools(serverArg: string): Promise<void>;
45
+ /**
46
+ * scout mcp health
47
+ */
48
+ export declare function handleMcpHealth(): Promise<void>;
49
+ //# sourceMappingURL=mcp.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handleOwners(targetPath: string): Promise<void>;
2
+ //# sourceMappingURL=owners.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handlePlanCommand(): Promise<void>;
2
+ //# sourceMappingURL=plan.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Scout Autonomous GitHub PR Creator
3
+ * Cuts clean feature branches, analyzes git diff, generates architectural summaries, and creates GitHub PRs.
4
+ */
5
+ export interface PrOptions {
6
+ base?: string;
7
+ draft?: boolean;
8
+ noPush?: boolean;
9
+ }
10
+ export declare function handlePrCommand(titleInput?: string, options?: PrOptions): Promise<void>;
11
+ //# sourceMappingURL=pr.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handleQuota(): Promise<void>;
2
+ //# sourceMappingURL=quota.d.ts.map
@@ -0,0 +1,5 @@
1
+ export declare function handleRecommend(options?: {
2
+ lang?: string;
3
+ native?: boolean;
4
+ }): Promise<void>;
5
+ //# sourceMappingURL=recommend.d.ts.map
@@ -0,0 +1,10 @@
1
+ export declare function handleRisky(targetRepo?: string, options?: {
2
+ explain?: boolean;
3
+ fix?: boolean;
4
+ lang?: string;
5
+ native?: boolean;
6
+ report?: boolean | string;
7
+ ci?: boolean;
8
+ pr?: boolean;
9
+ }): Promise<void>;
10
+ //# sourceMappingURL=risky.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handleSetup(): Promise<void>;
2
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1,8 @@
1
+ export interface SignupOptions {
2
+ name?: string;
3
+ email?: string;
4
+ password?: string;
5
+ holosene?: boolean;
6
+ }
7
+ export declare function handleSignup(options?: SignupOptions): Promise<void>;
8
+ //# sourceMappingURL=signup.d.ts.map
@@ -0,0 +1,3 @@
1
+ export declare function handleSwitch(targetEmail?: string): Promise<void>;
2
+ export declare function handleAccounts(action?: string, target?: string): Promise<void>;
3
+ //# sourceMappingURL=switchCommand.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function handleUndo(): Promise<void>;
2
+ //# sourceMappingURL=undo.d.ts.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Scout Smart Terminal Auto-Healer & Test Watcher
3
+ * Background watch daemon that auto-runs tests on save, captures tracebacks, and self-heals failures.
4
+ */
5
+ export interface WatchOptions {
6
+ auto?: boolean;
7
+ clear?: boolean;
8
+ dir?: string;
9
+ }
10
+ export declare function detectTestCommand(cwd: string): string;
11
+ export declare function handleWatch(customCommand?: string, options?: WatchOptions): Promise<void>;
12
+ //# sourceMappingURL=watch.d.ts.map
@@ -0,0 +1,8 @@
1
+ export declare function handleWebSearch(query?: string, options?: {
2
+ ask?: boolean;
3
+ url?: boolean;
4
+ lang?: string;
5
+ native?: boolean;
6
+ voice?: boolean;
7
+ }): Promise<void>;
8
+ //# sourceMappingURL=web.d.ts.map
@@ -0,0 +1,10 @@
1
+ export interface DiscoveryConfig {
2
+ firstRunShown: boolean;
3
+ tipsEnabled: boolean;
4
+ commandCount: number;
5
+ lastTipShownAt: number | null;
6
+ lastTipCommandCount: number;
7
+ }
8
+ export declare function loadDiscoveryConfig(): DiscoveryConfig;
9
+ export declare function saveDiscoveryConfig(config: DiscoveryConfig): void;
10
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { RepoContextData } from './signals.js';
2
+ export declare function maybeShowDiscoveryMessage(repoContext?: RepoContextData | undefined): void;
3
+ //# sourceMappingURL=display.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { Signal } from './signals.js';
2
+ export declare function getFirstRunMessage(): string;
3
+ export declare function formatTipMessage(signal: Signal): string;
4
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1,16 @@
1
+ export interface Signal {
2
+ id: string;
3
+ message: string;
4
+ }
5
+ export interface RepoContextData {
6
+ riskyFiles?: string[] | undefined;
7
+ testCoverageEstimate?: number | undefined;
8
+ justResolvedRiskyFile?: {
9
+ fileName: string;
10
+ churnCount: number;
11
+ } | undefined;
12
+ highRiskFileCount?: number | undefined;
13
+ coveragePercent?: number | string | undefined;
14
+ }
15
+ export declare function getTrueSignals(repoContext?: RepoContextData | undefined): Signal[];
16
+ //# sourceMappingURL=signals.d.ts.map
@@ -0,0 +1,69 @@
1
+ export interface VerificationRule {
2
+ type: 'file_exists' | 'file_syntax' | 'dom_element' | 'url_match' | 'window_title' | 'custom';
3
+ target: string;
4
+ expected?: any;
5
+ timeoutMs?: number;
6
+ }
7
+ export interface VerificationResult {
8
+ verified: boolean;
9
+ ruleType: string;
10
+ message: string;
11
+ details?: Record<string, any>;
12
+ }
13
+ export type RecoveryStrategy = 'RETRY' | 'RE_OBSERVE' | 'ALTERNATIVE_ACTION' | 'RE_PLAN' | 'ASK_USER' | 'STOP_SAFELY';
14
+ export interface RecoveryDecision {
15
+ strategy: RecoveryStrategy;
16
+ reason: string;
17
+ suggestedAction?: {
18
+ tool: string;
19
+ args: Record<string, any>;
20
+ };
21
+ maxRetriesExceeded?: boolean;
22
+ }
23
+ export interface ActionVerificationTarget {
24
+ type: 'file_exists' | 'file_syntax' | 'dom_element_present' | 'url_matches' | 'file_content_matches' | 'app_running' | 'window_active';
25
+ expected: string;
26
+ actual?: any;
27
+ options?: {
28
+ requireNonEmpty?: boolean;
29
+ minSizeBytes?: number;
30
+ pattern?: RegExp | string;
31
+ destination?: string;
32
+ expectedContent?: string;
33
+ };
34
+ browser?: any;
35
+ computer?: any;
36
+ }
37
+ export declare class ActionVerifier {
38
+ private workspaceDir;
39
+ private failureCounts;
40
+ constructor(workspaceDir?: string);
41
+ determineRecoveryStrategy(result: {
42
+ success?: boolean;
43
+ ruleType?: string;
44
+ message?: string;
45
+ [key: string]: any;
46
+ }, attempt?: number, maxRetries?: number): RecoveryStrategy;
47
+ verify(target: ActionVerificationTarget): Promise<{
48
+ success: boolean;
49
+ actual?: any;
50
+ verified: boolean;
51
+ ruleType: string;
52
+ message: string;
53
+ }>;
54
+ verifyFileCreated(filePath: string, minSizeBytes?: number, destination?: string, expectedContent?: string): Promise<VerificationResult>;
55
+ verifyFileSyntax(filePath: string): Promise<VerificationResult>;
56
+ verifyDomElement(elements: Array<{
57
+ ref?: any;
58
+ text?: string;
59
+ tag?: string;
60
+ selector?: string;
61
+ id?: string;
62
+ visible?: boolean;
63
+ }>, targetSelectorOrText: string): VerificationResult;
64
+ verifyUrl(currentUrl: string, expectedPattern: string): VerificationResult;
65
+ determineRecoveryAction(tool: string, error: string, attemptKey?: string, maxRetries?: number): RecoveryDecision;
66
+ determineRecovery(tool: string, error: string, attemptKey?: string, maxRetries?: number): RecoveryDecision;
67
+ resetFailureCount(attemptKey: string): void;
68
+ }
69
+ //# sourceMappingURL=actionVerifier.d.ts.map
@@ -0,0 +1,110 @@
1
+ import { type FileBackup } from '../utils/config.js';
2
+ import { TaskStateManager } from './agentState.js';
3
+ import { type IBrowserController } from './browser/index.js';
4
+ import { ActionVerifier } from './actionVerifier.js';
5
+ import { ApprovalManager } from './safety.js';
6
+ import { TaskPlanner } from './planner.js';
7
+ import { UnifiedToolRegistry } from './toolRegistry.js';
8
+ import { type IComputerController, SystemComputerController, MockComputerController } from './computer/index.js';
9
+ import { AgentWorkspace, inferExecutionIntent, resolveDesktopPath, type ExecutionIntent } from './workspace/index.js';
10
+ import { AgentRuntime } from './runtime/index.js';
11
+ export { AgentRuntime, AgentWorkspace, inferExecutionIntent, resolveDesktopPath, type ExecutionIntent, type IComputerController, SystemComputerController, MockComputerController };
12
+ export declare function robustSnippetReplace(origContent: string, target: string, replacement: string): {
13
+ success: boolean;
14
+ updatedContent: string;
15
+ error?: string;
16
+ };
17
+ export interface ToolDefinition {
18
+ name: string;
19
+ description: string;
20
+ parameters: {
21
+ type: string;
22
+ properties: Record<string, any>;
23
+ required?: string[] | undefined;
24
+ };
25
+ source?: 'native' | 'mcp' | undefined;
26
+ mcpServerId?: string | undefined;
27
+ mcpServerName?: string | undefined;
28
+ }
29
+ export declare const AGENT_TOOLS: ToolDefinition[];
30
+ export interface AgentStepOptions {
31
+ autoApprove?: boolean | undefined;
32
+ maxSteps?: number | undefined;
33
+ language?: string | undefined;
34
+ browserController?: IBrowserController | undefined;
35
+ computerController?: IComputerController | undefined;
36
+ taskId?: string | undefined;
37
+ mockMode?: boolean | undefined;
38
+ tier?: string | undefined;
39
+ isAudioMode?: boolean | undefined;
40
+ }
41
+ export declare function buildDirectoryTree(dirPath: string, prefix?: string, currentDepth?: number, maxDepth?: number): string;
42
+ export declare class AgentExecutionLoop {
43
+ private cwd;
44
+ private historyMessages;
45
+ private modifiedFiles;
46
+ private backups;
47
+ private autoApprove;
48
+ private maxSteps;
49
+ private startTime;
50
+ private totalToolCalls;
51
+ private totalTokensConsumed;
52
+ private currentStep;
53
+ private readFilesHistory;
54
+ private consecutiveReads;
55
+ private consecutiveCommands;
56
+ private consecutiveScreenChecks;
57
+ private toolCallHistory;
58
+ private taskStateManager;
59
+ private browserController;
60
+ private computerController;
61
+ private actionVerifier;
62
+ private approvalManager;
63
+ private taskPlanner;
64
+ private toolRegistry;
65
+ private mockMode;
66
+ private isCancelled;
67
+ private cancelReason?;
68
+ private executionIntent?;
69
+ private userTier;
70
+ private currentGoal;
71
+ private isAudioMode;
72
+ private agentWorkspace;
73
+ private syncTelemetry;
74
+ constructor(options?: AgentStepOptions);
75
+ getUserTier(): string;
76
+ isPaidTier(): boolean;
77
+ getExecutionIntent(): ExecutionIntent | undefined;
78
+ getTaskStateManager(): TaskStateManager;
79
+ getStateManager(): TaskStateManager;
80
+ getBrowserController(): IBrowserController;
81
+ getComputerController(): IComputerController;
82
+ getActionVerifier(): ActionVerifier;
83
+ getApprovalManager(): ApprovalManager;
84
+ getPlanner(): TaskPlanner;
85
+ getToolRegistry(): UnifiedToolRegistry;
86
+ cancel(reason?: string): void;
87
+ isTaskCancelled(): boolean;
88
+ resumeGoal(taskId: string): Promise<{
89
+ success: boolean;
90
+ summary: string;
91
+ }>;
92
+ getModifiedFiles(): string[];
93
+ getBackups(): FileBackup[];
94
+ getStats(): {
95
+ totalSteps: number;
96
+ totalToolCalls: number;
97
+ modifiedFilesCount: number;
98
+ elapsedMs: number;
99
+ };
100
+ resetContext(): void;
101
+ private handleToolConsecutiveTracking;
102
+ private systemPrompt;
103
+ executeGoal(userGoal: string): Promise<{
104
+ success: boolean;
105
+ summary: string;
106
+ }>;
107
+ private extractJsonToolCall;
108
+ private dispatchToolCall;
109
+ }
110
+ //# sourceMappingURL=agentEngine.d.ts.map
@@ -299,14 +299,14 @@ export const AGENT_TOOLS = [
299
299
  },
300
300
  {
301
301
  name: 'delegate_subtask',
302
- description: 'Delegate a specialized subtask to an autonomous specialist subagent (architect, coder, tester, reviewer, general). Useful for delegating code reviews, test generation, architectural breakdowns, or isolated module implementations to an autonomous worker agent.',
302
+ description: 'Delegate a specialized subtask to an autonomous specialist subagent (architect, coder, tester, reviewer, operator, researcher, general). Useful for delegating web research, desktop app automation, code reviews, test generation, architectural breakdowns, or isolated module implementations to an autonomous worker agent.',
303
303
  parameters: {
304
304
  type: 'object',
305
305
  properties: {
306
306
  role: {
307
307
  type: 'string',
308
- enum: ['architect', 'coder', 'tester', 'reviewer', 'general'],
309
- description: 'Specialist role for the subagent (architect, coder, tester, reviewer, general)',
308
+ enum: ['architect', 'coder', 'tester', 'reviewer', 'operator', 'researcher', 'general'],
309
+ description: 'Specialist role for the subagent (architect, coder, tester, reviewer, operator, researcher, general)',
310
310
  },
311
311
  task: {
312
312
  type: 'string',
@@ -625,12 +625,10 @@ Task Execution Intent & Constraints:
625
625
  const isPaid = this.isPaidTier();
626
626
  const tierDirective = isPaid ? `
627
627
  PLAN TIER & CAPABILITIES: ${this.userTier.toUpperCase()} (FULL ACCESS UNLOCKED)
628
- • Unlimited autonomous multi-step loops with no step limits.
629
628
  • Autonomous Computer-Use, Browser Automation, and AI Scratchpad Reasoning are fully ENABLED.
630
629
  • Use the 'scratchpad' tool to organize multi-step reasoning, break down complex goals, draft hypotheses, and track working memory across turns.
631
630
  ` : `
632
- PLAN TIER & CAPABILITIES: DEVELOPER FREE (UNLIMITED MULTI-STEP CORE CODING)
633
- • Unlimited execution steps: Take as many iterative steps as needed to solve, test, and verify the task thoroughly.
631
+ PLAN TIER & CAPABILITIES: DEVELOPER FREE (CORE CODING & WORKSPACE OPS)
634
632
  • Developer operations enabled: Code editing, file/directory creation, running terminal commands/tests, syntax verification, reading, and exploration.
635
633
  • Work systematically: Inspect the code, run relevant builds/tests, verify syntax, and ensure high code quality before completing.
636
634
  `;
@@ -926,12 +924,7 @@ When returning tool calls, use standard OpenAI function calling format or JSON t
926
924
  userTier: this.userTier,
927
925
  });
928
926
  const stepSpinner = spinner();
929
- if (!Number.isFinite(this.maxSteps)) {
930
- stepSpinner.start(chalk.cyan(`Scout is Working (Step ${step})`));
931
- }
932
- else {
933
- stepSpinner.start(chalk.cyan(`Scout is Working (Step ${step}/${this.maxSteps})`));
934
- }
927
+ stepSpinner.start(chalk.cyan(`Scout is Working (Step ${step})`));
935
928
  try {
936
929
  let response;
937
930
  const mcpRouting = getMCPManager().routeTools(userGoal);
@@ -1303,8 +1296,8 @@ You MUST output exactly ONE JSON code block per tool call. Do NOT describe what
1303
1296
  return {
1304
1297
  success: false,
1305
1298
  summary: Number.isFinite(this.maxSteps)
1306
- ? `Reached max iteration steps limit (${this.maxSteps}). Modified files: ${Array.from(this.modifiedFiles).join(', ')}`
1307
- : `Task ended after ${step} iteration steps. Modified files: ${Array.from(this.modifiedFiles).join(', ')}`,
1299
+ ? `Reached step limit (${this.maxSteps}). Modified files: ${Array.from(this.modifiedFiles).join(', ')}`
1300
+ : `Task ended after ${step} steps. Modified files: ${Array.from(this.modifiedFiles).join(', ')}`,
1308
1301
  };
1309
1302
  }
1310
1303
  finally {
@@ -1983,6 +1976,11 @@ You MUST output exactly ONE JSON code block per tool call. Do NOT describe what
1983
1976
  }
1984
1977
  case 'ask_user': {
1985
1978
  const questionText = String(args.question || args.prompt || 'Please provide input:').trim();
1979
+ if (this.autoApprove) {
1980
+ return {
1981
+ result: `[Auto-Approved Mode Active]: User prompt bypassed ("${questionText}"). Inspect local workspace files (read_file, glob_search, list_dir) and proceed autonomously.`
1982
+ };
1983
+ }
1986
1984
  const askSpin = spinner();
1987
1985
  askSpin.stop();
1988
1986
  safeNote(questionText, ' Scout Agent Question for User');
@@ -0,0 +1,154 @@
1
+ export interface TaskPlanStep {
2
+ id: number;
3
+ description: string;
4
+ category?: 'api' | 'browser' | 'computer' | 'file' | 'general' | undefined;
5
+ toolName?: string | undefined;
6
+ status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'skipped';
7
+ dependencies?: number[] | undefined;
8
+ canParallelize?: boolean | undefined;
9
+ result?: string | undefined;
10
+ completedAt?: string | undefined;
11
+ }
12
+ export interface TaskObservation {
13
+ step: number;
14
+ timestamp: string;
15
+ tool: string;
16
+ action?: string | undefined;
17
+ target?: string | undefined;
18
+ resultSummary: string;
19
+ result?: string | undefined;
20
+ verified: boolean;
21
+ activeApplication?: string | null | undefined;
22
+ activeUrl?: string | null | undefined;
23
+ }
24
+ export interface TaskArtifact {
25
+ id: string;
26
+ filename: string;
27
+ name?: string | undefined;
28
+ path: string;
29
+ source: string;
30
+ createdAt: string;
31
+ taskId: string;
32
+ type?: string | undefined;
33
+ description?: string | undefined;
34
+ application?: string | undefined;
35
+ verified: boolean;
36
+ sizeBytes?: number | undefined;
37
+ mimeType?: string | undefined;
38
+ }
39
+ export interface TaskError {
40
+ step: number;
41
+ timestamp: string;
42
+ tool?: string | undefined;
43
+ message: string;
44
+ recoveryAttempted?: string | undefined;
45
+ recovered: boolean;
46
+ }
47
+ export interface PendingAction {
48
+ id: string;
49
+ tool: string;
50
+ args: Record<string, any>;
51
+ riskLevel: 'low' | 'medium' | 'high' | 'critical';
52
+ riskReason: string;
53
+ requestedAt: string;
54
+ }
55
+ export interface AutonomousTaskState {
56
+ task_id: string;
57
+ taskId: string;
58
+ objective: string;
59
+ goal: string;
60
+ plan: TaskPlanStep[];
61
+ current_step: number;
62
+ currentStep: number;
63
+ completed_steps: number[];
64
+ observations: TaskObservation[];
65
+ available_tools: string[];
66
+ active_application: string | null;
67
+ active_url: string | null;
68
+ active_window?: string | null | undefined;
69
+ artifacts: TaskArtifact[];
70
+ errors: TaskError[];
71
+ pending_action: PendingAction | null;
72
+ verification_status: 'pending' | 'verified' | 'failed' | null;
73
+ status: 'planning' | 'running' | 'executing' | 'waiting_approval' | 'recovering' | 'completed' | 'failed' | 'paused';
74
+ created_at: string;
75
+ updated_at: string;
76
+ completed_at?: string | undefined;
77
+ metadata?: Record<string, any> | undefined;
78
+ }
79
+ export declare class TaskStateManager {
80
+ private state;
81
+ private workspaceDir;
82
+ private tasksDir;
83
+ private stateFilePath;
84
+ constructor(taskIdOrDir?: string, objective?: string, workspaceDir?: string);
85
+ private ensureDirectories;
86
+ createTaskState(goal: string): AutonomousTaskState;
87
+ getState(): AutonomousTaskState;
88
+ getCurrentState(): AutonomousTaskState;
89
+ setObjective(objective: string): void;
90
+ setAvailableTools(tools: string[]): void;
91
+ setPlan(steps: Array<string | (Omit<TaskPlanStep, 'status'> & {
92
+ status?: TaskPlanStep['status'];
93
+ })>): void;
94
+ updatePlan(steps: TaskPlanStep[]): void;
95
+ startStep(stepNumber: number, description?: string): void;
96
+ advanceStep(stepNumber: number): void;
97
+ completeStep(stepNumber: number, resultSummary?: string): void;
98
+ updateStepStatus(stepNumber: number, status: TaskPlanStep['status']): void;
99
+ failStep(stepNumber: number, errorMessage: string): void;
100
+ addObservation(tool: string, resultSummary: string, verified?: boolean, target?: string): void;
101
+ recordObservation(obs: {
102
+ step?: number | undefined;
103
+ action?: string | undefined;
104
+ tool?: string | undefined;
105
+ result?: string | undefined;
106
+ resultSummary?: string | undefined;
107
+ verified?: boolean | undefined;
108
+ target?: string | undefined;
109
+ timestamp?: string | undefined;
110
+ }): void;
111
+ recordArtifact(artifact: {
112
+ name?: string | undefined;
113
+ filename?: string | undefined;
114
+ path: string;
115
+ type?: string | undefined;
116
+ description?: string | undefined;
117
+ application?: string | undefined;
118
+ source?: string | undefined;
119
+ verified?: boolean | undefined;
120
+ sizeBytes?: number | undefined;
121
+ mimeType?: string | undefined;
122
+ }): TaskArtifact;
123
+ getArtifacts(): TaskArtifact[];
124
+ setActiveApplication(appName: string | null): void;
125
+ setActiveUrl(url: string | null): void;
126
+ setActiveWindow(windowTitle: string | null): void;
127
+ recordError(message: string, tool?: string | undefined, recoveryAttempted?: string | undefined, recovered?: boolean): void;
128
+ setPendingAction(action: PendingAction | null): void;
129
+ setVerificationStatus(status: 'pending' | 'verified' | 'failed' | null): void;
130
+ setStatus(status: AutonomousTaskState['status']): void;
131
+ updateStatus(status: AutonomousTaskState['status']): void;
132
+ touch(): void;
133
+ saveCheckpoint(): void;
134
+ static loadTaskState(taskId: string, workspaceDir?: string): AutonomousTaskState | null;
135
+ static listSavedTasks(workspaceDir?: string): Array<{
136
+ id: string;
137
+ taskId: string;
138
+ objective: string;
139
+ goal: string;
140
+ status: string;
141
+ updatedAt: string;
142
+ }>;
143
+ resumeFromState(savedState: AutonomousTaskState): void;
144
+ listSavedTasks(): Array<{
145
+ id: string;
146
+ taskId: string;
147
+ objective: string;
148
+ goal: string;
149
+ status: string;
150
+ updatedAt: string;
151
+ }>;
152
+ loadTaskState(taskId: string): AutonomousTaskState | null;
153
+ }
154
+ //# sourceMappingURL=agentState.d.ts.map