@lumavox/server 0.60.0 → 0.62.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.
@@ -2240,6 +2240,10 @@ export type AgentSummary = {
2240
2240
  * Human-readable name. Shown in the console; never sent to the model.
2241
2241
  */
2242
2242
  name: string;
2243
+ /**
2244
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
2245
+ */
2246
+ person_knowledge: boolean;
2243
2247
  /**
2244
2248
  * Who the agent is — character, background, quirks.
2245
2249
  */
@@ -2266,6 +2270,24 @@ export type AgentSummary = {
2266
2270
  * This is the *disposition* — that the history is real and that most replies should record nothing. The tool's own description covers the mechanism, and is not configurable.
2267
2271
  */
2268
2272
  relation_instruction: string | null;
2273
+ /**
2274
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
2275
+ *
2276
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
2277
+ */
2278
+ silence_after_seconds: number | null;
2279
+ /**
2280
+ * Whether `silence_message` is a direction for the model rather than the words themselves, as `first_message_generated` is for the opening line. On, each time costs one billed model call; off, it costs none.
2281
+ */
2282
+ silence_generated: boolean;
2283
+ /**
2284
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
2285
+ */
2286
+ silence_max: number | null;
2287
+ /**
2288
+ * What the agent says when the person has gone quiet (`silence_after_seconds`): said as written, with no model call — or, with `silence_generated` on, a direction the model writes a line by ("ask whether they want to keep going"). Unset, the model writes a short check that they are still there, in the conversation's language, by the platform's own direction: one billed model call.
2289
+ */
2290
+ silence_message: string | null;
2269
2291
  /**
2270
2292
  * How a streamed reply is cut into pieces for speech, smallest first - for example `[60, 160, 250]`. Ascending; a schedule out of order is refused.
2271
2293
  *
@@ -2294,6 +2316,10 @@ export type AgentSummary = {
2294
2316
  * How it speaks: register, pacing, verbosity.
2295
2317
  */
2296
2318
  tone: string | null;
2319
+ /**
2320
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
2321
+ */
2322
+ turn_end_ms: number | null;
2297
2323
  /**
2298
2324
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
2299
2325
  *
@@ -2323,7 +2349,7 @@ export type AgentSummary = {
2323
2349
  *
2324
2350
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2325
2351
  */
2326
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2352
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'turn_end_ms' | 'silence_after_seconds' | 'silence_max' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'person_knowledge' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2327
2353
  id: string;
2328
2354
  created_at: string;
2329
2355
  updated_at: string;
@@ -2737,6 +2763,10 @@ export type AgentInfo = {
2737
2763
  * Human-readable name. Shown in the console; never sent to the model.
2738
2764
  */
2739
2765
  name: string;
2766
+ /**
2767
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
2768
+ */
2769
+ person_knowledge: boolean;
2740
2770
  /**
2741
2771
  * Who the agent is — character, background, quirks.
2742
2772
  */
@@ -2763,6 +2793,24 @@ export type AgentInfo = {
2763
2793
  * This is the *disposition* — that the history is real and that most replies should record nothing. The tool's own description covers the mechanism, and is not configurable.
2764
2794
  */
2765
2795
  relation_instruction: string | null;
2796
+ /**
2797
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
2798
+ *
2799
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
2800
+ */
2801
+ silence_after_seconds: number | null;
2802
+ /**
2803
+ * Whether `silence_message` is a direction for the model rather than the words themselves, as `first_message_generated` is for the opening line. On, each time costs one billed model call; off, it costs none.
2804
+ */
2805
+ silence_generated: boolean;
2806
+ /**
2807
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
2808
+ */
2809
+ silence_max: number | null;
2810
+ /**
2811
+ * What the agent says when the person has gone quiet (`silence_after_seconds`): said as written, with no model call — or, with `silence_generated` on, a direction the model writes a line by ("ask whether they want to keep going"). Unset, the model writes a short check that they are still there, in the conversation's language, by the platform's own direction: one billed model call.
2812
+ */
2813
+ silence_message: string | null;
2766
2814
  /**
2767
2815
  * How a streamed reply is cut into pieces for speech, smallest first - for example `[60, 160, 250]`. Ascending; a schedule out of order is refused.
2768
2816
  *
@@ -2791,6 +2839,10 @@ export type AgentInfo = {
2791
2839
  * How it speaks: register, pacing, verbosity.
2792
2840
  */
2793
2841
  tone: string | null;
2842
+ /**
2843
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
2844
+ */
2845
+ turn_end_ms: number | null;
2794
2846
  /**
2795
2847
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
2796
2848
  *
@@ -2820,7 +2872,7 @@ export type AgentInfo = {
2820
2872
  *
2821
2873
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2822
2874
  */
2823
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2875
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'turn_end_ms' | 'silence_after_seconds' | 'silence_max' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'person_knowledge' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2824
2876
  id: string;
2825
2877
  created_at: string;
2826
2878
  updated_at: string;
@@ -3122,6 +3174,10 @@ export type AgentCreateRequest = {
3122
3174
  * Human-readable name. Shown in the console; never sent to the model.
3123
3175
  */
3124
3176
  name: string;
3177
+ /**
3178
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
3179
+ */
3180
+ person_knowledge?: boolean | null;
3125
3181
  /**
3126
3182
  * Who the agent is — character, background, quirks.
3127
3183
  */
@@ -3148,6 +3204,24 @@ export type AgentCreateRequest = {
3148
3204
  * This is the *disposition* — that the history is real and that most replies should record nothing. The tool's own description covers the mechanism, and is not configurable.
3149
3205
  */
3150
3206
  relation_instruction?: string | null;
3207
+ /**
3208
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
3209
+ *
3210
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
3211
+ */
3212
+ silence_after_seconds?: number | null;
3213
+ /**
3214
+ * Whether `silence_message` is a direction for the model rather than the words themselves, as `first_message_generated` is for the opening line. On, each time costs one billed model call; off, it costs none.
3215
+ */
3216
+ silence_generated?: boolean | null;
3217
+ /**
3218
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
3219
+ */
3220
+ silence_max?: number | null;
3221
+ /**
3222
+ * What the agent says when the person has gone quiet (`silence_after_seconds`): said as written, with no model call — or, with `silence_generated` on, a direction the model writes a line by ("ask whether they want to keep going"). Unset, the model writes a short check that they are still there, in the conversation's language, by the platform's own direction: one billed model call.
3223
+ */
3224
+ silence_message?: string | null;
3151
3225
  /**
3152
3226
  * How a streamed reply is cut into pieces for speech, smallest first - for example `[60, 160, 250]`. Ascending; a schedule out of order is refused.
3153
3227
  *
@@ -3176,6 +3250,10 @@ export type AgentCreateRequest = {
3176
3250
  * How it speaks: register, pacing, verbosity.
3177
3251
  */
3178
3252
  tone?: string | null;
3253
+ /**
3254
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
3255
+ */
3256
+ turn_end_ms?: number | null;
3179
3257
  /**
3180
3258
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
3181
3259
  *
@@ -3205,7 +3283,7 @@ export type AgentCreateRequest = {
3205
3283
  *
3206
3284
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
3207
3285
  */
3208
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3286
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'turn_end_ms' | 'silence_after_seconds' | 'silence_max' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'person_knowledge' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3209
3287
  };
3210
3288
  export type AgentReportField = {
3211
3289
  /**
@@ -3431,6 +3509,20 @@ export type AgentDefaults = {
3431
3509
  * **Defaults, not policy.** `user_audio.start` may name any of these per turn and what it names wins. There is no switch for hearing, and no scope of its own: a credential that may talk to an agent may speak to it, exactly as it has always been able to hear it speak back.
3432
3510
  */
3433
3511
  stt_config: AgentSttInfo | null;
3512
+ /**
3513
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
3514
+ */
3515
+ turn_end_ms: number | null;
3516
+ /**
3517
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
3518
+ *
3519
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
3520
+ */
3521
+ silence_after_seconds: number | null;
3522
+ /**
3523
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
3524
+ */
3525
+ silence_max: number | null;
3434
3526
  /**
3435
3527
  * Whether the model reports its own mood — one line in front of each reply, which is taken off the reply and sent as the socket's `mood` event, and kept on each stored message.
3436
3528
  *
@@ -3473,6 +3565,10 @@ export type AgentDefaults = {
3473
3565
  * Pieces of material a lookup hands the model, 1-8. Unset is the platform's `agents.knowledge.default_results` (`GET /v1/platform/limits`).
3474
3566
  */
3475
3567
  knowledge_max_results: number | null;
3568
+ /**
3569
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
3570
+ */
3571
+ person_knowledge: boolean | null;
3476
3572
  /**
3477
3573
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
3478
3574
  *
@@ -3658,6 +3754,9 @@ export type AgentsFollowing = {
3658
3754
  voice_config: number;
3659
3755
  stream_chunk_schedule: number;
3660
3756
  stt_config: number;
3757
+ turn_end_ms: number;
3758
+ silence_after_seconds: number;
3759
+ silence_max: number;
3661
3760
  emotion_enabled: number;
3662
3761
  emotion_instruction: number;
3663
3762
  moods: number;
@@ -3668,6 +3767,7 @@ export type AgentsFollowing = {
3668
3767
  knowledge_mode: number;
3669
3768
  knowledge_lookup_first: number;
3670
3769
  knowledge_max_results: number;
3770
+ person_knowledge: number;
3671
3771
  url_context: number;
3672
3772
  code_execution: number;
3673
3773
  tools_off: number;
@@ -3825,6 +3925,20 @@ export type AgentDefaultsUpdate = {
3825
3925
  * **Defaults, not policy.** `user_audio.start` may name any of these per turn and what it names wins. There is no switch for hearing, and no scope of its own: a credential that may talk to an agent may speak to it, exactly as it has always been able to hear it speak back.
3826
3926
  */
3827
3927
  stt_config?: AgentStt | null;
3928
+ /**
3929
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
3930
+ */
3931
+ turn_end_ms?: number | null;
3932
+ /**
3933
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
3934
+ *
3935
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
3936
+ */
3937
+ silence_after_seconds?: number | null;
3938
+ /**
3939
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
3940
+ */
3941
+ silence_max?: number | null;
3828
3942
  /**
3829
3943
  * Whether the model reports its own mood — one line in front of each reply, which is taken off the reply and sent as the socket's `mood` event, and kept on each stored message.
3830
3944
  *
@@ -3867,6 +3981,10 @@ export type AgentDefaultsUpdate = {
3867
3981
  * Pieces of material a lookup hands the model, 1-8. Unset is the platform's `agents.knowledge.default_results` (`GET /v1/platform/limits`).
3868
3982
  */
3869
3983
  knowledge_max_results?: number | null;
3984
+ /**
3985
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
3986
+ */
3987
+ person_knowledge?: boolean | null;
3870
3988
  /**
3871
3989
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
3872
3990
  *
@@ -4331,6 +4449,10 @@ export type AgentUpdate = {
4331
4449
  * Human-readable name. Shown in the console; never sent to the model.
4332
4450
  */
4333
4451
  name?: string;
4452
+ /**
4453
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
4454
+ */
4455
+ person_knowledge?: boolean | null;
4334
4456
  /**
4335
4457
  * Who the agent is — character, background, quirks.
4336
4458
  */
@@ -4357,6 +4479,24 @@ export type AgentUpdate = {
4357
4479
  * This is the *disposition* — that the history is real and that most replies should record nothing. The tool's own description covers the mechanism, and is not configurable.
4358
4480
  */
4359
4481
  relation_instruction?: string | null;
4482
+ /**
4483
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
4484
+ *
4485
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
4486
+ */
4487
+ silence_after_seconds?: number | null;
4488
+ /**
4489
+ * Whether `silence_message` is a direction for the model rather than the words themselves, as `first_message_generated` is for the opening line. On, each time costs one billed model call; off, it costs none.
4490
+ */
4491
+ silence_generated?: boolean | null;
4492
+ /**
4493
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
4494
+ */
4495
+ silence_max?: number | null;
4496
+ /**
4497
+ * What the agent says when the person has gone quiet (`silence_after_seconds`): said as written, with no model call — or, with `silence_generated` on, a direction the model writes a line by ("ask whether they want to keep going"). Unset, the model writes a short check that they are still there, in the conversation's language, by the platform's own direction: one billed model call.
4498
+ */
4499
+ silence_message?: string | null;
4360
4500
  /**
4361
4501
  * How a streamed reply is cut into pieces for speech, smallest first - for example `[60, 160, 250]`. Ascending; a schedule out of order is refused.
4362
4502
  *
@@ -4385,6 +4525,10 @@ export type AgentUpdate = {
4385
4525
  * How it speaks: register, pacing, verbosity.
4386
4526
  */
4387
4527
  tone?: string | null;
4528
+ /**
4529
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
4530
+ */
4531
+ turn_end_ms?: number | null;
4388
4532
  /**
4389
4533
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
4390
4534
  *
@@ -4414,7 +4558,7 @@ export type AgentUpdate = {
4414
4558
  *
4415
4559
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
4416
4560
  */
4417
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4561
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'turn_end_ms' | 'silence_after_seconds' | 'silence_max' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'person_knowledge' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4418
4562
  /**
4419
4563
  * The `version` you last read for this agent. When set and the agent has been changed since, the update is refused with 409 and nothing is written - re-read it and decide again. Omit it to write unconditionally.
4420
4564
  */
@@ -5022,6 +5166,10 @@ export type AgentDraftUpdate = {
5022
5166
  * Human-readable name. Shown in the console; never sent to the model.
5023
5167
  */
5024
5168
  name?: string;
5169
+ /**
5170
+ * Whether the agent also looks up **the person's own documents** — the knowledge entries made with their `end_user_id` (`POST /v1/knowledge`): their notes, their CV. Searched in that person's conversations only, never anyone else's, beside the entries assigned to the agent, and listed in its instruction under their own heading. **Off by default**, so no agent reads a person's documents it was not made for. Needs `knowledge_enabled`; a person's entries are always looked up, never put whole in the prompt.
5171
+ */
5172
+ person_knowledge?: boolean | null;
5025
5173
  /**
5026
5174
  * Who the agent is — character, background, quirks.
5027
5175
  */
@@ -5048,6 +5196,24 @@ export type AgentDraftUpdate = {
5048
5196
  * This is the *disposition* — that the history is real and that most replies should record nothing. The tool's own description covers the mechanism, and is not configurable.
5049
5197
  */
5050
5198
  relation_instruction?: string | null;
5199
+ /**
5200
+ * How long the person may say nothing, in seconds, before the agent speaks to them again — "Are you still there?" — counted from when its reply has finished playing: 10 to 600. Unset, it never does.
5201
+ *
5202
+ * It speaks again at most `silence_max` times in a row, only while a socket is open on the conversation, and anything the person sends — a message, their voice, a cancel — starts the count again. The socket still closes after `ready`'s `idle_seconds` with no word from the person, as it would without it. Each time is a reply like any other, paid from the key's budget.
5203
+ */
5204
+ silence_after_seconds?: number | null;
5205
+ /**
5206
+ * Whether `silence_message` is a direction for the model rather than the words themselves, as `first_message_generated` is for the opening line. On, each time costs one billed model call; off, it costs none.
5207
+ */
5208
+ silence_generated?: boolean | null;
5209
+ /**
5210
+ * How many times in a row the agent speaks into a silence (`silence_after_seconds`) before it waits for the person: 1 to 5. Unset is 2.
5211
+ */
5212
+ silence_max?: number | null;
5213
+ /**
5214
+ * What the agent says when the person has gone quiet (`silence_after_seconds`): said as written, with no model call — or, with `silence_generated` on, a direction the model writes a line by ("ask whether they want to keep going"). Unset, the model writes a short check that they are still there, in the conversation's language, by the platform's own direction: one billed model call.
5215
+ */
5216
+ silence_message?: string | null;
5051
5217
  /**
5052
5218
  * How a streamed reply is cut into pieces for speech, smallest first - for example `[60, 160, 250]`. Ascending; a schedule out of order is refused.
5053
5219
  *
@@ -5076,6 +5242,10 @@ export type AgentDraftUpdate = {
5076
5242
  * How it speaks: register, pacing, verbosity.
5077
5243
  */
5078
5244
  tone?: string | null;
5245
+ /**
5246
+ * How long the agent waits after the person stops speaking before it takes their turn as over, in milliseconds: 300 to 3000. Sent to the app as `ready`'s `turn_end_ms`; the SDKs' hands-free listening uses it unless the app sets its own `endAfterMs`. Shorter answers sooner and can cut off someone who pauses; longer lets them think. Unset is the app's own: 700 ms in the SDKs.
5247
+ */
5248
+ turn_end_ms?: number | null;
5079
5249
  /**
5080
5250
  * Whether the model may read a web page by its address while it replies, when the person gives one or one is in its instructions. Gemini's own tool: the page is fetched by Google. The pages it read come back as the reply's `sources`.
5081
5251
  *
@@ -5105,7 +5275,7 @@ export type AgentDraftUpdate = {
5105
5275
  *
5106
5276
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
5107
5277
  */
5108
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
5278
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'turn_end_ms' | 'silence_after_seconds' | 'silence_max' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'person_knowledge' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
5109
5279
  /**
5110
5280
  * The whole set of tools the agent would have, by `tl_…`; omitted, the draft's as they are. Ids not yours are left out.
5111
5281
  */
@@ -5781,6 +5951,10 @@ export type KnowledgeInfo = {
5781
5951
  */
5782
5952
  chunks: number;
5783
5953
  created_at: string;
5954
+ /**
5955
+ * The person this entry is theirs alone, by `eu_...` id: searched in their conversations only, by the agents with `person_knowledge` on. Null for the organisation's own.
5956
+ */
5957
+ end_user_id: string | null;
5784
5958
  /**
5785
5959
  * Why indexing failed, when it did.
5786
5960
  */
@@ -5833,6 +6007,10 @@ export type KnowledgeCreate = {
5833
6007
  agent_ids?: Array<string>;
5834
6008
  body: string;
5835
6009
  category?: string | null;
6010
+ /**
6011
+ * The person this entry is theirs alone — their `eu_...` id or your own id for them: searched in their conversations only, by the agents with `person_knowledge` on, and given to no agent, so send no `agent_ids` with it. Counts toward the person's own limit (`limits.org.person_knowledge_entries`, `GET /v1/platform/limits`), not the organisation's. Unset, the organisation's own entry.
6012
+ */
6013
+ end_user_id?: string | null;
5836
6014
  summary?: string | null;
5837
6015
  title: string;
5838
6016
  };
@@ -5868,6 +6046,10 @@ export type KnowledgeUrlCreate = {
5868
6046
  * Also import the pages this one links to and the site's sitemap lists, in the same part of the site — `https://shop.test/help/` finds `/help/…` and nothing else — each as its own entry with the same agents, category and `refresh`. One level, robots.txt honoured, pages already imported skipped. The response is this page's entry; the others appear as they are found.
5869
6047
  */
5870
6048
  crawl?: boolean;
6049
+ /**
6050
+ * The person this entry is theirs alone — their `eu_...` id or your own id for them: searched in their conversations only, by the agents with `person_knowledge` on, and given to no agent, so send no `agent_ids` with it. Counts toward the person's own limit (`limits.org.person_knowledge_entries`, `GET /v1/platform/limits`), not the organisation's. Unset, the organisation's own entry. A person's entry is one page: no `crawl`.
6051
+ */
6052
+ end_user_id?: string | null;
5871
6053
  /**
5872
6054
  * With `crawl`: the most entries made, this page included.
5873
6055
  */
@@ -5914,6 +6096,10 @@ export type KnowledgeUploadRequest = {
5914
6096
  export type KnowledgeFileCreate = {
5915
6097
  agent_ids?: Array<string>;
5916
6098
  category?: string | null;
6099
+ /**
6100
+ * The person this entry is theirs alone — their `eu_...` id or your own id for them: searched in their conversations only, by the agents with `person_knowledge` on, and given to no agent, so send no `agent_ids` with it. Counts toward the person's own limit (`limits.org.person_knowledge_entries`, `GET /v1/platform/limits`), not the organisation's. Unset, the organisation's own entry.
6101
+ */
6102
+ end_user_id?: string | null;
5917
6103
  filename: string;
5918
6104
  title?: string | null;
5919
6105
  upload_id: string;
@@ -11352,6 +11538,10 @@ export type ListKnowledgeData = {
11352
11538
  * Only the entries this agent has.
11353
11539
  */
11354
11540
  agent_id?: string;
11541
+ /**
11542
+ * One person's own entries, by their `eu_...` id or your own id for them. Unset, the organisation's own: a person's entries are listed only by naming them.
11543
+ */
11544
+ end_user_id?: string;
11355
11545
  category?: string;
11356
11546
  status?: 'pending' | 'ready' | 'failed' | 'importing';
11357
11547
  /**
@@ -11414,6 +11604,10 @@ export type CreateKnowledgeErrors = {
11414
11604
  * The key is valid but its scopes do not cover this capability — a key limited to `tts` gets this from `/v1/images` rather than a 401
11415
11605
  */
11416
11606
  403: ErrorResponse;
11607
+ /**
11608
+ * `end_user_id` names nobody in this organisation.
11609
+ */
11610
+ 404: ErrorResponse;
11417
11611
  /**
11418
11612
  * The organisation already has as many entries as the platform allows. Delete one before adding another.
11419
11613
  */
@@ -11494,6 +11688,10 @@ export type CreateKnowledgeFromUrlErrors = {
11494
11688
  * The key is valid but its scopes do not cover this capability — a key limited to `tts` gets this from `/v1/images` rather than a 401
11495
11689
  */
11496
11690
  403: ErrorResponse;
11691
+ /**
11692
+ * `end_user_id` names nobody in this organisation.
11693
+ */
11694
+ 404: ErrorResponse;
11497
11695
  /**
11498
11696
  * The organisation's entry limit.
11499
11697
  */
@@ -11583,7 +11781,7 @@ export type CreateKnowledgeFromFileErrors = {
11583
11781
  */
11584
11782
  403: ErrorResponse;
11585
11783
  /**
11586
- * Nothing was uploaded for that upload_id.
11784
+ * Nothing was uploaded for that upload_id, or `end_user_id` names nobody in this organisation.
11587
11785
  */
11588
11786
  404: ErrorResponse;
11589
11787
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.60.0",
3
+ "version": "0.62.0",
4
4
  "description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
5
5
  "license": "MIT",
6
6
  "type": "module",