agenticmail 0.3.19 → 0.3.20
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/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4444,7 +4444,10 @@ async function registerWithOpenClaw(config) {
|
|
|
4444
4444
|
}
|
|
4445
4445
|
} catch {
|
|
4446
4446
|
}
|
|
4447
|
-
if (!agentApiKey)
|
|
4447
|
+
if (!agentApiKey) {
|
|
4448
|
+
info2("No agent found \u2014 OpenClaw config will be linked when you run setup again after connecting your email.");
|
|
4449
|
+
return;
|
|
4450
|
+
}
|
|
4448
4451
|
const apiUrl = `http://${config.api.host}:${config.api.port}`;
|
|
4449
4452
|
const updated = mergePluginConfig(existing, apiUrl, config.masterKey, agentApiKey, pluginDir);
|
|
4450
4453
|
writeFileSync2(openclawConfigPath, JSON.stringify(updated, null, 2) + "\n");
|