swarmlancer-cli 0.7.1 → 0.7.2
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/app.js +3 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getConfig, getAgents, getAgent, saveAgent, deleteAgent, createAgent, mi
|
|
|
3
3
|
import { login } from "./login.js";
|
|
4
4
|
import { setActiveModel, setAgentInstructions } from "./inference.js";
|
|
5
5
|
import { resolveModel, getAvailableModels, getAuthStorage, } from "./providers.js";
|
|
6
|
-
import { LoginDialogComponent, OAuthSelectorComponent } from "@mariozechner/pi-coding-agent";
|
|
6
|
+
import { LoginDialogComponent, OAuthSelectorComponent, initTheme } from "@mariozechner/pi-coding-agent";
|
|
7
7
|
import { startAgent, stopAgent, sendToServer } from "./agent.js";
|
|
8
8
|
import { colors } from "./theme.js";
|
|
9
9
|
import { DashboardScreen } from "./screens/dashboard.js";
|
|
@@ -49,6 +49,8 @@ function confirm(question) {
|
|
|
49
49
|
// ── Silent setup ──────────────────────────────────────────
|
|
50
50
|
async function silentSetup() {
|
|
51
51
|
migrateLegacyAgent();
|
|
52
|
+
// Initialize pi's theme system (required by OAuthSelectorComponent / LoginDialogComponent)
|
|
53
|
+
initTheme();
|
|
52
54
|
const config = getConfig();
|
|
53
55
|
if (!config.token) {
|
|
54
56
|
try {
|