ollama_chat 0.0.88 → 0.0.90

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f324fb61e2ee223925e1b539c1b553fa43d9ab03e94a8ef3531d16ff5937f900
4
- data.tar.gz: 70955ecf696dad97193c20d14c7e2dbeaef5ce8cb9f38e121fc6c4b0672fdbce
3
+ metadata.gz: c1a85a50e65a4b71a0fac74cb020ac5590bcc96cb57cda7b070abf08f4b92abb
4
+ data.tar.gz: 6abae5b317129a93bb128b7debca31fbef03c3c2b8180d7820c76cfb6754d1df
5
5
  SHA512:
6
- metadata.gz: 5ef76c2f4b15f9d4ffbf0361a5d70b8aad0fc4207520c4984cc19b6efb98763dd18be5cc830cfaa5bfa0a0cc8c2ba91738485652f717b423e7a0bebd23756123
7
- data.tar.gz: c0c924035d0d17bc1dde13c41ad2ea73d1b7868336754f2bc1085038b550dca5770c8dba1bd401e4b9e76c3104e864d54ba14a8b6a555ad076ec7302e7cf2f3d
6
+ metadata.gz: 0f0852acd78509cf852f5db907d907724a90d698038b265c585983336f3fa0b9911690a52052ca56f0eb4a34cfe80df2bec0a23d701238e6b65c15d0ed2050aa
7
+ data.tar.gz: 4604b567234fbcd236e6568e11bc714cca7e5bf67902b5bf9e893323a0ce5ac9118fcdcf804af6c0fc00a558381d68d5e2994daf10c7d830090b0096836a4181
data/CHANGES.md CHANGED
@@ -1,5 +1,75 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-06-17 v0.0.90
4
+
5
+ ### Added
6
+
7
+ - Added an edit option to the `/prompt` command via the `-e` flag, allowing
8
+ users to modify a selected prompt using `edit_text`.
9
+
10
+ ### Changed
11
+
12
+ - Updated the minimum `documentrix` dependency to **0.6.0** (previously
13
+ **0.5.0** and **0.4.0**) to leverage SQLite concurrency improvements and
14
+ strong consistency for collection discovery, preventing stale cache issues.
15
+ - Modified `OllamaChat::RAGHandling#update_collection` to accumulate results
16
+ from `embed` and return them as a newline-separated `String`.
17
+ - Updated `lib/ollama_chat/commands.rb` to capture and return the output of the
18
+ collection update command.
19
+
20
+ ## 2026-06-15 v0.0.89
21
+
22
+ ### New Features
23
+
24
+ - **Model Option Profiles**: Added support for model option profiles, including
25
+ a new `profile` column in the database with a composite unique index on
26
+ `[:model_name, :profile]`.
27
+ - Enhanced `OllamaChat::ModelHandling` methods (`get_stored_model_options`,
28
+ `store_model_options`) to support a `profile` parameter.
29
+ - Implemented `choose_profile_for_model` for interactive profile selection.
30
+ - Added the `-p` flag to `/model` and `/session` commands via
31
+ `lib/ollama_chat/dialog.rb`.
32
+ - **Thinking Visibility Overrides**: Introduced `-t` and `-s` flags for the
33
+ `/list` and `/last` commands to override thinking visibility, propagating the
34
+ `think_loud` parameter through `OllamaChat::MessageList#list_conversation`,
35
+ `OllamaChat::MessageList#show_last`, and `OllamaChat::MessageFormat`.
36
+ - **Session Information**: The application now calls `info_session` during the
37
+ initialization of `OllamaChat::Chat` to display session information on
38
+ startup.
39
+
40
+ ### Enhancements & Refactoring
41
+
42
+ - **Command Standardization**:
43
+ - Standardized the use of the `-e` flag for editing across multiple
44
+ commands: `/input`, `/regenerate`, `/pipe`, `/output`, `/copy`, and
45
+ `/paste`.
46
+ - Replaced "Flags:" with "Options:" in help text for several chat commands.
47
+ - Added a specific editor hook using `edit_text` for the `/input` command
48
+ to allow editing imported content.
49
+ - **Code Architecture**:
50
+ - Extracted all chat command definitions into a new separate module
51
+ `OllamaChat::Commands` located in `lib/ollama_chat/commands.rb`.
52
+ - Updated `OllamaChat::Chat` and the main library entry point to utilize
53
+ this new module instead of inline definitions or
54
+ `OllamaChat::CommandConcern`.
55
+ - **Message Output**:
56
+ - Enhanced `OllamaChat::MessageOutput#pipe` and `#output` to accept an
57
+ `edit` parameter.
58
+ - Refactored `OllamaChat::MessageOutput#attempt_to_write_file` to receive
59
+ raw content instead of a message object.
60
+
61
+ ### Bug Fixes & Documentation
62
+
63
+ - **Persona Management**: Updated `select_persona_path` in
64
+ `lib/ollama_chat/personae_management.rb` to pass `edit: false` to
65
+ `perform_copy_to_clipboard`, preventing persona path copies from triggering
66
+ edit mode.
67
+ - **Documentation**: Corrected YARD documentation for the `edit` parameter in
68
+ `lib/ollama_chat/clipboard.rb` and `lib/ollama_chat/message_output.rb`,
69
+ changing the type from `Boolean` to `truthy/falsy`.
70
+ - **Packaging**: Added `lib/ollama_chat/commands.rb` to the `files` and
71
+ `extra_rdoc_files` sections of the gemspec.
72
+
3
73
  ## 2026-06-03 v0.0.88
4
74
 
5
75
  ### Added
data/Rakefile CHANGED
@@ -40,7 +40,7 @@ GemHadar do
40
40
 
41
41
  dependency 'excon', '~> 1.0'
42
42
  dependency 'ollama-ruby', '~> 1.21'
43
- dependency 'documentrix', '>= 0.4.0'
43
+ dependency 'documentrix', '>= 0.6.0'
44
44
  dependency 'unix_socks', '>= 0.4'
45
45
  dependency 'rss', '~> 0.3'
46
46
  dependency 'term-ansicolor', '~> 1.11'