ollama_chat 0.0.27 → 0.0.28

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: c2155f3ea224b97ac3a471848b53530b60308b685b21804a23138ce31e752891
4
- data.tar.gz: f96db1b34a1d1a95bad394d6c0ac0ba43f7bc1c481344aa7d0d19565c4889149
3
+ metadata.gz: 1e18a688ad95c46f3776624e926def4eca5bd3f138321b2cdeec13f32606aceb
4
+ data.tar.gz: 68c632100120653785b5f2747db5e5da254550bdd1de80a70cdbf16c1db56e8a
5
5
  SHA512:
6
- metadata.gz: 6dfc776afc77a3cfdb3b5ab6d6d4d41e188345c15d4e8341495c00e90d4c03aefef4ac01af1d8ffae4b1a20deb11c8cfe3f063e8d4d11c53aaa8253fd66d5466
7
- data.tar.gz: aee0b2f2fe0a17af19d09384df6dca08a3848fb6ebea981d71f93f1e8dc56858e6e293619b1755ea97aaefd2f7174925d50387cb5b9782c976ef477270d4e373
6
+ metadata.gz: 94621d91d0fcec33e3695768b52ceeea30dc69728d92e0cdf1966751d23abc059df07543efc9ab87e547277050a39b6ea572ab7aab7db639dcc65b19a540c494
7
+ data.tar.gz: 4780b91d49114e137363b6281cce78ef467d5e2c2a566f311fcc87d65aaad029d80e14cf522db9ba89050700e07a2645ea8f32c2eb0b062c9f4840b1b2bf4dd0
data/.utilsrc ADDED
@@ -0,0 +1,68 @@
1
+ # vim: set ft=ruby:
2
+
3
+ search do
4
+ prune_dirs /\A(\.svn|\.git|\.terraform|CVS|tmp|coverage|corpus|pkg|\.yardoc|doc)\z/
5
+ skip_files /(\A\.|\.sw[pon]\z|\.(log|fnm|jpg|jpeg|png|pdf|svg)\z|\A(tags|cscope\.out)\z|~\z)/i
6
+ end
7
+
8
+ discover do
9
+ prune_dirs /\A(\.svn|\.git|\.terraform|\.yardoc|CVS|tmp|coverage|corpus|pkg|\.yardoc|doc)\z/
10
+ skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
11
+ index_expire_after 3_600
12
+ end
13
+
14
+ strip_spaces do
15
+ prune_dirs /\A(\..*|CVS|pkg|\.yardoc)\z/
16
+ skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
17
+ end
18
+
19
+ probe do
20
+ test_framework :rspec
21
+ end
22
+
23
+ ssh_tunnel do
24
+ terminal_multiplexer :tmux
25
+ login_session "/home/#{ENV['USER']}"
26
+ end
27
+
28
+ classify do
29
+ shift_path_by_default 1
30
+ end
31
+
32
+ code_indexer do
33
+ verbose false
34
+
35
+ gems = %w[
36
+ amatch
37
+ base64
38
+ bigdecimal
39
+ complex_config
40
+ date
41
+ documentrix
42
+ excon
43
+ json
44
+ kramdown-ansi
45
+ mize
46
+ more_math
47
+ ollama-ruby
48
+ ostruct
49
+ reverse_markdown
50
+ rspec
51
+ rspec-core
52
+ rspec-expectations
53
+ rspec-mocks
54
+ rspec-support
55
+ search_ui
56
+ sqlite3
57
+ stringio
58
+ term-ansicolor
59
+ tins
60
+ unix_socks
61
+ webmock
62
+ xdg
63
+ ]
64
+
65
+ paths {
66
+ %w[ lib ] + gems.map { `bundle show #{it}` }.map(&:chomp)
67
+ }
68
+ end
data/CHANGES.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changes
2
2
 
