@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.
Files changed (28) hide show
  1. package/cli/index.cjs +10 -3
  2. package/cli/index.cjs.map +2 -2
  3. package/core/index.cjs +1 -1
  4. package/core/index.mjs +1 -1
  5. package/node/index.cjs +1 -1
  6. package/node/index.mjs +1 -1
  7. package/package.json +1 -1
  8. package/server/index.cjs +2 -2
  9. package/server/index.mjs +2 -2
  10. package/types/cli/launch.d.ts +1 -1
  11. package/types/cli/utils/resolve-shell-env.d.ts +33 -0
  12. package/types/common/utils.d.ts +1 -1
  13. package/types/tsconfig.tsbuildinfo +1 -1
  14. package/types/cli/github-cli.test.d.ts +0 -1
  15. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/COPYING +0 -3
  16. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/LICENSE-MIT +0 -21
  17. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/README.md +0 -516
  18. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/UNLICENSE +0 -24
  19. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg +0 -665
  20. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg.ps1 +0 -213
  21. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.bash +0 -783
  22. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.fish +0 -175
  23. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/CHANGELOG.md +0 -1689
  24. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/FAQ.md +0 -1046
  25. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/GUIDE.md +0 -1022
  26. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/rg.1 +0 -2178
  27. package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/rg.exe +0 -0
  28. /package/types/cli/{code-tools.test.d.ts → utils/resolve-shell-env.test.d.ts} +0 -0
@@ -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: ("fileExists" | "readFile" | "listDir" | "getAllFiles" | "abort" | "abortSetupCommand" | "abortValidateCommand" | "switchSessionMode" | "switchModelOverride" | "queueSystemReminder" | "setDefaultAutoPush" | "setPrivacyMode" | "loadHistory" | "loadMoreTurns" | "setCustomInstructions" | "pushRepoV2" | "uploadBackup" | "pushChanges" | "abortMerge" | "syncChangesFromRemote" | "createTerminal" | "updateTerminal" | "writeTerminal" | "signalTerminal" | "disposeTerminal" | "restartTerminal" | "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" | "readFileWithChecksum" | "readBinaryFile" | "getSingleFileDiff" | "discardFileChanges" | "revertDiscard" | "writeFile" | "listCustomInstructions" | "deleteFile" | "getDiff")[];
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;
@@ -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\"" | "builder.io";
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