replicas-cli 0.3.493 → 0.3.494
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 +2 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -27356,7 +27356,7 @@ function stripAgentInstructionBlocks(text4) {
|
|
|
27356
27356
|
else spans(prose, text4.length);
|
|
27357
27357
|
return stripInstructionBlocksOutside(text4, quoted);
|
|
27358
27358
|
}
|
|
27359
|
-
var REPLICAS_INSTRUCTIONS_TAG,
|
|
27359
|
+
var REPLICAS_INSTRUCTIONS_TAG, fenceMarker, INSTRUCTIONS_OPEN, INSTRUCTIONS_CLOSE, MANAGER_EVENT_CHAT_NOTE, BOARD_ANSWER_NOTE, BOARD_RULES, MANAGER_TICKET_MESSAGE_NOTE, MANAGER_TICKET_REPLY_NUDGE, T, SCOUT_LINEAR_RULES, SCOUT_MUTED_RULES, SCOUT_PRIOR_UNTAGGED_RULES, SCOUT_JOINED_RULES, SCOUT_REACTION_RULES;
|
|
27360
27360
|
var init_prompts = __esm({
|
|
27361
27361
|
"../shared/src/prompts.ts"() {
|
|
27362
27362
|
"use strict";
|
|
@@ -27373,7 +27373,6 @@ var init_prompts = __esm({
|
|
|
27373
27373
|
init_slack_response_style();
|
|
27374
27374
|
init_slack_response_style();
|
|
27375
27375
|
REPLICAS_INSTRUCTIONS_TAG = "replicas_instructions";
|
|
27376
|
-
MANAGER_INSTRUCTIONS_TAG = "multitask_instructions";
|
|
27377
27376
|
fenceMarker = (line, open4) => {
|
|
27378
27377
|
const marker = (open4 ? /^ {0,3}(`{3,}|~{3,})[ \t]*$/ : /^ {0,3}(`{3,}|~{3,})/).exec(line)?.[1];
|
|
27379
27378
|
return !open4 || marker?.[0] === open4[0] && marker.length >= open4.length ? marker : void 0;
|
|
@@ -27391,7 +27390,6 @@ var init_prompts = __esm({
|
|
|
27391
27390
|
- On every ship event and every answer the user gives on the board, act with tools on the answer or on any work the event unblocks, such as starting the next task once a pull request merges, and update the board if its order, notes or overview changed. The user sees nothing you write in these turns, unless a message they typed is still unanswered because it arrived during the turn: then your final reply answers it, as in any turn they start. Otherwise the only way to reach them is \`${REPLICAS_MCP_TOOLS.sendToChat}\`. Call it only for what they would want right now: a deliverable they asked for, with its media, links or answer (the finished video, the requested numbers); a failure or blocker that needs them, also on the board; or a request of theirs being done. Never for status, such as "PR #12 merged", "deploying", "it's on the board" or "I asked the ship to\u2026": the board and the chat's own rows show those. End the turn with a one-line note of what you did; only the activity log shows it.
|
|
27392
27391
|
- The chat is like texting an assistant. In a turn the user typed, they see the text you write between tool calls as it streams, your final reply, what you send with \`${REPLICAS_MCP_TOOLS.sendToChat}\`, and your \`${REPLICAS_MCP_TOOLS.setStatus}\` line, never your tool calls. Unless you can answer right away, open with one line on what you'll do first and roughly how long it takes. Then call \`${REPLICAS_MCP_TOOLS.setStatus}\` with a few words on your current step, such as "Reading the billing webhook" or "Checking npm for outdated packages", and call it again each time you move to a new step. Before your final reply, write only what they'd want to know now: a finding that changes the answer, a ship you started, or a decision you need. Never narrate tool calls or say you're still working. When they message you mid-turn, reply to it in one line before anything else, then fold it into your work. Answer every message they type in chat, even one that arrives during a ship event or board answer, and never only on the board: if they ask something while you handle an event, answer that question, not just the event. Write in a line or two with links, and include any media inline. Never restate the board in chat: no status tables, per-ship lists or summaries of what ships did.
|
|
27393
27392
|
`;
|
|
27394
|
-
MANAGER_INSTRUCTIONS_BLOCK = new RegExp(`\\s*<${MANAGER_INSTRUCTIONS_TAG}>\\n([\\s\\S]*?)\\n</${MANAGER_INSTRUCTIONS_TAG}>`);
|
|
27395
27393
|
MANAGER_TICKET_MESSAGE_NOTE = `The user sent this from your ticket on the Manager's board and reads your answer there, not in this chat. Answer them with \`${REPLICAS_MCP_TOOLS.replyOnTicket}\`: briefly, with a link or screenshot if it helps, and a follow-up question only if you need one. Keep longer work and detail in this chat.`;
|
|
27396
27394
|
MANAGER_TICKET_REPLY_NUDGE = `The user is still waiting for your answer on your ticket, and they only read the ticket. Answer them now with \`${REPLICAS_MCP_TOOLS.replyOnTicket}\`, briefly.`;
|
|
27397
27395
|
T = REPLICAS_MCP_TOOLS;
|
|
@@ -39735,7 +39733,7 @@ var CLI_VERSION;
|
|
|
39735
39733
|
var init_cli_version = __esm({
|
|
39736
39734
|
"../shared/src/cli-version.ts"() {
|
|
39737
39735
|
"use strict";
|
|
39738
|
-
CLI_VERSION = "0.3.
|
|
39736
|
+
CLI_VERSION = "0.3.494";
|
|
39739
39737
|
}
|
|
39740
39738
|
});
|
|
39741
39739
|
|