@techsologic/unolock-agent 0.1.44 → 0.1.46
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
|
@@ -161,10 +161,10 @@ Only if a host needs the explicit host-command form, use:
|
|
|
161
161
|
|
|
162
162
|
* `unolock-agent mcp`
|
|
163
163
|
* The host writes JSON-RPC to `stdin` and reads JSON-RPC from `stdout`.
|
|
164
|
-
* The `mcp` subcommand
|
|
164
|
+
* The `mcp` subcommand uses the same local UnoLock runtime as the CLI.
|
|
165
165
|
* On a fresh host, the first start can take longer because local cryptographic code may need to be compiled or prepared.
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
UnoLock keeps the user PIN in process memory and keeps the current Space selected across normal CLI and host-driven use.
|
|
168
168
|
|
|
169
169
|
The same executable also supports explicit CLI commands, for example:
|
|
170
170
|
|
|
@@ -190,7 +190,7 @@ If you prefer manual install from source:
|
|
|
190
190
|
git clone https://github.com/TechSologic/unolock-agent.git
|
|
191
191
|
cd unolock-agent
|
|
192
192
|
python3 -m pip install --user -e .
|
|
193
|
-
unolock-agent-probe
|
|
193
|
+
unolock-agent-probe
|
|
194
194
|
unolock-agent --help
|
|
195
195
|
unolock-agent mcp
|
|
196
196
|
python3 -m unolock_mcp tpm-diagnose
|
|
@@ -199,8 +199,7 @@ unolock-agent-self-test
|
|
|
199
199
|
python3 -m unolock_mcp config-check
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
For normal customer and agent onboarding,
|
|
203
|
-
Let UnoLock guide the normal flow.
|
|
202
|
+
For normal customer and agent onboarding, use the normal UnoLock commands and follow UnoLock's directions.
|
|
204
203
|
|
|
205
204
|
macOS support is still alpha. UnoLock Agent now prefers Secure Enclave when it works cleanly and otherwise falls back to a non-exportable macOS Keychain key for broader compatibility. If you are evaluating it on Apple Silicon, start with:
|
|
206
205
|
|
|
@@ -238,19 +237,13 @@ Project home:
|
|
|
238
237
|
|
|
239
238
|
* `https://github.com/TechSologic/unolock-agent`
|
|
240
239
|
|
|
241
|
-
|
|
240
|
+
After install, run UnoLock directly:
|
|
242
241
|
|
|
243
242
|
```bash
|
|
244
|
-
unolock-agent
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
For hosts that require the command form, use the explicit `mcp` argument:
|
|
248
|
-
|
|
249
|
-
```bash
|
|
250
|
-
unolock-agent mcp
|
|
243
|
+
unolock-agent --help
|
|
251
244
|
```
|
|
252
245
|
|
|
253
|
-
|
|
246
|
+
Use the CLI for normal registration and Safe access work.
|
|
254
247
|
|
|
255
248
|
## Update Policy
|
|
256
249
|
|
|
@@ -258,7 +251,7 @@ UnoLock Agent should not replace itself in the middle of an active session or wr
|
|
|
258
251
|
|
|
259
252
|
The intended update model is:
|
|
260
253
|
|
|
261
|
-
*
|
|
254
|
+
* UnoLock reports update status
|
|
262
255
|
* the install channel applies updates
|
|
263
256
|
* the UnoLock process restarts between tasks so in-memory PINs and sessions can be re-established cleanly
|
|
264
257
|
|
|
@@ -62,12 +62,12 @@ Choose the object that matches the work:
|
|
|
62
62
|
- after registration, use normal UnoLock commands directly
|
|
63
63
|
- the one-time Agent Key URL is for registration, not for everyday use
|
|
64
64
|
- the CLI may ask for the PIN later when the local UnoLock process restarts or needs to authenticate again
|
|
65
|
-
- if that happens, run `unolock-agent set-
|
|
65
|
+
- if that happens, run `unolock-agent set-pin '<pin>'` and retry the original command
|
|
66
66
|
|
|
67
67
|
## Main CLI Commands
|
|
68
68
|
|
|
69
69
|
- `unolock-agent register '<agent-key-url>' '<pin>'`: first setup on this device
|
|
70
|
-
- `unolock-agent set-
|
|
70
|
+
- `unolock-agent set-pin '<pin>'`: provide the PIN again after restart or re-authentication
|
|
71
71
|
- `unolock-agent list-spaces`, `unolock-agent get-current-space`, `unolock-agent set-current-space <space_id>`: inspect and switch the current Space
|
|
72
72
|
- `unolock-agent list-notes`, `unolock-agent create-note <title> <text>`, `unolock-agent update-note <record_ref> [--title <title>] [--text <text>]`, `unolock-agent append-note ...`: read and write notes
|
|
73
73
|
- `unolock-agent list-checklists`, `unolock-agent create-checklist ...`, `unolock-agent set-checklist-item-done ...`, `unolock-agent add-checklist-item ...`, `unolock-agent remove-checklist-item ...`: read and write checklists
|
|
@@ -79,7 +79,7 @@ Choose the object that matches the work:
|
|
|
79
79
|
- give the agent the Agent Key URL and PIN together for first setup
|
|
80
80
|
- if `unolock-agent` is installed, use `unolock-agent ...` directly for CLI commands
|
|
81
81
|
- run the `unolock-agent` command you need directly
|
|
82
|
-
- if a command reports that the PIN is needed, run `unolock-agent set-
|
|
82
|
+
- if a command reports that the PIN is needed, run `unolock-agent set-pin '<pin>'` and retry the original command
|
|
83
83
|
- if unsure which command to use next, run `unolock-agent --help`
|
|
84
84
|
- keep the PIN in UnoLock process memory only
|
|
85
85
|
- install the UnoLock Agent CLI with `npm install -g @techsologic/unolock-agent`
|
package/package.json
CHANGED
|
@@ -63,12 +63,12 @@ Choose the object that matches the work:
|
|
|
63
63
|
- after registration, use normal UnoLock commands directly
|
|
64
64
|
- the one-time Agent Key URL is for registration, not for everyday use
|
|
65
65
|
- the CLI may ask for the PIN later when the local UnoLock process restarts or needs to authenticate again
|
|
66
|
-
- if that happens, run `unolock-agent set-
|
|
66
|
+
- if that happens, run `unolock-agent set-pin '<pin>'` and retry the original command
|
|
67
67
|
|
|
68
68
|
## Main CLI Commands
|
|
69
69
|
|
|
70
70
|
- `unolock-agent register '<agent-key-url>' '<pin>'`: first setup on this device
|
|
71
|
-
- `unolock-agent set-
|
|
71
|
+
- `unolock-agent set-pin '<pin>'`: provide the PIN again after restart or re-authentication
|
|
72
72
|
- `unolock-agent list-spaces`, `unolock-agent get-current-space`, `unolock-agent set-current-space <space_id>`: inspect and switch the current Space
|
|
73
73
|
- `unolock-agent list-notes`, `unolock-agent create-note <title> <text>`, `unolock-agent update-note <record_ref> [--title <title>] [--text <text>]`, `unolock-agent append-note ...`: read and write notes
|
|
74
74
|
- `unolock-agent list-checklists`, `unolock-agent create-checklist ...`, `unolock-agent set-checklist-item-done ...`, `unolock-agent add-checklist-item ...`, `unolock-agent remove-checklist-item ...`: read and write checklists
|
|
@@ -80,7 +80,7 @@ Choose the object that matches the work:
|
|
|
80
80
|
- give the agent the Agent Key URL and PIN together for first setup
|
|
81
81
|
- if `unolock-agent` is installed, use `unolock-agent ...` directly for CLI commands
|
|
82
82
|
- run the `unolock-agent` command you need directly
|
|
83
|
-
- if a command reports that the PIN is needed, run `unolock-agent set-
|
|
83
|
+
- if a command reports that the PIN is needed, run `unolock-agent set-pin '<pin>'` and retry the original command
|
|
84
84
|
- if unsure which command to use next, run `unolock-agent --help`
|
|
85
85
|
- keep the PIN in UnoLock process memory only
|
|
86
86
|
- install the UnoLock Agent CLI with `npm install -g @techsologic/unolock-agent`
|