alink-cli 0.9.0 → 0.10.0
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 +19 -20
- package/dist/bin.mjs +292 -50
- package/dist/bin.mjs.map +1 -1
- package/dist/daemon.js +1 -1
- package/dist/ui.js +2 -1
- package/package.json +2 -3
package/dist/daemon.js
CHANGED
|
@@ -23527,7 +23527,7 @@ import {
|
|
|
23527
23527
|
import { homedir as homedir5 } from "node:os";
|
|
23528
23528
|
import { basename, join as join5 } from "node:path";
|
|
23529
23529
|
|
|
23530
|
-
// ../../node_modules/.pnpm/@agentlink+core@file+packages+
|
|
23530
|
+
// ../../node_modules/.pnpm/@agentlink+core@file+packages+core/node_modules/@agentlink/core/src/session-archive.ts
|
|
23531
23531
|
function resultText(content) {
|
|
23532
23532
|
if (typeof content === "string") return content;
|
|
23533
23533
|
if (Array.isArray(content)) {
|
package/dist/ui.js
CHANGED
|
@@ -48233,7 +48233,7 @@ function startDaemon(options) {
|
|
|
48233
48233
|
}
|
|
48234
48234
|
const { machineToken, enckey } = parseCredential(options.credential);
|
|
48235
48235
|
const cwd2 = resolve(options.cwd);
|
|
48236
|
-
const daemonPath = fileURLToPath(new URL("../dist/bin.mjs", import.meta.url));
|
|
48236
|
+
const daemonPath = options.daemonPath ? resolve(options.daemonPath) : fileURLToPath(new URL("../dist/bin.mjs", import.meta.url));
|
|
48237
48237
|
if (!existsSync2(daemonPath)) {
|
|
48238
48238
|
throw new Error(
|
|
48239
48239
|
`daemon bundle not found: ${daemonPath}
|
|
@@ -48247,6 +48247,7 @@ function startDaemon(options) {
|
|
|
48247
48247
|
T3CODE_HUB_MACHINE_TOKEN: machineToken,
|
|
48248
48248
|
T3CODE_HUB_ENCKEY: enckey
|
|
48249
48249
|
};
|
|
48250
|
+
if (process.versions.electron) env3.ELECTRON_RUN_AS_NODE = "1";
|
|
48250
48251
|
if (options.approval) env3.AGENTLINK_APPROVAL = "1";
|
|
48251
48252
|
if (options.approvalRenotifyMin !== void 0) {
|
|
48252
48253
|
env3.AGENTLINK_APPROVAL_RENOTIFY_MIN = String(options.approvalRenotifyMin);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alink-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "一条命令把工作机接入 AgentLink,随时随地遥控本机的编码 agent。One command to link your machine to AgentLink and control your coding agents from anywhere.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"acp",
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"cli",
|
|
10
10
|
"codex",
|
|
11
11
|
"coding-agent",
|
|
12
|
-
"remote-control"
|
|
13
|
-
"self-hosted"
|
|
12
|
+
"remote-control"
|
|
14
13
|
],
|
|
15
14
|
"homepage": "https://github.com/baichen99/agentlink#readme",
|
|
16
15
|
"bugs": "https://github.com/baichen99/agentlink/issues",
|