replicas-cli 0.3.139 → 0.3.141

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 +35 -29
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -26286,10 +26286,10 @@ var SESSION_HISTORY_ABILITY = {
26286
26286
  };
26287
26287
 
26288
26288
  // ../shared/src/slack-response-style.ts
26289
- var SLACK_CONCISE_REPLY_SHAPE = "short and easy to read. Lead with a concise, easy-to-skim answer; add depth when asked. Each send is a deliberate message, not an automatic split of a long answer. Simple requests need only a short answer or, where the surrounding instructions allow it, a fitting reaction. Use common, everyday words, simple sentences, and contractions where they sound natural. Avoid jargon, corporate language, and formal words when a plain word works. Start with what happened or what works now, then add only the context, limits, or next step people need. Cut repetition and play-by-play, but keep anything important. Put long logs and file-by-file recaps in the pull request or workspace unless the user asks for them";
26289
+ var SLACK_CONCISE_REPLY_SHAPE = 'short and easy to read. Lead with a concise, easy-to-skim answer; add depth when asked. Each send is a deliberate message, not an automatic split of a long answer. Simple requests need only a short answer or, where the surrounding instructions allow it, a fitting reaction. Use common, everyday words, simple sentences, and contractions where they sound natural. Avoid jargon, corporate language, and formal words when a plain word works. Start with what happened or what works now, then add only the context, limits, or next step people need. Cut repetition and play-by-play, but keep anything important. Put long logs and file-by-file recaps in the pull request or workspace unless the user asks for them. Never use em dashes; use a comma, period, colon, or parentheses. Skip filler openers ("Great question", "Good catch", "Happy to help"), stock AI words ("delve", "leverage", "seamless", "robust"), closing offers ("Let me know if you need anything else"), and a closing line that restates the answer';
26290
26290
  var SLACK_QUOTE_REPLY_GUIDANCE = "Use a short Slack blockquote (`> quoted text`) only when answering a specific earlier message or when the reply would otherwise have an unclear referent. Quote only the relevant line; do not quote the latest message by default, repeat the full request, or add a blockquote when the reply is already unambiguous. Escape the leading `<` in raw Slack mention and control markup such as `<@U\u2026>` and `<!channel>` as `&lt;` before quoting so it cannot notify anyone.";
26291
26291
  var SLACK_BLOCK_KIT_GUIDANCE = "Use Block Kit whenever structure or a link would make the message faster to scan or use. Before composing a structured message, read Slack's live [block catalog](https://docs.slack.dev/reference/block-kit/blocks) and the linked schema for each block you plan to use; do not rely on memory for which blocks exist or their fields. You have broad leeway to use display-only blocks and `actions` with URL buttons, but do not add controls that require an interaction callback. Keep simple replies as plain text, do not add decorative UI or repeat content across blocks, and always keep `text` as a concise, complete fallback for notifications and accessibility.";
26292
- var SLACK_PR_BUTTON_GUIDANCE = 'The first time you share a given pull request or merge request link in a thread \u2014 the message announcing you opened it \u2014 attach a button for it: send `blocks` alongside `text` \u2014 a `section` block holding your message as `mrkdwn`, then an `actions` block with one element per newly shared link, `{"type": "button", "style": "primary", "text": {"type": "plain_text", "text": "View PR"}, "url": "<pr url>", "action_id": "view_pr"}`. Later messages about a pull request you already linked in this thread keep the link in the sentence and get no button, and never re-post a button for a link someone already has. Label it "View MR" for GitLab, and if there are several give each button a unique `action_id` and name its repository in the label ("View PR \xB7 web"). Always keep `text` populated with the same message \u2014 Slack uses it for notifications and fallback \u2014 and keep the link in the sentence too.';
26292
+ var SLACK_PR_BUTTON_GUIDANCE = 'The first time you share a given pull request or merge request link in a thread (the message announcing you opened it), attach a button for it: send `blocks` alongside `text`, with a `section` block holding your message as `mrkdwn`, then an `actions` block with one element per newly shared link, `{"type": "button", "style": "primary", "text": {"type": "plain_text", "text": "View PR"}, "url": "<pr url>", "action_id": "view_pr"}`. Later messages about a pull request you already linked in this thread keep the link in the sentence and get no button, and never re-post a button for a link someone already has. Label it "View MR" for GitLab, and if there are several give each button a unique `action_id` and name its repository in the label ("View PR \xB7 web"). Always keep `text` populated with the same message, since Slack uses it for notifications and fallback, and keep the link in the sentence too.';
26293
26293
 
26294
26294
  // ../shared/src/default-skills/replicas-agent/abilities/slack.ts
