replicas-cli 0.3.190 → 0.3.192

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 +22 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -17181,6 +17181,7 @@ var init_replicas_mcp = __esm({
17181
17181
  saveChannelPreset: "save_channel_preset",
17182
17182
  deleteChannelPreset: "delete_channel_preset",
17183
17183
  updateChannelSettings: "update_channel_settings",
17184
+ setOrganizationProactivity: "set_organization_proactivity",
17184
17185
  setThreadMuted: "set_thread_muted",
17185
17186
  spawnSubagent: "spawn_subagent",
17186
17187
  messageSubagent: "message_subagent",
@@ -17251,11 +17252,12 @@ var init_replicas_mcp = __esm({
17251
17252
  });
17252
17253
 
17253
17254
  // ../shared/src/scout.ts
17254
- var SCOUT_SOURCE_TYPES, SCOUT_PRESET_NAME_MAX_LENGTH, SCOUT_PRESET_ICONS;
17255
+ var SCOUT_SOURCE_TYPES, SCOUT_PROACTIVITY_LEVELS, SCOUT_PRESET_NAME_MAX_LENGTH, SCOUT_PRESET_ICONS;
17255
17256
  var init_scout = __esm({
17256
17257
  "../shared/src/scout.ts"() {
17257
17258
  "use strict";
17258
17259
  SCOUT_SOURCE_TYPES = ["slack", "linear"];
17260
+ SCOUT_PROACTIVITY_LEVELS = ["conservative", "balanced", "proactive"];
17259
17261
  SCOUT_PRESET_NAME_MAX_LENGTH = 50;
17260
17262
  SCOUT_PRESET_ICONS = [
17261
17263
  "users",
@@ -18341,6 +18343,7 @@ Use this when:
18341
18343
  - You encounter a linear.app issue link and need to understand the task
18342
18344
  - You need to update an issue's state or add a comment
18343
18345
  - You need to search Linear issues
18346
+ - You start working on a Linear issue and need to attach it to this workspace
18344
18347
  - A Linear request failed with an authentication error`;
18345
18348
  REFERENCE7 = `# Linear Integration
18346
18349
 
@@ -18350,6 +18353,16 @@ In all new workspaces, Linear credentials stay on the Replicas server and the wo
18350
18353
 
18351
18354
  Download protected attachments with \`await replicas.linear.download(url)\`; this returns a \`Response\` without exposing the provider token.
18352
18355
 
18356
+ ## Attach an issue you own
18357
+
18358
+ When you are the one working on an issue (assigned to it, or asked to take it over), attach it once, right when you start:
18359
+
18360
+ \`\`\`ts
18361
+ await replicas.linear.attachIssue({ issue: 'ENG-123' });
18362
+ \`\`\`
18363
+
18364
+ This opens a Replicas agent session on the issue, like delegating it to Replicas: your progress and final responses stream into it, replies there reach this workspace, and the issue moves to In Progress. Attaching the same issue again is a no-op. Do not attach issues you only read, file, or hand to someone else.
18365
+
18353
18366
  ## Check access
18354
18367
 
18355
18368
  Call Linear directly; integration listing is optional. If \`replicas.integrations.list()\` returns a 5xx or \`Internal server error\`, skip it and continue through \`replicas.linear.graphql\`.
@@ -20099,6 +20112,7 @@ var init_prompts = __esm({
20099
20112
  "use strict";
20100
20113
  init_pr_footer();
20101
20114
  init_urls();
20115
+ init_types4();
20102
20116
  init_replicas_mcp();
20103
20117
  init_scout();
20104
20118
  init_preferences();
@@ -31133,7 +31147,7 @@ var CLI_VERSION;
31133
31147
  var init_cli_version = __esm({
31134
31148
  "../shared/src/cli-version.ts"() {
31135
31149
  "use strict";
31136
- CLI_VERSION = "0.3.190";
31150
+ CLI_VERSION = "0.3.192";
31137
31151
  }
31138
31152
  });
31139
31153
 
@@ -31409,7 +31423,7 @@ var init_slack2 = __esm({
31409
31423
  });
31410
31424
 
31411
31425
  // ../shared/src/routes/scout.ts
31412
- var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, scoutDeleteChannelPresetToolInputSchema;
31426
+ var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, scoutSetOrganizationProactivityToolInputSchema, scoutDeleteChannelPresetToolInputSchema;
31413
31427
  var init_scout2 = __esm({
31414
31428
  "../shared/src/routes/scout.ts"() {
31415
31429
  "use strict";
@@ -31483,7 +31497,11 @@ var init_scout2 = __esm({
31483
31497
  external_id: external_exports.string().describe("Slack channel id or Linear team id."),
31484
31498
  monitored: external_exports.boolean().optional().describe("`false` stops Scout 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."),
31485
31499
  preset_id: external_exports.string().nullable().optional().describe("Preset to assign; `null` removes the preset. Omit to keep it."),
31486
- 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.")
31500
+ 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."),
31501
+ proactivity: external_exports.enum([...SCOUT_PROACTIVITY_LEVELS, "organization"]).optional().describe("Slack only: this channel's proactivity level, overriding the organization's for this channel or group DM alone. Set it only when the person explicitly asks for this channel. `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.")
31502
+ });
31503
+ scoutSetOrganizationProactivityToolInputSchema = scoutSlackConfirmationSchema.extend({
31504
+ proactivity: external_exports.enum(SCOUT_PROACTIVITY_LEVELS).describe("The level every Slack channel and group DM follows unless it has its own.")
31487
31505
  });
31488
31506
  scoutDeleteChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
31489
31507
  preset_id: external_exports.string().describe(`Id of the preset to delete, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.190",
3
+ "version": "0.3.192",
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": {