@cohaku/cli 0.2.7 → 0.2.8
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/{chunk-HMH4HWDA.js → chunk-HUMYWLCL.js} +3 -0
- package/dist/{chunk-HH6YEBDX.js → chunk-MU3X6KBC.js} +718 -137
- package/dist/{chunk-QNLQCC7A.js → chunk-SJZY3OAT.js} +2 -2
- package/dist/{chunk-6NVPXWGI.js → chunk-ZELLRTG5.js} +1 -1
- package/dist/dashboard/assets/index-BEGYqqtj.css +1 -0
- package/dist/dashboard/assets/index-uzAxYmEZ.js +51 -0
- package/dist/dashboard/index.html +14 -0
- package/dist/index.js +5 -5
- package/dist/{mcp-RC777UJI.js → mcp-OUXSA2GV.js} +4 -4
- package/dist/{serve-MMBRKWQ6.js → serve-2QVCMO3C.js} +3 -3
- package/dist/{start-THRKBZ4P.js → start-S5JBNPBO.js} +4 -4
- package/dist/{status-TYGEXAGJ.js → status-NYW3OOGW.js} +2 -2
- package/package.json +2 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>dashboard</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-uzAxYmEZ.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BEGYqqtj.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__commonJS,
|
|
6
6
|
__require,
|
|
7
7
|
__toESM
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZELLRTG5.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/commander@14.0.3/node_modules/commander/lib/error.js
|
|
11
11
|
var require_error = __commonJS({
|
|
@@ -3461,19 +3461,19 @@ var {
|
|
|
3461
3461
|
var program2 = new Command();
|
|
3462
3462
|
program2.name("cohaku").description("Cohaku AI \u2014 persistent memory layer for coding agents").version(VERSION);
|
|
3463
3463
|
program2.command("mcp").description("Start MCP server (stdio transport)").action(async () => {
|
|
3464
|
-
const { mcpCommand } = await import("./mcp-
|
|
3464
|
+
const { mcpCommand } = await import("./mcp-OUXSA2GV.js");
|
|
3465
3465
|
await mcpCommand();
|
|
3466
3466
|
});
|
|
3467
3467
|
program2.command("start").description("Start MCP server + dashboard together").option("-p, --port <port>", "Dashboard port", String(24200)).action(async (opts) => {
|
|
3468
|
-
const { startCommand } = await import("./start-
|
|
3468
|
+
const { startCommand } = await import("./start-S5JBNPBO.js");
|
|
3469
3469
|
await startCommand({ port: Number(opts.port) });
|
|
3470
3470
|
});
|
|
3471
3471
|
program2.command("serve").description("Start HTTP API server with dashboard (no MCP)").option("-p, --port <port>", "Port number", String(24200)).action(async (opts) => {
|
|
3472
|
-
const { serveCommand } = await import("./serve-
|
|
3472
|
+
const { serveCommand } = await import("./serve-2QVCMO3C.js");
|
|
3473
3473
|
await serveCommand({ port: Number(opts.port) });
|
|
3474
3474
|
});
|
|
3475
3475
|
program2.command("status").description("Show current status and memory statistics").action(async () => {
|
|
3476
|
-
const { statusCommand } = await import("./status-
|
|
3476
|
+
const { statusCommand } = await import("./status-NYW3OOGW.js");
|
|
3477
3477
|
await statusCommand();
|
|
3478
3478
|
});
|
|
3479
3479
|
program2.parse();
|
|
@@ -2,15 +2,15 @@ import { createRequire } from 'module'; const require = createRequire(import.met
|
|
|
2
2
|
import {
|
|
3
3
|
StdioServerTransport,
|
|
4
4
|
createServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MU3X6KBC.js";
|
|
6
6
|
import {
|
|
7
7
|
checkForUpdate,
|
|
8
8
|
printBanner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SJZY3OAT.js";
|
|
10
10
|
import {
|
|
11
11
|
createEngine
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HUMYWLCL.js";
|
|
13
|
+
import "./chunk-ZELLRTG5.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/mcp.ts
|
|
16
16
|
async function mcpCommand() {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
checkForUpdate,
|
|
8
8
|
printBanner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SJZY3OAT.js";
|
|
10
10
|
import {
|
|
11
11
|
createEngine
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HUMYWLCL.js";
|
|
13
|
+
import "./chunk-ZELLRTG5.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/serve.ts
|
|
16
16
|
import { join, dirname } from "path";
|
|
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
|
|
|
2
2
|
import {
|
|
3
3
|
StdioServerTransport,
|
|
4
4
|
createServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MU3X6KBC.js";
|
|
6
6
|
import {
|
|
7
7
|
createApi,
|
|
8
8
|
serve
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
checkForUpdate,
|
|
12
12
|
printBanner
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SJZY3OAT.js";
|
|
14
14
|
import {
|
|
15
15
|
createEngine
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-HUMYWLCL.js";
|
|
17
|
+
import "./chunk-ZELLRTG5.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/start.ts
|
|
20
20
|
import { join, dirname } from "path";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
createEngine,
|
|
4
4
|
detectProjectId,
|
|
5
5
|
getDbPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HUMYWLCL.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZELLRTG5.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/status.ts
|
|
12
12
|
import { existsSync, statSync } from "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cohaku/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "CLI for Cohaku AI — persistent memory layer for coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@cohaku/api": "workspace:*",
|
|
40
|
+
"@cohaku/dashboard": "workspace:*",
|
|
40
41
|
"@cohaku/core": "workspace:*",
|
|
41
42
|
"@cohaku/mcp": "workspace:*",
|
|
42
43
|
"@cohaku/shared": "workspace:*",
|