@nklisch/pi-enhanced 0.2.5 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.2.6
4
+
5
+ ### Fixed
6
+
7
+ - Rebundle `@nklisch/pi-plugins` 0.6.1 with an explicit Pi 0.82+ peer floor so npm installs a compatible TUI beside the plugin manager instead of resolving through the older peer used by another bundled extension.
8
+
3
9
  ## v0.2.5
4
10
 
5
11
  ### Changed
@@ -117,7 +117,7 @@ npm run build
117
117
  npm run test:package
118
118
  ```
119
119
 
120
- Node.js 22.19 or newer is required. The package keeps the bundled
120
+ Pi 0.82 or newer and Node.js 22.19 or newer are required. The package keeps the bundled
121
121
  `@nklisch/pi-subagents` Pi resource available through a direct, best-effort
122
122
  loader; failure of that optional resource does not prevent plugin discovery.
123
123
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nklisch/pi-plugins",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "A small filesystem-first marketplace and plugin host for Pi.",
6
6
  "license": "MIT",
@@ -74,8 +74,8 @@
74
74
  "vitest": "^4.0.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "@earendil-works/pi-coding-agent": "*",
78
- "@earendil-works/pi-tui": "*"
77
+ "@earendil-works/pi-coding-agent": ">=0.82.0 <1",
78
+ "@earendil-works/pi-tui": ">=0.82.0 <1"
79
79
  },
80
80
  "bundleDependencies": [
81
81
  "@nklisch/pi-subagents"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nklisch/pi-enhanced",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Pi, enhanced — one install for nklisch's full harness: policy-gated command review, plugin marketplace, subagents, background tasks, research tools, search, model modes, and a curated UX set.",
5
5
  "author": {
6
6
  "name": "nklisch"
@@ -16,6 +16,9 @@ const manifest = JSON.parse(readFileSync(join(root, "package.json"), "utf8"));
16
16
  const clearanceManifest = JSON.parse(
17
17
  readFileSync(join(root, "../pi-clearance/package.json"), "utf8"),
18
18
  );
19
+ const pluginsManifest = JSON.parse(
20
+ readFileSync(join(root, "../pi-plugins/package.json"), "utf8"),
21
+ );
19
22
 
20
23
  // Pack through the repo's bundle-aware packer; npm pack alone drops
21
24
  // bundleDependencies inside workspaces.
@@ -34,6 +37,12 @@ const declared = [
34
37
  ].map((p) => p.replace(/^\.\//, ""));
35
38
 
36
39
  const failures = [];
40
+ const supportedPiPeerRange = ">=0.82.0 <1";
41
+ for (const peer of ["@earendil-works/pi-coding-agent", "@earendil-works/pi-tui"]) {
42
+ if (pluginsManifest.peerDependencies?.[peer] !== supportedPiPeerRange) {
43
+ failures.push(`node_modules/@nklisch/pi-plugins/package.json (${peer} must require ${supportedPiPeerRange})`);
44
+ }
45
+ }
37
46
  const fffCompatEntrypoint = "./node_modules/@nklisch/pi-fff-compat/extensions/fff-compat-search.ts";
38
47
  if (!manifest.pi.extensions.includes(fffCompatEntrypoint)) {
39
48
  failures.push(`${fffCompatEntrypoint} (FFF compatibility extension entrypoint not declared)`);