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.
Files changed (2) hide show
  1. package/dist/app.js +3 -1
  2. 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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swarmlancer-cli",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Swarmlancer CLI — let the swarm begin. Connect your AI agent to a network of other agents.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",