@wordbricks/velen 0.1.2-win32-x64 → 0.1.3-darwin-arm64
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
|
@@ -7,6 +7,28 @@ Key references:
|
|
|
7
7
|
- Human-oriented protocol and workflow spec: `docs/SPEC.md`
|
|
8
8
|
- Generated JSON API contract: `openapi/cli.openapi.json`
|
|
9
9
|
|
|
10
|
+
Runtime config:
|
|
11
|
+
|
|
12
|
+
- On Unix-like systems, the user config file is `${XDG_CONFIG_HOME:-~/.config}/velen/config.toml`.
|
|
13
|
+
- On Windows, the user config file is `%APPDATA%\\velen\\config.toml`.
|
|
14
|
+
- The current persisted keys are `active_org` and `request_timeout_sec`.
|
|
15
|
+
- Runtime config is resolved in this order: built-in defaults -> user config file -> internal typed runtime overrides.
|
|
16
|
+
- `velen org use <org>` persists `active_org`. Passing `--org <org>` for a command takes precedence over the stored `active_org` value for that invocation.
|
|
17
|
+
- `velen auth logout` clears both the stored auth session and the stored `active_org`, so later org-scoped commands fail explicitly until a new org is selected.
|
|
18
|
+
|
|
19
|
+
Credential storage:
|
|
20
|
+
|
|
21
|
+
- On Unix-like systems, the CLI persists the full auth session blob to `${XDG_CONFIG_HOME:-~/.config}/velen/auth.json`.
|
|
22
|
+
- On Windows, the CLI persists the full auth session blob to `%APPDATA%\\velen\\auth.json`.
|
|
23
|
+
- `auth.json` stores the user identity, bearer token, session timing metadata, and the last refresh timestamp.
|
|
24
|
+
- Authenticated commands now run an explicit auth-session lifecycle before building an authenticated API client:
|
|
25
|
+
load `auth.json` on startup -> call the CLI session refresh contract -> persist the returned token and timing metadata.
|
|
26
|
+
|
|
27
|
+
Version cache:
|
|
28
|
+
|
|
29
|
+
- Release builds refresh `${XDG_CONFIG_HOME:-~/.config}/velen/version.json` on Unix-like systems and `%APPDATA%\\velen\\version.json` on Windows as a cached latest-version record sourced from the npm dist-tags for `@wordbricks/velen`.
|
|
30
|
+
- The cache format mirrors Codex: `latest_version`, `last_checked_at`, and `dismissed_version`.
|
|
31
|
+
|
|
10
32
|
Install:
|
|
11
33
|
|
|
12
34
|
- `bun install -g @wordbricks/velen`
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordbricks/velen",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-darwin-arm64",
|
|
4
4
|
"description": "Velen CLI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"os": [
|
|
7
|
-
"
|
|
7
|
+
"darwin"
|
|
8
8
|
],
|
|
9
9
|
"cpu": [
|
|
10
|
-
"
|
|
10
|
+
"arm64"
|
|
11
11
|
],
|
|
12
12
|
"files": [
|
|
13
13
|
"vendor",
|
|
Binary file
|
|
Binary file
|