replicas-cli 0.3.557 → 0.3.560
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/index.cjs +9 -23
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21687,8 +21687,7 @@ var init_manager = __esm({
|
|
|
21687
21687
|
model: external_exports.string().nullable(),
|
|
21688
21688
|
thinking_level: external_exports.enum(VALID_THINKING_LEVELS).nullable(),
|
|
21689
21689
|
service_tier: external_exports.enum(SUBAGENT_SERVICE_TIERS),
|
|
21690
|
-
goal_mode: external_exports.boolean()
|
|
21691
|
-
plan_mode: external_exports.boolean()
|
|
21690
|
+
goal_mode: external_exports.boolean()
|
|
21692
21691
|
});
|
|
21693
21692
|
QUEUE_SECTIONS = [
|
|
21694
21693
|
{ label: "Open PRs", groups: ["needs_you", "ready_to_merge", "ready_to_review"] },
|
|
@@ -22920,7 +22919,6 @@ var init_v1 = __esm({
|
|
|
22920
22919
|
provider: external_exports.enum(ENGINE_AGENT_PROVIDERS).optional(),
|
|
22921
22920
|
model: external_exports.string().optional(),
|
|
22922
22921
|
customInstructions: external_exports.string().optional(),
|
|
22923
|
-
planMode: external_exports.boolean().optional(),
|
|
22924
22922
|
images: external_exports.array(external_exports.object({
|
|
22925
22923
|
type: external_exports.literal("image"),
|
|
22926
22924
|
source: external_exports.discriminatedUnion("type", [
|
|
@@ -27627,7 +27625,6 @@ var init_replicas_mcp = __esm({
|
|
|
27627
27625
|
`One or more triggers. Cron: \`{ "type": "cron", "config": { "schedule": "0 9 * * 1", "timezone": "America/New_York" } }\`. GitHub: \`{ "type": "github", "config": { "event": "pull_request.opened", "repository_ids": ["<repository uuid>"] } }\`. Linear: \`{ "type": "linear", "config": { "event": "${LINEAR_ISSUE_STATE_CHANGED_EVENT}", "state_types": ["completed"] } }\`.`
|
|
27628
27626
|
),
|
|
27629
27627
|
description: external_exports.string().optional().describe("One-line summary shown in the dashboard."),
|
|
27630
|
-
plan_mode: external_exports.boolean().optional(),
|
|
27631
27628
|
goal_mode: external_exports.boolean().optional(),
|
|
27632
27629
|
fast_mode: external_exports.boolean().optional(),
|
|
27633
27630
|
workspace_lifecycle_policy: external_exports.enum(AUTOMATION_LIFECYCLE_POLICIES).optional().describe(
|
|
@@ -39858,12 +39855,6 @@ var init_slash_commands = __esm({
|
|
|
39858
39855
|
init_types4();
|
|
39859
39856
|
SIDE_CHAT_COMMANDS = ["/btw", "/side"];
|
|
39860
39857
|
SLASH_COMMANDS = [
|
|
39861
|
-
{
|
|
39862
|
-
command: "/plan",
|
|
39863
|
-
description: "Switch to plan mode and optionally send a prompt.",
|
|
39864
|
-
argumentHint: "[prompt]",
|
|
39865
|
-
providers: ["claude", "codex", "cursor", "muse", "opencode", "pi"]
|
|
39866
|
-
},
|
|
39867
39858
|
{
|
|
39868
39859
|
command: "/fast",
|
|
39869
39860
|
description: "Use the fast service tier for future turns.",
|
|
@@ -39981,7 +39972,6 @@ var init_keyboard_shortcuts = __esm({
|
|
|
39981
39972
|
send: { label: "Send", group: "Composer", keys: { key: "Enter" }, fixed: true },
|
|
39982
39973
|
sendAlternate: { label: "Queue or steer instead", group: "Composer", keys: { key: "Enter", alt: true }, fixed: true },
|
|
39983
39974
|
newLine: { label: "New line", group: "Composer", keys: { key: "Enter", shift: true }, fixed: true },
|
|
39984
|
-
toggleTaskMode: { label: "Switch Plan / Build", group: "Composer", keys: { key: "Tab", shift: true } },
|
|
39985
39975
|
toggleVoiceInput: { label: "Voice input", group: "Composer", keys: { key: " ", mod: true, shift: true } },
|
|
39986
39976
|
previousPrompt: { label: "Previous prompt", group: "Composer", keys: { key: "ArrowUp" }, fixed: true },
|
|
39987
39977
|
searchPromptHistory: { label: "Search prompt history", group: "Composer", keys: { key: "r", ctrl: true } },
|
|
@@ -40396,7 +40386,7 @@ var init_context = __esm({
|
|
|
40396
40386
|
});
|
|
40397
40387
|
|
|
40398
40388
|
// ../shared/src/harness/worker-routes.ts
|
|
40399
|
-
var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema,
|
|
40389
|
+
var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerAccessResponseSchema, harnessWorkerTurnCompleteRequestSchema;
|
|
40400
40390
|
var init_worker_routes = __esm({
|
|
40401
40391
|
"../shared/src/harness/worker-routes.ts"() {
|
|
40402
40392
|
"use strict";
|
|
@@ -40430,7 +40420,7 @@ var init_worker_routes = __esm({
|
|
|
40430
40420
|
/** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
|
|
40431
40421
|
external_exports.object({ method: external_exports.literal("replicas") })
|
|
40432
40422
|
]);
|
|
40433
|
-
|
|
40423
|
+
harnessWorkerAccessResponseSchema = external_exports.object({ allowed: external_exports.boolean() });
|
|
40434
40424
|
harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
|
|
40435
40425
|
}
|
|
40436
40426
|
});
|
|
@@ -40499,7 +40489,7 @@ var CLI_VERSION;
|
|
|
40499
40489
|
var init_cli_version = __esm({
|
|
40500
40490
|
"../shared/src/cli-version.ts"() {
|
|
40501
40491
|
"use strict";
|
|
40502
|
-
CLI_VERSION = "0.3.
|
|
40492
|
+
CLI_VERSION = "0.3.560";
|
|
40503
40493
|
}
|
|
40504
40494
|
});
|
|
40505
40495
|
|
|
@@ -55115,7 +55105,6 @@ async function replicaSendCommand(id, options) {
|
|
|
55115
55105
|
chat_id: options.chat,
|
|
55116
55106
|
model: options.model,
|
|
55117
55107
|
thinking_level: options.thinkingLevel,
|
|
55118
|
-
plan_mode: options.plan,
|
|
55119
55108
|
goal_mode: options.goal,
|
|
55120
55109
|
fast_mode: options.fast,
|
|
55121
55110
|
...options.reply ? {} : { expect_reply: false }
|
|
@@ -55878,7 +55867,6 @@ function formatAgentSummary(automation2) {
|
|
|
55878
55867
|
}
|
|
55879
55868
|
function formatModeSummary(automation2) {
|
|
55880
55869
|
const modes = [
|
|
55881
|
-
automation2.plan_mode ? "plan" : null,
|
|
55882
55870
|
automation2.goal_mode ? "goal" : null,
|
|
55883
55871
|
automation2.fast_mode ? "fast" : null
|
|
55884
55872
|
].filter(Boolean);
|
|
@@ -55921,7 +55909,7 @@ function printAutomation(automation2) {
|
|
|
55921
55909
|
if (automation2.agent_provider || automation2.model || automation2.thinking_level) {
|
|
55922
55910
|
console.log(import_chalk27.default.gray(` Agent: ${formatAgentSummary(automation2)}`));
|
|
55923
55911
|
}
|
|
55924
|
-
if (automation2.
|
|
55912
|
+
if (automation2.goal_mode || automation2.fast_mode) {
|
|
55925
55913
|
console.log(import_chalk27.default.gray(` Modes: ${formatModeSummary(automation2)}`));
|
|
55926
55914
|
}
|
|
55927
55915
|
console.log(import_chalk27.default.gray(` PR Follow-ups: ${automation2.config.capabilities?.pr_followups === true ? import_chalk27.default.green("managed") : "read-only"}`));
|
|
@@ -56260,7 +56248,6 @@ async function automationCreateCommand(name, options) {
|
|
|
56260
56248
|
...lifecyclePolicy ? { workspace_lifecycle_policy: lifecyclePolicy } : {},
|
|
56261
56249
|
...workspaceSize ? { workspace_size: workspaceSize } : {},
|
|
56262
56250
|
...options.autoStopMinutes ? { workspace_auto_stop_minutes: parseInt(options.autoStopMinutes, 10) } : {},
|
|
56263
|
-
...options.planMode ? { plan_mode: true } : {},
|
|
56264
56251
|
...options.goalMode ? { goal_mode: true } : {},
|
|
56265
56252
|
...options.fastMode ? { fast_mode: true } : {},
|
|
56266
56253
|
...agentSelection
|
|
@@ -56317,7 +56304,7 @@ async function automationEditCommand(id, options) {
|
|
|
56317
56304
|
model: existing.automation.model
|
|
56318
56305
|
});
|
|
56319
56306
|
const body2 = {};
|
|
56320
|
-
const hasOptions = options.name || options.prompt || options.description !== void 0 || workspaceSize || options.enabled !== void 0 || options.prFollowups !== void 0 || replacingTriggers || options.environment || options.triggerGithubExcludeUsers !== void 0 || options.triggerGitlabExcludeUsers !== void 0 || options.githubChecks !== void 0 || options.addGithubChecks !== void 0 || options.lifecycle || options.sleepWhenDone || options.autoStopMinutes || options.agentProvider !== void 0 || options.model !== void 0 || options.thinkingLevel !== void 0 || options.
|
|
56307
|
+
const hasOptions = options.name || options.prompt || options.description !== void 0 || workspaceSize || options.enabled !== void 0 || options.prFollowups !== void 0 || replacingTriggers || options.environment || options.triggerGithubExcludeUsers !== void 0 || options.triggerGitlabExcludeUsers !== void 0 || options.githubChecks !== void 0 || options.addGithubChecks !== void 0 || options.lifecycle || options.sleepWhenDone || options.autoStopMinutes || options.agentProvider !== void 0 || options.model !== void 0 || options.thinkingLevel !== void 0 || options.goalMode !== void 0 || options.fastMode !== void 0 || runAt !== void 0 || maxRuns !== void 0 || workspaceTarget !== void 0 || options.background !== void 0 || options.credentials !== void 0 || options.moveToOrg;
|
|
56321
56308
|
if (!hasOptions) {
|
|
56322
56309
|
const nameResponse = await ask({
|
|
56323
56310
|
type: "text",
|
|
@@ -56429,7 +56416,6 @@ async function automationEditCommand(id, options) {
|
|
|
56429
56416
|
if (options.autoStopMinutes) {
|
|
56430
56417
|
body2.workspace_auto_stop_minutes = parseInt(options.autoStopMinutes, 10);
|
|
56431
56418
|
}
|
|
56432
|
-
if (options.planMode !== void 0) body2.plan_mode = options.planMode;
|
|
56433
56419
|
if (options.goalMode !== void 0) body2.goal_mode = options.goalMode;
|
|
56434
56420
|
if (options.fastMode !== void 0) body2.fast_mode = options.fastMode;
|
|
56435
56421
|
if (maxRuns !== void 0) body2.max_runs = maxRuns;
|
|
@@ -58624,7 +58610,7 @@ var init_src2 = __esm({
|
|
|
58624
58610
|
program.command("list").description("List all replicas").option("-p, --page <page>", "Page number").option("-l, --limit <limit>", "Number of items per page").addOption(new import_commander.Option("-k, --kind <kind>", "Only list replicas of this kind").choices(WORKSPACE_KINDS)).action(run(replicaListCommand));
|
|
58625
58611
|
program.command("get <id>").description("Get replica details by ID").action(run(replicaGetCommand));
|
|
58626
58612
|
program.command("create [name]").description("Create a new replica (quote names with spaces)").option("-m, --message <message>", "Initial message for the replica").option("-e, --environment <environment>", "Environment ID").option("-a, --agent <agent>", "Coding agent (claude, codex, cursor)").action(run(replicaCreateCommand));
|
|
58627
|
-
program.command("send <id>").description("Send a message to a replica").option("-m, --message <message>", "Message to send").option("-a, --agent <agent>", "Coding agent (claude, codex, cursor)").option("-c, --chat <chatId>", "Chat to send to (defaults to the main chat)").option("--model <model>", "Model to use for this message").addOption(new import_commander.Option("--thinking-level <level>", "Thinking/reasoning level").choices(VALID_THINKING_LEVELS)).option("--
|
|
58613
|
+
program.command("send <id>").description("Send a message to a replica").option("-m, --message <message>", "Message to send").option("-a, --agent <agent>", "Coding agent (claude, codex, cursor)").option("-c, --chat <chatId>", "Chat to send to (defaults to the main chat)").option("--model <model>", "Model to use for this message").addOption(new import_commander.Option("--thinking-level <level>", "Thinking/reasoning level").choices(VALID_THINKING_LEVELS)).option("--goal", "Set the message as the chat goal").option("--fast", "Run the message in fast mode").option("--no-reply", "From a workspace: don't return the recipient's reply to this chat").action(run(replicaSendCommand));
|
|
58628
58614
|
program.command("delete <id>").description("Delete a replica").option("-f, --force", "Skip confirmation prompt").action(run(replicaDeleteCommand));
|
|
58629
58615
|
program.command("read <id>").description("Read conversation history of a replica").option("-l, --limit <limit>", "Maximum number of events to return, from the end").option("--before <cursor>", "Read the page before this cursor (see Has More output)").option("-b, --before-event <index>", "Read the page before this event index (older engines)").option("-c, --chat <chatId>", "Chat to read (defaults to the main chat)").action(run(replicaReadCommand));
|
|
58630
58616
|
program.command("rename <id> <name>").description("Rename a replica (quote names with spaces)").action(run(workspaceRenameCommand));
|
|
@@ -58681,8 +58667,8 @@ var init_src2 = __esm({
|
|
|
58681
58667
|
automation = program.command("automation").alias("auto").description("Manage automations");
|
|
58682
58668
|
automation.command("list").description("List all automations").option("-p, --page <page>", "Page number").option("-l, --limit <limit>", "Number of items per page").option("--owner <owner>", "Ownership filter: org, user, all").option("--trigger-type <type>", "Only automations with a trigger of this type (cron, github, gitlab, slack, sentry, linear, custom)").option("--enabled <enabled>", "Only enabled or disabled automations (true/false)").option("--search <search>", "Case-insensitive substring match on the name").option("--background <background>", "Only background (true) or main-list (false) automations").action(run(automationListCommand));
|
|
58683
58669
|
automation.command("get <id>").description("Get automation details by ID").action(run(automationGetCommand));
|
|
58684
|
-
automation.command("create [name]").description("Create a new automation").option("-p, --prompt <prompt>", "Prompt for the automation").option("-d, --description <description>", "Description shown with the automation").option("-e, --environment <environment>", "Environment name or ID").option("--size <size>", "Size of workspaces runs create (not a reused existing one): small, large, ultra, auto (default)").option("--trigger-cron <schedule>", 'Cron schedule expression, e.g. "0 9 * * 1-5" (repeatable)', collect, []).option("--trigger-cron-timezone <timezone>", "Timezone for cron schedules (default: UTC)").option("--trigger-github <event>", 'GitHub event, e.g. "pull_request.opened" (repeatable)', collect, []).option("--trigger-github-repos <repos>", "Comma-separated repo names to filter GitHub trigger").option("--trigger-github-exclude-users <users>", "Comma-separated GitHub usernames to exclude from triggering (pass empty string to clear the list)").option("--trigger-github-reviewers <users>", "Comma-separated GitHub usernames to fire for (required with pull_request.review_requested)").option("--trigger-gitlab <event>", 'GitLab event, e.g. "merge_request.opened" (repeatable)', collect, []).option("--trigger-gitlab-repos <repos>", "Comma-separated repo names to filter GitLab trigger").option("--trigger-gitlab-exclude-users <users>", "Comma-separated GitLab usernames to exclude from triggering (pass empty string to clear the list)").option("--github-checks <names>", "Comma-separated GitHub check names to create on matching PRs (requires a PR opened/updated trigger)").option("--lifecycle <policy>", "Workspace lifecycle: delete_when_done (default for new automations except one-time ones), sleep_when_done, archive_when_done, default").option("--sleep-when-done", "Sleep automation workspaces as soon as the agent finishes").option("--auto-stop-minutes <minutes>", "Inactivity timeout in minutes (3-1440, requires --lifecycle default)").option("--pr-followups", "Allow follow-up actions on matching PRs").option("--agent-provider <provider>", 'Coding agent to use: claude, codex, cursor (or "none" to inherit org default)').option("--model <model>", 'Model identifier (must be valid for --agent-provider; pass "none" to clear)').option("--thinking-level <level>", 'Thinking/reasoning level: low, medium, high, xhigh, max (or "none" to clear)').option("--
|
|
58685
|
-
automation.command("edit <id>").description("Edit an existing automation").option("-n, --name <name>", "New name").option("-p, --prompt <prompt>", "New prompt").option("-d, --description <description>", "New description (pass empty string to clear)").option("--size <size>", "Size of workspaces runs create (not a reused existing one): small, large, ultra, auto").option("--enabled <enabled>", "Enable or disable (true/false)").option("--trigger-cron <schedule>", "Set cron schedule (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-cron-timezone <timezone>", "Timezone for cron schedules").option("--trigger-github <event>", "Set GitHub event (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-github-repos <repos>", "Comma-separated repo names to filter GitHub trigger").option("--trigger-github-exclude-users <users>", "Comma-separated GitHub usernames to exclude from triggering (pass empty string to clear the list)").option("--trigger-github-reviewers <users>", "Comma-separated GitHub usernames to fire for (required with pull_request.review_requested)").option("--trigger-gitlab <event>", "Set GitLab event (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-gitlab-repos <repos>", "Comma-separated repo names to filter GitLab trigger").option("--trigger-gitlab-exclude-users <users>", "Comma-separated GitLab usernames to exclude from triggering (pass empty string to clear the list)").option("--keep-triggers", "Add the --trigger-cron, --trigger-github, --trigger-gitlab, --in or --at triggers to the existing ones instead of replacing them").option("--github-checks <names>", "Comma-separated GitHub check names to create on matching PRs (replaces the current list; pass empty string to remove them)").option("--add-github-checks <names>", "Comma-separated GitHub check names to add, keeping the ones already configured").option("--environment <environment>", "Environment name or ID").option("--lifecycle <policy>", "Workspace lifecycle: delete_when_done (default for new automations except one-time ones), sleep_when_done, archive_when_done, default").option("--sleep-when-done", "Sleep automation workspaces as soon as the agent finishes").option("--auto-stop-minutes <minutes>", "Inactivity timeout in minutes (3-1440, requires --lifecycle default)").option("--pr-followups <enabled>", "Allow follow-up actions on matching PRs (true/false)", parseBooleanOption).option("--agent-provider <provider>", 'Coding agent to use: claude, codex, cursor (or "none" to inherit org default)').option("--model <model>", 'Model identifier (must be valid for --agent-provider; pass "none" to clear)').option("--thinking-level <level>", 'Thinking/reasoning level: low, medium, high, xhigh, max (or "none" to clear)').option("--
|
|
58670
|
+
automation.command("create [name]").description("Create a new automation").option("-p, --prompt <prompt>", "Prompt for the automation").option("-d, --description <description>", "Description shown with the automation").option("-e, --environment <environment>", "Environment name or ID").option("--size <size>", "Size of workspaces runs create (not a reused existing one): small, large, ultra, auto (default)").option("--trigger-cron <schedule>", 'Cron schedule expression, e.g. "0 9 * * 1-5" (repeatable)', collect, []).option("--trigger-cron-timezone <timezone>", "Timezone for cron schedules (default: UTC)").option("--trigger-github <event>", 'GitHub event, e.g. "pull_request.opened" (repeatable)', collect, []).option("--trigger-github-repos <repos>", "Comma-separated repo names to filter GitHub trigger").option("--trigger-github-exclude-users <users>", "Comma-separated GitHub usernames to exclude from triggering (pass empty string to clear the list)").option("--trigger-github-reviewers <users>", "Comma-separated GitHub usernames to fire for (required with pull_request.review_requested)").option("--trigger-gitlab <event>", 'GitLab event, e.g. "merge_request.opened" (repeatable)', collect, []).option("--trigger-gitlab-repos <repos>", "Comma-separated repo names to filter GitLab trigger").option("--trigger-gitlab-exclude-users <users>", "Comma-separated GitLab usernames to exclude from triggering (pass empty string to clear the list)").option("--github-checks <names>", "Comma-separated GitHub check names to create on matching PRs (requires a PR opened/updated trigger)").option("--lifecycle <policy>", "Workspace lifecycle: delete_when_done (default for new automations except one-time ones), sleep_when_done, archive_when_done, default").option("--sleep-when-done", "Sleep automation workspaces as soon as the agent finishes").option("--auto-stop-minutes <minutes>", "Inactivity timeout in minutes (3-1440, requires --lifecycle default)").option("--pr-followups", "Allow follow-up actions on matching PRs").option("--agent-provider <provider>", 'Coding agent to use: claude, codex, cursor (or "none" to inherit org default)').option("--model <model>", 'Model identifier (must be valid for --agent-provider; pass "none" to clear)').option("--thinking-level <level>", 'Thinking/reasoning level: low, medium, high, xhigh, max (or "none" to clear)').option("--goal-mode", "Set automation messages as goals").option("--fast-mode", "Run automation messages in fast mode").option("--personal", "Create a personal automation owned by the authenticated user").option("--in <duration>", "Run once after this long, e.g. 30m, 2h, 3d, 1w (inside a workspace, defaults --workspace to current)").option("--at <datetime>", "Run once at this ISO-8601 time with timezone, e.g. 2026-10-08T09:00:00-07:00").option("--max-runs <n>", 'Delete the automation after this many runs ("none" for unlimited)').option("--workspace <target>", "Where runs go: new (default, new workspace each run), reuse (one workspace for every run), current (this workspace), or a workspace ID").option("--background", "Mark this as an AI agent's own automation (a reminder, follow-up or recurring check-in for its task). Kept out of the main automations list").option("--credentials <who>", "Run on your coding agent credentials before the organization's: me or your email (organization automations only)").option("--disabled", "Create in disabled state").action(run((name, options) => automationCreateCommand(name, { ...options, enabled: !options.disabled })));
|
|
58671
|
+
automation.command("edit <id>").description("Edit an existing automation").option("-n, --name <name>", "New name").option("-p, --prompt <prompt>", "New prompt").option("-d, --description <description>", "New description (pass empty string to clear)").option("--size <size>", "Size of workspaces runs create (not a reused existing one): small, large, ultra, auto").option("--enabled <enabled>", "Enable or disable (true/false)").option("--trigger-cron <schedule>", "Set cron schedule (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-cron-timezone <timezone>", "Timezone for cron schedules").option("--trigger-github <event>", "Set GitHub event (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-github-repos <repos>", "Comma-separated repo names to filter GitHub trigger").option("--trigger-github-exclude-users <users>", "Comma-separated GitHub usernames to exclude from triggering (pass empty string to clear the list)").option("--trigger-github-reviewers <users>", "Comma-separated GitHub usernames to fire for (required with pull_request.review_requested)").option("--trigger-gitlab <event>", "Set GitLab event (repeatable; replaces existing triggers unless --keep-triggers)", collect, []).option("--trigger-gitlab-repos <repos>", "Comma-separated repo names to filter GitLab trigger").option("--trigger-gitlab-exclude-users <users>", "Comma-separated GitLab usernames to exclude from triggering (pass empty string to clear the list)").option("--keep-triggers", "Add the --trigger-cron, --trigger-github, --trigger-gitlab, --in or --at triggers to the existing ones instead of replacing them").option("--github-checks <names>", "Comma-separated GitHub check names to create on matching PRs (replaces the current list; pass empty string to remove them)").option("--add-github-checks <names>", "Comma-separated GitHub check names to add, keeping the ones already configured").option("--environment <environment>", "Environment name or ID").option("--lifecycle <policy>", "Workspace lifecycle: delete_when_done (default for new automations except one-time ones), sleep_when_done, archive_when_done, default").option("--sleep-when-done", "Sleep automation workspaces as soon as the agent finishes").option("--auto-stop-minutes <minutes>", "Inactivity timeout in minutes (3-1440, requires --lifecycle default)").option("--pr-followups <enabled>", "Allow follow-up actions on matching PRs (true/false)", parseBooleanOption).option("--agent-provider <provider>", 'Coding agent to use: claude, codex, cursor (or "none" to inherit org default)').option("--model <model>", 'Model identifier (must be valid for --agent-provider; pass "none" to clear)').option("--thinking-level <level>", 'Thinking/reasoning level: low, medium, high, xhigh, max (or "none" to clear)').option("--goal-mode <enabled>", "Set automation messages as goals (true/false)", parseBooleanOption).option("--fast-mode <enabled>", "Run automation messages in fast mode (true/false)", parseBooleanOption).option("--in <duration>", "Replace triggers with a one-time run after this long, e.g. 30m, 2h, 3d, 1w").option("--at <datetime>", "Replace triggers with a one-time run at this ISO-8601 time with timezone").option("--max-runs <n>", 'Delete the automation after this many runs in total ("none" for unlimited)').option("--workspace <target>", "Where runs go: new, reuse, current, or a workspace ID").option("--background <enabled>", "Keep it out of the main automations list (true/false)", parseBooleanOption).option("--credentials <who>", "Run on your coding agent credentials before the organization's: me or your email, or org to use the organization's").option("--move-to-org", "Move a personal automation to the organization so teammates can see and edit it (cannot be undone)").action(run(automationEditCommand));
|
|
58686
58672
|
automation.command("run <id>").description("Manually trigger an automation (cron-triggered automations only)").action(run(automationRunCommand));
|
|
58687
58673
|
automation.command("delete <id>").description("Delete an automation").option("-f, --force", "Skip confirmation prompt").action(run(automationDeleteCommand));
|
|
58688
58674
|
automation.command("check <checkRunId>").description("Report this automation run's verdict on one of its GitHub checks").requiredOption("--token <token>", "Ownership token for this check, exactly as given in the prompt").requiredOption("--conclusion <conclusion>", "success or failure").requiredOption("--title <title>", "One-line verdict shown on the check").option("--summary <summary>", "What was checked and why it passed or failed").action(run(automationCheckCommand));
|