replicas-cli 0.2.797 → 0.2.799

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 +51 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -23594,6 +23594,9 @@ var REPLICAS_MCP_TOOLS = {
23594
23594
  relay: "relay_to_workspace",
23595
23595
  linearStart: "start_linear_session",
23596
23596
  linearSessionIntent: "register_linear_session_intent",
23597
+ listChannelSettings: "list_channel_settings",
23598
+ saveChannelPreset: "save_channel_preset",
23599
+ updateChannelSettings: "update_channel_settings",
23597
23600
  spawnSubagent: "spawn_subagent",
23598
23601
  messageSubagent: "message_subagent",
23599
23602
  listSubagents: "list_subagents",
@@ -25444,7 +25447,7 @@ replicas automation create "Re-check PR #142 CI" \\
25444
25447
  - \`--in <duration>\` (\`30m\`, \`2h\`, \`3d\`, \`1w\`, \`1d12h\`) or \`--at <ISO-8601 with offset>\` (e.g. "tomorrow at 9am" \u2192 \`--at 2026-10-08T09:00:00-07:00\`, using the user's timezone if you know it; otherwise say which timezone you assumed).
25445
25448
  - Inside a workspace, one-time follow-ups default to \`--workspace current\`, so you resume with this conversation's context. Inside a workspace, \`--environment\` defaults to this workspace's environment (same repositories), including for \`--workspace new\` and \`reuse\`.
25446
25449
  - Write \`--prompt\` as instructions to your future self: the links, what to check, what "done" looks like, and how to report back (e.g. reply in the original Slack thread). It runs with no memory of why it was scheduled beyond what you write.
25447
- - \`--background\` keeps offhand reminders out of the user's main automations list (they are still visible under **Background**). Omit it for things the user should see and manage, such as ongoing monitoring they asked for.
25450
+ - \`--background\` keeps follow-ups out of the user's main automations list (they are still visible under **Background**). Use it for every one-time follow-up that reports back into this conversation, even one that leads to a big decision. Omit it only for recurring automations the user wants to see and manage, such as ongoing monitoring.
25448
25451
  - \`--personal\` makes the automation the user's own. Omit it only when the follow-up belongs to the organization.
25449
25452
  - Recurring with an end: \`--trigger-cron "0 9 * * *" --max-runs 5 --workspace current\` runs daily five times, then deletes itself. \`--workspace reuse\` creates one new workspace on the first run and sends every later run to it; \`--workspace new\` (the default for non-one-time automations) creates a fresh workspace per run.
25450
25453
  - Only schedule when the user asked for a follow-up or clearly agreed to one; not for "maybe I'll look at this later".
@@ -27964,6 +27967,36 @@ var MULTITASK_SLASH_COMMAND = {
27964
27967
  providers: [...VALID_AGENT_PROVIDERS]
27965
27968
  };
27966
27969
 
27970
+ // ../shared/src/mothership.ts
27971
+ var MOTHERSHIP_SOURCE_TYPES = ["slack", "linear"];
27972
+ var MOTHERSHIP_PRESET_NAME_MAX_LENGTH = 50;
27973
+ var MOTHERSHIP_PRESET_ICONS = [
27974
+ "users",
27975
+ "user",
27976
+ "inbox",
27977
+ "building",
27978
+ "bug",
27979
+ "message-circle",
27980
+ "headphones",
27981
+ "heart",
27982
+ "star",
27983
+ "flag",
27984
+ "zap",
27985
+ "shield",
27986
+ "code",
27987
+ "terminal",
27988
+ "rocket",
27989
+ "wrench",
27990
+ "briefcase",
27991
+ "globe",
27992
+ "book-open",
27993
+ "lightbulb",
27994
+ "target",
27995
+ "bell",
27996
+ "layers",
27997
+ "tag"
27998
+ ];
27999
+
27967
28000
  // ../shared/src/replicas-config.ts
27968
28001
  var import_yaml = __toESM(require_dist());
27969
28002
 
@@ -28002,7 +28035,7 @@ var headlessAgentRequestSchema = external_exports.object({
28002
28035
  });
28003
28036
 
28004
28037
  // ../shared/src/cli-version.ts
28005
- var CLI_VERSION = "0.2.797";
28038
+ var CLI_VERSION = "0.2.799";
28006
28039
 
28007
28040
  // ../shared/src/version.ts
28008
28041
  function compareVersions(v1, v2) {
@@ -28105,12 +28138,26 @@ var mothershipSlackRelayRequestSchema = external_exports.object({
28105
28138
  user_id: external_exports.string().optional().describe("Slack user id of the follow-up's author (the envelope's `user_id`), so it is attributed to them. Defaults to the thread's original requester."),
28106
28139
  queue: external_exports.boolean().optional().describe("Set true only when the person explicitly asked for this to happen after the current task finishes. Delivers behind the active turn instead of interrupting it.")
28107
28140
  });
28108
- var mothershipAutomationToolInputSchema = automationToolInputSchema.extend({
28109
- confirmation_channel_id: external_exports.string().describe("`channel_id` from the envelope of the Slack message that accepted the offer."),
28141
+ var mothershipSlackConfirmationSchema = external_exports.object({
28142
+ confirmation_channel_id: external_exports.string().describe("`channel_id` from the envelope of the Slack message that asked for or accepted this."),
28110
28143
  confirmation_thread_ts: external_exports.string().describe("`thread_ts` from that message's envelope."),
28111
28144
  confirmation_message_ts: external_exports.string().describe("`message_ts` from that message's envelope."),
28112
28145
  confirmation_user_id: external_exports.string().describe("`user_id` from that message's envelope.")
28113
28146
  });
28147
+ var mothershipAutomationToolInputSchema = automationToolInputSchema.extend(mothershipSlackConfirmationSchema.shape);
28148
+ var mothershipSaveChannelPresetToolInputSchema = mothershipSlackConfirmationSchema.extend({
28149
+ preset_id: external_exports.string().optional().describe(`Id of the preset to update, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Omit to create a new preset.`),
28150
+ name: external_exports.string().trim().min(1).max(MOTHERSHIP_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
28151
+ description: external_exports.string().optional().describe("One-line summary shown in settings."),
28152
+ icon: external_exports.enum(MOTHERSHIP_PRESET_ICONS).optional(),
28153
+ instructions: external_exports.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
28154
+ });
28155
+ var mothershipUpdateChannelSettingsToolInputSchema = mothershipSlackConfirmationSchema.extend({
28156
+ source: external_exports.enum(MOTHERSHIP_SOURCE_TYPES).optional().describe("Defaults to `slack`."),
28157
+ external_id: external_exports.string().describe(`Slack channel id or Linear team id of an already monitored source, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`),
28158
+ preset_id: external_exports.string().nullable().optional().describe("Preset to assign; `null` removes the preset. Omit to keep it."),
28159
+ instructions: external_exports.string().nullable().optional().describe("Complete channel-specific instructions, applied after the preset; replaces the existing text. `null` clears them. Omit to keep them.")
28160
+ });
28114
28161
 
28115
28162
  // ../shared/src/routes/plugin-catalog.ts
28116
28163
  var EXPLICIT_PLUGIN_CATALOG = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.797",
3
+ "version": "0.2.799",
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": {