replicas-engine 0.1.597 → 0.1.598
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/src/index.js
CHANGED
|
@@ -10737,7 +10737,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
|
10737
10737
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
10738
10738
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
10739
10739
|
var codexCliVersionEnsured = null;
|
|
10740
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
10740
|
+
var ENGINE_PACKAGE_VERSION = "0.1.598";
|
|
10741
10741
|
var INITIALIZE_METHOD = "initialize";
|
|
10742
10742
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
10743
10743
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
package/package.json
CHANGED
|
@@ -3,56 +3,79 @@ import type { WorkspaceNativeIntegrationStatus } from './integrations';
|
|
|
3
3
|
export declare const PLUGIN_CATALOG: readonly [{
|
|
4
4
|
readonly id: "attio";
|
|
5
5
|
readonly toolkit: "attio";
|
|
6
|
+
readonly authType: "oauth";
|
|
6
7
|
readonly name: "Attio";
|
|
7
8
|
readonly description: "Search CRM records, people, companies, lists, and notes.";
|
|
8
9
|
}, {
|
|
9
10
|
readonly id: "clickhouse";
|
|
10
11
|
readonly toolkit: "clickhouse";
|
|
12
|
+
readonly authType: "basic";
|
|
11
13
|
readonly name: "ClickHouse";
|
|
12
14
|
readonly description: "Inspect databases, tables, schemas, and query results.";
|
|
15
|
+
}, {
|
|
16
|
+
readonly id: "cloudflare";
|
|
17
|
+
readonly toolkit: "cloudflare_api_key";
|
|
18
|
+
readonly authType: "api_key";
|
|
19
|
+
readonly name: "Cloudflare";
|
|
20
|
+
readonly description: "Inspect zones, DNS records, analytics, and security settings.";
|
|
13
21
|
}, {
|
|
14
22
|
readonly id: "googleads";
|
|
15
23
|
readonly toolkit: "googleads";
|
|
24
|
+
readonly authType: "oauth";
|
|
16
25
|
readonly name: "Google Ads";
|
|
17
26
|
readonly description: "Inspect campaigns, customers, accounts, and reporting data.";
|
|
18
27
|
}, {
|
|
19
28
|
readonly id: "googledocs";
|
|
20
29
|
readonly toolkit: "googledocs";
|
|
30
|
+
readonly authType: "oauth";
|
|
21
31
|
readonly name: "Google Docs";
|
|
22
32
|
readonly description: "Read documents, structure, comments, and exported content.";
|
|
23
33
|
}, {
|
|
24
34
|
readonly id: "googledrive";
|
|
25
35
|
readonly toolkit: "googledrive";
|
|
36
|
+
readonly authType: "oauth";
|
|
26
37
|
readonly name: "Google Drive";
|
|
27
38
|
readonly description: "Search files, folders, metadata, permissions, and shared drives.";
|
|
28
39
|
}, {
|
|
29
40
|
readonly id: "googlesearch";
|
|
30
41
|
readonly toolkit: "google_search_console";
|
|
42
|
+
readonly authType: "oauth";
|
|
31
43
|
readonly name: "Google Search";
|
|
32
44
|
readonly description: "Inspect Search Console performance, indexing, sites, and sitemaps.";
|
|
33
45
|
}, {
|
|
34
46
|
readonly id: "googlesheets";
|
|
35
47
|
readonly toolkit: "googlesheets";
|
|
48
|
+
readonly authType: "oauth";
|
|
36
49
|
readonly name: "Google Sheets";
|
|
37
50
|
readonly description: "Read spreadsheets, worksheets, ranges, tables, and charts.";
|
|
51
|
+
}, {
|
|
52
|
+
readonly id: "linkedin";
|
|
53
|
+
readonly toolkit: "linkedin";
|
|
54
|
+
readonly authType: "oauth";
|
|
55
|
+
readonly name: "LinkedIn";
|
|
56
|
+
readonly description: "Inspect profiles, organizations, posts, and professional activity.";
|
|
38
57
|
}, {
|
|
39
58
|
readonly id: "posthog";
|
|
40
59
|
readonly toolkit: "posthog";
|
|
60
|
+
readonly authType: "api_key";
|
|
41
61
|
readonly name: "PostHog";
|
|
42
62
|
readonly description: "Inspect projects, events, insights, dashboards, flags, and recordings.";
|
|
43
63
|
}, {
|
|
44
64
|
readonly id: "stripe";
|
|
45
65
|
readonly toolkit: "stripe";
|
|
66
|
+
readonly authType: "oauth";
|
|
46
67
|
readonly name: "Stripe";
|
|
47
68
|
readonly description: "Inspect customers, payments, invoices, subscriptions, and balances.";
|
|
48
69
|
}];
|
|
49
70
|
export type PluginId = (typeof PLUGIN_CATALOG)[number]['id'];
|
|
50
71
|
export type PluginScope = 'organization' | 'personal';
|
|
72
|
+
export type PluginAuthType = (typeof PLUGIN_CATALOG)[number]['authType'];
|
|
51
73
|
export declare const PLUGIN_CONNECTION_STATUSES: readonly ["initiated", "active", "expired", "failed"];
|
|
52
74
|
export type PluginConnectionStatus = (typeof PLUGIN_CONNECTION_STATUSES)[number];
|
|
53
75
|
export interface PluginCatalogItem {
|
|
54
76
|
id: PluginId;
|
|
55
77
|
toolkit: string;
|
|
78
|
+
authType: PluginAuthType;
|
|
56
79
|
name: string;
|
|
57
80
|
description: string;
|
|
58
81
|
}
|
|
@@ -72,6 +95,25 @@ export interface PluginConnectionsResponse {
|
|
|
72
95
|
export interface PluginStartOAuthResponse {
|
|
73
96
|
authorizationUrl: string;
|
|
74
97
|
}
|
|
98
|
+
export declare const POSTHOG_REGIONS: readonly ["us", "eu"];
|
|
99
|
+
export type PostHogRegion = (typeof POSTHOG_REGIONS)[number];
|
|
100
|
+
export interface PluginConnectPostHogRequest {
|
|
101
|
+
apiKey: string;
|
|
102
|
+
region: PostHogRegion;
|
|
103
|
+
}
|
|
104
|
+
export interface PluginConnectClickHouseRequest {
|
|
105
|
+
url: string;
|
|
106
|
+
username: string;
|
|
107
|
+
password: string;
|
|
108
|
+
database?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface PluginConnectCloudflareRequest {
|
|
111
|
+
apiKey: string;
|
|
112
|
+
}
|
|
113
|
+
export type PluginConnectRequest = PluginConnectPostHogRequest | PluginConnectClickHouseRequest | PluginConnectCloudflareRequest;
|
|
114
|
+
export interface PluginConnectResponse {
|
|
115
|
+
success: true;
|
|
116
|
+
}
|
|
75
117
|
export interface PluginConnectionDeleteResponse {
|
|
76
118
|
success: boolean;
|
|
77
119
|
}
|