26295
26295
  var SECTION14 = `### Slack
@@ -29023,7 +29023,7 @@ var headlessAgentRequestSchema = external_exports.object({
29023
29023
  });
29024
29024
 
29025
29025
  // ../shared/src/cli-version.ts
29026
- var CLI_VERSION = "0.3.139";
29026
+ var CLI_VERSION = "0.3.141";
29027
29027
 
29028
29028
  // ../shared/src/version.ts
29029
29029
  function compareVersions(v1, v2) {
@@ -29518,32 +29518,6 @@ var workspaceSectionOrderClientStateKey = orgUserClientStateKey(WORKSPACE_SECTIO
29518
29518
  var workspaceMarkedUnreadClientStateKey = orgUserClientStateKey(WORKSPACE_MARKED_UNREAD_CLIENT_STATE_KEY_PREFIX);
29519
29519
  var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_STATE_KEY_PREFIX);
29520
29520
 
29521
- // ../shared/src/workspace-sidebar-state.ts
29522
- var WORKSPACE_SOURCE_LABELS = {
29523
- slack: "Slack",
29524
- linear: "Linear",
29525
- github: "GitHub",
29526
- gitlab: "GitLab",
29527
- automation: "an automation",
29528
- api: "the API",
29529
- [SCOUT_SOURCE]: "Scout"
29530
- };
29531
- var FIRST_BOOT_GRACE_MS = 15 * 6e4;
29532
- var SLOW_ENGINE_GRACE_MS = 10 * 6e4;
29533
- var WORKSPACE_STAGE_LABELS = {
29534
- progress: "In progress",
29535
- review: "In review",
29536
- backlog: "Backlog",
29537
- done: "Done"
29538
- };
29539
- var IDLE_BACKLOG_MS = 3 * 24 * 60 * 6e4;
29540
- var WORKSPACE_LIST_SECTION_LABELS = {
29541
- motherships: "Motherships",
29542
- needs: "Needs you",
29543
- pinned: "Pinned",
29544
- ...WORKSPACE_STAGE_LABELS
29545
- };
29546
-
29547
29521
  // ../shared/src/workspace-attention.ts
29548
29522
  var WORKSPACE_ATTENTION_REASONS = ["question", "blocked"];
29549
29523
 
@@ -29582,6 +29556,12 @@ var workspaceChangedEventSchema = external_exports.discriminatedUnion("type", [
29582
29556
  type: external_exports.literal("pull-request.changed"),
29583
29557
  prUrl: external_exports.string(),
29584
29558
  ts: external_exports.string()
29559
+ }),
29560
+ external_exports.object({
29561
+ type: external_exports.literal("mothership.subagent.changed"),
29562
+ workspaceId: external_exports.string(),
29563
+ subagent: external_exports.object({ id: external_exports.string(), name: external_exports.string(), status: external_exports.enum(["ready", "needs_you"]), prUrl: external_exports.string().nullable() }),
29564
+ ts: external_exports.string()
29585
29565
  })
29586
29566
  ]);
29587
29567
 
@@ -29721,6 +29701,32 @@ var WEBHOOK_PROVIDER_SET = new Set(WEBHOOK_PROVIDERS);
29721
29701
  var ENVIRONMENT_HOOK_RUN_LOG_LIMIT = 5 * 1024 * 1024;
29722
29702
  var ENVIRONMENT_HOOK_RUN_TAIL_LIMIT = 8 * 1024;
29723
29703
 
29704
+ // ../shared/src/workspace-sidebar-state.ts
29705
+ var WORKSPACE_SOURCE_LABELS = {
29706
+ slack: "Slack",
29707
+ linear: "Linear",
29708
+ github: "GitHub",
29709
+ gitlab: "GitLab",
29710
+ automation: "an automation",
29711
+ api: "the API",
29712
+ [SCOUT_SOURCE]: "Scout"
29713
+ };
29714
+ var FIRST_BOOT_GRACE_MS = 15 * 6e4;
29715
+ var SLOW_ENGINE_GRACE_MS = 10 * 6e4;
29716
+ var WORKSPACE_STAGE_LABELS = {
29717
+ progress: "In progress",
29718
+ review: "In review",
29719
+ backlog: "Backlog",
29720
+ done: "Done"
29721
+ };
29722
+ var IDLE_BACKLOG_MS = 3 * 24 * 60 * 6e4;
29723
+ var WORKSPACE_LIST_SECTION_LABELS = {
29724
+ motherships: "Motherships",
29725
+ needs: "Needs you",
29726
+ pinned: "Pinned",
29727
+ ...WORKSPACE_STAGE_LABELS
29728
+ };
29729
+
29724
29730
  // ../shared/src/onboarding-emails.ts
29725
29731
  var EMAIL_KEYS = [
29726
29732
  "welcome",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.139",
3
+ "version": "0.3.141",
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": {