@builder.io/dev-tools 1.53.3-dev.202605071722.130d1cd9a → 1.53.3-dev.202605121530.1125141f1
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 +497 -493
- package/cli/index.cjs.map +3 -3
- 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 +492 -488
- package/server/index.mjs +492 -488
- package/types/_tests_/agent-parser-queue-behavior.test.d.ts +1 -0
- package/types/_tests_/codegen-sync-reset.test.d.ts +1 -0
- package/types/cli/launch.d.ts +1 -1
- package/types/cli/utils/agents/code-review-agent/code-review-agent.d.ts +2 -0
- package/types/cli/utils/agents/code-review-agent/index.d.ts +1 -0
- package/types/cli/utils/agents/code-review-orchestrator/code-review-orchestrator.d.ts +2 -0
- package/types/cli/utils/agents/code-review-orchestrator/index.d.ts +1 -0
- package/types/cli/utils/agents/explorer-agent.d.ts +2 -0
- package/types/cli/utils/agents/general-purpose-agent.d.ts +2 -0
- package/types/cli/utils/path-helpers.d.ts +18 -0
- package/types/cli/utils/search-file-tree.d.ts +14 -0
- package/types/cli/utils/search-file-tree.test.d.ts +1 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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: ("
|
|
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")[];
|
|
121
121
|
export type PublicCodeGenSession = Pick<InstanceType<typeof CodeGenSession>, (typeof PUBLIC_METHODS)[0]>;
|
|
122
122
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CODE_REVIEW_AGENT } from "./code-review-agent";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CODE_REVIEW_ORCHESTRATOR } from "./code-review-orchestrator";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { expandTildePath } from "#vcp-common/path-canonicalize";
|
|
2
|
+
/**
|
|
3
|
+
* Resolve an agent-supplied path to an absolute, canonicalized filesystem path.
|
|
4
|
+
*
|
|
5
|
+
* Accepts:
|
|
6
|
+
* - Tilde paths (`~/.builder/...`)
|
|
7
|
+
* - Absolute paths
|
|
8
|
+
* - Relative paths (resolved against `workingDirectory` if provided)
|
|
9
|
+
*
|
|
10
|
+
* Always canonicalizes `..` segments via `path.resolve` so a path like
|
|
11
|
+
* `~/.builder/../../etc/passwd` cannot sneak past a `~/.builder/**` allow rule.
|
|
12
|
+
*/
|
|
13
|
+
export declare function resolveAgentPath(filePath: string, workingDirectory?: string, home?: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* Default user-level roots that the agent's file tools should be allowed to read by default.
|
|
16
|
+
* Plugin/skill files live under these roots.
|
|
17
|
+
*/
|
|
18
|
+
export declare function defaultUserBuilderRoots(home?: string): string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Fuse, { type FuseResult } from "fuse.js";
|
|
2
|
+
export type FileSearchItem = {
|
|
3
|
+
fullPath: string;
|
|
4
|
+
basename: string;
|
|
5
|
+
filenameWithoutExt: string;
|
|
6
|
+
dirname: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function buildFileSearchItems(files: string[]): FileSearchItem[];
|
|
9
|
+
export declare function createFileSearchIndex(files: string[]): Fuse<FileSearchItem>;
|
|
10
|
+
/**
|
|
11
|
+
* Convert Fuse match indices from the best-matching field back to indices
|
|
12
|
+
* relative to the fullPath string, so the UI can highlight them.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getMatchIndicesForPath(result: FuseResult<FileSearchItem>): number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|