replicas-cli 0.2.797 → 0.2.798

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 +50 -3
  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",
@@ -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.798";
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.798",
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": {