lua-cli 3.44.0 → 3.46.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 +633 -501
- package/dist/api-exports.js +1231 -262
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +2708 -1214
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +462 -462
- package/dist/workflow-builder.d.ts +5 -1
- package/dist/workflow-builder.js +893 -49
- package/dist/workflow-builder.js.map +1 -1
- package/docs/API_REFERENCE.md +1 -1
- package/docs/README.md +1 -1
- package/docs/api/Agents.md +22 -10
- package/docs/api/Baskets.md +11 -1
- package/docs/api/Workflows.md +12 -4
- package/docs/workflows/approvals.md +2 -0
- package/docs/workflows/workspaces-and-long-steps.md +2 -0
- package/package.json +2 -2
- package/template/package.json +1 -1
- package/template-web-app/web/package.json +1 -0
- package/template-web-app/web/src/App.tsx +1 -1
- package/template-web-app/web/src/main.tsx +1 -1
- package/template-web-app/web/src/lua/client.ts +0 -264
package/dist/api-exports.d.ts
CHANGED
|
@@ -720,6 +720,15 @@ export declare interface AgentsApi {
|
|
|
720
720
|
promote(version: number, opts: {
|
|
721
721
|
expectActive: number | null;
|
|
722
722
|
}): Promise<unknown>;
|
|
723
|
+
/**
|
|
724
|
+
* WD — restore `version`, a version that was ACTIVE before, is OLDER than the active one and was active within the
|
|
725
|
+
* last 7 days (`supervision:rollback`, held only by a WATCHDOG grant; only from a workflow step the grant names).
|
|
726
|
+
* Compare-and-swap: refused (409 `supervision_rollback_conflict`) unless `expectActive` is the active version.
|
|
727
|
+
* Other refusals: `supervision_rollback_never_active`, `supervision_rollback_not_older`, `supervision_rollback_too_old`.
|
|
728
|
+
*/
|
|
729
|
+
rollback(version: number, opts: {
|
|
730
|
+
expectActive: number;
|
|
731
|
+
}): Promise<unknown>;
|
|
723
732
|
/**
|
|
724
733
|
* Soft-delete `version` (`supervision:release`; only from a named workflow step). Refused
|
|
725
734
|
* (409 `supervision_version_not_superseded`) unless the version is `superseded` — never the
|
|
@@ -788,12 +797,27 @@ export declare interface AgentsApi {
|
|
|
788
797
|
* Publish workflow `version` (a semver). Compare-and-swap: refused (409 `WORKFLOW_DEPLOY_CONFLICT`, the
|
|
789
798
|
* message names the live version) unless `expectActive` is the workflow's live version ID (null = none live).
|
|
790
799
|
* A deploy also records a new active agent version, so a later `versions.promote` needs a fresh
|
|
791
|
-
* `expectActive`.
|
|
800
|
+
* `expectActive`. `commitHash` is the optional source commit the deployed version was built from; it is
|
|
801
|
+
* forwarded unchanged, and when omitted the platform decides what to record.
|
|
792
802
|
*/
|
|
793
803
|
deploy(workflowId: string, version: string, opts: {
|
|
794
804
|
expectActive: string | null;
|
|
805
|
+
commitHash?: string;
|
|
795
806
|
}): Promise<unknown>;
|
|
796
807
|
};
|
|
808
|
+
/**
|
|
809
|
+
* A job of the target.
|
|
810
|
+
* @experimental Under `lua test` / `lua dev` this is always refused. In a deployed agent it works only once the
|
|
811
|
+
* platform serves `jobs.register`, and needs the `supervision:register-job` grant.
|
|
812
|
+
*/
|
|
813
|
+
jobs(agentId: string): {
|
|
814
|
+
/**
|
|
815
|
+
* Register job `jobId`, defined in the staged version `versionId`, on the target.
|
|
816
|
+
* @experimental Under `lua test` / `lua dev` it is always refused (`supervision_release_offline_refused`). In a
|
|
817
|
+
* deployed agent it needs the `supervision:register-job` grant (`supervision_not_granted` without it).
|
|
818
|
+
*/
|
|
819
|
+
register(input: SupervisedJobRegisterInput): Promise<SupervisedJobRegisterResult>;
|
|
820
|
+
};
|
|
797
821
|
persona(agentId: string): {
|
|
798
822
|
versions(): Promise<unknown>;
|
|
799
823
|
/** Serve persona `version` (`supervision:release`). CAS on the served persona version. */
|
|
@@ -825,6 +849,17 @@ export declare interface AgentsApi {
|
|
|
825
849
|
keys: string[];
|
|
826
850
|
}>;
|
|
827
851
|
};
|
|
852
|
+
/**
|
|
853
|
+
* What the agent serves RIGHT NOW (`supervision:observe`): its live skills (each with its tools), the published
|
|
854
|
+
* persona, its pre/postprocessors and its `model`, read from each primitive's live pointer, never the latest push. Each
|
|
855
|
+
* `versionId` means what an agent version snapshot's does (skill = semver, processor = version id, persona =
|
|
856
|
+
* persona version id with the same `contentHash`), so you can diff live against a staged version even when the
|
|
857
|
+
* agent has no promoted agent version (`activeAgentVersion: null`). `model` is the model the agent runs now (`''`
|
|
858
|
+
* when unset, as in a snapshot): a promote applies the version's model, so compare it with the snapshot's. Metadata and hashes only: read code with
|
|
859
|
+
* `source(agentId).get(path)` and persona text with `persona(agentId).versions()`. Platform only: offline
|
|
860
|
+
* (`lua test` / `lua dev`) it throws `supervision_offline_unsupported`.
|
|
861
|
+
*/
|
|
862
|
+
deployed(agentId: string): Promise<DeployedPrimitives>;
|
|
828
863
|
/**
|
|
829
864
|
* Supervision events of the target (`supervision:observe`). Each event of a subscribed kind
|
|
830
865
|
* (`governance.blocked`, `workflow.run_failed`, `workflow.run_gated`, `connection.unhealthy`, …)
|
|
@@ -1201,6 +1236,12 @@ declare interface AgentToolScope_2 {
|
|
|
1201
1236
|
connectionIds?: string[];
|
|
1202
1237
|
/** Allowlisted skill ids (from the agent's `subAgent.skills`). */
|
|
1203
1238
|
skillIds?: string[];
|
|
1239
|
+
/**
|
|
1240
|
+
* Allowlisted tool ids, as a workflow agent step's `toolScope.toolIds` declares them. Today the runtime applies
|
|
1241
|
+
* it to device tools only: when it names at least one `device__<device>__<command>` tool, only the named device
|
|
1242
|
+
* tools are offered; otherwise (absent, empty, or no device tool named) device tools are unaffected.
|
|
1243
|
+
*/
|
|
1244
|
+
toolIds?: string[];
|
|
1204
1245
|
}
|
|
1205
1246
|
|
|
1206
1247
|
export declare const AI: AiApi;
|
|
@@ -1960,9 +2001,9 @@ export declare const CDN: {
|
|
|
1960
2001
|
/**
|
|
1961
2002
|
* Channel type.
|
|
1962
2003
|
* Represents the communication channel through which a request originated.
|
|
1963
|
-
* Known channels are typed as string literals
|
|
2004
|
+
* Known channels are typed as string literals; unrecognised channels fall through as plain strings.
|
|
1964
2005
|
*/
|
|
1965
|
-
export declare type Channel = 'web' | 'whatsapp' | 'facebook' | 'instagram' | 'slack' | 'teams' | 'front' | 'messagebird' | 'api' | 'dev' | 'email' | string;
|
|
2006
|
+
export declare type Channel = 'web' | 'pop' | 'phone' | 'meeting' | 'whatsapp' | 'facebook' | 'instagram' | 'slack' | 'teams' | 'front' | 'messagebird' | 'api' | 'dev' | 'email' | 'rcs' | 'sms' | 'mms' | 'imessage' | 'device' | string;
|
|
1966
2007
|
|
|
1967
2008
|
/** Channels accepted by the v1 unified send. Warm-only channels (teams,
|
|
1968
2009
|
* instagram, messenger) require a prior inbound conversation. */
|
|
@@ -2972,8 +3013,8 @@ export { DatasetRef }
|
|
|
2972
3013
|
* paper_low: {
|
|
2973
3014
|
* description: 'Fired when paper level drops below threshold',
|
|
2974
3015
|
* payloadSchema: z.object({ level: z.number() }),
|
|
2975
|
-
* execute: async (payload, {
|
|
2976
|
-
*
|
|
3016
|
+
* execute: async (payload, { device, trigger }) => {
|
|
3017
|
+
* return { device: device.name, trigger: trigger.name, level: payload.level };
|
|
2977
3018
|
* },
|
|
2978
3019
|
* },
|
|
2979
3020
|
* },
|
|
@@ -2998,8 +3039,8 @@ export declare function defineDevice(config: LuaDeviceConfig): LuaDevice;
|
|
|
2998
3039
|
* name: 'paper-low',
|
|
2999
3040
|
* description: 'Fired when printer paper drops below threshold',
|
|
3000
3041
|
* payloadSchema: z.object({ level: z.number() }),
|
|
3001
|
-
* execute: async (payload, {
|
|
3002
|
-
*
|
|
3042
|
+
* execute: async (payload, { device, trigger }) => {
|
|
3043
|
+
* return { device: device.name, trigger: trigger.name, level: payload.level };
|
|
3003
3044
|
* },
|
|
3004
3045
|
* });
|
|
3005
3046
|
* ```
|
|
@@ -3193,6 +3234,69 @@ export declare interface DeliveryView {
|
|
|
3193
3234
|
failedAt?: string;
|
|
3194
3235
|
}
|
|
3195
3236
|
|
|
3237
|
+
declare interface DeployedPersona {
|
|
3238
|
+
versionId: string;
|
|
3239
|
+
version?: number;
|
|
3240
|
+
/** The same hash an agent version snapshot stores for its persona. */
|
|
3241
|
+
contentHash: string;
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
/**
|
|
3245
|
+
* SV (LUA-1080) — `primitives.deployed` / `Agents.deployed(id)`: the target's CURRENTLY DEPLOYED primitives, read from
|
|
3246
|
+
* each primitive's live pointer (never the latest push). An agent whose live state was deployed primitive by
|
|
3247
|
+
* primitive, with no promoted agent version, answers the same shape, so a supervisor can diff it against a staged
|
|
3248
|
+
* version.
|
|
3249
|
+
*
|
|
3250
|
+
* `versionId` follows the agent version snapshot's semantics entry by entry: a skill's is its semver, a processor's
|
|
3251
|
+
* the version document id, the persona's the PersonaVersion id with the same `contentHash`. Never code, tool source
|
|
3252
|
+
* or persona text: read those with `source.get` and `persona.versions`.
|
|
3253
|
+
*/
|
|
3254
|
+
declare interface DeployedPrimitives {
|
|
3255
|
+
agentId: string;
|
|
3256
|
+
/** The promoted (`active`) agent version, or null when the live state is not a promoted version. */
|
|
3257
|
+
activeAgentVersion: number | null;
|
|
3258
|
+
/**
|
|
3259
|
+
* The model the agent runs now (`SubAgent.model`), with the agent version snapshot's meaning: a promote writes
|
|
3260
|
+
* `snapshot.model` here, and an unset model reads `''` as it does in a snapshot, so `model === snapshot.model`
|
|
3261
|
+
* holds exactly when the release would leave the model unchanged.
|
|
3262
|
+
*/
|
|
3263
|
+
model: string;
|
|
3264
|
+
skills: DeployedSkill[];
|
|
3265
|
+
/** The served (`published`) persona, or null when none is published. */
|
|
3266
|
+
persona: DeployedPersona | null;
|
|
3267
|
+
preprocessors: DeployedProcessor[];
|
|
3268
|
+
postprocessors: DeployedProcessor[];
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
declare interface DeployedProcessor {
|
|
3272
|
+
id: string;
|
|
3273
|
+
name?: string;
|
|
3274
|
+
/** The live version document id (`activeVersionId`). */
|
|
3275
|
+
versionId: string;
|
|
3276
|
+
version: string;
|
|
3277
|
+
codeHash?: string;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
declare interface DeployedSkill {
|
|
3281
|
+
skillId: string;
|
|
3282
|
+
name?: string;
|
|
3283
|
+
/** The live semver (`Skills.activeVersionId`), as an agent version snapshot pins it. */
|
|
3284
|
+
versionId: string;
|
|
3285
|
+
version: string;
|
|
3286
|
+
/** Where the skill came from: `cli`, `marketplace`, `manual` or `template`. */
|
|
3287
|
+
origin?: string;
|
|
3288
|
+
/** The deployed version's tools. Equal skill `versionId` ⇒ equal tools. */
|
|
3289
|
+
tools: DeployedTool[];
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
declare interface DeployedTool {
|
|
3293
|
+
name: string;
|
|
3294
|
+
/** The uploaded bundle's content hash, when the version stores one. */
|
|
3295
|
+
codeHash?: string;
|
|
3296
|
+
/** Whether the author's TypeScript source is attached to this version. */
|
|
3297
|
+
hasSource: boolean;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3196
3300
|
declare type Depth = [never, 0, 1, 2, 3, 4];
|
|
3197
3301
|
|
|
3198
3302
|
/** Configuration for a single device command (agent → device) */
|
|
@@ -3218,13 +3322,20 @@ export declare interface DeviceTriggerConfig {
|
|
|
3218
3322
|
payloadSchema?: ZodType;
|
|
3219
3323
|
/**
|
|
3220
3324
|
* Handler that runs on lua-core when the device fires this trigger.
|
|
3221
|
-
*
|
|
3325
|
+
* Receives `(payload, { device, trigger })`; the returned value is the trigger result.
|
|
3222
3326
|
*/
|
|
3223
|
-
execute?: (payload: any, context:
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3327
|
+
execute?: (payload: any, context: DeviceTriggerContext) => Promise<any>;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
/** Context a device-trigger handler receives; mirrors what lua-core (execute.device-trigger.service.ts) and sandbox-runtime (wrapper-templates.ts) pass. */
|
|
3331
|
+
export declare interface DeviceTriggerContext {
|
|
3332
|
+
device: {
|
|
3333
|
+
name: string;
|
|
3334
|
+
};
|
|
3335
|
+
trigger: {
|
|
3336
|
+
name: string;
|
|
3337
|
+
triggerId: string;
|
|
3338
|
+
};
|
|
3228
3339
|
}
|
|
3229
3340
|
|
|
3230
3341
|
/** A matched org member and their shareable channel targets (empty when none shared). */
|
|
@@ -3762,10 +3873,11 @@ declare abstract class HttpClient {
|
|
|
3762
3873
|
* Performs an HTTP GET request
|
|
3763
3874
|
* @param url - The relative URL path to request (will be appended to baseUrl)
|
|
3764
3875
|
* @param headers - Optional HTTP headers to include in the request
|
|
3876
|
+
* @param overrides - Optional per-call overrides (timeout, caller AbortSignal)
|
|
3765
3877
|
* @returns Promise resolving to an ApiResponse with typed data
|
|
3766
3878
|
* @protected
|
|
3767
3879
|
*/
|
|
3768
|
-
protected httpGet<T>(url: string, headers?: Record<string, string
|
|
3880
|
+
protected httpGet<T>(url: string, headers?: Record<string, string>, overrides?: RequestOverrides): Promise<ApiResponse<T>>;
|
|
3769
3881
|
/**
|
|
3770
3882
|
* Performs an HTTP POST request
|
|
3771
3883
|
* @param url - The relative URL path to request (will be appended to baseUrl)
|
|
@@ -3788,27 +3900,30 @@ declare abstract class HttpClient {
|
|
|
3788
3900
|
* @param url - The relative URL path to request (will be appended to baseUrl)
|
|
3789
3901
|
* @param data - Optional request body data (will be JSON stringified)
|
|
3790
3902
|
* @param headers - Optional HTTP headers to include in the request
|
|
3903
|
+
* @param overrides - Optional per-call overrides (timeout, caller AbortSignal)
|
|
3791
3904
|
* @returns Promise resolving to an ApiResponse with typed data
|
|
3792
3905
|
* @protected
|
|
3793
3906
|
*/
|
|
3794
|
-
protected httpPut<T>(url: string, data?: any, headers?: Record<string, string
|
|
3907
|
+
protected httpPut<T>(url: string, data?: any, headers?: Record<string, string>, overrides?: RequestOverrides): Promise<ApiResponse<T>>;
|
|
3795
3908
|
/**
|
|
3796
3909
|
* Performs an HTTP DELETE request
|
|
3797
3910
|
* @param url - The relative URL path to request (will be appended to baseUrl)
|
|
3798
3911
|
* @param headers - Optional HTTP headers to include in the request
|
|
3912
|
+
* @param overrides - Optional per-call overrides (timeout, caller AbortSignal)
|
|
3799
3913
|
* @returns Promise resolving to an ApiResponse with typed data
|
|
3800
3914
|
* @protected
|
|
3801
3915
|
*/
|
|
3802
|
-
protected httpDelete<T>(url: string, headers?: Record<string, string
|
|
3916
|
+
protected httpDelete<T>(url: string, headers?: Record<string, string>, overrides?: RequestOverrides): Promise<ApiResponse<T>>;
|
|
3803
3917
|
/**
|
|
3804
3918
|
* Performs an HTTP PATCH request
|
|
3805
3919
|
* @param url - The relative URL path to request (will be appended to baseUrl)
|
|
3806
3920
|
* @param data - Optional request body data (will be JSON stringified)
|
|
3807
3921
|
* @param headers - Optional HTTP headers to include in the request
|
|
3922
|
+
* @param overrides - Optional per-call overrides (timeout, caller AbortSignal)
|
|
3808
3923
|
* @returns Promise resolving to an ApiResponse with typed data
|
|
3809
3924
|
* @protected
|
|
3810
3925
|
*/
|
|
3811
|
-
protected httpPatch<T>(url: string, data?: any, headers?: Record<string, string
|
|
3926
|
+
protected httpPatch<T>(url: string, data?: any, headers?: Record<string, string>, overrides?: RequestOverrides): Promise<ApiResponse<T>>;
|
|
3812
3927
|
/**
|
|
3813
3928
|
* Performs one HTTP PATCH attempt (no client retry).
|
|
3814
3929
|
*
|
|
@@ -5030,8 +5145,8 @@ export declare class LuaDevice {
|
|
|
5030
5145
|
* paper_low: {
|
|
5031
5146
|
* description: 'Fired when paper level drops below threshold',
|
|
5032
5147
|
* payloadSchema: z.object({ level: z.number(), threshold: z.number() }),
|
|
5033
|
-
* execute: async (payload, {
|
|
5034
|
-
*
|
|
5148
|
+
* execute: async (payload, { device, trigger }) => {
|
|
5149
|
+
* return { device: device.name, trigger: trigger.name, level: payload.level };
|
|
5035
5150
|
* },
|
|
5036
5151
|
* },
|
|
5037
5152
|
* },
|
|
@@ -5063,12 +5178,7 @@ export declare class LuaDeviceTrigger {
|
|
|
5063
5178
|
readonly name: string;
|
|
5064
5179
|
readonly description: string;
|
|
5065
5180
|
readonly payloadSchema?: ZodType;
|
|
5066
|
-
readonly execute: (payload: any, context:
|
|
5067
|
-
agent: any;
|
|
5068
|
-
device: {
|
|
5069
|
-
name: string;
|
|
5070
|
-
};
|
|
5071
|
-
}) => Promise<any>;
|
|
5181
|
+
readonly execute: (payload: any, context: DeviceTriggerContext) => Promise<any>;
|
|
5072
5182
|
constructor(config: LuaDeviceTriggerConfig);
|
|
5073
5183
|
}
|
|
5074
5184
|
|
|
@@ -5089,8 +5199,8 @@ export declare class LuaDeviceTrigger {
|
|
|
5089
5199
|
* name: 'paper-low',
|
|
5090
5200
|
* description: 'Fired when printer paper drops below threshold',
|
|
5091
5201
|
* payloadSchema: z.object({ level: z.number() }),
|
|
5092
|
-
* execute: async (payload, {
|
|
5093
|
-
*
|
|
5202
|
+
* execute: async (payload, { device, trigger }) => {
|
|
5203
|
+
* return { device: device.name, trigger: trigger.name, level: payload.level };
|
|
5094
5204
|
* },
|
|
5095
5205
|
* });
|
|
5096
5206
|
* ```
|
|
@@ -5103,12 +5213,7 @@ export declare interface LuaDeviceTriggerConfig {
|
|
|
5103
5213
|
/** Zod schema for trigger payload validation */
|
|
5104
5214
|
payloadSchema?: ZodType;
|
|
5105
5215
|
/** Function that executes when the trigger fires */
|
|
5106
|
-
execute: (payload: any, context:
|
|
5107
|
-
agent: any;
|
|
5108
|
-
device: {
|
|
5109
|
-
name: string;
|
|
5110
|
-
};
|
|
5111
|
-
}) => Promise<any>;
|
|
5216
|
+
execute: (payload: any, context: DeviceTriggerContext) => Promise<any>;
|
|
5112
5217
|
}
|
|
5113
5218
|
|
|
5114
5219
|
/**
|
|
@@ -5369,7 +5474,7 @@ export declare class LuaMCPServer {
|
|
|
5369
5474
|
/**
|
|
5370
5475
|
* Union type for all MCP server configurations.
|
|
5371
5476
|
*
|
|
5372
|
-
* Note: stdio transport is not supported
|
|
5477
|
+
* Note: stdio transport is not supported.
|
|
5373
5478
|
* Use 'streamable-http' (recommended) or 'sse' (legacy) instead.
|
|
5374
5479
|
*/
|
|
5375
5480
|
export declare type LuaMCPServerConfig = MCPSSEServerConfig | MCPStreamableHttpServerConfig;
|
|
@@ -5838,15 +5943,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5838
5943
|
*/
|
|
5839
5944
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5840
5945
|
}, "strip", z.ZodTypeAny, {
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5946
|
+
kind: "inference";
|
|
5947
|
+
model: string;
|
|
5948
|
+
options?: Record<string, unknown> | undefined;
|
|
5949
|
+
voice?: string | undefined;
|
|
5845
5950
|
}, {
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5951
|
+
kind: "inference";
|
|
5952
|
+
model: string;
|
|
5953
|
+
options?: Record<string, unknown> | undefined;
|
|
5954
|
+
voice?: string | undefined;
|
|
5850
5955
|
}>, z.ZodObject<{
|
|
5851
5956
|
kind: z.ZodLiteral<"plugin">;
|
|
5852
5957
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -5859,15 +5964,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5859
5964
|
*/
|
|
5860
5965
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5861
5966
|
}, "strip", z.ZodTypeAny, {
|
|
5862
|
-
kind
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5967
|
+
kind: "plugin";
|
|
5968
|
+
options: Record<string, unknown>;
|
|
5969
|
+
provider: "deepgram" | "elevenlabs";
|
|
5970
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
5866
5971
|
}, {
|
|
5867
|
-
kind
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5972
|
+
kind: "plugin";
|
|
5973
|
+
options: Record<string, unknown>;
|
|
5974
|
+
provider: "deepgram" | "elevenlabs";
|
|
5975
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
5871
5976
|
}>, z.ZodObject<{
|
|
5872
5977
|
kind: z.ZodLiteral<"realtime">;
|
|
5873
5978
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -5879,13 +5984,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5879
5984
|
*/
|
|
5880
5985
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5881
5986
|
}, "strip", z.ZodTypeAny, {
|
|
5882
|
-
kind
|
|
5883
|
-
|
|
5884
|
-
|
|
5987
|
+
kind: "realtime";
|
|
5988
|
+
options: Record<string, unknown>;
|
|
5989
|
+
provider: "openai" | "google" | "xai";
|
|
5885
5990
|
}, {
|
|
5886
|
-
kind
|
|
5887
|
-
|
|
5888
|
-
|
|
5991
|
+
kind: "realtime";
|
|
5992
|
+
options: Record<string, unknown>;
|
|
5993
|
+
provider: "openai" | "google" | "xai";
|
|
5889
5994
|
}>]>;
|
|
5890
5995
|
stt: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5891
5996
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -5904,15 +6009,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5904
6009
|
*/
|
|
5905
6010
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5906
6011
|
}, "strip", z.ZodTypeAny, {
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
6012
|
+
kind: "inference";
|
|
6013
|
+
model: string;
|
|
6014
|
+
options?: Record<string, unknown> | undefined;
|
|
6015
|
+
voice?: string | undefined;
|
|
5911
6016
|
}, {
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
6017
|
+
kind: "inference";
|
|
6018
|
+
model: string;
|
|
6019
|
+
options?: Record<string, unknown> | undefined;
|
|
6020
|
+
voice?: string | undefined;
|
|
5916
6021
|
}>, z.ZodObject<{
|
|
5917
6022
|
kind: z.ZodLiteral<"plugin">;
|
|
5918
6023
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -5925,15 +6030,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5925
6030
|
*/
|
|
5926
6031
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5927
6032
|
}, "strip", z.ZodTypeAny, {
|
|
5928
|
-
kind
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
6033
|
+
kind: "plugin";
|
|
6034
|
+
options: Record<string, unknown>;
|
|
6035
|
+
provider: "deepgram" | "elevenlabs";
|
|
6036
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
5932
6037
|
}, {
|
|
5933
|
-
kind
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
6038
|
+
kind: "plugin";
|
|
6039
|
+
options: Record<string, unknown>;
|
|
6040
|
+
provider: "deepgram" | "elevenlabs";
|
|
6041
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
5937
6042
|
}>, z.ZodObject<{
|
|
5938
6043
|
kind: z.ZodLiteral<"realtime">;
|
|
5939
6044
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -5945,13 +6050,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5945
6050
|
*/
|
|
5946
6051
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5947
6052
|
}, "strip", z.ZodTypeAny, {
|
|
5948
|
-
kind
|
|
5949
|
-
|
|
5950
|
-
|
|
6053
|
+
kind: "realtime";
|
|
6054
|
+
options: Record<string, unknown>;
|
|
6055
|
+
provider: "openai" | "google" | "xai";
|
|
5951
6056
|
}, {
|
|
5952
|
-
kind
|
|
5953
|
-
|
|
5954
|
-
|
|
6057
|
+
kind: "realtime";
|
|
6058
|
+
options: Record<string, unknown>;
|
|
6059
|
+
provider: "openai" | "google" | "xai";
|
|
5955
6060
|
}>]>>;
|
|
5956
6061
|
tts: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
5957
6062
|
kind: z.ZodLiteral<"inference">;
|
|
@@ -5970,15 +6075,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5970
6075
|
*/
|
|
5971
6076
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5972
6077
|
}, "strip", z.ZodTypeAny, {
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
6078
|
+
kind: "inference";
|
|
6079
|
+
model: string;
|
|
6080
|
+
options?: Record<string, unknown> | undefined;
|
|
6081
|
+
voice?: string | undefined;
|
|
5977
6082
|
}, {
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
6083
|
+
kind: "inference";
|
|
6084
|
+
model: string;
|
|
6085
|
+
options?: Record<string, unknown> | undefined;
|
|
6086
|
+
voice?: string | undefined;
|
|
5982
6087
|
}>, z.ZodObject<{
|
|
5983
6088
|
kind: z.ZodLiteral<"plugin">;
|
|
5984
6089
|
provider: z.ZodEnum<["deepgram", "elevenlabs"]>;
|
|
@@ -5991,15 +6096,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5991
6096
|
*/
|
|
5992
6097
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5993
6098
|
}, "strip", z.ZodTypeAny, {
|
|
5994
|
-
kind
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
6099
|
+
kind: "plugin";
|
|
6100
|
+
options: Record<string, unknown>;
|
|
6101
|
+
provider: "deepgram" | "elevenlabs";
|
|
6102
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
5998
6103
|
}, {
|
|
5999
|
-
kind
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6104
|
+
kind: "plugin";
|
|
6105
|
+
options: Record<string, unknown>;
|
|
6106
|
+
provider: "deepgram" | "elevenlabs";
|
|
6107
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6003
6108
|
}>, z.ZodObject<{
|
|
6004
6109
|
kind: z.ZodLiteral<"realtime">;
|
|
6005
6110
|
provider: z.ZodEnum<["openai", "google", "xai"]>;
|
|
@@ -6011,13 +6116,13 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6011
6116
|
*/
|
|
6012
6117
|
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6013
6118
|
}, "strip", z.ZodTypeAny, {
|
|
6014
|
-
kind
|
|
6015
|
-
|
|
6016
|
-
|
|
6119
|
+
kind: "realtime";
|
|
6120
|
+
options: Record<string, unknown>;
|
|
6121
|
+
provider: "openai" | "google" | "xai";
|
|
6017
6122
|
}, {
|
|
6018
|
-
kind
|
|
6019
|
-
|
|
6020
|
-
|
|
6123
|
+
kind: "realtime";
|
|
6124
|
+
options: Record<string, unknown>;
|
|
6125
|
+
provider: "openai" | "google" | "xai";
|
|
6021
6126
|
}>]>>;
|
|
6022
6127
|
vad: z.ZodOptional<z.ZodString>;
|
|
6023
6128
|
vadOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -6026,15 +6131,15 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6026
6131
|
prefixPaddingDuration: z.ZodOptional<z.ZodNumber>;
|
|
6027
6132
|
activationThreshold: z.ZodOptional<z.ZodNumber>;
|
|
6028
6133
|
}, "strict", z.ZodTypeAny, {
|
|
6029
|
-
minSpeechDuration?: number;
|
|
6030
|
-
minSilenceDuration?: number;
|
|
6031
|
-
prefixPaddingDuration?: number;
|
|
6032
|
-
activationThreshold?: number;
|
|
6134
|
+
minSpeechDuration?: number | undefined;
|
|
6135
|
+
minSilenceDuration?: number | undefined;
|
|
6136
|
+
prefixPaddingDuration?: number | undefined;
|
|
6137
|
+
activationThreshold?: number | undefined;
|
|
6033
6138
|
}, {
|
|
6034
|
-
minSpeechDuration?: number;
|
|
6035
|
-
minSilenceDuration?: number;
|
|
6036
|
-
prefixPaddingDuration?: number;
|
|
6037
|
-
activationThreshold?: number;
|
|
6139
|
+
minSpeechDuration?: number | undefined;
|
|
6140
|
+
minSilenceDuration?: number | undefined;
|
|
6141
|
+
prefixPaddingDuration?: number | undefined;
|
|
6142
|
+
activationThreshold?: number | undefined;
|
|
6038
6143
|
}>>;
|
|
6039
6144
|
turnDetection: z.ZodOptional<z.ZodEnum<["multilingual", "english", "vad", "stt", "manual"]>>;
|
|
6040
6145
|
greeting: z.ZodOptional<z.ZodString>;
|
|
@@ -6049,33 +6154,33 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6049
6154
|
minDelay: z.ZodOptional<z.ZodNumber>;
|
|
6050
6155
|
maxDelay: z.ZodOptional<z.ZodNumber>;
|
|
6051
6156
|
}, "strip", z.ZodTypeAny, {
|
|
6052
|
-
enabled?: boolean;
|
|
6053
|
-
mode?: "adaptive" | "vad";
|
|
6054
|
-
falseInterruptionTimeout?: number;
|
|
6055
|
-
resumeFalseInterruption?: boolean;
|
|
6056
|
-
minDelay?: number;
|
|
6057
|
-
maxDelay?: number;
|
|
6157
|
+
enabled?: boolean | undefined;
|
|
6158
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6159
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6160
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6161
|
+
minDelay?: number | undefined;
|
|
6162
|
+
maxDelay?: number | undefined;
|
|
6058
6163
|
}, {
|
|
6059
|
-
enabled?: boolean;
|
|
6060
|
-
mode?: "adaptive" | "vad";
|
|
6061
|
-
falseInterruptionTimeout?: number;
|
|
6062
|
-
resumeFalseInterruption?: boolean;
|
|
6063
|
-
minDelay?: number;
|
|
6064
|
-
maxDelay?: number;
|
|
6164
|
+
enabled?: boolean | undefined;
|
|
6165
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6166
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6167
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6168
|
+
minDelay?: number | undefined;
|
|
6169
|
+
maxDelay?: number | undefined;
|
|
6065
6170
|
}>, {
|
|
6066
|
-
enabled?: boolean;
|
|
6067
|
-
mode?: "adaptive" | "vad";
|
|
6068
|
-
falseInterruptionTimeout?: number;
|
|
6069
|
-
resumeFalseInterruption?: boolean;
|
|
6070
|
-
minDelay?: number;
|
|
6071
|
-
maxDelay?: number;
|
|
6171
|
+
enabled?: boolean | undefined;
|
|
6172
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6173
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6174
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6175
|
+
minDelay?: number | undefined;
|
|
6176
|
+
maxDelay?: number | undefined;
|
|
6072
6177
|
}, {
|
|
6073
|
-
enabled?: boolean;
|
|
6074
|
-
mode?: "adaptive" | "vad";
|
|
6075
|
-
falseInterruptionTimeout?: number;
|
|
6076
|
-
resumeFalseInterruption?: boolean;
|
|
6077
|
-
minDelay?: number;
|
|
6078
|
-
maxDelay?: number;
|
|
6178
|
+
enabled?: boolean | undefined;
|
|
6179
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6180
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6181
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6182
|
+
minDelay?: number | undefined;
|
|
6183
|
+
maxDelay?: number | undefined;
|
|
6079
6184
|
}>>;
|
|
6080
6185
|
sttLanguage: z.ZodOptional<z.ZodString>;
|
|
6081
6186
|
krispEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6085,89 +6190,89 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6085
6190
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
6086
6191
|
probability: z.ZodOptional<z.ZodNumber>;
|
|
6087
6192
|
}, "strip", z.ZodTypeAny, {
|
|
6088
|
-
source
|
|
6089
|
-
volume?: number;
|
|
6090
|
-
probability?: number;
|
|
6193
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6194
|
+
volume?: number | undefined;
|
|
6195
|
+
probability?: number | undefined;
|
|
6091
6196
|
}, {
|
|
6092
|
-
source
|
|
6093
|
-
volume?: number;
|
|
6094
|
-
probability?: number;
|
|
6197
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6198
|
+
volume?: number | undefined;
|
|
6199
|
+
probability?: number | undefined;
|
|
6095
6200
|
}>, z.ZodArray<z.ZodObject<{
|
|
6096
6201
|
source: z.ZodEnum<["office-ambience", "keyboard-typing", "keyboard-typing-2"]>;
|
|
6097
6202
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
6098
6203
|
probability: z.ZodOptional<z.ZodNumber>;
|
|
6099
6204
|
}, "strip", z.ZodTypeAny, {
|
|
6100
|
-
source
|
|
6101
|
-
volume?: number;
|
|
6102
|
-
probability?: number;
|
|
6205
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6206
|
+
volume?: number | undefined;
|
|
6207
|
+
probability?: number | undefined;
|
|
6103
6208
|
}, {
|
|
6104
|
-
source
|
|
6105
|
-
volume?: number;
|
|
6106
|
-
probability?: number;
|
|
6209
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6210
|
+
volume?: number | undefined;
|
|
6211
|
+
probability?: number | undefined;
|
|
6107
6212
|
}>, "many">]>>;
|
|
6108
6213
|
thinking: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["office-ambience", "keyboard-typing", "keyboard-typing-2"]>, z.ZodObject<{
|
|
6109
6214
|
source: z.ZodEnum<["office-ambience", "keyboard-typing", "keyboard-typing-2"]>;
|
|
6110
6215
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
6111
6216
|
probability: z.ZodOptional<z.ZodNumber>;
|
|
6112
6217
|
}, "strip", z.ZodTypeAny, {
|
|
6113
|
-
source
|
|
6114
|
-
volume?: number;
|
|
6115
|
-
probability?: number;
|
|
6218
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6219
|
+
volume?: number | undefined;
|
|
6220
|
+
probability?: number | undefined;
|
|
6116
6221
|
}, {
|
|
6117
|
-
source
|
|
6118
|
-
volume?: number;
|
|
6119
|
-
probability?: number;
|
|
6222
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6223
|
+
volume?: number | undefined;
|
|
6224
|
+
probability?: number | undefined;
|
|
6120
6225
|
}>, z.ZodArray<z.ZodObject<{
|
|
6121
6226
|
source: z.ZodEnum<["office-ambience", "keyboard-typing", "keyboard-typing-2"]>;
|
|
6122
6227
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
6123
6228
|
probability: z.ZodOptional<z.ZodNumber>;
|
|
6124
6229
|
}, "strip", z.ZodTypeAny, {
|
|
6125
|
-
source
|
|
6126
|
-
volume?: number;
|
|
6127
|
-
probability?: number;
|
|
6230
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6231
|
+
volume?: number | undefined;
|
|
6232
|
+
probability?: number | undefined;
|
|
6128
6233
|
}, {
|
|
6129
|
-
source
|
|
6130
|
-
volume?: number;
|
|
6131
|
-
probability?: number;
|
|
6234
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6235
|
+
volume?: number | undefined;
|
|
6236
|
+
probability?: number | undefined;
|
|
6132
6237
|
}>, "many">]>>;
|
|
6133
6238
|
}, "strip", z.ZodTypeAny, {
|
|
6134
6239
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6135
|
-
source
|
|
6136
|
-
volume?: number;
|
|
6137
|
-
probability?: number;
|
|
6240
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6241
|
+
volume?: number | undefined;
|
|
6242
|
+
probability?: number | undefined;
|
|
6138
6243
|
} | {
|
|
6139
|
-
source
|
|
6140
|
-
volume?: number;
|
|
6141
|
-
probability?: number;
|
|
6142
|
-
}[];
|
|
6244
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6245
|
+
volume?: number | undefined;
|
|
6246
|
+
probability?: number | undefined;
|
|
6247
|
+
}[] | undefined;
|
|
6143
6248
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6144
|
-
source
|
|
6145
|
-
volume?: number;
|
|
6146
|
-
probability?: number;
|
|
6249
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6250
|
+
volume?: number | undefined;
|
|
6251
|
+
probability?: number | undefined;
|
|
6147
6252
|
} | {
|
|
6148
|
-
source
|
|
6149
|
-
volume?: number;
|
|
6150
|
-
probability?: number;
|
|
6151
|
-
}[];
|
|
6253
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6254
|
+
volume?: number | undefined;
|
|
6255
|
+
probability?: number | undefined;
|
|
6256
|
+
}[] | undefined;
|
|
6152
6257
|
}, {
|
|
6153
6258
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6154
|
-
source
|
|
6155
|
-
volume?: number;
|
|
6156
|
-
probability?: number;
|
|
6259
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6260
|
+
volume?: number | undefined;
|
|
6261
|
+
probability?: number | undefined;
|
|
6157
6262
|
} | {
|
|
6158
|
-
source
|
|
6159
|
-
volume?: number;
|
|
6160
|
-
probability?: number;
|
|
6161
|
-
}[];
|
|
6263
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6264
|
+
volume?: number | undefined;
|
|
6265
|
+
probability?: number | undefined;
|
|
6266
|
+
}[] | undefined;
|
|
6162
6267
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6163
|
-
source
|
|
6164
|
-
volume?: number;
|
|
6165
|
-
probability?: number;
|
|
6268
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6269
|
+
volume?: number | undefined;
|
|
6270
|
+
probability?: number | undefined;
|
|
6166
6271
|
} | {
|
|
6167
|
-
source
|
|
6168
|
-
volume?: number;
|
|
6169
|
-
probability?: number;
|
|
6170
|
-
}[];
|
|
6272
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6273
|
+
volume?: number | undefined;
|
|
6274
|
+
probability?: number | undefined;
|
|
6275
|
+
}[] | undefined;
|
|
6171
6276
|
}>>;
|
|
6172
6277
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
6173
6278
|
pronunciations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -6175,381 +6280,381 @@ declare const LuaVoiceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6175
6280
|
onToolFailureSay: z.ZodOptional<z.ZodString>;
|
|
6176
6281
|
excludeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6177
6282
|
}, "strip", z.ZodTypeAny, {
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
model?: string;
|
|
6184
|
-
options?: Record<string, unknown>;
|
|
6283
|
+
llm: {
|
|
6284
|
+
kind: "inference";
|
|
6285
|
+
model: string;
|
|
6286
|
+
options?: Record<string, unknown> | undefined;
|
|
6287
|
+
voice?: string | undefined;
|
|
6185
6288
|
} | {
|
|
6186
|
-
kind
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6289
|
+
kind: "plugin";
|
|
6290
|
+
options: Record<string, unknown>;
|
|
6291
|
+
provider: "deepgram" | "elevenlabs";
|
|
6292
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6190
6293
|
} | {
|
|
6191
|
-
kind
|
|
6192
|
-
|
|
6193
|
-
|
|
6294
|
+
kind: "realtime";
|
|
6295
|
+
options: Record<string, unknown>;
|
|
6296
|
+
provider: "openai" | "google" | "xai";
|
|
6194
6297
|
};
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
kind
|
|
6199
|
-
model
|
|
6200
|
-
options?: Record<string, unknown
|
|
6298
|
+
name?: string | undefined;
|
|
6299
|
+
vad?: string | undefined;
|
|
6300
|
+
stt?: {
|
|
6301
|
+
kind: "inference";
|
|
6302
|
+
model: string;
|
|
6303
|
+
options?: Record<string, unknown> | undefined;
|
|
6304
|
+
voice?: string | undefined;
|
|
6201
6305
|
} | {
|
|
6202
|
-
kind
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6306
|
+
kind: "plugin";
|
|
6307
|
+
options: Record<string, unknown>;
|
|
6308
|
+
provider: "deepgram" | "elevenlabs";
|
|
6309
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6206
6310
|
} | {
|
|
6207
|
-
kind
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
};
|
|
6311
|
+
kind: "realtime";
|
|
6312
|
+
options: Record<string, unknown>;
|
|
6313
|
+
provider: "openai" | "google" | "xai";
|
|
6314
|
+
} | undefined;
|
|
6315
|
+
volume?: number | undefined;
|
|
6211
6316
|
tts?: {
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6317
|
+
kind: "inference";
|
|
6318
|
+
model: string;
|
|
6319
|
+
options?: Record<string, unknown> | undefined;
|
|
6320
|
+
voice?: string | undefined;
|
|
6216
6321
|
} | {
|
|
6217
|
-
kind
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6322
|
+
kind: "plugin";
|
|
6323
|
+
options: Record<string, unknown>;
|
|
6324
|
+
provider: "deepgram" | "elevenlabs";
|
|
6325
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6221
6326
|
} | {
|
|
6222
|
-
kind
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
};
|
|
6327
|
+
kind: "realtime";
|
|
6328
|
+
options: Record<string, unknown>;
|
|
6329
|
+
provider: "openai" | "google" | "xai";
|
|
6330
|
+
} | undefined;
|
|
6226
6331
|
vadOptions?: {
|
|
6227
|
-
minSpeechDuration?: number;
|
|
6228
|
-
minSilenceDuration?: number;
|
|
6229
|
-
prefixPaddingDuration?: number;
|
|
6230
|
-
activationThreshold?: number;
|
|
6231
|
-
};
|
|
6232
|
-
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt";
|
|
6233
|
-
greeting?: string;
|
|
6234
|
-
maxToolSteps?: number;
|
|
6235
|
-
userAwayTimeout?: number;
|
|
6236
|
-
preemptiveGeneration?: boolean;
|
|
6332
|
+
minSpeechDuration?: number | undefined;
|
|
6333
|
+
minSilenceDuration?: number | undefined;
|
|
6334
|
+
prefixPaddingDuration?: number | undefined;
|
|
6335
|
+
activationThreshold?: number | undefined;
|
|
6336
|
+
} | undefined;
|
|
6337
|
+
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt" | undefined;
|
|
6338
|
+
greeting?: string | undefined;
|
|
6339
|
+
maxToolSteps?: number | undefined;
|
|
6340
|
+
userAwayTimeout?: number | undefined;
|
|
6341
|
+
preemptiveGeneration?: boolean | undefined;
|
|
6237
6342
|
interruption?: {
|
|
6238
|
-
enabled?: boolean;
|
|
6239
|
-
mode?: "adaptive" | "vad";
|
|
6240
|
-
falseInterruptionTimeout?: number;
|
|
6241
|
-
resumeFalseInterruption?: boolean;
|
|
6242
|
-
minDelay?: number;
|
|
6243
|
-
maxDelay?: number;
|
|
6244
|
-
};
|
|
6245
|
-
sttLanguage?: string;
|
|
6246
|
-
krispEnabled?: boolean;
|
|
6343
|
+
enabled?: boolean | undefined;
|
|
6344
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6345
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6346
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6347
|
+
minDelay?: number | undefined;
|
|
6348
|
+
maxDelay?: number | undefined;
|
|
6349
|
+
} | undefined;
|
|
6350
|
+
sttLanguage?: string | undefined;
|
|
6351
|
+
krispEnabled?: boolean | undefined;
|
|
6247
6352
|
backgroundAudio?: {
|
|
6248
6353
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6249
|
-
source
|
|
6250
|
-
volume?: number;
|
|
6251
|
-
probability?: number;
|
|
6354
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6355
|
+
volume?: number | undefined;
|
|
6356
|
+
probability?: number | undefined;
|
|
6252
6357
|
} | {
|
|
6253
|
-
source
|
|
6254
|
-
volume?: number;
|
|
6255
|
-
probability?: number;
|
|
6256
|
-
}[];
|
|
6358
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6359
|
+
volume?: number | undefined;
|
|
6360
|
+
probability?: number | undefined;
|
|
6361
|
+
}[] | undefined;
|
|
6257
6362
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6258
|
-
source
|
|
6259
|
-
volume?: number;
|
|
6260
|
-
probability?: number;
|
|
6363
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6364
|
+
volume?: number | undefined;
|
|
6365
|
+
probability?: number | undefined;
|
|
6261
6366
|
} | {
|
|
6262
|
-
source
|
|
6263
|
-
volume?: number;
|
|
6264
|
-
probability?: number;
|
|
6265
|
-
}[];
|
|
6266
|
-
};
|
|
6267
|
-
pronunciations?: Record<string, string
|
|
6268
|
-
persistTranscript?: boolean;
|
|
6269
|
-
onToolFailureSay?: string;
|
|
6270
|
-
excludeTools?: string[];
|
|
6367
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6368
|
+
volume?: number | undefined;
|
|
6369
|
+
probability?: number | undefined;
|
|
6370
|
+
}[] | undefined;
|
|
6371
|
+
} | undefined;
|
|
6372
|
+
pronunciations?: Record<string, string> | undefined;
|
|
6373
|
+
persistTranscript?: boolean | undefined;
|
|
6374
|
+
onToolFailureSay?: string | undefined;
|
|
6375
|
+
excludeTools?: string[] | undefined;
|
|
6271
6376
|
}, {
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
model?: string;
|
|
6278
|
-
options?: Record<string, unknown>;
|
|
6377
|
+
llm: {
|
|
6378
|
+
kind: "inference";
|
|
6379
|
+
model: string;
|
|
6380
|
+
options?: Record<string, unknown> | undefined;
|
|
6381
|
+
voice?: string | undefined;
|
|
6279
6382
|
} | {
|
|
6280
|
-
kind
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6383
|
+
kind: "plugin";
|
|
6384
|
+
options: Record<string, unknown>;
|
|
6385
|
+
provider: "deepgram" | "elevenlabs";
|
|
6386
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6284
6387
|
} | {
|
|
6285
|
-
kind
|
|
6286
|
-
|
|
6287
|
-
|
|
6388
|
+
kind: "realtime";
|
|
6389
|
+
options: Record<string, unknown>;
|
|
6390
|
+
provider: "openai" | "google" | "xai";
|
|
6288
6391
|
};
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
kind
|
|
6293
|
-
model
|
|
6294
|
-
options?: Record<string, unknown
|
|
6392
|
+
name?: string | undefined;
|
|
6393
|
+
vad?: string | undefined;
|
|
6394
|
+
stt?: {
|
|
6395
|
+
kind: "inference";
|
|
6396
|
+
model: string;
|
|
6397
|
+
options?: Record<string, unknown> | undefined;
|
|
6398
|
+
voice?: string | undefined;
|
|
6295
6399
|
} | {
|
|
6296
|
-
kind
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6400
|
+
kind: "plugin";
|
|
6401
|
+
options: Record<string, unknown>;
|
|
6402
|
+
provider: "deepgram" | "elevenlabs";
|
|
6403
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6300
6404
|
} | {
|
|
6301
|
-
kind
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
};
|
|
6405
|
+
kind: "realtime";
|
|
6406
|
+
options: Record<string, unknown>;
|
|
6407
|
+
provider: "openai" | "google" | "xai";
|
|
6408
|
+
} | undefined;
|
|
6409
|
+
volume?: number | undefined;
|
|
6305
6410
|
tts?: {
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6411
|
+
kind: "inference";
|
|
6412
|
+
model: string;
|
|
6413
|
+
options?: Record<string, unknown> | undefined;
|
|
6414
|
+
voice?: string | undefined;
|
|
6310
6415
|
} | {
|
|
6311
|
-
kind
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6416
|
+
kind: "plugin";
|
|
6417
|
+
options: Record<string, unknown>;
|
|
6418
|
+
provider: "deepgram" | "elevenlabs";
|
|
6419
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6315
6420
|
} | {
|
|
6316
|
-
kind
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
};
|
|
6421
|
+
kind: "realtime";
|
|
6422
|
+
options: Record<string, unknown>;
|
|
6423
|
+
provider: "openai" | "google" | "xai";
|
|
6424
|
+
} | undefined;
|
|
6320
6425
|
vadOptions?: {
|
|
6321
|
-
minSpeechDuration?: number;
|
|
6322
|
-
minSilenceDuration?: number;
|
|
6323
|
-
prefixPaddingDuration?: number;
|
|
6324
|
-
activationThreshold?: number;
|
|
6325
|
-
};
|
|
6326
|
-
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt";
|
|
6327
|
-
greeting?: string;
|
|
6328
|
-
maxToolSteps?: number;
|
|
6329
|
-
userAwayTimeout?: number;
|
|
6330
|
-
preemptiveGeneration?: boolean;
|
|
6426
|
+
minSpeechDuration?: number | undefined;
|
|
6427
|
+
minSilenceDuration?: number | undefined;
|
|
6428
|
+
prefixPaddingDuration?: number | undefined;
|
|
6429
|
+
activationThreshold?: number | undefined;
|
|
6430
|
+
} | undefined;
|
|
6431
|
+
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt" | undefined;
|
|
6432
|
+
greeting?: string | undefined;
|
|
6433
|
+
maxToolSteps?: number | undefined;
|
|
6434
|
+
userAwayTimeout?: number | undefined;
|
|
6435
|
+
preemptiveGeneration?: boolean | undefined;
|
|
6331
6436
|
interruption?: {
|
|
6332
|
-
enabled?: boolean;
|
|
6333
|
-
mode?: "adaptive" | "vad";
|
|
6334
|
-
falseInterruptionTimeout?: number;
|
|
6335
|
-
resumeFalseInterruption?: boolean;
|
|
6336
|
-
minDelay?: number;
|
|
6337
|
-
maxDelay?: number;
|
|
6338
|
-
};
|
|
6339
|
-
sttLanguage?: string;
|
|
6340
|
-
krispEnabled?: boolean;
|
|
6437
|
+
enabled?: boolean | undefined;
|
|
6438
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6439
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6440
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6441
|
+
minDelay?: number | undefined;
|
|
6442
|
+
maxDelay?: number | undefined;
|
|
6443
|
+
} | undefined;
|
|
6444
|
+
sttLanguage?: string | undefined;
|
|
6445
|
+
krispEnabled?: boolean | undefined;
|
|
6341
6446
|
backgroundAudio?: {
|
|
6342
6447
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6343
|
-
source
|
|
6344
|
-
volume?: number;
|
|
6345
|
-
probability?: number;
|
|
6448
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6449
|
+
volume?: number | undefined;
|
|
6450
|
+
probability?: number | undefined;
|
|
6346
6451
|
} | {
|
|
6347
|
-
source
|
|
6348
|
-
volume?: number;
|
|
6349
|
-
probability?: number;
|
|
6350
|
-
}[];
|
|
6452
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6453
|
+
volume?: number | undefined;
|
|
6454
|
+
probability?: number | undefined;
|
|
6455
|
+
}[] | undefined;
|
|
6351
6456
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6352
|
-
source
|
|
6353
|
-
volume?: number;
|
|
6354
|
-
probability?: number;
|
|
6457
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6458
|
+
volume?: number | undefined;
|
|
6459
|
+
probability?: number | undefined;
|
|
6355
6460
|
} | {
|
|
6356
|
-
source
|
|
6357
|
-
volume?: number;
|
|
6358
|
-
probability?: number;
|
|
6359
|
-
}[];
|
|
6360
|
-
};
|
|
6361
|
-
pronunciations?: Record<string, string
|
|
6362
|
-
persistTranscript?: boolean;
|
|
6363
|
-
onToolFailureSay?: string;
|
|
6364
|
-
excludeTools?: string[];
|
|
6461
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6462
|
+
volume?: number | undefined;
|
|
6463
|
+
probability?: number | undefined;
|
|
6464
|
+
}[] | undefined;
|
|
6465
|
+
} | undefined;
|
|
6466
|
+
pronunciations?: Record<string, string> | undefined;
|
|
6467
|
+
persistTranscript?: boolean | undefined;
|
|
6468
|
+
onToolFailureSay?: string | undefined;
|
|
6469
|
+
excludeTools?: string[] | undefined;
|
|
6365
6470
|
}>, {
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
model?: string;
|
|
6372
|
-
options?: Record<string, unknown>;
|
|
6471
|
+
llm: {
|
|
6472
|
+
kind: "inference";
|
|
6473
|
+
model: string;
|
|
6474
|
+
options?: Record<string, unknown> | undefined;
|
|
6475
|
+
voice?: string | undefined;
|
|
6373
6476
|
} | {
|
|
6374
|
-
kind
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6477
|
+
kind: "plugin";
|
|
6478
|
+
options: Record<string, unknown>;
|
|
6479
|
+
provider: "deepgram" | "elevenlabs";
|
|
6480
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6378
6481
|
} | {
|
|
6379
|
-
kind
|
|
6380
|
-
|
|
6381
|
-
|
|
6482
|
+
kind: "realtime";
|
|
6483
|
+
options: Record<string, unknown>;
|
|
6484
|
+
provider: "openai" | "google" | "xai";
|
|
6382
6485
|
};
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
kind
|
|
6387
|
-
model
|
|
6388
|
-
options?: Record<string, unknown
|
|
6486
|
+
name?: string | undefined;
|
|
6487
|
+
vad?: string | undefined;
|
|
6488
|
+
stt?: {
|
|
6489
|
+
kind: "inference";
|
|
6490
|
+
model: string;
|
|
6491
|
+
options?: Record<string, unknown> | undefined;
|
|
6492
|
+
voice?: string | undefined;
|
|
6389
6493
|
} | {
|
|
6390
|
-
kind
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6494
|
+
kind: "plugin";
|
|
6495
|
+
options: Record<string, unknown>;
|
|
6496
|
+
provider: "deepgram" | "elevenlabs";
|
|
6497
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6394
6498
|
} | {
|
|
6395
|
-
kind
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
};
|
|
6499
|
+
kind: "realtime";
|
|
6500
|
+
options: Record<string, unknown>;
|
|
6501
|
+
provider: "openai" | "google" | "xai";
|
|
6502
|
+
} | undefined;
|
|
6503
|
+
volume?: number | undefined;
|
|
6399
6504
|
tts?: {
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6505
|
+
kind: "inference";
|
|
6506
|
+
model: string;
|
|
6507
|
+
options?: Record<string, unknown> | undefined;
|
|
6508
|
+
voice?: string | undefined;
|
|
6404
6509
|
} | {
|
|
6405
|
-
kind
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6510
|
+
kind: "plugin";
|
|
6511
|
+
options: Record<string, unknown>;
|
|
6512
|
+
provider: "deepgram" | "elevenlabs";
|
|
6513
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6409
6514
|
} | {
|
|
6410
|
-
kind
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
};
|
|
6515
|
+
kind: "realtime";
|
|
6516
|
+
options: Record<string, unknown>;
|
|
6517
|
+
provider: "openai" | "google" | "xai";
|
|
6518
|
+
} | undefined;
|
|
6414
6519
|
vadOptions?: {
|
|
6415
|
-
minSpeechDuration?: number;
|
|
6416
|
-
minSilenceDuration?: number;
|
|
6417
|
-
prefixPaddingDuration?: number;
|
|
6418
|
-
activationThreshold?: number;
|
|
6419
|
-
};
|
|
6420
|
-
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt";
|
|
6421
|
-
greeting?: string;
|
|
6422
|
-
maxToolSteps?: number;
|
|
6423
|
-
userAwayTimeout?: number;
|
|
6424
|
-
preemptiveGeneration?: boolean;
|
|
6520
|
+
minSpeechDuration?: number | undefined;
|
|
6521
|
+
minSilenceDuration?: number | undefined;
|
|
6522
|
+
prefixPaddingDuration?: number | undefined;
|
|
6523
|
+
activationThreshold?: number | undefined;
|
|
6524
|
+
} | undefined;
|
|
6525
|
+
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt" | undefined;
|
|
6526
|
+
greeting?: string | undefined;
|
|
6527
|
+
maxToolSteps?: number | undefined;
|
|
6528
|
+
userAwayTimeout?: number | undefined;
|
|
6529
|
+
preemptiveGeneration?: boolean | undefined;
|
|
6425
6530
|
interruption?: {
|
|
6426
|
-
enabled?: boolean;
|
|
6427
|
-
mode?: "adaptive" | "vad";
|
|
6428
|
-
falseInterruptionTimeout?: number;
|
|
6429
|
-
resumeFalseInterruption?: boolean;
|
|
6430
|
-
minDelay?: number;
|
|
6431
|
-
maxDelay?: number;
|
|
6432
|
-
};
|
|
6433
|
-
sttLanguage?: string;
|
|
6434
|
-
krispEnabled?: boolean;
|
|
6531
|
+
enabled?: boolean | undefined;
|
|
6532
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6533
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6534
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6535
|
+
minDelay?: number | undefined;
|
|
6536
|
+
maxDelay?: number | undefined;
|
|
6537
|
+
} | undefined;
|
|
6538
|
+
sttLanguage?: string | undefined;
|
|
6539
|
+
krispEnabled?: boolean | undefined;
|
|
6435
6540
|
backgroundAudio?: {
|
|
6436
6541
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6437
|
-
source
|
|
6438
|
-
volume?: number;
|
|
6439
|
-
probability?: number;
|
|
6542
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6543
|
+
volume?: number | undefined;
|
|
6544
|
+
probability?: number | undefined;
|
|
6440
6545
|
} | {
|
|
6441
|
-
source
|
|
6442
|
-
volume?: number;
|
|
6443
|
-
probability?: number;
|
|
6444
|
-
}[];
|
|
6546
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6547
|
+
volume?: number | undefined;
|
|
6548
|
+
probability?: number | undefined;
|
|
6549
|
+
}[] | undefined;
|
|
6445
6550
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6446
|
-
source
|
|
6447
|
-
volume?: number;
|
|
6448
|
-
probability?: number;
|
|
6551
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6552
|
+
volume?: number | undefined;
|
|
6553
|
+
probability?: number | undefined;
|
|
6449
6554
|
} | {
|
|
6450
|
-
source
|
|
6451
|
-
volume?: number;
|
|
6452
|
-
probability?: number;
|
|
6453
|
-
}[];
|
|
6454
|
-
};
|
|
6455
|
-
pronunciations?: Record<string, string
|
|
6456
|
-
persistTranscript?: boolean;
|
|
6457
|
-
onToolFailureSay?: string;
|
|
6458
|
-
excludeTools?: string[];
|
|
6555
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6556
|
+
volume?: number | undefined;
|
|
6557
|
+
probability?: number | undefined;
|
|
6558
|
+
}[] | undefined;
|
|
6559
|
+
} | undefined;
|
|
6560
|
+
pronunciations?: Record<string, string> | undefined;
|
|
6561
|
+
persistTranscript?: boolean | undefined;
|
|
6562
|
+
onToolFailureSay?: string | undefined;
|
|
6563
|
+
excludeTools?: string[] | undefined;
|
|
6459
6564
|
}, {
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
model?: string;
|
|
6466
|
-
options?: Record<string, unknown>;
|
|
6565
|
+
llm: {
|
|
6566
|
+
kind: "inference";
|
|
6567
|
+
model: string;
|
|
6568
|
+
options?: Record<string, unknown> | undefined;
|
|
6569
|
+
voice?: string | undefined;
|
|
6467
6570
|
} | {
|
|
6468
|
-
kind
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6571
|
+
kind: "plugin";
|
|
6572
|
+
options: Record<string, unknown>;
|
|
6573
|
+
provider: "deepgram" | "elevenlabs";
|
|
6574
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6472
6575
|
} | {
|
|
6473
|
-
kind
|
|
6474
|
-
|
|
6475
|
-
|
|
6576
|
+
kind: "realtime";
|
|
6577
|
+
options: Record<string, unknown>;
|
|
6578
|
+
provider: "openai" | "google" | "xai";
|
|
6476
6579
|
};
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
kind
|
|
6481
|
-
model
|
|
6482
|
-
options?: Record<string, unknown
|
|
6580
|
+
name?: string | undefined;
|
|
6581
|
+
vad?: string | undefined;
|
|
6582
|
+
stt?: {
|
|
6583
|
+
kind: "inference";
|
|
6584
|
+
model: string;
|
|
6585
|
+
options?: Record<string, unknown> | undefined;
|
|
6586
|
+
voice?: string | undefined;
|
|
6483
6587
|
} | {
|
|
6484
|
-
kind
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6588
|
+
kind: "plugin";
|
|
6589
|
+
options: Record<string, unknown>;
|
|
6590
|
+
provider: "deepgram" | "elevenlabs";
|
|
6591
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6488
6592
|
} | {
|
|
6489
|
-
kind
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
};
|
|
6593
|
+
kind: "realtime";
|
|
6594
|
+
options: Record<string, unknown>;
|
|
6595
|
+
provider: "openai" | "google" | "xai";
|
|
6596
|
+
} | undefined;
|
|
6597
|
+
volume?: number | undefined;
|
|
6493
6598
|
tts?: {
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6599
|
+
kind: "inference";
|
|
6600
|
+
model: string;
|
|
6601
|
+
options?: Record<string, unknown> | undefined;
|
|
6602
|
+
voice?: string | undefined;
|
|
6498
6603
|
} | {
|
|
6499
|
-
kind
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6604
|
+
kind: "plugin";
|
|
6605
|
+
options: Record<string, unknown>;
|
|
6606
|
+
provider: "deepgram" | "elevenlabs";
|
|
6607
|
+
class: "LLM" | "STT" | "STTv2" | "TTS";
|
|
6503
6608
|
} | {
|
|
6504
|
-
kind
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
};
|
|
6609
|
+
kind: "realtime";
|
|
6610
|
+
options: Record<string, unknown>;
|
|
6611
|
+
provider: "openai" | "google" | "xai";
|
|
6612
|
+
} | undefined;
|
|
6508
6613
|
vadOptions?: {
|
|
6509
|
-
minSpeechDuration?: number;
|
|
6510
|
-
minSilenceDuration?: number;
|
|
6511
|
-
prefixPaddingDuration?: number;
|
|
6512
|
-
activationThreshold?: number;
|
|
6513
|
-
};
|
|
6514
|
-
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt";
|
|
6515
|
-
greeting?: string;
|
|
6516
|
-
maxToolSteps?: number;
|
|
6517
|
-
userAwayTimeout?: number;
|
|
6518
|
-
preemptiveGeneration?: boolean;
|
|
6614
|
+
minSpeechDuration?: number | undefined;
|
|
6615
|
+
minSilenceDuration?: number | undefined;
|
|
6616
|
+
prefixPaddingDuration?: number | undefined;
|
|
6617
|
+
activationThreshold?: number | undefined;
|
|
6618
|
+
} | undefined;
|
|
6619
|
+
turnDetection?: "manual" | "multilingual" | "english" | "vad" | "stt" | undefined;
|
|
6620
|
+
greeting?: string | undefined;
|
|
6621
|
+
maxToolSteps?: number | undefined;
|
|
6622
|
+
userAwayTimeout?: number | undefined;
|
|
6623
|
+
preemptiveGeneration?: boolean | undefined;
|
|
6519
6624
|
interruption?: {
|
|
6520
|
-
enabled?: boolean;
|
|
6521
|
-
mode?: "adaptive" | "vad";
|
|
6522
|
-
falseInterruptionTimeout?: number;
|
|
6523
|
-
resumeFalseInterruption?: boolean;
|
|
6524
|
-
minDelay?: number;
|
|
6525
|
-
maxDelay?: number;
|
|
6526
|
-
};
|
|
6527
|
-
sttLanguage?: string;
|
|
6528
|
-
krispEnabled?: boolean;
|
|
6625
|
+
enabled?: boolean | undefined;
|
|
6626
|
+
mode?: "adaptive" | "vad" | undefined;
|
|
6627
|
+
falseInterruptionTimeout?: number | undefined;
|
|
6628
|
+
resumeFalseInterruption?: boolean | undefined;
|
|
6629
|
+
minDelay?: number | undefined;
|
|
6630
|
+
maxDelay?: number | undefined;
|
|
6631
|
+
} | undefined;
|
|
6632
|
+
sttLanguage?: string | undefined;
|
|
6633
|
+
krispEnabled?: boolean | undefined;
|
|
6529
6634
|
backgroundAudio?: {
|
|
6530
6635
|
ambient?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6531
|
-
source
|
|
6532
|
-
volume?: number;
|
|
6533
|
-
probability?: number;
|
|
6636
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6637
|
+
volume?: number | undefined;
|
|
6638
|
+
probability?: number | undefined;
|
|
6534
6639
|
} | {
|
|
6535
|
-
source
|
|
6536
|
-
volume?: number;
|
|
6537
|
-
probability?: number;
|
|
6538
|
-
}[];
|
|
6640
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6641
|
+
volume?: number | undefined;
|
|
6642
|
+
probability?: number | undefined;
|
|
6643
|
+
}[] | undefined;
|
|
6539
6644
|
thinking?: "office-ambience" | "keyboard-typing" | "keyboard-typing-2" | {
|
|
6540
|
-
source
|
|
6541
|
-
volume?: number;
|
|
6542
|
-
probability?: number;
|
|
6645
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6646
|
+
volume?: number | undefined;
|
|
6647
|
+
probability?: number | undefined;
|
|
6543
6648
|
} | {
|
|
6544
|
-
source
|
|
6545
|
-
volume?: number;
|
|
6546
|
-
probability?: number;
|
|
6547
|
-
}[];
|
|
6548
|
-
};
|
|
6549
|
-
pronunciations?: Record<string, string
|
|
6550
|
-
persistTranscript?: boolean;
|
|
6551
|
-
onToolFailureSay?: string;
|
|
6552
|
-
excludeTools?: string[];
|
|
6649
|
+
source: "office-ambience" | "keyboard-typing" | "keyboard-typing-2";
|
|
6650
|
+
volume?: number | undefined;
|
|
6651
|
+
probability?: number | undefined;
|
|
6652
|
+
}[] | undefined;
|
|
6653
|
+
} | undefined;
|
|
6654
|
+
pronunciations?: Record<string, string> | undefined;
|
|
6655
|
+
persistTranscript?: boolean | undefined;
|
|
6656
|
+
onToolFailureSay?: string | undefined;
|
|
6657
|
+
excludeTools?: string[] | undefined;
|
|
6553
6658
|
}>;
|
|
6554
6659
|
|
|
6555
6660
|
/**
|
|
@@ -6954,7 +7059,11 @@ export declare type LuaWorkflowBuildCode = 'duplicate-step-id' | 'unknown-step-r
|
|
|
6954
7059
|
*/
|
|
6955
7060
|
| 'approval-inside-container' | 'node-type-unsupported-in-container' | 'empty-graph' | 'ephemeral-role-too-long' | 'role-ref-and-inline' | 'approver-excludes-only-candidate' | 'four-eyes-requires-editable' | 'escalation-chain-not-terminal' | 'escalation-chain-too-long'
|
|
6956
7061
|
/** LUA-973: `remindAfterHours` is not a number of hours in 1..720 (`validateApprovalReminder`). */
|
|
6957
|
-
| 'remind-after-invalid'
|
|
7062
|
+
| 'remind-after-invalid'
|
|
7063
|
+
/** BAC-2062: the builder mirror of the BAC-619 validator codes: a `waitForSignal` name a delivery refuses. */
|
|
7064
|
+
| 'signal-name-invalid'
|
|
7065
|
+
/** BAC-2062: a numeric approval / waitForSignal `timeoutHours` outside 1..720. */
|
|
7066
|
+
| 'timeout-hours-out-of-range' | 'editable-path-invalid' | 'env-template-secret-key' | 'invalid-envelope' | 'invalid-step' | 'invalid-step-id' | 'invalid-workflow-name' | 'schedule-input-required' | 'schedule-input-invalid' | 'hitl-duration-defaulted' | 'WORKFLOW_UNPLACED_STEP';
|
|
6958
7067
|
|
|
6959
7068
|
export declare interface LuaWorkflowBuilder {
|
|
6960
7069
|
then(step: StepRef): this;
|
|
@@ -7265,7 +7374,7 @@ export declare interface MCPToolFilter {
|
|
|
7265
7374
|
* - 'streamable-http': Modern MCP standard (recommended) - single endpoint for bidirectional communication
|
|
7266
7375
|
* - 'sse': Legacy Server-Sent Events transport - for older MCP servers
|
|
7267
7376
|
*
|
|
7268
|
-
* Note: 'stdio' transport is not supported
|
|
7377
|
+
* Note: 'stdio' transport is not supported.
|
|
7269
7378
|
*/
|
|
7270
7379
|
export declare type MCPTransport = 'sse' | 'streamable-http';
|
|
7271
7380
|
|
|
@@ -8776,6 +8885,26 @@ declare interface SupervisedAgentSummary {
|
|
|
8776
8885
|
actions: string[];
|
|
8777
8886
|
}
|
|
8778
8887
|
|
|
8888
|
+
/**
|
|
8889
|
+
* Input of `Agents.jobs(agentId).register`: the staged version that defines the job, and the job to register.
|
|
8890
|
+
* @experimental Provisional: re-derive from the platform `jobs.register` op once it is in the shared contract.
|
|
8891
|
+
*/
|
|
8892
|
+
export declare interface SupervisedJobRegisterInput {
|
|
8893
|
+
versionId: string;
|
|
8894
|
+
jobId: string;
|
|
8895
|
+
}
|
|
8896
|
+
|
|
8897
|
+
/**
|
|
8898
|
+
* Result of a registration on the platform.
|
|
8899
|
+
* @experimental Provisional: re-derive from the platform `jobs.register` handler once it is in the shared contract.
|
|
8900
|
+
*/
|
|
8901
|
+
export declare interface SupervisedJobRegisterResult {
|
|
8902
|
+
agentId: string;
|
|
8903
|
+
versionId: string;
|
|
8904
|
+
jobId: string;
|
|
8905
|
+
registered: boolean;
|
|
8906
|
+
}
|
|
8907
|
+
|
|
8779
8908
|
/** `workflows.get` — metadata only: never the graph, script, code or tools. */
|
|
8780
8909
|
declare interface SupervisedWorkflow {
|
|
8781
8910
|
workflowId: string;
|
|
@@ -10783,9 +10912,6 @@ export declare const Workflows: WorkflowsApi;
|
|
|
10783
10912
|
*
|
|
10784
10913
|
* - `start` options are checked: an option key it does not know throws
|
|
10785
10914
|
* `WorkflowApiError{ code:'VALIDATION_FAILED' }` naming it — never silently dropped.
|
|
10786
|
-
*
|
|
10787
|
-
* `startBatch`, `signalByKey`, `raiseBudget`, `setGoal` and `goals.*` are part of the
|
|
10788
|
-
* frozen member list and throw `WORKFLOWS_API_UNAVAILABLE` until their routes ship.
|
|
10789
10915
|
*/
|
|
10790
10916
|
export declare interface WorkflowsApi {
|
|
10791
10917
|
start(nameOrId: string, input?: unknown, opts?: {
|
|
@@ -10883,6 +11009,11 @@ export declare interface WorkflowsApi {
|
|
|
10883
11009
|
code?: string;
|
|
10884
11010
|
}>;
|
|
10885
11011
|
}>;
|
|
11012
|
+
/**
|
|
11013
|
+
* Raise a parked or in-flight run's caps (increases only). Only the run's creator/holder or an
|
|
11014
|
+
* org admin may raise it. Refusals are typed `WorkflowApiError`s: 400 `VALIDATION_FAILED` /
|
|
11015
|
+
* `CAP_EXCEEDED`, 403 `NOT_RUN_CREATOR`, 404 `RUN_NOT_FOUND`, 409 `BUDGET_NOT_RAISABLE`.
|
|
11016
|
+
*/
|
|
10886
11017
|
raiseBudget(runId: string, patch: {
|
|
10887
11018
|
maxCredits?: number;
|
|
10888
11019
|
maxSteps?: number;
|
|
@@ -10897,6 +11028,7 @@ export declare interface WorkflowsApi {
|
|
|
10897
11028
|
} | {
|
|
10898
11029
|
raised: false;
|
|
10899
11030
|
reason: 'already_raised';
|
|
11031
|
+
runStatus?: WorkflowRunStatus;
|
|
10900
11032
|
}>;
|
|
10901
11033
|
setGoal(agentId: string, goal: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
10902
11034
|
goals: {
|