@jonit-dev/night-watch-cli 1.8.8-beta.13 → 1.8.8-beta.14
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/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -14780,7 +14780,7 @@ function createLogRoutes(deps) {
|
|
|
14780
14780
|
router.get("/:name", (req, res) => {
|
|
14781
14781
|
try {
|
|
14782
14782
|
const { name } = req.params;
|
|
14783
|
-
const validNames =
|
|
14783
|
+
const validNames = Object.keys(LOG_FILE_NAMES);
|
|
14784
14784
|
if (!validNames.includes(name)) {
|
|
14785
14785
|
res.status(400).json({
|
|
14786
14786
|
error: `Invalid log name. Must be one of: ${validNames.join(", ")}`
|
|
@@ -14806,7 +14806,7 @@ function createProjectLogRoutes() {
|
|
|
14806
14806
|
try {
|
|
14807
14807
|
const projectDir = req.projectDir;
|
|
14808
14808
|
const { name } = req.params;
|
|
14809
|
-
const validNames =
|
|
14809
|
+
const validNames = Object.keys(LOG_FILE_NAMES);
|
|
14810
14810
|
if (!validNames.includes(name)) {
|
|
14811
14811
|
res.status(400).json({
|
|
14812
14812
|
error: `Invalid log name. Must be one of: ${validNames.join(", ")}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jonit-dev/night-watch-cli",
|
|
3
|
-
"version": "1.8.8-beta.
|
|
3
|
+
"version": "1.8.8-beta.14",
|
|
4
4
|
"description": "AI agent that implements your specs, opens PRs, and reviews code overnight. Queue GitHub issues or PRDs, wake up to pull requests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|