@belonguniverseai/react-sdk 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/client.d.ts +683 -2
- package/dist/api/connectors.d.ts +360 -0
- package/dist/api/query-keys.d.ts +8 -0
- package/dist/component/{abnfDiagram-N423BO3Z-C6FcPK3d.js → abnfDiagram-N423BO3Z-CZS71qjo.js} +4 -4
- package/dist/component/{arc-BFUQjzCS.js → arc-CztymUZ_.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-BDBrDBki.js → architectureDiagram-T3A2C74G-Dg9ZE0Qp.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-UZV4Vc3P.js → blockDiagram-VBNYF7ZC-DngLqsTJ.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-CCPtctjO.js → c4Diagram-5PPSVZJV-Dv9PRH6O.js} +3 -3
- package/dist/component/{channel-CIUveBDa.js → channel-Cy1msWjd.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-CRCj56HD.js → chunk-2GRJ4B5K-BP6YBz9_.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-CL0yogzL.js → chunk-2Q5K7J3B-BfWYZyaV.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-Blwl04-V.js → chunk-5RXB4S5H-Wn88BCO0.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-C497fKeV.js → chunk-5VM5RSS4-CXdsy-yn.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-C_2Jk1ii.js → chunk-6Q2QTUOP-DSge-zbv.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-Cs_Nhfpw.js → chunk-GF5L2VYU-7kov7TtI.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-Dcs41Q_n.js → chunk-JWPE2WC7-BKBsGsHG.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-BWm1frM-.js → chunk-KBJHAD2P-CZBTReK1.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-XA_jesTk.js → chunk-RYQCIY6F-DanZm73E.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-BDtOkxP3.js → chunk-XXDRQBXY-K9dZrAbB.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-CvZflq4I.js → classDiagram-JCYQIIEL-DgVNXgGq.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-CvZflq4I.js → classDiagram-v2-OCEON4UE-DgVNXgGq.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-C1arfbyI.js → cose-bilkent-JH36ORCC-CNh7W_Rr.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-CS5V8R4P.js → cynefinDiagram-MW4NZA55-BBxdfZii.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-BZ6hBjLx.js → dagre-VZM6K2ZE-D6mkmclz.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-sP7Tm4Ov.js → diagram-7IWD3JNH-EoPRghAe.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-BNGAdSWl.js → diagram-B4RE2ZJO-Ck-EIN4V.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-FUyO9neA.js → diagram-LBJQPF4R-CFJ1IxnO.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-j_dqjRdo.js → diagram-Q27KOJAE-xtJbi8_k.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-C9DPA3Ub.js → diagram-UB23O5K3-CL4MaOzz.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-D33P9__e.js → ebnfDiagram-BXEA7PRR-BkyoJuZH.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-DOB0CdMC.js → erDiagram-JOGREHBK-BIXrNwQY.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-Byd1bpG0.js → flowDiagram-UKHOOZJN-D0Mrp2sk.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-DYe8BZEh.js → ganttDiagram-PKOTCBZU-Bk57vzJC.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-XZ8Mo4GA.js → gitGraphDiagram-DS77QQ5N-CCpx-kXh.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-CL31TQjN.js → highlighted-body-OFNGDK62-B6vAKr9s.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-CKFHlOyG.js → infoDiagram-6WML65LV-KlVle315.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-DcYs6_Ks.js → ishikawaDiagram-WSZJBQD7-Bi7sbuio.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-BdL6QUhp.js → journeyDiagram-NVQOT4AX-Bve0TBmQ.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-BXSCmJV1.js → kanban-definition-27J2QSJJ-BznMypxI.js} +3 -3
- package/dist/component/{linear-CKjHF2HZ.js → linear-Db0zTzeX.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-DkoZohjm.js → mermaid-GHXKKRXX-DRvjpCT4.js} +34217 -31398
- package/dist/component/{mindmap-definition-FAOFIHXS-DW4hhNZQ.js → mindmap-definition-FAOFIHXS-DC-W6F5t.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-Bi-Kyrnt.js → pegDiagram-VL7TDLO6-DN4TVY9N.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-BMhIZVGK.js → pieDiagram-7S7Q4E2Y-TgcBFjjO.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-bceN8tX9.js → quadrantDiagram-CIZ2JOQS-CkM5IhjU.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-D-nJshKI.js → railroadDiagram-AXF67PYL-DxiLraF5.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-CYZUa3OC.js → requirementDiagram-LRYGKXZP-nQo-Mina.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-BGB3WZee.js → sankeyDiagram-W5VNT64P-4KllqWbF.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-C1vZr0MI.js → sequenceDiagram-SI44F4Z6-Ddb1e9Vc.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-RlcsaXgG.js → sizeCapture-X5ZJPWSS-cOyVP5iN.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-fvMUXvo7.js → stateDiagram-OKZ733FA-77JC1AgC.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-C5wIei7D.js → stateDiagram-v2-UEYNNEHI-CASTwYVj.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-C3hQy7qq.js → swimlanes-SLNWSIFB-DlzxVctq.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-ByZ1cbCX.js → swimlanesDiagram-ULZ7WXOC-BQv0GPEC.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-D0_tzWD4.js → timeline-definition-Z64GVDOM-snpoPkCw.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-C9YEUDaF.js → vennDiagram-T6HMQDX7-CQ3oA8fU.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-CXHDuHLt.js → wardleyDiagram-T6FBY63Y-BPE-lH8K.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-n_ilatMg.js → xychartDiagram-ELKLHX3M-DOiVr_f-.js} +3 -3
- package/dist/components/connectors/ConfirmDeleteConnectorDialog.d.ts +16 -0
- package/dist/components/connectors/ConnectorAuthFields.d.ts +8 -0
- package/dist/components/connectors/ConnectorAvatar.d.ts +14 -0
- package/dist/components/connectors/ConnectorDetailsDialog.d.ts +8 -0
- package/dist/components/connectors/ConnectorNoticeLine.d.ts +5 -0
- package/dist/components/connectors/ConnectorsListSurface.d.ts +31 -0
- package/dist/components/connectors/NewConnectorDialog.d.ts +47 -0
- package/dist/components/connectors/connector-copy.d.ts +17 -0
- package/dist/components/connectors/connector-form.d.ts +247 -0
- package/dist/components/connectors/portal-theme.d.ts +8 -0
- package/dist/components/connectors/product-name.d.ts +17 -0
- package/dist/components/connectors/use-connector-oauth.d.ts +28 -0
- package/dist/components/embed/EmbedRail.d.ts +14 -2
- package/dist/components/embed/rail-flags.d.ts +14 -0
- package/dist/embed/dock-state.d.ts +1 -1
- package/dist/i18n/messages/en.d.ts +154 -0
- package/dist/i18n/messages/surfaces/connectors.d.ts +512 -0
- package/dist/i18n/messages/surfaces/header.d.ts +3 -0
- package/dist/routes/connectors.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom-connector strings: the Connectors rail surface, its add/edit dialogs
|
|
3
|
+
* and the delete confirmation.
|
|
4
|
+
*
|
|
5
|
+
* Copy names the PRODUCT, never the plumbing (§42). The user connects an APP
|
|
6
|
+
* or a CONNECTOR; there is no "transport", no "discovery", no "snapshot" and
|
|
7
|
+
* no "alias" as a concept — the one place a derived alias is named at all is
|
|
8
|
+
* the collision message, where the user genuinely has to know which name is
|
|
9
|
+
* taken.
|
|
10
|
+
*
|
|
11
|
+
* FOUR DELIBERATE EXCEPTIONS, pinned by the product owner against the
|
|
12
|
+
* industry's own wording (§"When to deviate"): the address field is labelled
|
|
13
|
+
* "MCP server URL", the two app-credential fields "Client ID" / "Client
|
|
14
|
+
* Secret", and the service credential's optional address "Token URL". Every one
|
|
15
|
+
* of the four is COPIED VERBATIM off the provider's own setup page — a user
|
|
16
|
+
* hunting for the value we are asking for finds a page that says "MCP server
|
|
17
|
+
* URL", and our own gentler "server address" made them guess which of the three
|
|
18
|
+
* URLs on it we meant. Plumbing vocabulary is forbidden where it tells the
|
|
19
|
+
* reader nothing; here it is the label they are matching against.
|
|
20
|
+
*
|
|
21
|
+
* `{{product}}` is the dock's brand name (`theme.brand.name` — "Simetrik" on
|
|
22
|
+
* the tenant preset, "Belong" by default), interpolated the same way
|
|
23
|
+
* `login.welcome` and `embed.agentWorking` do it. The connector surfaces say
|
|
24
|
+
* WHOSE agent gets the data, because "connect an app" without a name in it is
|
|
25
|
+
* the sentence a user cannot decide about.
|
|
26
|
+
*
|
|
27
|
+
* Failures here are ORANGE, never red (§42): a server that did not answer, an
|
|
28
|
+
* app that needs reconnecting and a refresh that came back empty are ordinary
|
|
29
|
+
* things that happen to a working product. Red is reserved for the one case
|
|
30
|
+
* that is a form the user just submitted failing — and even that is the
|
|
31
|
+
* DESTRUCTIVE confirm's button, not a status.
|
|
32
|
+
*
|
|
33
|
+
* The `errorDiscovery*` sentences say what happened in the user's terms; the
|
|
34
|
+
* server's own detail rides underneath in a smaller muted line, because it is
|
|
35
|
+
* the only thing that can distinguish two "we couldn't reach it" failures from
|
|
36
|
+
* each other when a user asks their IT team. `errorDiscoveryUnauthorized` is
|
|
37
|
+
* the one that names an ACTION instead: every other arm is a reason to try
|
|
38
|
+
* again, and a 401 from the app is the one that never is.
|
|
39
|
+
*
|
|
40
|
+
* The SIGN-IN strings hold the same line hardest, because the protocol
|
|
41
|
+
* vocabulary is most tempting there. The user signs in "through the app", not
|
|
42
|
+
* with OAuth; what they may have been given is an "app ID" and an "app secret",
|
|
43
|
+
* not a client id and a client secret; what opens is a "sign-in window", not a
|
|
44
|
+
* popup carrying an authorization request. None of the real words would tell a
|
|
45
|
+
* Simetrik user anything except that something they cannot name is involved.
|
|
46
|
+
*/
|
|
47
|
+
export declare const connectorsEn: {
|
|
48
|
+
readonly connectors: {
|
|
49
|
+
readonly viewTitle: "Connectors";
|
|
50
|
+
readonly subtitle: "Connect services so {{product}} can access and act on your data";
|
|
51
|
+
readonly searchPlaceholder: "Search your connectors";
|
|
52
|
+
readonly loading: "Loading your connectors…";
|
|
53
|
+
readonly loadError: "Couldn't load your connectors.";
|
|
54
|
+
readonly unavailable: "Connecting your own apps isn't turned on here.";
|
|
55
|
+
readonly noResults: "No connectors match “{{q}}”.";
|
|
56
|
+
readonly empty: "No connected apps yet.";
|
|
57
|
+
readonly emptyHint: "Connect your tools so the agent can use them in your tasks.";
|
|
58
|
+
readonly add: "Add connector";
|
|
59
|
+
readonly actionsMenu: "Connector actions";
|
|
60
|
+
readonly edit: "Edit";
|
|
61
|
+
readonly refresh: "Refresh";
|
|
62
|
+
readonly refreshing: "Refreshing…";
|
|
63
|
+
readonly turnOn: "Turn on";
|
|
64
|
+
readonly turnOff: "Turn off";
|
|
65
|
+
readonly delete: "Delete";
|
|
66
|
+
readonly close: "Close";
|
|
67
|
+
readonly cancel: "Cancel";
|
|
68
|
+
readonly toolsCount_one: "{{count}} tool";
|
|
69
|
+
readonly toolsCount_other: "{{count}} tools";
|
|
70
|
+
readonly statusConnected: "Connected";
|
|
71
|
+
readonly needsAttention: "Needs attention";
|
|
72
|
+
readonly statusError: "Couldn't connect";
|
|
73
|
+
readonly statusOff: "Off";
|
|
74
|
+
readonly enabledLabel: "Available to the agent";
|
|
75
|
+
readonly addTitle: "Add custom connector";
|
|
76
|
+
readonly addDescription: "Connect {{product}} to external apps.";
|
|
77
|
+
readonly editTitle: "Edit connector";
|
|
78
|
+
readonly nameLabel: "Name";
|
|
79
|
+
readonly namePlaceholder: "My App";
|
|
80
|
+
readonly descriptionLabel: "Description (optional)";
|
|
81
|
+
readonly descriptionPlaceholder: "A brief description of your connector";
|
|
82
|
+
readonly emojiLabel: "Icon (optional)";
|
|
83
|
+
readonly emojiPlaceholder: "🔗";
|
|
84
|
+
readonly urlLabel: "MCP server URL";
|
|
85
|
+
readonly urlPlaceholder: "https://example.com/mcp";
|
|
86
|
+
readonly urlHint: "From the app's own setup page. This can't be changed later.";
|
|
87
|
+
readonly urlFixed: "The address can't be changed. Add a new connector to point somewhere else.";
|
|
88
|
+
readonly advanced: "Advanced";
|
|
89
|
+
readonly authLabel: "Authentication";
|
|
90
|
+
readonly authNone: "No authentication";
|
|
91
|
+
readonly authOAuth: "Sign in through the app";
|
|
92
|
+
readonly authBearer: "Access token";
|
|
93
|
+
readonly authHeaders: "Custom headers";
|
|
94
|
+
readonly authClientCredentials: "Service credentials";
|
|
95
|
+
readonly oauthHint: "You'll sign in on the app's own page. Nothing to type here.";
|
|
96
|
+
readonly oauthAppCredentials: "I was given app credentials";
|
|
97
|
+
readonly oauthAppCredentialsHint: "Only if the app asked you to register it and gave you an ID. Most apps don't.";
|
|
98
|
+
readonly oauthClientId: "Client ID";
|
|
99
|
+
readonly oauthClientSecret: "Client Secret";
|
|
100
|
+
readonly oauthScope: "Permissions (optional)";
|
|
101
|
+
readonly oauthScopePlaceholder: "read write";
|
|
102
|
+
readonly oauthScopeHint: "Only if the app told you exactly what to ask for. Separate them with spaces.";
|
|
103
|
+
readonly oauthParams: "Extra settings (optional)";
|
|
104
|
+
readonly oauthParamsHint: "Only if the app's setup page told you to add them.";
|
|
105
|
+
readonly oauthParamNamePlaceholder: "Setting";
|
|
106
|
+
readonly oauthParamValuePlaceholder: "Value";
|
|
107
|
+
readonly addOAuthParam: "Add setting";
|
|
108
|
+
readonly removeOAuthParam: "Remove setting";
|
|
109
|
+
readonly ccHint: "Use the ID and secret the app issued. You won't be asked to sign in.";
|
|
110
|
+
readonly ccTokenEndpoint: "Token URL (optional)";
|
|
111
|
+
readonly ccTokenEndpointPlaceholder: "https://example.com/token";
|
|
112
|
+
readonly ccTokenEndpointHint: "Only if the app gave you one. Otherwise we find it from the address above.";
|
|
113
|
+
readonly ccNeedsCredentials: "This app stopped accepting the saved credentials. Edit this connector and enter them again.";
|
|
114
|
+
readonly transportLabel: "Transport";
|
|
115
|
+
readonly transportStreamableHttp: "Streamable HTTP";
|
|
116
|
+
readonly transportSse: "SSE";
|
|
117
|
+
readonly connect: "Connect";
|
|
118
|
+
readonly connectStarting: "Opening the app…";
|
|
119
|
+
readonly connectWaiting: "Waiting for you to finish signing in…";
|
|
120
|
+
readonly connectPopupBlocked: "Your browser blocked the sign-in window.";
|
|
121
|
+
readonly connectOpenManually: "Open the sign-in page";
|
|
122
|
+
readonly tokenLabel: "Access token";
|
|
123
|
+
readonly tokenPlaceholder: "Paste the token from the app";
|
|
124
|
+
readonly headerNamePlaceholder: "Header";
|
|
125
|
+
readonly headerValuePlaceholder: "Value";
|
|
126
|
+
readonly addHeader: "Add header";
|
|
127
|
+
readonly removeHeader: "Remove header";
|
|
128
|
+
readonly replaceCredentials: "Replace credentials";
|
|
129
|
+
readonly replaceCredentialsHint: "Saved credentials are never shown again. Enter them to replace them.";
|
|
130
|
+
readonly risk: "I understand custom connectors can introduce risks.";
|
|
131
|
+
readonly riskDetail: "{{product}} can't verify this app or guarantee answer quality, so only use connectors from sources you trust.";
|
|
132
|
+
readonly submitAdd: "Add";
|
|
133
|
+
readonly submitAdding: "Adding…";
|
|
134
|
+
readonly submitSave: "Save changes";
|
|
135
|
+
readonly submitSaving: "Saving…";
|
|
136
|
+
readonly toolsTitle: "Tools";
|
|
137
|
+
readonly toolsEmpty: "This app didn't offer any tools.";
|
|
138
|
+
/** The per-tool switch's only label — the row's text is the tool itself. */
|
|
139
|
+
readonly toolToggle: "Use {{tool}}";
|
|
140
|
+
readonly refusedTitle_one: "One tool was skipped";
|
|
141
|
+
readonly refusedTitle_other: "{{count}} tools were skipped";
|
|
142
|
+
readonly errorNameEmpty: "Give this connector a name.";
|
|
143
|
+
readonly errorNameTooLong: "That name is too long.";
|
|
144
|
+
readonly errorDescriptionTooLong: "That description is too long.";
|
|
145
|
+
readonly errorEmojiTooLong: "Use a single emoji.";
|
|
146
|
+
readonly errorUrlEmpty: "Add the MCP server URL.";
|
|
147
|
+
readonly errorUrlInvalid: "That doesn't look like a web address — it should start with https://.";
|
|
148
|
+
readonly errorUrlTooLong: "That address is too long.";
|
|
149
|
+
readonly errorTokenEmpty: "Paste the access token.";
|
|
150
|
+
readonly errorHeaderNameEmpty: "Name every header you filled in.";
|
|
151
|
+
readonly errorHeaderNameInvalid: "“{{name}}” isn't a valid header name — use letters, numbers and dashes.";
|
|
152
|
+
readonly errorHeaderNameDuplicate: "“{{name}}” is listed twice.";
|
|
153
|
+
readonly errorHeaderValueNewline: "The value for “{{name}}” can't contain line breaks.";
|
|
154
|
+
readonly errorHeaderRowsExceeded: "You can add up to {{maxCount}} headers.";
|
|
155
|
+
readonly errorOAuthClientIdMissing: "Add the Client ID that goes with that secret.";
|
|
156
|
+
readonly errorOAuthClientIdTooLong: "That Client ID is too long.";
|
|
157
|
+
readonly errorOAuthClientSecretTooLong: "That Client Secret is too long.";
|
|
158
|
+
readonly errorOAuthScopeInvalid: "Use single spaces between permissions, and no quotes.";
|
|
159
|
+
readonly errorOAuthScopeTooLong: "That list of permissions is too long.";
|
|
160
|
+
readonly errorOAuthParamNameEmpty: "Name every setting you filled in.";
|
|
161
|
+
readonly errorOAuthParamNameInvalid: "“{{name}}” isn't a valid setting name — use lowercase letters, numbers and underscores.";
|
|
162
|
+
readonly errorOAuthParamNameReserved: "“{{name}}” is used by the sign-in itself — pick another name.";
|
|
163
|
+
readonly errorOAuthParamNameDuplicate: "“{{name}}” is listed twice.";
|
|
164
|
+
readonly errorOAuthParamValueNewline: "The value for “{{name}}” can't contain line breaks.";
|
|
165
|
+
readonly errorOAuthParamValueTooLong: "The value for “{{name}}” is too long.";
|
|
166
|
+
readonly errorOAuthParamsExceeded: "You can add up to {{maxCount}} settings.";
|
|
167
|
+
readonly errorCcClientIdMissing: "Add the Client ID the app gave you.";
|
|
168
|
+
readonly errorCcClientSecretMissing: "Add the Client Secret the app gave you.";
|
|
169
|
+
readonly errorCcTokenEndpointInvalid: "That doesn't look like a web address — it should start with https://.";
|
|
170
|
+
readonly errorCcTokenEndpointTooLong: "That address is too long.";
|
|
171
|
+
readonly errorOAuthNotReplaceable: "To sign in again, use Connect on the connector itself.";
|
|
172
|
+
readonly errorNameTaken: "You already have a connector whose tools are named “{{alias}}”. Pick another name.";
|
|
173
|
+
readonly errorInvalidName: "That name can't be used — include some letters or numbers.";
|
|
174
|
+
readonly errorLimitReached: "You've reached the limit of {{maxCount}} connectors. Remove one to add another.";
|
|
175
|
+
readonly errorUrlBlocked: "That address can't be used.";
|
|
176
|
+
readonly errorToolBudget: "That app offers more tools than there's room for.";
|
|
177
|
+
readonly errorDiscoveryUnreachable: "We couldn't reach that address.";
|
|
178
|
+
readonly errorDiscoveryTimeout: "The server took too long to answer.";
|
|
179
|
+
readonly errorDiscoveryProtocol: "That address doesn't speak the connector protocol.";
|
|
180
|
+
readonly errorDiscoveryUnauthorized: "The app refused the credentials this connector uses. Update them and try again.";
|
|
181
|
+
readonly errorDiscoveryDrifted: "That app's tools changed while we were reading them — try again.";
|
|
182
|
+
readonly errorNeedsAuth: "This connector has to be reconnected before it can refresh.";
|
|
183
|
+
readonly errorCredentialsUnreadable: "We can't read the saved credentials any more — enter them again.";
|
|
184
|
+
readonly errorForbidden: "You don't have permission to change connectors here.";
|
|
185
|
+
readonly errorUnavailable: "Connectors aren't available right now.";
|
|
186
|
+
readonly errorSaveFailed: "Couldn't save — try again.";
|
|
187
|
+
readonly errorRefreshFailed: "Couldn't refresh — try again.";
|
|
188
|
+
readonly errorGone: "That connector is no longer there.";
|
|
189
|
+
readonly errorWrongAuthMode: "This connector doesn't sign in — it already has its credentials.";
|
|
190
|
+
readonly errorOAuthDiscovery: "That app doesn't offer a sign-in we can use.";
|
|
191
|
+
readonly errorOAuthNoApp: "That app needs credentials before it can sign you in. Add them and try again.";
|
|
192
|
+
readonly errorOAuthUnavailable: "Signing in through an app isn't set up here.";
|
|
193
|
+
readonly errorOAuthAbandoned: "The sign-in window closed before it finished.";
|
|
194
|
+
readonly errorOAuthTimedOut: "The sign-in took too long. Try again.";
|
|
195
|
+
readonly errorOAuthFailed: "Couldn't start the sign-in — try again.";
|
|
196
|
+
readonly errorOAuthUnsupported: "This app doesn't offer a sign-in service here. Paste the Token URL from the app's setup page.";
|
|
197
|
+
readonly errorOAuthTokenFailed: "The app refused those credentials.";
|
|
198
|
+
readonly deleteConfirmTitle: "Delete {{name}}?";
|
|
199
|
+
readonly deleteConfirmBody: "The agent will lose access to its tools. This can't be undone.";
|
|
200
|
+
readonly deleteConfirm: "Delete connector";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
export declare const connectorsEs: {
|
|
204
|
+
connectors: {
|
|
205
|
+
viewTitle: string;
|
|
206
|
+
subtitle: string;
|
|
207
|
+
searchPlaceholder: string;
|
|
208
|
+
loading: string;
|
|
209
|
+
loadError: string;
|
|
210
|
+
unavailable: string;
|
|
211
|
+
noResults: string;
|
|
212
|
+
empty: string;
|
|
213
|
+
emptyHint: string;
|
|
214
|
+
add: string;
|
|
215
|
+
actionsMenu: string;
|
|
216
|
+
edit: string;
|
|
217
|
+
refresh: string;
|
|
218
|
+
refreshing: string;
|
|
219
|
+
turnOn: string;
|
|
220
|
+
turnOff: string;
|
|
221
|
+
delete: string;
|
|
222
|
+
close: string;
|
|
223
|
+
cancel: string;
|
|
224
|
+
toolsCount_one: string;
|
|
225
|
+
toolsCount_other: string;
|
|
226
|
+
statusConnected: string;
|
|
227
|
+
needsAttention: string;
|
|
228
|
+
statusError: string;
|
|
229
|
+
statusOff: string;
|
|
230
|
+
enabledLabel: string;
|
|
231
|
+
addTitle: string;
|
|
232
|
+
addDescription: string;
|
|
233
|
+
editTitle: string;
|
|
234
|
+
nameLabel: string;
|
|
235
|
+
namePlaceholder: string;
|
|
236
|
+
descriptionLabel: string;
|
|
237
|
+
descriptionPlaceholder: string;
|
|
238
|
+
emojiLabel: string;
|
|
239
|
+
emojiPlaceholder: string;
|
|
240
|
+
urlLabel: string;
|
|
241
|
+
urlPlaceholder: string;
|
|
242
|
+
urlHint: string;
|
|
243
|
+
urlFixed: string;
|
|
244
|
+
advanced: string;
|
|
245
|
+
authLabel: string;
|
|
246
|
+
authNone: string;
|
|
247
|
+
authOAuth: string;
|
|
248
|
+
authBearer: string;
|
|
249
|
+
authHeaders: string;
|
|
250
|
+
authClientCredentials: string;
|
|
251
|
+
oauthHint: string;
|
|
252
|
+
oauthAppCredentials: string;
|
|
253
|
+
oauthAppCredentialsHint: string;
|
|
254
|
+
oauthClientId: string;
|
|
255
|
+
oauthClientSecret: string;
|
|
256
|
+
oauthScope: string;
|
|
257
|
+
oauthScopePlaceholder: string;
|
|
258
|
+
oauthScopeHint: string;
|
|
259
|
+
oauthParams: string;
|
|
260
|
+
oauthParamsHint: string;
|
|
261
|
+
oauthParamNamePlaceholder: string;
|
|
262
|
+
oauthParamValuePlaceholder: string;
|
|
263
|
+
addOAuthParam: string;
|
|
264
|
+
removeOAuthParam: string;
|
|
265
|
+
ccHint: string;
|
|
266
|
+
ccTokenEndpoint: string;
|
|
267
|
+
ccTokenEndpointPlaceholder: string;
|
|
268
|
+
ccTokenEndpointHint: string;
|
|
269
|
+
ccNeedsCredentials: string;
|
|
270
|
+
transportLabel: string;
|
|
271
|
+
transportStreamableHttp: string;
|
|
272
|
+
transportSse: string;
|
|
273
|
+
connect: string;
|
|
274
|
+
connectStarting: string;
|
|
275
|
+
connectWaiting: string;
|
|
276
|
+
connectPopupBlocked: string;
|
|
277
|
+
connectOpenManually: string;
|
|
278
|
+
tokenLabel: string;
|
|
279
|
+
tokenPlaceholder: string;
|
|
280
|
+
headerNamePlaceholder: string;
|
|
281
|
+
headerValuePlaceholder: string;
|
|
282
|
+
addHeader: string;
|
|
283
|
+
removeHeader: string;
|
|
284
|
+
replaceCredentials: string;
|
|
285
|
+
replaceCredentialsHint: string;
|
|
286
|
+
risk: string;
|
|
287
|
+
riskDetail: string;
|
|
288
|
+
submitAdd: string;
|
|
289
|
+
submitAdding: string;
|
|
290
|
+
submitSave: string;
|
|
291
|
+
submitSaving: string;
|
|
292
|
+
toolsTitle: string;
|
|
293
|
+
toolsEmpty: string;
|
|
294
|
+
toolToggle: string;
|
|
295
|
+
refusedTitle_one: string;
|
|
296
|
+
refusedTitle_other: string;
|
|
297
|
+
errorNameEmpty: string;
|
|
298
|
+
errorNameTooLong: string;
|
|
299
|
+
errorDescriptionTooLong: string;
|
|
300
|
+
errorEmojiTooLong: string;
|
|
301
|
+
errorUrlEmpty: string;
|
|
302
|
+
errorUrlInvalid: string;
|
|
303
|
+
errorUrlTooLong: string;
|
|
304
|
+
errorTokenEmpty: string;
|
|
305
|
+
errorHeaderNameEmpty: string;
|
|
306
|
+
errorHeaderNameInvalid: string;
|
|
307
|
+
errorHeaderNameDuplicate: string;
|
|
308
|
+
errorHeaderValueNewline: string;
|
|
309
|
+
errorHeaderRowsExceeded: string;
|
|
310
|
+
errorOAuthClientIdMissing: string;
|
|
311
|
+
errorOAuthClientIdTooLong: string;
|
|
312
|
+
errorOAuthClientSecretTooLong: string;
|
|
313
|
+
errorOAuthScopeInvalid: string;
|
|
314
|
+
errorOAuthScopeTooLong: string;
|
|
315
|
+
errorOAuthParamNameEmpty: string;
|
|
316
|
+
errorOAuthParamNameInvalid: string;
|
|
317
|
+
errorOAuthParamNameReserved: string;
|
|
318
|
+
errorOAuthParamNameDuplicate: string;
|
|
319
|
+
errorOAuthParamValueNewline: string;
|
|
320
|
+
errorOAuthParamValueTooLong: string;
|
|
321
|
+
errorOAuthParamsExceeded: string;
|
|
322
|
+
errorCcClientIdMissing: string;
|
|
323
|
+
errorCcClientSecretMissing: string;
|
|
324
|
+
errorCcTokenEndpointInvalid: string;
|
|
325
|
+
errorCcTokenEndpointTooLong: string;
|
|
326
|
+
errorOAuthNotReplaceable: string;
|
|
327
|
+
errorNameTaken: string;
|
|
328
|
+
errorInvalidName: string;
|
|
329
|
+
errorLimitReached: string;
|
|
330
|
+
errorUrlBlocked: string;
|
|
331
|
+
errorToolBudget: string;
|
|
332
|
+
errorDiscoveryUnreachable: string;
|
|
333
|
+
errorDiscoveryTimeout: string;
|
|
334
|
+
errorDiscoveryProtocol: string;
|
|
335
|
+
errorDiscoveryUnauthorized: string;
|
|
336
|
+
errorDiscoveryDrifted: string;
|
|
337
|
+
errorNeedsAuth: string;
|
|
338
|
+
errorCredentialsUnreadable: string;
|
|
339
|
+
errorForbidden: string;
|
|
340
|
+
errorUnavailable: string;
|
|
341
|
+
errorSaveFailed: string;
|
|
342
|
+
errorRefreshFailed: string;
|
|
343
|
+
errorGone: string;
|
|
344
|
+
errorWrongAuthMode: string;
|
|
345
|
+
errorOAuthDiscovery: string;
|
|
346
|
+
errorOAuthNoApp: string;
|
|
347
|
+
errorOAuthUnavailable: string;
|
|
348
|
+
errorOAuthAbandoned: string;
|
|
349
|
+
errorOAuthTimedOut: string;
|
|
350
|
+
errorOAuthFailed: string;
|
|
351
|
+
errorOAuthUnsupported: string;
|
|
352
|
+
errorOAuthTokenFailed: string;
|
|
353
|
+
deleteConfirmTitle: string;
|
|
354
|
+
deleteConfirmBody: string;
|
|
355
|
+
deleteConfirm: string;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
export declare const connectorsPt: {
|
|
359
|
+
connectors: {
|
|
360
|
+
viewTitle: string;
|
|
361
|
+
subtitle: string;
|
|
362
|
+
searchPlaceholder: string;
|
|
363
|
+
loading: string;
|
|
364
|
+
loadError: string;
|
|
365
|
+
unavailable: string;
|
|
366
|
+
noResults: string;
|
|
367
|
+
empty: string;
|
|
368
|
+
emptyHint: string;
|
|
369
|
+
add: string;
|
|
370
|
+
actionsMenu: string;
|
|
371
|
+
edit: string;
|
|
372
|
+
refresh: string;
|
|
373
|
+
refreshing: string;
|
|
374
|
+
turnOn: string;
|
|
375
|
+
turnOff: string;
|
|
376
|
+
delete: string;
|
|
377
|
+
close: string;
|
|
378
|
+
cancel: string;
|
|
379
|
+
toolsCount_one: string;
|
|
380
|
+
toolsCount_other: string;
|
|
381
|
+
statusConnected: string;
|
|
382
|
+
needsAttention: string;
|
|
383
|
+
statusError: string;
|
|
384
|
+
statusOff: string;
|
|
385
|
+
enabledLabel: string;
|
|
386
|
+
addTitle: string;
|
|
387
|
+
addDescription: string;
|
|
388
|
+
editTitle: string;
|
|
389
|
+
nameLabel: string;
|
|
390
|
+
namePlaceholder: string;
|
|
391
|
+
descriptionLabel: string;
|
|
392
|
+
descriptionPlaceholder: string;
|
|
393
|
+
emojiLabel: string;
|
|
394
|
+
emojiPlaceholder: string;
|
|
395
|
+
urlLabel: string;
|
|
396
|
+
urlPlaceholder: string;
|
|
397
|
+
urlHint: string;
|
|
398
|
+
urlFixed: string;
|
|
399
|
+
advanced: string;
|
|
400
|
+
authLabel: string;
|
|
401
|
+
authNone: string;
|
|
402
|
+
authOAuth: string;
|
|
403
|
+
authBearer: string;
|
|
404
|
+
authHeaders: string;
|
|
405
|
+
authClientCredentials: string;
|
|
406
|
+
oauthHint: string;
|
|
407
|
+
oauthAppCredentials: string;
|
|
408
|
+
oauthAppCredentialsHint: string;
|
|
409
|
+
oauthClientId: string;
|
|
410
|
+
oauthClientSecret: string;
|
|
411
|
+
oauthScope: string;
|
|
412
|
+
oauthScopePlaceholder: string;
|
|
413
|
+
oauthScopeHint: string;
|
|
414
|
+
oauthParams: string;
|
|
415
|
+
oauthParamsHint: string;
|
|
416
|
+
oauthParamNamePlaceholder: string;
|
|
417
|
+
oauthParamValuePlaceholder: string;
|
|
418
|
+
addOAuthParam: string;
|
|
419
|
+
removeOAuthParam: string;
|
|
420
|
+
ccHint: string;
|
|
421
|
+
ccTokenEndpoint: string;
|
|
422
|
+
ccTokenEndpointPlaceholder: string;
|
|
423
|
+
ccTokenEndpointHint: string;
|
|
424
|
+
ccNeedsCredentials: string;
|
|
425
|
+
transportLabel: string;
|
|
426
|
+
transportStreamableHttp: string;
|
|
427
|
+
transportSse: string;
|
|
428
|
+
connect: string;
|
|
429
|
+
connectStarting: string;
|
|
430
|
+
connectWaiting: string;
|
|
431
|
+
connectPopupBlocked: string;
|
|
432
|
+
connectOpenManually: string;
|
|
433
|
+
tokenLabel: string;
|
|
434
|
+
tokenPlaceholder: string;
|
|
435
|
+
headerNamePlaceholder: string;
|
|
436
|
+
headerValuePlaceholder: string;
|
|
437
|
+
addHeader: string;
|
|
438
|
+
removeHeader: string;
|
|
439
|
+
replaceCredentials: string;
|
|
440
|
+
replaceCredentialsHint: string;
|
|
441
|
+
risk: string;
|
|
442
|
+
riskDetail: string;
|
|
443
|
+
submitAdd: string;
|
|
444
|
+
submitAdding: string;
|
|
445
|
+
submitSave: string;
|
|
446
|
+
submitSaving: string;
|
|
447
|
+
toolsTitle: string;
|
|
448
|
+
toolsEmpty: string;
|
|
449
|
+
toolToggle: string;
|
|
450
|
+
refusedTitle_one: string;
|
|
451
|
+
refusedTitle_other: string;
|
|
452
|
+
errorNameEmpty: string;
|
|
453
|
+
errorNameTooLong: string;
|
|
454
|
+
errorDescriptionTooLong: string;
|
|
455
|
+
errorEmojiTooLong: string;
|
|
456
|
+
errorUrlEmpty: string;
|
|
457
|
+
errorUrlInvalid: string;
|
|
458
|
+
errorUrlTooLong: string;
|
|
459
|
+
errorTokenEmpty: string;
|
|
460
|
+
errorHeaderNameEmpty: string;
|
|
461
|
+
errorHeaderNameInvalid: string;
|
|
462
|
+
errorHeaderNameDuplicate: string;
|
|
463
|
+
errorHeaderValueNewline: string;
|
|
464
|
+
errorHeaderRowsExceeded: string;
|
|
465
|
+
errorOAuthClientIdMissing: string;
|
|
466
|
+
errorOAuthClientIdTooLong: string;
|
|
467
|
+
errorOAuthClientSecretTooLong: string;
|
|
468
|
+
errorOAuthScopeInvalid: string;
|
|
469
|
+
errorOAuthScopeTooLong: string;
|
|
470
|
+
errorOAuthParamNameEmpty: string;
|
|
471
|
+
errorOAuthParamNameInvalid: string;
|
|
472
|
+
errorOAuthParamNameReserved: string;
|
|
473
|
+
errorOAuthParamNameDuplicate: string;
|
|
474
|
+
errorOAuthParamValueNewline: string;
|
|
475
|
+
errorOAuthParamValueTooLong: string;
|
|
476
|
+
errorOAuthParamsExceeded: string;
|
|
477
|
+
errorCcClientIdMissing: string;
|
|
478
|
+
errorCcClientSecretMissing: string;
|
|
479
|
+
errorCcTokenEndpointInvalid: string;
|
|
480
|
+
errorCcTokenEndpointTooLong: string;
|
|
481
|
+
errorOAuthNotReplaceable: string;
|
|
482
|
+
errorNameTaken: string;
|
|
483
|
+
errorInvalidName: string;
|
|
484
|
+
errorLimitReached: string;
|
|
485
|
+
errorUrlBlocked: string;
|
|
486
|
+
errorToolBudget: string;
|
|
487
|
+
errorDiscoveryUnreachable: string;
|
|
488
|
+
errorDiscoveryTimeout: string;
|
|
489
|
+
errorDiscoveryProtocol: string;
|
|
490
|
+
errorDiscoveryUnauthorized: string;
|
|
491
|
+
errorDiscoveryDrifted: string;
|
|
492
|
+
errorNeedsAuth: string;
|
|
493
|
+
errorCredentialsUnreadable: string;
|
|
494
|
+
errorForbidden: string;
|
|
495
|
+
errorUnavailable: string;
|
|
496
|
+
errorSaveFailed: string;
|
|
497
|
+
errorRefreshFailed: string;
|
|
498
|
+
errorGone: string;
|
|
499
|
+
errorWrongAuthMode: string;
|
|
500
|
+
errorOAuthDiscovery: string;
|
|
501
|
+
errorOAuthNoApp: string;
|
|
502
|
+
errorOAuthUnavailable: string;
|
|
503
|
+
errorOAuthAbandoned: string;
|
|
504
|
+
errorOAuthTimedOut: string;
|
|
505
|
+
errorOAuthFailed: string;
|
|
506
|
+
errorOAuthUnsupported: string;
|
|
507
|
+
errorOAuthTokenFailed: string;
|
|
508
|
+
deleteConfirmTitle: string;
|
|
509
|
+
deleteConfirmBody: string;
|
|
510
|
+
deleteConfirm: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
@@ -6,6 +6,7 @@ export declare const headerEn: {
|
|
|
6
6
|
readonly navFiles: "Files";
|
|
7
7
|
readonly navScheduled: "Scheduled";
|
|
8
8
|
readonly navPrompts: "Prompts";
|
|
9
|
+
readonly navConnectors: "Connectors";
|
|
9
10
|
readonly chatPlanRunning: "Chat — plan running, {{completed}} of {{total}} steps done";
|
|
10
11
|
readonly devMode: "Dev mode";
|
|
11
12
|
readonly devModeTitle: "Dev mode (belong:dev)";
|
|
@@ -31,6 +32,7 @@ export declare const headerEs: {
|
|
|
31
32
|
navFiles: string;
|
|
32
33
|
navScheduled: string;
|
|
33
34
|
navPrompts: string;
|
|
35
|
+
navConnectors: string;
|
|
34
36
|
chatPlanRunning: string;
|
|
35
37
|
devMode: string;
|
|
36
38
|
devModeTitle: string;
|
|
@@ -56,6 +58,7 @@ export declare const headerPt: {
|
|
|
56
58
|
navFiles: string;
|
|
57
59
|
navScheduled: string;
|
|
58
60
|
navPrompts: string;
|
|
61
|
+
navConnectors: string;
|
|
59
62
|
chatPlanRunning: string;
|
|
60
63
|
devMode: string;
|
|
61
64
|
devModeTitle: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@belonguniverseai/react-sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "Belong — embeddable React AI assistant dock. Mount <BelongWidget> in your app tree with getToken dependency-injection auth.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|