replicas-cli 0.2.324 → 0.2.325

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.mjs +19 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9536,7 +9536,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
9536
9536
  var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
9537
9537
 
9538
9538
  // ../shared/src/cli-version.ts
9539
- var CLI_VERSION = "0.2.324";
9539
+ var CLI_VERSION = "0.2.325";
9540
9540
 
9541
9541
  // ../shared/src/engine/environment.ts
9542
9542
  var DESKTOP_NOVNC_PORT = 6080;
@@ -10978,6 +10978,21 @@ function messageForItem(item) {
10978
10978
  timestamp: item.timestamp
10979
10979
  };
10980
10980
  }
10981
+ if (item.type === "subagent") {
10982
+ return {
10983
+ id: `subagent-${item.id}`,
10984
+ type: "subagent",
10985
+ toolUseId: item.id,
10986
+ description: item.description,
10987
+ prompt: item.prompt,
10988
+ subagentType: item.subagentType,
10989
+ ...item.model ? { model: item.model } : {},
10990
+ status: normalizeCodexAspTranscriptStatus(item.status),
10991
+ ...item.output ? { output: item.output } : {},
10992
+ nestedEvents: [],
10993
+ timestamp: item.timestamp
10994
+ };
10995
+ }
10981
10996
  if (item.type === "webSearch") {
10982
10997
  return {
10983
10998
  id: `web-search-${item.id}`,
@@ -11032,6 +11047,9 @@ function duplicateMessage(a, b) {
11032
11047
  if (a.type === "reasoning" && b.type === "reasoning") return a.content === b.content;
11033
11048
  if (a.type === "command" && b.type === "command") return a.command === b.command;
11034
11049
  if (a.type === "web_search" && b.type === "web_search") return a.query === b.query;
11050
+ if (a.type === "subagent" && b.type === "subagent") {
11051
+ return a.description === b.description && a.prompt === b.prompt && a.subagentType === b.subagentType && a.model === b.model;
11052
+ }
11035
11053
  if (a.type === "todo_list" && b.type === "todo_list") {
11036
11054
  return stableString(a.items) === stableString(b.items);
11037
11055
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.324",
3
+ "version": "0.2.325",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {