lua-cli 3.18.0 → 3.21.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.
@@ -266,11 +266,11 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
266
266
  }, "strip", z.ZodTypeAny, {
267
267
  options?: Record<string, unknown>;
268
268
  kind?: "realtime";
269
- provider?: "openai" | "google" | "xai";
269
+ provider?: "google" | "xai" | "openai";
270
270
  }, {
271
271
  options?: Record<string, unknown>;
272
272
  kind?: "realtime";
273
- provider?: "openai" | "google" | "xai";
273
+ provider?: "google" | "xai" | "openai";
274
274
  }>]>;
275
275
  stt: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
276
276
  kind: z.ZodLiteral<"inference">;
@@ -332,11 +332,11 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
332
332
  }, "strip", z.ZodTypeAny, {
333
333
  options?: Record<string, unknown>;
334
334
  kind?: "realtime";
335
- provider?: "openai" | "google" | "xai";
335
+ provider?: "google" | "xai" | "openai";
336
336
  }, {
337
337
  options?: Record<string, unknown>;
338
338
  kind?: "realtime";
339
- provider?: "openai" | "google" | "xai";
339
+ provider?: "google" | "xai" | "openai";
340
340
  }>]>>;
341
341
  tts: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
342
342
  kind: z.ZodLiteral<"inference">;
@@ -398,11 +398,11 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
398
398
  }, "strip", z.ZodTypeAny, {
399
399
  options?: Record<string, unknown>;
400
400
  kind?: "realtime";
401
- provider?: "openai" | "google" | "xai";
401
+ provider?: "google" | "xai" | "openai";
402
402
  }, {
403
403
  options?: Record<string, unknown>;
404
404
  kind?: "realtime";
405
- provider?: "openai" | "google" | "xai";
405
+ provider?: "google" | "xai" | "openai";
406
406
  }>]>>;
407
407
  vad: z.ZodOptional<z.ZodString>;
