@beastmode-develeap/beastmode 0.1.360 → 0.1.362
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/dist/index.js +54 -24
- package/dist/index.js.map +1 -1
- package/dist/web/board.html +14 -5
- package/dist/web/build-commit.txt +1 -1
- package/dist/web/build-stamp.txt +1 -1
- package/package.json +1 -1
package/dist/web/board.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
17
|
<!--BOARD_DATA-->
|
|
18
|
-
<script>window.__BUILD_STAMP__ = "
|
|
18
|
+
<script>window.__BUILD_STAMP__ = "20260605-005223-9baf4e7";</script>
|
|
19
19
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
20
20
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
21
21
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
@@ -9072,15 +9072,15 @@ function ProjectsPage({ selectedProject, onProjectChange }) {
|
|
|
9072
9072
|
</div>
|
|
9073
9073
|
`)}
|
|
9074
9074
|
</div>
|
|
9075
|
-
${showPicker && html`<${DirectoryPicker}
|
|
9075
|
+
${showPicker && html`<${DirectoryPicker} onClose=${() => setShowPicker(false)} onSelect=${(p) => { setNewPath(p); setShowPicker(false); }} />`}
|
|
9076
9076
|
</div>
|
|
9077
9077
|
`;
|
|
9078
9078
|
}
|
|
9079
9079
|
|
|
9080
9080
|
// Directory picker modal — used by Add Project to browse server filesystem.
|
|
9081
9081
|
// Backend lists dirs via POST /api/filesystem/browse with body { path }.
|
|
9082
|
-
function DirectoryPicker({
|
|
9083
|
-
const [path, setPath] = useState(
|
|
9082
|
+
function DirectoryPicker({ onClose, onSelect }) {
|
|
9083
|
+
const [path, setPath] = useState('');
|
|
9084
9084
|
const [data, setData] = useState(null);
|
|
9085
9085
|
const [loading, setLoading] = useState(false);
|
|
9086
9086
|
const [error, setError] = useState(null);
|
|
@@ -9096,7 +9096,7 @@ function DirectoryPicker({ initialPath, onClose, onSelect }) {
|
|
|
9096
9096
|
finally { setLoading(false); }
|
|
9097
9097
|
}, []);
|
|
9098
9098
|
|
|
9099
|
-
useEffect(() => { browse(
|
|
9099
|
+
useEffect(() => { browse(''); }, []);
|
|
9100
9100
|
|
|
9101
9101
|
return html`
|
|
9102
9102
|
<div class="dialog-overlay" onClick=${onClose}>
|
|
@@ -9113,6 +9113,15 @@ function DirectoryPicker({ initialPath, onClose, onSelect }) {
|
|
|
9113
9113
|
<button class="btn btn-secondary btn-sm" onClick=${() => browse(path)}>Go</button>
|
|
9114
9114
|
${data?.parent && html`<button class="btn btn-secondary btn-sm" onClick=${() => browse(data.parent)} title="Parent directory">↑</button>`}
|
|
9115
9115
|
</div>
|
|
9116
|
+
${data?.roots?.length ? html`
|
|
9117
|
+
<div style="display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px;">
|
|
9118
|
+
${data.roots.map(root => html`
|
|
9119
|
+
<button key=${root} class="btn btn-secondary btn-sm"
|
|
9120
|
+
style="font-family:var(--font-mono);font-size:11px;"
|
|
9121
|
+
onClick=${() => browse(root)} title=${root}>${root}</button>
|
|
9122
|
+
`)}
|
|
9123
|
+
</div>
|
|
9124
|
+
` : null}
|
|
9116
9125
|
${error ? html`<div class="error-msg">${error}</div>` : null}
|
|
9117
9126
|
${loading ? html`<div style="padding:16px;color:var(--text-muted);font-size:12px;">Loading...</div>` : null}
|
|
9118
9127
|
${data && !loading ? html`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9baf4e742f66c27e1969bcc0ff79f785c2920240
|
package/dist/web/build-stamp.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20260605-005223-9baf4e7
|