wendkeep 0.68.5 → 0.68.6

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/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to **wendkeep** are documented here. Format based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this project follows
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.68.6] — 2026-08-16
8
+
9
+ ### Fixed
10
+
11
+ - **A orientação de atualização em monorepos pnpm agora resolve a versão publicada antes da
12
+ instalação.** README e guias bilíngues deixam de oferecer `X.Y.Z` como argumento copiável,
13
+ explicam o cooldown silencioso de `@latest` e orientam a regeneração segura do lock quando a
14
+ integridade do tarball divergir.
15
+
7
16
  ## [0.68.5] — 2026-08-14
8
17
 
9
18
  ### Fixed
package/README.en.md CHANGED
@@ -176,24 +176,37 @@ The install stays outside `sync` on purpose: a running process cannot replace it
176
176
  keep going — the code in memory would still be the old one.
177
177
 
178
178
  In a **pnpm** monorepo the install command differs (`npm` in a pnpm repo fails with
179
- `Cannot read properties of null (reading 'matches')`) and the version must be **exact**:
180
-
181
- ```bash
182
- pnpm add -D -w wendkeep@X.Y.Z --config.minimumReleaseAge=0 && npx --no-install wendkeep sync --project . --yes
179
+ `Cannot read properties of null (reading 'matches')`). Resolve the published version first and
180
+ reuse exactly the value returned:
181
+
182
+ ```powershell
183
+ $version = pnpm view wendkeep version
184
+ pnpm add -D -w "wendkeep@$version" --config.minimumReleaseAge=0
185
+ pnpm install --update-checksums --config.minimumReleaseAge=0
186
+ pnpm exec wendkeep sync --project . --yes
183
187
  ```
184
188
 
185
189
  > **Do not ask pnpm for `wendkeep@latest`.** pnpm 11 ignores packages published in the last
186
190
  > 24h by default (`minimumReleaseAge`, a supply-chain guard) — and it does not complain: it
187
191
  > installs the previous version, exits 0, and the only hint is a quiet `(X.Y.Z is available)`
188
192
  > in the output. You end up on the old version thinking you upgraded. Check with
189
- > `npx wendkeep --version`.
193
+ > `pnpm exec wendkeep --version`.
194
+ >
195
+ > Do not edit only the version or integrity in `pnpm-lock.yaml`. `pnpm add` and
196
+ > `pnpm install --update-checksums` must recalculate the complete entry. If the lock is already
197
+ > inconsistent and `ERR_PNPM_TARBALL_INTEGRITY` appears, prune the local store and repeat:
198
+ >
199
+ > ```powershell
200
+ > pnpm store prune
201
+ > pnpm install --update-checksums --config.minimumReleaseAge=0
202
+ > ```
190
203
  >
191
204
  > After installing, record the exception in `pnpm-workspace.yaml` — **pnpm does not write
192
205
  > that line for you**:
193
206
  >
194
207
  > ```yaml
195
208
  > minimumReleaseAgeExclude:
196
- > - wendkeep@X.Y.Z
209
+ > - wendkeep@<the version returned by pnpm view>
197
210
  > ```
198
211
  >
199
212
  > Without it, CI's `pnpm install` fails with `ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION` until
package/README.md CHANGED
@@ -176,24 +176,37 @@ The install stays outside `sync` on purpose: a running process cannot replace it
176
176
  keep going — the code in memory would still be the old one.
177
177
 
178
178
  In a **pnpm** monorepo the install command differs (`npm` in a pnpm repo fails with
179
- `Cannot read properties of null (reading 'matches')`) and the version must be **exact**:
180
-
181
- ```bash
182
- pnpm add -D -w wendkeep@X.Y.Z --config.minimumReleaseAge=0 && npx --no-install wendkeep sync --project . --yes
179
+ `Cannot read properties of null (reading 'matches')`). Resolve the published version first and
180
+ reuse exactly the value returned:
181
+
182
+ ```powershell
183
+ $version = pnpm view wendkeep version
184
+ pnpm add -D -w "wendkeep@$version" --config.minimumReleaseAge=0
185
+ pnpm install --update-checksums --config.minimumReleaseAge=0
186
+ pnpm exec wendkeep sync --project . --yes
183
187
  ```
184
188
 
185
189
  > **Do not ask pnpm for `wendkeep@latest`.** pnpm 11 ignores packages published in the last
186
190
  > 24h by default (`minimumReleaseAge`, a supply-chain guard) — and it does not complain: it
187
191
  > installs the previous version, exits 0, and the only hint is a quiet `(X.Y.Z is available)`
188
192
  > in the output. You end up on the old version thinking you upgraded. Check with
