replicas-engine 0.1.821 → 0.1.823

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.
@@ -5,11 +5,11 @@ import {
5
5
  getCodexAspHost,
6
6
  restartCodexAspHost,
7
7
  restartCodexAspHostIfRunning
8
- } from "./chunk-YHP6S773.js";
9
- import "./chunk-YBUQB2C2.js";
10
- import "./chunk-VC7IGY7H.js";
8
+ } from "./chunk-6JCUK6BC.js";
9
+ import "./chunk-JES6TTMW.js";
10
+ import "./chunk-OFYPLD7W.js";
11
11
  import "./chunk-UZSNFLDQ.js";
12
- import "./chunk-GVHELVNV.js";
12
+ import "./chunk-COJQBVQN.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
  export {
15
15
  getCodexAspHost,
@@ -5,18 +5,18 @@ import {
5
5
  ENGINE_ENV,
6
6
  monolithRequest,
7
7
  setAgentCredentialSnapshot
8
- } from "./chunk-YBUQB2C2.js";
8
+ } from "./chunk-JES6TTMW.js";
9
9
  import {
10
10
  AppServerProcess,
11
11
  buildCodexAgentEnv
12
- } from "./chunk-VC7IGY7H.js";
12
+ } from "./chunk-OFYPLD7W.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-GVHELVNV.js";
19
+ } from "./chunk-COJQBVQN.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-V2R5BKWS.js");
235
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UEXHTM3W.js");
236
236
  await restartCodexAspHostIfRunning2();
237
237
  }
238
238
  if (data.scope) {
@@ -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-GVHELVNV.js";
6
+ } from "./chunk-COJQBVQN.js";
7
7
 
8
8
  // src/services/post-tool-pr-notifier.ts
