@lobehub/cli 0.0.12-beta.3 → 0.0.12-beta.5
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/dist/index.js +7 -1
- package/man/man1/lh.1 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -208795,6 +208795,9 @@ const spawnAgent = async (options) => {
|
|
|
208795
208795
|
}),
|
|
208796
208796
|
kill: (signal = "SIGINT") => killProcessTree(proc, signal),
|
|
208797
208797
|
pid: proc.pid,
|
|
208798
|
+
get sessionId() {
|
|
208799
|
+
return pipeline.sessionId;
|
|
208800
|
+
},
|
|
208798
208801
|
stderr
|
|
208799
208802
|
};
|
|
208800
208803
|
};
|
|
@@ -209115,7 +209118,10 @@ const exec = async (options) => {
|
|
|
209115
209118
|
}
|
|
209116
209119
|
const exitedClean = !ingestError && (code === 0 || signal === "SIGTERM");
|
|
209117
209120
|
try {
|
|
209118
|
-
await sink.finish({
|
|
209121
|
+
await sink.finish({
|
|
209122
|
+
result: exitedClean ? "success" : "error",
|
|
209123
|
+
sessionId: handle.sessionId
|
|
209124
|
+
});
|
|
209119
209125
|
} catch (err) {
|
|
209120
209126
|
log$7.error("Failed to send heteroFinish:", err instanceof Error ? err.message : String(err));
|
|
209121
209127
|
}
|
package/man/man1/lh.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" Code generated by `npm run man:generate`; DO NOT EDIT.
|
|
2
2
|
.\" Manual command details come from the Commander command tree.
|
|
3
|
-
.TH LH 1 "" "@lobehub/cli 0.0.12\-beta.
|
|
3
|
+
.TH LH 1 "" "@lobehub/cli 0.0.12\-beta.5" "User Commands"
|
|
4
4
|
.SH NAME
|
|
5
5
|
lh \- LobeHub CLI \- manage and connect to LobeHub services
|
|
6
6
|
.SH SYNOPSIS
|