error-trace-debugger 0.1.0 → 0.1.4

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 (2) hide show
  1. package/README.md +21 -2
  2. package/package.json +23 -1
package/README.md CHANGED
@@ -3,6 +3,12 @@
3
3
  CLI agent that ingests logs/stack traces, investigates a codebase, and outputs a report with a
4
4
  suggested fix and (when possible) a unified patch.
5
5
 
6
+ ## Keywords
7
+
8
+ `cli`, `logs`, `stack-trace`, `error-analysis`, `debugging`, `nodejs`, `javascript`, `jest`,
9
+ `typescript`, `patch`, `diff`, `git`, `testing`, `langchain`, `langgraph`, `openai`, `llm`,
10
+ `developer-tools`, `static-analysis`, `code-search`
11
+
6
12
  ## Install
7
13
 
8
14
  ```bash
@@ -75,12 +81,25 @@ error-trace-debugger analyze --logs ./error.log --run-tests --test-command "npm
75
81
  ### Engine: v1 (default) vs v2 (LangGraph)
76
82
 
77
83
  - **v1** (default): heuristic loop (parse → search → diff → optional tests). No LLM.
78
- - **v2**: LangGraph state machine with the same tools plus LLM-backed patch proposal. Use `--engine v2` and set `OPENAI_API_KEY` (or `--api-key-env VAR`). Optional: `--provider openai`, `--model <name>`, `--max-tool-calls`, `--max-files-read`, `--max-bytes-read`.
84
+ - **v2**: LangGraph state machine with LLM-backed patch proposal.
85
+
86
+ For **v2**, run these in order:
87
+
88
+ 1) Set your OpenAI API key in the shell:
89
+
90
+ ```bash
91
+ export OPENAI_API_KEY="your_openai_api_key"
92
+ ```
93
+
94
+ 2) Run the v2 command:
79
95
 
80
96
  ```bash
81
97
  error-trace-debugger analyze --engine v2 --logs ./error.log --repo .
82
98
  ```
83
99
 
100
+ Optional v2 flags: `--provider openai`, `--model <name>`, `--api-key-env <ENV_VAR>`,
101
+ `--max-tool-calls`, `--max-files-read`, `--max-bytes-read`.
102
+
84
103
  ## What it does (v1)
85
104
  - **Log analyzer**: parses common Node/Jest stack traces into structured frames.
86
105
  - **Code search**: uses ripgrep if available (otherwise scans within safe budgets).
@@ -92,5 +111,5 @@ The orchestrator iteratively:
92
111
  `logs → hypothesis → code search → patch proposal → (optional) tests`.
93
112
 
94
113
  ## Notes
95
- - v1 focuses on investigation + reporting. Patch generation is supported but requires a fix plan with edits (a future version can add an LLM-backed patch proposer).
114
+ - v1 focuses on investigation + reporting. Patch generation is supported when concrete edits are produced.
96
115
  - PR creation is intentionally out of scope for v1.
package/package.json CHANGED
@@ -1,7 +1,29 @@
1
1
  {
2
2
  "name": "error-trace-debugger",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "CLI agent that analyzes logs, investigates a repo, suggests fixes, and outputs a patch.",
5
+ "keywords": [
6
+ "cli",
7
+ "logs",
8
+ "stack-trace",
9
+ "error-analysis",
10
+ "debugging",
11
+ "nodejs",
12
+ "javascript",
13
+ "jest",
14
+ "typescript",
15
+ "patch",
16
+ "diff",
17
+ "git",
18
+ "testing",
19
+ "langchain",
20
+ "langgraph",
21
+ "openai",
22
+ "llm",
23
+ "developer-tools",
24
+ "static-analysis",
25
+ "code-search"
26
+ ],
5
27
  "type": "module",
6
28
  "bin": {
7
29
  "error-trace-debugger": "bin/error-trace-debugger"