@longtable/core 0.1.15 → 0.1.17

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 +53 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -9,8 +9,8 @@ export type NarrativeTraceVisibility = "explicit" | "inferred";
9
9
  export type HypothesisStatus = "unconfirmed" | "confirmed" | "rejected";
10
10
  export type ProviderKind = "claude" | "codex";
11
11
  export type RoleKey = string;
12
- export type InvocationKind = "single_role" | "panel" | "status";
13
- export type InvocationSurface = "native_parallel" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "mcp_transport";
12
+ export type InvocationKind = "single_role" | "panel" | "team_debate" | "status";
13
+ export type InvocationSurface = "native_parallel" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "file_backed_debate" | "tmux_console" | "mcp_transport";
14
14
  export type InvocationStatus = "planned" | "running" | "completed" | "blocked" | "degraded" | "error";
15
15
  export type PanelVisibility = "synthesis_only" | "show_on_conflict" | "always_visible";
16
16
  export type CheckpointSensitivity = "low" | "medium" | "high";
@@ -114,6 +114,56 @@ export interface PanelResult {
114
114
  linkedQuestionRecordIds: string[];
115
115
  linkedDecisionRecordIds: string[];
116
116
  }
117
+ export type TeamDebateRoundKind = "independent_review" | "cross_review" | "rebuttal" | "convergence" | "synthesis";
118
+ export interface TeamDebateContribution {
119
+ id: string;
120
+ roundId: string;
121
+ role: RoleKey;
122
+ label: string;
123
+ targetRole?: RoleKey;
124
+ summary: string;
125
+ claims: string[];
126
+ objections: string[];
127
+ openQuestions: string[];
128
+ evidenceNeeds: string[];
129
+ tacitAssumptions: string[];
130
+ checkpointTriggers: string[];
131
+ artifactPath: string;
132
+ }
133
+ export interface TeamDebateRound {
134
+ id: string;
135
+ index: number;
136
+ kind: TeamDebateRoundKind;
137
+ title: string;
138
+ status: InvocationStatus;
139
+ artifactDir: string;
140
+ contributions: TeamDebateContribution[];
141
+ }
142
+ export interface TeamDebateSynthesis {
143
+ summary: string;
144
+ consensus: string[];
145
+ disagreements: string[];
146
+ unresolvedGaps: string[];
147
+ researcherDecisionPoints: string[];
148
+ recommendedCheckpoint: string;
149
+ artifactPath: string;
150
+ }
151
+ export interface TeamDebateRun {
152
+ id: string;
153
+ teamId: string;
154
+ createdAt: string;
155
+ updatedAt: string;
156
+ prompt: string;
157
+ roles: PanelMember[];
158
+ status: InvocationStatus;
159
+ surface: InvocationSurface;
160
+ roundPolicy: "fixed";
161
+ roundCount: number;
162
+ artifactRoot: string;
163
+ rounds: TeamDebateRound[];
164
+ synthesis: TeamDebateSynthesis;
165
+ linkedQuestionRecordIds: string[];
166
+ }
117
167
  export interface InvocationRecord {
118
168
  id: string;
119
169
  createdAt: string;
@@ -124,6 +174,7 @@ export interface InvocationRecord {
124
174
  surface: InvocationSurface;
125
175
  panelPlan?: PanelPlan;
126
176
  panelResult?: PanelResult;
177
+ teamDebateRun?: TeamDebateRun;
127
178
  degradationReason?: string;
128
179
  error?: string;
129
180
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/core",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "private": false,
5
5
  "description": "Provider-neutral domain models and contracts for LongTable",
6
6
  "type": "module",