@ramarivera/coding-agent-langfuse 0.1.31 → 0.1.33

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.
Files changed (3) hide show
  1. package/README.md +21 -0
  2. package/dist/cli.js +3 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -91,3 +91,24 @@ npx @ramarivera/coding-agent-langfuse@latest \
91
91
 
92
92
  Deduplication is state-file based and keyed by agent, session id, and source
93
93
  record id. Reuse the same `--state` path for repeat repairs on a host.
94
+
95
+ ## Verification
96
+
97
+ The test suite covers parser behavior for all supported agents and exercises the
98
+ CLI against a local OTLP collector.
99
+
100
+ ```sh
101
+ npm run check
102
+ npm test
103
+ npm run test:e2e
104
+ ```
105
+
106
+ The e2e suite verifies:
107
+
108
+ - Codex full session traces with messages, reasoning, tool calls, tool results,
109
+ usage, and costs
110
+ - Follow mode picking up newly written Codex events
111
+ - One CLI run posting reconstructable traces for Claude Code, Codex, Grok,
112
+ OpenCode, and Pi
113
+ - Service plan generation for Linux systemd user units, macOS LaunchAgents, and
114
+ Windows Scheduled Tasks
package/dist/cli.js CHANGED
@@ -8,5 +8,7 @@ async function main(argv = process.argv.slice(2)) {
8
8
  }
9
9
  await backfillMain(argv);
10
10
  }
11
- await main();
11
+ if (import.meta.url === `file://${process.argv[1]}`) {
12
+ await main();
13
+ }
12
14
  export { main };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramarivera/coding-agent-langfuse",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Universal coding-agent Langfuse backfiller and live OTLP helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",