lens-engine 0.1.0 → 0.1.2
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/cli.js +3 -2
- package/daemon.js +1 -1
- package/package.json +2 -5
package/cli.js
CHANGED
|
@@ -3504,7 +3504,7 @@ function getCloudUrl() {
|
|
|
3504
3504
|
if (cfg2.cloud_url) return cfg2.cloud_url;
|
|
3505
3505
|
} catch {
|
|
3506
3506
|
}
|
|
3507
|
-
return "https://lens.
|
|
3507
|
+
return "https://lens-production-e9fd.up.railway.app";
|
|
3508
3508
|
}
|
|
3509
3509
|
function readConfigSync() {
|
|
3510
3510
|
try {
|
|
@@ -4065,7 +4065,7 @@ async function configSetCommand(key, value) {
|
|
|
4065
4065
|
}
|
|
4066
4066
|
|
|
4067
4067
|
// packages/cli/src/commands/daemon-ctrl.ts
|
|
4068
|
-
import { existsSync as existsSync3, readFileSync as readFileSync2, unlinkSync, openSync } from "fs";
|
|
4068
|
+
import { existsSync as existsSync3, readFileSync as readFileSync2, unlinkSync, openSync, mkdirSync } from "fs";
|
|
4069
4069
|
import { join as join2, dirname as dirname2 } from "path";
|
|
4070
4070
|
import { homedir } from "os";
|
|
4071
4071
|
import { spawn } from "child_process";
|
|
@@ -4105,6 +4105,7 @@ async function startCommand() {
|
|
|
4105
4105
|
return;
|
|
4106
4106
|
}
|
|
4107
4107
|
}
|
|
4108
|
+
mkdirSync(LENS_DIR, { recursive: true });
|
|
4108
4109
|
const logFd = openSync(LOG_FILE, "a");
|
|
4109
4110
|
const child = spawn(process.execPath, [daemonScript], {
|
|
4110
4111
|
detached: true,
|
package/daemon.js
CHANGED
|
@@ -10564,7 +10564,7 @@ var init_config = __esm({
|
|
|
10564
10564
|
"apps/daemon/src/config.ts"() {
|
|
10565
10565
|
"use strict";
|
|
10566
10566
|
CONFIG_PATH = join4(homedir2(), ".lens", "config.json");
|
|
10567
|
-
DEFAULT_CLOUD_URL = "https://lens.
|
|
10567
|
+
DEFAULT_CLOUD_URL = "https://lens-production-e9fd.up.railway.app";
|
|
10568
10568
|
}
|
|
10569
10569
|
});
|
|
10570
10570
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lens-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "LENS — Local-first repo context engine for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,8 +15,5 @@
|
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/j10ra/lens"
|
|
21
|
-
}
|
|
18
|
+
"homepage": "https://getlens.dev"
|
|
22
19
|
}
|