<script lang="ts">
// Reads a per-worktree store the way a tab's view does, and says which
// worktree's instance it got.
import { scoped, viewWorktree } from "../../../stores/worktree-scope.svelte.js";
import { probe as probeStore } from "./probe-store.svelte.js";
const probe = scoped(probeStore);
const worktree = viewWorktree("the probe");
</script>
<span data-instance={probe.worktree ?? "none"} data-view={worktree}></span>