@kya-os/consent 0.3.0 → 0.4.1

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.
Files changed (226) hide show
  1. package/README.md +185 -20
  2. package/dist/bundle/index.d.ts +4 -0
  3. package/dist/bundle/index.d.ts.map +1 -1
  4. package/dist/bundle/index.js +6 -0
  5. package/dist/bundle/index.js.map +1 -1
  6. package/dist/bundle/inline.d.ts.map +1 -1
  7. package/dist/bundle/inline.js +4 -4
  8. package/dist/bundle/inline.js.map +1 -1
  9. package/dist/cjs/bundle/index.js +15 -1
  10. package/dist/cjs/bundle/index.js.map +1 -1
  11. package/dist/cjs/bundle/inline.js +4 -4
  12. package/dist/cjs/bundle/inline.js.map +1 -1
  13. package/dist/cjs/components/consent-action-bar.js +97 -25
  14. package/dist/cjs/components/consent-action-bar.js.map +1 -1
  15. package/dist/cjs/components/consent-agent-header.js +7 -105
  16. package/dist/cjs/components/consent-agent-header.js.map +1 -1
  17. package/dist/cjs/components/consent-button.js +6 -1
  18. package/dist/cjs/components/consent-button.js.map +1 -1
  19. package/dist/cjs/components/consent-capabilities-screen.js +488 -66
  20. package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
  21. package/dist/cjs/components/consent-capability-card.js +197 -42
  22. package/dist/cjs/components/consent-capability-card.js.map +1 -1
  23. package/dist/cjs/components/consent-checkbox.js +7 -0
  24. package/dist/cjs/components/consent-checkbox.js.map +1 -1
  25. package/dist/cjs/components/consent-connector-header.js +206 -43
  26. package/dist/cjs/components/consent-connector-header.js.map +1 -1
  27. package/dist/cjs/components/consent-duration.js +1 -1
  28. package/dist/cjs/components/consent-footer.js +13 -12
  29. package/dist/cjs/components/consent-footer.js.map +1 -1
  30. package/dist/cjs/components/consent-headline.js +445 -30
  31. package/dist/cjs/components/consent-headline.js.map +1 -1
  32. package/dist/cjs/components/consent-oauth-button.js +71 -62
  33. package/dist/cjs/components/consent-oauth-button.js.map +1 -1
  34. package/dist/cjs/components/consent-otp-input.js +5 -0
  35. package/dist/cjs/components/consent-otp-input.js.map +1 -1
  36. package/dist/cjs/components/consent-phone-handoff.js +3 -3
  37. package/dist/cjs/components/consent-request-expiry.js +1 -1
  38. package/dist/cjs/components/consent-revocation-notice.js +4 -2
  39. package/dist/cjs/components/consent-revocation-notice.js.map +1 -1
  40. package/dist/cjs/components/consent-revoke.js +9 -4
  41. package/dist/cjs/components/consent-revoke.js.map +1 -1
  42. package/dist/cjs/components/consent-secured-by.js +106 -0
  43. package/dist/cjs/components/consent-secured-by.js.map +1 -0
  44. package/dist/cjs/components/consent-shell.js +1 -1
  45. package/dist/cjs/components/consent-terms.js +7 -0
  46. package/dist/cjs/components/consent-terms.js.map +1 -1
  47. package/dist/cjs/components/consent-wallet-check.js +1 -1
  48. package/dist/cjs/components/consent-wallet-notice.js +1 -1
  49. package/dist/cjs/components/consent-wallet-orb.js +1 -1
  50. package/dist/cjs/components/consent-wallet-signature.js +1 -1
  51. package/dist/cjs/components/decision-icons.js +33 -0
  52. package/dist/cjs/components/decision-icons.js.map +1 -0
  53. package/dist/cjs/components/edit-region.js +309 -0
  54. package/dist/cjs/components/edit-region.js.map +1 -0
  55. package/dist/cjs/components/grant-field-styles.js +2 -2
  56. package/dist/cjs/components/index.js +5 -1
  57. package/dist/cjs/components/index.js.map +1 -1
  58. package/dist/cjs/components/mcp-consent.js +81 -36
  59. package/dist/cjs/components/mcp-consent.js.map +1 -1
  60. package/dist/cjs/components/preview.js +67 -0
  61. package/dist/cjs/components/preview.js.map +1 -0
  62. package/dist/cjs/constants/capabilities.js +21 -2
  63. package/dist/cjs/constants/capabilities.js.map +1 -1
  64. package/dist/cjs/copy/tokens.js +60 -21
  65. package/dist/cjs/copy/tokens.js.map +1 -1
  66. package/dist/cjs/identity/agent-identity.js +3 -2
  67. package/dist/cjs/identity/agent-identity.js.map +1 -1
  68. package/dist/cjs/mcp-app/inline.js +2 -2
  69. package/dist/cjs/mcp-app/inline.js.map +1 -1
  70. package/dist/cjs/react/index.js +11 -2
  71. package/dist/cjs/react/index.js.map +1 -1
  72. package/dist/cjs/styles/brand.js +385 -0
  73. package/dist/cjs/styles/brand.js.map +1 -0
  74. package/dist/cjs/styles/index.js +1 -0
  75. package/dist/cjs/styles/index.js.map +1 -1
  76. package/dist/cjs/styles/theme.js +100 -30
  77. package/dist/cjs/styles/theme.js.map +1 -1
  78. package/dist/cjs/types/capabilities.types.js +1 -2
  79. package/dist/cjs/types/capabilities.types.js.map +1 -1
  80. package/dist/cjs/types/decision.types.js +13 -0
  81. package/dist/cjs/types/decision.types.js.map +1 -0
  82. package/dist/cjs/types/edit.types.js +80 -0
  83. package/dist/cjs/types/edit.types.js.map +1 -0
  84. package/dist/cjs/types/index.js +2 -0
  85. package/dist/cjs/types/index.js.map +1 -1
  86. package/dist/components/consent-action-bar.d.ts +20 -1
  87. package/dist/components/consent-action-bar.d.ts.map +1 -1
  88. package/dist/components/consent-action-bar.js +97 -25
  89. package/dist/components/consent-action-bar.js.map +1 -1
  90. package/dist/components/consent-agent-header.d.ts +4 -17
  91. package/dist/components/consent-agent-header.d.ts.map +1 -1
  92. package/dist/components/consent-agent-header.js +7 -105
  93. package/dist/components/consent-agent-header.js.map +1 -1
  94. package/dist/components/consent-button.d.ts +2 -0
  95. package/dist/components/consent-button.d.ts.map +1 -1
  96. package/dist/components/consent-button.js +6 -1
  97. package/dist/components/consent-button.js.map +1 -1
  98. package/dist/components/consent-capabilities-screen.d.ts +93 -14
  99. package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
  100. package/dist/components/consent-capabilities-screen.js +488 -67
  101. package/dist/components/consent-capabilities-screen.js.map +1 -1
  102. package/dist/components/consent-capability-card.d.ts +42 -5
  103. package/dist/components/consent-capability-card.d.ts.map +1 -1
  104. package/dist/components/consent-capability-card.js +196 -41
  105. package/dist/components/consent-capability-card.js.map +1 -1
  106. package/dist/components/consent-checkbox.d.ts +2 -0
  107. package/dist/components/consent-checkbox.d.ts.map +1 -1
  108. package/dist/components/consent-checkbox.js +7 -0
  109. package/dist/components/consent-checkbox.js.map +1 -1
  110. package/dist/components/consent-connector-header.d.ts +39 -7
  111. package/dist/components/consent-connector-header.d.ts.map +1 -1
  112. package/dist/components/consent-connector-header.js +206 -43
  113. package/dist/components/consent-connector-header.js.map +1 -1
  114. package/dist/components/consent-duration.js +1 -1
  115. package/dist/components/consent-footer.d.ts +6 -4
  116. package/dist/components/consent-footer.d.ts.map +1 -1
  117. package/dist/components/consent-footer.js +13 -12
  118. package/dist/components/consent-footer.js.map +1 -1
  119. package/dist/components/consent-headline.d.ts +76 -12
  120. package/dist/components/consent-headline.d.ts.map +1 -1
  121. package/dist/components/consent-headline.js +445 -32
  122. package/dist/components/consent-headline.js.map +1 -1
  123. package/dist/components/consent-oauth-button.d.ts +7 -3
  124. package/dist/components/consent-oauth-button.d.ts.map +1 -1
  125. package/dist/components/consent-oauth-button.js +74 -65
  126. package/dist/components/consent-oauth-button.js.map +1 -1
  127. package/dist/components/consent-otp-input.d.ts.map +1 -1
  128. package/dist/components/consent-otp-input.js +5 -0
  129. package/dist/components/consent-otp-input.js.map +1 -1
  130. package/dist/components/consent-passkey.d.ts +6 -0
  131. package/dist/components/consent-passkey.d.ts.map +1 -1
  132. package/dist/components/consent-passkey.js +67 -9
  133. package/dist/components/consent-passkey.js.map +1 -1
  134. package/dist/components/consent-phone-handoff.js +3 -3
  135. package/dist/components/consent-request-expiry.js +1 -1
  136. package/dist/components/consent-revocation-notice.d.ts.map +1 -1
  137. package/dist/components/consent-revocation-notice.js +4 -2
  138. package/dist/components/consent-revocation-notice.js.map +1 -1
  139. package/dist/components/consent-revoke.d.ts +2 -0
  140. package/dist/components/consent-revoke.d.ts.map +1 -1
  141. package/dist/components/consent-revoke.js +9 -4
  142. package/dist/components/consent-revoke.js.map +1 -1
  143. package/dist/components/consent-secured-by.d.ts +25 -0
  144. package/dist/components/consent-secured-by.d.ts.map +1 -0
  145. package/dist/components/consent-secured-by.js +103 -0
  146. package/dist/components/consent-secured-by.js.map +1 -0
  147. package/dist/components/consent-shell.js +1 -1
  148. package/dist/components/consent-terms.d.ts +2 -0
  149. package/dist/components/consent-terms.d.ts.map +1 -1
  150. package/dist/components/consent-terms.js +7 -0
  151. package/dist/components/consent-terms.js.map +1 -1
  152. package/dist/components/consent-wallet-check.js +1 -1
  153. package/dist/components/consent-wallet-notice.js +1 -1
  154. package/dist/components/consent-wallet-orb.js +1 -1
  155. package/dist/components/consent-wallet-signature.js +1 -1
  156. package/dist/components/decision-icons.d.ts +22 -0
  157. package/dist/components/decision-icons.d.ts.map +1 -0
  158. package/dist/components/decision-icons.js +30 -0
  159. package/dist/components/decision-icons.js.map +1 -0
  160. package/dist/components/edit-region.d.ts +50 -0
  161. package/dist/components/edit-region.d.ts.map +1 -0
  162. package/dist/components/edit-region.js +305 -0
  163. package/dist/components/edit-region.js.map +1 -0
  164. package/dist/components/grant-field-styles.js +2 -2
  165. package/dist/components/index.d.ts +3 -2
  166. package/dist/components/index.d.ts.map +1 -1
  167. package/dist/components/index.js +3 -2
  168. package/dist/components/index.js.map +1 -1
  169. package/dist/components/mcp-consent.d.ts +15 -0
  170. package/dist/components/mcp-consent.d.ts.map +1 -1
  171. package/dist/components/mcp-consent.js +81 -36
  172. package/dist/components/mcp-consent.js.map +1 -1
  173. package/dist/components/preview.d.ts +38 -0
  174. package/dist/components/preview.d.ts.map +1 -0
  175. package/dist/components/preview.js +61 -0
  176. package/dist/components/preview.js.map +1 -0
  177. package/dist/consent.js +2200 -389
  178. package/dist/consent.min.js +1308 -496
  179. package/dist/constants/capabilities.d.ts +14 -2
  180. package/dist/constants/capabilities.d.ts.map +1 -1
  181. package/dist/constants/capabilities.js +21 -2
  182. package/dist/constants/capabilities.js.map +1 -1
  183. package/dist/copy/tokens.d.ts +60 -21
  184. package/dist/copy/tokens.d.ts.map +1 -1
  185. package/dist/copy/tokens.js +60 -21
  186. package/dist/copy/tokens.js.map +1 -1
  187. package/dist/identity/agent-identity.d.ts +3 -2
  188. package/dist/identity/agent-identity.d.ts.map +1 -1
  189. package/dist/identity/agent-identity.js +3 -2
  190. package/dist/identity/agent-identity.js.map +1 -1
  191. package/dist/mcp-app/inline.d.ts.map +1 -1
  192. package/dist/mcp-app/inline.js +2 -2
  193. package/dist/mcp-app/inline.js.map +1 -1
  194. package/dist/react/index.d.ts +6 -1
  195. package/dist/react/index.d.ts.map +1 -1
  196. package/dist/react/index.js +10 -1
  197. package/dist/react/index.js.map +1 -1
  198. package/dist/styles/brand.d.ts +184 -0
  199. package/dist/styles/brand.d.ts.map +1 -0
  200. package/dist/styles/brand.js +372 -0
  201. package/dist/styles/brand.js.map +1 -0
  202. package/dist/styles/index.d.ts +1 -0
  203. package/dist/styles/index.d.ts.map +1 -1
  204. package/dist/styles/index.js +1 -0
  205. package/dist/styles/index.js.map +1 -1
  206. package/dist/styles/theme.d.ts +73 -13
  207. package/dist/styles/theme.d.ts.map +1 -1
  208. package/dist/styles/theme.js +96 -29
  209. package/dist/styles/theme.js.map +1 -1
  210. package/dist/types/capabilities.types.d.ts +12 -14
  211. package/dist/types/capabilities.types.d.ts.map +1 -1
  212. package/dist/types/capabilities.types.js +1 -2
  213. package/dist/types/capabilities.types.js.map +1 -1
  214. package/dist/types/decision.types.d.ts +57 -0
  215. package/dist/types/decision.types.d.ts.map +1 -0
  216. package/dist/types/decision.types.js +12 -0
  217. package/dist/types/decision.types.js.map +1 -0
  218. package/dist/types/edit.types.d.ts +73 -0
  219. package/dist/types/edit.types.d.ts.map +1 -0
  220. package/dist/types/edit.types.js +76 -0
  221. package/dist/types/edit.types.js.map +1 -0
  222. package/dist/types/index.d.ts +2 -0
  223. package/dist/types/index.d.ts.map +1 -1
  224. package/dist/types/index.js +2 -0
  225. package/dist/types/index.js.map +1 -1
  226. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"consent-checkbox.js","sourceRoot":"","sources":["../../src/components/consent-checkbox.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;;;;;;A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ADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CACd;AA3CF,eAAe;IAD3B,aAAa,CAAC,kBAAkB,CAAC;GACrB,eAAe,CAiM3B"}
