replicas-cli 0.2.661 → 0.2.663

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 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -7401,13 +7401,13 @@ var LEGACY_WEB_APP_PATHS = {
7401
7401
  dashboardWorkspaces: `${DASHBOARD_PATH}/workspaces`
7402
7402
  };
7403
7403
  function getWorkspaceDashboardUrl(workspaceId, options = {}) {
7404
- const { encodeWorkspaceId = true, mode, mediaId } = options;
7404
+ const { encodeWorkspaceId = true, mode, mediaId, webAppUrl = DEFAULT_WEB_APP_URL } = options;
7405
7405
  const workspaceIdValue = encodeWorkspaceId ? encodeURIComponent(workspaceId) : workspaceId;
7406
7406
  const params = [];
7407
7407
  if (mode) params.push(`mode=${encodeURIComponent(mode)}`);
7408
7408
  if (mediaId) params.push(`media=${encodeURIComponent(mediaId)}`);
7409
7409
  const query = params.length > 0 ? `?${params.join("&")}` : "";
7410
- return `${DEFAULT_WEB_APP_URL}${WEB_APP_PATHS.fullscreenWorkspaces}/${workspaceIdValue}${query}`;
7410
+ return `${webAppUrl}${WEB_APP_PATHS.fullscreenWorkspaces}/${workspaceIdValue}${query}`;
7411
7411
  }
7412
7412
  function getOrganizationMediaPath(organizationId, mediaId) {
7413
7413
  return `/organizations/${encodeURIComponent(organizationId)}/media/${encodeURIComponent(mediaId)}`;
@@ -22834,6 +22834,10 @@ var createChatRequestSchema = external_exports.object({
22834
22834
  var spawnRelaySubagentRequestSchema = external_exports.object({
22835
22835
  provider: external_exports.enum(VALID_AGENT_PROVIDERS),
22836
22836
  prompt: external_exports.string().min(1),
22837
+ forkTurns: external_exports.string().regex(/^(all|none|[1-9]\d*)$/).refine(
22838
+ (value) => value === "all" || value === "none" || Number.isSafeInteger(Number(value)),
22839
+ "Expected all, none, or a positive safe integer string"
22840
+ ).default("all"),
22837
22841
  model: external_exports.string().min(1).optional(),
22838
22842
  thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional(),
22839
22843
  title: external_exports.string().min(1).optional(),
@@ -27269,7 +27273,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
27269
27273
  });
27270
27274
 
27271
27275
  // ../shared/src/cli-version.ts
27272
- var CLI_VERSION = "0.2.661";
27276
+ var CLI_VERSION = "0.2.663";
27273
27277
 
27274
27278
  // ../shared/src/version.ts
27275
27279
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.661",
3
+ "version": "0.2.663",
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": {