ft-scout 6.0.5 → 6.0.9
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/.firebase/hosting.d2Vi.cache +2 -2
- package/README.md +61 -38
- package/bin/ft.js +1 -1
- package/bin/src/commands/agent.d.ts.map +1 -1
- package/bin/src/commands/agent.js +439 -39
- package/bin/src/commands/agent.js.map +1 -1
- package/bin/src/commands/audit.js.map +1 -1
- package/bin/src/commands/authCommand.js.map +1 -1
- package/bin/src/commands/brief.js.map +1 -1
- package/bin/src/commands/configCommand.d.ts.map +1 -1
- package/bin/src/commands/configCommand.js.map +1 -1
- package/bin/src/commands/dashboard.js.map +1 -1
- package/bin/src/commands/history.js.map +1 -1
- package/bin/src/commands/init.js.map +1 -1
- package/bin/src/commands/login.d.ts.map +1 -1
- package/bin/src/commands/login.js.map +1 -1
- package/bin/src/commands/logout.js.map +1 -1
- package/bin/src/commands/owners.js.map +1 -1
- package/bin/src/commands/quota.js.map +1 -1
- package/bin/src/commands/recommend.js.map +1 -1
- package/bin/src/commands/risky.d.ts.map +1 -1
- package/bin/src/commands/risky.js.map +1 -1
- package/bin/src/commands/setup.js.map +1 -1
- package/bin/src/commands/signup.d.ts.map +1 -1
- package/bin/src/commands/signup.js.map +1 -1
- package/bin/src/commands/undo.js.map +1 -1
- package/bin/src/commands/web.js.map +1 -1
- package/bin/src/discovery/config.d.ts.map +1 -1
- package/bin/src/discovery/config.js.map +1 -1
- package/bin/src/discovery/display.js.map +1 -1
- package/bin/src/discovery/messages.js.map +1 -1
- package/bin/src/discovery/signals.d.ts.map +1 -1
- package/bin/src/discovery/signals.js.map +1 -1
- package/bin/src/engine/agentEngine.d.ts.map +1 -1
- package/bin/src/engine/agentEngine.js +369 -33
- package/bin/src/engine/agentEngine.js.map +1 -1
- package/bin/src/engine/git.d.ts.map +1 -1
- package/bin/src/engine/git.js.map +1 -1
- package/bin/src/engine/llm.d.ts.map +1 -1
- package/bin/src/engine/llm.js +57 -6
- package/bin/src/engine/llm.js.map +1 -1
- package/bin/src/engine/verifier.d.ts.map +1 -1
- package/bin/src/engine/verifier.js.map +1 -1
- package/bin/src/engine/web.d.ts.map +1 -1
- package/bin/src/engine/web.js.map +1 -1
- package/bin/src/index.js +4 -4
- package/bin/src/index.js.map +1 -1
- package/bin/src/server/server.js.map +1 -1
- package/bin/src/utils/auth.d.ts.map +1 -1
- package/bin/src/utils/auth.js.map +1 -1
- package/bin/src/utils/branding.js +7 -7
- package/bin/src/utils/branding.js.map +1 -1
- package/bin/src/utils/config.d.ts.map +1 -1
- package/bin/src/utils/config.js.map +1 -1
- package/bin/src/utils/email.d.ts.map +1 -1
- package/bin/src/utils/email.js.map +1 -1
- package/bin/src/utils/firebaseAuth.d.ts.map +1 -1
- package/bin/src/utils/firebaseAuth.js.map +1 -1
- package/bin/src/utils/holoseneAuth.d.ts.map +1 -1
- package/bin/src/utils/holoseneAuth.js.map +1 -1
- package/bin/src/utils/language.d.ts.map +1 -1
- package/bin/src/utils/language.js.map +1 -1
- package/bin/src/utils/markdown.js.map +1 -1
- package/bin/src/utils/updateCheck.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
styles.css,1786204910943,fe2eddb0ceda69648e303dd15d177d897a09709b9762c2642a77983e34bbcfe8
|
|
2
2
|
ScoutFavicon.png,1786186569805,41a9ca9abf7acd2976e78c72a72285b49cc0e64b2b5eeb2c2b88c69628fc618a
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
index.html,1788596486237,ec8226afef8a16537189dd912cd5adb786bd62fcd557860366c230a7a48f20b9
|
|
4
|
+
app.js,1788596486243,fd2d07d0c1332e6687680809c62f602842518c61bfb207dac80cdc5718315793
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# scout (FrontTerrain CLI v6.0.
|
|
1
|
+
# scout (FrontTerrain CLI v6.0.9)
|
|
2
2
|
|
|
3
3
|
**FrontTerrain (`scout`)** — The Autonomous AI Principal Software Engineer & Codebase Co-Pilot in your terminal.
|
|
4
4
|
|
|
@@ -20,38 +20,32 @@ npm install -g ft-scout@latest
|
|
|
20
20
|
|
|
21
21
|
Once installed, use `scout` or `ft` in any project directory:
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### Autonomous AI Agent & Interactive Sessions
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
# Autonomous Multi-Step AI Agent (Direct
|
|
26
|
+
# Autonomous Multi-Step AI Agent (Direct goal execution, context inspection, automated test/build verification)
|
|
27
27
|
scout agent "Build a responsive snake game in HTML and JS with smooth animations"
|
|
28
|
-
scout agent "Add
|
|
28
|
+
scout agent "Add persistent score tracking and level progression"
|
|
29
29
|
scout task "Fix typescript build errors in src/utils" -v "npm run build"
|
|
30
30
|
scout goal "Refactor database query logic" -y
|
|
31
31
|
|
|
32
32
|
# Interactive Scout Agent Session (Persistent chat loop with Slash Commands & full ReAct tool execution)
|
|
33
33
|
scout agent
|
|
34
|
+
|
|
34
35
|
# Inside session:
|
|
35
36
|
# Agent Prompt: Add dark mode toggle button
|
|
36
|
-
# Slash commands: /help /
|
|
37
|
+
# Slash commands: /help /tree /stats /test /explain /export /diff /undo /clear /scan /plan /history /exit
|
|
37
38
|
|
|
38
39
|
# Generate and create a new source code file
|
|
39
|
-
scout create src/utils/math.ts "Create helper functions for sum, average, and array chunking"
|
|
40
|
-
scout gen src/components/Header.tsx "Create a responsive React navigation header"
|
|
41
|
-
|
|
42
|
-
# Prompt-Driven Auto-Fix & Debugging
|
|
43
|
-
scout fix "Fix null pointer check in calculateTotal function"
|
|
44
|
-
scout fix -f src/sampleBug.ts "Handle optional prices defensively" -y
|
|
45
|
-
scout fix -i 1
|
|
40
|
+
scout agent --create src/utils/math.ts "Create helper functions for sum, average, and array chunking"
|
|
46
41
|
|
|
47
42
|
# Run terminal/shell commands with automated AI error diagnosis & self-healing
|
|
48
|
-
scout run npm test
|
|
49
|
-
scout
|
|
50
|
-
scout run python main.py
|
|
43
|
+
scout agent --run npm test
|
|
44
|
+
scout agent --run tsc
|
|
51
45
|
|
|
52
|
-
#
|
|
53
|
-
scout
|
|
54
|
-
scout
|
|
46
|
+
# Feasibility roadmap & bug scan
|
|
47
|
+
scout agent --scan
|
|
48
|
+
scout agent --plan "Add rate limiting to API endpoints"
|
|
55
49
|
|
|
56
50
|
# Revert Scout's last action & restore backed-up file contents
|
|
57
51
|
scout undo
|
|
@@ -71,23 +65,17 @@ scout init [repoUrl] -l hi
|
|
|
71
65
|
scout brief
|
|
72
66
|
|
|
73
67
|
# Bug & code quality scan report (read-only)
|
|
74
|
-
scout
|
|
68
|
+
scout risky
|
|
75
69
|
|
|
76
|
-
#
|
|
77
|
-
scout
|
|
70
|
+
# Security & dependency / supply-chain audit
|
|
71
|
+
scout audit
|
|
78
72
|
|
|
79
73
|
# Architecture, performance, and DSA-level suggestions
|
|
80
74
|
scout recommend
|
|
81
75
|
|
|
82
|
-
# Security & dependency / supply-chain audit
|
|
83
|
-
scout audit
|
|
84
|
-
|
|
85
76
|
# Show knowledge holders of a specific directory or file (from git history)
|
|
86
77
|
scout owners <path>
|
|
87
78
|
|
|
88
|
-
# Show a code fragility map based on churn and hotfixes
|
|
89
|
-
scout risky
|
|
90
|
-
|
|
91
79
|
# Live internet search for live web context & up-to-date documentation
|
|
92
80
|
scout search "Next.js 15 App Router"
|
|
93
81
|
scout web "Tailwind CSS v4" --ask --lang french
|
|
@@ -101,17 +89,52 @@ scout upgrade
|
|
|
101
89
|
|
|
102
90
|
---
|
|
103
91
|
|
|
104
|
-
##
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
92
|
+
## 🛠️ Scout Autonomous ReAct Tools (14 Tools Available)
|
|
93
|
+
|
|
94
|
+
| Tool | Description |
|
|
95
|
+
|---|---|
|
|
96
|
+
| `read_file` | Read content & line ranges of workspace files |
|
|
97
|
+
| `write_file` | Create new files or overwrite existing source code |
|
|
98
|
+
| `edit_file` | Search & replace exact target code snippets |
|
|
99
|
+
| `multi_edit_file` | Apply batch snippet replacements in a single atomic tool call |
|
|
100
|
+
| `run_command` | Execute live terminal commands (`npm test`, `tsc`, `pytest`) |
|
|
101
|
+
| `tree_view` | Generate visual ASCII directory tree structures for workspace paths |
|
|
102
|
+
| `file_info` | Get file metadata, exact line counts, size, & modification timestamps |
|
|
103
|
+
| `grep_search` | String/regex pattern search across entire codebase |
|
|
104
|
+
| `glob_search` | Filter workspace files by file glob patterns |
|
|
105
|
+
| `fetch_url` | Fetch web API documentation, specs, or external web URLs |
|
|
106
|
+
| `git_diff` | Query uncommitted workspace git diff directly inside execution loop |
|
|
107
|
+
| `ask_user` | Request missing secret credentials or API keys |
|
|
108
|
+
| `task_completed` | Conclude autonomous goal execution with structured teardown report |
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## 🚀 Interactive Slash Commands in Session
|
|
113
|
+
|
|
114
|
+
Inside an active `scout agent` interactive session, type any slash command to trigger agent actions:
|
|
115
|
+
|
|
116
|
+
- `/help` — Display comprehensive guide to all 14 tools and interactive slash commands.
|
|
117
|
+
- `/tree [dir]` — Render an interactive visual directory tree of any workspace folder.
|
|
118
|
+
- `/status` or `/stats` — View real-time session telemetry (steps executed, tool call count, modified files, elapsed time, branch info).
|
|
119
|
+
- `/test [cmd]` — Auto-detect and run project verification test suite directly inside session context.
|
|
120
|
+
- `/explain <file>` — Request a deep architectural breakdown and code explanation of a specific file.
|
|
121
|
+
- `/export` or `/save-session` — Export full session report and action history to `.ft/session-<timestamp>.md`.
|
|
122
|
+
- `/diff` — Display colorized git diff of uncommitted workspace changes.
|
|
123
|
+
- `/clear` or `/compact` — Clear session conversation context window.
|
|
124
|
+
- `/undo` — Instant 1-command revert of file modifications applied by Scout.
|
|
125
|
+
- `/history` — View recent Scout action logs.
|
|
126
|
+
- `/exit` — Quit Scout Agent session gracefully.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 🌟 Overhauled Features & Performance
|
|
131
|
+
|
|
132
|
+
- **High-Agency Multi-File Scaffolding**: Automatically creates, implements, tests, and verifies multi-file codebases from scratch.
|
|
133
|
+
- **Atomic Multi-Snippet Editing (`multi_edit_file`)**: Executes multiple code replacements in a single turn for complex multi-point refactoring.
|
|
134
|
+
- **Session Telemetry & Analytics**: Live step counter, tool call counter, and elapsed time estimation during ReAct loop execution.
|
|
135
|
+
- **Automated Verification & Self-Healing**: Validates JS, TS, Python, Rust, Go, JSON, and embedded `<script>` HTML tags. Auto-diagnoses compiler errors and applies self-healing code fixes before finishing.
|
|
136
|
+
- **Post-Execution Review Menu**: Choose from **Keep Changes**, **Run Verification Tests**, **Create Pull Request**, **Export Session Report**, or **Revert Changes** after goal completion.
|
|
137
|
+
- **1-Command Rollback (`scout undo`)**: Every file modification is backed up with timestamped history for zero-risk experimentation.
|
|
115
138
|
|
|
116
139
|
---
|
|
117
140
|
|
package/bin/ft.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["agent.ts"],"names":[],"mappings":"AA6BA,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC;CACvB;AAKD,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,QAIpD;AAED,wBAAgB,cAAc,IAAI,YAAY,EAAE,CAO/C;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAA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