cadenya 0.34.0 → 0.35.0

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: 6ec5cf59c2185635477815751d8c6990db7bd709ef5e6b4a2e22a3bcfd1fd5f7
4
- data.tar.gz: 4598fcf0d0be5964a1d4773319594bd4e6d2a74467ee80197005bfcadbcc2fc1
3
+ metadata.gz: cfaae11aa3f5161d17a4be42e681595ca557229cca74f5beda4d9685193e706f
4
+ data.tar.gz: 1d68812d7b991453a4be825508c944395e9459f64c4184e460decfa0e80f9fab
5
5
  SHA512:
6
- metadata.gz: f1ee767a54044a986a689cda6c59050db13e67d9697a434673bd6d493510332ee6a3dea4e15fd7de5d6af97c88700158feccd5b4ef64bb4dd51ecad67172b294
7
- data.tar.gz: 9944c31e4da2d71f9d67ac0775c1b69947690b607b53fb0c8fd04a3292ae8da9dadccee70755b729e60c1d5d5761353eb146c8de4994bb7353d53729efd1aeba
6
+ metadata.gz: fbc72e5372d659e69fbf34f8f014aa4445157b0ef0153dad3a746c69cdca742a274fa46bf797b030ffcfdc1dfedb5c67af040afb5d3a4dd0250bf7a5b11a01db
7
+ data.tar.gz: b4c22be8a69db5fa8394bc92e8c1f27309ebc2edbb11a0fdc184b94618134fe523c80dedc4380aa874da585002e601059341f2e7700e2cb6459bf758e1faf87e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.35.0 (2026-07-08)
4
+
5
+ Full Changelog: [v0.34.0...v0.35.0](https://github.com/cadenya/cadenya-ruby/compare/v0.34.0...v0.35.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([6eb037b](https://github.com/cadenya/cadenya-ruby/commit/6eb037bd73d15273e8d3392c23deb7afabcad844))
10
+
3
11
  ## 0.34.0 (2026-07-08)
4
12
 
5
13
  Full Changelog: [v0.33.0...v0.34.0](https://github.com/cadenya/cadenya-ruby/compare/v0.33.0...v0.34.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "cadenya", "~> 0.34.0"
20
+ gem "cadenya", "~> 0.35.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -18,6 +18,10 @@ module Cadenya
18
18
  required :description, String
19
19
 
20
20
  # @!attribute parameters
21
+ # The tool's JSON Schema, as handed to the LLM. Required, but may be the empty
22
+ # object `{}` for a tool that takes no arguments. Requiring it rather than
23
+ # defaulting it means a misspelled field name (`inputSchema`, say) is a 400
24
+ # instead of a silently parameterless tool.
21
25
  #
22
26
  # @return [Hash{Symbol=>Object}]
23
27
  required :parameters, Cadenya::Internal::Type::HashOf[Cadenya::Internal::Type::Unknown]
@@ -44,7 +48,7 @@ module Cadenya
44
48
  #
45
49
  # @param description [String]
46
50
  #
47
- # @param parameters [Hash{Symbol=>Object}]
51
+ # @param parameters [Hash{Symbol=>Object}] The tool's JSON Schema, as handed to the LLM. Required, but may be the
48
52
  #
49
53
  # @param requires_approval [Boolean]
50
54
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cadenya
4
- VERSION = "0.34.0"
4
+ VERSION = "0.35.0"
5
5
  end
@@ -21,6 +21,10 @@ module Cadenya
21
21
  sig { returns(String) }
22
22
  attr_accessor :description
23
23
 
24
+ # The tool's JSON Schema, as handed to the LLM. Required, but may be the empty
25
+ # object `{}` for a tool that takes no arguments. Requiring it rather than
26
+ # defaulting it means a misspelled field name (`inputSchema`, say) is a 400
27
+ # instead of a silently parameterless tool.
24
28
  sig { returns(T::Hash[Symbol, T.anything]) }
25
29
  attr_accessor :parameters
26
30
 
@@ -52,6 +56,10 @@ module Cadenya
52
56
  # be Http. If the tool is an inline tool, the adapter will be Inline.
53
57
  config:,
54
58
  description:,
59
+ # The tool's JSON Schema, as handed to the LLM. Required, but may be the empty
60
+ # object `{}` for a tool that takes no arguments. Requiring it rather than
61
+ # defaulting it means a misspelled field name (`inputSchema`, say) is a 400
62
+ # instead of a silently parameterless tool.
55
63
  parameters:,
56
64
  requires_approval:,
57
65
  # The name provided to the LLM, which may differ from the metadata.name on the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadenya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cadenya