ask-core 0.2.0 → 0.2.2

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: 5bdccf7f79627afa2402bf1664f73aeab7129095e09694fdb9acda35dc56ce0c
4
- data.tar.gz: d2af40aed07e8036b583cfb0b85469c87b85c32a2fdcd5678ccf127fc6dbbdaf
3
+ metadata.gz: 5579b4c8482eca770eebc83285f046ad7797d1a032f8d55e355028c7986a9776
4
+ data.tar.gz: 4d21bf4c9c13690ff1368b01a364ff7f961de2347660fdb33bc989ff0635c418
5
5
  SHA512:
6
- metadata.gz: 41689e4eb0b4b41e719d642aa6407cb89c104d53ce8c164b8ebed117fd76655752edd2c0dd011d1534425cb66dd0d1c6e457fa441f858507d8a6f91e5ac065ba
7
- data.tar.gz: 66b66595e04e62e750c02f899e1c90fc72f1b2b198b855d0c616ae391f22e1b304bd46b4539603484cf7f566facb8d5782cc20c688490402bc345d776d5cdb23
6
+ metadata.gz: b309f9490cde3fc1c6b0712757256804af5b34f562d7114596e8cf4c69f4fb273558afd05e5545bab22fdcce13f9d0bb2214f1ef3794776a96fea8576900804c
7
+ data.tar.gz: 19ceabf03606c291b4edea7ec222cc8152d61a13be16429428906325d2334b21ff4c97d328731a2264c9b6f5b26c9dc0d34481c30dbb0e2d69f71a4d6b048dc3
data/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ ## [0.2.2] — 2026-07-14
2
+
3
+ ### Added
4
+ - `Ask::ModelCatalog::PROVIDER_PREFERENCE` — includes `opencode`, `opencode_go`, `mimo` for proper disambiguation of models served by aggregator providers.
5
+
6
+ ## [0.2.1] — 2026-06-25
7
+
8
+ ### Changed
9
+ - Testing infrastructure: rubocop, overcommit, bin/setup, gemspec validation, SimpleCov, CI matrix, .minitest config
10
+ # Changelog
11
+
12
+ ## 0.2.0 (2026-06-21)
13
+
14
+ - Added `ToolDef.safe_create` — returns nil instead of raising on invalid tool definitions, with optional log block
15
+ - Added `Conversation#find_matching_tool_call` — walks message history to find matching assistant tool call by ID
16
+ - Fixed documentation typos and improved YARD annotations
17
+
18
+ ## 0.1.5
19
+
20
+ - Initial stable release
data/lib/ask/models.rb CHANGED
@@ -272,7 +272,9 @@ module Ask
272
272
  # Ordered provider preference for disambiguation.
273
273
  PROVIDER_PREFERENCE = %w[
274
274
  openai anthropic gemini vertexai bedrock
275
+ opencode opencode_go
275
276
  openrouter deepseek mistral perplexity xai
277
+ mimo
276
278
  azure ollama gpustack github
277
279
  ].freeze
278
280
 
data/lib/ask/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ask
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaka Ruto
@@ -60,6 +60,7 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - CHANGELOG.md
63
64
  - LICENSE
64
65
  - README.md
65
66
  - lib/ask.rb
@@ -74,7 +75,10 @@ files:
74
75
  homepage: https://github.com/ask-rb/ask-core
75
76
  licenses:
76
77
  - MIT
77
- metadata: {}
78
+ metadata:
79
+ homepage_uri: https://github.com/ask-rb/ask-core
80
+ source_code_uri: https://github.com/ask-rb/ask-core
81
+ changelog_uri: https://github.com/ask-rb/ask-core/blob/master/CHANGELOG.md
78
82
  rdoc_options: []
79
83
  require_paths:
80
84
  - lib