@ai-matrx/desktop-protocol 0.21.97 → 0.21.98

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.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { BackoffOptions } from '@ai-matrx/data/realtime';
2
2
  export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
3
3
  import { z } from 'zod';
4
- import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-njYABA-y.cjs';
4
+ import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-DDuVPiOe.cjs';
5
5
  import { Welcome, CloseOutcome, OPS, StreamMeta, EndReason, EVENTS, ClientType, ModelsTranscribeResult, TranscriptionModelId, MlProgress } from './index.cjs';
6
- export { i as isDesktopProtocolError } from './models-njYABA-y.cjs';
6
+ export { i as isDesktopProtocolError } from './models-DDuVPiOe.cjs';
7
7
  import { FrameHeader } from './frame.cjs';
8
8
 
9
9
  /** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
package/dist/client.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { BackoffOptions } from '@ai-matrx/data/realtime';
2
2
  export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
3
3
  import { z } from 'zod';
4
- import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-njYABA-y.js';
4
+ import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-DDuVPiOe.js';
5
5
  import { Welcome, CloseOutcome, OPS, StreamMeta, EndReason, EVENTS, ClientType, ModelsTranscribeResult, TranscriptionModelId, MlProgress } from './index.js';
6
- export { i as isDesktopProtocolError } from './models-njYABA-y.js';
6
+ export { i as isDesktopProtocolError } from './models-DDuVPiOe.js';
7
7
  import { FrameHeader } from './frame.js';
8
8
 
9
9
  /** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
package/dist/client.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  closeRule,
3
3
  knows
4
- } from "./chunk-server-MNB4WODI.js";
4
+ } from "./chunk-server-ATU4VUHA.js";
5
5
  import {
6
6
  CloseCode,
7
7
  CoreToClientMsg,
@@ -12,7 +12,7 @@ import {
12
12
  PROTOCOL_MAJOR,
13
13
  PROTOCOL_MINOR,
14
14
  Welcome
15
- } from "./chunk-server-SQTXV4JW.js";
15
+ } from "./chunk-server-M4ZZLI5M.js";
16
16
  import {
17
17
  DesktopProtocolError,
18
18
  FRAME_VERSION,
@@ -28,7 +28,7 @@ var registry = null;
28
28
  var registryLoad = null;
29
29
  function loadRegistry() {
30
30
  if (registry) return Promise.resolve(registry);
31
- registryLoad ??= import("./chunk-server-WRHH3K5T.js").then((m) => registry = m);
31
+ registryLoad ??= import("./chunk-server-4H74IJI4.js").then((m) => registry = m);
32
32
  return registryLoad;
33
33
  }
34
34
  var WS_OPEN = 1;
package/dist/index.cjs CHANGED
@@ -1053,7 +1053,7 @@ module.exports = __toCommonJS(src_exports);
1053
1053
  var import_zod = require("zod");
1054
1054
  var import_uuid = require("@ai-matrx/kit/uuid");
1055
1055
  var PROTOCOL_MAJOR = 1;
1056
- var PROTOCOL_MINOR = 91;
1056
+ var PROTOCOL_MINOR = 92;
1057
1057
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
1058
1058
  var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
1059
1059
  var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -2195,6 +2195,8 @@ var ModelsLlmChatParams = import_zod11.z.strictObject({
2195
2195
  body: import_zod11.z.record(import_zod11.z.string().max(200), import_zod11.z.unknown()),
2196
2196
  /** Start the model first when nothing runs (a `models` progress event says so); a different model running is never stopped. */
2197
2197
  start_if_stopped: import_zod11.z.boolean().optional(),
2198
+ /** (1.92) The title of the chat this completion belongs to: named in the busy refusal to another chat that finds this model answering it. */
2199
+ chat_title: import_zod11.z.string().max(200).optional(),
2198
2200
  window_bytes: import_zod11.z.int().min(4096).max(16777216).optional()
2199
2201
  });
2200
2202
  var ModelsLlmChatResult = import_zod11.z.strictObject({ model: TextModelId, content_type: import_zod11.z.string().max(128) });
@@ -7971,6 +7973,7 @@ var FIELDS_SINCE = {
7971
7973
  MlCatalogSetParams: { unusable: "1.69", speech: "1.81", embedding: "1.88", wake: "1.89" },
7972
7974
  ModelsLlmStatusResult: { embedding: "1.88" },
7973
7975
  ModelsLlmStopParams: { slot: "1.88" },
7976
+ ModelsLlmChatParams: { chat_title: "1.92" },
7974
7977
  MlProgress: { audio: "1.81" },
7975
7978
  ModelsLlmStartParams: { gpu_layers: "1.48", threads: "1.48", load_timeout_s: "1.48", slot: "1.88" },
7976
7979
  FsPatchResult: { edits_applied: "1.1", edits_failed: "1.1" },
@@ -8323,7 +8326,7 @@ function forPeer(op, part, value, version) {
8323
8326
  var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
8324
8327
 
8325
8328
  // src/contract.ts
8326
- var CONTRACT_SHA256 = "1dc738d732177d91c3e399ac8a3651395dfab3e7310df69171d64648c1010909";
8329
+ var CONTRACT_SHA256 = "fa1b067e62a843a47cd663a87888c625674630db84ad3c4f18392a269dc756c2";
8327
8330
 
8328
8331
  // src/close-policy.ts
8329
8332
  var CLOSE_RULES = {