408
408
  vadOptions: z.ZodOptional<z.ZodObject<{
@@ -435,28 +435,28 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
435
435
  maxDelay: z.ZodOptional<z.ZodNumber>;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  enabled?: boolean;
438
- mode?: "vad" | "adaptive";
438
+ mode?: "adaptive" | "vad";
439
439
  falseInterruptionTimeout?: number;
440
440
  resumeFalseInterruption?: boolean;
441
441
  minDelay?: number;
442
442
  maxDelay?: number;
443
443
  }, {
444
444
  enabled?: boolean;
445
- mode?: "vad" | "adaptive";
445
+ mode?: "adaptive" | "vad";
446
446
  falseInterruptionTimeout?: number;
447
447
  resumeFalseInterruption?: boolean;
448
448
  minDelay?: number;
449
449
  maxDelay?: number;
450
450
  }>, {
451
451
  enabled?: boolean;
452
- mode?: "vad" | "adaptive";
452
+ mode?: "adaptive" | "vad";
453
453
  falseInterruptionTimeout?: number;
454
454
  resumeFalseInterruption?: boolean;
455
455
  minDelay?: number;
456
456
  maxDelay?: number;
457
457
  }, {
458
458
  enabled?: boolean;
459
- mode?: "vad" | "adaptive";
459
+ mode?: "adaptive" | "vad";
460
460
  falseInterruptionTimeout?: number;
461
461
  resumeFalseInterruption?: boolean;
462
462
  minDelay?: number;
@@ -560,6 +560,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
560
560
  onToolFailureSay: z.ZodOptional<z.ZodString>;
561
561
  excludeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
562
562
  }, "strip", z.ZodTypeAny, {
563
+ name?: string;
563
564
  vad?: string;
564
565
  stt?: {
565
566
  voice?: string;
@@ -574,10 +575,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
574
575
  } | {
575
576
  options?: Record<string, unknown>;
576
577
  kind?: "realtime";
577
- provider?: "openai" | "google" | "xai";
578
+ provider?: "google" | "xai" | "openai";
578
579
  };
579
580
  volume?: number;
580
- name?: string;
581
581
  llm?: {
582
582
  voice?: string;
583
583
  options?: Record<string, unknown>;
@@ -591,7 +591,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
591
591
  } | {
592
592
  options?: Record<string, unknown>;
593
593
  kind?: "realtime";
594
- provider?: "openai" | "google" | "xai";
594
+ provider?: "google" | "xai" | "openai";
595
595
  };
596
596
  tts?: {
597
597
  voice?: string;
@@ -606,7 +606,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
606
606
  } | {
607
607
  options?: Record<string, unknown>;
608
608
  kind?: "realtime";
609
- provider?: "openai" | "google" | "xai";
609
+ provider?: "google" | "xai" | "openai";
610
610
  };
611
611
  vadOptions?: {
612
612
  minSpeechDuration?: number;
@@ -621,7 +621,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
621
621
  preemptiveGeneration?: boolean;
622
622
  interruption?: {
623
623
  enabled?: boolean;
624
- mode?: "vad" | "adaptive";
624
+ mode?: "adaptive" | "vad";
625
625
  falseInterruptionTimeout?: number;
626
626
  resumeFalseInterruption?: boolean;
627
627
  minDelay?: number;
@@ -654,6 +654,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
654
654
  onToolFailureSay?: string;
655
655
  excludeTools?: string[];
656
656
  }, {
657
+ name?: string;
657
658
  vad?: string;
658
659
  stt?: {
659
660
  voice?: string;
@@ -668,10 +669,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
668
669
  } | {
669
670
  options?: Record<string, unknown>;
670
671
  kind?: "realtime";
671
- provider?: "openai" | "google" | "xai";
672
+ provider?: "google" | "xai" | "openai";
672
673
  };
673
674
  volume?: number;
674
- name?: string;
675
675
  llm?: {
676
676
  voice?: string;
677
677
  options?: Record<string, unknown>;
@@ -685,7 +685,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
685
685
  } | {
686
686
  options?: Record<string, unknown>;
687
687
  kind?: "realtime";
688
- provider?: "openai" | "google" | "xai";
688
+ provider?: "google" | "xai" | "openai";
689
689
  };
690
690
  tts?: {
691
691
  voice?: string;
@@ -700,7 +700,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
700
700
  } | {
701
701
  options?: Record<string, unknown>;
702
702
  kind?: "realtime";
703
- provider?: "openai" | "google" | "xai";
703
+ provider?: "google" | "xai" | "openai";
704
704
  };
705
705
  vadOptions?: {
706
706
  minSpeechDuration?: number;
@@ -715,7 +715,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
715
715
  preemptiveGeneration?: boolean;
716
716
  interruption?: {
717
717
  enabled?: boolean;
718
- mode?: "vad" | "adaptive";
718
+ mode?: "adaptive" | "vad";
719
719
  falseInterruptionTimeout?: number;
720
720
  resumeFalseInterruption?: boolean;
721
721
  minDelay?: number;
@@ -748,6 +748,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
748
748
  onToolFailureSay?: string;
749
749
  excludeTools?: string[];
750
750
  }>, {
751
+ name?: string;
751
752
  vad?: string;
752
753
  stt?: {
753
754
  voice?: string;
@@ -762,10 +763,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
762
763
  } | {
763
764
  options?: Record<string, unknown>;
764
765
  kind?: "realtime";
765
- provider?: "openai" | "google" | "xai";
766
+ provider?: "google" | "xai" | "openai";
766
767
  };
767
768
  volume?: number;
768
- name?: string;
769
769
  llm?: {
770
770
  voice?: string;
771
771
  options?: Record<string, unknown>;
@@ -779,7 +779,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
779
779
  } | {
780
780
  options?: Record<string, unknown>;
781
781
  kind?: "realtime";
782
- provider?: "openai" | "google" | "xai";
782
+ provider?: "google" | "xai" | "openai";
783
783
  };
784
784
  tts?: {
785
785
  voice?: string;
@@ -794,7 +794,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
794
794
  } | {
795
795
  options?: Record<string, unknown>;
796
796
  kind?: "realtime";
797
- provider?: "openai" | "google" | "xai";
797
+ provider?: "google" | "xai" | "openai";
798
798
  };
799
799
  vadOptions?: {
800
800
  minSpeechDuration?: number;
@@ -809,7 +809,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
809
809
  preemptiveGeneration?: boolean;
810
810
  interruption?: {
811
811
  enabled?: boolean;
812
- mode?: "vad" | "adaptive";
812
+ mode?: "adaptive" | "vad";
813
813
  falseInterruptionTimeout?: number;
814
814
  resumeFalseInterruption?: boolean;
815
815
  minDelay?: number;
@@ -842,6 +842,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
842
842
  onToolFailureSay?: string;
843
843
  excludeTools?: string[];
844
844
  }, {
845
+ name?: string;
845
846
  vad?: string;
846
847
  stt?: {
847
848
  voice?: string;
@@ -856,10 +857,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
856
857
  } | {
857
858
  options?: Record<string, unknown>;
858
859
  kind?: "realtime";
859
- provider?: "openai" | "google" | "xai";
860
+ provider?: "google" | "xai" | "openai";
860
861
  };
861
862
  volume?: number;
862
- name?: string;
863
863
  llm?: {
864
864
  voice?: string;
865
865
  options?: Record<string, unknown>;
@@ -873,7 +873,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
873
873
  } | {
874
874
  options?: Record<string, unknown>;
875
875
  kind?: "realtime";
876
- provider?: "openai" | "google" | "xai";
876
+ provider?: "google" | "xai" | "openai";
877
877
  };
878
878
  tts?: {
879
879
  voice?: string;
@@ -888,7 +888,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
888
888
  } | {
889
889
  options?: Record<string, unknown>;
890
890
  kind?: "realtime";
891
- provider?: "openai" | "google" | "xai";
891
+ provider?: "google" | "xai" | "openai";
892
892
  };
893
893
  vadOptions?: {
894
894
  minSpeechDuration?: number;
@@ -903,7 +903,7 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
903
903
  preemptiveGeneration?: boolean;
904
904
  interruption?: {
905
905
  enabled?: boolean;
906
- mode?: "vad" | "adaptive";
906
+ mode?: "adaptive" | "vad";
907
907
  falseInterruptionTimeout?: number;
908
908
  resumeFalseInterruption?: boolean;
909
909
  minDelay?: number;
@@ -587,39 +587,42 @@ $ lua channels list
587
587
 
588
588
  ## Marketplace
589
589
 
590
- ### `lua marketplace`
590
+ ### `lua marketplace [noun] [action]`
591
591
 
592
- Access the skills marketplace.
592
+ Browse, install, and manage marketplace skills and agent templates.
593
593
 
594
594
  **Usage:**
595
595
  ```bash
596
- lua marketplace [options]
596
+ lua marketplace [noun] [action] [options]
597
597
  ```
598
598
 
599
599
  **Description:**
600
- Interactive marketplace for discovering and installing community skills. Also allows publishing your own skills.
600
+ With no arguments, prompts for a domain **Skills** or **Agent templates** then hands off to that domain's own interactive picker. Pass `noun` (`skill` or `template`) to skip straight to a domain, and `action` for non-interactive mode.
601
601
 
602
- **Features:**
603
- - 🔍 Browse verified skills
604
- - 📥 Install skills to your agent
605
- - 📤 Publish your own skills
606
- - View ratings and reviews
602
+ **Skill actions** (`lua marketplace skill <action>`):
603
+ - `list`, `publish`, `edit`, `unlist`, `unpublish`, `mine` — manage your own listings
604
+ - `search`, `view`, `install`, `update`, `uninstall`, `installed` — browse and manage skills on this agent
605
+
606
+ **Template actions** (`lua marketplace template <action>`):
607
+ - `create`, `publish`, `view`, `versions` — manage a versioned snapshot of an agent's deployable manifest
608
+ - `install`, `apply`, `status`, `installed`, `uninstall` — install onto one agent, or fleet-apply across many
607
609
 
608
610
  **Example:**
609
611
  ```bash
610
612
  $ lua marketplace
611
- ? What would you like to do?
612
- Browse Skills (Installer)
613
- Publish Skill (Creator)
613
+ ? What would you like to browse?
614
+ ❯ Skills
615
+ Agent templates
614
616
 
615
- ? Select category:
616
- - E-commerce
617
- - Productivity
618
- - Data Analysis
619
- - Communication
617
+ ? What would you like to do?
618
+ Browse & search for skills
619
+ Install a skill
620
+ ...
620
621
 
621
- ? Install "Advanced Calculator"? Yes
622
+ $ lua marketplace skill install --marketplace-id xyz --version-id v1 --force
622
623
  ✅ Skill installed successfully
624
+
625
+ $ lua marketplace template apply --template-id xyz --all-installed --force
623
626
  ```
624
627
 
625
628
  ---
package/docs/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # lua-cli v3.18.0
1
+ # lua-cli v3.21.0
2
2
 
3
- Welcome to the comprehensive API documentation for lua-cli v3.16.2. This guide covers every API, class, and function exported by the package.
3
+ Welcome to the comprehensive API documentation for lua-cli v3.21.0. This guide covers every API, class, and function exported by the package.
4
4
 
5
5
  ## 📚 Documentation Index
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "3.18.0",
3
+ "version": "3.21.0",
4
4
  "description": "Build, test, and deploy AI agents with custom tools, webhooks, and scheduled jobs. Features LuaAgent unified configuration, streaming chat, and batch deployment.",
5
5
  "readmeFilename": "README.md",
6
6
  "main": "dist/api-exports.js",
@@ -109,9 +109,9 @@
109
109
  "stripe": "^19.2.0",
110
110
  "ts-node": "^10.9.2",
111
111
  "tsup": "^8.5.1",
112
+ "@lua/shared-source-sync": "0.0.1",
112
113
  "@lua/shared-sandbox": "0.0.1",
113
- "@lua/shared-types": "0.0.1",
114
- "@lua/shared-source-sync": "0.0.1"
114
+ "@lua/shared-types": "0.0.1"
115
115
  },
116
116
  "scripts": {
117
117
  "clean": "rm -rf dist temp",
@@ -20,7 +20,7 @@
20
20
  "inquirer": "^12.9.6",
21
21
  "stripe": "^17.5.0",
22
22
  "js-yaml": "^4.1.0",
23
- "lua-cli": "^3.18.0",
23
+ "lua-cli": "^3.21.0",
24
24
  "openai": "^5.23.0",
25
25
  "uuid": "^13.0.0",
26
26
  "zod": "^3.24.1"