@longtable/core 0.1.24 → 0.1.26

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 +18 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -9,9 +9,10 @@ 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" | "team_debate" | "status";
13
- export type InvocationSurface = "native_parallel" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "file_backed_debate" | "tmux_console" | "mcp_transport";
12
+ export type InvocationKind = "single_role" | "panel" | "team" | "team_debate" | "status";
13
+ export type InvocationSurface = "native_parallel" | "native_subagents" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "file_backed_debate" | "mcp_transport";
14
14
  export type InvocationStatus = "planned" | "running" | "completed" | "blocked" | "degraded" | "error";
15
+ export type InteractionDepth = "independent" | "cross_reviewed" | "debated";
15
16
  export type PanelVisibility = "synthesis_only" | "show_on_conflict" | "always_visible";
16
17
  export type CheckpointSensitivity = "low" | "medium" | "high";
17
18
  export type CheckpointLevel = "universal_required" | "adaptive_required" | "recommended" | "log_only" | "none";
@@ -111,6 +112,7 @@ export interface PanelResult {
111
112
  synthesis?: string;
112
113
  conflictSummary?: string;
113
114
  decisionPrompt?: string;
115
+ interactionDepth?: InteractionDepth;
114
116
  linkedQuestionRecordIds: string[];
115
117
  linkedDecisionRecordIds: string[];
116
118
  }
@@ -121,6 +123,8 @@ export interface TeamDebateContribution {
121
123
  role: RoleKey;
122
124
  label: string;
123
125
  targetRole?: RoleKey;
126
+ respondsToContributionId?: string;
127
+ stance?: "agree" | "disagree" | "conditional" | "defer";
124
128
  summary: string;
125
129
  claims: string[];
126
130
  objections: string[];
@@ -157,7 +161,8 @@ export interface TeamDebateRun {
157
161
  roles: PanelMember[];
158
162
  status: InvocationStatus;
159
163
  surface: InvocationSurface;
160
- roundPolicy: "fixed";
164
+ interactionDepth: InteractionDepth;
165
+ roundPolicy: "fixed" | "team_cross_review";
161
166
  roundCount: number;
162
167
  artifactRoot: string;
163
168
  rounds: TeamDebateRound[];
@@ -172,6 +177,7 @@ export interface InvocationRecord {
172
177
  status: InvocationStatus;
173
178
  provider?: ProviderKind;
174
179
  surface: InvocationSurface;
180
+ interactionDepth?: InteractionDepth;
175
181
  panelPlan?: PanelPlan;
176
182
  panelResult?: PanelResult;
177
183
  teamDebateRun?: TeamDebateRun;
@@ -214,6 +220,7 @@ export interface QuestionPrompt {
214
220
  otherLabel?: string;
215
221
  required: boolean;
216
222
  source: "checkpoint" | "setup" | "runtime_guidance" | "manual";
223
+ displayReason?: string;
217
224
  rationale: string[];
218
225
  preferredSurfaces: QuestionSurface[];
219
226
  }
@@ -227,12 +234,20 @@ export interface QuestionAnswer {
227
234
  surface: QuestionSurface;
228
235
  }
229
236
  export type QuestionRecordStatus = "pending" | "answered" | "cleared" | "error";
237
+ export type QuestionTransportStatus = "not_attempted" | "attempted" | "accepted" | "declined" | "unsupported" | "timeout" | "error" | "fallback_rendered";
238
+ export interface QuestionTransportState {
239
+ surface: QuestionSurface;
240
+ status: QuestionTransportStatus;
241
+ updatedAt: string;
242
+ message?: string;
243
+ }
230
244
  export interface QuestionRecord {
231
245
  id: string;
232
246
  createdAt: string;
233
247
  updatedAt: string;
234
248
  status: QuestionRecordStatus;
235
249
  prompt: QuestionPrompt;
250
+ transportStatus?: QuestionTransportState;
236
251
  answer?: QuestionAnswer;
237
252
  error?: string;
238
253
  decisionRecordId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/core",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "description": "Provider-neutral domain models and contracts for LongTable",
6
6
  "type": "module",