Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: correct installing openclaw via npm

Vanalitedd7876f435a1
diff --git a/src-tauri/src/core/openclaw/constants.rs b/src-tauri/src/core/openclaw/constants.rs
index 27b68977e..d393309c2 100644
--- a/src-tauri/src/core/openclaw/constants.rs
+++ b/src-tauri/src/core/openclaw/constants.rs
@@ -1,5 +1,5 @@
/// OpenClaw package name on npm
-pub const OPENCLAW_PACKAGE_NAME: &str = "@openclaw/openclaw";
+pub const OPENCLAW_PACKAGE_NAME: &str = "openclaw";
/// Default OpenClaw gateway port
pub const DEFAULT_OPENCLAW_PORT: u16 = 18789;
diff --git a/web-app/src/containers/dialogs/WhatsAppWizardDialog.tsx b/web-app/src/containers/dialogs/WhatsAppWizardDialog.tsx
index c2f2117ae..d0edf1edb 100644
--- a/web-app/src/containers/dialogs/WhatsAppWizardDialog.tsx
+++ b/web-app/src/containers/dialogs/WhatsAppWizardDialog.tsx
@@ -177,12 +177,15 @@ export function WhatsAppWizardDialog({
// If there's an error, check if it's a fatal error or transient
// Transient errors (like 515 stream errors) should not stop polling
// as the connection often succeeds on retry
+ // "not linked" and "not configured" are not errors - they just mean waiting for QR scan
if (status.error && !status.in_progress) {
// Only stop polling if the error is final (not in progress anymore)
// Transient errors during connection attempts should be ignored
const isFatalError = !status.error.includes('515') &&
!status.error.includes('restart required') &&
- !status.error.includes('Stream Errored');
+ !status.error.includes('Stream Errored') &&
+ !status.error.includes('not linked') &&
+ !status.error.includes('not configured');
if (isFatalError) {
clearInterval(interval)