Merge branch 'main' into ipc-fix
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "nanoclaw",
|
"name": "nanoclaw",
|
||||||
"version": "1.2.36",
|
"version": "1.2.37",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "nanoclaw",
|
"name": "nanoclaw",
|
||||||
"version": "1.2.36",
|
"version": "1.2.37",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@onecli-sh/sdk": "^0.2.0",
|
"@onecli-sh/sdk": "^0.2.0",
|
||||||
"better-sqlite3": "11.10.0",
|
"better-sqlite3": "11.10.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nanoclaw",
|
"name": "nanoclaw",
|
||||||
"version": "1.2.36",
|
"version": "1.2.37",
|
||||||
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -30,8 +30,9 @@ export function readEnvFile(keys: string[]): Record<string, string> {
|
|||||||
if (!wanted.has(key)) continue;
|
if (!wanted.has(key)) continue;
|
||||||
let value = trimmed.slice(eqIdx + 1).trim();
|
let value = trimmed.slice(eqIdx + 1).trim();
|
||||||
if (
|
if (
|
||||||
(value.startsWith('"') && value.endsWith('"')) ||
|
value.length >= 2 &&
|
||||||
(value.startsWith("'") && value.endsWith("'"))
|
((value.startsWith('"') && value.endsWith('"')) ||
|
||||||
|
(value.startsWith("'") && value.endsWith("'")))
|
||||||
) {
|
) {
|
||||||
value = value.slice(1, -1);
|
value = value.slice(1, -1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user