@microvac/cli 0.0.0-stage → 0.1.0-rc.15

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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Paperclip AI
4
+ Copyright (c) 2026 Microvac contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,95 @@
1
- # Temporary Holding Version
1
+ <p align="center"><img src="ui/public/android-chrome-512x512.png" alt="Microvac icon" width="128" height="128"></p>
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <h1 align="center">Microvac</h1>
4
+
5
+ Microvac is a self-hosted orchestrator for teams of AI agents: a Node.js server with a React UI where you create tasks, assign them to agents (Claude Code, Codex, Hermes, OpenCode…), and follow their runs, questions and blockers.
6
+
7
+ It is a fork of [Paperclip](https://github.com/paperclipai/paperclip) (MIT), see [CREDITS.md](CREDITS.md). Microvac ships an opinionated default setup and keeps every behaviour overridable, so you can bend it to your own way of working. Long term, its core moves to a plugin-first architecture built on [Cordis](https://github.com/cordiverse/cordis).
8
+
9
+ > Status: early fork. Packages are not published on npm yet: install from source.
10
+
11
+ ## Install (instructions for humans and LLM agents)
12
+
13
+ Run these steps in order. Each step ends with a check; do not continue until it passes.
14
+
15
+ ### 1. Prerequisites
16
+
17
+ | Tool | Version | Check |
18
+ |---|---|---|
19
+ | Node.js | 24.11 or newer | `node -v` prints `v24.11.0` or higher |
20
+ | pnpm | 9.15 (via corepack) | `corepack enable && pnpm -v` prints `9.15.x` |
21
+ | Git | any recent | `git --version` |
22
+
23
+ No database to install: Microvac starts an embedded PostgreSQL in its data directory.
24
+
25
+ Optional, only for the agents you plan to use: the `claude`, `codex`, `hermes` or `opencode` CLI on the same host, signed in.
26
+
27
+ ### 2. Get the code
28
+
29
+ ```bash
30
+ git clone https://github.com/microvac-ai/microvac.git
31
+ cd microvac
32
+ git remote add upstream https://github.com/paperclipai/paperclip.git # optional, to follow upstream fixes
33
+ ```
34
+
35
+ Check: `git log -1 --oneline` prints a commit.
36
+
37
+ ### 3. Install dependencies
38
+
39
+ ```bash
40
+ corepack enable
41
+ pnpm install --frozen-lockfile
42
+ ```
43
+
44
+ Check: the command ends with `Done` and exits with code 0.
45
+
46
+ ### 4. Start Microvac
47
+
48
+ ```bash
49
+ PORT=3100 pnpm dev:once --data-dir ./.microvac-data
50
+ ```
51
+
52
+ - `PORT` sets the HTTP port (default `3100`); pick another one if it is taken.
53
+ - `--data-dir` keeps the instance state (embedded PostgreSQL, config, logs) inside that folder. Use one folder per instance; never point two instances at the same folder.
54
+ - Pending database migrations are applied on startup.
55
+
56
+ Check, from another terminal:
57
+
58
+ ```bash
59
+ curl -fsS http://localhost:3100/api/health
60
+ ```
61
+
62
+ returns a JSON body with `"status":"ok"`. The UI is at `http://localhost:3100`.
63
+
64
+ ### 5. Stop it
65
+
66
+ ```bash
67
+ pnpm dev:stop --data-dir ./.microvac-data
68
+ ```
69
+
70
+ ## Updating
71
+
72
+ ```bash
73
+ git pull
74
+ pnpm install --frozen-lockfile
75
+ PORT=3100 pnpm dev:once --data-dir ./.microvac-data # migrations apply on startup
76
+ ```
77
+
78
+ ## Development
79
+
80
+ ```bash
81
+ pnpm dev:once --data-dir ./.microvac-data # API + UI
82
+ pnpm typecheck # all packages
83
+ pnpm exec vitest run <path> # tests for one area
84
+ pnpm db:generate # new DB migration
85
+ ```
86
+
87
+ Contributions go through a branch, a pull request to `rc`, and green CI. Commits follow Conventional Commits; releases are cut by semantic-release (`rc` = prerelease, `main` = stable, tags `microvac-v*`).
88
+
89
+ Microvac-specific code lives in `server/src/microvac/` and `ui/src/microvac/`. Internal names stay identical to Paperclip (`@paperclipai/*` imports, `PAPERCLIP_*` variables) so upstream fixes keep merging: see [UPSTREAM.md](UPSTREAM.md).
90
+
91
+ The upstream development guide still applies: [doc/DEVELOPING.md](doc/DEVELOPING.md).
92
+
93
+ ## License
94
+
95
+ MIT. See [LICENSE](LICENSE) and [CREDITS.md](CREDITS.md).