replicas-cli 0.3.322 → 0.3.324

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.
Files changed (2) hide show
  1. package/dist/index.cjs +21 -17
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -383,6 +383,13 @@ var init_async = __esm({
383
383
  }
384
384
  });
385
385
 
386
+ // ../shared/src/http-range.ts
387
+ var init_http_range = __esm({
388
+ "../shared/src/http-range.ts"() {
389
+ "use strict";
390
+ }
391
+ });
392
+
386
393
  // ../shared/src/result.ts
387
394
  function createSuccessResult(data) {
388
395
  return { ok: true, data };
@@ -17047,12 +17054,8 @@ var init_design_tokens = __esm({
17047
17054
  destructiveForeground: "#ffffff",
17048
17055
  destructiveSoft: "#dc262636",
17049
17056
  warning: "#f59e0b",
17050
- warningText: "#facc15",
17051
- warningSoft: "#facc151a",
17052
- working: "#0ea5e9",
17053
- workingText: "#7dd3fc",
17054
- workingForeground: "#111111",
17055
- workingSoft: "#7dd3fc1a",
17057
+ warningText: "#f59e0b",
17058
+ warningSoft: "#f59e0b1a",
17056
17059
  ...plain
17057
17060
  };
17058
17061
  DESIGN_COLORS = {
@@ -17077,12 +17080,8 @@ var init_design_tokens = __esm({
17077
17080
  destructiveForeground: "#ffffff",
17078
17081
  destructiveSoft: "#dc262614",
17079
17082
  warning: "#92400e",
17080
- warningText: "#825100",
17081
- warningSoft: "#facc1540",
17082
- working: "#0369a1",
17083
- workingText: "#075985",
17084
- workingForeground: "#ffffff",
17085
- workingSoft: "#0284c71a",
17083
+ warningText: "#92400e",
17084
+ warningSoft: "#92400e1f",
17086
17085
  ...plain
17087
17086
  }
17088
17087
  };
@@ -20807,10 +20806,14 @@ var init_prompts = __esm({
20807
20806
  REPLICAS_INSTRUCTIONS_TAG = "replicas_instructions";
20808
20807
  MOTHERSHIP_INSTRUCTIONS_TAG = "multitask_instructions";
20809
20808
  BOARD_ANSWER_NOTE = "The user answered on the board.";
20810
- BOARD_RULES = `- The board, a live status page you keep with \`${REPLICAS_MCP_TOOLS.updateBoard}\` in the Ships pane beside this chat, is the user's one view of the work: keep it covering every ship, pull request, deploy, blocker and ask. Show ships, pull requests and Linear tickets as ship, pr and linear blocks, which stay current on their own, instead of describing their status. Start with sections Needs you, Ready to review, Working, Shipping and Done, and add blocks and buttons whenever they help the user act.
20811
- - 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 in Needs you if it needs the user.
20809
+ BOARD_RULES = `- The board, a live status page you keep with \`${REPLICAS_MCP_TOOLS.updateBoard}\` in the Ships pane beside this chat, is the user's one view of the work: keep it covering every ship, pull request, deploy and blocker. Show ships, pull requests and Linear tickets as ship, pr and linear blocks, which stay current on their own, instead of describing their status. Keep exactly these sections, always in this order, leaving out any that are empty; when you add one, give it the position that keeps this order:
20810
+ - Questions (needs_you): only decisions you truly can't make, and blocked ships. Give each your recommendation and a choice. Make routine calls yourself, such as retries, small scope choices or test cleanup, and note them on the ship's row instead of asking.
20811
+ - Ready to review (success): one table with columns PR and What it does, even for a single pull request: a pr block and a short line per row. Never a callout per pull request, and never a review in Questions: a merge conflict on a pull request awaiting review is not a question.
20812
+ - Working (working): one table with columns Ship and Now: a ship block and a short line per active ship or deploy.
20813
+ - Done (done, collapsed): pull requests once deployed, and finished work. Move a row from Working to Done as soon as its deploy or work finishes.
20814
+ - 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 add it to Questions only if you can't decide.
20812
20815
  - On every ship event and every answer the user gives on the board (marked "${BOARD_ANSWER_NOTE}"), act with tools on the answer or on any work the event unblocks, such as starting the next task once a pull request merges, update the board, and end your turn with no text at all. Never write an acknowledgement such as "Noted.", even if earlier turns did.
20813
- - The chat is like texting an assistant: the user sees only your final reply to each message they type, never your tool calls, earlier text, or anything written on a ship event or board answer. Write in chat only to reply to what the user just asked, in a line or two with links. Anything that needs the user later, such as a decision, a review or finished work, goes in Needs you on the board, as a choice when it has clear options, never in chat. Never restate the board in chat: no status tables, per-ship lists or summaries of what ships did.
20816
+ - The chat is like texting an assistant: the user sees only your final reply to each message they type, never your tool calls, earlier text, or anything written on a ship event or board answer. Write in chat only to reply to what the user just asked, in a line or two with links. Anything that needs the user later goes on the board, never in chat. Never restate the board in chat: no status tables, per-ship lists or summaries of what ships did.
20814
20817
  - 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.
20815
20818
  `;
20816
20819
  MOTHERSHIP_INSTRUCTIONS_BLOCK = new RegExp(`\\s*<${MOTHERSHIP_INSTRUCTIONS_TAG}>\\n([\\s\\S]*?)\\n</${MOTHERSHIP_INSTRUCTIONS_TAG}>`);
@@ -29008,7 +29011,7 @@ var init_mothership_board = __esm({
29008
29011
  "use strict";
29009
29012
  init_zod();
29010
29013
  init_urls();
29011
- MOTHERSHIP_BOARD_TONES = ["neutral", "needs_you", "warning", "success", "danger", "working"];
29014
+ MOTHERSHIP_BOARD_TONES = ["neutral", "needs_you", "warning", "success", "danger", "working", "done"];
29012
29015
  label = (max) => external_exports.string().trim().min(1).max(max);
29013
29016
  tone = external_exports.enum(MOTHERSHIP_BOARD_TONES);
29014
29017
  blockId = external_exports.string().regex(/^[\w.:-]{1,64}$/, "Use 1-64 letters, digits, _, -, . or :");
@@ -32106,7 +32109,7 @@ var CLI_VERSION;
32106
32109
  var init_cli_version = __esm({
32107
32110
  "../shared/src/cli-version.ts"() {
32108
32111
  "use strict";
32109
- CLI_VERSION = "0.3.322";
32112
+ CLI_VERSION = "0.3.324";
32110
32113
  }
32111
32114
  });
32112
32115
 
@@ -42746,6 +42749,7 @@ var init_src = __esm({
42746
42749
  init_json();
42747
42750
  init_api_request();
42748
42751
  init_async();
42752
+ init_http_range();
42749
42753
  init_result();
42750
42754
  init_access();
42751
42755
  init_saved_order();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.322",
3
+ "version": "0.3.324",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {