agent-dag 1.33.34 → 1.33.35

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
@@ -53,7 +53,7 @@ No config file. No account. No telemetry — nothing about your sessions is repo
53
53
 
54
54
  Two capture paths feed one SSE stream, which feeds one canvas.
55
55
 
56
- **Claude Code** — on first run, ccdeck adds a hook entry to `~/.claude/settings.json` for every relevant event:
56
+ **Claude Code** — on first run, ccdeck adds a hook entry to `~/.claude/settings.json` for every relevant event (or to `$CLAUDE_CONFIG_DIR/settings.json`, and every other path below moves with it, when you have that variable set):
57
57
 
58
58
  ```
59
59
  SessionStart · UserPromptSubmit · PreToolUse · PostToolUse · PostToolUseFailure
package/bin/deck.js CHANGED
@@ -55,9 +55,13 @@ const workspace = flags.workspace != null
55
55
  ? flags.workspace
56
56
  : (flags.scope ? process.cwd() : "");
57
57
  const openBrowser = flags.noOpen !== true;
58
+ // The events log lives beside the discovery files, so it follows the Claude
59
+ // config dir rather than assuming ~/.claude — see src/server/claude-dir.mjs.
60
+ const { claudeConfigDir } =
61
+ await import(pathToFileURL(join(PKG_ROOT, "src/server/claude-dir.mjs")).href);
58
62
  const persist = flags.noPersist
59
63
  ? null
60
- : (flags.history ?? join(homedir(), ".claude", "agent-dag", "events.jsonl"));
64
+ : (flags.history ?? join(claudeConfigDir(), "agent-dag", "events.jsonl"));
61
65
 
62
66
  const { installHooks, writeDiscovery, removeDiscovery, hasCodexInstalled } =
63
67
  await import(pathToFileURL(join(PKG_ROOT, "src/server/installer.mjs")).href);