@tutti-os/agent-gui 0.0.40 → 0.0.41

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.
Files changed (40) hide show
  1. package/dist/{AgentMessageMarkdown-GDgLA-im.d.ts → AgentMessageMarkdown-Cts0dAIm.d.ts} +1 -0
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +4 -4
  4. package/dist/agent-message-center/index.js +6 -6
  5. package/dist/agent-message-center/index.js.map +1 -1
  6. package/dist/app/renderer/agentactivity.css +298 -21
  7. package/dist/{chunk-UUM2GZXH.js → chunk-3PVSIL3H.js} +4 -4
  8. package/dist/{chunk-RE3AHBX6.js → chunk-3WZWZHAJ.js} +2 -2
  9. package/dist/{chunk-Y2DQJPTL.js → chunk-42WP3P5C.js} +2 -2
  10. package/dist/{chunk-Y5SE2XMU.js → chunk-5LVFYNIP.js} +5 -2
  11. package/dist/{chunk-Y5SE2XMU.js.map → chunk-5LVFYNIP.js.map} +1 -1
  12. package/dist/{chunk-EQ4RSPQE.js → chunk-5U4SXENC.js} +4 -4
  13. package/dist/{chunk-WJPEKD3F.js → chunk-LKOPLDPM.js} +5 -1
  14. package/dist/chunk-LKOPLDPM.js.map +1 -0
  15. package/dist/{chunk-DO7D7OOL.js → chunk-MUJYJDZH.js} +11 -10
  16. package/dist/chunk-MUJYJDZH.js.map +1 -0
  17. package/dist/{chunk-WC34LVH6.js → chunk-OLZP2EFK.js} +230 -45
  18. package/dist/chunk-OLZP2EFK.js.map +1 -0
  19. package/dist/{chunk-R7XH3C4Y.js → chunk-QIPMH6XO.js} +135 -35
  20. package/dist/chunk-QIPMH6XO.js.map +1 -0
  21. package/dist/context-mention-palette/index.js +5 -5
  22. package/dist/i18n/index.d.ts +4 -0
  23. package/dist/i18n/index.js +1 -1
  24. package/dist/index.d.ts +12 -2
  25. package/dist/index.js +136 -102
  26. package/dist/index.js.map +1 -1
  27. package/dist/workbench/contribution.d.ts +4 -0
  28. package/dist/workbench/contribution.js +1 -1
  29. package/dist/workbench/index.d.ts +10 -3
  30. package/dist/workbench/index.js +1 -1
  31. package/dist/workspace-agent-generated-files.js +2 -2
  32. package/package.json +12 -12
  33. package/dist/chunk-DO7D7OOL.js.map +0 -1
  34. package/dist/chunk-R7XH3C4Y.js.map +0 -1
  35. package/dist/chunk-WC34LVH6.js.map +0 -1
  36. package/dist/chunk-WJPEKD3F.js.map +0 -1
  37. /package/dist/{chunk-UUM2GZXH.js.map → chunk-3PVSIL3H.js.map} +0 -0
  38. /package/dist/{chunk-RE3AHBX6.js.map → chunk-3WZWZHAJ.js.map} +0 -0
  39. /package/dist/{chunk-Y2DQJPTL.js.map → chunk-42WP3P5C.js.map} +0 -0
  40. /package/dist/{chunk-EQ4RSPQE.js.map → chunk-5U4SXENC.js.map} +0 -0
@@ -3897,6 +3897,7 @@ aside.workspace-agents-status-panel
3897
3897
  --agent-conversation-text: var(--text-primary);
3898
3898
  --agent-conversation-user-text: var(--text-primary);
3899
3899
  --agent-conversation-user-bg: var(--agent-gui-surface-muted);
3900
+ --agent-gui-background-1: var(--background-1, rgb(245 245 245));
3900
3901
  --agent-gui-detail-padding-x: 28px;
3901
3902
  --agent-gui-detail-flow-max-width: 1280px;
3902
3903
  width: 100%;
