@myagentroam/protocol 0.9.142 → 0.9.144
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/dist/index.d.ts +11 -0
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25552,18 +25552,21 @@ export declare const workspaceFileEntrySchema: z.ZodObject<{
|
|
|
25552
25552
|
kind: z.ZodEnum<["FILE", "DIRECTORY"]>;
|
|
25553
25553
|
size: z.ZodNullable<z.ZodNumber>;
|
|
25554
25554
|
modifiedAt: z.ZodNullable<z.ZodNumber>;
|
|
25555
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
25555
25556
|
}, "strip", z.ZodTypeAny, {
|
|
25556
25557
|
path: string;
|
|
25557
25558
|
name: string;
|
|
25558
25559
|
kind: "DIRECTORY" | "FILE";
|
|
25559
25560
|
size: number | null;
|
|
25560
25561
|
modifiedAt: number | null;
|
|
25562
|
+
score?: number | undefined;
|
|
25561
25563
|
}, {
|
|
25562
25564
|
path: string;
|
|
25563
25565
|
name: string;
|
|
25564
25566
|
kind: "DIRECTORY" | "FILE";
|
|
25565
25567
|
size: number | null;
|
|
25566
25568
|
modifiedAt: number | null;
|
|
25569
|
+
score?: number | undefined;
|
|
25567
25570
|
}>;
|
|
25568
25571
|
export declare const workspaceFileListSchema: z.ZodObject<{
|
|
25569
25572
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -25572,21 +25575,25 @@ export declare const workspaceFileListSchema: z.ZodObject<{
|
|
|
25572
25575
|
kind: z.ZodEnum<["FILE", "DIRECTORY"]>;
|
|
25573
25576
|
size: z.ZodNullable<z.ZodNumber>;
|
|
25574
25577
|
modifiedAt: z.ZodNullable<z.ZodNumber>;
|
|
25578
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
25575
25579
|
}, "strip", z.ZodTypeAny, {
|
|
25576
25580
|
path: string;
|
|
25577
25581
|
name: string;
|
|
25578
25582
|
kind: "DIRECTORY" | "FILE";
|
|
25579
25583
|
size: number | null;
|
|
25580
25584
|
modifiedAt: number | null;
|
|
25585
|
+
score?: number | undefined;
|
|
25581
25586
|
}, {
|
|
25582
25587
|
path: string;
|
|
25583
25588
|
name: string;
|
|
25584
25589
|
kind: "DIRECTORY" | "FILE";
|
|
25585
25590
|
size: number | null;
|
|
25586
25591
|
modifiedAt: number | null;
|
|
25592
|
+
score?: number | undefined;
|
|
25587
25593
|
}>, "many">;
|
|
25588
25594
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
25589
25595
|
truncated: z.ZodBoolean;
|
|
25596
|
+
indexState: z.ZodOptional<z.ZodEnum<["BUILDING", "READY"]>>;
|
|
25590
25597
|
}, "strip", z.ZodTypeAny, {
|
|
25591
25598
|
entries: {
|
|
25592
25599
|
path: string;
|
|
@@ -25594,9 +25601,11 @@ export declare const workspaceFileListSchema: z.ZodObject<{
|
|
|
25594
25601
|
kind: "DIRECTORY" | "FILE";
|
|
25595
25602
|
size: number | null;
|
|
25596
25603
|
modifiedAt: number | null;
|
|
25604
|
+
score?: number | undefined;
|
|
25597
25605
|
}[];
|
|
25598
25606
|
truncated: boolean;
|
|
25599
25607
|
nextCursor: string | null;
|
|
25608
|
+
indexState?: "READY" | "BUILDING" | undefined;
|
|
25600
25609
|
}, {
|
|
25601
25610
|
entries: {
|
|
25602
25611
|
path: string;
|
|
@@ -25604,9 +25613,11 @@ export declare const workspaceFileListSchema: z.ZodObject<{
|
|
|
25604
25613
|
kind: "DIRECTORY" | "FILE";
|
|
25605
25614
|
size: number | null;
|
|
25606
25615
|
modifiedAt: number | null;
|
|
25616
|
+
score?: number | undefined;
|
|
25607
25617
|
}[];
|
|
25608
25618
|
truncated: boolean;
|
|
25609
25619
|
nextCursor: string | null;
|
|
25620
|
+
indexState?: "READY" | "BUILDING" | undefined;
|
|
25610
25621
|
}>;
|
|
25611
25622
|
export declare const workspaceContentMatchSchema: z.ZodObject<{
|
|
25612
25623
|
path: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -2466,12 +2466,14 @@ export const workspaceFileEntrySchema = z.object({
|
|
|
2466
2466
|
name: z.string().min(1).max(512),
|
|
2467
2467
|
kind: z.enum(['FILE', 'DIRECTORY']),
|
|
2468
2468
|
size: z.number().int().nonnegative().nullable(),
|
|
2469
|
-
modifiedAt: z.number().int().nonnegative().nullable()
|
|
2469
|
+
modifiedAt: z.number().int().nonnegative().nullable(),
|
|
2470
|
+
score: z.number().min(0).max(256_000).optional()
|
|
2470
2471
|
});
|
|
2471
2472
|
export const workspaceFileListSchema = z.object({
|
|
2472
2473
|
entries: z.array(workspaceFileEntrySchema),
|
|
2473
2474
|
nextCursor: z.string().min(1).max(1024).nullable(),
|
|
2474
|
-
truncated: z.boolean()
|
|
2475
|
+
truncated: z.boolean(),
|
|
2476
|
+
indexState: z.enum(['BUILDING', 'READY']).optional()
|
|
2475
2477
|
});
|
|
2476
2478
|
export const workspaceContentMatchSchema = z.object({
|
|
2477
2479
|
path: z.string().min(1).max(4096),
|