pi-knowledge 0.4.3 → 0.4.4

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.4] - 2026-06-23
4
+
5
+ ### Fixed
6
+ - Simplified the packaged `extension.js` entry shim while preserving the built `dist/` first, source `index.ts` fallback behavior for local development.
7
+
3
8
  ## [0.4.3] - 2026-06-23
4
9
 
5
10
  ### Fixed
package/extension.js CHANGED
@@ -1,9 +1,7 @@
1
1
  import { existsSync } from "node:fs";
2
- import { fileURLToPath } from "node:url";
3
2
 
4
- const distUrl = new URL("./dist/index.js", import.meta.url);
5
- const sourceUrl = new URL("./index.ts", import.meta.url);
6
- const entryUrl = existsSync(fileURLToPath(distUrl)) ? distUrl : sourceUrl;
7
- const module = await import(entryUrl.href);
3
+ const module = existsSync(new URL("./dist/index.js", import.meta.url))
4
+ ? await import("./dist/index.js")
5
+ : await import("./index.ts");
8
6
 
9
7
  export default module.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-knowledge",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Local-first RAG knowledge base for Pi agents with hybrid code/doc search, reranking, diagnostics, and large-project indexing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",