@kya-os/consent 0.5.2 → 0.5.3
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 +25 -8
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +4 -4
- package/dist/bundle/inline.js.map +1 -1
- package/dist/cjs/bundle/inline.js +4 -4
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/components/approver-lockup.js +365 -0
- package/dist/cjs/components/approver-lockup.js.map +1 -0
- package/dist/cjs/components/consent-capabilities-screen.js +357 -97
- package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
- package/dist/cjs/components/consent-headline.js +35 -7
- package/dist/cjs/components/consent-headline.js.map +1 -1
- package/dist/cjs/components/decision-icons.js +2 -0
- package/dist/cjs/components/decision-icons.js.map +1 -1
- package/dist/cjs/components/flow-blocks.js +26 -312
- package/dist/cjs/components/flow-blocks.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/copy/tokens.js +14 -1
- package/dist/cjs/copy/tokens.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/cjs/react/index.js +1 -0
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/cjs/schemas/capabilities.schemas.js +1 -0
- package/dist/cjs/schemas/capabilities.schemas.js.map +1 -1
- package/dist/cjs/styles/theme.js +3 -0
- package/dist/cjs/styles/theme.js.map +1 -1
- package/dist/components/approver-lockup.d.ts +73 -0
- package/dist/components/approver-lockup.d.ts.map +1 -0
- package/dist/components/approver-lockup.js +358 -0
- package/dist/components/approver-lockup.js.map +1 -0
- package/dist/components/consent-capabilities-screen.d.ts +88 -8
- package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
- package/dist/components/consent-capabilities-screen.js +357 -97
- package/dist/components/consent-capabilities-screen.js.map +1 -1
- package/dist/components/consent-headline.d.ts +15 -3
- package/dist/components/consent-headline.d.ts.map +1 -1
- package/dist/components/consent-headline.js +35 -7
- package/dist/components/consent-headline.js.map +1 -1
- package/dist/components/decision-icons.d.ts +2 -0
- package/dist/components/decision-icons.d.ts.map +1 -1
- package/dist/components/decision-icons.js +2 -0
- package/dist/components/decision-icons.js.map +1 -1
- package/dist/components/flow-blocks.d.ts +0 -9
- package/dist/components/flow-blocks.d.ts.map +1 -1
- package/dist/components/flow-blocks.js +26 -309
- package/dist/components/flow-blocks.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/consent.js +899 -605
- package/dist/consent.min.js +620 -507
- package/dist/copy/tokens.d.ts +14 -1
- package/dist/copy/tokens.d.ts.map +1 -1
- package/dist/copy/tokens.js +14 -1
- package/dist/copy/tokens.js.map +1 -1
- package/dist/flow/model.d.ts +1 -1
- package/dist/flow/schema.d.ts +12 -12
- 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/dist/react/index.d.ts +3 -2
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +1 -0
- package/dist/react/index.js.map +1 -1
- package/dist/schemas/api.schemas.d.ts +9 -0
- package/dist/schemas/api.schemas.d.ts.map +1 -1
- package/dist/schemas/capabilities.schemas.d.ts +5 -0
- package/dist/schemas/capabilities.schemas.d.ts.map +1 -1
- package/dist/schemas/capabilities.schemas.js +1 -0
- package/dist/schemas/capabilities.schemas.js.map +1 -1
- package/dist/schemas/config.schemas.d.ts +14 -0
- package/dist/schemas/config.schemas.d.ts.map +1 -1
- package/dist/styles/theme.d.ts +5 -0
- package/dist/styles/theme.d.ts.map +1 -1
- package/dist/styles/theme.js +3 -0
- package/dist/styles/theme.js.map +1 -1
- package/dist/types/capabilities.types.d.ts +20 -0
- package/dist/types/capabilities.types.d.ts.map +1 -1
- package/dist/types/decision.types.d.ts +10 -2
- package/dist/types/decision.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/copy/tokens.d.ts
CHANGED
|
@@ -51,8 +51,17 @@ export declare const CONSENT_COPY_TOKENS: {
|
|
|
51
51
|
readonly heading: "Unverified agent";
|
|
52
52
|
readonly advice: "Allow only if you asked it to.";
|
|
53
53
|
};
|
|
54
|
-
/** The box naming who is signing in. */
|
|
54
|
+
/** The box naming who is signing in, over the agent they authorize. */
|
|
55
55
|
readonly approver: {
|
|
56
|
+
/** Over the person's name. */
|
|
57
|
+
readonly label: "You are authorizing";
|
|
58
|
+
/** Over the agent's name. */
|
|
59
|
+
readonly party: "To act for you";
|
|
60
|
+
/** The sign-in mark's accessible name, with the host's `method`. */
|
|
61
|
+
readonly signedInWith: "Signed in with {Method}";
|
|
62
|
+
/** The sign-in mark's accessible name, with no `method`. */
|
|
63
|
+
readonly signedInMark: "Signed in";
|
|
64
|
+
/** @deprecated The box no longer draws it; kept for hosts that read it. */
|
|
56
65
|
readonly signedIn: "Signed in as";
|
|
57
66
|
};
|
|
58
67
|
/** The box that says what the grant connects to and how it is bounded. */
|
|
@@ -103,6 +112,10 @@ export declare const CONSENT_COPY_TOKENS: {
|
|
|
103
112
|
readonly glossTitle: "What this allows";
|
|
104
113
|
/** Used in the gloss when no resource is extractable. */
|
|
105
114
|
readonly glossUnknownResource: "this deployment";
|
|
115
|
+
/** In a row that needs a check before it can be granted, beside the button that starts it. */
|
|
116
|
+
readonly checkRequired: "Requires verification";
|
|
117
|
+
/** Under an unticked row, for a scope an earlier approval holds. `{Scope}` is drawn in code. */
|
|
118
|
+
readonly heldNotice: "{Scope} stays granted because of your earlier approval.";
|
|
106
119
|
};
|
|
107
120
|
readonly footer: {
|
|
108
121
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/copy/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,mBAAmB;;QAE5B,oCAAoC;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EAA4E;;;;;;;;;;;;;;;;IAgBhF,uEAAuE;;;;;IAMvE;;;OAGG;;;;;;;;;;QAUD,6CAA6C;;;QAG7C,sEAAsE;;QAEtE,oCAAoC;;QAEpC,kCAAkC;;;IAGpC;;;OAGG;;;;;;;;;;;;;;;;;;;QAuBD,6EAA6E;;;;;;;;;;CAavE,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,mBAAmB,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,GAClD,MAAM,CAKR"}
|
package/dist/copy/tokens.js
CHANGED
|
@@ -51,8 +51,17 @@ export const CONSENT_COPY_TOKENS = {
|
|
|
51
51
|
heading: "Unverified agent",
|
|
52
52
|
advice: "Allow only if you asked it to.",
|
|
53
53
|
},
|
|
54
|
-
/** The box naming who is signing in. */
|
|
54
|
+
/** The box naming who is signing in, over the agent they authorize. */
|
|
55
55
|
approver: {
|
|
56
|
+
/** Over the person's name. */
|
|
57
|
+
label: "You are authorizing",
|
|
58
|
+
/** Over the agent's name. */
|
|
59
|
+
party: "To act for you",
|
|
60
|
+
/** The sign-in mark's accessible name, with the host's `method`. */
|
|
61
|
+
signedInWith: "Signed in with {Method}",
|
|
62
|
+
/** The sign-in mark's accessible name, with no `method`. */
|
|
63
|
+
signedInMark: "Signed in",
|
|
64
|
+
/** @deprecated The box no longer draws it; kept for hosts that read it. */
|
|
56
65
|
signedIn: "Signed in as",
|
|
57
66
|
},
|
|
58
67
|
/** The box that says what the grant connects to and how it is bounded. */
|
|
@@ -103,6 +112,10 @@ export const CONSENT_COPY_TOKENS = {
|
|
|
103
112
|
glossTitle: "What this allows",
|
|
104
113
|
/** Used in the gloss when no resource is extractable. */
|
|
105
114
|
glossUnknownResource: "this deployment",
|
|
115
|
+
/** In a row that needs a check before it can be granted, beside the button that starts it. */
|
|
116
|
+
checkRequired: "Requires verification",
|
|
117
|
+
/** Under an unticked row, for a scope an earlier approval holds. `{Scope}` is drawn in code. */
|
|
118
|
+
heldNotice: "{Scope} stays granted because of your earlier approval.",
|
|
106
119
|
},
|
|
107
120
|
footer: {
|
|
108
121
|
/**
|
package/dist/copy/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/copy/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,oCAAoC;QACpC,iBAAiB,EAAE,oBAAoB;QACvC,iEAAiE;QACjE,YAAY,EAAE,iBAAiB;KAChC;IACD,QAAQ,EAAE;QACR;;;;WAIG;QACH,QAAQ,EAAE,6CAA6C;QACvD,gBAAgB,EAAE,iDAAiD;KACpE;IACD,OAAO,EAAE;QACP,sCAAsC;QACtC,QAAQ,EAAE,oDAAoD;KAC/D;IACD,mDAAmD;IACnD,YAAY,EAAE;QACZ,qCAAqC;QACrC,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,YAAY,EAAE,sBAAsB;QACpC,mDAAmD;QACnD,qBAAqB,EACnB,gGAAgG;QAClG,QAAQ,EAAE,UAAU;QACpB,mBAAmB,EAAE,2CAA2C;QAChE,UAAU,EAAE,YAAY;QACxB,qBAAqB,EACnB,4DAA4D;QAC9D,OAAO,EAAE,UAAU;KACpB;IACD,0EAA0E;IAC1E,eAAe,EAAE;QACf,OAAO,EAAE,kBAAkB;QAC3B,MAAM,EAAE,gCAAgC;KACzC;IACD,
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/copy/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,oCAAoC;QAC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,OAAO,EAAE,sCAAsC;SAChD;KACF;CACO,CAAC;AAIX;;;;GAIG;AACH,MAAM,UAAU,WAAW,CACzB,QAAgB,EAChB,MAAmD;IAEnD,OAAO,QAAQ,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,KAAK,EAAE,GAAW,EAAE,EAAE;QAC3D,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAC1B,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/dist/flow/model.d.ts
CHANGED
|
@@ -224,7 +224,7 @@ export interface FlowTerms {
|
|
|
224
224
|
* them a config field drives. `highlight` outlines one in a preview, and a
|
|
225
225
|
* click in a preview names one (`consent-flow-field`).
|
|
226
226
|
*/
|
|
227
|
-
export declare const FLOW_FIELDS: readonly [...("headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
227
|
+
export declare const FLOW_FIELDS: readonly [...("headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "expiredNote" | "receipt" | "goBack" | "retry")[], "capabilitiesHeader", "approve", "deny", "terms", "legal", "merchant", "connector"];
|
|
228
228
|
export type FlowField = (typeof FLOW_FIELDS)[number];
|
|
229
229
|
/** Where a config field shows: its region, and the step that draws it. */
|
|
230
230
|
export interface FlowFieldRegion {
|
package/dist/flow/schema.d.ts
CHANGED
|
@@ -21,19 +21,19 @@ export declare const flowStepSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
22
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
23
23
|
blocks: string[];
|
|
24
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
24
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
27
27
|
blocks: string[];
|
|
28
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
28
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
31
31
|
blocks: string[];
|
|
32
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
32
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
35
35
|
blocks: string[];
|
|
36
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
36
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
39
39
|
version: z.ZodLiteral<1>;
|
|
@@ -49,19 +49,19 @@ export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
|
49
49
|
}, "strict", z.ZodTypeAny, {
|
|
50
50
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
51
51
|
blocks: string[];
|
|
52
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
52
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
55
55
|
blocks: string[];
|
|
56
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
56
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
57
57
|
}>, {
|
|
58
58
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
59
59
|
blocks: string[];
|
|
60
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
60
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
63
63
|
blocks: string[];
|
|
64
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
64
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
65
65
|
}>>;
|
|
66
66
|
copy: z.ZodDefault<z.ZodType<FlowCopy, z.ZodTypeDef, FlowCopy>>;
|
|
67
67
|
copyWhenCreatingPasskey: z.ZodDefault<z.ZodType<FlowCopy, z.ZodTypeDef, FlowCopy>>;
|
|
@@ -74,7 +74,7 @@ export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
|
74
74
|
steps: Partial<Record<"passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired", {
|
|
75
75
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
76
76
|
blocks: string[];
|
|
77
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
77
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
78
78
|
}>>;
|
|
79
79
|
approvalMethod: "passkey" | "consent";
|
|
80
80
|
initial: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
@@ -87,7 +87,7 @@ export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
|
87
87
|
steps: Partial<Record<"passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired", {
|
|
88
88
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
89
89
|
blocks: string[];
|
|
90
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
90
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
91
91
|
}>>;
|
|
92
92
|
approvalMethod: "passkey" | "consent";
|
|
93
93
|
initial: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
@@ -104,7 +104,7 @@ export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
|
104
104
|
steps: Partial<Record<"passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired", {
|
|
105
105
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
106
106
|
blocks: string[];
|
|
107
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
107
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
108
108
|
}>>;
|
|
109
109
|
approvalMethod: "passkey" | "consent";
|
|
110
110
|
initial: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
@@ -117,7 +117,7 @@ export declare const flowSchema: z.ZodEffects<z.ZodObject<{
|
|
|
117
117
|
steps: Partial<Record<"passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired", {
|
|
118
118
|
connector: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
119
119
|
blocks: string[];
|
|
120
|
-
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "
|
|
120
|
+
focus?: "headline" | "status" | "details" | "notice" | "sub" | "eyebrow" | "signIn" | "finePrint" | "approver" | "capability" | "infoNote" | "countdown" | "actions" | "expiredNote" | "receipt" | "goBack" | "retry" | undefined;
|
|
121
121
|
}>>;
|
|
122
122
|
approvalMethod: "passkey" | "consent";
|
|
123
123
|
initial: "passkey" | "error" | "sign-in" | "consent" | "granted" | "denied" | "cancelled" | "expired";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"inline.d.ts","sourceRoot":"","sources":["../../src/mcp-app/inline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,MAAyir7B,CAAC;AAE7kr7B,4CAA4C;AAC5C,eAAO,MAAM,yBAAyB,EAAE,MAAe,CAAC"}
|