larkway 0.3.60 → 0.3.62
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/bin/larkway.mjs +25 -16
- package/dist/cli/index.js +11511 -7179
- package/dist/main.js +11125 -6860
- package/package.json +8 -6
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.62**
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
package/README.zh.md
CHANGED
package/bin/larkway.mjs
CHANGED
|
@@ -16,22 +16,31 @@ import path from "node:path";
|
|
|
16
16
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
17
17
|
|
|
18
18
|
if (process.platform === "win32") {
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
// Native Windows support is implemented (cross-spawn layer + schtasks
|
|
20
|
+
// service adapter) but not yet validated on real hardware, so it stays
|
|
21
|
+
// behind an explicit opt-in until then. Default: fail fast with WSL
|
|
22
|
+
// guidance instead of letting users hit rough edges unwarned.
|
|
23
|
+
if (process.env.LARKWAY_EXPERIMENTAL_WINDOWS === "1") {
|
|
24
|
+
console.error(
|
|
25
|
+
"[larkway] native Windows support is EXPERIMENTAL (LARKWAY_EXPERIMENTAL_WINDOWS=1) — please report issues.",
|
|
26
|
+
);
|
|
27
|
+
} else {
|
|
28
|
+
console.error(
|
|
29
|
+
[
|
|
30
|
+
"larkway 的原生 Windows 支持仍在验证中,默认未开放。",
|
|
31
|
+
"推荐在 WSL(Windows Subsystem for Linux)中安装使用:",
|
|
32
|
+
" 1. 安装 WSL: https://learn.microsoft.com/windows/wsl/install",
|
|
33
|
+
" 2. 在 WSL 终端内安装 Node.js 20+,然后 `npm i -g larkway`",
|
|
34
|
+
" 3. Claude Code / Codex 也需安装在 WSL 内",
|
|
35
|
+
"",
|
|
36
|
+
"想帮忙试用原生 Windows(实验性):设置环境变量 LARKWAY_EXPERIMENTAL_WINDOWS=1 后重试,并欢迎反馈问题。",
|
|
37
|
+
"",
|
|
38
|
+
"Native Windows support is implemented but still being validated.",
|
|
39
|
+
"Use WSL for now, or set LARKWAY_EXPERIMENTAL_WINDOWS=1 to try the experimental native mode.",
|
|
40
|
+
].join("\n"),
|
|
41
|
+
);
|
|
42
|
+
process.exit(1);
|
|
43
|
+
}
|
|
35
44
|
}
|
|
36
45
|
|
|
37
46
|
const selfPath = fileURLToPath(import.meta.url);
|