llm-kb 0.4.1 → 0.4.2

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 (3) hide show
  1. package/README.md +1 -1
  2. package/bin/cli.js +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -39,7 +39,7 @@ llm-kb run ./my-documents
39
39
  ```
40
40
 
41
41
  ```
42
- llm-kb v0.4.0
42
+ llm-kb v0.4.1
43
43
 
44
44
  Scanning ./my-documents...
45
45
  Found 9 files (9 PDF)
package/bin/cli.js CHANGED
@@ -5482,7 +5482,8 @@ import chalk5 from "chalk";
5482
5482
  function checkAuth() {
5483
5483
  const piAuthPath = join11(homedir4(), ".pi", "agent", "auth.json");
5484
5484
  if (existsSync7(piAuthPath)) {
5485
- return { ok: true, method: "pi-sdk" };
5485
+ const authStorage = AuthStorage4.create();
5486
+ return { ok: true, method: "pi-sdk", authStorage };
5486
5487
  }
5487
5488
  if (process.env.ANTHROPIC_API_KEY) {
5488
5489
  const authStorage = AuthStorage4.inMemory({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-kb",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "LLM-powered knowledge base. Drop documents, build a wiki, ask questions. Inspired by Karpathy.",
5
5
  "bin": {
6
6
  "llm-kb": "./bin/cli.js"