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 +1 -1
- package/bin/deck.js +5 -1
- package/dist/web/assets/{index-w-uUYSqQ.js → index-D1Ugzi57.js} +2 -2
- package/dist/web/index.html +1 -1
- package/hook/hook.js +12 -3
- package/package.json +1 -1
- package/src/server/claude-dir.mjs +22 -0
- package/src/server/index.mjs +3 -1
- package/src/server/installer.mjs +12 -7
- package/src/server/sound-hook.mjs +2 -1
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(
|
|
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);
|