ragent-cli 1.2.0 → 1.2.1

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.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports2, module2) {
32
32
  module2.exports = {
33
33
  name: "ragent-cli",
34
- version: "1.2.0",
34
+ version: "1.2.1",
35
35
  description: "CLI agent for rAgent Live \u2014 browser-first terminal control plane for AI coding agents",
36
36
  main: "dist/index.js",
37
37
  bin: {
@@ -1165,10 +1165,10 @@ var SessionStreamer = class {
1165
1165
  proc.onData((data) => {
1166
1166
  this.sendFn(sessionId, data);
1167
1167
  });
1168
- proc.onExit(() => {
1168
+ proc.onExit(({ exitCode, signal }) => {
1169
1169
  this.active.delete(sessionId);
1170
1170
  this.pendingStops.delete(sessionId);
1171
- console.log(`[rAgent] Session stream ended: ${sessionId}`);
1171
+ console.log(`[rAgent] Session stream ended: ${sessionId} (exit=${exitCode}, signal=${signal})`);
1172
1172
  this.onStreamStopped?.(sessionId);
1173
1173
  });
1174
1174
  console.log(`[rAgent] Started streaming: ${sessionId} (tmux session: ${tmuxSession})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ragent-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI agent for rAgent Live — browser-first terminal control plane for AI coding agents",
5
5
  "main": "dist/index.js",
6
6
  "bin": {