replicas-cli 0.2.317 → 0.2.319

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 +11 -10
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9507,7 +9507,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
9507
9507
  var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
9508
9508
 
9509
9509
  // ../shared/src/cli-version.ts
9510
- var CLI_VERSION = "0.2.317";
9510
+ var CLI_VERSION = "0.2.319";
9511
9511
 
9512
9512
  // ../shared/src/engine/environment.ts
9513
9513
  var DESKTOP_NOVNC_PORT = 6080;
@@ -10529,6 +10529,16 @@ function parseClaudeEvents(events, parentToolUseId) {
10529
10529
  if (event.type === "claude-assistant") {
10530
10530
  const messageId = event.payload.message?.id;
10531
10531
  const contentBlocks = normalizeContentBlocks(event.payload.message?.content);
10532
+ const thinkingText = contentBlocks.filter((block) => block.type === "thinking" && block.thinking).map((block) => block.thinking).join("\n\n");
10533
+ if (thinkingText) {
10534
+ upsertDisplayMessage(messages, {
10535
+ id: `reasoning-${messageId || event.timestamp}-thinking`,
10536
+ type: "reasoning",
10537
+ content: thinkingText,
10538
+ status: "completed",
10539
+ timestamp: event.timestamp
10540
+ });
10541
+ }
10532
10542
  contentBlocks.forEach((block, blockIndex) => {
10533
10543
  if (block.type === "text" && block.text) {
10534
10544
  upsertDisplayMessage(messages, {
@@ -10538,15 +10548,6 @@ function parseClaudeEvents(events, parentToolUseId) {
10538
10548
  timestamp: event.timestamp
10539
10549
  });
10540
10550
  }
10541
- if (block.type === "thinking" && block.thinking) {
10542
- upsertDisplayMessage(messages, {
10543
- id: `reasoning-${messageId || event.timestamp}-thinking`,
10544
- type: "reasoning",
10545
- content: block.thinking,
10546
- status: "completed",
10547
- timestamp: event.timestamp
10548
- });
10549
- }
10550
10551
  if (block.type === "tool_use" && block.id) {
10551
10552
  const toolName = block.name || "unknown";
10552
10553
  const toolInput = block.input || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.317",
3
+ "version": "0.2.319",
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": {