@kaddo/mcp 3.131.0 → 3.133.0
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/index.js +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2625,6 +2625,7 @@ function discoverInitiatives(dir) {
|
|
|
2625
2625
|
}
|
|
2626
2626
|
|
|
2627
2627
|
// ../cli/src/core/delivery-planning.ts
|
|
2628
|
+
import { createHash } from "crypto";
|
|
2628
2629
|
import matter6 from "gray-matter";
|
|
2629
2630
|
var DELIVERY_PLANS_DIR = "knowledge/delivery/plans";
|
|
2630
2631
|
var EPICS_DIR = "knowledge/delivery/epics";
|
|
@@ -4843,13 +4844,13 @@ function readPocSummary(dir) {
|
|
|
4843
4844
|
}
|
|
4844
4845
|
|
|
4845
4846
|
// ../cli/src/core/poc-report.ts
|
|
4846
|
-
import { createHash } from "crypto";
|
|
4847
|
+
import { createHash as createHash2 } from "crypto";
|
|
4847
4848
|
import matter10 from "gray-matter";
|
|
4848
4849
|
var POC_REPORT_PREFIX = "poc-report-v";
|
|
4849
4850
|
var SECRET_LINE = /(^|\s)(?:[A-Z][A-Z0-9_]*(?:TOKEN|SECRET|PASSWORD|API_KEY|PRIVATE_KEY)|(?:token|secret|password|api[_-]?key))\s*[:=]\s*\S+/i;
|
|
4850
4851
|
var reportName = /^poc-report-v(\d{3,})\.md$/;
|
|
4851
4852
|
function sha(value) {
|
|
4852
|
-
return
|
|
4853
|
+
return createHash2("sha256").update(value).digest("hex");
|
|
4853
4854
|
}
|
|
4854
4855
|
function posix(value) {
|
|
4855
4856
|
return value.replace(/\\/g, "/");
|
|
@@ -12522,7 +12523,7 @@ import matter52 from "gray-matter";
|
|
|
12522
12523
|
import matter62 from "gray-matter";
|
|
12523
12524
|
import matter72 from "gray-matter";
|
|
12524
12525
|
import { parse as parseYaml72 } from "yaml";
|
|
12525
|
-
import { createHash as
|
|
12526
|
+
import { createHash as createHash22 } from "crypto";
|
|
12526
12527
|
import matter82 from "gray-matter";
|
|
12527
12528
|
import matter92 from "gray-matter";
|
|
12528
12529
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
@@ -15474,7 +15475,7 @@ var POC_REPORT_PREFIX2 = "poc-report-v";
|
|
|
15474
15475
|
var SECRET_LINE2 = /(^|\s)(?:[A-Z][A-Z0-9_]*(?:TOKEN|SECRET|PASSWORD|API_KEY|PRIVATE_KEY)|(?:token|secret|password|api[_-]?key))\s*[:=]\s*\S+/i;
|
|
15475
15476
|
var reportName2 = /^poc-report-v(\d{3,})\.md$/;
|
|
15476
15477
|
function sha2(value) {
|
|
15477
|
-
return
|
|
15478
|
+
return createHash22("sha256").update(value).digest("hex");
|
|
15478
15479
|
}
|
|
15479
15480
|
function posix2(value) {
|
|
15480
15481
|
return value.replace(/\\/g, "/");
|
|
@@ -20348,7 +20349,7 @@ var WorkItemWriteError = class extends Error {
|
|
|
20348
20349
|
}
|
|
20349
20350
|
code;
|
|
20350
20351
|
};
|
|
20351
|
-
function
|
|
20352
|
+
function revisionOf2(raw) {
|
|
20352
20353
|
return crypto2.createHash("sha256").update(raw, "utf-8").digest("hex");
|
|
20353
20354
|
}
|
|
20354
20355
|
function slugify4(s) {
|
|
@@ -20512,7 +20513,7 @@ function createWorkItem(dir, opts) {
|
|
|
20512
20513
|
if (exists2(filePath)) throw new WorkItemWriteError("INVALID_INPUT", `Work Item file already exists: ${relPath}`);
|
|
20513
20514
|
const raw = serialize2(data, body);
|
|
20514
20515
|
atomicWrite3(filePath, raw);
|
|
20515
|
-
return { id, path: relPath, revision:
|
|
20516
|
+
return { id, path: relPath, revision: revisionOf2(raw) };
|
|
20516
20517
|
}
|
|
20517
20518
|
function dimensionOf(type) {
|
|
20518
20519
|
switch (type) {
|
package/package.json
CHANGED