@warlock.js/access 5.18.0 → 5.19.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.
- package/CHANGELOG.md +6 -0
- package/llms-full.txt +6 -6
- package/llms.txt +6 -6
- package/package.json +7 -7
- package/skills/check-permissions/SKILL.md +1 -1
- package/skills/configure-access/SKILL.md +1 -1
- package/skills/define-policies/SKILL.md +1 -1
- package/skills/implement-resolver/SKILL.md +1 -1
- package/skills/manage-roles/SKILL.md +1 -1
- package/skills/overview/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/access` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.19.0 - 2026-09-23
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Refined package skill-discovery descriptions and regenerated the llms projections.
|
|
12
|
+
|
|
7
13
|
## 5.13.0 - 2026-09-17
|
|
8
14
|
|
|
9
15
|
### Upgrading
|
package/llms-full.txt
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
name: check-permissions
|
|
11
|
-
description:
|
|
11
|
+
description: "Check permissions in @warlock.js/access; use when you need to check permissions."
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
# Check permissions
|
|
@@ -83,7 +83,7 @@ await authorize(user, "orders.update", { resource: order, tenant }); // grant AN
|
|
|
83
83
|
|
|
84
84
|
---
|
|
85
85
|
name: configure-access
|
|
86
|
-
description:
|
|
86
|
+
description: "Configure access in @warlock.js/access; use when you need to configure access."
|
|
87
87
|
---
|
|
88
88
|
|
|
89
89
|
# Configure access
|
|
@@ -176,7 +176,7 @@ The engine caches each user's resolved set (`cache.ttl`, default `10m`). Roles c
|
|
|
176
176
|
|
|
177
177
|
---
|
|
178
178
|
name: define-policies
|
|
179
|
-
description:
|
|
179
|
+
description: "Define policies (ABAC) in @warlock.js/access; use when you need to define policies."
|
|
180
180
|
---
|
|
181
181
|
|
|
182
182
|
# Define policies (ABAC)
|
|
@@ -248,7 +248,7 @@ definePolicy("orders.refund", (user, order, ctx) =>
|
|
|
248
248
|
|
|
249
249
|
---
|
|
250
250
|
name: implement-resolver
|
|
251
|
-
description:
|
|
251
|
+
description: "Implement a resolver in @warlock.js/access; use when you need to implement resolver."
|
|
252
252
|
---
|
|
253
253
|
|
|
254
254
|
# Implement a resolver
|
|
@@ -358,7 +358,7 @@ class DirectResolver implements AccessResolver {
|
|
|
358
358
|
|
|
359
359
|
---
|
|
360
360
|
name: manage-roles
|
|
361
|
-
description:
|
|
361
|
+
description: "Manage roles in @warlock.js/access; use when you need to manage roles."
|
|
362
362
|
---
|
|
363
363
|
|
|
364
364
|
# Manage roles
|
|
@@ -433,7 +433,7 @@ If roles live on the user (a `roles` column) or in a token claim, you don't use
|
|
|
433
433
|
|
|
434
434
|
---
|
|
435
435
|
name: overview
|
|
436
|
-
description:
|
|
436
|
+
description: "@warlock.js/access overview for orientation and choosing the focused skill for the task."
|
|
437
437
|
---
|
|
438
438
|
|
|
439
439
|
# `@warlock.js/access` — overview
|
package/llms.txt
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
## Skills
|
|
8
8
|
|
|
9
|
-
- [check-permissions](@warlock.js/access/check-permissions/SKILL.md): Check permissions in
|
|
10
|
-
- [configure-access](@warlock.js/access/configure-access/SKILL.md): Configure
|
|
11
|
-
- [define-policies](@warlock.js/access/define-policies/SKILL.md): ABAC
|
|
12
|
-
- [implement-resolver](@warlock.js/access/implement-resolver/SKILL.md):
|
|
13
|
-
- [manage-roles](@warlock.js/access/manage-roles/SKILL.md):
|
|
14
|
-
- [overview](@warlock.js/access/overview/SKILL.md):
|
|
9
|
+
- [check-permissions](@warlock.js/access/check-permissions/SKILL.md): Check permissions in @warlock.js/access; use when you need to check permissions.
|
|
10
|
+
- [configure-access](@warlock.js/access/configure-access/SKILL.md): Configure access in @warlock.js/access; use when you need to configure access.
|
|
11
|
+
- [define-policies](@warlock.js/access/define-policies/SKILL.md): Define policies (ABAC) in @warlock.js/access; use when you need to define policies.
|
|
12
|
+
- [implement-resolver](@warlock.js/access/implement-resolver/SKILL.md): Implement a resolver in @warlock.js/access; use when you need to implement resolver.
|
|
13
|
+
- [manage-roles](@warlock.js/access/manage-roles/SKILL.md): Manage roles in @warlock.js/access; use when you need to manage roles.
|
|
14
|
+
- [overview](@warlock.js/access/overview/SKILL.md): @warlock.js/access overview for orientation and choosing the focused skill for the task.
|
package/package.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"environment": "server"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@warlock.js/auth": "5.
|
|
9
|
-
"@warlock.js/cache": "5.
|
|
10
|
-
"@warlock.js/cascade": "5.
|
|
11
|
-
"@warlock.js/core": "5.
|
|
12
|
-
"@warlock.js/logger": "5.
|
|
13
|
-
"@warlock.js/seal": "5.
|
|
8
|
+
"@warlock.js/auth": "5.19.0",
|
|
9
|
+
"@warlock.js/cache": "5.19.0",
|
|
10
|
+
"@warlock.js/cascade": "5.19.0",
|
|
11
|
+
"@warlock.js/core": "5.19.0",
|
|
12
|
+
"@warlock.js/logger": "5.19.0",
|
|
13
|
+
"@warlock.js/seal": "5.19.0"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"author": "hassanzohdy",
|
|
29
29
|
"license": "MIT",
|
|
30
|
-
"version": "5.
|
|
30
|
+
"version": "5.19.0",
|
|
31
31
|
"main": "./cjs/index.cjs",
|
|
32
32
|
"module": "./esm/index.mjs",
|
|
33
33
|
"types": "./esm/index.d.mts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: check-permissions
|
|
3
|
-
description:
|
|
3
|
+
description: "Check permissions in @warlock.js/access; use when you need to check permissions."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Check permissions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: configure-access
|
|
3
|
-
description:
|
|
3
|
+
description: "Configure access in @warlock.js/access; use when you need to configure access."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Configure access
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: define-policies
|
|
3
|
-
description:
|
|
3
|
+
description: "Define policies (ABAC) in @warlock.js/access; use when you need to define policies."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Define policies (ABAC)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implement-resolver
|
|
3
|
-
description:
|
|
3
|
+
description: "Implement a resolver in @warlock.js/access; use when you need to implement resolver."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Implement a resolver
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: manage-roles
|
|
3
|
-
description:
|
|
3
|
+
description: "Manage roles in @warlock.js/access; use when you need to manage roles."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Manage roles
|
package/skills/overview/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: overview
|
|
3
|
-
description:
|
|
3
|
+
description: "@warlock.js/access overview for orientation and choosing the focused skill for the task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `@warlock.js/access` — overview
|