@edihasaj/recall 0.9.8 → 0.9.9

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 CHANGED
@@ -10,6 +10,7 @@ Recall is a local repo-memory compiler for coding agents. It learns from correct
10
10
 
11
11
  - Website: <https://recallmemory.dev/>
12
12
  - Recall Cloud login: <https://app.recallmemory.dev/login>
13
+ - Support: <mailto:support@recallmemory.dev>
13
14
  - Releases: <https://github.com/edihasaj/recall/releases>
14
15
  - Contributing: [CONTRIBUTING.md](CONTRIBUTING.md)
15
16
  - Comparison vs other memory systems: [`benchmark/COMPARISON.md`](benchmark/COMPARISON.md)
@@ -513,4 +514,4 @@ npm test
513
514
  npm run build
514
515
  ```
515
516
 
516
- Release and Homebrew publishing notes live in [docs/RELEASING.md](docs/RELEASING.md). The landing page is static HTML/CSS in [docs/](docs/) and deploys with GitHub Pages.
517
+ Release and Homebrew publishing notes live in [docs/RELEASING.md](docs/RELEASING.md). The landing page is static HTML/CSS in [docs/](docs/) and deploys with GitHub Pages. Public crawl configuration lives in [docs/robots.txt](docs/robots.txt), with canonical landing-page URLs listed in [docs/sitemap.xml](docs/sitemap.xml).
package/dist/cli.js CHANGED
@@ -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 { pathToFileURL } from "url";
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", "/Applications/Recall.app").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) => {
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", "/Applications/Recall.app").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) => {
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
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
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