@boxes-dev/dvb 1.0.76 → 1.0.77

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/dvb.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf506a54-870d-5340-9c5b-c0409b05301f")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="080b5259-7ff1-5cae-8b1d-315abb34a68e")}catch(e){}}();
4
4
 
5
5
  var __create = Object.create;
6
6
  var __defProp = Object.defineProperty;
@@ -88688,8 +88688,8 @@ var init_otel = __esm({
88688
88688
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
88689
88689
  };
88690
88690
  readBuildMetadata = () => {
88691
- const rawPackageVersion = "1.0.76";
88692
- const rawGitSha = "0a22bc46e1e11244e957f22daed239d41bbcad79";
88691
+ const rawPackageVersion = "1.0.77";
88692
+ const rawGitSha = "17fefd5b7fdac0e2ca0097ce453c614262d9e6d3";
88693
88693
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
88694
88694
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
88695
88695
  return { packageVersion, gitSha };
@@ -120679,9 +120679,9 @@ var init_sentry = __esm({
120679
120679
  sentryEnabled = false;
120680
120680
  uncaughtExceptionMonitorInstalled = false;
120681
120681
  readBuildMetadata2 = () => {
120682
- const rawPackageVersion = "1.0.76";
120683
- const rawGitSha = "0a22bc46e1e11244e957f22daed239d41bbcad79";
120684
- const rawSentryRelease = "boxes-dev-dvb@1.0.76+0a22bc46e1e11244e957f22daed239d41bbcad79";
120682
+ const rawPackageVersion = "1.0.77";
120683
+ const rawGitSha = "17fefd5b7fdac0e2ca0097ce453c614262d9e6d3";
120684
+ const rawSentryRelease = "boxes-dev-dvb@1.0.77+17fefd5b7fdac0e2ca0097ce453c614262d9e6d3";
120685
120685
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
120686
120686
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
120687
120687
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -201660,6 +201660,9 @@ var init_connect2 = __esm({
201660
201660
  return;
201661
201661
  }
201662
201662
  if (payload.type === "tty_replay_done") {
201663
+ if (options.tty && ttyOutputFilter) {
201664
+ writeTtyOutput(applyDisconnectFilter(ttyOutputFilter.flush()));
201665
+ }
201663
201666
  options.onReplayDone?.();
201664
201667
  return;
201665
201668
  }
@@ -202533,6 +202536,18 @@ var init_connect2 = __esm({
202533
202536
  `${envCommandPrefix}exec ${shellQuote2(connectShell)}`
202534
202537
  ];
202535
202538
  })();
202539
+ if (parsed.command) {
202540
+ stage("Running command");
202541
+ const result = await client2.exec(spriteAlias, execCommand2);
202542
+ if (result.stdout.length > 0) {
202543
+ process.stdout.write(result.stdout);
202544
+ }
202545
+ if (result.stderr.length > 0) {
202546
+ process.stderr.write(result.stderr);
202547
+ }
202548
+ process.exitCode = result.exitCode;
202549
+ return;
202550
+ }
202536
202551
  const ttySize = isTty ? resolveTtySize() : null;
202537
202552
  try {
202538
202553
  if (isDetached) {
@@ -202554,7 +202569,6 @@ var init_connect2 = __esm({
202554
202569
  const ttyOutputFilter = createModalTtyOutputFilter();
202555
202570
  return {
202556
202571
  ttyOutputFilter,
202557
- onReplayDone: () => ttyOutputFilter.reset?.(),
202558
202572
  stripDisconnectArtifacts: true
202559
202573
  };
202560
202574
  })() : {},
@@ -202735,7 +202749,6 @@ ${message}\r
202735
202749
  const ttyOutputFilter = createModalTtyOutputFilter();
202736
202750
  return {
202737
202751
  ttyOutputFilter,
202738
- onReplayDone: () => ttyOutputFilter.reset?.(),
202739
202752
  stripDisconnectArtifacts: true
202740
202753
  };
202741
202754
  })() : {},
@@ -220144,4 +220157,4 @@ smol-toml/dist/index.js:
220144
220157
  */
220145
220158
  //# sourceMappingURL=dvb.cjs.map
220146
220159
 
220147
- //# debugId=bf506a54-870d-5340-9c5b-c0409b05301f
220160
+ //# debugId=080b5259-7ff1-5cae-8b1d-315abb34a68e