@hiver/connector-agent 4.14.0-userauthfixesv2-beta.0 → 4.14.0-userauthfixesv3-beta.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AAuG3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA2oBxC,CAAC"}
1
+ {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AA0G3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA8pBxC,CAAC"}
@@ -9,6 +9,23 @@ interface IProps {
9
9
  onConnected: () => void;
10
10
  children: ReactNode;
11
11
  }
12
+ /**
13
+ * Per-connector slot. Owns the /user-auth/status fetch for one connector
14
+ * and renders the sign-in card when that connector needs auth, else null.
15
+ * Lives as its own component so the status hook is called unconditionally
16
+ * (Rules of Hooks) even though the connector list is dynamic.
17
+ *
18
+ * `centered` (default) fills the panel and vertically centers the card —
19
+ * used by the zero-cards path, mirroring CardWithUserAuth's layout. When
20
+ * `false`, the card renders inline (stacked) so it can sit above the linked
21
+ * card list — used when other connectors already have cards but this one
22
+ * doesn't, so each app still gets its own sign-in CTA.
23
+ */
24
+ export declare const ConnectorAuthSlot: FC<{
25
+ connector: IUserAuthConnector;
26
+ onConnected: () => void;
27
+ centered?: boolean;
28
+ }>;
12
29
  /**
13
30
  * Renders the "Sign in to use X" card on the agent panel when there are no
14
31
  * linked cards yet but the connector is opted into user-tier auth and the
@@ -1 +1 @@
1
- {"version":3,"file":"NoCardsUserAuthGate.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/NoCardsUserAuthGate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUtC,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,MAAM;IAGd,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IAGxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AA8CD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,MAAM,CAa1C,CAAC"}
1
+ {"version":3,"file":"NoCardsUserAuthGate.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/NoCardsUserAuthGate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUtC,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,MAAM;IAGd,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IAGxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAaD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC;IACjC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAwBA,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,MAAM,CAa1C,CAAC"}