colana 1.0.0-beta.74 → 1.0.0-beta.75
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/package.json +1 -1
- package/public/app.js +8 -0
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -826,6 +826,14 @@ let _personalAgentAutoStartTimer = null;
|
|
|
826
826
|
async function launchPersonalAgent() {
|
|
827
827
|
// Guard: don't launch if a personal agent session is already running
|
|
828
828
|
if (state.personalAgent.sessionId) return;
|
|
829
|
+
// Guard: no API key configured — open the panel in setup mode so the user
|
|
830
|
+
// can enter a key inline, instead of spawning and hitting a preflight error.
|
|
831
|
+
// Subscription auth (Claude login, Gemini OAuth) doesn't carry over to the
|
|
832
|
+
// personal agent — it needs an actual API key.
|
|
833
|
+
if (state.personalAgent.installed && !state.personalAgent.chatEnabled) {
|
|
834
|
+
openPersonalPanel();
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
829
837
|
// Guard: don't launch if another launch call is already in-flight
|
|
830
838
|
if (_personalAgentLaunching) return;
|
|
831
839
|
_personalAgentLaunching = true;
|