cadenya 0.31.0 → 0.32.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/agents/agent_variation_spec_constraints.rb +12 -6
- data/lib/cadenya/version.rb +1 -1
- data/rbi/cadenya/models/agents/agent_variation_spec_constraints.rbi +22 -10
- data/sig/cadenya/models/agents/agent_variation_spec_constraints.rbs +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7cbd78d3ea5bcae1f284af2ac67c82d99bf07e88f5ae3b6a495043fe94593fc
|
|
4
|
+
data.tar.gz: c9366600d25fc2c8571b045f3fe7cf22aec78f1a60f7cd1aaa6721ac6dbc6183
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38d5dcc81936365971a2ccb51e3103211eaac42a69274257e66484ab7d1953a71a11cd6ec5303da3f4f8992136ede7fae01dc3165e020b87e6c51061a92c954e
|
|
7
|
+
data.tar.gz: 286d38aec2428b7ec9100cfd3b4e76a4e3e19ba964c6d07bf601dd468671647b6a7a261a87823d9509e410e2f13838836f0c853c2481c9a4fa75b79f81ee8539
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.32.0 (2026-07-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.31.0...v0.32.0](https://github.com/cadenya/cadenya-ruby/compare/v0.31.0...v0.32.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e75213d](https://github.com/cadenya/cadenya-ruby/commit/e75213d6fbd2a00f6b710f805154002f39e832f8))
|
|
10
|
+
|
|
3
11
|
## 0.31.0 (2026-07-07)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.30.0...v0.31.0](https://github.com/cadenya/cadenya-ruby/compare/v0.30.0...v0.31.0)
|
data/README.md
CHANGED
|
@@ -6,12 +6,18 @@ module Cadenya
|
|
|
6
6
|
class AgentVariationSpecConstraints < Cadenya::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute inactivity_timeout
|
|
8
8
|
# How long an objective may sit with no activity (no user messages, no LLM calls)
|
|
9
|
-
# before it is finalized as timed out. Between 1 minute and 24 hours
|
|
10
|
-
#
|
|
11
|
-
# objective eventually reaches a
|
|
9
|
+
# before it is finalized as timed out. Between 1 minute and 24 hours, expressed as
|
|
10
|
+
# a duration string in seconds (e.g. "7200s"). When not set, objectives are still
|
|
11
|
+
# swept at the system-wide 24 hour maximum — every objective eventually reaches a
|
|
12
|
+
# terminal state.
|
|
12
13
|
#
|
|
13
|
-
#
|
|
14
|
-
|
|
14
|
+
# Note: no gnostic integer hint here on purpose. The Envoy gRPC-JSON transcoder
|
|
15
|
+
# only accepts the canonical protobuf JSON form for Durations — a "<seconds>s"
|
|
16
|
+
# string — so the SDKs must type this as a string (like AgentScheduleSpec.every),
|
|
17
|
+
# not an integer.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :inactivity_timeout, String, api_name: :inactivityTimeout
|
|
15
21
|
|
|
16
22
|
# @!attribute max_sub_objectives
|
|
17
23
|
# The maximum number of sub-objectives that can be created. 0 means no limit.
|
|
@@ -29,7 +35,7 @@ module Cadenya
|
|
|
29
35
|
# Some parameter documentations has been truncated, see
|
|
30
36
|
# {Cadenya::Models::Agents::AgentVariationSpecConstraints} for more details.
|
|
31
37
|
#
|
|
32
|
-
# @param inactivity_timeout [
|
|
38
|
+
# @param inactivity_timeout [String] How long an objective may sit with no activity (no user messages, no
|
|
33
39
|
#
|
|
34
40
|
# @param max_sub_objectives [Integer] The maximum number of sub-objectives that can be created. 0 means no limit.
|
|
35
41
|
#
|
data/lib/cadenya/version.rb
CHANGED
|
@@ -15,13 +15,19 @@ module Cadenya
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
# How long an objective may sit with no activity (no user messages, no LLM calls)
|
|
18
|
-
# before it is finalized as timed out. Between 1 minute and 24 hours
|
|
19
|
-
#
|
|
20
|
-
# objective eventually reaches a
|
|
21
|
-
|
|
18
|
+
# before it is finalized as timed out. Between 1 minute and 24 hours, expressed as
|
|
19
|
+
# a duration string in seconds (e.g. "7200s"). When not set, objectives are still
|
|
20
|
+
# swept at the system-wide 24 hour maximum — every objective eventually reaches a
|
|
21
|
+
# terminal state.
|
|
22
|
+
#
|
|
23
|
+
# Note: no gnostic integer hint here on purpose. The Envoy gRPC-JSON transcoder
|
|
24
|
+
# only accepts the canonical protobuf JSON form for Durations — a "<seconds>s"
|
|
25
|
+
# string — so the SDKs must type this as a string (like AgentScheduleSpec.every),
|
|
26
|
+
# not an integer.
|
|
27
|
+
sig { returns(T.nilable(String)) }
|
|
22
28
|
attr_reader :inactivity_timeout
|
|
23
29
|
|
|
24
|
-
sig { params(inactivity_timeout:
|
|
30
|
+
sig { params(inactivity_timeout: String).void }
|
|
25
31
|
attr_writer :inactivity_timeout
|
|
26
32
|
|
|
27
33
|
# The maximum number of sub-objectives that can be created. 0 means no limit.
|
|
@@ -40,16 +46,22 @@ module Cadenya
|
|
|
40
46
|
|
|
41
47
|
sig do
|
|
42
48
|
params(
|
|
43
|
-
inactivity_timeout:
|
|
49
|
+
inactivity_timeout: String,
|
|
44
50
|
max_sub_objectives: Integer,
|
|
45
51
|
max_tool_calls: Integer
|
|
46
52
|
).returns(T.attached_class)
|
|
47
53
|
end
|
|
48
54
|
def self.new(
|
|
49
55
|
# How long an objective may sit with no activity (no user messages, no LLM calls)
|
|
50
|
-
# before it is finalized as timed out. Between 1 minute and 24 hours
|
|
51
|
-
#
|
|
52
|
-
# objective eventually reaches a
|
|
56
|
+
# before it is finalized as timed out. Between 1 minute and 24 hours, expressed as
|
|
57
|
+
# a duration string in seconds (e.g. "7200s"). When not set, objectives are still
|
|
58
|
+
# swept at the system-wide 24 hour maximum — every objective eventually reaches a
|
|
59
|
+
# terminal state.
|
|
60
|
+
#
|
|
61
|
+
# Note: no gnostic integer hint here on purpose. The Envoy gRPC-JSON transcoder
|
|
62
|
+
# only accepts the canonical protobuf JSON form for Durations — a "<seconds>s"
|
|
63
|
+
# string — so the SDKs must type this as a string (like AgentScheduleSpec.every),
|
|
64
|
+
# not an integer.
|
|
53
65
|
inactivity_timeout: nil,
|
|
54
66
|
# The maximum number of sub-objectives that can be created. 0 means no limit.
|
|
55
67
|
max_sub_objectives: nil,
|
|
@@ -61,7 +73,7 @@ module Cadenya
|
|
|
61
73
|
sig do
|
|
62
74
|
override.returns(
|
|
63
75
|
{
|
|
64
|
-
inactivity_timeout:
|
|
76
|
+
inactivity_timeout: String,
|
|
65
77
|
max_sub_objectives: Integer,
|
|
66
78
|
max_tool_calls: Integer
|
|
67
79
|
}
|
|
@@ -5,15 +5,15 @@ module Cadenya
|
|
|
5
5
|
module Agents
|
|
6
6
|
type agent_variation_spec_constraints =
|
|
7
7
|
{
|
|
8
|
-
inactivity_timeout:
|
|
8
|
+
inactivity_timeout: String,
|
|
9
9
|
max_sub_objectives: Integer,
|
|
10
10
|
max_tool_calls: Integer
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class AgentVariationSpecConstraints < Cadenya::Internal::Type::BaseModel
|
|
14
|
-
attr_reader inactivity_timeout:
|
|
14
|
+
attr_reader inactivity_timeout: String?
|
|
15
15
|
|
|
16
|
-
def inactivity_timeout=: (
|
|
16
|
+
def inactivity_timeout=: (String) -> String
|
|
17
17
|
|
|
18
18
|
attr_reader max_sub_objectives: Integer?
|
|
19
19
|
|
|
@@ -24,13 +24,13 @@ module Cadenya
|
|
|
24
24
|
def max_tool_calls=: (Integer) -> Integer
|
|
25
25
|
|
|
26
26
|
def initialize: (
|
|
27
|
-
?inactivity_timeout:
|
|
27
|
+
?inactivity_timeout: String,
|
|
28
28
|
?max_sub_objectives: Integer,
|
|
29
29
|
?max_tool_calls: Integer
|
|
30
30
|
) -> void
|
|
31
31
|
|
|
32
32
|
def to_hash: -> {
|
|
33
|
-
inactivity_timeout:
|
|
33
|
+
inactivity_timeout: String,
|
|
34
34
|
max_sub_objectives: Integer,
|
|
35
35
|
max_tool_calls: Integer
|
|
36
36
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cadenya
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cadenya
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|