@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 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 30 days later.
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
- /** What it answered, as the model read it (16 KB at most); `null` for none. */
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. */
@@ -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 16 KB. Null when it answered nothing.
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 from the last 7 days to continue, 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.
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 30 days later.
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.0",
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",