my-durable 0.0.82 → 0.0.83
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.
|
@@ -821,7 +821,13 @@ export class Store {
|
|
|
821
821
|
process.platform === "win32" ? p.replace(/\//g, "\\").replace(/\\+$/, "").toLowerCase() : p;
|
|
822
822
|
const sep = process.platform === "win32" ? "\\" : "/";
|
|
823
823
|
const n = norm(root);
|
|
824
|
-
|
|
824
|
+
// SAME set as containedPath()/browse(): start dirs UNION the folders
|
|
825
|
+
// that already host a session. Guarding walk-up with start dirs alone
|
|
826
|
+
// left the git surface refusing a folder the device itself advertises
|
|
827
|
+
// in info.gitDirs — the panel then got {repo:true} with no branch, no
|
|
828
|
+
// files, no identity, and reported the folder as empty while the agent
|
|
829
|
+
// was committing in it (live: a D:\ session on a narrowed start-dir list).
|
|
830
|
+
return (await store.servedRoots()).some((r) => {
|
|
825
831
|
const b = norm(r);
|
|
826
832
|
return !!b && (n === b || n.startsWith(b + sep));
|
|
827
833
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "my-durable",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.83",
|
|
4
4
|
"description": "Durable Pi — the durable agent network: hub web UI, device backend daemon, TUI admin and the shared SDK, packaged as one runnable monorepo install",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|