Skip to content

Commit 0000b68

Browse files
committed
add wsh blocks to release notes and wsh-reference, also mention wsh ai in the rl
1 parent 07c0d2c commit 0000b68

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

docs/docs/releasenotes.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Wave Terminal v0.12.0 introduces a completely redesigned AI experience powered b
1616
- **New Slide-Out Chat Panel** - Access Wave AI via hotkeys (Cmd-Shift-A or Ctrl-Shift-0) from the left side of your screen
1717
- **Multi-Modal Input** - Support for images, PDFs, and text file attachments
1818
- **Drag & Drop Files** - Simply drag files into the chat to attach them
19+
- **Command-Line Integration** - Send files and command output directly to Wave AI using `wsh ai`
1920
- **Smart Context Switching** - Enable Wave AI to see into your widgets and file system
2021
- **Built-in Tools:**
2122
- Web search capabilities
@@ -30,6 +31,7 @@ For more information and upcoming features, visit our [Wave AI documentation](ht
3031

3132
**Other Improvements:**
3233
- New onboarding flow showcasing block magnification, Wave AI, and wsh view/edit capabilities
34+
- New `wsh blocks list` command for listing and filtering blocks by workspace, tab, or view type
3335
- Continued migration from SCSS to Tailwind v4
3436
- Package upgrades and dependency updates
3537
- Internal code cleanup and refactoring

docs/docs/wsh-reference.mdx

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,4 +857,42 @@ The command will show you the full path to:
857857
Use the `-t` flag with the log path to quickly view recent log entries without having to open the full file. This is particularly useful for troubleshooting.
858858
:::
859859
860+
---
861+
862+
## blocks
863+
864+
The `blocks` command provides operations for listing and querying blocks across workspaces, windows, and tabs. Primarily useful for debugging and scripting.
865+
866+
### list
867+
868+
```sh
869+
wsh blocks list [flags]
870+
```
871+
872+
List all blocks with optional filtering by workspace, window, tab, or view type. Output can be formatted as a table (default) or JSON for scripting.
873+
874+
Flags:
875+
- `--workspace <id>` - restrict to specific workspace id
876+
- `--window <id>` - restrict to specific window id
877+
- `--tab <id>` - restrict to specific tab id
878+
- `--view <type>` - filter by view type (term, web, preview, edit, sysinfo, waveai)
879+
- `--json` - output results as JSON
880+
- `--timeout <ms>` - RPC timeout in milliseconds (default: 5000)
881+
882+
Examples:
883+
884+
```sh
885+
# List all blocks
886+
wsh blocks list
887+
888+
# List only terminal blocks
889+
wsh blocks list --view=term
890+
891+
# Filter by workspace
892+
wsh blocks list --workspace=12d0c067-378e-454c-872e-77a314248114
893+
894+
# Output as JSON for scripting
895+
wsh blocks list --json
896+
```
897+
860898
</PlatformProvider>

0 commit comments

Comments
 (0)