@lumavox/client 0.14.0 → 0.14.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.
- package/dist/client.d.ts +2 -1
- package/dist/events.d.ts +4 -1
- package/dist/gen/types.gen.d.ts +3 -3
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -80,7 +80,8 @@ export interface Sessions {
|
|
|
80
80
|
export interface FactListParams {
|
|
81
81
|
/**
|
|
82
82
|
* Also the facts a later conversation replaced or removed, each with
|
|
83
|
-
* `replaced_at`, until they are deleted
|
|
83
|
+
* `replaced_at`, until they are deleted — the platform's
|
|
84
|
+
* `agents.memory.facts.replaced_kept_days` later (its Limits page).
|
|
84
85
|
*/
|
|
85
86
|
include_replaced?: boolean;
|
|
86
87
|
}
|
package/dist/events.d.ts
CHANGED
|
@@ -142,7 +142,10 @@ export interface ToolCall {
|
|
|
142
142
|
name: string;
|
|
143
143
|
kind: "webhook" | "app";
|
|
144
144
|
arguments: Record<string, unknown>;
|
|
145
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* What it answered, as the model read it — at most the platform's
|
|
147
|
+
* `agents.tools.result_max_bytes` (its Limits page); `null` for none.
|
|
148
|
+
*/
|
|
146
149
|
result: unknown;
|
|
147
150
|
ok: boolean;
|
|
148
151
|
/** What failed, as the model was told; `null` when nothing did. */
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export type MessageToolCall = {
|
|
|
146
146
|
[key: string]: unknown;
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
|
-
* What it answered, as the model read it — its JSON, or its text, cut at
|
|
149
|
+
* What it answered, as the model read it — its JSON, or its text, cut at the platform's `agents.tools.result_max_bytes` (`GET /v1/platform/limits`). Null when it answered nothing.
|
|
150
150
|
*/
|
|
151
151
|
result?: unknown;
|
|
152
152
|
/**
|
|
@@ -235,7 +235,7 @@ export type SessionCreateRequest = {
|
|
|
235
235
|
/**
|
|
236
236
|
* Whether to continue this person's most recent conversation with this agent instead of starting a new one.
|
|
237
237
|
*
|
|
238
|
-
* **Unset is the useful default**: it resumes when this person has a conversation with this agent
|
|
238
|
+
* **Unset is the useful default**: it resumes when this person has a conversation with this agent young enough to continue — within the organisation's `resume_max_age_days`, else the platform's `agents.sessions.resume_max_age_days` (`GET /v1/platform/limits`) — and starts a new one otherwise. That matches what 'open a conversation with this person' usually means, and it stops an integration that opens a session per page load from scattering somebody's history across a dozen fragments.
|
|
239
239
|
*
|
|
240
240
|
* `false` always starts a new conversation — this is what a 'new chat' button should send. `true` is the same as leaving it unset; it exists so the intent can be stated rather than implied.
|
|
241
241
|
*
|
|
@@ -686,7 +686,7 @@ export type ListFactsData = {
|
|
|
686
686
|
*/
|
|
687
687
|
end_user_id?: string;
|
|
688
688
|
/**
|
|
689
|
-
* Also list the facts a later conversation replaced or removed, until they are deleted
|
|
689
|
+
* Also list the facts a later conversation replaced or removed, until they are deleted, the platform's `agents.memory.facts.replaced_kept_days` later (`GET /v1/platform/limits`).
|
|
690
690
|
*/
|
|
691
691
|
include_replaced?: boolean;
|
|
692
692
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/client",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Talk to Lumavox agents from a browser, a React Native app or Node, with an end user's ephemeral key: conversations on the agent's socket, sessions, memory and relations. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|