replicas-engine 0.1.1210 → 0.1.1211

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.
@@ -8,12 +8,12 @@ import {
8
8
  listRunningCodexModels,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-GWT3LWTC.js";
12
- import "./chunk-WF66TH2R.js";
13
- import "./chunk-I3URDWNH.js";
14
- import "./chunk-JVBVO5SM.js";
11
+ } from "./chunk-UK7CPOB5.js";
12
+ import "./chunk-EOZ72TUI.js";
13
+ import "./chunk-GTEOVCFK.js";
14
+ import "./chunk-JIZPT767.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-QNL3RGIJ.js";
16
+ import "./chunk-DUEWTRSF.js";
17
17
  import "./chunk-VEQXQN22.js";
18
18
  export {
19
19
  CODEX_ULTRAFAST_SERVICE_TIER,
@@ -9489,10 +9489,37 @@ var HOSTED_COMPOSIO_PLUGINS = HOSTED_COMPOSIO_PLUGIN_DEFINITIONS.map(
9489
9489
  description: `Use ${name} tools from workspace agents.`
9490
9490
  })
9491
9491
  );
9492
+ var READ_ONLY_SCOPES = {
9493
+ gmail: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/contacts.readonly", "https://www.googleapis.com/auth/contacts.other.readonly", "https://www.googleapis.com/auth/gmail.readonly"],
9494
+ googledocs: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/documents.readonly"],
9495
+ googledrive: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/drive.readonly"],
9496
+ googlesheets: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/spreadsheets.readonly"],
9497
+ googleslides: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/presentations.readonly"],
9498
+ googlecalendar: ["https://www.googleapis.com/auth/calendar.readonly"],
9499
+ googletasks: ["https://www.googleapis.com/auth/tasks.readonly"],
9500
+ googlesearch: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/webmasters.readonly"],
9501
+ googleanalytics: ["https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/analytics.readonly"],
9502
+ youtube: ["https://www.googleapis.com/auth/youtube.readonly"],
9503
+ outlook: ["User.Read", "Mail.Read", "MailboxSettings.Read", "Calendars.Read", "Contacts.Read", "offline_access"],
9504
+ onedrive: ["Files.Read.All", "Sites.Read.All", "offline_access"],
9505
+ microsoftteams: ["User.Read", "Team.ReadBasic.All", "Channel.ReadBasic.All", "ChannelMessage.Read.All", "Chat.Read", "Chat.ReadBasic", "ChatMessage.Read", "People.Read.All", "TeamsActivity.Read", "offline_access"],
9506
+ jira: ["read:jira-work", "read:jira-user", "read:servicedesk-request", "read:servicemanagement-insight-objects", "read:sprint:jira-software", "read:board-scope:jira-software", "read:project:jira", "read:issue-type-scheme:jira", "offline_access"],
9507
+ confluence: ["read:space-details:confluence", "read:audit-log:confluence", "read:page:confluence", "read:blogpost:confluence", "read:whiteboard:confluence", "read:comment:confluence", "read:content.restriction:confluence", "read:content.metadata:confluence", "read:inlinetask:confluence", "read:task:confluence", "offline_access"],
9508
+ pagerduty: ["read"],
9509
+ zendesk: ["read"],
9510
+ gong: ["api:calls:read:basic", "api:calls:read:extensive", "api:calls:read:transcript", "api:calls:read:media-url", "api:users:read", "api:stats:interaction", "api:stats:scorecards", "api:stats:user-actions", "api:stats:user-actions:detailed", "api:settings:scorecards:read", "api:settings:trackers:read", "api:library:read", "api:tasks:read", "api:flows:read", "api:workspaces:read", "api:crm:get-objects", "api:crm:schema", "api:crm:integrations:read", "api:call-outcomes:read", "api:permission-profile:read", "api:logs:read"],
9511
+ figma: ["current_user:read", "file_content:read", "file_comments:read", "file_metadata:read", "file_versions:read", "projects:read", "library_assets:read", "library_content:read", "team_library_content:read", "webhooks:read"],
9512
+ airtable: ["data.records:read", "data.recordComments:read", "schema.bases:read", "user.email:read"],
9513
+ todoist: ["data:read"],
9514
+ dropbox: ["openid", "email", "profile", "account_info.read", "files.metadata.read", "files.content.read", "file_requests.read", "sharing.read", "contacts.read"],
9515
+ canva: ["profile:read", "asset:read", "brandtemplate:content:read", "brandtemplate:meta:read", "comment:read", "design:content:read", "design:meta:read", "folder:read"],
9516
+ facebook: ["public_profile", "email", "pages_show_list", "pages_read_engagement", "pages_read_user_content", "read_insights"],
9517
+ instagram: ["instagram_business_basic", "instagram_business_manage_insights"]
9518
+ };
9492
9519
  var PLUGIN_CATALOG = [
9493
9520
  ...EXPLICIT_PLUGIN_CATALOG,
9494
9521
  ...HOSTED_COMPOSIO_PLUGINS
9495
- ];
9522
+ ].map((plugin) => ({ ...plugin, readOnlyScopes: READ_ONLY_SCOPES[plugin.id] }));
9496
9523
 