3
+ ## 2025-09-08 v0.0.28
4
+
5
+ - Replaced `server_socket_runtime_dir` config option with
6
+ `working_dir_dependent_socket`
7
+ - Used `Digest::MD5` to generate unique socket names based on working directory
8
+ - Socket names now follow format `ollama_chat-<hash>.sock` instead of fixed
9
+ name
10
+ - Updated `unix_socks` dependency version constraint from >= 0.0.1 to ~> 0.1
11
+ - Added new `.utilsrc` configuration file for code indexing and search
12
+ utilities
13
+ - Added return type documentation to `CacheFetcher#get` method
14
+
3
15
  ## 2025-09-05 v0.0.27
4
16
 
5
17
  - Enhanced cache hit notifications to properly handle content type with
@@ -49,22 +61,31 @@
49
61
  ## 2025-08-17 v0.0.24
50
62
 
51
63
  - Updated `kramdown-ansi` dependency version constraint from **0.0** to **0.1**
52
- - Modified both Rakefile and ollama_chat.gemspec files to reflect new version
64
+ - Modified both Rakefile and `ollama_chat.gemspec` files to reflect new version
53
65
  constraint for `kramdown-ansi`
54
66
 
55
67
  ## 2025-08-17 v0.0.23
56
68
 
57
- - Added `OllamaChat::KramdownANSI` module with `configure_kramdown_ansi_styles` and `kramdown_ansi_parse` methods for consistent Markdown formatting
58
- - Replaced direct calls to `Kramdown::ANSI.parse` with `@chat.kramdown_ansi_parse` in `FollowChat` and `MessageList`
69
+ - Added `OllamaChat::KramdownANSI` module with `configure_kramdown_ansi_styles`
70
+ and `kramdown_ansi_parse` methods for consistent Markdown formatting
71
+ - Replaced direct calls to `Kramdown::ANSI.parse` with
72
+ `@chat.kramdown_ansi_parse` in `FollowChat` and `MessageList`
59
73
  - Integrated `OllamaChat::KramdownANSI` module into `OllamaChat::Chat` class
60
74
  - Configured `@kramdown_ansi_styles` during chat initialization
61
- - Added support for environment variables `KRAMDOWN_ANSI_OLLAMA_CHAT_STYLES` and `KRAMDOWN_ANSI_STYLES` for styling configuration
62
- - Updated tests to mock `kramdown_ansi_parse` instead of direct `Kramdown::ANSI.parse`
63
- - Documented environment variables for customizing Markdown formatting with example JSON format
64
- - Added `lib/ollama_chat/kramdown_ansi.rb` to `extra_rdoc_files` and `files` list in gemspec
65
- - Escaped dot in regex pattern in `parsing_spec.rb` for proper image file matching
66
- - Implemented `File.expand_path` to resolve `~` shortcuts before existence check in parsing module
67
- - Added error handling for malformed paths by rescuing `ArgumentError` exceptions
75
+ - Added support for environment variables `KRAMDOWN_ANSI_OLLAMA_CHAT_STYLES`
76
+ and `KRAMDOWN_ANSI_STYLES` for styling configuration
77
+ - Updated tests to mock `kramdown_ansi_parse` instead of direct
78
+ `Kramdown::ANSI.parse`
79
+ - Documented environment variables for customizing Markdown formatting with
80
+ example JSON format
81
+ - Added `lib/ollama_chat/kramdown_ansi.rb` to `extra_rdoc_files` and `files`
82
+ list in gemspec
83
+ - Escaped dot in regex pattern in `parsing_spec.rb` for proper image file
84
+ matching
85
+ - Implemented `File.expand_path` to resolve `~` shortcuts before existence
86
+ check in parsing module
87
+ - Added error handling for malformed paths by rescuing `ArgumentError`
88
+ exceptions
68
89
  - Skipped invalid file paths during processing loop using `next` statement
69
90
  - Maintained backward compatibility for standard file paths
70
91
  - Added comprehensive list of supported environment variables in documentation
@@ -72,14 +93,19 @@
72
93
  ## 2025-08-13 v0.0.22
73
94
 
74
95
  - Added new `-p` command line flag for enabling source parsing functionality
