@mylasecurity/gate 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -13,9 +13,9 @@ npx @mylasecurity/gate install <claim-code>
13
13
 
14
14
  | Command | What it does |
15
15
  | --- | --- |
16
- | `install <code>` | The whole job: fetch → validate → back up → merge → write → report. |
16
+ | `install <code>` | The whole job: fetch → validate → back up → merge → write → report. Also reports any **other** Myla configs it finds in the places the client reads (project/ancestor/managed), without touching them. |
17
17
  | `install <code> --dry-run` | Fetch, validate, print exactly what *would* be written and where. Writes nothing. The config is printed with the credential **masked**. |
18
- | `doctor` | Read the settings file and say whether a Myla hook is installed, which host it points at, and whether you still need to restart. No network, no writes. |
18
+ | `doctor` | Check the hook is installed, which host it points at, and — with one **read-only** authenticated call to the Gate — whether the token is actually **recognised** (a reissue/revoke leaves a config pointing at a dead token while calls still return 200). Also reports any other Myla configs on the machine. Writes nothing; the token is sent only in the auth header, never printed. |
19
19
  | `uninstall` | Remove **only** Myla's hook entries, keep everything else, back up first. |
20
20
 
21
21
  ### Flags
package/bin/gate.mjs CHANGED
@@ -882,7 +882,7 @@ var HELP = `Myla Gate installer
882
882
  Usage
883
883
  npx @mylasecurity/gate install <claim-code> Install (the whole job)
884
884
  npx @mylasecurity/gate install <claim-code> --dry-run Show what would be written, write nothing
885
- npx @mylasecurity/gate doctor Is a Myla hook installed? (no network, no writes)
885
+ npx @mylasecurity/gate doctor Check the hook is installed AND the Gate recognises the token (read-only)
886
886
  npx @mylasecurity/gate uninstall Remove only Myla's hooks, back up first
887
887
 
888
888
  Options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mylasecurity/gate",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "description": "One command to put the Myla Gate in front of your coding agent — fetches a one-time claim, merges the hooks into your per-user settings, backs up first, prints exactly what it changed.",
6
6
  "type": "module",