@vinihcrosa/lumem-os 0.3.1 → 0.4.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
@@ -52,7 +52,7 @@ This is the path `pnpm smoke:install` exercises, one throwaway prefix at a time.
52
52
  | Node | 22 or newer |
53
53
  | git | 2.30 or newer — the whole product is worktrees |
54
54
  | An ACP agent | the `claude` CLI, for the agent conversation. The first-run screen installs the adapter for you |
55
- | OS | macOS and Linux. Windows is not supported ([why](docs/prd/distribution/prd.md)) |
55
+ | OS | macOS and Linux. Windows is not supported ([why](docs/features/014-distribution/prd.md)) |
56
56
 
57
57
  Nothing else: the two native dependencies (`better-sqlite3`, `node-pty`) ship
58
58
  prebuilt binaries, so a global install compiles nothing on the common platforms.
@@ -65,12 +65,12 @@ conversations, memory. `--state-dir` moves it.
65
65
 
66
66
  | | |
67
67
  |---|---|
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 |
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 |
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 |
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 |
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** |
73
- | [Pull request status](docs/prd/pull-request-status/prd.md) | designed, not built: which of your worktrees is actually mergeable |
68
+ | [Projects and worktrees](docs/features/001-walking-skeleton/prd.md) | register a repo by path or [clone it from a URL](docs/features/011-project-from-url/prd.md); cut worktrees from the product instead of the terminal |
69
+ | [Agent conversations over ACP](docs/features/006-acp-sessions/prd.md) | plan, usage and cost, slash commands, an embedded terminal, and the conversation **on disk** — closing Lumem does not lose it |
70
+ | [Files, diff and an editor](docs/features/005-file-editor/prd.md) | browse the checkout, read the diff against the base branch, and edit with autosave |
71
+ | [Project scripts](docs/features/012-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 |
72
+ | [Workspace memory](docs/features/007-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** |
73
+ | [Pull request status](docs/features/013-pull-request-status/prd.md) | which of your worktrees is actually mergeable, read from the `gh` on your machine — Lumem never sees, asks for or stores a token |
74
74
 
75
75
  ## How it works
76
76
 
package/bin/lumem.mjs CHANGED
@@ -4462,14 +4462,29 @@ var CLAUDE_ADAPTER = {
4462
4462
  // Duas strings porque não são a mesma string, e é exatamente essa a armadilha:
4463
4463
  // o pacote é escopado e o binário não.
4464
4464
  command: "claude-agent-acp",
4465
- pinnedVersion: "0.40.0",
4465
+ /*
4466
+ * Medido em 2026-09-08, e a medição é o motivo de não ser `0.40.0`.
4467
+ *
4468
+ * O adaptador **embute** o runtime: `0.40.0` depende de
4469
+ * `@anthropic-ai/claude-agent-sdk@0.3.160`, que é o Claude Code `2.1.160`, e a
4470
+ * API recusa o modelo default desta conta com *"version 2.1.251 or newer is
4471
+ * required"*. Quem responde `session/prompt` é o SDK de dentro, então o
4472
+ * `claude` do PATH — `2.1.263` na máquina que mediu — não salva.
4473
+ *
4474
+ * `0.75.1` traz o SDK `0.3.257`. O estudo, com as duas versões lado a lado,
4475
+ * está em `docs/project/claude-agent-acp-0.75.md`.
4476
+ */
4477
+ pinnedVersion: "0.75.1",
4466
4478
  cli: { command: "claude", install: null },
4479
+ // Medido: `0.40.0` embutia o `0.3.160` e `0.75.1` embute o `0.3.257`, e o
4480
+ // número depois do `0.3.` é o do Claude Code que a API cobra na recusa.
4481
+ runtime: "@anthropic-ai/claude-agent-sdk",
4467
4482
  apiKeyEnv: ["ANTHROPIC_API_KEY"]
4468
4483
  };
4469
4484
  var DEFAULT_ADAPTER_ID = CLAUDE_ADAPTER.id;
4470
4485
 
4471
4486
  // ../shared/src/constants.ts
4472
- var LUMEM_VERSION = "0.3.1";
4487
+ var LUMEM_VERSION = "0.4.0";
4473
4488
 
4474
4489
  // ../shared/src/pty-protocol.ts
4475
4490
  var ptySessionStateSchema = external_exports.enum(["running", "exited"]);