@mobvibe/cli 0.0.0-dev
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 +42 -0
- package/bin/mobvibe.mjs +9 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2708 -0
- package/dist/index.js.map +1 -0
- package/package.json +66 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @mobvibe/cli
|
|
2
|
+
|
|
3
|
+
CLI daemon for remote-claude (mobvibe) - connects ACP-compatible agents to the gateway.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @mobvibe/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Login (first time)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
mobvibe login
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Opens browser for authentication, registers your machine.
|
|
20
|
+
|
|
21
|
+
### Start daemon
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
mobvibe start
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Check status
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
mobvibe status
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Stop daemon
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
mobvibe stop
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Environment Variables
|
|
40
|
+
|
|
41
|
+
- `MOBVIBE_GATEWAY_URL` - Gateway server URL (default: from login)
|
|
42
|
+
- `ANTHROPIC_AUTH_TOKEN` - Required for Claude Code backend
|
package/bin/mobvibe.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { dirname, join } from "node:path";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
|
|
5
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
6
|
+
const distPath = join(__dirname, "..", "dist", "index.js");
|
|
7
|
+
|
|
8
|
+
const { run } = await import(distPath);
|
|
9
|
+
run();
|
package/dist/index.d.ts
ADDED