@@ -1,10 +1,22 @@
1
1
  /**
2
2
  * Consent Connector Header
3
3
  *
4
- * Top-of-page visual matching Peter's mockup: client logo on the left, an
5
- * animated dotted bridge with the Checkpoint shield in the middle, and the
6
- * server brand logo on the right. Communicates "{client} is connecting to
7
- * {server} via Checkpoint" before the user reads any copy.
4
+ * The top of the consent screen: the client's mark on the left, a bridge with
5
+ * a shield in the middle, and the server's logo on the right. It shows "{client}
6
+ * is connecting to {server}" before the user reads any copy.
7
+ *
8
+ * Two bridges (`variant`):
9
+ * - `dots` (the default): dotted lines and a green shield.
10
+ * - `bridge`: dashed lines and a shield in the page's tint (`--cs-tint`,
11
+ * edged in `--cs-tint-line`), drawn in `--cs-mark`, so it follows a brand.
12
+ *
13
+ * Every logo is contained, never cropped: the client's mark in a square tile,
14
+ * the server's logo at the same height in a tile that widens for a wordmark,
15
+ * up to a cap, and shrinks it to fit past that. A missing or broken logo is
16
+ * the name's first letter; a new logo URL is tried again.
17
+ *
18
+ * Who carries the connection is the host's to say (`via`): with none, the
19
+ * header names only the client and the server.
8
20
  *
9
21
  * Logo resolution priority:
10
22
  * 1. explicit `clientLogoUrl` / `serverLogoUrl` attributes (operator override)
@@ -13,12 +25,19 @@
13
25
  * 3. logo.dev fallback when `logoDevToken` is set + a domain is derivable
14
26
  * 4. monogram tile (first letter of name) as the last-resort placeholder
15
27
  *
16
- * Designed to be brand-agnostic: every client/server pair gets the same
17
- * shape, with only the artwork swapped per deployment.
28
+ * Decorative: one visually hidden line says who is connecting to whom.
29
+ *
30
+ * @cssprop --cs-tile-radius - The tiles' corners (default: 14px).
31
+ * @cssprop --cs-tint - The `bridge` shield's fill.
32
+ * @cssprop --cs-tint-line - The `bridge` shield's edge.
33
+ * @cssprop --cs-mark - The `bridge` shield's mark.
18
34
  *
19
35
  * @module components/consent-connector-header
20
36
  */
