@puckeditor/plugin-ai 0.8.0-canary.184a515d → 0.8.0-canary.39b7e05f

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/index.css CHANGED
@@ -274,11 +274,11 @@ p {
274
274
  }
275
275
 
276
276
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
277
- ._ActionModal_r3pvy_1 {
277
+ ._ActionModal_1g44k_1 {
278
278
  display: block;
279
279
  min-width: 356px;
280
280
  }
281
- ._ActionModal-header_r3pvy_6 {
281
+ ._ActionModal-header_1g44k_6 {
282
282
  color: var(--puck-color-grey-02);
283
283
  display: flex;
284
284
  justify-content: center;
@@ -288,11 +288,14 @@ p {
288
288
  padding: 24px;
289
289
  padding-bottom: 16px;
290
290
  }
291
- ._ActionModal-body_r3pvy_17 {
291
+ ._ActionModal-body_1g44k_17 {
292
+ display: flex;
293
+ flex-direction: column;
294
+ gap: 16px;
292
295
  padding: 24px;
293
296
  padding-top: 8px;
294
297
  }
295
- ._ActionModal-footer_r3pvy_22 {
298
+ ._ActionModal-footer_1g44k_25 {
296
299
  border-top: 1px solid var(--puck-color-grey-09);
297
300
  background-color: var(--puck-color-grey-12);
298
301
  display: flex;
@@ -330,7 +333,7 @@ p {
330
333
  }
331
334
 
332
335
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
333
- ._Button_1tog0_1 {
336
+ ._Button_16opg_1 {
334
337
  appearance: none;
335
338
  background: none;
336
339
  border: 1px solid transparent;
@@ -352,28 +355,32 @@ p {
352
355
  white-space: nowrap;
353
356
  margin: 0;
354
357
  }
355
- ._Button_1tog0_1:hover,
356
- ._Button_1tog0_1:active {
358
+ ._Button_16opg_1:hover,
359
+ ._Button_16opg_1:active {
357
360
  transition: none;
358
361
  }
359
- ._Button_1tog0_1:focus-visible {
362
+ ._Button_16opg_1:focus-visible {
360
363
  outline: 2px solid var(--puck-color-azure-05);
361
364
  outline-offset: 2px;
362
365
  }
363
- ._Button--medium_1tog0_34 {
366
+ ._Button--small_16opg_34 {
367
+ font-size: 12px;
368
+ padding: 2px 8px;
369
+ }
370
+ ._Button--medium_16opg_39 {
364
371
  min-height: 34px;
365
372
  padding-bottom: 7px;
366
373
  padding-left: 15px;
367
374
  padding-right: 15px;
368
375
  padding-top: 7px;
369
376
  }
370
- ._Button--large_1tog0_42 {
377
+ ._Button--large_16opg_47 {
371
378
  padding-bottom: 11px;
372
379
  padding-left: 19px;
373
380
  padding-right: 19px;
374
381
  padding-top: 11px;
375
382
  }
376
- ._Button--brand_1tog0_49 {
383
+ ._Button--brand_16opg_54 {
377
384
  background-image:
378
385
  linear-gradient(
379
386
  210deg,
@@ -383,53 +390,53 @@ p {
383
390
  border: none;
384
391
  }
385
392
  @media (hover: hover) and (pointer: fine) {
386
- ._Button--brand_1tog0_49:hover {
393
+ ._Button--brand_16opg_54:hover {
387
394
  opacity: 0.8;
388
395
  }
389
396
  }
390
- ._Button--brand_1tog0_49:active {
397
+ ._Button--brand_16opg_54:active {
391
398
  opacity: 0.8;
392
399
  }
393
- ._Button--primary_1tog0_69 {
400
+ ._Button--primary_16opg_74 {
394
401
  background: var(--puck-color-azure-04);
395
402
  }
396
403
  @media (hover: hover) and (pointer: fine) {
397
- ._Button--primary_1tog0_69:hover {
404
+ ._Button--primary_16opg_74:hover {
398
405
  background-color: var(--puck-color-azure-03);
399
406
  }
400
407
  }
401
- ._Button--primary_1tog0_69:active {
408
+ ._Button--primary_16opg_74:active {
402
409
  background-color: var(--puck-color-azure-02);
403
410
  }
404
- ._Button--secondary_1tog0_83 {
411
+ ._Button--secondary_16opg_88 {
405
412
  border: 1px solid currentColor;
406
413
  color: currentColor;
407
414
  }
408
415
  @media (hover: hover) and (pointer: fine) {
409
- ._Button--secondary_1tog0_83:hover {
416
+ ._Button--secondary_16opg_88:hover {
410
417
  background-color: var(--puck-color-azure-12);
411
418
  color: var(--puck-color-black);
412
419
  }
413
420
  }
414
- ._Button--secondary_1tog0_83:active {
421
+ ._Button--secondary_16opg_88:active {
415
422
  background-color: var(--puck-color-azure-11);
416
423
  color: var(--puck-color-black);
417
424
  }
418
- ._Button--danger_1tog0_100 {
425
+ ._Button--danger_16opg_105 {
419
426
  background: var(--puck-color-red-04);
420
427
  }
421
428
  @media (hover: hover) and (pointer: fine) {
422
- ._Button--danger_1tog0_100:hover {
429
+ ._Button--danger_16opg_105:hover {
423
430
  background-color: var(--puck-color-red-03);
424
431
  }
425
432
  }
426
- ._Button--danger_1tog0_100:active {
433
+ ._Button--danger_16opg_105:active {
427
434
  background-color: var(--puck-color-red-02);
428
435
  }
429
- ._Button--flush_1tog0_114 {
436
+ ._Button--flush_16opg_119 {
430
437
  border-radius: 0;
431
438
  }
432
- ._Button--ghost_1tog0_118 {
439
+ ._Button--ghost_16opg_123 {
433
440
  align-items: center;
434
441
  background-color: transparent;
435
442
  border: none;
@@ -438,26 +445,26 @@ p {
438
445
  display: flex;
439
446
  }
440
447
  @media (hover: hover) and (pointer: fine) {
441
- ._Button--ghost_1tog0_118:hover {
448
+ ._Button--ghost_16opg_123:hover {
442
449
  background-color: var(--puck-color-grey-11);
443
450
  color: var(--puck-color-azure-04);
444
451
  cursor: pointer;
445
452
  }
446
453
  }
447
- ._Button--disabled_1tog0_135,
448
- ._Button--disabled_1tog0_135:hover,
449
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135,
450
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135:hover {
454
+ ._Button--disabled_16opg_140,
455
+ ._Button--disabled_16opg_140:hover,
456
+ ._Button--secondary_16opg_88._Button--disabled_16opg_140,
457
+ ._Button--secondary_16opg_88._Button--disabled_16opg_140:hover {
451
458
  background-color: var(--puck-color-grey-12);
452
459
  border-color: var(--puck-color-grey-08);
453
460
  color: var(--puck-color-grey-07);
454
461
  cursor: not-allowed;
455
462
  }
456
- ._Button--fullWidth_1tog0_145 {
463
+ ._Button--fullWidth_16opg_150 {
457
464
  justify-content: center;
458
465
  width: 100%;
459
466
  }
460
- ._Button-spinner_1tog0_150 {
467
+ ._Button-spinner_16opg_155 {
461
468
  padding-left: 8px;
462
469
  }
463
470
 
@@ -1073,215 +1080,187 @@ button._Menu-item_1tu16_55:hover {
1073
1080
  }
1074
1081
 
1075
1082
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1076
- ._PlanGrid--loading_97rn7_1 {
1077
- opacity: 0;
1078
- }
1079
- ._PlanGrid-grid_97rn7_5 {
1083
+ ._PlanGrid_1ar8g_1 {
1080
1084
  color: var(--puck-color-grey-02);
1081
- display: grid;
1082
- gap: 16px;
1083
1085
  text-align: left;
1084
- @media (min-width: 768px) {
1085
- grid-template-columns: 1fr 1fr 1fr;
1086
- }
1086
+ position: relative;
1087
+ z-index: 0;
1087
1088
  }
1088
- ._PlanGrid-enterprise_97rn7_16 {
1089
- color: var(--puck-color-grey-04);
1090
- font-size: var(--puck-font-size-xxs);
1091
- margin-left: auto;
1092
- margin-right: auto;
1093
- padding-inline: 4px;
1094
- padding-top: 20px;
1095
- text-align: center;
1089
+ ._PlanGrid-billingNote_1ar8g_8,
1090
+ ._PlanGrid-planKicker_1ar8g_9 {
1091
+ font-size: var(--puck-font-size-xxxs);
1092
+ letter-spacing: 0.12em;
1096
1093
  }
1097
- ._PlanGrid-enterprise_97rn7_16 a {
1098
- color: var(--puck-color-azure-04);
1099
- cursor: pointer;
1100
- font-weight: 500;
1094
+ ._PlanGrid-billingNote_1ar8g_8 {
1095
+ color: var(--puck-color-grey-05);
1101
1096
  }
1102
-
1103
- /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1104
- ._PlanCard_16zmu_1 {
1097
+ ._PlanGrid-tableWrapper_1ar8g_18 {
1105
1098
  border: 1px solid var(--puck-color-grey-09);
1106
1099
  border-radius: 16px;
1107
- display: flex;
1108
- gap: 8px;
1109
- flex-direction: column;
1110
- min-width: 256px;
1111
- padding: 8px;
1112
- position: relative;
1100
+ overflow-x: auto;
1113
1101
  }
1114
- ._PlanCard--enterprise_16zmu_12 {
1115
- flex-direction: row;
1116
- grid-column: span 3;
1102
+ ._PlanGrid-table_1ar8g_18 {
1103
+ border-collapse: separate;
1104
+ border-spacing: 0;
1105
+ max-width: 1440px;
1106
+ min-width: 880px;
1107
+ table-layout: fixed;
1108
+ width: 100%;
1117
1109
  }
1118
- ._PlanCard-title_16zmu_17 {
1119
- display: flex;
1120
- gap: 8px;
1121
- justify-content: space-between;
1122
- font-size: var(--puck-font-size-xs);
1123
- font-weight: 700;
1110
+ ._PlanGrid-caption_1ar8g_33 {
1111
+ clip: rect(0 0 0 0);
1112
+ clip-path: inset(50%);
1113
+ height: 1px;
1114
+ overflow: hidden;
1115
+ position: absolute;
1124
1116
  white-space: nowrap;
1117
+ width: 1px;
1125
1118
  }
1126
- ._PlanCard-header_16zmu_26 {
1127
- box-sizing: border-box;
1128
- display: flex;
1129
- flex-direction: column;
1130
- gap: 4px;
1131
- padding: 12px 16px;
1132
- width: 100%;
1119
+ ._PlanGrid-featureHeader_1ar8g_43,
1120
+ ._PlanGrid-featureName_1ar8g_44,
1121
+ ._PlanGrid-planHeader_1ar8g_45,
1122
+ ._PlanGrid-featureValue_1ar8g_46 {
1123
+ border-bottom: 1px solid var(--puck-color-grey-09);
1124
+ border-right: 1px solid var(--puck-color-grey-09);
1133
1125
  }
1134
- ._PlanCard-features_16zmu_35 {
1135
- display: grid;
1136
- gap: 4px;
1137
- list-style: none;
1138
- margin: 0;
1126
+ ._PlanGrid-featureHeader_1ar8g_43,
1127
+ ._PlanGrid-featureName_1ar8g_44 {
1128
+ background: var(--puck-color-white);
1129
+ position: sticky;
1130
+ left: 0;
1131
+ width: 24%;
1132
+ z-index: 2;
1133
+ }
1134
+ ._PlanGrid-featureHeader_1ar8g_43 {
1135
+ font-size: var(--puck-font-size-s);
1136
+ padding: 28px 24px;
1137
+ text-align: left;
1138
+ vertical-align: top;
1139
+ }
1140
+ ._PlanGrid-planHeader_1ar8g_45 {
1141
+ background: var(--puck-color-white);
1142
+ height: 336px;
1139
1143
  padding: 0;
1144
+ text-align: left;
1145
+ vertical-align: top;
1146
+ width: 25.333%;
1140
1147
  }
1141
- ._PlanCard-feature_16zmu_35 {
1142
- align-items: center;
1148
+ ._PlanGrid-planHeaderInner_1ar8g_76 {
1149
+ box-sizing: border-box;
1143
1150
  display: flex;
1144
- gap: 4px;
1145
- color: var(--puck-color-grey-05);
1146
- font-size: var(--puck-font-size-xxs);
1147
- }
1148
- ._PlanCard-featureIcon_16zmu_51 {
1149
- align-self: flex-start;
1150
- margin-top: 5px;
1151
+ flex-direction: column;
1152
+ height: 100%;
1153
+ padding: 28px 24px 24px;
1151
1154
  }
1152
- ._PlanCard-featureTitle_16zmu_56 {
1153
- color: var(--puck-color-grey-04);
1154
- font-weight: 600;
1155
+ ._PlanGrid-planKicker_1ar8g_9 {
1156
+ color: var(--puck-color-azure-04);
1157
+ font-weight: 700;
1158
+ min-height: 20px;
1159
+ text-transform: uppercase;
1155
1160
  }
1156
- ._PlanCard-priceValue_16zmu_61 {
1157
- font-size: var(--puck-font-size-m);
1161
+ ._PlanGrid-planTitle_1ar8g_91 {
1162
+ font-size: var(--puck-font-size-l);
1163
+ line-height: 1.2;
1164
+ margin: 12px 0 0;
1158
1165
  }
1159
- ._PlanCard-priceInterval_16zmu_65 {
1166
+ ._PlanGrid-planDescription_1ar8g_97 {
1160
1167
  color: var(--puck-color-grey-05);
1168
+ font-size: var(--puck-font-size-xxs);
1169
+ margin: 8px 0 0;
1170
+ min-height: 44px;
1171
+ font-weight: 400;
1161
1172
  }
1162
- ._PlanCard-body_16zmu_69 {
1163
- background-color: var(--puck-color-grey-12);
1164
- border: 1px solid var(--puck-color-grey-11);
1165
- border-radius: 8px;
1166
- padding: 16px;
1167
- flex-grow: 1;
1173
+ ._PlanGrid-priceBlock_1ar8g_105 {
1174
+ margin-top: auto;
1175
+ padding: 20px 0 16px;
1168
1176
  }
1169
- ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1177
+ ._PlanGrid-price_1ar8g_105 {
1178
+ align-items: baseline;
1170
1179
  display: flex;
1171
- gap: 8px;
1172
- width: 100%;
1173
- }
1174
- ._PlanCard-section_16zmu_83 {
1175
- padding-bottom: 16px;
1176
- min-width: 192px;
1177
- }
1178
- ._PlanCard-section_16zmu_83:last-of-type {
1179
- padding-bottom: 0;
1180
- }
1181
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1182
- border-top: 1px solid var(--puck-color-grey-09);
1183
- padding-top: 16px;
1184
- }
1185
- ._PlanCard--enterprise_16zmu_12 {
1186
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1187
- border-left: 1px solid var(--puck-color-grey-09);
1188
- border-top: none;
1189
- padding-left: 16px;
1190
- padding-top: 0;
1191
- }
1180
+ gap: 4px;
1181
+ white-space: nowrap;
1192
1182
  }
1193
- ._PlanCard-sectionTitle_16zmu_106 {
1183
+ ._PlanGrid-standardPrice_1ar8g_117 {
1184
+ color: var(--puck-color-grey-06);
1194
1185
  font-size: var(--puck-font-size-xs);
1195
1186
  font-weight: 500;
1196
- margin-bottom: 8px;
1187
+ text-decoration: line-through;
1197
1188
  }
1198
- ._PlanCard-sectionBody_16zmu_112 + ._PlanCard-sectionTitle_16zmu_106 {
1199
- border-top: 1px solid var(--puck-color-grey-09);
1200
- margin-top: 16px;
1201
- padding-top: 16px;
1189
+ ._PlanGrid-priceValue_1ar8g_124 {
1190
+ font-size: var(--puck-font-size-xl);
1191
+ font-weight: 600;
1192
+ letter-spacing: -0.02em;
1202
1193
  }
1203
- ._PlanCard-sectionBody_16zmu_112 {
1204
- color: var(--puck-color-grey-03);
1194
+ ._PlanGrid-priceInterval_1ar8g_130 {
1195
+ color: var(--puck-color-grey-05);
1205
1196
  font-size: var(--puck-font-size-xxs);
1206
- display: grid;
1207
- gap: 2px;
1197
+ font-weight: 400;
1208
1198
  }
1209
- ._PlanCard-usageItem_16zmu_125 {
1210
- display: flex;
1211
- gap: 8px;
1199
+ ._PlanGrid-priceNote_1ar8g_136 {
1200
+ color: var(--puck-color-azure-04);
1201
+ font-size: var(--puck-font-size-xxxs);
1202
+ font-weight: 600;
1203
+ margin-top: 2px;
1204
+ }
1205
+ ._PlanGrid-action_1ar8g_143 {
1206
+ width: 100%;
1207
+ }
1208
+ ._PlanGrid-featureName_1ar8g_44,
1209
+ ._PlanGrid-featureValue_1ar8g_46 {
1212
1210
  font-size: var(--puck-font-size-xxs);
1211
+ min-height: 68px;
1212
+ padding: 20px 24px;
1213
1213
  }
1214
- ._PlanCard-usageLabel_16zmu_131 {
1215
- color: var(--puck-color-grey-04);
1216
- font-weight: 500;
1214
+ ._PlanGrid-featureName_1ar8g_44 {
1215
+ font-weight: 600;
1216
+ text-align: left;
1217
1217
  }
1218
- ._PlanCard-usageValue_16zmu_136 {
1219
- color: var(--puck-color-grey-05);
1220
- font-family: var(--puck-font-family-monospaced);
1221
- margin-left: auto;
1218
+ ._PlanGrid-featureValue_1ar8g_46 {
1219
+ background: var(--puck-color-white);
1220
+ color: var(--puck-color-grey-04);
1222
1221
  }
1223
- ._PlanCard-action_16zmu_142 {
1224
- align-items: flex-end;
1225
- display: flex;
1226
- justify-content: flex-end;
1227
- width: 100%;
1222
+ ._PlanGrid-featureValue_1ar8g_46 a {
1223
+ color: var(--puck-color-azure-04);
1228
1224
  }
1229
- ._PlanCard-description_16zmu_149 {
1225
+ ._PlanGrid-included_1ar8g_168 {
1226
+ align-items: center;
1230
1227
  color: var(--puck-color-grey-03);
1231
- margin-top: 8px;
1228
+ display: inline-flex;
1229
+ gap: 8px;
1232
1230
  }
1233
- ._PlanCard--highlight_16zmu_154 {
1234
- border: transparent;
1231
+ ._PlanGrid-included_1ar8g_168 svg {
1232
+ color: var(--puck-color-azure-04);
1235
1233
  }
1236
- ._PlanCard--highlight_16zmu_154::before {
1237
- content: "";
1238
- position: absolute;
1239
- inset: 0;
1240
- padding: 1px;
1241
- border-radius: inherit;
1242
- background-image:
1243
- linear-gradient(
1244
- 210deg,
1245
- var(--puck-color-azure-01) 0%,
1246
- var(--puck-color-azure-03) 40%,
1247
- var(--puck-color-red-05) 100%);
1248
- background-size: cover;
1249
- background-position: center;
1250
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1251
- -webkit-mask-composite: xor;
1252
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1253
- mask-composite: exclude;
1254
- pointer-events: none;
1234
+ ._PlanGrid-unavailable_1ar8g_179 {
1235
+ color: var(--puck-color-grey-07);
1255
1236
  }
1256
- ._PlanCard-highlightText_16zmu_184 {
1257
- @supports (background-clip: text) or (-webkit-background-clip: text) {
1258
- color: transparent;
1259
- background-clip: text;
1260
- -webkit-background-clip: text;
1261
- background-image:
1262
- linear-gradient(
1263
- 210deg,
1264
- var(--puck-color-azure-01) 0%,
1265
- var(--puck-color-azure-03) 40%,
1266
- var(--puck-color-red-05) 100%);
1267
- background-size: cover;
1268
- background-position: center;
1269
- }
1237
+ ._PlanGrid-highlightCell_1ar8g_183 {
1238
+ background: var(--puck-color-azure-12);
1270
1239
  }
1271
- ._PlanCard--fullWidth_16zmu_200 {
1272
- flex-direction: row;
1273
- grid-column: 1 / -1;
1240
+ ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1241
+ box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1274
1242
  }
1275
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1276
- max-width: 312px;
1243
+ ._PlanGrid-planHeader_1ar8g_45:last-child,
1244
+ ._PlanGrid-featureValue_1ar8g_46:last-child {
1245
+ border-right: 0;
1277
1246
  }
1278
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1279
- max-width: 256px;
1247
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureName_1ar8g_44,
1248
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureValue_1ar8g_46 {
1249
+ border-bottom: 0;
1280
1250
  }
1281
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-sectionBody_16zmu_112 {
1282
- display: grid;
1283
- grid-template-rows: 1fr 1fr 1fr 1fr;
1284
- grid-auto-flow: column;
1251
+ ._PlanGrid-enterprise_1ar8g_201 {
1252
+ color: var(--puck-color-grey-04);
1253
+ font-size: var(--puck-font-size-xxs);
1254
+ margin-left: auto;
1255
+ margin-right: auto;
1256
+ padding-inline: 4px;
1257
+ padding-top: 20px;
1258
+ text-align: center;
1259
+ }
1260
+ ._PlanGrid-enterprise_1ar8g_201 a {
1261
+ color: var(--puck-color-azure-04);
1262
+ cursor: pointer;
1263
+ font-weight: 500;
1285
1264
  }
1286
1265
 
1287
1266
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
package/dist/index.d.mts CHANGED
@@ -165,6 +165,7 @@ type TokenUsage = {
165
165
  totalTokens: number | undefined;
166
166
  reasoningTokens?: number | undefined;
167
167
  cachedInputTokens?: number | undefined;
168
+ cacheWriteTokens?: number | undefined;
168
169
  };
169
170
  type DataFinish = {
170
171
  totalCost: number;
@@ -232,6 +233,13 @@ type PuckDataParts = {
232
233
  "subagent-event": SubagentEvent;
233
234
  finish: DataFinish;
234
235
  page: Data;
236
+ "version-notice": {
237
+ package: string;
238
+ message: string;
239
+ currentVersion: string;
240
+ latestVersion: string;
241
+ blogUrl: string;
242
+ };
235
243
  };
236
244
  type PuckProviderMetadata = {
237
245
  tokenUsage?: LanguageModelUsage;
package/dist/index.d.ts CHANGED
@@ -165,6 +165,7 @@ type TokenUsage = {
165
165
  totalTokens: number | undefined;
166
166
  reasoningTokens?: number | undefined;
167
167
  cachedInputTokens?: number | undefined;
168
+ cacheWriteTokens?: number | undefined;
168
169
  };
169
170
  type DataFinish = {
170
171
  totalCost: number;
@@ -232,6 +233,13 @@ type PuckDataParts = {
232
233
  "subagent-event": SubagentEvent;
233
234
  finish: DataFinish;
234
235
  page: Data;
236
+ "version-notice": {
237
+ package: string;
238
+ message: string;
239
+ currentVersion: string;
240
+ latestVersion: string;
241
+ blogUrl: string;
242
+ };
235
243
  };
236
244
  type PuckProviderMetadata = {
237
245
  tokenUsage?: LanguageModelUsage;