@ai-matrx/desktop-protocol 0.21.52 → 0.21.55
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 +15 -0
- package/dist/client.cjs +17 -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 +17 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +18 -5
- 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 +18 -5
- package/dist/index.js.map +1 -1
- package/dist/{models--9189VUC.d.cts → models-qM7u4hzm.d.cts} +18 -10
- package/dist/{models--9189VUC.d.ts → models-qM7u4hzm.d.ts} +18 -10
- package/dist/react.d.cts +2 -0
- package/dist/react.d.ts +2 -0
- package/generated/desktop-protocol.schema.json +25 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.55
|
|
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.53
|
|
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 cbd00cd23d 37251414aa -- apps/shared/desktop-protocol/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (2):
|
|
15
|
+
- `apps/shared/desktop-protocol/src/schema/models.ts`
|
|
16
|
+
- `apps/shared/desktop-protocol/src/schema/primitives.ts`
|
|
17
|
+
|
|
3
18
|
## 0.21.52
|
|
4
19
|
### Unreleased
|
|
5
20
|
### Protocol 1.57 — the account a coding record belongs to, and each sign-in's usage
|
package/dist/client.cjs
CHANGED
|
@@ -144,7 +144,7 @@ var import_zod2 = require("zod");
|
|
|
144
144
|
var import_zod = require("zod");
|
|
145
145
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
146
146
|
var PROTOCOL_MAJOR = 1;
|
|
147
|
-
var PROTOCOL_MINOR =
|
|
147
|
+
var PROTOCOL_MINOR = 58;
|
|
148
148
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
149
149
|
var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
150
150
|
var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -886,8 +886,17 @@ var ModelsLlmStatusResult = import_zod9.z.strictObject({
|
|
|
886
886
|
/** Why the last start or download failed, one human line; null otherwise. */
|
|
887
887
|
error: import_zod9.z.string().max(300).nullable()
|
|
888
888
|
});
|
|
889
|
-
var ModelsLlmInstallParams = import_zod9.z.strictObject({
|
|
890
|
-
|
|
889
|
+
var ModelsLlmInstallParams = import_zod9.z.strictObject({
|
|
890
|
+
model: TextModelId,
|
|
891
|
+
/** (1.58) The person's own Hugging Face token for this download (gated/private files): sent only to Hugging Face hosts, never stored or logged. */
|
|
892
|
+
hf_token: import_zod9.z.string().min(8).max(512).optional()
|
|
893
|
+
});
|
|
894
|
+
var ModelsLlmInstallResult = import_zod9.z.strictObject({
|
|
895
|
+
model: TextModelId,
|
|
896
|
+
elapsed_ms: nonNegInt,
|
|
897
|
+
/** (1.58) path -> SHA-256 of every file whose catalog sha256 was null, hashed on this first download. */
|
|
898
|
+
hashed: import_zod9.z.record(import_zod9.z.string().max(512), import_zod9.z.string().regex(/^[0-9a-f]{64}$/)).optional()
|
|
899
|
+
});
|
|
891
900
|
var ModelsLlmStartParams = import_zod9.z.strictObject({
|
|
892
901
|
model: TextModelId,
|
|
893
902
|
/** Tokens of context, from the knob desktop.models/context_length. Omitted today means the service's fixed 4096 (optional until callers send it). */
|
|
@@ -909,7 +918,11 @@ var CatalogFile = import_zod9.z.strictObject({
|
|
|
909
918
|
/** The pinned https URL it is downloaded from. */
|
|
910
919
|
url: import_zod9.z.string().url().max(2048),
|
|
911
920
|
size_bytes: nonNegInt,
|
|
912
|
-
|
|
921
|
+
/**
|
|
922
|
+
* The file's SHA-256; (1.58) null when its source publishes none (a small non-LFS file on Hugging
|
|
923
|
+
* Face): the first download hashes it and reports it in `models.llm.install`'s `hashed`.
|
|
924
|
+
*/
|
|
925
|
+
sha256: Sha256Hex.nullable(),
|
|
913
926
|
/** weights, weights_shard, mmproj, config, tokenizer, … (ai.model_artifact.role). */
|
|
914
927
|
role: import_zod9.z.string().max(32)
|
|
915
928
|
});
|