replicas-cli 0.3.461 → 0.3.462

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 +12 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -21737,7 +21737,7 @@ var init_mothership = __esm({
21737
21737
  mothershipLinearRuleSchema = external_exports.preprocess(withLabelIds, linearRuleFields);
21738
21738
  SUBAGENT_SERVICE_TIERS = ["default", "fast", "ultrafast"];
21739
21739
  mothershipSubagentSettingsSchema = external_exports.object({
21740
- coding_agent: external_exports.enum(ENGINE_AGENT_PROVIDERS),
21740
+ coding_agent: external_exports.enum(VALID_AGENT_PROVIDERS),
21741
21741
  model: external_exports.string().nullable(),
21742
21742
  thinking_level: external_exports.enum(VALID_THINKING_LEVELS).nullable(),
21743
21743
  service_tier: external_exports.enum(SUBAGENT_SERVICE_TIERS),
@@ -38977,6 +38977,7 @@ var init_types8 = __esm({
38977
38977
  "use strict";
38978
38978
  init_zod();
38979
38979
  init_agent();
38980
+ init_v1();
38980
38981
  HARNESS_THREAD_STATUSES = ["idle", "working", "error"];
38981
38982
  textSchema = external_exports.looseObject({ type: external_exports.literal("text"), text: external_exports.string() });
38982
38983
  imageSchema = external_exports.looseObject({ type: external_exports.literal("image"), data: external_exports.string(), mimeType: external_exports.string() });
@@ -39022,8 +39023,10 @@ var init_types8 = __esm({
39022
39023
  model: external_exports.string().optional(),
39023
39024
  thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional(),
39024
39025
  instructionsHash: external_exports.string().optional(),
39026
+ queued: external_exports.boolean().optional(),
39025
39027
  /** Stored only on a message whose `instructionsHash` differs from the message before it; later ones find it by hash. */
39026
- instructions: external_exports.object({ environmentSystemPrompt: external_exports.string().optional(), customInstructions: external_exports.string().optional() }).optional()
39028
+ instructions: external_exports.object({ environmentSystemPrompt: external_exports.string().optional(), customInstructions: external_exports.string().optional() }).optional(),
39029
+ errorNotificationTarget: integrationErrorNotificationTargetSchema.optional()
39027
39030
  }),
39028
39031
  interrupt: external_exports.looseObject({ userId: external_exports.string().nullable() })
39029
39032
  };
@@ -39057,7 +39060,7 @@ var init_types8 = __esm({
39057
39060
  });
39058
39061
 
39059
39062
  // ../shared/src/harness/worker-routes.ts
39060
- var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema;
39063
+ var harnessWorkerEngineRequestSchema, harnessWorkerEngineResponseSchema, harnessWorkerCredentialRequestSchema, harnessWorkerCredentialResponseSchema, harnessWorkerTurnCompleteRequestSchema;
39061
39064
  var init_worker_routes = __esm({
39062
39065
  "../shared/src/harness/worker-routes.ts"() {
39063
39066
  "use strict";
@@ -39082,6 +39085,7 @@ var init_worker_routes = __esm({
39082
39085
  external_exports.object({ method: external_exports.literal("oauth"), accessToken: external_exports.string(), expiresAt: external_exports.string(), credential: agentCredentialSnapshotSchema }),
39083
39086
  external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema })
39084
39087
  ]);
39088
+ harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
39085
39089
  }
39086
39090
  });
39087
39091
 
@@ -39149,7 +39153,7 @@ var CLI_VERSION;
39149
39153
  var init_cli_version = __esm({
39150
39154
  "../shared/src/cli-version.ts"() {
39151
39155
  "use strict";
39152
- CLI_VERSION = "0.3.461";
39156
+ CLI_VERSION = "0.3.462";
39153
39157
  }
39154
39158
  });
39155
39159
 
@@ -39613,7 +39617,7 @@ var init_scout2 = __esm({
39613
39617
  RESET_TO_DEFAULT = "default";
39614
39618
  resettable = (schema, description) => external_exports.union([schema, external_exports.literal(RESET_TO_DEFAULT)]).optional().describe(`${description} \`${RESET_TO_DEFAULT}\` falls back to the organization default. Omit to keep it.`);
39615
39619
  scoutSetSlackAgentDefaultsToolInputSchema = scoutSettingsConfirmationSchema.extend({
39616
- agent_provider: resettable(external_exports.enum(ENGINE_AGENT_PROVIDERS), "Agent for Slack-triggered workspaces. Changing it without `model` resets the model to that agent's default."),
39620
+ agent_provider: resettable(external_exports.enum(VALID_AGENT_PROVIDERS), "Agent for Slack-triggered workspaces. Changing it without `model` resets the model to that agent's default."),
39617
39621
  model: resettable(external_exports.string(), "Model id for that agent; the default is the agent's own."),
39618
39622
  thinking_level: resettable(external_exports.enum(VALID_THINKING_LEVELS), "Thinking level."),
39619
39623
  goal_mode: resettable(external_exports.boolean(), "Goal mode."),
@@ -40260,7 +40264,7 @@ var init_review_messages = __esm({
40260
40264
  }).shape,
40261
40265
  /** Starts a new chat instead of continuing the PR's review chat. The provider only applies to a new chat. */
40262
40266
  newChat: external_exports.boolean().optional(),
40263
- provider: external_exports.enum(ENGINE_AGENT_PROVIDERS).optional()
40267
+ provider: external_exports.enum(VALID_AGENT_PROVIDERS).optional()
40264
40268
  });
40265
40269
  }
40266
40270
  });
@@ -40338,8 +40342,8 @@ var init_github_checks = __esm({
40338
40342
  function validateAgentSelection(body, existing, modelCatalogs = {}) {
40339
40343
  const agentProvider = body.agent_provider;
40340
40344
  if (agentProvider !== void 0 && agentProvider !== null) {
40341
- if (!isEngineAgentProvider(agentProvider)) {
40342
- return createErrorResult({ message: `Invalid agent_provider: must be one of ${ENGINE_AGENT_PROVIDERS.join(", ")}` });
40345
+ if (!isValidAgentProvider(agentProvider)) {
40346
+ return createErrorResult({ message: `Invalid agent_provider: must be one of ${VALID_AGENT_PROVIDERS.join(", ")}` });
40343
40347
  }
40344
40348
  }
40345
40349
  const executionAgent = agentProvider !== void 0 ? agentProvider : existing.agentProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.461",
3
+ "version": "0.3.462",
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": {