@getpaseo/protocol 0.2.0-beta.3 → 0.2.0
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.
|
@@ -52305,6 +52305,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
52305
52305
|
if (typeof __o_3849["isOnRemote"] !== "boolean") {
|
|
52306
52306
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3849["isOnRemote"], path: ["message"].concat("payload").concat("commits").concat(__i_3848).concat("isOnRemote") });
|
|
52307
52307
|
}
|
|
52308
|
+
if (__o_3849["isOnBase"] !== undefined) {
|
|
52309
|
+
if (typeof __o_3849["isOnBase"] !== "boolean") {
|
|
52310
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3849["isOnBase"], path: ["message"].concat("payload").concat("commits").concat(__i_3848).concat("isOnBase") });
|
|
52311
|
+
}
|
|
52312
|
+
}
|
|
52308
52313
|
if (!Array.isArray(__o_3849["files"])) {
|
|
52309
52314
|
_e.push({ code: "invalid_type", expected: "array", input: __o_3849["files"], path: ["message"].concat("payload").concat("commits").concat(__i_3848).concat("files") });
|
|
52310
52315
|
}
|
package/dist/messages.d.ts
CHANGED
|
@@ -1819,6 +1819,7 @@ declare const CheckoutCommitSchema: z.ZodObject<{
|
|
|
1819
1819
|
authorName: z.ZodString;
|
|
1820
1820
|
authorDate: z.ZodString;
|
|
1821
1821
|
isOnRemote: z.ZodBoolean;
|
|
1822
|
+
isOnBase: z.ZodOptional<z.ZodBoolean>;
|
|
1822
1823
|
files: z.ZodArray<z.ZodObject<{
|
|
1823
1824
|
path: z.ZodString;
|
|
1824
1825
|
additions: z.ZodNumber;
|
|
@@ -4800,6 +4801,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4800
4801
|
workspaceGithubRepositorySearch: z.ZodOptional<z.ZodBoolean>;
|
|
4801
4802
|
projectCreateDirectory: z.ZodOptional<z.ZodBoolean>;
|
|
4802
4803
|
commitsList: z.ZodOptional<z.ZodBoolean>;
|
|
4804
|
+
commitBaseClassification: z.ZodOptional<z.ZodBoolean>;
|
|
4803
4805
|
providerRemoval: z.ZodOptional<z.ZodBoolean>;
|
|
4804
4806
|
importSessionWorkspaceTarget: z.ZodOptional<z.ZodBoolean>;
|
|
4805
4807
|
forgeProviders: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4855,6 +4857,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4855
4857
|
workspaceGithubRepositorySearch?: boolean | undefined;
|
|
4856
4858
|
projectCreateDirectory?: boolean | undefined;
|
|
4857
4859
|
commitsList?: boolean | undefined;
|
|
4860
|
+
commitBaseClassification?: boolean | undefined;
|
|
4858
4861
|
providerRemoval?: boolean | undefined;
|
|
4859
4862
|
importSessionWorkspaceTarget?: boolean | undefined;
|
|
4860
4863
|
forgeProviders?: boolean | undefined;
|
|
@@ -4911,6 +4914,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4911
4914
|
workspaceGithubRepositorySearch?: boolean | undefined;
|
|
4912
4915
|
projectCreateDirectory?: boolean | undefined;
|
|
4913
4916
|
commitsList?: boolean | undefined;
|
|
4917
|
+
commitBaseClassification?: boolean | undefined;
|
|
4914
4918
|
providerRemoval?: boolean | undefined;
|
|
4915
4919
|
importSessionWorkspaceTarget?: boolean | undefined;
|
|
4916
4920
|
forgeProviders?: boolean | undefined;
|
|
@@ -10345,6 +10349,7 @@ export declare const CheckoutCommitsListResponseSchema: z.ZodObject<{
|
|
|
10345
10349
|
authorName: z.ZodString;
|
|
10346
10350
|
authorDate: z.ZodString;
|
|
10347
10351
|
isOnRemote: z.ZodBoolean;
|
|
10352
|
+
isOnBase: z.ZodOptional<z.ZodBoolean>;
|
|
10348
10353
|
files: z.ZodArray<z.ZodObject<{
|
|
10349
10354
|
path: z.ZodString;
|
|
10350
10355
|
additions: z.ZodNumber;
|
|
@@ -17351,6 +17356,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17351
17356
|
authorName: z.ZodString;
|
|
17352
17357
|
authorDate: z.ZodString;
|
|
17353
17358
|
isOnRemote: z.ZodBoolean;
|
|
17359
|
+
isOnBase: z.ZodOptional<z.ZodBoolean>;
|
|
17354
17360
|
files: z.ZodArray<z.ZodObject<{
|
|
17355
17361
|
path: z.ZodString;
|
|
17356
17362
|
additions: z.ZodNumber;
|
|
@@ -26708,6 +26714,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26708
26714
|
authorName: z.ZodString;
|
|
26709
26715
|
authorDate: z.ZodString;
|
|
26710
26716
|
isOnRemote: z.ZodBoolean;
|
|
26717
|
+
isOnBase: z.ZodOptional<z.ZodBoolean>;
|
|
26711
26718
|
files: z.ZodArray<z.ZodObject<{
|
|
26712
26719
|
path: z.ZodString;
|
|
26713
26720
|
additions: z.ZodNumber;
|
|
@@ -35743,6 +35750,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35743
35750
|
authorName: z.ZodString;
|
|
35744
35751
|
authorDate: z.ZodString;
|
|
35745
35752
|
isOnRemote: z.ZodBoolean;
|
|
35753
|
+
isOnBase: z.ZodOptional<z.ZodBoolean>;
|
|
35746
35754
|
files: z.ZodArray<z.ZodObject<{
|
|
35747
35755
|
path: z.ZodString;
|
|
35748
35756
|
additions: z.ZodNumber;
|
package/dist/messages.js
CHANGED
|
@@ -1437,6 +1437,8 @@ const CheckoutCommitSchema = z.object({
|
|
|
1437
1437
|
authorName: z.string(),
|
|
1438
1438
|
authorDate: z.string(), // ISO 8601
|
|
1439
1439
|
isOnRemote: z.boolean(), // false = local-only (unpushed)
|
|
1440
|
+
// COMPAT(commitBaseClassification): added in v0.2.0, remove optional after 2027-01-23.
|
|
1441
|
+
isOnBase: z.boolean().optional(),
|
|
1440
1442
|
files: z.array(CheckoutCommitFileSchema),
|
|
1441
1443
|
});
|
|
1442
1444
|
export const CheckoutCommitsListRequestSchema = z.object({
|
|
@@ -2380,6 +2382,8 @@ export const ServerInfoStatusPayloadSchema = z
|
|
|
2380
2382
|
projectCreateDirectory: z.boolean().optional(),
|
|
2381
2383
|
// COMPAT(commitsList): added in v0.1.110, remove gate after 2027-01-16.
|
|
2382
2384
|
commitsList: z.boolean().optional(),
|
|
2385
|
+
// COMPAT(commitBaseClassification): added in v0.2.0, remove gate after 2027-01-23.
|
|
2386
|
+
commitBaseClassification: z.boolean().optional(),
|
|
2383
2387
|
// COMPAT(providerRemoval): added in v0.1.105, drop the gate when floor >= v0.1.105.
|
|
2384
2388
|
providerRemoval: z.boolean().optional(),
|
|
2385
2389
|
// COMPAT(importSessionWorkspaceTarget): added in v0.1.110, remove gate after 2027-01-16.
|
|
@@ -4672,6 +4672,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4672
4672
|
authorName: import("zod").ZodString;
|
|
4673
4673
|
authorDate: import("zod").ZodString;
|
|
4674
4674
|
isOnRemote: import("zod").ZodBoolean;
|
|
4675
|
+
isOnBase: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4675
4676
|
files: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4676
4677
|
path: import("zod").ZodString;
|
|
4677
4678
|
additions: import("zod").ZodNumber;
|