Skip to content

Fix VSCode provider return types#592

Open
whodaniel wants to merge 1 commit intomainfrom
codex/fix-type-definition-and-rootdir-issues
Open

Fix VSCode provider return types#592
whodaniel wants to merge 1 commit intomainfrom
codex/fix-type-definition-and-rootdir-issues

Conversation

@whodaniel
Copy link
Owner

Motivation

  • Fix TypeScript type mismatches with the VS Code ProviderResult contract by allowing providers to return nullable results where appropriate.

Description

  • Change AICodeLensProvider.provideCodeLenses return type to Promise<vscode.CodeLens[] | null> and return null when the provider is disabled or no symbols are found, and change AICompletionProvider.resolveCompletionItem to return Promise<vscode.CompletionItem | null>.

Testing

  • prettier run via the repository's lint-staged hooks during commit completed successfully, and no additional automated unit or integration tests were run.

Codex Task

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

PR Description Missing Sections ⚠️

Your PR description is missing the following sections:

  • Summary

  • Changes

    Please update your PR description to include these sections.

1 similar comment
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

PR Description Missing Sections ⚠️

Your PR description is missing the following sections:

  • Summary

  • Changes

    Please update your PR description to include these sections.

@whodaniel
Copy link
Owner Author

I've fixed the main build issues (frontend scheduler/vite alias). Please merge main into this PR to verify tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant