@inference/cli 0.0.14 → 0.0.15

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 +35 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -123,6 +123,41 @@ inf inference list # List recent inferences
123
123
  inf inference get <id> # Get full inference details
124
124
  ```
125
125
 
126
+ ### Traces
127
+
128
+ ```bash
129
+ inf trace list # List trace summaries
130
+ inf trace get <trace-id> # Get trace summary + tree
131
+ inf trace get <trace-id> --view tree # Render the span tree
132
+ inf trace get <trace-id> --view timeline # Render a text waterfall
133
+ inf trace get <trace-id> --view thread # Render captured conversation messages
134
+ inf trace facets # Inspect filter facets and counts
135
+ inf trace export create --range 1d --kind LLM # Queue a JSONL trace export
136
+ inf trace export list # List trace export jobs
137
+ inf trace export status <job-id> # Inspect a trace export job
138
+ inf trace export download <job-id> # Download a ready export
139
+ ```
140
+
141
+ Trace list and facet commands support the same dashboard filter vocabulary:
142
+ `--range`, `--from`, `--to`, `--kind`, `--provider`, `--model`, `--service`,
143
+ `--environment`, `--user`, `--session`, `--agent`, `--status`, `--filter`,
144
+ `--metadata`, and `--resource`.
145
+
146
+ ### Spans
147
+
148
+ ```bash
149
+ inf span list # List spans
150
+ inf span list --scope entrypoint # List entrypoint spans
151
+ inf span list --trace-id <trace-id> --text foo # Search spans in a trace
152
+ inf span get <trace-id> <span-id> # Get span summary
153
+ inf span get <trace-id> <span-id> --view io # Print captured input/output
154
+ inf span get <trace-id> <span-id> --view attributes
155
+ inf span facets # Inspect span filter facets
156
+ ```
157
+
158
+ Span list and facet commands support trace filters plus `--trace-id`, `--text`,
159
+ and `--scope all|root|entrypoint`.
160
+
126
161
  ### Dashboard
127
162
 
128
163
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference/cli",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Inference.net CLI - manage training runs, evals, datasets, and inferences from your terminal",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -26,10 +26,10 @@
26
26
  "ai"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "@inference/cli-darwin-arm64": "0.0.14",
30
- "@inference/cli-darwin-x64": "0.0.14",
31
- "@inference/cli-linux-x64": "0.0.14",
32
- "@inference/cli-linux-arm64": "0.0.14"
29
+ "@inference/cli-darwin-arm64": "0.0.15",
30
+ "@inference/cli-darwin-x64": "0.0.15",
31
+ "@inference/cli-linux-x64": "0.0.15",
32
+ "@inference/cli-linux-arm64": "0.0.15"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "bun run clean:bin && bun run build:cli",