@sulala/agent-os 0.1.12 → 0.1.14
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/dashboard-dist/assets/index-Cxz22YWf.js +72 -0
- package/dashboard-dist/index.html +1 -1
- package/dist/cli.js +12 -2
- package/dist/index.js +12 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>vite-app</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Cxz22YWf.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-RzMkSaIA.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/dist/cli.js
CHANGED
|
@@ -8576,7 +8576,8 @@ async function installSystemSkills() {
|
|
|
8576
8576
|
if (alreadyInstalled)
|
|
8577
8577
|
continue;
|
|
8578
8578
|
try {
|
|
8579
|
-
await
|
|
8579
|
+
await mkdir3(skillsDir, { recursive: true });
|
|
8580
|
+
await cp(sourcePath, destPath, { recursive: true });
|
|
8580
8581
|
installed += 1;
|
|
8581
8582
|
} catch (err) {
|
|
8582
8583
|
console.error(`[skills] Install system skill ${id} failed:`, err);
|
|
@@ -15638,7 +15639,16 @@ function createRoutes() {
|
|
|
15638
15639
|
"/health": () => Response.json({ ok: true, service: "agent-os" }, { headers: CORS_HEADERS }),
|
|
15639
15640
|
"/api/agents": {
|
|
15640
15641
|
GET: async () => {
|
|
15641
|
-
|
|
15642
|
+
let agents;
|
|
15643
|
+
try {
|
|
15644
|
+
agents = await loadAgents();
|
|
15645
|
+
} catch (err) {
|
|
15646
|
+
console.error("[sulala] GET /api/agents failed:", err);
|
|
15647
|
+
return jsonResponse({
|
|
15648
|
+
agents: [],
|
|
15649
|
+
error: "Agent store unavailable. Try running 'sulala onboard' again."
|
|
15650
|
+
}, 200);
|
|
15651
|
+
}
|
|
15642
15652
|
return jsonResponse({
|
|
15643
15653
|
agents: agents.map((a) => ({
|
|
15644
15654
|
id: a.id,
|
package/dist/index.js
CHANGED
|
@@ -12803,7 +12803,8 @@ async function installSystemSkills() {
|
|
|
12803
12803
|
if (alreadyInstalled)
|
|
12804
12804
|
continue;
|
|
12805
12805
|
try {
|
|
12806
|
-
await
|
|
12806
|
+
await mkdir3(skillsDir, { recursive: true });
|
|
12807
|
+
await cp(sourcePath, destPath, { recursive: true });
|
|
12807
12808
|
installed += 1;
|
|
12808
12809
|
} catch (err) {
|
|
12809
12810
|
console.error(`[skills] Install system skill ${id} failed:`, err);
|
|
@@ -15564,7 +15565,16 @@ function createRoutes() {
|
|
|
15564
15565
|
"/health": () => Response.json({ ok: true, service: "agent-os" }, { headers: CORS_HEADERS }),
|
|
15565
15566
|
"/api/agents": {
|
|
15566
15567
|
GET: async () => {
|
|
15567
|
-
|
|
15568
|
+
let agents;
|
|
15569
|
+
try {
|
|
15570
|
+
agents = await loadAgents();
|
|
15571
|
+
} catch (err) {
|
|
15572
|
+
console.error("[sulala] GET /api/agents failed:", err);
|
|
15573
|
+
return jsonResponse({
|
|
15574
|
+
agents: [],
|
|
15575
|
+
error: "Agent store unavailable. Try running 'sulala onboard' again."
|
|
15576
|
+
}, 200);
|
|
15577
|
+
}
|
|
15568
15578
|
return jsonResponse({
|
|
15569
15579
|
agents: agents.map((a) => ({
|
|
15570
15580
|
id: a.id,
|