@builder.io/dev-tools 1.46.0-dev.202604171905.63c3bec96 → 1.46.0-dev.202604200317.da83adc0f
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.
- package/cli/index.cjs +231 -44
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +5 -2
- package/server/index.mjs +5 -2
- package/types/cli/codegen.d.ts +2 -0
- package/types/cli/github-cli.test.d.ts +1 -0
- package/types/cli/launch.d.ts +1 -1
- package/types/cli/utils/replay-action-uploader.d.ts +45 -0
- package/types/tsconfig.tsbuildinfo +1 -1
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/COPYING +3 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/LICENSE-MIT +21 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/README.md +516 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/UNLICENSE +24 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg +665 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg.ps1 +213 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.bash +783 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.fish +175 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/CHANGELOG.md +1689 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/FAQ.md +1046 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/GUIDE.md +1022 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/rg.1 +2178 -0
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/rg.exe +0 -0
- package/types/cli/utils/resolve-shell-env.d.ts +0 -33
- /package/types/cli/{utils/resolve-shell-env.test.d.ts → code-tools.test.d.ts} +0 -0
package/types/cli/codegen.d.ts
CHANGED
|
@@ -310,6 +310,8 @@ export declare class CodeGenSession {
|
|
|
310
310
|
options: CodeGenSessionOptions;
|
|
311
311
|
resetAfterRun: boolean;
|
|
312
312
|
subagent_type: string;
|
|
313
|
+
/** Set when the run was launched with browser session replay enabled. */
|
|
314
|
+
replayId?: string;
|
|
313
315
|
} | {
|
|
314
316
|
success: false;
|
|
315
317
|
response: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/cli/launch.d.ts
CHANGED
|
@@ -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: ("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" | "
|
|
120
|
+
declare const PUBLIC_METHODS: ("readFile" | "readBinaryFile" | "writeFile" | "launchEditor" | "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" | "readFileWithChecksum" | "getSingleFileDiff" | "discardFileChanges" | "revertDiscard" | "fileExists" | "listDir" | "listCustomInstructions" | "deleteFile" | "getDiff")[];
|
|
121
121
|
export type PublicCodeGenSession = Pick<InstanceType<typeof CodeGenSession>, (typeof PUBLIC_METHODS)[0]>;
|
|
122
122
|
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type Credentials } from "../credentials";
|
|
2
|
+
/**
|
|
3
|
+
* Schema of one action record. Mirrors `ReplayActionRecord` in
|
|
4
|
+
* `packages/service/codegen/replay/types.ts` — kept inline here to keep
|
|
5
|
+
* the published `@builder.io/dev-tools` package free of cross-package
|
|
6
|
+
* type imports.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReplayActionRecord {
|
|
9
|
+
ts: number;
|
|
10
|
+
type: "tool_result" | "reasoning" | "chapter";
|
|
11
|
+
tool?: string;
|
|
12
|
+
argsSummary?: string;
|
|
13
|
+
resultSummary?: string;
|
|
14
|
+
isError?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Buffers AI agent actions during a `browser-testing` run and uploads
|
|
19
|
+
* them as NDJSON chunks to `/codegen/replay/:uuid/actions`.
|
|
20
|
+
*
|
|
21
|
+
* Each chunk is sent with a monotonically-increasing `seq` so the main
|
|
22
|
+
* service can compose them into a single canonical `actions.ndjson.gz`
|
|
23
|
+
* at finalize time.
|
|
24
|
+
*
|
|
25
|
+
* Failures are intentionally swallowed: replay is a nice-to-have and
|
|
26
|
+
* must never affect the agent run.
|
|
27
|
+
*/
|
|
28
|
+
export declare class ReplayActionUploader {
|
|
29
|
+
#private;
|
|
30
|
+
constructor(opts: {
|
|
31
|
+
credentials: Credentials;
|
|
32
|
+
replayId: string;
|
|
33
|
+
debug?: boolean;
|
|
34
|
+
});
|
|
35
|
+
recordToolResult(result: {
|
|
36
|
+
tool_name?: string;
|
|
37
|
+
tool_input?: string;
|
|
38
|
+
content?: unknown;
|
|
39
|
+
is_error?: boolean;
|
|
40
|
+
}): void;
|
|
41
|
+
recordReasoning(text: string): void;
|
|
42
|
+
recordChapterMarker(title: string): void;
|
|
43
|
+
flush(): Promise<void>;
|
|
44
|
+
close(): Promise<void>;
|
|
45
|
+
}
|