@thehammer/danx-session-telemetry 0.1.18 → 0.1.19
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.
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
* producers derive `activity_id` from the same thing: the sub-agent's transcript
|
|
41
41
|
* file basename, `agent-<agent_id>`. The watcher has it directly; a hook has the
|
|
42
42
|
* `agent_id` and builds the same basename from it (`subagentActivityId` in
|
|
43
|
-
* danx-dashboard-mcp's `activity.ts
|
|
43
|
+
* danx-dashboard-mcp's `activity.ts`, which also strips an `agent-` prefix the hooks docs show
|
|
44
|
+
* on some `agent_id`s so both forms reach this key). A hook's `transcript_path` is NOT the
|
|
44
45
|
* sub-agent's file — on these events it is the MAIN session's transcript, and only
|
|
45
46
|
* `SubagentStop` also carries the sub-agent's own as `agent_transcript_path`,
|
|
46
47
|
* which the subcommand uses to refuse a key that disagrees. That basename is also
|
|
@@ -111,9 +111,9 @@ export interface SessionLogWatcherOptions {
|
|
|
111
111
|
* This is the transcript-side producer of the dispatch's running set. It
|
|
112
112
|
* reports the sub-agent's ledger source key, which is the same value its
|
|
113
113
|
* `dispatch_activities.activity_id` and its per-source token total join on —
|
|
114
|
-
* so a hook-side producer reporting the same sub-agent by its
|
|
115
|
-
* `
|
|
116
|
-
* than a duplicate.
|
|
114
|
+
* so a hook-side producer reporting the same sub-agent by its `agent_id`
|
|
115
|
+
* (`agent-` + the id, DX-3284) resolves to this same id and upserts the SAME
|
|
116
|
+
* row rather than a duplicate.
|
|
117
117
|
*
|
|
118
118
|
* Fired once per source, from the discovery pass, for sub-agent files only —
|
|
119
119
|
* never for the main transcript, which is the dispatch itself, not an activity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thehammer/danx-session-telemetry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Shared Claude Code transcript collector (DX-2962) — incremental JSONL tailing for the danxbot worker and the danx-dashboard-mcp desktop bridge, so both run identical collector code.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|