pi-hide-providers 0.1.5 → 0.1.6

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/hide-providers.ts +0 -7
  2. package/package.json +11 -12
package/hide-providers.ts CHANGED
@@ -159,13 +159,6 @@ export default function (pi: ExtensionAPI) {
159
159
 
160
160
  if (currentRules.length > 0) {
161
161
  patchRegistry(ctx.modelRegistry as unknown as PatchedRegistry, () => currentRules);
162
-
163
- if (ctx.hasUI) {
164
- ctx.ui.notify(
165
- `pi-hide-providers: ${currentRules.length} rule(s) active — getAvailable/getAll/find patched to filter hidden models`,
166
- "info",
167
- );
168
- }
169
162
  }
170
163
  });
171
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-hide-providers",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Hide providers and models from pi's model selector — filter the /model list and Ctrl+P cycling via a configurable blocklist",
5
5
  "type": "module",
6
6
  "author": "Tom X Nguyen",
@@ -30,26 +30,25 @@
30
30
  "src/",
31
31
  "README.md"
32
32
  ],
33
- "scripts": {
34
- "test": "vitest run",
35
- "test:watch": "vitest",
36
- "test:coverage": "vitest run --coverage",
37
- "typecheck": "tsc --noEmit",
38
- "lint:dead": "knip --no-gitignore"
39
- },
40
33
  "devDependencies": {
41
34
  "@earendil-works/pi-coding-agent": "0.79.4",
35
+ "@earendil-works/pi-tui": "0.79.4",
42
36
  "@types/node": "25.9.1",
43
37
  "@vitest/coverage-v8": "4.1.7",
44
38
  "knip": "6.14.1",
45
39
  "typescript": "6.0.3",
46
- "vitest": "4.1.7",
47
- "@earendil-works/pi-tui": "0.79.4"
40
+ "vitest": "4.1.7"
48
41
  },
49
42
  "pi": {
50
43
  "extensions": [
51
44
  "./hide-providers.ts"
52
45
  ]
53
46
  },
54
- "peerDependencies": {}
55
- }
47
+ "scripts": {
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "test:coverage": "vitest run --coverage",
51
+ "typecheck": "tsc --noEmit",
52
+ "lint:dead": "knip --no-gitignore"
53
+ }
54
+ }