@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/bridge-entry.mjs +65 -57
- package/dist/canvas.mjs +1 -1
- package/dist/chunk-U35GCRMU.mjs +1 -0
- package/dist/cli.mjs +59 -51
- package/dist/index.mjs +64 -41
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-next.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/server-LYQ2TJFR.mjs +221 -0
- package/dist/server.d.mts +3 -1
- package/dist/server.mjs +60 -52
- package/package.json +1 -1
- package/dist/chunk-JJEESG5Y.mjs +0 -1
- package/dist/server-SESHQYMR.mjs +0 -213
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<
|
|
336
|
+
}): Promise<'applied' | 'pending_correction'>;
|
|
335
337
|
}
|
|
336
338
|
|
|
337
339
|
type StartPopmeltOptions = PopmeltOptions & {
|