Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 12, 2026

Renames the hover API to doc API throughout the codebase to better reflect its purpose of retrieving documentation and type information.

Changes

Python modules

  • HoverCapabilityDocCapability
  • HoverRequestDocRequest
  • HoverResponseDocResponse
  • Updated Capabilities TypedDict: hover: HoverCapabilitydoc: DocCapability

Schema files

  • All hover-related JSON schemas and markdown documentation renamed to doc
  • Markdown template header: "Hover Information" → "Doc Information"

Usage example

# Before
from lsap.capability.hover import HoverCapability
from lsap.schema.hover import HoverRequest

# After
from lsap.capability.doc import DocCapability
from lsap.schema.doc import DocRequest

Note: The underlying LSP textDocument/hover protocol integration remains unchanged—this is purely an interface rename at the LSAP layer.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

将hover API重命名为doc API


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: observerw <20661574+observerw@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename hover API to doc API Rename hover API to doc API Jan 12, 2026
Copilot AI requested a review from observerw January 12, 2026 19:00
@observerw observerw marked this pull request as ready for review January 12, 2026 19:34
@observerw observerw merged commit 4a6ea26 into main Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants