@vinihcrosa/lumem-os 0.1.0 → 0.3.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 CHANGED
@@ -23,19 +23,28 @@ lumem
23
23
  The daemon starts on `http://127.0.0.1:4317` and serves the interface from the
24
24
  same port. `lumem --open` opens a browser too.
25
25
 
26
+ `lumem upgrade` updates it: it asks npm for the latest version, reinstalls with
27
+ the package manager that owns the installed copy, and — if a daemon is running —
28
+ says it keeps the old code until it is restarted. `lumem upgrade --check` only
29
+ reports.
30
+
26
31
  The name is neither short nor pretty for a reason: npm refuses the bare `lumem`
27
32
  as too similar to `mem`, and `@vinihcrosa/lumem` is already a different project.
28
33
  The command is still `lumem` — and `lumem-os` is installed as a second name for
29
34
  the same binary, for machines that have both packages.
30
35
 
31
- From a clone, if you would rather build it yourself:
36
+ From a clone, if you would rather build it yourself — through the tarball, and
37
+ not `npm i -g ./packages/cli`, which symlinks the checkout rather than installing
38
+ a copy of it, so moving the clone later breaks the command:
32
39
 
33
40
  ```sh
34
41
  pnpm install
35
- pnpm build
36
- npm i -g ./packages/cli
42
+ npm i -g "$(npm pack ./packages/cli | tail -1)"
37
43
  ```
38
44
 
45
+ `npm pack` runs `prepack`, which builds — there is no separate `pnpm build` step.
46
+ This is the path `pnpm smoke:install` exercises, one throwaway prefix at a time.
47
+
39
48
  **What the machine needs:**
40
49
 
41
50
  | | |
@@ -43,7 +52,7 @@ npm i -g ./packages/cli
43
52
  | Node | 22 or newer |
44
53
  | git | 2.30 or newer — the whole product is worktrees |
45
54
  | An ACP agent | the `claude` CLI, for the agent conversation. The first-run screen installs the adapter for you |
46
- | OS | macOS and Linux. Windows is not supported ([why](docs/project/backlog.md)) |
55
+ | OS | macOS and Linux. Windows is not supported ([why](docs/prd/distribution/prd.md)) |
47
56
 
48
57
  Nothing else: the two native dependencies (`better-sqlite3`, `node-pty`) ship
49
58
  prebuilt binaries, so a global install compiles nothing on the common platforms.
@@ -59,7 +68,7 @@ conversations, memory. `--state-dir` moves it.
59
68
  | [Projects and worktrees](docs/prd/walking-skeleton/prd.md) | register a repo by path or [clone it from a URL](docs/prd/project-from-url/prd.md); cut worktrees from the product instead of the terminal |
60
69
  | [Agent conversations over ACP](docs/prd/acp-sessions/prd.md) | plan, usage and cost, slash commands, an embedded terminal, and the conversation **on disk** — closing Lumem does not lose it |
61
70
  | [Files, diff and an editor](docs/prd/file-editor/prd.md) | browse the checkout, read the diff against the base branch, and edit with autosave |
62
- | [Project scripts](docs/prd/project-scripts/prd.md) | `setup`, `run` and `test` live in `<repo>/.lumem/project.toml`; a new worktree is born prepared, and one click brings the app up on a port reserved for that checkout |
71
+ | [Project scripts](docs/prd/project-scripts/prd.md) | `setup`, `run`, `test` and `teardown` live in `<repo>/.lumem/project.toml`; a new worktree is born prepared, and one click brings the app up on a port reserved for that checkout |
63
72
  | [Workspace memory](docs/prd/workspace-memory/prd.md) | what the harness learned, versioned in git, behind a write gate and an inbox of proposals. The three switches that spend tokens ship **off** |
64
73
  | [Pull request status](docs/prd/pull-request-status/prd.md) | designed, not built: which of your worktrees is actually mergeable |
65
74
 
@@ -82,6 +91,11 @@ pnpm install
82
91
  pnpm dev # daemon on :4317, vite on :4318
83
92
  ```
84
93
 
94
+ `pnpm dev` writes to `~/.lumem-dev/shared`, not to the `~/.lumem` your installed
95
+ Lumem uses: same shape, separate database, so a bug under development cannot
96
+ touch the projects you actually work with. Details, and how to run two
97
+ worktrees at once, in [docs/project/workspaces.md](docs/project/workspaces.md).
98
+
85
99
  | Command | What it runs |
86
100
  |---|---|
87
101
  | `pnpm gate:quick` | the tests affected by the current work |