replicas-cli 0.3.309 → 0.3.310

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 +18 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -17147,6 +17147,7 @@ var init_linear = __esm({
17147
17147
  linearSessionMetadataSchema = external_exports.object({
17148
17148
  via_mothership: external_exports.boolean().optional(),
17149
17149
  attached: external_exports.boolean().optional(),
17150
+ routing_chat_id: external_exports.string().optional(),
17150
17151
  issue_id: external_exports.string(),
17151
17152
  issue_identifier: external_exports.string(),
17152
17153
  issue_title: external_exports.string(),
@@ -17587,6 +17588,7 @@ var init_replicas_mcp = __esm({
17587
17588
  listWorkspaces: "list_workspaces",
17588
17589
  linearStart: "start_linear_session",
17589
17590
  linearSessionIntent: "register_linear_session_intent",
17591
+ routeLinearTicket: "route_linear_ticket",
17590
17592
  listChannelSettings: "list_channel_settings",
17591
17593
  saveChannelPreset: "save_channel_preset",
17592
17594
  deleteChannelPreset: "delete_channel_preset",
@@ -20646,10 +20648,12 @@ function defaultReplicasAgentAbilities() {
20646
20648
  function hasAllReplicasAgentAbilities(abilities) {
20647
20649
  return REPLICAS_AGENT_ABILITIES.every((key) => typeof abilities[key] === "boolean");
20648
20650
  }
20649
- var EMPTY_AGENT_DEFAULT_SETTINGS, DEFAULT_SUBAGENT_MCP_PROVIDERS, ALERT_SOUND_FAMILIES, ALERT_SOUNDS, PUSH_WHEN_ACTIVE_COPY, DEFAULT_USER_PREFERENCES, DEFAULT_DEFAULT_SKILLS;
20651
+ var EMPTY_AGENT_DEFAULT_SETTINGS, DEFAULT_SUBAGENT_MCP_PROVIDERS, ALERT_SOUND_FAMILIES, ALERT_SOUNDS, PUSH_WHEN_ACTIVE_COPY, DEFAULT_USER_PREFERENCES, DEFAULT_DEFAULT_SKILLS, LINEAR_ROUTING_SKILL_MAX_LENGTH, linearRoutingSkillSchema;
20650
20652
  var init_preferences = __esm({
20651
20653
  "../shared/src/routes/preferences.ts"() {
20652
20654
  "use strict";
20655
+ init_zod();
20656
+ init_uuid();
20653
20657
  init_agent();
20654
20658
  init_push();
20655
20659
  init_registry();
@@ -20719,6 +20723,11 @@ var init_preferences = __esm({
20719
20723
  abilities: defaultReplicasAgentAbilities()
20720
20724
  }
20721
20725
  };
20726
+ LINEAR_ROUTING_SKILL_MAX_LENGTH = 5e4;
20727
+ linearRoutingSkillSchema = external_exports.union([
20728
+ external_exports.object({ name: external_exports.string().min(1), content: external_exports.string().trim().min(1).max(LINEAR_ROUTING_SKILL_MAX_LENGTH) }),
20729
+ external_exports.object({ name: external_exports.string().min(1), repository_id: external_exports.string().regex(UUID_RE), path: external_exports.string().min(1) })
20730
+ ]);
20722
20731
  }
20723
20732
  });
20724
20733
 
@@ -31920,7 +31929,7 @@ var CLI_VERSION;
31920
31929
  var init_cli_version = __esm({
31921
31930
  "../shared/src/cli-version.ts"() {
31922
31931
  "use strict";
31923
- CLI_VERSION = "0.3.308";
31932
+ CLI_VERSION = "0.3.310";
31924
31933
  }
31925
31934
  });
31926
31935
 
@@ -32157,7 +32166,7 @@ var init_slack2 = __esm({
32157
32166
  });
32158
32167
 
32159
32168
  // ../shared/src/routes/scout.ts
32160
- var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, scoutSetSlackConnectMutedToolInputSchema, scoutSetSlackConnectDefaultsToolInputSchema, scoutSetOrganizationProactivityToolInputSchema, scoutDeleteChannelPresetToolInputSchema, RESET_TO_DEFAULT, resettable, scoutSetSlackAgentDefaultsToolInputSchema, scoutClaimSettingsOfferToolInputSchema;
32169
+ var SCOUT_LINEAR_ACTIONS, scoutLinearSessionIntentRequestSchema, scoutLinearStartRequestSchema, scoutRouteLinearTicketRequestSchema, slackChannelIdSchema, slackThreadTsSchema, scoutSlackSpawnRequestSchema, scoutSlackSpawnInNewThreadRequestSchema, scoutSlackRelayRequestSchema, scoutSlackSetThreadMutedRequestSchema, scoutListWorkspacesRequestSchema, scoutSlackConfirmationSchema, scoutAutomationToolInputSchema, scoutSaveChannelPresetToolInputSchema, scoutUpdateChannelSettingsToolInputSchema, scoutSetSlackConnectMutedToolInputSchema, scoutSetSlackConnectDefaultsToolInputSchema, scoutSetOrganizationProactivityToolInputSchema, scoutDeleteChannelPresetToolInputSchema, RESET_TO_DEFAULT, resettable, scoutSetSlackAgentDefaultsToolInputSchema, scoutClaimSettingsOfferToolInputSchema;
32161
32170
  var init_scout2 = __esm({
32162
32171
  "../shared/src/routes/scout.ts"() {
32163
32172
  "use strict";
@@ -32176,6 +32185,11 @@ var init_scout2 = __esm({
32176
32185
  agent_session_id: external_exports.string().describe("Existing Linear agent session id from the envelope's `agent_session_id`."),
32177
32186
  prompt: external_exports.string().trim().min(1).describe("The latest request, in its author's words. The workspace already receives the issue and its comments.")
32178
32187
  });
32188
+ scoutRouteLinearTicketRequestSchema = external_exports.object({
32189
+ agent_session_id: external_exports.string().trim().min(1).describe("The ticket's `agent_session_id` from the envelope."),
32190
+ environment_id: external_exports.string().trim().min(1).optional().describe("Start the ticket in this environment."),
32191
+ mothership_id: external_exports.string().trim().min(1).optional().describe("Hand the ticket to this Mothership instead.")
32192
+ }).refine((args) => !(args.environment_id && args.mothership_id), "Pass environment_id or mothership_id, not both.");
32179
32193
  slackChannelIdSchema = external_exports.string().describe("Slack channel id from the envelope's `channel_id`.");
32180
32194
  slackThreadTsSchema = external_exports.string().describe("Slack thread timestamp from the envelope's `thread_ts`.");
32181
32195
  scoutSlackSpawnRequestSchema = external_exports.object({
@@ -42613,6 +42627,7 @@ var init_mothership_board = __esm({
42613
42627
  type: external_exports.literal("section"),
42614
42628
  id: blockId.optional(),
42615
42629
  title: label(120),
42630
+ tone: tone.optional(),
42616
42631
  collapsed: external_exports.boolean().optional(),
42617
42632
  get children() {
42618
42633
  return external_exports.array(block).max(100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.309",
3
+ "version": "0.3.310",
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": {