@triedotdev/mcp 1.0.151 → 1.0.155
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 +34 -6
- package/dist/{autonomy-config-3APNC6QF.js → autonomy-config-RKLZW4XL.js} +4 -4
- package/dist/{chat-store-HMTDL7I2.js → chat-store-O3IJ5PMN.js} +4 -4
- package/dist/{chunk-IXO4G4D3.js → chunk-2LAJKFWU.js} +2 -2
- package/dist/{chunk-F7BMFOZ6.js → chunk-3CYMLM35.js} +2 -2
- package/dist/{chunk-ED7PLRQA.js → chunk-4ZAFQEP6.js} +4 -4
- package/dist/{chunk-4TQQP7JD.js → chunk-7F2R2ITA.js} +2 -2
- package/dist/{chunk-SU3WCAC4.js → chunk-BUA5PQJY.js} +1487 -49
- package/dist/chunk-BUA5PQJY.js.map +1 -0
- package/dist/{chunk-V3O7C2LY.js → chunk-CBAMZERA.js} +2 -2
- package/dist/{chunk-G7Q23IGF.js → chunk-EMJ7RVWB.js} +9 -9
- package/dist/{chunk-TU7D5DEW.js → chunk-FTOF3FHT.js} +3 -3
- package/dist/{chunk-3KZBC3RJ.js → chunk-FXZAABXO.js} +2 -2
- package/dist/{chunk-TWPX6PHF.js → chunk-HD5H7YSW.js} +2 -2
- package/dist/{chunk-APMV77PU.js → chunk-JKEEQAG2.js} +1 -1
- package/dist/chunk-JKEEQAG2.js.map +1 -0
- package/dist/{chunk-TWQPOVRA.js → chunk-JYWGYUKX.js} +2 -2
- package/dist/{chunk-TIMIKBY2.js → chunk-KLMJKM63.js} +2 -2
- package/dist/{chunk-TCNCNWGV.js → chunk-KYKADM7P.js} +2 -2
- package/dist/{chunk-GLY76TSI.js → chunk-L4FODDDB.js} +2 -2
- package/dist/{chunk-JIS2OCZR.js → chunk-LFNH3CSN.js} +4 -4
- package/dist/{chunk-74R4XSFB.js → chunk-NVZZUUEU.js} +5 -5
- package/dist/{chunk-REHKDCI6.js → chunk-OVSYTWUU.js} +2 -2
- package/dist/{chunk-IFBEAOHH.js → chunk-RY57G46E.js} +6 -6
- package/dist/{chunk-ABY2R7OK.js → chunk-T7UAH7GE.js} +2 -2
- package/dist/{chunk-OJXFQRUE.js → chunk-UL337UDQ.js} +2 -2
- package/dist/{chunk-F4NJ4CBP.js → chunk-WO7CC5FH.js} +2 -2
- package/dist/{chunk-4UDBGYI3.js → chunk-X64XFVAY.js} +13 -13
- package/dist/{chunk-QQG42HCI.js → chunk-XD2HKZVB.js} +2 -2
- package/dist/{chunk-LNUMECBJ.js → chunk-XUGUKSKO.js} +10 -2
- package/dist/chunk-XUGUKSKO.js.map +1 -0
- package/dist/{chunk-WOTLY5NA.js → chunk-YEQXKKZQ.js} +2 -2
- package/dist/{chunk-7HYOJ4Q7.js → chunk-Z2E7X4WI.js} +7 -7
- package/dist/cli/create-agent.js +2 -2
- package/dist/cli/main.js +86 -40
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +78 -27
- package/dist/cli/yolo-daemon.js.map +1 -1
- package/dist/{client-5L64D5SQ.js → client-ZHOLZTRW.js} +4 -4
- package/dist/{codebase-index-OOE7OAHP.js → codebase-index-N37NDF2A.js} +4 -4
- package/dist/{fast-analyzer-FMU3X4AZ.js → fast-analyzer-U6URGNQT.js} +6 -6
- package/dist/github-ingester-AR5A4RAC.js +11 -0
- package/dist/{goal-manager-VTBFFYN4.js → goal-manager-5QDITJKE.js} +8 -8
- package/dist/{goal-validator-EM5XVWVC.js → goal-validator-FU5QWDQT.js} +7 -7
- package/dist/graph-JO7GG65P.js +10 -0
- package/dist/{hypothesis-4UPE7KXU.js → hypothesis-JURDWVDC.js} +8 -8
- package/dist/incident-index-7CAXUNTL.js +11 -0
- package/dist/index.js +57 -1466
- package/dist/index.js.map +1 -1
- package/dist/{insight-store-QEEUQR5L.js → insight-store-AMEP5PPF.js} +4 -4
- package/dist/{issue-store-C6XYENE5.js → issue-store-RM3XLLKG.js} +5 -5
- package/dist/{ledger-VNA4DX3Z.js → ledger-PLE3C3X4.js} +4 -4
- package/dist/linear-ingester-NHFMKJBZ.js +11 -0
- package/dist/{output-manager-DZO5LGSG.js → output-manager-FX4V7ERT.js} +3 -3
- package/dist/{progress-PQVEM7BR.js → progress-PAYTY7BF.js} +2 -2
- package/dist/tiered-storage-SQDVZM2M.js +12 -0
- package/dist/trie-agent-TLOJ2UFS.js +27 -0
- package/dist/{vibe-code-signatures-ELEWJFGZ.js → vibe-code-signatures-J4GD4JOV.js} +3 -3
- package/dist/{vulnerability-signatures-EIJQX2TS.js → vulnerability-signatures-EIKOHFPK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-APMV77PU.js.map +0 -1
- package/dist/chunk-LNUMECBJ.js.map +0 -1
- package/dist/chunk-SU3WCAC4.js.map +0 -1
- package/dist/github-ingester-C66ZRUYC.js +0 -11
- package/dist/graph-26JPZ3DF.js +0 -10
- package/dist/incident-index-H6APJ4S3.js +0 -11
- package/dist/linear-ingester-WIUBWF55.js +0 -11
- package/dist/tiered-storage-P6Z3NV2Q.js +0 -12
- package/dist/trie-agent-GJJJCL6P.js +0 -27
- /package/dist/{autonomy-config-3APNC6QF.js.map → autonomy-config-RKLZW4XL.js.map} +0 -0
- /package/dist/{chat-store-HMTDL7I2.js.map → chat-store-O3IJ5PMN.js.map} +0 -0
- /package/dist/{chunk-IXO4G4D3.js.map → chunk-2LAJKFWU.js.map} +0 -0
- /package/dist/{chunk-F7BMFOZ6.js.map → chunk-3CYMLM35.js.map} +0 -0
- /package/dist/{chunk-ED7PLRQA.js.map → chunk-4ZAFQEP6.js.map} +0 -0
- /package/dist/{chunk-4TQQP7JD.js.map → chunk-7F2R2ITA.js.map} +0 -0
- /package/dist/{chunk-V3O7C2LY.js.map → chunk-CBAMZERA.js.map} +0 -0
- /package/dist/{chunk-G7Q23IGF.js.map → chunk-EMJ7RVWB.js.map} +0 -0
- /package/dist/{chunk-TU7D5DEW.js.map → chunk-FTOF3FHT.js.map} +0 -0
- /package/dist/{chunk-3KZBC3RJ.js.map → chunk-FXZAABXO.js.map} +0 -0
- /package/dist/{chunk-TWPX6PHF.js.map → chunk-HD5H7YSW.js.map} +0 -0
- /package/dist/{chunk-TWQPOVRA.js.map → chunk-JYWGYUKX.js.map} +0 -0
- /package/dist/{chunk-TIMIKBY2.js.map → chunk-KLMJKM63.js.map} +0 -0
- /package/dist/{chunk-TCNCNWGV.js.map → chunk-KYKADM7P.js.map} +0 -0
- /package/dist/{chunk-GLY76TSI.js.map → chunk-L4FODDDB.js.map} +0 -0
- /package/dist/{chunk-JIS2OCZR.js.map → chunk-LFNH3CSN.js.map} +0 -0
- /package/dist/{chunk-74R4XSFB.js.map → chunk-NVZZUUEU.js.map} +0 -0
- /package/dist/{chunk-REHKDCI6.js.map → chunk-OVSYTWUU.js.map} +0 -0
- /package/dist/{chunk-IFBEAOHH.js.map → chunk-RY57G46E.js.map} +0 -0
- /package/dist/{chunk-ABY2R7OK.js.map → chunk-T7UAH7GE.js.map} +0 -0
- /package/dist/{chunk-OJXFQRUE.js.map → chunk-UL337UDQ.js.map} +0 -0
- /package/dist/{chunk-F4NJ4CBP.js.map → chunk-WO7CC5FH.js.map} +0 -0
- /package/dist/{chunk-4UDBGYI3.js.map → chunk-X64XFVAY.js.map} +0 -0
- /package/dist/{chunk-QQG42HCI.js.map → chunk-XD2HKZVB.js.map} +0 -0
- /package/dist/{chunk-WOTLY5NA.js.map → chunk-YEQXKKZQ.js.map} +0 -0
- /package/dist/{chunk-7HYOJ4Q7.js.map → chunk-Z2E7X4WI.js.map} +0 -0
- /package/dist/{client-5L64D5SQ.js.map → client-ZHOLZTRW.js.map} +0 -0
- /package/dist/{codebase-index-OOE7OAHP.js.map → codebase-index-N37NDF2A.js.map} +0 -0
- /package/dist/{fast-analyzer-FMU3X4AZ.js.map → fast-analyzer-U6URGNQT.js.map} +0 -0
- /package/dist/{github-ingester-C66ZRUYC.js.map → github-ingester-AR5A4RAC.js.map} +0 -0
- /package/dist/{goal-manager-VTBFFYN4.js.map → goal-manager-5QDITJKE.js.map} +0 -0
- /package/dist/{goal-validator-EM5XVWVC.js.map → goal-validator-FU5QWDQT.js.map} +0 -0
- /package/dist/{graph-26JPZ3DF.js.map → graph-JO7GG65P.js.map} +0 -0
- /package/dist/{hypothesis-4UPE7KXU.js.map → hypothesis-JURDWVDC.js.map} +0 -0
- /package/dist/{incident-index-H6APJ4S3.js.map → incident-index-7CAXUNTL.js.map} +0 -0
- /package/dist/{insight-store-QEEUQR5L.js.map → insight-store-AMEP5PPF.js.map} +0 -0
- /package/dist/{issue-store-C6XYENE5.js.map → issue-store-RM3XLLKG.js.map} +0 -0
- /package/dist/{ledger-VNA4DX3Z.js.map → ledger-PLE3C3X4.js.map} +0 -0
- /package/dist/{linear-ingester-WIUBWF55.js.map → linear-ingester-NHFMKJBZ.js.map} +0 -0
- /package/dist/{output-manager-DZO5LGSG.js.map → output-manager-FX4V7ERT.js.map} +0 -0
- /package/dist/{progress-PQVEM7BR.js.map → progress-PAYTY7BF.js.map} +0 -0
- /package/dist/{tiered-storage-P6Z3NV2Q.js.map → tiered-storage-SQDVZM2M.js.map} +0 -0
- /package/dist/{trie-agent-GJJJCL6P.js.map → trie-agent-TLOJ2UFS.js.map} +0 -0
- /package/dist/{vibe-code-signatures-ELEWJFGZ.js.map → vibe-code-signatures-J4GD4JOV.js.map} +0 -0
- /package/dist/{vulnerability-signatures-EIJQX2TS.js.map → vulnerability-signatures-EIKOHFPK.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getProjectState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L4FODDDB.js";
|
|
4
4
|
import {
|
|
5
5
|
searchIssues
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4ZAFQEP6.js";
|
|
7
7
|
|
|
8
8
|
// src/agent/goal-validator.ts
|
|
9
9
|
async function getActiveGoals(projectPath) {
|
|
@@ -38,9 +38,9 @@ async function recordGoalViolationFixed(goal, file, projectPath) {
|
|
|
38
38
|
lastFixedFile: file
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
const { resolveGoalViolation } = await import("./issue-store-
|
|
41
|
+
const { resolveGoalViolation } = await import("./issue-store-RM3XLLKG.js");
|
|
42
42
|
await resolveGoalViolation(file, goal.description, projectPath);
|
|
43
|
-
const { getGoalManager } = await import("./goal-manager-
|
|
43
|
+
const { getGoalManager } = await import("./goal-manager-5QDITJKE.js");
|
|
44
44
|
const goalManager = getGoalManager(projectPath);
|
|
45
45
|
await goalManager.updateGoalProgress();
|
|
46
46
|
}
|
|
@@ -88,8 +88,8 @@ async function measureInitialGoalValue(description, projectPath) {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
async function checkFilesForGoalViolations(goals, projectPath, filesToCheck, onProgress, signal) {
|
|
91
|
-
const { isAIAvailable, runAIAnalysis } = await import("./client-
|
|
92
|
-
const { CodebaseIndex } = await import("./codebase-index-
|
|
91
|
+
const { isAIAvailable, runAIAnalysis } = await import("./client-ZHOLZTRW.js");
|
|
92
|
+
const { CodebaseIndex } = await import("./codebase-index-N37NDF2A.js");
|
|
93
93
|
if (!isAIAvailable()) {
|
|
94
94
|
throw new Error("AI not available - ANTHROPIC_API_KEY not set");
|
|
95
95
|
}
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
measureInitialGoalValue,
|
|
352
352
|
checkFilesForGoalViolations
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-Z2E7X4WI.js.map
|
package/dist/cli/create-agent.js
CHANGED
package/dist/cli/main.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
loadProjectInfo,
|
|
8
8
|
needsBootstrap,
|
|
9
9
|
projectInfoExists
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-OVSYTWUU.js";
|
|
11
11
|
import {
|
|
12
12
|
LinearIngester
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-FXZAABXO.js";
|
|
14
14
|
import {
|
|
15
15
|
LearningEngine,
|
|
16
16
|
exportToJson,
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
isTrieInitialized,
|
|
21
21
|
perceiveCurrentChanges,
|
|
22
22
|
reasonAboutChangesHumanReadable
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-EMJ7RVWB.js";
|
|
24
24
|
import {
|
|
25
25
|
loadConfig,
|
|
26
26
|
saveConfig
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-FTOF3FHT.js";
|
|
28
28
|
import {
|
|
29
29
|
IncidentIndex
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-KYKADM7P.js";
|
|
31
31
|
import "../chunk-ZV2K6M7T.js";
|
|
32
32
|
import {
|
|
33
33
|
GotchaPredictor,
|
|
@@ -37,30 +37,30 @@ import {
|
|
|
37
37
|
listTrackedProjects,
|
|
38
38
|
searchGlobalPatterns,
|
|
39
39
|
updateGlobalMemoryMd
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-RY57G46E.js";
|
|
41
41
|
import {
|
|
42
42
|
ContextGraph
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-JYWGYUKX.js";
|
|
44
44
|
import {
|
|
45
45
|
measureInitialGoalValue
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-Z2E7X4WI.js";
|
|
47
|
+
import "../chunk-UL337UDQ.js";
|
|
48
48
|
import {
|
|
49
49
|
getProjectState
|
|
50
|
-
} from "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
50
|
+
} from "../chunk-L4FODDDB.js";
|
|
51
|
+
import "../chunk-WO7CC5FH.js";
|
|
52
|
+
import "../chunk-2LAJKFWU.js";
|
|
53
53
|
import "../chunk-6NLHFIYA.js";
|
|
54
54
|
import {
|
|
55
55
|
getStorage
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-XUGUKSKO.js";
|
|
57
57
|
import {
|
|
58
58
|
getAutonomyConfig,
|
|
59
59
|
recordBypass,
|
|
60
60
|
shouldAutoFix,
|
|
61
61
|
shouldBlockPush,
|
|
62
62
|
trackIssueOccurrence
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-XD2HKZVB.js";
|
|
64
64
|
import {
|
|
65
65
|
getDailyLogs,
|
|
66
66
|
getMemoryStats,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
markIssueResolved,
|
|
69
69
|
purgeIssues,
|
|
70
70
|
searchIssues
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-4ZAFQEP6.js";
|
|
72
72
|
import "../chunk-EFWVF6TI.js";
|
|
73
73
|
import {
|
|
74
74
|
compressOldBlocks,
|
|
@@ -91,13 +91,13 @@ import {
|
|
|
91
91
|
shouldCompress,
|
|
92
92
|
syncLedgerFromShared,
|
|
93
93
|
verifyLedger
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-HD5H7YSW.js";
|
|
95
95
|
import "../chunk-43X6JBEM.js";
|
|
96
96
|
import {
|
|
97
97
|
getTrieDirectory,
|
|
98
98
|
getWorkingDirectory
|
|
99
|
-
} from "../chunk-
|
|
100
|
-
import "../chunk-
|
|
99
|
+
} from "../chunk-7F2R2ITA.js";
|
|
100
|
+
import "../chunk-JKEEQAG2.js";
|
|
101
101
|
import {
|
|
102
102
|
__require
|
|
103
103
|
} from "../chunk-DGUM43GV.js";
|
|
@@ -868,7 +868,7 @@ import { writeFile, mkdir, chmod } from "fs/promises";
|
|
|
868
868
|
import { join } from "path";
|
|
869
869
|
import { existsSync } from "fs";
|
|
870
870
|
import pc2 from "picocolors";
|
|
871
|
-
import {
|
|
871
|
+
import { dirname } from "path";
|
|
872
872
|
import { fileURLToPath } from "url";
|
|
873
873
|
async function installGitHooks2() {
|
|
874
874
|
const workDir = getWorkingDirectory(void 0, true);
|
|
@@ -953,32 +953,78 @@ var __filename2 = fileURLToPath(import.meta.url);
|
|
|
953
953
|
var __dirname2 = dirname(__filename2);
|
|
954
954
|
async function handlePreCommitCommand(_args) {
|
|
955
955
|
console.log(pc2.cyan("\u{1F50D} Running pre-commit hook..."));
|
|
956
|
+
console.log(pc2.dim("Checking ledger for issues in staged files...\n"));
|
|
956
957
|
try {
|
|
957
|
-
const {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
958
|
+
const { execSync } = await import("child_process");
|
|
959
|
+
const workDir = getWorkingDirectory(void 0, true);
|
|
960
|
+
let stagedFiles;
|
|
961
|
+
try {
|
|
962
|
+
const output = execSync("git diff --cached --name-only --diff-filter=ACMR", {
|
|
963
|
+
cwd: workDir,
|
|
964
|
+
encoding: "utf-8"
|
|
965
|
+
});
|
|
966
|
+
stagedFiles = output.trim().split("\n").filter(Boolean);
|
|
967
|
+
if (stagedFiles.length === 0) {
|
|
968
|
+
console.log(pc2.green("\u2713 No staged files to check"));
|
|
969
|
+
process.exit(0);
|
|
970
|
+
}
|
|
971
|
+
console.log(pc2.dim(`Checking ${stagedFiles.length} staged file(s)...
|
|
972
|
+
`));
|
|
973
|
+
} catch (error) {
|
|
974
|
+
console.error(pc2.yellow("\u26A0 Could not get staged files, skipping pre-commit check"));
|
|
975
|
+
process.exit(0);
|
|
963
976
|
}
|
|
964
|
-
const
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
const
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
|
|
977
|
+
const { searchIssues: searchIssues2 } = await import("../issue-store-RM3XLLKG.js");
|
|
978
|
+
let criticalIssues = 0;
|
|
979
|
+
let totalIssues = 0;
|
|
980
|
+
const issuesByFile = /* @__PURE__ */ new Map();
|
|
981
|
+
for (const file of stagedFiles) {
|
|
982
|
+
const results = await searchIssues2(file, {
|
|
983
|
+
workDir,
|
|
984
|
+
limit: 100,
|
|
985
|
+
includeResolved: false
|
|
986
|
+
// Only unresolved issues
|
|
987
|
+
});
|
|
988
|
+
if (results.length > 0) {
|
|
989
|
+
totalIssues += results.length;
|
|
990
|
+
const issues = results.map((r) => ({
|
|
991
|
+
severity: r.issue.severity,
|
|
992
|
+
issue: r.issue.issue
|
|
993
|
+
}));
|
|
994
|
+
const critical = issues.filter((i) => i.severity === "critical").length;
|
|
995
|
+
criticalIssues += critical;
|
|
996
|
+
issuesByFile.set(file, issues);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
if (criticalIssues > 0) {
|
|
1000
|
+
console.log(pc2.red(`\u2717 Found ${criticalIssues} critical issue(s) in staged files
|
|
1001
|
+
`));
|
|
1002
|
+
for (const [file, issues] of issuesByFile.entries()) {
|
|
1003
|
+
const critical = issues.filter((i) => i.severity === "critical");
|
|
1004
|
+
if (critical.length > 0) {
|
|
1005
|
+
console.log(pc2.red(` ${file}:`));
|
|
1006
|
+
for (const issue of critical) {
|
|
1007
|
+
console.log(pc2.dim(` \u2022 ${issue.issue.slice(0, 80)}...`));
|
|
1008
|
+
}
|
|
1009
|
+
console.log();
|
|
1010
|
+
}
|
|
977
1011
|
}
|
|
978
|
-
|
|
979
|
-
|
|
1012
|
+
console.log(pc2.dim("Fix critical issues before committing, or use:"));
|
|
1013
|
+
console.log(pc2.dim(" git commit --no-verify (to skip this check)\n"));
|
|
1014
|
+
process.exit(1);
|
|
1015
|
+
} else if (totalIssues > 0) {
|
|
1016
|
+
console.log(pc2.yellow(`\u26A0 Found ${totalIssues} non-critical issue(s) in staged files`));
|
|
1017
|
+
console.log(pc2.dim("(Not blocking commit - only critical issues block commits)\n"));
|
|
1018
|
+
process.exit(0);
|
|
1019
|
+
} else {
|
|
1020
|
+
console.log(pc2.green("\u2713 No issues found in staged files"));
|
|
1021
|
+
console.log(pc2.dim("Commit allowed\n"));
|
|
1022
|
+
process.exit(0);
|
|
1023
|
+
}
|
|
980
1024
|
} catch (error) {
|
|
981
1025
|
console.error(pc2.red("Error in pre-commit hook:"), error);
|
|
1026
|
+
console.log(pc2.yellow("\n\u26A0 Pre-commit check failed, but not blocking commit"));
|
|
1027
|
+
console.log(pc2.dim("(Hook errors never block commits)\n"));
|
|
982
1028
|
process.exit(0);
|
|
983
1029
|
}
|
|
984
1030
|
}
|