zam-core 0.10.10 → 0.10.11
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 +11 -3
- package/dist/cli/app.js.map +1 -1
- package/dist/cli/commands/mcp.js +12 -5
- 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/recall-panel.html +82 -6
- package/dist/ui/settings-panel.html +18 -1
- package/dist/vscode-extension/ZAM_Companion_0.10.11.vsix +0 -0
- package/dist/vscode-extension/extension.cjs +27 -26
- package/dist/vscode-extension/host.bundle.js +1537 -1536
- package/dist/vscode-extension/manifest.json +2 -2
- package/package.json +1 -1
- package/dist/vscode-extension/ZAM_Companion_0.10.10.vsix +0 -0
package/dist/cli/app.js
CHANGED
|
@@ -7998,7 +7998,7 @@ function resolveDeps(deps) {
|
|
|
7998
7998
|
findZam: deps.findZam ?? (() => {
|
|
7999
7999
|
const globalZam = findExecutable("zam");
|
|
8000
8000
|
if (globalZam) return globalZam;
|
|
8001
|
-
if (process.argv[1]
|
|
8001
|
+
if (process.argv[1]?.endsWith("index.js")) {
|
|
8002
8002
|
return process.argv[1];
|
|
8003
8003
|
}
|
|
8004
8004
|
return null;
|
|
@@ -10091,7 +10091,7 @@ async function readWebLink(url) {
|
|
|
10091
10091
|
redirect: "manual",
|
|
10092
10092
|
signal: controller.signal,
|
|
10093
10093
|
headers: {
|
|
10094
|
-
"User-Agent": "ZAM-Content-Studio/0.10.
|
|
10094
|
+
"User-Agent": "ZAM-Content-Studio/0.10.11"
|
|
10095
10095
|
}
|
|
10096
10096
|
});
|
|
10097
10097
|
if (res.status >= 300 && res.status < 400) {
|
|
@@ -31206,6 +31206,7 @@ bridgeCommand.command("local-llm-hints").description("Detect installed local LLM
|
|
|
31206
31206
|
var UI_WRITABLE_SETTINGS = /* @__PURE__ */ new Set([
|
|
31207
31207
|
"llm.enabled",
|
|
31208
31208
|
"llm.vision.enabled",
|
|
31209
|
+
"recall.quick_mode",
|
|
31209
31210
|
"system.locale"
|
|
31210
31211
|
]);
|
|
31211
31212
|
bridgeCommand.command("setting-set").description("Set a single allowlisted ZAM setting value (JSON)").requiredOption("--key <key>", "Setting key").requiredOption("--value <value>", "Setting value").action(async (opts) => {
|
|
@@ -31425,6 +31426,9 @@ bridgeCommand.command("get-settings").description("Get active ZAM settings (JSON
|
|
|
31425
31426
|
enabled,
|
|
31426
31427
|
url,
|
|
31427
31428
|
model
|
|
31429
|
+
},
|
|
31430
|
+
recall: {
|
|
31431
|
+
quickMode: await getSetting(db, "recall.quick_mode") === "true"
|
|
31428
31432
|
}
|
|
31429
31433
|
});
|
|
31430
31434
|
});
|
|
@@ -36771,7 +36775,11 @@ import { Command as Command17 } from "commander";
|
|
|
36771
36775
|
var settingsCommand = new Command17("settings").description(
|
|
36772
36776
|
"Manage user settings"
|
|
36773
36777
|
);
|
|
36774
|
-
var BOOLEAN_SETTING_KEYS = /* @__PURE__ */ new Set([
|
|
36778
|
+
var BOOLEAN_SETTING_KEYS = /* @__PURE__ */ new Set([
|
|
36779
|
+
"llm.enabled",
|
|
36780
|
+
"llm.vision.enabled",
|
|
36781
|
+
"recall.quick_mode"
|
|
36782
|
+
]);
|
|
36775
36783
|
function normalizeSettingValue(key, value) {
|
|
36776
36784
|
if (!BOOLEAN_SETTING_KEYS.has(key)) return value;
|
|
36777
36785
|
const lower = value.toLowerCase();
|