agent-dag 1.33.33 → 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
@@ -34,7 +34,7 @@ npx ccdeck # or: npx agents-deck · npx agent-dag — same package
34
34
 
35
35
  Opens **http://127.0.0.1:4317** and registers the Claude Code hook on first run. Start any Claude Code or Codex session and the graph fills in live. `Ctrl+C` stops it.
36
36
 
37
- No config file. No account. No telemetry. Nothing leaves your machine except one ~20-byte version check against the npm registry, which you can turn off.
37
+ No config file. No account. No telemetry nothing about your sessions is reported anywhere. What does go out is short and ordinary: a ~20-byte version check against the npm registry, installs and daily version checks for the two tools the deck manages (claude-swap from PyPI, ccusage from npm), and, while the page is open, quota reads to Anthropic and OpenAI signed with your own credentials — that is where those numbers live. `AGENTS_DECK_NO_INSTALL=1` turns off everything but the quota reads.
38
38
 
39
39
  ## What you get
40
40
 
@@ -53,7 +53,7 @@ No config file. No account. No telemetry. Nothing leaves your machine except one
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);