21
- import { LitElement } from "lit";
37
+ import { LitElement, type PropertyValues } from "lit";
38
+ /** The bridges the header draws between the two tiles. */
39
+ export declare const CONNECTOR_VARIANTS: readonly ["dots", "bridge"];
40
+ export type ConnectorVariant = (typeof CONNECTOR_VARIANTS)[number];
22
41
  export declare class ConsentConnectorHeader extends LitElement {
23
42
  /** Display name of the agent / client (e.g. "Claude"). */
24
43
  clientName: string;
@@ -38,9 +57,19 @@ export declare class ConsentConnectorHeader extends LitElement {
38
57
  * logo.dev returns 404.
39
58
  */
40
59
  logoDevToken: string;
60
+ /** The bridge between the tiles: `bridge` (default) or `dots`. */
61
+ variant: ConnectorVariant;
62
+ /**
63
+ * Who carries the connection, such as the host's product name. Read out as
64
+ * "{client} is connecting to {server} via {via}" and shown as the shield's
65
+ * tooltip. Empty: the header names only the client and the server.
66
+ */
67
+ via: string;
41
68
  private clientImageOk;
42
69
  private serverImageOk;
43
70
  static styles: import("lit").CSSResult;
71
+ /** A logo that failed is tried again when its URL changes. */
72
+ protected willUpdate(changed: PropertyValues<this>): void;
44
73
  /**
45
74
  * Derive a logo URL for an agent DID via KTA hosting convention.
46
75
  * `did:web:knowthat.ai:agents:claude` → `https://knowthat.ai/img/agents/claude.png`
@@ -54,6 +83,9 @@ export declare class ConsentConnectorHeader extends LitElement {
54
83
  private resolveClientLogo;
55
84
  private resolveServerLogo;
56
85
  private monogram;
86
+ /** What a screen reader hears in place of the picture. */
87
+ private description;
88
+ private renderBridge;
57
89
  render(): import("lit").TemplateResult<1>;
58
90
  }
59
91
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"consent-connector-header.d.ts","sourceRoot":"","sources":["../../src/components/consent-connector-header.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBACa,sBAAuB,SAAQ,UAAU;IACpD,0DAA0D;IAC9B,UAAU,SAAM;IAE5C,yEAAyE;IAC7C,SAAS,SAAM;IAE3C,6CAA6C;IACa,aAAa,SAAM;IAE7E,gEAAgE;IACpC,UAAU,SAAM;IAE5C,2EAA2E;IACnB,YAAY,SAAM;IAE1E,mDAAmD;IACO,aAAa,SAAM;IAE7E;;;;OAIG;IACsD,YAAY,SAAM;IAElE,OAAO,CAAC,aAAa,CAAQ;IAC7B,OAAO,CAAC,aAAa,CAAQ;IAEtC,OAAgB,MAAM,0BAiGpB;IAEF;;;OAGG;IACH,OAAO,CAAC,cAAc;IAOtB;;;OAGG;IACH,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,QAAQ;IAIP,MAAM;CAsChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,0BAA0B,EAAE,sBAAsB,CAAC;KACpD;CACF"}
1
+ {"version":3,"file":"consent-connector-header.d.ts","sourceRoot":"","sources":["../../src/components/consent-connector-header.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,UAAU,EAAsB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAG1E,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,6BAA8B,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AA4BnE,qBACa,sBAAuB,SAAQ,UAAU;IACpD,0DAA0D;IAC9B,UAAU,SAAM;IAE5C,yEAAyE;IAC7C,SAAS,SAAM;IAE3C,6CAA6C;IACa,aAAa,SAAM;IAE7E,gEAAgE;IACpC,UAAU,SAAM;IAE5C,2EAA2E;IACnB,YAAY,SAAM;IAE1E,mDAAmD;IACO,aAAa,SAAM;IAE7E;;;;OAIG;IACsD,YAAY,SAAM;IAE3E,kEAAkE;IACvB,OAAO,EAAE,gBAAgB,CACzD;IAEX;;;;OAIG;IACyB,GAAG,SAAM;IAE5B,OAAO,CAAC,aAAa,CAAQ;IAC7B,OAAO,CAAC,aAAa,CAAQ;IAEtC,OAAgB,MAAM,0BA2KpB;IAEF,8DAA8D;cAC3C,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAalE;;;OAGG;IACH,OAAO,CAAC,cAAc;IAOtB;;;OAGG;IACH,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,QAAQ;IAIhB,0DAA0D;IAC1D,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,YAAY;IAgBX,MAAM;CAoChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,0BAA0B,EAAE,sBAAsB,CAAC;KACpD;CACF"}
@@ -1,10 +1,22 @@
1
1
  /**
2
2
  * Consent Connector Header
3
3
  *
4
- * Top-of-page visual matching Peter's mockup: client logo on the left, an
5
- * animated dotted bridge with the Checkpoint shield in the middle, and the
6
- * server brand logo on the right. Communicates "{client} is connecting to
7
- * {server} via Checkpoint" before the user reads any copy.
4
+ * The top of the consent screen: the client's mark on the left, a bridge with
5
+ * a shield in the middle, and the server's logo on the right. It shows "{client}
6
+ * is connecting to {server}" before the user reads any copy.
7
+ *
8
+ * Two bridges (`variant`):
9
+ * - `dots` (the default): dotted lines and a green shield.
10
+ * - `bridge`: dashed lines and a shield in the page's tint (`--cs-tint`,
11
+ * edged in `--cs-tint-line`), drawn in `--cs-mark`, so it follows a brand.
12
+ *
13
+ * Every logo is contained, never cropped: the client's mark in a square tile,
14
+ * the server's logo at the same height in a tile that widens for a wordmark,
15
+ * up to a cap, and shrinks it to fit past that. A missing or broken logo is
16
+ * the name's first letter; a new logo URL is tried again.
17
+ *
18
+ * Who carries the connection is the host's to say (`via`): with none, the
19
+ * header names only the client and the server.
8
20
  *
9
21
  * Logo resolution priority:
10
22
  * 1. explicit `clientLogoUrl` / `serverLogoUrl` attributes (operator override)
@@ -13,8 +25,12 @@
13
25
  * 3. logo.dev fallback when `logoDevToken` is set + a domain is derivable
14
26
  * 4. monogram tile (first letter of name) as the last-resort placeholder
15
27
  *
16
- * Designed to be brand-agnostic: every client/server pair gets the same
17
- * shape, with only the artwork swapped per deployment.
28
+ * Decorative: one visually hidden line says who is connecting to whom.
29
+ *
30
+ * @cssprop --cs-tile-radius - The tiles' corners (default: 14px).
31
+ * @cssprop --cs-tint - The `bridge` shield's fill.
32
+ * @cssprop --cs-tint-line - The `bridge` shield's edge.
33
+ * @cssprop --cs-mark - The `bridge` shield's mark.
18
34
  *
19
35
  * @module components/consent-connector-header
20
36
  */
@@ -24,8 +40,34 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
24
40
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
41
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26
42
  };
27
- import { LitElement, html, css } from "lit";
43
+ import { LitElement, html, css, nothing } from "lit";
28
44
  import { customElement, property, state } from "lit/decorators.js";
45
+ /** The bridges the header draws between the two tiles. */
46
+ export const CONNECTOR_VARIANTS = ["dots", "bridge"];
47
+ const SHIELD_CHECK = html `<svg
48
+ viewBox="0 0 24 24"
49
+ fill="none"
50
+ stroke="currentColor"
51
+ stroke-width="2"
52
+ stroke-linecap="round"
53
+ stroke-linejoin="round"
54
+ >
55
+ <path
56
+ d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
57
+ />
58
+ <path d="m9 12 2 2 4-4" />
59
+ </svg>`;
60
+ const DOTS_SHIELD = html `<svg
61
+ viewBox="0 0 24 24"
62
+ fill="none"
63
+ stroke="currentColor"
64
+ stroke-width="2.2"
65
+ stroke-linecap="round"
66
+ stroke-linejoin="round"
67
+ >
68
+ <path d="M12 3l8 3v5c0 4.5-3.5 8.5-8 10-4.5-1.5-8-5.5-8-10V6l8-3z" />
69
+ <path d="m9 12 2 2 4-4" />
70
+ </svg>`;
29
71
  let ConsentConnectorHeader = class ConsentConnectorHeader extends LitElement {
30
72
  constructor() {
31
73
  super(...arguments);
@@ -47,9 +89,28 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends LitElement {
47
89
  * logo.dev returns 404.
48
90
  */
49
91
  this.logoDevToken = "";
92
+ /** The bridge between the tiles: `bridge` (default) or `dots`. */
93
+ this.variant = "bridge";
94
+ /**
95
+ * Who carries the connection, such as the host's product name. Read out as
96
+ * "{client} is connecting to {server} via {via}" and shown as the shield's
97
+ * tooltip. Empty: the header names only the client and the server.
98
+ */
99
+ this.via = "";
50
100
  this.clientImageOk = true;
51
101
  this.serverImageOk = true;
52
102
  }
103
+ /** A logo that failed is tried again when its URL changes. */
104
+ willUpdate(changed) {
105
+ if (changed.has("clientLogoUrl") || changed.has("clientDid")) {
106
+ this.clientImageOk = true;
107
+ }
108
+ if (changed.has("serverLogoUrl") ||
109
+ changed.has("serverDomain") ||
110
+ changed.has("logoDevToken")) {
111
+ this.serverImageOk = true;
112
+ }
113
+ }
53
114
  /**
54
115
  * Derive a logo URL for an agent DID via KTA hosting convention.
55
116
  * `did:web:knowthat.ai:agents:claude` → `https://knowthat.ai/img/agents/claude.png`
@@ -85,11 +146,35 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends LitElement {
85
146
  return this.logoDevLogo(this.serverDomain);
86
147
  }
87
148
  monogram(name) {
88
- return (name || "?").trim().charAt(0).toUpperCase();
149
+ return (name.trim().charAt(0) || "?").toUpperCase();
150
+ }
151
+ /** What a screen reader hears in place of the picture. */
152
+ description() {
153
+ const client = this.clientName.trim() || "An agent";
154
+ const server = this.serverName.trim() || "this site";
155
+ const via = this.via.trim();
156
+ return `${client} is connecting to ${server}${via ? ` via ${via}` : ""}`;
157
+ }
158
+ renderBridge() {
159
+ const title = this.via.trim() ? `Protected by ${this.via.trim()}` : nothing;
160
+ if (this.variant === "bridge") {
161
+ return html `<div class="bridge" aria-hidden="true">
162
+ <span class="dash"></span>
163
+ <span class="shield" title=${title}>${SHIELD_CHECK}</span>
164
+ <span class="dash"></span>
165
+ </div>`;
166
+ }
167
+ return html `<div class="bridge" aria-hidden="true">
168
+ <span class="dots"><span></span><span></span><span></span></span>
169
+ <span class="shield" title=${title}>${DOTS_SHIELD}</span>
170
+ <span class="dots"><span></span><span></span><span></span></span>
171
+ </div>`;
89
172
  }
90
173
  render() {
91
174
  const clientLogo = this.resolveClientLogo();
92
- const serverLogo = this.resolveServerLogo();
175
+ const serverLogo = this.serverImageOk
176
+ ? this.resolveServerLogo()
177
+ : undefined;
93
178
  return html `
94
179
  <div class="tile client" aria-hidden="true">
95
180
  ${clientLogo && this.clientImageOk
@@ -98,28 +183,26 @@ let ConsentConnectorHeader = class ConsentConnectorHeader extends LitElement {
98
183
  alt=""
99
184
  @error=${() => (this.clientImageOk = false)}
100
185
  />`
101
- : html `<span class="monogram">${this.monogram(this.clientName)}</span>`}
186
+ : html `<span class="monogram"
187
+ >${this.monogram(this.clientName)}</span
188
+ >`}
102
189
  </div>
103
- <div class="bridge" aria-hidden="true">
104
- <span class="dots"><span></span><span></span><span></span></span>
105
- <span class="shield" title="Protected by Checkpoint">
106
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
107
- <path d="M12 3l8 3v5c0 4.5-3.5 8.5-8 10-4.5-1.5-8-5.5-8-10V6l8-3z" />
108
- <path d="m9 12 2 2 4-4" />
109
- </svg>
110
- </span>
111
- <span class="dots"><span></span><span></span><span></span></span>
112
- </div>
113
- <div class="tile server" aria-hidden="true">
114
- ${serverLogo && this.serverImageOk
190
+ ${this.renderBridge()}
191
+ <div
192
+ class="tile server ${serverLogo ? "has-logo" : ""}"
193
+ aria-hidden="true"
194
+ >
195
+ ${serverLogo
115
196
  ? html `<img
116
197
  src="${serverLogo}"
117
198
  alt=""
118
199
  @error=${() => (this.serverImageOk = false)}
119
200
  />`
120
- : html `<span class="monogram">${this.monogram(this.serverName)}</span>`}
201
+ : html `<span class="monogram"
202
+ >${this.monogram(this.serverName)}</span
203
+ >`}
121
204
  </div>
122
- <span style="position:absolute;left:-9999px">${this.clientName || ""} connecting to ${this.serverName || ""} via Checkpoint</span>
205
+ <span class="visually-hidden">${this.description()}</span>
123
206
  `;
124
207
  }
125
208
  };
@@ -132,10 +215,16 @@ ConsentConnectorHeader.styles = css `
132
215
  padding: 22px 0 4px;
133
216
  }
134
217
 
218
+ :host([variant="bridge"]) {
219
+ gap: 8px;
220
+ padding: 20px 0 14px;
221
+ }
222
+
135
223
  .tile {
136
- width: 56px;
224
+ box-sizing: border-box;
137
225
  height: 56px;
138
- border-radius: 14px;
226
+ min-width: 56px;
227
+ border-radius: var(--cs-tile-radius, 14px);
139
228
  overflow: hidden;
140
229
  display: flex;
141
230
  align-items: center;
@@ -145,30 +234,46 @@ ConsentConnectorHeader.styles = css `
145
234
  border: 1px solid var(--cs-surface-border, rgba(15, 23, 42, 0.08));
146
235
  }
147
236
 
148
- /* Agent tile: white with a light border in every theme. border-box keeps
149
- it 56px outside; the shared .tile (server) box is left unchanged. */
237
+ /* The agent's tile is white with a light border in every theme. */
150
238
  .tile.client {
151
- box-sizing: border-box;
152
- background: var(--cs-agent-tile-bg, #FFFFFF);
239
+ width: 56px;
240
+ background: var(--cs-agent-tile-bg, #ffffff);
153
241
  border: 1px solid var(--cs-agent-tile-border, rgba(15, 23, 42, 0.08));
154
242
  }
155
243
 
156
- .tile img {
157
- width: 100%;
158
- height: 100%;
159
- object-fit: cover;
160
- }
161
-
162
- /* Agent marks are contained, not cropped: 36px leaves a 10px inset inside
163
- the centred 56px tile, so non-square logos keep their full shape. */
244
+ /* Marks are contained, not cropped: 36px leaves a 10px inset inside the
245
+ 56px tile, so a non-square logo keeps its whole shape. */
164
246
  .tile.client img {
165
247
  width: 36px;
166
248
  height: 36px;
167
249
  object-fit: contain;
168
250
  }
169
251
 
252
+ /* The server's logo at the mark's height: a square logo in a square tile,
253
+ a wordmark widening the tile up to 126px and contained past that (a
254
+ 3.75:1 wordmark draws 108 by 29). Where the row is short of room the
255
+ tile gives some back, down to square, and the wordmark is contained in
256
+ what is left. */
257
+ .tile.server {
258
+ flex-shrink: 1;
259
+ max-width: 126px;
260
+ }
261
+
262
+ .tile.server.has-logo {
263
+ padding: 0 8px;
264
+ }
265
+
266
+ .tile.server img {
267
+ display: block;
268
+ height: 36px;
269
+ width: auto;
270
+ min-width: 36px;
271
+ max-width: 100%;
272
+ object-fit: contain;
273
+ }
274
+
170
275
  .tile .monogram {
171
- width: 100%;
276
+ width: 54px;
172
277
  height: 100%;
173
278
  display: flex;
174
279
  align-items: center;
@@ -178,11 +283,11 @@ ConsentConnectorHeader.styles = css `
178
283
  }
179
284
 
180
285
  .tile.client .monogram {
181
- color: var(--cs-agent-tile-text, #0F172A);
286
+ color: var(--cs-agent-tile-text, #0f172a);
182
287
  }
183
288
 
184
289
  .tile.server .monogram {
185
- color: var(--cs-text-primary, #0F172A);
290
+ color: var(--cs-text-primary, #0f172a);
186
291
  }
187
292
 
188
293
  .bridge {
@@ -200,7 +305,7 @@ ConsentConnectorHeader.styles = css `
200
305
  width: 4px;
201
306
  height: 4px;
202
307
  border-radius: 50%;
203
- background: var(--cs-text-tertiary, #94A3B8);
308
+ background: var(--cs-text-tertiary, #94a3b8);
204
309
  opacity: 0.55;
205
310
  }
206
311
 
@@ -212,7 +317,7 @@ ConsentConnectorHeader.styles = css `
212
317
  display: inline-flex;
213
318
  align-items: center;
214
319
  justify-content: center;
215
- color: #15803D;
320
+ color: #15803d;
216
321
  flex-shrink: 0;
217
322
  }
218
323
 
@@ -220,6 +325,58 @@ ConsentConnectorHeader.styles = css `
220
325
  width: 16px;
221
326
  height: 16px;
222
327
  }
328
+
329
+ /* 144px where there is room; it gives way first where there is not. */
330
+ :host([variant="bridge"]) .bridge {
331
+ flex: 0 4 144px;
332
+ height: 56px;
333
+ gap: 6px;
334
+ }
335
+
336
+ .dash {
337
+ flex: 1;
338
+ min-width: 12px;
339
+ height: 0;
340
+ border-top: 1px dashed var(--cs-text-tertiary, #5d6c82);
341
+ opacity: 0.5;
342
+ }
343
+
344
+ :host([variant="bridge"]) .shield {
345
+ box-sizing: border-box;
346
+ width: 32px;
347
+ height: 32px;
348
+ background: var(
349
+ --cs-tint,
350
+ color-mix(
351
+ in srgb,
352
+ var(--cs-text-primary, #0f172a) 7%,
353
+ var(--cs-surface-card, #fff)
354
+ )
355
+ );
356
+ border: 1px solid
357
+ var(
358
+ --cs-tint-line,
359
+ color-mix(
360
+ in srgb,
361
+ var(--cs-text-primary, #0f172a) 18%,
362
+ var(--cs-surface-card, #fff)
363
+ )
364
+ );
365
+ color: var(--cs-mark, var(--cs-text-primary, #0f172a));
366
+ }
367
+
368
+ .visually-hidden {
369
+ position: absolute;
370
+ width: 1px;
371
+ height: 1px;
372
+ padding: 0;
373
+ margin: -1px;
374
+ overflow: hidden;
375
+ clip: rect(0 0 0 0);
376
+ clip-path: inset(50%);
377
+ white-space: nowrap;
378
+ border: 0;
379
+ }
223
380
  `;
224
381
  __decorate([
225
382
  property({ type: String })
@@ -242,6 +399,12 @@ __decorate([
242
399
  __decorate([
243
400
  property({ type: String, attribute: "logo-dev-token" })
244
401
  ], ConsentConnectorHeader.prototype, "logoDevToken", void 0);
402
+ __decorate([
403
+ property({ type: String, reflect: true })
404
+ ], ConsentConnectorHeader.prototype, "variant", void 0);
405
+ __decorate([
406
+ property({ type: String })
407
+ ], ConsentConnectorHeader.prototype, "via", void 0);
245
408
  __decorate([
246
409
  state()
247
410
  ], ConsentConnectorHeader.prototype, "clientImageOk", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"consent-connector-header.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AAGhC;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC/B;AAOiB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAAU;AAEpB;IAAhB,KAAK,EAAE;6DAA8B;AACrB;IAAhB,KAAK,EAAE;6DAA8B;AAtC3B,sBAAsB;IADlC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,sBAAsB,CAqUlC"}
@@ -151,7 +151,7 @@ ConsentDuration.styles = [
151
151
  width: 14px;
152
152
  height: 14px;
153
153
  margin-top: -7px;
154
- color: var(--cs-text-tertiary, #64748b);
154
+ color: var(--cs-text-tertiary, #5d6c82);
155
155
  pointer-events: none;
156
156
  }
157
157
  `,
@@ -1,16 +1,18 @@
1
1
  /**
2
2
  * Consent Footer
3
3
  *
4
- * `Protected by ✓ Checkpoint` (left) + `How does this work?` (right). Shared
5
- * between the consent screen and the (future-migrated) gateway consent.
4
+ * `✓ by Vouched KYA` (left) + `How does this work?` (right). Shared between
5
+ * the consent screen and the (future-migrated) gateway consent. A host that
6
+ * runs the screen itself puts its own footer in the screen's `footer` slot.
6
7
  *
7
8
  * @module components/consent-footer
8
9
  */
9
10
  import { LitElement } from "lit";
10
- import type { ConsentTheme } from "../types/capabilities.types.js";
11
11
  export declare class ConsentFooter extends LitElement {
12
- theme: ConsentTheme;
13
12
  howItWorksUrl: string;
13
+ /** Draws as it would live; its link goes nowhere. */
14
+ preview: boolean;
15
+ constructor();
14
16
  static styles: import("lit").CSSResult;
15
17
  render(): import("lit").TemplateResult<1>;
16
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"consent-footer.d.ts","sourceRoot":"","sources":["../../src/components/consent-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,qBACa,aAAc,SAAQ,UAAU;IACf,KAAK,EAAE,YAAY,CAAW;IAC9B,aAAa,SAAM;IAE/C,OAAgB,MAAM,0BAyCpB;IAEO,MAAM;CAoChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAC;KACjC;CACF"}
1
+ {"version":3,"file":"consent-footer.d.ts","sourceRoot":"","sources":["../../src/components/consent-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAO5C,qBACa,aAAc,SAAQ,UAAU;IACf,aAAa,SAAM;IAC/C,qDAAqD;IACT,OAAO,UAAS;;IAM5D,OAAgB,MAAM,0BAyCpB;IAEO,MAAM;CA+BhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAC;KACjC;CACF"}
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Consent Footer
3
3
  *
4
- * `Protected by ✓ Checkpoint` (left) + `How does this work?` (right). Shared
5
- * between the consent screen and the (future-migrated) gateway consent.
4
+ * `✓ by Vouched KYA` (left) + `How does this work?` (right). Shared between
5
+ * the consent screen and the (future-migrated) gateway consent. A host that
6
+ * runs the screen itself puts its own footer in the screen's `footer` slot.
6
7
  *
7
8
  * @module components/consent-footer
8
9
  */
@@ -15,17 +16,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
15
16
  import { LitElement, html, css } from "lit";
16
17
  import { customElement, property } from "lit/decorators.js";
17
18
  import { CONSENT_COPY_TOKENS } from "../copy/tokens.js";
19
+ import { guardPreviewNavigation } from "./preview.js";
18
20
  import { sanitizeLinkUrl } from "../resolution/resolve-branding.js";
19
21
  let ConsentFooter = class ConsentFooter extends LitElement {
20
22
  constructor() {
21
- super(...arguments);
22
- this.theme = "light";
23
+ super();
23
24
  this.howItWorksUrl = "";
25
+ /** Draws as it would live; its link goes nowhere. */
26
+ this.preview = false;
27
+ guardPreviewNavigation(this);
24
28
  }
25
29
  render() {
26
- const attribution = this.theme === "dark"
27
- ? CONSENT_COPY_TOKENS.attribution.securedBy
28
- : CONSENT_COPY_TOKENS.attribution.protectedBy;
29
30
  return html `
30
31
  <span class="left">
31
32
  <svg
@@ -40,7 +41,7 @@ let ConsentFooter = class ConsentFooter extends LitElement {
40
41
  >
41
42
  <path d="m3.5 8.5 3 3 6-6.5" />
42
43
  </svg>
43
- ${attribution}
44
+ ${CONSENT_COPY_TOKENS.attribution.byLine}
44
45
  </span>
45
46
  ${sanitizeLinkUrl(this.howItWorksUrl)
46
47
  ? html `<a
@@ -68,7 +69,7 @@ ConsentFooter.styles = css `
68
69
  gap: 6px 16px;
69
70
  padding-top: 12px;
70
71
  font-size: 12px;
71
- color: var(--cs-text-tertiary, #64748b);
72
+ color: var(--cs-text-tertiary, #5d6c82);
72
73
  border-top: 1px solid var(--cs-surface-border, transparent);
73
74
  }
74
75
 
@@ -99,12 +100,12 @@ ConsentFooter.styles = css `
99
100
  color: var(--cs-text-primary, #0f172a);
100
101
  }
101
102
  `;
102
- __decorate([
103
- property({ type: String })
104
- ], ConsentFooter.prototype, "theme", void 0);
105
103
  __decorate([
106
104
  property({ type: String })
107
105
  ], ConsentFooter.prototype, "howItWorksUrl", void 0);
106
+ __decorate([
107
+ property({ type: Boolean, reflect: true })
108
+ ], ConsentFooter.prototype, "preview", void 0);
108
109
  ConsentFooter = __decorate([
109
110
  customElement("consent-footer")
110
111
  ], ConsentFooter);
@@ -1 +1 @@
1
- {"version":3,"file":"consent-footer.js","sourceRoot":"","sources":["../../src/components/consent-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAA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