blokctl 0.6.8 → 0.6.9
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.
|
@@ -17,7 +17,7 @@ const exec = util.promisify(child_process.exec);
|
|
|
17
17
|
const HOME_DIR = `${os.homedir()}/.blok`;
|
|
18
18
|
const GITHUB_REPO_LOCAL = `${HOME_DIR}/blok`;
|
|
19
19
|
const GITHUB_REPO_REMOTE = "https://github.com/well-prado/blok.git";
|
|
20
|
-
const GITHUB_REPO_RELEASE_TAG = "v0.6.
|
|
20
|
+
const GITHUB_REPO_RELEASE_TAG = "v0.6.9";
|
|
21
21
|
fsExtra.ensureDirSync(HOME_DIR);
|
|
22
22
|
const options = {
|
|
23
23
|
baseDir: HOME_DIR,
|
|
@@ -478,7 +478,7 @@ export async function createProject(opts, version, currentPath = false, localRep
|
|
|
478
478
|
"@blokjs/trigger-websocket": "triggers/websocket",
|
|
479
479
|
"@blokjs/trigger-worker": "triggers/worker",
|
|
480
480
|
};
|
|
481
|
-
const BLOKJS_DEP_RANGE = "^0.6.
|
|
481
|
+
const BLOKJS_DEP_RANGE = "^0.6.9";
|
|
482
482
|
for (const depGroup of ["dependencies", "devDependencies", "peerDependencies"]) {
|
|
483
483
|
const deps = packageJsonContent[depGroup];
|
|
484
484
|
if (!deps)
|
|
@@ -641,6 +641,11 @@ export async function createProject(opts, version, currentPath = false, localRep
|
|
|
641
641
|
"OPENROUTER_API_KEY=",
|
|
642
642
|
"OPENROUTER_MODEL=openai/gpt-4o-mini",
|
|
643
643
|
"",
|
|
644
|
+
"# Redis-memory chat (--examples) — /chat-memory needs Redis reachable at REDIS_URL.",
|
|
645
|
+
"# Start one locally with: docker run --rm -p 6379:6379 redis:7-alpine",
|
|
646
|
+
"# The plain /chat demo works without Redis; only /chat-memory needs it.",
|
|
647
|
+
"REDIS_URL=redis://127.0.0.1:6379",
|
|
648
|
+
"",
|
|
644
649
|
].join("\n");
|
|
645
650
|
fsExtra.appendFileSync(envLocal, chatEnvBlock);
|
|
646
651
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blokctl",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"author": "Deskree Technologies Inc.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "cli for blok",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"keywords": ["blokctl", "cli", "blok", "blok"],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/openai": "^1.3.22",
|
|
33
|
-
"@blokjs/runner": "^0.6.
|
|
33
|
+
"@blokjs/runner": "^0.6.9",
|
|
34
34
|
"@clack/prompts": "^1.0.0",
|
|
35
35
|
"ai": "^4.3.16",
|
|
36
36
|
"better-sqlite3": "^12.6.2",
|