cadenya 0.41.0 → 0.43.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: 53bcddab59b2934622d9a935e3359cddd21eb221f9aa3e054da2cac2ff6a9953
4
- data.tar.gz: 64d90635a7ec83c83db5c583c985dc361865eb6eda9211446041ff103c6765da
3
+ metadata.gz: 2b1273c4583bc92904e6a96809dbc8aa4f124dab7720d30b2ef268dedc498211
4
+ data.tar.gz: de189818935cf093d144f8eaf5afad55f2bd9e8302218d90360afd1ca0305249
5
5
  SHA512:
6
- metadata.gz: 1ef94ddb9d51fd39fa0abaf63679d7682852eee8e272184e8c0032e3652288fd87ab308ddfabca8cd0c840cb0ef6ad0380937a5f483ca37f32a5c9b728c5bbba
7
- data.tar.gz: dbb8b1c6c87f93f25acedf8d82be570a1bf5b78e7755dbc02a9d30880e58f39384be33a2d68461336efe69a36fbb7aa20ca779d347754e04126a6c32c7bd7955
6
+ metadata.gz: bbada6df12b74966b764aa266ce9d731a16d94dac4bc2adff086dc32385457c8f1817e7b18f4f31f61904a4668271ffc0b5bac50068f045bb6373a70015a46b2
7
+ data.tar.gz: e51db9d64ed530dfe19f03d000a69e3187b999ef99de09e376ce4c4a2f5f02eb19808a2519635d80520f3086a1f12310b6d182b04d1a3756a42692b37a38a59a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.43.0 (2026-07-16)
4
+
5
+ Full Changelog: [v0.42.0...v0.43.0](https://github.com/cadenya/cadenya-ruby/compare/v0.42.0...v0.43.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([57071be](https://github.com/cadenya/cadenya-ruby/commit/57071be18e902221359e8c16a273c8424887adf9))
10
+
11
+ ## 0.42.0 (2026-07-09)
12
+
13
+ Full Changelog: [v0.41.0...v0.42.0](https://github.com/cadenya/cadenya-ruby/compare/v0.41.0...v0.42.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([16c93e2](https://github.com/cadenya/cadenya-ruby/commit/16c93e2a2526e1d42b8608515c7867e4dbaf810e))
18
+
3
19
  ## 0.41.0 (2026-07-08)
4
20
 
5
21
  Full Changelog: [v0.40.0...v0.41.0](https://github.com/cadenya/cadenya-ruby/compare/v0.40.0...v0.41.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.41.0"
20
+ gem "cadenya", "~> 0.43.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -10,9 +10,16 @@ module Cadenya
10
10
  optional :description, String
11
11
 
12
12
  # @!attribute permissions
13
- # Permissions granted to this key. Each entry is a colon-separated verb:resource
14
- # string (e.g. "manage:agents"). Currently has no enforced effect; reserved for
15
- # future fine-grained authorization.
13
+ # Scopes granted to this key. Each entry is a colon-separated resource:verb string
14
+ # (e.g. "objectives:manage").
15
+ #
16
+ # Resources: agents, objectives, tools, memory, secrets, account. Verbs: read and
17
+ # manage, where manage implies read — a stored scope set is normalized to drop
18
+ # "x:read" when "x:manage" is present. The secrets and account resources support
19
+ # only manage. "\*" is an explicit full-access grant.
20
+ #
21
+ # An empty list grants full access (grandfathered legacy behavior); new keys
22
+ # should be created with explicit scopes.
16
23
  #
17
24
  # @return [Array<String>, nil]
18
25
  optional :permissions, Cadenya::Internal::Type::ArrayOf[String]
@@ -43,7 +50,7 @@ module Cadenya
43
50
  #
44
51
  # @param description [String] Free-form description of what this API key is used for.
45
52
  #
46
- # @param permissions [Array<String>] Permissions granted to this key. Each entry is a colon-separated
53
+ # @param permissions [Array<String>] Scopes granted to this key. Each entry is a colon-separated
47
54
  #
48
55
  # @param system_ [Boolean] True when this key is managed by the system (e.g. the auto-provisioned
49
56
  end
@@ -55,7 +55,9 @@ module Cadenya
55
55
  optional :limit, Integer
56
56
 
57
57
  # @!attribute prefix
58
- # Filter by name prefix
58
+ # Filter by a prefix of the model's display name, external id, or id
59
+ # (case-insensitive). A model's external id is the form used in
60
+ # modelConfig.modelId, so a caller holding that can narrow the list by it.
59
61
  #
60
62
  # @return [String, nil]
61
63
  optional :prefix, String
@@ -96,7 +98,7 @@ module Cadenya
96
98
  #
97
99
  # @param limit [Integer] Maximum number of results to return
98
100
  #
99
- # @param prefix [String] Filter by name prefix
101
+ # @param prefix [String] Filter by a prefix of the model's display name, external id, or id
100
102
  #
101
103
  # @param query [String] Free-form search query
102
104
  #
@@ -54,7 +54,7 @@ module Cadenya
54
54
  #
55
55
  # @param limit [Integer] Maximum number of results to return
56
56
  #
57
- # @param prefix [String] Filter by name prefix
57
+ # @param prefix [String] Filter by a prefix of the model's display name, external id, or id
58
58
  #
59
59
  # @param query [String] Free-form search query
60
60
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cadenya
4
- VERSION = "0.41.0"
4
+ VERSION = "0.43.0"
5
5
  end
@@ -13,9 +13,16 @@ module Cadenya
13
13
  sig { params(description: String).void }
14
14
  attr_writer :description
15
15
 
16
- # Permissions granted to this key. Each entry is a colon-separated verb:resource
17
- # string (e.g. "manage:agents"). Currently has no enforced effect; reserved for
18
- # future fine-grained authorization.
16
+ # Scopes granted to this key. Each entry is a colon-separated resource:verb string
17
+ # (e.g. "objectives:manage").
18
+ #
19
+ # Resources: agents, objectives, tools, memory, secrets, account. Verbs: read and
20
+ # manage, where manage implies read — a stored scope set is normalized to drop
21
+ # "x:read" when "x:manage" is present. The secrets and account resources support
22
+ # only manage. "\*" is an explicit full-access grant.
23
+ #
24
+ # An empty list grants full access (grandfathered legacy behavior); new keys
25
+ # should be created with explicit scopes.
19
26
  sig { returns(T.nilable(T::Array[String])) }
20
27
  attr_reader :permissions
21
28
 
@@ -53,9 +60,16 @@ module Cadenya
53
60
  token: nil,
54
61
  # Free-form description of what this API key is used for.
55
62
  description: nil,
56
- # Permissions granted to this key. Each entry is a colon-separated verb:resource
57
- # string (e.g. "manage:agents"). Currently has no enforced effect; reserved for
58
- # future fine-grained authorization.
63
+ # Scopes granted to this key. Each entry is a colon-separated resource:verb string
64
+ # (e.g. "objectives:manage").
65
+ #
66
+ # Resources: agents, objectives, tools, memory, secrets, account. Verbs: read and
67
+ # manage, where manage implies read — a stored scope set is normalized to drop
68
+ # "x:read" when "x:manage" is present. The secrets and account resources support
69
+ # only manage. "\*" is an explicit full-access grant.
70
+ #
71
+ # An empty list grants full access (grandfathered legacy behavior); new keys
72
+ # should be created with explicit scopes.
59
73
  permissions: nil,
60
74
  # True when this key is managed by the system (e.g. the auto-provisioned global
61
75
  # account key). System keys cannot be deleted but can be rotated.
@@ -62,7 +62,9 @@ module Cadenya
62
62
  sig { params(limit: Integer).void }
63
63
  attr_writer :limit
64
64
 
65
- # Filter by name prefix
65
+ # Filter by a prefix of the model's display name, external id, or id
66
+ # (case-insensitive). A model's external id is the form used in
67
+ # modelConfig.modelId, so a caller holding that can narrow the list by it.
66
68
  sig { returns(T.nilable(String)) }
67
69
  attr_reader :prefix
68
70
 
@@ -126,7 +128,9 @@ module Cadenya
126
128
  labels: nil,
127
129
  # Maximum number of results to return
128
130
  limit: nil,
129
- # Filter by name prefix
131
+ # Filter by a prefix of the model's display name, external id, or id
132
+ # (case-insensitive). A model's external id is the form used in
133
+ # modelConfig.modelId, so a caller holding that can narrow the list by it.
130
134
  prefix: nil,
131
135
  # Free-form search query
132
136
  query: nil,
@@ -61,7 +61,9 @@ module Cadenya
61
61
  labels: nil,
62
62
  # Maximum number of results to return
63
63
  limit: nil,
64
- # Filter by name prefix
64
+ # Filter by a prefix of the model's display name, external id, or id
65
+ # (case-insensitive). A model's external id is the form used in
66
+ # modelConfig.modelId, so a caller holding that can narrow the list by it.
65
67
  prefix: nil,
66
68
  # Free-form search query
67
69
  query: nil,
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.41.0
4
+ version: 0.43.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-08 00:00:00.000000000 Z
11
+ date: 2026-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi