LayerFS's trajectory page is served by a loopback service the host starts once a store exists (no write into the install), keeps its view in location.hash across its 5 s reload, reports every skipped secret-shaped file in sorted order (#477), and drops the unloaded sample. By @Mola-maker. Run at dfa99f7e merged onto current main: - mote (macOS, Bun 1.4.2, temp HOME): bun test in packages/layerfs, 64 pass 0 fail, 2 of 2; bun scripts/check.mjs layerfs ok; the temp HOME held nothing from layerfs afterwards. - WSL2 Ubuntu 24.04 (temp HOME): 64 pass 0 fail, 2 of 2 (#477's item 3 was red here on f3633eaf8). - Broken by hand: dropping the `location.hash =` assignment in page/app.js turns the hash test red. Earlier rounds' breaks (Origin/Host checks, < escape, start gates, nosniff, sort, restore/settle/round, reload guard) each went red, see the 05:18 and 05:45 reviews. - Earlier round: the page in a magpie-shaped sandboxed frame with pagePolicy CSP, Chromium and WebKit. - PR checks: test and on-npm pass. Not tried: a real magpie window.
54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"description": "LayerFS workspaces for every agent in magpie: deduplicated checkpoints and branches behind stable filesystem paths, instead of a fresh copy of the tree for every agent, with a page that replays the worktree trajectory",
|
|
"exports": {
|
|
".": "./index.mjs"
|
|
},
|
|
"files": [
|
|
"index.mjs",
|
|
"layerfs.mjs",
|
|
"page-service.mjs",
|
|
"page",
|
|
"README.md",
|
|
"icon.svg"
|
|
],
|
|
"keywords": [
|
|
"magpie",
|
|
"magpie-tools",
|
|
"mcp",
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"layerfs",
|
|
"filesystem",
|
|
"workspace",
|
|
"checkpoint",
|
|
"dedup"
|
|
],
|
|
"license": "MIT",
|
|
"magpie": {
|
|
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+CiAgPCEtLSB0b29scy1sYXllcmZzOiBMYXllckZTIHdvcmtzcGFjZXMuIExlYWYtZ3JlZW4gdGlsZSwgd2hpdGUgbGVhZiBpbgogICAgICAgdGhlIHNoYXBlIG9mIExheWVyRlMncyBvd24gbGVhZiBnbHlwaCAocGFnZS92aWV3LmpzIExFQUZfR0xZUEgsCiAgICAgICBzY2FsZWQgeDIpLCB3aXRoIGEgZm9ya2VkIHZlaW4gaW5zaWRlIGl0OiB0aGUgYnJhbmNoIHNwbGl0dGluZywKICAgICAgIHRoZSB0cmFqZWN0b3J5IHBhZ2UncyBib3VnaCBtb3RpZi4gRmxhdCBzaGFwZXMgb25seTsgdGhlIGxlYWYKICAgICAgIHNpbGhvdWV0dGUgY2FycmllcyByZWNvZ25pdGlvbiBkb3duIHRvIDE2IHB4LiAtLT4KICA8cmVjdCB4PSIyIiB5PSIyIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHJ4PSIxNCIgZmlsbD0iIzE2YTM0YSIvPgogIDxwYXRoIGQ9Ik0zMiAxMSBDNDggMTkgNTIgMzkgMzIgNTMgQzEyIDM5IDE2IDE5IDMyIDExIFoiIGZpbGw9IiNmZmZmZmYiLz4KICA8cGF0aCBkPSJNMzIgNTAgTDMyIDMyIE0zMiAzMiBDMjggMjcgMjUgMjUgMjIgMjEgTTMyIDMyIEMzNiAyNyAzOSAyNSA0MiAyMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTZhMzRhIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K",
|
|
"options": {
|
|
"exec": false,
|
|
"pagePort": 43717
|
|
},
|
|
"page": {
|
|
"file": "page/index.html",
|
|
"icon": "page/icon.svg",
|
|
"title": "LayerFS trajectory",
|
|
"titles": {
|
|
"ja": "LayerFS の軌跡",
|
|
"zh": "LayerFS 轨迹",
|
|
"zh-TW": "LayerFS 軌跡"
|
|
}
|
|
}
|
|
},
|
|
"main": "./index.mjs",
|
|
"name": "@magpie-community/tools-layerfs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/layerfs"
|
|
},
|
|
"type": "module",
|
|
"version": "0.10.0"
|
|
}
|