hunk.code_window: }
   export const RenameTextBox = forwardRef<HTMLDivElement, RenameTextBoxProps>(
   	({ name, onRename, disabled, className, idleClassName, lines, ...props }, _ref) => {
   		const os = useOperatingSystem();
   		const [isRenaming, drag] = useSelector(explorerStore, (s) => [s.isRenaming, s.drag]);
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit: 	(
   		{ name, onRename, disabled, className, idleClassName, lines, toggleBy = 'all', ...props },
   		_ref
   	) => {
  
hunk.file_path: interface/app/$libraryId/Explorer/FilePath/RenameTextBox.tsx
hunk.type: replace
file: import { notFound } from 'next/navigation';
  
  import { getRelease, getReleaseFrontmatter, githubFetch } from '../../github';
  
  export const runtime = 'edge';
  
  export async function GET(_: Request, { params }: { params: { version: string } }) {
  	const release = await githubFetch(getRelease(params.version));
  	if (release.draft) notFound();
  
  	return Response.json({
  		...getReleaseFrontmatter(release),
  		version: release.tag_name,
  		published_at: release.published_at
  	});
  }
  