9497
9524
  // ../shared/src/routes/user.ts
9498
9525
  var PROFILE_AVATAR_MAX_SIZE_BYTES = 5 * 1024 * 1024;
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-JVBVO5SM.js";
7
+ } from "./chunk-JIZPT767.js";
8
8
  import {
9
9
  isRecord as isRecord2
10
10
  } from "./chunk-UZSNFLDQ.js";
@@ -18,7 +18,7 @@ import {
18
18
  isValidAgentProvider,
19
19
  parsePosixEnvFile,
20
20
  readReplicasRuntimeEnv
21
- } from "./chunk-QNL3RGIJ.js";
21
+ } from "./chunk-DUEWTRSF.js";
22
22
 
23
23
  // src/runtime-env-loader.ts
24
24
  import { readFileSync } from "fs";
@@ -3,10 +3,10 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  execFileAsync
6
- } from "./chunk-JVBVO5SM.js";
6
+ } from "./chunk-JIZPT767.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-QNL3RGIJ.js";
9
+ } from "./chunk-DUEWTRSF.js";
10
10
 
11
11
  // src/utils/codex-agent-env.ts
12
12
  function buildCodexAgentEnv(source = process.env) {
@@ -240,7 +240,7 @@ function getCodexModelProvider(method) {
240
240
  if (method === "foundry") return "azure";
241
241
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
242
242
  }
243
- var ENGINE_PACKAGE_VERSION = "0.1.1210";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1211";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-QNL3RGIJ.js";
6
+ } from "./chunk-DUEWTRSF.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-QNL3RGIJ.js";
8
+ } from "./chunk-DUEWTRSF.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  AspClient
6
- } from "./chunk-I3URDWNH.js";
6
+ } from "./chunk-GTEOVCFK.js";
7
7
  import {
8
8
  ASTER_BASE_URL,
9
9
  ASTER_PROVIDER,
@@ -13,7 +13,7 @@ import {
13
13
  isRecord,
14
14
  readOllamaAuthEnv,
15
15
  readOpenAICompatibleAuthEnv
16
- } from "./chunk-QNL3RGIJ.js";
16
+ } from "./chunk-DUEWTRSF.js";
17
17
 
18
18
  // src/managers/codex-asp/notification-dispatch.ts
19
19
  var TURN_STARTED_METHOD = "turn/started";
@@ -10,15 +10,15 @@ import {
10
10
  resolveDiffBase,
11
11
  runGitCommand,
12
12
  setAgentCredentialSnapshot
13
- } from "./chunk-WF66TH2R.js";
13
+ } from "./chunk-EOZ72TUI.js";
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-I3URDWNH.js";
17
+ } from "./chunk-GTEOVCFK.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
21
- } from "./chunk-JVBVO5SM.js";
21
+ } from "./chunk-JIZPT767.js";
22
22
  import {
23
23
  isRecord
24
24
  } from "./chunk-UZSNFLDQ.js";
@@ -55,7 +55,7 @@ import {
55
55
  resolveOpenAICompatibleModelsUrl,
56
56
  splitMothershipInstructions,
57
57
  withTimeout
58
- } from "./chunk-QNL3RGIJ.js";
58
+ } from "./chunk-DUEWTRSF.js";
59
59
 
60
60
  // src/managers/codex-token-manager.ts
61
61
  import { promises as fs } from "fs";
@@ -291,7 +291,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
291
291
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
292
292
  await this.applyCredentialsResponse(data);
293
293
  setAgentCredentialSnapshot("codex", data);
294
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-HV2J43RI.js");
294
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-H6HGVWIB.js");
295
295
  await restartCodexAspHostIfRunning2();
296
296
  });
297
297
  await this.start(true);
@@ -313,7 +313,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
313
313
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
314
314
  await this.applyCredentialsResponse(data);
315
315
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
316
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-HV2J43RI.js");
316
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-H6HGVWIB.js");
317
317
  await restartCodexAspHostIfRunning2();
318
318
  }
319
319
  setAgentCredentialSnapshot("codex", data);
@@ -5,14 +5,14 @@ import {
5
5
  getOriginDefaultBranch,
6
6
  monolithRequest,
7
7
  runGitCommand
8
- } from "./chunk-WF66TH2R.js";
8
+ } from "./chunk-EOZ72TUI.js";
9
9
  import {
10
10
  extractCommandProtectionCommandText,
11
11
  findCommandProtectionGitLookups,
12
12
  findGitCommitSignals,
13
13
  findPrMergeSignals,
14
14
  parseCommandProtectionRequest
15
- } from "./chunk-QNL3RGIJ.js";
15
+ } from "./chunk-DUEWTRSF.js";
16
16
 
17
17
  // src/services/command-protection-service.ts
