@popmelt.com/core 0.8.14 → 0.8.15

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/server.d.mts CHANGED
@@ -138,6 +138,7 @@ type ImprintContext = {
138
138
  }>;
139
139
  truncated: boolean;
140
140
  pendingGroundingExplanationIds?: string[];
141
+ correctionExplanationIds?: string[];
141
142
  relations?: Array<Pick<ImprintRelation, 'id' | 'type' | 'fromId' | 'toId' | 'rationale'>>;
142
143
  };
143
144
 
@@ -323,6 +324,7 @@ declare class ImprintService {
323
324
  subjectHints?: string[];
324
325
  maxExplanations?: number;
325
326
  pendingGroundingExplanationIds?: string[];
327
+ correctionExplanationIds?: string[];
326
328
  }): Promise<ImprintContext | undefined>;
327
329
  capture(draft: ImprintMutationDraft | ImprintApplicationDraft, input: ImprintCaptureInput): Promise<ImprintThreadSummary | undefined>;
328
330
  applyGroundingAction(input: {
@@ -331,7 +333,7 @@ declare class ImprintService {
331
333
  threadId: string;
332
334
  jobId: string;
333
335
  occurredAt?: string;
334
- }): Promise<void>;
336
+ }): Promise<'applied' | 'pending_correction'>;
335
337
  }
336
338
 
337
339
  type StartPopmeltOptions = PopmeltOptions & {