@h-rig/cli 0.0.6-alpha.33 → 0.0.6-alpha.34

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.
package/dist/bin/rig.js CHANGED
@@ -7120,7 +7120,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
7120
7120
  }
7121
7121
  if (entry.type === "timeline_warning") {
7122
7122
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
7123
+ continue;
7124
+ }
7125
+ if (entry.type === "action") {
7126
+ const text2 = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
7127
+ if (text2)
7128
+ writeLine(`[Rig action] ${text2}`);
7129
+ continue;
7130
+ }
7131
+ if (entry.type === "user_message") {
7132
+ const text2 = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
7133
+ if (text2)
7134
+ writeLine(`[Operator] ${text2}`);
7135
+ continue;
7123
7136
  }
7137
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
7138
+ if (fallback)
7139
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
7124
7140
  }
7125
7141
  },
7126
7142
  renderLogs(entries) {
@@ -124,7 +124,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
124
124
  }
125
125
  if (entry.type === "timeline_warning") {
126
126
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
127
+ continue;
128
+ }
129
+ if (entry.type === "action") {
130
+ const text = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
131
+ if (text)
132
+ writeLine(`[Rig action] ${text}`);
133
+ continue;
134
+ }
135
+ if (entry.type === "user_message") {
136
+ const text = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
137
+ if (text)
138
+ writeLine(`[Operator] ${text}`);
139
+ continue;
127
140
  }
141
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
142
+ if (fallback)
143
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
128
144
  }
129
145
  },
130
146
  renderLogs(entries) {
@@ -410,7 +410,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
410
410
  }
411
411
  if (entry.type === "timeline_warning") {
412
412
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
413
+ continue;
414
+ }
415
+ if (entry.type === "action") {
416
+ const text = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
417
+ if (text)
418
+ writeLine(`[Rig action] ${text}`);
419
+ continue;
420
+ }
421
+ if (entry.type === "user_message") {
422
+ const text = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
423
+ if (text)
424
+ writeLine(`[Operator] ${text}`);
425
+ continue;
413
426
  }
427
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
428
+ if (fallback)
429
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
414
430
  }
415
431
  },
416
432
  renderLogs(entries) {
@@ -488,7 +488,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
488
488
  }
489
489
  if (entry.type === "timeline_warning") {
490
490
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
491
+ continue;
492
+ }
493
+ if (entry.type === "action") {
494
+ const text = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
495
+ if (text)
496
+ writeLine(`[Rig action] ${text}`);
497
+ continue;
498
+ }
499
+ if (entry.type === "user_message") {
500
+ const text = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
501
+ if (text)
502
+ writeLine(`[Operator] ${text}`);
503
+ continue;
491
504
  }
505
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
506
+ if (fallback)
507
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
492
508
  }
493
509
  },
494
510
  renderLogs(entries) {
@@ -825,7 +825,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
825
825
  }
826
826
  if (entry.type === "timeline_warning") {
827
827
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
828
+ continue;
829
+ }
830
+ if (entry.type === "action") {
831
+ const text = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
832
+ if (text)
833
+ writeLine(`[Rig action] ${text}`);
834
+ continue;
835
+ }
836
+ if (entry.type === "user_message") {
837
+ const text = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
838
+ if (text)
839
+ writeLine(`[Operator] ${text}`);
840
+ continue;
828
841
  }
842
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
843
+ if (fallback)
844
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
829
845
  }
830
846
  },
831
847
  renderLogs(entries) {
@@ -6926,7 +6926,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
6926
6926
  }
6927
6927
  if (entry.type === "timeline_warning") {
6928
6928
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
6929
+ continue;
6930
+ }
6931
+ if (entry.type === "action") {
6932
+ const text2 = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
6933
+ if (text2)
6934
+ writeLine(`[Rig action] ${text2}`);
6935
+ continue;
6936
+ }
6937
+ if (entry.type === "user_message") {
6938
+ const text2 = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
6939
+ if (text2)
6940
+ writeLine(`[Operator] ${text2}`);
6941
+ continue;
6929
6942
  }
6943
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
6944
+ if (fallback)
6945
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
6930
6946
  }
6931
6947
  },
6932
6948
  renderLogs(entries) {
package/dist/src/index.js CHANGED
@@ -7116,7 +7116,23 @@ function createPiRunStreamRenderer(output = process.stdout) {
7116
7116
  }
7117
7117
  if (entry.type === "timeline_warning") {
7118
7118
  writeLine(`[Rig timeline] ${String(entry.detail ?? entry.message ?? "timeline unavailable")}`);
7119
+ continue;
7120
+ }
7121
+ if (entry.type === "action") {
7122
+ const text2 = String(entry.detail ?? entry.message ?? entry.title ?? "").trim();
7123
+ if (text2)
7124
+ writeLine(`[Rig action] ${text2}`);
7125
+ continue;
7126
+ }
7127
+ if (entry.type === "user_message") {
7128
+ const text2 = String(entry.text ?? entry.message ?? entry.detail ?? "").trim();
7129
+ if (text2)
7130
+ writeLine(`[Operator] ${text2}`);
7131
+ continue;
7119
7132
  }
7133
+ const fallback = String(entry.detail ?? entry.message ?? entry.text ?? entry.title ?? "").trim();
7134
+ if (fallback)
7135
+ writeLine(`[${String(entry.type ?? "timeline")}] ${fallback}`);
7120
7136
  }
7121
7137
  },
7122
7138
  renderLogs(entries) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/cli",
3
- "version": "0.0.6-alpha.33",
3
+ "version": "0.0.6-alpha.34",
4
4
  "type": "module",
5
5
  "description": "Rig package",
6
6
  "license": "UNLICENSED",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@clack/prompts": "^1.2.0",
26
- "@earendil-works/pi-coding-agent": "npm:@h-rig/pi-coding-agent@0.0.6-alpha.33",
27
- "@rig/core": "npm:@h-rig/core@0.0.6-alpha.33",
28
- "@rig/runtime": "npm:@h-rig/runtime@0.0.6-alpha.33",
29
- "@rig/client": "npm:@h-rig/client@0.0.6-alpha.33",
30
- "@rig/server": "npm:@h-rig/server@0.0.6-alpha.33",
26
+ "@earendil-works/pi-coding-agent": "npm:@h-rig/pi-coding-agent@0.0.6-alpha.34",
27
+ "@rig/core": "npm:@h-rig/core@0.0.6-alpha.34",
28
+ "@rig/runtime": "npm:@h-rig/runtime@0.0.6-alpha.34",
29
+ "@rig/client": "npm:@h-rig/client@0.0.6-alpha.34",
30
+ "@rig/server": "npm:@h-rig/server@0.0.6-alpha.34",
31
31
  "picocolors": "^1.1.1"
32
32
  }
33
33
  }