18
18
  import { readFile, stat } from "fs/promises";
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  evaluateCommandProtection
6
- } from "./chunk-H46YGVWX.js";
7
- import "./chunk-WF66TH2R.js";
8
- import "./chunk-JVBVO5SM.js";
6
+ } from "./chunk-VXX3QRLD.js";
7
+ import "./chunk-EOZ72TUI.js";
8
+ import "./chunk-JIZPT767.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-QNL3RGIJ.js";
12
+ import "./chunk-DUEWTRSF.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/command-protection-hook.ts
@@ -13,12 +13,12 @@ import {
13
13
  recoverCompletedTurn,
14
14
  spawnMuseMsp,
15
15
  startMuseSession
16
- } from "./chunk-PS2ARUWT.js";
16
+ } from "./chunk-TAJWPNZ6.js";
17
17
  import {
18
18
  AppServerProcess,
19
19
  buildCodexAgentEnv
20
- } from "./chunk-I3URDWNH.js";
21
- import "./chunk-JVBVO5SM.js";
20
+ } from "./chunk-GTEOVCFK.js";
21
+ import "./chunk-JIZPT767.js";
22
22
  import {
23
23
  AGENT,
24
24
  OPENCODE_GO_PROVIDER,
@@ -28,7 +28,7 @@ import {
28
28
  headlessAgentUsagePath,
29
29
  isRecord,
30
30
  withTimeout
31
- } from "./chunk-QNL3RGIJ.js";
31
+ } from "./chunk-DUEWTRSF.js";
32
32
  import "./chunk-VEQXQN22.js";
33
33
 
34
34
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  evaluateCommandProtection,
28
28
  extractToolCommand,
29
29
  reportCommandProtectionBlock
30
- } from "./chunk-H46YGVWX.js";
30
+ } from "./chunk-VXX3QRLD.js";
31
31
  import {
32
32
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
33
33
  AGENT_MESSAGE_DELTA_METHOD,
@@ -64,10 +64,10 @@ import {
64
64
  spawnMuseMsp,
65
65
  startMuseSession,
66
66
  uuidV7
67
- } from "./chunk-PS2ARUWT.js";
67
+ } from "./chunk-TAJWPNZ6.js";
68
68
  import {
69
69
  publishedPullRequestUrls
70
- } from "./chunk-BFXPBH4O.js";
70
+ } from "./chunk-RJEDVMHT.js";
71
71
  import {
72
72
  ACCOUNT_RATE_LIMITS_READ_METHOD,
73
73
  AsyncLock,
@@ -140,7 +140,7 @@ import {
140
140
  timestampFromSeconds,
141
141
  upsertCredentialFileLines,
142
142
  writeSecureCredentialFile
143
- } from "./chunk-GWT3LWTC.js";
143
+ } from "./chunk-UK7CPOB5.js";
144
144
  import {
145
145
  ENGINE_ENV,
146
146
  monolithRequest,
@@ -149,15 +149,15 @@ import {
149
149
  reloadEngineEnv,
150
150
  resolveDiffBase,
151
151
  setAgentCredentialSnapshot
152
- } from "./chunk-WF66TH2R.js";
152
+ } from "./chunk-EOZ72TUI.js";
153
153
  import {
154
154
  getCodexModelProvider
155
- } from "./chunk-I3URDWNH.js";
155
+ } from "./chunk-GTEOVCFK.js";
156
156
  import {
157
157
  SUBPROCESS_MAX_BUFFER,
158
158
  execAsync,
159
159
  execFileAsync
160
- } from "./chunk-JVBVO5SM.js";
160
+ } from "./chunk-JIZPT767.js";
161
161
  import {
162
162
  isRecord as isRecord2
163
163
  } from "./chunk-UZSNFLDQ.js";
@@ -392,7 +392,7 @@ import {
392
392
  workspaceTokenRequestSchema,
393
393
  workspaceTokenResponseSchema,
394
394
  wrapInTag
395
- } from "./chunk-QNL3RGIJ.js";
395
+ } from "./chunk-DUEWTRSF.js";
396
396
  import {
397
397
  cloneMcpConfig,
398
398
  ensureCompatibilityImports,
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  publishedPullRequestUrls
6
- } from "./chunk-BFXPBH4O.js";
6
+ } from "./chunk-RJEDVMHT.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-QNL3RGIJ.js";
12
+ } from "./chunk-DUEWTRSF.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/services/post-tool-pr-notifier.ts
@@ -9,7 +9,7 @@ import {
9
9
  spawnSubagentRequestSchema,
10
10
  subagentResponseSchema,
11
11
  waitSubagentRequestSchema
12
- } from "./chunk-QNL3RGIJ.js";
12
+ } from "./chunk-DUEWTRSF.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/subagent-mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1210",
3
+ "version": "0.1.1211",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -2,208 +2,232 @@
2
2
  export declare const HOSTED_PLUGIN_AUTH_SCHEMES: readonly ["API_KEY", "BASIC", "BEARER_TOKEN", "DCR_OAUTH", "OAUTH1", "OAUTH2"];
3
3
  export type HostedPluginAuthScheme = (typeof HOSTED_PLUGIN_AUTH_SCHEMES)[number];
