@sulala/agent-os 0.1.36 → 0.1.39
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/README.md +5 -5
- package/dist/cli.js +5 -5
- package/dist/index.js +3 -3
- package/docs/CLI.md +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@ Lightweight **Bun-based Agent Operating System** for **graph-based, collaborativ
|
|
|
6
6
|
|
|
7
7
|
| Agents | Skills | Schedules |
|
|
8
8
|
| ------ | ------ | --------- |
|
|
9
|
-
|  |  |  |
|
|
9
|
+
|  |  |  |
|
|
10
10
|
| Graphs | Graph agent | Graphs (chat) |
|
|
11
|
-
|  |  |  |
|
|
11
|
+
|  |  |  |
|
|
12
12
|
| Agent chat | Agent (social media) | Memory |
|
|
13
|
-
|  |  |  |
|
|
13
|
+
|  |  |  |
|
|
14
14
|
|
|
15
15
|
## How lightweight is Sulala?
|
|
16
16
|
|
|
@@ -38,8 +38,8 @@ It does **not** bundle heavy Python stacks (numpy, vector DBs, complex orchestra
|
|
|
38
38
|
**From npm (Bun or Node 18+):**
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
bun add -g @sulala/agent-os
|
|
42
|
-
# or: npm install -g @sulala/agent-os
|
|
41
|
+
bun add -g @sulala-ai/agent-os
|
|
42
|
+
# or: npm install -g @sulala-ai/agent-os
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
**One-line install (macOS & Linux):**
|
package/dist/cli.js
CHANGED
|
@@ -23013,7 +23013,7 @@ class McpStdioClient {
|
|
|
23013
23013
|
constructor(server) {
|
|
23014
23014
|
this.server = server;
|
|
23015
23015
|
this.client = new Client({
|
|
23016
|
-
name: "@sulala/agent-os",
|
|
23016
|
+
name: "@sulala-ai/agent-os",
|
|
23017
23017
|
version: "0.1.0"
|
|
23018
23018
|
});
|
|
23019
23019
|
}
|
|
@@ -31042,7 +31042,7 @@ async function startServer() {
|
|
|
31042
31042
|
const dashboardSecret = await getDashboardSecret();
|
|
31043
31043
|
const dashboardMissing = !existsSync4(DASHBOARD_DIST) || !existsSync4(join13(DASHBOARD_DIST, "index.html"));
|
|
31044
31044
|
if (dashboardMissing) {
|
|
31045
|
-
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`);
|
|
31045
|
+
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-ai/agent-os@latest`);
|
|
31046
31046
|
}
|
|
31047
31047
|
let server;
|
|
31048
31048
|
try {
|
|
@@ -31073,7 +31073,7 @@ async function startServer() {
|
|
|
31073
31073
|
error: "Dashboard not built",
|
|
31074
31074
|
path: DASHBOARD_DIST,
|
|
31075
31075
|
hint: "From the sulala package root run: cd dashboard && npm run build",
|
|
31076
|
-
hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala/agent-os@latest"
|
|
31076
|
+
hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala-ai/agent-os@latest"
|
|
31077
31077
|
}, { status: 404, headers: CORS_HEADERS });
|
|
31078
31078
|
}
|
|
31079
31079
|
}
|
|
@@ -31355,7 +31355,7 @@ async function cmdOnboard() {
|
|
|
31355
31355
|
openDashboard();
|
|
31356
31356
|
}
|
|
31357
31357
|
}
|
|
31358
|
-
var NPM_PACKAGE = "@sulala/agent-os";
|
|
31358
|
+
var NPM_PACKAGE = "@sulala-ai/agent-os";
|
|
31359
31359
|
async function cmdUpdate() {
|
|
31360
31360
|
console.log(`Checking npm for latest ${NPM_PACKAGE}...`);
|
|
31361
31361
|
const proc = Bun.spawn(["bun", "install", "-g", `${NPM_PACKAGE}@latest`], {
|
|
@@ -31371,7 +31371,7 @@ async function cmdUpdate() {
|
|
|
31371
31371
|
if (out.trim())
|
|
31372
31372
|
console.log(out.trim());
|
|
31373
31373
|
} else {
|
|
31374
|
-
console.warn("Could not update package from npm (run 'bun install -g @sulala/agent-os@latest' manually):", err.trim() || out.trim());
|
|
31374
|
+
console.warn("Could not update package from npm (run 'bun install -g @sulala-ai/agent-os@latest' manually):", err.trim() || out.trim());
|
|
31375
31375
|
}
|
|
31376
31376
|
const dbPath = getMemoryDbPath();
|
|
31377
31377
|
if (!existsSync5(dbPath)) {
|
package/dist/index.js
CHANGED
|
@@ -26463,7 +26463,7 @@ class McpStdioClient {
|
|
|
26463
26463
|
constructor(server) {
|
|
26464
26464
|
this.server = server;
|
|
26465
26465
|
this.client = new Client({
|
|
26466
|
-
name: "@sulala/agent-os",
|
|
26466
|
+
name: "@sulala-ai/agent-os",
|
|
26467
26467
|
version: "0.1.0"
|
|
26468
26468
|
});
|
|
26469
26469
|
}
|
|
@@ -30558,7 +30558,7 @@ async function startServer() {
|
|
|
30558
30558
|
const dashboardSecret = await getDashboardSecret();
|
|
30559
30559
|
const dashboardMissing = !existsSync4(DASHBOARD_DIST) || !existsSync4(join13(DASHBOARD_DIST, "index.html"));
|
|
30560
30560
|
if (dashboardMissing) {
|
|
30561
|
-
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`);
|
|
30561
|
+
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-ai/agent-os@latest`);
|
|
30562
30562
|
}
|
|
30563
30563
|
let server;
|
|
30564
30564
|
try {
|
|
@@ -30589,7 +30589,7 @@ async function startServer() {
|
|
|
30589
30589
|
error: "Dashboard not built",
|
|
30590
30590
|
path: DASHBOARD_DIST,
|
|
30591
30591
|
hint: "From the sulala package root run: cd dashboard && npm run build",
|
|
30592
|
-
hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala/agent-os@latest"
|
|
30592
|
+
hint_global: "If you installed globally, reinstall to get the dashboard: bun install -g @sulala-ai/agent-os@latest"
|
|
30593
30593
|
}, { status: 404, headers: CORS_HEADERS });
|
|
30594
30594
|
}
|
|
30595
30595
|
}
|
package/docs/CLI.md
CHANGED
|
@@ -19,7 +19,7 @@ How the CLI is structured and how to extend it.
|
|
|
19
19
|
| `start` | `cmdStart(rest)` | No args: runs server in foreground via `import("./server.js")` → `startServer()`. With `--daemon`: spawns `bun run dist/index.js` (or `src/index.ts` if no dist) from **package root** (`import.meta.dir/..`), writes PID to `~/.agent-os/sulala.pid`. |
|
|
20
20
|
| `stop` | `cmdStop()` | Reads PID from `~/.agent-os/sulala.pid`, sends SIGTERM, deletes PID file. |
|
|
21
21
|
| `onboard` | `cmdOnboard()` | Creates `~/.agent-os`, DB dir, `config.json` if missing; sets up `MemoryStore`, runs `seedAgentsIfEmpty()` + `installSystemAgents()` (no system skills); starts server daemon if needed, opens dashboard in browser. |
|
|
22
|
-
| `update` | `cmdUpdate()` | Runs `bun install -g @sulala/agent-os@latest`; then if DB exists, runs `installSystemAgents()` and `installSystemSkills()`. |
|
|
22
|
+
| `update` | `cmdUpdate()` | Runs `bun install -g @sulala-ai/agent-os@latest`; then if DB exists, runs `installSystemAgents()` and `installSystemSkills()`. |
|
|
23
23
|
| `run` | `cmdRun(rest)` | `rest[0]` = agent id, `rest.slice(1).join(" ")` = task; uses same DB as server; loads agent, runs `runAgent()`, prints result. |
|
|
24
24
|
| `help`, `-h`, `--help`, or no command | `printHelp()` | Prints usage and exits. |
|
|
25
25
|
| Anything else | Error + `printHelp()` + `process.exit(1)`. |
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sulala/agent-os",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"description": "Lightweight Bun-based Agent Operating System — micro-agents, skills, workflows",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/Sulala-ai/sulala.git"
|
|
7
|
+
"url": "git+https://github.com/Sulala-ai/sulala.git"
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://github.com/Sulala-ai/sulala#readme",
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/Sulala-ai/sulala/issues"
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
14
|
+
"access": "public",
|
|
15
|
+
"registry": "https://registry.npmjs.org/"
|
|
15
16
|
},
|
|
16
17
|
"type": "module",
|
|
17
18
|
"main": "dist/index.js",
|