@belonguniverseai/react-sdk 0.6.14 → 0.6.15

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 (64) hide show
  1. package/dist/api/agent-grant-status.d.ts +20 -0
  2. package/dist/api/agent-grants.d.ts +95 -38
  3. package/dist/api/client.d.ts +122 -2
  4. package/dist/component/{abnfDiagram-N423BO3Z-NaCsxUzn.js → abnfDiagram-N423BO3Z-BHtc0bvC.js} +4 -4
  5. package/dist/component/{arc-DcLjFLQl.js → arc-Cm9wcWlx.js} +2 -2
  6. package/dist/component/{architectureDiagram-T3A2C74G-CqDJMq5W.js → architectureDiagram-T3A2C74G-B5Uz6lDY.js} +3 -3
  7. package/dist/component/{blockDiagram-VBNYF7ZC-BOVlayo-.js → blockDiagram-VBNYF7ZC-DtXwzBny.js} +4 -4
  8. package/dist/component/{c4Diagram-5PPSVZJV-x2J83ild.js → c4Diagram-5PPSVZJV-BvFhvePm.js} +3 -3
  9. package/dist/component/{channel-DdfWkupw.js → channel-D3rCn2In.js} +2 -2
  10. package/dist/component/{chunk-2GRJ4B5K-Cq82o0X4.js → chunk-2GRJ4B5K-BrKpH2JP.js} +2 -2
  11. package/dist/component/{chunk-2Q5K7J3B-A09eI9PF.js → chunk-2Q5K7J3B-BN7qA4Zt.js} +2 -2
  12. package/dist/component/{chunk-5RXB4S5H-CVzff0h3.js → chunk-5RXB4S5H-xmyGOu7k.js} +5 -5
  13. package/dist/component/{chunk-5VM5RSS4-BMUzO1Yf.js → chunk-5VM5RSS4-Bo9mNteC.js} +2 -2
  14. package/dist/component/{chunk-6Q2QTUOP-DvEP1W3s.js → chunk-6Q2QTUOP-o1oblyO-.js} +2 -2
  15. package/dist/component/{chunk-GF5L2VYU--iFTuQXR.js → chunk-GF5L2VYU-CBhzNfdK.js} +6 -6
  16. package/dist/component/{chunk-JWPE2WC7-DVacLGSp.js → chunk-JWPE2WC7-CRCYILZC.js} +2 -2
  17. package/dist/component/{chunk-KBJHAD2P-CsPWEvTV.js → chunk-KBJHAD2P-CC4Una6D.js} +2 -2
  18. package/dist/component/{chunk-RYQCIY6F-DghjJm8u.js → chunk-RYQCIY6F--pWAXq1Z.js} +2 -2
  19. package/dist/component/{chunk-XXDRQBXY-CFAd8CCP.js → chunk-XXDRQBXY-DuNREPyH.js} +2 -2
  20. package/dist/component/{classDiagram-JCYQIIEL-CghXyV1L.js → classDiagram-JCYQIIEL-Hok8J7EG.js} +3 -3
  21. package/dist/component/{classDiagram-v2-OCEON4UE-CghXyV1L.js → classDiagram-v2-OCEON4UE-Hok8J7EG.js} +3 -3
  22. package/dist/component/{cose-bilkent-JH36ORCC-BMpdcx49.js → cose-bilkent-JH36ORCC-BfqjApDt.js} +2 -2
  23. package/dist/component/{cynefinDiagram-MW4NZA55-D2TuXxi6.js → cynefinDiagram-MW4NZA55-BJZ-okQI.js} +3 -3
  24. package/dist/component/{dagre-VZM6K2ZE-CFJjbr_k.js → dagre-VZM6K2ZE-6H6WAA1H.js} +3 -3
  25. package/dist/component/{diagram-7IWD3JNH-BHAvaju5.js → diagram-7IWD3JNH-BQQttfZd.js} +4 -4
  26. package/dist/component/{diagram-B4RE2ZJO-BNDTIOLy.js → diagram-B4RE2ZJO-Cb17vtkY.js} +3 -3
  27. package/dist/component/{diagram-LBJQPF4R-Bu_f3J2T.js → diagram-LBJQPF4R-DnfooUZj.js} +3 -3
  28. package/dist/component/{diagram-Q27KOJAE-GfK-VzVy.js → diagram-Q27KOJAE-BUHBKgXu.js} +4 -4
  29. package/dist/component/{diagram-UB23O5K3-HPu2U74r.js → diagram-UB23O5K3-B9W7R9HH.js} +3 -3
  30. package/dist/component/{ebnfDiagram-BXEA7PRR-BTNZWzRn.js → ebnfDiagram-BXEA7PRR-CzDJ9VKS.js} +4 -4
  31. package/dist/component/{erDiagram-JOGREHBK-Cur7QmvG.js → erDiagram-JOGREHBK-CiKy87rC.js} +5 -5
  32. package/dist/component/{flowDiagram-UKHOOZJN-CoMX_VjR.js → flowDiagram-UKHOOZJN-BJXlwNPw.js} +7 -7
  33. package/dist/component/{ganttDiagram-PKOTCBZU-DkfQB1Og.js → ganttDiagram-PKOTCBZU-DTKr0mnS.js} +3 -3
  34. package/dist/component/{gitGraphDiagram-DS77QQ5N-AvEWoqV9.js → gitGraphDiagram-DS77QQ5N-BqE9LM8q.js} +4 -4
  35. package/dist/component/{highlighted-body-OFNGDK62-BjGOXO77.js → highlighted-body-OFNGDK62-CIm9H1Wq.js} +2 -2
  36. package/dist/component/index.js +1 -1
  37. package/dist/component/{infoDiagram-6WML65LV-C1d3h-Nb.js → infoDiagram-6WML65LV-DFm8QCR-.js} +2 -2
  38. package/dist/component/{ishikawaDiagram-WSZJBQD7-D-aoYgNB.js → ishikawaDiagram-WSZJBQD7-Dzu5X93V.js} +2 -2
  39. package/dist/component/{journeyDiagram-NVQOT4AX-CZiogznz.js → journeyDiagram-NVQOT4AX-B2jpJoxA.js} +5 -5
  40. package/dist/component/{kanban-definition-27J2QSJJ-DTRBswOj.js → kanban-definition-27J2QSJJ-DqqjEEqN.js} +3 -3
  41. package/dist/component/{linear-BLNBNKRy.js → linear-VKGrBjVp.js} +2 -2
  42. package/dist/component/{mermaid-GHXKKRXX-CefWzb33.js → mermaid-GHXKKRXX-CvjBCI1T.js} +18311 -18149
  43. package/dist/component/{mindmap-definition-FAOFIHXS-DFVR-z89.js → mindmap-definition-FAOFIHXS-BxXZphfo.js} +4 -4
  44. package/dist/component/{pegDiagram-VL7TDLO6-B1G8ZemH.js → pegDiagram-VL7TDLO6-BB6KBO45.js} +4 -4
  45. package/dist/component/{pieDiagram-7S7Q4E2Y-C93lVPKA.js → pieDiagram-7S7Q4E2Y-BhUDtn0U.js} +4 -4
  46. package/dist/component/{quadrantDiagram-CIZ2JOQS-D3IpSIHL.js → quadrantDiagram-CIZ2JOQS-BekTYpN9.js} +3 -3
  47. package/dist/component/{railroadDiagram-AXF67PYL-CGb_UJbc.js → railroadDiagram-AXF67PYL-NkCqFfeB.js} +4 -4
  48. package/dist/component/{requirementDiagram-LRYGKXZP-I0a_lY8Z.js → requirementDiagram-LRYGKXZP-DgUbvazW.js} +4 -4
  49. package/dist/component/{sankeyDiagram-W5VNT64P-BO3ZoVE0.js → sankeyDiagram-W5VNT64P-BaS-5dxg.js} +2 -2
  50. package/dist/component/{sequenceDiagram-SI44F4Z6-Cm9van6N.js → sequenceDiagram-SI44F4Z6-Brxy8LqB.js} +4 -4
  51. package/dist/component/{sizeCapture-X5ZJPWSS-C3cBgV49.js → sizeCapture-X5ZJPWSS-D3PazIzZ.js} +2 -2
  52. package/dist/component/{stateDiagram-OKZ733FA-p8Eai-50.js → stateDiagram-OKZ733FA-DzRMa7xz.js} +3 -3
  53. package/dist/component/{stateDiagram-v2-UEYNNEHI-BSgwoFue.js → stateDiagram-v2-UEYNNEHI-5JRd_Kex.js} +3 -3
  54. package/dist/component/{swimlanes-SLNWSIFB-BzCCYFnU.js → swimlanes-SLNWSIFB-DZR-oUnN.js} +4 -4
  55. package/dist/component/{swimlanesDiagram-ULZ7WXOC-fvuNRxgt.js → swimlanesDiagram-ULZ7WXOC-Dn9jdzUC.js} +3 -3
  56. package/dist/component/{timeline-definition-Z64GVDOM-CR-kM3Gp.js → timeline-definition-Z64GVDOM-BTWa173z.js} +3 -3
  57. package/dist/component/{vennDiagram-T6HMQDX7-CxnJCEHP.js → vennDiagram-T6HMQDX7-BwE-iIK-.js} +2 -2
  58. package/dist/component/{wardleyDiagram-T6FBY63Y-ieTS-hMd.js → wardleyDiagram-T6FBY63Y-H_pDULPZ.js} +3 -3
  59. package/dist/component/{xychartDiagram-ELKLHX3M-DScTUzeU.js → xychartDiagram-ELKLHX3M-DNBPqOgR.js} +3 -3
  60. package/dist/components/embed/AgentGrantAutoConnect.d.ts +35 -0
  61. package/dist/embed/agent-grant-lock.d.ts +14 -0
  62. package/dist/embed/agent-grant-refresh.d.ts +1 -1
  63. package/dist/embed/voice/session-create.d.ts +15 -4
  64. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare const agentGrantStatusViewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ status: z.ZodLiteral<"none">;
