lua-cli 3.43.0 → 3.44.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/dist/api-exports.d.ts +117 -25
- package/dist/api-exports.js +129 -8
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +330 -113
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +18 -18
- package/dist/workflow-builder.d.ts +4 -1
- package/dist/workflow-builder.js.map +1 -1
- package/docs/api/Agents.md +7 -0
- package/docs/api/LuaJob.md +117 -87
- package/docs/api/PostProcessor.md +73 -42
- package/docs/api/User.md +104 -74
- package/docs/workflows/workspaces-and-long-steps.md +1 -1
- package/package.json +4 -4
- package/template/examples/postprocessors/modifyResponse.ts +4 -3
- package/template/package.json +1 -1
|
@@ -255,14 +255,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
255
255
|
*/
|
|
256
256
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
259
258
|
kind?: "plugin";
|
|
260
259
|
provider?: "deepgram" | "elevenlabs";
|
|
260
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
261
261
|
options?: Record<string, unknown>;
|
|
262
262
|
}, {
|
|
263
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
264
263
|
kind?: "plugin";
|
|
265
264
|
provider?: "deepgram" | "elevenlabs";
|
|
265
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
266
266
|
options?: Record<string, unknown>;
|
|
267
267
|
}>, z.ZodObject<{
|
|
268
268
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -321,14 +321,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
321
|
*/
|
|
322
322
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
325
324
|
kind?: "plugin";
|
|
326
325
|
provider?: "deepgram" | "elevenlabs";
|
|
326
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
327
327
|
options?: Record<string, unknown>;
|
|
328
328
|
}, {
|
|
329
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
330
329
|
kind?: "plugin";
|
|
331
330
|
provider?: "deepgram" | "elevenlabs";
|
|
331
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
332
332
|
options?: Record<string, unknown>;
|
|
333
333
|
}>, z.ZodObject<{
|
|
334
334
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -387,14 +387,14 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
387
387
|
*/
|
|
388
388
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
391
390
|
kind?: "plugin";
|
|
392
391
|
provider?: "deepgram" | "elevenlabs";
|
|
392
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
393
393
|
options?: Record<string, unknown>;
|
|
394
394
|
}, {
|
|
395
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
396
395
|
kind?: "plugin";
|
|
397
396
|
provider?: "deepgram" | "elevenlabs";
|
|
397
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
398
398
|
options?: Record<string, unknown>;
|
|
399
399
|
}>, z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"realtime">;
|
|
@@ -579,9 +579,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
579
579
|
model?: string;
|
|
580
580
|
options?: Record<string, unknown>;
|
|
581
581
|
} | {
|
|
582
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
583
582
|
kind?: "plugin";
|
|
584
583
|
provider?: "deepgram" | "elevenlabs";
|
|
584
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
585
585
|
options?: Record<string, unknown>;
|
|
586
586
|
} | {
|
|
587
587
|
kind?: "realtime";
|
|
@@ -595,9 +595,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
595
595
|
model?: string;
|
|
596
596
|
options?: Record<string, unknown>;
|
|
597
597
|
} | {
|
|
598
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
599
598
|
kind?: "plugin";
|
|
600
599
|
provider?: "deepgram" | "elevenlabs";
|
|
600
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
601
601
|
options?: Record<string, unknown>;
|
|
602
602
|
} | {
|
|
603
603
|
kind?: "realtime";
|
|
@@ -610,9 +610,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
model?: string;
|
|
611
611
|
options?: Record<string, unknown>;
|
|
612
612
|
} | {
|
|
613
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
614
613
|
kind?: "plugin";
|
|
615
614
|
provider?: "deepgram" | "elevenlabs";
|
|
615
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
616
616
|
options?: Record<string, unknown>;
|
|
617
617
|
} | {
|
|
618
618
|
kind?: "realtime";
|
|
@@ -673,9 +673,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
673
673
|
model?: string;
|
|
674
674
|
options?: Record<string, unknown>;
|
|
675
675
|
} | {
|
|
676
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
677
676
|
kind?: "plugin";
|
|
678
677
|
provider?: "deepgram" | "elevenlabs";
|
|
678
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
679
679
|
options?: Record<string, unknown>;
|
|
680
680
|
} | {
|
|
681
681
|
kind?: "realtime";
|
|
@@ -689,9 +689,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
689
689
|
model?: string;
|
|
690
690
|
options?: Record<string, unknown>;
|
|
691
691
|
} | {
|
|
692
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
693
692
|
kind?: "plugin";
|
|
694
693
|
provider?: "deepgram" | "elevenlabs";
|
|
694
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
695
695
|
options?: Record<string, unknown>;
|
|
696
696
|
} | {
|
|
697
697
|
kind?: "realtime";
|
|
@@ -704,9 +704,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
704
704
|
model?: string;
|
|
705
705
|
options?: Record<string, unknown>;
|
|
706
706
|
} | {
|
|
707
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
708
707
|
kind?: "plugin";
|
|
709
708
|
provider?: "deepgram" | "elevenlabs";
|
|
709
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
710
710
|
options?: Record<string, unknown>;
|
|
711
711
|
} | {
|
|
712
712
|
kind?: "realtime";
|
|
@@ -767,9 +767,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
767
767
|
model?: string;
|
|
768
768
|
options?: Record<string, unknown>;
|
|
769
769
|
} | {
|
|
770
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
771
770
|
kind?: "plugin";
|
|
772
771
|
provider?: "deepgram" | "elevenlabs";
|
|
772
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
773
773
|
options?: Record<string, unknown>;
|
|
774
774
|
} | {
|
|
775
775
|
kind?: "realtime";
|
|
@@ -783,9 +783,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
783
783
|
model?: string;
|
|
784
784
|
options?: Record<string, unknown>;
|
|
785
785
|
} | {
|
|
786
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
787
786
|
kind?: "plugin";
|
|
788
787
|
provider?: "deepgram" | "elevenlabs";
|
|
788
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
789
789
|
options?: Record<string, unknown>;
|
|
790
790
|
} | {
|
|
791
791
|
kind?: "realtime";
|
|
@@ -798,9 +798,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
798
|
model?: string;
|
|
799
799
|
options?: Record<string, unknown>;
|
|
800
800
|
} | {
|
|
801
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
802
801
|
kind?: "plugin";
|
|
803
802
|
provider?: "deepgram" | "elevenlabs";
|
|
803
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
804
804
|
options?: Record<string, unknown>;
|
|
805
805
|
} | {
|
|
806
806
|
kind?: "realtime";
|
|
@@ -861,9 +861,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
861
861
|
model?: string;
|
|
862
862
|
options?: Record<string, unknown>;
|
|
863
863
|
} | {
|
|
864
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
865
864
|
kind?: "plugin";
|
|
866
865
|
provider?: "deepgram" | "elevenlabs";
|
|
866
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
867
867
|
options?: Record<string, unknown>;
|
|
868
868
|
} | {
|
|
869
869
|
kind?: "realtime";
|
|
@@ -877,9 +877,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
877
877
|
model?: string;
|
|
878
878
|
options?: Record<string, unknown>;
|
|
879
879
|
} | {
|
|
880
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
881
880
|
kind?: "plugin";
|
|
882
881
|
provider?: "deepgram" | "elevenlabs";
|
|
882
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
883
883
|
options?: Record<string, unknown>;
|
|
884
884
|
} | {
|
|
885
885
|
kind?: "realtime";
|
|
@@ -892,9 +892,9 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
892
892
|
model?: string;
|
|
893
893
|
options?: Record<string, unknown>;
|
|
894
894
|
} | {
|
|
895
|
-
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
896
895
|
kind?: "plugin";
|
|
897
896
|
provider?: "deepgram" | "elevenlabs";
|
|
897
|
+
class?: "LLM" | "STT" | "STTv2" | "TTS";
|
|
898
898
|
options?: Record<string, unknown>;
|
|
899
899
|
} | {
|
|
900
900
|
kind?: "realtime";
|
|
@@ -448,7 +448,10 @@ export declare interface LuaWorkflowConfig {
|
|
|
448
448
|
* marketplace template freezes from this schedule: `'installer'` (the default when absent — every install's
|
|
449
449
|
* fires run as the person who installed, who gets the run card in their inbox) or `'system'` (the frozen copy
|
|
450
450
|
* runs user-less and unwatched — no inbox card for its runs; the install response says so). On this agent the
|
|
451
|
-
* schedule runs as you
|
|
451
|
+
* schedule runs as you, unless the platform has enabled author system schedules: then `'system'` makes this
|
|
452
|
+
* agent's own schedule run as the agent (`system:<agentId>`), like a template copy's, with you recorded as the
|
|
453
|
+
* deployer who scheduled it (the schedule stops if you lose access to the agent). A manual run ("Run now")
|
|
454
|
+
* always runs as the person who starts it.
|
|
452
455
|
*/
|
|
453
456
|
schedule?: JobSchedule & {
|
|
454
457
|
runAs?: 'installer' | 'system';
|