Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2026-02-11 09:35:24 -05:00
committed by GitHub
parent 544bc1bc4f
commit f636a97faa
81 changed files with 109 additions and 110 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ This is an electron forge app, using vite and react.js. `goosed` runs as multi p
## Building for different platforms
### macOS
`npm run bundle:default` will give you a goose.app/zip which is signed/notarized but only if you setup the env vars as per `forge.config.ts` (you can empty out the section on osxSign if you don't want to sign it) - this will have all defaults.
`npm run bundle:default` will give you a goose.app/zip which is signed/notarized but only if you set up the env vars as per `forge.config.ts` (you can empty out the section on osxSign if you don't want to sign it) - this will have all defaults.
`npm run bundle:preconfigured` will make a goose.app/zip signed and notarized, but use the following:
+1 -1
View File
@@ -78,7 +78,7 @@ else
fi
# Trust all jbang scripts that a user might install. Without this, Jbang will attempt to
# prompt the user to trust each script. However, Goose does not surfact this modal and without
# prompt the user to trust each script. However, Goose does not surface this modal and without
# user input, the addExtension method will timeout and fail.
jbang --quiet trust add *
@@ -95,7 +95,7 @@ export function LeadWorkerSettings({ isOpen, onClose }: LeadWorkerSettingsProps)
predefinedModels.forEach((model) => {
options.push({
value: model.name, // Use name for switching
label: model.alias || model.name, // Use alias for display, fallback to name
label: model.alias || model.name, // Use alias for display, fall back to name
provider: model.provider,
});
});
+1 -1
View File
@@ -20,7 +20,7 @@ vi.mock('electron', () => ({
},
}));
// This is the standard setup to ensure that React Testing Library's
// This is the standard set up to ensure that React Testing Library's
// automatic cleanup runs after each test.
afterEach(() => {
cleanup();
+1 -1
View File
@@ -118,7 +118,7 @@ export class GitHubUpdater {
log.info(`GitHubUpdater: Looking for asset named: ${assetName}`);
log.info(`GitHubUpdater: Available assets: ${release.assets.map((a) => a.name).join(', ')}`);
const asset = release.assets.find((a) => a.name.toLowerCase() === assetName.toLowerCase()); // keeping comparison to lower case becasue Goose vs goose
const asset = release.assets.find((a) => a.name.toLowerCase() === assetName.toLowerCase()); // keeping comparison to lowercase because Goose vs goose
if (asset) {
downloadUrl = asset.browser_download_url;
log.info(`GitHubUpdater: Found matching asset: ${asset.name} (${asset.size} bytes)`);
@@ -34,7 +34,7 @@ describe('interruptionDetector', () => {
expect(result?.shouldInterrupt).toBe(true);
});
it('is case insensitive', () => {
it('is case-insensitive', () => {
expect(detectInterruption('STOP')?.confidence).toBe(1.0);
expect(detectInterruption('Stop')?.confidence).toBe(1.0);
expect(detectInterruption('sToP')?.confidence).toBe(1.0);
+1 -1
View File
@@ -11,7 +11,7 @@ export async function startOpenRouterSetup(): Promise<{ success: boolean; messag
} catch (e) {
return {
success: false,
message: `Failed to start Openrouter setup ['${e}]`,
message: `Failed to start OpenRouter setup ['${e}]`,
};
}
}
+1 -1
View File
@@ -15,7 +15,7 @@ export function loadRecentDirs(): string[] {
const data = fs.readFileSync(RECENT_DIRS_FILE, 'utf8');
const recentDirs: RecentDirs = JSON.parse(data);
// Filter out invalid directories (non-existent or not directories)
// Filter out invalid directories (nonexistent or not directories)
const validDirs = recentDirs.dirs.filter((dir) => {
try {
// Use lstat to detect symlinks and validate path structure
+1 -1
View File
@@ -33,7 +33,7 @@ export class SearchHighlighter {
z-index: 1;
`;
// Find scroll container (look for our custom data attribute first, then fallback to radix)
// Find scroll container (look for our custom data attribute first, then fall back to radix)
const searchScrollArea = container.closest('[data-search-scroll-area]');
this.scrollContainer =
searchScrollArea?.querySelector('[data-radix-scroll-area-viewport]') ||