4
+ }, z.core.$strip>, z.ZodObject<{
5
+ status: z.ZodEnum<{
6
+ active: "active";
7
+ expired: "expired";
8
+ revoked: "revoked";
9
+ reauth_required: "reauth_required";
10
+ preparing: "preparing";
11
+ install_degraded: "install_degraded";
12
+ }>;
13
+ grantId: z.ZodString;
14
+ provider: z.ZodString;
15
+ scopeExternalId: z.ZodString;
16
+ grantedAt: z.ZodNullable<z.ZodISODateTime>;
17
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
18
+ installedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>, z.ZodTransform<string | null, string | null | undefined>>;
19
+ }, z.core.$strip>], "status">;
20
+ export type AgentGrantStatusView = z.infer<typeof agentGrantStatusViewSchema>;
@@ -1,20 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { ApiClient } from './client.ts';
3
- declare const agentGrantStatusViewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
- status: z.ZodLiteral<"none">;
5
- }, z.core.$strip>, z.ZodObject<{
6
- status: z.ZodEnum<{
7
- active: "active";
8
- expired: "expired";
9
- revoked: "revoked";
10
- }>;
11
- grantId: z.ZodString;
12
- provider: z.ZodString;
13
- scopeExternalId: z.ZodString;
14
- grantedAt: z.ZodNullable<z.ZodISODateTime>;
15
- expiresAt: z.ZodNullable<z.ZodISODateTime>;
16
- }, z.core.$strip>], "status">;
17
- export type AgentGrantStatusView = z.infer<typeof agentGrantStatusViewSchema>;
3
+ import { AgentGrantStatusView } from './agent-grant-status.ts';
4
+ import { AgentGrantLock } from '../embed/agent-grant-lock.ts';
5
+ export type { AgentGrantStatusView } from './agent-grant-status.ts';
18
6
  export type AgentGrantSourceTrigger = "auto_connect" | "preemptive_refresh" | "reactive_reconnect";
