replicas-engine 0.1.410 → 0.1.412
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 +32 -4
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -207,6 +207,7 @@ var AGENT_MODELS = {
|
|
|
207
207
|
"gpt-5-mini",
|
|
208
208
|
"gemini-3.1-pro",
|
|
209
209
|
"gemini-3-flash",
|
|
210
|
+
"grok-4.5",
|
|
210
211
|
"grok-4.3",
|
|
211
212
|
CLAUDE_HAIKU_4_5_MODEL,
|
|
212
213
|
"kimi-k2.5"
|
|
@@ -244,6 +245,7 @@ var MODEL_LABELS = {
|
|
|
244
245
|
[CLAUDE_HAIKU_4_5_MODEL]: "Haiku 4.5",
|
|
245
246
|
"gemini-3.1-pro": "Gemini 3.1 Pro",
|
|
246
247
|
"gemini-3-flash": "Gemini 3 Flash",
|
|
248
|
+
"grok-4.5": "Grok 4.5",
|
|
247
249
|
"grok-4.3": "Grok 4.3",
|
|
248
250
|
"kimi-k2.5": "Kimi K2.5"
|
|
249
251
|
};
|
|
@@ -479,7 +481,7 @@ var WORKSPACE_SIZES = ["small", "large"];
|
|
|
479
481
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
480
482
|
|
|
481
483
|
// ../shared/src/e2b.ts
|
|
482
|
-
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-
|
|
484
|
+
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-09-v2";
|
|
483
485
|
|
|
484
486
|
// ../shared/src/runtime-env.ts
|
|
485
487
|
function parsePosixEnvFile(content) {
|
|
@@ -2001,6 +2003,7 @@ In agent mode the CLI hides commands that don't make sense for in-workspace agen
|
|
|
2001
2003
|
| "Make an automation that runs every weekday at 9am" | \`replicas automation create\` (interactive) or \`--trigger-cron "0 9 * * 1-5"\` |
|
|
2002
2004
|
| "Make an automation that runs when a PR opens on \`acme/web\`" | \`replicas automation create ... --trigger-github pull_request.opened --trigger-github-repos acme/web\` |
|
|
2003
2005
|
| "Make an automation that runs when an MR opens on \`acme/web\`" | \`replicas automation create ... --trigger-gitlab merge_request.opened --trigger-gitlab-repos acme/web\` |
|
|
2006
|
+
| "Ignore Dependabot for this PR automation" | \`replicas automation edit <id> --trigger-github-exclude-users 'dependabot[bot]'\` |
|
|
2004
2007
|
| "What repos are connected?" | \`replicas repos\` |
|
|
2005
2008
|
| "Set up a \`replicas.json\` in this repo" | \`replicas init\` (\`-y\` for YAML) |
|
|
2006
2009
|
|
|
@@ -2087,13 +2090,15 @@ replicas automation create "Review my PRs" \\
|
|
|
2087
2090
|
--prompt "Leave a code review on this PR" \\
|
|
2088
2091
|
--environment <env-name-or-id> \\
|
|
2089
2092
|
--trigger-github pull_request.opened \\
|
|
2090
|
-
--trigger-github-repos acme/web,acme/api
|
|
2093
|
+
--trigger-github-repos acme/web,acme/api \\
|
|
2094
|
+
--trigger-github-exclude-users 'dependabot[bot],renovate[bot]'
|
|
2091
2095
|
|
|
2092
2096
|
replicas automation create "Review my MRs" \\
|
|
2093
2097
|
--prompt "Leave a code review on this MR" \\
|
|
2094
2098
|
--environment <env-name-or-id> \\
|
|
2095
2099
|
--trigger-gitlab merge_request.opened \\
|
|
2096
|
-
--trigger-gitlab-repos acme/web,acme/api
|
|
2100
|
+
--trigger-gitlab-repos acme/web,acme/api \\
|
|
2101
|
+
--trigger-gitlab-exclude-users 'bot-user'
|
|
2097
2102
|
|
|
2098
2103
|
# Disable on creation
|
|
2099
2104
|
replicas automation create ... --disabled
|
|
@@ -2117,6 +2122,8 @@ replicas automation edit <id> \\
|
|
|
2117
2122
|
--trigger-cron "0 4 * * *" # replaces existing triggers
|
|
2118
2123
|
\`\`\`
|
|
2119
2124
|
|
|
2125
|
+
\`replicas automation edit <id> --trigger-github-exclude-users "dependabot[bot],renovate[bot]"\` updates existing GitHub triggers without replacing the rest of the trigger list. The GitLab equivalent is \`--trigger-gitlab-exclude-users\`. Passing an empty string (for example, \`--trigger-github-exclude-users ""\`) clears existing exclusions for that code host. Passing \`--trigger-github\` or \`--trigger-gitlab\` still replaces triggers, and the matching exclude flag is applied to the replacement trigger.
|
|
2126
|
+
|
|
2120
2127
|
\`replicas automation edit <id>\` with no flags drops into interactive mode.
|
|
2121
2128
|
|
|
2122
2129
|
## Repositories
|
|
@@ -2291,6 +2298,27 @@ var REPLICAS_AGENT_ABILITIES = Object.keys(
|
|
|
2291
2298
|
);
|
|
2292
2299
|
|
|
2293
2300
|
// ../shared/src/routes/preferences.ts
|
|
2301
|
+
var EMPTY_AGENT_DEFAULT_SETTINGS = {
|
|
2302
|
+
agent_provider: null,
|
|
2303
|
+
model: null,
|
|
2304
|
+
thinking_level: null,
|
|
2305
|
+
goal_mode: null,
|
|
2306
|
+
fast_mode: null
|
|
2307
|
+
};
|
|
2308
|
+
var DEFAULT_USER_PREFERENCES = {
|
|
2309
|
+
default_agent: "codex",
|
|
2310
|
+
default_model: null,
|
|
2311
|
+
cursor_models: null,
|
|
2312
|
+
close_workspace_on_pr_close: true,
|
|
2313
|
+
default_environment_id: null,
|
|
2314
|
+
respond_to_ci_workflows: true,
|
|
2315
|
+
respond_to_ci_checks: true,
|
|
2316
|
+
respond_to_human_pr_reviews: false,
|
|
2317
|
+
pr_user_attribution: false,
|
|
2318
|
+
auto_draft_prs: false,
|
|
2319
|
+
default_fast_mode: false,
|
|
2320
|
+
agent_defaults: { ...EMPTY_AGENT_DEFAULT_SETTINGS }
|
|
2321
|
+
};
|
|
2294
2322
|
var DEFAULT_REPLICAS_AGENT_ABILITIES = Object.fromEntries(
|
|
2295
2323
|
REPLICAS_AGENT_ABILITIES.map((key) => [key, true])
|
|
2296
2324
|
);
|
|
@@ -8204,7 +8232,7 @@ var AspClient = class {
|
|
|
8204
8232
|
// src/managers/codex-asp/app-server-process.ts
|
|
8205
8233
|
var DEFAULT_CODEX_BINARY = "codex";
|
|
8206
8234
|
var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
8207
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
8235
|
+
var ENGINE_PACKAGE_VERSION = "0.1.412";
|
|
8208
8236
|
var INITIALIZE_METHOD = "initialize";
|
|
8209
8237
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
8210
8238
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|