diff --git a/Cargo.lock b/Cargo.lock index 77cf3fc..f3fb95b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1153,7 +1153,7 @@ dependencies = [ [[package]] name = "shell-use" -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" dependencies = [ "alacritty_terminal", "anyhow", @@ -1171,7 +1171,7 @@ dependencies = [ [[package]] name = "shell-use-cli" -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" dependencies = [ "anyhow", "clap", @@ -1187,7 +1187,7 @@ dependencies = [ [[package]] name = "shell-use-node" -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" dependencies = [ "napi", "napi-build", @@ -1197,7 +1197,7 @@ dependencies = [ [[package]] name = "shell-use-python" -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" dependencies = [ "anyhow", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index 89f1c8e..8085310 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ default-members = [ resolver = "2" [workspace.package] -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" edition = "2021" rust-version = "1.88" license = "MIT" diff --git a/bindings/js/native/index.js b/bindings/js/native/index.js index 1e1f68a..3b8798f 100644 --- a/bindings/js/native/index.js +++ b/bindings/js/native/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-android-arm64') const bindingPackageVersion = require('@microsoft/shell-use-android-arm64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-android-arm-eabi') const bindingPackageVersion = require('@microsoft/shell-use-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -118,8 +118,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-win32-x64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -134,8 +134,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-win32-x64-msvc') const bindingPackageVersion = require('@microsoft/shell-use-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -151,8 +151,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-win32-ia32-msvc') const bindingPackageVersion = require('@microsoft/shell-use-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -167,8 +167,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-win32-arm64-msvc') const bindingPackageVersion = require('@microsoft/shell-use-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -186,8 +186,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-darwin-universal') const bindingPackageVersion = require('@microsoft/shell-use-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -202,8 +202,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-darwin-x64') const bindingPackageVersion = require('@microsoft/shell-use-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -218,8 +218,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-darwin-arm64') const bindingPackageVersion = require('@microsoft/shell-use-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -238,8 +238,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-freebsd-x64') const bindingPackageVersion = require('@microsoft/shell-use-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -254,8 +254,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-freebsd-arm64') const bindingPackageVersion = require('@microsoft/shell-use-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -275,8 +275,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-x64-musl') const bindingPackageVersion = require('@microsoft/shell-use-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-x64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -309,8 +309,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-arm64-musl') const bindingPackageVersion = require('@microsoft/shell-use-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-arm64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -343,8 +343,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-arm-musleabihf') const bindingPackageVersion = require('@microsoft/shell-use-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-arm-gnueabihf') const bindingPackageVersion = require('@microsoft/shell-use-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -377,8 +377,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-loong64-musl') const bindingPackageVersion = require('@microsoft/shell-use-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-loong64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -411,8 +411,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-riscv64-musl') const bindingPackageVersion = require('@microsoft/shell-use-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -427,8 +427,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-riscv64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-ppc64-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-linux-s390x-gnu') const bindingPackageVersion = require('@microsoft/shell-use-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -480,8 +480,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-openharmony-arm64') const bindingPackageVersion = require('@microsoft/shell-use-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -496,8 +496,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-openharmony-x64') const bindingPackageVersion = require('@microsoft/shell-use-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -512,8 +512,8 @@ function requireNative() { try { const binding = require('@microsoft/shell-use-openharmony-arm') const bindingPackageVersion = require('@microsoft/shell-use-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.0.1-beta.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.0.1-beta.6' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.0.1-beta.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/bindings/js/package-lock.json b/bindings/js/package-lock.json index d916085..ab73de6 100644 --- a/bindings/js/package-lock.json +++ b/bindings/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microsoft/shell-use", - "version": "0.0.1-beta.5", + "version": "0.0.1-beta.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@microsoft/shell-use", - "version": "0.0.1-beta.5", + "version": "0.0.1-beta.6", "license": "MIT", "devDependencies": { "@napi-rs/cli": "^3.7.4", diff --git a/bindings/js/package.json b/bindings/js/package.json index b15ee83..1bc16ec 100644 --- a/bindings/js/package.json +++ b/bindings/js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/shell-use", - "version": "0.0.1-beta.5", + "version": "0.0.1-beta.6", "description": "Node bindings for the shell_use terminal engine", "type": "module", "exports": { diff --git a/bindings/js/src/version.ts b/bindings/js/src/version.ts index 0ce3517..4143564 100644 --- a/bindings/js/src/version.ts +++ b/bindings/js/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.0.1-beta.5"; +export const VERSION = "0.0.1-beta.6"; diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index ec6d7c9..658a41f 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "shell-use" -version = "0.0.1-beta.5" +version = "0.0.1-beta.6" description = "Python bindings for shell-use terminal automation" readme = "README.md" requires-python = ">=3.8" diff --git a/bindings/python/src/shell_use/_config.py b/bindings/python/src/shell_use/_config.py index c7bea8e..6f3fd5f 100644 --- a/bindings/python/src/shell_use/_config.py +++ b/bindings/python/src/shell_use/_config.py @@ -6,7 +6,7 @@ import sys from typing import Dict, Mapping, Optional -VERSION = "0.0.1-beta.5" +VERSION = "0.0.1-beta.6" DEFAULT_COLS = 80 DEFAULT_ROWS = 30