75
- - Enhanced `send_to_server_socket` method to accept and pass a `parse` parameter
96
+ - Enhanced `send_to_server_socket` method to accept and pass a `parse`
97
+ parameter
76
98
  - Modified `chat.rb` to handle the `parse` content flag from server messages
77
99
  - Updated documentation in `README.md` with example usage of the new `-p` flag
78
- - Added comprehensive tests for the new parsing functionality in `server_socket_spec.rb`
79
- - Improved method documentation in `server_socket.rb` with detailed parameter descriptions
80
- - Replaced `messages.list_conversation(2)` with `messages.show_last` in `/drop` command behavior
100
+ - Added comprehensive tests for the new parsing functionality in
101
+ `server_socket_spec.rb`
102
+ - Improved method documentation in `server_socket.rb` with detailed parameter
103
+ descriptions
104
+ - Replaced `messages.list_conversation(2)` with `messages.show_last` in `/drop`
105
+ command behavior
81
106
  - Updated `gem_hadar` development dependency from version **1.27** to **2.0**
82
- - Simplified SimpleCov setup by using `GemHadar::SimpleCov.start` instead of manual configuration
107
+ - Simplified SimpleCov setup by using `GemHadar::SimpleCov.start` instead of
108
+ manual configuration
83
109
 
84
110
  ## 2025-08-11 v0.0.21
85
111
 
@@ -101,7 +127,8 @@
101
127
 
102
128
  ### Documentation
103
129
 
104
- - Added more YARD-style documentation to all public methods throughout the codebase.
130
+ - Added more YARD-style documentation to all public methods throughout the
131
+ codebase.
105
132
 
106
133
  ### Fixed
107
134
 
@@ -174,8 +201,10 @@
174
201
  - **Enhancements**
175
202
  - Improved logging with debug output for received server socket messages.
176
203
  - Refactored server socket handling:
177
- - Created `create_socket_server` method for UnixSocks setup with configurable runtime directories.
178
- - Updated `send_to_server_socket` and `init_server_socket` methods to use the new helper.
204
+ - Created `create_socket_server` method for UnixSocks setup with
205
+ configurable runtime directories.
206
+ - Updated `send_to_server_socket` and `init_server_socket` methods to use
207
+ the new helper.
179
208
  - Changed evaluation rate metrics from 'c/s' to 't/s' for better clarity.
180
209
 
181
210
  - **Documentation**
@@ -233,37 +262,48 @@
233
262
 
234
263
  * **Think Mode Implementation**:
235
264
  + Introduced `@think_mode` attribute to read think mode setting from config
236
- + Implemented `remove_think_blocks` method to filter out thought blocks from chat messages sent to the LLM model.
237
- + Added conditional logic based on `@think_mode` value to handle different modes
265
+ + Implemented `remove_think_blocks` method to filter out thought blocks from
266
+ chat messages sent to the LLM model.
267
+ + Added conditional logic based on `@think_mode` value to handle different
268
+ modes
238
269
  * **User Interface Improvements**:
239
270
  + Added `/think_mode` command to help users understand think mode options
240
271
  + Updated session output to include current think mode
241
- + Added think mode chooser to OllamaChat::Dialog, allowing users to select their preferred think mode
272
+ + Added think mode chooser to OllamaChat::Dialog, allowing users to select
273
+ their preferred think mode
242
274
  * **Output Handling Enhancements**:
243
275
  + Improved markdown handling for think blocks in OllamaChat::FollowChat class
244
- + Modified output to print clear screen, move home, and user info before printing content
276
+ + Modified output to print clear screen, move home, and user info before
277
+ printing content
245
278
  * **Configuration Updates**:
246
279
  + Added `think_mode` key with value `"display"` to `default_config.yml`
247
280
 
248
281
  ## 2025-05-28 v0.0.10
249
282
 
250
283
  * Simplify and improve command handling logic.
251
- * Update chat input handling to use a single `handle_input` method for all commands.
284
+ * Update chat input handling to use a single `handle_input` method for all
285
+ commands.
252
286
  * Add tests for various chat commands, including input handling, document