189
- > `npx wendkeep --version`.
193
+ > `pnpm exec wendkeep --version`.
194
+ >
195
+ > Do not edit only the version or integrity in `pnpm-lock.yaml`. `pnpm add` and
196
+ > `pnpm install --update-checksums` must recalculate the complete entry. If the lock is already
197
+ > inconsistent and `ERR_PNPM_TARBALL_INTEGRITY` appears, prune the local store and repeat:
198
+ >
199
+ > ```powershell
200
+ > pnpm store prune
201
+ > pnpm install --update-checksums --config.minimumReleaseAge=0
202
+ > ```
190
203
  >
191
204
  > After installing, record the exception in `pnpm-workspace.yaml` — **pnpm does not write
192
205
  > that line for you**:
193
206
  >
194
207
  > ```yaml
195
208
  > minimumReleaseAgeExclude:
196
- > - wendkeep@X.Y.Z
209
+ > - wendkeep@<the version returned by pnpm view>
197
210
  > ```
198
211
  >
199
212
  > Without it, CI's `pnpm install` fails with `ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION` until
@@ -60,14 +60,22 @@ npm install --save-dev wendkeep@latest
60
60
  npx wendkeep sync --yes
61
61
  ```
62
62
 
63
- With pnpm, pin a concrete version because minimum-release-age policies may keep `latest` silently
64
- behind:
63
+ With pnpm, query the published version and reuse the returned value. Minimum-release-age policies
64
+ may keep `latest` silently behind; in a monorepo, `-w` targets the workspace root:
65
65
 
66
- ```bash
67
- pnpm add -D wendkeep@X.Y.Z --config.minimumReleaseAge=0
66
+ ```powershell
67
+ $version = pnpm view wendkeep version
68
+ pnpm add -D -w "wendkeep@$version" --config.minimumReleaseAge=0
69
+ pnpm install --update-checksums --config.minimumReleaseAge=0
68
70
  pnpm exec wendkeep sync --yes
69
71
  ```
70
72
 
73
+ Do not edit only the version or integrity in `pnpm-lock.yaml`. If
74
+ `ERR_PNPM_TARBALL_INTEGRITY` appears after a manual edit, run `pnpm store prune` and repeat
75
+ `pnpm install --update-checksums --config.minimumReleaseAge=0`. The
76
+ `minimumReleaseAgeExclude` entry in `pnpm-workspace.yaml` is also manual and must use the
77
+ version returned by `pnpm view`; pnpm does not write that line.
78
+
71
79
  ## Expected result
72
80
 
73
81
  The project receives `.wendkeep.json`, managed Claude/Codex hooks, skill definitions, and an
@@ -60,14 +60,22 @@ npm install --save-dev wendkeep@latest
60
60
  npx wendkeep sync --yes
61
61
  ```
62
62
 
63
- Com pnpm, informe uma versão concreta porque políticas de idade mínima podem manter `latest`
64
- atrasado silenciosamente:
63
+ Com pnpm, consulte a versão publicada e reutilize o valor retornado. Políticas de idade mínima
64
+ podem manter `latest` atrasado silenciosamente; em um monorepo, `-w` aponta para o workspace raiz:
65
65
 
66
- ```bash
67
- pnpm add -D wendkeep@X.Y.Z --config.minimumReleaseAge=0
66
+ ```powershell
67
+ $version = pnpm view wendkeep version
68
+ pnpm add -D -w "wendkeep@$version" --config.minimumReleaseAge=0
69
+ pnpm install --update-checksums --config.minimumReleaseAge=0
68
70
  pnpm exec wendkeep sync --yes
69
71
  ```
70
72
 
73
+ Não edite apenas a versão ou a integridade no `pnpm-lock.yaml`. Se aparecer
74
+ `ERR_PNPM_TARBALL_INTEGRITY` depois de uma edição manual, rode `pnpm store prune` e repita
75
+ `pnpm install --update-checksums --config.minimumReleaseAge=0`. A exceção
76
+ `minimumReleaseAgeExclude` do `pnpm-workspace.yaml` também é manual e deve usar a versão
77
+ retornada por `pnpm view`; o pnpm não escreve essa linha.
78
+
71
79
  ## Resultado esperado
72
80
 
73
81
  O projeto recebe `.wendkeep.json`, hooks gerenciados de Claude/Codex, definições de skills e um
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wendkeep",
3
- "version": "0.68.5",
3
+ "version": "0.68.6",
4
4
  "description": "Vault-first persistent memory for AI coding agents, with an optional profile-aware governance runtime: OFF, FLOW, GUIDE, GOVERN, or ASSURE. Local-first and agent-agnostic (Claude Code, Codex, Cursor…).",
5
5
  "type": "module",
6
6
  "workspaces": [