luxin-cli 0.0.1 → 0.2.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/commands.json ADDED
@@ -0,0 +1,557 @@
1
+ {
2
+ "schema": "image-skill.public-command-manifest.v1",
3
+ "command_prefix": "luxin",
4
+ "product_frame": "Luxin is a hosted thin CLI and public contract for agent-native durable creative media.",
5
+ "skill_url": "https://luxin.sh/skill.md",
6
+ "docs_url": "https://luxin.sh/cli.md",
7
+ "llms_url": "https://luxin.sh/llms.txt",
8
+ "commands": [
9
+ {
10
+ "id": "doctor",
11
+ "docs_anchor": "luxin-doctor",
12
+ "surface": "client",
13
+ "mutation": false,
14
+ "spend": false
15
+ },
16
+ {
17
+ "id": "trust",
18
+ "docs_anchor": "luxin-trust",
19
+ "surface": "client",
20
+ "mutation": false,
21
+ "spend": false
22
+ },
23
+ {
24
+ "id": "signup",
25
+ "docs_anchor": "luxin-signup-agent",
26
+ "surface": "hosted_cli",
27
+ "mutation": true,
28
+ "spend": false
29
+ },
30
+ {
31
+ "id": "claim",
32
+ "docs_anchor": "luxin-claim-request",
33
+ "surface": "hosted_cli",
34
+ "mutation": true,
35
+ "spend": false,
36
+ "subcommands": ["request"]
37
+ },
38
+ {
39
+ "id": "whoami",
40
+ "docs_anchor": "luxin-whoami",
41
+ "surface": "hosted_cli",
42
+ "mutation": false,
43
+ "spend": false
44
+ },
45
+ {
46
+ "id": "usage",
47
+ "docs_anchor": "luxin-usage",
48
+ "surface": "hosted_cli",
49
+ "mutation": false,
50
+ "spend": false,
51
+ "subcommands": ["quota"]
52
+ },
53
+ {
54
+ "id": "quota",
55
+ "docs_anchor": "luxin-quota",
56
+ "surface": "hosted_cli",
57
+ "mutation": false,
58
+ "spend": false
59
+ },
60
+ {
61
+ "id": "credits",
62
+ "docs_anchor": "luxin-credits",
63
+ "surface": "hosted_cli",
64
+ "mutation": true,
65
+ "spend": true,
66
+ "subcommands": ["methods", "packs list", "quote", "buy", "status"]
67
+ },
68
+ {
69
+ "id": "capabilities",
70
+ "docs_anchor": "luxin-capabilities",
71
+ "surface": "hosted_cli",
72
+ "mutation": false,
73
+ "spend": false,
74
+ "subcommands": ["list", "show"]
75
+ },
76
+ {
77
+ "id": "models",
78
+ "docs_anchor": "luxin-models",
79
+ "surface": "hosted_cli",
80
+ "mutation": false,
81
+ "spend": false,
82
+ "subcommands": ["list", "show"]
83
+ },
84
+ {
85
+ "id": "create",
86
+ "docs_anchor": "luxin-create",
87
+ "surface": "hosted_cli",
88
+ "mutation": true,
89
+ "spend": true
90
+ },
91
+ {
92
+ "id": "upload",
93
+ "docs_anchor": "luxin-upload",
94
+ "surface": "client",
95
+ "mutation": true,
96
+ "spend": false
97
+ },
98
+ {
99
+ "id": "edit",
100
+ "docs_anchor": "luxin-edit",
101
+ "surface": "client",
102
+ "mutation": true,
103
+ "spend": true
104
+ },
105
+ {
106
+ "id": "assets",
107
+ "docs_anchor": "luxin-assets",
108
+ "surface": "hosted_cli",
109
+ "mutation": false,
110
+ "spend": false,
111
+ "subcommands": ["show", "get"]
112
+ },
113
+ {
114
+ "id": "jobs",
115
+ "docs_anchor": "luxin-jobs",
116
+ "surface": "hosted_cli",
117
+ "mutation": false,
118
+ "spend": false,
119
+ "subcommands": ["show", "wait"]
120
+ },
121
+ {
122
+ "id": "activity",
123
+ "docs_anchor": "luxin-activity",
124
+ "surface": "hosted_cli",
125
+ "mutation": false,
126
+ "spend": false,
127
+ "subcommands": ["list", "show"]
128
+ },
129
+ {
130
+ "id": "feedback",
131
+ "docs_anchor": "luxin-feedback",
132
+ "surface": "hosted_cli",
133
+ "mutation": true,
134
+ "spend": false,
135
+ "subcommands": ["create"]
136
+ }
137
+ ],
138
+ "modality_aliases": [
139
+ { "alias": "image", "command": "create", "intent": null },
140
+ { "alias": "video", "command": "create", "intent": "video" },
141
+ { "alias": "audio", "command": "create", "intent": "audio" },
142
+ { "alias": "3d", "command": "create", "intent": "image-to-3d" },
143
+ { "alias": "image-to-3d", "command": "create", "intent": "image-to-3d" },
144
+ { "alias": "three-d", "command": "create", "intent": "image-to-3d" }
145
+ ],
146
+ "help_entries": [
147
+ {
148
+ "key": "",
149
+ "help": {
150
+ "command": "help",
151
+ "usage": "luxin <doctor|trust|signup|claim|whoami|usage|quota|credits|capabilities|models|create|upload|edit|assets|jobs|activity|feedback> --json",
152
+ "docs_url": "https://luxin.sh/cli.md",
153
+ "agent_skill": {
154
+ "url": "https://luxin.sh/skill.md",
155
+ "llms_url": "https://luxin.sh/llms.txt",
156
+ "cli_docs_url": "https://luxin.sh/cli.md",
157
+ "read_command": "curl -fsSL https://luxin.sh/skill.md",
158
+ "recommended_start_command": "luxin create --guide --prompt PROMPT --json",
159
+ "model_discovery_command": "luxin models list --available --operation image.generate --json",
160
+ "model_inspection_command": "luxin models show MODEL_ID --json",
161
+ "no_spend": true,
162
+ "purpose": "Read the agent skill before paid media work; it explains model discovery, guide flow, model parameters, quota, and self-fund recovery."
163
+ },
164
+ "commands": [
165
+ "doctor",
166
+ "trust",
167
+ "signup --agent --agent-name NAME --runtime RUNTIME",
168
+ "claim request --contact INBOX",
169
+ "whoami",
170
+ "usage quota",
171
+ "quota",
172
+ "credits methods",
173
+ "credits quote",
174
+ "credits packs list",
175
+ "credits buy",
176
+ "credits status",
177
+ "capabilities",
178
+ "capabilities list",
179
+ "capabilities show",
180
+ "models",
181
+ "models list",
182
+ "models show",
183
+ "create --guide",
184
+ "image create --guide",
185
+ "video create --guide",
186
+ "audio create --guide",
187
+ "3d create --guide",
188
+ "create --dry-run",
189
+ "create",
190
+ "image edit",
191
+ "upload",
192
+ "edit",
193
+ "assets show",
194
+ "assets get",
195
+ "jobs show",
196
+ "jobs wait",
197
+ "activity list",
198
+ "activity show",
199
+ "feedback create"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "key": "doctor",
205
+ "help": {
206
+ "command": "luxin doctor help",
207
+ "usage": "luxin doctor --json",
208
+ "docs_url": "https://luxin.sh/cli.md#luxin-doctor",
209
+ "description": "Check hosted API reachability, CLI version, auth state, health, and live-spend recovery breadcrumbs.",
210
+ "optional_flags": ["--sweep-in-flight"]
211
+ }
212
+ },
213
+ {
214
+ "key": "trust",
215
+ "help": {
216
+ "command": "luxin trust help",
217
+ "usage": "luxin trust --json",
218
+ "docs_url": "https://luxin.sh/cli.md#luxin-trust",
219
+ "description": "Return npm provenance, hosted contract hashes, API health, and model availability evidence."
220
+ }
221
+ },
222
+ {
223
+ "key": "signup",
224
+ "help": {
225
+ "command": "luxin signup help",
226
+ "usage": "luxin signup --agent --agent-name NAME --runtime RUNTIME --json",
227
+ "docs_url": "https://luxin.sh/cli.md#luxin-signup-agent",
228
+ "required_flags": ["--agent", "--agent-name", "--runtime"],
229
+ "optional_flags": [
230
+ "--agent-contact",
231
+ "--show-token",
232
+ "--no-save",
233
+ "--token-stdin"
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ "key": "claim",
239
+ "help": {
240
+ "command": "luxin claim help",
241
+ "usage": "luxin claim request --contact AGENT_OR_OPERATOR_INBOX --json",
242
+ "docs_url": "https://luxin.sh/cli.md#luxin-claim-request",
243
+ "subcommands": ["request"]
244
+ }
245
+ },
246
+ {
247
+ "key": "claim request",
248
+ "help": {
249
+ "command": "luxin claim request help",
250
+ "usage": "luxin claim request --contact AGENT_OR_OPERATOR_INBOX --json",
251
+ "docs_url": "https://luxin.sh/cli.md#luxin-claim-request",
252
+ "required_flags": ["--contact"],
253
+ "optional_flags": ["--token-stdin"]
254
+ }
255
+ },
256
+ {
257
+ "key": "whoami",
258
+ "help": {
259
+ "command": "luxin whoami help",
260
+ "usage": "luxin whoami --json",
261
+ "docs_url": "https://luxin.sh/cli.md#luxin-whoami"
262
+ }
263
+ },
264
+ {
265
+ "key": "usage",
266
+ "help": {
267
+ "command": "luxin usage help",
268
+ "usage": "luxin usage quota --json",
269
+ "docs_url": "https://luxin.sh/cli.md#luxin-usage",
270
+ "subcommands": ["quota"]
271
+ }
272
+ },
273
+ {
274
+ "key": "usage quota",
275
+ "help": {
276
+ "command": "luxin usage quota help",
277
+ "usage": "luxin usage quota --json",
278
+ "docs_url": "https://luxin.sh/cli.md#luxin-usage"
279
+ }
280
+ },
281
+ {
282
+ "key": "quota",
283
+ "help": {
284
+ "command": "luxin quota help",
285
+ "usage": "luxin quota --json",
286
+ "docs_url": "https://luxin.sh/cli.md#luxin-quota"
287
+ }
288
+ },
289
+ {
290
+ "key": "credits",
291
+ "help": {
292
+ "command": "luxin credits help",
293
+ "usage": "luxin credits <methods|packs list|quote|buy|status> --json",
294
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits",
295
+ "subcommands": ["methods", "packs list", "quote", "buy", "status"]
296
+ }
297
+ },
298
+ {
299
+ "key": "credits methods",
300
+ "help": {
301
+ "command": "luxin credits methods help",
302
+ "usage": "luxin credits methods",
303
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits"
304
+ }
305
+ },
306
+ {
307
+ "key": "credits packs",
308
+ "help": {
309
+ "command": "luxin credits packs help",
310
+ "usage": "luxin credits packs list --json",
311
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits",
312
+ "subcommands": ["list"]
313
+ }
314
+ },
315
+ {
316
+ "key": "credits quote",
317
+ "help": {
318
+ "command": "luxin credits quote help",
319
+ "usage": "luxin credits quote --pack PACK_ID --payment-method stripe_x402.exact.usdc --json",
320
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits",
321
+ "required_flags": ["--pack or --credits", "--payment-method"],
322
+ "optional_flags": ["--idempotency-key"]
323
+ }
324
+ },
325
+ {
326
+ "key": "credits buy",
327
+ "help": {
328
+ "command": "luxin credits buy help",
329
+ "usage": "luxin credits buy --provider stripe_x402 --quote-id QUOTE_ID --idempotency-key KEY --json",
330
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits",
331
+ "required_flags": ["--provider", "--quote-id", "--idempotency-key"],
332
+ "supported_providers": ["stripe", "stripe_x402"]
333
+ }
334
+ },
335
+ {
336
+ "key": "credits status",
337
+ "help": {
338
+ "command": "luxin credits status help",
339
+ "usage": "luxin credits status --payment-attempt-id PAYMENT_ATTEMPT_ID --json",
340
+ "docs_url": "https://luxin.sh/cli.md#luxin-credits",
341
+ "required_flags": ["--payment-attempt-id"]
342
+ }
343
+ },
344
+ {
345
+ "key": "capabilities",
346
+ "help": {
347
+ "command": "luxin capabilities help",
348
+ "usage": "luxin capabilities <list|show> --json",
349
+ "docs_url": "https://luxin.sh/cli.md#luxin-capabilities",
350
+ "subcommands": ["list", "show"]
351
+ }
352
+ },
353
+ {
354
+ "key": "capabilities list",
355
+ "help": {
356
+ "command": "luxin capabilities list help",
357
+ "usage": "luxin capabilities list --json",
358
+ "docs_url": "https://luxin.sh/cli.md#luxin-capabilities"
359
+ }
360
+ },
361
+ {
362
+ "key": "capabilities show",
363
+ "help": {
364
+ "command": "luxin capabilities show help",
365
+ "usage": "luxin capabilities show CAPABILITY_ID --json",
366
+ "docs_url": "https://luxin.sh/cli.md#luxin-capabilities"
367
+ }
368
+ },
369
+ {
370
+ "key": "models",
371
+ "help": {
372
+ "command": "luxin models help",
373
+ "usage": "luxin models <list|show> --json",
374
+ "docs_url": "https://luxin.sh/cli.md#luxin-models",
375
+ "subcommands": ["list", "show"]
376
+ }
377
+ },
378
+ {
379
+ "key": "models list",
380
+ "help": {
381
+ "command": "luxin models list help",
382
+ "usage": "luxin models list --available --operation image.generate --json",
383
+ "docs_url": "https://luxin.sh/cli.md#luxin-models",
384
+ "optional_flags": [
385
+ "--available",
386
+ "--executable",
387
+ "--catalog-only",
388
+ "--operation",
389
+ "--modality",
390
+ "--provider",
391
+ "--query",
392
+ "--summary",
393
+ "--details"
394
+ ]
395
+ }
396
+ },
397
+ {
398
+ "key": "models show",
399
+ "help": {
400
+ "command": "luxin models show help",
401
+ "usage": "luxin models show MODEL_ID --json",
402
+ "docs_url": "https://luxin.sh/cli.md#luxin-models"
403
+ }
404
+ },
405
+ {
406
+ "key": "create",
407
+ "help": {
408
+ "command": "luxin create help",
409
+ "usage": "luxin create --prompt \"...\" --intent explore --max-estimated-usd-per-image 0.07 --json",
410
+ "docs_url": "https://luxin.sh/cli.md#luxin-create",
411
+ "optional_flags": [
412
+ "--guide",
413
+ "--dry-run",
414
+ "--model",
415
+ "--aspect-ratio",
416
+ "--output-count",
417
+ "--element-frontal",
418
+ "--element-reference",
419
+ "--reference-image",
420
+ "--model-parameters-json",
421
+ "--idempotency-key"
422
+ ]
423
+ }
424
+ },
425
+ {
426
+ "key": "upload",
427
+ "help": {
428
+ "command": "luxin upload help",
429
+ "usage": "luxin upload PATH_OR_URL --json",
430
+ "docs_url": "https://luxin.sh/cli.md#luxin-upload"
431
+ }
432
+ },
433
+ {
434
+ "key": "edit",
435
+ "help": {
436
+ "command": "luxin edit help",
437
+ "usage": "luxin edit --input image_... --prompt \"...\" --json",
438
+ "docs_url": "https://luxin.sh/cli.md#luxin-edit",
439
+ "required_flags": ["--input"],
440
+ "optional_flags": [
441
+ "--guide",
442
+ "--dry-run",
443
+ "--prompt",
444
+ "--model",
445
+ "--mask",
446
+ "--element-reference",
447
+ "--element-frontal",
448
+ "--reference-image",
449
+ "--model-parameters-json",
450
+ "--idempotency-key"
451
+ ]
452
+ }
453
+ },
454
+ {
455
+ "key": "assets",
456
+ "help": {
457
+ "command": "luxin assets help",
458
+ "usage": "luxin assets <show|get> ASSET_ID_OR_URL --json",
459
+ "docs_url": "https://luxin.sh/cli.md#luxin-assets",
460
+ "subcommands": ["show", "get"]
461
+ }
462
+ },
463
+ {
464
+ "key": "assets show",
465
+ "help": {
466
+ "command": "luxin assets show help",
467
+ "usage": "luxin assets show ASSET_ID_OR_URL --json",
468
+ "docs_url": "https://luxin.sh/cli.md#luxin-assets"
469
+ }
470
+ },
471
+ {
472
+ "key": "assets get",
473
+ "help": {
474
+ "command": "luxin assets get help",
475
+ "usage": "luxin assets get ASSET_ID_OR_URL --output PATH --json",
476
+ "docs_url": "https://luxin.sh/cli.md#luxin-assets"
477
+ }
478
+ },
479
+ {
480
+ "key": "jobs",
481
+ "help": {
482
+ "command": "luxin jobs help",
483
+ "usage": "luxin jobs <show|wait> JOB_ID --json",
484
+ "docs_url": "https://luxin.sh/cli.md#luxin-jobs",
485
+ "subcommands": ["show", "wait"]
486
+ }
487
+ },
488
+ {
489
+ "key": "jobs show",
490
+ "help": {
491
+ "command": "luxin jobs show help",
492
+ "usage": "luxin jobs show JOB_ID --json",
493
+ "docs_url": "https://luxin.sh/cli.md#luxin-jobs"
494
+ }
495
+ },
496
+ {
497
+ "key": "jobs wait",
498
+ "help": {
499
+ "command": "luxin jobs wait help",
500
+ "usage": "luxin jobs wait JOB_ID --timeout-ms 30000 --json",
501
+ "docs_url": "https://luxin.sh/cli.md#luxin-jobs"
502
+ }
503
+ },
504
+ {
505
+ "key": "activity",
506
+ "help": {
507
+ "command": "luxin activity help",
508
+ "usage": "luxin activity <list|show> --json",
509
+ "docs_url": "https://luxin.sh/cli.md#luxin-activity",
510
+ "subcommands": ["list", "show"]
511
+ }
512
+ },
513
+ {
514
+ "key": "activity list",
515
+ "help": {
516
+ "command": "luxin activity list help",
517
+ "usage": "luxin activity list --subject JOB_ID --json",
518
+ "docs_url": "https://luxin.sh/cli.md#luxin-activity"
519
+ }
520
+ },
521
+ {
522
+ "key": "activity show",
523
+ "help": {
524
+ "command": "luxin activity show help",
525
+ "usage": "luxin activity show REFERENCE --json",
526
+ "docs_url": "https://luxin.sh/cli.md#luxin-activity"
527
+ }
528
+ },
529
+ {
530
+ "key": "feedback",
531
+ "help": {
532
+ "command": "luxin feedback help",
533
+ "usage": "luxin feedback create --title TITLE --body BODY --json",
534
+ "docs_url": "https://luxin.sh/cli.md#luxin-feedback",
535
+ "subcommands": ["create"]
536
+ }
537
+ },
538
+ {
539
+ "key": "feedback create",
540
+ "help": {
541
+ "command": "luxin feedback create help",
542
+ "usage": "luxin feedback create --title TITLE --body BODY --type user_feedback --json",
543
+ "docs_url": "https://luxin.sh/cli.md#luxin-feedback",
544
+ "optional_flags": [
545
+ "--title",
546
+ "--body",
547
+ "--type",
548
+ "--severity",
549
+ "--confidence",
550
+ "--expected",
551
+ "--actual",
552
+ "--command"
553
+ ]
554
+ }
555
+ }
556
+ ]
557
+ }