@ai-matrx/desktop-protocol 0.17.10 → 0.17.11
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/CHANGELOG.md +7 -0
- package/dist/client.cjs +7 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +7 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +9 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +95 -13
- package/dist/index.d.ts +95 -13
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-BcBSKFeq.d.cts → models-dIUgWoHB.d.cts} +165 -15
- package/dist/{models-BcBSKFeq.d.ts → models-dIUgWoHB.d.ts} +165 -15
- package/dist/react.d.cts +77 -7
- package/dist/react.d.ts +77 -7
- package/generated/desktop-protocol.schema.json +16 -4
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-dIUgWoHB.cjs';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-dIUgWoHB.cjs';
|
|
6
6
|
import { FrameHeader } from './frame.cjs';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-dIUgWoHB.js';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-dIUgWoHB.js';
|
|
6
6
|
import { FrameHeader } from './frame.js';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.js
CHANGED
|
@@ -111,7 +111,7 @@ import { z as z2 } from "zod";
|
|
|
111
111
|
// src/schema/primitives.ts
|
|
112
112
|
import { z } from "zod";
|
|
113
113
|
var PROTOCOL_MAJOR = 1;
|
|
114
|
-
var PROTOCOL_MINOR =
|
|
114
|
+
var PROTOCOL_MINOR = 15;
|
|
115
115
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
116
116
|
var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
117
117
|
var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -1450,6 +1450,7 @@ var ChatAppProject = z24.strictObject({
|
|
|
1450
1450
|
id: z24.string().min(1).max(200),
|
|
1451
1451
|
name: z24.string().max(200)
|
|
1452
1452
|
});
|
|
1453
|
+
var ChatTitleSource = z24.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
|
|
1453
1454
|
var ChatRow = z24.strictObject({
|
|
1454
1455
|
id: ChatId,
|
|
1455
1456
|
/** The short id people see (the listing's first 8 characters). */
|
|
@@ -1486,10 +1487,12 @@ var ChatRow = z24.strictObject({
|
|
|
1486
1487
|
* `title` is what to show (`title_override` when set, else this).
|
|
1487
1488
|
*/
|
|
1488
1489
|
original_title: z24.string().max(1e3).optional(),
|
|
1489
|
-
/** 1.14: where `original_title` came from (
|
|
1490
|
-
title_source:
|
|
1490
|
+
/** 1.14: where `original_title` came from (the one rule's sources, strongest first; 1.15: a closed set). */
|
|
1491
|
+
title_source: ChatTitleSource.optional(),
|
|
1491
1492
|
/** 1.14: the person's rename inside Matrx (Coding Sessions), applied once by the row builder; absent = none. */
|
|
1492
|
-
title_override: z24.string().min(1).max(300).optional()
|
|
1493
|
+
title_override: z24.string().min(1).max(300).optional(),
|
|
1494
|
+
/** 1.15: the app itself archived it (hidden_in says where and why, in words for people; this is the typed fact). */
|
|
1495
|
+
archived: z24.boolean().optional()
|
|
1493
1496
|
});
|
|
1494
1497
|
var ChatFamily = z24.strictObject({
|
|
1495
1498
|
id: ChatId,
|