skydive-cli 0.5.0-beta.32 → 0.5.0-beta.36

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/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Changed
11
+
12
+ - `npm i -g skydive-cli` (and yarn/pnpm/bun) now installs a tiny launcher plus one prebuilt, os/cpu-matched binary that carries its own runtime — so on the common platforms `skydive chat` and `skydive import` start instantly and **do not download a Bun runtime on first use**. On any platform without a prebuilt binary (or if the optional dependency is skipped), the CLI automatically falls back to the existing behavior: it runs under your Node and provisions Bun on first `chat`, exactly as before. Nothing about the commands, flags, config, or `SKYDIVE_*` environment variables changes, and `skydive update` still upgrades npm installs via your package manager and standalone-binary installs in place.
13
+
10
14
  ### Added
11
15
 
12
16
  - `/search` (alias `/find`) in the chat TUI — opens the conversation picker with its search field focused, so "find a conversation" has a discoverable command instead of being a feature you had to know the bare picker already had. Pass a query inline (`/search billing deep dive`) and the picker opens already narrowed to the matches; bare `/search` opens it ready for you to type. The search runs server-side across conversation titles, message bodies, and participant names, the same search the picker exposes.
package/README.md CHANGED
@@ -483,6 +483,25 @@ The remaining keys (`apiKey`, `apiUrl`, `sessionToken`, `appUrl`, `themeDark`,
483
483
  `themeLight`, …) are credentials or flow-managed state — leave them to the
484
484
  CLI.
485
485
 
486
+ ## Diagnostic logs
487
+
488
+ The CLI records local diagnostics by default. It keeps the latest 20 sessions
489
+ beside the CLI config. Nothing uploads automatically.
490
+
491
+ ```sh
492
+ skydive logs # list recent sessions
493
+ skydive logs path # print the latest session directory
494
+ skydive logs export # archive the latest session for sharing
495
+ skydive logs export <session> # archive one session from `logs list`
496
+ ```
497
+
498
+ Automatic logs include request timing, TUI state changes, render performance,
499
+ and process metadata. Command values and URL query values are removed.
500
+
501
+ Set `SKYDIVE_PROFILE=<path>` to write a full profile to a chosen directory.
502
+ Full profiles also include CPU data. Set `SKYDIVE_PROFILE=0` to disable all
503
+ session diagnostics.
504
+
486
505
  ## Environment variables
487
506
 
488
507
  | Variable | Effect |
@@ -493,6 +512,7 @@ CLI.
493
512
  | `SKYDIVE_APP_URL` | Chat app/session origin (overrides stored value) |
494
513
  | `SKYDIVE_THEME` | Chat colorscheme id (flag `--theme` overrides) |
495
514
  | `SKYDIVE_CONFIG_NAME` | On-disk config profile name (default `skydive`) |
515
+ | `SKYDIVE_PROFILE` | Full profile path; `0` disables diagnostics |
496
516
 
497
517
  ## Testing the TUI
498
518