@tutti-os/agent-gui 0.0.76 → 0.0.77

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.
@@ -6,8 +6,8 @@ import {
6
6
  projectAgentConversationVM,
7
7
  reconcileProjectedAgentConversationVM,
8
8
  useProjectedAgentConversation
9
- } from "../chunk-7GSBP5CN.js";
10
- import "../chunk-3FYA2K4P.js";
9
+ } from "../chunk-WIRYWLAI.js";
10
+ import "../chunk-5CLGEUWK.js";
11
11
  import "../chunk-PSLAWU25.js";
12
12
  import "../chunk-KELYWKTC.js";
13
13
  import "../chunk-Y35GDLP2.js";
@@ -6,7 +6,7 @@ import {
6
6
  approvalOptionDisplayLabel,
7
7
  getPromptToolDetails,
8
8
  isPromptRequestIdTitle
9
- } from "../chunk-U6EDUTUO.js";
9
+ } from "../chunk-3B3KPQ4Y.js";
10
10
  import {
11
11
  PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
12
12
  PLAN_IMPLEMENTATION_PROMPT,
@@ -25,7 +25,7 @@ import {
25
25
  extractExitPlanModeOptions,
26
26
  isExitPlanSwitchModeInput,
27
27
  normalizeAskUserQuestions
28
- } from "../chunk-3FYA2K4P.js";
28
+ } from "../chunk-5CLGEUWK.js";
29
29
  import {
30
30
  userAvatarPlaceholderUrl,
31
31
  workspaceAgentActivityStatusLabel
@@ -1,4 +1,3 @@
1
- @import "react-medium-image-zoom/dist/styles.css";
2
1
  @source "../..";
3
2
 
4
3
  /* Restored agent activity renderer styles from the TSH desktop source during the GUI migration. */
@@ -79,12 +78,52 @@
79
78
  );
80
79
  }
81
80
 
81
+ .tsh-zoomable-image {
82
+ position: relative;
83
+ display: inline-block;
84
+ max-width: 100%;
85
+ vertical-align: top;
86
+ }
87
+
88
+ .tsh-zoomable-image--block {
89
+ display: block;
90
+ }
91
+
92
+ .tsh-zoomable-image__trigger {
93
+ position: absolute;
94
+ inset: 0;
95
+ z-index: 1;
96
+ border: 0;
97
+ background: transparent;
98
+ color: transparent;
99
+ cursor: zoom-in;
100
+ -webkit-app-region: no-drag;
101
+ }
102
+
82
103
  .tsh-zoom-dialog[data-rmiz-modal] {
104
+ position: fixed;
105
+ inset: 0;
83
106
  z-index: 100300;
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: center;
110
+ padding: 24px;
84
111
  -webkit-app-region: no-drag;
85
112
  }
86
113
 
114
+ .tsh-zoom-dialog [data-rmiz-modal-overlay] {
115
+ position: absolute;
116
+ inset: 0;
117
+ }
118
+
87
119
  .tsh-zoom-dialog [data-rmiz-modal-content] {
120
+ position: relative;
121
+ z-index: 100300;
122
+ display: flex;
123
+ align-items: center;
124
+ justify-content: center;
125
+ max-width: calc(100vw - 48px);
126
+ max-height: calc(100vh - 48px);
88
127
  -webkit-app-region: no-drag;
89
128
  }
90
129
 
@@ -98,9 +137,20 @@
98
137
  }
99
138
 
100
139
  .tsh-zoom-dialog [data-rmiz-btn-unzoom] {
140
+ position: fixed;
101
141
  top: max(20px, calc(var(--cove-titlebar-reserve, 0px) + 10px));
102
142
  right: 20px;
103
143
  inset-inline-end: 20px;
144
+ z-index: 100301;
145
+ }
146
+
147
+ .tsh-zoom-dialog__image {
148
+ display: block;
149
+ max-width: calc(100vw - 48px);
150
+ max-height: calc(100vh - 48px);
151
+ object-fit: contain;
152
+ transform-origin: center center;
153
+ cursor: zoom-out;
104
154
  }
105
155
 
106
156
  .tsh-zoom-dialog__image-actions {
@@ -9186,7 +9236,7 @@ button.agent-gui-node__provider-rail-launchpad-item {
9186
9236
  }
9187
9237
 
9188
9238
  .agent-gui-node__empty-hero-provider-select {
9189
- display: inline-flex;
9239
+ display: inline-block;
9190
9240
  width: auto;
9191
9241
  min-width: 0;
9192
9242
  height: auto;
@@ -9203,6 +9253,8 @@ button.agent-gui-node__provider-rail-launchpad-item {
9203
9253
  letter-spacing: inherit;
9204
9254
  box-shadow: none;
9205
9255
  white-space: nowrap;
9256
+ appearance: auto;
9257
+ cursor: pointer;
9206
9258
  }
9207
9259
 
9208
9260
  .agent-gui-node__empty-hero-provider-select:hover,
@@ -7,7 +7,7 @@ import {
7
7
  AgentGUIConversation_styles_default,
8
8
  MessageSquareMoreIcon,
9
9
  extractAgentMcpToolTarget
10
- } from "./chunk-3FYA2K4P.js";
10
+ } from "./chunk-5CLGEUWK.js";
11
11
  import {
12
12
  getOptionalAgentHostApi,
13
13
  useOptionalAgentHostApi
@@ -1172,4 +1172,4 @@ export {
1172
1172
  isPromptRequestIdTitle,
1173
1173
  AgentInteractivePromptSurface
1174
1174
  };
1175
- //# sourceMappingURL=chunk-U6EDUTUO.js.map
1175
+ //# sourceMappingURL=chunk-3B3KPQ4Y.js.map