diff --git a/documentation/docs/guides/environment-variables.md b/documentation/docs/guides/environment-variables.md index da50b4cb6e93..f5cc5b1658e2 100644 --- a/documentation/docs/guides/environment-variables.md +++ b/documentation/docs/guides/environment-variables.md @@ -134,7 +134,7 @@ export GOOSE_MAX_TURNS=25 export GOOSE_MAX_TURNS=100 # Use multiple context files -export CONTEXT_FILE_NAMES='["CLAUDE.md", ".goosehints", "project_rules.txt"]' +export CONTEXT_FILE_NAMES='["CLAUDE.md", ".goosehints", ".cursorrules", "project_rules.txt"]' # Set the ANSI theme for the session export GOOSE_CLI_THEME=ansi diff --git a/documentation/docs/guides/recipes/session-recipes.md b/documentation/docs/guides/recipes/session-recipes.md index b8ca683fb69a..6324bb28e15a 100644 --- a/documentation/docs/guides/recipes/session-recipes.md +++ b/documentation/docs/guides/recipes/session-recipes.md @@ -339,7 +339,7 @@ You can turn your current Goose session into a reusable recipe that includes the **Basic Usage** - Run once and exit (see [run options](/docs/guides/goose-cli-commands#run-options) and [recipe commands](/docs/guides/goose-cli-commands#recipe) for more): ```sh - # Using recipe file in current directory or GOOSE_RECIPE_PATH directories + # Using recipe file in current directory or `GOOSE_RECIPE_PATH` directories goose run --recipe recipe.yaml # Using full path diff --git a/documentation/docs/guides/using-goosehints.md b/documentation/docs/guides/using-goosehints.md index 436068abfecb..977118f8a633 100644 --- a/documentation/docs/guides/using-goosehints.md +++ b/documentation/docs/guides/using-goosehints.md @@ -37,8 +37,8 @@ Goose supports two types of hint files: You can use both global and local hints at the same time. When both exist, Goose will consider both your global preferences and project-specific requirements. If the instructions in your local hints file conflict with your global preferences, Goose will prioritize the local hints. -:::tip Custom Context File -You can [customize context file names](#custom-context-files) using the `CONTEXT_FILE_NAMES` environment variable. +:::tip Custom Context Files +You can use other agent rule files with Goose by using the [`CONTEXT_FILE_NAMES` environment variable](#custom-context-files). ::: @@ -143,12 +143,15 @@ Here's how it works: ### Configuration -Set the `CONTEXT_FILE_NAMES` environment variable to a JSON array of filenames. If not set, it defaults to `[".goosehints"]`. +Set the `CONTEXT_FILE_NAMES` environment variable to a JSON array of filenames. The default is `[".goosehints"]`. ```bash # Single custom file export CONTEXT_FILE_NAMES='["AGENTS.md"]' -# Multiple files (loaded in order) +# Project toolchain files +export CONTEXT_FILE_NAMES='[".cursorrules", "AGENTS.md"]' + +# Multiple files export CONTEXT_FILE_NAMES='["CLAUDE.md", ".goosehints", "project_rules.txt"]' ``` diff --git a/ui/desktop/src/utils/githubUpdater.ts b/ui/desktop/src/utils/githubUpdater.ts index 160d341b7fd4..3bd0438ba99a 100644 --- a/ui/desktop/src/utils/githubUpdater.ts +++ b/ui/desktop/src/utils/githubUpdater.ts @@ -165,7 +165,7 @@ export class GitHubUpdater { const chunks: Uint8Array[] = []; let downloadedSize = 0; - while (true) { + while (true) { // eslint-disable-line no-constant-condition const { done, value } = await reader.read(); if (done) break; diff --git a/ui/desktop/tests/e2e/app.spec.ts b/ui/desktop/tests/e2e/app.spec.ts index 3b5ce2b91cb6..d545c0f80feb 100644 --- a/ui/desktop/tests/e2e/app.spec.ts +++ b/ui/desktop/tests/e2e/app.spec.ts @@ -100,7 +100,7 @@ async function selectProvider(mainWindow: any, provider: Provider) { const root = document.getElementById('root'); return root && root.children.length > 0; }); - await mainWindow.waitForTimeout(2000); + await mainWindow.waitForTimeout(10000); // Take a screenshot before proceeding await mainWindow.screenshot({ path: `test-results/before-provider-${provider.name.toLowerCase()}-check.png` }); @@ -155,7 +155,7 @@ async function selectProvider(mainWindow: any, provider: Provider) { // Wait for chat interface to appear const chatTextareaAfterClick = await mainWindow.waitForSelector('[data-testid="chat-input"]', - { timeout: 2000 }); + { timeout: 10000 }); expect(await chatTextareaAfterClick.isVisible()).toBe(true); // Take screenshot of chat interface