@askdb/rag 0.2.0-beta.29 → 0.2.0-beta.30

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
@@ -60,7 +60,7 @@ npx askdb rag query fixtures/schemas/orders-users.schema \
60
60
  --question "How much revenue did we make last month?"
61
61
  ```
62
62
 
63
- See the [CLI reference](https://askdb.tools/reference/cli/#askdb-rag) for every flag. The `askdb-rag` binary this package used to ship now only points at `askdb rag`, and is removed at 1.0.
63
+ See the [CLI reference](https://askdb.tools/reference/cli/#askdb-rag) for every flag. This package no longer ships an `askdb-rag` binary.
64
64
 
65
65
  ## Public Surface
66
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdb/rag",
3
- "version": "0.2.0-beta.29",
3
+ "version": "0.2.0-beta.30",
4
4
  "description": "AskDB RAG layer: deterministic chunker over Schema v2, BYO embedder + vector store (in-memory, file-backed, pgvector), and an optional retriever wired into @askdb/core ask().",
5
5
  "keywords": [
6
6
  "askdb",
@@ -23,9 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "author": "Yahya Gilany",
25
25
  "type": "module",
26
- "sideEffects": [
27
- "./bin/askdb-rag.js"
28
- ],
26
+ "sideEffects": false,
29
27
  "main": "./dist/index.js",
30
28
  "types": "./dist/index.d.ts",
31
29
  "exports": {
@@ -60,11 +58,7 @@
60
58
  "default": "./dist/embedders/ai-sdk.js"
61
59
  }
62
60
  },
63
- "bin": {
64
- "askdb-rag": "./bin/askdb-rag.js"
65
- },
66
61
  "files": [
67
- "bin",
68
62
  "dist",
69
63
  "README.md",
70
64
  "LICENSE",
@@ -74,7 +68,7 @@
74
68
  "node": ">=22.23.4"
75
69
  },
76
70
  "dependencies": {
77
- "@askdb/core": "1.0.0-beta.49"
71
+ "@askdb/core": "1.0.0-beta.50"
78
72
  },
79
73
  "peerDependencies": {
80
74
  "@ai-sdk/openai": "^3.0.0 || ^4.0.29",
package/bin/askdb-rag.js DELETED
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
- // Deprecated: the RAG CLI moved into the `askdb` package. Removed before 1.0.
3
- // Names only the command: the other arguments can hold a connection string's password.
4
- const command = ["index", "query", "setup-store"].includes(process.argv[2]) ? ` ${process.argv[2]}` : "";
5
- process.stderr.write(
6
- "askdb-rag has moved: use `npx askdb rag" + command + "` (see `npx askdb rag --help` for its flags).\n" +
7
- "`askdb rag` reads rag.store, rag.storeConfig and ai.embedding from askdb.config.*; flags still override.\n",
8
- );
9
- process.exit(1);