253
287
  policy selection, summarization, and more.
254
- * Improve test coverage for `DocumentCache`, `Information`, and other modules.
255
- * Improved handling of commands, e.g. **don't** when sending via `ollama_chat_send` by default.
288
+ * Improve test coverage for `DocumentCache`, `Information`, and other
289
+ modules.
290
+ * Improved handling of commands, e.g. **don't** when sending via
291
+ `ollama_chat_send` by default.
256
292
  * Added support for sending content to server socket with specific type.
257
293
 
258
294
  ## 2025-05-26 v0.0.9
259
295
 
260
296
  * Improved tag parsing in OllamaChat:
261
297
  * Added regex validation for valid tags to `Documentrix::Utils::Tags`.
262
- * Modified `parse_content` method in `OllamaChat::Parsing` to handle valid tag formats.
263
- * Updated `scan` methods in `content` processing to more correctly identify tags.
264
- * Added option to explicitly open socket for receiving input from `ollama_chat_send`:
298
+ * Modified `parse_content` method in `OllamaChat::Parsing` to handle valid
299
+ tag formats.
300
+ * Updated `scan` methods in `content` processing to more correctly identify
301
+ tags.
302
+ * Added option to explicitly open socket for receiving input from
303
+ `ollama_chat_send`:
265
304
  * Added new command-line option `-S` to enable server socket functionality.
266
- * Updated `OllamaChat::Chat` class to include server socket initialization based on the new option.
305
+ * Updated `OllamaChat::Chat` class to include server socket initialization
306
+ based on the new option.
267
307
  * Modified usage message in `README.md` and `information.rb` files.
268
308
 
269
309
  ## 2025-05-23 v0.0.8
@@ -305,9 +345,12 @@
305
345
  ## 2025-04-15 v0.0.6
306
346
 
307
347
  * Updated Rakefile to use `ollama-ruby` version **1.0**.
308
- * Modified `model_present?` method in `lib/ollama_chat/model_handling.rb` to use `ollama.show(model:)`.
309
- * Changed `pull_model_from_remote` method in `lib/ollama_chat/model_handling.rb` to use `ollama.pull(model:).
310
- * Updated `ollama_chat.gemspec` to use `ollama-ruby` version **1.0** and updated date to **2025-04-14**.
348
+ * Modified `model_present?` method in `lib/ollama_chat/model_handling.rb` to
349
+ use `ollama.show(model:)`.
350
+ * Changed `pull_model_from_remote` method in
351
+ `lib/ollama_chat/model_handling.rb` to use `ollama.pull(model:).
352
+ * Updated `ollama_chat.gemspec` to use `ollama-ruby` version **1.0** and
353
+ updated date to **2025-04-14**.
311
354
  * Attempt to capture stderr as well by redirecting stderr to stdout for
312
355
  commands that output to it always or in the error case.
313
356
  * Updated development dependencies in `ollama_chat.gemspec`.
@@ -316,7 +359,8 @@
316
359
 
317
360
  * Updated default config to use environment variable for Searxng URL:
318
361
  * Changed `url` field in `searxng` section of `default_config.yml`.
319
- * Replaced hardcoded URL with expression that fetches value from `OLLAMA_SEARXNG_URL` environment variable.
362
+ * Replaced hardcoded URL with expression that fetches value from
363
+ `OLLAMA_SEARXNG_URL` environment variable.
320
364
  * Handle Ollama server disconnection:
321
365
  * Added error handling for `Ollama::Errors::TimeoutError`.
322
366
  * Print error message when connection is lost.
@@ -336,18 +380,23 @@
336
380
  for web searching with all engines.
337
381
  + Updated `ollama_chat/chat.rb` to use the new `web_searching` module and
338
382
  updated the `search_web` method to return results from either engine.
339
- + Added specs in `spec/ollama_chat/web_searching_spec.rb` to test the new functionality.
383
+ + Added specs in `spec/ollama_chat/web_searching_spec.rb` to test the new
384
+ functionality.
340
385
  * Added ollama chat version display to information module and spec:
