Skip to content

Commit b80f89f

Browse files
authored
Bump version to 0.9.0; add :clear command for clearing history. (#37)
1 parent a326265 commit b80f89f

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cforge"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
edition = "2024"
55

66
[dependencies]

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.9.0
4+
5+
_Add clear command_
6+
7+
### Commands
8+
9+
- Add `:clear` to empty the current history file
10+
311
## 0.8.0
412

513
_Add support for user tools_

docs/commands.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Commands are case-insensitive and support completion.
1313
- prompt
1414
- model
1515
- profile
16+
- clear
1617

1718
## Path aliases
1819

@@ -66,6 +67,12 @@ Resolution order:
6667

6768
`:edit`
6869

70+
## Clear
71+
72+
Clear the current history file by truncating its contents and reloading the in-memory chat history.
73+
74+
`:clear`
75+
6976
## Exit
7077

7178
Exit the current chat.

0 commit comments

Comments
 (0)