ft-scout 9.5.1 → 9.5.2
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.
- package/README.md +12 -18
- package/bin/src/commands/agent.d.ts +41 -0
- package/bin/src/commands/audit.d.ts +2 -0
- package/bin/src/commands/authCommand.d.ts +2 -0
- package/bin/src/commands/benchmark.d.ts +2 -0
- package/bin/src/commands/brief.d.ts +4 -0
- package/bin/src/commands/checkpoint.d.ts +7 -0
- package/bin/src/commands/configCommand.d.ts +7 -0
- package/bin/src/commands/dashboard.d.ts +5 -0
- package/bin/src/commands/history.d.ts +2 -0
- package/bin/src/commands/init.d.ts +8 -0
- package/bin/src/commands/login.d.ts +10 -0
- package/bin/src/commands/logout.d.ts +6 -0
- package/bin/src/commands/mcp.d.ts +49 -0
- package/bin/src/commands/owners.d.ts +2 -0
- package/bin/src/commands/plan.d.ts +2 -0
- package/bin/src/commands/pr.d.ts +11 -0
- package/bin/src/commands/quota.d.ts +2 -0
- package/bin/src/commands/recommend.d.ts +5 -0
- package/bin/src/commands/risky.d.ts +10 -0
- package/bin/src/commands/setup.d.ts +2 -0
- package/bin/src/commands/signup.d.ts +8 -0
- package/bin/src/commands/switchCommand.d.ts +3 -0
- package/bin/src/commands/undo.d.ts +2 -0
- package/bin/src/commands/watch.d.ts +12 -0
- package/bin/src/commands/web.d.ts +8 -0
- package/bin/src/discovery/config.d.ts +10 -0
- package/bin/src/discovery/display.d.ts +3 -0
- package/bin/src/discovery/messages.d.ts +4 -0
- package/bin/src/discovery/signals.d.ts +16 -0
- package/bin/src/engine/actionVerifier.d.ts +69 -0
- package/bin/src/engine/agentEngine.d.ts +110 -0
- package/bin/src/engine/agentState.d.ts +154 -0
- package/bin/src/engine/browser/browserController.d.ts +155 -0
- package/bin/src/engine/browser/index.d.ts +2 -0
- package/bin/src/engine/checkpoints/checkpointManager.d.ts +48 -0
- package/bin/src/engine/computer/computerController.d.ts +130 -0
- package/bin/src/engine/computer/computerController.js +8 -0
- package/bin/src/engine/computer/computerDiagnostic.d.ts +31 -0
- package/bin/src/engine/computer/index.d.ts +4 -0
- package/bin/src/engine/computer/mockComputer.d.ts +62 -0
- package/bin/src/engine/computer/operatorHud.d.ts +30 -0
- package/bin/src/engine/git.d.ts +20 -0
- package/bin/src/engine/llm.d.ts +92 -0
- package/bin/src/engine/planner.d.ts +21 -0
- package/bin/src/engine/runtime/agentRuntime.d.ts +111 -0
- package/bin/src/engine/runtime/index.d.ts +2 -0
- package/bin/src/engine/safety.d.ts +55 -0
- package/bin/src/engine/scanners.d.ts +2 -0
- package/bin/src/engine/subagents/subagentManager.d.ts +29 -0
- package/bin/src/engine/toolRegistry.d.ts +38 -0
- package/bin/src/engine/verifier.d.ts +47 -0
- package/bin/src/engine/voiceEngine.d.ts +26 -0
- package/bin/src/engine/web.d.ts +22 -0
- package/bin/src/engine/workspace/agentWorkspace.d.ts +112 -0
- package/bin/src/engine/workspace/index.d.ts +2 -0
- package/bin/src/index.d.ts +2 -0
- package/bin/src/index.js +4 -4
- package/bin/src/mcp/client.d.ts +62 -0
- package/bin/src/mcp/client.js +1 -1
- package/bin/src/mcp/cloudSync.d.ts +19 -0
- package/bin/src/mcp/discovery.d.ts +22 -0
- package/bin/src/mcp/health.d.ts +13 -0
- package/bin/src/mcp/index.d.ts +16 -0
- package/bin/src/mcp/manager.d.ts +113 -0
- package/bin/src/mcp/permissions.d.ts +18 -0
- package/bin/src/mcp/persistence.d.ts +44 -0
- package/bin/src/mcp/persistence.js +8 -1
- package/bin/src/mcp/recovery.d.ts +19 -0
- package/bin/src/mcp/telemetry.d.ts +15 -0
- package/bin/src/mcp/toolRouter.d.ts +23 -0
- package/bin/src/mcp/transport.d.ts +60 -0
- package/bin/src/mcp/types.d.ts +130 -0
- package/bin/src/server/server.d.ts +6 -0
- package/bin/src/utils/admin.d.ts +84 -0
- package/bin/src/utils/auditLogger.d.ts +18 -0
- package/bin/src/utils/auth.d.ts +132 -0
- package/bin/src/utils/branding.d.ts +2 -0
- package/bin/src/utils/branding.js +1 -1
- package/bin/src/utils/claudeUI.d.ts +101 -0
- package/bin/src/utils/config.d.ts +46 -0
- package/bin/src/utils/email.d.ts +36 -0
- package/bin/src/utils/firebaseAuth.d.ts +19 -0
- package/bin/src/utils/holoseneAuth.d.ts +18 -0
- package/bin/src/utils/interruptHandler.d.ts +32 -0
- package/bin/src/utils/language.d.ts +13 -0
- package/bin/src/utils/logger.d.ts +2 -0
- package/bin/src/utils/markdown.d.ts +19 -0
- package/bin/src/utils/payment.d.ts +81 -0
- package/bin/src/utils/pricing.d.ts +26 -0
- package/bin/src/utils/qrBridge.d.ts +33 -0
- package/bin/src/utils/qrBridge.js +1 -1
- package/bin/src/utils/razorpay.d.ts +48 -0
- package/bin/src/utils/rules.d.ts +24 -0
- package/bin/src/utils/session.d.ts +32 -0
- package/bin/src/utils/updateCheck.d.ts +3 -0
- package/package.json +14 -4
- package/.firebase/hosting.d2Vi.cache +0 -16
- package/.firebaserc +0 -14
- package/.mcp-config.json +0 -19
- package/.mft-mcp-config.json +0 -29
- package/.scoutrules +0 -13
- package/.test-ft/mcp_activity.json +0 -23
- package/.test-ft/mcp_credentials.enc +0 -1
- package/.test-ft/mcp_servers.json +0 -1
- package/bin/src/commands/agent.d.ts.map +0 -1
- package/bin/src/commands/agent.js.map +0 -1
- package/bin/src/commands/audit.d.ts.map +0 -1
- package/bin/src/commands/audit.js.map +0 -1
- package/bin/src/commands/authCommand.d.ts.map +0 -1
- package/bin/src/commands/authCommand.js.map +0 -1
- package/bin/src/commands/benchmark.d.ts.map +0 -1
- package/bin/src/commands/benchmark.js.map +0 -1
- package/bin/src/commands/brief.d.ts.map +0 -1
- package/bin/src/commands/brief.js.map +0 -1
- package/bin/src/commands/checkpoint.d.ts.map +0 -1
- package/bin/src/commands/checkpoint.js.map +0 -1
- package/bin/src/commands/configCommand.d.ts.map +0 -1
- package/bin/src/commands/configCommand.js.map +0 -1
- package/bin/src/commands/dashboard.d.ts.map +0 -1
- package/bin/src/commands/dashboard.js.map +0 -1
- package/bin/src/commands/history.d.ts.map +0 -1
- package/bin/src/commands/history.js.map +0 -1
- package/bin/src/commands/init.d.ts.map +0 -1
- package/bin/src/commands/init.js.map +0 -1
- package/bin/src/commands/login.d.ts.map +0 -1
- package/bin/src/commands/login.js.map +0 -1
- package/bin/src/commands/logout.d.ts.map +0 -1
- package/bin/src/commands/logout.js.map +0 -1
- package/bin/src/commands/mcp.d.ts.map +0 -1
- package/bin/src/commands/mcp.js.map +0 -1
- package/bin/src/commands/owners.d.ts.map +0 -1
- package/bin/src/commands/owners.js.map +0 -1
- package/bin/src/commands/plan.d.ts.map +0 -1
- package/bin/src/commands/plan.js.map +0 -1
- package/bin/src/commands/pr.d.ts.map +0 -1
- package/bin/src/commands/pr.js.map +0 -1
- package/bin/src/commands/quota.d.ts.map +0 -1
- package/bin/src/commands/quota.js.map +0 -1
- package/bin/src/commands/recommend.d.ts.map +0 -1
- package/bin/src/commands/recommend.js.map +0 -1
- package/bin/src/commands/risky.d.ts.map +0 -1
- package/bin/src/commands/risky.js.map +0 -1
- package/bin/src/commands/setup.d.ts.map +0 -1
- package/bin/src/commands/setup.js.map +0 -1
- package/bin/src/commands/signup.d.ts.map +0 -1
- package/bin/src/commands/signup.js.map +0 -1
- package/bin/src/commands/switchCommand.d.ts.map +0 -1
- package/bin/src/commands/switchCommand.js.map +0 -1
- package/bin/src/commands/undo.d.ts.map +0 -1
- package/bin/src/commands/undo.js.map +0 -1
- package/bin/src/commands/watch.d.ts.map +0 -1
- package/bin/src/commands/watch.js.map +0 -1
- package/bin/src/commands/web.d.ts.map +0 -1
- package/bin/src/commands/web.js.map +0 -1
- package/bin/src/discovery/config.d.ts.map +0 -1
- package/bin/src/discovery/config.js.map +0 -1
- package/bin/src/discovery/display.d.ts.map +0 -1
- package/bin/src/discovery/display.js.map +0 -1
- package/bin/src/discovery/messages.d.ts.map +0 -1
- package/bin/src/discovery/messages.js.map +0 -1
- package/bin/src/discovery/signals.d.ts.map +0 -1
- package/bin/src/discovery/signals.js.map +0 -1
- package/bin/src/engine/actionVerifier.d.ts.map +0 -1
- package/bin/src/engine/actionVerifier.js.map +0 -1
- package/bin/src/engine/agentEngine.d.ts.map +0 -1
- package/bin/src/engine/agentEngine.js.map +0 -1
- package/bin/src/engine/agentState.d.ts.map +0 -1
- package/bin/src/engine/agentState.js.map +0 -1
- package/bin/src/engine/browser/browserController.d.ts.map +0 -1
- package/bin/src/engine/browser/browserController.js.map +0 -1
- package/bin/src/engine/browser/index.d.ts.map +0 -1
- package/bin/src/engine/browser/index.js.map +0 -1
- package/bin/src/engine/checkpoints/checkpointManager.d.ts.map +0 -1
- package/bin/src/engine/checkpoints/checkpointManager.js.map +0 -1
- package/bin/src/engine/computer/computerController.d.ts.map +0 -1
- package/bin/src/engine/computer/computerController.js.map +0 -1
- package/bin/src/engine/computer/computerDiagnostic.d.ts.map +0 -1
- package/bin/src/engine/computer/computerDiagnostic.js.map +0 -1
- package/bin/src/engine/computer/index.d.ts.map +0 -1
- package/bin/src/engine/computer/index.js.map +0 -1
- package/bin/src/engine/computer/mockComputer.d.ts.map +0 -1
- package/bin/src/engine/computer/mockComputer.js.map +0 -1
- package/bin/src/engine/computer/operatorHud.d.ts.map +0 -1
- package/bin/src/engine/computer/operatorHud.js.map +0 -1
- package/bin/src/engine/computer/scout_driver.exe +0 -0
- package/bin/src/engine/git.d.ts.map +0 -1
- package/bin/src/engine/git.js.map +0 -1
- package/bin/src/engine/llm.d.ts.map +0 -1
- package/bin/src/engine/llm.js.map +0 -1
- package/bin/src/engine/planner.d.ts.map +0 -1
- package/bin/src/engine/planner.js.map +0 -1
- package/bin/src/engine/runtime/agentRuntime.d.ts.map +0 -1
- package/bin/src/engine/runtime/agentRuntime.js.map +0 -1
- package/bin/src/engine/runtime/index.d.ts.map +0 -1
- package/bin/src/engine/runtime/index.js.map +0 -1
- package/bin/src/engine/safety.d.ts.map +0 -1
- package/bin/src/engine/safety.js.map +0 -1
- package/bin/src/engine/scanners.d.ts.map +0 -1
- package/bin/src/engine/scanners.js.map +0 -1
- package/bin/src/engine/scoutAudioRecorder.cs +0 -215
- package/bin/src/engine/scout_audio_recorder.exe +0 -0
- package/bin/src/engine/subagents/subagentManager.d.ts.map +0 -1
- package/bin/src/engine/subagents/subagentManager.js.map +0 -1
- package/bin/src/engine/toolRegistry.d.ts.map +0 -1
- package/bin/src/engine/toolRegistry.js.map +0 -1
- package/bin/src/engine/verifier.d.ts.map +0 -1
- package/bin/src/engine/verifier.js.map +0 -1
- package/bin/src/engine/voiceEngine.d.ts.map +0 -1
- package/bin/src/engine/voiceEngine.js.map +0 -1
- package/bin/src/engine/web.d.ts.map +0 -1
- package/bin/src/engine/web.js.map +0 -1
- package/bin/src/engine/workspace/agentWorkspace.d.ts.map +0 -1
- package/bin/src/engine/workspace/agentWorkspace.js.map +0 -1
- package/bin/src/engine/workspace/index.d.ts.map +0 -1
- package/bin/src/engine/workspace/index.js.map +0 -1
- package/bin/src/index.d.ts.map +0 -1
- package/bin/src/index.js.map +0 -1
- package/bin/src/mcp/client.d.ts.map +0 -1
- package/bin/src/mcp/client.js.map +0 -1
- package/bin/src/mcp/cloudSync.d.ts.map +0 -1
- package/bin/src/mcp/cloudSync.js.map +0 -1
- package/bin/src/mcp/discovery.d.ts.map +0 -1
- package/bin/src/mcp/discovery.js.map +0 -1
- package/bin/src/mcp/health.d.ts.map +0 -1
- package/bin/src/mcp/health.js.map +0 -1
- package/bin/src/mcp/index.d.ts.map +0 -1
- package/bin/src/mcp/index.js.map +0 -1
- package/bin/src/mcp/manager.d.ts.map +0 -1
- package/bin/src/mcp/manager.js.map +0 -1
- package/bin/src/mcp/permissions.d.ts.map +0 -1
- package/bin/src/mcp/permissions.js.map +0 -1
- package/bin/src/mcp/persistence.d.ts.map +0 -1
- package/bin/src/mcp/persistence.js.map +0 -1
- package/bin/src/mcp/recovery.d.ts.map +0 -1
- package/bin/src/mcp/recovery.js.map +0 -1
- package/bin/src/mcp/telemetry.d.ts.map +0 -1
- package/bin/src/mcp/telemetry.js.map +0 -1
- package/bin/src/mcp/toolRouter.d.ts.map +0 -1
- package/bin/src/mcp/toolRouter.js.map +0 -1
- package/bin/src/mcp/transport.d.ts.map +0 -1
- package/bin/src/mcp/transport.js.map +0 -1
- package/bin/src/mcp/types.d.ts.map +0 -1
- package/bin/src/mcp/types.js.map +0 -1
- package/bin/src/server/server.d.ts.map +0 -1
- package/bin/src/server/server.js.map +0 -1
- package/bin/src/utils/admin.d.ts.map +0 -1
- package/bin/src/utils/admin.js.map +0 -1
- package/bin/src/utils/auditLogger.d.ts.map +0 -1
- package/bin/src/utils/auditLogger.js.map +0 -1
- package/bin/src/utils/auth.d.ts.map +0 -1
- package/bin/src/utils/auth.js.map +0 -1
- package/bin/src/utils/branding.d.ts.map +0 -1
- package/bin/src/utils/branding.js.map +0 -1
- package/bin/src/utils/claudeUI.d.ts.map +0 -1
- package/bin/src/utils/claudeUI.js.map +0 -1
- package/bin/src/utils/config.d.ts.map +0 -1
- package/bin/src/utils/config.js.map +0 -1
- package/bin/src/utils/email.d.ts.map +0 -1
- package/bin/src/utils/email.js.map +0 -1
- package/bin/src/utils/firebaseAuth.d.ts.map +0 -1
- package/bin/src/utils/firebaseAuth.js.map +0 -1
- package/bin/src/utils/holoseneAuth.d.ts.map +0 -1
- package/bin/src/utils/holoseneAuth.js.map +0 -1
- package/bin/src/utils/interruptHandler.d.ts.map +0 -1
- package/bin/src/utils/interruptHandler.js.map +0 -1
- package/bin/src/utils/language.d.ts.map +0 -1
- package/bin/src/utils/language.js.map +0 -1
- package/bin/src/utils/logger.d.ts.map +0 -1
- package/bin/src/utils/logger.js.map +0 -1
- package/bin/src/utils/markdown.d.ts.map +0 -1
- package/bin/src/utils/markdown.js.map +0 -1
- package/bin/src/utils/payment.d.ts.map +0 -1
- package/bin/src/utils/payment.js.map +0 -1
- package/bin/src/utils/pricing.d.ts.map +0 -1
- package/bin/src/utils/pricing.js.map +0 -1
- package/bin/src/utils/qrBridge.d.ts.map +0 -1
- package/bin/src/utils/qrBridge.js.map +0 -1
- package/bin/src/utils/razorpay.d.ts.map +0 -1
- package/bin/src/utils/razorpay.js.map +0 -1
- package/bin/src/utils/rules.d.ts.map +0 -1
- package/bin/src/utils/rules.js.map +0 -1
- package/bin/src/utils/session.d.ts.map +0 -1
- package/bin/src/utils/session.js.map +0 -1
- package/bin/src/utils/updateCheck.d.ts.map +0 -1
- package/bin/src/utils/updateCheck.js.map +0 -1
- package/downloads/invoice-2026-03.pdf +0 -1
- package/firebase.json +0 -74
- package/front-terrain-cli-1.0.0.tgz +0 -0
- package/web/ScoutFavicon.png +0 -0
- package/web/ScoutOGImage.png +0 -0
- package/web/app.js +0 -4510
- package/web/ft-logo.png +0 -0
- package/web/og-image.png +0 -0
- package/web/robots.txt +0 -24
- package/web/site.webmanifest +0 -16
- package/web/sitemap-tryscout.xml +0 -47
- package/web/sitemap.xml +0 -47
- package/web/styles.css +0 -3436
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# scout (FrontTerrain CLI v9.5.
|
|
1
|
+
# scout (FrontTerrain CLI v9.5.2)
|
|
2
2
|
|
|
3
3
|
**FrontTerrain (`scout`)** The Autonomous AI Principal Software Engineer & Codebase Co-Pilot in your terminal.
|
|
4
4
|
|
|
@@ -11,14 +11,16 @@ Scout executes autonomous multi-step engineering loops, builds complete projects
|
|
|
11
11
|
Install globally using npm:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install -g scout@latest
|
|
14
|
+
npm install -g ft-scout@latest
|
|
15
|
+
# Or run instantly without installation:
|
|
16
|
+
npx -y ft-scout@latest
|
|
15
17
|
```
|
|
16
18
|
|
|
17
19
|
---
|
|
18
20
|
|
|
19
21
|
## Quick Start & Commands
|
|
20
22
|
|
|
21
|
-
Once installed, use `scout` in any project directory:
|
|
23
|
+
Once installed, use `scout` or `ft-scout` in any project directory:
|
|
22
24
|
|
|
23
25
|
### Autonomous Computer-Use Operator & AI Agent Sessions
|
|
24
26
|
|
|
@@ -32,12 +34,8 @@ scout goal "Refactor database query logic" -y
|
|
|
32
34
|
### Interactive Scout Agent Session (Persistent operator loop with Slash Commands & full tool execution)
|
|
33
35
|
scout agent
|
|
34
36
|
|
|
35
|
-
# Optional voice interaction flags:
|
|
36
|
-
scout agent -V # Launch with Audio Voice mode (Microphone STT)
|
|
37
|
-
scout agent --voice
|
|
38
|
-
|
|
39
37
|
# Inside session:
|
|
40
|
-
# Slash commands: /help /checkpoint /rollback /checkpoints /hud /delegate /
|
|
38
|
+
# Slash commands: /help /checkpoint /rollback /checkpoints /hud /delegate /tree /stats /test /explain /export /diff /undo /clear /history /exit
|
|
41
39
|
|
|
42
40
|
# Generate and create a new source code file
|
|
43
41
|
scout agent --create src/utils/math.ts "Create helper functions for sum, average, and array chunking"
|
|
@@ -450,16 +448,14 @@ Scout is built for uninterrupted autonomy across multiple LLM providers:
|
|
|
450
448
|
|
|
451
449
|
---
|
|
452
450
|
|
|
453
|
-
##
|
|
451
|
+
## Intelligent Multi-Model Fallback & High-Resilience Engine
|
|
454
452
|
|
|
455
|
-
|
|
453
|
+
Scout features a multi-tiered, latency-optimized model failover pipeline tested against live endpoints:
|
|
456
454
|
|
|
457
|
-
1. **
|
|
458
|
-
2. **
|
|
459
|
-
3. **
|
|
460
|
-
4. **
|
|
461
|
-
- High-accuracy in-terminal speech-to-text powered by `whisper-1` with automatic Voice Activity Detection (VAD) and technical vocabulary hints.
|
|
462
|
-
5. **Conversational Co-Pilot Persona**: Instant spoken acknowledgment (e.g., *"On it! Opening Chrome for you."*) and warm conversational completion summaries rather than dry robotic execution logs.
|
|
455
|
+
1. **Ultra-Fast Primary Execution (`nvidia/nemotron-3.5-bolt-e4b`)**: Sub-second execution (~600–800ms) with zero reasoning bottleneck, ideal for instant code modifications and rapid tool invocations.
|
|
456
|
+
2. **Deep Reasoning MoE Fallback (`nvidia/nemotron-3.5-lightning-30b-a3b` & `nvidia/nemotron-3-ultra-550b-a55b`)**: 30B MoE and 550B flagship reasoning engines for complex multi-file architectural tasks.
|
|
457
|
+
3. **Bring Your Own Key (BYOK) Multi-Provider**: Seamlessly plug in Gemini (`gemini-2.5-flash`, `gemini-2.0-flash`) or OpenAI (`gpt-4o-mini`, `gpt-4o`) via `scout config --byok` or environment keys.
|
|
458
|
+
4. **Autonomous Reasoning Fallback Extractor**: If a deep-reasoning model emits tokens under `reasoning_content` without terminal markdown formatting, Scout's internal LLM proxy automatically extracts and forwards the solution payload without failing the step.
|
|
463
459
|
|
|
464
460
|
---
|
|
465
461
|
|
|
@@ -473,8 +469,6 @@ Inside an active `scout agent` interactive session, type any slash command to tr
|
|
|
473
469
|
- `/checkpoints` List all available time-machine checkpoints.
|
|
474
470
|
- `/hud [on|off]` Toggle the Visual Operator HUD desktop aura overlay & click beacons.
|
|
475
471
|
- `/delegate <role> <task>` Delegate a task to an autonomous specialist subagent swarm (`architect`, `coder`, `tester`, `reviewer`).
|
|
476
|
-
- `/voice` Activate microphone Speech-to-Text (STT) listener to speak your prompt into CLI.
|
|
477
|
-
- `/speak <text>` Display entered text feedback directly in terminal.
|
|
478
472
|
- `/tree [dir]` Render an interactive visual directory tree of any workspace folder.
|
|
479
473
|
- `/status` or `/stats` View real-time session telemetry (steps executed, tool call count, modified files, elapsed time, branch info).
|
|
480
474
|
- `/test [cmd]` Auto-detect and run project verification test suite directly inside session context.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface ScannedIssue {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
file: string;
|
|
5
|
+
severity: 'high' | 'medium' | 'low';
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function saveScanReport(issues: ScannedIssue[]): void;
|
|
9
|
+
export declare function loadScanReport(): ScannedIssue[];
|
|
10
|
+
export interface AgentOptions {
|
|
11
|
+
goal?: string | undefined;
|
|
12
|
+
create?: string | undefined;
|
|
13
|
+
file?: string | undefined;
|
|
14
|
+
issue?: string | number | undefined;
|
|
15
|
+
run?: string | string[] | undefined;
|
|
16
|
+
scan?: boolean | undefined;
|
|
17
|
+
add?: string | undefined;
|
|
18
|
+
plan?: string | undefined;
|
|
19
|
+
verifyCmd?: string | undefined;
|
|
20
|
+
maxRetries?: number | undefined;
|
|
21
|
+
steps?: number | undefined;
|
|
22
|
+
maxSteps?: number | undefined;
|
|
23
|
+
lang?: string | undefined;
|
|
24
|
+
native?: boolean | undefined;
|
|
25
|
+
yes?: boolean | undefined;
|
|
26
|
+
voice?: boolean | undefined;
|
|
27
|
+
resume?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare function extractCreateTargetFiles(rawGoal: string): string[];
|
|
30
|
+
export declare function extractCreateTargetFile(rawGoal: string): string | undefined;
|
|
31
|
+
export interface ParsedUserIntent {
|
|
32
|
+
cleanGoal: string;
|
|
33
|
+
intentType: 'question' | 'create' | 'modify' | 'scan' | 'plan' | 'run';
|
|
34
|
+
targetFile?: string | undefined;
|
|
35
|
+
targetFiles?: string[] | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare function parseUserPromptIntent(rawGoal: string, filesList: string[]): ParsedUserIntent;
|
|
38
|
+
export declare function findTargetFilesFromPrompt(userPrompt: string, specifiedFile: string | undefined, filesList: string[]): string[];
|
|
39
|
+
export declare function getAgentGoalInput(placeholderStr: string): Promise<string | symbol>;
|
|
40
|
+
export declare function handleAgent(goalInput?: string, options?: AgentOptions): Promise<void>;
|
|
41
|
+
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -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,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,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,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,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,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,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,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
|