@@ -3906,6 +3907,16 @@ aside.workspace-agents-status-panel
3906
3907
  color: var(--agent-gui-text-primary);
3907
3908
  }
3908
3909
 
3910
+ :root[data-theme="dark"] .agent-gui-node__shell {
3911
+ --agent-gui-background-1: var(--background-1, rgb(24 24 24));
3912
+ }
3913
+
3914
+ @media (prefers-color-scheme: dark) {
3915
+ :root:not([data-theme="light"]) .agent-gui-node__shell {
3916
+ --agent-gui-background-1: var(--background-1, rgb(24 24 24));
3917
+ }
3918
+ }
3919
+
3909
3920
  .agent-gui-node__body {
3910
3921
  width: 100%;
3911
3922
  height: 100%;
@@ -3931,19 +3942,273 @@ aside.workspace-agents-status-panel
3931
3942
  transition: none;
3932
3943
  }
3933
3944
 
3945
+ .workbench-window:has([data-agent-gui-workbench-header="true"]) {
3946
+ --agent-gui-workbench-header-height: 44px;
3947
+
3948
+ grid-template-rows: minmax(0, 1fr);
3949
+ }
3950
+
3951
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3952
+ .workbench-window__header {
3953
+ position: absolute !important;
3954
+ top: 0 !important;
3955
+ right: 0 !important;
3956
+ left: 0 !important;
3957
+ z-index: 30;
3958
+ width: 100% !important;
3959
+ height: var(--agent-gui-workbench-header-height);
3960
+ min-height: var(--agent-gui-workbench-header-height);
3961
+ padding: 0;
3962
+ overflow: visible;
3963
+ border-bottom: 0;
3964
+ background: transparent;
3965
+ cursor: default;
3966
+ pointer-events: none !important;
3967
+ user-select: auto;
3968
+ }
3969
+
3970
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3971
+ .workbench-window__body {
3972
+ grid-row: 1;
3973
+ overflow: hidden;
3974
+ }
3975
+
3976
+ .workbench-window:has(
3977
+ [data-agent-gui-workbench-header="true"][data-agent-gui-workbench-header-collapsed="false"]
3978
+ )
3979
+ .agent-gui-node__rail-toolbar {
3980
+ padding-top: var(--agent-gui-workbench-header-height);
3981
+ }
3982
+
3983
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3984
+ .agent-gui-node__detail-panel {
3985
+ position: relative;
3986
+ }
3987
+
3988
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3989
+ .agent-gui-node__detail-header {
3990
+ display: none;
3991
+ }
3992
+
3993
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3994
+ .agent-gui-node__detail {
3995
+ padding-top: var(--agent-gui-workbench-header-height);
3996
+ }
3997
+
3998
+ .workbench-window:has([data-agent-gui-workbench-header="true"])
3999
+ .agent-gui-node__timeline-with-composer {
4000
+ padding-top: 20px;
4001
+ }
4002
+
4003
+ .agent-gui-workbench-header {
4004
+ --agent-gui-workbench-header-rail-width: 280px;
4005
+ --agent-gui-workbench-header-padding-x: 16px;
4006
+ --agent-gui-workbench-header-agent-icon-radius: 5px;
4007
+ --agent-gui-workbench-header-agent-icon-size: 20px;
4008
+ --agent-gui-workbench-header-primary-gap: 12px;
4009
+ --agent-gui-workbench-header-traffic-light-gap: 8px;
4010
+ --agent-gui-workbench-header-traffic-light-size: 12px;
4011
+ --agent-gui-workbench-header-title-max-width: 280px;
4012
+ --agent-gui-workbench-header-text: var(--text-primary);
4013
+ --agent-gui-workbench-header-muted: var(--text-secondary);
4014
+
4015
+ display: grid;
4016
+ width: 100%;
4017
+ height: var(--agent-gui-workbench-header-height, 44px);
4018
+ min-height: var(--agent-gui-workbench-header-height, 44px);
4019
+ grid-template-columns:
4020
+ minmax(0, var(--agent-gui-workbench-header-rail-width))
4021
+ minmax(0, 1fr);
4022
+ align-items: center;
4023
+ background: transparent;
4024
+ color: var(--agent-gui-workbench-header-text);
4025
+ cursor: grab;
4026
+ pointer-events: auto;
4027
+ user-select: none;
4028
+ }
4029
+
4030
+ .agent-gui-workbench-header:active {
4031
+ cursor: grabbing;
4032
+ }
4033
+
4034
+ .agent-gui-workbench-header[data-agent-gui-workbench-header-collapsed="true"] {
4035
+ grid-template-columns: minmax(0, 1fr);
4036
+ }
4037
+
4038
+ .agent-gui-workbench-header__primary {
4039
+ display: flex;
4040
+ box-sizing: border-box;
4041
+ width: 100%;
4042
+ height: 100%;
4043
+ min-width: 0;
4044
+ align-items: center;
4045
+ gap: var(--agent-gui-workbench-header-primary-gap);
4046
+ padding: 0 var(--agent-gui-workbench-header-padding-x);
4047
+ background: var(--background-panel);
4048
+ pointer-events: auto;
4049
+ }
4050
+
4051
+ .agent-gui-workbench-header[data-agent-gui-workbench-header-collapsed="true"]
4052
+ .agent-gui-workbench-header__primary {
4053
+ width: min(100%, 720px);
4054
+ background: transparent;
4055
+ }
4056
+
4057
+ .agent-gui-workbench-header__traffic-lights {
4058
+ display: inline-flex;
4059
+ flex: 0 0 auto;
4060
+ align-items: center;
4061
+ gap: var(--agent-gui-workbench-header-traffic-light-gap);
4062
+ margin-right: 0;
4063
+ }
4064
+
4065
+ .agent-gui-workbench-header__traffic-light {
4066
+ display: inline-flex;
4067
+ width: var(--agent-gui-workbench-header-traffic-light-size);
4068
+ height: var(--agent-gui-workbench-header-traffic-light-size);
4069
+ flex: 0 0 auto;
4070
+ padding: 0;
4071
+ border: 0;
4072
+ border-radius: 999px;
4073
+ background: color-mix(in srgb, var(--text-tertiary) 72%, transparent);
4074
+ cursor: default;
4075
+ opacity: 0.78;
4076
+ }
4077
+
4078
+ .agent-gui-workbench-header__traffic-light:hover,
4079
+ .agent-gui-workbench-header__traffic-light:focus-visible {
4080
+ opacity: 1;
4081
+ outline: none;
4082
+ }
4083
+
4084
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="close"]:hover,
4085
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="close"]:focus-visible {
4086
+ background: #ff5f57;
4087
+ }
4088
+
4089
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="minimize"]:hover,
4090
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="minimize"]:focus-visible {
4091
+ background: #ffbd2e;
4092
+ }
4093
+
4094
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="maximize"]:hover,
4095
+ .agent-gui-workbench-header__traffic-light[data-agent-gui-workbench-traffic-light="maximize"]:focus-visible {
4096
+ background: #28c840;
4097
+ }
4098
+
4099
+ .agent-gui-workbench-header__agent-brand {
4100
+ display: inline-flex;
4101
+ min-width: 0;
4102
+ flex: 0 1 auto;
4103
+ align-items: center;
4104
+ gap: 8px;
4105
+ }
4106
+
4107
+ .agent-gui-workbench-header__agent-icon {
4108
+ width: var(--agent-gui-workbench-header-agent-icon-size);
4109
+ height: var(--agent-gui-workbench-header-agent-icon-size);
4110
+ flex: 0 0 auto;
4111
+ border-radius: var(--agent-gui-workbench-header-agent-icon-radius);
4112
+ object-fit: cover;
4113
+ }
4114
+
4115
+ .agent-gui-workbench-header__agent-name,
4116
+ .agent-gui-workbench-header__session-title,
4117
+ .agent-gui-workbench-header__detail-title {
4118
+ box-sizing: border-box;
4119
+ min-width: 0;
4120
+ color: var(--agent-gui-workbench-header-text);
4121
+ font-size: 15px;
4122
+ font-weight: 700;
4123
+ line-height: 20px;
4124
+ white-space: nowrap;
4125
+ }
4126
+
4127
+ .agent-gui-workbench-header__agent-name,
4128
+ .agent-gui-workbench-header__title-text {
4129
+ min-width: 0;
4130
+ max-width: 100%;
4131
+ overflow: hidden;
4132
+ text-overflow: ellipsis;
4133
+ white-space: nowrap;
4134
+ }
4135
+
4136
+ .agent-gui-workbench-header__agent-name {
4137
+ flex: 0 1 auto;
4138
+ max-width: 160px;
4139
+ }
4140
+
4141
+ .agent-gui-workbench-header__session-title {
4142
+ display: flex;
4143
+ flex: 1 1 auto;
4144
+ max-width: min(100%, var(--agent-gui-workbench-header-title-max-width));
4145
+ margin-left: 4px;
4146
+ }
4147
+
4148
+ .agent-gui-workbench-header__detail-title {
4149
+ display: flex;
4150
+ height: 100%;
4151
+ max-width: min(100%, var(--agent-gui-workbench-header-title-max-width));
4152
+ min-width: 0;
4153
+ align-items: center;
4154
+ padding: 0 20px;
4155
+ pointer-events: none;
4156
+ }
4157
+
4158
+ .agent-gui-workbench-header__icon-button {
4159
+ display: inline-flex !important;
4160
+ width: 28px !important;
4161
+ height: 28px !important;
4162
+ min-width: 28px !important;
4163
+ min-height: 28px !important;
4164
+ flex: 0 0 auto;
4165
+ align-items: center;
4166
+ justify-content: center;
4167
+ padding: 0 !important;
4168
+ border: 0 !important;
4169
+ border-radius: 6px !important;
4170
+ background: transparent !important;
4171
+ color: var(--agent-gui-workbench-header-muted) !important;
4172
+ cursor: pointer;
4173
+ }
4174
+
4175
+ .agent-gui-workbench-header__icon-button:hover,
4176
+ .agent-gui-workbench-header__icon-button:focus-visible {
4177
+ background: color-mix(
4178
+ in srgb,
4179
+ var(--text-primary) 8%,
4180
+ transparent
4181
+ ) !important;
4182
+ color: var(--agent-gui-workbench-header-text) !important;
4183
+ }
4184
+
4185
+ .agent-gui-workbench-header__rail-toggle {
4186
+ margin-left: auto;
4187
+ }
4188
+
4189
+ .agent-gui-workbench-header[data-agent-gui-workbench-header-collapsed="true"]
4190
+ .agent-gui-workbench-header__rail-toggle {
4191
+ margin-left: 0;
4192
+ }
4193
+
4194
+ .agent-gui-workbench-header__icon {
4195
+ width: 18px;
4196
+ height: 18px;
4197
+ flex: 0 0 auto;
4198
+ }
4199
+
3934
4200
  .agent-gui-node__rail-panel {
3935
4201
  position: relative;
3936
4202
  z-index: 2;
3937
4203
  min-width: 0;
3938
4204
  min-height: 0;
3939
4205
  height: 100%;
3940
- border-right: 1px solid var(--agent-gui-border-subtle, var(--line-2));
4206
+ border-right: 0;
3941
4207
  overflow: visible;
3942
4208
  isolation: isolate;
3943
4209
  }
