carrick 0.3.108 → 0.3.109

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.
@@ -240,6 +240,13 @@ export const HealthRequestSchema = BaseRequestSchema.extend({
240
240
  export const ShutdownRequestSchema = BaseRequestSchema.extend({
241
241
  action: z.literal('shutdown'),
242
242
  });
243
+ export const ListProgramFilesRequestSchema = BaseRequestSchema.extend({
244
+ action: z.literal('list_program_files'),
245
+ });
246
+ export const AddProgramFilesRequestSchema = BaseRequestSchema.extend({
247
+ action: z.literal('add_program_files'),
248
+ files: z.array(z.string().min(1, 'File path cannot be empty')),
249
+ });
243
250
  export const ResolveDefinitionsRequestSchema = BaseRequestSchema.extend({
244
251
  action: z.literal('resolve_definitions'),
245
252
  stub_dir: z.string().min(1, 'Stub dir cannot be empty'),
@@ -444,6 +451,8 @@ export const SidecarRequestSchema = z.discriminatedUnion('action', [
444
451
  ListLibrarySurfaceRequestSchema,
445
452
  HealthRequestSchema,
446
453
  ShutdownRequestSchema,
454
+ ListProgramFilesRequestSchema,
455
+ AddProgramFilesRequestSchema,
447
456
  ]);
448
457
  /**
449
458
  * Validates and parses incoming JSON into a typed SidecarRequest