@belonguniverseai/react-sdk 0.6.7 → 0.6.8

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 (69) hide show
  1. package/dist/api/client.d.ts +203 -0
  2. package/dist/api/connectors.d.ts +88 -0
  3. package/dist/api/query-keys.d.ts +1 -0
  4. package/dist/component/{abnfDiagram-N423BO3Z-CZS71qjo.js → abnfDiagram-N423BO3Z-DAMVrmeh.js} +4 -4
  5. package/dist/component/{arc-CztymUZ_.js → arc-Gc-Ug7JA.js} +2 -2
  6. package/dist/component/{architectureDiagram-T3A2C74G-Dg9ZE0Qp.js → architectureDiagram-T3A2C74G-DEETzZJN.js} +3 -3
  7. package/dist/component/{blockDiagram-VBNYF7ZC-DngLqsTJ.js → blockDiagram-VBNYF7ZC-B63eqqq8.js} +4 -4
  8. package/dist/component/{c4Diagram-5PPSVZJV-Dv9PRH6O.js → c4Diagram-5PPSVZJV-B1BOYc8g.js} +3 -3
  9. package/dist/component/{channel-Cy1msWjd.js → channel-PLzmp3cE.js} +2 -2
  10. package/dist/component/{chunk-2GRJ4B5K-BP6YBz9_.js → chunk-2GRJ4B5K-B6eq3oGl.js} +2 -2
  11. package/dist/component/{chunk-2Q5K7J3B-BfWYZyaV.js → chunk-2Q5K7J3B-B7muvlHI.js} +2 -2
  12. package/dist/component/{chunk-5RXB4S5H-Wn88BCO0.js → chunk-5RXB4S5H-DwKu1vp-.js} +5 -5
  13. package/dist/component/{chunk-5VM5RSS4-CXdsy-yn.js → chunk-5VM5RSS4-DfsJf4Z4.js} +2 -2
  14. package/dist/component/{chunk-6Q2QTUOP-DSge-zbv.js → chunk-6Q2QTUOP-CeaiyGYA.js} +2 -2
  15. package/dist/component/{chunk-GF5L2VYU-7kov7TtI.js → chunk-GF5L2VYU-CNmM7mNX.js} +6 -6
  16. package/dist/component/{chunk-JWPE2WC7-BKBsGsHG.js → chunk-JWPE2WC7-BzOJ0gSs.js} +2 -2
  17. package/dist/component/{chunk-KBJHAD2P-CZBTReK1.js → chunk-KBJHAD2P-B_0sEXXZ.js} +2 -2
  18. package/dist/component/{chunk-RYQCIY6F-DanZm73E.js → chunk-RYQCIY6F-CzrE1hmt.js} +2 -2
  19. package/dist/component/{chunk-XXDRQBXY-K9dZrAbB.js → chunk-XXDRQBXY-BUnNxHRd.js} +2 -2
  20. package/dist/component/{classDiagram-JCYQIIEL-DgVNXgGq.js → classDiagram-JCYQIIEL-9VG4K9gL.js} +3 -3
  21. package/dist/component/{classDiagram-v2-OCEON4UE-DgVNXgGq.js → classDiagram-v2-OCEON4UE-9VG4K9gL.js} +3 -3
  22. package/dist/component/{cose-bilkent-JH36ORCC-CNh7W_Rr.js → cose-bilkent-JH36ORCC-_cCdJsPR.js} +2 -2
  23. package/dist/component/{cynefinDiagram-MW4NZA55-BBxdfZii.js → cynefinDiagram-MW4NZA55-DrosRrWG.js} +3 -3
  24. package/dist/component/{dagre-VZM6K2ZE-D6mkmclz.js → dagre-VZM6K2ZE-DVXWVoHI.js} +3 -3
  25. package/dist/component/{diagram-7IWD3JNH-EoPRghAe.js → diagram-7IWD3JNH-BvdLH-gr.js} +4 -4
  26. package/dist/component/{diagram-B4RE2ZJO-Ck-EIN4V.js → diagram-B4RE2ZJO-yq2kxzf4.js} +3 -3
  27. package/dist/component/{diagram-LBJQPF4R-CFJ1IxnO.js → diagram-LBJQPF4R-DjZj7wKC.js} +3 -3
  28. package/dist/component/{diagram-Q27KOJAE-xtJbi8_k.js → diagram-Q27KOJAE-DjV3mMFp.js} +4 -4
  29. package/dist/component/{diagram-UB23O5K3-CL4MaOzz.js → diagram-UB23O5K3-DG73tqIa.js} +3 -3
  30. package/dist/component/{ebnfDiagram-BXEA7PRR-BkyoJuZH.js → ebnfDiagram-BXEA7PRR-TI3Mi84Z.js} +4 -4
  31. package/dist/component/{erDiagram-JOGREHBK-BIXrNwQY.js → erDiagram-JOGREHBK-p28VOtOG.js} +5 -5
  32. package/dist/component/{flowDiagram-UKHOOZJN-D0Mrp2sk.js → flowDiagram-UKHOOZJN-DptddxZK.js} +7 -7
  33. package/dist/component/{ganttDiagram-PKOTCBZU-Bk57vzJC.js → ganttDiagram-PKOTCBZU-CPBYUclk.js} +3 -3
  34. package/dist/component/{gitGraphDiagram-DS77QQ5N-CCpx-kXh.js → gitGraphDiagram-DS77QQ5N-DDJEly11.js} +4 -4
  35. package/dist/component/{highlighted-body-OFNGDK62-B6vAKr9s.js → highlighted-body-OFNGDK62-DmArOVtb.js} +2 -2
  36. package/dist/component/index.js +2 -2
  37. package/dist/component/{infoDiagram-6WML65LV-KlVle315.js → infoDiagram-6WML65LV-fa5NoEep.js} +2 -2
  38. package/dist/component/{ishikawaDiagram-WSZJBQD7-Bi7sbuio.js → ishikawaDiagram-WSZJBQD7-D19tW2EN.js} +2 -2
  39. package/dist/component/{journeyDiagram-NVQOT4AX-Bve0TBmQ.js → journeyDiagram-NVQOT4AX-BMjN5JId.js} +5 -5
  40. package/dist/component/{kanban-definition-27J2QSJJ-BznMypxI.js → kanban-definition-27J2QSJJ-DpEZoYj2.js} +3 -3
  41. package/dist/component/{linear-Db0zTzeX.js → linear-BlZm6_oy.js} +2 -2
  42. package/dist/component/{mermaid-GHXKKRXX-DRvjpCT4.js → mermaid-GHXKKRXX-p-OyUfKz.js} +32536 -31776
  43. package/dist/component/{mindmap-definition-FAOFIHXS-DC-W6F5t.js → mindmap-definition-FAOFIHXS-CZooOHo7.js} +4 -4
  44. package/dist/component/{pegDiagram-VL7TDLO6-DN4TVY9N.js → pegDiagram-VL7TDLO6-BgsgvnUj.js} +4 -4
  45. package/dist/component/{pieDiagram-7S7Q4E2Y-TgcBFjjO.js → pieDiagram-7S7Q4E2Y-BMc5yYJ4.js} +4 -4
  46. package/dist/component/{quadrantDiagram-CIZ2JOQS-CkM5IhjU.js → quadrantDiagram-CIZ2JOQS-2w1cEVRE.js} +3 -3
  47. package/dist/component/{railroadDiagram-AXF67PYL-DxiLraF5.js → railroadDiagram-AXF67PYL-DoiX2thq.js} +4 -4
  48. package/dist/component/{requirementDiagram-LRYGKXZP-nQo-Mina.js → requirementDiagram-LRYGKXZP-CTB2STpc.js} +4 -4
  49. package/dist/component/{sankeyDiagram-W5VNT64P-4KllqWbF.js → sankeyDiagram-W5VNT64P-9xxjcZWi.js} +2 -2
  50. package/dist/component/{sequenceDiagram-SI44F4Z6-Ddb1e9Vc.js → sequenceDiagram-SI44F4Z6-mkS0lJ2i.js} +4 -4
  51. package/dist/component/{sizeCapture-X5ZJPWSS-cOyVP5iN.js → sizeCapture-X5ZJPWSS-BoQhOM5q.js} +2 -2
  52. package/dist/component/{stateDiagram-OKZ733FA-77JC1AgC.js → stateDiagram-OKZ733FA-BC9-EQhL.js} +3 -3
  53. package/dist/component/{stateDiagram-v2-UEYNNEHI-CASTwYVj.js → stateDiagram-v2-UEYNNEHI-DtIgdpQz.js} +3 -3
  54. package/dist/component/{swimlanes-SLNWSIFB-DlzxVctq.js → swimlanes-SLNWSIFB-Dt29sUod.js} +4 -4
  55. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BQv0GPEC.js → swimlanesDiagram-ULZ7WXOC-XhpcM99S.js} +3 -3
  56. package/dist/component/{timeline-definition-Z64GVDOM-snpoPkCw.js → timeline-definition-Z64GVDOM-BaSPNtp7.js} +3 -3
  57. package/dist/component/{vennDiagram-T6HMQDX7-CQ3oA8fU.js → vennDiagram-T6HMQDX7-DEh8MevO.js} +2 -2
  58. package/dist/component/{wardleyDiagram-T6FBY63Y-BPE-lH8K.js → wardleyDiagram-T6FBY63Y-DAL7SU3o.js} +3 -3
  59. package/dist/component/{xychartDiagram-ELKLHX3M-DOiVr_f-.js → xychartDiagram-ELKLHX3M-Cde-mFmr.js} +3 -3
  60. package/dist/components/connectors/ConnectorAuthFields.d.ts +11 -1
  61. package/dist/components/connectors/ConnectorMarketplaceDialog.d.ts +9 -0
  62. package/dist/components/connectors/ConnectorsListSurface.d.ts +6 -0
  63. package/dist/components/connectors/NewConnectorDialog.d.ts +5 -42
  64. package/dist/components/connectors/connector-copy.d.ts +24 -4
  65. package/dist/components/connectors/connector-form.d.ts +52 -0
  66. package/dist/components/embed/save-prompt-name.d.ts +20 -7
  67. package/dist/i18n/messages/en.d.ts +43 -2
  68. package/dist/i18n/messages/surfaces/connectors.d.ts +125 -2
  69. package/package.json +1 -1
