replicas-engine 0.1.667 → 0.1.671

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.667",
3
+ "version": "0.1.671",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -2,6 +2,7 @@
2
2
  import type { WorkspaceNativeIntegrationStatus } from './integrations';
3
3
  export declare const PLUGIN_CATALOG: readonly [{
4
4
  readonly id: "attio";
5
+ readonly backend: "composio";
5
6
  readonly toolkit: "attio";
6
7
  readonly authType: "oauth";
7
8
  readonly category: "business";
@@ -9,6 +10,7 @@ export declare const PLUGIN_CATALOG: readonly [{
9
10
  readonly description: "Manage CRM records, people, companies, lists, and notes.";
10
11
  }, {
11
12
  readonly id: "calendly";
13
+ readonly backend: "composio";
12
14
  readonly toolkit: "calendly";
13
15
  readonly authType: "oauth";
14
16
  readonly category: "productivity";
@@ -16,6 +18,7 @@ export declare const PLUGIN_CATALOG: readonly [{
16
18
  readonly description: "Manage event types, scheduled events, invitees, and scheduling links.";
17
19
  }, {
18
20
  readonly id: "clickhouse";
21
+ readonly backend: "composio";
19
22
  readonly toolkit: "clickhouse";
20
23
  readonly authType: "basic";
21
24
  readonly category: "data";
@@ -23,6 +26,7 @@ export declare const PLUGIN_CATALOG: readonly [{
23
26
  readonly description: "Manage databases, tables, schemas, and queries.";
24
27
  }, {
25
28
  readonly id: "cloudflare";
29
+ readonly backend: "composio";
26
30
  readonly toolkit: "cloudflare_api_key";
27
31
  readonly authType: "api_key";
28
32
  readonly category: "data";
@@ -31,13 +35,14 @@ export declare const PLUGIN_CATALOG: readonly [{
31
35
  }, {
32
36
  readonly id: "e2b";
33
37
  readonly toolkit: "e2b";
34
- readonly source: "native";
38
+ readonly backend: "native";
35
39
  readonly authType: "api_key";
36
40
  readonly category: "data";
37
41
  readonly name: "E2B";
38
42
  readonly description: "Create secure cloud sandboxes and run commands in them.";
39
43
  }, {
40
44
  readonly id: "gmail";
45
+ readonly backend: "composio";
41
46
  readonly toolkit: "gmail";
42
47
  readonly authType: "oauth";
43
48
  readonly category: "productivity";
@@ -45,6 +50,7 @@ export declare const PLUGIN_CATALOG: readonly [{
45
50
  readonly description: "Manage messages, threads, attachments, labels, and mailbox settings.";
46
51
  }, {
47
52
  readonly id: "googleads";
53
+ readonly backend: "composio";
48
54
  readonly toolkit: "googleads";
49
55
  readonly authType: "oauth";
50
56
  readonly category: "data";
@@ -52,6 +58,7 @@ export declare const PLUGIN_CATALOG: readonly [{
52
58
  readonly description: "Manage campaigns, customers, accounts, and reporting data.";
53
59
  }, {
54
60
  readonly id: "googledocs";
61
+ readonly backend: "composio";
55
62
  readonly toolkit: "googledocs";
56
63
  readonly authType: "oauth";
57
64
  readonly category: "productivity";
@@ -59,6 +66,7 @@ export declare const PLUGIN_CATALOG: readonly [{
59
66
  readonly description: "Manage documents, structure, comments, and exported content.";
60
67
  }, {
61
68
  readonly id: "googledrive";
69
+ readonly backend: "composio";
62
70
  readonly toolkit: "googledrive";
63
71
  readonly authType: "oauth";
64
72
  readonly category: "productivity";
@@ -66,6 +74,7 @@ export declare const PLUGIN_CATALOG: readonly [{
66
74
  readonly description: "Manage files, folders, metadata, permissions, and shared drives.";
67
75
  }, {
68
76
  readonly id: "googlesearch";
77
+ readonly backend: "composio";
69
78
  readonly toolkit: "google_search_console";
70
79
  readonly authType: "oauth";
71
80
  readonly category: "data";
@@ -73,6 +82,7 @@ export declare const PLUGIN_CATALOG: readonly [{
73
82
  readonly description: "Manage Search Console performance, indexing, sites, and sitemaps.";
74
83
  }, {
75
84
  readonly id: "googlesheets";
85
+ readonly backend: "composio";
76
86
  readonly toolkit: "googlesheets";
77
87
  readonly authType: "oauth";
78
88
  readonly category: "productivity";
@@ -80,6 +90,7 @@ export declare const PLUGIN_CATALOG: readonly [{
80
90
  readonly description: "Manage spreadsheets, worksheets, ranges, tables, and charts.";
81
91
  }, {
82
92
  readonly id: "linkedin";
93
+ readonly backend: "composio";
83
94
  readonly toolkit: "linkedin";
84
95
  readonly authType: "oauth";
85
96
  readonly category: "business";
@@ -87,6 +98,7 @@ export declare const PLUGIN_CATALOG: readonly [{
87
98
  readonly description: "Manage profiles, organizations, posts, and professional activity.";
88
99
  }, {
89
100
  readonly id: "modal";
101
+ readonly backend: "native";
90
102
  readonly toolkit: "modal";
91
103
  readonly authType: "basic";
92
104
  readonly category: "data";
@@ -94,6 +106,7 @@ export declare const PLUGIN_CATALOG: readonly [{
94
106
  readonly description: "Invoke deployed functions through Modal compute.";
95
107
  }, {
96
108
  readonly id: "posthog";
109
+ readonly backend: "composio";
97
110
  readonly toolkit: "posthog";
98
111
  readonly authType: "api_key";
99
112
  readonly category: "data";
@@ -102,13 +115,14 @@ export declare const PLUGIN_CATALOG: readonly [{
102
115
  }, {
103
116
  readonly id: "planetscale";
104
117
  readonly toolkit: "planetscale";
105
- readonly source: "native";
118
+ readonly backend: "native";
106
119
  readonly authType: "oauth";
107
120
  readonly category: "data";
108
121
  readonly name: "PlanetScale";
109
122
  readonly description: "Manage organizations, databases, branches, deploy requests, and Insights.";
110
123
  }, {
111
124
  readonly id: "stripe";
125
+ readonly backend: "composio";
112
126
  readonly toolkit: "stripe";
113
127
  readonly authType: "oauth";
114
128
  readonly category: "business";
@@ -116,6 +130,7 @@ export declare const PLUGIN_CATALOG: readonly [{
116
130
  readonly description: "Manage customers, payments, invoices, subscriptions, and balances.";
117
131
  }, {
118
132
  readonly id: "pangram";
133
+ readonly backend: "native";
119
134
  readonly toolkit: "pangram";
120
135
  readonly authType: "api_key";
121
136
  readonly category: "data";
@@ -123,6 +138,7 @@ export declare const PLUGIN_CATALOG: readonly [{
123
138
  readonly description: "Analyze text for AI generation and plagiarism signals.";
124
139
  }, {
125
140
  readonly id: "vercel";
141
+ readonly backend: "composio";
126
142
  readonly toolkit: "vercel";
127
143
  readonly authType: "api_key";
128
144
  readonly category: "data";
@@ -130,6 +146,7 @@ export declare const PLUGIN_CATALOG: readonly [{
130
146
  readonly description: "Manage projects, deployments, logs, domains, and infrastructure.";
131
147
  }, {
132
148
  readonly id: "turbopuffer";
149
+ readonly backend: "native";
133
150
  readonly toolkit: "turbopuffer";
134
151
  readonly authType: "api_key";
135
152
  readonly category: "data";
@@ -137,35 +154,39 @@ export declare const PLUGIN_CATALOG: readonly [{
137
154
  readonly description: "Query and manage turbopuffer namespaces.";
138
155
  }];
139
156
  export type PluginId = (typeof PLUGIN_CATALOG)[number]['id'];
157
+ export type PluginBackend = (typeof PLUGIN_CATALOG)[number]['backend'];
140
158
  export type NativePluginId = Extract<(typeof PLUGIN_CATALOG)[number], {
141
- source: 'native';
159
+ backend: 'native';
142
160
  }>['id'];
143
- export type ComposioPluginId = Exclude<PluginId, NativePluginId>;
144
- export type PluginScope = 'organization' | 'personal';
161
+ export type ComposioPluginId = Extract<(typeof PLUGIN_CATALOG)[number], {
162
+ backend: 'composio';
163
+ }>['id'];
164
+ export type PluginScope = 'organization' | 'environment' | 'personal';
145
165
  export type PluginAuthType = (typeof PLUGIN_CATALOG)[number]['authType'];
146
166
  export type PluginCategory = (typeof PLUGIN_CATALOG)[number]['category'];
147
167
  export declare const PLUGIN_CONNECTION_STATUSES: readonly ["initiated", "active", "expired", "failed"];
148
168
  export type PluginConnectionStatus = (typeof PLUGIN_CONNECTION_STATUSES)[number];
149
169
  export interface PluginCatalogItem {
150
170
  id: PluginId;
171
+ backend: PluginBackend;
151
172
  toolkit: string;
152
173
  authType: PluginAuthType;
153
174
  category: PluginCategory;
154
175
  name: string;
155
176
  description: string;
156
- source?: 'native';
157
177
  }
158
178
  export interface PluginConnectionSummary {
159
179
  id: string;
160
180
  pluginId: PluginId;
161
181
  scope: PluginScope;
182
+ environmentId?: string;
162
183
  status: PluginConnectionStatus;
163
184
  accountLabel?: string;
164
185
  connectedAt?: string;
165
186
  }
166
187
  export interface PluginConnectionsResponse {
167
188
  plugins: PluginCatalogItem[];
168
- organization: PluginConnectionSummary[];
189
+ environment: PluginConnectionSummary[];
169
190
  personal: PluginConnectionSummary[];
170
191
  }
171
192
  export interface PluginStartOAuthResponse {
@@ -286,4 +307,5 @@ export interface PluginExecuteResponse {
286
307
  }
287
308
  export declare function isPluginId(value: string): value is PluginId;
288
309
  export declare function isComposioPluginId(value: string): value is ComposioPluginId;
310
+ export declare function isNativePluginId(value: string): value is NativePluginId;
289
311
  export declare function isPluginConnectionStatus(value: string): value is PluginConnectionStatus;