@ai-ecoverse/slicc-jerk 0.5.0 → 0.6.0
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 +10 -0
- package/bin/jerk.wasm +0 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -104,6 +104,16 @@ duration = "1h"
|
|
|
104
104
|
- **`--proxy`** adds `[[proxy.rules]]` for the provider's domains. They need a fnox build that lets proxy rules read lease credentials (F2, carried on ai-ecoverse/fnox).
|
|
105
105
|
- **Until then, `jerk <provider> sync --fnox <SECRET> --provider <fnox provider> [--global]`** pipes the token into `fnox set` on stdin. It only writes to providers that encrypt or use an OS store (age, keychain, 1password, bitwarden, fido2, yubikey and the cloud KMSes), never `plain`.
|
|
106
106
|
|
|
107
|
+
## Over the slicc link
|
|
108
|
+
|
|
109
|
+
When seven asks a linked slicc CLI for a token (link stream `jerk`, slicc-cli's link spec §5.14), the CLI runs host jerk with `--via-link`:
|
|
110
|
+
|
|
111
|
+
- **`jerk <provider> create --via-link [--seven-origin O] [--scope S] [-p k=v]…`** prints newline-delimited JSON: `{"event":"progress","message":…}` lines (a device code, for example), then a status object. It never prompts and never uses the terminal. A create that would run without a sign-in page (a minted token) or that needs a terminal is refused, and so is `--force`.
|
|
112
|
+
- **`jerk <provider> lease --via-link`** prints the fnox lease object, then a status object.
|
|
113
|
+
- **`jerk <provider> drop --lease --via-link`** prints a status object. A plain `drop` (a CLI sign-out) is never run over the link.
|
|
114
|
+
- **Status objects** carry `provider`, `env`, `message`, and `expires_at` when there is one. stderr stays empty.
|
|
115
|
+
- **`jerk <provider> list --json`** prints `{"items":[…]}`.
|
|
116
|
+
|
|
107
117
|
## Install
|
|
108
118
|
|
|
109
119
|
- **npm:** `npm install -g @ai-ecoverse/slicc-jerk`. The package is a small Node launcher; npm picks one of the platform packages `@ai-ecoverse/slicc-jerk-<os>-<arch>` (darwin, linux, win32; arm64, x64). The same package carries `bin/jerk.wasm` for seven's kernel.
|
package/bin/jerk.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-jerk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Get, list, create and drop OAuth tokens across operating systems and inside SLICC, by dispatching to each provider's own CLI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@ai-ecoverse/slicc-jerk-darwin-arm64": "0.
|
|
31
|
-
"@ai-ecoverse/slicc-jerk-darwin-x64": "0.
|
|
32
|
-
"@ai-ecoverse/slicc-jerk-linux-arm64": "0.
|
|
33
|
-
"@ai-ecoverse/slicc-jerk-linux-x64": "0.
|
|
34
|
-
"@ai-ecoverse/slicc-jerk-win32-arm64": "0.
|
|
35
|
-
"@ai-ecoverse/slicc-jerk-win32-x64": "0.
|
|
30
|
+
"@ai-ecoverse/slicc-jerk-darwin-arm64": "0.6.0",
|
|
31
|
+
"@ai-ecoverse/slicc-jerk-darwin-x64": "0.6.0",
|
|
32
|
+
"@ai-ecoverse/slicc-jerk-linux-arm64": "0.6.0",
|
|
33
|
+
"@ai-ecoverse/slicc-jerk-linux-x64": "0.6.0",
|
|
34
|
+
"@ai-ecoverse/slicc-jerk-win32-arm64": "0.6.0",
|
|
35
|
+
"@ai-ecoverse/slicc-jerk-win32-x64": "0.6.0"
|
|
36
36
|
}
|
|
37
37
|
}
|