replicas-cli 0.3.18 → 0.3.20

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 +9 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -26051,6 +26051,7 @@ var REPLICAS_MCP_TOOLS = {
26051
26051
  linearSessionIntent: "register_linear_session_intent",
26052
26052
  listChannelSettings: "list_channel_settings",
26053
26053
  saveChannelPreset: "save_channel_preset",
26054
+ deleteChannelPreset: "delete_channel_preset",
26054
26055
  updateChannelSettings: "update_channel_settings",
26055
26056
  spawnSubagent: "spawn_subagent",
26056
26057
  messageSubagent: "message_subagent",
@@ -26177,6 +26178,7 @@ var DEFAULT_DEFAULT_SKILLS = {
26177
26178
 
26178
26179
  // ../shared/src/prompts.ts
26179
26180
  var REPLICAS_INSTRUCTIONS_TAG = "replicas_instructions";
26181
+ var MULTITASK_INSTRUCTIONS_TAG = "multitask_instructions";
26180
26182
  function removeTag(text2, tag) {
26181
26183
  const regex = new RegExp(`<${tag}>[\\s\\S]*?</${tag}>`, "g");
26182
26184
  return text2.replace(regex, "").trim();
@@ -26184,6 +26186,7 @@ function removeTag(text2, tag) {
26184
26186
  function removeReplicasInstructions(text2) {
26185
26187
  return removeTag(text2, REPLICAS_INSTRUCTIONS_TAG);
26186
26188
  }
26189
+ var MULTITASK_INSTRUCTIONS_BLOCK = new RegExp(`\\s*<${MULTITASK_INSTRUCTIONS_TAG}>\\n([\\s\\S]*?)\\n</${MULTITASK_INSTRUCTIONS_TAG}>`);
26187
26190
 
26188
26191
  // ../shared/src/user-message-attachments.ts
26189
26192
  var ATTACHMENT_PLACEHOLDER_REGEX = /^\[\d+ (?:(?:images?|files?)(?: and \d+ files?)? attached|(?:image )?attachments?)\]$/;
@@ -28393,7 +28396,7 @@ var headlessAgentRequestSchema = external_exports.object({
28393
28396
  });
28394
28397
 
28395
28398
  // ../shared/src/cli-version.ts
28396
- var CLI_VERSION = "0.3.18";
28399
+ var CLI_VERSION = "0.3.20";
28397
28400
 
28398
28401
  // ../shared/src/version.ts
28399
28402
  function compareVersions(v1, v2) {
@@ -28521,10 +28524,14 @@ var mothershipSaveChannelPresetToolInputSchema = mothershipSlackConfirmationSche
28521
28524
  });
28522
28525
  var mothershipUpdateChannelSettingsToolInputSchema = mothershipSlackConfirmationSchema.extend({
28523
28526
  source: external_exports.enum(MOTHERSHIP_SOURCE_TYPES).optional().describe("Defaults to `slack`."),
28524
- external_id: external_exports.string().describe(`Slack channel id or Linear team id of an already monitored source, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`),
28527
+ external_id: external_exports.string().describe("Slack channel id or Linear team id."),
28528
+ monitored: external_exports.boolean().optional().describe("`false` stops Mothership from handling the source: it excludes a Slack channel or stops monitoring a Linear team. `true` resumes a Slack channel or starts monitoring a Linear team, and only an organization admin can ask for that. Omit to keep it."),
28525
28529
  preset_id: external_exports.string().nullable().optional().describe("Preset to assign; `null` removes the preset. Omit to keep it."),
28526
28530
  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.")
28527
28531
  });
28532
+ var mothershipDeleteChannelPresetToolInputSchema = mothershipSlackConfirmationSchema.extend({
28533
+ preset_id: external_exports.string().describe(`Id of the preset to delete, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`)
28534
+ });
28528
28535
 
28529
28536
  // ../shared/src/routes/plugin-catalog.ts
28530
28537
  var EXPLICIT_PLUGIN_CATALOG = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
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": {