@longtable/core 0.1.55 → 0.1.56

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 +47 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -10,7 +10,7 @@ export type HypothesisStatus = "unconfirmed" | "confirmed" | "rejected";
10
10
  export type ProviderKind = "claude" | "codex";
11
11
  export type RoleKey = string;
12
12
  export type InvocationKind = "single_role" | "panel" | "panel_debate" | "team" | "team_debate" | "status";
13
- export type InvocationSurface = "native_parallel" | "native_subagents" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "file_backed_panel_debate" | "file_backed_debate" | "mcp_transport";
13
+ export type InvocationSurface = "native_parallel" | "native_subagents" | "native_workers" | "generated_skill" | "prompt_alias" | "sequential_fallback" | "file_backed_panel_debate" | "file_backed_debate" | "mcp_transport";
14
14
  export type InvocationStatus = "planned" | "running" | "completed" | "blocked" | "degraded" | "error";
15
15
  export type InteractionDepth = "independent" | "cross_reviewed" | "debated";
16
16
  export type PanelVisibility = "synthesis_only" | "show_on_conflict" | "always_visible";
@@ -116,6 +116,52 @@ export interface PanelResult {
116
116
  linkedQuestionRecordIds: string[];
117
117
  linkedDecisionRecordIds: string[];
118
118
  }
119
+ export type PanelWorkerStatus = "pending" | "running" | "completed" | "blocked" | "failed" | "stop_requested" | "stopped";
120
+ export type PanelWorkerRunStatus = "planned" | "running" | "completed" | "blocked" | "failed" | "degraded" | "stop_requested" | "stopped" | "resumable";
121
+ export interface PanelWorkerRecord {
122
+ id: string;
123
+ role: RoleKey;
124
+ label: string;
125
+ required: boolean;
126
+ status: PanelWorkerStatus;
127
+ taskPath: string;
128
+ resultPath: string;
129
+ logPath: string;
130
+ launcherPath?: string;
131
+ exitCodePath?: string;
132
+ paneId?: string;
133
+ startedAt?: string;
134
+ updatedAt: string;
135
+ completedAt?: string;
136
+ error?: string;
137
+ diagnostics: string[];
138
+ }
139
+ export interface PanelWorkerRun {
140
+ schemaVersion: 1;
141
+ id: string;
142
+ createdAt: string;
143
+ updatedAt: string;
144
+ invocationId: string;
145
+ planId: string;
146
+ provider?: ProviderKind;
147
+ prompt: string;
148
+ mode: InteractionMode;
149
+ visibility: PanelVisibility;
150
+ requestedSurface: "native_workers";
151
+ fallbackSurface: "sequential_fallback";
152
+ status: PanelWorkerRunStatus;
153
+ workingDirectory: string;
154
+ runDirectory: string;
155
+ taskDirectory: string;
156
+ resultDirectory: string;
157
+ logDirectory: string;
158
+ launcherDirectory: string;
159
+ outputSchemaPath: string;
160
+ stopFilePath: string;
161
+ aggregateResultPath: string;
162
+ workers: PanelWorkerRecord[];
163
+ diagnostics: string[];
164
+ }
119
165
  export type TeamDebateRoundKind = "independent_review" | "cross_review" | "rebuttal" | "convergence" | "synthesis";
120
166
  export interface TeamDebateContribution {
121
167
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/core",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "private": false,
5
5
  "description": "Provider-neutral domain models and contracts for LongTable",
6
6
  "type": "module",