replicas-engine 0.1.596 → 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
@@ -2106,13 +2106,14 @@ var PREVIEWS_ABILITY = {
2106
2106
 
2107
2107
  // ../shared/src/default-skills/replicas-agent/abilities/plugins.ts
2108
2108
  var SECTION10 = `### Plugins
2109
- Discover and execute installed Attio, Google Ads, and Stripe tools through the workspace-scoped TypeScript SDK.
2109
+ Discover and execute installed marketplace tools through the workspace-scoped TypeScript SDK.
2110
2110
 
2111
2111
  **Reference:** \`references/PLUGINS.md\`
2112
2112
 
2113
2113
  Use this when:
2114
2114
  - The user asks for CRM data from Attio
2115
- - The user asks for Google Ads campaigns or reporting
2115
+ - The user asks for Google Ads, Docs, Drive, Search Console, or Sheets data
2116
+ - The user asks for ClickHouse analytics or PostHog product data
2116
2117
  - The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
2117
2118
  var REFERENCE10 = `# Plugins
2118
2119
 
@@ -2169,8 +2170,8 @@ Never attempt to import Composio, create a session, manage a connection, or call
2169
2170
  `;
2170
2171
  var PLUGINS_ABILITY = {
2171
2172
  label: "Plugins",
2172
- description: "Use installed Attio, Google Ads, and Stripe tools through @replicas/sdk.",
2173
- bullet: "- Interacting with installed plugins such as Attio, Google Ads, or Stripe",
2173
+ description: "Use installed marketplace tools through @replicas/sdk.",
2174
+ bullet: "- Interacting with installed marketplace plugins through TypeScript",
2174
2175
  section: SECTION10,
2175
2176
  referenceFile: { name: "PLUGINS.md", content: REFERENCE10 }
2176
2177
  };
@@ -10736,7 +10737,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
10736
10737
  var MIN_CODEX_CLI_VERSION = "0.144.6";
10737
10738
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
10738
10739
  var codexCliVersionEnsured = null;
10739
- var ENGINE_PACKAGE_VERSION = "0.1.596";
10740
+ var ENGINE_PACKAGE_VERSION = "0.1.598";
10740
10741
  var INITIALIZE_METHOD = "initialize";
10741
10742
  var INITIALIZED_NOTIFICATION = "initialized";
10742
10743
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.596",
3
+ "version": "0.1.598",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -3,26 +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.";
9
+ }, {
10
+ readonly id: "clickhouse";
11
+ readonly toolkit: "clickhouse";
12
+ readonly authType: "basic";
13
+ readonly name: "ClickHouse";
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.";
8
21
  }, {
9
22
  readonly id: "googleads";
10
23
  readonly toolkit: "googleads";
24
+ readonly authType: "oauth";
11
25
  readonly name: "Google Ads";
12
26
  readonly description: "Inspect campaigns, customers, accounts, and reporting data.";
27
+ }, {
28
+ readonly id: "googledocs";
29
+ readonly toolkit: "googledocs";
30
+ readonly authType: "oauth";
31
+ readonly name: "Google Docs";
32
+ readonly description: "Read documents, structure, comments, and exported content.";
33
+ }, {
34
+ readonly id: "googledrive";
35
+ readonly toolkit: "googledrive";
36
+ readonly authType: "oauth";
37
+ readonly name: "Google Drive";
38
+ readonly description: "Search files, folders, metadata, permissions, and shared drives.";
39
+ }, {
40
+ readonly id: "googlesearch";
41
+ readonly toolkit: "google_search_console";
42
+ readonly authType: "oauth";
43
+ readonly name: "Google Search";
44
+ readonly description: "Inspect Search Console performance, indexing, sites, and sitemaps.";
45
+ }, {
46
+ readonly id: "googlesheets";
47
+ readonly toolkit: "googlesheets";
48
+ readonly authType: "oauth";
49
+ readonly name: "Google Sheets";
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.";
57
+ }, {
58
+ readonly id: "posthog";
59
+ readonly toolkit: "posthog";
60
+ readonly authType: "api_key";
61
+ readonly name: "PostHog";
62
+ readonly description: "Inspect projects, events, insights, dashboards, flags, and recordings.";
13
63
  }, {
14
64
  readonly id: "stripe";
15
65
  readonly toolkit: "stripe";
66
+ readonly authType: "oauth";
16
67
  readonly name: "Stripe";
17
68
  readonly description: "Inspect customers, payments, invoices, subscriptions, and balances.";
18
69
  }];
19
70
  export type PluginId = (typeof PLUGIN_CATALOG)[number]['id'];
20
71
  export type PluginScope = 'organization' | 'personal';
72
+ export type PluginAuthType = (typeof PLUGIN_CATALOG)[number]['authType'];
21
73
  export declare const PLUGIN_CONNECTION_STATUSES: readonly ["initiated", "active", "expired", "failed"];
22
74
  export type PluginConnectionStatus = (typeof PLUGIN_CONNECTION_STATUSES)[number];
23
75
  export interface PluginCatalogItem {
24
76
  id: PluginId;
25
77
  toolkit: string;
78
+ authType: PluginAuthType;
26
79
  name: string;
27
80
  description: string;
28
81
  }
@@ -42,6 +95,25 @@ export interface PluginConnectionsResponse {
42
95
  export interface PluginStartOAuthResponse {
43
96
  authorizationUrl: string;
44
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
+ }
45
117
  export interface PluginConnectionDeleteResponse {
46
118
  success: boolean;
47
119
  }