3944
4210
 
3945
4211
  .agent-gui-node__rail-panel--collapsed {
3946
- border-right-color: transparent;
3947
4212
  pointer-events: none;
3948
4213
  }
3949
4214
 
@@ -3994,12 +4259,20 @@ aside.workspace-agents-status-panel
3994
4259
  }
3995
4260
 
3996
4261
  .agent-gui-node__detail-panel {
4262
+ display: flex;
4263
+ height: 100%;
3997
4264
  min-width: 0;
3998
4265
  min-height: 0;
3999
- height: 100%;
4000
- display: flex;
4001
4266
  flex-direction: column;
4002
4267
  overflow: hidden;
4268
+ border-radius: 16px;
4269
+ background: var(--agent-gui-background-1);
4270
+ }
4271
+
4272
+ .agent-gui-node__detail-panel > .agent-gui-node__detail {
4273
+ min-height: 0;
4274
+ border-radius: inherit;
4275
+ overflow: hidden;
4003
4276
  }
4004
4277
 
4005
4278
  .agent-gui-node__rail {
@@ -4067,7 +4340,7 @@ aside.workspace-agents-status-panel
4067
4340
  align-items: center;
4068
4341
  gap: 10px;
4069
4342
  min-width: 0;
4070
- padding: 16px;
4343
+ padding: 0 16px 16px;
4071
4344
  }
