@1agh/maude 1.6.8 → 1.6.10
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.
|
@@ -1736,6 +1736,24 @@ export function createFilePlane(opts: FilePlaneOptions): FilePlane {
|
|
|
1736
1736
|
ledger.forget(rel);
|
|
1737
1737
|
continue;
|
|
1738
1738
|
}
|
|
1739
|
+
// NOWHERE ANY MORE — not on this machine, not live on the hub, and not
|
|
1740
|
+
// something we last agreed on (that is a deletion, which has its own
|
|
1741
|
+
// lane). A file moved into `_trash` before it ever uploaded, or a hub
|
|
1742
|
+
// file this peer refused and the hub has since deleted, left its row
|
|
1743
|
+
// behind as "only on this machine" / "stuck" forever — the panel counted
|
|
1744
|
+
// 11 of them as waiting on alligators (2026-10-02). There is nothing to
|
|
1745
|
+
// move in either direction, so there is nothing to track.
|
|
1746
|
+
if (
|
|
1747
|
+
!here &&
|
|
1748
|
+
kept &&
|
|
1749
|
+
!kept.syncedHash &&
|
|
1750
|
+
(kept.state === 'local-only' || kept.state === 'stuck') &&
|
|
1751
|
+
!(row && !row.deleted) &&
|
|
1752
|
+
!ledger.remoteOf(rel)
|
|
1753
|
+
) {
|
|
1754
|
+
ledger.forget(rel);
|
|
1755
|
+
continue;
|
|
1756
|
+
}
|
|
1739
1757
|
// NOT OURS ON EITHER SIDE ANY MORE — forget it, do not keep refusing it.
|
|
1740
1758
|
//
|
|
1741
1759
|
// A path can leave the file plane while the ledger still tracks it: a
|
|
@@ -8,10 +8,13 @@
|
|
|
8
8
|
// design systems and a tokens path that did not exist, so canvases relying on
|
|
9
9
|
// the shell's tokens stylesheet lost their brand fonts (2026-10-02, alligators).
|
|
10
10
|
//
|
|
11
|
-
// OWNER ONLY
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
//
|
|
11
|
+
// OWNER ONLY — and note WHOSE word that is (security review F3): the gate is
|
|
12
|
+
// `storedRecord.role`, which is copied from the hub's sign-in response, i.e.
|
|
13
|
+
// the hub's own claim about us. That is acceptable ONLY because what is sent
|
|
14
|
+
// is a sanitized subset the hub can already see (names and contained relative
|
|
15
|
+
// paths) and the hub enforces the owner bar itself. If this subset ever grows
|
|
16
|
+
// past that, gate it on a recorded local consent the way `codeModulesAllowed`
|
|
17
|
+
// is. `linkedHub`, tokens and everything else in config.json stay here.
|
|
15
18
|
|
|
16
19
|
import { readFileSync } from 'node:fs';
|
|
17
20
|
import path from 'node:path';
|
|
@@ -119,7 +122,10 @@ export function createProjectConfigPusher({
|
|
|
119
122
|
if (body === lastAccepted) return 'unchanged' as const;
|
|
120
123
|
let res: Response;
|
|
121
124
|
try {
|
|
122
|
-
|
|
125
|
+
// `${base}/api/...` like the file plane — `new URL('/api/…', hubUrl)`
|
|
126
|
+
// would drop a hub's path prefix and send the owner's token to whatever
|
|
127
|
+
// answers at the host root (review F4).
|
|
128
|
+
res = await fetchImpl(`${hubUrl.replace(/\/+$/, '')}/api/project-config`, {
|
|
123
129
|
method: 'PUT',
|
|
124
130
|
headers: { authorization: `Bearer ${token()}`, 'content-type': 'application/json' },
|
|
125
131
|
body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1agh/maude",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
4
4
|
"description": "Marketplace of Claude Code plugins by Michal Dovrtěl: `design` (canvas-first design iteration) + `flow` (generic agentic workflow loop with .ai second brain). Ships the `maude` CLI (with `mdcc` legacy alias) to scaffold workspace, run the design dev server, and manage configs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"test:e2e:desktop:parity:cloud": "pnpm --filter @maude/desktop-e2e e2e:parity:cloud"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@1agh/maude-darwin-arm64": "1.6.
|
|
62
|
-
"@1agh/maude-darwin-x64": "1.6.
|
|
63
|
-
"@1agh/maude-linux-arm64": "1.6.
|
|
64
|
-
"@1agh/maude-linux-arm64-musl": "1.6.
|
|
65
|
-
"@1agh/maude-linux-x64": "1.6.
|
|
66
|
-
"@1agh/maude-linux-x64-musl": "1.6.
|
|
67
|
-
"@1agh/maude-win32-x64": "1.6.
|
|
61
|
+
"@1agh/maude-darwin-arm64": "1.6.10",
|
|
62
|
+
"@1agh/maude-darwin-x64": "1.6.10",
|
|
63
|
+
"@1agh/maude-linux-arm64": "1.6.10",
|
|
64
|
+
"@1agh/maude-linux-arm64-musl": "1.6.10",
|
|
65
|
+
"@1agh/maude-linux-x64": "1.6.10",
|
|
66
|
+
"@1agh/maude-linux-x64-musl": "1.6.10",
|
|
67
|
+
"@1agh/maude-win32-x64": "1.6.10"
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
70
|
"cli",
|