4
4
  declare const HOSTED_COMPOSIO_PLUGIN_DEFINITIONS: readonly [["notion", "notion", "OAUTH2", true, "productivity", "Notion"], ["jira", "jira", "OAUTH2", true, "productivity", "Jira"], ["confluence", "confluence", "OAUTH2", true, "productivity", "Confluence"], ["googlecalendar", "googlecalendar", "OAUTH2", true, "productivity", "Google Calendar"], ["microsoftteams", "microsoft_teams", "OAUTH2", true, "productivity", "Microsoft Teams"], ["outlook", "outlook", "OAUTH2", true, "productivity", "Outlook"], ["bitbucket", "bitbucket", "OAUTH2", true, "data", "Bitbucket"], ["datadog", "datadog", "API_KEY", false, "data", "Datadog"], ["pagerduty", "pagerduty", "OAUTH2", true, "data", "PagerDuty"], ["intercom", "intercom", "OAUTH2", true, "business", "Intercom"], ["zendesk", "zendesk", "OAUTH2", true, "business", "Zendesk"], ["hubspot", "hubspot", "OAUTH2", true, "business", "HubSpot"], ["supabase", "supabase", "OAUTH2", true, "data", "Supabase"], ["figma", "figma", "OAUTH2", true, "productivity", "Figma"], ["launchdarkly", "launch_darkly", "API_KEY", false, "data", "LaunchDarkly"], ["asana", "asana", "OAUTH2", true, "productivity", "Asana"], ["clickup", "clickup", "OAUTH2", true, "productivity", "ClickUp"], ["trello", "trello", "OAUTH1", true, "productivity", "Trello"], ["todoist", "todoist", "OAUTH2", true, "productivity", "Todoist"], ["airtable", "airtable", "OAUTH2", true, "productivity", "Airtable"], ["coda", "coda", "API_KEY", false, "productivity", "Coda"], ["miro", "miro", "OAUTH2", true, "productivity", "Miro"], ["sharepoint", "share_point", "OAUTH2", true, "productivity", "SharePoint"], ["onedrive", "one_drive", "OAUTH2", true, "productivity", "OneDrive"], ["googleslides", "googleslides", "OAUTH2", true, "productivity", "Google Slides"], ["googlemeet", "googlemeet", "OAUTH2", true, "productivity", "Google Meet"], ["circleback", "circleback_mcp", "DCR_OAUTH", false, "productivity", "Circleback"], ["granola", "granola_mcp", "DCR_OAUTH", false, "productivity", "Granola"], ["mercury", "mercury_mcp", "DCR_OAUTH", false, "business", "Mercury"], ["googletasks", "googletasks", "OAUTH2", true, "productivity", "Google Tasks"], ["dropbox", "dropbox", "OAUTH2", true, "productivity", "Dropbox"], ["box", "box", "OAUTH2", true, "productivity", "Box"], ["discord", "discord", "OAUTH2", true, "productivity", "Discord"], ["discordbot", "discordbot", "OAUTH2", true, "productivity", "Discord Bot"], ["zoom", "zoom", "OAUTH2", true, "productivity", "Zoom"], ["googlechat", "google_chat", "OAUTH2", false, "productivity", "Google Chat"], ["newrelic", "new_relic", "API_KEY", false, "data", "New Relic"], ["betterstack", "better_stack", "API_KEY", false, "data", "Better Stack"], ["incidentio", "incident_io", "API_KEY", false, "data", "incident.io"], ["grafana", "grafana", "BEARER_TOKEN", false, "data", "Grafana"], ["honeycomb", "honeycomb_mcp", "DCR_OAUTH", false, "data", "Honeycomb MCP"], ["neon", "neon_mcp", "DCR_OAUTH", false, "data", "Neon"], ["bugsnag", "bugsnag", "API_KEY", false, "data", "Bugsnag"], ["circleci", "circleci", "API_KEY", false, "data", "CircleCI"], ["buildkite", "buildkite", "API_KEY", false, "data", "Buildkite"], ["dockerhub", "docker_hub", "API_KEY", false, "data", "Docker Hub"], ["digitalocean", "digital_ocean", "OAUTH2", true, "data", "DigitalOcean"], ["railway", "railway", "API_KEY", false, "data", "Railway"], ["render", "render", "API_KEY", false, "data", "Render"], ["firebase", "firebase", "API_KEY", false, "data", "Firebase"], ["cloudinary", "cloudinary", "API_KEY", false, "data", "Cloudinary"], ["configcat", "configcat", "API_KEY", false, "data", "ConfigCat"], ["contextdev", "context_dev", "API_KEY", false, "data", "Context.dev"], ["googleanalytics", "google_analytics", "OAUTH2", true, "data", "Google Analytics"], ["googlebigquery", "googlebigquery", "OAUTH2", true, "data", "Google BigQuery"], ["amplitude", "amplitude", "API_KEY", false, "data", "Amplitude"], ["mixpanel", "mixpanel", "BASIC", false, "data", "Mixpanel"], ["segment", "segment", "API_KEY", false, "data", "Segment"], ["supermemory", "supermemory", "API_KEY", false, "data", "Supermemory"], ["databricks", "databricks", "API_KEY", false, "data", "Databricks"], ["snowflake", "snowflake", "OAUTH2", false, "data", "Snowflake"], ["algolia", "algolia", "API_KEY", false, "data", "Algolia"], ["elasticsearch", "elasticsearch", "API_KEY", false, "data", "Elasticsearch"], ["salesforce", "salesforce", "OAUTH2", true, "business", "Salesforce"], ["pipedrive", "pipedrive", "API_KEY", false, "business", "Pipedrive"], ["close", "close", "API_KEY", false, "business", "Close"], ["apollo", "apollo", "API_KEY", false, "business", "Apollo"], ["gong", "gong", "OAUTH2", true, "business", "Gong"], ["freshdesk", "freshdesk", "API_KEY", false, "business", "Freshdesk"], ["helpscout", "help_scout", "OAUTH2", false, "business", "Help Scout"], ["servicenow", "servicenow", "BASIC", false, "business", "ServiceNow"], ["mailchimp", "mailchimp", "OAUTH2", true, "business", "Mailchimp"], ["customerio", "customerio", "API_KEY", false, "business", "Customer.io"], ["klaviyo", "klaviyo", "API_KEY", false, "business", "Klaviyo"], ["shopify", "shopify", "API_KEY", false, "business", "Shopify"], ["quickbooks", "quickbooks", "OAUTH2", true, "business", "QuickBooks"], ["xero", "xero", "OAUTH2", false, "business", "Xero"], ["brex", "brex", "API_KEY", false, "business", "Brex"], ["buffer", "buffer", "OAUTH2", false, "business", "Buffer"], ["canva", "canva", "OAUTH2", true, "productivity", "Canva"], ["webflow", "webflow", "API_KEY", false, "business", "Webflow"], ["firecrawl", "firecrawl", "API_KEY", false, "data", "Firecrawl"], ["browserbase", "browserbase_tool", "API_KEY", false, "data", "Browserbase"], ["exa", "exa", "API_KEY", false, "data", "Exa"], ["youtube", "youtube", "OAUTH2", true, "business", "YouTube"], ["twitter", "twitter", "OAUTH2", false, "business", "Twitter/X"], ["instagram", "instagram", "OAUTH2", true, "business", "Instagram"], ["facebook", "facebook", "OAUTH2", true, "business", "Facebook"]];
