zam-core 0.15.0 → 0.15.2
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/cli/app.js +3 -3
- package/dist/cli/app.js.map +1 -1
- package/dist/cli/commands/mcp.js +3 -3
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/copilot-extension/host.bundle.js +1 -1
- package/dist/copilot-extension/manifest.json +1 -1
- package/dist/copilot-extension/mcp-client.bundle.mjs +1 -1
- package/dist/ui/okf-panel.html +3 -6
- package/dist/vscode-extension/ZAM_Companion_0.15.2.vsix +0 -0
- package/dist/vscode-extension/extension.cjs +16 -16
- package/dist/vscode-extension/manifest.json +2 -2
- package/package.json +1 -1
- package/dist/vscode-extension/ZAM_Companion_0.15.0.vsix +0 -0
package/dist/cli/commands/mcp.js
CHANGED
|
@@ -9088,7 +9088,7 @@ function unquote(raw) {
|
|
|
9088
9088
|
return v;
|
|
9089
9089
|
}
|
|
9090
9090
|
function parseFrontmatter(markdown) {
|
|
9091
|
-
const lines = markdown.split(
|
|
9091
|
+
const lines = markdown.replace(/^/, "").split(/\r\n|\n/);
|
|
9092
9092
|
if (lines[0]?.trim() !== "---") {
|
|
9093
9093
|
throw new Error("frontmatter: file must start with a --- fence");
|
|
9094
9094
|
}
|
|
@@ -9205,7 +9205,7 @@ ${rows}`;
|
|
|
9205
9205
|
function appendLog(existing, date, line) {
|
|
9206
9206
|
const header = `## ${date}`;
|
|
9207
9207
|
const entry = `- ${line}`;
|
|
9208
|
-
const trimmed = existing.trim();
|
|
9208
|
+
const trimmed = existing.replace(/^/, "").replace(/\r\n/g, "\n").trim();
|
|
9209
9209
|
if (trimmed === "") {
|
|
9210
9210
|
return `# Log
|
|
9211
9211
|
|
|
@@ -12251,7 +12251,7 @@ async function readWebLink(url) {
|
|
|
12251
12251
|
redirect: "manual",
|
|
12252
12252
|
signal: controller.signal,
|
|
12253
12253
|
headers: {
|
|
12254
|
-
"User-Agent": "ZAM-Content-Studio/0.15.
|
|
12254
|
+
"User-Agent": "ZAM-Content-Studio/0.15.2"
|
|
12255
12255
|
}
|
|
12256
12256
|
});
|
|
12257
12257
|
if (res.status >= 300 && res.status < 400) {
|