Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/core/src/utils/editHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ const SNIPPET_MAX_LINES = 1000;
*
* @param oldContent The original file content before the edit (null for new files)
* @param newContent The new file content after the edit
* @param contextLines Number of context lines to show before and after the change
* @returns Snippet information, or null if no meaningful snippet can be extracted
*/
export function extractEditSnippet(
Expand Down
7 changes: 4 additions & 3 deletions packages/core/src/utils/getFolderStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,11 @@ async function readFullStructure(
}

/**
* Reads the directory structure using BFS, respecting maxItems.
* Formats a folder structure tree node into indented text lines.
* @param node The current node in the reduced structure.
* @param indent The current indentation string.
* @param isLast Sibling indicator.
* @param currentIndent The current indentation string.
* @param isLastChildOfParent Sibling indicator.
* @param isProcessingRootNode Whether this is the root node of the structure.
* @param builder Array to build the string lines.
*/
function formatStructure(
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/secure-browser-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function validateUrl(
* and resolves successfully to prevent application crashes.
*
* @param url - The URL to open.
* @param options.allowFile - Allow file:// URLs for locally generated reports.
* @param browserOptions.allowFile - Allow file:// URLs for locally generated reports.
* @returns A promise that resolves when the attempt is made (whether successful or logged).
*/
export async function openBrowserSecurely(
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/subagentGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export interface SubagentGeneratedContent {
* Generates subagent configuration content using LLM.
*
* @param userDescription - The user's description of what the subagent should do
* @param geminiClient - Initialized GeminiClient instance
* @param config - Initialized Config instance
* @param abortSignal - AbortSignal for cancelling the request
* @returns Promise resolving to generated subagent content
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export class QwenConnectionHandler {
*
* @param connection - ACP connection instance
* @param workingDir - Working directory
* @param cliPath - CLI path (optional, if provided will override the path in configuration)
* @param cliEntryPath - CLI entry path (if provided will override the path in configuration)
* @param options - Optional connection settings
*/
async connect(
connection: AcpConnection,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export class QwenSessionManager {
}

/**
* Load a saved session by name
* Load a saved session by ID
*
* @param sessionName - Name/tag of the session to load
* @param sessionId - ID of the session to load
* @param workingDir - Current working directory
* @returns Loaded session or null if not found
*/
Expand Down
Loading