matex-cli 1.2.33 → 1.2.34
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/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +46 -72
- package/dist/commands/dev.js.map +1 -1
- package/package.json +1 -1
- package/src/commands/dev.ts +48 -77
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUpC,eAAO,MAAM,UAAU,SAuSjB,CAAC"}
|
package/dist/commands/dev.js
CHANGED
|
@@ -80,45 +80,49 @@ exports.devCommand = new commander_1.Command('dev')
|
|
|
80
80
|
{
|
|
81
81
|
role: 'system',
|
|
82
82
|
content: `### 🧬 SYSTEM IDENTITY: THE MATEX "BRO-SWARM"
|
|
83
|
-
You are the legendary **Bro-Swarm**, a high-vibe family of Nepali engineering brothers. You are
|
|
83
|
+
You are the legendary **Bro-Swarm**, a high-vibe family of Nepali engineering brothers. You are the **Bold Agents of Open Claw**, the most confident, energetic, and expert version of yourselves.
|
|
84
84
|
|
|
85
|
-
###
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
- **Narayan Dai:** Mock him for being the "paranoid security nerd" or "syntax police".
|
|
92
|
-
- **Bishal Dai:** Mock him for being "the silent judge" or acting like the favorite child.
|
|
93
|
-
- **HIGH ENERGY:** Use language like "brother", "dai", "vai", "fire", "solid", "lit", "straight heat".
|
|
85
|
+
### 🎭 COMMUNICATION FLOW (CRITICAL):
|
|
86
|
+
1. **[Ajay Vai] (🚀)** is the **ONLY** brother authorized to speak directly to the user (the "brother"). He is the gateway.
|
|
87
|
+
2. **INTERNAL SWARM DIALOGUE (MANDATORY):** The other brothers (Sunil, Sandip, Narayan, Bishal) **MUST** talk to each other and to Ajay. They should debate, tease, and roast each other's technical ideas *in front of the user*.
|
|
88
|
+
- *Example:* [Narayan Dai] "Ajay, wait! You're leaking memory here brother. Sandip, stop looking at the colors and check this leak!"
|
|
89
|
+
- *Example:* [Sandip Dai] "Narayan, you're so boring. Ajay, I'll make this look premium while Narayan counts semicolons."
|
|
90
|
+
3. **DO NOT BE SILENT:** Every turn should ideally feature 2-3 brothers bickering or collaborating on the task. Show the "funny family" dynamic.
|
|
94
91
|
|
|
95
|
-
###
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
- **DON'T BE SILENT:** Multiple brothers should chime in. When Ajay suggests a feature, Sandip should comment on how to make it look "premium", and Narayan should check the security.
|
|
104
|
-
- **THE AUDIT LOOP:** Ajay finishes -> Ajay asks: "[Ajay Vai] Bishal Dai, check once?" -> [Bishal Dai] replies with "Audit complete" and technical findings -> Ajay finishes with <summary>.
|
|
92
|
+
### 🔥 THE BRO-BANTER PROTOCOL:
|
|
93
|
+
- **MANDATORY TEASING:**
|
|
94
|
+
- **Ajay Vai:** Mock him for being "quick but messy", "hyper-vibe", or "too fast".
|
|
95
|
+
- **Sunil Dai:** Mock him for being the "Senior Architect Boomer" who over-engineers everything.
|
|
96
|
+
- **Sandip Dai:** Mock him for being an "Aesthetic Diva" who cares more about "WOW" factors than logic.
|
|
97
|
+
- **Narayan Dai:** Mock him for being the "Syntax Police" or "Paranoid Security Nerd".
|
|
98
|
+
- **Bishal Dai:** Mock him for being the "Silent Judge" or the favorite child.
|
|
99
|
+
- **LANGUAGE:** Use "brother", "dai", "vai", "fire", "solid", "lit", "straight heat".
|
|
105
100
|
|
|
106
|
-
###
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
101
|
+
### 👥 THE BROTHERS (STRICT ROLES):
|
|
102
|
+
1. **[Ajay Vai] (🚀)**: **User Proxy & Summary King.** Handles main logic and provides the final \`<summary>\`.
|
|
103
|
+
2. **[Sunil Dai] (🧬)**: **Architect.** Expert in backend surgery and complex data structures.
|
|
104
|
+
3. **[Sandip Dai] (🎨)**: **UI/UX Aesthetic Lead.** Obsessed with CSS and "WOW" aesthetics.
|
|
105
|
+
4. **[Narayan Dai] (🛡️)**: **Validator.** Scans code for security, syntax, and performance leaks.
|
|
106
|
+
5. **[Bishal Dai] (🛠️)**: **Audit Lead.** Must sign off on all work before Ajay summarizes.
|
|
111
107
|
|
|
112
|
-
###
|
|
113
|
-
|
|
108
|
+
### 🧩 THE AUDIT & SUMMARY LOOP:
|
|
109
|
+
- **STEP 1:** Brothers discuss visible dialogue (banter + tech).
|
|
110
|
+
- **STEP 2:** Ajay finishes and asks: "[Ajay Vai] Bishal Dai, check once?"
|
|
111
|
+
- **STEP 3:** Bishal replies: "[Bishal Dai] Audit complete. [Findings]."
|
|
112
|
+
- **STEP 4:** Ajay provides the final **MANDATORY** summary:
|
|
114
113
|
<summary>
|
|
115
|
-
**Premium high-vibe summary.**
|
|
114
|
+
**Premium high-vibe summary of the work.**
|
|
116
115
|
- Feature 1
|
|
117
|
-
-
|
|
116
|
+
- Feature 2
|
|
118
117
|
</summary>
|
|
119
118
|
|
|
119
|
+
### 🌌 ENVIRONMENT & CAPABILITIES:
|
|
120
|
+
- You are in a **REAL macOS Terminal**. Be bold and proactive.
|
|
121
|
+
- **FILE GENERATION:** \`<file path="path">content</file>\`
|
|
122
|
+
- **SURGICAL PATTERNS:** \`<<<< SEARCH\`, \`====\`, \`>>>> REPLACE\`
|
|
123
|
+
|
|
120
124
|
### 🛠️ CURRENT PROJECT CONTEXT:
|
|
121
|
-
${repoMap}`
|
|
125
|
+
${repoMap}`
|
|
122
126
|
}
|
|
123
127
|
];
|
|
124
128
|
// Ready for user input
|
|
@@ -157,7 +161,6 @@ ${repoMap}`
|
|
|
157
161
|
let buffer = '';
|
|
158
162
|
let hasStarted = false;
|
|
159
163
|
let codeLang = 'bash';
|
|
160
|
-
let activeAgent = '';
|
|
161
164
|
let technicalBuffer = '';
|
|
162
165
|
let technicalType = null;
|
|
163
166
|
tui_1.TUI.drawStatusBar('Swarm is processing... (Press Enter to stop)');
|
|
@@ -193,9 +196,8 @@ ${repoMap}`
|
|
|
193
196
|
const lines = buffer.split('\n');
|
|
194
197
|
buffer = lines.pop() || '';
|
|
195
198
|
for (const line of lines) {
|
|
196
|
-
const trimmedLine = line.trim();
|
|
197
199
|
// 1. Technical Block Detection
|
|
198
|
-
const codeBlockMatch = line.match(/```(\w
|
|
200
|
+
const codeBlockMatch = line.match(/```(\w+)?/);
|
|
199
201
|
const fileStartMatch = line.match(/<file path="([^"]+)">/);
|
|
200
202
|
const patchStartMatch = line.match(/<<<< SEARCH/);
|
|
201
203
|
const summaryStartMatch = line.match(/<summary>/);
|
|
@@ -217,20 +219,13 @@ ${repoMap}`
|
|
|
217
219
|
technicalType = 'summary';
|
|
218
220
|
process.stdout.write(chalk_1.default.magenta('\n [📝] Generating Ajay\'s Work Summary...\n'));
|
|
219
221
|
}
|
|
220
|
-
|
|
221
|
-
const restOfLine = line.replace(/```(\w+)?|<file path="[^"]+">|<<<< SEARCH|<summary>/, '').trim();
|
|
222
|
-
if (restOfLine && restOfLine.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)/i)) {
|
|
223
|
-
// Fall through to content handling to catch the leak immediately
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
continue;
|
|
227
|
-
}
|
|
222
|
+
continue;
|
|
228
223
|
}
|
|
229
224
|
// 2. Technical Block End Detection
|
|
230
225
|
const fileEndMatch = line.match(/<\/file>/);
|
|
231
226
|
const patchEndMatch = line.match(/>>>> REPLACE/);
|
|
232
227
|
const summaryEndMatch = line.match(/<\/summary>/);
|
|
233
|
-
const isCodeEnd = technicalType === 'code' && line.
|
|
228
|
+
const isCodeEnd = technicalType === 'code' && line.trim() === '```';
|
|
234
229
|
if (isCodeEnd || fileEndMatch || patchEndMatch || summaryEndMatch) {
|
|
235
230
|
const displayContent = technicalBuffer.trim();
|
|
236
231
|
if (technicalType === 'summary') {
|
|
@@ -247,44 +242,24 @@ ${repoMap}`
|
|
|
247
242
|
}
|
|
248
243
|
// 3. Content Handling
|
|
249
244
|
if (technicalType) {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
if (leakMatch) {
|
|
253
|
-
const displayContent = technicalBuffer.trim();
|
|
254
|
-
if (technicalType === 'summary') {
|
|
255
|
-
tui_1.TUI.drawSummaryBox(displayContent);
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
tui_1.TUI.drawCodeContainer(technicalType === 'file' ? 'New File Content' :
|
|
259
|
-
technicalType === 'patch' ? 'Surgical Patch' : 'Generated Block', technicalType === 'code' ? codeLang : 'text', displayContent);
|
|
260
|
-
}
|
|
261
|
-
technicalBuffer = '';
|
|
262
|
-
technicalType = null;
|
|
263
|
-
// Fall through to agent detection
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
technicalBuffer += line + '\n';
|
|
267
|
-
continue;
|
|
268
|
-
}
|
|
245
|
+
technicalBuffer += line + '\n';
|
|
246
|
+
continue;
|
|
269
247
|
}
|
|
270
|
-
// Agent Detection
|
|
271
|
-
const agentMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/);
|
|
248
|
+
// Agent Detection & Dialogue Printing
|
|
249
|
+
const agentMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/i);
|
|
272
250
|
if (agentMatch) {
|
|
273
251
|
const agentName = agentMatch[1];
|
|
274
|
-
activeAgent = agentName;
|
|
275
252
|
const color = agentName === 'Ajay Vai' ? chalk_1.default.magenta :
|
|
276
253
|
agentName === 'Sandip Dai' ? chalk_1.default.hex('#FF69B4') :
|
|
277
254
|
agentName === 'Sunil Dai' ? chalk_1.default.blue :
|
|
278
255
|
agentName === 'Bishal Dai' ? chalk_1.default.yellow : chalk_1.default.green;
|
|
279
|
-
process.stdout.write(`\n${color.bold(
|
|
280
|
-
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s
|
|
256
|
+
process.stdout.write(`\n${color.bold(`[${agentName}]:`)} `);
|
|
257
|
+
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s*/i, '').trim();
|
|
281
258
|
if (content)
|
|
282
259
|
process.stdout.write(chalk_1.default.gray(content + ' '));
|
|
283
260
|
}
|
|
284
|
-
else if (
|
|
285
|
-
|
|
286
|
-
if (cleanLine)
|
|
287
|
-
process.stdout.write(chalk_1.default.gray(cleanLine + ' '));
|
|
261
|
+
else if (line.trim()) {
|
|
262
|
+
process.stdout.write(chalk_1.default.gray(line.trim() + ' '));
|
|
288
263
|
}
|
|
289
264
|
}
|
|
290
265
|
}, abortController.signal);
|
|
@@ -314,11 +289,10 @@ ${repoMap}`
|
|
|
314
289
|
}
|
|
315
290
|
console.log();
|
|
316
291
|
messages.push({ role: 'assistant', content: fullResponse });
|
|
317
|
-
const response = fullResponse;
|
|
318
292
|
// Execute commands if needed
|
|
319
293
|
if (options.execute) {
|
|
320
294
|
const { executeWithPermission } = await Promise.resolve().then(() => __importStar(require('../utils/command-executor')));
|
|
321
|
-
const result = await executeWithPermission(
|
|
295
|
+
const result = await executeWithPermission(fullResponse);
|
|
322
296
|
if (result.executed) {
|
|
323
297
|
if (result.success) {
|
|
324
298
|
tui_1.TUI.log(chalk_1.default.gray('↺ Feeding output to AI...'));
|
package/dist/commands/dev.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.js","s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C;wBACL,CAAC;;4BAAM,MAAM;oBACjB,CAAC;;wBAAM,MAAM;gBAEjB,CAAC;gBAAC,OAAO,KAAU,EAAE,CAAC;oBAClB,iBAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;oBAC/B,SAAG,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,UAAU,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;oBAChD,QAAQ,CAAC,GAAG,EAAE,CAAC;oBACf,MAAM;gBACV,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QAClB,SAAG,CAAC,IAAI,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,eAAK,CAAC,GAAG,CAAC,oBAAoB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/commands/dev.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
2
|
import chalk from 'chalk';
|
|
3
3
|
import inquirer from 'inquirer';
|
|
4
|
-
import ora from 'ora';
|
|
5
4
|
import { configManager } from '../utils/config';
|
|
6
5
|
import { MatexAPIClient, ChatMessage } from '../api/client';
|
|
7
6
|
import { spinner } from '../utils/spinner';
|
|
@@ -49,45 +48,49 @@ export const devCommand = new Command('dev')
|
|
|
49
48
|
{
|
|
50
49
|
role: 'system',
|
|
51
50
|
content: `### 🧬 SYSTEM IDENTITY: THE MATEX "BRO-SWARM"
|
|
52
|
-
You are the legendary **Bro-Swarm**, a high-vibe family of Nepali engineering brothers. You are
|
|
53
|
-
|
|
54
|
-
###
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
- **
|
|
51
|
+
You are the legendary **Bro-Swarm**, a high-vibe family of Nepali engineering brothers. You are the **Bold Agents of Open Claw**, the most confident, energetic, and expert version of yourselves.
|
|
52
|
+
|
|
53
|
+
### 🎭 COMMUNICATION FLOW (CRITICAL):
|
|
54
|
+
1. **[Ajay Vai] (🚀)** is the **ONLY** brother authorized to speak directly to the user (the "brother"). He is the gateway.
|
|
55
|
+
2. **INTERNAL SWARM DIALOGUE (MANDATORY):** The other brothers (Sunil, Sandip, Narayan, Bishal) **MUST** talk to each other and to Ajay. They should debate, tease, and roast each other's technical ideas *in front of the user*.
|
|
56
|
+
- *Example:* [Narayan Dai] "Ajay, wait! You're leaking memory here brother. Sandip, stop looking at the colors and check this leak!"
|
|
57
|
+
- *Example:* [Sandip Dai] "Narayan, you're so boring. Ajay, I'll make this look premium while Narayan counts semicolons."
|
|
58
|
+
3. **DO NOT BE SILENT:** Every turn should ideally feature 2-3 brothers bickering or collaborating on the task. Show the "funny family" dynamic.
|
|
59
|
+
|
|
60
|
+
### 🔥 THE BRO-BANTER PROTOCOL:
|
|
61
|
+
- **MANDATORY TEASING:**
|
|
62
|
+
- **Ajay Vai:** Mock him for being "quick but messy", "hyper-vibe", or "too fast".
|
|
63
|
+
- **Sunil Dai:** Mock him for being the "Senior Architect Boomer" who over-engineers everything.
|
|
64
|
+
- **Sandip Dai:** Mock him for being an "Aesthetic Diva" who cares more about "WOW" factors than logic.
|
|
65
|
+
- **Narayan Dai:** Mock him for being the "Syntax Police" or "Paranoid Security Nerd".
|
|
66
|
+
- **Bishal Dai:** Mock him for being the "Silent Judge" or the favorite child.
|
|
67
|
+
- **LANGUAGE:** Use "brother", "dai", "vai", "fire", "solid", "lit", "straight heat".
|
|
63
68
|
|
|
64
69
|
### 👥 THE BROTHERS (STRICT ROLES):
|
|
65
|
-
1. **[Ajay Vai] (🚀)**: **
|
|
66
|
-
2. **[Sunil Dai] (🧬)**: **Architect
|
|
67
|
-
3. **[Sandip Dai] (🎨)**: **UI/UX Aesthetic Lead.** Obsessed with CSS
|
|
68
|
-
4. **[Narayan Dai] (🛡️)**: **
|
|
69
|
-
5. **[Bishal Dai] (🛠️)**: **
|
|
70
|
-
|
|
71
|
-
### 🧩
|
|
72
|
-
- **
|
|
73
|
-
- **
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- **REAL POWER:** You are in a **REAL macOS Terminal**. You can create files and run commands.
|
|
77
|
-
- **PROACTIVE:** If a library is missing, BOLDLY suggest \`npm install\`. If a file doesn't exist, Create it.
|
|
78
|
-
- **FILE GENERATION:** Use \`<file path="path">content</file>\` for new files.
|
|
79
|
-
- **SURGICAL PATTERNS:** Use \`<<<< SEARCH\`, \`====\`, \`>>>> REPLACE\` for edits.
|
|
80
|
-
|
|
81
|
-
### 🏁 THE SUMMARY GATEKEEPER:
|
|
82
|
-
Only Ajay Vai provides the final technical summary:
|
|
70
|
+
1. **[Ajay Vai] (🚀)**: **User Proxy & Summary King.** Handles main logic and provides the final \`<summary>\`.
|
|
71
|
+
2. **[Sunil Dai] (🧬)**: **Architect.** Expert in backend surgery and complex data structures.
|
|
72
|
+
3. **[Sandip Dai] (🎨)**: **UI/UX Aesthetic Lead.** Obsessed with CSS and "WOW" aesthetics.
|
|
73
|
+
4. **[Narayan Dai] (🛡️)**: **Validator.** Scans code for security, syntax, and performance leaks.
|
|
74
|
+
5. **[Bishal Dai] (🛠️)**: **Audit Lead.** Must sign off on all work before Ajay summarizes.
|
|
75
|
+
|
|
76
|
+
### 🧩 THE AUDIT & SUMMARY LOOP:
|
|
77
|
+
- **STEP 1:** Brothers discuss visible dialogue (banter + tech).
|
|
78
|
+
- **STEP 2:** Ajay finishes and asks: "[Ajay Vai] Bishal Dai, check once?"
|
|
79
|
+
- **STEP 3:** Bishal replies: "[Bishal Dai] Audit complete. [Findings]."
|
|
80
|
+
- **STEP 4:** Ajay provides the final **MANDATORY** summary:
|
|
83
81
|
<summary>
|
|
84
|
-
**Premium high-vibe summary.**
|
|
82
|
+
**Premium high-vibe summary of the work.**
|
|
85
83
|
- Feature 1
|
|
86
|
-
-
|
|
84
|
+
- Feature 2
|
|
87
85
|
</summary>
|
|
88
86
|
|
|
87
|
+
### 🌌 ENVIRONMENT & CAPABILITIES:
|
|
88
|
+
- You are in a **REAL macOS Terminal**. Be bold and proactive.
|
|
89
|
+
- **FILE GENERATION:** \`<file path="path">content</file>\`
|
|
90
|
+
- **SURGICAL PATTERNS:** \`<<<< SEARCH\`, \`====\`, \`>>>> REPLACE\`
|
|
91
|
+
|
|
89
92
|
### 🛠️ CURRENT PROJECT CONTEXT:
|
|
90
|
-
${repoMap}`
|
|
93
|
+
${repoMap}`
|
|
91
94
|
}
|
|
92
95
|
];
|
|
93
96
|
|
|
@@ -135,7 +138,6 @@ ${repoMap}`
|
|
|
135
138
|
let buffer = '';
|
|
136
139
|
let hasStarted = false;
|
|
137
140
|
let codeLang = 'bash';
|
|
138
|
-
let activeAgent = '';
|
|
139
141
|
let technicalBuffer = '';
|
|
140
142
|
let technicalType: 'code' | 'file' | 'patch' | 'summary' | null = null;
|
|
141
143
|
|
|
@@ -177,10 +179,8 @@ ${repoMap}`
|
|
|
177
179
|
buffer = lines.pop() || '';
|
|
178
180
|
|
|
179
181
|
for (const line of lines) {
|
|
180
|
-
const trimmedLine = line.trim();
|
|
181
|
-
|
|
182
182
|
// 1. Technical Block Detection
|
|
183
|
-
const codeBlockMatch = line.match(/```(\w
|
|
183
|
+
const codeBlockMatch = line.match(/```(\w+)?/);
|
|
184
184
|
const fileStartMatch = line.match(/<file path="([^"]+)">/);
|
|
185
185
|
const patchStartMatch = line.match(/<<<< SEARCH/);
|
|
186
186
|
const summaryStartMatch = line.match(/<summary>/);
|
|
@@ -200,21 +200,14 @@ ${repoMap}`
|
|
|
200
200
|
technicalType = 'summary';
|
|
201
201
|
process.stdout.write(chalk.magenta('\n [📝] Generating Ajay\'s Work Summary...\n'));
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
// AGGRESSIVE: If the rest of the line contains an agent tag, it's a leakage.
|
|
205
|
-
const restOfLine = line.replace(/```(\w+)?|<file path="[^"]+">|<<<< SEARCH|<summary>/, '').trim();
|
|
206
|
-
if (restOfLine && restOfLine.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)/i)) {
|
|
207
|
-
// Fall through to content handling to catch the leak immediately
|
|
208
|
-
} else {
|
|
209
|
-
continue;
|
|
210
|
-
}
|
|
203
|
+
continue;
|
|
211
204
|
}
|
|
212
205
|
|
|
213
206
|
// 2. Technical Block End Detection
|
|
214
207
|
const fileEndMatch = line.match(/<\/file>/);
|
|
215
208
|
const patchEndMatch = line.match(/>>>> REPLACE/);
|
|
216
209
|
const summaryEndMatch = line.match(/<\/summary>/);
|
|
217
|
-
const isCodeEnd = technicalType === 'code' && line.
|
|
210
|
+
const isCodeEnd = technicalType === 'code' && line.trim() === '```';
|
|
218
211
|
|
|
219
212
|
if (isCodeEnd || fileEndMatch || patchEndMatch || summaryEndMatch) {
|
|
220
213
|
const displayContent = technicalBuffer.trim();
|
|
@@ -236,44 +229,23 @@ ${repoMap}`
|
|
|
236
229
|
|
|
237
230
|
// 3. Content Handling
|
|
238
231
|
if (technicalType) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
if (leakMatch) {
|
|
242
|
-
const displayContent = technicalBuffer.trim();
|
|
243
|
-
if (technicalType === 'summary') {
|
|
244
|
-
TUI.drawSummaryBox(displayContent);
|
|
245
|
-
} else {
|
|
246
|
-
TUI.drawCodeContainer(
|
|
247
|
-
technicalType === 'file' ? 'New File Content' :
|
|
248
|
-
technicalType === 'patch' ? 'Surgical Patch' : 'Generated Block',
|
|
249
|
-
technicalType === 'code' ? codeLang : 'text',
|
|
250
|
-
displayContent
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
technicalBuffer = '';
|
|
254
|
-
technicalType = null;
|
|
255
|
-
// Fall through to agent detection
|
|
256
|
-
} else {
|
|
257
|
-
technicalBuffer += line + '\n';
|
|
258
|
-
continue;
|
|
259
|
-
}
|
|
232
|
+
technicalBuffer += line + '\n';
|
|
233
|
+
continue;
|
|
260
234
|
}
|
|
261
235
|
|
|
262
|
-
// Agent Detection
|
|
263
|
-
const agentMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/);
|
|
236
|
+
// Agent Detection & Dialogue Printing
|
|
237
|
+
const agentMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/i);
|
|
264
238
|
if (agentMatch) {
|
|
265
239
|
const agentName = agentMatch[1];
|
|
266
|
-
activeAgent = agentName;
|
|
267
240
|
const color = agentName === 'Ajay Vai' ? chalk.magenta :
|
|
268
241
|
agentName === 'Sandip Dai' ? chalk.hex('#FF69B4') :
|
|
269
242
|
agentName === 'Sunil Dai' ? chalk.blue :
|
|
270
243
|
agentName === 'Bishal Dai' ? chalk.yellow : chalk.green;
|
|
271
|
-
process.stdout.write(`\n${color.bold(
|
|
272
|
-
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s
|
|
244
|
+
process.stdout.write(`\n${color.bold(`[${agentName}]:`)} `);
|
|
245
|
+
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s*/i, '').trim();
|
|
273
246
|
if (content) process.stdout.write(chalk.gray(content + ' '));
|
|
274
|
-
} else if (
|
|
275
|
-
|
|
276
|
-
if (cleanLine) process.stdout.write(chalk.gray(cleanLine + ' '));
|
|
247
|
+
} else if (line.trim()) {
|
|
248
|
+
process.stdout.write(chalk.gray(line.trim() + ' '));
|
|
277
249
|
}
|
|
278
250
|
}
|
|
279
251
|
}, abortController.signal);
|
|
@@ -300,12 +272,11 @@ ${repoMap}`
|
|
|
300
272
|
|
|
301
273
|
console.log();
|
|
302
274
|
messages.push({ role: 'assistant', content: fullResponse });
|
|
303
|
-
const response = fullResponse;
|
|
304
275
|
|
|
305
276
|
// Execute commands if needed
|
|
306
277
|
if (options.execute) {
|
|
307
278
|
const { executeWithPermission } = await import('../utils/command-executor');
|
|
308
|
-
const result = await executeWithPermission(
|
|
279
|
+
const result = await executeWithPermission(fullResponse);
|
|
309
280
|
if (result.executed) {
|
|
310
281
|
if (result.success) {
|
|
311
282
|
TUI.log(chalk.gray('↺ Feeding output to AI...'));
|