@appchy/jarvis 0.1.10 → 0.1.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.
- package/dist/bin.js +2 -2
- package/dist/bin.js.map +1 -1
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -4909,13 +4909,13 @@ async function browserAuth(appUrl) {
|
|
|
4909
4909
|
return false;
|
|
4910
4910
|
}
|
|
4911
4911
|
}
|
|
4912
|
-
var
|
|
4912
|
+
var APP_URL = process.env.APP_URL ?? "https://jarvis.appchy.com" ?? "https://jarvis.appchy.com";
|
|
4913
4913
|
async function ensureSetup() {
|
|
4914
4914
|
const config = loadConfig();
|
|
4915
4915
|
if (config?.token || config?.anthropicApiKey || config?.useSubscription) {
|
|
4916
4916
|
return true;
|
|
4917
4917
|
}
|
|
4918
|
-
return browserAuth(
|
|
4918
|
+
return browserAuth(APP_URL);
|
|
4919
4919
|
}
|
|
4920
4920
|
function createCli() {
|
|
4921
4921
|
const program = new Command().name("jarvis").description("Jarvis local agent \u2014 runs Claude Code on your machine").version(PKG_VERSION);
|