@longtable/core 0.1.44 → 0.1.47

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +7 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -190,6 +190,8 @@ export interface InferredHypothesis {
190
190
  evidence: string[];
191
191
  status: HypothesisStatus;
192
192
  }
193
+ export type QuestionCommitmentFamily = "scope" | "construct" | "coding" | "method" | "evidence" | "epistemic_authority" | "product_policy";
194
+ export type QuestionEpistemicBasis = "researcher_knowledge" | "project_state" | "external_evidence" | "ai_inference" | "mixed";
193
195
  export interface DecisionRecord {
194
196
  id: string;
195
197
  timestamp: string;
@@ -197,6 +199,8 @@ export interface DecisionRecord {
197
199
  level: CheckpointLevel;
198
200
  mode: InteractionMode;
199
201
  summary: string;
202
+ commitmentFamily?: QuestionCommitmentFamily;
203
+ epistemicBasis?: QuestionEpistemicBasis;
200
204
  selectedOption?: string;
201
205
  rationale?: string;
202
206
  explicitStateUpdates?: Record<string, unknown>;
@@ -297,6 +301,8 @@ export interface QuestionRecord {
297
301
  createdAt: string;
298
302
  updatedAt: string;
299
303
  status: QuestionRecordStatus;
304
+ commitmentFamily?: QuestionCommitmentFamily;
305
+ epistemicBasis?: QuestionEpistemicBasis;
300
306
  prompt: QuestionPrompt;
301
307
  transportStatus?: QuestionTransportState;
302
308
  answer?: QuestionAnswer;
@@ -425,7 +431,7 @@ export interface LongTableHookRun {
425
431
  linkedQuestionRecordIds?: string[];
426
432
  linkedDecisionRecordIds?: string[];
427
433
  }
428
- export type LongTableQuestionObligationKind = "required_question" | "first_research_shape_confirmation";
434
+ export type LongTableQuestionObligationKind = "required_question" | "first_research_shape_confirmation" | "research_specification_confirmation";
429
435
  export type LongTableQuestionObligationStatus = "pending" | "satisfied" | "cleared";
430
436
  export interface LongTableQuestionObligation {
431
437
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/core",
3
- "version": "0.1.44",
3
+ "version": "0.1.47",
4
4
  "private": false,
5
5
  "description": "Provider-neutral domain models and contracts for LongTable",
6
6
  "type": "module",