9
9
  async function notifyPostToolUse(toolName, toolInput) {
@@ -6225,6 +6225,8 @@ function extractLatestContextUsage(events, provider) {
6225
6225
  // ../shared/src/pricing.ts
6226
6226
  var AUTOMATED_SOURCES = ["api", "automation"];
6227
6227
  var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
6228
+ var DEVELOPER_SEAT_MINUTES = 150 * 60;
6229
+ var DEVELOPER_SEAT_HOURS = DEVELOPER_SEAT_MINUTES / 60;
6228
6230
  var PLANS = {
6229
6231
  trial: {
6230
6232
  id: "trial",
@@ -6244,14 +6246,14 @@ var PLANS = {
6244
6246
  developer: {
6245
6247
  id: "developer",
6246
6248
  name: "Developer",
6247
- monthlyPrice: 120,
6248
- seatPriceCents: 12e3,
6249
+ monthlyPrice: 50,
6250
+ seatPriceCents: 5e3,
6249
6251
  features: [
6250
- "Unlimited manual workspace minutes",
6251
- "5,000 automated workspace minutes per month",
6252
- "Up to 10 repositories",
6253
- "Up to 15 environments",
6254
- "Up to 5 automations",
6252
+ `${DEVELOPER_SEAT_HOURS} hours per seat per month`,
6253
+ "API and automations billed by usage",
6254
+ "Unlimited repositories",
6255
+ "Unlimited environments",
6256
+ "Unlimited automations",
6255
6257
  "Warm pools and warm hooks",
6256
6258
  "API access",
6257
6259
  "Mobile app"
@@ -6260,11 +6262,11 @@ var PLANS = {
6260
6262
  team: {
6261
6263
  id: "team",
6262
6264
  name: "Team",
6263
- monthlyPrice: 300,
6264
- seatPriceCents: 3e4,
6265
+ monthlyPrice: 200,
6266
+ seatPriceCents: 2e4,
6265
6267
  features: [
6266
6268
  "Unlimited manual workspace minutes",
6267
- "15,000 automated workspace minutes per month",
6269
+ "API and automations billed by usage",
6268
6270
  "Unlimited repositories",
6269
6271
  "Unlimited automations",
6270
6272
  "Warm pools and warm hooks",
@@ -15,7 +15,7 @@ import {
15
15
  isValidRelayBaseProvider,
16
16
  parsePosixEnvFile,
17
17
  readReplicasRuntimeEnv
18
- } from "./chunk-GVHELVNV.js";
18
+ } from "./chunk-COJQBVQN.js";
19
19
 
20
20
  // src/engine-env.ts
21
21
  import { readFileSync as readFileSync2 } from "fs";
@@ -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-GVHELVNV.js";
7
+ } from "./chunk-COJQBVQN.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.821";
244
+ var ENGINE_PACKAGE_VERSION = "0.1.823";
245
245
  var INITIALIZE_METHOD = "initialize";
246
246
  var INITIALIZED_NOTIFICATION = "initialized";
247
247
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -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-YBUQB2C2.js";
6
+ } from "./chunk-JES6TTMW.js";
7
7
  import {
8
8
  extractCommandProtectionCommandText,
9
9
  findGitCommitSignals,
10
10
  findPrMergeSignals
11
- } from "./chunk-GVHELVNV.js";
11
+ } from "./chunk-COJQBVQN.js";
12
12
 
13
13
  // src/services/command-protection-service.ts
14
14
  var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
@@ -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-3OWWM4XG.js";
7
- import "./chunk-YBUQB2C2.js";
6
+ } from "./chunk-YIJRPEJ5.js";
7
+ import "./chunk-JES6TTMW.js";
8
8
  import {
9
9
  isRecord
10
10
  } from "./chunk-UZSNFLDQ.js";
11
- import "./chunk-GVHELVNV.js";
11
+ import "./chunk-COJQBVQN.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-3OWWM4XG.js";
6
+ } from "./chunk-YIJRPEJ5.js";
7
7
  import {
8
8
  notifyPostToolUse
9
- } from "./chunk-QBZ6XTV7.js";
10
- import "./chunk-YBUQB2C2.js";
9
+ } from "./chunk-A7G2VQHN.js";
10
+ import "./chunk-JES6TTMW.js";
11
11
  import "./chunk-UZSNFLDQ.js";
12
- import "./chunk-GVHELVNV.js";
12
+ import "./chunk-COJQBVQN.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-VC7IGY7H.js";
11
+ } from "./chunk-OFYPLD7W.js";
12
12
  import {
13
13
  AGENT,
14
14
  getMemoryOutputSafetyViolation,
15
15
  headlessAgentRequestSchema
16
- } from "./chunk-GVHELVNV.js";
16
+ } from "./chunk-COJQBVQN.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-3OWWM4XG.js";
94
+ } from "./chunk-YIJRPEJ5.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-YHP6S773.js";
134
+ } from "./chunk-6JCUK6BC.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-YBUQB2C2.js";
141
+ } from "./chunk-JES6TTMW.js";
142
142
  import {
143
143
  AspClient,
144
144
  SUBPROCESS_MAX_BUFFER,
145
145
  execAsync,
146
146
  execFileAsync
147
- } from "./chunk-VC7IGY7H.js";
147
+ } from "./chunk-OFYPLD7W.js";
148
148
  import {
149
149
  isRecord as isRecord2
150
150
  } from "./chunk-UZSNFLDQ.js";
@@ -349,7 +349,7 @@ import {
349
349
  spawnRelaySubagentRequestSchema,
350
350
  stripAgentDiagnosticErrors,
351
351
  withTimeout
352
- } from "./chunk-GVHELVNV.js";
352
+ } from "./chunk-COJQBVQN.js";
353
353
  import {
354
354
  __commonJS,
355
355
  __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-QBZ6XTV7.js";
6
+ } from "./chunk-A7G2VQHN.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
- import "./chunk-GVHELVNV.js";
10
+ import "./chunk-COJQBVQN.js";
11
11
  import "./chunk-VEQXQN22.js";
12
12
 
13
13
  // src/post-tool-pr-hook.ts
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  messageRelaySubagentRequestSchema,
9
9
  spawnRelaySubagentRequestSchema
10
- } from "./chunk-GVHELVNV.js";
10
+ } from "./chunk-COJQBVQN.js";
11
11
  import "./chunk-VEQXQN22.js";
12
12
 
13
13
  // src/relay-mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.821",
3
+ "version": "0.1.823",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",