Skip to content

Commit 0e00fc7

Browse files
chore(knip): mark the test-only getPanel seam @internal
The view-identity refactor moved the last production caller off getPanel, so the production dead-code gate flags the export. The repo convention for a focused test seam is an @internal JSDoc tag (see src/api/providers/vscode-lm.ts).
1 parent e09014e commit 0e00fc7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/activate/registerCommands.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ let tabPanel: vscode.WebviewPanel | undefined = undefined
3737
let pendingTabPanelCreation: Promise<ClineProvider> | undefined
3838

3939
/**
40-
* Get the currently active panel
40+
* Get the currently active panel.
41+
*
42+
* @internal Exported for focused implementation tests.
4143
* @returns WebviewPanel或WebviewView
4244
*/
4345
export function getPanel(): vscode.WebviewPanel | vscode.WebviewView | undefined {

0 commit comments

Comments
 (0)