@keygraph/shannon 1.2.0 → 1.3.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/dist/index.mjs +4 -1
- package/infra/compose.yml +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -165,6 +165,7 @@ function spawnWorker(opts) {
|
|
|
165
165
|
args.push("-v", `${path.join(workspacePath, "deliverables")}:${opts.repo.containerPath}/.shannon/deliverables`);
|
|
166
166
|
args.push("-v", `${path.join(workspacePath, "scratchpad")}:${opts.repo.containerPath}/.shannon/scratchpad`);
|
|
167
167
|
args.push("-v", `${path.join(workspacePath, ".playwright-cli")}:${opts.repo.containerPath}/.shannon/.playwright-cli`);
|
|
168
|
+
args.push("-v", `${path.join(workspacePath, ".playwright")}:${opts.repo.containerPath}/.playwright`);
|
|
168
169
|
if (opts.promptsDir) args.push("-v", `${opts.promptsDir}:/app/apps/worker/prompts:ro`);
|
|
169
170
|
if (opts.config) args.push("-v", `${opts.config.hostPath}:${opts.config.containerPath}:ro`);
|
|
170
171
|
if (opts.outputDir) args.push("-v", `${opts.outputDir}:/app/output`);
|
|
@@ -1191,7 +1192,8 @@ async function start(args) {
|
|
|
1191
1192
|
for (const dir of [
|
|
1192
1193
|
"deliverables",
|
|
1193
1194
|
"scratchpad",
|
|
1194
|
-
".playwright-cli"
|
|
1195
|
+
".playwright-cli",
|
|
1196
|
+
".playwright"
|
|
1195
1197
|
]) {
|
|
1196
1198
|
const dirPath = path.join(workspacePath, dir);
|
|
1197
1199
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
@@ -1203,6 +1205,7 @@ async function start(args) {
|
|
|
1203
1205
|
"scratchpad",
|
|
1204
1206
|
".playwright-cli"
|
|
1205
1207
|
]) fs.mkdirSync(path.join(shannonDir, dir), { recursive: true });
|
|
1208
|
+
fs.mkdirSync(path.join(repo.hostPath, ".playwright"), { recursive: true });
|
|
1206
1209
|
const credentialsPath = getCredentialsPath();
|
|
1207
1210
|
const hasCredentials = fs.existsSync(credentialsPath);
|
|
1208
1211
|
if (hasCredentials) process.env.GOOGLE_APPLICATION_CREDENTIALS = "/app/credentials/google-sa-key.json";
|
package/infra/compose.yml
CHANGED