replicas-engine 0.1.411 → 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 +30 -4
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -481,7 +481,7 @@ var WORKSPACE_SIZES = ["small", "large"];
|
|
|
481
481
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
482
482
|
|
|
483
483
|
// ../shared/src/e2b.ts
|
|
484
|
-
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-09-
|
|
484
|
+
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-09-v2";
|
|
485
485
|
|
|
486
486
|
// ../shared/src/runtime-env.ts
|
|
487
487
|
function parsePosixEnvFile(content) {
|
|
@@ -2003,6 +2003,7 @@ In agent mode the CLI hides commands that don't make sense for in-workspace agen
|
|
|
2003
2003
|
| "Make an automation that runs every weekday at 9am" | \`replicas automation create\` (interactive) or \`--trigger-cron "0 9 * * 1-5"\` |
|
|
2004
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\` |
|
|
2005
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]'\` |
|
|
2006
2007
|
| "What repos are connected?" | \`replicas repos\` |
|
|
2007
2008
|
| "Set up a \`replicas.json\` in this repo" | \`replicas init\` (\`-y\` for YAML) |
|
|
2008
2009
|
|
|
@@ -2089,13 +2090,15 @@ replicas automation create "Review my PRs" \\
|
|
|
2089
2090
|
--prompt "Leave a code review on this PR" \\
|
|
2090
2091
|
--environment <env-name-or-id> \\
|
|
2091
2092
|
--trigger-github pull_request.opened \\
|
|
2092
|
-
--trigger-github-repos acme/web,acme/api
|
|
2093
|
+
--trigger-github-repos acme/web,acme/api \\
|
|
2094
|
+
--trigger-github-exclude-users 'dependabot[bot],renovate[bot]'
|
|
2093
2095
|
|
|
2094
2096
|
replicas automation create "Review my MRs" \\
|
|
2095
2097
|
--prompt "Leave a code review on this MR" \\
|
|
2096
2098
|
--environment <env-name-or-id> \\
|
|
2097
2099
|
--trigger-gitlab merge_request.opened \\
|
|
2098
|
-
--trigger-gitlab-repos acme/web,acme/api
|
|
2100
|
+
--trigger-gitlab-repos acme/web,acme/api \\
|
|
2101
|
+
--trigger-gitlab-exclude-users 'bot-user'
|
|
2099
2102
|
|
|
2100
2103
|
# Disable on creation
|
|
2101
2104
|
replicas automation create ... --disabled
|
|
@@ -2119,6 +2122,8 @@ replicas automation edit <id> \\
|
|
|
2119
2122
|
--trigger-cron "0 4 * * *" # replaces existing triggers
|
|
2120
2123
|
\`\`\`
|
|
2121
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
|
+
|
|
2122
2127
|
\`replicas automation edit <id>\` with no flags drops into interactive mode.
|
|
2123
2128
|
|
|
2124
2129
|
## Repositories
|
|
@@ -2293,6 +2298,27 @@ var REPLICAS_AGENT_ABILITIES = Object.keys(
|
|
|
2293
2298
|
);
|
|
2294
2299
|
|
|
2295
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
|
+
};
|
|
2296
2322
|
var DEFAULT_REPLICAS_AGENT_ABILITIES = Object.fromEntries(
|
|
2297
2323
|
REPLICAS_AGENT_ABILITIES.map((key) => [key, true])
|
|
2298
2324
|
);
|
|
@@ -8206,7 +8232,7 @@ var AspClient = class {
|
|
|
8206
8232
|
// src/managers/codex-asp/app-server-process.ts
|
|
8207
8233
|
var DEFAULT_CODEX_BINARY = "codex";
|
|
8208
8234
|
var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
8209
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
8235
|
+
var ENGINE_PACKAGE_VERSION = "0.1.412";
|
|
8210
8236
|
var INITIALIZE_METHOD = "initialize";
|
|
8211
8237
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
8212
8238
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|