@lucashca/claudecontrol 0.3.22 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,6 @@ import { useAtomValue } from 'jotai';
|
|
|
4
4
|
import { agentsMapAtom, barTabIdsAtom, activeTabIdAtom } from '@/atoms';
|
|
5
5
|
import { useTabActions } from '@/hooks/useTabActions';
|
|
6
6
|
import { AGENT_LABELS } from '@/types';
|
|
7
|
-
import { api } from '@/api';
|
|
8
7
|
|
|
9
8
|
const AGENT_ICON: Record<string, LucideIcon> = {
|
|
10
9
|
arquiteto: Blocks, dev: Code2, qa: TestTube2,
|
|
@@ -43,7 +42,7 @@ export function AgentBar() {
|
|
|
43
42
|
<span className="font-medium">{AGENT_LABELS[agent.role] || agent.role}</span>
|
|
44
43
|
<X size={11}
|
|
45
44
|
className="text-zinc-700 hover:text-zinc-300 cursor-pointer shrink-0 ml-1"
|
|
46
|
-
onClick={e => { e.stopPropagation(); closeTab(id);
|
|
45
|
+
onClick={e => { e.stopPropagation(); closeTab(id); }} />
|
|
47
46
|
</div>
|
|
48
47
|
);
|
|
49
48
|
})}
|
|
@@ -5,7 +5,6 @@ import { agentsMapAtom } from '@/atoms';
|
|
|
5
5
|
import { ChatPanel, EmptyChat } from './ChatPanel';
|
|
6
6
|
import { AGENT_LABELS } from '@/types';
|
|
7
7
|
import { X, Blocks, Code2, TestTube2, Cloud, Database, Layout } from 'lucide-react';
|
|
8
|
-
import { api } from '@/api';
|
|
9
8
|
|
|
10
9
|
const AGENT_ICON: Record<string, LucideIcon> = {
|
|
11
10
|
arquiteto: Blocks, dev: Code2, qa: TestTube2,
|
|
@@ -115,7 +114,7 @@ export function ChatPanelWithTabs({ panelIndex }: Props) {
|
|
|
115
114
|
<X
|
|
116
115
|
size={10}
|
|
117
116
|
className="text-cc-muted cursor-pointer shrink-0 hover:text-cc-text-secondary"
|
|
118
|
-
onClick={e => { e.stopPropagation(); closeTab(id);
|
|
117
|
+
onClick={e => { e.stopPropagation(); closeTab(id); }}
|
|
119
118
|
/>
|
|
120
119
|
</div>
|
|
121
120
|
);
|
|
@@ -27,8 +27,8 @@ function setActiveWorkspaceImperative(id: string) {
|
|
|
27
27
|
const currentBarTabIds = store.get(barTabIdsAtom);
|
|
28
28
|
const currentActiveTabId = store.get(activeTabIdAtom);
|
|
29
29
|
|
|
30
|
-
// Save current tabs for previous workspace
|
|
31
|
-
if (prevActiveId) {
|
|
30
|
+
// Save current tabs for previous workspace (skip if same workspace — fresh load scenario)
|
|
31
|
+
if (prevActiveId && prevActiveId !== id) {
|
|
32
32
|
const fileTabs = store.get(fileTabsAtom);
|
|
33
33
|
const activeFilePath = store.get(activeFileTabAtom);
|
|
34
34
|
store.set(workspaceTabsAtom, {
|
package/package.json
CHANGED
package/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.3.
|
|
1
|
+
{"version":"0.3.23","build":"2026-04-03T23:03:42.165Z"}
|