@lumavox/server 0.49.1 → 0.50.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.
@@ -2218,15 +2218,17 @@ export type AgentSummary = {
2218
2218
  */
2219
2219
  voice_enabled: boolean;
2220
2220
  /**
2221
- * The sections of this agent's settings it takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own: the complete list, `null` or `[]` for none.
2221
+ * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2222
2222
  *
2223
- * A new agent follows every section you did not set when you made it. An agent made before this existed follows none until you say so.
2223
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2224
2224
  *
2225
- * Sending a value that differs from what a followed section runs with customises that section: the organisation's values are copied onto the agent and your change laid over them. Sending the value it already runs with changes nothing. Naming a section here and sending a different value for one of its fields in the same request is a 422.
2225
+ * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2226
2226
  *
2227
- * Every field of a followed section is answered as the agent runs it. Always answered: `[]` for none.
2227
+ * Sending a value that differs from what a followed setting runs with customises that setting, or its set: the organisation's values are copied onto the agent and your change laid over them, and the rest keep following. Sending the value it already runs with changes nothing. Naming a field here and sending a different value for it in the same request is a 422.
2228
+ *
2229
+ * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2228
2230
  */
2229
- org_defaults: Array<'model' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'>;
2231
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | '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'>;
2230
2232
  id: string;
2231
2233
  created_at: string;
2232
2234
  updated_at: string;
@@ -2643,15 +2645,17 @@ export type AgentInfo = {
2643
2645
  */
2644
2646
  voice_enabled: boolean;
2645
2647
  /**
2646
- * The sections of this agent's settings it takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own: the complete list, `null` or `[]` for none.
2648
+ * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2649
+ *
2650
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2647
2651
  *
2648
- * A new agent follows every section you did not set when you made it. An agent made before this existed follows none until you say so.
2652
+ * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2649
2653
  *
2650
- * Sending a value that differs from what a followed section runs with customises that section: the organisation's values are copied onto the agent and your change laid over them. Sending the value it already runs with changes nothing. Naming a section here and sending a different value for one of its fields in the same request is a 422.
2654
+ * Sending a value that differs from what a followed setting runs with customises that setting, or its set: the organisation's values are copied onto the agent and your change laid over them, and the rest keep following. Sending the value it already runs with changes nothing. Naming a field here and sending a different value for it in the same request is a 422.
2651
2655
  *
2652
- * Every field of a followed section is answered as the agent runs it. Always answered: `[]` for none.
2656
+ * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2653
2657
  */
2654
- org_defaults: Array<'model' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'>;
2658
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | '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'>;
2655
2659
  id: string;
2656
2660
  created_at: string;
2657
2661
  updated_at: string;
@@ -2966,13 +2970,17 @@ export type AgentCreateRequest = {
2966
2970
  */
2967
2971
  voice_enabled?: boolean | null;
2968
2972
  /**
2969
- * The sections of this agent's settings it takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own: the complete list, `null` or `[]` for none.
2973
+ * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
2974
+ *
2975
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
2970
2976
  *
2971
- * A new agent follows every section you did not set when you made it. An agent made before this existed follows none until you say so.
2977
+ * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
2972
2978
  *
2973
- * Sending a value that differs from what a followed section runs with customises that section: the organisation's values are copied onto the agent and your change laid over them. Sending the value it already runs with changes nothing. Naming a section here and sending a different value for one of its fields in the same request is a 422.
2979
+ * Sending a value that differs from what a followed setting runs with customises that setting, or its set: the organisation's values are copied onto the agent and your change laid over them, and the rest keep following. Sending the value it already runs with changes nothing. Naming a field here and sending a different value for it in the same request is a 422.
2980
+ *
2981
+ * 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.
2974
2982
  */
2975
- org_defaults?: Array<'model' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
2983
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | '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' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
2976
2984
  };
2977
2985
  export type AgentReportField = {
2978
2986
  /**
@@ -3127,9 +3135,9 @@ export type AgentSettingsInfo = {
3127
3135
  agents_following: AgentsFollowing;
3128
3136
  };
3129
3137
  /**
3130
- * What an agent following a section of `org_defaults` runs with, instead of its own. A field left unset is what a new agent has. The instructions and the chunk schedule are `default_*` beside this.
3138
+ * What an agent following a field of `org_defaults` runs with, instead of its own. A field left unset is what a new agent has. The instructions and the chunk schedule are `default_*` beside this.
3131
3139
  *
3132
- * **A change reaches every agent following that section at once**, with no draft to try it in, within about a minute.
3140
+ * **A change reaches every agent following that field at once**, with no draft to try it in, within about a minute.
3133
3141
  */
3134
3142
  export type AgentDefaults = {
3135
3143
  /**
@@ -3363,22 +3371,62 @@ export type AgentsFollowing = {
3363
3371
  */
3364
3372
  agents: number;
3365
3373
  /**
3366
- * How many of them follow each section: what a change to that section's defaults reaches.
3374
+ * How many of them follow each field: what a change to that field's default reaches.
3367
3375
  */
3368
- sections: {
3376
+ fields: {
3369
3377
  model: number;
3370
- voice: number;
3371
- hearing: number;
3372
- emotion: number;
3373
- relationship: number;
3374
- knowledge: number;
3375
- builtin_tools: number;
3376
- compaction: number;
3377
- facts: number;
3378
- memories: number;
3379
- reports: number;
3380
- outreach: number;
3381
- safety: number;
3378
+ thinking_level: number;
3379
+ thinking_summaries: number;
3380
+ max_output_tokens: number;
3381
+ voice_enabled: number;
3382
+ voice_config: number;
3383
+ stream_chunk_schedule: number;
3384
+ stt_config: number;
3385
+ emotion_enabled: number;
3386
+ emotion_instruction: number;
3387
+ relation_enabled: number;
3388
+ relation_instruction: number;
3389
+ knowledge_enabled: number;
3390
+ knowledge_mode: number;
3391
+ knowledge_lookup_first: number;
3392
+ knowledge_max_results: number;
3393
+ url_context: number;
3394
+ code_execution: number;
3395
+ compact_threshold_tokens: number;
3396
+ compact_instruction: number;
3397
+ compact_model: number;
3398
+ compact_thinking_level: number;
3399
+ compact_max_output_tokens: number;
3400
+ fact_instruction: number;
3401
+ fact_model: number;
3402
+ fact_thinking_level: number;
3403
+ fact_max_output_tokens: number;
3404
+ max_facts: number;
3405
+ facts_enabled: number;
3406
+ facts_scope: number;
3407
+ memories_enabled: number;
3408
+ memories_scope: number;
3409
+ memory_model: number;
3410
+ memory_thinking_level: number;
3411
+ memory_max_output_tokens: number;
3412
+ memory_instruction: number;
3413
+ memory_categories: number;
3414
+ report_enabled: number;
3415
+ report_fields: number;
3416
+ report_success: number;
3417
+ report_instruction: number;
3418
+ report_model: number;
3419
+ report_thinking_level: number;
3420
+ report_max_output_tokens: number;
3421
+ report_transcript: number;
3422
+ outreach_enabled: number;
3423
+ outreach_quiet_hours: number;
3424
+ outreach_time_zone: number;
3425
+ outreach_tool: number;
3426
+ guardrails: number;
3427
+ age_level: number;
3428
+ blocked_topics: number;
3429
+ fallback_message: number;
3382
3430
  };
3383
3431
  };
3384
3432
  export type AgentSettingsUpdate = {
@@ -3427,9 +3475,9 @@ export type AgentSettingsUpdate = {
3427
3475
  agent_defaults?: AgentDefaultsUpdate;
3428
3476
  };
3429
3477
  /**
3430
- * What an agent following a section of `org_defaults` runs with, instead of its own. A field left unset is what a new agent has. The instructions and the chunk schedule are `default_*` beside this.
3478
+ * What an agent following a field of `org_defaults` runs with, instead of its own. A field left unset is what a new agent has. The instructions and the chunk schedule are `default_*` beside this.
3431
3479
  *
3432
- * **A change reaches every agent following that section at once**, with no draft to try it in, within about a minute. Only what you send changes; `null` takes a field away.
3480
+ * **A change reaches every agent following that field at once**, with no draft to try it in, within about a minute. Only what you send changes; `null` takes a field away.
3433
3481
  */
3434
3482
  export type AgentDefaultsUpdate = {
3435
3483
  /**
@@ -3973,13 +4021,17 @@ export type AgentUpdate = {
3973
4021
  */
3974
4022
  voice_enabled?: boolean | null;
3975
4023
  /**
3976
- * The sections of this agent's settings it takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own: the complete list, `null` or `[]` for none.
4024
+ * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
3977
4025
  *
3978
- * A new agent follows every section you did not set when you made it. An agent made before this existed follows none until you say so.
4026
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
3979
4027
  *
3980
- * Sending a value that differs from what a followed section runs with customises that section: the organisation's values are copied onto the agent and your change laid over them. Sending the value it already runs with changes nothing. Naming a section here and sending a different value for one of its fields in the same request is a 422.
4028
+ * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
4029
+ *
4030
+ * Sending a value that differs from what a followed setting runs with customises that setting, or its set: the organisation's values are copied onto the agent and your change laid over them, and the rest keep following. Sending the value it already runs with changes nothing. Naming a field here and sending a different value for it in the same request is a 422.
4031
+ *
4032
+ * 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.
3981
4033
  */
3982
- org_defaults?: Array<'model' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4034
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | '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' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3983
4035
  /**
3984
4036
  * 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.
3985
4037
  */
@@ -4469,13 +4521,17 @@ export type AgentDraftUpdate = {
4469
4521
  */
4470
4522
  voice_enabled?: boolean | null;
4471
4523
  /**
4472
- * The sections of this agent's settings it takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own: the complete list, `null` or `[]` for none.
4524
+ * The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
4525
+ *
4526
+ * Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model`, `thinking_level`, `thinking_summaries` and `max_output_tokens`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
4527
+ *
4528
+ * A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
4473
4529
  *
4474
- * A new agent follows every section you did not set when you made it. An agent made before this existed follows none until you say so.
4530
+ * Sending a value that differs from what a followed setting runs with customises that setting, or its set: the organisation's values are copied onto the agent and your change laid over them, and the rest keep following. Sending the value it already runs with changes nothing. Naming a field here and sending a different value for it in the same request is a 422.
4475
4531
  *
4476
- * Sending a value that differs from what a followed section runs with customises that section: the organisation's values are copied onto the agent and your change laid over them. Sending the value it already runs with changes nothing. Naming a section here and sending a different value for one of its fields in the same request is a 422.
4532
+ * 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.
4477
4533
  */
4478
- org_defaults?: Array<'model' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4534
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | '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' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4479
4535
  /**
4480
4536
  * The whole set of tools the agent would have, by `tl_…`; omitted, the draft's as they are. Ids not yours are left out.
4481
4537
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.49.1",
3
+ "version": "0.50.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",