@builder.io/dev-tools 1.48.1-dev.202604230542.be0ce89fc → 1.48.1-dev.202604240705.be0ce89fc

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.
@@ -117,6 +117,6 @@ export declare function runFusionCommand({ sys, args, existingSession, }: {
117
117
  args: LaunchArgs;
118
118
  existingSession?: CodeGenSession;
119
119
  }): Promise<void>;
120
- declare const PUBLIC_METHODS: ("switchSessionMode" | "switchModelOverride" | "queueSystemReminder" | "setDefaultAutoPush" | "setPrivacyMode" | "loadHistory" | "loadMoreTurns" | "setCustomInstructions" | "pushRepoV2" | "uploadBackup" | "pushChanges" | "abortMerge" | "syncChangesFromRemote" | "createTerminal" | "updateTerminal" | "writeTerminal" | "signalTerminal" | "disposeTerminal" | "restartTerminal" | "getAllFiles" | "searchFiles" | "searchFileTree" | "collectRepoMetrics" | "restoreFromCompletionId" | "restoreBeforeCompletionId" | "undoLastUserMessage" | "sendFeedback" | "clearSession" | "clearMessageQueue" | "updateMessage" | "flushMessageQueue" | "sendMessage" | "setProxyOrigin" | "abortSetupCommand" | "abortValidateCommand" | "toolFullfilment" | "abortToolCall" | "abort" | "stopEventLoop" | "configureDevOrchestrator" | "tsServerInit" | "tsServerOpenFile" | "tsServerChangeFile" | "tsServerCloseFile" | "tsServerGetCompletions" | "tsServerGetCompletionDetails" | "tsServerGetDefinition" | "tsServerGetTypeDefinition" | "tsServerGetQuickInfo" | "tsServerGetReferences" | "tsServerGetSignatureHelp" | "tsServerRequestDiagnostics" | "tsServerGetRenameLocations" | "tsServerGetNavTree" | "tsServerOrganizeImports" | "tsServerGetInlayHints" | "tsServerGetCodeFixes" | "tsServerGetApplicableRefactors" | "tsServerGetEditsForRefactor" | "tsServerGetImplementation" | "tsServerGetSelectionRange" | "tsServerGetLinkedEditingRange" | "tsServerGetFormatRange" | "manualCommit" | "launchEditor" | "readFile" | "readFileWithChecksum" | "readBinaryFile" | "getSingleFileDiff" | "discardFileChanges" | "revertDiscard" | "fileExists" | "writeFile" | "listDir" | "listCustomInstructions" | "deleteFile" | "getDiff")[];
120
+ declare const PUBLIC_METHODS: ("abort" | "abortSetupCommand" | "abortValidateCommand" | "switchSessionMode" | "switchModelOverride" | "queueSystemReminder" | "setDefaultAutoPush" | "setPrivacyMode" | "loadHistory" | "loadMoreTurns" | "setCustomInstructions" | "pushRepoV2" | "uploadBackup" | "pushChanges" | "abortMerge" | "syncChangesFromRemote" | "createTerminal" | "updateTerminal" | "writeTerminal" | "signalTerminal" | "disposeTerminal" | "restartTerminal" | "getAllFiles" | "searchFiles" | "searchFileTree" | "collectRepoMetrics" | "restoreFromCompletionId" | "restoreBeforeCompletionId" | "undoLastUserMessage" | "sendFeedback" | "clearSession" | "clearMessageQueue" | "updateMessage" | "flushMessageQueue" | "sendMessage" | "setProxyOrigin" | "toolFullfilment" | "abortToolCall" | "stopEventLoop" | "configureDevOrchestrator" | "tsServerInit" | "tsServerOpenFile" | "tsServerChangeFile" | "tsServerCloseFile" | "tsServerGetCompletions" | "tsServerGetCompletionDetails" | "tsServerGetDefinition" | "tsServerGetTypeDefinition" | "tsServerGetQuickInfo" | "tsServerGetReferences" | "tsServerGetSignatureHelp" | "tsServerRequestDiagnostics" | "tsServerGetRenameLocations" | "tsServerGetNavTree" | "tsServerOrganizeImports" | "tsServerGetInlayHints" | "tsServerGetCodeFixes" | "tsServerGetApplicableRefactors" | "tsServerGetEditsForRefactor" | "tsServerGetImplementation" | "tsServerGetSelectionRange" | "tsServerGetLinkedEditingRange" | "tsServerGetFormatRange" | "manualCommit" | "launchEditor" | "readFile" | "readFileWithChecksum" | "readBinaryFile" | "getSingleFileDiff" | "discardFileChanges" | "revertDiscard" | "fileExists" | "writeFile" | "listDir" | "listCustomInstructions" | "deleteFile" | "getDiff")[];
121
121
  export type PublicCodeGenSession = Pick<InstanceType<typeof CodeGenSession>, (typeof PUBLIC_METHODS)[0]>;
122
122
  export {};
@@ -12,8 +12,10 @@ import { type Credentials } from "../credentials";
12
12
  export interface ReplayActionRecord {
13
13
  /** Wall-clock timestamp in ms epoch. */
14
14
  ts: number;
15
- type: "text" | "thinking";
16
- content: string;
15
+ type: "text" | "thinking" | "checkpoint";
16
+ content?: string;
17
+ label?: string;
18
+ imageUrl?: string;
17
19
  }
18
20
  /**
19
21
  * Buffers user-visible agent blocks (`text`, `thinking`) during a
@@ -39,6 +41,7 @@ export declare class ReplayActionUploader {
39
41
  */
40
42
  recordText(content: string, ts?: number): void;
41
43
  recordReasoning(content: string, ts?: number): void;
44
+ recordCheckpoint(ts?: number, label?: string, imageUrl?: string): void;
42
45
  flush(): Promise<void>;
43
46
  close(): Promise<void>;
44
47
  }
@@ -1,4 +1,5 @@
1
1
  import type { ContentMessageItemImage, ContentMessageItemResource, ContentMessageItemText, CursorPosition, RecordFrameToolInput, TimelineEventCategory, TimelineRecording } from "#ai-utils";
2
+ import type { ReplayActionUploader } from "./replay-action-uploader";
2
3
  interface TimelineCollectorOptions {
3
4
  framesDir: string;
4
5
  debug?: boolean;
@@ -38,6 +39,7 @@ export interface StateEntry {
38
39
  export declare class TimelineCollector {
39
40
  #private;
40
41
  constructor(sessionId: string, options: TimelineCollectorOptions);
42
+ setReplayUploader(uploader: ReplayActionUploader): void;
41
43
  /**
42
44
  * Reset all collected state so the collector can be reused for a new recording cycle
43
45
  * (e.g., on reused QA branches that handle multiple review messages).
@@ -79,6 +81,7 @@ export declare class TimelineCollector {
79
81
  summary?: string;
80
82
  sessionId?: string;
81
83
  testCaseIds?: string[];
84
+ replayId?: string;
82
85
  }): {
83
86
  startEventId: number;
84
87
  endEventId: number;