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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/cadenya/models/tool_sets/tool_spec.rb +5 -1
- data/lib/cadenya/version.rb +1 -1
- data/rbi/cadenya/models/tool_sets/tool_spec.rbi +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfaae11aa3f5161d17a4be42e681595ca557229cca74f5beda4d9685193e706f
|
|
4
|
+
data.tar.gz: 1d68812d7b991453a4be825508c944395e9459f64c4184e460decfa0e80f9fab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
#
|
data/lib/cadenya/version.rb
CHANGED
|
@@ -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
|