ft-scout 7.0.9 → 8.0.0
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 +25 -5
- package/bin/src/index.js +4 -4
- package/bin/src/utils/branding.js +1 -1
- package/package.json +1 -1
- package/web/app.js +2 -2
- package/web/styles.css +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# scout (FrontTerrain CLI
|
|
1
|
+
# scout (FrontTerrain CLI v8.0.0)
|
|
2
2
|
|
|
3
3
|
**FrontTerrain (`scout`)** — The Autonomous AI Principal Software Engineer & Codebase Co-Pilot in your terminal.
|
|
4
4
|
|
|
@@ -29,12 +29,17 @@ 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
|
+
# Select Interaction Mode: 💬 Text Interaction OR 🎙️ Audio Interaction (Voice STT + TTS)
|
|
36
|
+
# Force Voice Mode directly via CLI flag:
|
|
37
|
+
scout agent -V
|
|
38
|
+
scout agent --voice
|
|
39
|
+
|
|
35
40
|
# Inside session:
|
|
36
41
|
# Agent Prompt: Add dark mode toggle button
|
|
37
|
-
# Slash commands: /help /tree /stats /test /explain /export /diff /undo /clear /scan /plan /history /exit
|
|
42
|
+
# Slash commands: /help /scratchpad /voice /speak /tree /stats /test /explain /export /diff /undo /clear /scan /plan /history /exit
|
|
38
43
|
|
|
39
44
|
# Generate and create a new source code file
|
|
40
45
|
scout agent --create src/utils/math.ts "Create helper functions for sum, average, and array chunking"
|
|
@@ -89,7 +94,7 @@ scout upgrade
|
|
|
89
94
|
|
|
90
95
|
---
|
|
91
96
|
|
|
92
|
-
## Scout Autonomous ReAct Tools (
|
|
97
|
+
## Scout Autonomous ReAct Tools (18 Tools Available)
|
|
93
98
|
|
|
94
99
|
| Tool | Description |
|
|
95
100
|
|---|---|
|
|
@@ -108,15 +113,28 @@ scout upgrade
|
|
|
108
113
|
| `ask_user` | Request missing secret credentials or API keys |
|
|
109
114
|
| `open_app` | Launch or focus external applications (browser, terminal, editor, etc.) |
|
|
110
115
|
| `app_action` | Perform interactive actions & navigation inside opened app contexts |
|
|
116
|
+
| `agent_scratchpad` | Update, read, or clear agent working memory, step checklist, & notes (`.ft/scratchpad.md`) |
|
|
117
|
+
| `speak_text` | Read text phrases out loud using Text-to-Speech (TTS) voice synthesis |
|
|
111
118
|
| `task_completed` | Conclude autonomous goal execution with structured teardown report |
|
|
112
119
|
|
|
113
120
|
---
|
|
114
121
|
|
|
122
|
+
## Dual Interaction Modes (Text vs Audio)
|
|
123
|
+
|
|
124
|
+
When starting interactive sessions in `scout agent`, `scout init` (ask mode), or `scout search`, Scout presents a **2-Option Interaction Selector**:
|
|
125
|
+
1. **Text Interaction**: Standard prompt input -> Text response in terminal.
|
|
126
|
+
2. **Audio Interaction**: Voice command input via microphone Speech-to-Text (STT) -> Text response + Audio response spoken out loud via Text-to-Speech (TTS).
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
115
130
|
## Interactive Slash Commands in Session
|
|
116
131
|
|
|
117
132
|
Inside an active `scout agent` interactive session, type any slash command to trigger agent actions:
|
|
118
133
|
|
|
119
|
-
- `/help` — Display comprehensive guide to all
|
|
134
|
+
- `/help` — Display comprehensive guide to all 18 tools and interactive slash commands.
|
|
135
|
+
- `/scratchpad` — View active working memory plan & step checklist (`.ft/scratchpad.md`).
|
|
136
|
+
- `/voice` — Activate microphone Speech-to-Text (STT) listener to speak your prompt into CLI.
|
|
137
|
+
- `/speak <text>` — Read entered text out loud via Text-to-Speech (TTS) voice synthesis.
|
|
120
138
|
- `/tree [dir]` — Render an interactive visual directory tree of any workspace folder.
|
|
121
139
|
- `/status` or `/stats` — View real-time session telemetry (steps executed, tool call count, modified files, elapsed time, branch info).
|
|
122
140
|
- `/test [cmd]` — Auto-detect and run project verification test suite directly inside session context.
|
|
@@ -132,6 +150,8 @@ Inside an active `scout agent` interactive session, type any slash command to tr
|
|
|
132
150
|
|
|
133
151
|
## Overhauled Features & Performance
|
|
134
152
|
|
|
153
|
+
- **Working Memory Scratchpad (`.ft/scratchpad.md`)**: Maintains working memory notes, step-by-step checklists, and plan state across execution loops.
|
|
154
|
+
- **Native STT & TTS Voice Engine**: Micro-browser Web Speech API STT and OS native speech synthesis (PowerShell System.Speech on Windows, `say` on Mac) with zero extra API keys required.
|
|
135
155
|
- **High-Agency Multi-File Scaffolding**: Automatically creates, implements, tests, and verifies multi-file codebases from scratch.
|
|
136
156
|
- **Atomic Multi-Snippet Editing (`multi_edit_file`)**: Executes multiple code replacements in a single turn for complex multi-point refactoring.
|
|
137
157
|
- **App Control & Desktop Automation (`open_app`, `app_action`)**: Seamlessly launch, navigate, and automate external apps, web browsers, terminals, and code editors.
|
package/bin/src/index.js
CHANGED
|
@@ -32,13 +32,13 @@ program
|
|
|
32
32
|
.name('scout')
|
|
33
33
|
.alias('ft')
|
|
34
34
|
.description('FrontTerrain — The Onboarding Co-Pilot for New Codebases')
|
|
35
|
-
.version('
|
|
35
|
+
.version('8.0.0');
|
|
36
36
|
// Header UI on execution with FrontTerrain proprietary logo & version auto-checker
|
|
37
37
|
program.hook('preAction', async (_thisCommand, actionCommand) => {
|
|
38
|
-
intro(renderBranding('
|
|
38
|
+
intro(renderBranding('8.0.0'));
|
|
39
39
|
const cmdName = actionCommand ? actionCommand.name() : '';
|
|
40
40
|
if (cmdName !== 'upgrade') {
|
|
41
|
-
await checkForUpdates('
|
|
41
|
+
await checkForUpdates('8.0.0');
|
|
42
42
|
}
|
|
43
43
|
// Auth Guard: enforce authentication for all commands except login, signup, upgrade, help, dashboard, auth, status
|
|
44
44
|
const EXEMPT_COMMANDS = ['login', 'signin', 'signup', 'register', 'upgrade', 'help', 'dashboard', 'web-ui', 'gui', 'auth', 'status', 'quota', 'usage', 'credits'];
|
|
@@ -233,7 +233,7 @@ program
|
|
|
233
233
|
.command('upgrade')
|
|
234
234
|
.description('Check for updates and auto-upgrade Scout to the latest version')
|
|
235
235
|
.action(async () => {
|
|
236
|
-
await checkForUpdates('
|
|
236
|
+
await checkForUpdates('8.0.0', true);
|
|
237
237
|
outro(chalk.cyan('Upgrade check complete.'));
|
|
238
238
|
});
|
|
239
239
|
program
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
export function renderBranding(version = '
|
|
2
|
+
export function renderBranding(version = '8.0.0') {
|
|
3
3
|
const logo = chalk.cyan.bold(' ███████╗████████╗') + ' ' + chalk.cyan.bold('███████╗ ██████╗ ██████╗ ██╗ ██╗████████╗') + '\n' +
|
|
4
4
|
chalk.cyan.bold(' ██╔════╝╚══██╔══╝') + ' ' + chalk.cyan.bold('██╔════╝ ██╔════╝██╔═══██╗ ██║ ██║╚══██╔══╝') + '\n' +
|
|
5
5
|
chalk.cyan.bold(' █████╗ ██║ ') + ' ' + chalk.cyan.bold(' ███████╗ ██║ ██║ ██║ ██║ ██║ ██║ ') + '\n' +
|
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
|
-
FrontTerrain Scout — Multi-Page Application Engine
|
|
2
|
+
FrontTerrain Scout — Multi-Page Application Engine v8.0.0
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
const FIREBASE_CONFIG = {
|
|
@@ -452,7 +452,7 @@ function initTerminalSimulator() {
|
|
|
452
452
|
`;
|
|
453
453
|
} else if (lower.includes('status')) {
|
|
454
454
|
response.innerHTML = `
|
|
455
|
-
<span class="term-green">✔ Scout CLI Engine:
|
|
455
|
+
<span class="term-green">✔ Scout CLI Engine: v8.0.0 Online</span><br>
|
|
456
456
|
↳ User: <strong>${escapeHtml(state.user ? state.user.name : 'Guest Session')}</strong><br>
|
|
457
457
|
↳ Active Subscription: <strong>${escapeHtml(TIER_DETAILS[state.currentTier].name)}</strong><br>
|
|
458
458
|
↳ Credit Quota: <strong>${state.byokEnabled ? 'BYOK Mode (Unlimited)' : `${state.creditsUsed} / ${state.creditsTotal} Credits Used`}</strong><br>
|
package/web/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
|
-
FrontTerrain Scout — Design System & Visual Engine
|
|
2
|
+
FrontTerrain Scout — Design System & Visual Engine v8.0.0
|
|
3
3
|
Inspired by HappyRobot, Linear.app & Vercel aesthetics
|
|
4
4
|
========================================================================== */
|
|
5
5
|
|