@popmelt.com/core 0.8.6 → 0.8.8

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
@@ -33,7 +33,7 @@ type ImprintConcrete = {
33
33
  createdAt: string;
34
34
  updatedAt: string;
35
35
  };
36
- type ImprintRelationType = 'operationalizes' | 'refines' | 'supports' | 'contradicts' | 'excepts' | 'instantiates';
36
+ type ImprintRelationType = 'operationalizes' | 'refines' | 'supports' | 'contradicts' | 'excepts' | 'instantiates' | 'supersedes';
37
37
  type ImprintRelation = {
38
38
  id: string;
39
39
  type: ImprintRelationType;
@@ -132,6 +132,7 @@ type ImprintContext = {
132
132
  }>;
133
133
  truncated: boolean;
134
134
  pendingGroundingExplanationIds?: string[];
135
+ relations?: Array<Pick<ImprintRelation, 'id' | 'type' | 'fromId' | 'toId' | 'rationale'>>;
135
136
  };
136
137
 
137
138
  type Provider = 'claude' | 'codex' | 'copilot';
@@ -197,6 +198,7 @@ type ProposedMutation = {
197
198
  statement: string;
198
199
  rationale: string;
199
200
  scope?: ImprintScope;
201
+ rootReason?: string;
200
202
  } | {
201
203
  op: 'revise';
202
204
  explanationId: string;