@owlmeans/auth-common 0.1.15 → 0.1.16

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/README.md CHANGED
@@ -79,10 +79,9 @@ BED255_CASHE_RESOURCE // resource alias for nonce cache
79
79
  <!-- owlmeans:agent-guidance:start -->
80
80
  ## Agent guidance
81
81
 
82
- This package ships embedded Claude Code skills and GitHub Copilot instructions under
83
- `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
84
- agent-skills installer to place them into your project's native locations
85
- (`.claude/skills/` and `.github/instructions/`):
82
+ This package ships embedded agent skills under `agent-meta/`. After installing your
83
+ `@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
84
+ your project's skill store (`.agents/skills/`):
86
85
 
87
86
  ```sh
88
87
  npx @owlmeans/agent-skills
@@ -1,8 +1,8 @@
1
1
  {
2
- "schemaVersion": 1,
2
+ "schemaVersion": 2,
3
3
  "package": "@owlmeans/auth-common",
4
- "version": "0.1.15",
5
- "generatedAt": "2026-08-07T17:06:32.895Z",
4
+ "version": "0.1.16",
5
+ "generatedAt": "2026-08-14T10:14:48.849Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -10,14 +10,7 @@
10
10
  "name": "auth-common",
11
11
  "category": "package-specific",
12
12
  "file": "skills/auth-common/SKILL.md",
13
- "canonicalPath": ".claude/skills/auth-common/SKILL.md"
14
- },
15
- {
16
- "kind": "instruction",
17
- "name": "auth-common",
18
- "category": "package-specific",
19
- "file": "instructions/auth-common.instructions.md",
20
- "canonicalPath": ".github/instructions/auth-common.instructions.md"
13
+ "canonicalPath": ".agents/skills/auth-common/SKILL.md"
21
14
  }
22
15
  ]
23
16
  }
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/auth-common
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/auth-common": "^0.1.15"` in `dependencies`
11
+ **Install:** `"@owlmeans/auth-common": "^0.1.16"` in `dependencies`
12
12
 
13
13
  ## Key Exports
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/auth-common",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -29,19 +29,19 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@owlmeans/auth": "^0.1.15",
33
- "@owlmeans/auth-common": "^0.1.15",
34
- "@owlmeans/basic-ids": "^0.1.15",
35
- "@owlmeans/basic-keys": "^0.1.15",
36
- "@owlmeans/client-entrypoint": "^0.1.15",
37
- "@owlmeans/context": "^0.1.15",
38
- "@owlmeans/entrypoint": "^0.1.15",
39
- "@owlmeans/resource": "^0.1.15",
40
- "@owlmeans/route": "^0.1.15"
32
+ "@owlmeans/auth": "^0.1.16",
33
+ "@owlmeans/auth-common": "^0.1.16",
34
+ "@owlmeans/basic-ids": "^0.1.16",
35
+ "@owlmeans/basic-keys": "^0.1.16",
36
+ "@owlmeans/client-entrypoint": "^0.1.16",
37
+ "@owlmeans/context": "^0.1.16",
38
+ "@owlmeans/entrypoint": "^0.1.16",
39
+ "@owlmeans/resource": "^0.1.16",
40
+ "@owlmeans/route": "^0.1.16"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@owlmeans/dep-config": "workspace:*",
44
- "@owlmeans/test-auth": "^0.1.15",
44
+ "@owlmeans/test-auth": "^0.1.16",
45
45
  "@types/bun": "^1.3.14",
46
46
  "nodemon": "^3.1.14",
47
47
  "typescript": "^6.0.3"
@@ -1,50 +0,0 @@
1
- ---
2
- description: "How to use @owlmeans/auth-common — shared authentication guard aliases (DEFAULT_GUARD, GUARD_ED25519) and middleware shared between server and client. Use when declaring modules with guards."
3
- applyTo: "**/*.ts, **/*.tsx"
4
- ---
5
- <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
-
7
- # @owlmeans/auth-common
8
-
9
- **Layer:** Core
10
- **Install:** `"@owlmeans/auth-common": "^0.1.15"` in `dependencies`
11
-
12
- ## Key Exports
13
-
14
- | Export | Description |
15
- |--------|-------------|
16
- | `DEFAULT_GUARD` | Alias for the default authentication guard |
17
- | `GUARD_ED25519` | Alias for the Ed25519 signature guard |
18
- | `AUTH_API` | Alias of the auth service module group |
19
- | Auth modules | Shared module declarations registered in both server and client |
20
- | Middleware | Cross-side auth middleware helpers |
21
-
22
- ## Subpath Exports
23
-
24
- - `./utils` — shared auth utility functions
25
-
26
- ## Usage
27
-
28
- ```typescript
29
- import { entrypoint, guard, gate } from '@owlmeans/entrypoint'
30
- import { route } from '@owlmeans/route'
31
- import { DEFAULT_GUARD } from '@owlmeans/auth-common'
32
- import { OIDC_GATE } from '@owlmeans/oidc'
33
-
34
- entrypoint(
35
- route(manager.back.account.base, '/account'),
36
- guard(DEFAULT_GUARD, gate(OIDC_GATE, [`my-service-account-{entity}`]))
37
- )
38
- ```
39
-
40
- ## Product-Viable Usage Notes
41
-
42
- - Manager API modules use `DEFAULT_GUARD` for bearer-token authentication and compose product authorization with `gate(VIABLE_AUTH_GATE, [...])` inside the same `guard(...)` options object.
43
- - Internal service-to-service routes still use `GUARD_ED25519`, including publisher/project command paths and auth service helper modules.
44
- - `DEFAULT_GUARD` is the guard alias shared across server and web; `@owlmeans/client-auth` exports the matching client alias.
45
- - Do not assume OIDC gates are required when OIDC is only the login/bootstrap provider. In product-viable, OIDC/Google login issues local bearer auth, and a product-specific gate checks local identity scopes.
46
-
47
- ## Depends On
48
-
49
- - `@owlmeans/auth` — types and errors
50
- - `@owlmeans/entrypoint` — entrypoint/guard/gate helpers