cue-console 0.1.0 → 0.1.2

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 CHANGED
@@ -1,6 +1,52 @@
1
1
  # cue-console
2
2
 
3
- Cue Hub console launcher (Next.js UI).
3
+ Cue Hub console (Next.js UI).
4
+
5
+ ---
6
+
7
+ ## The pitch (10 seconds)
8
+
9
+ A desktop and mobile UI for Claude Code, Cursor CLI and Codex.
10
+
11
+ Use it locally or remotely to view your active sessions and respond to collaboration requests from anywhere (desktop or mobile), with a consistent interface that works everywhere.
12
+
13
+ Think of it as an “all-in-one” collaboration console for your agents and CLIs.
14
+
15
+ ---
16
+
17
+ ## Quickstart (1 minute)
18
+
19
+ ### Goal
20
+
21
+ Run the console and pair it with `cuemcp`.
22
+
23
+ ### Step 1: Start `cuemcp`
24
+
25
+ Add and run the MCP server in your agent/runtime (see [`cue-mcp`](https://github.com/nmhjklnm/cue-mcp) for client-specific MCP configuration).
26
+
27
+ ### Step 2: Start `cue-console`
28
+
29
+ ```bash
30
+ cue-console dev --port 3000
31
+ ```
32
+
33
+ Open `http://localhost:3000`.
34
+
35
+ ---
36
+
37
+ ## Notes
38
+
39
+ - The current version can occasionally disconnect (for example, the agent replies directly without calling `cue()` at the end).
40
+ - If you get disconnected, type `cue` in the affected runtime to trigger auto-reconnect.
41
+
42
+ ---
43
+
44
+ ## Pairing with cuemcp
45
+
46
+ **Rule #1:** both sides must agree on the same DB location.
47
+
48
+ - `cuemcp` writes/polls: `~/.cue/cue.db`
49
+ - `cue-console` reads/writes: `~/.cue/cue.db`
4
50
 
5
51
  ## CLI
6
52
 
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const { spawn } = require("node:child_process");
4
+ const path = require("node:path");
4
5
 
5
6
  function printHelp() {
6
7
  process.stdout.write(`cue-console - Cue Hub console launcher\n\nUsage:\n cue-console <dev|build|start> [--port <port>] [--host <host>]\n\nExamples:\n cue-console dev --port 3000\n cue-console start --host 0.0.0.0 --port 3000\n`);
@@ -13,9 +14,11 @@ function parseArgs(argv) {
13
14
  port: undefined,
14
15
  host: undefined,
15
16
  passthrough: [],
17
+ showHelp: false,
16
18
  };
17
19
 
18
20
  if (args.length === 0 || args[0] === "-h" || args[0] === "--help") {
21
+ out.showHelp = true;
19
22
  return out;
20
23
  }
21
24
 
@@ -42,7 +45,7 @@ async function main() {
42
45
 
43
46
  if (!command) {
44
47
  printHelp();
45
- process.exit(1);
48
+ process.exit(0);
46
49
  }
47
50
 
48
51
  if (!["dev", "build", "start"].includes(command)) {
@@ -65,9 +68,12 @@ async function main() {
65
68
  if (port) env.PORT = String(port);
66
69
  if (host) env.HOSTNAME = String(host);
67
70
 
71
+ const pkgRoot = path.resolve(__dirname, "..");
72
+
68
73
  const child = spawn(process.execPath, [nextBin, command, ...passthrough], {
69
74
  stdio: "inherit",
70
75
  env,
76
+ cwd: pkgRoot,
71
77
  });
72
78
 
73
79
  child.on("exit", (code, signal) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cue-console",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Cue Hub console launcher (Next.js UI)",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": ["mcp", "cue", "console", "nextjs"],
@@ -32,6 +32,7 @@
32
32
  "@radix-ui/react-scroll-area": "^1.2.10",
33
33
  "@radix-ui/react-separator": "^1.1.8",
34
34
  "@radix-ui/react-slot": "^1.2.4",
35
+ "@tailwindcss/postcss": "^4",
35
36
  "better-sqlite3": "^12.5.0",
36
37
  "class-variance-authority": "^0.7.1",
37
38
  "clsx": "^2.1.1",
@@ -44,18 +45,17 @@
44
45
  "highlight.js": "^11.11.1",
45
46
  "remark-gfm": "^4.0.1",
46
47
  "tailwind-merge": "^3.4.0",
48
+ "tailwindcss": "^4",
49
+ "typescript": "^5",
47
50
  "uuid": "^13.0.0"
48
51
  },
49
52
  "devDependencies": {
50
- "@tailwindcss/postcss": "^4",
51
53
  "@types/better-sqlite3": "^7.6.13",
52
54
  "@types/node": "^20",
53
55
  "@types/react": "^19",
54
56
  "@types/react-dom": "^19",
55
57
  "@types/uuid": "^11.0.0",
56
58
  "eslint": "^9",
57
- "eslint-config-next": "16.1.1",
58
- "tailwindcss": "^4",
59
- "typescript": "^5"
59
+ "eslint-config-next": "16.1.1"
60
60
  }
61
61
  }