@wagemule/daemon 0.1.0

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 ADDED
@@ -0,0 +1,50 @@
1
+ # @wagemule/daemon
2
+
3
+ Wage Mule local daemon connects local agent runtimes to a Workspace Server.
4
+
5
+ ## Install and start
6
+
7
+ Use the command shown in the Wage Mule Web machine page. It pins the daemon version and includes the pairing token for the current space:
8
+
9
+ ```bash
10
+ npx -y @wagemule/daemon@0.1.0 start --server-url "https://your-server" --api-key "daemon_xxx" --space-id "space_xxx"
11
+ ```
12
+
13
+ The v0.1 daemon runs in the foreground. Keep the terminal open while the machine should stay online.
14
+
15
+ ## Commands
16
+
17
+ ```bash
18
+ wm-daemon --help
19
+ wm-daemon runtimes
20
+ wm-daemon models
21
+ wm-daemon doctor
22
+ wm-daemon start --server-url "https://your-server" --api-key "daemon_xxx"
23
+ ```
24
+
25
+ `doctor` reports local runtime binaries and versions. Missing runtimes are reported honestly; install or log in to the relevant runtime CLI before creating agents for it.
26
+
27
+ ## Required start options
28
+
29
+ - `--server-url`: Workspace Server HTTP URL.
30
+ - `--api-key`: daemon pairing or reconnect token from the Web machine page.
31
+ - `--space-id`: optional active space id. The Web command includes it when needed.
32
+ - `--name`: optional display name for this machine.
33
+ - `--root`: optional daemon root directory. Defaults to `~/.wm`.
34
+
35
+ ## Development
36
+
37
+ Inside the monorepo, use the local restart script instead of npm:
38
+
39
+ ```bash
40
+ bash scripts/restart.sh daemon start
41
+ ```
42
+
43
+ Before publishing:
44
+
45
+ ```bash
46
+ pnpm --filter @wagemule/daemon typecheck
47
+ pnpm --filter @wagemule/daemon test
48
+ pnpm --filter @wagemule/daemon build
49
+ pnpm --filter @wagemule/daemon pack:check
50
+ ```