Skip to content

Commit e2ea4b4

Browse files
committed
updates to waveai docs
1 parent 1cc7aff commit e2ea4b4

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

docs/docs/waveai.mdx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ Drag files onto the AI panel to attach:
4242
| PDFs | `.pdf` | 5 MB | Text extraction for analysis |
4343
| Text/Code | `.js`, `.ts`, `.py`, `.go`, `.md`, `.json`, `.yaml`, etc. | 200 KB | All common languages and configs |
4444

45+
## CLI Integration
46+
47+
Use `wsh ai` to send files and prompts from the command line:
48+
49+
```bash
50+
git diff | wsh ai - # Pipe to AI
51+
wsh ai main.go -m "find bugs" # Attach files with message
52+
wsh ai $(tail -n 500 my.log) -m "review" -s # Auto-submit with output
53+
```
54+
55+
Supports text files, images, PDFs, and directories. Use `-n` for new chat, `-s` to auto-submit.
56+
4557
## AI Tools (Widget Context Enabled)
4658

4759
### Terminal
@@ -50,6 +62,7 @@ Drag files onto the AI panel to attach:
5062
### File System
5163
- **Read Files**: Reads text files with line range support (requires approval)
5264
- **List Directories**: Returns file info, sizes, permissions, timestamps (requires approval)
65+
- **Write Text Files**: Create or modify files with diff preview and approval (requires approval)
5366

5467
### Web
5568
- **Navigate Web**: Changes URLs in web browser widgets
@@ -72,10 +85,8 @@ File system operations require explicit approval. You control all file access.
7285
Wave AI is in active beta with included AI credits while we refine the experience. BYOK will be available once we've stabilized core features and gathered feedback on what works best. Share feedback in our [Discord](https://discord.gg/XfvZ334gwU).
7386

7487
**Coming Soon:**
75-
- **CLI Integration**: Send files and chat prompts directly from the command line
7688
- **Remote File Access**: Read files on SSH-connected systems
7789
- **Command Execution**: Run terminal commands with approval
78-
- **File Editing**: Modify files with approval or open in editor widgets
7990
- **Web Content**: Extract text from web pages (currently screenshots only)
8091
:::
8192

0 commit comments

Comments
 (0)