@aion0/forge 0.5.46 → 0.5.47
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/RELEASE_NOTES.md +3 -3
- package/middleware.ts +3 -1
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Forge v0.5.
|
|
1
|
+
# Forge v0.5.47
|
|
2
2
|
|
|
3
3
|
Released: 2026-04-26
|
|
4
4
|
|
|
5
|
-
## Changes since v0.5.
|
|
5
|
+
## Changes since v0.5.46
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.
|
|
8
|
+
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.46...v0.5.47
|
package/middleware.ts
CHANGED
|
@@ -9,10 +9,12 @@ export function middleware(req: NextRequest) {
|
|
|
9
9
|
|
|
10
10
|
const { pathname } = req.nextUrl;
|
|
11
11
|
|
|
12
|
-
// Allow auth endpoints
|
|
12
|
+
// Allow auth endpoints, version probe (used by IDE plugins to detect a live
|
|
13
|
+
// server before prompting for password), and static assets without login.
|
|
13
14
|
if (
|
|
14
15
|
pathname.startsWith('/login') ||
|
|
15
16
|
pathname.startsWith('/api/auth') ||
|
|
17
|
+
pathname === '/api/version' ||
|
|
16
18
|
pathname.startsWith('/api/telegram') ||
|
|
17
19
|
(pathname.startsWith('/api/workspace') && (pathname.endsWith('/smith') || pathname === '/api/workspace')) ||
|
|
18
20
|
pathname.startsWith('/_next') ||
|
package/package.json
CHANGED