@trismegisto/core 3.3.5 → 3.3.6

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 (2) hide show
  1. package/dist/core.css +378 -22
  2. package/package.json +1 -1
package/dist/core.css CHANGED
@@ -3627,11 +3627,9 @@ hm-header {
3627
3627
  .hm-header__actions {
3628
3628
  --hm-control-height: var(--hm-header-action-size);
3629
3629
  display: flex;
3630
- flex: 0 1 auto;
3630
+ flex: none;
3631
3631
  align-items: center;
3632
3632
  gap: var(--hm-header-action-gap);
3633
- min-inline-size: 0;
3634
- margin-inline-start: auto;
3635
3633
  }
3636
3634
 
3637
3635
  .hm-header__shortcuts:empty,
@@ -3676,11 +3674,12 @@ hm-header {
3676
3674
  --glow-rest: color-mix(in srgb, var(--hm-accent) calc(var(--hm-opacity-faint) * 100%), transparent);
3677
3675
  --glow-peak: color-mix(in srgb, var(--hm-accent) calc(var(--hm-opacity-glow) * 300%), transparent);
3678
3676
  display: flex;
3679
- flex: 1 1 auto;
3677
+ flex: 0 1000 38.75rem;
3680
3678
  align-items: center;
3681
3679
  gap: var(--hm-space-xs);
3682
- min-inline-size: 0;
3680
+ min-inline-size: calc(var(--hm-header-action-size) * 3);
3683
3681
  block-size: calc(var(--hm-header-action-size) - var(--hm-space-xs));
3682
+ margin-inline: auto;
3684
3683
  padding-block: 0;
3685
3684
  padding-inline: var(--hm-space-sm);
3686
3685
  border-width: var(--hm-border-thin);
@@ -3746,29 +3745,15 @@ hm-header {
3746
3745
  display: none;
3747
3746
  }
3748
3747
  .hm-header__actions {
3748
+ flex: 0 1 auto;
3749
3749
  gap: var(--hm-space-xs);
3750
+ min-inline-size: 0;
3751
+ margin-inline-start: auto;
3750
3752
  }
3751
3753
  .hm-header__brand span {
3752
3754
  display: none;
3753
3755
  }
3754
3756
  }
3755
- @media (min-width: 1400px) {
3756
- .hm-header {
3757
- display: grid;
3758
- grid-template-columns: minmax(0, 1fr) minmax(0, 38.75rem) minmax(0, 1fr);
3759
- }
3760
- .hm-header__lead {
3761
- grid-column: 1;
3762
- }
3763
- .hm-header__search {
3764
- grid-column: 2;
3765
- }
3766
- .hm-header__actions {
3767
- grid-column: 3;
3768
- justify-self: end;
3769
- margin-inline-start: 0;
3770
- }
3771
- }
3772
3757
  @media (prefers-reduced-motion: reduce) {
3773
3758
  :where(:root:not([data-motion])) .hm-header__search {
3774
3759
  animation: none;
@@ -22093,6 +22078,377 @@ hm-slider {
22093
22078
  color: GrayText;
22094
22079
  }
22095
22080
  }
22081
+ .hm-trace {
22082
+ display: flex;
22083
+ flex-direction: column;
22084
+ gap: var(--hm-space-micro);
22085
+ min-inline-size: 0;
22086
+ }
22087
+
22088
+ .hm-trace-item {
22089
+ display: block;
22090
+ min-inline-size: 0;
22091
+ color: var(--hm-muted);
22092
+ font-size: var(--hm-font-size-xs);
22093
+ }
22094
+ .hm-trace-item[data-status=running] {
22095
+ color: var(--hm-text);
22096
+ }
22097
+ .hm-trace-item[data-status=error] .hm-trace-item__mark {
22098
+ color: var(--hm-danger);
22099
+ }
22100
+ .hm-trace-item__line {
22101
+ display: flex;
22102
+ align-items: center;
22103
+ gap: var(--hm-space-xs);
22104
+ inline-size: 100%;
22105
+ padding: var(--hm-space-micro) 0;
22106
+ color: inherit;
22107
+ font: inherit;
22108
+ text-align: start;
22109
+ }
22110
+ .hm-trace-item__line--button {
22111
+ border: 0;
22112
+ border-radius: var(--hm-radius-micro);
22113
+ background: transparent;
22114
+ cursor: pointer;
22115
+ }
22116
+ .hm-trace-item__line--button:hover {
22117
+ color: var(--hm-text);
22118
+ }
22119
+ .hm-trace-item__line--button[aria-expanded=true] .hm-trace-item__chevron {
22120
+ transform: none;
22121
+ }
22122
+ .hm-trace-item__mark {
22123
+ --hm-icon-size: var(--hm-font-size-sm);
22124
+ display: inline-flex;
22125
+ flex: none;
22126
+ }
22127
+ .hm-trace-item__text {
22128
+ display: flex;
22129
+ flex: 1;
22130
+ flex-wrap: wrap;
22131
+ gap: 0 var(--hm-space-xs);
22132
+ min-inline-size: 0;
22133
+ overflow-wrap: anywhere;
22134
+ }
22135
+ .hm-trace-item__detail {
22136
+ opacity: 0.8;
22137
+ }
22138
+ .hm-trace-item__status {
22139
+ position: absolute;
22140
+ inline-size: 1px;
22141
+ block-size: 1px;
22142
+ overflow: hidden;
22143
+ clip-path: inset(50%);
22144
+ white-space: nowrap;
22145
+ }
22146
+ .hm-trace-item__chevron {
22147
+ --hm-icon-size: var(--hm-font-size-sm);
22148
+ flex: none;
22149
+ transform: rotate(180deg);
22150
+ transition: transform var(--hm-duration-quick) var(--hm-ease-standard);
22151
+ }
22152
+ .hm-trace-item__panel {
22153
+ margin-block: var(--hm-space-micro) var(--hm-space-xs);
22154
+ margin-inline-start: calc(var(--hm-font-size-sm) + var(--hm-space-xs));
22155
+ color: var(--hm-text);
22156
+ }
22157
+
22158
+ @media (prefers-reduced-motion: reduce) {
22159
+ :where(:root:not([data-motion])) .hm-trace-item__chevron {
22160
+ transition: none;
22161
+ }
22162
+ }
22163
+ :where(:root[data-motion=reduce]) .hm-trace-item__chevron {
22164
+ transition: none;
22165
+ }
22166
+
22167
+ .hm-prompt-suggestions {
22168
+ display: flex;
22169
+ flex-wrap: wrap;
22170
+ gap: var(--hm-space-xs);
22171
+ min-inline-size: 0;
22172
+ }
22173
+ .hm-prompt-suggestions .hm-btn {
22174
+ block-size: auto;
22175
+ min-block-size: var(--hm-control-height);
22176
+ white-space: normal;
22177
+ text-align: start;
22178
+ }
22179
+
22180
+ .hm-agent-disclosure {
22181
+ display: block;
22182
+ min-inline-size: 0;
22183
+ }
22184
+ .hm-agent-disclosure__trigger {
22185
+ display: flex;
22186
+ align-items: center;
22187
+ gap: var(--hm-space-xs);
22188
+ inline-size: 100%;
22189
+ padding: var(--hm-space-micro) 0;
22190
+ border: 0;
22191
+ border-radius: var(--hm-radius-micro);
22192
+ background: transparent;
22193
+ color: var(--hm-muted);
22194
+ font: inherit;
22195
+ font-size: var(--hm-font-size-xs);
22196
+ text-align: start;
22197
+ cursor: pointer;
22198
+ }
22199
+ .hm-agent-disclosure__trigger:hover {
22200
+ color: var(--hm-text);
22201
+ }
22202
+ .hm-agent-disclosure__trigger[aria-expanded=true] .hm-agent-disclosure__chevron {
22203
+ transform: none;
22204
+ }
22205
+ .hm-agent-disclosure__icon, .hm-agent-disclosure__chevron {
22206
+ --hm-icon-size: var(--hm-font-size-sm);
22207
+ flex: none;
22208
+ }
22209
+ .hm-agent-disclosure__chevron {
22210
+ transform: rotate(180deg);
22211
+ transition: transform var(--hm-duration-quick) var(--hm-ease-standard);
22212
+ }
22213
+ .hm-agent-disclosure__heading {
22214
+ min-inline-size: 0;
22215
+ overflow-wrap: anywhere;
22216
+ }
22217
+ .hm-agent-disclosure__detail {
22218
+ flex: 1;
22219
+ min-inline-size: 0;
22220
+ opacity: 0.8;
22221
+ }
22222
+ .hm-agent-disclosure__panel {
22223
+ padding-block: var(--hm-space-micro) var(--hm-space-xs);
22224
+ padding-inline-start: calc(var(--hm-font-size-sm) + var(--hm-space-xs));
22225
+ font-size: var(--hm-font-size-sm);
22226
+ }
22227
+
22228
+ @media (prefers-reduced-motion: reduce) {
22229
+ :where(:root:not([data-motion])) .hm-agent-disclosure__chevron {
22230
+ transition: none;
22231
+ }
22232
+ }
22233
+ :where(:root[data-motion=reduce]) .hm-agent-disclosure__chevron {
22234
+ transition: none;
22235
+ }
22236
+
22237
+ .hm-agent-card {
22238
+ display: flex;
22239
+ flex-wrap: wrap;
22240
+ align-items: center;
22241
+ gap: var(--hm-space-sm);
22242
+ min-inline-size: 0;
22243
+ padding: var(--hm-space-sm);
22244
+ border: var(--hm-border-hairline) solid var(--hm-divider);
22245
+ border-radius: var(--hm-radius);
22246
+ background: var(--hm-surface-raised);
22247
+ color: var(--hm-text);
22248
+ font-size: var(--hm-font-size-sm);
22249
+ }
22250
+ .hm-agent-card--column {
22251
+ flex-direction: column;
22252
+ align-items: stretch;
22253
+ flex-wrap: nowrap;
22254
+ gap: var(--hm-space-xs);
22255
+ }
22256
+ .hm-agent-card__icon {
22257
+ --hm-icon-size: var(--hm-font-size-lg);
22258
+ flex: none;
22259
+ color: var(--hm-muted);
22260
+ }
22261
+ .hm-agent-card__body {
22262
+ flex: 1 1 calc(var(--hm-space-3xl) * 4);
22263
+ min-inline-size: 0;
22264
+ }
22265
+ .hm-agent-card__heading, .hm-agent-card__description {
22266
+ margin: 0;
22267
+ overflow-wrap: anywhere;
22268
+ }
22269
+ .hm-agent-card__heading {
22270
+ font-weight: var(--hm-font-weight-medium);
22271
+ }
22272
+ .hm-agent-card__description {
22273
+ color: var(--hm-muted);
22274
+ font-size: var(--hm-font-size-xs);
22275
+ }
22276
+ .hm-agent-card__actions {
22277
+ display: flex;
22278
+ flex: none;
22279
+ align-items: center;
22280
+ gap: var(--hm-space-xs);
22281
+ }
22282
+
22283
+ .hm-tool-confirmation__result {
22284
+ color: var(--hm-muted);
22285
+ font-size: var(--hm-font-size-xs);
22286
+ font-weight: var(--hm-font-weight-medium);
22287
+ }
22288
+
22289
+ .hm-agent-sources {
22290
+ display: block;
22291
+ }
22292
+ .hm-agent-sources__list {
22293
+ display: flex;
22294
+ flex-direction: column;
22295
+ gap: var(--hm-space-xs);
22296
+ margin: 0;
22297
+ padding: 0;
22298
+ list-style: none;
22299
+ }
22300
+ .hm-agent-sources__link {
22301
+ color: var(--hm-accent-strong);
22302
+ overflow-wrap: anywhere;
22303
+ }
22304
+ .hm-agent-sources__description {
22305
+ margin: 0;
22306
+ color: var(--hm-muted);
22307
+ font-size: var(--hm-font-size-xs);
22308
+ }
22309
+
22310
+ .hm-inline-citation {
22311
+ display: inline;
22312
+ }
22313
+ .hm-inline-citation__trigger {
22314
+ display: inline-flex;
22315
+ align-items: center;
22316
+ justify-content: center;
22317
+ min-inline-size: 1.6em;
22318
+ padding: 0 var(--hm-space-micro);
22319
+ border: var(--hm-border-hairline) solid var(--hm-divider);
22320
+ border-radius: var(--hm-radius-pill);
22321
+ background: transparent;
22322
+ color: var(--hm-accent-strong);
22323
+ font: inherit;
22324
+ font-size: var(--hm-font-size-xs);
22325
+ line-height: 1.4;
22326
+ vertical-align: baseline;
22327
+ cursor: pointer;
22328
+ }
22329
+
22330
+ .hm-reasoning,
22331
+ .hm-agent-task,
22332
+ .hm-chain-of-thought,
22333
+ .hm-subagent {
22334
+ display: block;
22335
+ min-inline-size: 0;
22336
+ }
22337
+
22338
+ .hm-reasoning__content {
22339
+ color: var(--hm-muted);
22340
+ white-space: pre-wrap;
22341
+ overflow-wrap: anywhere;
22342
+ }
22343
+
22344
+ .hm-subagent[data-status=error] .hm-agent-disclosure__icon {
22345
+ color: var(--hm-danger);
22346
+ }
22347
+
22348
+ .hm-agent-queue__title {
22349
+ margin: 0;
22350
+ color: var(--hm-muted);
22351
+ font-size: var(--hm-font-size-xs);
22352
+ font-weight: var(--hm-font-weight-medium);
22353
+ }
22354
+ .hm-agent-queue__list {
22355
+ display: flex;
22356
+ flex-direction: column;
22357
+ gap: var(--hm-space-micro);
22358
+ margin: 0;
22359
+ padding: 0;
22360
+ list-style: none;
22361
+ }
22362
+ .hm-agent-queue__item {
22363
+ --hm-icon-size: var(--hm-font-size-sm);
22364
+ display: flex;
22365
+ align-items: center;
22366
+ gap: var(--hm-space-xs);
22367
+ overflow-wrap: anywhere;
22368
+ }
22369
+ .hm-agent-queue__item--done {
22370
+ color: var(--hm-muted);
22371
+ text-decoration: line-through;
22372
+ }
22373
+
22374
+ .hm-context-usage,
22375
+ .hm-model-selector,
22376
+ .hm-file-tree,
22377
+ .hm-agent-terminal {
22378
+ display: block;
22379
+ min-inline-size: 0;
22380
+ }
22381
+
22382
+ .hm-checkpoint {
22383
+ display: flex;
22384
+ align-items: center;
22385
+ gap: var(--hm-space-sm);
22386
+ color: var(--hm-muted);
22387
+ font-size: var(--hm-font-size-xs);
22388
+ }
22389
+ .hm-checkpoint::before, .hm-checkpoint::after {
22390
+ flex: 1;
22391
+ border-block-start: var(--hm-border-hairline) solid var(--hm-divider);
22392
+ content: "";
22393
+ }
22394
+
22395
+ .hm-file-tree__name {
22396
+ min-inline-size: 0;
22397
+ overflow-wrap: anywhere;
22398
+ }
22399
+ .hm-file-tree__status {
22400
+ margin-inline-start: var(--hm-space-xs);
22401
+ color: var(--hm-muted);
22402
+ font-size: var(--hm-font-size-xs);
22403
+ }
22404
+ .hm-file-tree__status[data-status=deleted] {
22405
+ color: var(--hm-danger);
22406
+ }
22407
+
22408
+ .hm-agent-terminal__status {
22409
+ margin: var(--hm-space-micro) 0 0;
22410
+ color: var(--hm-muted);
22411
+ font-size: var(--hm-font-size-xs);
22412
+ }
22413
+ .hm-agent-terminal__status[data-failed] {
22414
+ color: var(--hm-danger);
22415
+ }
22416
+
22417
+ .hm-test-results__summary {
22418
+ display: flex;
22419
+ flex-wrap: wrap;
22420
+ gap: var(--hm-space-sm);
22421
+ margin: 0;
22422
+ font-weight: var(--hm-font-weight-medium);
22423
+ }
22424
+
22425
+ .hm-agent-pre {
22426
+ margin: 0;
22427
+ font-size: var(--hm-font-size-xs);
22428
+ white-space: pre-wrap;
22429
+ overflow-wrap: anywhere;
22430
+ }
22431
+
22432
+ .hm-stack-trace__error {
22433
+ margin: 0;
22434
+ color: var(--hm-danger);
22435
+ overflow-wrap: anywhere;
22436
+ }
22437
+ .hm-stack-trace__frames {
22438
+ display: flex;
22439
+ flex-direction: column;
22440
+ gap: var(--hm-space-micro);
22441
+ margin: 0;
22442
+ padding: 0;
22443
+ font-size: var(--hm-font-size-xs);
22444
+ list-style: none;
22445
+ overflow-wrap: anywhere;
22446
+ }
22447
+ .hm-stack-trace__file {
22448
+ margin-inline-start: var(--hm-space-xs);
22449
+ color: var(--hm-muted);
22450
+ }
22451
+
22096
22452
  hm-copy-button {
22097
22453
  display: inline-flex;
22098
22454
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trismegisto/core",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Hermes — CSS dos componentes (classes hm-*), independente de framework.",
6
6
  "sideEffects": true,