@askdb/http-api 1.0.0-beta.41 → 1.0.0-beta.43
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 +1 -1
- package/package.json +24 -17
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @askdb/http-api
|
|
2
2
|
|
|
3
|
-
Minimal HTTP surface that wraps [`@askdb/core`](https://www.npmjs.com/package/@askdb/core) — no duplicated NL→SQL logic. `POST /ask` returns
|
|
3
|
+
Minimal HTTP surface that wraps [`@askdb/core`](https://www.npmjs.com/package/@askdb/core) — no duplicated NL→SQL logic. `POST /ask` returns checked SQL only.
|
|
4
4
|
|
|
5
5
|
> **Status:** pre-1.0.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askdb/http-api",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "AskDB HTTP API: minimal HTTP wrapper around @askdb/core. POST /ask returns
|
|
3
|
+
"version": "1.0.0-beta.43",
|
|
4
|
+
"description": "AskDB HTTP API: minimal HTTP wrapper around @askdb/core. POST /ask returns checked SQL only.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"askdb",
|
|
7
7
|
"http",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"llm",
|
|
16
16
|
"sql"
|
|
17
17
|
],
|
|
18
|
-
"homepage": "https://
|
|
18
|
+
"homepage": "https://askdb.tools/reference/http-api/",
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/Ygilany/AskDB/issues"
|
|
21
21
|
},
|
|
@@ -29,6 +29,14 @@
|
|
|
29
29
|
"type": "module",
|
|
30
30
|
"main": "./dist/index.js",
|
|
31
31
|
"types": "./dist/index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.js",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./package.json": "./package.json"
|
|
39
|
+
},
|
|
32
40
|
"bin": {
|
|
33
41
|
"askdb-http": "./bin/askdb-http.js"
|
|
34
42
|
},
|
|
@@ -40,25 +48,24 @@
|
|
|
40
48
|
"NOTICE"
|
|
41
49
|
],
|
|
42
50
|
"engines": {
|
|
43
|
-
"node": ">=22"
|
|
51
|
+
"node": ">=22.12"
|
|
44
52
|
},
|
|
45
53
|
"dependencies": {
|
|
46
|
-
"ai": "^7.0.
|
|
47
|
-
"
|
|
48
|
-
"@askdb/ai": "
|
|
49
|
-
"@askdb/ai-
|
|
50
|
-
"@askdb/ai-
|
|
51
|
-
"@askdb/ai-google": "1.0.0-beta.
|
|
52
|
-
"@askdb/
|
|
53
|
-
"@askdb/
|
|
54
|
-
"@askdb/postgres": "0.2.0-beta.
|
|
55
|
-
"@askdb/config": "1.0.0-beta.
|
|
56
|
-
"@askdb/client": "1.0.0-beta.4"
|
|
54
|
+
"ai": "^7.0.113",
|
|
55
|
+
"@askdb/ai": "0.1.0-beta.7",
|
|
56
|
+
"@askdb/ai-azure": "1.0.0-beta.7",
|
|
57
|
+
"@askdb/ai-anthropic": "1.0.0-beta.5",
|
|
58
|
+
"@askdb/ai-openai": "1.0.0-beta.7",
|
|
59
|
+
"@askdb/ai-google": "1.0.0-beta.7",
|
|
60
|
+
"@askdb/core": "1.0.0-beta.43",
|
|
61
|
+
"@askdb/client": "1.0.0-beta.6",
|
|
62
|
+
"@askdb/postgres": "0.2.0-beta.19",
|
|
63
|
+
"@askdb/config": "1.0.0-beta.12"
|
|
57
64
|
},
|
|
58
65
|
"devDependencies": {
|
|
59
|
-
"tsx": "^4.23.
|
|
66
|
+
"tsx": "^4.23.15",
|
|
60
67
|
"typescript": "^6.0.3",
|
|
61
|
-
"vitest": "^
|
|
68
|
+
"vitest": "^5.0.1"
|
|
62
69
|
},
|
|
63
70
|
"scripts": {
|
|
64
71
|
"build": "tsc -p tsconfig.build.json",
|