@agentuity/cli 1.0.44 → 1.0.45

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.
@@ -24,6 +24,10 @@ const SandboxExecResponseSchema = z.object({
24
24
  .optional()
25
25
  .describe('Standard error output (only when separate streams are available)'),
26
26
  output: z.string().optional().describe('Combined stdout/stderr output'),
27
+ autoResumed: z
28
+ .boolean()
29
+ .optional()
30
+ .describe('True if the sandbox was automatically resumed from a suspended state'),
27
31
  });
28
32
 
29
33
  export const execSubcommand = createCommand({
@@ -87,6 +91,10 @@ export const execSubcommand = createCommand({
87
91
  orgId,
88
92
  });
89
93
 
94
+ if (execution.autoResumed && !options.json) {
95
+ tui.warning('Sandbox was automatically resumed from suspended state');
96
+ }
97
+
90
98
  const stdoutStreamUrl = execution.stdoutStreamUrl;
91
99
  const stderrStreamUrl = execution.stderrStreamUrl;
92
100
  const streamAbortController = new AbortController();
@@ -213,6 +221,7 @@ export const execSubcommand = createCommand({
213
221
  stdout: options.json ? stdoutOutput : undefined,
214
222
  stderr: options.json ? stderrOutput : undefined,
215
223
  output: options.json ? output : undefined,
224
+ autoResumed: execution.autoResumed || undefined,
216
225
  };
217
226
  } finally {
218
227
  process.off('SIGINT', handleSignal);
@@ -20,6 +20,7 @@ import { pauseSubcommand } from './pause';
20
20
  import { resumeSubcommand } from './resume';
21
21
  import { checkpointCommand } from './checkpoint';
22
22
  import { statsSubcommand } from './stats';
23
+ import { eventsSubcommand } from './events';
23
24
  import { getCommand } from '../../../command-prefix';
24
25
 
25
26
  export const command = createCommand({
@@ -63,6 +64,7 @@ export const command = createCommand({
63
64
  resumeSubcommand,
64
65
  checkpointCommand,
65
66
  statsSubcommand,
67
+ eventsSubcommand,
66
68
  ],
67
69
  requires: { auth: true, org: true },
68
70
  });