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/app.js
CHANGED
|
@@ -7358,7 +7358,7 @@ function unquote(raw) {
|
|
|
7358
7358
|
return v;
|
|
7359
7359
|
}
|
|
7360
7360
|
function parseFrontmatter(markdown) {
|
|
7361
|
-
const lines = markdown.split(
|
|
7361
|
+
const lines = markdown.replace(/^/, "").split(/\r\n|\n/);
|
|
7362
7362
|
if (lines[0]?.trim() !== "---") {
|
|
7363
7363
|
throw new Error("frontmatter: file must start with a --- fence");
|
|
7364
7364
|
}
|
|
@@ -7475,7 +7475,7 @@ ${rows}`;
|
|
|
7475
7475
|
function appendLog(existing, date, line) {
|
|
7476
7476
|
const header = `## ${date}`;
|
|
7477
7477
|
const entry = `- ${line}`;
|
|
7478
|
-
const trimmed = existing.trim();
|
|
7478
|
+
const trimmed = existing.replace(/^/, "").replace(/\r\n/g, "\n").trim();
|
|
7479
7479
|
if (trimmed === "") {
|
|
7480
7480
|
return `# Log
|
|
7481
7481
|
|
|
@@ -10741,7 +10741,7 @@ async function readWebLink(url) {
|
|
|
10741
10741
|
redirect: "manual",
|
|
10742
10742
|
signal: controller.signal,
|
|
10743
10743
|
headers: {
|
|
10744
|
-
"User-Agent": "ZAM-Content-Studio/0.15.
|
|
10744
|
+
"User-Agent": "ZAM-Content-Studio/0.15.2"
|
|
10745
10745
|
}
|
|
10746
10746
|
});
|
|
10747
10747
|
if (res.status >= 300 && res.status < 400) {
|