chore: bump version to 0.7.3, set package to public, and add per-session agent mode switching

Changes:
- Bump version to 0.7.3
- Set package.private to false
- Add useSessionAgent hook for per-session agent mode
- Remove global mode preference, use session-level mode
- Add mobile drag-and-drop toggle for repo list
- Improve repo card UI with truncation and compact status
- Fix TypeScript errors in repo.ts (undefined handling)
This commit is contained in:
Chris Scott committed 2026-01-23 17:08:18 -05:00
1 parent 94725ce473
commit e6156f3c47
12 files changed
+202 -76

No files matched your search

@@ -29,7 +29,6 @@ interface MessageThreadProps {
onChildSessionClick?: (sessionId: string) => void
onUndoMessage?: (restoredPrompt: string) => void
model?: string
agent?: string
}
const isMessageStreaming = (msg: MessageWithParts): boolean => {
@@ -70,8 +69,7 @@ export const MessageThread = memo(function MessageThread({
onFileClick,
onChildSessionClick,
onUndoMessage,
model,
agent
model
}: MessageThreadProps) {
const [editingUserMessageId, setEditingUserMessageId] = useState<string | null>(null)
const [editingForAssistantId, setEditingForAssistantId] = useState<string | null>(null)
@@ -229,7 +227,6 @@ const state = latestTodoPart.state
assistantMessageId={editingForAssistantId}
onCancel={handleCancelEdit}
model={model}
agent={agent}
/>
) : msg.info.role === 'user' && canEditUserMessage && nextAssistantMessage ? (
<ClickableUserMessage