19
7
  export type CreateAgentGrantRequestInput = {
20
8
  readonly provider: string;
@@ -30,12 +18,13 @@ export declare const useAgentGrantStatus: (input: {
30
18
  } | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
31
19
  status: "none";
32
20
  } | {
33
- status: "active" | "expired" | "revoked";
21
+ status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
34
22
  grantId: string;
35
23
  provider: string;
36
24
  scopeExternalId: string;
37
25
  grantedAt: string | null;
38
26
  expiresAt: string | null;
27
+ installedAt: string | null;
39
28
  }>, Error>;
40
29
  /**
41
30
  * The backend error type for a rate-limited mint (BEL-178). Its own status +
@@ -52,6 +41,8 @@ export type GrantRetryOptions = {
52
41
  readonly sleep?: (ms: number) => Promise<void>;
53
42
  readonly random?: () => number;
54
43
  readonly now?: () => number;
44
+ /** Injectable only so cross-tab serialization is deterministic in tests. */
45
+ readonly agentGrantLock?: AgentGrantLock;
55
46
  /**
56
47
  * Fired once, BEFORE the rate-limit wait, so the surface can say why nothing
57
48
  * is happening ("retrying automatically in 60 s") instead of showing a
@@ -82,28 +73,58 @@ export declare const isSessionLimitedGrantError: (error: unknown) => boolean;
82
73
  * otherwise one React retry chain can still create multiple orphan sessions.
83
74
  */
84
75
  export declare const isPostMintGrantError: (error: unknown) => boolean;
76
+ declare const createAgentGrantResultSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
77
+ state: z.ZodEnum<{
78
+ active: "active";
79
+ preparing: "preparing";
80
+ }>;
81
+ grantId: z.ZodString;
82
+ expiresAt: z.ZodISODateTime;
83
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
84
+ grantId: z.ZodString;
85
+ expiresAt: z.ZodISODateTime;
86
+ }, z.core.$strip>, z.ZodTransform<{
87
+ state: "active";
88
+ grantId: string;
89
+ expiresAt: string;
90
+ }, {
91
+ grantId: string;
92
+ expiresAt: string;
93
+ }>>]>, z.ZodTransform<{
94
+ state: "active";
95
+ grantId: string;
96
+ expiresAt: string;
97
+ } | {
98
+ state: "active" | "preparing";
99
+ grantId: string;
100
+ expiresAt: string;
101
+ }, {
102
+ state: "active";
103
+ grantId: string;
104
+ expiresAt: string;
105
+ } | {
106
+ state: "active" | "preparing";
107
+ grantId: string;
108
+ expiresAt: string;
109
+ }>>;
110
+ export type CreateAgentGrantResult = z.infer<typeof createAgentGrantResultSchema>;
111
+ export type ReconcileAgentGrantRequestInput = {
112
+ readonly provider: string;
113
+ readonly scopeExternalId: string;
114
+ readonly reconnectId: string;
115
+ };
116
+ export type GrantReconcileOptions = GrantRetryOptions & {
117
+ readonly timeoutMs?: number;
118
+ readonly pollMs?: number;
119
+ };
120
+ export declare const replaceAgentGrantAfterReauthRequest: (api: ApiClient, input: Pick<CreateAgentGrantRequestInput, "provider" | "scopeExternalId">, options?: GrantRetryOptions) => Promise<CreateAgentGrantResult | AgentGrantStatusView>;
85
121
  /**
86
- * POST a grant create with two layers of self-heal:
87
- * 1. Per attempt the 409/429 anti-replay / session-cap force-mint retry
88
- * (see `attemptGrantOnce`).
89
- * 2. Across attempts — a bounded backoff retry for TRANSIENT infra failures
90
- * (502, 503 sandbox_unavailable, network errors — see `runGrantIteration` /
91
- * `isTransientGrantFailure`): up to `maxRetries` retries with full-jitter
92
- * backoff under a total time budget, so a passing Daytona runner blip or a
93
- * sandbox write hiccup self-heals instead of surfacing to the user.
94
- * 3. Server-directed limits (BEL-178) schedule EXACTLY ONE
95
- * retry, at the `retryAfterMs` the backend passed through from the
96
- * provider/local window. It is deliberately outside layer 2's count and
97
- * time budget:
98
- * the provider's window (60 s) is four times the ladder's whole budget,
99
- * so folding it in would either truncate the wait or spend the budget on
100
- * requests guaranteed to be refused. One retry, at the honest time — and
101
- * if that one is refused too, the failure surfaces instead of looping,
102
- * because a second consecutive refusal means the limiter is saturated by
103
- * something we can't fix by asking again.
104
- * Injectable timing/randomness so the whole loop is unit-testable.
122
+ * Reinstall the sealed provider credential before considering a replacement
123
+ * mint. Polling is bounded by the backend reconnect deadline. Only an explicit
124
+ * `reauth_required` state may rotate the host JWT and spend one mint.
105
125
  */
