@squadbase/vite-server 0.1.8 → 0.1.9-dev.3841401
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/cli/index.js +73422 -59588
- package/dist/connectors/airtable-oauth.js +3 -0
- package/dist/connectors/airtable.js +3 -0
- package/dist/connectors/amplitude.js +3 -0
- package/dist/connectors/anthropic.js +3 -0
- package/dist/connectors/asana.js +18 -2
- package/dist/connectors/attio.js +3 -0
- package/dist/connectors/aws-billing.d.ts +5 -0
- package/dist/connectors/aws-billing.js +29843 -0
- package/dist/connectors/azure-sql.d.ts +5 -0
- package/dist/connectors/azure-sql.js +668 -0
- package/dist/connectors/backlog-api-key.js +3 -0
- package/dist/connectors/clickup.d.ts +5 -0
- package/dist/connectors/clickup.js +850 -0
- package/dist/connectors/customerio.js +3 -0
- package/dist/connectors/dbt.js +3 -0
- package/dist/connectors/freshdesk.d.ts +5 -0
- package/dist/connectors/freshdesk.js +842 -0
- package/dist/connectors/freshsales.d.ts +5 -0
- package/dist/connectors/freshsales.js +867 -0
- package/dist/connectors/freshservice.d.ts +5 -0
- package/dist/connectors/freshservice.js +813 -0
- package/dist/connectors/gamma.js +3 -0
- package/dist/connectors/gemini.js +3 -0
- package/dist/connectors/github.d.ts +5 -0
- package/dist/connectors/github.js +963 -0
- package/dist/connectors/gmail-oauth.js +18 -2
- package/dist/connectors/gmail.js +34 -16
- package/dist/connectors/google-ads.js +3 -0
- package/dist/connectors/google-analytics-oauth.js +3 -0
- package/dist/connectors/google-analytics.js +3 -0
- package/dist/connectors/google-audit-log.d.ts +5 -0
- package/dist/connectors/google-audit-log.js +813 -0
- package/dist/connectors/google-calendar-oauth.js +21 -2
- package/dist/connectors/google-calendar.js +140 -73
- package/dist/connectors/google-docs.js +21 -2
- package/dist/connectors/google-drive.js +18 -2
- package/dist/connectors/google-search-console-oauth.d.ts +5 -0
- package/dist/connectors/google-search-console-oauth.js +954 -0
- package/dist/connectors/google-sheets.js +21 -2
- package/dist/connectors/google-slides.js +21 -2
- package/dist/connectors/grafana.js +3 -0
- package/dist/connectors/hubspot-oauth.js +3 -0
- package/dist/connectors/hubspot.js +3 -0
- package/dist/connectors/influxdb.js +3 -0
- package/dist/connectors/intercom-oauth.js +3 -0
- package/dist/connectors/intercom.js +3 -0
- package/dist/connectors/jdbc.d.ts +5 -0
- package/dist/connectors/jdbc.js +21509 -0
- package/dist/connectors/jira-api-key.js +3 -0
- package/dist/connectors/kintone-api-token.js +3 -0
- package/dist/connectors/kintone.js +3 -0
- package/dist/connectors/linear.js +3 -0
- package/dist/connectors/linkedin-ads.js +3 -0
- package/dist/connectors/mailchimp-oauth.js +3 -0
- package/dist/connectors/mailchimp.js +3 -0
- package/dist/connectors/meta-ads-oauth.js +3 -0
- package/dist/connectors/meta-ads.js +3 -0
- package/dist/connectors/mixpanel.js +3 -0
- package/dist/connectors/monday.d.ts +5 -0
- package/dist/connectors/monday.js +853 -0
- package/dist/connectors/notion-oauth.js +3 -0
- package/dist/connectors/notion.js +3 -0
- package/dist/connectors/openai.js +3 -0
- package/dist/connectors/oracle.d.ts +5 -0
- package/dist/connectors/oracle.js +676 -0
- package/dist/connectors/salesforce.js +3 -0
- package/dist/connectors/semrush.d.ts +5 -0
- package/dist/connectors/semrush.js +812 -0
- package/dist/connectors/sentry.js +3 -0
- package/dist/connectors/shopify-oauth.js +3 -0
- package/dist/connectors/shopify.js +3 -0
- package/dist/connectors/sqlserver.d.ts +5 -0
- package/dist/connectors/sqlserver.js +667 -0
- package/dist/connectors/stripe-api-key.js +3 -0
- package/dist/connectors/stripe-oauth.js +3 -0
- package/dist/connectors/supabase.d.ts +5 -0
- package/dist/connectors/supabase.js +582 -0
- package/dist/connectors/tiktok-ads.js +18 -2
- package/dist/connectors/wix-store.js +3 -0
- package/dist/connectors/zendesk-oauth.js +3 -0
- package/dist/connectors/zendesk.js +3 -0
- package/dist/index.js +70184 -56350
- package/dist/main.js +70178 -56344
- package/dist/vite-plugin.js +71935 -58101
- package/package.json +64 -2
|
@@ -159,6 +159,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
159
159
|
releaseFlag;
|
|
160
160
|
proxyPolicy;
|
|
161
161
|
experimentalAttributes;
|
|
162
|
+
categories;
|
|
162
163
|
onboarding;
|
|
163
164
|
systemPrompt;
|
|
164
165
|
tools;
|
|
@@ -174,6 +175,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
174
175
|
this.releaseFlag = config.releaseFlag;
|
|
175
176
|
this.proxyPolicy = config.proxyPolicy;
|
|
176
177
|
this.experimentalAttributes = config.experimentalAttributes;
|
|
178
|
+
this.categories = config.categories ?? [];
|
|
177
179
|
this.onboarding = config.onboarding;
|
|
178
180
|
this.systemPrompt = config.systemPrompt;
|
|
179
181
|
this.tools = config.tools;
|
|
@@ -253,9 +255,21 @@ var AUTH_TYPES = {
|
|
|
253
255
|
USER_PASSWORD: "user-password"
|
|
254
256
|
};
|
|
255
257
|
|
|
258
|
+
// ../connectors/src/lib/normalize-path.ts
|
|
259
|
+
function normalizeRequestPath(path2, basePathSegment) {
|
|
260
|
+
let p = path2.trim();
|
|
261
|
+
if (!p.startsWith("/")) p = "/" + p;
|
|
262
|
+
if (p === basePathSegment || p.startsWith(basePathSegment + "/")) {
|
|
263
|
+
p = p.slice(basePathSegment.length) || "/";
|
|
264
|
+
}
|
|
265
|
+
return p;
|
|
266
|
+
}
|
|
267
|
+
|
|
256
268
|
// ../connectors/src/connectors/gmail-oauth/tools/request.ts
|
|
257
269
|
import { z } from "zod";
|
|
258
|
-
var
|
|
270
|
+
var BASE_HOST = "https://gmail.googleapis.com";
|
|
271
|
+
var BASE_PATH_SEGMENT = "/gmail/v1/users";
|
|
272
|
+
var BASE_URL2 = `${BASE_HOST}${BASE_PATH_SEGMENT}`;
|
|
259
273
|
var REQUEST_TIMEOUT_MS = 6e4;
|
|
260
274
|
var cachedToken = null;
|
|
261
275
|
async function getProxyToken(config) {
|
|
@@ -331,7 +345,8 @@ All paths are relative to https://gmail.googleapis.com/gmail/v1/users. Use '/me'
|
|
|
331
345
|
`[connector-request] gmail-oauth/${connection2.name}: ${method} ${path2}`
|
|
332
346
|
);
|
|
333
347
|
try {
|
|
334
|
-
|
|
348
|
+
const normalizedPath = normalizeRequestPath(path2, BASE_PATH_SEGMENT);
|
|
349
|
+
let url = `${BASE_URL2}${normalizedPath}`;
|
|
335
350
|
if (queryParams) {
|
|
336
351
|
const searchParams = new URLSearchParams(queryParams);
|
|
337
352
|
url += `?${searchParams.toString()}`;
|
|
@@ -423,6 +438,7 @@ var gmailOauthConnector = new ConnectorPlugin({
|
|
|
423
438
|
iconUrl: "https://images.ctfassets.net/9ncizv60xc5y/4V3rfaSc1ksFIt2eHBNIwJ/7f3be41a154a6d96dcf229ed0e5858c9/Gmail_icon__2020_.svg.png",
|
|
424
439
|
parameters,
|
|
425
440
|
releaseFlag: { dev1: true, dev2: false, prod: false },
|
|
441
|
+
categories: ["productivity"],
|
|
426
442
|
onboarding: gmailOnboarding,
|
|
427
443
|
proxyPolicy: {
|
|
428
444
|
allowlist: [
|
package/dist/connectors/gmail.js
CHANGED
|
@@ -159,6 +159,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
159
159
|
releaseFlag;
|
|
160
160
|
proxyPolicy;
|
|
161
161
|
experimentalAttributes;
|
|
162
|
+
categories;
|
|
162
163
|
onboarding;
|
|
163
164
|
systemPrompt;
|
|
164
165
|
tools;
|
|
@@ -174,6 +175,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
174
175
|
this.releaseFlag = config.releaseFlag;
|
|
175
176
|
this.proxyPolicy = config.proxyPolicy;
|
|
176
177
|
this.experimentalAttributes = config.experimentalAttributes;
|
|
178
|
+
this.categories = config.categories ?? [];
|
|
177
179
|
this.onboarding = config.onboarding;
|
|
178
180
|
this.systemPrompt = config.systemPrompt;
|
|
179
181
|
this.tools = config.tools;
|
|
@@ -253,9 +255,21 @@ var AUTH_TYPES = {
|
|
|
253
255
|
USER_PASSWORD: "user-password"
|
|
254
256
|
};
|
|
255
257
|
|
|
258
|
+
// ../connectors/src/lib/normalize-path.ts
|
|
259
|
+
function normalizeRequestPath(path2, basePathSegment) {
|
|
260
|
+
let p = path2.trim();
|
|
261
|
+
if (!p.startsWith("/")) p = "/" + p;
|
|
262
|
+
if (p === basePathSegment || p.startsWith(basePathSegment + "/")) {
|
|
263
|
+
p = p.slice(basePathSegment.length) || "/";
|
|
264
|
+
}
|
|
265
|
+
return p;
|
|
266
|
+
}
|
|
267
|
+
|
|
256
268
|
// ../connectors/src/connectors/gmail/tools/request-with-delegation.ts
|
|
257
269
|
import { z } from "zod";
|
|
258
|
-
var
|
|
270
|
+
var BASE_HOST = "https://gmail.googleapis.com";
|
|
271
|
+
var BASE_PATH_SEGMENT = "/gmail/v1/users";
|
|
272
|
+
var BASE_URL2 = `${BASE_HOST}${BASE_PATH_SEGMENT}`;
|
|
259
273
|
var REQUEST_TIMEOUT_MS = 6e4;
|
|
260
274
|
function decodeServiceAccount(keyJsonBase64) {
|
|
261
275
|
const decoded = Buffer.from(keyJsonBase64, "base64").toString("utf-8");
|
|
@@ -285,7 +299,8 @@ var outputSchema = z.discriminatedUnion("success", [
|
|
|
285
299
|
z.object({
|
|
286
300
|
success: z.literal(true),
|
|
287
301
|
status: z.number(),
|
|
288
|
-
data: z.record(z.string(), z.unknown())
|
|
302
|
+
data: z.record(z.string(), z.unknown()),
|
|
303
|
+
serviceAccountEmail: z.string()
|
|
289
304
|
}),
|
|
290
305
|
z.object({
|
|
291
306
|
success: z.literal(false),
|
|
@@ -339,7 +354,8 @@ var requestWithDelegationTool = new ConnectorTool({
|
|
|
339
354
|
serviceAccountEmail
|
|
340
355
|
};
|
|
341
356
|
}
|
|
342
|
-
|
|
357
|
+
const normalizedPath = normalizeRequestPath(path2, BASE_PATH_SEGMENT);
|
|
358
|
+
let url = `${BASE_URL2}${normalizedPath}`;
|
|
343
359
|
if (queryParams) {
|
|
344
360
|
const searchParams = new URLSearchParams(queryParams);
|
|
345
361
|
url += `?${searchParams.toString()}`;
|
|
@@ -367,7 +383,12 @@ var requestWithDelegationTool = new ConnectorTool({
|
|
|
367
383
|
serviceAccountEmail
|
|
368
384
|
};
|
|
369
385
|
}
|
|
370
|
-
return {
|
|
386
|
+
return {
|
|
387
|
+
success: true,
|
|
388
|
+
status: response.status,
|
|
389
|
+
data,
|
|
390
|
+
serviceAccountEmail
|
|
391
|
+
};
|
|
371
392
|
} finally {
|
|
372
393
|
clearTimeout(timeout);
|
|
373
394
|
}
|
|
@@ -405,9 +426,7 @@ var gmailOnboarding = new ConnectorOnboarding({
|
|
|
405
426
|
- \u300C\u30EA\u30C8\u30E9\u30A4\u300D: \u76F4\u524D\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u30EA\u30B9\u30C8\u3067\u30B9\u30C6\u30C3\u30D7 2 \u3092\u518D\u5B9F\u884C
|
|
406
427
|
- \u300C\u5165\u529B\u3057\u76F4\u3059\u300D: \u30B9\u30C6\u30C3\u30D7 1 \u304B\u3089\u518D\u5B9F\u884C
|
|
407
428
|
|
|
408
|
-
4. \u5168\u30A2\u30C9\u30EC\u30B9\u304C\u6210\u529F\u3057\u305F\u3089 \`finalizeSetup\` \u3092\u547C\u3076\u3002
|
|
409
|
-
- \`- subject: alice@example.com\`
|
|
410
|
-
- \`- subject: bob@example.com\`
|
|
429
|
+
4. \u5168\u30A2\u30C9\u30EC\u30B9\u304C\u6210\u529F\u3057\u305F\u3089 \`finalizeSetup\` \u3092\u547C\u3076\u3002\u691C\u8A3C\u6E08\u307F\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\uFF08\u30B9\u30C6\u30C3\u30D7 2 \u3067 \`subject\` \u3068\u3057\u3066\u4F7F\u3063\u305F\u5404 \`<email>\`\uFF09\u3092\u3053\u306E\u30B3\u30CD\u30AF\u30B7\u30E7\u30F3\u306E\u30B9\u30B3\u30FC\u30D7\u60C5\u5831\u3068\u3057\u3066\u8A18\u9332\u3059\u308B\u3002
|
|
411
430
|
|
|
412
431
|
#### \u5236\u7D04
|
|
413
432
|
- \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u4E2D\u306B\u30E1\u30C3\u30BB\u30FC\u30B8\u672C\u6587\u3092\u8AAD\u307F\u53D6\u3089\u306A\u3044\u3053\u3068\u3002\u8A31\u53EF\u3055\u308C\u3066\u3044\u308B\u306E\u306F\u30B9\u30C6\u30C3\u30D7 2 \u306E \`/me/profile\` \u78BA\u8A8D\u306E\u307F
|
|
@@ -430,21 +449,19 @@ var gmailOnboarding = new ConnectorOnboarding({
|
|
|
430
449
|
- On "retry" \u2192 re-run step 2 with the previously entered email list
|
|
431
450
|
- On "Re-enter" \u2192 re-run step 1
|
|
432
451
|
|
|
433
|
-
4. Once every email succeeds, call \`finalizeSetup\`.
|
|
434
|
-
- \`- subject: alice@example.com\`
|
|
435
|
-
- \`- subject: bob@example.com\`
|
|
452
|
+
4. Once every email succeeds, call \`finalizeSetup\`. Record the verified email addresses (the \`<email>\` values used as \`subject\` in step 2) as this connection's scope info.
|
|
436
453
|
|
|
437
454
|
#### Constraints
|
|
438
455
|
- Do NOT read message bodies during setup. Only the \`/me/profile\` verification is permitted
|
|
439
456
|
- Write at most 1 sentence between tool calls`
|
|
440
457
|
},
|
|
441
458
|
dataOverviewInstructions: {
|
|
442
|
-
en: `Pick ONE
|
|
459
|
+
en: `Pick ONE target user and use that user's email as \`subject\` for every call below. Pass \`scopes: ${READONLY_SCOPES}\` every time.
|
|
443
460
|
|
|
444
461
|
1. \`method=GET\`, \`path=/me/labels\` to list labels.
|
|
445
462
|
2. \`method=GET\`, \`path=/me/messages?maxResults=5\` to fetch recent message IDs.
|
|
446
463
|
3. For each message id, \`method=GET\`, \`path=/me/messages/{id}?format=metadata\`.`,
|
|
447
|
-
ja:
|
|
464
|
+
ja: `\u4EE3\u7406\u5BFE\u8C61\u306E\u30E6\u30FC\u30B6\u30FC\u3092 1 \u4EBA\u9078\u3073\u3001\u4EE5\u4E0B\u306E\u30B9\u30C6\u30C3\u30D7\u3067 \`subject\` \u5F15\u6570\u3068\u3057\u3066\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002\`scopes\` \u306F\u6BCE\u56DE \`${READONLY_SCOPES}\` \u3092\u6E21\u3057\u307E\u3059\u3002
|
|
448
465
|
|
|
449
466
|
1. \`method=GET\`\u3001\`path=/me/labels\` \u3067\u30E9\u30D9\u30EB\u4E00\u89A7\u3092\u53D6\u5F97
|
|
450
467
|
2. \`method=GET\`\u3001\`path=/me/messages?maxResults=5\` \u3067\u6700\u8FD1\u306E\u30E1\u30C3\u30BB\u30FC\u30B8 ID \u3092\u53D6\u5F97
|
|
@@ -462,11 +479,12 @@ var gmailConnector = new ConnectorPlugin({
|
|
|
462
479
|
iconUrl: "https://images.ctfassets.net/9ncizv60xc5y/4V3rfaSc1ksFIt2eHBNIwJ/7f3be41a154a6d96dcf229ed0e5858c9/Gmail_icon__2020_.svg.png",
|
|
463
480
|
parameters,
|
|
464
481
|
releaseFlag: { dev1: true, dev2: true, prod: true },
|
|
482
|
+
categories: ["productivity"],
|
|
465
483
|
onboarding: gmailOnboarding,
|
|
466
484
|
systemPrompt: {
|
|
467
485
|
en: `### Tools
|
|
468
486
|
|
|
469
|
-
- \`gmail-service-account_request_with_delegation\`: Call the Gmail API on behalf of the specified Workspace user via Domain-wide Delegation. Pass \`subject\` as the target user email; the token will be issued as that user.
|
|
487
|
+
- \`gmail-service-account_request_with_delegation\`: Call the Gmail API on behalf of the specified Workspace user via Domain-wide Delegation. Pass \`subject\` as the target user's email; the token will be issued as that user. Always pass \`scopes\`.
|
|
470
488
|
|
|
471
489
|
### OAuth Scopes (pass as \`scopes\` argument)
|
|
472
490
|
|
|
@@ -530,7 +548,7 @@ import { connection } from "@squadbase/vite-server/connectors/gmail";
|
|
|
530
548
|
|
|
531
549
|
const gmail = connection("<connectionId>");
|
|
532
550
|
|
|
533
|
-
//
|
|
551
|
+
// The user to impersonate.
|
|
534
552
|
const subject = "alice@example.com";
|
|
535
553
|
const READ = ["https://www.googleapis.com/auth/gmail.readonly"];
|
|
536
554
|
|
|
@@ -559,7 +577,7 @@ for (const msg of messages.messages ?? []) {
|
|
|
559
577
|
\`\`\``,
|
|
560
578
|
ja: `### \u30C4\u30FC\u30EB
|
|
561
579
|
|
|
562
|
-
- \`gmail-service-account_request_with_delegation\`: \u6307\u5B9A\u3055\u308C\u305F Workspace \u30E6\u30FC\u30B6\u30FC\u306B\u4EE3\u308F\u3063\u3066 Domain-wide Delegation \u7D4C\u7531\u3067 Gmail API \u3092\u547C\u3073\u51FA\u3057\u307E\u3059\u3002\u4EE3\u7406\u5BFE\u8C61\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092 \`subject\` \u3068\u3057\u3066\u6E21\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30C8\u30FC\u30AF\u30F3\u306F\u305D\u306E\u30E6\u30FC\u30B6\u30FC\u3068\u3057\u3066\u767A\u884C\u3055\u308C\u307E\u3059\u3002
|
|
580
|
+
- \`gmail-service-account_request_with_delegation\`: \u6307\u5B9A\u3055\u308C\u305F Workspace \u30E6\u30FC\u30B6\u30FC\u306B\u4EE3\u308F\u3063\u3066 Domain-wide Delegation \u7D4C\u7531\u3067 Gmail API \u3092\u547C\u3073\u51FA\u3057\u307E\u3059\u3002\u4EE3\u7406\u5BFE\u8C61\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092 \`subject\` \u3068\u3057\u3066\u6E21\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30C8\u30FC\u30AF\u30F3\u306F\u305D\u306E\u30E6\u30FC\u30B6\u30FC\u3068\u3057\u3066\u767A\u884C\u3055\u308C\u307E\u3059\u3002\`scopes\` \u3082\u6BCE\u56DE\u6E21\u3057\u3066\u304F\u3060\u3055\u3044\u3002
|
|
563
581
|
|
|
564
582
|
### OAuth \u30B9\u30B3\u30FC\u30D7 (\`scopes\` \u5F15\u6570\u3067\u6E21\u3059)
|
|
565
583
|
|
|
@@ -623,7 +641,7 @@ import { connection } from "@squadbase/vite-server/connectors/gmail";
|
|
|
623
641
|
|
|
624
642
|
const gmail = connection("<connectionId>");
|
|
625
643
|
|
|
626
|
-
// \u4EE3\u7406\u5BFE\u8C61\u30E6\u30FC\u30B6\u30FC
|
|
644
|
+
// \u4EE3\u7406\u5BFE\u8C61\u30E6\u30FC\u30B6\u30FC
|
|
627
645
|
const subject = "alice@example.com";
|
|
628
646
|
const READ = ["https://www.googleapis.com/auth/gmail.readonly"];
|
|
629
647
|
|
|
@@ -191,6 +191,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
191
191
|
releaseFlag;
|
|
192
192
|
proxyPolicy;
|
|
193
193
|
experimentalAttributes;
|
|
194
|
+
categories;
|
|
194
195
|
onboarding;
|
|
195
196
|
systemPrompt;
|
|
196
197
|
tools;
|
|
@@ -206,6 +207,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
206
207
|
this.releaseFlag = config.releaseFlag;
|
|
207
208
|
this.proxyPolicy = config.proxyPolicy;
|
|
208
209
|
this.experimentalAttributes = config.experimentalAttributes;
|
|
210
|
+
this.categories = config.categories ?? [];
|
|
209
211
|
this.onboarding = config.onboarding;
|
|
210
212
|
this.systemPrompt = config.systemPrompt;
|
|
211
213
|
this.tools = config.tools;
|
|
@@ -618,6 +620,7 @@ var googleAdsConnector = new ConnectorPlugin({
|
|
|
618
620
|
iconUrl: "https://images.ctfassets.net/9ncizv60xc5y/1NGvmgvCxX7Tn11EST2N3N/a745fe7c63d360ed40a27ddaad3af168/google-ads.svg",
|
|
619
621
|
parameters,
|
|
620
622
|
releaseFlag: { dev1: true, dev2: false, prod: false },
|
|
623
|
+
categories: ["marketing"],
|
|
621
624
|
onboarding: googleAdsOnboarding,
|
|
622
625
|
proxyPolicy: {
|
|
623
626
|
allowlist: [
|
|
@@ -188,6 +188,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
188
188
|
releaseFlag;
|
|
189
189
|
proxyPolicy;
|
|
190
190
|
experimentalAttributes;
|
|
191
|
+
categories;
|
|
191
192
|
onboarding;
|
|
192
193
|
systemPrompt;
|
|
193
194
|
tools;
|
|
@@ -203,6 +204,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
203
204
|
this.releaseFlag = config.releaseFlag;
|
|
204
205
|
this.proxyPolicy = config.proxyPolicy;
|
|
205
206
|
this.experimentalAttributes = config.experimentalAttributes;
|
|
207
|
+
this.categories = config.categories ?? [];
|
|
206
208
|
this.onboarding = config.onboarding;
|
|
207
209
|
this.systemPrompt = config.systemPrompt;
|
|
208
210
|
this.tools = config.tools;
|
|
@@ -692,6 +694,7 @@ var googleAnalyticsOauthConnector = new ConnectorPlugin({
|
|
|
692
694
|
iconUrl: "https://images.ctfassets.net/9ncizv60xc5y/7fs0ipzxuD9mACDzBATtxX/3c53ed90d15c96483e4f78cb29dab5e9/google-analytics.svg",
|
|
693
695
|
parameters,
|
|
694
696
|
releaseFlag: { dev1: true, dev2: false, prod: false },
|
|
697
|
+
categories: ["marketing"],
|
|
695
698
|
onboarding: googleAnalyticsOauthOnboarding,
|
|
696
699
|
proxyPolicy: {
|
|
697
700
|
allowlist: [
|
|
@@ -274,6 +274,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
274
274
|
releaseFlag;
|
|
275
275
|
proxyPolicy;
|
|
276
276
|
experimentalAttributes;
|
|
277
|
+
categories;
|
|
277
278
|
onboarding;
|
|
278
279
|
systemPrompt;
|
|
279
280
|
tools;
|
|
@@ -289,6 +290,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
289
290
|
this.releaseFlag = config.releaseFlag;
|
|
290
291
|
this.proxyPolicy = config.proxyPolicy;
|
|
291
292
|
this.experimentalAttributes = config.experimentalAttributes;
|
|
293
|
+
this.categories = config.categories ?? [];
|
|
292
294
|
this.onboarding = config.onboarding;
|
|
293
295
|
this.systemPrompt = config.systemPrompt;
|
|
294
296
|
this.tools = config.tools;
|
|
@@ -471,6 +473,7 @@ var googleAnalyticsConnector = new ConnectorPlugin({
|
|
|
471
473
|
iconUrl: "https://images.ctfassets.net/9ncizv60xc5y/7fs0ipzxuD9mACDzBATtxX/3c53ed90d15c96483e4f78cb29dab5e9/google-analytics.svg",
|
|
472
474
|
parameters,
|
|
473
475
|
releaseFlag: { dev1: true, dev2: true, prod: true },
|
|
476
|
+
categories: ["marketing"],
|
|
474
477
|
onboarding: googleAnalyticsOnboarding,
|
|
475
478
|
systemPrompt: {
|
|
476
479
|
en: `### Tools
|