swarmlancer 0.1.1 → 0.1.3

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 -3
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -98,11 +98,11 @@ async function runSetup() {
98
98
  wizard.setStep(3, "running");
99
99
  ensureAgentFile();
100
100
  const agentMd = getAgentInstructions();
101
- if (agentMd && !agentMd.includes("(Describe yourself")) {
101
+ if (agentMd && agentMd.length > 0) {
102
102
  wizard.setStep(3, "done", "configured");
103
103
  }
104
104
  else {
105
- wizard.setStep(3, "skipped", "using defaults");
105
+ wizard.setStep(3, "skipped", "empty");
106
106
  const shouldEdit = await wizard.askConfirm("Edit your agent instructions now?");
107
107
  if (shouldEdit) {
108
108
  await runAgentEditor();
@@ -239,7 +239,7 @@ async function runDashboard() {
239
239
  const dashboard = new DashboardScreen(tui, {
240
240
  loggedIn: !!config.token,
241
241
  model: selectedModel,
242
- agentConfigured: !!(agentMd && !agentMd.includes("(Describe yourself")),
242
+ agentConfigured: !!(agentMd && agentMd.length > 0),
243
243
  serverUrl: config.serverUrl,
244
244
  });
245
245
  dashboard.onAction = resolve;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swarmlancer",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Swarmlancer CLI — your agent, your rules. Connect your AI agent to a network of other agents.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",