@tangle-network/traces 0.9.18 → 0.10.0

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 CHANGED
@@ -122,6 +122,7 @@ traces inspect session-index.json --out inspection-report.md
122
122
  traces evidence --harness codex --last 20 --out policy-evidence.jsonl
123
123
  traces evidence --harness codex-exec --session /tmp/codex.jsonl --cwd "$PWD" --out policy-evidence.jsonl
124
124
  traces export policy-evidence.jsonl --out spans.openinference.jsonl
125
+ traces import-codetracebench verified.jsonl --trajectory-dir normalized --out traces --revision <40-or-64-character-hex>
125
126
  traces watch --all # live observer; loops + semantic findings
126
127
  traces stream --all --mode findings # low-volume semantic feed
127
128
  traces stream --all --mode agent # findings + deterministic report events
@@ -146,7 +147,7 @@ traces upload --since 24h # upload last day to the Inte
146
147
  | `--dir <path>` | `improve`: write the full artifact pack to this directory |
147
148
  | `--otlp <path>` | OTLP artifact path (also evidence provenance / dry-run upload preview) |
148
149
  | `--format <kind>` | File `analyze`, `export`, or `stream`: `auto`, `policy-evidence`, `sandbox-events`, `openinference`, `intelligence-spans`, or `chat-trajectory` |
149
- | `--llm` / `--budget <usd>` | Enable agentic analysts (needs `OPENAI_API_KEY`) / cap their spend |
150
+ | `--llm` / `--budget <usd>` | Enable agentic analysts (needs `TANGLE_API_KEY` + Python with `agent-eval-rpc[dspy]`) / cap their spend |
150
151
  | `--config <path>` | `analyze` / `investigate` / `improve` / `stream`: load BYO analysts, live analysts, and external analyzers |
151
152
  | `--interval <s>` / `--window <m>` | `watch` / live `stream`: poll seconds (default 5) / active-session window minutes (default 30) |
152
153
  | `--min-loop <n>` | Identical repeated calls before flagging a loop (default 3) |
@@ -372,7 +373,10 @@ traces upload --since 24h --dry-run --redactor "my-pii-scrubber"
372
373
  In the SDK these are the `ExternalAnalyzer` and `Redactor` interfaces (`haloAnalyzer`, `hodoscopeAnalyzer`, `commandAnalyzer`, `commandRedactor`, `applyRedactor`, `runExternalAnalyzers`).
373
374
  See [`examples/external-engines.ts`](./examples/external-engines.ts).
374
375
 
375
- > For the built-in agentic analysts (`--llm`), set `OPENAI_API_KEY`, or point at any OpenAI-compatible gateway with `OPENAI_BASE_URL` (e.g. an internal router) to use a non-OpenAI key.
376
+ > The built-in agentic analysts (`--llm`) run on the Tangle router by default: set `TANGLE_API_KEY`.
377
+ > `OPENAI_API_KEY` alone targets OpenAI instead, and `OPENAI_BASE_URL` overrides the endpoint for any other OpenAI-compatible gateway.
378
+ > `--llm` also needs a Python interpreter with `agent-eval-rpc[dspy]` installed, because agent-eval's model-backed analysts run through the DSPy RLM engine out of process; set `TRACES_PYTHON` to choose the interpreter.
379
+ > Every deterministic command — `list`, `analyze` without `--llm`, `convert`, `index`, `inspect`, `export`, `evidence`, `stream`, `watch`, `analyze --supervisor-run-dir` — needs neither a key nor Python.
376
380
 
377
381
  ## Agent skills
378
382