@tulcn/lxz 0.3.0 → 0.4.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 +7 -7
- package/dist/application.js +4 -2
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/auth/inspection.js +4 -2
- package/dist/auth/platform.d.ts +26 -0
- package/dist/auth/platform.js +102 -0
- package/dist/auth/provider.d.ts +4 -0
- package/dist/auth/provider.js +17 -9
- package/dist/auth/service.js +3 -2
- package/dist/auth/store.d.ts +1 -0
- package/dist/auth/store.js +2 -1
- package/dist/cli/background.d.ts +14 -0
- package/dist/cli/background.js +35 -0
- package/dist/cli/contracts.d.ts +4 -10
- package/dist/cli/contracts.js +9 -4
- package/dist/cli/deployment.d.ts +9 -1
- package/dist/cli/deployment.js +18 -6
- package/dist/cli/device-login.d.ts +1 -1
- package/dist/cli/device-login.js +36 -35
- package/dist/cli/http.js +1 -1
- package/dist/cli/identity-commands.d.ts +2 -2
- package/dist/cli/identity-commands.js +8 -6
- package/dist/cli/init.js +1 -1
- package/dist/cli/output.d.ts +2 -1
- package/dist/cli/output.js +10 -8
- package/dist/cli/runtime.js +31 -15
- package/dist/cli/schemas.js +0 -1
- package/dist/doctor.js +1 -1
- package/dist/skills/agents.js +1 -1
- package/dist/skills/commands.d.ts +2 -2
- package/dist/skills/commands.js +3 -3
- package/dist/skills/delivery.js +2 -2
- package/package.json +1 -1
- package/skills/SKILL.md +5 -5
- package/skills/bundle.json +2 -2
- package/skills/commands.md +17 -29
package/skills/commands.md
CHANGED
|
@@ -4,8 +4,6 @@ Sign in using a browser and authorize this CLI
|
|
|
4
4
|
|
|
5
5
|
Effects: local; Preview: false.
|
|
6
6
|
|
|
7
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
8
|
-
|
|
9
7
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
10
8
|
|
|
11
9
|
- --timeout-ms (string): Total deadline in ms (1-3600000), including approval waits; keyboard inactivity does not end authorization; default "660000"
|
|
@@ -14,11 +12,11 @@ Effects: local; Preview: false.
|
|
|
14
12
|
|
|
15
13
|
- --version (boolean): Show version
|
|
16
14
|
|
|
17
|
-
- --schema (boolean): Show command, input and result schemas
|
|
15
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
18
16
|
|
|
19
17
|
- --device-login (boolean): Allow device authorization in non-interactive mode; returns the link at once and waits for approval in the background; default false
|
|
20
18
|
|
|
21
|
-
- --wait (boolean): With --device-login in non-interactive mode, wait for approval in the foreground
|
|
19
|
+
- --wait (boolean): With --device-login in non-interactive mode, wait for browser approval in the foreground; default false
|
|
22
20
|
|
|
23
21
|
- --browser (boolean): Open the authorization page in the default browser; use --no-browser to open the URL on another device; default true
|
|
24
22
|
|
|
@@ -67,7 +65,7 @@ pnpm dlx @tulcn/lxz auth login
|
|
|
67
65
|
**pwsh / bash**
|
|
68
66
|
|
|
69
67
|
```sh
|
|
70
|
-
pnpm dlx @tulcn/lxz auth login --device-login --
|
|
68
|
+
pnpm dlx @tulcn/lxz auth login --device-login --non-interactive
|
|
71
69
|
```
|
|
72
70
|
|
|
73
71
|
### lxz auth status
|
|
@@ -76,8 +74,6 @@ Show this CLI authorization status and current account
|
|
|
76
74
|
|
|
77
75
|
Effects: none; Preview: false.
|
|
78
76
|
|
|
79
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
80
|
-
|
|
81
77
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
82
78
|
|
|
83
79
|
- --timeout-ms (string): Non-interactive deadline in ms (1-3600000); interactive prompts exit after 60 seconds without input; default "175000"
|
|
@@ -86,7 +82,7 @@ Effects: none; Preview: false.
|
|
|
86
82
|
|
|
87
83
|
- --version (boolean): Show version
|
|
88
84
|
|
|
89
|
-
- --schema (boolean): Show command, input and result schemas
|
|
85
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
90
86
|
|
|
91
87
|
- --wait-seconds (string): Wait up to this many seconds (0-170) for a pending browser approval; returns as soon as it is approved; default "0"
|
|
92
88
|
|
|
@@ -138,13 +134,13 @@ Result schema:
|
|
|
138
134
|
**pwsh / bash**
|
|
139
135
|
|
|
140
136
|
```sh
|
|
141
|
-
pnpm dlx @tulcn/lxz auth status --
|
|
137
|
+
pnpm dlx @tulcn/lxz auth status --non-interactive
|
|
142
138
|
```
|
|
143
139
|
|
|
144
140
|
**pwsh / bash**
|
|
145
141
|
|
|
146
142
|
```sh
|
|
147
|
-
pnpm dlx @tulcn/lxz auth status --wait-seconds 170 --
|
|
143
|
+
pnpm dlx @tulcn/lxz auth status --wait-seconds 170 --non-interactive
|
|
148
144
|
```
|
|
149
145
|
|
|
150
146
|
### lxz auth logout
|
|
@@ -153,8 +149,6 @@ Revoke this CLI grant and delete local tokens; other devices and CLIs are unaffe
|
|
|
153
149
|
|
|
154
150
|
Effects: remote; Preview: false.
|
|
155
151
|
|
|
156
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
157
|
-
|
|
158
152
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
159
153
|
|
|
160
154
|
- --timeout-ms (string): Non-interactive deadline in ms (1-3600000); interactive prompts exit after 60 seconds without input; default "120000"
|
|
@@ -163,7 +157,7 @@ Effects: remote; Preview: false.
|
|
|
163
157
|
|
|
164
158
|
- --version (boolean): Show version
|
|
165
159
|
|
|
166
|
-
- --schema (boolean): Show command, input and result schemas
|
|
160
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
167
161
|
|
|
168
162
|
- --client-id (string): Client ID to manage; defaults to LXZ_AUTH_CLIENT_ID
|
|
169
163
|
|
|
@@ -242,7 +236,7 @@ Result schema:
|
|
|
242
236
|
**pwsh / bash**
|
|
243
237
|
|
|
244
238
|
```sh
|
|
245
|
-
pnpm dlx @tulcn/lxz auth logout --
|
|
239
|
+
pnpm dlx @tulcn/lxz auth logout --non-interactive
|
|
246
240
|
```
|
|
247
241
|
|
|
248
242
|
### lxz auth whoami
|
|
@@ -251,8 +245,6 @@ Show the local account authorized for this CLI
|
|
|
251
245
|
|
|
252
246
|
Effects: none; Preview: false.
|
|
253
247
|
|
|
254
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
255
|
-
|
|
256
248
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
257
249
|
|
|
258
250
|
- --timeout-ms (string): Non-interactive deadline in ms (1-3600000); interactive prompts exit after 60 seconds without input; default "175000"
|
|
@@ -261,7 +253,7 @@ Effects: none; Preview: false.
|
|
|
261
253
|
|
|
262
254
|
- --version (boolean): Show version
|
|
263
255
|
|
|
264
|
-
- --schema (boolean): Show command, input and result schemas
|
|
256
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
265
257
|
|
|
266
258
|
- --wait-seconds (string): Wait up to this many seconds (0-170) for a pending browser approval; returns as soon as it is approved; default "0"
|
|
267
259
|
|
|
@@ -313,13 +305,13 @@ Result schema:
|
|
|
313
305
|
**pwsh / bash**
|
|
314
306
|
|
|
315
307
|
```sh
|
|
316
|
-
pnpm dlx @tulcn/lxz auth status --
|
|
308
|
+
pnpm dlx @tulcn/lxz auth status --non-interactive
|
|
317
309
|
```
|
|
318
310
|
|
|
319
311
|
**pwsh / bash**
|
|
320
312
|
|
|
321
313
|
```sh
|
|
322
|
-
pnpm dlx @tulcn/lxz auth status --wait-seconds 170 --
|
|
314
|
+
pnpm dlx @tulcn/lxz auth status --wait-seconds 170 --non-interactive
|
|
323
315
|
```
|
|
324
316
|
|
|
325
317
|
### lxz doctor
|
|
@@ -328,8 +320,6 @@ Check runtime, package registry, authorization service and local session without
|
|
|
328
320
|
|
|
329
321
|
Effects: none; Preview: false.
|
|
330
322
|
|
|
331
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
332
|
-
|
|
333
323
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
334
324
|
|
|
335
325
|
- --timeout-ms (string): Non-interactive deadline in ms (1-3600000); interactive prompts exit after 60 seconds without input; default "120000"
|
|
@@ -338,7 +328,7 @@ Effects: none; Preview: false.
|
|
|
338
328
|
|
|
339
329
|
- --version (boolean): Show version
|
|
340
330
|
|
|
341
|
-
- --schema (boolean): Show command, input and result schemas
|
|
331
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
342
332
|
|
|
343
333
|
- --client-id (string): Client ID to check; defaults to LXZ_AUTH_CLIENT_ID
|
|
344
334
|
|
|
@@ -357,13 +347,13 @@ Result schema:
|
|
|
357
347
|
**pwsh / bash**
|
|
358
348
|
|
|
359
349
|
```sh
|
|
360
|
-
pnpm dlx @tulcn/lxz doctor --
|
|
350
|
+
pnpm dlx @tulcn/lxz doctor --non-interactive
|
|
361
351
|
```
|
|
362
352
|
|
|
363
353
|
**pwsh / bash**
|
|
364
354
|
|
|
365
355
|
```sh
|
|
366
|
-
pnpm dlx @tulcn/lxz doctor --client-id crm-demo1 --
|
|
356
|
+
pnpm dlx @tulcn/lxz doctor --client-id crm-demo1 --non-interactive
|
|
367
357
|
```
|
|
368
358
|
|
|
369
359
|
### lxz install skill
|
|
@@ -372,8 +362,6 @@ Install the bundled Skill for this version; synchronize registered directories o
|
|
|
372
362
|
|
|
373
363
|
Effects: local; Preview: false.
|
|
374
364
|
|
|
375
|
-
- --json (boolean): Return a JSON receipt instead of compact rows; use for programmatic parsing; default false
|
|
376
|
-
|
|
377
365
|
- --non-interactive (boolean): Use command parameters without interactive prompts; default false
|
|
378
366
|
|
|
379
367
|
- --timeout-ms (string): Non-interactive deadline in ms (1-3600000); interactive prompts exit after 60 seconds without input; default "120000"
|
|
@@ -382,9 +370,9 @@ Effects: local; Preview: false.
|
|
|
382
370
|
|
|
383
371
|
- --version (boolean): Show version
|
|
384
372
|
|
|
385
|
-
- --schema (boolean): Show command, input and result schemas
|
|
373
|
+
- --schema (boolean): Show command, input and result schemas; add --json for a JSON receipt
|
|
386
374
|
|
|
387
|
-
- --skills-dir (string): Skills root; overrides LXZ_SKILLS_DIR.
|
|
375
|
+
- --skills-dir (string): Skills root; overrides LXZ_SKILLS_DIR. Defaults to registered roots or ~/.linkwise/skills on first install
|
|
388
376
|
|
|
389
377
|
- --skill-conflict (string): Local changes: error keeps them; replace overwrites files managed by this CLI; default "error"; choices ["error","replace"]
|
|
390
378
|
|
|
@@ -436,5 +424,5 @@ pnpm dlx @tulcn/lxz install skill
|
|
|
436
424
|
**pwsh / bash**
|
|
437
425
|
|
|
438
426
|
```sh
|
|
439
|
-
pnpm dlx @tulcn/lxz install skill --skills-dir ./ceshi123/skills --
|
|
427
|
+
pnpm dlx @tulcn/lxz install skill --skills-dir ./ceshi123/skills --non-interactive
|
|
440
428
|
```
|