@mrclrchtr/supi-insights 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-insights
2
4
 
3
5
  Adds a `/supi-insights` command to the [pi coding agent](https://github.com/earendil-works/pi) that analyzes your historical pi sessions and writes a shareable HTML report.
@@ -16,7 +18,11 @@ For local development:
16
18
  pi install ./packages/supi-insights
17
19
  ```
18
20
 
19
- After editing the source, run `/reload`.
21
+ ![Insights CLI](https://raw.githubusercontent.com/mrclrchtr/supi/main/screenshots/supi-insights-cli.png)
22
+
23
+ ![Insights HTML report](https://raw.githubusercontent.com/mrclrchtr/supi/main/screenshots/supi-insights-1.png)
24
+
25
+ ![Insights HTML report detail](https://raw.githubusercontent.com/mrclrchtr/supi/main/screenshots/supi-insights-2.png)
20
26
 
21
27
  ## What you get
22
28
 
@@ -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-insights",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "SuPi Insights extension — generate usage reports analyzing your PI sessions",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "diff": "^9.0.0",
27
- "@mrclrchtr/supi-core": "1.8.0"
27
+ "@mrclrchtr/supi-core": "1.9.0"
28
28
  },
29
29
  "bundledDependencies": [
30
30
  "@mrclrchtr/supi-core"
@@ -43,9 +43,9 @@
43
43
  },
44
44
  "pi": {
45
45
  "extensions": [
46
- "./src/extension.ts",
47
- "node_modules/@mrclrchtr/supi-core/src/extension.ts"
48
- ]
46
+ "./src/extension.ts"
47
+ ],
48
+ "image": "https://raw.githubusercontent.com/mrclrchtr/supi/main/packages/supi-insights/assets/logo.png"
49
49
  },
50
50
  "main": "src/api.ts",
51
51
  "exports": {
@@ -1 +0,0 @@
1
- export { registerSettingsCommand as default } from "./settings/settings-command.ts";