@mrclrchtr/supi-settings 1.14.2 → 1.15.0

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.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ <div align="center">
2
+ <a href="https://github.com/mrclrchtr/supi/tree/main/packages/supi-settings">
3
+ <img src="https://raw.githubusercontent.com/mrclrchtr/supi/main/packages/supi-settings/assets/logo.png" alt="SuPi" width="50%">
4
+ </a>
5
+ </div>
6
+
7
+ # @mrclrchtr/supi-settings
8
+
9
+ SuPi Settings adds a unified `/supi-settings` command to the [pi coding agent](https://github.com/earendil-works/pi). It gives SuPi extensions one shared TUI for project and global configuration.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ pi install npm:@mrclrchtr/supi-settings
15
+ ```
16
+
17
+ For local development:
18
+
19
+ ```bash
20
+ pi install ./packages/supi-settings
21
+ ```
22
+
23
+ ## What you get
24
+
25
+ After install, pi gets one new slash command:
26
+
27
+ - **`/supi-settings`** — open a searchable settings overlay for registered SuPi extension settings
28
+
29
+ The overlay groups settings by extension, shows current values, and lets you switch between **project** and **global** scopes with `Tab`.
30
+
31
+ ## How it works
32
+
33
+ `supi-settings` is the command package for the shared settings registry in `@mrclrchtr/supi-core`.
34
+
35
+ Other SuPi extensions register their settings during extension startup. This package renders those registered sections and persists changes back to the appropriate SuPi config scope.
36
+
37
+ If no installed SuPi extension has registered settings, `/supi-settings` reports that there are no settings to edit.
38
+
39
+ ## Typical settings sections
40
+
41
+ Depending on which SuPi packages are installed, the overlay may include settings for:
42
+
43
+ - `supi-lsp` — language-server enablement and diagnostics behavior
44
+ - `supi-claude-md` — subdirectory `CLAUDE.md` / `AGENTS.md` discovery
45
+ - `supi-bash-timeout` — default bash timeout injection
46
+ - `supi-cache` — prompt-cache monitoring and history collection
47
+ - `supi-debug` — debug event capture and retention
48
+ - `supi-insights` — report-generation options
49
+
50
+ ## Package surfaces
51
+
52
+ - `@mrclrchtr/supi-settings/extension` — pi extension entrypoint, registers `/supi-settings`
53
+ - `@mrclrchtr/supi-settings/api` — public package surface for future settings helpers
54
+
55
+ ## Source layout
56
+
57
+ - `src/extension.ts` — pi extension entrypoint
58
+ - `src/api.ts` — package API surface
59
+ - shared implementation lives in `@mrclrchtr/supi-core/settings` and `@mrclrchtr/supi-core/settings-ui`
@@ -1,18 +1,27 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "1.14.2",
3
+ "version": "1.15.0",
4
4
  "description": "SuPi core — shared infrastructure for SuPi extensions (XML context tags, config system)",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/mrclrchtr/supi.git"
8
+ "url": "git+https://github.com/mrclrchtr/supi.git",
9
+ "directory": "packages/supi-core"
10
+ },
11
+ "homepage": "https://github.com/mrclrchtr/supi/tree/main/packages/supi-core#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/mrclrchtr/supi/issues"
9
14
  },
10
15
  "publishConfig": {
11
16
  "access": "public"
12
17
  },
13
18
  "keywords": [
14
19
  "pi",
15
- "pi-coding-agent"
20
+ "pi-coding-agent",
21
+ "supi",
22
+ "extension-utils",
23
+ "settings",
24
+ "configuration"
16
25
  ],
17
26
  "files": [
18
27
  "src/**/*.ts",
@@ -6,7 +6,7 @@
6
6
  import { createRegistry } from "../registry-utils.ts";
7
7
 
8
8
  export interface ContextProvider {
9
- /** Unique identifier — e.g. "rtk" */
9
+ /** Unique identifier — e.g. "lsp" */
10
10
  id: string;
11
11
  /** Human-readable label shown in the report */
12
12
  label: string;
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-settings",
3
- "version": "1.14.2",
3
+ "version": "1.15.0",
4
4
  "description": "SuPi Settings extension — unified settings command for SuPi extensions via /supi-settings",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/mrclrchtr/supi.git"
8
+ "url": "git+https://github.com/mrclrchtr/supi.git",
9
+ "directory": "packages/supi-settings"
10
+ },
11
+ "homepage": "https://github.com/mrclrchtr/supi/tree/main/packages/supi-settings#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/mrclrchtr/supi/issues"
9
14
  },
10
15
  "publishConfig": {
11
16
  "access": "public"
@@ -13,14 +18,18 @@
13
18
  "keywords": [
14
19
  "pi-package",
15
20
  "pi",
16
- "pi-coding-agent"
21
+ "pi-coding-agent",
22
+ "pi-extension",
23
+ "settings",
24
+ "configuration",
25
+ "tui"
17
26
  ],
18
27
  "files": [
19
28
  "src/**/*.ts",
20
29
  "!__tests__"
21
30
  ],
22
31
  "dependencies": {
23
- "@mrclrchtr/supi-core": "1.14.2"
32
+ "@mrclrchtr/supi-core": "1.15.0"
24
33
  },
25
34
  "bundledDependencies": [
26
35
  "@mrclrchtr/supi-core"