4072
4345
 
4073
4346
  .agent-gui-node__project-rail-header {
@@ -4310,6 +4583,12 @@ aside.workspace-agents-status-panel
4310
4583
  height: 18px;
4311
4584
  }
4312
4585
 
4586
+ .agent-gui-node__composer-reference-trigger {
4587
+ min-width: 36px;
4588
+ min-height: 36px;
4589
+ padding: 0;
4590
+ }
4591
+
4313
4592
  .agent-gui-node__composer-reference-trigger svg:first-child {
4314
4593
  width: 14px;
4315
4594
  height: 14px;
@@ -5160,10 +5439,11 @@ button.agent-gui-node__conversation-section-toggle:hover
5160
5439
  display: flex;
5161
5440
  flex: 1 1 auto;
5162
5441
  flex-direction: column;
5442
+ box-sizing: border-box;
5163
5443
  width: 100%;
5164
5444
  min-width: 0;
5165
5445
  min-height: 0;
5166
- background: transparent;
5446
+ background: inherit;
5167
5447
  }
5168
5448
 
5169
5449
  .agent-gui-node__timeline {
@@ -5243,20 +5523,6 @@ button.agent-gui-node__conversation-section-toggle:hover
5243
5523
  padding-top: 24px;
5244
5524
  padding-bottom: 32px;
5245
5525
  scroll-padding-bottom: 32px;
5246
- -webkit-mask-image: linear-gradient(
5247
- 180deg,
5248
- transparent 0,
5249
- rgb(0 0 0 / 0.18) 10px,
5250
- rgb(0 0 0 / 0.62) 26px,
5251
- black 44px
5252
- );
5253
- mask-image: linear-gradient(
5254
- 180deg,
5255
- transparent 0,
5256
- rgb(0 0 0 / 0.18) 10px,
5257
- rgb(0 0 0 / 0.62) 26px,
5258
- black 44px
5259
- );
5260
5526
  }
