@ai-matrx/desktop-protocol 0.21.86 → 0.21.87
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 +14 -1
- package/dist/client.d.cts +5 -3
- package/dist/client.d.ts +5 -3
- package/dist/frame.d.cts +2 -1
- package/dist/frame.d.ts +2 -1
- package/dist/index.d.cts +156 -155
- package/dist/index.d.ts +156 -155
- package/dist/{models-CIpqsu-S.d.cts → models-CK4S_OEe.d.cts} +323 -322
- package/dist/{models-CIpqsu-S.d.ts → models-CK4S_OEe.d.ts} +323 -322
- package/dist/react.d.cts +51 -50
- package/dist/react.d.ts +51 -50
- package/package.json +2 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.21.
|
|
3
|
+
## 0.21.87
|
|
4
4
|
|
|
5
5
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
|
|
7
7
|
|
|
8
|
+
## 0.21.86
|
|
9
|
+
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff 0a2b8c9356 348cc633ad -- apps/shared/desktop-protocol/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (5):
|
|
15
|
+
- `apps/shared/desktop-protocol/src/contract.ts`
|
|
16
|
+
- `apps/shared/desktop-protocol/src/schema/models.ts`
|
|
17
|
+
- `apps/shared/desktop-protocol/src/schema/primitives.ts`
|
|
18
|
+
- `apps/shared/desktop-protocol/src/schema/registry.ts`
|
|
19
|
+
- `apps/shared/desktop-protocol/src/versioning.ts`
|
|
20
|
+
|
|
8
21
|
## 0.21.85
|
|
9
22
|
|
|
10
23
|
- **`/client` no longer loads every op schema at import** (build-cost lane, 2026-10-22). `createDesktopClient` read the op/event registry (every capability's zod schemas, ~290 kB of built source) through a static import, so a host that only constructs a client in its root (the web app's local-models port, mounted with its chat host) compiled all of it into every route's first graph. The client now imports the registry on its first connect or request (`loadRegistry`, cached); the socket opens only after it has loaded, so every event and result is still checked against it. The ESM `/client` graph drops from ~345 kB to ~65 kB; the root entry still exports `OPS`/`EVENTS` statically. Note: the `chunk-server-*` files are the unstamped (server-SAFE) shared chunk, not server-only code. Guard: `client.test.ts` ("the op registry is not part of the client's import graph"). Consumer action: none; the first connect waits one extra module load.
|
package/dist/client.d.cts
CHANGED
|
@@ -1,8 +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 {
|
|
5
|
-
|
|
4
|
+
import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-CK4S_OEe.cjs';
|
|
5
|
+
import { Welcome, CloseOutcome, OPS, StreamMeta, EndReason, EVENTS, ClientType, ModelsTranscribeResult, TranscriptionModelId, MlProgress } from './index.cjs';
|
|
6
|
+
export { i as isDesktopProtocolError } from './models-CK4S_OEe.cjs';
|
|
6
7
|
import { FrameHeader } from './frame.cjs';
|
|
7
8
|
|
|
8
9
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
|
@@ -282,4 +283,5 @@ interface DesktopTranscriber {
|
|
|
282
283
|
*/
|
|
283
284
|
declare function createDesktopTranscriber(client: DesktopClient, options?: DesktopTranscriberOptions): DesktopTranscriber;
|
|
284
285
|
|
|
285
|
-
export {
|
|
286
|
+
export { DESKTOP_TRANSCRIBE_MAX_BYTES, DesktopProtocolError, OpName, OpParams, OpResult, bindDesktopWake, createDesktopClient, createDesktopTranscriber };
|
|
287
|
+
export type { ClientTimers, DesktopClient, DesktopClientDiagnostic, DesktopClientOptions, DesktopClientState, DesktopClientStatus, DesktopStream, DesktopTranscriber, DesktopTranscriberOptions, DesktopTranscript, EventHandler, EventName, EventPayload, RequestOptions, StreamHandlers, StreamOpName, StreamOptions, WakeOptions, WakeTargets, WebSocketFactory, WebSocketLike };
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +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 {
|
|
5
|
-
|
|
4
|
+
import { D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult } from './models-CK4S_OEe.js';
|
|
5
|
+
import { Welcome, CloseOutcome, OPS, StreamMeta, EndReason, EVENTS, ClientType, ModelsTranscribeResult, TranscriptionModelId, MlProgress } from './index.js';
|
|
6
|
+
export { i as isDesktopProtocolError } from './models-CK4S_OEe.js';
|
|
6
7
|
import { FrameHeader } from './frame.js';
|
|
7
8
|
|
|
8
9
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
|
@@ -282,4 +283,5 @@ interface DesktopTranscriber {
|
|
|
282
283
|
*/
|
|
283
284
|
declare function createDesktopTranscriber(client: DesktopClient, options?: DesktopTranscriberOptions): DesktopTranscriber;
|
|
284
285
|
|
|
285
|
-
export {
|
|
286
|
+
export { DESKTOP_TRANSCRIBE_MAX_BYTES, DesktopProtocolError, OpName, OpParams, OpResult, bindDesktopWake, createDesktopClient, createDesktopTranscriber };
|
|
287
|
+
export type { ClientTimers, DesktopClient, DesktopClientDiagnostic, DesktopClientOptions, DesktopClientState, DesktopClientStatus, DesktopStream, DesktopTranscriber, DesktopTranscriberOptions, DesktopTranscript, EventHandler, EventName, EventPayload, RequestOptions, StreamHandlers, StreamOpName, StreamOptions, WakeOptions, WakeTargets, WebSocketFactory, WebSocketLike };
|
package/dist/frame.d.cts
CHANGED
|
@@ -53,4 +53,5 @@ declare function connectionEndFrame(cid: number): Uint8Array;
|
|
|
53
53
|
/** True for a decoded connection-end frame (see connectionEndFrame). */
|
|
54
54
|
declare function isConnectionEnd(frame: DecodedFrame): boolean;
|
|
55
55
|
|
|
56
|
-
export { BROADCAST_CID,
|
|
56
|
+
export { BROADCAST_CID, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid };
|
|
57
|
+
export type { DecodedFrame, FrameChannelValue, FrameHeader };
|
package/dist/frame.d.ts
CHANGED
|
@@ -53,4 +53,5 @@ declare function connectionEndFrame(cid: number): Uint8Array;
|
|
|
53
53
|
/** True for a decoded connection-end frame (see connectionEndFrame). */
|
|
54
54
|
declare function isConnectionEnd(frame: DecodedFrame): boolean;
|
|
55
55
|
|
|
56
|
-
export { BROADCAST_CID,
|
|
56
|
+
export { BROADCAST_CID, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid };
|
|
57
|
+
export type { DecodedFrame, FrameChannelValue, FrameHeader };
|