Add hook to setup repo when agent starts

Fixes #5605
This commit is contained in:
Daniel Imms
2026-02-13 08:10:16 -08:00
parent 74642ce5d5
commit e60c96823d
3 changed files with 150 additions and 1 deletions
+2 -1
View File
@@ -72,7 +72,8 @@
"prepackage-headless": "npm run esbuild-package-headless-only",
"package-headless": "webpack --config ./webpack.config.headless.js",
"postpackage-headless": "node ./bin/package_headless.js",
"prepublishOnly": "npm run package"
"prepublishOnly": "npm run package",
"agent:session-start": "node bin/agent/setup-repo.mjs"
},
"devDependencies": {
"@lunapaint/png-codec": "^0.2.0",