@kya-os/consent 0.1.42 → 0.1.44
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/dist/bundle/inline.d.ts +17 -0
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +19 -2
- package/dist/bundle/inline.js.map +1 -1
- package/dist/bundle/shell.d.ts +13 -8
- package/dist/bundle/shell.d.ts.map +1 -1
- package/dist/bundle/shell.js +33 -30
- package/dist/bundle/shell.js.map +1 -1
- package/dist/cjs/bundle/inline.js +20 -3
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/bundle/shell.js +32 -29
- package/dist/cjs/bundle/shell.js.map +1 -1
- package/dist/cjs/components/mcp-consent.js +7 -0
- package/dist/cjs/components/mcp-consent.js.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mcp-app/inline.js +2 -2
- package/dist/cjs/mcp-app/inline.js.map +1 -1
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +7 -0
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/consent.js +3 -0
- package/dist/consent.min.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp-app/inline.d.ts.map +1 -1
- package/dist/mcp-app/inline.js +2 -2
- package/dist/mcp-app/inline.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline.js","sourceRoot":"","sources":["../../src/bundle/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAW,
|
|
1
|
+
{"version":3,"file":"inline.js","sourceRoot":"","sources":["../../src/bundle/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAW,4kpQAA4kpQ,CAAC;AAEnnpQ;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAW,MAAM,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAW,kBAAkB,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAW,8BAA8B,CAAC"}
|
package/dist/bundle/shell.d.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @module @kya-os/consent/bundle/shell
|
|
15
15
|
*/
|
|
16
|
-
import type { ConsentConfig } from
|
|
17
|
-
import type { OAuthIdentity } from
|
|
16
|
+
import type { ConsentConfig } from "../types/config.types.js";
|
|
17
|
+
import type { OAuthIdentity } from "../types/api.types.js";
|
|
18
18
|
/**
|
|
19
19
|
* Options for generating the consent HTML shell
|
|
20
20
|
*/
|
|
@@ -35,7 +35,12 @@ export interface ConsentShellOptions {
|
|
|
35
35
|
serverUrl: string;
|
|
36
36
|
/** OAuth identity if already authenticated */
|
|
37
37
|
oauthIdentity?: OAuthIdentity;
|
|
38
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Path to the consent bundle. Defaults to {@link CONSENT_BUNDLE_PATH}, the
|
|
40
|
+
* content-addressed path the worker serves. Override only when hosting the
|
|
41
|
+
* bundle yourself — a path that does not match what the server routes will
|
|
42
|
+
* leave the page unable to load its own component.
|
|
43
|
+
*/
|
|
39
44
|
bundlePath?: string;
|
|
40
45
|
/** Custom page title */
|
|
41
46
|
pageTitle?: string;
|
|
@@ -97,11 +102,11 @@ export interface ConsentShellOptions {
|
|
|
97
102
|
* Operator-authored capability groups. When present, the new humanized
|
|
98
103
|
* consent layout renders instead of the legacy raw scope list.
|
|
99
104
|
*/
|
|
100
|
-
capabilities?: import(
|
|
105
|
+
capabilities?: import("../types/capabilities.types.js").CapabilityGroup[];
|
|
101
106
|
/** Resolved agent identity tile (logo, vendor, surface, verified). */
|
|
102
|
-
agentMetadata?: import(
|
|
107
|
+
agentMetadata?: import("../types/capabilities.types.js").AgentMetadata;
|
|
103
108
|
/** Theme override (`light` / `dark`). Defaults to `light`. */
|
|
104
|
-
consentTheme?: import(
|
|
109
|
+
consentTheme?: import("../types/capabilities.types.js").ConsentTheme;
|
|
105
110
|
/** Org name shown in the headline + revocation footer. */
|
|
106
111
|
orgName?: string;
|
|
107
112
|
/** Operator-set headline verb (e.g., 'use', 'shop'). */
|
|
@@ -113,7 +118,7 @@ export interface ConsentShellOptions {
|
|
|
113
118
|
/** Optional URL backing the "How does this work?" link. */
|
|
114
119
|
howItWorksUrl?: string;
|
|
115
120
|
/** Cedar template context bound at render time for "View policy" disclosures. */
|
|
116
|
-
cedarContext?: import(
|
|
121
|
+
cedarContext?: import("../types/capabilities.types.js").CedarTemplateContext;
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
124
|
* Generate the consent page HTML shell
|
|
@@ -156,5 +161,5 @@ export declare function generateConsentShell(options: ConsentShellOptions): stri
|
|
|
156
161
|
* @param options - Shell options
|
|
157
162
|
* @param bundleSource - The bundled consent.js source code
|
|
158
163
|
*/
|
|
159
|
-
export declare function generateInlineConsentShell(options: Omit<ConsentShellOptions,
|
|
164
|
+
export declare function generateInlineConsentShell(options: Omit<ConsentShellOptions, "bundlePath">, bundleSource: string): string;
|
|
160
165
|
//# sourceMappingURL=shell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/bundle/shell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/bundle/shell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAA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AAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,gCAAgC,EAAE,eAAe,EAAE,CAAC;IAE1E,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,gCAAgC,EAAE,aAAa,CAAC;IAEvE,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,gCAAgC,EAAE,YAAY,CAAC;IAErE,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,iFAAiF;IACjF,YAAY,CAAC,EAAE,OAAO,gCAAgC,EAAE,oBAAoB,CAAC;CAC9E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAuPzE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,EAChD,YAAY,EAAE,MAAM,GACnB,MAAM,CAsDR"}
|
package/dist/bundle/shell.js
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @module @kya-os/consent/bundle/shell
|
|
15
15
|
*/
|
|
16
|
-
import { escapeHtml, escapeAttr } from
|
|
16
|
+
import { escapeHtml, escapeAttr } from "../security/escape.js";
|
|
17
|
+
import { CONSENT_BUNDLE_PATH } from "./inline.js";
|
|
17
18
|
/**
|
|
18
19
|
* Generate the consent page HTML shell
|
|
19
20
|
*
|
|
@@ -41,7 +42,7 @@ import { escapeHtml, escapeAttr } from '../security/escape.js';
|
|
|
41
42
|
* ```
|
|
42
43
|
*/
|
|
43
44
|
export function generateConsentShell(options) {
|
|
44
|
-
const { config, tool, scopes, agentDid, sessionId, projectId, serverUrl, oauthIdentity, bundlePath =
|
|
45
|
+
const { config, tool, scopes, agentDid, sessionId, projectId, serverUrl, oauthIdentity, bundlePath = CONSENT_BUNDLE_PATH, pageTitle = "Permission Request", nonce, authMode, agentName, provider, csrfToken, credentialProviderType, credentialProvider, userDid, // CRITICAL: Bypasses KV consistency issues
|
|
45
46
|
credentialUserEmail, // User email from credential provider
|
|
46
47
|
credentialProviderUserId, // Provider's user ID (e.g., customer ID)
|
|
47
48
|
oauthUrl, // Pre-built OAuth authorization URL
|
|
@@ -62,13 +63,15 @@ export function generateConsentShell(options) {
|
|
|
62
63
|
const configJson = JSON.stringify(config);
|
|
63
64
|
const scopesJson = JSON.stringify(scopes);
|
|
64
65
|
const oauthJson = oauthIdentity ? JSON.stringify(oauthIdentity) : null;
|
|
65
|
-
const capabilitiesJson = capabilities && capabilities.length > 0
|
|
66
|
+
const capabilitiesJson = capabilities && capabilities.length > 0
|
|
67
|
+
? JSON.stringify(capabilities)
|
|
68
|
+
: null;
|
|
66
69
|
const agentMetadataJson = agentMetadata
|
|
67
70
|
? JSON.stringify(agentMetadata)
|
|
68
71
|
: null;
|
|
69
72
|
const cedarContextJson = cedarContext ? JSON.stringify(cedarContext) : null;
|
|
70
73
|
// Build nonce attribute if provided
|
|
71
|
-
const nonceAttr = nonce ? ` nonce="${escapeAttr(nonce)}"` :
|
|
74
|
+
const nonceAttr = nonce ? ` nonce="${escapeAttr(nonce)}"` : "";
|
|
72
75
|
return `<!DOCTYPE html>
|
|
73
76
|
<html lang="en">
|
|
74
77
|
<head>
|
|
@@ -204,29 +207,29 @@ export function generateConsentShell(options) {
|
|
|
204
207
|
session-id="${escapeAttr(sessionId)}"
|
|
205
208
|
project-id="${escapeAttr(projectId)}"
|
|
206
209
|
server-url="${escapeAttr(serverUrl)}"
|
|
207
|
-
${oauthJson ? `oauth-identity='${escapeAttr(oauthJson)}'` :
|
|
208
|
-
${authMode ? `auth-mode="${escapeAttr(authMode)}"` :
|
|
209
|
-
${agentName ? `agent-name="${escapeAttr(agentName)}"` :
|
|
210
|
-
${provider ? `provider="${escapeAttr(provider)}"` :
|
|
211
|
-
${csrfToken ? `csrf-token="${escapeAttr(csrfToken)}"` :
|
|
212
|
-
${credentialProviderType ? `credential-provider-type="${escapeAttr(credentialProviderType)}"` :
|
|
213
|
-
${credentialProvider ? `credential-provider="${escapeAttr(credentialProvider)}"` :
|
|
214
|
-
${userDid ? `user-did="${escapeAttr(userDid)}"` :
|
|
215
|
-
${credentialUserEmail ? `credential-user-email="${escapeAttr(credentialUserEmail)}"` :
|
|
216
|
-
${credentialProviderUserId ? `credential-provider-user-id="${escapeAttr(credentialProviderUserId)}"` :
|
|
217
|
-
${oauthUrl ? `oauth-url="${escapeAttr(oauthUrl)}"` :
|
|
218
|
-
${authorizationType ? `authorization-type="${escapeAttr(authorizationType)}"` :
|
|
219
|
-
${oauthProviderType ? `oauth-provider-type="${escapeAttr(oauthProviderType)}"` :
|
|
220
|
-
${oauthProviderName ? `oauth-provider="${escapeAttr(oauthProviderName)}"` :
|
|
221
|
-
${capabilitiesJson ? `capabilities='${escapeAttr(capabilitiesJson)}'` :
|
|
222
|
-
${agentMetadataJson ? `agent-metadata='${escapeAttr(agentMetadataJson)}'` :
|
|
223
|
-
${cedarContextJson ? `cedar-context='${escapeAttr(cedarContextJson)}'` :
|
|
224
|
-
${consentTheme ? `consent-theme="${escapeAttr(consentTheme)}"` :
|
|
225
|
-
${orgName ? `org-name="${escapeAttr(orgName)}"` :
|
|
226
|
-
${headlineVerb ? `headline-verb="${escapeAttr(headlineVerb)}"` :
|
|
227
|
-
${revocationPath ? `revocation-path="${escapeAttr(revocationPath)}"` :
|
|
228
|
-
${typeof inactivityDays ===
|
|
229
|
-
${howItWorksUrl ? `how-it-works-url="${escapeAttr(howItWorksUrl)}"` :
|
|
210
|
+
${oauthJson ? `oauth-identity='${escapeAttr(oauthJson)}'` : ""}
|
|
211
|
+
${authMode ? `auth-mode="${escapeAttr(authMode)}"` : ""}
|
|
212
|
+
${agentName ? `agent-name="${escapeAttr(agentName)}"` : ""}
|
|
213
|
+
${provider ? `provider="${escapeAttr(provider)}"` : ""}
|
|
214
|
+
${csrfToken ? `csrf-token="${escapeAttr(csrfToken)}"` : ""}
|
|
215
|
+
${credentialProviderType ? `credential-provider-type="${escapeAttr(credentialProviderType)}"` : ""}
|
|
216
|
+
${credentialProvider ? `credential-provider="${escapeAttr(credentialProvider)}"` : ""}
|
|
217
|
+
${userDid ? `user-did="${escapeAttr(userDid)}"` : ""}
|
|
218
|
+
${credentialUserEmail ? `credential-user-email="${escapeAttr(credentialUserEmail)}"` : ""}
|
|
219
|
+
${credentialProviderUserId ? `credential-provider-user-id="${escapeAttr(credentialProviderUserId)}"` : ""}
|
|
220
|
+
${oauthUrl ? `oauth-url="${escapeAttr(oauthUrl)}"` : ""}
|
|
221
|
+
${authorizationType ? `authorization-type="${escapeAttr(authorizationType)}"` : ""}
|
|
222
|
+
${oauthProviderType ? `oauth-provider-type="${escapeAttr(oauthProviderType)}"` : ""}
|
|
223
|
+
${oauthProviderName ? `oauth-provider="${escapeAttr(oauthProviderName)}"` : ""}
|
|
224
|
+
${capabilitiesJson ? `capabilities='${escapeAttr(capabilitiesJson)}'` : ""}
|
|
225
|
+
${agentMetadataJson ? `agent-metadata='${escapeAttr(agentMetadataJson)}'` : ""}
|
|
226
|
+
${cedarContextJson ? `cedar-context='${escapeAttr(cedarContextJson)}'` : ""}
|
|
227
|
+
${consentTheme ? `consent-theme="${escapeAttr(consentTheme)}"` : ""}
|
|
228
|
+
${orgName ? `org-name="${escapeAttr(orgName)}"` : ""}
|
|
229
|
+
${headlineVerb ? `headline-verb="${escapeAttr(headlineVerb)}"` : ""}
|
|
230
|
+
${revocationPath ? `revocation-path="${escapeAttr(revocationPath)}"` : ""}
|
|
231
|
+
${typeof inactivityDays === "number" ? `inactivity-days="${escapeAttr(String(inactivityDays))}"` : ""}
|
|
232
|
+
${howItWorksUrl ? `how-it-works-url="${escapeAttr(howItWorksUrl)}"` : ""}
|
|
230
233
|
></mcp-consent>
|
|
231
234
|
|
|
232
235
|
<!-- Loading skeleton (hidden once component is defined) -->
|
|
@@ -279,11 +282,11 @@ export function generateConsentShell(options) {
|
|
|
279
282
|
* @param bundleSource - The bundled consent.js source code
|
|
280
283
|
*/
|
|
281
284
|
export function generateInlineConsentShell(options, bundleSource) {
|
|
282
|
-
const { config, tool, scopes, agentDid, sessionId, projectId, serverUrl, oauthIdentity, pageTitle =
|
|
285
|
+
const { config, tool, scopes, agentDid, sessionId, projectId, serverUrl, oauthIdentity, pageTitle = "Permission Request", nonce, } = options;
|
|
283
286
|
const configJson = JSON.stringify(config);
|
|
284
287
|
const scopesJson = JSON.stringify(scopes);
|
|
285
288
|
const oauthJson = oauthIdentity ? JSON.stringify(oauthIdentity) : null;
|
|
286
|
-
const nonceAttr = nonce ? ` nonce="${escapeAttr(nonce)}"` :
|
|
289
|
+
const nonceAttr = nonce ? ` nonce="${escapeAttr(nonce)}"` : "";
|
|
287
290
|
return `<!DOCTYPE html>
|
|
288
291
|
<html lang="en">
|
|
289
292
|
<head>
|
|
@@ -315,7 +318,7 @@ ${bundleSource}
|
|
|
315
318
|
session-id="${escapeAttr(sessionId)}"
|
|
316
319
|
project-id="${escapeAttr(projectId)}"
|
|
317
320
|
server-url="${escapeAttr(serverUrl)}"
|
|
318
|
-
${oauthJson ? `oauth-identity='${escapeAttr(oauthJson)}'` :
|
|
321
|
+
${oauthJson ? `oauth-identity='${escapeAttr(oauthJson)}'` : ""}
|
|
319
322
|
></mcp-consent>
|
|
320
323
|
</body>
|
|
321
324
|
</html>`;
|
package/dist/bundle/shell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../../src/bundle/shell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EA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