@ai-matrx/desktop-protocol 0.21.75 → 0.21.77
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 +23 -0
- package/dist/{chunk-server-FBLTGJJA.js → chunk-server-HOQE4M4I.js} +13 -10
- package/dist/chunk-server-HOQE4M4I.js.map +1 -0
- package/dist/client.cjs +12 -9
- 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 +1 -1
- package/dist/index.cjs +19 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-GpUhHLRw.d.cts → models-Bz88NHi0.d.cts} +1 -0
- package/dist/{models-GpUhHLRw.d.ts → models-Bz88NHi0.d.ts} +1 -0
- package/generated/desktop-protocol.schema.json +1 -8
- package/package.json +2 -2
- package/dist/chunk-server-FBLTGJJA.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.77
|
|
4
|
+
|
|
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
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
|
|
7
|
+
|
|
8
|
+
## 0.21.76
|
|
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 e3e37ab10c 7938caf350 -- apps/shared/desktop-protocol/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (3):
|
|
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
|
+
|
|
3
19
|
## 0.21.75
|
|
4
20
|
### Protocol 1.74 — the models on this computer, and Remove
|
|
5
21
|
|
|
@@ -250,6 +266,13 @@ Changed shipped source files (2):
|
|
|
250
266
|
|
|
251
267
|
## 0.21.52
|
|
252
268
|
### Unreleased
|
|
269
|
+
### Protocol 1.75 — every model arrives
|
|
270
|
+
|
|
271
|
+
- No models list carries a bound: `ModelsLlmStatusResult.models` (was 1024), `MlStatusResult.models`
|
|
272
|
+
(16), `MlCatalogSetParams` `text` / `transcription` / `unusable` (512 / 64 / 512) and
|
|
273
|
+
`ModelsDownloadsListResult.downloads` (64), `ModelsLocalListResult.models` (1024). The writers had sliced to the bound, silently cutting
|
|
274
|
+
off a person's models. Constraints loosened only. Consumer action: drop any matching slice.
|
|
275
|
+
|
|
253
276
|
### Protocol 1.73 — what each coding app keeps besides chats
|
|
254
277
|
|
|
255
278
|
- `AppAccount`: optional `profile` (`AccountProfile`: name, organization and role, seat and
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
|
|
8
8
|
var PROTOCOL_MAJOR = 1;
|
|
9
|
-
var PROTOCOL_MINOR =
|
|
9
|
+
var PROTOCOL_MINOR = 75;
|
|
10
10
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
11
11
|
var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
12
12
|
var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -725,7 +725,8 @@ var MlStatusResult = z10.strictObject({
|
|
|
725
725
|
error: z10.string().max(300).nullable(),
|
|
726
726
|
/** Where inference runs once the runtime is installed: `cuda` only when a usable GPU is present. */
|
|
727
727
|
accelerator: z10.enum(["cpu", "cuda"]),
|
|
728
|
-
|
|
728
|
+
/** Every transcription model in the catalog (1.74: unbounded; a bound here silently dropped models past 16). */
|
|
729
|
+
models: z10.array(TranscriptionModelInfo),
|
|
729
730
|
default_model: TranscriptionModelId
|
|
730
731
|
});
|
|
731
732
|
var ModelsInstallParams = z10.strictObject({ model: TranscriptionModelId.optional() });
|
|
@@ -788,9 +789,10 @@ var ModelsLlmStatusResult = z10.strictObject({
|
|
|
788
789
|
state: LlmServerState,
|
|
789
790
|
/**
|
|
790
791
|
* Every language model: (1.69) the ones on this computer first (installed, then those that cannot run
|
|
791
|
-
* here, each with its `problem`), then the rest of the catalog.
|
|
792
|
+
* here, each with its `problem`), then the rest of the catalog. Every one: unbounded since 1.74
|
|
793
|
+
* (64 until 1.69, 1024 until 1.74; a bound silently cut off models).
|
|
792
794
|
*/
|
|
793
|
-
models: z10.array(TextModelInfo)
|
|
795
|
+
models: z10.array(TextModelInfo),
|
|
794
796
|
running: LlmRunning.nullable(),
|
|
795
797
|
/** The model being loaded while `state` is "starting". */
|
|
796
798
|
starting: TextModelId.nullable(),
|
|
@@ -857,8 +859,9 @@ var LlamaServerBuild = z10.strictObject({
|
|
|
857
859
|
sha256: Sha256Hex
|
|
858
860
|
});
|
|
859
861
|
var MlCatalogSetParams = z10.strictObject({
|
|
860
|
-
|
|
861
|
-
|
|
862
|
+
/** (1.74) Unbounded, like every models list: a catalog or a person's own models are never cut off. */
|
|
863
|
+
text: z10.array(CatalogModelEntry),
|
|
864
|
+
transcription: z10.array(CatalogModelEntry),
|
|
862
865
|
/** Null where the catalog has no build for this os/arch (installs then say so). */
|
|
863
866
|
llama_server: LlamaServerBuild.nullable(),
|
|
864
867
|
/** The knob desktop.models/default_transcription_model; null when the knob could not be read (a transcribe naming no model then says so). */
|
|
@@ -866,7 +869,7 @@ var MlCatalogSetParams = z10.strictObject({
|
|
|
866
869
|
/** When the catalog was last changed (catalog_updated_at), for the service's log. */
|
|
867
870
|
catalog_updated_at: z10.string().max(40),
|
|
868
871
|
/** (1.69) Language models on this computer that cannot run here, each with its one-line reason: models.llm.status lists them. */
|
|
869
|
-
unusable: z10.array(UnusableTextModel).
|
|
872
|
+
unusable: z10.array(UnusableTextModel).optional()
|
|
870
873
|
});
|
|
871
874
|
var MlCatalogSetResult = z10.strictObject({ text: nonNegInt, transcription: nonNegInt });
|
|
872
875
|
var DownloadKind = z10.enum(["speech_model", "text_model", "runtime"]);
|
|
@@ -891,7 +894,7 @@ var DownloadRow = z10.strictObject({
|
|
|
891
894
|
error: z10.string().max(300).optional()
|
|
892
895
|
});
|
|
893
896
|
var ModelsDownloadsListParams = z10.strictObject({});
|
|
894
|
-
var ModelsDownloadsListResult = z10.strictObject({ downloads: z10.array(DownloadRow)
|
|
897
|
+
var ModelsDownloadsListResult = z10.strictObject({ downloads: z10.array(DownloadRow) });
|
|
895
898
|
var ModelsDownloadsCancelParams = z10.strictObject({ key: z10.string().max(64) });
|
|
896
899
|
var ModelsDownloadsCancelResult = z10.strictObject({ cancelled: z10.boolean() });
|
|
897
900
|
var LocalModelKind = z10.enum(["text", "speech"]);
|
|
@@ -912,7 +915,7 @@ var LocalModelRow = z10.strictObject({
|
|
|
912
915
|
running: z10.boolean()
|
|
913
916
|
});
|
|
914
917
|
var ModelsLocalListParams = z10.strictObject({});
|
|
915
|
-
var ModelsLocalListResult = z10.strictObject({ models: z10.array(LocalModelRow)
|
|
918
|
+
var ModelsLocalListResult = z10.strictObject({ models: z10.array(LocalModelRow) });
|
|
916
919
|
var ModelsLocalRemoveParams = z10.strictObject({ kind: LocalModelKind, model: ModelKey });
|
|
917
920
|
var ModelsLocalRemoveResult = z10.strictObject({
|
|
918
921
|
kind: LocalModelKind,
|
|
@@ -7120,4 +7123,4 @@ export {
|
|
|
7120
7123
|
closeRule,
|
|
7121
7124
|
isTerminalClose
|
|
7122
7125
|
};
|
|
7123
|
-
//# sourceMappingURL=chunk-server-
|
|
7126
|
+
//# sourceMappingURL=chunk-server-HOQE4M4I.js.map
|