@lumavox/server 0.49.0 → 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.
@@ -97,6 +97,9 @@ export type SkyboxStylePage = {
97
97
  };
98
98
  export type SkyboxStyle = {
99
99
  id: number;
100
+ /**
101
+ * Its name, as offered here.
102
+ */
100
103
  name: string;
101
104
  /**
102
105
  * The longest `prompt` it takes.
@@ -914,7 +917,7 @@ export type SkyboxRequest = {
914
917
  */
915
918
  negative_text?: string | null;
916
919
  /**
917
- * One of the styles `GET /v1/skybox/styles` lists — fetch it rather than hard-coding ids. Omit for Photorealistic (157).
920
+ * One of the styles `GET /v1/skybox/styles` lists: Sky Dome (156), Photorealistic (157), Digital Painting (158), Open World (155), Anime (154), Toon Cel (159). Omit for Photorealistic (157).
918
921
  */
919
922
  style_id?: number | null;
920
923
  /**
@@ -2215,15 +2218,17 @@ export type AgentSummary = {
2215
2218
  */
2216
2219
  voice_enabled: boolean;
2217
2220
  /**
2218
- * 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
+ *
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`.
2219
2224
  *
2220
- * 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.
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.
2221
2226
  *
2222
- * 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.
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.
2223
2228
  *
2224
- * Every field of a followed section is answered as the agent runs it. Always answered: `[]` for none.
2229
+ * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2225
2230
  */
2226
- 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'>;
2227
2232
  id: string;
2228
2233
  created_at: string;
2229
2234
  updated_at: string;
@@ -2640,15 +2645,17 @@ export type AgentInfo = {
2640
2645
  */
2641
2646
  voice_enabled: boolean;
2642
2647
  /**
2643
- * 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.
2644
2649
  *
2645
- * 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.
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`.
2646
2651
  *
2647
- * 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.
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.
2648
2653
  *
2649
- * Every field of a followed section is answered as the agent runs it. Always answered: `[]` for none.
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.
2655
+ *
2656
+ * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2650
2657
  */
2651
- 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'>;
2652
2659
  id: string;
2653
2660
  created_at: string;
2654
2661
  updated_at: string;
@@ -2963,13 +2970,17 @@ export type AgentCreateRequest = {
2963
2970
  */
2964
2971
  voice_enabled?: boolean | null;
2965
2972
  /**
2966
- * 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`.
2976
+ *
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.
2967
2978
  *
2968
- * 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.
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.
2969
2980
  *
2970
- * 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.
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.
2971
2982
  */
2972
- 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;
2973
2984
  };
2974
2985
  export type AgentReportField = {
2975
2986
  /**
@@ -3124,9 +3135,9 @@ export type AgentSettingsInfo = {
3124
3135
  agents_following: AgentsFollowing;
3125
3136
  };
3126
3137
  /**
3127
- * 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.
3128
3139
  *
3129
- * **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.
3130
3141
  */
3131
3142
  export type AgentDefaults = {
3132
3143
  /**
@@ -3360,22 +3371,62 @@ export type AgentsFollowing = {
3360
3371
  */
3361
3372
  agents: number;
3362
3373
  /**
3363
- * 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.
3364
3375
  */
3365
- sections: {
3376
+ fields: {
3366
3377
  model: number;
3367
- voice: number;
3368
- hearing: number;
3369
- emotion: number;
3370
- relationship: number;
3371
- knowledge: number;
3372
- builtin_tools: number;
3373
- compaction: number;
3374
- facts: number;
3375
- memories: number;
3376
- reports: number;
3377
- outreach: number;
3378
- 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;
3379
3430
  };
3380
3431
  };
3381
3432
  export type AgentSettingsUpdate = {
@@ -3424,9 +3475,9 @@ export type AgentSettingsUpdate = {
3424
3475
  agent_defaults?: AgentDefaultsUpdate;
3425
3476
  };
3426
3477
  /**
3427
- * 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.
3428
3479
  *
3429
- * **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.
3430
3481
  */
3431
3482
  export type AgentDefaultsUpdate = {
3432
3483
  /**
@@ -3970,13 +4021,17 @@ export type AgentUpdate = {
3970
4021
  */
3971
4022
  voice_enabled?: boolean | null;
3972
4023
  /**
3973
- * 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.
4025
+ *
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`.
4027
+ *
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.
3974
4029
  *
3975
- * 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.
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.
3976
4031
  *
3977
- * 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.
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.
3978
4033
  */
3979
- 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;
3980
4035
  /**
3981
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.
3982
4037
  */
@@ -4466,13 +4521,17 @@ export type AgentDraftUpdate = {
4466
4521
  */
4467
4522
  voice_enabled?: boolean | null;
4468
4523
  /**
4469
- * 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.
4470
4529
  *
4471
- * 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.
4472
4531
  *
4473
- * 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.
4474
4533
  */
4475
- 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;
4476
4535
  /**
4477
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.
4478
4537
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.49.0",
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",