@ai-matrx/desktop-protocol 0.21.78 → 0.21.79
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 +16 -1
- package/dist/{chunk-server-2NXFL3HJ.js → chunk-server-XQQUJENM.js} +9 -3
- package/dist/chunk-server-XQQUJENM.js.map +1 -0
- package/dist/client.cjs +8 -2
- 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 +9 -3
- 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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-DzJnHq8i.d.cts → models-C2VdtixP.d.cts} +5 -0
- package/dist/{models-DzJnHq8i.d.ts → models-C2VdtixP.d.ts} +5 -0
- package/generated/desktop-protocol.schema.json +5 -1
- package/package.json +2 -2
- package/dist/chunk-server-2NXFL3HJ.js.map +0 -1
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 = 77;
|
|
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_-]+$/);
|
|
@@ -2479,7 +2479,13 @@ var CodingServiceCredentials = import_zod27.z.strictObject({
|
|
|
2479
2479
|
access_token: import_zod27.z.string().min(16).max(16384),
|
|
2480
2480
|
user_id: import_zod27.z.string().regex(import_uuid4.UUID_SHAPE_PATTERN),
|
|
2481
2481
|
/** The AI Matrx server this app talks to (production, or a local server on the nightly copy). */
|
|
2482
|
-
server_url: import_zod27.z.string().min(1).max(2048).regex(/^https?:\/\/[^\s/?#]+(\/[^\s?#]*)?$/)
|
|
2482
|
+
server_url: import_zod27.z.string().min(1).max(2048).regex(/^https?:\/\/[^\s/?#]+(\/[^\s?#]*)?$/),
|
|
2483
|
+
/**
|
|
2484
|
+
* The organization the person works in (the core's active organization): the service sends it as
|
|
2485
|
+
* X-Organization-Id on every AI Matrx request, as the app's own calls do. Absent: the
|
|
2486
|
+
* service sends nothing and says an organization is needed (1.77).
|
|
2487
|
+
*/
|
|
2488
|
+
organization_id: import_zod27.z.string().regex(import_uuid4.UUID_SHAPE_PATTERN).optional()
|
|
2483
2489
|
});
|
|
2484
2490
|
var CodingHistoryBlocked = import_zod27.z.enum([
|
|
2485
2491
|
"signed_out",
|