106
- export declare const createAgentGrantRequest: (api: ApiClient, input: CreateAgentGrantRequestInput, opts?: GrantRetryOptions) => Promise<unknown>;
126
+ export declare const reconcileAgentGrantRequest: (api: ApiClient, input: ReconcileAgentGrantRequestInput, options?: GrantReconcileOptions) => Promise<AgentGrantStatusView | CreateAgentGrantResult>;
127
+ export declare const createAgentGrantRequest: (api: ApiClient, input: CreateAgentGrantRequestInput, opts?: GrantRetryOptions) => Promise<CreateAgentGrantResult | AgentGrantStatusView>;
107
128
  /**
108
129
  * BEL-79 fail-fast beacon: tell the backend a reactive reconnect has FAILED for
109
130
  * good (after `createAgentGrantRequest`'s own forceRotate+retry), so the worker's
@@ -118,5 +139,41 @@ export declare const signalReconnectFailedRequest: (api: ApiClient, input: {
118
139
  readonly scopeExternalId: string;
119
140
  readonly reconnectId: string;
120
141
  }) => Promise<void>;
121
- export declare const useCreateAgentGrant: () => import('@tanstack/react-query').UseMutationResult<unknown, Error, CreateAgentGrantRequestInput, unknown>;
122
- export {};
142
+ export declare const useCreateAgentGrant: () => import('@tanstack/react-query').UseMutationResult<{
143
+ status: "none";
144
+ } | {
145
+ status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
146
+ grantId: string;
147
+ provider: string;
148
+ scopeExternalId: string;
149
+ grantedAt: string | null;
150
+ expiresAt: string | null;
151
+ installedAt: string | null;
152
+ } | {
153
+ state: "active";
154
+ grantId: string;
155
+ expiresAt: string;
156
+ } | {
157
+ state: "active" | "preparing";
158
+ grantId: string;
159
+ expiresAt: string;
160
+ }, Error, CreateAgentGrantRequestInput, unknown>;
161
+ export declare const useReplaceAgentGrantAfterReauth: () => import('@tanstack/react-query').UseMutationResult<{
162
+ status: "none";
163
+ } | {
164
+ status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
165
+ grantId: string;
166
+ provider: string;
167
+ scopeExternalId: string;
168
+ grantedAt: string | null;
169
+ expiresAt: string | null;
170
+ installedAt: string | null;
171
+ } | {
172
+ state: "active";
173
+ grantId: string;
174
+ expiresAt: string;
175
+ } | {
176
+ state: "active" | "preparing";
177
+ grantId: string;
178
+ expiresAt: string;
179
+ }, Error, Pick<CreateAgentGrantRequestInput, "provider" | "scopeExternalId">, unknown>;
@@ -3218,11 +3218,28 @@ export declare const createApiClient: (baseUrl: string) => {
3218
3218
  };
3219
3219
  };
3220
3220
  output: {
3221
+ state: "active";
3221
3222
  grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
3222
3223
  expiresAt: string;
3223
3224
  };
3224
3225
  outputFormat: "json";
3225
- status: 201;
3226
+ status: 200;
3227
+ } | {
3228
+ input: {
3229
+ json: {
3230
+ provider: string;
3231
+ scopeExternalId: string;
3232
+ sourceTrigger?: "reactive_reconnect" | "auto_connect" | "preemptive_refresh" | undefined;
3233
+ reconnectId?: string | undefined;
3234
+ };
3235
+ };
3236
+ output: {
3237
+ state: "preparing";
3238
+ grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
3239
+ expiresAt: string;
3240
+ };
3241
+ outputFormat: "json";
3242
+ status: 202;
3226
3243
  } | {
3227
3244
  input: {
3228
3245
  json: {
@@ -3375,6 +3392,22 @@ export declare const createApiClient: (baseUrl: string) => {
3375
3392
  };
3376
3393
  outputFormat: "json";
3377
3394
  status: 502;
3395
+ } | {
3396
+ input: {
3397
+ json: {
3398
+ provider: string;
3399
+ scopeExternalId: string;
3400
+ sourceTrigger?: "reactive_reconnect" | "auto_connect" | "preemptive_refresh" | undefined;
3401
+ reconnectId?: string | undefined;
3402
+ };
3403
+ };
3404
+ output: {
3405
+ error: {
3406
+ type: string;
3407
+ };
3408
+ };
3409
+ outputFormat: "json";
3410
+ status: 500;
3378
3411
  };
3379
3412
  }>;
3380
3413
  };
@@ -3402,12 +3435,13 @@ export declare const createApiClient: (baseUrl: string) => {
3402
3435
  };
3403
3436
  };
3404
3437
  output: {
3405
- status: "active" | "expired" | "revoked";
3438
+ status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
3406
3439
  grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
3407
3440
  provider: string;
3408
3441
  scopeExternalId: string;
3409
3442
  grantedAt: string | null;
3410
3443
  expiresAt: string | null;
3444
+ installedAt: string | null;
3411
3445
  };
3412
3446
  outputFormat: "json";
3413
3447
  status: 200;
@@ -3415,6 +3449,92 @@ export declare const createApiClient: (baseUrl: string) => {
3415
3449
  }>;
3416
3450
  };
3417
3451
  };
3452
+ } & {
3453
+ v1: {
3454
+ "agent-grants": {
3455
+ current: {
3456
+ reconcile: import('hono/client').ClientRequest<string, "/v1/agent-grants/current/reconcile", {
3457
+ $post: {
3458
+ input: {
3459
+ json: {
3460
+ provider: string;
3461
+ scopeExternalId: string;
3462
+ reconnectId: string;
3463
+ };
3464
+ };
3465
+ output: {
3466
+ state: "preparing";
3467
+ grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId;
3468
+ expiresAt: string;
3469
+ };
3470
+ outputFormat: "json";
3471
+ status: 202;
3472
+ } | {
3473
+ input: {
3474
+ json: {
3475
+ provider: string;
3476
+ scopeExternalId: string;
3477
+ reconnectId: string;
3478
+ };
3479
+ };
3480
+ output: {
3481
+ state: "reauth_required";
3482
+ grantId: import('node_modules/@belong/cloud/src/platform/ids').AgentGrantId | null;
3483
+ expiresAt: string | null;
3484
+ };
3485
+ outputFormat: "json";
3486
+ status: 200;
3487
+ } | {
3488
+ input: {
3489
+ json: {
3490
+ provider: string;
3491
+ scopeExternalId: string;
3492
+ reconnectId: string;
3493
+ };
3494
+ };
3495
+ output: {
3496
+ error: {
3497
+ type: "reconcile_in_progress";
3498
+ retryAfterMs: number;
3499
+ };
3500
+ };
3501
+ outputFormat: "json";
3502
+ status: 409;
3503
+ } | {
3504
+ input: {
3505
+ json: {
3506
+ provider: string;
3507
+ scopeExternalId: string;
3508
+ reconnectId: string;
3509
+ };
3510
+ };
3511
+ output: {
3512
+ error: {
3513
+ type: string;
3514
+ };
3515
+ };
3516
+ outputFormat: "json";
3517
+ status: 503;
3518
+ } | {
3519
+ input: {
3520
+ json: {
3521
+ provider: string;
3522
+ scopeExternalId: string;
3523
+ reconnectId: string;
3524
+ };
3525
+ };
3526
+ output: {
3527
+ error: {
3528
+ type: string;
3529
+ };
3530
+ };
3531
+ outputFormat: "json";
3532
+ status: 409;
3533
+ };
3534
+ }>;
3535
+ };
3536
+ };
3537
+ };
3418
3538
  } & {
3419
3539
  v1: {
3420
3540
  "agent-grants": {
@@ -1,6 +1,6 @@
1
- import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-DvEP1W3s.js";
2
- import { p as f } from "./chunk-JWPE2WC7-DVacLGSp.js";
3
- import { _ as a, l as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-o1oblyO-.js";
2
+ import { p as f } from "./chunk-JWPE2WC7-CRCYILZC.js";
3
+ import { _ as a, l as o } from "./mermaid-GHXKKRXX-CvjBCI1T.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-NaCsxUzn.js.map
90
+ //# sourceMappingURL=abnfDiagram-N423BO3Z-BHtc0bvC.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-CefWzb33.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-CvjBCI1T.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-DcLjFLQl.js.map
86
+ //# sourceMappingURL=arc-Cm9wcWlx.js.map
@@ -1,5 +1,5 @@
1
- import { p as ke } from "./chunk-JWPE2WC7-DVacLGSp.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-CefWzb33.js";
1
+ import { p as ke } from "./chunk-JWPE2WC7-CRCYILZC.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-CvjBCI1T.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-CqDJMq5W.js.map
4784
+ //# sourceMappingURL=architectureDiagram-T3A2C74G-B5Uz6lDY.js.map
@@ -1,7 +1,7 @@
1
- import { g as de } from "./chunk-5VM5RSS4-BMUzO1Yf.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-CefWzb33.js";
1
+ import { g as de } from "./chunk-5VM5RSS4-Bo9mNteC.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-CvjBCI1T.js";
3
3
  import { G as Ze } from "./graph-CWpEkm4G.js";
4
- import { c as qe } from "./channel-DdfWkupw.js";
4
+ import { c as qe } from "./channel-D3rCn2In.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-BOVlayo-.js.map
2422
+ //# sourceMappingURL=blockDiagram-VBNYF7ZC-DtXwzBny.js.map
@@ -1,5 +1,5 @@
1
- import { g as Oe, d as Re } from "./chunk-2GRJ4B5K-Cq82o0X4.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-CefWzb33.js";
1
+ import { g as Oe, d as Re } from "./chunk-2GRJ4B5K-BrKpH2JP.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-CvjBCI1T.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-x2J83ild.js.map
1586
+ //# sourceMappingURL=c4Diagram-5PPSVZJV-BvFhvePm.js.map
@@ -1,8 +1,8 @@
1
- import { U as s, C as a } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { U as s, C as a } from "./mermaid-GHXKKRXX-CvjBCI1T.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-DdfWkupw.js.map
8
+ //# sourceMappingURL=channel-D3rCn2In.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l, d as n, n as d, j as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as l, d as n, n as d, j as o } from "./mermaid-GHXKKRXX-CvjBCI1T.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-Cq82o0X4.js.map
71
+ //# sourceMappingURL=chunk-2GRJ4B5K-BrKpH2JP.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-CvjBCI1T.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-A09eI9PF.js.map
21
+ //# sourceMappingURL=chunk-2Q5K7J3B-BN7qA4Zt.js.map
@@ -1,7 +1,7 @@
1
- import { g as te } from "./chunk-XXDRQBXY-CFAd8CCP.js";
2
- import { s as ee } from "./chunk-KBJHAD2P-CsPWEvTV.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-CefWzb33.js";
4
- import { f as fe } from "./chunk-2GRJ4B5K-Cq82o0X4.js";
1
+ import { g as te } from "./chunk-XXDRQBXY-DuNREPyH.js";
2
+ import { s as ee } from "./chunk-KBJHAD2P-CC4Una6D.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-CvjBCI1T.js";
4
+ import { f as fe } from "./chunk-2GRJ4B5K-BrKpH2JP.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-CVzff0h3.js.map
1417
+ //# sourceMappingURL=chunk-5RXB4S5H-xmyGOu7k.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as l } from "./mermaid-GHXKKRXX-CvjBCI1T.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-BMUzO1Yf.js.map
22
+ //# sourceMappingURL=chunk-5VM5RSS4-Bo9mNteC.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-CefWzb33.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-CvjBCI1T.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-DvEP1W3s.js.map
673
+ //# sourceMappingURL=chunk-6Q2QTUOP-o1oblyO-.js.map
@@ -1,8 +1,8 @@
1
- import { g as tt } from "./chunk-5VM5RSS4-BMUzO1Yf.js";
2
- import { g as st } from "./chunk-XXDRQBXY-CFAd8CCP.js";
3
- import { s as it } from "./chunk-KBJHAD2P-CsPWEvTV.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-CefWzb33.js";
5
- import { f as gt } from "./chunk-2GRJ4B5K-Cq82o0X4.js";
1
+ import { g as tt } from "./chunk-5VM5RSS4-Bo9mNteC.js";
2
+ import { g as st } from "./chunk-XXDRQBXY-DuNREPyH.js";
3
+ import { s as it } from "./chunk-KBJHAD2P-CC4Una6D.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-CvjBCI1T.js";
5
+ import { f as gt } from "./chunk-2GRJ4B5K-BrKpH2JP.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--iFTuQXR.js.map
1542
+ //# sourceMappingURL=chunk-GF5L2VYU-CBhzNfdK.js.map
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as e } from "./mermaid-GHXKKRXX-CvjBCI1T.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-DVacLGSp.js.map
11
+ //# sourceMappingURL=chunk-JWPE2WC7-CRCYILZC.js.map
@@ -1,4 +1,4 @@
1
- import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-CvjBCI1T.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-CsPWEvTV.js.map
22
+ //# sourceMappingURL=chunk-KBJHAD2P-CC4Una6D.js.map
@@ -1,4 +1,4 @@
1
- import { _ as u, l as i } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as u, l as i } from "./mermaid-GHXKKRXX-CvjBCI1T.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-DghjJm8u.js.map
316
+ //# sourceMappingURL=chunk-RYQCIY6F--pWAXq1Z.js.map
@@ -1,4 +1,4 @@
1
- import { _ as l, d as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as l, d as o } from "./mermaid-GHXKKRXX-CvjBCI1T.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-CFAd8CCP.js.map
11
+ //# sourceMappingURL=chunk-XXDRQBXY-DuNREPyH.js.map
@@ -1,5 +1,5 @@
1
- import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU--iFTuQXR.js";
2
- import { _ as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-CBhzNfdK.js";
2
+ import { _ as o } from "./mermaid-GHXKKRXX-CvjBCI1T.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-CghXyV1L.js.map
19
+ //# sourceMappingURL=classDiagram-JCYQIIEL-Hok8J7EG.js.map
@@ -1,5 +1,5 @@
1
- import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU--iFTuQXR.js";
2
- import { _ as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-CBhzNfdK.js";
2
+ import { _ as o } from "./mermaid-GHXKKRXX-CvjBCI1T.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-CghXyV1L.js.map
19
+ //# sourceMappingURL=classDiagram-v2-OCEON4UE-Hok8J7EG.js.map
@@ -1,4 +1,4 @@
1
- import { ba as lt, _ as V, l as k, d as gt } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { ba as lt, _ as V, l as k, d as gt } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
2
  import { c as tt } from "./cytoscape.esm-C31R6JOv.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
@@ -2608,4 +2608,4 @@ var Lt = /* @__PURE__ */ V(async (G, b, {
2608
2608
  export {
2609
2609
  At as render
2610
2610
  };
2611
- //# sourceMappingURL=cose-bilkent-JH36ORCC-BMpdcx49.js.map
2611
+ //# sourceMappingURL=cose-bilkent-JH36ORCC-BfqjApDt.js.map
@@ -1,5 +1,5 @@
1
- import { p as gt } from "./chunk-JWPE2WC7-DVacLGSp.js";
2
- import { s as xt, g as bt, p as $t, o as wt, a as Ct, b as vt, _ as s, l as O, G as Dt, e as Tt, q as kt, D as U, z as Z, E as At, Z as ot } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { p as gt } from "./chunk-JWPE2WC7-CRCYILZC.js";
2
+ import { s as xt, g as bt, p as $t, o as wt, a as Ct, b as vt, _ as s, l as O, G as Dt, e as Tt, q as kt, D as U, z as Z, E as At, Z as ot } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  import { p as Bt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
@@ -299,4 +299,4 @@ var at = {
299
299
  export {
300
300
  jt as diagram
301
301
  };
302
- //# sourceMappingURL=cynefinDiagram-MW4NZA55-D2TuXxi6.js.map
302
+ //# sourceMappingURL=cynefinDiagram-MW4NZA55-BJZ-okQI.js.map