@c3-oss/prosa 0.5.0 → 0.6.1

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
@@ -201,8 +201,12 @@ prosa sessions count
201
201
  prosa sessions count --source cursor --since 2026-01-01
202
202
  ```
203
203
 
204
- Session list output includes timestamp, source tool, `session_id`, model,
205
- message count, tool call count, initial working directory, and title.
204
+ Session list output includes timestamp, source tool, a 12-char `session_id`
205
+ prefix, model, message count, tool call count, and title by default. Use
206
+ `--columns all` to include `cwd_initial`, `source_session_id`,
207
+ `parent_session_id`, `is_subagent`, `git_branch_initial`, `model_first`,
208
+ `status`, `timeline_confidence`, and `end_ts`. Pass a CSV list to pick a
209
+ subset (`--columns start_ts,session_id,title`).
206
210
 
207
211
  Output formats:
208
212
 
@@ -210,10 +214,13 @@ Output formats:
210
214
  prosa sessions --output-format table
211
215
  prosa sessions --output-format json
212
216
  prosa sessions --output-format csv
217
+ prosa sessions --columns all
218
+ prosa sessions --columns start_ts,session_id,title
213
219
  ```
214
220
 
215
- The `interactive` output format is accepted by headless commands and currently
216
- renders as a table. Use `prosa tui` for the interactive browser.
221
+ `table` and `interactive` outputs are width-aware: long values are truncated
222
+ with `…` to fit the terminal (or 200 columns when piped). `json` and `csv`
223
+ always emit full values. Use `prosa tui` for the interactive browser.
217
224
 
218
225
  ### `prosa search`
219
226
 
@@ -320,7 +327,24 @@ prosa analytics projects --project /Users/me/app
320
327
 
321
328
  Reports require Parquet files. Add `--refresh` to export Parquet before running
322
329
  the report. All reports support `--store`, `--parquet-dir`, `--source`,
323
- `--since`, `--until`, `--limit`, and `--output-format table|json|csv`.
330
+ `--since`, `--until`, `--limit`, `--output-format table|json|csv`, and
331
+ `--columns <list>` for column selection.
332
+
333
+ Table output is curated to fit a normal terminal: `analytics sessions` shows
334
+ 9 columns by default (drops `source_file_path`, `session_id`,
335
+ `source_session_id`, `tool_result_count`, `tool_duration_ms`, and
336
+ `timeline_confidence`), `analytics projects` drops `project_path`, and
337
+ `analytics errors` drops `session_id` and the full `message` (the shorter
338
+ `preview` keeps the signal). Use `--columns all` to get every column the SQL
339
+ returns, or `--columns col1,col2` to pick specific ones:
340
+
341
+ ```bash
342
+ prosa analytics sessions --columns all
343
+ prosa analytics sessions --columns start_ts,project_name,source_file_path
344
+ prosa analytics errors --columns all # includes the full `message`
345
+ ```
346
+
347
+ `json` and `csv` output always include every column regardless of `--columns`.
324
348
 
325
349
  Additional filters:
326
350
 
@@ -519,7 +543,7 @@ them as the source of truth.
519
543
 
520
544
  Requirements:
521
545
 
522
- - Node.js 22 or newer
546
+ - Node.js 22.15.1 through 26.x
523
547
  - pnpm
524
548
  - devbox, recommended for the local shell
525
549