ft-scout 2.0.8 → 2.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/README.md +13 -13
- package/bin/src/index.js +4 -4
- package/bin/src/utils/branding.js +1 -1
- package/package.json +1 -1
- package/.ft/config.json +0 -3
- package/.ft/context.json +0 -18
package/README.md
CHANGED
|
@@ -7,40 +7,40 @@ FrontTerrain — The Onboarding Co-Pilot for New Codebases.
|
|
|
7
7
|
Install globally using npm:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g ft-scout
|
|
10
|
+
npm install -g ft-scout@latest
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
Once installed, you can use the `ft` or `scout` commands.
|
|
15
|
+
Once installed, you can use the `ft.cmd` or `scout` commands.
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# Initialize learning on a local or remote repository
|
|
19
|
-
|
|
19
|
+
scout init [repoUrl]
|
|
20
20
|
|
|
21
21
|
# Multilingual AI teardowns & onboarding summaries (e.g. spanish, hindi, french, japanese, german, etc.)
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
scout init [repoUrl] --lang spanish
|
|
23
|
+
scout init [repoUrl] -l hi
|
|
24
24
|
|
|
25
25
|
# Interactive Q&A mode after indexing (with optional web search and custom language)
|
|
26
|
-
|
|
26
|
+
scout init --ask --web --lang ja
|
|
27
27
|
|
|
28
28
|
# Live interactive AI chat co-pilot (until Ctrl+C is pressed)
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
scout chat
|
|
30
|
+
scout chat --web --lang spanish
|
|
31
31
|
|
|
32
32
|
# Live internet search for live web context & up-to-date documentation
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
scout search "Next.js 15 App Router"
|
|
34
|
+
scout web "Tailwind CSS v4" --ask --lang french
|
|
35
35
|
|
|
36
36
|
# Show knowledge holders of a specific directory or file
|
|
37
|
-
|
|
37
|
+
scout owners <path>
|
|
38
38
|
|
|
39
39
|
# Show a code fragility map based on churn and hotfixes
|
|
40
|
-
|
|
40
|
+
scout risky
|
|
41
41
|
|
|
42
42
|
# Diagnose local setup, missing .env files, and internet connection
|
|
43
|
-
|
|
43
|
+
scout setup
|
|
44
44
|
|
|
45
45
|
# Check for updates and auto-upgrade Scout to the latest version
|
|
46
46
|
scout upgrade
|
package/bin/src/index.js
CHANGED
|
@@ -23,12 +23,12 @@ program
|
|
|
23
23
|
.name('scout')
|
|
24
24
|
.alias('ft')
|
|
25
25
|
.description('FrontTerrain — The Onboarding Co-Pilot for New Codebases')
|
|
26
|
-
.version('2.0.
|
|
26
|
+
.version('2.0.9');
|
|
27
27
|
// Header UI on execution with FrontTerrain proprietary logo & version auto-checker
|
|
28
28
|
program.hook('preAction', async (_thisCommand, actionCommand) => {
|
|
29
|
-
intro(renderBranding('2.0.
|
|
29
|
+
intro(renderBranding('2.0.9'));
|
|
30
30
|
if (actionCommand && actionCommand.name() !== 'upgrade') {
|
|
31
|
-
await checkForUpdates('2.0.
|
|
31
|
+
await checkForUpdates('2.0.9');
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
// Command definitions
|
|
@@ -159,7 +159,7 @@ program
|
|
|
159
159
|
.command('upgrade')
|
|
160
160
|
.description('Check for updates and auto-upgrade Scout to the latest version')
|
|
161
161
|
.action(async () => {
|
|
162
|
-
await checkForUpdates('2.0.
|
|
162
|
+
await checkForUpdates('2.0.9', true);
|
|
163
163
|
outro(chalk.cyan('Upgrade check complete.'));
|
|
164
164
|
});
|
|
165
165
|
program.parse(process.argv);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
export function renderBranding(version = '2.0.
|
|
2
|
+
export function renderBranding(version = '2.0.9') {
|
|
3
3
|
const logo = chalk.cyan.bold(' ███████╗████████╗') + ' ' + chalk.white.bold('███████╗██████╗ ██████╗ ██╗ ██╗████████╗') + '\n' +
|
|
4
4
|
chalk.cyan.bold(' ██╔════╝╚══██╔══╝') + ' ' + chalk.white.bold('██╔════╝██╔════╝██╔═══██╗██║ ██║╚══██╔══╝') + '\n' +
|
|
5
5
|
chalk.cyan.bold(' █████╗ ██║ ') + ' ' + chalk.white.bold('███████╗██║ ██║ ██║██║ ██║ ██║ ') + '\n' +
|
package/package.json
CHANGED
package/.ft/config.json
DELETED
package/.ft/context.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"projectName": "FT-CLI",
|
|
3
|
-
"targetDir": "C:\\Users\\rishi\\FT-CLI",
|
|
4
|
-
"stack": "- **Core Capability**: Ye project ek aisa platform provide karta hai jo naye codebases ke onboarding ko asaan banata hai, aur developers ko unke projects ke andar navigate karne mein madad karta hai. Iska core capability hai AI-powered git integration jo code review aur analysis ko automate karta hai. \n- **Architecture & Stack**: Is project ki architecture node.js par based hai, aur isme commander, chalk, aur openai jaise libraries ka use kiya gaya hai. Iska tech stack bahut robust hai aur scalable design pattern follow karta hai. \n- **Architectural Moat**: Is project ki unique advantage hai uska AI-powered git integration, jo developers ko real-time code review aur analysis provide karta hai, jisse unki productivity badh jati hai. Iska design pattern bahut modular hai, jisse new features ko easily integrate kiya ja sakta hai.",
|
|
5
|
-
"entryPoint": "bin/ft.js",
|
|
6
|
-
"painPoints": [
|
|
7
|
-
"⚡ [Dependency Management]: Is project ke dependencies bahut hain, jisse dependency management ek bada challenge ban sakta hai. Isse project ke maintenance aur scalability par bura asar pad sakta hai, aur iska solution hai ki dependencies ko regularly update karna chahiye aur redundant dependencies ko remove karna chahiye.",
|
|
8
|
-
"⚡ [Scalability]: Is project ki scalability ek bada challenge ho sakta hai, kyunki isme bahut saare complex operations hain, jaise ki AI-powered code review. Isse project ke performance par bura asar pad sakta hai, aur iska solution hai ki project ke architecture ko optimize karna chahiye aur cache layer implement karna chahiye.",
|
|
9
|
-
"⚡ [Security]: Is project ke security ek bada concern ho sakta hai, kyunki isme sensitive data jaise ki API keys aur database credentials hain. Isse project ke security par bura asar pad sakta hai, aur iska solution hai ki project ke security ko regularly audit karna chahiye aur secure protocols implement karna chahiye."
|
|
10
|
-
],
|
|
11
|
-
"readOrder": [
|
|
12
|
-
".env -> Ye file project ke environment variables ko store karta hai, jaise ki API keys aur database credentials, jo project ke execution ke liye zaroori hain. Is file ko pehle read karna chahiye taaki project ke context ko samajh sakein.",
|
|
13
|
-
"package.json -> Ye file project ke metadata ko store karta hai, jaise ki project ka naam, version, aur dependencies, jo project ke build aur deployment ke liye zaroori hain. Is file ko doosre number par read karna chahiye taaki project ke dependencies ko samajh sakein.",
|
|
14
|
-
"src/index.ts -> Ye file project ke core business logic ko store karta hai, jaise ki git integration aur AI-powered code review, jo project ke primary function ko define karta hai. Is file ko teesre number par read karna chahiye taaki project ke core logic ko samajh sakein."
|
|
15
|
-
],
|
|
16
|
-
"createdAt": "2026-08-03T15:08:19.224Z",
|
|
17
|
-
"language": "Hindi"
|
|
18
|
-
}
|