privateboard 0.1.6 → 0.1.7
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 +7 -2
- package/dist/cli.js.map +1 -1
- package/package.json +4 -2
- package/public/agent-profile.js +14 -0
- package/public/app.js +465 -704
- package/public/index.html +193 -151
- package/public/report.html +356 -59
- package/public/typing-sfx.js +158 -0
- package/public/user-settings.css +90 -0
- package/public/user-settings.js +71 -0
package/dist/cli.js
CHANGED
|
@@ -15335,6 +15335,11 @@ function usageRouter() {
|
|
|
15335
15335
|
|
|
15336
15336
|
// src/server.ts
|
|
15337
15337
|
init_paths();
|
|
15338
|
+
|
|
15339
|
+
// src/version.ts
|
|
15340
|
+
var VERSION = "0.1.7";
|
|
15341
|
+
|
|
15342
|
+
// src/server.ts
|
|
15338
15343
|
function createApp() {
|
|
15339
15344
|
const app = new Hono10();
|
|
15340
15345
|
const dir = publicDir();
|
|
@@ -15358,8 +15363,9 @@ Build the package or check that public/ is bundled alongside dist/.`
|
|
|
15358
15363
|
});
|
|
15359
15364
|
app.get(
|
|
15360
15365
|
"/api/health",
|
|
15361
|
-
(c) => c.json({ ok: true, version:
|
|
15366
|
+
(c) => c.json({ ok: true, version: VERSION, time: (/* @__PURE__ */ new Date()).toISOString() })
|
|
15362
15367
|
);
|
|
15368
|
+
app.get("/api/version", (c) => c.json({ version: VERSION }));
|
|
15363
15369
|
app.get("/api/system/migrations", async (c) => {
|
|
15364
15370
|
const { getDb: getDb2 } = await Promise.resolve().then(() => (init_db(), db_exports));
|
|
15365
15371
|
try {
|
|
@@ -15426,7 +15432,6 @@ function isPortFree(port) {
|
|
|
15426
15432
|
}
|
|
15427
15433
|
|
|
15428
15434
|
// src/cli.ts
|
|
15429
|
-
var VERSION = "0.1.2";
|
|
15430
15435
|
async function main() {
|
|
15431
15436
|
const program = new Command().name("privateboard").description("PrivateBoard \xB7 your private board meeting, on call. Local-first, multi-agent thinking.").version(VERSION).option("-p, --port <n>", "port to listen on (default: auto-detect from 3030)").option("--host <h>", "host to bind", "127.0.0.1").option("--no-open", "don't open the browser automatically");
|
|
15432
15437
|
program.parse();
|