replicas-cli 0.3.427 → 0.3.428

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 +29 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -237,7 +237,6 @@ var init_urls = __esm({
237
237
  integrations: `${DASHBOARD_PATH}/integrations`,
238
238
  integrationsGithub: `${DASHBOARD_PATH}/integrations/github`,
239
239
  integrationsGitlab: `${DASHBOARD_PATH}/integrations/gitlab`,
240
- integrationsSlack: `${DASHBOARD_PATH}/integrations/slack`,
241
240
  settings: `${DASHBOARD_PATH}/settings`,
242
241
  billing: `${DASHBOARD_PATH}/billing`,
243
242
  members: `${DASHBOARD_PATH}/members`,
@@ -23257,12 +23256,32 @@ var init_scout_settings = __esm({
23257
23256
  SCOUT_SETTINGS_SKILL_NAME = "scout-settings";
23258
23257
  CONTENT = `---
23259
23258
  name: ${SCOUT_SETTINGS_SKILL_NAME}
23260
- description: Use when someone asks Scout to change or explain how Replicas behaves in Slack or Linear (channel levels, "be quieter", "only reply when tagged", channel or team instructions, presets, monitored Linear teams, Slack Connect defaults, Slack agent defaults, "what can I change?"), when someone is annoyed that Scout replied unasked ("not you", "nobody asked", a thumbs-down), when making or answering a settings or automation offer, or when setting up an automation. Not for routing ordinary requests.
23259
+ description: Use when someone asks what Replicas can do or what they can change ("what can you do?", "what can I change here?"), asks to change or explain how Replicas behaves in Slack or Linear (channel levels, "be quieter", "only reply when tagged", mute, channel or team instructions, presets, monitored Linear teams, Slack Connect defaults, Slack agent defaults), when someone is annoyed that Scout replied unasked ("not you", "nobody asked", a thumbs-down), when making or answering a settings or automation offer, or when setting up an automation. Not for routing ordinary requests.
23261
23260
  ---
23262
23261
 
23263
23262
  # Scout settings
23264
23263
 
23265
- You own every Scout setting: each Slack channel's level, each channel's and Linear team's preset and instructions, the presets themselves, which Linear teams are monitored, Slack Connect defaults, the organization's level, and agent defaults for Slack tasks. Handle requests here, never by spawning a workspace.
23264
+ There is no settings page: people change how Replicas behaves by asking you, and you own every setting below. Handle requests here, never by spawning a workspace. People know you as Replicas, so never say Scout to them.
23265
+
23266
+ ## What you can do
23267
+ | Ask | How | Who |
23268
+ | --- | --- | --- |
23269
+ | How much you speak up in a channel or group DM (Mentions only, Low, Balanced, High) | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`proactivity\` | Any member, except that raising one from Mentions only needs an admin |
23270
+ | How much you speak up in every channel | \`${REPLICAS_MCP_TOOLS.setOrganizationProactivity}\` | Admin |
23271
+ | Mute or unmute you in a channel (you still read it and follow its instructions, but never post there) | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`muted\` | Admin |
23272
+ | Instructions for a channel or Linear team, such as "file bugs in Linear and post them in #triage", "send actionable messages to App Support", or "mobile requests go to the mobile-ios environment" | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`instructions\` | Any member |
23273
+ | Create, edit, or delete a preset (reusable instructions), or assign one | \`${REPLICAS_MCP_TOOLS.saveChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.deleteChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`preset_id\` | Any member |
23274
+ | Defaults for every channel shared with another company: preset, instructions, level, mute | \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\` | Admin |
23275
+ | Triage new issues in a Linear team, or stop | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`source: linear\`, \`monitored\` | Admin starts; any member stops |
23276
+ | Agent, model, thinking level, goal mode, and fast mode for tasks started from Slack | \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\` | Admin |
23277
+ | Stay quiet in this thread, or come back | \`${REPLICAS_MCP_TOOLS.setThreadMuted}\` | Anyone in the thread |
23278
+ | A recurring task ("every Monday, summarize open PRs in #eng") | \`${REPLICAS_MCP_TOOLS.createAutomation}\` (see Automations) | Members who can create automations |
23279
+
23280
+ You also answer questions, start a workspace for a task (in a separate thread when asked), relay follow-ups to a thread's workspace, stop it, hand a thread to a Mothership by name, and file Linear tickets with \`replicas.linear.graphql\`. Spawn for a one-time reminder ("remind me tomorrow at 9"): workspaces can schedule one-time runs.
23281
+
23282
+ A person's own defaults (agent, model, environment) and the organization's general defaults are changed in the Replicas app, not by you; Slack tasks use them unless the Slack agent defaults above say otherwise.
23283
+
23284
+ You can't add yourself to or remove yourself from a channel: people type \`/invite @Replicas\` or \`/remove @Replicas\` there, and an admin can pick channels under Integrations, Slack, Configure. To keep you in a channel but out of the way, lower it to Mentions only or mute it. A channel becomes a Mothership's own channel from that Mothership, not here; any channel's instructions can still send its messages to a Mothership.
23266
23285
 
23267
23286
  ## Tools
23268
23287
  Read presets, channel instructions, and levels with \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Change them with \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\`, \`${REPLICAS_MCP_TOOLS.saveChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.deleteChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.setOrganizationProactivity}\`, \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`, or \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\`. Every change takes \`confirmation_*\` arguments: fill them with the requesting message's envelope \`channel_id\`, \`thread_ts\`, \`message_ts\`, and \`user_id\`. The server checks that exact Slack author is an organization member (and an admin where noted). If it refuses, say why briefly and change nothing.
@@ -23274,9 +23293,10 @@ Read presets, channel instructions, and levels with \`${REPLICAS_MCP_TOOLS.listC
23274
23293
  - A request that points at a channel ("here", "in #eng", "stop replying in #random") changes that channel only. One that doesn't ("only respond when I @ you", "don't auto-reply to Slack messages") means the organization level. When it names a channel, even without "#" ("make support-inbound quieter"), find it with \`conversations.list\` and change that one, not the one you were asked in; ask if none or several match. If a non-admin asks for an organization change, say an organization admin has to ask, and offer the channel-only change when they asked from a channel. Instructions don't substitute for a level.
23275
23294
  - **Instructions and presets:** prefer changing the channel's own instructions; edit a shared preset only when asked, since every channel using it changes. To set up a channel without being told how, read enough of it to propose short instructions or a fitting preset (customer, vendor, internal team), and save nothing until they confirm. Never infer a channel's purpose only because Slack marks it externally shared.
23276
23295
  - **Linear teams:** set \`monitored: true\` to start triaging a team (admin only) and \`monitored: false\` to stop. Teams take a preset or instructions like channels.
23277
- - **Slack Connect** channels shared with another company follow the organization's shared-channel defaults (\`tagged\` with no preset unless an admin set them with \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`) until they get their own settings, unless a Mothership is linked to one. A request about all shared or customer channels changes only those defaults: leave channels with their own settings as they are, list them, and offer to switch them too. Asked why you stay quiet in one, say it's external and an admin can raise its level here.
23296
+ - **Slack Connect** channels shared with another company follow the organization's shared-channel defaults (\`tagged\` with no preset unless an admin set them with \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`) until they get their own settings, unless a Mothership is linked to one. A request about all shared or customer channels changes only those defaults: leave channels with their own settings as they are, list them, and offer to switch them too. Asked why you stay quiet in one, say it's external and an admin can ask you to raise its level.
23278
23297
  - **Slack agent defaults:** to change the agent, model, thinking level, goal mode, or fast mode for tasks started from Slack ("use Codex for Slack tasks"), call \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\` (admin only).
23279
- - **"What can I change?"** Read the current settings, then list what applies with each current value: how much you speak up here and in every channel (raising a channel above Mentions only and the every-channel default need an admin), instructions or a preset for this channel, sending this channel's requests to a Mothership, which Linear teams you triage (an admin starts one), and the Slack agent defaults (admin).
23298
+ - **"What can you do?"** Keep it short: one line on what you do (answer questions, start a workspace for a task, hand work to a Mothership, file Linear tickets, set up recurring tasks), two or three example requests in backticks drawn from both work and behavior (like \`fix the flaky login test\`, \`only reply here when tagged\`, \`every Monday, summarize open PRs\`), then "Ask me what you can change here to see every setting." No settings list or current values.
23299
+ - **"What can I change?"** Read the current settings, then reply in a few short lines from **What you can do**: what applies here with its current value (this channel's level, mute, instructions or preset), then what applies everywhere (the every-channel level, shared-channel defaults, Linear teams, Slack agent defaults), marking what needs an admin. Give one example phrasing, like "only reply here when tagged".
23280
23300
  - After any change, say what changed and its scope ("every channel", or "#eng only"). Confirm only after the tool succeeded and only what it changed; say so when it failed or did less than asked.
23281
23301
 
23282
23302
  ## Offers
@@ -23286,7 +23306,7 @@ When the envelope has \`offers\`, it lists the offers you may still make in this
23286
23306
  - **Channel instructions.** When you join a channel or first act in one whose name or purpose points to a clear role (#triage, #bugs, #incidents, #support, #customer-*, a customer's shared channel), claim \`instructions\` and offer one concrete behavior in one line ("This looks like an incident channel. Want me to triage new reports here, check for duplicates, and post findings in the thread?"). Make the same kind of offer when you keep handling messages here the same way, or the channel clearly belongs to a Mothership (offer to send its actionable messages to it by name). On a yes, save it as the channel's instructions, or its preset when one fits exactly.
23287
23307
 
23288
23308
  ## Automations
23289
- When someone accepts an offer to automate a repeated request, set it up here instead of spawning. Infer the name, prompt, environment, repositories, schedule, and timezone from the conversation and the organization's configuration; ask one concise follow-up only for a missing detail that changes when or where it runs. Create it with \`${REPLICAS_MCP_TOOLS.createAutomation}\`, filling \`confirmation_*\` from the accepting message's envelope. The server checks that author is an organization member with automation write access; never create it if that fails. Post the result in the same thread.
23309
+ When someone asks for a recurring task or accepts an offer to automate a repeated request, set it up here instead of spawning. Infer the name, prompt, environment, repositories, schedule, and timezone from the conversation and the organization's configuration; ask one concise follow-up only for a missing detail that changes when or where it runs. Create it with \`${REPLICAS_MCP_TOOLS.createAutomation}\`, filling \`confirmation_*\` from the envelope of the message that asked or accepted. The server checks that author is an organization member with automation write access; never create it if that fails. Post the result in the same thread.
23290
23310
  `;
23291
23311
  }
23292
23312
  });
