@owlmeans/web-auth 0.1.18-rc.60 → 0.1.18-rc.61
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 +1 -1
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/web-auth/SKILL.md +1 -1
- package/build/append.d.ts +2 -20
- package/build/append.d.ts.map +1 -1
- package/build/append.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js.map +1 -1
- package/build/types.d.ts +10 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +2 -0
- package/build/types.js.map +1 -0
- package/build/types.local.d.ts +11 -0
- package/build/types.local.d.ts.map +1 -0
- package/build/types.local.js +2 -0
- package/build/types.local.js.map +1 -0
- package/package.json +13 -13
- package/src/append.ts +2 -17
- package/src/index.ts +1 -0
- package/src/types.local.ts +8 -0
- package/src/types.ts +9 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
6
6
|
your project's skill store (`.agents/skills/`):
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
9
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.48
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/web-auth",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
4
|
+
"version": "0.1.18-rc.61",
|
|
5
|
+
"generatedAt": "2026-10-05T08:32:19.108Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/web-auth
|
|
9
9
|
|
|
10
10
|
**Layer:** Web
|
|
11
|
-
**Install:** `"@owlmeans/web-auth": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/web-auth": "^0.1.18-rc.61"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
Web-side auth UI plugins registering into the shared `@owlmeans/client-auth/manager` plugin registry
|
|
14
14
|
(mirroring `@owlmeans/web-oidc-rp`). It ships the **PK supervisor** login form.
|
package/build/append.d.ts
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
/** Force enable/disable. Default: `cfg.debug.supervisor === true`. */
|
|
4
|
-
enabled?: boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Also offer it on the sign-in screen. Defaults to true — an operator login that is registered
|
|
7
|
-
* but reachable only by typing its URL is a login nobody finds and an exposure nobody sees.
|
|
8
|
-
*/
|
|
9
|
-
offer?: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface DebugCarrier {
|
|
12
|
-
cfg: {
|
|
13
|
-
debug?: {
|
|
14
|
-
all?: boolean;
|
|
15
|
-
supervisor?: boolean;
|
|
16
|
-
};
|
|
17
|
-
security?: CommonConfig['security'];
|
|
18
|
-
};
|
|
19
|
-
}
|
|
1
|
+
import type { DebugCarrier } from './types.local.js';
|
|
2
|
+
import type { WebSupervisorAuthOptions } from './types.js';
|
|
20
3
|
/**
|
|
21
4
|
* Unified, explicit append for the PK-based supervisor login UI. Call it once on the web client
|
|
22
5
|
* context. It registers the supervisor client plugin so the form is rendered by the standard typed
|
|
@@ -24,5 +7,4 @@ interface DebugCarrier {
|
|
|
24
7
|
* configuration — which is what turns a `restricted` method from registered into offerable.
|
|
25
8
|
*/
|
|
26
9
|
export declare const appendSupervisorAuth: <T extends DebugCarrier>(context: T, opts?: WebSupervisorAuthOptions) => T;
|
|
27
|
-
export {};
|
|
28
10
|
//# sourceMappingURL=append.d.ts.map
|
package/build/append.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../src/append.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../src/append.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAc1D;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,YAAY,WAChD,CAAC,SAAS,wBAAwB,KAC1C,CAoBF,CAAA"}
|
package/build/append.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append.js","sourceRoot":"","sources":["../src/append.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"append.js","sourceRoot":"","sources":["../src/append.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAIrE;;;;;;;;GAQG;AACH,MAAM,YAAY,GAAG,CAAC,OAAqB,EAAW,EAAE,CACtD,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;AAExC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAU,EAAE,IAA+B,EACxC,EAAE;IACL,MAAM,OAAO,GAAG,IAAI,EAAE,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAA;IACtD,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,WAAW,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,sBAAsB,CAAA;IAEnE,IAAI,IAAI,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC;QACxB,MAAM,GAAG,GAAG,OAAO,CAAC,GAAmB,CAAA;QACvC,GAAG,CAAC,QAAQ,KAAK,EAAE,CAAA;QACnB,GAAG,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAA;QACxB,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAA;QAC9B,MAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAA;QACrC,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;QACxB,KAAK,CAAC,SAAS,KAAK,EAAE,CAAA;QACtB,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IACtE,CAAC;IAED,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
package/build/index.d.ts
CHANGED
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,mBAAmB,YAAY,CAAA;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
|
package/build/types.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface WebSupervisorAuthOptions {
|
|
2
|
+
/** Force enable/disable. Default: `cfg.debug.supervisor === true`. */
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Also offer it on the sign-in screen. Defaults to true — an operator login that is registered
|
|
6
|
+
* but reachable only by typing its URL is a login nobody finds and an exposure nobody sees.
|
|
7
|
+
*/
|
|
8
|
+
offer?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB"}
|
package/build/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.local.d.ts","sourceRoot":"","sources":["../src/types.local.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE;QACH,KAAK,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,OAAO,CAAC;YAAC,UAAU,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;QAC/C,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAA;KACpC,CAAA;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.local.js","sourceRoot":"","sources":["../src/types.local.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/web-auth",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.61",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@owlmeans/auth": "^0.1.18-rc.
|
|
33
|
-
"@owlmeans/auth-common": "^0.1.18-rc.
|
|
34
|
-
"@owlmeans/basic-ids": "^0.1.18-rc.
|
|
35
|
-
"@owlmeans/basic-keys": "^0.1.18-rc.
|
|
36
|
-
"@owlmeans/client": "^0.1.18-rc.
|
|
37
|
-
"@owlmeans/client-auth": "^0.1.18-rc.
|
|
38
|
-
"@owlmeans/client-flow": "^0.1.18-rc.
|
|
39
|
-
"@owlmeans/config": "^0.1.18-rc.
|
|
40
|
-
"@owlmeans/context": "^0.1.18-rc.
|
|
41
|
-
"@owlmeans/web-client": "^0.1.18-rc.
|
|
32
|
+
"@owlmeans/auth": "^0.1.18-rc.39",
|
|
33
|
+
"@owlmeans/auth-common": "^0.1.18-rc.46",
|
|
34
|
+
"@owlmeans/basic-ids": "^0.1.18-rc.36",
|
|
35
|
+
"@owlmeans/basic-keys": "^0.1.18-rc.47",
|
|
36
|
+
"@owlmeans/client": "^0.1.18-rc.50",
|
|
37
|
+
"@owlmeans/client-auth": "^0.1.18-rc.57",
|
|
38
|
+
"@owlmeans/client-flow": "^0.1.18-rc.53",
|
|
39
|
+
"@owlmeans/config": "^0.1.18-rc.43",
|
|
40
|
+
"@owlmeans/context": "^0.1.18-rc.33",
|
|
41
|
+
"@owlmeans/web-client": "^0.1.18-rc.60"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "*"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@owlmeans/dep-config": "workspace:*",
|
|
48
|
-
"@types/bun": "^1.4.
|
|
49
|
-
"@types/react": "^19.
|
|
48
|
+
"@types/bun": "^1.4.2",
|
|
49
|
+
"@types/react": "^19.3.0",
|
|
50
50
|
"nodemon": "^3.1.14",
|
|
51
51
|
"typescript": "^7.0.2"
|
|
52
52
|
},
|
package/src/append.ts
CHANGED
|
@@ -2,23 +2,8 @@ import { AuthenticationType } from '@owlmeans/auth'
|
|
|
2
2
|
import { plugins as authPlugins } from '@owlmeans/client-auth/manager'
|
|
3
3
|
import type { CommonConfig } from '@owlmeans/config'
|
|
4
4
|
import { supervisorClientPlugin } from './auth/plugins/supervisor.js'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/** Force enable/disable. Default: `cfg.debug.supervisor === true`. */
|
|
8
|
-
enabled?: boolean
|
|
9
|
-
/**
|
|
10
|
-
* Also offer it on the sign-in screen. Defaults to true — an operator login that is registered
|
|
11
|
-
* but reachable only by typing its URL is a login nobody finds and an exposure nobody sees.
|
|
12
|
-
*/
|
|
13
|
-
offer?: boolean
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface DebugCarrier {
|
|
17
|
-
cfg: {
|
|
18
|
-
debug?: { all?: boolean, supervisor?: boolean }
|
|
19
|
-
security?: CommonConfig['security']
|
|
20
|
-
}
|
|
21
|
-
}
|
|
5
|
+
import type { DebugCarrier } from './types.local.js'
|
|
6
|
+
import type { WebSupervisorAuthOptions } from './types.js'
|
|
22
7
|
|
|
23
8
|
/**
|
|
24
9
|
* Whether this deployment wants the PK supervisor login.
|
package/src/index.ts
CHANGED
package/src/types.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface WebSupervisorAuthOptions {
|
|
2
|
+
/** Force enable/disable. Default: `cfg.debug.supervisor === true`. */
|
|
3
|
+
enabled?: boolean
|
|
4
|
+
/**
|
|
5
|
+
* Also offer it on the sign-in screen. Defaults to true — an operator login that is registered
|
|
6
|
+
* but reachable only by typing its URL is a login nobody finds and an exposure nobody sees.
|
|
7
|
+
*/
|
|
8
|
+
offer?: boolean
|
|
9
|
+
}
|