You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/presets.mdx
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,16 @@ Presets can be used to apply multiple setting overrides at once to either a tab
8
8
9
9
You can set presets either by placing them in `~/.config/waveterm/presets.json` or by placing them in a JSON file in the `~/.config/waveterm/presets/` directory. All presets will be aggregated regardless of which file they're placed in so you can use the `presets` directory to organize them as you see fit.
10
10
11
+
:::info
12
+
13
+
You can open up the main presets config file in Wave by running:
14
+
15
+
```
16
+
wsh editconfig presets.json
17
+
```
18
+
19
+
:::
20
+
11
21
### File format
12
22
13
23
Presets follow the following format:
@@ -76,18 +86,18 @@ The following configuration keys are available for use in presets:
Copy file name to clipboardExpand all lines: docs/docs/releasenotes.mdx
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@ sidebar_position: 200
6
6
7
7
# Release Notes
8
8
9
+
### v0.9.2 — Nov 11, 2024
10
+
11
+
New minor release with bug fixes and new features! Fixed the bug around making Wave fullscreen (also affecting certain window managers like Hyprland). We've also put a lot of work into the doc site (https://docs.waveterm.dev), including documenting how [Widgets](./widgets) and [Presets](./presets) work!
12
+
13
+
- Updated documentation
14
+
- Wave AI now supports the Anthropic API! Checkout the [FAQ](./faq) for how to use the Claude models with Wave AI.
15
+
- Removed defaultwidgets.json and unified it to widgets.json. Makes it more straightforward to override the default widgets.
16
+
- New resolvers for `-b` param in `wsh`. "tab:N" for accessing the nth tab, "[view]" and "[view]:N" for accessing blocks of a particlar view.
17
+
- New `wsh ai` command to send AI chats (and files) directly to a new or existing AI block
18
+
- wsh setmeta/getmeta improvements. Allow setmeta to take a json file (and also read from stdin), also better output formats for getmeta (compatible with setmeta).
19
+
-[bugfix] Set max completion tokens in the OpenAI API so we can now work with o1 models (also fallback to non-streaming mode)
20
+
-[bugfix] Fixed content resizing when entering "full screen" mode. This bug also affected certain window managers (like Hyperland)
21
+
- Lots of other small bug fixes, docs updates, and dependency bumps
22
+
9
23
### v0.9.1 — Nov 1, 2024
10
24
11
25
Minor bug fix release to follow-up on the v0.9.0 build. Lots of issues fixed (especially for Windows).
Send messages to new or existing AI blocks directly from the CLI. `-f` passes a file. note that there is a maximum size of 10k for messages and files, so use a tail/grep to cut down file sizes before passing. The `-f` option works great for small files though like shell scripts or `.zshrc` etc.
112
+
113
+
By default the messages get sent to the first AI block (by blocknum). If no AI block exists, then a new one will be created. Use `-n` to force creation of a new AI block. Use `-b` to target a specific AI block.
114
+
115
+
```
116
+
wsh ai "how do i write an ls command that sorts files in reverse size order"
117
+
wsh ai -f <(tail -n 20 "my.log") -- "any idea what these error messages mean"
118
+
wsh ai -f README.md "help me update this readme file"
119
+
120
+
# creates a new AI block
121
+
wsh ai -n "tell me a story"
122
+
123
+
# targets block number 5
124
+
wsh ai -b 5 "tell me more"
125
+
```
126
+
127
+
---
128
+
109
129
## editconfig
110
130
111
131
You can easily open up any of Wave's config files using this command.
0 commit comments