replicas-cli 0.3.267 → 0.3.269

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 +7 -5
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -17395,14 +17395,15 @@ var init_replicas_mcp = __esm({
17395
17395
  });
17396
17396
 
17397
17397
  // ../shared/src/scout.ts
17398
- var SCOUT_SOURCE_TYPES, SCOUT_PROACTIVITY_LEVELS, SCOUT_PRESET_NAME_MAX_LENGTH, SCOUT_SETTINGS_OFFERS, SCOUT_PRESET_ICONS;
17398
+ var SCOUT_SOURCE_TYPES, SCOUT_PROACTIVITY_LEVELS, SCOUT_PRESET_NAME_MAX_LENGTH, SCOUT_CHANNEL_SETTINGS_OFFERS, SCOUT_SETTINGS_OFFERS, SCOUT_PRESET_ICONS;
17399
17399
  var init_scout = __esm({
17400
17400
  "../shared/src/scout.ts"() {
17401
17401
  "use strict";
17402
17402
  SCOUT_SOURCE_TYPES = ["slack", "linear"];
17403
17403
  SCOUT_PROACTIVITY_LEVELS = ["tagged", "conservative", "balanced", "proactive"];
17404
17404
  SCOUT_PRESET_NAME_MAX_LENGTH = 50;
17405
- SCOUT_SETTINGS_OFFERS = ["proactivity", "instructions", "organization_proactivity"];
17405
+ SCOUT_CHANNEL_SETTINGS_OFFERS = ["proactivity", "raise_proactivity", "instructions"];
17406
+ SCOUT_SETTINGS_OFFERS = [...SCOUT_CHANNEL_SETTINGS_OFFERS, "organization_proactivity"];
17406
17407
  SCOUT_PRESET_ICONS = [
17407
17408
  "users",
17408
17409
  "user",
@@ -20485,8 +20486,9 @@ var init_prompts = __esm({
20485
20486
  MOTHERSHIP_INSTRUCTIONS_TAG = "multitask_instructions";
20486
20487
  MOTHERSHIP_INSTRUCTIONS_BLOCK = new RegExp(`\\s*<${MOTHERSHIP_INSTRUCTIONS_TAG}>\\n([\\s\\S]*?)\\n</${MOTHERSHIP_INSTRUCTIONS_TAG}>`);
20487
20488
  SCOUT_ADAPTIVE_SETTINGS_PROMPT = `### Adapting to each channel
20488
- There is no settings page: people change how you behave by telling you, and you suggest a change when it would clearly help. The envelope carries the channel's \`proactivity\` and \`offers\`, the offers you may still make in this channel (\`proactivity\`, \`instructions\`); \`offers=none\` means make none. Offer only what \`offers\` lists, at most one per message. Claim an offer with \`${REPLICAS_MCP_TOOLS.claimSettingsOffer}\` right before posting it, and post it only when the claim succeeds. When someone declines ("no", "it's fine", "leave it"), record it with \`declined: true\` and drop it; never repeat an ignored offer. When they accept, apply it with the settings tools using the accepting message as confirmation, then confirm what changed in one short line.
20489
+ There is no settings page: people change how you behave by telling you, and you suggest a change when it would clearly help. The envelope carries the channel's \`proactivity\` and \`offers\`, the offers you may still make in this channel (${SCOUT_CHANNEL_SETTINGS_OFFERS.map((offer) => `\`${offer}\``).join(", ")}); \`offers=none\` means make none. Offer only what \`offers\` lists, at most one per message. Claim an offer with \`${REPLICAS_MCP_TOOLS.claimSettingsOffer}\` right before posting it, and post it only when the claim succeeds. When someone declines ("no", "it's fine", "leave it"), record it with \`declined: true\` and drop it; never repeat an ignored offer. When they accept, apply it with the settings tools using the accepting message as confirmation, then confirm what changed in one short line.
20489
20490
  - **Frustration.** When someone is clearly annoyed that you replied or acted unasked ("wtf why did replicas respond", "stop", "not you", "nobody asked", or \`event=reaction:\u2026\`, a thumbs-down or similar on a reply you posted unasked), claim \`proactivity\` and post one short apology that offers to lower this channel exactly one step. From Balanced or High, offer Low: "Sorry for jumping in. Want me to only reply here when someone mentions me by name?" From Low, offer Mentions only: "Sorry for jumping in. Want me to only reply here when someone @mentions me?" On a yes, set the level you offered, nothing lower. Do nothing else in that thread. When the claim answers \`offer: organization\`, people were frustrated in several channels, so offer the same for every channel instead; when \`requester_is_admin\` is false, say an organization admin can change it for every channel and offer this channel. A thumbs-down on a reply someone asked for is about the answer, not about speaking up, so leave it. An explicit "stop replying in this thread" is still a thread mute.
20491
+ - **Having to tag you.** When \`directed=true\` and the same person's untagged message just before in this thread asked you something you didn't act on, so they had to @mention you, answer as usual, then claim \`raise_proactivity\` and end the reply with one line asking whether to pick up messages like that without a tag next time. They may have meant that message for someone else, so ask, never assume. Offer exactly one step up: from Mentions only, where an untagged reply never reaches you, "Want me to pick up messages here that name me, without an @mention? @mention me with your answer."; from Low, "Want me to pick up questions and requests here without a tag next time?"; from Balanced, "Want me to jump in on questions and requests here without being asked?" On a yes, raise this channel to that level only; if the server refuses because they aren't an admin, say an organization admin can raise it.
20490
20492
  - **Channel instructions.** On \`event=joined\` (you were just added to the channel; reply in that envelope's thread), or when you act in a channel for the first time, and the channel's 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, such as "This looks like an incident channel. Want me to triage new reports here, check for duplicates, and post findings in the thread?" On \`event=joined\` without a clear role, do nothing at all. Make the same kind of offer when you notice you keep handling messages here the same way, or that the channel clearly belongs to a Mothership (offer to send its actionable messages to that Mothership by name). On a yes, save it as the channel's instructions, or as its preset when one fits exactly.
20491
20493
  - **Tip.** When the envelope has \`tip=true\`, this is the first time someone pinged you in this channel, so end the reply you post with one more line: "_Tip: tell me how you want me to act in this channel._" It is shown once per channel, so never add it otherwise.
20492
20494
  - **Slack agent defaults.** To change the agent, model, thinking level, goal mode or fast mode used for tasks started from Slack ("use Codex for Slack tasks"), call \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\`; only an organization admin can.
@@ -31626,7 +31628,7 @@ var CLI_VERSION;
31626
31628
  var init_cli_version = __esm({
31627
31629
  "../shared/src/cli-version.ts"() {
31628
31630
  "use strict";
31629
- CLI_VERSION = "0.3.267";
31631
+ CLI_VERSION = "0.3.269";
31630
31632
  }
31631
31633
  });
31632
31634
 
@@ -31998,7 +32000,7 @@ var init_scout2 = __esm({
31998
32000
  });
31999
32001
  scoutClaimSettingsOfferToolInputSchema = external_exports.object({
32000
32002
  channel_id: slackChannelIdSchema,
32001
- kind: external_exports.enum(SCOUT_SETTINGS_OFFERS).describe("`proactivity`: offering a lower level after frustration. `instructions`: offering channel instructions or a preset. `organization_proactivity`: offering to lower the workspace default; only decline it, the server claims it for you."),
32003
+ kind: external_exports.enum(SCOUT_SETTINGS_OFFERS).describe("`proactivity`: offering a lower level after frustration. `raise_proactivity`: offering a higher level after someone had to @mention you. `instructions`: offering channel instructions or a preset. `organization_proactivity`: offering to lower the workspace default; only decline it, the server claims it for you."),
32002
32004
  user_id: external_exports.string().optional().describe("The envelope's `user_id`. Required for `proactivity`, so the server can say whether they are an organization admin."),
32003
32005
  declined: external_exports.boolean().optional().describe("true when the person declined an offer you already made, so it is not made again.")
32004
32006
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.267",
3
+ "version": "0.3.269",
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": {