tracegist-mcp-bridge 0.2.14 → 0.2.15
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/bin/lib.mjs +5 -2
- package/package.json +1 -1
package/bin/lib.mjs
CHANGED
|
@@ -4,7 +4,10 @@ const PACKAGE_SUFFIX = "-package.zip";
|
|
|
4
4
|
const HANDOFF_SUFFIXES = ["-coding-agent-handoff.md", "-cursor-handoff.md"];
|
|
5
5
|
|
|
6
6
|
export function isTraceGistPackageFile(fileName) {
|
|
7
|
-
return
|
|
7
|
+
return (
|
|
8
|
+
(fileName.startsWith("tracegistcom-") || fileName.startsWith("tracegist-")) &&
|
|
9
|
+
fileName.endsWith(PACKAGE_SUFFIX)
|
|
10
|
+
);
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
export function normalizeZipBaseName(entryName) {
|
|
@@ -21,7 +24,7 @@ export function renderPackagesText(
|
|
|
21
24
|
if (packages.length === 0) {
|
|
22
25
|
return [
|
|
23
26
|
`No TraceGist package zips found in ${directory}.`,
|
|
24
|
-
"Expected naming pattern:
|
|
27
|
+
"Expected naming pattern: tracegistcom-...-package.zip",
|
|
25
28
|
].join("\n");
|
|
26
29
|
}
|
|
27
30
|
const countLabel =
|