@@ -231,6 +231,7 @@ export declare const createApiClient: (baseUrl: string) => {
231
231
  json: {
232
232
  title?: string | undefined;
233
233
  workspaceExternalId?: string | undefined;
234
+ origin?: "user" | "benchmark" | undefined;
234
235
  };
235
236
  };
236
237
  output: {
@@ -243,6 +244,7 @@ export declare const createApiClient: (baseUrl: string) => {
243
244
  json: {
244
245
  title?: string | undefined;
245
246
  workspaceExternalId?: string | undefined;
247
+ origin?: "user" | "benchmark" | undefined;
246
248
  };
247
249
  };
248
250
  output: {
@@ -4561,6 +4563,7 @@ export declare const createApiClient: (baseUrl: string) => {
4561
4563
  tokenEndpoint?: string | undefined;
4562
4564
  scope?: string | undefined;
4563
4565
  };
4566
+ catalogEntryId?: string | undefined;
4564
4567
  description?: string | undefined;
4565
4568
  emoji?: string | undefined;
4566
4569
  transport?: "streamable_http" | "sse" | undefined;
@@ -4600,6 +4603,7 @@ export declare const createApiClient: (baseUrl: string) => {
4600
4603
  tokenEndpoint?: string | undefined;
4601
4604
  scope?: string | undefined;
4602
4605
  };
4606
+ catalogEntryId?: string | undefined;
4603
4607
  description?: string | undefined;
4604
4608
  emoji?: string | undefined;
4605
4609
  transport?: "streamable_http" | "sse" | undefined;
@@ -4640,6 +4644,7 @@ export declare const createApiClient: (baseUrl: string) => {
4640
4644
  tokenEndpoint?: string | undefined;
4641
4645
  scope?: string | undefined;
4642
4646
  };
4647
+ catalogEntryId?: string | undefined;
4643
4648
  description?: string | undefined;
4644
4649
  emoji?: string | undefined;
4645
4650
  transport?: "streamable_http" | "sse" | undefined;
@@ -4677,6 +4682,87 @@ export declare const createApiClient: (baseUrl: string) => {
4677
4682
  tokenEndpoint?: string | undefined;
4678
4683
  scope?: string | undefined;
4679
4684
  };
4685
+ catalogEntryId?: string | undefined;
4686
+ description?: string | undefined;
4687
+ emoji?: string | undefined;
4688
+ transport?: "streamable_http" | "sse" | undefined;
4689
+ };
4690
+ };
4691
+ output: {
4692
+ error: {
4693
+ type: string;
4694
+ };
4695
+ };
4696
+ outputFormat: "json";
4697
+ status: 404;
4698
+ } | {
4699
+ input: {
4700
+ json: {
4701
+ name: string;
4702
+ serverUrl: string;
4703
+ clientConnectorId: string;
4704
+ auth: {
4705
+ mode: "oauth";
4706
+ clientId?: string | undefined;
4707
+ clientSecret?: string | undefined;
4708
+ scope?: string | undefined;
4709
+ authorizationParams?: Record<string, string> | undefined;
4710
+ } | {
4711
+ mode: "none";
4712
+ } | {
4713
+ mode: "bearer";
4714
+ token: string;
4715
+ } | {
4716
+ mode: "headers";
4717
+ headers: Record<string, string>;
4718
+ } | {
4719
+ mode: "oauth_client_credentials";
4720
+ clientId: string;
4721
+ clientSecret: string;
4722
+ tokenEndpoint?: string | undefined;
4723
+ scope?: string | undefined;
4724
+ };
4725
+ catalogEntryId?: string | undefined;
4726
+ description?: string | undefined;
4727
+ emoji?: string | undefined;
4728
+ transport?: "streamable_http" | "sse" | undefined;
4729
+ };
4730
+ };
4731
+ output: {
4732
+ error: {
4733
+ type: string;
4734
+ };
4735
+ };
4736
+ outputFormat: "json";
4737
+ status: 503;
4738
+ } | {
4739
+ input: {
4740
+ json: {
4741
+ name: string;
4742
+ serverUrl: string;
4743
+ clientConnectorId: string;
4744
+ auth: {
4745
+ mode: "oauth";
4746
+ clientId?: string | undefined;
4747
+ clientSecret?: string | undefined;
4748
+ scope?: string | undefined;
4749
+ authorizationParams?: Record<string, string> | undefined;
4750
+ } | {
4751
+ mode: "none";
4752
+ } | {
4753
+ mode: "bearer";
4754
+ token: string;
4755
+ } | {
4756
+ mode: "headers";
4757
+ headers: Record<string, string>;
4758
+ } | {
4759
+ mode: "oauth_client_credentials";
4760
+ clientId: string;
4761
+ clientSecret: string;
4762
+ tokenEndpoint?: string | undefined;
4763
+ scope?: string | undefined;
4764
+ };
4765
+ catalogEntryId?: string | undefined;
4680
4766
  description?: string | undefined;
4681
4767
  emoji?: string | undefined;
4682
4768
  transport?: "streamable_http" | "sse" | undefined;
@@ -4716,6 +4802,7 @@ export declare const createApiClient: (baseUrl: string) => {
4716
4802
  tokenEndpoint?: string | undefined;
4717
4803
  scope?: string | undefined;
4718
4804
  };
4805
+ catalogEntryId?: string | undefined;
4719
4806
  description?: string | undefined;
4720
4807
  emoji?: string | undefined;
4721
4808
  transport?: "streamable_http" | "sse" | undefined;
@@ -4732,6 +4819,122 @@ export declare const createApiClient: (baseUrl: string) => {
4732
4819
  };
4733
4820
  }>;
4734
4821
  };
4822
+ } & {
4823
+ v1: {
4824
+ connectors: {
4825
+ catalog: import('hono/client').ClientRequest<string, "/v1/connectors/catalog", {
4826
+ $get: {
4827
+ input: {};
4828
+ output: {
4829
+ readonly error: {
4830
+ readonly type: "connectors_disabled";
4831
+ };
4832
+ };
4833
+ outputFormat: "json";
4834
+ status: 503;
4835
+ } | {
4836
+ input: {};
4837
+ output: {
4838
+ connectors: {
4839
+ id: string;
4840
+ name: string;
4841
+ description: string;
4842
+ iconKey: string;
4843
+ category: string;
4844
+ serverUrl: string;
4845
+ transport: "streamable_http" | "sse";
4846
+ authMode: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
4847
+ oauthScope: string | null;
4848
+ oauthAuthorizationParams: {
4849
+ readonly [x: string]: string;
4850
+ } | null;
4851
+ oauthAppCredentialsRequired: boolean;
4852
+ documentationUrl: string;
4853
+ featured: boolean;
4854
+ preview: boolean;
4855
+ }[];
4856
+ };
4857
+ outputFormat: "json";
4858
+ status: 200;
4859
+ };
4860
+ }>;
4861
+ };
4862
+ };
4863
+ } & {
4864
+ v1: {
4865
+ connectors: {
4866
+ probe: import('hono/client').ClientRequest<string, "/v1/connectors/probe", {
4867
+ $post: {
4868
+ input: {
4869
+ json: {
4870
+ serverUrl: string;
4871
+ transport?: "streamable_http" | "sse" | undefined;
4872
+ };
4873
+ };
4874
+ output: {
4875
+ readonly error: {
4876
+ readonly type: "connectors_disabled";
4877
+ };
4878
+ };
4879
+ outputFormat: "json";
4880
+ status: 503;
4881
+ } | {
4882
+ input: {
4883
+ json: {
4884
+ serverUrl: string;
4885
+ transport?: "streamable_http" | "sse" | undefined;
4886
+ };
4887
+ };
4888
+ output: {
4889
+ error: {
4890
+ type: string;
4891
+ requiredScope: string;
4892
+ };
4893
+ };
4894
+ outputFormat: "json";
4895
+ status: 403;
4896
+ } | {
4897
+ input: {
4898
+ json: {
4899
+ serverUrl: string;
4900
+ transport?: "streamable_http" | "sse" | undefined;
4901
+ };
4902
+ };
4903
+ output: {
4904
+ transport: "streamable_http" | "sse";
4905
+ auth: {
4906
+ readonly mode: "none";
4907
+ readonly toolCount: number;
4908
+ } | {
4909
+ readonly mode: "oauth";
4910
+ readonly registration: "dynamic" | "client_id_required";
4911
+ readonly authorizationServerOrigin: string;
4912
+ readonly scope: string | null;
4913
+ } | {
4914
+ readonly mode: "bearer";
4915
+ };
4916
+ };
4917
+ outputFormat: "json";
4918
+ status: 200;
4919
+ } | {
4920
+ input: {
4921
+ json: {
4922
+ serverUrl: string;
4923
+ transport?: "streamable_http" | "sse" | undefined;
4924
+ };
4925
+ };
4926
+ output: {
4927
+ error: {
4928
+ type: string;
4929
+ message: string;
4930
+ };
4931
+ };
4932
+ outputFormat: "json";
4933
+ status: 422;
4934
+ };
4935
+ }>;
4936
+ };
4937
+ };
4735
4938
  } & {
4736
4939
  v1: {
4737
4940
  connectors: {
@@ -69,6 +69,24 @@ export type ConnectorSummary = {
69
69
  readonly lastDiscoveredAt: string | null;
70
70
  readonly createdAt: string;
71
71
  };
72
+ /** Platform-owned setup metadata for one marketplace card. It never carries a
73
+ * token, client secret, or any other user credential. */
74
+ export type ConnectorCatalogEntry = {
75
+ readonly id: string;
76
+ readonly name: string;
77
+ readonly description: string;
78
+ readonly iconKey: string;
79
+ readonly category: string;
80
+ readonly serverUrl: string;
81
+ readonly transport: ConnectorTransport;
82
+ readonly authMode: ConnectorAuthMode;
83
+ readonly oauthScope: string | null;
84
+ readonly oauthAuthorizationParams: Readonly<Record<string, string>> | null;
85
+ readonly oauthAppCredentialsRequired: boolean;
86
+ readonly documentationUrl: string;
87
+ readonly featured: boolean;
88
+ readonly preview: boolean;
89
+ };
72
90
  /**
73
91
  * The credential a CREATE sends.
74
92
  *
@@ -136,6 +154,8 @@ export type ConnectorListResult = {
136
154
  };
137
155
  export declare const listConnectorsRequest: (api: ApiClient, signal?: AbortSignal) => Promise<ConnectorListResult>;
138
156
  export declare const useConnectors: () => import('@tanstack/react-query').UseQueryResult<NoInfer<ConnectorListResult>, Error>;
157
+ export declare const listConnectorCatalogRequest: (api: ApiClient, signal?: AbortSignal) => Promise<readonly ConnectorCatalogEntry[]>;
158
+ export declare const useConnectorCatalog: () => import('@tanstack/react-query').UseQueryResult<NoInfer<readonly ConnectorCatalogEntry[]>, Error>;
139
159
  /**
140
160
  * Does this deployment have connectors at all?
141
161
  *
@@ -146,6 +166,7 @@ export declare const useConnectors: () => import('@tanstack/react-query').UseQue
146
166
  */
147
167
  export declare const useConnectorsFeatureAbsent: () => boolean;
148
168
  export type CreateConnectorInput = {
169
+ readonly catalogEntryId?: string;
149
170
  readonly name: string;
150
171
  readonly description: string;
151
172
  readonly emoji?: string;
@@ -178,6 +199,10 @@ export type CreateConnectorOutcome = {
178
199
  readonly alias: string;
179
200
  } | {
180
201
  readonly status: "invalid_name";
202
+ } | {
203
+ readonly status: "catalog_entry_not_found";
204
+ } | {
205
+ readonly status: "catalog_oauth_not_configured";
181
206
  } | {
182
207
  readonly status: "limit_reached";
183
208
  readonly maxCount: number;
@@ -300,6 +325,53 @@ export type DeleteConnectorOutcome = {
300
325
  } | {
301
326
  readonly status: "error";
302
327
  };
328
+ /**
329
+ * Which credential an address turned out to want. Mirrors the cloud's
330
+ * `ConnectorAuthSuggestion` — restated rather than imported for the reason at
331
+ * the top of `connector-form.ts`: the dock ships independently of the cell it
332
+ * talks to, so its perimeter is a zod schema over the wire shape, not a type
333
+ * import that a version skew would silently invalidate.
334
+ */
335
+ export type ConnectorAuthSuggestion = {
336
+ readonly mode: "none";
337
+ readonly toolCount: number;
338
+ } | {
339
+ readonly mode: "oauth";
340
+ /** `client_id_required` = the user must make an app in the provider's
341
+ * console first, which is a different amount of work and has to be said
342
+ * before they press Add. */
343
+ readonly registration: "dynamic" | "client_id_required";
344
+ readonly authorizationServerOrigin: string;
345
+ readonly scope: string | null;
346
+ } | {
347
+ readonly mode: "bearer";
348
+ };
349
+ /**
350
+ * What asking an address produced.
351
+ *
352
+ * The failure arms are the two a CREATE answers with, on purpose: a probe and
353
+ * a create dial the same server under the same guards, so an address that
354
+ * cannot be probed is one that cannot be added, and the dock says so with the
355
+ * copy it already has.
356
+ */
357
+ export type ProbeConnectorOutcome = {
358
+ readonly status: "probed";
359
+ readonly transport: ConnectorTransport;
360
+ readonly auth: ConnectorAuthSuggestion;
361
+ } | {
362
+ readonly status: "url_blocked";
363
+ readonly message: string;
364
+ } | {
365
+ readonly status: "discovery_failed";
366
+ readonly failure: ConnectorDiscoveryFailure;
367
+ readonly message: string;
368
+ } | {
369
+ readonly status: "forbidden";
370
+ } | {
371
+ readonly status: "featureAbsent";
372
+ } | {
373
+ readonly status: "error";
374
+ };
303
375
  /**
304
376
  * What asking to sign in produced. `ready` carries the ONE address the dock
305
377
  * opens; every other arm is a different sentence, because each is a different
@@ -343,6 +415,22 @@ export declare const useUpdateConnector: () => import('@tanstack/react-query').U
343
415
  readonly connectorId: string;
344
416
  readonly patch: UpdateConnectorPatch;
345
417
  }, unknown>;
418
+ /**
419
+ * Ask an address what credential it wants, while the user is still typing it.
420
+ *
421
+ * NOT a query: it is triggered by an edit rather than by a mounted surface,
422
+ * and its answer is a one-off used to pre-fill a form — caching it under a key
423
+ * would mean a second paste of the same URL never re-asks a server the user
424
+ * has since fixed.
425
+ *
426
+ * A failure NEVER blocks the form. The user can still press Add and get the
427
+ * real create's answer; the probe is there to make the common case correct,
428
+ * not to become a second gate in front of it.
429
+ */
430
+ export declare const useProbeConnector: () => import('@tanstack/react-query').UseMutationResult<ProbeConnectorOutcome, Error, {
431
+ readonly serverUrl: string;
432
+ readonly transport: ConnectorTransport;
433
+ }, unknown>;
346
434
  export declare const useRefreshConnector: () => import('@tanstack/react-query').UseMutationResult<RefreshConnectorOutcome, Error, string, unknown>;
347
435
  /**
348
436
  * Ask the server to begin "sign in with the provider" for one connector.
@@ -37,4 +37,5 @@ export declare const queryKeys: {
37
37
  */
38
38
  connectors: readonly ["belong", "connectors"];
39
39
  connectorList: readonly ["belong", "connectors", "list"];
40
+ connectorCatalog: readonly ["belong", "connectors", "catalog"];
40
41
  };
@@ -1,6 +1,6 @@
1
- import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-DSge-zbv.js";
2
- import { p as f } from "./chunk-JWPE2WC7-BKBsGsHG.js";
3
- import { _ as a, l as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-CeaiyGYA.js";
2
+ import { p as f } from "./chunk-JWPE2WC7-BzOJ0gSs.js";
3
+ import { _ as a, l as o } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
4
4
  import { M as c, b as g } from "./cynefin-VYW2F7L2-DAyxamLw.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
@@ -87,4 +87,4 @@ var b = g().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ a((e) => {
87
87
  export {
88
88
  T as diagram
89
89
  };
90
- //# sourceMappingURL=abnfDiagram-N423BO3Z-CZS71qjo.js.map
90
+ //# sourceMappingURL=abnfDiagram-N423BO3Z-DAMVrmeh.js.map
@@ -1,4 +1,4 @@
1
- import { H as ln, I as an, J as g, K as on, M as Q, N as w, O as _, P as sn, Q as rn, S as X, T as t, V as J, W as un, X as tn, Y as fn } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { H as ln, I as an, J as g, K as on, M as Q, N as w, O as _, P as sn, Q as rn, S as X, T as t, V as J, W as un, X as tn, Y as fn } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  function cn(l) {
@@ -83,4 +83,4 @@ function xn() {
83
83
  export {
84
84
  xn as d
85
85
  };
86
- //# sourceMappingURL=arc-CztymUZ_.js.map
86
+ //# sourceMappingURL=arc-Gc-Ug7JA.js.map
@@ -1,5 +1,5 @@
1
- import { p as ke } from "./chunk-JWPE2WC7-BKBsGsHG.js";
2
- import { ba as qe, _ as ct, G as Qe, ag as Je, l as Se, b as Ke, a as je, o as _e, p as tr, g as er, s as rr, q as ir, D as ar, z as nr, E as or, c as me, b2 as Ee, al as ve, i as sr, d as hr, r as lr, am as fr, bb as cr } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { p as ke } from "./chunk-JWPE2WC7-BzOJ0gSs.js";
2
+ import { ba as qe, _ as ct, G as Qe, ag as Je, l as Se, b as Ke, a as je, o as _e, p as tr, g as er, s as rr, q as ir, D as ar, z as nr, E as or, c as me, b2 as Ee, al as ve, i as sr, d as hr, r as lr, am as fr, bb as cr } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
3
3
  import { p as gr } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
4
  import { c as Fe } from "./cytoscape.esm-C31R6JOv.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
@@ -4781,4 +4781,4 @@ var Ur = /* @__PURE__ */ ct(async (w, F, M, P) => {
4781
4781
  export {
4782
4782
  zr as diagram
4783
4783
  };
4784
- //# sourceMappingURL=architectureDiagram-T3A2C74G-Dg9ZE0Qp.js.map
4784
+ //# sourceMappingURL=architectureDiagram-T3A2C74G-DEETzZJN.js.map
@@ -1,7 +1,7 @@
1
- import { g as de } from "./chunk-5VM5RSS4-CXdsy-yn.js";
2
- import { aD as pe, aE as Kt, aF as fe, aG as xe, aH as ye, aI as be, aJ as we, aK as me, aL as Se, aM as Le, aN as ke, aO as ve, aP as Ee, aQ as _e, aR as Te, aS as De, aT as Be, aU as Ne, aV as Ie, aW as Ce, aX as Oe, aY as Re, aZ as Ae, a_ as ze, a$ as Me, _ as g, z as rt, d as D, e as Pe, l as k, q as Fe, t as We, c as R, b0 as Ye, aa as He, ab as Ke, a6 as Ue, b1 as M, b2 as kt, b3 as Q, av as Xe, y as $, k as Ve, b4 as je, i as Ct, b5 as Ot, b6 as Ge } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { g as de } from "./chunk-5VM5RSS4-DfsJf4Z4.js";
2
+ import { aD as pe, aE as Kt, aF as fe, aG as xe, aH as ye, aI as be, aJ as we, aK as me, aL as Se, aM as Le, aN as ke, aO as ve, aP as Ee, aQ as _e, aR as Te, aS as De, aT as Be, aU as Ne, aV as Ie, aW as Ce, aX as Oe, aY as Re, aZ as Ae, a_ as ze, a$ as Me, _ as g, z as rt, d as D, e as Pe, l as k, q as Fe, t as We, c as R, b0 as Ye, aa as He, ab as Ke, a6 as Ue, b1 as M, b2 as kt, b3 as Q, av as Xe, y as $, k as Ve, b4 as je, i as Ct, b5 as Ot, b6 as Ge } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
3
3
  import { G as Ze } from "./graph-CWpEkm4G.js";
4
- import { c as qe } from "./channel-Cy1msWjd.js";
4
+ import { c as qe } from "./channel-PLzmp3cE.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  function Je(e) {
@@ -2419,4 +2419,4 @@ var Ea = /* @__PURE__ */ g(function(e, t) {
2419
2419
  export {
2420
2420
  Ca as diagram
2421
2421
  };
2422
- //# sourceMappingURL=blockDiagram-VBNYF7ZC-DngLqsTJ.js.map
2422
+ //# sourceMappingURL=blockDiagram-VBNYF7ZC-B63eqqq8.js.map
@@ -1,5 +1,5 @@
1
- import { g as Oe, d as Re } from "./chunk-2GRJ4B5K-BP6YBz9_.js";
2
- import { s as Se, g as De, a as Pe, b as Be, _ as y, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { g as Oe, d as Re } from "./chunk-2GRJ4B5K-B6eq3oGl.js";
2
+ import { s as Se, g as De, a as Pe, b as Be, _ as y, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var jt = (function() {
@@ -1583,4 +1583,4 @@ var T0 = /* @__PURE__ */ y(function(e, t, s, o) {
1583
1583
  export {
1584
1584
  P0 as diagram
1585
1585
  };
1586
- //# sourceMappingURL=c4Diagram-5PPSVZJV-Dv9PRH6O.js.map
1586
+ //# sourceMappingURL=c4Diagram-5PPSVZJV-B1BOYc8g.js.map
@@ -1,8 +1,8 @@
1
- import { U as s, C as a } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { U as s, C as a } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  const g = (l, o) => s.lang.round(a.parse(l)[o]);
5
5
  export {
6
6
  g as c
7
7
  };
8
- //# sourceMappingURL=channel-Cy1msWjd.js.map
8
+ //# sourceMappingURL=channel-PLzmp3cE.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l, d as n, n as d, j as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as l, d as n, n as d, j as o } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var c = /* @__PURE__ */ l((r, t) => {
@@ -68,4 +68,4 @@ export {
68
68
  m as g,
69
69
  y as h
70
70
  };
71
- //# sourceMappingURL=chunk-2GRJ4B5K-BP6YBz9_.js.map
71
+ //# sourceMappingURL=chunk-2GRJ4B5K-B6eq3oGl.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var a = class {
@@ -18,4 +18,4 @@ var a = class {
18
18
  export {
19
19
  a as I
20
20
  };
21
- //# sourceMappingURL=chunk-2Q5K7J3B-BfWYZyaV.js.map
21
+ //# sourceMappingURL=chunk-2Q5K7J3B-B7muvlHI.js.map
@@ -1,7 +1,7 @@
1
- import { g as te } from "./chunk-XXDRQBXY-K9dZrAbB.js";
2
- import { s as ee } from "./chunk-KBJHAD2P-CZBTReK1.js";
3
- import { _ as f, l as _, c as $, x as se, y as ie, a as re, b as ae, g as ne, s as oe, o as le, p as ce, ac as he, k as j, q as ue, d as bt, a8 as de } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
4
- import { f as fe } from "./chunk-2GRJ4B5K-BP6YBz9_.js";
1
+ import { g as te } from "./chunk-XXDRQBXY-BUnNxHRd.js";
2
+ import { s as ee } from "./chunk-KBJHAD2P-B_0sEXXZ.js";
3
+ import { _ as f, l as _, c as $, x as se, y as ie, a as re, b as ae, g as ne, s as oe, o as le, p as ce, ac as he, k as j, q as ue, d as bt, a8 as de } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
4
+ import { f as fe } from "./chunk-2GRJ4B5K-B6eq3oGl.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  var vt = (function() {
@@ -1414,4 +1414,4 @@ export {
1414
1414
  We as b,
1415
1415
  He as s
1416
1416
  };
1417
- //# sourceMappingURL=chunk-5RXB4S5H-Wn88BCO0.js.map
1417
+ //# sourceMappingURL=chunk-5RXB4S5H-DwKu1vp-.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as l } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var o = /* @__PURE__ */ l(() => `
@@ -19,4 +19,4 @@ var o = /* @__PURE__ */ l(() => `
19
19
  export {
20
20
  o as g
21
21
  };
22
- //# sourceMappingURL=chunk-5VM5RSS4-CXdsy-yn.js.map
22
+ //# sourceMappingURL=chunk-5VM5RSS4-DfsJf4Z4.js.map
@@ -1,4 +1,4 @@
1
- import { _ as p, l as w, G as L, z as E, q as I, Z as X, e as q, i as G, c as H } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as p, l as w, G as L, z as E, q as I, Z as X, e as q, i as G, c as H } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var z = "", b = "", N = "", A = [], R = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ p((e) => G(e, H()), "sanitizeText"), F = /* @__PURE__ */ p((e) => {
@@ -670,4 +670,4 @@ export {
670
670
  ue as g,
671
671
  ge as r
672
672
  };
673
- //# sourceMappingURL=chunk-6Q2QTUOP-DSge-zbv.js.map
673
+ //# sourceMappingURL=chunk-6Q2QTUOP-CeaiyGYA.js.map
@@ -1,8 +1,8 @@
1
- import { g as tt } from "./chunk-5VM5RSS4-CXdsy-yn.js";
2
- import { g as st } from "./chunk-XXDRQBXY-K9dZrAbB.js";
3
- import { s as it } from "./chunk-KBJHAD2P-CZBTReK1.js";
4
- import { _ as f, l as Ie, c as F, v as at, x as nt, y as Oe, d as de, a8 as rt, b as ut, a as lt, s as ct, g as ot, o as ht, p as dt, k as I, q as pt, r as At, i as ft, a9 as G } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
5
- import { f as gt } from "./chunk-2GRJ4B5K-BP6YBz9_.js";
1
+ import { g as tt } from "./chunk-5VM5RSS4-DfsJf4Z4.js";
2
+ import { g as st } from "./chunk-XXDRQBXY-BUnNxHRd.js";
3
+ import { s as it } from "./chunk-KBJHAD2P-B_0sEXXZ.js";
4
+ import { _ as f, l as Ie, c as F, v as at, x as nt, y as Oe, d as de, a8 as rt, b as ut, a as lt, s as ct, g as ot, o as ht, p as dt, k as I, q as pt, r as At, i as ft, a9 as G } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
5
+ import { f as gt } from "./chunk-2GRJ4B5K-B6eq3oGl.js";
6
6
  globalThis.process = globalThis.process || { env: {} };
7
7
  globalThis.global = globalThis.global || globalThis;
8
8
  var we = (function() {
@@ -1539,4 +1539,4 @@ export {
1539
1539
  Nt as c,
1540
1540
  St as s
1541
1541
  };
1542
- //# sourceMappingURL=chunk-GF5L2VYU-7kov7TtI.js.map
1542
+ //# sourceMappingURL=chunk-GF5L2VYU-CNmM7mNX.js.map
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as e } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  function i(l, o) {
@@ -8,4 +8,4 @@ e(i, "populateCommonDb");
8
8
  export {
9
9
  i as p
10
10
  };
11
- //# sourceMappingURL=chunk-JWPE2WC7-BKBsGsHG.js.map
11
+ //# sourceMappingURL=chunk-JWPE2WC7-BzOJ0gSs.js.map
@@ -1,4 +1,4 @@
1
- import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var b = /* @__PURE__ */ s((e, o, t, a) => {
@@ -19,4 +19,4 @@ var b = /* @__PURE__ */ s((e, o, t, a) => {
19
19
  export {
20
20
  b as s
21
21
  };
22
- //# sourceMappingURL=chunk-KBJHAD2P-CZBTReK1.js.map
22
+ //# sourceMappingURL=chunk-KBJHAD2P-B_0sEXXZ.js.map
@@ -1,4 +1,4 @@
1
- import { _ as u, l as i } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as u, l as i } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  import { i as g, G as y } from "./graph-CWpEkm4G.js";
3
3
  import { b as B, m as X } from "./map-CdwokNh2.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
@@ -313,4 +313,4 @@ export {
313
313
  W as s,
314
314
  b as w
315
315
  };
316
- //# sourceMappingURL=chunk-RYQCIY6F-DanZm73E.js.map
316
+ //# sourceMappingURL=chunk-RYQCIY6F-CzrE1hmt.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l, d as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as l, d as o } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var b = /* @__PURE__ */ l((s, a) => {
@@ -8,4 +8,4 @@ var b = /* @__PURE__ */ l((s, a) => {
8
8
  export {
9
9
  b as g
10
10
  };
11
- //# sourceMappingURL=chunk-XXDRQBXY-K9dZrAbB.js.map
11
+ //# sourceMappingURL=chunk-XXDRQBXY-BUnNxHRd.js.map
@@ -1,5 +1,5 @@
1
- import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-7kov7TtI.js";
2
- import { _ as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-CNmM7mNX.js";
2
+ import { _ as o } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var b = {
@@ -16,4 +16,4 @@ var b = {
16
16
  export {
17
17
  b as diagram
18
18
  };
19
- //# sourceMappingURL=classDiagram-JCYQIIEL-DgVNXgGq.js.map
19
+ //# sourceMappingURL=classDiagram-JCYQIIEL-9VG4K9gL.js.map
@@ -1,5 +1,5 @@
1
- import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-7kov7TtI.js";
2
- import { _ as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-CNmM7mNX.js";
2
+ import { _ as o } from "./mermaid-GHXKKRXX-p-OyUfKz.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var b = {
@@ -16,4 +16,4 @@ var b = {
16
16
  export {
17
17
  b as diagram
18
18
  };
19
- //# sourceMappingURL=classDiagram-v2-OCEON4UE-DgVNXgGq.js.map
19
+ //# sourceMappingURL=classDiagram-v2-OCEON4UE-9VG4K9gL.js.map