Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Burst mode: keep the wire file within its ratchet

Milind Soni6b3be1cb5a71
diff --git a/shared/wire.ts b/shared/wire.ts
index 89cdf0d2a8..8e7ed8332e 100644
--- a/shared/wire.ts
+++ b/shared/wire.ts
@@ -90,9 +90,7 @@ export interface TaskOpenedBy {
/** What kind of conversation the opener made this: "pair" is the one
* durable conversation between two bots; "work" closes itself once its
* result has been reported. */
- kind?: "pair" | "work";
- /** The burst this thread is one part of: it is listed under that burst's card, not on its own. */
- burstId?: string;
+ kind?: "pair" | "work"; /** The burst this thread is one part of: it is listed under that burst's card, not on its own. */ burstId?: string;
/** The opener's own conversation this "work" thread was opened from.
* Everything that conversation later sends this bot continues here. */
threadId?: string;
@@ -500,9 +498,7 @@ export interface WireMessage extends ServerTextLine, HelperIntroField, SetupCard
/** signin rows: the bot asked the person to sign in to a site themselves. */
signIn?: SignInRequestCardData;
/** One idempotently updated status card for a routine run. */
- routineRun?: RoutineRunCardData;
- /** The card a burst shows in its parent chat: first a preview, then its progress. */
- burst?: BurstCardData;
+ routineRun?: RoutineRunCardData; /** The card a burst shows in its parent chat: first a preview, then its progress. */ burst?: BurstCardData;
automation?: AutomationLine;
/** Terminal receipt for a bounded multi-bot channel goal. */
goalRun?: GroupGoalRunCardData;