lancer-shared 1.2.56 → 1.2.57

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.
@@ -12211,7 +12211,7 @@ const suitabilityCompleteEventMetadataSchema = objectType({
12211
12211
  });
12212
12212
  const proposalCompleteEventMetadataSchema = objectType({
12213
12213
  agentStatus: z.string(),
12214
- proposal: z.string(),
12214
+ proposal: proposalSchema,
12215
12215
  model: z.string(),
12216
12216
  provider: z.string(),
12217
12217
  promptTokens: z.number(),
@@ -377,7 +377,31 @@ 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.ZodString;
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;
@@ -402,7 +426,13 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
402
426
  role: "user" | "assistant" | "system";
403
427
  content: string;
404
428
  }[];
405
- proposal: string;
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;
@@ -413,6 +443,12 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
413
443
  role: "user" | "assistant" | "system";
414
444
  content: string;
415
445
  }[];
416
- proposal: string;
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.56",
3
+ "version": "1.2.57",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",