@openlatch/client 0.1.12 → 0.1.14

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.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -18,10 +18,10 @@
18
18
  **OpenLatch** is a thin, open-source security forwarder that plugs into AI agents via their **native lifecycle hooks**. One command installs protection across all your agents — no proxies, no code changes, no configuration.
19
19
 
20
20
  ```bash
21
- npx @openlatch/client
21
+ npx @openlatch/client init
22
22
  ```
23
23
 
24
- That's it. OpenLatch auto-detects your installed agents, writes the hook configs, and starts forwarding events to the cloud for real-time security analysis.
24
+ That's it. `init` auto-detects your installed agents, writes the hook configs, and starts the daemon that forwards events to the cloud for real-time security analysis.
25
25
 
26
26
  <!-- TODO: Replace with VHS terminal recording once available -->
27
27
  <!-- <p align="center">
@@ -69,18 +69,19 @@ OpenLatch works across **3 operating systems** and **8 agent platforms** from da
69
69
  ### Install via npm (recommended)
70
70
 
71
71
  ```bash
72
- npx @openlatch/client
72
+ npx @openlatch/client init
73
73
  ```
74
74
 
75
75
  ### Install via Cargo
76
76
 
77
77
  ```bash
78
78
  cargo install openlatch-client
79
+ openlatch init
79
80
  ```
80
81
 
81
82
  ### Download binary
82
83
 
83
- Pre-built binaries for macOS (ARM, Intel), Linux (x86_64, ARM), and Windows are available on the [Releases](https://github.com/OpenLatch/openlatch-client/releases) page.
84
+ Pre-built binaries for macOS (ARM, Intel), Linux (x86_64, ARM), and Windows are available on the [Releases](https://github.com/OpenLatch/openlatch-client/releases) page. After the binary is on your `PATH`, run `openlatch init` to auto-detect agents and install hooks.
84
85
 
85
86
  ## Usage
86
87
 
@@ -233,8 +234,8 @@ OpenLatch works with zero configuration. For advanced use cases:
233
234
  | Environment Variable | Description | Default |
234
235
  | -------------------- | ----------- | ------- |
235
236
  | `OPENLATCH_API_KEY` | Your OpenLatch API key | — |
236
- | `OPENLATCH_API_URL` | Cloud API URL | `https://app.openlatch.ai/api` |
237
- | `OPENLATCH_APP_URL` | Web app URL used for browser auth. Falls back to `OPENLATCH_API_URL` with a trailing `/api` stripped when unset. | `https://app.openlatch.ai` |
237
+ | `OPENLATCH_API_URL` | Cloud API base URL. Callers append `/api/v1/...` path segments. | `https://app.openlatch.ai` |
238
+ | `OPENLATCH_APP_URL` | Web app URL used for browser auth. Falls back to `OPENLATCH_API_URL` (with a trailing `/api` stripped, for back-compat with overrides). | `https://app.openlatch.ai` |
238
239
  | `OPENLATCH_LOG_LEVEL` | Logging verbosity | `info` |
239
240
  | `OPENLATCH_FAIL_MODE` | Behavior when cloud is unreachable | `open` |
240
241
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openlatch/client",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "OpenLatch — the open-source security layer for AI agents",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "homepage": "https://openlatch.ai",
11
11
  "bin": {
12
+ "client": "lib/index.js",
12
13
  "openlatch": "lib/index.js",
13
14
  "openlatch-hook": "lib/openlatch-hook.js"
14
15
  },
@@ -19,10 +20,10 @@
19
20
  "postinstall": "node lib/postinstall.js"
20
21
  },
21
22
  "optionalDependencies": {
22
- "@openlatch/client-darwin-arm64": "0.1.12",
23
- "@openlatch/client-darwin-x64": "0.1.12",
24
- "@openlatch/client-linux-x64": "0.1.12",
25
- "@openlatch/client-linux-arm64": "0.1.12",
26
- "@openlatch/client-win32-x64": "0.1.12"
23
+ "@openlatch/client-darwin-arm64": "0.1.14",
24
+ "@openlatch/client-darwin-x64": "0.1.14",
25
+ "@openlatch/client-linux-x64": "0.1.14",
26
+ "@openlatch/client-linux-arm64": "0.1.14",
27
+ "@openlatch/client-win32-x64": "0.1.14"
27
28
  }
28
29
  }