replicas-cli 0.3.306 → 0.3.307
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 +7 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20715,6 +20715,7 @@ var init_prompts = __esm({
|
|
|
20715
20715
|
- A ship with open pull requests is not done when it sends \`finished\`: Replicas fixes their CI failures and review comments automatically, then sends \`ready\` or \`needs_attention\`. On \`needs_attention\`, direct the ship, or put the decision to the user if it needs one.
|
|
20716
20716
|
- On every ship event, update the board, act with tools if other work waits on it, such as starting the next task once a pull request merges, and end your turn with no text at all. Never write an acknowledgement such as "Noted.", even if earlier turns did.
|
|
20717
20717
|
- Write in chat only to answer the user, or to ask a decision in a line or two. Put each decision on the board too, as a choice when it has clear options, and ask it in chat once. Never restate the board in chat: no status tables, per-ship lists or summaries of what ships did; link the pull request you mean and leave status to the board.
|
|
20718
|
+
- When the user picks a choice or clicks a button that messages or merges, Replicas removes that item from the board for you. Add it back, or a new item, only if the user is still needed.
|
|
20718
20719
|
`;
|
|
20719
20720
|
MOTHERSHIP_INSTRUCTIONS_BLOCK = new RegExp(`\\s*<${MOTHERSHIP_INSTRUCTIONS_TAG}>\\n([\\s\\S]*?)\\n</${MOTHERSHIP_INSTRUCTIONS_TAG}>`);
|
|
20720
20721
|
SCOUT_ADAPTIVE_SETTINGS_PROMPT = `### Adapting to each channel
|
|
@@ -31871,7 +31872,7 @@ var CLI_VERSION;
|
|
|
31871
31872
|
var init_cli_version = __esm({
|
|
31872
31873
|
"../shared/src/cli-version.ts"() {
|
|
31873
31874
|
"use strict";
|
|
31874
|
-
CLI_VERSION = "0.3.
|
|
31875
|
+
CLI_VERSION = "0.3.307";
|
|
31875
31876
|
}
|
|
31876
31877
|
});
|
|
31877
31878
|
|
|
@@ -42489,7 +42490,7 @@ var init_websocket_liveness = __esm({
|
|
|
42489
42490
|
});
|
|
42490
42491
|
|
|
42491
42492
|
// ../shared/src/mothership-board.ts
|
|
42492
|
-
var MOTHERSHIP_BOARD_TONES, label, tone, blockId, httpsUrl, prUrl, linearIdentifier, action, text3, badge, pr, ship, linear, button, steps, inline, row, blockTypes, blockSchemas, block, MOTHERSHIP_BOARD_CONTAINER_TYPES, mothershipBoardBlocksSchema, mothershipBoardOperationsSchema, LINEAR_ISSUE_SUMMARIES_MAX, linearIssueSummariesRequestSchema;
|
|
42493
|
+
var MOTHERSHIP_BOARD_TONES, label, tone, blockId, httpsUrl, prUrl, linearIdentifier, action, text3, badge, pr, ship, linear, button, steps, inline, row, blockTypes, blockSchemas, block, MOTHERSHIP_BOARD_CONTAINER_TYPES, mothershipBoardBlocksSchema, mothershipBoardOperationsSchema, mothershipBoardItemRefSchema, LINEAR_ISSUE_SUMMARIES_MAX, linearIssueSummariesRequestSchema;
|
|
42493
42494
|
var init_mothership_board = __esm({
|
|
42494
42495
|
"../shared/src/mothership-board.ts"() {
|
|
42495
42496
|
"use strict";
|
|
@@ -42515,7 +42516,7 @@ var init_mothership_board = __esm({
|
|
|
42515
42516
|
pr = external_exports.object({ type: external_exports.literal("pr"), id: blockId.optional(), url: prUrl });
|
|
42516
42517
|
ship = external_exports.object({ type: external_exports.literal("ship"), id: blockId.optional(), workspace_id: external_exports.uuid() });
|
|
42517
42518
|
linear = external_exports.object({ type: external_exports.literal("linear"), id: blockId.optional(), identifier: linearIdentifier });
|
|
42518
|
-
button = external_exports.object({ type: external_exports.literal("button"), id: blockId.optional(), label: label(60), action, variant: external_exports.enum(["primary", "outline", "warning", "destructive"]).optional() });
|
|
42519
|
+
button = external_exports.object({ type: external_exports.literal("button"), id: blockId.optional(), label: label(60), action, variant: external_exports.enum(["primary", "outline", "warning", "destructive"]).optional(), resolves: blockId.optional() });
|
|
42519
42520
|
steps = external_exports.object({
|
|
42520
42521
|
type: external_exports.literal("steps"),
|
|
42521
42522
|
id: blockId.optional(),
|
|
@@ -42538,7 +42539,8 @@ var init_mothership_board = __esm({
|
|
|
42538
42539
|
type: external_exports.literal("choice"),
|
|
42539
42540
|
id: blockId.optional(),
|
|
42540
42541
|
question: label(500),
|
|
42541
|
-
options: external_exports.array(external_exports.object({ label: label(60), message: label(2e3).optional() })).min(2).max(6)
|
|
42542
|
+
options: external_exports.array(external_exports.object({ label: label(60), message: label(2e3).optional() })).min(2).max(6),
|
|
42543
|
+
resolves: blockId.optional()
|
|
42542
42544
|
}),
|
|
42543
42545
|
button_group: external_exports.object({ type: external_exports.literal("button_group"), id: blockId.optional(), children: external_exports.array(button).min(1).max(8) }),
|
|
42544
42546
|
table: external_exports.object({ type: external_exports.literal("table"), id: blockId.optional(), columns: external_exports.array(label(40)).min(1).max(6), children: external_exports.array(row).max(100) }),
|
|
@@ -42600,6 +42602,7 @@ var init_mothership_board = __esm({
|
|
|
42600
42602
|
}),
|
|
42601
42603
|
external_exports.object({ op: external_exports.literal("remove"), id: blockId })
|
|
42602
42604
|
])).min(1).max(50);
|
|
42605
|
+
mothershipBoardItemRefSchema = external_exports.object({ mothershipId: external_exports.uuid(), block, occurrence: external_exports.number().int().min(0).optional() });
|
|
42603
42606
|
LINEAR_ISSUE_SUMMARIES_MAX = 50;
|
|
42604
42607
|
linearIssueSummariesRequestSchema = external_exports.object({ identifiers: external_exports.array(linearIdentifier).min(1).max(LINEAR_ISSUE_SUMMARIES_MAX) });
|
|
42605
42608
|
}
|