@averyyy/pi-coding-agent 1.4.0-piclient.10 → 1.4.0-piclient.12

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.
@@ -3681,7 +3681,14 @@ export class InteractiveMode {
3681
3681
  if (options?.exitCode !== PI_CLIENT_RUNTIME_RELOAD_EXIT_CODE) {
3682
3682
  const resumeCommand = formatResumeCommand(this.sessionManager);
3683
3683
  if (resumeCommand) {
3684
- process.stdout.write(`${chalk.dim("To resume this session:")} ${resumeCommand}\n`);
3684
+ await new Promise((resolve, reject) => {
3685
+ process.stdout.write(`${chalk.dim("To resume this session:")} ${resumeCommand}\n`, (error) => {
3686
+ if (error)
3687
+ reject(error);
3688
+ else
3689
+ resolve();
3690
+ });
3691
+ });
3685
3692
  }
3686
3693
  }
3687
3694
  process.exit(options?.exitCode ?? 0);