@@ -26408,6 +26428,7 @@ var init_preferences = __esm({
26408
26428
  appshot_destination: "automatic",
26409
26429
  appshot_sound: true,
26410
26430
  mothership_tour_seen: false,
26431
+ slack_settings_moved_notice: false,
26411
26432
  mothership_board_opened: false,
26412
26433
  follow_up_mode: "steer",
26413
26434
  memory_enabled: null,
@@ -38348,7 +38369,7 @@ var CLI_VERSION;
38348
38369
  var init_cli_version = __esm({
38349
38370
  "../shared/src/cli-version.ts"() {
38350
38371
  "use strict";
38351
- CLI_VERSION = "0.3.426";
38372
+ CLI_VERSION = "0.3.428";
38352
38373
  }
38353
38374
  });
38354
38375
 
@@ -38665,7 +38686,7 @@ var init_scout2 = __esm({
38665
38686
  scoutSaveChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
38666
38687
  preset_id: external_exports.string().optional().describe(`Id of the preset to update, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Omit to create a new preset.`),
38667
38688
  name: external_exports.string().trim().min(1).max(SCOUT_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
38668
- description: external_exports.string().optional().describe("One-line summary shown in settings."),
38689
+ description: external_exports.string().optional().describe("One-line summary of what the preset is for."),
38669
38690
  icon: external_exports.enum(SCOUT_PRESET_ICONS).optional(),
38670
38691
  instructions: external_exports.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
38671
38692
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.427",
3
+ "version": "0.3.428",
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": {