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

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,93 @@
1
- # Temporary Holding Version
1
+ # Microvac
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
+ 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.
4
+
5
+ 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).
6
+
7
+ > Status: early fork. Packages are not published on npm yet: install from source.
8
+
9
+ ## Install (instructions for humans and LLM agents)
10
+
11
+ Run these steps in order. Each step ends with a check; do not continue until it passes.
12
+
13
+ ### 1. Prerequisites
14
+
15
+ | Tool | Version | Check |
16
+ |---|---|---|
17
+ | Node.js | 24.11 or newer | `node -v` prints `v24.11.0` or higher |
18
+ | pnpm | 9.15 (via corepack) | `corepack enable && pnpm -v` prints `9.15.x` |
19
+ | Git | any recent | `git --version` |
20
+
21
+ No database to install: Microvac starts an embedded PostgreSQL in its data directory.
22
+
23
+ Optional, only for the agents you plan to use: the `claude`, `codex`, `hermes` or `opencode` CLI on the same host, signed in.
24
+
25
+ ### 2. Get the code
26
+
27
+ ```bash
28
+ git clone https://github.com/microvac-ai/microvac.git
29
+ cd microvac
30
+ git remote add upstream https://github.com/paperclipai/paperclip.git # optional, to follow upstream fixes
31
+ ```
32
+
33
+ Check: `git log -1 --oneline` prints a commit.
34
+
35
+ ### 3. Install dependencies
36
+
37
+ ```bash
38
+ corepack enable
39
+ pnpm install --frozen-lockfile
40
+ ```
41
+
42
+ Check: the command ends with `Done` and exits with code 0.
43
+
44
+ ### 4. Start Microvac
45
+
46
+ ```bash
47
+ PORT=3100 pnpm dev:once --data-dir ./.microvac-data
48
+ ```
49
+
50
+ - `PORT` sets the HTTP port (default `3100`); pick another one if it is taken.
51
+ - `--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.
52
+ - Pending database migrations are applied on startup.
53
+
54
+ Check, from another terminal:
55
+
56
+ ```bash
57
+ curl -fsS http://localhost:3100/api/health
58
+ ```
59
+
60
+ returns a JSON body with `"status":"ok"`. The UI is at `http://localhost:3100`.
61
+
62
+ ### 5. Stop it
63
+
64
+ ```bash
65
+ pnpm dev:stop --data-dir ./.microvac-data
66
+ ```
67
+
68
+ ## Updating
69
+
70
+ ```bash
71
+ git pull
72
+ pnpm install --frozen-lockfile
73
+ PORT=3100 pnpm dev:once --data-dir ./.microvac-data # migrations apply on startup
74
+ ```
75
+
76
+ ## Development
77
+
78
+ ```bash
79
+ pnpm dev:once --data-dir ./.microvac-data # API + UI
80
+ pnpm typecheck # all packages
81
+ pnpm exec vitest run <path> # tests for one area
82
+ pnpm db:generate # new DB migration
83
+ ```
84
+
85
+ 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*`).
86
+
87
+ 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).
88
+
89
+ The upstream development guide still applies: [doc/DEVELOPING.md](doc/DEVELOPING.md).
90
+
91
+ ## License
92
+
93
+ MIT. See [LICENSE](LICENSE) and [CREDITS.md](CREDITS.md).