5
- type HostedComposioPlugin = {
5
+ export declare const PLUGIN_CATALOG: ({
6
+ readOnlyScopes: readonly string[] | undefined;
7
+ id: "attio";
8
+ backend: "composio";
9
+ toolkit: "attio";
10
+ authType: "oauth";
11
+ category: "business";
12
+ name: "Attio";
13
+ description: "Manage CRM records, people, companies, lists, and notes.";
14
+ } | {
15
+ readOnlyScopes: readonly string[] | undefined;
16
+ id: "calendly";
17
+ backend: "composio";
18
+ toolkit: "calendly";
19
+ authType: "oauth";
20
+ category: "productivity";
21
+ name: "Calendly";
22
+ description: "Manage event types, scheduled events, invitees, and scheduling links.";
23
+ } | {
24
+ readOnlyScopes: readonly string[] | undefined;
25
+ id: "clickhouse";
26
+ backend: "composio";
27
+ toolkit: "clickhouse";
28
+ authType: "basic";
29
+ category: "data";
30
+ name: "ClickHouse";
31
+ description: "Manage databases, tables, schemas, and queries.";
32
+ } | {
33
+ readOnlyScopes: readonly string[] | undefined;
34
+ id: "cloudflare";
35
+ backend: "composio";
36
+ toolkit: "cloudflare_api_key";
37
+ authType: "api_key";
38
+ category: "data";
39
+ name: "Cloudflare";
40
+ description: "Manage zones, DNS records, analytics, and security settings.";
41
+ } | {
42
+ readOnlyScopes: readonly string[] | undefined;
43
+ id: "e2b";
44
+ toolkit: "e2b";
45
+ backend: "native";
46
+ authType: "api_key";
47
+ category: "data";
48
+ name: "E2B";
49
+ description: "Create secure cloud sandboxes and run commands in them.";
50
+ } | {
51
+ readOnlyScopes: readonly string[] | undefined;
52
+ id: "gmail";
53
+ backend: "composio";
54
+ toolkit: "gmail";
55
+ authType: "oauth";
56
+ category: "productivity";
57
+ name: "Gmail";
58
+ description: "Manage messages, threads, attachments, labels, and mailbox settings.";
59
+ } | {
60
+ readOnlyScopes: readonly string[] | undefined;
61
+ id: "greptile";
62
+ backend: "native";
63
+ toolkit: "greptile";
64
+ authType: "api_key";
65
+ category: "data";
66
+ name: "Greptile Knowledge Base";
67
+ description: "Search and read self-updating codebase documentation, architecture, and flows.";
68
+ } | {
69
+ readOnlyScopes: readonly string[] | undefined;
70
+ id: "googleads";
71
+ backend: "composio";
72
+ toolkit: "googleads";
73
+ authType: "oauth";
74
+ category: "data";
75
+ name: "Google Ads";
76
+ description: "Manage campaigns, customers, accounts, and reporting data.";
77
+ } | {
78
+ readOnlyScopes: readonly string[] | undefined;
79
+ id: "googledocs";
80
+ backend: "composio";
81
+ toolkit: "googledocs";
82
+ authType: "oauth";
83
+ category: "productivity";
84
+ name: "Google Docs";
85
+ description: "Manage documents, structure, comments, and exported content.";
86
+ } | {
87
+ readOnlyScopes: readonly string[] | undefined;
88
+ id: "googledrive";
89
+ backend: "composio";
90
+ toolkit: "googledrive";
91
+ authType: "oauth";
92
+ category: "productivity";
93
+ name: "Google Drive";
94
+ description: "Manage files, folders, metadata, permissions, and shared drives.";
95
+ } | {
96
+ readOnlyScopes: readonly string[] | undefined;
97
+ id: "googlesearch";
98
+ backend: "composio";
99
+ toolkit: "google_search_console";
100
+ authType: "oauth";
101
+ category: "data";
102
+ name: "Google Search";
103
+ description: "Manage Search Console performance, indexing, sites, and sitemaps.";
104
+ } | {
105
+ readOnlyScopes: readonly string[] | undefined;
106
+ id: "googlesheets";
107
+ backend: "composio";
108
+ toolkit: "googlesheets";
109
+ authType: "oauth";
110
+ category: "productivity";
111
+ name: "Google Sheets";
112
+ description: "Manage spreadsheets, worksheets, ranges, tables, and charts.";
113
+ } | {
114
+ readOnlyScopes: readonly string[] | undefined;
115
+ id: "linkedin";
116
+ backend: "composio";
117
+ toolkit: "linkedin";
118
+ authType: "oauth";
119
+ category: "business";
120
+ name: "LinkedIn";
121
+ description: "Manage profiles, organizations, posts, and professional activity.";
122
+ } | {
123
+ readOnlyScopes: readonly string[] | undefined;
124
+ id: "modal";
125
+ backend: "native";
126
+ toolkit: "modal";
127
+ authType: "basic";
128
+ category: "data";
129
+ name: "Modal";
130
+ description: "Invoke deployed functions through Modal compute.";
131
+ } | {
132
+ readOnlyScopes: readonly string[] | undefined;
133
+ id: "posthog";
134
+ backend: "composio";
135
+ toolkit: "posthog";
136
+ authType: "api_key";
137
+ category: "data";
138
+ name: "PostHog";
139
+ description: "Manage projects, events, insights, dashboards, flags, and recordings.";
140
+ } | {
141
+ readOnlyScopes: readonly string[] | undefined;
142
+ id: "planetscale";
143
+ toolkit: "planetscale";
144
+ backend: "native";
145
+ authType: "oauth";
146
+ category: "data";
147
+ name: "PlanetScale";
148
+ description: "Manage organizations, databases, branches, deploy requests, and Insights.";
149
+ } | {
150
+ readOnlyScopes: readonly string[] | undefined;
151
+ id: "sazabi";
152
+ backend: "native";
153
+ toolkit: "sazabi";
154
+ authType: "oauth";
155
+ category: "data";
156
+ name: "Sazabi";
157
+ description: "Query logs, investigate issues, and run the Sazabi observability agent.";
158
+ } | {
159
+ readOnlyScopes: readonly string[] | undefined;
160
+ id: "stripe";
161
+ backend: "composio";
162
+ toolkit: "stripe";
163
+ authType: "oauth";
164
+ category: "business";
165
+ name: "Stripe";
166
+ description: "Manage customers, payments, invoices, subscriptions, and balances.";
167
+ } | {
168
+ readOnlyScopes: readonly string[] | undefined;
169
+ id: "kondo";
170
+ backend: "native";
171
+ toolkit: "kondo";
172
+ authType: "oauth";
173
+ category: "business";
174
+ name: "Kondo";
175
+ description: "Manage LinkedIn chats, labels, reminders, drafts, connections, and invites.";
176
+ } | {
177
+ readOnlyScopes: readonly string[] | undefined;
178
+ id: "lightfield";
179
+ backend: "native";
180
+ toolkit: "lightfield";
181
+ authType: "api_key";
182
+ category: "business";
183
+ name: "Lightfield";
184
+ description: "Manage CRM accounts, contacts, opportunities, meetings, notes, and tasks.";
185
+ } | {
186
+ readOnlyScopes: readonly string[] | undefined;
187
+ id: "pangram";
188
+ backend: "native";
189
+ toolkit: "pangram";
190
+ authType: "api_key";
191
+ category: "data";
192
+ name: "Pangram";
193
+ description: "Analyze text for AI generation and plagiarism signals.";
194
+ } | {
195
+ readOnlyScopes: readonly string[] | undefined;
196
+ id: "vercel";
197
+ backend: "native";
198
+ toolkit: "vercel";
199
+ authType: "api_key";
200
+ category: "data";
201
+ name: "Vercel";
202
+ description: "Manage projects, deployments, logs, domains, and infrastructure.";
203
+ } | {
204
+ readOnlyScopes: readonly string[] | undefined;
205
+ id: "turbopuffer";
206
+ backend: "native";
207
+ toolkit: "turbopuffer";
208
+ authType: "api_key";
209
+ category: "data";
210
+ name: "turbopuffer";
211
+ description: "Query and manage turbopuffer namespaces.";
212
+ } | {
213
+ readOnlyScopes: readonly string[] | undefined;
214
+ id: "vanta";
215
+ backend: "native";
216
+ toolkit: "vanta";
217
+ authType: "credentials";
218
+ category: "data";
219
+ name: "Vanta";
220
+ description: "Review and manage controls, tests, evidence, vendors, risks, and compliance data.";
221
+ } | {
222
+ readOnlyScopes: readonly string[] | undefined;
6
223
  id: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][0];
7
- backend: 'composio';
224
+ backend: "composio";
8
225
  toolkit: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][1];
9
- authType: 'hosted';
226
+ authType: "hosted";
10
227
  authScheme: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][2];
