localvault 1.9.0 → 1.9.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f49d7a925b997780d6d03a2b071117e20da0827d24331d28c9cd5043a70b0056
4
- data.tar.gz: 27b2be6fa5bb90d3df68eec4a27fcba483a175b574afd96f7aeba7dd0e175412
3
+ metadata.gz: 20aa094af163dfa0173fae2eabfc274da78badf84ebc37366bf85163f7b7f77d
4
+ data.tar.gz: f113382f8edb4a630732b56de9abe163470c0c377bbcbf64951fde108f6d5e0b
5
5
  SHA512:
6
- metadata.gz: 7863c066d383db0a2ad4a98ae9665fe1fafc04de61b1fdbfec590d4af0ea04e47f31f1635a4c63d5886f0f71780a5f9f0ebd143348af23d404415991487dd214
7
- data.tar.gz: b61cb7b5096ad2250560a1462f87ecfd81e538ed823971c46fe4820be3bb50443574055e40d0e080c7f4e5f7b7ce93d2d2f9cceedd03ea4f39a9a13141f35c44
6
+ metadata.gz: e65ac37ab002da71e42ed5d1e31369dd492982683e2817165060962777e197b8873b6c73c11761d2f7aa829c1c6729f7334691d83d16f0de858c59de2a8abbec
7
+ data.tar.gz: 2efaf71acba0f24beaa48313a88d0a9f58058d42f7c80a5ef439af76f29deac6df30435dd74868d04d1bbedf224e1d87499a647e32509cecf0895d696f453934
data/README.md CHANGED
@@ -16,12 +16,29 @@ Part of [InventList Tools](https://inventlist.com/tools/localvault) — free, op
16
16
  brew install inventlist/tap/localvault
17
17
  ```
18
18
 
19
+ ### Install script (no Homebrew)
20
+
21
+ ```bash
22
+ curl -sSL https://raw.githubusercontent.com/inventlist/localvault/main/install.sh | sh
23
+ ```
24
+
25
+ Installs into an isolated prefix (`~/.localvault/runtime`) and writes a wrapper
26
+ to your PATH that pins its own Ruby. It never adds a version-manager shim and
27
+ never touches your project gems, so `localvault` keeps working when you switch
28
+ Ruby versions. Override with `LOCALVAULT_BIN_DIR`, `LOCALVAULT_PREFIX`,
29
+ `LOCALVAULT_VERSION`, or `LOCALVAULT_RUBY`.
30
+
19
31
  ### RubyGems
20
32
 
21
33
  ```bash
22
34
  gem install localvault
23
35
  ```
24
36
 
37
+ A plain `gem install` under asdf/rbenv creates a shim that can shadow your
38
+ Homebrew build and silently pin you to an old version. If `localvault version`
39
+ disagrees with what you installed, run `localvault doctor` — it lists every
40
+ copy on your PATH.
41
+
25
42
  **Requires libsodium:**
26
43
 
27
44
  ```bash
@@ -64,8 +64,9 @@ module LocalVault
64
64
  # missing PATH binary never breaks the user's sessions — but it also
65
65
  # silently guards nothing, which deserves a loud note at install time.
66
66
  def warn_if_path_binary_lacks_guard
67
- help_output = `localvault help 2>/dev/null`
68
- return if help_output.include?("guard")
67
+ # Probe the PATH binary itself: `guard status` exits 0 only where the
68
+ # command exists. Parsing curated help text is not a version check.
69
+ return if system("localvault guard status", out: File::NULL, err: File::NULL)
69
70
 
70
71
  $stderr.puts "Note: the `localvault` on your PATH does not support `guard hook` " \
71
72
  "(old version or different install). The hook fails open and guards " \
@@ -174,6 +174,8 @@ module LocalVault
174
174
  shell.say " localvault mcp Start MCP server (stdio)"
175
175
  shell.say " localvault mcp --check Check setup and active-vault readiness"
176
176
  shell.say " Agents: list names, then use localvault_build_exec for safe injection"
177
+ shell.say " localvault guard install Block secrets in agent commands (Claude Code hooks)"
178
+ shell.say " localvault guard status Show guard hook installation state"
177
179
  shell.say ""
178
180
  shell.say "LEGACY SHARING (pre-v1.2 direct share, still works as fallback)"
179
181
  shell.say " localvault keygen Generate X25519 keypair (same as `keys generate`)"
@@ -1,3 +1,3 @@
1
1
  module LocalVault
2
- VERSION = "1.9.0"
2
+ VERSION = "1.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localvault
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nauman Tariq