@edihasaj/recall 0.9.8 → 0.9.10
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/README.md +7 -2
- package/dist/{chunk-O3E7BFYL.js → chunk-KSKGK5OA.js} +55 -3
- package/dist/{chunk-O3E7BFYL.js.map → chunk-KSKGK5OA.js.map} +1 -1
- package/dist/{chunk-PFQSIYBM.js → chunk-SLED34YJ.js} +2 -2
- package/dist/{chunk-PI6SYBQR.js → chunk-UBKOTF3V.js} +2 -2
- package/dist/cli.js +20 -7
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +8 -7
- /package/dist/{chunk-PFQSIYBM.js.map → chunk-SLED34YJ.js.map} +0 -0
- /package/dist/{chunk-PI6SYBQR.js.map → chunk-UBKOTF3V.js.map} +0 -0
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
scanAndStore,
|
|
27
27
|
sessionEndFallback,
|
|
28
28
|
signalOutcomeFallback
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KSKGK5OA.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_LEASE_SECONDS,
|
|
32
32
|
TaskClaimConflictError,
|
|
@@ -1197,4 +1197,4 @@ function createRecallMcpServer(db = initDb()) {
|
|
|
1197
1197
|
export {
|
|
1198
1198
|
createRecallMcpServer
|
|
1199
1199
|
};
|
|
1200
|
-
//# sourceMappingURL=chunk-
|
|
1200
|
+
//# sourceMappingURL=chunk-SLED34YJ.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
listInjectedHistoryIdsForSession,
|
|
12
12
|
signalOutcomeFallback,
|
|
13
13
|
startSessionLifecycle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KSKGK5OA.js";
|
|
15
15
|
import {
|
|
16
16
|
detectCorrections,
|
|
17
17
|
isHighRiskRule,
|
|
@@ -1167,4 +1167,4 @@ export {
|
|
|
1167
1167
|
readCodexSessionEndInputFromStdin,
|
|
1168
1168
|
dispatchCodexNotify
|
|
1169
1169
|
};
|
|
1170
|
-
//# sourceMappingURL=chunk-
|
|
1170
|
+
//# sourceMappingURL=chunk-UBKOTF3V.js.map
|
package/dist/cli.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readCodexSessionStartInputFromStdin,
|
|
24
24
|
readCodexToolInputFromStdin,
|
|
25
25
|
restoreBackup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UBKOTF3V.js";
|
|
27
27
|
import {
|
|
28
28
|
RECALL_DB_USER_VERSION,
|
|
29
29
|
closeDb,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
summarizeValueRetrievalEval,
|
|
70
70
|
togglePolicy,
|
|
71
71
|
writeRepoContextArtifact
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-KSKGK5OA.js";
|
|
73
73
|
import {
|
|
74
74
|
autoResolveContradictions,
|
|
75
75
|
computeAllHealthScores,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
// src/cli.ts
|
|
141
141
|
import { Command } from "commander";
|
|
142
142
|
import { resolve as resolve8 } from "path";
|
|
143
|
-
import { writeFileSync as writeFileSync7, readFileSync as readFileSync8 } from "fs";
|
|
143
|
+
import { writeFileSync as writeFileSync7, readFileSync as readFileSync8, realpathSync } from "fs";
|
|
144
144
|
import { join as join12 } from "path";
|
|
145
145
|
|
|
146
146
|
// src/ump/serve.ts
|
|
@@ -2225,7 +2225,7 @@ function skipped(message) {
|
|
|
2225
2225
|
|
|
2226
2226
|
// src/cli.ts
|
|
2227
2227
|
import { createRequire } from "module";
|
|
2228
|
-
import {
|
|
2228
|
+
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
2229
2229
|
|
|
2230
2230
|
// src/doctor/report.ts
|
|
2231
2231
|
import { existsSync as existsSync9, readFileSync as readFileSync6 } from "fs";
|
|
@@ -3454,6 +3454,9 @@ function removeDirectoryIfEmpty(path) {
|
|
|
3454
3454
|
var require2 = createRequire(import.meta.url);
|
|
3455
3455
|
var pkg = require2("../package.json");
|
|
3456
3456
|
var program = new Command();
|
|
3457
|
+
function defaultRecallAppPath(platform = process.platform) {
|
|
3458
|
+
return platform === "darwin" ? "/Applications/Recall.app" : void 0;
|
|
3459
|
+
}
|
|
3457
3460
|
program.name("recall").description("Cross-tool coding memory and instruction compiler").version(pkg.version);
|
|
3458
3461
|
program.command("init").description("Initialize Recall database").action(() => {
|
|
3459
3462
|
initDb();
|
|
@@ -3573,7 +3576,7 @@ dataCmd.command("purge").description("Permanently erase local Recall data, crede
|
|
|
3573
3576
|
if (result.failures > 0) process.exitCode = 1;
|
|
3574
3577
|
});
|
|
3575
3578
|
var setupCmd = program.command("setup").description("Setup Recall for local use");
|
|
3576
|
-
setupCmd.option("--app-path <path>", "Override Recall.app path",
|
|
3579
|
+
setupCmd.option("--app-path <path>", "Override Recall.app path", defaultRecallAppPath()).option("--hooks-only", "Install hooks only").option("--mcp-only", "Install MCP wiring only").option("--agent <agent>", "Restrict setup to a single agent (repeatable)", collectAgents, []).option("--uninstall-hooks", "Remove Recall-managed hooks while leaving MCP configured").option("--dry-run", "Show planned setup changes without writing").option("--scope <scope>", "Hook config scope: global or project", "global").option("--no-prompt-injection", "Opt out of per-prompt memory injection (writes RECALL_HOOK_INJECT_PROMPT=false inline into the agent hook command)").option("--no-claude-md", "Skip installing the managed CLAUDE.md memory-override block for Claude Code (the block stops Claude's built-in auto-memory from racing Recall)").option("--yes", "Skip confirmation prompt").action(async (opts) => {
|
|
3577
3580
|
if (!opts.yes && !opts.dryRun) {
|
|
3578
3581
|
const confirmed = await confirmSetupWrite(opts.scope);
|
|
3579
3582
|
if (!confirmed) {
|
|
@@ -3624,7 +3627,7 @@ setupCmd.option("--app-path <path>", "Override Recall.app path", "/Applications/
|
|
|
3624
3627
|
}
|
|
3625
3628
|
}
|
|
3626
3629
|
});
|
|
3627
|
-
setupCmd.command("local").description("Configure local agent MCP + hooks against the installed Recall.app").option("--app-path <path>", "Override Recall.app path",
|
|
3630
|
+
setupCmd.command("local").description("Configure local agent MCP + hooks against the installed Recall.app").option("--app-path <path>", "Override Recall.app path", defaultRecallAppPath()).option("--codex-only", "Configure only Codex").option("--claude-only", "Configure only Claude").option("--no-prompt-injection", "Opt out of per-prompt memory injection (writes RECALL_HOOK_INJECT_PROMPT=false inline into the agent hook command)").option("--no-claude-md", "Skip installing the managed CLAUDE.md memory-override block for Claude Code").action((opts) => {
|
|
3628
3631
|
const result = runLocalSetup({
|
|
3629
3632
|
appPath: opts.appPath,
|
|
3630
3633
|
codex: opts.claudeOnly ? false : true,
|
|
@@ -5224,10 +5227,20 @@ function findByPrefix(db, prefix) {
|
|
|
5224
5227
|
}
|
|
5225
5228
|
return void 0;
|
|
5226
5229
|
}
|
|
5227
|
-
|
|
5230
|
+
function isDirectCliInvocation(moduleUrl, argvPath) {
|
|
5231
|
+
if (!argvPath) return false;
|
|
5232
|
+
try {
|
|
5233
|
+
return realpathSync(fileURLToPath5(moduleUrl)) === realpathSync(argvPath);
|
|
5234
|
+
} catch {
|
|
5235
|
+
return false;
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
if (isDirectCliInvocation(import.meta.url, process.argv[1])) {
|
|
5228
5239
|
await program.parseAsync(process.argv);
|
|
5229
5240
|
}
|
|
5230
5241
|
export {
|
|
5242
|
+
defaultRecallAppPath,
|
|
5243
|
+
isDirectCliInvocation,
|
|
5231
5244
|
program
|
|
5232
5245
|
};
|
|
5233
5246
|
//# sourceMappingURL=cli.js.map
|