layerfs 0.9.0 (sim-only): each provision, checkpoint, fork, publish and exec records the calling agent from the tool host's ctx.agent, and the page names it, ahead of the branch-name guess. trajectory() reads each commit record once per backend lifetime (summaries cached, manifest left out) and yields between branches, so a rebuild reads only new commits. Native backend requests are still refused loudly. Run at e3c7ee94 (macOS): bun test packages/layerfs 57 pass (2 of 3 runs; the third hit ENOSPC on a full disk in 4 #360/accounting tests that pass in the others); origin/main 53 pass. bun scripts/check.mjs layerfs ok. Checked that magpie's host.js runTool passes ctx.agent as execute's second argument. Not tried: the page in the real magpie app with a live agent.
50 lines
1.1 KiB
JSON
50 lines
1.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",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"magpie",
|
|
"magpie-tools",
|
|
"mcp",
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"layerfs",
|
|
"filesystem",
|
|
"workspace",
|
|
"checkpoint",
|
|
"dedup"
|
|
],
|
|
"license": "MIT",
|
|
"magpie": {
|
|
"options": {
|
|
"exec": false
|
|
},
|
|
"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.9.0"
|
|
}
|