lody 0.41.3-next.1 → 0.41.4-next.1
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 +6 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -40324,7 +40324,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
|
|
|
40324
40324
|
}
|
|
40325
40325
|
}
|
|
40326
40326
|
const name = "lody";
|
|
40327
|
-
const version$3 = "0.41.
|
|
40327
|
+
const version$3 = "0.41.4-next.1";
|
|
40328
40328
|
const description = "Lody Agent CLI tool for managing remote command execution";
|
|
40329
40329
|
const type = "module";
|
|
40330
40330
|
const main$3 = "dist/index.js";
|
|
@@ -74745,7 +74745,8 @@ Task description:
|
|
|
74745
74745
|
userTurnId: string$1().optional(),
|
|
74746
74746
|
userId: string$1(),
|
|
74747
74747
|
userName: string$1(),
|
|
74748
|
-
userEmail: string$1()
|
|
74748
|
+
userEmail: string$1(),
|
|
74749
|
+
parentSessionId: SessionIdSchema.optional()
|
|
74749
74750
|
}).strict();
|
|
74750
74751
|
const SessionCreateResponseSchema = object({
|
|
74751
74752
|
type: literal("session/create_response"),
|
|
@@ -112372,7 +112373,7 @@ export PATH="${ghShimBinDir}:$PATH"
|
|
|
112372
112373
|
if (config2.githubRepo) {
|
|
112373
112374
|
await sessionDoc.setRepoFullName(config2.githubRepo);
|
|
112374
112375
|
}
|
|
112375
|
-
if (repoId) {
|
|
112376
|
+
if (repoId && !config2.parentSessionId) {
|
|
112376
112377
|
const worktreeManager = getWorktreeManager({
|
|
112377
112378
|
repoId,
|
|
112378
112379
|
repoUrl: config2.githubRepoUrl,
|
|
@@ -112385,6 +112386,8 @@ export PATH="${ghShimBinDir}:$PATH"
|
|
|
112385
112386
|
workdir = worktreeInfo.hostPath;
|
|
112386
112387
|
this.logger.info(`[${config2.sessionId}] Using worktree as workdir: ${workdir}`);
|
|
112387
112388
|
this.logger.info(`[${config2.sessionId}] Worktree details (branch=${worktreeInfo.branch} head=${worktreeInfo.headSha ?? "unknown"}): host=${worktreeInfo.hostPath}`);
|
|
112389
|
+
} else if (config2.parentSessionId) {
|
|
112390
|
+
this.logger.info(`[${config2.sessionId}] Child session of ${config2.parentSessionId}, skipping worktree creation (workdir=${workdir})`);
|
|
112388
112391
|
}
|
|
112389
112392
|
const sandbox = await this.sessionSandboxFactory(config2.sessionId);
|
|
112390
112393
|
this.logger.debug(`[${config2.sessionId}] Session sandbox: ${sandbox.description}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lody",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.4-next.1",
|
|
4
4
|
"description": "Lody Agent CLI tool for managing remote command execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
"winston": "^3.18.3",
|
|
86
86
|
"winston-daily-rotate-file": "^5.0.0",
|
|
87
87
|
"winston-transport": "^4.7.1",
|
|
88
|
-
"@lody/loro-streams-rpc": "0.0.1",
|
|
89
88
|
"@lody/convex": "0.0.1",
|
|
89
|
+
"@lody/shared": "0.0.1",
|
|
90
90
|
"loro-code": "0.0.1",
|
|
91
|
-
"@lody/
|
|
91
|
+
"@lody/loro-streams-rpc": "0.0.1"
|
|
92
92
|
},
|
|
93
93
|
"files": [
|
|
94
94
|
"dist",
|