bingocode 1.0.0 → 1.0.1

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.
@@ -74,6 +74,25 @@ export type CreateProviderInput = z.infer<typeof CreateProviderSchema>
74
74
  export type UpdateProviderInput = z.infer<typeof UpdateProviderSchema>
75
75
  export type TestProviderInput = z.infer<typeof TestProviderSchema>
76
76
 
77
+ // --- Slot routing ---
78
+
79
+ export const SlotNameSchema = z.enum(['main', 'haiku', 'sonnet', 'opus'])
80
+ export type SlotName = z.infer<typeof SlotNameSchema>
81
+
82
+ export const SlotEntrySchema = z.object({
83
+ providerId: z.string(),
84
+ modelId: z.string(),
85
+ }).nullable()
86
+ export type SlotEntry = z.infer<typeof SlotEntrySchema>
87
+
88
+ export const SlotTableSchema = z.object({
89
+ main: SlotEntrySchema.default(null),
90
+ haiku: SlotEntrySchema.default(null),
91
+ sonnet: SlotEntrySchema.default(null),
92
+ opus: SlotEntrySchema.default(null),
93
+ })
94
+ export type SlotTable = z.infer<typeof SlotTableSchema>
95
+
77
96
  export interface ProviderTestStepResult {
78
97
  success: boolean
79
98
  latencyMs: number