@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 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
@@ -4,7 +4,7 @@ networks:
4
4
 
5
5
  services:
6
6
  temporal:
7
- image: temporalio/temporal:latest
7
+ image: temporalio/temporal:1.7.0
8
8
  container_name: shannon-temporal
9
9
  command: ["server", "start-dev", "--db-filename", "/home/temporal/temporal.db", "--ip", "0.0.0.0"]
10
10
  ports:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keygraph/shannon",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Shannon - Autonomous white-box AI pentester for web applications and APIs by Keygraph",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",