@alook/cli 0.0.90 → 0.0.92
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 +3 -0
- package/dist/session-runner.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18257,6 +18257,9 @@ class OpenCodeBackend {
|
|
|
18257
18257
|
if (options.resumeSessionId) {
|
|
18258
18258
|
args.push("--session", options.resumeSessionId);
|
|
18259
18259
|
}
|
|
18260
|
+
if (options.cwd) {
|
|
18261
|
+
args.push("--dir", options.cwd);
|
|
18262
|
+
}
|
|
18260
18263
|
args.push(prompt);
|
|
18261
18264
|
const proc = spawn3(this.cliPath, args, {
|
|
18262
18265
|
cwd: options.cwd,
|
package/dist/session-runner.js
CHANGED
|
@@ -17638,6 +17638,9 @@ class OpenCodeBackend {
|
|
|
17638
17638
|
if (options.resumeSessionId) {
|
|
17639
17639
|
args.push("--session", options.resumeSessionId);
|
|
17640
17640
|
}
|
|
17641
|
+
if (options.cwd) {
|
|
17642
|
+
args.push("--dir", options.cwd);
|
|
17643
|
+
}
|
|
17641
17644
|
args.push(prompt);
|
|
17642
17645
|
const proc = spawn3(this.cliPath, args, {
|
|
17643
17646
|
cwd: options.cwd,
|