codemode-lsp 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39924,7 +39924,7 @@ class LspApi {
39924
39924
  }
39925
39925
  return {
39926
39926
  file: itemPath.relPath,
39927
- symbolPath: symbolPath ?? item.name,
39927
+ symbolPath: symbolPath ?? "",
39928
39928
  name: item.name,
39929
39929
  kind: symbolKindName(item.kind),
39930
39930
  callSites: [
@@ -46467,7 +46467,7 @@ interface Reference {
46467
46467
  interface CallInfo {
46468
46468
  /** The other function: the caller (incomingCalls) or the callee (outgoingCalls). */
46469
46469
  file: string;
46470
- /** Its symbol path — round-trips into other lsp.* calls together with \`file\`. */
46470
+ /** Its symbol path — round-trips into other lsp.* calls together with \`file\`; "" when the call sits at module top level (no enclosing function). */
46471
46471
  symbolPath: string;
46472
46472
  name: string;
46473
46473
  kind: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codemode-lsp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server exposing a single code-mode tool backed by LSP",
5
5
  "keywords": [
6
6
  "mcp",