cadenya 0.14.0 → 0.15.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/memory_layer_info.rb +9 -1
- data/lib/cadenya/version.rb +1 -1
- data/rbi/cadenya/models/memory_layer_info.rbi +11 -0
- data/sig/cadenya/models/memory_layer_info.rbs +12 -1
- 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: b8a29ef2fc93cc941536823190bf6f8f88aa0af46adb4e666dd7b457e10cce02
|
|
4
|
+
data.tar.gz: 66cf113556ef9e7ea53069e7c1f507b96a57ed20567a45f27181bf8d6b5ae232
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50cbe429ade572d9255c77ecd3831de4c7e13ccf4aff63d06c343952b98240d70c3968de0ba760ced99a061dd8dd115d53c05d8ee4130b9f8331a8718b32b273
|
|
7
|
+
data.tar.gz: 00a82b3fdcb5143225c94cfedf792cc7885e50ae12edce443b93ce4367a6e07c6798754707e7befae45b5dbaaf4e5913feab226a6ab5eecdf672fcdd1bd1cc4c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2026-06-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/cadenya/cadenya-ruby/compare/v0.14.0...v0.15.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([c5855fa](https://github.com/cadenya/cadenya-ruby/commit/c5855fabab07128f44cb108b3c622760c145a47d))
|
|
10
|
+
|
|
3
11
|
## 0.14.0 (2026-06-11)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.13.0...v0.14.0](https://github.com/cadenya/cadenya-ruby/compare/v0.13.0...v0.14.0)
|
data/README.md
CHANGED
|
@@ -12,6 +12,12 @@ module Cadenya
|
|
|
12
12
|
optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy
|
|
13
13
|
|
|
14
14
|
response_only do
|
|
15
|
+
# @!attribute agent
|
|
16
|
+
# Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
17
|
+
#
|
|
18
|
+
# @return [Cadenya::Models::ResourceMetadata, nil]
|
|
19
|
+
optional :agent, -> { Cadenya::ResourceMetadata }
|
|
20
|
+
|
|
15
21
|
# @!attribute entry_count
|
|
16
22
|
# Number of entries currently in this layer.
|
|
17
23
|
#
|
|
@@ -26,10 +32,12 @@ module Cadenya
|
|
|
26
32
|
optional :last_used_at, Time, api_name: :lastUsedAt
|
|
27
33
|
end
|
|
28
34
|
|
|
29
|
-
# @!method initialize(created_by: nil, entry_count: nil, last_used_at: nil)
|
|
35
|
+
# @!method initialize(agent: nil, created_by: nil, entry_count: nil, last_used_at: nil)
|
|
30
36
|
# Some parameter documentations has been truncated, see
|
|
31
37
|
# {Cadenya::Models::MemoryLayerInfo} for more details.
|
|
32
38
|
#
|
|
39
|
+
# @param agent [Cadenya::Models::ResourceMetadata] Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
40
|
+
#
|
|
33
41
|
# @param created_by [Cadenya::Models::Profile] A profile identifies a user or non-human principal (such as an API key)
|
|
34
42
|
#
|
|
35
43
|
# @param entry_count [Integer] Number of entries currently in this layer.
|
data/lib/cadenya/version.rb
CHANGED
|
@@ -17,6 +17,13 @@ module Cadenya
|
|
|
17
17
|
sig { params(created_by: Cadenya::Profile::OrHash).void }
|
|
18
18
|
attr_writer :created_by
|
|
19
19
|
|
|
20
|
+
# Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
21
|
+
sig { returns(T.nilable(Cadenya::ResourceMetadata)) }
|
|
22
|
+
attr_reader :agent
|
|
23
|
+
|
|
24
|
+
sig { params(agent: Cadenya::ResourceMetadata::OrHash).void }
|
|
25
|
+
attr_writer :agent
|
|
26
|
+
|
|
20
27
|
# Number of entries currently in this layer.
|
|
21
28
|
sig { returns(T.nilable(Integer)) }
|
|
22
29
|
attr_reader :entry_count
|
|
@@ -34,12 +41,15 @@ module Cadenya
|
|
|
34
41
|
|
|
35
42
|
sig do
|
|
36
43
|
params(
|
|
44
|
+
agent: Cadenya::ResourceMetadata::OrHash,
|
|
37
45
|
created_by: Cadenya::Profile::OrHash,
|
|
38
46
|
entry_count: Integer,
|
|
39
47
|
last_used_at: Time
|
|
40
48
|
).returns(T.attached_class)
|
|
41
49
|
end
|
|
42
50
|
def self.new(
|
|
51
|
+
# Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
|
|
52
|
+
agent: nil,
|
|
43
53
|
# A profile identifies a user or non-human principal (such as an API key) at the
|
|
44
54
|
# account level. Profiles are account-scoped and can be granted access to multiple
|
|
45
55
|
# workspaces.
|
|
@@ -55,6 +65,7 @@ module Cadenya
|
|
|
55
65
|
sig do
|
|
56
66
|
override.returns(
|
|
57
67
|
{
|
|
68
|
+
agent: Cadenya::ResourceMetadata,
|
|
58
69
|
created_by: Cadenya::Profile,
|
|
59
70
|
entry_count: Integer,
|
|
60
71
|
last_used_at: Time
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
module Cadenya
|
|
2
2
|
module Models
|
|
3
3
|
type memory_layer_info =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
agent: Cadenya::ResourceMetadata,
|
|
6
|
+
created_by: Cadenya::Profile,
|
|
7
|
+
entry_count: Integer,
|
|
8
|
+
last_used_at: Time
|
|
9
|
+
}
|
|
5
10
|
|
|
6
11
|
class MemoryLayerInfo < Cadenya::Internal::Type::BaseModel
|
|
7
12
|
attr_reader created_by: Cadenya::Profile?
|
|
8
13
|
|
|
9
14
|
def created_by=: (Cadenya::Profile) -> Cadenya::Profile
|
|
10
15
|
|
|
16
|
+
attr_reader agent: Cadenya::ResourceMetadata?
|
|
17
|
+
|
|
18
|
+
def agent=: (Cadenya::ResourceMetadata) -> Cadenya::ResourceMetadata
|
|
19
|
+
|
|
11
20
|
attr_reader entry_count: Integer?
|
|
12
21
|
|
|
13
22
|
def entry_count=: (Integer) -> Integer
|
|
@@ -17,12 +26,14 @@ module Cadenya
|
|
|
17
26
|
def last_used_at=: (Time) -> Time
|
|
18
27
|
|
|
19
28
|
def initialize: (
|
|
29
|
+
?agent: Cadenya::ResourceMetadata,
|
|
20
30
|
?created_by: Cadenya::Profile,
|
|
21
31
|
?entry_count: Integer,
|
|
22
32
|
?last_used_at: Time
|
|
23
33
|
) -> void
|
|
24
34
|
|
|
25
35
|
def to_hash: -> {
|
|
36
|
+
agent: Cadenya::ResourceMetadata,
|
|
26
37
|
created_by: Cadenya::Profile,
|
|
27
38
|
entry_count: Integer,
|
|
28
39
|
last_used_at: Time
|