341
- + Added `STDOUT.puts` for displaying ollama chat version in `lib/ollama_chat/information.rb`
342
- + Updated test in `spec/ollama_chat/chat_spec.rb` to include new output string
386
+ + Added `STDOUT.puts` for displaying ollama chat version in
387
+ `lib/ollama_chat/information.rb`
388
+ + Updated test in `spec/ollama_chat/chat_spec.rb` to include new output
389
+ string
343
390
  * Update chat document redis cache expiration time default to 0.
344
391
 
345
392
  ## 2025-02-17 v0.0.3
346
393
 
347
394
  * Support setting of request headers:
348
395
  * Added `request_headers` option to `default_config.yml
349
- * Updated `OllamaChat::SourceFetching` module to pass `config.request_headers?.to_h` to `Fetcher.get`
350
- * Updated `OllamaChat::Utils::Fetcher.get` method to take an optional `headers:` parameter
396
+ * Updated `OllamaChat::SourceFetching` module to pass
397
+ `config.request_headers?.to_h` to `Fetcher.get`
398
+ * Updated `OllamaChat::Utils::Fetcher.get` method to take an optional
399
+ `headers:` parameter
351
400
  * Updated tests for Fetcher utility to include new headers option
352
401
  * Refactoring
353
402
  * Added `connect_to_ollama_server` method to `spec_helper.rb`
@@ -379,8 +428,10 @@
379
428
  ## 2025-02-02 v0.0.1
380
429
 
381
430
  * Renamed `documents` variable to `@documents` in `OllamaChat::Chat`
382
- * Modified `add_documents_from_argv` method to accept only `document_list` as argument
383
- * Updated spec for `OllamaChat::Chat` to reflect changes in `add_documents_from_argv` method
431
+ * Modified `add_documents_from_argv` method to accept only `document_list`
432
+ as argument
433
+ * Updated spec for `OllamaChat::Chat` to reflect changes in
434
+ `add_documents_from_argv` method
384
435
  * Use `clamp(1..)` instead of manual checks for `n.to_i` in source fetching
385
436
  * Dropped is now used consistently in the code for message popping
386
437
  * Set up Redis environment and service for development:
data/Rakefile CHANGED
@@ -36,7 +36,7 @@ GemHadar do
36
36
  dependency 'excon', '~> 1.0'
37
37
  dependency 'ollama-ruby', '~> 1.6'
38
38
  dependency 'documentrix', '~> 0.0', '>= 0.0.2'
39
- dependency 'unix_socks', '>= 0.0.1'
39
+ dependency 'unix_socks', '~> 0.1'
40
40
  dependency 'rss', '~> 0.3'
41
41
  dependency 'term-ansicolor', '~> 1.11'
42
42
  dependency 'redis', '~> 5.0'
@@ -64,7 +64,7 @@ redis:
64
64
  url: <%= ENV.fetch('REDIS_EXPIRING_URL', 'null') %>
65
65
  ex: 86400
66
66
  chat_history_filename: <%= ENV.fetch('OLLAMA_CHAT_HISTORY', '~/.ollama_chat_history') %>
67
- server_socket_runtime_dir: .
67
+ working_dir_dependent_socket: true
68
68
  debug: <%= ENV['OLLAMA_CHAT_DEBUG'].to_i == 1 ? true : false %>
69
69
  request_headers:
70
70
  Accept: 'text/*,application/*,image/*'
@@ -1,3 +1,5 @@
1
+ require 'digest/md5'
2
+
1
3
  # A module that provides server socket functionality for OllamaChat
2
4
  #
3
5
  # The ServerSocket module encapsulates the logic for creating and managing Unix
@@ -70,8 +72,10 @@ module OllamaChat::ServerSocket
70
72
  if runtime_dir
71
73
  return UnixSocks::Server.new(socket_name: 'ollama_chat.sock', runtime_dir:)
72
74
  end
73
- if runtime_dir = config.server_socket_runtime_dir
74
- UnixSocks::Server.new(socket_name: 'ollama_chat.sock', runtime_dir:)
75
+ if config.working_dir_dependent_socket
76
+ path = File.expand_path(Dir.pwd)
77
+ digest = Digest::MD5.hexdigest(path)
78
+ UnixSocks::Server.new(socket_name: "ollama_chat-#{digest}.sock")
75
79
  else
76
80
  UnixSocks::Server.new(socket_name: 'ollama_chat.sock')
77
81
  end
@@ -34,6 +34,7 @@ class OllamaChat::Utils::CacheFetcher
34
34
  # @param url [ String ] the URL used as a key for caching
35
35
  #
36
36
  # @yield [ io ] yields the cached IO object if found
37
+ # @return [ io ] the cached IO object if found
37
38
  def get(url, &block)
38
39
  block or raise ArgumentError, 'require block argument'
39
40
  body = @cache[key(:body, url)]
@@ -1,6 +1,6 @@
1
1
  module OllamaChat
2
2
  # OllamaChat version
3
- VERSION = '0.0.27'
3
+ VERSION = '0.0.28'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/ollama_chat.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ollama_chat 0.0.27 ruby lib
2
+ # stub: ollama_chat 0.0.28 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ollama_chat".freeze
6
- s.version = "0.0.27".freeze
6
+ s.version = "0.0.28".freeze
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["ollama_chat".freeze, "ollama_chat_send".freeze]
15
15
  s.extra_rdoc_files = ["README.md".freeze, "lib/ollama_chat.rb".freeze, "lib/ollama_chat/chat.rb".freeze, "lib/ollama_chat/clipboard.rb".freeze, "lib/ollama_chat/dialog.rb".freeze, "lib/ollama_chat/document_cache.rb".freeze, "lib/ollama_chat/follow_chat.rb".freeze, "lib/ollama_chat/history.rb".freeze, "lib/ollama_chat/information.rb".freeze, "lib/ollama_chat/kramdown_ansi.rb".freeze, "lib/ollama_chat/message_format.rb".freeze, "lib/ollama_chat/message_list.rb".freeze, "lib/ollama_chat/message_output.rb".freeze, "lib/ollama_chat/model_handling.rb".freeze, "lib/ollama_chat/ollama_chat_config.rb".freeze, "lib/ollama_chat/parsing.rb".freeze, "lib/ollama_chat/server_socket.rb".freeze, "lib/ollama_chat/source_fetching.rb".freeze, "lib/ollama_chat/switches.rb".freeze, "lib/ollama_chat/utils.rb".freeze, "lib/ollama_chat/utils/cache_fetcher.rb".freeze, "lib/ollama_chat/utils/chooser.rb".freeze, "lib/ollama_chat/utils/fetcher.rb".freeze, "lib/ollama_chat/utils/file_argument.rb".freeze, "lib/ollama_chat/version.rb".freeze, "lib/ollama_chat/vim.rb".freeze, "lib/ollama_chat/web_searching.rb".freeze]
16
- s.files = ["CHANGES.md".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "bin/ollama_chat".freeze, "bin/ollama_chat_send".freeze, "config/searxng/settings.yml".freeze, "docker-compose.yml".freeze, "lib/ollama_chat.rb".freeze, "lib/ollama_chat/chat.rb".freeze, "lib/ollama_chat/clipboard.rb".freeze, "lib/ollama_chat/dialog.rb".freeze, "lib/ollama_chat/document_cache.rb".freeze, "lib/ollama_chat/follow_chat.rb".freeze, "lib/ollama_chat/history.rb".freeze, "lib/ollama_chat/information.rb".freeze, "lib/ollama_chat/kramdown_ansi.rb".freeze, "lib/ollama_chat/message_format.rb".freeze, "lib/ollama_chat/message_list.rb".freeze, "lib/ollama_chat/message_output.rb".freeze, "lib/ollama_chat/model_handling.rb".freeze, "lib/ollama_chat/ollama_chat_config.rb".freeze, "lib/ollama_chat/ollama_chat_config/default_config.yml".freeze, "lib/ollama_chat/parsing.rb".freeze, "lib/ollama_chat/server_socket.rb".freeze, "lib/ollama_chat/source_fetching.rb".freeze, "lib/ollama_chat/switches.rb".freeze, "lib/ollama_chat/utils.rb".freeze, "lib/ollama_chat/utils/cache_fetcher.rb".freeze, "lib/ollama_chat/utils/chooser.rb".freeze, "lib/ollama_chat/utils/fetcher.rb".freeze, "lib/ollama_chat/utils/file_argument.rb".freeze, "lib/ollama_chat/version.rb".freeze, "lib/ollama_chat/vim.rb".freeze, "lib/ollama_chat/web_searching.rb".freeze, "ollama_chat.gemspec".freeze, "redis/redis.conf".freeze, "spec/assets/api_show.json".freeze, "spec/assets/api_tags.json".freeze, "spec/assets/api_version.json".freeze, "spec/assets/conversation.json".freeze, "spec/assets/duckduckgo.html".freeze, "spec/assets/example.atom".freeze, "spec/assets/example.csv".freeze, "spec/assets/example.html".freeze, "spec/assets/example.pdf".freeze, "spec/assets/example.ps".freeze, "spec/assets/example.rb".freeze, "spec/assets/example.rss".freeze, "spec/assets/example.xml".freeze, "spec/assets/kitten.jpg".freeze, "spec/assets/prompt.txt".freeze, "spec/assets/searxng.json".freeze, "spec/ollama_chat/chat_spec.rb".freeze, "spec/ollama_chat/clipboard_spec.rb".freeze, "spec/ollama_chat/follow_chat_spec.rb".freeze, "spec/ollama_chat/information_spec.rb".freeze, "spec/ollama_chat/kramdown_ansi_spec.rb".freeze, "spec/ollama_chat/message_list_spec.rb".freeze, "spec/ollama_chat/message_output_spec.rb".freeze, "spec/ollama_chat/model_handling_spec.rb".freeze, "spec/ollama_chat/parsing_spec.rb".freeze, "spec/ollama_chat/server_socket_spec.rb".freeze, "spec/ollama_chat/source_fetching_spec.rb".freeze, "spec/ollama_chat/switches_spec.rb".freeze, "spec/ollama_chat/utils/cache_fetcher_spec.rb".freeze, "spec/ollama_chat/utils/fetcher_spec.rb".freeze, "spec/ollama_chat/utils/file_argument_spec.rb".freeze, "spec/ollama_chat/web_searching_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tmp/.keep".freeze]
16
+ s.files = [".utilsrc".freeze, "CHANGES.md".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "bin/ollama_chat".freeze, "bin/ollama_chat_send".freeze, "config/searxng/settings.yml".freeze, "docker-compose.yml".freeze, "lib/ollama_chat.rb".freeze, "lib/ollama_chat/chat.rb".freeze, "lib/ollama_chat/clipboard.rb".freeze, "lib/ollama_chat/dialog.rb".freeze, "lib/ollama_chat/document_cache.rb".freeze, "lib/ollama_chat/follow_chat.rb".freeze, "lib/ollama_chat/history.rb".freeze, "lib/ollama_chat/information.rb".freeze, "lib/ollama_chat/kramdown_ansi.rb".freeze, "lib/ollama_chat/message_format.rb".freeze, "lib/ollama_chat/message_list.rb".freeze, "lib/ollama_chat/message_output.rb".freeze, "lib/ollama_chat/model_handling.rb".freeze, "lib/ollama_chat/ollama_chat_config.rb".freeze, "lib/ollama_chat/ollama_chat_config/default_config.yml".freeze, "lib/ollama_chat/parsing.rb".freeze, "lib/ollama_chat/server_socket.rb".freeze, "lib/ollama_chat/source_fetching.rb".freeze, "lib/ollama_chat/switches.rb".freeze, "lib/ollama_chat/utils.rb".freeze, "lib/ollama_chat/utils/cache_fetcher.rb".freeze, "lib/ollama_chat/utils/chooser.rb".freeze, "lib/ollama_chat/utils/fetcher.rb".freeze, "lib/ollama_chat/utils/file_argument.rb".freeze, "lib/ollama_chat/version.rb".freeze, "lib/ollama_chat/vim.rb".freeze, "lib/ollama_chat/web_searching.rb".freeze, "ollama_chat.gemspec".freeze, "redis/redis.conf".freeze, "spec/assets/api_show.json".freeze, "spec/assets/api_tags.json".freeze, "spec/assets/api_version.json".freeze, "spec/assets/conversation.json".freeze, "spec/assets/duckduckgo.html".freeze, "spec/assets/example.atom".freeze, "spec/assets/example.csv".freeze, "spec/assets/example.html".freeze, "spec/assets/example.pdf".freeze, "spec/assets/example.ps".freeze, "spec/assets/example.rb".freeze, "spec/assets/example.rss".freeze, "spec/assets/example.xml".freeze, "spec/assets/kitten.jpg".freeze, "spec/assets/prompt.txt".freeze, "spec/assets/searxng.json".freeze, "spec/ollama_chat/chat_spec.rb".freeze, "spec/ollama_chat/clipboard_spec.rb".freeze, "spec/ollama_chat/follow_chat_spec.rb".freeze, "spec/ollama_chat/information_spec.rb".freeze, "spec/ollama_chat/kramdown_ansi_spec.rb".freeze, "spec/ollama_chat/message_list_spec.rb".freeze, "spec/ollama_chat/message_output_spec.rb".freeze, "spec/ollama_chat/model_handling_spec.rb".freeze, "spec/ollama_chat/parsing_spec.rb".freeze, "spec/ollama_chat/server_socket_spec.rb".freeze, "spec/ollama_chat/source_fetching_spec.rb".freeze, "spec/ollama_chat/switches_spec.rb".freeze, "spec/ollama_chat/utils/cache_fetcher_spec.rb".freeze, "spec/ollama_chat/utils/fetcher_spec.rb".freeze, "spec/ollama_chat/utils/file_argument_spec.rb".freeze, "spec/ollama_chat/web_searching_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tmp/.keep".freeze]
17
17
  s.homepage = "https://github.com/flori/ollama_chat".freeze
18
18
  s.licenses = ["MIT".freeze]
19
19
  s.rdoc_options = ["--title".freeze, "OllamaChat - A command-line interface (CLI) for interacting with an Ollama AI model.".freeze, "--main".freeze, "README.md".freeze]
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.add_runtime_dependency(%q<excon>.freeze, ["~> 1.0".freeze])
36
36
  s.add_runtime_dependency(%q<ollama-ruby>.freeze, ["~> 1.6".freeze])
37
37
  s.add_runtime_dependency(%q<documentrix>.freeze, ["~> 0.0".freeze, ">= 0.0.2".freeze])
38
- s.add_runtime_dependency(%q<unix_socks>.freeze, [">= 0.0.1".freeze])
38
+ s.add_runtime_dependency(%q<unix_socks>.freeze, ["~> 0.1".freeze])
39
39
  s.add_runtime_dependency(%q<rss>.freeze, ["~> 0.3".freeze])
40
40
  s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.11".freeze])
41
41
  s.add_runtime_dependency(%q<redis>.freeze, ["~> 5.0".freeze])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ollama_chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
@@ -173,16 +173,16 @@ dependencies:
173
173
  name: unix_socks
174
174
  requirement: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ">="
176
+ - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: 0.0.1
178
+ version: '0.1'
179
179
  type: :runtime
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: 0.0.1
185
+ version: '0.1'
186
186
  - !ruby/object:Gem::Dependency
187
187
  name: rss
188
188
  requirement: !ruby/object:Gem::Requirement
@@ -413,6 +413,7 @@ extra_rdoc_files:
413
413
  - lib/ollama_chat/vim.rb
414
414
  - lib/ollama_chat/web_searching.rb
415
415
  files:
416
+ - ".utilsrc"
416
417
  - CHANGES.md
417
418
  - Gemfile
418
419
  - README.md