@builder.io/dev-tools 1.41.5-dev.202604100941.6d5e1b76e → 1.41.5-dev.202604132132.34c0e358d
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 +10 -3
- package/cli/index.cjs.map +2 -2
- 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 +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/launch.d.ts +1 -1
- package/types/cli/utils/resolve-shell-env.d.ts +33 -0
- package/types/common/utils.d.ts +1 -1
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/cli/github-cli.test.d.ts +0 -1
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/COPYING +0 -3
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/LICENSE-MIT +0 -21
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/README.md +0 -516
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/UNLICENSE +0 -24
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg +0 -665
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg.ps1 +0 -213
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.bash +0 -783
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.fish +0 -175
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/CHANGELOG.md +0 -1689
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/FAQ.md +0 -1046
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/GUIDE.md +0 -1022
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/rg.1 +0 -2178
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/rg.exe +0 -0
- /package/types/cli/{code-tools.test.d.ts → utils/resolve-shell-env.test.d.ts} +0 -0
package/types/cli/launch.d.ts
CHANGED
|
@@ -116,6 +116,6 @@ export declare function runFusionCommand({ sys, args, }: {
|
|
|
116
116
|
sys: DevToolsSys;
|
|
117
117
|
args: LaunchArgs;
|
|
118
118
|
}): Promise<void>;
|
|
119
|
-
declare const PUBLIC_METHODS: ("
|
|
119
|
+
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
120
|
export type PublicCodeGenSession = Pick<InstanceType<typeof CodeGenSession>, (typeof PUBLIC_METHODS)[0]>;
|
|
121
121
|
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spawns a single interactive login shell to capture the user's full PATH.
|
|
3
|
+
*
|
|
4
|
+
* When the Electron app is launched from the macOS Dock, it inherits launchd's
|
|
5
|
+
* minimal PATH (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin). Shell profile
|
|
6
|
+
* files (e.g. .zshrc, .bash_profile) are never sourced, so tools added to PATH
|
|
7
|
+
* by those files are invisible.
|
|
8
|
+
*
|
|
9
|
+
* This function spawns `$SHELL -i -l -c "printf <marker>; printenv PATH; printf <marker>"`
|
|
10
|
+
* to capture the fully-resolved PATH from the user's interactive shell. It uses
|
|
11
|
+
* `printenv` instead of `$PATH` to avoid issues with shells like fish where
|
|
12
|
+
* `$PATH` is a list variable. Unique markers reliably extract the PATH even
|
|
13
|
+
* when the shell prints banners, motd messages, or other noise.
|
|
14
|
+
*
|
|
15
|
+
* Returns `null` on Windows, in cloud environments, or on any failure.
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolveShellEnv(): Promise<{
|
|
18
|
+
PATH: string;
|
|
19
|
+
} | null>;
|
|
20
|
+
/**
|
|
21
|
+
* Extracts a PATH string from shell output using start/end markers.
|
|
22
|
+
*
|
|
23
|
+
* Pure function. Returns the substring between the two markers,
|
|
24
|
+
* or `null` if the markers are not found or are in the wrong order.
|
|
25
|
+
*/
|
|
26
|
+
export declare function extractPathFromOutput(stdout: string, startMarker: string, endMarker: string): string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Merges two PATH strings, deduplicating entries.
|
|
29
|
+
*
|
|
30
|
+
* Primary entries come first (higher priority). Entries from secondaryPath
|
|
31
|
+
* that are not already present in primaryPath are appended.
|
|
32
|
+
*/
|
|
33
|
+
export declare function mergePathEntries(primaryPath: string, secondaryPath: string, separator?: string): string;
|
package/types/common/utils.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare function clone<T>(obj: T): T;
|
|
|
19
19
|
export declare function shouldSkipFolder(sys: DevToolsSys, skipFolders: Set<string>, fileName: string): boolean;
|
|
20
20
|
export declare function getPackageManager(): string;
|
|
21
21
|
export declare function isWindows(): boolean;
|
|
22
|
-
export declare function builderNpxPackage(): "@builder.io/agent" | "\"@builder.io/dev-tools\""
|
|
22
|
+
export declare function builderNpxPackage(): "builder.io" | "@builder.io/agent" | "\"@builder.io/dev-tools\"";
|
|
23
23
|
/**
|
|
24
24
|
* Sanitizes a component name for use in filesystem paths by replacing invalid characters with underscores
|
|
25
25
|
* @param name The component name to sanitize
|