@longtable/core 0.1.32 → 0.1.34
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/types.d.ts +16 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -250,6 +250,7 @@ export interface QuestionRecord {
|
|
|
250
250
|
transportStatus?: QuestionTransportState;
|
|
251
251
|
answer?: QuestionAnswer;
|
|
252
252
|
error?: string;
|
|
253
|
+
clearedReason?: string;
|
|
253
254
|
decisionRecordId?: string;
|
|
254
255
|
}
|
|
255
256
|
export interface ArtifactRecord {
|
|
@@ -318,6 +319,20 @@ export interface LongTableHookRun {
|
|
|
318
319
|
linkedQuestionRecordIds?: string[];
|
|
319
320
|
linkedDecisionRecordIds?: string[];
|
|
320
321
|
}
|
|
322
|
+
export type LongTableQuestionObligationKind = "required_question" | "first_research_shape_confirmation";
|
|
323
|
+
export type LongTableQuestionObligationStatus = "pending" | "satisfied" | "cleared";
|
|
324
|
+
export interface LongTableQuestionObligation {
|
|
325
|
+
id: string;
|
|
326
|
+
kind: LongTableQuestionObligationKind;
|
|
327
|
+
status: LongTableQuestionObligationStatus;
|
|
328
|
+
createdAt: string;
|
|
329
|
+
updatedAt: string;
|
|
330
|
+
prompt: string;
|
|
331
|
+
reason: string;
|
|
332
|
+
questionId?: string;
|
|
333
|
+
decisionId?: string;
|
|
334
|
+
sourceHookId?: string;
|
|
335
|
+
}
|
|
321
336
|
export interface RuntimeGuidance {
|
|
322
337
|
mode: InteractionMode;
|
|
323
338
|
minimumQuestions: number;
|
|
@@ -351,6 +366,7 @@ export interface ResearchState {
|
|
|
351
366
|
workingState: Record<string, unknown>;
|
|
352
367
|
hooks?: LongTableHookRun[];
|
|
353
368
|
firstResearchShape?: FirstResearchShape;
|
|
369
|
+
questionObligations?: LongTableQuestionObligation[];
|
|
354
370
|
inferredHypotheses: InferredHypothesis[];
|
|
355
371
|
openTensions: string[];
|
|
356
372
|
decisionLog: DecisionRecord[];
|