@boxes-dev/dvb 1.0.88 → 1.0.89

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]="01475b24-87d7-5416-a55c-cbe75aafb19b")}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]="550f3873-763e-54d2-8082-9d77b412ba37")}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.88";
88692
- const rawGitSha = "8e45974e56bd06729f3f9c411fcdd60bfef76e97";
88691
+ const rawPackageVersion = "1.0.89";
88692
+ const rawGitSha = "8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
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.88";
120683
- const rawGitSha = "8e45974e56bd06729f3f9c411fcdd60bfef76e97";
120684
- const rawSentryRelease = "boxes-dev-dvb@1.0.88+8e45974e56bd06729f3f9c411fcdd60bfef76e97";
120682
+ const rawPackageVersion = "1.0.89";
120683
+ const rawGitSha = "8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
120684
+ const rawSentryRelease = "boxes-dev-dvb@1.0.89+8737e28cd7c80b1b0067f4ea9edf3337ece474c9";
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;
@@ -200731,7 +200731,7 @@ var init_sessionUtils = __esm({
200731
200731
  });
200732
200732
 
200733
200733
  // src/devbox/commands/connect.ts
200734
- var import_node_child_process4, import_node_crypto10, import_node_os9, import_node_path16, import_node_readline3, import_promises13, resolveInitialSessionId, shouldAttachToExistingSession, resolveSessionSpecifierFromExplicitTarget, isAttachReplacedCloseCode, shouldCancelConnectOnSigint, DEFAULT_TTY_COLS, DEFAULT_TTY_ROWS, TERMINAL_INPUT_MODE_RESET, resetTerminalInputModes, openBrowser2, warnSetupStatus, resolveTtyEnv, formatEnvExports, parseEnvSize, readStreamSize, resolveTtySize, resolveSessionEnv, parseReachabilityState, runCommand, checkReachability, watchReachabilityWithScutil, watchReachabilityWithNotifyutil, waitForNetworkOnline, parseConnectArgs, parseConnectTarget, isSessionNotFoundError, SESSION_NAME_TOKEN_KEY, encodeSessionNameToken, decodeSessionNameToken, extractSessionNameFromCommand, SESSION_LOG_FLUSH_BYTES, SESSION_LOG_EOF_MARKER, createRemoteSessionLogSink, CONNECT_SHELL_CANDIDATES, resolveConnectShell, confirmNewSession, promptRenameSession, HEARTBEAT_INTERVAL_MS, INPUT_PROBE_TIMEOUT_MS, STREAM_STALL_PROBE_MISS_THRESHOLD, CONNECT_OPEN_TIMEOUT_MS, WS_OPEN_STATE, createScrollbackEraseFilter, createInitialAttachClearFilter, createModalTtyOutputFilter, MODAL_DISCONNECT_FILTER_CHUNKS, stripModalDisconnectArtifacts, streamExecSession, runConnect;
200734
+ var import_node_child_process4, import_node_crypto10, import_node_os9, import_node_path16, import_node_readline3, import_promises13, resolveInitialSessionId, shouldAttachToExistingSession, resolveSessionSpecifierFromExplicitTarget, isAttachReplacedCloseCode, shouldCancelConnectOnSigint, DEFAULT_TTY_COLS, DEFAULT_TTY_ROWS, TERMINAL_INPUT_MODE_RESET, resetTerminalInputModes, openBrowser2, warnSetupStatus, resolveTtyEnv, formatEnvExports, buildModalInteractiveCommand, parseEnvSize, readStreamSize, resolveTtySize, resolveSessionEnv, parseReachabilityState, runCommand, checkReachability, watchReachabilityWithScutil, watchReachabilityWithNotifyutil, waitForNetworkOnline, parseConnectArgs, parseConnectTarget, isSessionNotFoundError, SESSION_NAME_TOKEN_KEY, encodeSessionNameToken, decodeSessionNameToken, extractSessionNameFromCommand, SESSION_LOG_FLUSH_BYTES, SESSION_LOG_EOF_MARKER, createRemoteSessionLogSink, CONNECT_SHELL_CANDIDATES, resolveConnectShell, confirmNewSession, promptRenameSession, HEARTBEAT_INTERVAL_MS, INPUT_PROBE_TIMEOUT_MS, STREAM_STALL_PROBE_MISS_THRESHOLD, CONNECT_OPEN_TIMEOUT_MS, WS_OPEN_STATE, createScrollbackEraseFilter, createInitialAttachClearFilter, createModalTtyOutputFilter, MODAL_DISCONNECT_FILTER_CHUNKS, stripModalDisconnectArtifacts, streamExecSession, runConnect;
200735
200735
  var init_connect2 = __esm({
200736
200736
  "src/devbox/commands/connect.ts"() {
200737
200737
  "use strict";
@@ -200859,6 +200859,36 @@ var init_connect2 = __esm({
200859
200859
  return env2;
200860
200860
  };
200861
200861
  formatEnvExports = (env2) => Object.entries(env2).map(([key, value]) => `export ${key}=${shellQuote2(value)}`).join("; ");
200862
+ buildModalInteractiveCommand = () => [
200863
+ // Guard against environments that still deliver SIGINT on Ctrl-C
200864
+ // even after apps disable ISIG in raw mode. Background jobs in this
200865
+ // shell have stdin redirected to /dev/null, so direct stty calls are
200866
+ // no-ops there. Target /dev/tty explicitly.
200867
+ 'tty_device="/dev/tty"',
200868
+ `orig_intr="$(stty -a <"$tty_device" 2>/dev/null | sed -n 's/.*intr = \\([^;]*\\);.*/\\1/p')"`,
200869
+ `(
200870
+ while :; do
200871
+ state="$(stty -a <"$tty_device" 2>/dev/null || true)"
200872
+ if [ -z "$state" ]; then
200873
+ sleep 0.2
200874
+ continue
200875
+ fi
200876
+ if printf '%s\\n' "$state" | grep -q -- '-isig'; then
200877
+ if ! printf '%s\\n' "$state" | grep -q 'intr = <undef>;'; then
200878
+ stty intr undef <"$tty_device" 2>/dev/null || true
200879
+ fi
200880
+ else
200881
+ if printf '%s\\n' "$state" | grep -q 'intr = <undef>;' && [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then
200882
+ stty intr "$orig_intr" <"$tty_device" 2>/dev/null || true
200883
+ fi
200884
+ fi
200885
+ sleep 0.2
200886
+ done
200887
+ ) &
200888
+ tty_intr_guard_pid=$!
200889
+ trap 'kill "$tty_intr_guard_pid" 2>/dev/null || true; if [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then stty intr "$orig_intr" <"$tty_device" 2>/dev/null || true; fi' EXIT`,
200890
+ "exec bash -il || exec sh -i"
200891
+ ].join("; ");
200862
200892
  parseEnvSize = (value) => {
200863
200893
  if (!value) return void 0;
200864
200894
  const parsed = Number(value);
@@ -202586,34 +202616,7 @@ var init_connect2 = __esm({
202586
202616
  return [connectShell, "-lc", `${envCommandPrefix}${parsed.command}`];
202587
202617
  }
202588
202618
  if (computeProvider === "modal") {
202589
- const interactiveCommand = [
202590
- // Guard against environments that still deliver SIGINT on Ctrl-C
202591
- // even after apps disable ISIG in raw mode. When ISIG is off, set
202592
- // VINTR to undef; restore VINTR once ISIG is back on.
202593
- `orig_intr="$(stty -a 2>/dev/null | sed -n 's/.*intr = \\([^;]*\\);.*/\\1/p')"`,
202594
- `(
202595
- while :; do
202596
- state="$(stty -a 2>/dev/null || true)"
202597
- if [ -z "$state" ]; then
202598
- sleep 0.2
202599
- continue
202600
- fi
202601
- if printf '%s\\n' "$state" | grep -q -- '-isig'; then
202602
- if ! printf '%s\\n' "$state" | grep -q 'intr = <undef>;'; then
202603
- stty intr undef 2>/dev/null || true
202604
- fi
202605
- else
202606
- if printf '%s\\n' "$state" | grep -q 'intr = <undef>;' && [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then
202607
- stty intr "$orig_intr" 2>/dev/null || true
202608
- fi
202609
- fi
202610
- sleep 0.2
202611
- done
202612
- ) &
202613
- tty_intr_guard_pid=$!
202614
- trap 'kill "$tty_intr_guard_pid" 2>/dev/null || true; if [ -n "$orig_intr" ] && [ "$orig_intr" != "<undef>" ]; then stty intr "$orig_intr" 2>/dev/null || true; fi' EXIT`,
202615
- "exec bash -il || exec sh -i"
202616
- ].join("; ");
202619
+ const interactiveCommand = buildModalInteractiveCommand();
202617
202620
  if (projectWorkdir) {
202618
202621
  return [
202619
202622
  "/bin/sh",
@@ -220297,4 +220300,4 @@ smol-toml/dist/index.js:
220297
220300
  */
220298
220301
  //# sourceMappingURL=dvb.cjs.map
220299
220302
 
220300
- //# debugId=01475b24-87d7-5416-a55c-cbe75aafb19b
220303
+ //# debugId=550f3873-763e-54d2-8082-9d77b412ba37