5261
5527
 
5262
5528
  .agent-gui-node__timeline-unavailable-chat-empty {
@@ -5725,7 +5991,7 @@ button.agent-gui-node__conversation-section-toggle:hover
5725
5991
  z-index: 4;
5726
5992
  margin-top: 0;
5727
5993
  padding: 0 12px 12px;
5728
- background: var(--agent-gui-surface);
5994
+ background: transparent;
5729
5995
  }
5730
5996
 
5731
5997
  .agent-gui-node__composer-hero {
@@ -5978,6 +6244,17 @@ html[data-theme="light"]
5978
6244
  box-shadow: none;
5979
6245
  }
5980
6246
 
6247
+ .workspace-agent-decision-toast__outcome-card {
6248
+ border: 1px solid var(--line-1);
6249
+ border-radius: 8px;
6250
+ background: var(--background-fronted);
6251
+ padding: 10px;
6252
+ }
6253
+
6254
+ .workspace-agent-decision-toast__outcome-card:hover {
6255
+ border-color: var(--line-2);
6256
+ }
6257
+
5981
6258
  .workspace-agent-decision-toast[data-sonner-toast][data-expanded="false"][data-front="false"] {
5982
6259
  --decision-toast-collapsed-offset: 0px;
5983
6260
  --decision-toast-collapsed-scale: 0.94;
@@ -7,10 +7,10 @@ import {
7
7
  AgentGUIConversation_styles_default,
8
8
  MessageSquareMoreIcon,
9
9
  extractAgentMcpToolTarget
10
- } from "./chunk-WC34LVH6.js";
10
+ } from "./chunk-OLZP2EFK.js";
11
11
  import {
12
12
  Spinner
13
- } from "./chunk-Y2DQJPTL.js";
13
+ } from "./chunk-42WP3P5C.js";
14
14
  import {
15
15
  getOptionalAgentHostApi,
16
16
  useOptionalAgentHostApi
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-GCBDIQDX.js";
21
21
  import {
22
22
  translate
23
- } from "./chunk-WJPEKD3F.js";
23
+ } from "./chunk-LKOPLDPM.js";
24
24
 
