cadenya 0.42.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: 0d796dfcd154c76ac542df58a39a9aaf59c80b3b254f5fb1ca350030698872b5
4
- data.tar.gz: a5121c66bfac6c7e3fdb4cd18366cb5e9072a7ed3b86f75d393829e6ec39c01b
3
+ metadata.gz: 2b1273c4583bc92904e6a96809dbc8aa4f124dab7720d30b2ef268dedc498211
4
+ data.tar.gz: de189818935cf093d144f8eaf5afad55f2bd9e8302218d90360afd1ca0305249
5
5
  SHA512:
6
- metadata.gz: 8d8549ff3da05a75a4aa7740d91f70c47cf00805ffb172239764943639b9e5e2409628bb9b74979f77bb9f9c8324ccee832f739c4bfde1027d979fb7a92a4b36
7
- data.tar.gz: 406933b86edbfe78a31c6609804e4bde26d99b21f045b8aff8c38b4872454fafa55fc154b1aa9daddf86d68bae2bde258e80dcd879499c043e1e9ad1ef9c0365
6
+ metadata.gz: bbada6df12b74966b764aa266ce9d731a16d94dac4bc2adff086dc32385457c8f1817e7b18f4f31f61904a4668271ffc0b5bac50068f045bb6373a70015a46b2
7
+ data.tar.gz: e51db9d64ed530dfe19f03d000a69e3187b999ef99de09e376ce4c4a2f5f02eb19808a2519635d80520f3086a1f12310b6d182b04d1a3756a42692b37a38a59a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 0.42.0 (2026-07-09)
4
12
 
5
13
  Full Changelog: [v0.41.0...v0.42.0](https://github.com/cadenya/cadenya-ruby/compare/v0.41.0...v0.42.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.42.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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cadenya
4
- VERSION = "0.42.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.
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.42.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-09 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