@tutti-os/agent-gui 0.0.162 → 0.0.164
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.
- package/dist/agent-conversation/index.js +1 -1
- package/dist/agent-gui.d.ts +12 -0
- package/dist/agent-gui.js +2 -2
- package/dist/{chunk-QHSWRS4L.js → chunk-7C7VK76E.js} +5 -2
- package/dist/{chunk-QHSWRS4L.js.map → chunk-7C7VK76E.js.map} +1 -1
- package/dist/{chunk-MVVZPLI6.js → chunk-W5YYEOZP.js} +146 -67
- package/dist/chunk-W5YYEOZP.js.map +1 -0
- package/dist/index.d.ts +13 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +23 -18
- package/dist/chunk-MVVZPLI6.js.map +0 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-7C7VK76E.js";
|
|
11
11
|
import "../chunk-C4Z4JLOJ.js";
|
|
12
12
|
import "../chunk-THBCAUBR.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -954,6 +954,12 @@ interface AgentWorkspaceReferenceInitialTargetInput {
|
|
|
954
954
|
userProjects: AgentGUINodeViewModel["rail"]["userProjects"];
|
|
955
955
|
}
|
|
956
956
|
type AgentWorkspaceReferenceInitialTargetResolver = (input: AgentWorkspaceReferenceInitialTargetInput) => ReferenceLocateTarget | null;
|
|
957
|
+
interface AgentGUIConversationRailLayout {
|
|
958
|
+
providerRailWidthPx: number;
|
|
959
|
+
conversationRailWidthPx: number;
|
|
960
|
+
leftPanelWidthPx: number;
|
|
961
|
+
resizing: boolean;
|
|
962
|
+
}
|
|
957
963
|
interface AgentGUISidebarFooterContext {
|
|
958
964
|
currentUserId?: string | null;
|
|
959
965
|
activeConversation: AgentGUINodeViewModel["rail"]["activeConversation"];
|
|
@@ -1144,6 +1150,12 @@ interface AgentGUINodeHostActions {
|
|
|
1144
1150
|
onToggleMaximize?: () => void;
|
|
1145
1151
|
onShowMessage?: (message: string, tone?: "info" | "warning" | "error") => void;
|
|
1146
1152
|
onEngagementEvent?: AgentGUIEngagementEventSink;
|
|
1153
|
+
/**
|
|
1154
|
+
* Reports live left-side rail layout width while the conversation rail is
|
|
1155
|
+
* being resized. Hosts with external chrome aligned to the rail can consume
|
|
1156
|
+
* this instead of observing package DOM/style mutations.
|
|
1157
|
+
*/
|
|
1158
|
+
onConversationRailLayoutChange?: (layout: AgentGUIConversationRailLayout) => void;
|
|
1147
1159
|
}
|
|
1148
1160
|
interface AgentGUINodeRenderSlots {
|
|
1149
1161
|
providerRailEmpty?: AgentGUIAgentsEmptyRenderer;
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W5YYEOZP.js";
|
|
4
4
|
import "./chunk-A4WCTHWS.js";
|
|
5
5
|
import "./chunk-2DGFRQEP.js";
|
|
6
6
|
import "./chunk-6II57C72.js";
|
|
@@ -8,7 +8,7 @@ import "./chunk-YSA4MXR5.js";
|
|
|
8
8
|
import "./chunk-MHOYBRCY.js";
|
|
9
9
|
import "./chunk-SZVHT57M.js";
|
|
10
10
|
import "./chunk-HGMOBQKA.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7C7VK76E.js";
|
|
12
12
|
import "./chunk-C4Z4JLOJ.js";
|
|
13
13
|
import "./chunk-THBCAUBR.js";
|
|
14
14
|
import "./chunk-UP3ZDYTN.js";
|
|
@@ -14054,7 +14054,10 @@ function AgentMessageLocatorRail({
|
|
|
14054
14054
|
return;
|
|
14055
14055
|
}
|
|
14056
14056
|
const railHeight2 = (items.length - 1) * AGENT_MESSAGE_LOCATOR_ITEM_SPACING_PX + AGENT_MESSAGE_LOCATOR_HIT_SIZE_PX;
|
|
14057
|
-
const viewportHeight2 =
|
|
14057
|
+
const viewportHeight2 = Math.min(
|
|
14058
|
+
railHeight2,
|
|
14059
|
+
visibleFrame?.heightPx ?? railHeight2
|
|
14060
|
+
);
|
|
14058
14061
|
scrollMessageLocatorViewportToIndex(
|
|
14059
14062
|
viewport,
|
|
14060
14063
|
selectedIndex,
|
|
@@ -14869,4 +14872,4 @@ export {
|
|
|
14869
14872
|
AgentConversationFlow,
|
|
14870
14873
|
useProjectedAgentConversation
|
|
14871
14874
|
};
|
|
14872
|
-
//# sourceMappingURL=chunk-
|
|
14875
|
+
//# sourceMappingURL=chunk-7C7VK76E.js.map
|