@karmaniverous/jeeves-server-core 0.1.7 → 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.
- package/dist/src/schema.d.ts +3 -0
- package/dist/src/schema.js +12 -0
- package/package.json +1 -1
package/dist/src/schema.d.ts
CHANGED
|
@@ -209,6 +209,9 @@ export declare const jeevesConfigSchema: z.ZodObject<{
|
|
|
209
209
|
}, z.core.$strip>>;
|
|
210
210
|
emailTemplate: z.ZodOptional<z.ZodString>;
|
|
211
211
|
}, z.core.$strip>>;
|
|
212
|
+
eventQueue: z.ZodOptional<z.ZodString>;
|
|
213
|
+
eventQueueConcurrency: z.ZodDefault<z.ZodNumber>;
|
|
214
|
+
publicUrl: z.ZodOptional<z.ZodURL>;
|
|
212
215
|
}, z.core.$strip>;
|
|
213
216
|
/** Inferred config type */
|
|
214
217
|
export type JeevesConfig = z.infer<typeof jeevesConfigSchema>;
|
package/dist/src/schema.js
CHANGED
|
@@ -227,6 +227,18 @@ const jeevesConfigSchema = z
|
|
|
227
227
|
.default({}),
|
|
228
228
|
/** Instance branding (name, emoji, theme overrides, email template) */
|
|
229
229
|
branding: brandingSchema.optional(),
|
|
230
|
+
/** Absolute path to the durable event queue JSONL file. Cursor file is derived as eventQueue + '.cursor'. */
|
|
231
|
+
eventQueue: z
|
|
232
|
+
.string()
|
|
233
|
+
.min(1)
|
|
234
|
+
.refine((p) => p.startsWith('/') ||
|
|
235
|
+
/^[A-Za-z]:[\\/]/.test(p) ||
|
|
236
|
+
p.startsWith('\\\\'), { message: 'eventQueue must be an absolute path' })
|
|
237
|
+
.optional(),
|
|
238
|
+
/** Maximum number of event queue entries processed concurrently. Defaults to 3. */
|
|
239
|
+
eventQueueConcurrency: z.number().int().positive().default(3),
|
|
240
|
+
/** Public base URL (e.g. https://jeeves.johngalt.id). When set, API responses include full public URLs. */
|
|
241
|
+
publicUrl: z.url().optional(),
|
|
230
242
|
})
|
|
231
243
|
.superRefine((config, ctx) => {
|
|
232
244
|
// Google auth mode requires google config + sessionSecret
|
package/package.json
CHANGED