mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-17 01:25:26 +02:00
Use the shared composer for new tasks, including project and worktree selection, rich mentions and slash commands, and remembered task settings. Save project preferences after successful task updates. Show known agent models by name and use Default for unknown runtime defaults. Co-Authored-By: Paperclip <noreply@paperclip.ing>
16 lines
470 B
TypeScript
16 lines
470 B
TypeScript
import type { ComponentProps } from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
/** The inset strip shared by queued messages and new-task context. */
|
|
export function TaskChatComposerBar({ className, ...props }: ComponentProps<"div">) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"relative z-0 mx-3 -mb-px overflow-hidden rounded-t-xl rounded-b-none border border-b-0 border-border/75 bg-card shadow-sm",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|