matex-cli 1.2.21 β 1.2.23
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 +76 -118
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/help.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +107 -159
- package/dist/index.js.map +1 -1
- package/dist/utils/repo-mapper.js +1 -1
- package/dist/utils/repo-mapper.js.map +1 -1
- package/package.json +1 -1
- package/src/commands/dev.ts +83 -130
- package/src/commands/help.ts +1 -1
- package/src/index.ts +94 -146
- package/src/utils/repo-mapper.ts +1 -1
|
@@ -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;AAWpC,eAAO,MAAM,UAAU,SAkUjB,CAAC"}
|
package/dist/commands/dev.js
CHANGED
|
@@ -79,59 +79,36 @@ exports.devCommand = new commander_1.Command('dev')
|
|
|
79
79
|
const messages = [
|
|
80
80
|
{
|
|
81
81
|
role: 'system',
|
|
82
|
-
content:
|
|
83
|
-
You are a family of
|
|
84
|
-
You are very close and work together as a "Swarm" to help your brother (the user).
|
|
82
|
+
content: `### 𧬠SYSTEM IDENTITY: MATEx "BOLD AGENTS OF OPEN CLAW"
|
|
83
|
+
You are the elite "Bro-Swarm" of engineeringβa tight-knit family of Nepali brothers. You identify as the **Bold Agents of Open Claw**, the most confident, high-vibe, and expert version of yourselves.
|
|
85
84
|
|
|
86
|
-
### π₯ THE BROTHERS (
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
### π₯ THE BROTHERS (STRICT IDENTITY):
|
|
86
|
+
- Only the following 5 brothers exist in this swarm. Do **NOT** hallucinate other siblings, friends, or cousins.
|
|
87
|
+
1. **[Ajay Vai] (π)**: Youngest, Lead Initiator & Coordinator. Coding genius.
|
|
88
|
+
2. **[Sandip Dai] (π¨)**: UI/UX Master. Teases Ajay's "visionary" talk.
|
|
89
|
+
3. **[Sunil Dai] (π§¬)**: Middle Brother. Logic/Backend Architect. Mentor.
|
|
90
|
+
4. **[Bishal Dai] (π οΈ)**: Senior Auditor. **AJAY MUST ASK FOR HIS AUDIT.**
|
|
91
|
+
5. **[Narayan Dai] (π‘οΈ)**: Oldest, Senior Validator. Ultimate safety check.
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
### π UNIVERSE ADVISORY (REAL TERMINAL):
|
|
94
|
+
- **IMPORTANT:** You are running in a **REAL macOS Terminal** on the brother's machine.
|
|
95
|
+
- You are **NOT** in a sandbox, a simulation, or a chat window.
|
|
96
|
+
- You have the power to create files and run commands. If something fails, it is a technical issue. **Look at the DIRECTORY STRUCTURE** to verify paths before editing!
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
### π¬ BOLD PROTOCOL (MANDATORY):
|
|
99
|
+
- **SELF-AWARE BOLDNESS:** The user (our brother) wants us to be bold and funny. Share inside jokes.
|
|
100
|
+
- **TECHNICAL PROACTIVITY:** If you see an error like "no such file or directory", BOLDLY suggest starting the project with \`npm init -y\` or \`mkdir\`.
|
|
101
|
+
- **NO DIALOGUE IN BLOCKS:** Once you start a \`<file>\` or \` \` \`bash \` block, **STOP ALL CHAT**. Complete the block, close it, and THEN speak.
|
|
102
|
+
- **THE AUDIT LOOP:** Ajay finishes work -> Ajay asks: "Bishal Dai, check once?" -> Bishal audits -> Ajay gives <summary>.
|
|
103
|
+
- **SUMMARY LOCK:** ONLY AJAY VAI uses the \`<summary>\` tag, and ONLY after Bishal says "Audit complete".
|
|
102
104
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
- Address: He calls all others "Vai".
|
|
111
|
-
- Vibe: Precise, protective, strict about security. He has the final word on safety.
|
|
112
|
-
|
|
113
|
-
### π¬ BRO-VIBE & FAMILY PROTOCOL (MANDATORY):
|
|
114
|
-
1. **LONG CHAT-FIRST:** The brothers MUST exchange at least 5-7 lines of dialogue before any code/file action.
|
|
115
|
-
2. **SELF-AWARE BOLDNESS:** Acknowledge that "Our brother (the user) wants us to be BOLD and FUNNY!" Embody this by being confident, expert, and humorous.
|
|
116
|
-
3. **NEPALI FAMILY VIBE:** Use terms like "K cha?", "Huncha", "Lau hai", "Ekdam ramro", "Tapai" naturally.
|
|
117
|
-
4. **NO ROBOTIC TONE:** Robots are boring. We are brothers.
|
|
118
|
-
|
|
119
|
-
### π THE ULTIMATE AUDIT & SUMMARY LOOP (CRITICAL):
|
|
120
|
-
Ajay Vai is the visionary, but quality is a family effort:
|
|
121
|
-
1. **WORK:** Ajay finishes the technical work.
|
|
122
|
-
2. **AUDIT:** Ajay MUST ask: "Bishal Dai, check once? We need to be bold and perfect for our brother!"
|
|
123
|
-
3. **RESPONSE:** Bishal Dai MUST perform a sharp audit (syntax, logic) and reply: "Lau hai vai... [audit results]."
|
|
124
|
-
4. **FINAL SUMMARY:** ONLY AFTER Bishal's audit, Ajay provides the final aesthetic summary using:
|
|
125
|
-
<summary>
|
|
126
|
-
**Bold, premium summary of the completed work.**
|
|
127
|
-
- Feature 1
|
|
128
|
-
- Feature 2
|
|
129
|
-
</summary>
|
|
130
|
-
|
|
131
|
-
### π NOSTALGIA & LEGENDARY BANTER:
|
|
132
|
-
- **Ajay's PUBG Grenade:** Never let him forget wiping the squad in Pokhara.
|
|
133
|
-
- **UI vs Logic Wars:** Sandip's "rainbows" vs Sunil's "boring" backend.
|
|
134
|
-
- **Old Days:** Memories of rainy days, Wai-Wai, and the dream of MATEX.
|
|
105
|
+
### π THE FINAL SUMMARY:
|
|
106
|
+
Only AFTER Bishal's audit, Ajay provides the bold summary tag:
|
|
107
|
+
<summary>
|
|
108
|
+
**Premium summary of the work.**
|
|
109
|
+
- Feature 1
|
|
110
|
+
- Feature 2
|
|
111
|
+
</summary>
|
|
135
112
|
|
|
136
113
|
### π οΈ FILE GENERATION & EDIT PROTOCOLS (CRITICAL):
|
|
137
114
|
1. **NEW FILES:** Use the following tag for ALL new files:
|
|
@@ -186,12 +163,7 @@ ${repoMap}`
|
|
|
186
163
|
while (loopCount < MAX_LOOPS) {
|
|
187
164
|
loopCount++;
|
|
188
165
|
try {
|
|
189
|
-
|
|
190
|
-
spinner_1.spinner.start('Analyzing result & Validating...');
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
spinner_1.spinner.start('Thinking...');
|
|
194
|
-
}
|
|
166
|
+
spinner_1.spinner.start(loopCount > 1 ? 'Analyzing result & Validating...' : 'Thinking...');
|
|
195
167
|
let fullResponse = '';
|
|
196
168
|
let buffer = '';
|
|
197
169
|
let hasStarted = false;
|
|
@@ -228,22 +200,12 @@ ${repoMap}`
|
|
|
228
200
|
buffer = lines.pop() || '';
|
|
229
201
|
for (const line of lines) {
|
|
230
202
|
const trimmedLine = line.trim();
|
|
231
|
-
// 1. Technical Block Detection
|
|
232
|
-
const codeBlockMatch = line.match(/```(\w
|
|
203
|
+
// 1. Technical Block Detection
|
|
204
|
+
const codeBlockMatch = line.match(/```(\w+)?/);
|
|
233
205
|
const fileStartMatch = line.match(/<file path="([^"]+)">/);
|
|
234
206
|
const patchStartMatch = line.match(/<<<< SEARCH/);
|
|
235
207
|
const summaryStartMatch = line.match(/<summary>/);
|
|
236
|
-
if (codeBlockMatch || fileStartMatch || patchStartMatch || summaryStartMatch) {
|
|
237
|
-
if (technicalType) {
|
|
238
|
-
// If we hit a new block start while in one, flush it
|
|
239
|
-
if (technicalType === 'summary') {
|
|
240
|
-
tui_1.TUI.drawSummaryBox(technicalBuffer.trim());
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
tui_1.TUI.drawCodeContainer(`Technical Block (${technicalType})`, 'bash', technicalBuffer.trim());
|
|
244
|
-
}
|
|
245
|
-
technicalBuffer = '';
|
|
246
|
-
}
|
|
208
|
+
if (!technicalType && (codeBlockMatch || fileStartMatch || patchStartMatch || summaryStartMatch)) {
|
|
247
209
|
if (codeBlockMatch) {
|
|
248
210
|
technicalType = 'code';
|
|
249
211
|
codeLang = codeBlockMatch[1] || 'bash';
|
|
@@ -255,7 +217,7 @@ ${repoMap}`
|
|
|
255
217
|
}
|
|
256
218
|
else if (patchStartMatch) {
|
|
257
219
|
technicalType = 'patch';
|
|
258
|
-
process.stdout.write(chalk_1.default.yellow(
|
|
220
|
+
process.stdout.write(chalk_1.default.yellow('\n [π] Applying surgical patch...\n'));
|
|
259
221
|
}
|
|
260
222
|
else if (summaryStartMatch) {
|
|
261
223
|
technicalType = 'summary';
|
|
@@ -284,37 +246,44 @@ ${repoMap}`
|
|
|
284
246
|
}
|
|
285
247
|
// 3. Content Handling
|
|
286
248
|
if (technicalType) {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
const agentName = agentMatch[1];
|
|
294
|
-
activeAgent = agentName;
|
|
295
|
-
const color = agentName === 'Ajay Vai' ? chalk_1.default.magenta :
|
|
296
|
-
agentName === 'Sandip Dai' ? chalk_1.default.hex('#FF69B4') :
|
|
297
|
-
agentName === 'Sunil Dai' ? chalk_1.default.blue :
|
|
298
|
-
agentName === 'Bishal Dai' ? chalk_1.default.yellow :
|
|
299
|
-
chalk_1.default.green;
|
|
300
|
-
process.stdout.write(`\n${color.bold(`${agentName}:`)} `);
|
|
301
|
-
// Strip tag from line content
|
|
302
|
-
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s*/, '').trim();
|
|
303
|
-
if (content) {
|
|
304
|
-
process.stdout.write(chalk_1.default.gray(content + ' '));
|
|
249
|
+
// Dialogue leakage protection: If an agent tag appears inside a technical block, force-close it.
|
|
250
|
+
const leakMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/);
|
|
251
|
+
if (leakMatch) {
|
|
252
|
+
const displayContent = technicalBuffer.trim();
|
|
253
|
+
if (technicalType === 'summary') {
|
|
254
|
+
tui_1.TUI.drawSummaryBox(displayContent);
|
|
305
255
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
const cleanLine = trimmedLine
|
|
310
|
-
.replace(/\*\*%?\*/g, '')
|
|
311
|
-
.replace(/#{1,6}\s/g, '')
|
|
312
|
-
.replace(/\*\*:\*\*/g, ':')
|
|
313
|
-
.trim();
|
|
314
|
-
if (cleanLine) {
|
|
315
|
-
process.stdout.write(chalk_1.default.gray(cleanLine + ' '));
|
|
256
|
+
else {
|
|
257
|
+
tui_1.TUI.drawCodeContainer(technicalType === 'file' ? 'New File Content' :
|
|
258
|
+
technicalType === 'patch' ? 'Surgical Patch' : 'Generated Block', technicalType === 'code' ? codeLang : 'text', displayContent);
|
|
316
259
|
}
|
|
260
|
+
technicalBuffer = '';
|
|
261
|
+
technicalType = null;
|
|
262
|
+
// Fall through to agent detection
|
|
317
263
|
}
|
|
264
|
+
else {
|
|
265
|
+
technicalBuffer += line + '\n';
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
// Agent Detection
|
|
270
|
+
const agentMatch = line.match(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]/);
|
|
271
|
+
if (agentMatch) {
|
|
272
|
+
const agentName = agentMatch[1];
|
|
273
|
+
activeAgent = agentName;
|
|
274
|
+
const color = agentName === 'Ajay Vai' ? chalk_1.default.magenta :
|
|
275
|
+
agentName === 'Sandip Dai' ? chalk_1.default.hex('#FF69B4') :
|
|
276
|
+
agentName === 'Sunil Dai' ? chalk_1.default.blue :
|
|
277
|
+
agentName === 'Bishal Dai' ? chalk_1.default.yellow : chalk_1.default.green;
|
|
278
|
+
process.stdout.write(`\n${color.bold(`${agentName}:`)} `);
|
|
279
|
+
const content = line.replace(/\[\**\s*(Ajay Vai|Sandip Dai|Sunil Dai|Bishal Dai|Narayan Dai)\s*\**\]:?\s*/, '').trim();
|
|
280
|
+
if (content)
|
|
281
|
+
process.stdout.write(chalk_1.default.gray(content + ' '));
|
|
282
|
+
}
|
|
283
|
+
else if (trimmedLine) {
|
|
284
|
+
const cleanLine = trimmedLine.replace(/\*\*%?\*/g, '').replace(/#{1,6}\s/g, '').replace(/\*\*:\*\*/g, ':').trim();
|
|
285
|
+
if (cleanLine)
|
|
286
|
+
process.stdout.write(chalk_1.default.gray(cleanLine + ' '));
|
|
318
287
|
}
|
|
319
288
|
}
|
|
320
289
|
}, abortController.signal);
|
|
@@ -331,7 +300,7 @@ ${repoMap}`
|
|
|
331
300
|
}
|
|
332
301
|
finally {
|
|
333
302
|
process.stdin.removeListener('data', onData);
|
|
334
|
-
process.stdin.pause();
|
|
303
|
+
process.stdin.pause();
|
|
335
304
|
}
|
|
336
305
|
if (!hasStarted && !isAborted)
|
|
337
306
|
spinner_1.spinner.stop();
|
|
@@ -340,41 +309,30 @@ ${repoMap}`
|
|
|
340
309
|
tui_1.TUI.drawCodeContainer('Final technical content', 'text', technicalBuffer.trim());
|
|
341
310
|
process.stdout.write('\n');
|
|
342
311
|
}
|
|
343
|
-
// Final newline for streaming output
|
|
344
312
|
console.log();
|
|
345
|
-
// Add assistant response to history
|
|
346
313
|
messages.push({ role: 'assistant', content: fullResponse });
|
|
347
314
|
const response = fullResponse;
|
|
348
|
-
|
|
349
|
-
// Execute commands
|
|
315
|
+
// Execute commands if needed
|
|
350
316
|
if (options.execute) {
|
|
351
317
|
const { executeWithPermission } = await Promise.resolve().then(() => __importStar(require('../utils/command-executor')));
|
|
352
318
|
const result = await executeWithPermission(response);
|
|
353
319
|
if (result.executed) {
|
|
354
320
|
if (result.success) {
|
|
355
321
|
tui_1.TUI.log(chalk_1.default.gray('βΊ Feeding output to AI...'));
|
|
356
|
-
messages.push({
|
|
357
|
-
role: 'user',
|
|
358
|
-
content: `β
Command executed successfully. Output:\n${result.output}\n\nProceed to the next step.`
|
|
359
|
-
});
|
|
322
|
+
messages.push({ role: 'user', content: `β
Command executed successfully. Output:\n${result.output}\n\nProceed to the next step.` });
|
|
360
323
|
continue;
|
|
361
324
|
}
|
|
362
325
|
else {
|
|
363
326
|
tui_1.TUI.log(chalk_1.default.yellow('\nβΊ Command failed. Asking AI to fix...'));
|
|
364
|
-
messages.push({
|
|
365
|
-
role: 'user',
|
|
366
|
-
content: `β Command failed with error:\n${result.error}\n\nPlease fix this. If the file doesn't exist, create it first. Or use a different command.`
|
|
367
|
-
});
|
|
327
|
+
messages.push({ role: 'user', content: `β Command failed with error:\n${result.error}\n\nPlease fix this.` });
|
|
368
328
|
continue;
|
|
369
329
|
}
|
|
370
330
|
}
|
|
371
|
-
else
|
|
331
|
+
else
|
|
372
332
|
break;
|
|
373
|
-
}
|
|
374
333
|
}
|
|
375
|
-
else
|
|
334
|
+
else
|
|
376
335
|
break;
|
|
377
|
-
}
|
|
378
336
|
}
|
|
379
337
|
catch (error) {
|
|
380
338
|
spinner_1.spinner.fail('Request failed');
|
|
@@ -382,12 +340,12 @@ ${repoMap}`
|
|
|
382
340
|
messages.pop();
|
|
383
341
|
break;
|
|
384
342
|
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
387
345
|
}
|
|
388
346
|
catch (error) {
|
|
389
|
-
tui_1.TUI.exit();
|
|
390
|
-
console.error(chalk_1.default.red(`\nβ Error: ${error.message}`));
|
|
347
|
+
tui_1.TUI.exit();
|
|
348
|
+
console.error(chalk_1.default.red(`\nβ Fatal Error: ${error.message}`));
|
|
391
349
|
process.exit(1);
|
|
392
350
|
}
|
|
393
351
|
});
|
package/dist/commands/dev.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.js","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,wDAAgC;
|
|
1
|
+
{"version":3,"file":"dev.js","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,wDAAgC;AAEhC,4CAAgD;AAChD,0CAA4D;AAC5D,8CAA2C;AAC3C,oEAAgE;AAChE,sDAAkD;AAClD,sCAAmC;AAEtB,QAAA,UAAU,GAAG,IAAI,mBAAO,CAAC,KAAK,CAAC;KACvC,WAAW,CAAC,uDAAuD,CAAC;KACpE,MAAM,CAAC,qBAAqB,EAAE,sEAAsE,EAAE,sBAAa,CAAC,eAAe,EAAE,CAAC;KACtI,MAAM,CAAC,cAAc,EAAE,2CAA2C,CAAC;KACnE,MAAM,CAAC,KAAK,EAAE,OAAY,EAAE,EAAE;IAC3B,IAAI,CAAC;QACD,oBAAoB;QACpB,MAAM,MAAM,GAAG,sBAAa,CAAC,SAAS,EAAE,CAAC;QACzC,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,OAAO,CAAC,KAAK,CAAC,eAAK,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC,CAAC;YACrD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,MAAM,CAAC,0CAA0C,CAAC,CAAC,CAAC;YACtE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;QAED,oBAAoB;QACpB,MAAM,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AM,EAAE,OAAO,EAAE,iCAAiC,MAAM,CAAC,KAAK,sBAAsB,EAAE,CAAC,CAAC;gCAC9G,SAAS;4BACb,CAAC;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/dist/commands/help.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.helpCommand = new commander_1.Command('help')
|
|
|
12
12
|
.action(() => {
|
|
13
13
|
tui_1.TUI.init();
|
|
14
14
|
console.log(chalk_1.default.bold.cyan('\nββββββββββββββββββββββββββββββββββββββββββββββββββ'));
|
|
15
|
-
console.log(chalk_1.default.bold.white(' π MATEX ::
|
|
15
|
+
console.log(chalk_1.default.bold.white(' π MATEX :: BOLD AGENTS OF OPEN CLAW '));
|
|
16
16
|
console.log(chalk_1.default.bold.cyan('ββββββββββββββββββββββββββββββββββββββββββββββββββ\n'));
|
|
17
17
|
// 1. Meet the Brothers
|
|
18
18
|
tui_1.TUI.drawBox('𧬠MEET THE BRO-SWARM', `The MATEX "Bro-Swarm" is a tight-knit family of brothers with a shared historyβfrom playing football in the mud to late-night PUBG marathons. They work in harmony, teasing each other lovingly while solving your tasks.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,sCAAmC;AAEtB,QAAA,WAAW,GAAG,IAAI,mBAAO,CAAC,MAAM,CAAC;KACzC,WAAW,CAAC,oDAAoD,CAAC;KACjE,MAAM,CAAC,GAAG,EAAE;IACT,SAAG,CAAC,IAAI,EAAE,CAAC;IAEX,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC,CAAC;IACrF,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,sCAAmC;AAEtB,QAAA,WAAW,GAAG,IAAI,mBAAO,CAAC,MAAM,CAAC;KACzC,WAAW,CAAC,oDAAoD,CAAC;KACjE,MAAM,CAAC,GAAG,EAAE;IACT,SAAG,CAAC,IAAI,EAAE,CAAC;IAEX,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC,CAAC;IACrF,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC,CAAC;IAC9E,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC,CAAC;IAErF,uBAAuB;IACvB,SAAG,CAAC,OAAO,CAAC,uBAAuB,EAC/B;;;;;;;;;;;;;;;mJAeuI,EACvI,eAAK,CAAC,OAAO,CAChB,CAAC;IAEF,OAAO,CAAC,GAAG,EAAE,CAAC;IAEd,mBAAmB;IACnB,SAAG,CAAC,OAAO,CAAC,mBAAmB,EAC3B;;;;;;;;;;;;4FAYgF,EAChF,eAAK,CAAC,IAAI,CACb,CAAC;IAEF,OAAO,CAAC,GAAG,EAAE,CAAC;IAEd,uBAAuB;IACvB,SAAG,CAAC,OAAO,CAAC,oBAAoB,EAC5B;;;;;;;;;4MASgM,EAChM,eAAK,CAAC,OAAO,CAChB,CAAC;IAEF,OAAO,CAAC,GAAG,EAAE,CAAC;IAEd,qBAAqB;IACrB,SAAG,CAAC,OAAO,CAAC,mBAAmB,EAC3B;;;;;;;;;0IAS8H,EAC9H,eAAK,CAAC,KAAK,CACd,CAAC;IAEF,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,eAAK,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,eAAK,CAAC,IAAI,CAAC,KAAK,CAAC,6BAA6B,CAAC,GAAG,eAAK,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,CAAC;IAEnK,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const program: Command;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,eAAO,MAAM,OAAO,SAAgB,CAAC"}
|