larkway 0.3.65 → 0.3.66
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/README.zh.md +1 -1
- package/dist/cli/index.js +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
You @ the bot in a Feishu thread. It runs on your machine — reading your real codebase, executing commands, opening MRs — and posts the result back. You define what the agent knows and what it can do. Larkway just carries the messages.
|
|
10
10
|
|
|
11
|
-
**Current release: v0.3.
|
|
11
|
+
**Current release: v0.3.66**
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
package/README.zh.md
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -130202,6 +130202,7 @@ import { spawn as spawn2, execFile as execFile7 } from "node:child_process";
|
|
|
130202
130202
|
import { openSync, constants as fsConstants2 } from "node:fs";
|
|
130203
130203
|
import { readFile as readFile10, writeFile as writeFile9, unlink as unlink6, mkdir as mkdir8, readdir as readdir5, access as access8 } from "node:fs/promises";
|
|
130204
130204
|
import { promisify as promisify7 } from "node:util";
|
|
130205
|
+
import { fileURLToPath } from "node:url";
|
|
130205
130206
|
import path17 from "node:path";
|
|
130206
130207
|
import process5 from "node:process";
|
|
130207
130208
|
import { stat as stat4 } from "node:fs/promises";
|
|
@@ -130577,7 +130578,7 @@ function bridgePidPath(larkwayDir) {
|
|
|
130577
130578
|
return path17.join(larkwayDir, "bridge.pid");
|
|
130578
130579
|
}
|
|
130579
130580
|
function resolveRepoRoot() {
|
|
130580
|
-
const here =
|
|
130581
|
+
const here = fileURLToPath(import.meta.url);
|
|
130581
130582
|
return path17.resolve(path17.dirname(here), "..", "..");
|
|
130582
130583
|
}
|
|
130583
130584
|
async function resolveDistMain() {
|
|
@@ -131554,7 +131555,7 @@ import { randomBytes } from "node:crypto";
|
|
|
131554
131555
|
import { existsSync } from "node:fs";
|
|
131555
131556
|
import { readFile as readFile14, stat as stat6 } from "node:fs/promises";
|
|
131556
131557
|
import path27 from "node:path";
|
|
131557
|
-
import { fileURLToPath as
|
|
131558
|
+
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
131558
131559
|
|
|
131559
131560
|
// src/web/api.ts
|
|
131560
131561
|
import { readdir as readdir6, readFile as readFile13, stat as stat5 } from "node:fs/promises";
|
|
@@ -131716,10 +131717,10 @@ async function summarizeMemoryMetrics(filePath = resolveMemoryMetricsPath(), sin
|
|
|
131716
131717
|
|
|
131717
131718
|
// src/version.ts
|
|
131718
131719
|
import { readFileSync } from "node:fs";
|
|
131719
|
-
import { fileURLToPath } from "node:url";
|
|
131720
|
+
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
131720
131721
|
import path23 from "node:path";
|
|
131721
131722
|
function resolveLarkwayVersion(importMetaUrl, fallback = "unknown") {
|
|
131722
|
-
const here = path23.dirname(
|
|
131723
|
+
const here = path23.dirname(fileURLToPath2(importMetaUrl));
|
|
131723
131724
|
const candidates = [
|
|
131724
131725
|
path23.join(here, "..", "package.json"),
|
|
131725
131726
|
path23.join(here, "..", "..", "package.json")
|
|
@@ -133489,7 +133490,7 @@ function splitPath(p) {
|
|
|
133489
133490
|
|
|
133490
133491
|
// src/web/server.ts
|
|
133491
133492
|
var HOST = "127.0.0.1";
|
|
133492
|
-
var __dirname2 = path27.dirname(
|
|
133493
|
+
var __dirname2 = path27.dirname(fileURLToPath3(import.meta.url));
|
|
133493
133494
|
var PUBLIC_DIR = resolvePublicDir();
|
|
133494
133495
|
function resolvePublicDir() {
|
|
133495
133496
|
const candidates = [
|