@reddb-io/cli 1.33.4 → 1.34.1
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 +6 -5
- package/drivers/js/package.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -326,19 +326,20 @@ curl http://127.0.0.1:5000/collections/settings/kvs/theme
|
|
|
326
326
|
curl -X DELETE http://127.0.0.1:5000/collections/settings/kvs/theme
|
|
327
327
|
```
|
|
328
328
|
|
|
329
|
-
Config keys work the same way -- read, write, or delete any
|
|
329
|
+
Config keys work the same way -- read, write, or delete any setting in the
|
|
330
|
+
`red.config` collection at runtime. The content key itself stays bare:
|
|
330
331
|
|
|
331
332
|
```bash
|
|
332
333
|
# Set a config key
|
|
333
|
-
curl -X PUT http://127.0.0.1:5000/config/
|
|
334
|
+
curl -X PUT http://127.0.0.1:5000/config/ai.default.provider \
|
|
334
335
|
-d '{"value": "groq"}'
|
|
335
336
|
|
|
336
337
|
# Read a config key
|
|
337
|
-
curl http://127.0.0.1:5000/config/
|
|
338
|
+
curl http://127.0.0.1:5000/config/ai.default.provider
|
|
338
339
|
|
|
339
340
|
# Or manage config from SQL
|
|
340
|
-
SET CONFIG
|
|
341
|
-
SHOW CONFIG
|
|
341
|
+
SET CONFIG ai.default.provider = 'groq'
|
|
342
|
+
SHOW CONFIG ai
|
|
342
343
|
```
|
|
343
344
|
|
|
344
345
|
---
|
package/drivers/js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reddb-io/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.1",
|
|
4
4
|
"description": "Official embedded RedDB SDK — launches a local red binary over stdio JSON-RPC. The binary arrives as a per-platform optionalDependency — no install script. Use @reddb-io/client for remote HTTP, gRPC, and RedWire.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reddb-io/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.1",
|
|
4
4
|
"description": "CLI launcher for RedDB. The red binary arrives as a per-platform optionalDependency (no install script). The JS/TS app driver is published as @reddb-io/sdk.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@changesets/cli": "^2.31.0"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@reddb-io/red-linux-x64": "1.
|
|
38
|
-
"@reddb-io/red-linux-x64-musl": "1.
|
|
39
|
-
"@reddb-io/red-linux-arm64": "1.
|
|
40
|
-
"@reddb-io/red-linux-arm64-musl": "1.
|
|
41
|
-
"@reddb-io/red-win32-x64": "1.
|
|
37
|
+
"@reddb-io/red-linux-x64": "1.34.1",
|
|
38
|
+
"@reddb-io/red-linux-x64-musl": "1.34.1",
|
|
39
|
+
"@reddb-io/red-linux-arm64": "1.34.1",
|
|
40
|
+
"@reddb-io/red-linux-arm64-musl": "1.34.1",
|
|
41
|
+
"@reddb-io/red-win32-x64": "1.34.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"test": "node scripts/docs-analytics-boundaries.test.mjs && node --test scripts/connection-quality.test.mjs && node drivers/js/test/smoke.test.mjs",
|