@mrclrchtr/supi-cache 1.8.0 → 1.9.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 CHANGED
@@ -1,3 +1,5 @@
1
+ ![SuPi](assets/logo.png)
2
+
1
3
  # @mrclrchtr/supi-cache
2
4
 
3
5
  Adds prompt-cache monitoring and cache-regression forensics to the [pi coding agent](https://github.com/earendil-works/pi).
@@ -16,8 +18,6 @@ For local development:
16
18
  pi install ./packages/supi-cache
17
19
  ```
18
20
 
19
- After editing the source, run `/reload`.
20
-
21
21
  ## What you get
22
22
 
23
23
  After install, the package does two things:
@@ -33,6 +33,8 @@ After install, the package does two things:
33
33
  - groups findings into a few built-in query patterns
34
34
  - keeps agent-facing results redacted to structural fingerprints instead of raw command text or file paths
35
35
 
36
+ ![Cache history report](https://raw.githubusercontent.com/mrclrchtr/supi/main/screenshots/supi-cache-history.png)
37
+
36
38
  ## Commands and tool
37
39
 
38
40
  ### `/supi-cache-history`
@@ -64,6 +66,8 @@ Useful flags:
64
66
  - `--pattern breakdown`
65
67
  - `--min-drop 20`
66
68
 
69
+ ![Cache forensics report](https://raw.githubusercontent.com/mrclrchtr/supi/main/screenshots/supi-cache-forensics.png)
70
+
67
71
  ### `supi_cache_forensics`
68
72
 
69
73
  Adds one model-callable tool with the same four patterns: `hotspots`, `breakdown`, `correlate`, and `idle`.
@@ -1,29 +1,20 @@
1
+ ![SuPi](assets/logo.png)
2
+
1
3
  # @mrclrchtr/supi-core
2
4
 
3
5
  Shared infrastructure for SuPi extensions.
4
6
 
5
- This package is mainly for extension authors. It gives you a common config system, settings plumbing, context helpers, registries, and a small extension surface that registers `/supi-settings`.
7
+ This is a **pure library** it does not register any pi commands or tools. The `/supi-settings` command is now available through `@mrclrchtr/supi-settings`.
6
8
 
7
9
  ## Install
8
10
 
9
- ### As a dependency for another extension
10
-
11
11
  ```bash
12
12
  pnpm add @mrclrchtr/supi-core
13
13
  ```
14
14
 
15
- ### As a pi package
16
-
17
- ```bash
18
- pi install npm:@mrclrchtr/supi-core
19
- ```
20
-
21
- Installing it as a pi package adds the minimal `/supi-settings` extension surface.
22
-
23
15
  ## Package surfaces
24
16
 
25
17
  - `@mrclrchtr/supi-core/api` — reusable helpers for other packages and extensions
26
- - `@mrclrchtr/supi-core/extension` — minimal pi extension that registers `/supi-settings`
27
18
 
28
19
  ## What you get from the API
29
20
 
@@ -101,7 +92,6 @@ const message = wrapExtensionContext("my-extension", "hello", {
101
92
  ## Source
102
93
 
103
94
  - `src/api.ts` — exported library surface
104
- - `src/extension.ts` — minimal `/supi-settings` entrypoint
105
95
  - `src/config.ts` — shared config loading and writing
106
96
  - `src/config-settings.ts` — config-backed settings registration helper
107
97
  - `src/settings-ui.ts` — shared settings overlay
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-core",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "SuPi core — shared infrastructure for SuPi extensions (XML context tags, config system)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,7 +40,6 @@
40
40
  "./config": "./src/config.ts",
41
41
  "./context": "./src/context.ts",
42
42
  "./debug": "./src/debug-registry.ts",
43
- "./extension": "./src/extension.ts",
44
43
  "./package.json": "./package.json",
45
44
  "./path": "./src/path.ts",
46
45
  "./project": "./src/project.ts",
@@ -50,10 +49,5 @@
50
49
  "./terminal": "./src/terminal.ts",
51
50
  "./tool-framework": "./src/tool-framework.ts",
52
51
  "./types": "./src/types.ts"
53
- },
54
- "pi": {
55
- "extensions": [
56
- "./src/extension.ts"
57
- ]
58
52
  }
59
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrclrchtr/supi-cache",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "SuPi Cache — prompt cache health monitoring and cross-session forensics",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "README.md"
21
21
  ],
22
22
  "dependencies": {
23
- "@mrclrchtr/supi-core": "1.8.0"
23
+ "@mrclrchtr/supi-core": "1.9.0"
24
24
  },
25
25
  "bundledDependencies": [
26
26
  "@mrclrchtr/supi-core"
@@ -47,9 +47,9 @@
47
47
  },
48
48
  "pi": {
49
49
  "extensions": [
50
- "./src/extension.ts",
51
- "node_modules/@mrclrchtr/supi-core/src/extension.ts"
52
- ]
50
+ "./src/extension.ts"
51
+ ],
52
+ "image": "https://raw.githubusercontent.com/mrclrchtr/supi/main/packages/supi-cache/assets/logo.png"
53
53
  },
54
54
  "main": "src/api.ts",
55
55
  "exports": {
@@ -1 +0,0 @@
1
- export { registerSettingsCommand as default } from "./settings/settings-command.ts";