replicas-cli 0.3.258 → 0.3.259
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 +20 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17171,21 +17171,28 @@ var init_pull_requests = __esm({
|
|
|
17171
17171
|
});
|
|
17172
17172
|
|
|
17173
17173
|
// ../shared/src/routes/mothership.ts
|
|
17174
|
-
var mothershipLinearRuleSchema, storedMothershipLinearRuleSchema, SUBAGENT_SERVICE_TIERS, mothershipSubagentSettingsSchema, DEPLOYED_SHOWN_MS, MOTHERSHIP_SHIPPING_LOOKBACK_MS;
|
|
17174
|
+
var linearRuleFields, withLabelIds, mothershipLinearRuleSchema, storedMothershipLinearRuleSchema, SUBAGENT_SERVICE_TIERS, mothershipSubagentSettingsSchema, DEPLOYED_SHOWN_MS, MOTHERSHIP_SHIPPING_LOOKBACK_MS;
|
|
17175
17175
|
var init_mothership = __esm({
|
|
17176
17176
|
"../shared/src/routes/mothership.ts"() {
|
|
17177
17177
|
"use strict";
|
|
17178
17178
|
init_zod();
|
|
17179
17179
|
init_agent();
|
|
17180
17180
|
init_pull_requests();
|
|
17181
|
-
|
|
17181
|
+
init_type_guards();
|
|
17182
|
+
linearRuleFields = external_exports.object({
|
|
17182
17183
|
team_id: external_exports.string().min(1),
|
|
17183
17184
|
current_cycle: external_exports.boolean().optional(),
|
|
17184
|
-
|
|
17185
|
+
label_ids: external_exports.array(external_exports.string().min(1)).min(1).optional(),
|
|
17185
17186
|
project_id: external_exports.string().min(1).optional(),
|
|
17186
17187
|
assignee_id: external_exports.string().min(1).optional()
|
|
17187
17188
|
}).strict();
|
|
17188
|
-
|
|
17189
|
+
withLabelIds = (value) => {
|
|
17190
|
+
if (!isRecord(value) || typeof value.label_id !== "string") return value;
|
|
17191
|
+
const { label_id, ...rest } = value;
|
|
17192
|
+
return { ...rest, label_ids: [label_id] };
|
|
17193
|
+
};
|
|
17194
|
+
mothershipLinearRuleSchema = external_exports.preprocess(withLabelIds, linearRuleFields);
|
|
17195
|
+
storedMothershipLinearRuleSchema = external_exports.preprocess(withLabelIds, linearRuleFields.extend({ linked_at: external_exports.string() }));
|
|
17189
17196
|
SUBAGENT_SERVICE_TIERS = ["default", "fast", "ultrafast"];
|
|
17190
17197
|
mothershipSubagentSettingsSchema = external_exports.object({
|
|
17191
17198
|
coding_agent: external_exports.enum(VALID_AGENT_PROVIDERS),
|
|
@@ -17293,6 +17300,9 @@ var init_replicas_mcp = __esm({
|
|
|
17293
17300
|
readSubagent: "read_subagent",
|
|
17294
17301
|
archiveSubagent: "archive_subagent",
|
|
17295
17302
|
waitForSubagents: "wait_for_subagents",
|
|
17303
|
+
getLinearRouting: "get_linear_routing",
|
|
17304
|
+
setLinearRouting: "set_linear_routing",
|
|
17305
|
+
clearLinearRouting: "clear_linear_routing",
|
|
17296
17306
|
createReplica: "create_replica",
|
|
17297
17307
|
listReplicas: "list_replicas",
|
|
17298
17308
|
getReplica: "get_replica",
|
|
@@ -28648,7 +28658,10 @@ var init_steps = __esm({
|
|
|
28648
28658
|
[REPLICAS_MCP_TOOLS.deleteChat]: { icon: "trash", live: "Deleting chat", done: "Deleted chat" },
|
|
28649
28659
|
[REPLICAS_MCP_TOOLS.listRepositories]: { icon: "folder", live: "Listing repositories", done: "Listed repositories" },
|
|
28650
28660
|
[REPLICAS_MCP_TOOLS.listEnvironments]: { icon: "list", live: "Listing environments", done: "Listed environments" },
|
|
28651
|
-
[REPLICAS_MCP_TOOLS.createAutomation]: { icon: "clock", live: "Creating automation", done: "Created automation" }
|
|
28661
|
+
[REPLICAS_MCP_TOOLS.createAutomation]: { icon: "clock", live: "Creating automation", done: "Created automation" },
|
|
28662
|
+
[REPLICAS_MCP_TOOLS.getLinearRouting]: { icon: "search", live: "Checking Linear routing", done: "Checked Linear routing" },
|
|
28663
|
+
[REPLICAS_MCP_TOOLS.setLinearRouting]: { icon: "wrench", live: "Setting Linear routing", done: "Set Linear routing" },
|
|
28664
|
+
[REPLICAS_MCP_TOOLS.clearLinearRouting]: { icon: "trash", live: "Clearing Linear routing", done: "Cleared Linear routing" }
|
|
28652
28665
|
};
|
|
28653
28666
|
}
|
|
28654
28667
|
});
|
|
@@ -31535,7 +31548,7 @@ var CLI_VERSION;
|
|
|
31535
31548
|
var init_cli_version = __esm({
|
|
31536
31549
|
"../shared/src/cli-version.ts"() {
|
|
31537
31550
|
"use strict";
|
|
31538
|
-
CLI_VERSION = "0.3.
|
|
31551
|
+
CLI_VERSION = "0.3.259";
|
|
31539
31552
|
}
|
|
31540
31553
|
});
|
|
31541
31554
|
|
|
@@ -48625,7 +48638,7 @@ var init_src2 = __esm({
|
|
|
48625
48638
|
chatQueue.command("edit <id> <chatId> <messageId> <message>").description("Replace the text of a queued message").action(run(chatQueueEditCommand));
|
|
48626
48639
|
chatQueue.command("move <id> <chatId> <messageId> <position>").description("Move a queued message to a 0-based position").action(run(chatQueueMoveCommand));
|
|
48627
48640
|
chatQueue.command("steer <id> <chatId> <messageId>").description("Deliver a queued message into the running turn").action(run(chatQueueActionCommand("steer")));
|
|
48628
|
-
chatQueue.command("send-now <id> <chatId> <messageId>").description("
|
|
48641
|
+
chatQueue.command("send-now <id> <chatId> <messageId>").description("Get a queued message to the agent sooner; stops the current step only for agents that cannot steer").action(run(chatQueueActionCommand("send-now")));
|
|
48629
48642
|
share = program.command("share").description("Share a replica with organization members");
|
|
48630
48643
|
share.command("list <id>").description("List members a replica is shared with").action(run(shareListCommand));
|
|
48631
48644
|
share.command("add <id> <userId>").description("Share a replica with a member").action(run(shareAddCommand));
|