Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(types): reformat generated thread wire types

Steven Enamakel803932406c3b
diff --git a/app/src/types/threadWire.generated.ts b/app/src/types/threadWire.generated.ts
index ea25cf8ba9..0160383673 100644
--- a/app/src/types/threadWire.generated.ts
+++ b/app/src/types/threadWire.generated.ts
@@ -33,8 +33,16 @@ export type ToolTimelineStatus = 'running' | 'success' | 'error';
* inline "Agentic task insights" thoughts survive a settled turn / reload.
*/
export type SubagentTranscriptItem =
- | { iteration?: number | null; kind: 'thinking'; text: string }
- | { iteration?: number | null; kind: 'text'; text: string }
+ | {
+ iteration?: number | null;
+ kind: 'thinking';
+ text: string;
+ }
+ | {
+ iteration?: number | null;
+ kind: 'text';
+ text: string;
+ }
| {
callId: string;
detail?: string | null;
@@ -59,7 +67,12 @@ export type SubagentTranscriptItem =
* the row's status/label live in exactly one place.
*/
export type TranscriptItem =
- | { kind: 'narration'; round: number; seq: number; text: string }
+ | {
+ kind: 'narration';
+ round: number;
+ seq: number;
+ text: string;
+ }
| {
endedAt?: number | null;
kind: 'thinking';
@@ -68,7 +81,12 @@ export type TranscriptItem =
startedAt?: number | null;
text: string;
}
- | { callId: string; kind: 'toolCall'; round: number; seq: number };
+ | {
+ callId: string;
+ kind: 'toolCall';
+ round: number;
+ seq: number;
+ };
/**
* Provider-neutral ordered inbound content.
*/
@@ -81,7 +99,12 @@ export type ContentPart =
markdownDialect?: string | null;
text: string;
}
- | { altText: string | null; caption: string | null; kind: 'image'; media: MediaReference }
+ | {
+ altText: string | null;
+ caption: string | null;
+ kind: 'image';
+ media: MediaReference;
+ }
| {
caption: string | null;
durationMs: number | null;
@@ -97,8 +120,16 @@ export type ContentPart =
title: string | null;
transcript: string | null;
}
- | { caption: string | null; fileName: string | null; kind: 'file'; media: MediaReference }
- | { kind: 'voice_note'; voiceNote: VoiceNote }
+ | {
+ caption: string | null;
+ fileName: string | null;
+ kind: 'file';
+ media: MediaReference;
+ }
+ | {
+ kind: 'voice_note';
+ voiceNote: VoiceNote;
+ }
| {
altText: string | null;
emoji: string | null;
@@ -123,7 +154,10 @@ export type ContentPart =
organization: string | null;
phoneNumbers: ContactMethod[];
}
- | { kind: 'buttons'; rows: ButtonAction[][] }
+ | {
+ kind: 'buttons';
+ rows: ButtonAction[][];
+ }
| {
closesAtUnixMs: number | null;
kind: 'poll';
@@ -132,8 +166,15 @@ export type ContentPart =
providerPollId: string | null;
question: string;
}
- | { blocks: any; kind: 'presentation' }
- | { data: any; kind: 'native'; provider: string };
+ | {
+ blocks: any;
+ kind: 'presentation';
+ }
+ | {
+ data: any;
+ kind: 'native';
+ provider: string;
+ };
/**
* Origin of voice transcript enrichment.
*/
@@ -212,7 +253,9 @@ export interface AgentRun {
/**
* Inline resumable checkpoint state, if small enough to store directly.
*/
- checkpoint: { [k: string]: any };
+ checkpoint: {
+ [k: string]: any;
+ };
/**
* Filesystem path to a resumable checkpoint for this run, if persisted
* out-of-band from `checkpoint`.
@@ -243,7 +286,9 @@ export interface AgentRun {
/**
* Arbitrary caller-supplied metadata.
*/
- metadata: { [k: string]: any };
+ metadata: {
+ [k: string]: any;
+ };
/**
* The run that spawned this one, if any.
*/
@@ -546,7 +591,9 @@ export interface SubagentToolCall {
* call row, and the frontend grafts it onto the matching transcript item
* by `call_id` when it rehydrates.
*/
- args?: { [k: string]: any };
+ args?: {
+ [k: string]: any;
+ };
callId: string;
/**
* Server-computed contextual detail (e.g. the path / recipient).
@@ -598,7 +645,9 @@ export interface ConversationMessageRecord {
attachments?: ContentPart[];
content: string;
createdAt: string;
- extraMetadata: { [k: string]: any };
+ extraMetadata: {
+ [k: string]: any;
+ };
id: string;
sender: string;
type: string;
@@ -728,7 +777,9 @@ export interface RunEvent {
/**
* Arbitrary event payload.
*/
- payload: { [k: string]: any };
+ payload: {
+ [k: string]: any;
+ };
runId: string;
/**
* Per-run monotonically increasing sequence number; the primary key