replicas-engine 0.1.830 → 0.1.831
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/{asp-host-E4CCHLWU.js → asp-host-2BT65CNP.js} +4 -4
- package/dist/src/{chunk-IKQTMWNH.js → chunk-3ZA72VWO.js} +1 -1
- package/dist/src/{chunk-LMC2MLSC.js → chunk-EJKLU7KX.js} +2 -3
- package/dist/src/{chunk-QH6IJI6C.js → chunk-GLZE6UHB.js} +2 -2
- package/dist/src/{chunk-E53FG54G.js → chunk-I4FXRLZH.js} +2 -2
- package/dist/src/{chunk-NDU3XPU4.js → chunk-VZ6VMXC7.js} +1 -1
- package/dist/src/{chunk-LIIFRZYH.js → chunk-Y7T6IWID.js} +4 -4
- package/dist/src/command-protection-hook.js +3 -3
- package/dist/src/deepseek-command-protection-plugin.js +4 -4
- package/dist/src/headless-agent.js +2 -2
- package/dist/src/index.js +5 -5
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/relay-mcp.js +1 -1
- package/package.json +1 -1
- package/workspace-sdk/index.d.ts +0 -1
- package/workspace-sdk/shared/routes/plugin-catalog.d.ts +0 -1
- package/workspace-sdk/shared/routes/plugins.d.ts +1 -6
- package/workspace-sdk/shared/workspace-sdk.d.ts +1 -1
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
getCodexAspHost,
|
|
6
6
|
restartCodexAspHost,
|
|
7
7
|
restartCodexAspHostIfRunning
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-Y7T6IWID.js";
|
|
9
|
+
import "./chunk-VZ6VMXC7.js";
|
|
10
|
+
import "./chunk-I4FXRLZH.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-EJKLU7KX.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
export {
|
|
15
15
|
getCodexAspHost,
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
shouldRefreshPullRequests
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EJKLU7KX.js";
|
|
7
7
|
|
|
8
8
|
// src/services/post-tool-pr-notifier.ts
|
|
9
9
|
async function notifyPostToolUse(toolName, toolInput) {
|
|
@@ -2954,7 +2954,7 @@ Use this when:
|
|
|
2954
2954
|
- The user asks to analyze text with Pangram`;
|
|
2955
2955
|
var REFERENCE9 = `# Plugins
|
|
2956
2956
|
|
|
2957
|
-
Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and selects the
|
|
2957
|
+
Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and selects the most specific environment the workspace inherits from, then Global. Provider credentials, sessions, and project keys are never exposed.
|
|
2958
2958
|
|
|
2959
2959
|
Plugin tools may read or write provider data according to the connected account's permissions. Only execute write or destructive tools when they match the user's request.
|
|
2960
2960
|
|
|
@@ -7099,8 +7099,7 @@ var EXPLICIT_PLUGIN_CATALOG = [
|
|
|
7099
7099
|
authType: "credentials",
|
|
7100
7100
|
category: "data",
|
|
7101
7101
|
name: "Vanta",
|
|
7102
|
-
description: "Review and manage controls, tests, evidence, vendors, risks, and compliance data."
|
|
7103
|
-
scopes: ["environment"]
|
|
7102
|
+
description: "Review and manage controls, tests, evidence, vendors, risks, and compliance data."
|
|
7104
7103
|
}
|
|
7105
7104
|
];
|
|
7106
7105
|
var HOSTED_COMPOSIO_PLUGIN_DEFINITIONS = [
|
|
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
monolithRequest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VZ6VMXC7.js";
|
|
7
7
|
import {
|
|
8
8
|
extractCommandProtectionCommandText,
|
|
9
9
|
findGitCommitSignals,
|
|
10
10
|
findPrMergeSignals
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EJKLU7KX.js";
|
|
12
12
|
|
|
13
13
|
// src/services/command-protection-service.ts
|
|
14
14
|
var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
6
6
|
isVersionBelow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EJKLU7KX.js";
|
|
8
8
|
|
|
9
9
|
// src/utils/codex-agent-env.ts
|
|
10
10
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -241,7 +241,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
241
241
|
var MIN_CODEX_CLI_VERSION = "0.153.3";
|
|
242
242
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
243
243
|
var codexCliVersionEnsured = null;
|
|
244
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
244
|
+
var ENGINE_PACKAGE_VERSION = "0.1.831";
|
|
245
245
|
var INITIALIZE_METHOD = "initialize";
|
|
246
246
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
247
247
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
ENGINE_ENV,
|
|
6
6
|
monolithRequest,
|
|
7
7
|
setAgentCredentialSnapshot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VZ6VMXC7.js";
|
|
9
9
|
import {
|
|
10
10
|
AppServerProcess,
|
|
11
11
|
buildCodexAgentEnv
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I4FXRLZH.js";
|
|
13
13
|
import {
|
|
14
14
|
CODEX_AUTH_ENV_KEYS,
|
|
15
15
|
CODEX_AUTH_ENV_KEYS_BY_METHOD,
|
|
16
16
|
codexAuthEnvFromResponse,
|
|
17
17
|
createErrorResult,
|
|
18
18
|
createSuccessResult
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EJKLU7KX.js";
|
|
20
20
|
|
|
21
21
|
// src/managers/codex-token-manager.ts
|
|
22
22
|
import { promises as fs } from "fs";
|
|
@@ -232,7 +232,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
232
232
|
const data = await response.json();
|
|
233
233
|
await this.applyCredentialsResponse(data);
|
|
234
234
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
235
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
235
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-2BT65CNP.js");
|
|
236
236
|
await restartCodexAspHostIfRunning2();
|
|
237
237
|
}
|
|
238
238
|
if (data.scope) {
|
|
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
evaluateCommandProtection
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-GLZE6UHB.js";
|
|
7
|
+
import "./chunk-VZ6VMXC7.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
10
|
} from "./chunk-UZSNFLDQ.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-EJKLU7KX.js";
|
|
12
12
|
import "./chunk-VEQXQN22.js";
|
|
13
13
|
|
|
14
14
|
// src/command-protection-hook.ts
|
|
@@ -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-
|
|
6
|
+
} from "./chunk-GLZE6UHB.js";
|
|
7
7
|
import {
|
|
8
8
|
notifyPostToolUse
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3ZA72VWO.js";
|
|
10
|
+
import "./chunk-VZ6VMXC7.js";
|
|
11
11
|
import "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-EJKLU7KX.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/deepseek-command-protection-plugin.ts
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AppServerProcess,
|
|
10
10
|
buildCodexAgentEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I4FXRLZH.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT,
|
|
14
14
|
getMemoryOutputSafetyViolation,
|
|
15
15
|
headlessAgentRequestSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EJKLU7KX.js";
|
|
17
17
|
import "./chunk-VEQXQN22.js";
|
|
18
18
|
|
|
19
19
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
evaluateCommandProtection,
|
|
92
92
|
extractToolCommand,
|
|
93
93
|
reportCommandProtectionBlock
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GLZE6UHB.js";
|
|
95
95
|
import {
|
|
96
96
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
97
97
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -131,20 +131,20 @@ import {
|
|
|
131
131
|
recordCredentialFallback,
|
|
132
132
|
recordExhaustedCredential,
|
|
133
133
|
restartCodexAspHost
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-Y7T6IWID.js";
|
|
135
135
|
import {
|
|
136
136
|
ENGINE_ENV,
|
|
137
137
|
IS_WARMING_MODE,
|
|
138
138
|
monolithRequest,
|
|
139
139
|
monolithService,
|
|
140
140
|
setAgentCredentialSnapshot
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-VZ6VMXC7.js";
|
|
142
142
|
import {
|
|
143
143
|
AspClient,
|
|
144
144
|
SUBPROCESS_MAX_BUFFER,
|
|
145
145
|
execAsync,
|
|
146
146
|
execFileAsync
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-I4FXRLZH.js";
|
|
148
148
|
import {
|
|
149
149
|
isRecord as isRecord2
|
|
150
150
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -352,7 +352,7 @@ import {
|
|
|
352
352
|
spawnRelaySubagentRequestSchema,
|
|
353
353
|
stripAgentDiagnosticErrors,
|
|
354
354
|
withTimeout
|
|
355
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-EJKLU7KX.js";
|
|
356
356
|
import {
|
|
357
357
|
__commonJS,
|
|
358
358
|
__export,
|
|
@@ -3,11 +3,11 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
notifyPostToolUse
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3ZA72VWO.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
9
|
} from "./chunk-UZSNFLDQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EJKLU7KX.js";
|
|
11
11
|
import "./chunk-VEQXQN22.js";
|
|
12
12
|
|
|
13
13
|
// src/post-tool-pr-hook.ts
|
package/dist/src/relay-mcp.js
CHANGED
package/package.json
CHANGED
package/workspace-sdk/index.d.ts
CHANGED
|
@@ -173,6 +173,5 @@ export declare const PLUGIN_CATALOG: readonly [{
|
|
|
173
173
|
readonly category: "data";
|
|
174
174
|
readonly name: "Vanta";
|
|
175
175
|
readonly description: "Review and manage controls, tests, evidence, vendors, risks, and compliance data.";
|
|
176
|
-
readonly scopes: readonly ["environment"];
|
|
177
176
|
}, ...HostedComposioPlugin[]];
|
|
178
177
|
export {};
|
|
@@ -10,7 +10,6 @@ export type NativePluginId = Extract<(typeof PLUGIN_CATALOG)[number], {
|
|
|
10
10
|
export type ComposioPluginId = Extract<(typeof PLUGIN_CATALOG)[number], {
|
|
11
11
|
backend: 'composio';
|
|
12
12
|
}>['id'];
|
|
13
|
-
export type PluginScope = 'environment' | 'personal';
|
|
14
13
|
export type PluginAuthType = (typeof PLUGIN_CATALOG)[number]['authType'];
|
|
15
14
|
export type PluginCategory = (typeof PLUGIN_CATALOG)[number]['category'];
|
|
16
15
|
export declare const PLUGIN_CONNECTION_STATUSES: readonly ["initiated", "active", "expired", "failed"];
|
|
@@ -25,13 +24,11 @@ export interface PluginCatalogItem {
|
|
|
25
24
|
category: PluginCategory;
|
|
26
25
|
name: string;
|
|
27
26
|
description: string;
|
|
28
|
-
scopes?: readonly PluginScope[];
|
|
29
27
|
}
|
|
30
28
|
export interface PluginConnectionSummary {
|
|
31
29
|
id: string;
|
|
32
30
|
pluginId: PluginId;
|
|
33
|
-
|
|
34
|
-
environmentId?: string;
|
|
31
|
+
environmentId: string;
|
|
35
32
|
status: PluginConnectionStatus;
|
|
36
33
|
accountLabel?: string;
|
|
37
34
|
connectedAt?: string;
|
|
@@ -39,7 +36,6 @@ export interface PluginConnectionSummary {
|
|
|
39
36
|
export interface PluginConnectionsResponse {
|
|
40
37
|
plugins: PluginCatalogItem[];
|
|
41
38
|
environment: PluginConnectionSummary[];
|
|
42
|
-
personal: PluginConnectionSummary[];
|
|
43
39
|
}
|
|
44
40
|
export interface PluginStartOAuthResponse {
|
|
45
41
|
authorizationUrl: string;
|
|
@@ -126,7 +122,6 @@ export interface PangramAnalyzeRequest {
|
|
|
126
122
|
}
|
|
127
123
|
export interface WorkspacePluginSummary extends PluginCatalogItem {
|
|
128
124
|
connected: boolean;
|
|
129
|
-
scope?: PluginScope;
|
|
130
125
|
status?: PluginConnectionStatus;
|
|
131
126
|
accountLabel?: string;
|
|
132
127
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated from shared/src by generate-workspace-sdk-types.mjs; do not edit.
|
|
2
2
|
import type { PluginDescribeRequest, PluginDescribeResponse, PluginExecuteRequest, PluginExecuteResponse, PluginSearchRequest, PluginSearchResponse, WorkspaceIntegrationsResponse, WorkspacePluginSummary } from './routes/plugins';
|
|
3
|
-
export type { PluginConnectionStatus, PluginId,
|
|
3
|
+
export type { PluginConnectionStatus, PluginId, PluginToolSchema, WorkspaceIntegrationsResponse, WorkspacePluginSummary, } from './routes/plugins';
|
|
4
4
|
export interface ProviderRequestOptions {
|
|
5
5
|
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
6
6
|
body?: unknown;
|