lancer-shared 1.2.56 → 1.2.58
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/bundle.cjs.js
CHANGED
|
@@ -12211,13 +12211,13 @@ const suitabilityCompleteEventMetadataSchema = objectType({
|
|
|
12211
12211
|
});
|
|
12212
12212
|
const proposalCompleteEventMetadataSchema = objectType({
|
|
12213
12213
|
agentStatus: z.string(),
|
|
12214
|
-
proposal:
|
|
12214
|
+
proposal: proposalSchema,
|
|
12215
12215
|
model: z.string(),
|
|
12216
12216
|
provider: z.string(),
|
|
12217
12217
|
promptTokens: z.number(),
|
|
12218
12218
|
completionTokens: z.number(),
|
|
12219
12219
|
messages: z.array(objectType({
|
|
12220
|
-
role: z.
|
|
12220
|
+
role: z.string(),
|
|
12221
12221
|
content: z.string(),
|
|
12222
12222
|
})),
|
|
12223
12223
|
});
|
|
@@ -377,19 +377,43 @@ export declare const suitabilityCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
377
377
|
export type SuitabilityCompleteEventMetadata = z.infer<typeof suitabilityCompleteEventMetadataSchema>;
|
|
378
378
|
export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
379
379
|
agentStatus: z.ZodString;
|
|
380
|
-
proposal: z.
|
|
380
|
+
proposal: z.ZodObject<{
|
|
381
|
+
coverLetter: z.ZodString;
|
|
382
|
+
questionAnswerPairs: z.ZodArray<z.ZodObject<{
|
|
383
|
+
question: z.ZodString;
|
|
384
|
+
answer: z.ZodString;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
question: string;
|
|
387
|
+
answer: string;
|
|
388
|
+
}, {
|
|
389
|
+
question: string;
|
|
390
|
+
answer: string;
|
|
391
|
+
}>, "many">;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
coverLetter: string;
|
|
394
|
+
questionAnswerPairs: {
|
|
395
|
+
question: string;
|
|
396
|
+
answer: string;
|
|
397
|
+
}[];
|
|
398
|
+
}, {
|
|
399
|
+
coverLetter: string;
|
|
400
|
+
questionAnswerPairs: {
|
|
401
|
+
question: string;
|
|
402
|
+
answer: string;
|
|
403
|
+
}[];
|
|
404
|
+
}>;
|
|
381
405
|
model: z.ZodString;
|
|
382
406
|
provider: z.ZodString;
|
|
383
407
|
promptTokens: z.ZodNumber;
|
|
384
408
|
completionTokens: z.ZodNumber;
|
|
385
409
|
messages: z.ZodArray<z.ZodObject<{
|
|
386
|
-
role: z.
|
|
410
|
+
role: z.ZodString;
|
|
387
411
|
content: z.ZodString;
|
|
388
412
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
role:
|
|
413
|
+
role: string;
|
|
390
414
|
content: string;
|
|
391
415
|
}, {
|
|
392
|
-
role:
|
|
416
|
+
role: string;
|
|
393
417
|
content: string;
|
|
394
418
|
}>, "many">;
|
|
395
419
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -399,10 +423,16 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
399
423
|
promptTokens: number;
|
|
400
424
|
completionTokens: number;
|
|
401
425
|
messages: {
|
|
402
|
-
role:
|
|
426
|
+
role: string;
|
|
403
427
|
content: string;
|
|
404
428
|
}[];
|
|
405
|
-
proposal:
|
|
429
|
+
proposal: {
|
|
430
|
+
coverLetter: string;
|
|
431
|
+
questionAnswerPairs: {
|
|
432
|
+
question: string;
|
|
433
|
+
answer: string;
|
|
434
|
+
}[];
|
|
435
|
+
};
|
|
406
436
|
}, {
|
|
407
437
|
agentStatus: string;
|
|
408
438
|
model: string;
|
|
@@ -410,9 +440,15 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
410
440
|
promptTokens: number;
|
|
411
441
|
completionTokens: number;
|
|
412
442
|
messages: {
|
|
413
|
-
role:
|
|
443
|
+
role: string;
|
|
414
444
|
content: string;
|
|
415
445
|
}[];
|
|
416
|
-
proposal:
|
|
446
|
+
proposal: {
|
|
447
|
+
coverLetter: string;
|
|
448
|
+
questionAnswerPairs: {
|
|
449
|
+
question: string;
|
|
450
|
+
answer: string;
|
|
451
|
+
}[];
|
|
452
|
+
};
|
|
417
453
|
}>;
|
|
418
454
|
export type ProposalCompleteEventMetadata = z.infer<typeof proposalCompleteEventMetadataSchema>;
|