waveterm/pkg
Oleksandr Hreshchuk 7681214fa1
feat(cli): add blocks list with filtering and JSON output (#2337)
### What This Does
Adds a new `wsh blocks list` subcommand that lists all blocks in all or
specified workspace, window, or tab. Includes filtering options and JSON
output for automation.

### Motivation
Wave users had no simple way to programmatically discover block IDs for
scripting and automation. This feature:
- Enables workflows like syncing Preview widgets with `cd` changes.
- Simplifies debugging and introspection.
- Provides a foundation for future CLI enhancements (focus/close
blocks).

### Usage
```wsh blocks [list|ls|get] [--workspace=<workspace-id>] [--window=<window-id>] [--tab=<tab-id>] [--view=<view-type>] [--json]```

Where `<view-type>` can be one of: term, terminal, shell, console, web, browser, url, preview, edit, sysinfo, sys, system, waveai, ai, or assistant.

### Notes
- Fully backward compatible.
- Code follows existing CLI patterns.
2025-10-08 13:41:24 -07:00
..
aiusechat custom streamdown components for wave ai (#2404) 2025-10-08 13:22:00 -07:00
authkey Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
blockcontroller New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
blocklogger conn updates 3 (#1711) 2025-01-10 14:09:32 -08:00
docsite Add license identifiers to missing files (#1806) 2025-01-22 20:06:36 -08:00
eventbus Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
faviconcache web bookmarks (#1930) 2025-02-07 16:11:40 -08:00
filestore Fix windows path for wsh url (#1798) 2025-01-22 17:28:59 -08:00
genconn WSL Updates for New Architecture (#1756) 2025-01-16 15:54:58 -08:00
gogen Embedded Structs in Code Generation (#1909) 2025-02-07 13:13:47 -08:00
ijson Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
panichandler new tevents analytics framework (#1894) 2025-02-03 15:32:44 -08:00
remote Not found paths in prefix fs always treated as dir (#2002) 2025-02-21 16:32:14 -08:00
schema settings schema.json (#1874) 2025-02-03 14:20:50 -08:00
service add tsunami view in wave (#2350) 2025-09-15 12:58:59 -07:00
shellexec implement cmd:jwt and fix remote execution of commands (#2292) 2025-08-26 16:23:48 -07:00
suggestion remove wsh s3 dependency (#1994) 2025-02-18 18:52:32 -08:00
telemetry New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
trimquotes Add license identifiers to missing files (#1806) 2025-01-22 20:06:36 -08:00
tsgen New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
userinput Known Hosts User Input Fix (#1778) 2025-01-20 14:38:40 -08:00
util New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
utilds add tsunami view in wave (#2350) 2025-09-15 12:58:59 -07:00
vdom Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
waveai New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
waveapp fail any rpc call which blocks the runServer loop for more than 1s (#1861) 2025-01-27 22:38:19 -08:00
wavebase add tsunami view in wave (#2350) 2025-09-15 12:58:59 -07:00
waveobj New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
wcloud new tevents analytics framework (#1894) 2025-02-03 15:32:44 -08:00
wconfig switch to using gpt-5-mini for free proxy (#2297) 2025-08-28 14:28:49 -07:00
wcore New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
web New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
wps New AIPanel (#2370) 2025-10-07 13:32:10 -07:00
wshrpc feat(cli): add blocks list with filtering and JSON output (#2337) 2025-10-08 13:41:24 -07:00
wshutil s3 suggestions + widget cache (#1987) 2025-02-18 15:15:12 -08:00
wsl WSL Updates for New Architecture (#1756) 2025-01-16 15:54:58 -08:00
wslconn new tevents analytics framework (#1894) 2025-02-03 15:32:44 -08:00
wstore New AIPanel (#2370) 2025-10-07 13:32:10 -07:00