mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
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:
1 parent
94725ce473
commit
e6156f3c47
12 files changed
+202
-76
No files matched your search
@@ -41,25 +41,6 @@ export function GeneralSettings() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="mode">Mode</Label>
|
||||
<Select
|
||||
value={preferences?.mode || 'build'}
|
||||
onValueChange={(value) => updateSettings({ mode: value as 'plan' | 'build' })}
|
||||
>
|
||||
<SelectTrigger id="mode">
|
||||
<SelectValue placeholder="Select a mode" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="plan">Plan</SelectItem>
|
||||
<SelectItem value="build">Build</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Plan mode: Read-only. Build mode: File changes enabled
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-row items-center justify-between rounded-lg border border-border p-4">
|
||||
<div className="space-y-0.5">
|
||||
<Label htmlFor="autoScroll" className="text-base">Auto-scroll</Label>
|
||||
|
||||
Reference in new issue
Block a user