@thehammer/danx-session-telemetry 0.1.24 → 0.1.25
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/dist/.source-hash +1 -1
- package/dist/browser.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ own header comments for the per-file reasoning.
|
|
|
41
41
|
|---|---|---|
|
|
42
42
|
| **danxbot worker** (root repo, `tsx src/index.ts`) | npm **workspace** link (`"workspaces": ["packages/*"]` in root `package.json`, `"@thehammer/danx-session-telemetry"` in root `dependencies`) | The worker and this package always ship from the SAME repo commit — a workspace link means the worker runs whatever source the current commit carries, with zero drift risk and no dependency on registry propagation timing. The Docker image builds `dist/` for it in a dedicated builder stage (mirroring `dashboard-builder`/`frontend-builder` in `Dockerfile`) since the final image's `npm ci --omit=dev` never installs this package's own `devDependencies` (`typescript`). |
|
|
43
43
|
| **`danx-dashboard-mcp` desktop bridge** (separate npm-published package, DX-2954) | Ordinary npm dependency, **pinned to the exact published version** the worker's commit ships | The bridge is a genuinely separate installable artifact (`npx -y @thehammer/danx-dashboard-mcp`), so it cannot workspace-link into danxbot's own checkout — it needs the real published bytes. Pinning exact (not `^`/`~`) is what makes "worker and MCP run identical collector code for any given release" true: MCP's own version bump is the only thing that ever changes what collector code it runs. |
|
|
44
|
-
| **Dashboard server
|
|
44
|
+
| **Dashboard server** (`src/dashboard/*`) | Same npm dependency shape as the worker (the dashboard server's `src/` is root-repo code, so it resolves through the SAME root workspace link as the worker) | An npm dependency resolves through ordinary node_modules lookup, so no `@backend`-style alias is needed. |
|
|
45
45
|
|
|
46
46
|
## Release order (DX-2962 AC3)
|
|
47
47
|
|
package/dist/.source-hash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a99005cc5028d93375bca47e2f9f264b443b8bccf00fa0e0c24e2de266b93acb
|
package/dist/browser.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* DX-2963 adds the first real runtime exports here: the one usage counter
|
|
18
18
|
* (`usage-ledger.ts`) and the one pricing function (`pricing.ts`), both pure
|
|
19
19
|
* arithmetic with no I/O — `usage-snapshot.ts` in danxbot root (bundled by the
|
|
20
|
-
*
|
|
20
|
+
* React frontend) imports through THIS subpath, never the main entry.
|
|
21
21
|
*/
|
|
22
22
|
export type { AgentLogEntry, AgentLineage } from "./types.js";
|
|
23
23
|
export { truncStr } from "./tool-summary.js";
|
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.25",
|
|
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",
|