@lumavox/server 0.14.2 → 0.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/types.gen.d.ts +20 -12
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1334,7 +1334,7 @@ export type SessionInfo = {
|
|
|
1334
1334
|
};
|
|
1335
1335
|
export type CompactionInfo = {
|
|
1336
1336
|
/**
|
|
1337
|
-
* The last message this summary covers. Anything after it is still sent to the model verbatim.
|
|
1337
|
+
* The last message this summary covers. Anything after it — the last few exchanges, kept word for word, then whatever is said next — is still sent to the model verbatim.
|
|
1338
1338
|
*/
|
|
1339
1339
|
after_seq: number;
|
|
1340
1340
|
/**
|
|
@@ -1353,7 +1353,7 @@ export type CompactionInfo = {
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
summary: string;
|
|
1355
1355
|
/**
|
|
1356
|
-
* `manual` (a client asked)
|
|
1356
|
+
* `manual` (a client asked) or `automatic` (a turn reached the agent's threshold, or a long compaction's next pass). `idle` is no longer written: it marks compactions made when a quiet conversation's facts were read, before facts were read on their own.
|
|
1357
1357
|
*/
|
|
1358
1358
|
trigger: 'manual' | 'automatic' | 'idle';
|
|
1359
1359
|
};
|
|
@@ -1453,7 +1453,7 @@ export type AgentSummary = {
|
|
|
1453
1453
|
*/
|
|
1454
1454
|
compact_instruction: string | null;
|
|
1455
1455
|
/**
|
|
1456
|
-
* Length cap on the summary.
|
|
1456
|
+
* Length cap on the summary, in tokens — the model's thinking included, which shares the budget. Unset uses the platform's `agents.memory.compaction.max_output_tokens` on the Limits page, twice it when the compaction extracts facts too.
|
|
1457
1457
|
*/
|
|
1458
1458
|
compact_max_output_tokens: number | null;
|
|
1459
1459
|
/**
|
|
@@ -1465,7 +1465,7 @@ export type AgentSummary = {
|
|
|
1465
1465
|
*/
|
|
1466
1466
|
compact_thinking_level: 'minimal' | 'low' | 'medium' | 'high' | null;
|
|
1467
1467
|
/**
|
|
1468
|
-
* Compact automatically once a turn's `
|
|
1468
|
+
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
1469
1469
|
*/
|
|
1470
1470
|
compact_threshold_tokens: number | null;
|
|
1471
1471
|
/**
|
|
@@ -1708,7 +1708,7 @@ export type AgentInfo = {
|
|
|
1708
1708
|
*/
|
|
1709
1709
|
compact_instruction: string | null;
|
|
1710
1710
|
/**
|
|
1711
|
-
* Length cap on the summary.
|
|
1711
|
+
* Length cap on the summary, in tokens — the model's thinking included, which shares the budget. Unset uses the platform's `agents.memory.compaction.max_output_tokens` on the Limits page, twice it when the compaction extracts facts too.
|
|
1712
1712
|
*/
|
|
1713
1713
|
compact_max_output_tokens: number | null;
|
|
1714
1714
|
/**
|
|
@@ -1720,7 +1720,7 @@ export type AgentInfo = {
|
|
|
1720
1720
|
*/
|
|
1721
1721
|
compact_thinking_level: 'minimal' | 'low' | 'medium' | 'high' | null;
|
|
1722
1722
|
/**
|
|
1723
|
-
* Compact automatically once a turn's `
|
|
1723
|
+
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
1724
1724
|
*/
|
|
1725
1725
|
compact_threshold_tokens: number | null;
|
|
1726
1726
|
/**
|
|
@@ -1905,7 +1905,7 @@ export type AgentCreateRequest = {
|
|
|
1905
1905
|
*/
|
|
1906
1906
|
compact_instruction?: string | null;
|
|
1907
1907
|
/**
|
|
1908
|
-
* Length cap on the summary.
|
|
1908
|
+
* Length cap on the summary, in tokens — the model's thinking included, which shares the budget. Unset uses the platform's `agents.memory.compaction.max_output_tokens` on the Limits page, twice it when the compaction extracts facts too.
|
|
1909
1909
|
*/
|
|
1910
1910
|
compact_max_output_tokens?: number | null;
|
|
1911
1911
|
/**
|
|
@@ -1917,7 +1917,7 @@ export type AgentCreateRequest = {
|
|
|
1917
1917
|
*/
|
|
1918
1918
|
compact_thinking_level?: 'minimal' | 'low' | 'medium' | 'high' | null;
|
|
1919
1919
|
/**
|
|
1920
|
-
* Compact automatically once a turn's `
|
|
1920
|
+
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
1921
1921
|
*/
|
|
1922
1922
|
compact_threshold_tokens?: number | null;
|
|
1923
1923
|
/**
|
|
@@ -2241,7 +2241,7 @@ export type AgentUpdate = {
|
|
|
2241
2241
|
*/
|
|
2242
2242
|
compact_instruction?: string | null;
|
|
2243
2243
|
/**
|
|
2244
|
-
* Length cap on the summary.
|
|
2244
|
+
* Length cap on the summary, in tokens — the model's thinking included, which shares the budget. Unset uses the platform's `agents.memory.compaction.max_output_tokens` on the Limits page, twice it when the compaction extracts facts too.
|
|
2245
2245
|
*/
|
|
2246
2246
|
compact_max_output_tokens?: number | null;
|
|
2247
2247
|
/**
|
|
@@ -2253,7 +2253,7 @@ export type AgentUpdate = {
|
|
|
2253
2253
|
*/
|
|
2254
2254
|
compact_thinking_level?: 'minimal' | 'low' | 'medium' | 'high' | null;
|
|
2255
2255
|
/**
|
|
2256
|
-
* Compact automatically once a turn's `
|
|
2256
|
+
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
2257
2257
|
*/
|
|
2258
2258
|
compact_threshold_tokens?: number | null;
|
|
2259
2259
|
/**
|
|
@@ -5150,6 +5150,10 @@ export type CompactSessionErrors = {
|
|
|
5150
5150
|
* Missing or invalid credentials
|
|
5151
5151
|
*/
|
|
5152
5152
|
401: ErrorResponse;
|
|
5153
|
+
/**
|
|
5154
|
+
* The key has spent its credit — mint another; nothing was charged
|
|
5155
|
+
*/
|
|
5156
|
+
402: ErrorResponse;
|
|
5153
5157
|
/**
|
|
5154
5158
|
* The key is valid but its scopes do not cover this capability
|
|
5155
5159
|
*/
|
|
@@ -5163,7 +5167,7 @@ export type CompactSessionErrors = {
|
|
|
5163
5167
|
*/
|
|
5164
5168
|
409: ErrorResponse;
|
|
5165
5169
|
/**
|
|
5166
|
-
*
|
|
5170
|
+
* Nothing new to compact since the last compaction, or the model's summary was empty or no shorter than what it would replace; nothing was charged
|
|
5167
5171
|
*/
|
|
5168
5172
|
422: ErrorResponse;
|
|
5169
5173
|
/**
|
|
@@ -5200,6 +5204,10 @@ export type ExtractSessionFactsErrors = {
|
|
|
5200
5204
|
* Missing or invalid credentials
|
|
5201
5205
|
*/
|
|
5202
5206
|
401: ErrorResponse;
|
|
5207
|
+
/**
|
|
5208
|
+
* The key has spent its credit — mint another; nothing was charged
|
|
5209
|
+
*/
|
|
5210
|
+
402: ErrorResponse;
|
|
5203
5211
|
/**
|
|
5204
5212
|
* The key is valid but its scopes do not cover this capability
|
|
5205
5213
|
*/
|
|
@@ -5213,7 +5221,7 @@ export type ExtractSessionFactsErrors = {
|
|
|
5213
5221
|
*/
|
|
5214
5222
|
409: ErrorResponse;
|
|
5215
5223
|
/**
|
|
5216
|
-
*
|
|
5224
|
+
* Nothing new to compact since the last compaction, or the model's summary was empty or no shorter than what it would replace; nothing was charged
|
|
5217
5225
|
*/
|
|
5218
5226
|
422: ErrorResponse;
|
|
5219
5227
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.7",
|
|
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",
|