@jbarket/loomai 0.9.1 → 0.9.2
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/CHANGELOG.md +12 -1
- package/dist/ui/handler.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.9.2] - 2026-10-24
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Logging in to the page (and every form on it) failed in a browser with
|
|
20
|
+
"forbidden: cross-site request".** The page was served with
|
|
21
|
+
`Referrer-Policy: no-referrer`, under which browsers send `Origin: null` on
|
|
22
|
+
the page's own form posts, and the cross-site guard refuses that. It's
|
|
23
|
+
`same-origin` now, which still sends nothing to links that leave the page.
|
|
24
|
+
|
|
15
25
|
## [0.9.1] - 2026-10-24
|
|
16
26
|
|
|
17
27
|
### Changed
|
|
@@ -656,7 +666,8 @@ Initial public release.
|
|
|
656
666
|
stack and all added external-service dependencies or operational
|
|
657
667
|
overhead.
|
|
658
668
|
|
|
659
|
-
[Unreleased]: https://github.com/sleepunit-agents/loom/compare/v0.9.
|
|
669
|
+
[Unreleased]: https://github.com/sleepunit-agents/loom/compare/v0.9.2...HEAD
|
|
670
|
+
[0.9.2]: https://github.com/sleepunit-agents/loom/compare/v0.9.1...v0.9.2
|
|
660
671
|
[0.9.1]: https://github.com/sleepunit-agents/loom/compare/v0.9.0...v0.9.1
|
|
661
672
|
[0.9.0]: https://github.com/sleepunit-agents/loom/compare/v0.8.0...v0.9.0
|
|
662
673
|
[0.8.0]: https://github.com/sleepunit-agents/loom/compare/v0.7.0...v0.8.0
|
package/dist/ui/handler.js
CHANGED
|
@@ -49,7 +49,10 @@ const COOKIE_KEY = randomBytes(32);
|
|
|
49
49
|
const SECURITY_HEADERS = {
|
|
50
50
|
'content-security-policy': "default-src 'none'; style-src 'unsafe-inline'; form-action 'self'; frame-ancestors 'none'; base-uri 'none'",
|
|
51
51
|
'x-content-type-options': 'nosniff',
|
|
52
|
-
|
|
52
|
+
// same-origin, not no-referrer: under no-referrer, browsers send `Origin:
|
|
53
|
+
// null` on the page's own form posts, which the cross-site guard has to
|
|
54
|
+
// refuse. same-origin still sends nothing to links that leave the page.
|
|
55
|
+
'referrer-policy': 'same-origin',
|
|
53
56
|
'cache-control': 'no-store',
|
|
54
57
|
};
|
|
55
58
|
const PAGE_ROOTS = ['/login', '/logout', '/pieces.json', '/mind', '/people', '/memory', '/p', '/act'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbarket/loomai",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "MCP server for persistent AI agent identity and memory. Single-file sqlite-vec + local ONNX embeddings; zero external services.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|