@lumavox/server 0.61.0 → 0.62.1

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.
@@ -1979,7 +1979,7 @@ export type AgentSummary = {
1979
1979
  */
1980
1980
  report_max_output_tokens: number | null;
1981
1981
  /**
1982
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
1982
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
1983
1983
  */
1984
1984
  report_transcript: boolean;
1985
1985
  /**
@@ -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
  */
@@ -2345,7 +2349,7 @@ export type AgentSummary = {
2345
2349
  *
2346
2350
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2347
2351
  */
2348
- 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' | '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'>;
2349
2353
  id: string;
2350
2354
  created_at: string;
2351
2355
  updated_at: string;
@@ -2498,7 +2502,7 @@ export type AgentInfo = {
2498
2502
  */
2499
2503
  report_max_output_tokens: number | null;
2500
2504
  /**
2501
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
2505
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
2502
2506
  */
2503
2507
  report_transcript: boolean;
2504
2508
  /**
@@ -2759,6 +2763,10 @@ export type AgentInfo = {
2759
2763
  * Human-readable name. Shown in the console; never sent to the model.
2760
2764
  */
2761
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;
2762
2770
  /**
2763
2771
  * Who the agent is — character, background, quirks.
2764
2772
  */
@@ -2864,7 +2872,7 @@ export type AgentInfo = {
2864
2872
  *
2865
2873
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2866
2874
  */
2867
- 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' | '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'>;
2868
2876
  id: string;
2869
2877
  created_at: string;
2870
2878
  updated_at: string;
@@ -2905,7 +2913,7 @@ export type AgentCreateRequest = {
2905
2913
  */
2906
2914
  report_max_output_tokens?: number | null;
2907
2915
  /**
2908
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
2916
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
2909
2917
  */
2910
2918
  report_transcript?: boolean | null;
2911
2919
  /**
@@ -3166,6 +3174,10 @@ export type AgentCreateRequest = {
3166
3174
  * Human-readable name. Shown in the console; never sent to the model.
3167
3175
  */
3168
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;
3169
3181
  /**
3170
3182
  * Who the agent is — character, background, quirks.
3171
3183
  */
@@ -3271,7 +3283,7 @@ export type AgentCreateRequest = {
3271
3283
  *
3272
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.
3273
3285
  */
3274
- 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' | '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;
3275
3287
  };
3276
3288
  export type AgentReportField = {
3277
3289
  /**
@@ -3553,6 +3565,10 @@ export type AgentDefaults = {
3553
3565
  * Pieces of material a lookup hands the model, 1-8. Unset is the platform's `agents.knowledge.default_results` (`GET /v1/platform/limits`).
3554
3566
  */
3555
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;
3556
3572
  /**
3557
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`.
3558
3574
  *
@@ -3674,7 +3690,7 @@ export type AgentDefaults = {
3674
3690
  */
3675
3691
  report_max_output_tokens: number | null;
3676
3692
  /**
3677
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
3693
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
3678
3694
  */
3679
3695
  report_transcript: boolean | null;
3680
3696
  /**
@@ -3751,6 +3767,7 @@ export type AgentsFollowing = {
3751
3767
  knowledge_mode: number;
3752
3768
  knowledge_lookup_first: number;
3753
3769
  knowledge_max_results: number;
3770
+ person_knowledge: number;
3754
3771
  url_context: number;
3755
3772
  code_execution: number;
3756
3773
  tools_off: number;
@@ -3964,6 +3981,10 @@ export type AgentDefaultsUpdate = {
3964
3981
  * Pieces of material a lookup hands the model, 1-8. Unset is the platform's `agents.knowledge.default_results` (`GET /v1/platform/limits`).
3965
3982
  */
3966
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;
3967
3988
  /**
3968
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`.
3969
3990
  *
@@ -4085,7 +4106,7 @@ export type AgentDefaultsUpdate = {
4085
4106
  */
4086
4107
  report_max_output_tokens?: number | null;
4087
4108
  /**
4088
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
4109
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
4089
4110
  */
4090
4111
  report_transcript?: boolean | null;
4091
4112
  /**
@@ -4167,7 +4188,7 @@ export type AgentUpdate = {
4167
4188
  */
4168
4189
  report_max_output_tokens?: number | null;
4169
4190
  /**
4170
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
4191
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
4171
4192
  */
4172
4193
  report_transcript?: boolean | null;
4173
4194
  /**
@@ -4428,6 +4449,10 @@ export type AgentUpdate = {
4428
4449
  * Human-readable name. Shown in the console; never sent to the model.
4429
4450
  */
4430
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;
4431
4456
  /**
4432
4457
  * Who the agent is — character, background, quirks.
4433
4458
  */
@@ -4533,7 +4558,7 @@ export type AgentUpdate = {
4533
4558
  *
4534
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.
4535
4560
  */
4536
- 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' | '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;
4537
4562
  /**
4538
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.
4539
4564
  */
@@ -4880,7 +4905,7 @@ export type AgentDraftUpdate = {
4880
4905
  */
4881
4906
  report_max_output_tokens?: number | null;
4882
4907
  /**
4883
- * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, up to 200,000 characters.
4908
+ * Whether a report carries the messages it read, as `transcript` — in the webhook and on the API. Off by default: a report says what happened; the transcript is the conversation again, as much of it as the report read.
4884
4909
  */
4885
4910
  report_transcript?: boolean | null;
4886
4911
  /**
@@ -5141,6 +5166,10 @@ export type AgentDraftUpdate = {
5141
5166
  * Human-readable name. Shown in the console; never sent to the model.
5142
5167
  */
5143
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;
5144
5173
  /**
5145
5174
  * Who the agent is — character, background, quirks.
5146
5175
  */
@@ -5246,7 +5275,7 @@ export type AgentDraftUpdate = {
5246
5275
  *
5247
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.
5248
5277
  */
5249
- 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' | '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;
5250
5279
  /**
5251
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.
5252
5281
  */
@@ -5735,7 +5764,7 @@ export type ScheduledMessage = {
5735
5764
  */
5736
5765
  send_at: string;
5737
5766
  /**
5738
- * When it is written: out of the agent's quiet hours in the person's time zone, and spread over up to two minutes, so many messages of one minute do not all go at once.
5767
+ * When it is written: out of the agent's quiet hours in the person's time zone, and spread over a short while, two minutes unless the platform changed it, so many messages of one minute do not all go at once.
5739
5768
  */
5740
5769
  due_at: string;
5741
5770
  /**
@@ -5922,6 +5951,10 @@ export type KnowledgeInfo = {
5922
5951
  */
5923
5952
  chunks: number;
5924
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;
5925
5958
  /**
5926
5959
  * Why indexing failed, when it did.
5927
5960
  */
@@ -5974,6 +6007,10 @@ export type KnowledgeCreate = {
5974
6007
  agent_ids?: Array<string>;
5975
6008
  body: string;
5976
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;
5977
6014
  summary?: string | null;
5978
6015
  title: string;
5979
6016
  };
@@ -6009,6 +6046,10 @@ export type KnowledgeUrlCreate = {
6009
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.
6010
6047
  */
6011
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;
6012
6053
  /**
6013
6054
  * With `crawl`: the most entries made, this page included.
6014
6055
  */
@@ -6055,6 +6096,10 @@ export type KnowledgeUploadRequest = {
6055
6096
  export type KnowledgeFileCreate = {
6056
6097
  agent_ids?: Array<string>;
6057
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;
6058
6103
  filename: string;
6059
6104
  title?: string | null;
6060
6105
  upload_id: string;
@@ -11493,6 +11538,10 @@ export type ListKnowledgeData = {
11493
11538
  * Only the entries this agent has.
11494
11539
  */
11495
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;
11496
11545
  category?: string;
11497
11546
  status?: 'pending' | 'ready' | 'failed' | 'importing';
11498
11547
  /**
@@ -11555,6 +11604,10 @@ export type CreateKnowledgeErrors = {
11555
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
11556
11605
  */
11557
11606
  403: ErrorResponse;
11607
+ /**
11608
+ * `end_user_id` names nobody in this organisation.
11609
+ */
11610
+ 404: ErrorResponse;
11558
11611
  /**
11559
11612
  * The organisation already has as many entries as the platform allows. Delete one before adding another.
11560
11613
  */
@@ -11635,6 +11688,10 @@ export type CreateKnowledgeFromUrlErrors = {
11635
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
11636
11689
  */
11637
11690
  403: ErrorResponse;
11691
+ /**
11692
+ * `end_user_id` names nobody in this organisation.
11693
+ */
11694
+ 404: ErrorResponse;
11638
11695
  /**
11639
11696
  * The organisation's entry limit.
11640
11697
  */
@@ -11724,7 +11781,7 @@ export type CreateKnowledgeFromFileErrors = {
11724
11781
  */
11725
11782
  403: ErrorResponse;
11726
11783
  /**
11727
- * Nothing was uploaded for that upload_id.
11784
+ * Nothing was uploaded for that upload_id, or `end_user_id` names nobody in this organisation.
11728
11785
  */
11729
11786
  404: ErrorResponse;
11730
11787
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.61.0",
3
+ "version": "0.62.1",
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",