chat-recall 0.5.14 → 0.5.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/dist/cli.js +4 -4
- package/dist/mcp.js +21 -4
- package/dist/watch.js +5 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19694,7 +19694,7 @@ var init_http = __esm({
|
|
|
19694
19694
|
CLI_VERSION = JSON.parse(readFileSync33(new URL("../package.json", import.meta.url), "utf-8")).version || CLI_VERSION;
|
|
19695
19695
|
} catch {
|
|
19696
19696
|
try {
|
|
19697
|
-
if (true) CLI_VERSION = "0.5.
|
|
19697
|
+
if (true) CLI_VERSION = "0.5.15";
|
|
19698
19698
|
} catch {
|
|
19699
19699
|
}
|
|
19700
19700
|
}
|
|
@@ -20206,7 +20206,7 @@ var init_telemetry = __esm({
|
|
|
20206
20206
|
init_sync_client();
|
|
20207
20207
|
cliVersion2 = () => {
|
|
20208
20208
|
try {
|
|
20209
|
-
return true ? "0.5.
|
|
20209
|
+
return true ? "0.5.15" : "dev";
|
|
20210
20210
|
} catch {
|
|
20211
20211
|
return "dev";
|
|
20212
20212
|
}
|
|
@@ -21978,7 +21978,7 @@ var init_sync_client = __esm({
|
|
|
21978
21978
|
ownVersion = JSON.parse(readFileSync36(join44(dir, "../package.json"), "utf-8")).version || ownVersion;
|
|
21979
21979
|
} catch {
|
|
21980
21980
|
try {
|
|
21981
|
-
if (true) ownVersion = "0.5.
|
|
21981
|
+
if (true) ownVersion = "0.5.15";
|
|
21982
21982
|
} catch {
|
|
21983
21983
|
}
|
|
21984
21984
|
}
|
|
@@ -25624,7 +25624,7 @@ var init_intent_drain = __esm({
|
|
|
25624
25624
|
ownVersion2 = JSON.parse(readFileSync45(join55(dir, "../package.json"), "utf-8")).version || ownVersion2;
|
|
25625
25625
|
} catch {
|
|
25626
25626
|
try {
|
|
25627
|
-
if (true) ownVersion2 = "0.5.
|
|
25627
|
+
if (true) ownVersion2 = "0.5.15";
|
|
25628
25628
|
} catch {
|
|
25629
25629
|
}
|
|
25630
25630
|
}
|
package/dist/mcp.js
CHANGED
|
@@ -20322,7 +20322,7 @@ var init_http = __esm({
|
|
|
20322
20322
|
CLI_VERSION = JSON.parse(readFileSync37(new URL("../package.json", import.meta.url), "utf-8")).version || CLI_VERSION;
|
|
20323
20323
|
} catch {
|
|
20324
20324
|
try {
|
|
20325
|
-
if (true) CLI_VERSION = "0.5.
|
|
20325
|
+
if (true) CLI_VERSION = "0.5.15";
|
|
20326
20326
|
} catch {
|
|
20327
20327
|
}
|
|
20328
20328
|
}
|
|
@@ -20834,7 +20834,7 @@ var init_telemetry = __esm({
|
|
|
20834
20834
|
init_sync_client();
|
|
20835
20835
|
cliVersion2 = () => {
|
|
20836
20836
|
try {
|
|
20837
|
-
return true ? "0.5.
|
|
20837
|
+
return true ? "0.5.15" : "dev";
|
|
20838
20838
|
} catch {
|
|
20839
20839
|
return "dev";
|
|
20840
20840
|
}
|
|
@@ -22439,7 +22439,7 @@ var init_sync_client = __esm({
|
|
|
22439
22439
|
ownVersion = JSON.parse(readFileSync38(join49(dir, "../package.json"), "utf-8")).version || ownVersion;
|
|
22440
22440
|
} catch {
|
|
22441
22441
|
try {
|
|
22442
|
-
if (true) ownVersion = "0.5.
|
|
22442
|
+
if (true) ownVersion = "0.5.15";
|
|
22443
22443
|
} catch {
|
|
22444
22444
|
}
|
|
22445
22445
|
}
|
|
@@ -23125,6 +23125,14 @@ function stalenessBanner(state2) {
|
|
|
23125
23125
|
return null;
|
|
23126
23126
|
const since = state2.periodEnd ? new Date(state2.periodEnd).toISOString().slice(0, 10) : null;
|
|
23127
23127
|
const days = state2.periodEnd ? Math.max(0, Math.floor((Date.now() - state2.periodEnd) / 864e5)) : null;
|
|
23128
|
+
if (state2.status === "none") {
|
|
23129
|
+
return [
|
|
23130
|
+
"\u26A0 THIS ACCOUNT HAS NOT STARTED ITS TRIAL \u2014 the email address is not confirmed yet.",
|
|
23131
|
+
"Recall is switched off until it is: searches and session reads are refused, and nothing is syncing.",
|
|
23132
|
+
"Nothing is wrong with the account. Tell the user to click the confirmation link in their inbox,",
|
|
23133
|
+
"and that the free trial starts the moment they do. Nothing is counting down until then."
|
|
23134
|
+
].join(" ");
|
|
23135
|
+
}
|
|
23128
23136
|
const reason = state2.status === "trialing" ? "the trial has ended" : state2.status === "past_due" ? "a payment has not gone through" : "the subscription has lapsed";
|
|
23129
23137
|
return [
|
|
23130
23138
|
`\u26A0 THIS ACCOUNT HAS NO ACTIVE PLAN \u2014 ${reason}.`,
|
|
@@ -23469,6 +23477,9 @@ var indexRunner = null;
|
|
|
23469
23477
|
function setIndexRunner(fn) {
|
|
23470
23478
|
indexRunner = fn;
|
|
23471
23479
|
}
|
|
23480
|
+
function localOnlyRefusal(tool) {
|
|
23481
|
+
return `${tool} runs on YOUR machine, not on the server \u2014 this connection has no access to your files. Install the chat-recall CLI and run it there; everything it collects syncs here and stays searchable from this connection.`;
|
|
23482
|
+
}
|
|
23472
23483
|
async function runIndexChild(force) {
|
|
23473
23484
|
if (!indexRunner) {
|
|
23474
23485
|
return "Indexing runs on YOUR machine, not on the server \u2014 this connection has no access to your transcripts. Install the CLI and run `chat-recall index` (or `chat-recall init` for first-time setup) on the machine whose history you want searchable here.";
|
|
@@ -25188,6 +25199,9 @@ async function dispatchTool(request) {
|
|
|
25188
25199
|
return { content: [{ type: "text", text: lines.join("\n") }] };
|
|
25189
25200
|
}
|
|
25190
25201
|
case "recall_index": {
|
|
25202
|
+
if (isMultiTenant()) {
|
|
25203
|
+
return { content: [{ type: "text", text: localOnlyRefusal("recall_index") }] };
|
|
25204
|
+
}
|
|
25191
25205
|
const params = RecallIndexSchema.parse(args);
|
|
25192
25206
|
getWAL().log("index", { force: params.force });
|
|
25193
25207
|
requireRemote();
|
|
@@ -26171,6 +26185,9 @@ ${howTo}` }] };
|
|
|
26171
26185
|
// codeindex binary is on PATH; see the pre-switch guard) ──
|
|
26172
26186
|
case "recall_code_index": {
|
|
26173
26187
|
const params = RecallCodeIndexSchema.parse(args);
|
|
26188
|
+
if (isMultiTenant()) {
|
|
26189
|
+
return { content: [{ type: "text", text: localOnlyRefusal("recall_code_index") }] };
|
|
26190
|
+
}
|
|
26174
26191
|
requireRemote();
|
|
26175
26192
|
const { collectCode: collectCode2 } = await Promise.resolve().then(() => (init_collector(), collector_exports));
|
|
26176
26193
|
const { resolve: resolvePath } = await import("node:path");
|
|
@@ -26733,7 +26750,7 @@ ${row.value}`
|
|
|
26733
26750
|
const parsedWake = RecallWakeUpSchema.parse(args);
|
|
26734
26751
|
const params = { ...parsedWake, project_filter: parsedWake.project_filter ?? parsedWake.project };
|
|
26735
26752
|
let identity = params.identity ?? "AI coding assistant";
|
|
26736
|
-
if (!params.identity) {
|
|
26753
|
+
if (!params.identity && !isMultiTenant()) {
|
|
26737
26754
|
const idFile = getIdentityFilePath();
|
|
26738
26755
|
if (existsSync23(idFile)) {
|
|
26739
26756
|
try {
|
package/dist/watch.js
CHANGED
|
@@ -19177,7 +19177,7 @@ var init_http = __esm({
|
|
|
19177
19177
|
CLI_VERSION = JSON.parse(readFileSync33(new URL("../package.json", import.meta.url), "utf-8")).version || CLI_VERSION;
|
|
19178
19178
|
} catch {
|
|
19179
19179
|
try {
|
|
19180
|
-
if (true) CLI_VERSION = "0.5.
|
|
19180
|
+
if (true) CLI_VERSION = "0.5.15";
|
|
19181
19181
|
} catch {
|
|
19182
19182
|
}
|
|
19183
19183
|
}
|
|
@@ -19685,7 +19685,7 @@ var init_telemetry = __esm({
|
|
|
19685
19685
|
init_sync_client();
|
|
19686
19686
|
cliVersion = () => {
|
|
19687
19687
|
try {
|
|
19688
|
-
return true ? "0.5.
|
|
19688
|
+
return true ? "0.5.15" : "dev";
|
|
19689
19689
|
} catch {
|
|
19690
19690
|
return "dev";
|
|
19691
19691
|
}
|
|
@@ -21327,7 +21327,7 @@ var init_sync_client = __esm({
|
|
|
21327
21327
|
ownVersion = JSON.parse(readFileSync36(join44(dir, "../package.json"), "utf-8")).version || ownVersion;
|
|
21328
21328
|
} catch {
|
|
21329
21329
|
try {
|
|
21330
|
-
if (true) ownVersion = "0.5.
|
|
21330
|
+
if (true) ownVersion = "0.5.15";
|
|
21331
21331
|
} catch {
|
|
21332
21332
|
}
|
|
21333
21333
|
}
|
|
@@ -24040,7 +24040,7 @@ try {
|
|
|
24040
24040
|
ownVersion2 = JSON.parse(readFileSync40(join49(dir, "../package.json"), "utf-8")).version || ownVersion2;
|
|
24041
24041
|
} catch {
|
|
24042
24042
|
try {
|
|
24043
|
-
if (true) ownVersion2 = "0.5.
|
|
24043
|
+
if (true) ownVersion2 = "0.5.15";
|
|
24044
24044
|
} catch {
|
|
24045
24045
|
}
|
|
24046
24046
|
}
|
|
@@ -24384,7 +24384,7 @@ async function runCollectorMigration(opts) {
|
|
|
24384
24384
|
init_sync_ledger();
|
|
24385
24385
|
init_collector_health();
|
|
24386
24386
|
import { existsSync as existsSync50, readFileSync as readFileSync45 } from "fs";
|
|
24387
|
-
var CLI_VERSION3 = true ? "0.5.
|
|
24387
|
+
var CLI_VERSION3 = true ? "0.5.15" : "0.0.0";
|
|
24388
24388
|
var DEBOUNCE_MS = 5e3;
|
|
24389
24389
|
var CLAUDE_DIR = claudeBackend.projectsDir();
|
|
24390
24390
|
var PLANS_DIR = claudeBackend.plansDir();
|