ollama_chat 0.0.88 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +53 -0
- data/lib/ollama_chat/chat.rb +2 -823
- data/lib/ollama_chat/clipboard.rb +4 -4
- data/lib/ollama_chat/commands.rb +873 -0
- data/lib/ollama_chat/database/migrations/004_add_profile_to_model_options.rb +56 -0
- data/lib/ollama_chat/database/models/model_options.rb +1 -2
- data/lib/ollama_chat/dialog.rb +2 -2
- data/lib/ollama_chat/information.rb +14 -3
- data/lib/ollama_chat/message_format.rb +16 -8
- data/lib/ollama_chat/message_list.rb +19 -11
- data/lib/ollama_chat/message_output.rb +17 -10
- data/lib/ollama_chat/model_handling.rb +57 -34
- data/lib/ollama_chat/personae_management.rb +1 -1
- data/lib/ollama_chat/version.rb +1 -1
- data/lib/ollama_chat.rb +1 -1
- data/ollama_chat.gemspec +4 -4
- data/spec/ollama_chat/chat_spec.rb +72 -13
- data/spec/ollama_chat/message_list_spec.rb +14 -11
- data/spec/ollama_chat/message_output_spec.rb +31 -3
- data/spec/spec_helper.rb +1 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 119b526f7f7e18270e2896d68dc8f254e5a27b545f54a3c713fd9778a435b2c7
|
|
4
|
+
data.tar.gz: 25906dc5d000f2b419e9a992bb61bb477fdf76e508b88af2b3f3bdaa4d082296
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ea6804f5fb644099b84e563b461439043f32c38d33d1bb8bf7d90241b7b72edc6c5639cb1800e4230aeb161dfab3181f4b754210aa149c7fa796079b7e62d95
|
|
7
|
+
data.tar.gz: 9ebbe67e51acb4fd944817e674bc35b69822be59cfff5a74b070039431251b4a1ea23da9308cfebc13aee207f1b8c754b160f3b5c30e36d03100207f004824f2
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 2026-06-15 v0.0.89
|
|
4
|
+
|
|
5
|
+
### New Features
|
|
6
|
+
|
|
7
|
+
- **Model Option Profiles**: Added support for model option profiles, including
|
|
8
|
+
a new `profile` column in the database with a composite unique index on
|
|
9
|
+
`[:model_name, :profile]`.
|
|
10
|
+
- Enhanced `OllamaChat::ModelHandling` methods (`get_stored_model_options`,
|
|
11
|
+
`store_model_options`) to support a `profile` parameter.
|
|
12
|
+
- Implemented `choose_profile_for_model` for interactive profile selection.
|
|
13
|
+
- Added the `-p` flag to `/model` and `/session` commands via
|
|
14
|
+
`lib/ollama_chat/dialog.rb`.
|
|
15
|
+
- **Thinking Visibility Overrides**: Introduced `-t` and `-s` flags for the
|
|
16
|
+
`/list` and `/last` commands to override thinking visibility, propagating the
|
|
17
|
+
`think_loud` parameter through `OllamaChat::MessageList#list_conversation`,
|
|
18
|
+
`OllamaChat::MessageList#show_last`, and `OllamaChat::MessageFormat`.
|
|
19
|
+
- **Session Information**: The application now calls `info_session` during the
|
|
20
|
+
initialization of `OllamaChat::Chat` to display session information on
|
|
21
|
+
startup.
|
|
22
|
+
|
|
23
|
+
### Enhancements & Refactoring
|
|
24
|
+
|
|
25
|
+
- **Command Standardization**:
|
|
26
|
+
- Standardized the use of the `-e` flag for editing across multiple
|
|
27
|
+
commands: `/input`, `/regenerate`, `/pipe`, `/output`, `/copy`, and
|
|
28
|
+
`/paste`.
|
|
29
|
+
- Replaced "Flags:" with "Options:" in help text for several chat commands.
|
|
30
|
+
- Added a specific editor hook using `edit_text` for the `/input` command
|
|
31
|
+
to allow editing imported content.
|
|
32
|
+
- **Code Architecture**:
|
|
33
|
+
- Extracted all chat command definitions into a new separate module
|
|
34
|
+
`OllamaChat::Commands` located in `lib/ollama_chat/commands.rb`.
|
|
35
|
+
- Updated `OllamaChat::Chat` and the main library entry point to utilize
|
|
36
|
+
this new module instead of inline definitions or
|
|
37
|
+
`OllamaChat::CommandConcern`.
|
|
38
|
+
- **Message Output**:
|
|
39
|
+
- Enhanced `OllamaChat::MessageOutput#pipe` and `#output` to accept an
|
|
40
|
+
`edit` parameter.
|
|
41
|
+
- Refactored `OllamaChat::MessageOutput#attempt_to_write_file` to receive
|
|
42
|
+
raw content instead of a message object.
|
|
43
|
+
|
|
44
|
+
### Bug Fixes & Documentation
|
|
45
|
+
|
|
46
|
+
- **Persona Management**: Updated `select_persona_path` in
|
|
47
|
+
`lib/ollama_chat/personae_management.rb` to pass `edit: false` to
|
|
48
|
+
`perform_copy_to_clipboard`, preventing persona path copies from triggering
|
|
49
|
+
edit mode.
|
|
50
|
+
- **Documentation**: Corrected YARD documentation for the `edit` parameter in
|
|
51
|
+
`lib/ollama_chat/clipboard.rb` and `lib/ollama_chat/message_output.rb`,
|
|
52
|
+
changing the type from `Boolean` to `truthy/falsy`.
|
|
53
|
+
- **Packaging**: Added `lib/ollama_chat/commands.rb` to the `files` and
|
|
54
|
+
`extra_rdoc_files` sections of the gemspec.
|
|
55
|
+
|
|
3
56
|
## 2026-06-03 v0.0.88
|
|
4
57
|
|
|
5
58
|
### Added
|