25
25
  // shared/agentConversation/approvalOptionPresentation.ts
26
26
  function approvalOptionDisplayLabel(option, intent = {}) {
@@ -1213,4 +1213,4 @@ export {
1213
1213
  isPromptRequestIdTitle,
1214
1214
  AgentInteractivePromptSurface
1215
1215
  };
1216
- //# sourceMappingURL=chunk-UUM2GZXH.js.map
1216
+ //# sourceMappingURL=chunk-3PVSIL3H.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  translate,
3
3
  useTranslation
4
- } from "./chunk-WJPEKD3F.js";
4
+ } from "./chunk-LKOPLDPM.js";
5
5
  import {
6
6
  resolveAgentMentionFileThumbnailUrl,
7
7
  resolveAgentMentionFileVisualKind
@@ -1205,4 +1205,4 @@ export {
1205
1205
  mentionItemToAttrs,
1206
1206
  attrsToMentionItem
1207
1207
  };
1208
- //# sourceMappingURL=chunk-RE3AHBX6.js.map
1208
+ //# sourceMappingURL=chunk-3WZWZHAJ.js.map
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-MTFSQWZ6.js";
15
15
  import {
16
16
  translate
17
- } from "./chunk-WJPEKD3F.js";
17
+ } from "./chunk-LKOPLDPM.js";
18
18
 
19
19
  // shared/managedAgentProviders.ts
20
20
  function normalizeManagedAgentProvider(provider) {
@@ -113,4 +113,4 @@ export {
113
113
  userAvatarPlaceholderUrl,
114
114
  workspaceAgentActivityStatusLabel
115
115
  };
116
- //# sourceMappingURL=chunk-Y2DQJPTL.js.map
116
+ //# sourceMappingURL=chunk-42WP3P5C.js.map
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  translate,
16
16
  translateInUiLanguage
17
- } from "./chunk-WJPEKD3F.js";
17
+ } from "./chunk-LKOPLDPM.js";
18
18
 
19
19
  // shared/workspaceAgentActivityListViewModel.ts
20
20
  import { normalizeAgentActivityDisplayStatus } from "@tutti-os/agent-activity-core";
@@ -105,6 +105,9 @@ function selectWorkspaceAgentActivityOverlayMessages(input) {
105
105
  if (clientSubmitId !== null && durableClientSubmitIds.has(clientSubmitId)) {
106
106
  return false;
107
107
  }
108
+ if (clientSubmitId !== null) {
109
+ return true;
110
+ }
108
111
  const signature = workspaceAgentActivityUserPromptSignature(message);
109
112
  return signature === null || !durableUserPromptSignatures.has(signature);
110
113
  }
@@ -990,4 +993,4 @@ export {
990
993
  resolveWorkspaceAgentActivityStatus,
991
994
  resolveWorkspaceAgentActivityTitle
992
995
  };
993
- //# sourceMappingURL=chunk-Y5SE2XMU.js.map
996
+ //# sourceMappingURL=chunk-5LVFYNIP.js.map