cadenya 0.42.0 → 0.44.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: 27dd98fae73b8908e2ea6832226e571d96cb153705846dd46fd54c1baf61bcb0
4
+ data.tar.gz: fcaa5b560b21bd5297049e35a2263c67e08c251d912a4e1f6be742009e5ce10d
5
5
  SHA512:
6
- metadata.gz: 8d8549ff3da05a75a4aa7740d91f70c47cf00805ffb172239764943639b9e5e2409628bb9b74979f77bb9f9c8324ccee832f739c4bfde1027d979fb7a92a4b36
7
- data.tar.gz: 406933b86edbfe78a31c6609804e4bde26d99b21f045b8aff8c38b4872454fafa55fc154b1aa9daddf86d68bae2bde258e80dcd879499c043e1e9ad1ef9c0365
6
+ metadata.gz: 053660e9e75a5ea1bb648c0510866649a303a847fcf1d931672b6f734fbddba1f887752d2f6aa603973588ab01294e5fbb06766dec286e3cd59c15e532de192e
7
+ data.tar.gz: d66571d969506aa28cec5955400185e72262010f284936b183f17a0b60db3b1362171f5f9d13569dc44a6c53e50c47364f6992905da7e4cca918e1df8b5140c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.44.0 (2026-07-16)
4
+
5
+ Full Changelog: [v0.43.0...v0.44.0](https://github.com/cadenya/cadenya-ruby/compare/v0.43.0...v0.44.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([68c81b5](https://github.com/cadenya/cadenya-ruby/commit/68c81b5bdaf90d8f676bcee80935eec3b65ff7e2))
10
+
11
+ ## 0.43.0 (2026-07-16)
12
+
13
+ Full Changelog: [v0.42.0...v0.43.0](https://github.com/cadenya/cadenya-ruby/compare/v0.42.0...v0.43.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([57071be](https://github.com/cadenya/cadenya-ruby/commit/57071be18e902221359e8c16a273c8424887adf9))
18
+
3
19
  ## 0.42.0 (2026-07-09)
4
20
 
5
21
  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.44.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
+ # Scopes are deny-by-default: a key with an empty list can call only scope-free
22
+ # endpoints. Full access is always an explicit "\*" grant.
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.44.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
+ # Scopes are deny-by-default: a key with an empty list can call only scope-free
25
+ # endpoints. Full access is always an explicit "\*" grant.
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
+ # Scopes are deny-by-default: a key with an empty list can call only scope-free
72
+ # endpoints. Full access is always an explicit "\*" grant.
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.44.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