@hasna/configs 0.2.18 → 0.2.20
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/index.js +3 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +3 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4153,7 +4153,9 @@ program.command("bootstrap").description("Install the full @hasna ecosystem: CLI
|
|
|
4153
4153
|
{ name: "@hasna/sessions", bin: "sessions", mcp: "sessions-mcp" },
|
|
4154
4154
|
{ name: "@hasna/emails", bin: "emails", mcp: "emails-mcp" },
|
|
4155
4155
|
{ name: "@hasna/recordings", bin: "recordings", mcp: "recordings-mcp" },
|
|
4156
|
-
{ name: "@hasna/testers", bin: "testers", mcp: "testers-mcp" }
|
|
4156
|
+
{ name: "@hasna/testers", bin: "testers", mcp: "testers-mcp" },
|
|
4157
|
+
{ name: "@hasna/assistants", bin: "assistants", mcp: "assistants-mcp" },
|
|
4158
|
+
{ name: "@hasna/brains", bin: "brains", mcp: "brains-mcp" }
|
|
4157
4159
|
];
|
|
4158
4160
|
console.log(chalk.bold("@hasna/configs bootstrap") + chalk.dim(` \u2014 installing ${packages.length} ecosystem packages
|
|
4159
4161
|
`));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;AAkSA,wBAAgE"}
|
package/dist/server/index.js
CHANGED
|
@@ -2495,6 +2495,7 @@ function detectFormat(filePath) {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
2497
|
// src/server/index.ts
|
|
2498
|
+
import { createRequire } from "module";
|
|
2498
2499
|
import { existsSync as existsSync5, readFileSync as readFileSync4 } from "fs";
|
|
2499
2500
|
import { join as join4, extname as extname2 } from "path";
|
|
2500
2501
|
var PORT = Number(process.env["CONFIGS_PORT"] ?? 3457);
|
|
@@ -2697,7 +2698,8 @@ app.post("/api/machines", async (c) => {
|
|
|
2697
2698
|
return c.json({ error: e instanceof Error ? e.message : String(e) }, 422);
|
|
2698
2699
|
}
|
|
2699
2700
|
});
|
|
2700
|
-
|
|
2701
|
+
var serverPkg = createRequire(import.meta.url)("../../package.json");
|
|
2702
|
+
app.get("/health", (c) => c.json({ ok: true, version: serverPkg.version }));
|
|
2701
2703
|
var MIME = { ".html": "text/html", ".js": "application/javascript", ".css": "text/css", ".json": "application/json", ".svg": "image/svg+xml", ".png": "image/png", ".ico": "image/x-icon" };
|
|
2702
2704
|
function findDashboardDir() {
|
|
2703
2705
|
const candidates = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/configs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
4
4
|
"description": "AI coding agent configuration manager — store, version, apply, and share all your AI coding configs. CLI + MCP + REST API + Dashboard.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|