@triedotdev/mcp 1.0.97 → 1.0.101
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/{chunk-SLL2MDJD.js → chunk-AE2XLMZC.js} +16 -77
- package/dist/chunk-AE2XLMZC.js.map +1 -0
- package/dist/{chunk-HSNE46VE.js → chunk-CCI6LKXZ.js} +1 -431
- package/dist/chunk-CCI6LKXZ.js.map +1 -0
- package/dist/{chunk-FNCCZ3XB.js → chunk-M4JCQO5G.js} +443 -19
- package/dist/chunk-M4JCQO5G.js.map +1 -0
- package/dist/cli/main.js +3 -3
- package/dist/cli/yolo-daemon.js +2 -2
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-FNCCZ3XB.js.map +0 -1
- package/dist/chunk-HSNE46VE.js.map +0 -1
- package/dist/chunk-SLL2MDJD.js.map +0 -1
|
@@ -2,12 +2,9 @@ import {
|
|
|
2
2
|
getGuardian
|
|
3
3
|
} from "./chunk-B3MNN3XB.js";
|
|
4
4
|
import {
|
|
5
|
-
detectStack,
|
|
6
|
-
getSkillCategories,
|
|
7
|
-
getSkillsByCategory,
|
|
8
5
|
loadContextState,
|
|
9
6
|
runShellCommand
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CCI6LKXZ.js";
|
|
11
8
|
import {
|
|
12
9
|
findCrossProjectPatterns,
|
|
13
10
|
isAIAvailable
|
|
@@ -820,29 +817,6 @@ function getOutputManager() {
|
|
|
820
817
|
return instance;
|
|
821
818
|
}
|
|
822
819
|
|
|
823
|
-
// src/skills/installer.ts
|
|
824
|
-
async function listInstalledSkills() {
|
|
825
|
-
return [];
|
|
826
|
-
}
|
|
827
|
-
async function listGlobalSkills() {
|
|
828
|
-
return [];
|
|
829
|
-
}
|
|
830
|
-
async function installSkill(_repo, _skillName) {
|
|
831
|
-
return {
|
|
832
|
-
success: false,
|
|
833
|
-
error: "Skills system has been replaced with the decision ledger"
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
async function createSkillFromFile(_filePath) {
|
|
837
|
-
return {
|
|
838
|
-
success: false,
|
|
839
|
-
error: "Skills system has been replaced with the decision ledger"
|
|
840
|
-
};
|
|
841
|
-
}
|
|
842
|
-
async function removeGlobalSkill(_name) {
|
|
843
|
-
return false;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
820
|
// src/utils/file-picker.ts
|
|
847
821
|
import { platform } from "os";
|
|
848
822
|
async function openFilePicker(options = {}) {
|
|
@@ -2058,18 +2032,12 @@ var InteractiveDashboard = class {
|
|
|
2058
2032
|
case "i":
|
|
2059
2033
|
if (this.state.view === "guardian") {
|
|
2060
2034
|
this.ignoreSelectedInsight();
|
|
2061
|
-
} else if (this.state.view === "skills") {
|
|
2062
|
-
this.showCreateCustomSkillDialog();
|
|
2063
2035
|
} else {
|
|
2064
2036
|
this.showGuardianConfig();
|
|
2065
2037
|
}
|
|
2066
2038
|
break;
|
|
2067
2039
|
case "c":
|
|
2068
|
-
|
|
2069
|
-
this.showCreateCustomSkillDialog();
|
|
2070
|
-
} else {
|
|
2071
|
-
this.showGuardianConfig();
|
|
2072
|
-
}
|
|
2040
|
+
this.showGuardianConfig();
|
|
2073
2041
|
break;
|
|
2074
2042
|
// === NEW VIEW SHORTCUTS ===
|
|
2075
2043
|
case "d":
|
|
@@ -2097,10 +2065,6 @@ var InteractiveDashboard = class {
|
|
|
2097
2065
|
case "l":
|
|
2098
2066
|
this.goToView("rawlog");
|
|
2099
2067
|
break;
|
|
2100
|
-
case "v":
|
|
2101
|
-
this.goToView("skills");
|
|
2102
|
-
this.refreshSkillsData();
|
|
2103
|
-
break;
|
|
2104
2068
|
case "g":
|
|
2105
2069
|
this.goToView("guardian");
|
|
2106
2070
|
break;
|
|
@@ -2303,9 +2267,6 @@ var InteractiveDashboard = class {
|
|
|
2303
2267
|
case "issues":
|
|
2304
2268
|
this.renderIssuesList(width);
|
|
2305
2269
|
break;
|
|
2306
|
-
case "agents":
|
|
2307
|
-
this.renderAgentsView(width);
|
|
2308
|
-
break;
|
|
2309
2270
|
case "files":
|
|
2310
2271
|
this.renderFilesView(width);
|
|
2311
2272
|
break;
|
|
@@ -2325,9 +2286,6 @@ var InteractiveDashboard = class {
|
|
|
2325
2286
|
case "rawlog":
|
|
2326
2287
|
this.renderRawLogView(width, height);
|
|
2327
2288
|
break;
|
|
2328
|
-
case "skills":
|
|
2329
|
-
this.renderSkillsView(width, height);
|
|
2330
|
-
break;
|
|
2331
2289
|
case "guardian":
|
|
2332
2290
|
this.renderGuardianView(width, height);
|
|
2333
2291
|
break;
|
|
@@ -2414,39 +2372,22 @@ var InteractiveDashboard = class {
|
|
|
2414
2372
|
this.renderLine(" " + progressBar + " " + colors.highlight(`${percent}%`) + " " + colors.dim(`(${processedFiles}/${totalFiles} files)`), width);
|
|
2415
2373
|
this.renderLine("", width);
|
|
2416
2374
|
this.renderSectionBorder(width);
|
|
2417
|
-
this.renderLine(" " + colors.header("
|
|
2375
|
+
this.renderLine(" " + colors.header("AGENT STATUS"), width);
|
|
2418
2376
|
this.renderLine(" " + colors.dim(this.line(width - 6)), width);
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
const icon = isActive ? this.agentIcon("running") : isDone ? this.agentIcon("done") : this.agentIcon("waiting");
|
|
2427
|
-
const statusText = isActive ? colors.running("analyzing") : isDone ? colors.success(`done (${this.getAgentIssueCount(agent)})`) : colors.waiting("waiting");
|
|
2428
|
-
const entry = `${icon} ${agent.slice(0, 12).padEnd(12)} ${colors.dim("...")} ${statusText}`;
|
|
2429
|
-
if (i % 2 === 0) {
|
|
2430
|
-
leftAgents.push(entry);
|
|
2431
|
-
} else {
|
|
2432
|
-
rightAgents.push(entry);
|
|
2433
|
-
}
|
|
2434
|
-
});
|
|
2435
|
-
waitingAgents.slice(0, 4).forEach((agent, i) => {
|
|
2436
|
-
const entry = `${this.agentIcon("waiting")} ${agent.slice(0, 12).padEnd(12)} ${colors.dim("...")} ${colors.waiting("waiting")}`;
|
|
2437
|
-
if ((allAgents.length + i) % 2 === 0) {
|
|
2438
|
-
leftAgents.push(entry);
|
|
2439
|
-
} else {
|
|
2440
|
-
rightAgents.push(entry);
|
|
2377
|
+
if (this.state.watch.watching) {
|
|
2378
|
+
this.renderLine(" " + colors.success("\u{1F916} Autonomous monitoring active"), width);
|
|
2379
|
+
this.renderLine(" " + colors.dim(" \u2514 Extracting signals from file changes"), width);
|
|
2380
|
+
const { signalExtraction } = this.state;
|
|
2381
|
+
const totalExtracted = signalExtraction.decisionsExtracted + signalExtraction.factsExtracted + signalExtraction.blockersExtracted + signalExtraction.questionsExtracted;
|
|
2382
|
+
if (totalExtracted > 0) {
|
|
2383
|
+
this.renderLine(" " + colors.dim(" \u2514 Signals extracted: ") + colors.highlight(totalExtracted.toString()), width);
|
|
2441
2384
|
}
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
|
-
for (let i = 0; i < maxRows && i < agentRows; i++) {
|
|
2445
|
-
const left = leftAgents[i] || "";
|
|
2446
|
-
const right = rightAgents[i] || "";
|
|
2447
|
-
this.renderLine(" " + padEnd(left, 35) + " " + right, width);
|
|
2385
|
+
} else {
|
|
2386
|
+
this.renderLine(" " + colors.dim("Scanning codebase..."), width);
|
|
2448
2387
|
}
|
|
2449
2388
|
this.renderLine("", width);
|
|
2389
|
+
this.renderLine("", width);
|
|
2390
|
+
this.renderLine("", width);
|
|
2450
2391
|
this.renderSectionBorder(width);
|
|
2451
2392
|
this.renderLine(" " + colors.header("ISSUES FOUND"), width);
|
|
2452
2393
|
this.renderLine(" " + colors.dim(this.line(width - 6)), width);
|
|
@@ -2528,7 +2469,6 @@ var InteractiveDashboard = class {
|
|
|
2528
2469
|
const activityRows = Math.max(2, Math.min(8, Math.max(0, height - 26)));
|
|
2529
2470
|
this.renderLine("", width);
|
|
2530
2471
|
this.renderLine(" " + colors.highlight(`${processedFiles}`) + colors.dim(` files scanned in ${elapsed}s`), width);
|
|
2531
|
-
this.renderLine(" " + colors.highlight(`${completedAgents.length}`) + colors.dim(" scouts activated"), width);
|
|
2532
2472
|
if (this.state.watch.watching) {
|
|
2533
2473
|
const totalExtracted = signalExtraction.decisionsExtracted + signalExtraction.factsExtracted + signalExtraction.blockersExtracted + signalExtraction.questionsExtracted;
|
|
2534
2474
|
const statusEmoji = signalExtraction.enabled ? "\u{1F9E0}" : "\u26A0\uFE0F";
|
|
@@ -4656,7 +4596,7 @@ var InteractiveDashboard = class {
|
|
|
4656
4596
|
return;
|
|
4657
4597
|
}
|
|
4658
4598
|
if (!this.state.scanComplete) return;
|
|
4659
|
-
const mainViews = ["overview", "issues", "
|
|
4599
|
+
const mainViews = ["overview", "issues", "files", "memory"];
|
|
4660
4600
|
const currentIndex = mainViews.indexOf(this.state.view);
|
|
4661
4601
|
if (currentIndex >= 0) {
|
|
4662
4602
|
const nextIndex = (currentIndex + 1) % mainViews.length;
|
|
@@ -6207,7 +6147,6 @@ export {
|
|
|
6207
6147
|
TrieScanTool,
|
|
6208
6148
|
StreamingManager,
|
|
6209
6149
|
getOutputManager,
|
|
6210
|
-
listInstalledSkills,
|
|
6211
6150
|
InteractiveDashboard
|
|
6212
6151
|
};
|
|
6213
|
-
//# sourceMappingURL=chunk-
|
|
6152
|
+
//# sourceMappingURL=chunk-AE2XLMZC.js.map
|