11
228
  managedAuth: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][3];
12
229
  category: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][4];
13
230
  name: (typeof HOSTED_COMPOSIO_PLUGIN_DEFINITIONS)[number][5];
14
231
  description: string;
15
- };
16
- export declare const PLUGIN_CATALOG: readonly [{
17
- readonly id: "attio";
18
- readonly backend: "composio";
19
- readonly toolkit: "attio";
20
- readonly authType: "oauth";
21
- readonly category: "business";
22
- readonly name: "Attio";
23
- readonly description: "Manage CRM records, people, companies, lists, and notes.";
24
- }, {
25
- readonly id: "calendly";
26
- readonly backend: "composio";
27
- readonly toolkit: "calendly";
28
- readonly authType: "oauth";
29
- readonly category: "productivity";
30
- readonly name: "Calendly";
31
- readonly description: "Manage event types, scheduled events, invitees, and scheduling links.";
32
- }, {
33
- readonly id: "clickhouse";
34
- readonly backend: "composio";
35
- readonly toolkit: "clickhouse";
36
- readonly authType: "basic";
37
- readonly category: "data";
38
- readonly name: "ClickHouse";
39
- readonly description: "Manage databases, tables, schemas, and queries.";
40
- }, {
41
- readonly id: "cloudflare";
42
- readonly backend: "composio";
43
- readonly toolkit: "cloudflare_api_key";
44
- readonly authType: "api_key";
45
- readonly category: "data";
46
- readonly name: "Cloudflare";
47
- readonly description: "Manage zones, DNS records, analytics, and security settings.";
48
- }, {
49
- readonly id: "e2b";
50
- readonly toolkit: "e2b";
51
- readonly backend: "native";
52
- readonly authType: "api_key";
53
- readonly category: "data";
54
- readonly name: "E2B";
55
- readonly description: "Create secure cloud sandboxes and run commands in them.";
56
- }, {
57
- readonly id: "gmail";
58
- readonly backend: "composio";
59
- readonly toolkit: "gmail";
60
- readonly authType: "oauth";
61
- readonly category: "productivity";
62
- readonly name: "Gmail";
63
- readonly description: "Manage messages, threads, attachments, labels, and mailbox settings.";
64
- }, {
65
- readonly id: "greptile";
66
- readonly backend: "native";
67
- readonly toolkit: "greptile";
68
- readonly authType: "api_key";
69
- readonly category: "data";
70
- readonly name: "Greptile Knowledge Base";
71
- readonly description: "Search and read self-updating codebase documentation, architecture, and flows.";
72
- }, {
73
- readonly id: "googleads";
74
- readonly backend: "composio";
75
- readonly toolkit: "googleads";
76
- readonly authType: "oauth";
77
- readonly category: "data";
78
- readonly name: "Google Ads";
79
- readonly description: "Manage campaigns, customers, accounts, and reporting data.";
80
- }, {
81
- readonly id: "googledocs";
82
- readonly backend: "composio";
83
- readonly toolkit: "googledocs";
84
- readonly authType: "oauth";
85
- readonly category: "productivity";
86
- readonly name: "Google Docs";
87
- readonly description: "Manage documents, structure, comments, and exported content.";
88
- }, {
89
- readonly id: "googledrive";
90
- readonly backend: "composio";
91
- readonly toolkit: "googledrive";
92
- readonly authType: "oauth";
93
- readonly category: "productivity";
94
- readonly name: "Google Drive";
95
- readonly description: "Manage files, folders, metadata, permissions, and shared drives.";
96
- }, {
97
- readonly id: "googlesearch";
98
- readonly backend: "composio";
99
- readonly toolkit: "google_search_console";
100
- readonly authType: "oauth";
101
- readonly category: "data";
102
- readonly name: "Google Search";
103
- readonly description: "Manage Search Console performance, indexing, sites, and sitemaps.";
104
- }, {
105
- readonly id: "googlesheets";
106
- readonly backend: "composio";
107
- readonly toolkit: "googlesheets";
108
- readonly authType: "oauth";
109
- readonly category: "productivity";
110
- readonly name: "Google Sheets";
111
- readonly description: "Manage spreadsheets, worksheets, ranges, tables, and charts.";
112
- }, {
113
- readonly id: "linkedin";
114
- readonly backend: "composio";
115
- readonly toolkit: "linkedin";
116
- readonly authType: "oauth";
117
- readonly category: "business";
118
- readonly name: "LinkedIn";
119
- readonly description: "Manage profiles, organizations, posts, and professional activity.";
120
- }, {
121
- readonly id: "modal";
122
- readonly backend: "native";
123
- readonly toolkit: "modal";
124
- readonly authType: "basic";
125
- readonly category: "data";
126
- readonly name: "Modal";
127
- readonly description: "Invoke deployed functions through Modal compute.";
128
- }, {
129
- readonly id: "posthog";
130
- readonly backend: "composio";
131
- readonly toolkit: "posthog";
132
- readonly authType: "api_key";
133
- readonly category: "data";
134
- readonly name: "PostHog";
135
- readonly description: "Manage projects, events, insights, dashboards, flags, and recordings.";
136
- }, {
137
- readonly id: "planetscale";
138
- readonly toolkit: "planetscale";
139
- readonly backend: "native";
140
- readonly authType: "oauth";
141
- readonly category: "data";
142
- readonly name: "PlanetScale";
143
- readonly description: "Manage organizations, databases, branches, deploy requests, and Insights.";
144
- }, {
145
- readonly id: "sazabi";
146
- readonly backend: "native";
147
- readonly toolkit: "sazabi";
148
- readonly authType: "oauth";
149
- readonly category: "data";
150
- readonly name: "Sazabi";
151
- readonly description: "Query logs, investigate issues, and run the Sazabi observability agent.";
152
- }, {
153
- readonly id: "stripe";
154
- readonly backend: "composio";
155
- readonly toolkit: "stripe";
156
- readonly authType: "oauth";
157
- readonly category: "business";
158
- readonly name: "Stripe";
159
- readonly description: "Manage customers, payments, invoices, subscriptions, and balances.";
160
- }, {
161
- readonly id: "kondo";
162
- readonly backend: "native";
163
- readonly toolkit: "kondo";
164
- readonly authType: "oauth";
165
- readonly category: "business";
166
- readonly name: "Kondo";
167
- readonly description: "Manage LinkedIn chats, labels, reminders, drafts, connections, and invites.";
168
- }, {
169
- readonly id: "lightfield";
170
- readonly backend: "native";
171
- readonly toolkit: "lightfield";
172
- readonly authType: "api_key";
173
- readonly category: "business";
174
- readonly name: "Lightfield";
175
- readonly description: "Manage CRM accounts, contacts, opportunities, meetings, notes, and tasks.";
176
- }, {
177
- readonly id: "pangram";
178
- readonly backend: "native";
179
- readonly toolkit: "pangram";
180
- readonly authType: "api_key";
181
- readonly category: "data";
182
- readonly name: "Pangram";
183
- readonly description: "Analyze text for AI generation and plagiarism signals.";
184
- }, {
185
- readonly id: "vercel";
186
- readonly backend: "native";
187
- readonly toolkit: "vercel";
188
- readonly authType: "api_key";
189
- readonly category: "data";
190
- readonly name: "Vercel";
191
- readonly description: "Manage projects, deployments, logs, domains, and infrastructure.";
192
- }, {
193
- readonly id: "turbopuffer";
194
- readonly backend: "native";
195
- readonly toolkit: "turbopuffer";
196
- readonly authType: "api_key";
197
- readonly category: "data";
198
- readonly name: "turbopuffer";
199
- readonly description: "Query and manage turbopuffer namespaces.";
200
- }, {
201
- readonly id: "vanta";
202
- readonly backend: "native";
203
- readonly toolkit: "vanta";
204
- readonly authType: "credentials";
205
- readonly category: "data";
206
- readonly name: "Vanta";
207
- readonly description: "Review and manage controls, tests, evidence, vendors, risks, and compliance data.";
208
- }, ...HostedComposioPlugin[]];
232
+ })[];
209
233
  export {};
@@ -24,6 +24,7 @@ export interface PluginCatalogItem {
24
24
  category: PluginCategory;
25
25
  name: string;
26
26
  description: string;
27
+ readOnlyScopes?: readonly string[];
27
28
  }
28
29
  export interface PluginConnectionSummary {
29
30
  id: string;
@@ -32,11 +33,15 @@ export interface PluginConnectionSummary {
32
33
  status: PluginConnectionStatus;
33
34
  accountLabel?: string;
34
35
  connectedAt?: string;
36
+ readOnly: boolean;
35
37
  }
36
38
  export interface PluginConnectionsResponse {
37
39
  plugins: PluginCatalogItem[];
38
40
  environment: PluginConnectionSummary[];
39
41
  }
42
+ export interface PluginStartOAuthRequest {
43
+ readOnly?: boolean;
44
+ }
40
45
  export interface PluginStartOAuthResponse {
41
46
  authorizationUrl: string;
42
47
  }