@mrclrchtr/supi-lsp 1.14.0 → 1.14.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "SuPi core — shared infrastructure for SuPi extensions (XML context tags, config system)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -7,9 +7,10 @@
7
7
  import * as fs from "node:fs";
8
8
  import * as os from "node:os";
9
9
  import * as path from "node:path";
10
+ import { CONFIG_DIR_NAME } from "@earendil-works/pi-coding-agent";
10
11
 
11
- const GLOBAL_CONFIG_DIR = ".pi/agent/supi";
12
- const PROJECT_CONFIG_DIR = ".pi/supi";
12
+ const GLOBAL_CONFIG_DIR = `${CONFIG_DIR_NAME}/agent/supi`;
13
+ const PROJECT_CONFIG_DIR = `${CONFIG_DIR_NAME}/supi`;
13
14
  const CONFIG_FILE = "config.json";
14
15
 
15
16
  function getGlobalConfigPath(homeDir?: string): string {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-code-runtime",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "SuPi code-runtime — shared workspace context, capability contracts, and canonical types for the code-understanding stack",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -19,7 +19,7 @@
19
19
  "!__tests__"
20
20
  ],
21
21
  "dependencies": {
22
- "@mrclrchtr/supi-core": "1.14.0"
22
+ "@mrclrchtr/supi-core": "1.14.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@earendil-works/pi-coding-agent": "*"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "SuPi core — shared infrastructure for SuPi extensions (XML context tags, config system)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -7,9 +7,10 @@
7
7
  import * as fs from "node:fs";
8
8
  import * as os from "node:os";
9
9
  import * as path from "node:path";
10
+ import { CONFIG_DIR_NAME } from "@earendil-works/pi-coding-agent";
10
11
 
11
- const GLOBAL_CONFIG_DIR = ".pi/agent/supi";
12
- const PROJECT_CONFIG_DIR = ".pi/supi";
12
+ const GLOBAL_CONFIG_DIR = `${CONFIG_DIR_NAME}/agent/supi`;
13
+ const PROJECT_CONFIG_DIR = `${CONFIG_DIR_NAME}/supi`;
13
14
  const CONFIG_FILE = "config.json";
14
15
 
15
16
  function getGlobalConfigPath(homeDir?: string): string {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-lsp",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "SuPi LSP extension — Language Server Protocol integration for pi",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,8 +26,8 @@
26
26
  "vscode-jsonrpc": "^9.0.0",
27
27
  "vscode-languageserver-protocol": "^3.17.5",
28
28
  "vscode-languageserver-types": "^3.17.5",
29
- "@mrclrchtr/supi-code-runtime": "1.14.0",
30
- "@mrclrchtr/supi-core": "1.14.0"
29
+ "@mrclrchtr/supi-code-runtime": "1.14.1",
30
+ "@mrclrchtr/supi-core": "1.14.1"
31
31
  },
32
32
  "bundledDependencies": [
33
33
  "@mrclrchtr/supi-code-runtime",
@@ -1,6 +1,6 @@
1
1
  // LSP settings registration for the supi settings registry.
2
2
 
3
- import { getSettingsListTheme } from "@earendil-works/pi-coding-agent";
3
+ import { CONFIG_DIR_NAME, getSettingsListTheme } from "@earendil-works/pi-coding-agent";
4
4
  import type { SettingItem } from "@earendil-works/pi-tui";
5
5
  import { Container, Key, matchesKey, SettingsList, Text } from "@earendil-works/pi-tui";
6
6
  import {
@@ -40,10 +40,10 @@ export function getLspDisabledMessage(cwd: string, homeDir?: string): string {
40
40
  const project = loadSupiConfigForScope("lsp", cwd, LSP_DEFAULTS, { scope: "project", homeDir });
41
41
 
42
42
  if (project.enabled === false) {
43
- return "LSP is disabled in project settings (.pi/supi/config.json)";
43
+ return `LSP is disabled in project settings (${CONFIG_DIR_NAME}/supi/config.json)`;
44
44
  }
45
45
  if (global.enabled === false) {
46
- return "LSP is disabled in global settings (~/.pi/agent/supi/config.json)";
46
+ return `LSP is disabled in global settings (~/${CONFIG_DIR_NAME}/agent/supi/config.json)`;
47
47
  }
48
48
  return "LSP is disabled in settings";
49
49
  }
@@ -251,7 +251,11 @@ function createExcludeSubmenu(
251
251
  const header = new Text("Exclude Patterns — toggle off to remove", 0, 0);
252
252
  container.addChild(header);
253
253
 
254
- const footer = new Text("Add new patterns in .pi/supi/config.json under lsp.exclude", 0, 0);
254
+ const footer = new Text(
255
+ `Add new patterns in ${CONFIG_DIR_NAME}/supi/config.json under lsp.exclude`,
256
+ 0,
257
+ 0,
258
+ );
255
259
  container.addChild(footer);
256
260
 
257
261
  const settingsList = new SettingsList(