@sulala/agent-os 0.1.7 → 0.1.10

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 CHANGED
@@ -15987,6 +15987,10 @@ async function startServer() {
15987
15987
  startScheduler();
15988
15988
  await loadPlugins();
15989
15989
  await seedAgentsIfEmpty();
15990
+ const dashboardMissing = !existsSync3(DASHBOARD_DIST) || !existsSync3(join13(DASHBOARD_DIST, "index.html"));
15991
+ if (dashboardMissing) {
15992
+ console.warn(`[sulala] Dashboard not found at ${DASHBOARD_DIST}. From package root run: cd dashboard && npm run build. If using a global install, reinstall: bun install -g @sulala/agent-os@latest`);
15993
+ }
15990
15994
  const server = Bun.serve({
15991
15995
  port: PORT,
15992
15996
  hostname: HOST,
@@ -16006,7 +16010,9 @@ async function startServer() {
16006
16010
  if (url.pathname === "/" || url.pathname === "") {
16007
16011
  return Response.json({
16008
16012
  error: "Dashboard not built",
16009
- hint: "From the sulala package root run: cd dashboard && npm run build"
16013
+ path: DASHBOARD_DIST,
16014
+ hint: "From the sulala package root run: cd dashboard && npm run build",
16015
+ hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala/agent-os@latest"
16010
16016
  }, { status: 404, headers: CORS_HEADERS });
16011
16017
  }
16012
16018
  }
@@ -16244,8 +16250,7 @@ async function cmdOnboard() {
16244
16250
  setAgentStore(memoryStore2);
16245
16251
  await seedAgentsIfEmpty();
16246
16252
  const { installed: agentsInstalled } = await installSystemAgents();
16247
- const { installed: skillsInstalled } = await installSystemSkills();
16248
- console.log("Onboard complete. Agents:", agentsInstalled, "Skills:", skillsInstalled);
16253
+ console.log("Onboard complete. Agents:", agentsInstalled, "\u2014 Install default skills from the dashboard.");
16249
16254
  const started = await startServerDaemonIfNeeded();
16250
16255
  if (started) {
16251
16256
  console.log("Server starting in background. Use 'sulala stop' to stop.");
package/dist/index.js CHANGED
@@ -15906,6 +15906,10 @@ async function startServer() {
15906
15906
  startScheduler();
15907
15907
  await loadPlugins();
15908
15908
  await seedAgentsIfEmpty();
15909
+ const dashboardMissing = !existsSync3(DASHBOARD_DIST) || !existsSync3(join13(DASHBOARD_DIST, "index.html"));
15910
+ if (dashboardMissing) {
15911
+ console.warn(`[sulala] Dashboard not found at ${DASHBOARD_DIST}. From package root run: cd dashboard && npm run build. If using a global install, reinstall: bun install -g @sulala/agent-os@latest`);
15912
+ }
15909
15913
  const server = Bun.serve({
15910
15914
  port: PORT,
15911
15915
  hostname: HOST,
@@ -15925,7 +15929,9 @@ async function startServer() {
15925
15929
  if (url.pathname === "/" || url.pathname === "") {
15926
15930
  return Response.json({
15927
15931
  error: "Dashboard not built",
15928
- hint: "From the sulala package root run: cd dashboard && npm run build"
15932
+ path: DASHBOARD_DIST,
15933
+ hint: "From the sulala package root run: cd dashboard && npm run build",
15934
+ hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala/agent-os@latest"
15929
15935
  }, { status: 404, headers: CORS_HEADERS });
15930
15936
  }
15931
15937
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sulala/agent-os",
3
- "version": "0.1.7",
3
+ "version": "0.1.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -19,7 +19,8 @@
19
19
  "cli": "bun run src/cli.ts",
20
20
  "sulala": "bun run src/cli.ts",
21
21
  "setup": "mkdir -p ~/.agent-os/agents && cp examples/echo-agent.json ~/.agent-os/agents/",
22
- "prepublishOnly": "bun run build && (cd dashboard && npm install && VITE_AGENT_OS_API= npm run build)"
22
+ "prepublishOnly": "bun run build && (cd dashboard && npm install && VITE_AGENT_OS_API= npm run build)",
23
+ "prepack": "node -e \"const fs=require('fs'); const p='.npmignore'; const c='# Prevent .gitignore from excluding dist/ and dashboard/dist/\\n.env\\n.env.*\\n!.env.example\\nnote.txt\\nroadmap.md\\ndoc/\\ndocs/\\nexamples/\\nexample/\\ndist-check/\\nsrc/\\n*.ts\\n.vscode/\\n.idea\\n.DS_Store\\n*.log\\ndatabase/\\n'; if(!fs.existsSync(p)) fs.writeFileSync(p,c);\""
23
24
  },
24
25
  "files": [
25
26
  "dist",