@srobroek/pi-chezmoi-editor 0.7.0 → 0.7.2

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
@@ -1,3 +1,11 @@
1
+ ## chezmoi [0.7.2](https://github.com/srobroek/harness-plugins/compare/chezmoi--v0.7.1...chezmoi--v0.7.2) (2026-11-24)
2
+
3
+ ## chezmoi [0.7.1](https://github.com/srobroek/harness-plugins/compare/chezmoi--v0.7.0...chezmoi--v0.7.1) (2026-11-24)
4
+
5
+ ### Bug Fixes
6
+
7
+ * **chezmoi:** make the 1Password helper conditional ([fcc0369](https://github.com/srobroek/harness-plugins/commit/fcc0369e26f030556ab7d38e2a99bab2b51591fa))
8
+
1
9
  ## chezmoi [0.7.0](https://github.com/srobroek/harness-plugins/compare/chezmoi--v0.6.0...chezmoi--v0.7.0) (2026-11-23)
2
10
 
3
11
  ### Features
package/README.md CHANGED
@@ -7,6 +7,11 @@ path to edit instead (`chezmoi source-path <target>`).
7
7
  Ported from the omp-plugins `chezmoi` plugin.
8
8
 
9
9
  ## Install
10
+ Install the Pi package from npm:
11
+
12
+ ```sh
13
+ pi install npm:@srobroek/pi-chezmoi-editor
14
+ ```
10
15
 
11
16
  ```sh
12
17
  opencode plugin add 'github:srobroek/harness-plugins::path:plugins/chezmoi/opencode'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srobroek/pi-chezmoi-editor",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Refuse edits and shell writes to chezmoi-managed live files, naming the source to edit, plus the chezmoi-editor skill.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -25,10 +25,13 @@ literal words only: writes through `sh -c`, the shell eval builtin, scripts, var
25
25
  the target is live-owned (see Rules).
26
26
  3. Use native chezmoi names for dotfiles, executables, private files, readonly
27
27
  files, symlinks, scripts, and templates.
28
- 4. Never write a credential in plaintext. Read it at apply time with
29
- `{{ onepasswordRead "op://<vault>/<item>/<field>" }}` in a `.tmpl` file, or
30
- store the file with `chezmoi add --encrypt <target>`. `private_` only sets
31
- `0600` permissions; the file stays plaintext in git.
28
+ 4. Never write a credential in plaintext. With the 1Password CLI, read it at apply time
29
+ with `{{ onepasswordRead "op://<vault>/<item>/<field>" }}` in a `.tmpl` file.
30
+ chezmoi has template functions for other password managers too (Bitwarden,
31
+ KeePassXC, `pass`, Vault and more). Use the one the user already has. Or store the
32
+ file encrypted with `chezmoi add --encrypt <target>`, which uses the age or GPG
33
+ `encryption` from the chezmoi config. `private_` only sets `0600` permissions, and
34
+ the file stays plaintext in git.
32
35
  5. Preview with `chezmoi diff`. Apply only when the source diff is correct and
33
36
  the user wants the live target updated now.
34
37