replicas-cli 0.3.426 → 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 +35 -9
  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`,
@@ -23137,6 +23136,7 @@ var init_replicas_mcp = __esm({
23137
23136
  linkSlackChannel: "link_slack_channel",
23138
23137
  createSlackChannel: "create_slack_channel",
23139
23138
  unlinkSlackChannel: "unlink_slack_channel",
23139
+ setSlackChannelLevel: "set_slack_channel_level",
23140
23140
  createReplica: "create_replica",
23141
23141
  listReplicas: "list_replicas",
23142
23142
  getReplica: "get_replica",
@@ -23256,12 +23256,32 @@ var init_scout_settings = __esm({
23256
23256
  SCOUT_SETTINGS_SKILL_NAME = "scout-settings";
23257
23257
  CONTENT = `---
23258
23258
  name: ${SCOUT_SETTINGS_SKILL_NAME}
23259
- 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.
23260
23260
  ---
23261
23261
 
23262
23262
  # Scout settings
23263
23263
 
23264
- 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.
23265
23285
 
23266
23286
  ## Tools
23267
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.
@@ -23273,9 +23293,10 @@ Read presets, channel instructions, and levels with \`${REPLICAS_MCP_TOOLS.listC
23273
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.
23274
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.
23275
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.
23276
- - **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.
23277
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).
23278
- - **"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".
23279
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.
23280
23301
 
23281
23302
  ## Offers
@@ -23285,7 +23306,7 @@ When the envelope has \`offers\`, it lists the offers you may still make in this
23285
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.
23286
23307
 
23287
23308
  ## Automations
23288
- 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.
23289
23310
  `;
23290
23311
  }
23291
23312
  });
@@ -26407,6 +26428,7 @@ var init_preferences = __esm({
26407
26428
  appshot_destination: "automatic",
26408
26429
  appshot_sound: true,
26409
26430
  mothership_tour_seen: false,
26431
+ slack_settings_moved_notice: false,
26410
26432
  mothership_board_opened: false,
26411
26433
  follow_up_mode: "steer",
26412
26434
  memory_enabled: null,
@@ -34973,6 +34995,7 @@ var init_steps = __esm({
34973
34995
  [REPLICAS_MCP_TOOLS.linkSlackChannel]: { icon: "wrench", live: "Linking Slack channel", done: "Linked Slack channel" },
34974
34996
  [REPLICAS_MCP_TOOLS.createSlackChannel]: { icon: "wrench", live: "Creating Slack channel", done: "Created Slack channel" },
34975
34997
  [REPLICAS_MCP_TOOLS.unlinkSlackChannel]: { icon: "trash", live: "Unlinking Slack channel", done: "Unlinked Slack channel" },
34998
+ [REPLICAS_MCP_TOOLS.setSlackChannelLevel]: { icon: "wrench", live: "Changing Slack channel level", done: "Changed Slack channel level" },
34976
34999
  [REPLICAS_MCP_TOOLS.getBoard]: { icon: "book", live: "Reading board", done: "Read board" },
34977
35000
  [REPLICAS_MCP_TOOLS.updateBoard]: { icon: "file-pen", live: "Updating board", done: "Updated board" },
34978
35001
  [REPLICAS_MCP_TOOLS.updateTicket]: { icon: "file-pen", live: "Updating ticket", done: "Updated ticket" },
@@ -38346,7 +38369,7 @@ var CLI_VERSION;
38346
38369
  var init_cli_version = __esm({
38347
38370
  "../shared/src/cli-version.ts"() {
38348
38371
  "use strict";
38349
- CLI_VERSION = "0.3.425";
38372
+ CLI_VERSION = "0.3.428";
38350
38373
  }
38351
38374
  });
38352
38375
 
@@ -38583,7 +38606,7 @@ var init_slack2 = __esm({
38583
38606
  });
38584
38607
 
38585
38608
  // ../shared/src/routes/scout.ts
38586
- var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, scoutRouteLinearTicketRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackMessageReferenceSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutSlackStopWorkspaceRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, scoutSetSlackConnectMutedToolInputSchema, scoutSetSlackConnectDefaultsToolInputSchema, scoutSetOrganizationProactivityToolInputSchema, scoutDeleteChannelPresetToolInputSchema, RESET_TO_DEFAULT, resettable, scoutSetSlackAgentDefaultsToolInputSchema, scoutClaimSettingsOfferToolInputSchema;
38609
+ var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, scoutRouteLinearTicketRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackMessageReferenceSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutSlackStopWorkspaceRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, mothershipSlackChannelLevelToolInputSchema, scoutSetSlackConnectMutedToolInputSchema, scoutSetSlackConnectDefaultsToolInputSchema, scoutSetOrganizationProactivityToolInputSchema, scoutDeleteChannelPresetToolInputSchema, RESET_TO_DEFAULT, resettable, scoutSetSlackAgentDefaultsToolInputSchema, scoutClaimSettingsOfferToolInputSchema;
38587
38610
  var init_scout2 = __esm({
38588
38611
  "../shared/src/routes/scout.ts"() {
38589
38612
  "use strict";
@@ -38663,7 +38686,7 @@ var init_scout2 = __esm({
38663
38686
  scoutSaveChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
38664
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.`),
38665
38688
  name: external_exports.string().trim().min(1).max(SCOUT_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
38666
- 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."),
38667
38690
  icon: external_exports.enum(SCOUT_PRESET_ICONS).optional(),
38668
38691
  instructions: external_exports.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
38669
38692
  });
@@ -38676,6 +38699,9 @@ var init_scout2 = __esm({
38676
38699
  proactivity: external_exports.enum([...SCOUT_PROACTIVITY_LEVELS, "organization"]).optional().describe("Slack only: this channel's or group DM's own level, overriding the organization's here alone. `organization` makes it follow the organization's level again. Omit to keep it. 1:1 DMs are always addressed to Replicas, so they take no level."),
38677
38700
  muted: external_exports.enum(["on", "off", "default"]).optional().describe(`Slack only, organization admins only: \`on\` mutes Replicas in this channel, \`off\` unmutes it here, \`default\` follows the Slack Connect default from \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`. Omit to keep it.`)
38678
38701
  });
38702
+ mothershipSlackChannelLevelToolInputSchema = scoutSlackConfirmationSchema.extend({
38703
+ proactivity: scoutUpdateChannelSettingsToolInputSchema.shape.proactivity.unwrap().describe("This channel's own level. `organization` makes it follow the organization's level again, which a Mothership's channel raises to at least `balanced`.")
38704
+ });
38679
38705
  scoutSetSlackConnectMutedToolInputSchema = scoutSlackConfirmationSchema.extend({
38680
38706
  muted: external_exports.boolean().describe("`true` mutes Replicas in every Slack Connect channel without its own setting; `false` lets them follow their levels again.")
38681
38707
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.426",
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": {