@puckeditor/plugin-ai 0.8.0-canary.8cc60e6d → 0.8.0-canary.90d05c2c

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_16or4_1 {
334
337
  appearance: none;
335
338
  background: none;
336
339
  border: 1px solid transparent;
@@ -352,28 +355,36 @@ p {
352
355
  white-space: nowrap;
353
356
  margin: 0;
354
357
  }
355
- ._Button_1tog0_1:hover,
356
- ._Button_1tog0_1:active {
358
+ ._Button_16or4_1:hover,
359
+ ._Button_16or4_1:active {
357
360
  transition: none;
358
361
  }
359
- ._Button_1tog0_1:focus-visible {
362
+ ._Button_16or4_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--tiny_16or4_34 {
367
+ font-size: var(--puck-font-size-xxxs);
368
+ padding: 2px 8px;
369
+ }
370
+ ._Button--small_16or4_39 {
371
+ font-size: var(--puck-font-size-xxs);
372
+ padding: 4px 8px;
373
+ }
374
+ ._Button--medium_16or4_44 {
364
375
  min-height: 34px;
365
376
  padding-bottom: 7px;
366
377
  padding-left: 15px;
367
378
  padding-right: 15px;
368
379
  padding-top: 7px;
369
380
  }
370
- ._Button--large_1tog0_42 {
381
+ ._Button--large_16or4_52 {
371
382
  padding-bottom: 11px;
372
383
  padding-left: 19px;
373
384
  padding-right: 19px;
374
385
  padding-top: 11px;
375
386
  }
376
- ._Button--brand_1tog0_49 {
387
+ ._Button--brand_16or4_59 {
377
388
  background-image:
378
389
  linear-gradient(
379
390
  210deg,
@@ -383,53 +394,54 @@ p {
383
394
  border: none;
384
395
  }
385
396
  @media (hover: hover) and (pointer: fine) {
386
- ._Button--brand_1tog0_49:hover {
397
+ ._Button--brand_16or4_59:hover {
387
398
  opacity: 0.8;
388
399
  }
389
400
  }
390
- ._Button--brand_1tog0_49:active {
401
+ ._Button--brand_16or4_59:active {
391
402
  opacity: 0.8;
392
403
  }
393
- ._Button--primary_1tog0_69 {
404
+ ._Button--primary_16or4_79 {
394
405
  background: var(--puck-color-azure-04);
395
406
  }
396
407
  @media (hover: hover) and (pointer: fine) {
397
- ._Button--primary_1tog0_69:hover {
408
+ ._Button--primary_16or4_79:hover {
398
409
  background-color: var(--puck-color-azure-03);
399
410
  }
400
411
  }
401
- ._Button--primary_1tog0_69:active {
412
+ ._Button--primary_16or4_79:active {
402
413
  background-color: var(--puck-color-azure-02);
403
414
  }
404
- ._Button--secondary_1tog0_83 {
415
+ ._Button--secondary_16or4_93 {
405
416
  border: 1px solid currentColor;
406
417
  color: currentColor;
407
418
  }
408
419
  @media (hover: hover) and (pointer: fine) {
409
- ._Button--secondary_1tog0_83:hover {
420
+ ._Button--secondary_16or4_93:hover {
410
421
  background-color: var(--puck-color-azure-12);
411
- color: var(--puck-color-black);
422
+ border-color: var(--puck-color-azure-12);
423
+ color: var(--puck-color-azure-04);
412
424
  }
413
425
  }
414
- ._Button--secondary_1tog0_83:active {
426
+ ._Button--secondary_16or4_93:active {
415
427
  background-color: var(--puck-color-azure-11);
416
428
  color: var(--puck-color-black);
417
429
  }
418
- ._Button--danger_1tog0_100 {
430
+ ._Button--danger_16or4_111 {
419
431
  background: var(--puck-color-red-04);
420
432
  }
421
433
  @media (hover: hover) and (pointer: fine) {
422
- ._Button--danger_1tog0_100:hover {
434
+ ._Button--danger_16or4_111:hover {
423
435
  background-color: var(--puck-color-red-03);
424
436
  }
425
437
  }
426
- ._Button--danger_1tog0_100:active {
438
+ ._Button--danger_16or4_111:active {
427
439
  background-color: var(--puck-color-red-02);
428
440
  }
429
- ._Button--flush_1tog0_114 {
441
+ ._Button--flush_16or4_125 {
430
442
  border-radius: 0;
431
443
  }
432
- ._Button--ghost_1tog0_118 {
444
+ ._Button--ghost_16or4_129 {
433
445
  align-items: center;
434
446
  background-color: transparent;
435
447
  border: none;
@@ -438,26 +450,26 @@ p {
438
450
  display: flex;
439
451
  }
440
452
  @media (hover: hover) and (pointer: fine) {
441
- ._Button--ghost_1tog0_118:hover {
453
+ ._Button--ghost_16or4_129:hover {
442
454
  background-color: var(--puck-color-grey-11);
443
455
  color: var(--puck-color-azure-04);
444
456
  cursor: pointer;
445
457
  }
446
458
  }
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 {
459
+ ._Button--disabled_16or4_146,
460
+ ._Button--disabled_16or4_146:hover,
461
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146,
462
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146:hover {
451
463
  background-color: var(--puck-color-grey-12);
452
464
  border-color: var(--puck-color-grey-08);
453
465
  color: var(--puck-color-grey-07);
454
466
  cursor: not-allowed;
455
467
  }
456
- ._Button--fullWidth_1tog0_145 {
468
+ ._Button--fullWidth_16or4_156 {
457
469
  justify-content: center;
458
470
  width: 100%;
459
471
  }
460
- ._Button-spinner_1tog0_150 {
472
+ ._Button-spinner_16or4_161 {
461
473
  padding-left: 8px;
462
474
  }
463
475
 
@@ -1073,215 +1085,187 @@ button._Menu-item_1tu16_55:hover {
1073
1085
  }
1074
1086
 
1075
1087
  /* 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 {
1088
+ ._PlanGrid_1ar8g_1 {
1080
1089
  color: var(--puck-color-grey-02);
1081
- display: grid;
1082
- gap: 16px;
1083
1090
  text-align: left;
1084
- @media (min-width: 768px) {
1085
- grid-template-columns: 1fr 1fr 1fr;
1086
- }
1091
+ position: relative;
1092
+ z-index: 0;
1087
1093
  }
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;
1094
+ ._PlanGrid-billingNote_1ar8g_8,
1095
+ ._PlanGrid-planKicker_1ar8g_9 {
1096
+ font-size: var(--puck-font-size-xxxs);
1097
+ letter-spacing: 0.12em;
1096
1098
  }
1097
- ._PlanGrid-enterprise_97rn7_16 a {
1098
- color: var(--puck-color-azure-04);
1099
- cursor: pointer;
1100
- font-weight: 500;
1099
+ ._PlanGrid-billingNote_1ar8g_8 {
1100
+ color: var(--puck-color-grey-05);
1101
1101
  }
1102
-
1103
- /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1104
- ._PlanCard_16zmu_1 {
1102
+ ._PlanGrid-tableWrapper_1ar8g_18 {
1105
1103
  border: 1px solid var(--puck-color-grey-09);
1106
1104
  border-radius: 16px;
1107
- display: flex;
1108
- gap: 8px;
1109
- flex-direction: column;
1110
- min-width: 256px;
1111
- padding: 8px;
1112
- position: relative;
1105
+ overflow-x: auto;
1113
1106
  }
1114
- ._PlanCard--enterprise_16zmu_12 {
1115
- flex-direction: row;
1116
- grid-column: span 3;
1107
+ ._PlanGrid-table_1ar8g_18 {
1108
+ border-collapse: separate;
1109
+ border-spacing: 0;
1110
+ max-width: 1440px;
1111
+ min-width: 880px;
1112
+ table-layout: fixed;
1113
+ width: 100%;
1117
1114
  }
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;
1115
+ ._PlanGrid-caption_1ar8g_33 {
1116
+ clip: rect(0 0 0 0);
1117
+ clip-path: inset(50%);
1118
+ height: 1px;
1119
+ overflow: hidden;
1120
+ position: absolute;
1124
1121
  white-space: nowrap;
1122
+ width: 1px;
1125
1123
  }
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%;
1124
+ ._PlanGrid-featureHeader_1ar8g_43,
1125
+ ._PlanGrid-featureName_1ar8g_44,
1126
+ ._PlanGrid-planHeader_1ar8g_45,
1127
+ ._PlanGrid-featureValue_1ar8g_46 {
1128
+ border-bottom: 1px solid var(--puck-color-grey-09);
1129
+ border-right: 1px solid var(--puck-color-grey-09);
1133
1130
  }
1134
- ._PlanCard-features_16zmu_35 {
1135
- display: grid;
1136
- gap: 4px;
1137
- list-style: none;
1138
- margin: 0;
1131
+ ._PlanGrid-featureHeader_1ar8g_43,
1132
+ ._PlanGrid-featureName_1ar8g_44 {
1133
+ background: var(--puck-color-white);
1134
+ position: sticky;
1135
+ left: 0;
1136
+ width: 24%;
1137
+ z-index: 2;
1138
+ }
1139
+ ._PlanGrid-featureHeader_1ar8g_43 {
1140
+ font-size: var(--puck-font-size-s);
1141
+ padding: 28px 24px;
1142
+ text-align: left;
1143
+ vertical-align: top;
1144
+ }
1145
+ ._PlanGrid-planHeader_1ar8g_45 {
1146
+ background: var(--puck-color-white);
1147
+ height: 336px;
1139
1148
  padding: 0;
1149
+ text-align: left;
1150
+ vertical-align: top;
1151
+ width: 25.333%;
1140
1152
  }
1141
- ._PlanCard-feature_16zmu_35 {
1142
- align-items: center;
1153
+ ._PlanGrid-planHeaderInner_1ar8g_76 {
1154
+ box-sizing: border-box;
1143
1155
  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;
1156
+ flex-direction: column;
1157
+ height: 100%;
1158
+ padding: 28px 24px 24px;
1151
1159
  }
1152
- ._PlanCard-featureTitle_16zmu_56 {
1153
- color: var(--puck-color-grey-04);
1154
- font-weight: 600;
1160
+ ._PlanGrid-planKicker_1ar8g_9 {
1161
+ color: var(--puck-color-azure-04);
1162
+ font-weight: 700;
1163
+ min-height: 20px;
1164
+ text-transform: uppercase;
1155
1165
  }
1156
- ._PlanCard-priceValue_16zmu_61 {
1157
- font-size: var(--puck-font-size-m);
1166
+ ._PlanGrid-planTitle_1ar8g_91 {
1167
+ font-size: var(--puck-font-size-l);
1168
+ line-height: 1.2;
1169
+ margin: 12px 0 0;
1158
1170
  }
1159
- ._PlanCard-priceInterval_16zmu_65 {
1171
+ ._PlanGrid-planDescription_1ar8g_97 {
1160
1172
  color: var(--puck-color-grey-05);
1173
+ font-size: var(--puck-font-size-xxs);
1174
+ margin: 8px 0 0;
1175
+ min-height: 44px;
1176
+ font-weight: 400;
1161
1177
  }
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;
1178
+ ._PlanGrid-priceBlock_1ar8g_105 {
1179
+ margin-top: auto;
1180
+ padding: 20px 0 16px;
1168
1181
  }
1169
- ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1182
+ ._PlanGrid-price_1ar8g_105 {
1183
+ align-items: baseline;
1170
1184
  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
- }
1185
+ gap: 4px;
1186
+ white-space: nowrap;
1192
1187
  }
1193
- ._PlanCard-sectionTitle_16zmu_106 {
1188
+ ._PlanGrid-standardPrice_1ar8g_117 {
1189
+ color: var(--puck-color-grey-06);
1194
1190
  font-size: var(--puck-font-size-xs);
1195
1191
  font-weight: 500;
1196
- margin-bottom: 8px;
1192
+ text-decoration: line-through;
1197
1193
  }
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;
1194
+ ._PlanGrid-priceValue_1ar8g_124 {
1195
+ font-size: var(--puck-font-size-xl);
1196
+ font-weight: 600;
1197
+ letter-spacing: -0.02em;
1202
1198
  }
1203
- ._PlanCard-sectionBody_16zmu_112 {
1204
- color: var(--puck-color-grey-03);
1199
+ ._PlanGrid-priceInterval_1ar8g_130 {
1200
+ color: var(--puck-color-grey-05);
1205
1201
  font-size: var(--puck-font-size-xxs);
1206
- display: grid;
1207
- gap: 2px;
1202
+ font-weight: 400;
1208
1203
  }
1209
- ._PlanCard-usageItem_16zmu_125 {
1210
- display: flex;
1211
- gap: 8px;
1204
+ ._PlanGrid-priceNote_1ar8g_136 {
1205
+ color: var(--puck-color-azure-04);
1206
+ font-size: var(--puck-font-size-xxxs);
1207
+ font-weight: 600;
1208
+ margin-top: 2px;
1209
+ }
1210
+ ._PlanGrid-action_1ar8g_143 {
1211
+ width: 100%;
1212
+ }
1213
+ ._PlanGrid-featureName_1ar8g_44,
1214
+ ._PlanGrid-featureValue_1ar8g_46 {
1212
1215
  font-size: var(--puck-font-size-xxs);
1216
+ min-height: 68px;
1217
+ padding: 20px 24px;
1213
1218
  }
1214
- ._PlanCard-usageLabel_16zmu_131 {
1215
- color: var(--puck-color-grey-04);
1216
- font-weight: 500;
1219
+ ._PlanGrid-featureName_1ar8g_44 {
1220
+ font-weight: 600;
1221
+ text-align: left;
1217
1222
  }
1218
- ._PlanCard-usageValue_16zmu_136 {
1219
- color: var(--puck-color-grey-05);
1220
- font-family: var(--puck-font-family-monospaced);
1221
- margin-left: auto;
1223
+ ._PlanGrid-featureValue_1ar8g_46 {
1224
+ background: var(--puck-color-white);
1225
+ color: var(--puck-color-grey-04);
1222
1226
  }
1223
- ._PlanCard-action_16zmu_142 {
1224
- align-items: flex-end;
1225
- display: flex;
1226
- justify-content: flex-end;
1227
- width: 100%;
1227
+ ._PlanGrid-featureValue_1ar8g_46 a {
1228
+ color: var(--puck-color-azure-04);
1228
1229
  }
1229
- ._PlanCard-description_16zmu_149 {
1230
+ ._PlanGrid-included_1ar8g_168 {
1231
+ align-items: center;
1230
1232
  color: var(--puck-color-grey-03);
1231
- margin-top: 8px;
1233
+ display: inline-flex;
1234
+ gap: 8px;
1232
1235
  }
1233
- ._PlanCard--highlight_16zmu_154 {
1234
- border: transparent;
1236
+ ._PlanGrid-included_1ar8g_168 svg {
1237
+ color: var(--puck-color-azure-04);
1235
1238
  }
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;
1239
+ ._PlanGrid-unavailable_1ar8g_179 {
1240
+ color: var(--puck-color-grey-07);
1255
1241
  }
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
- }
1242
+ ._PlanGrid-highlightCell_1ar8g_183 {
1243
+ background: var(--puck-color-azure-12);
1270
1244
  }
1271
- ._PlanCard--fullWidth_16zmu_200 {
1272
- flex-direction: row;
1273
- grid-column: 1 / -1;
1245
+ ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1246
+ box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1274
1247
  }
1275
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1276
- max-width: 312px;
1248
+ ._PlanGrid-planHeader_1ar8g_45:last-child,
1249
+ ._PlanGrid-featureValue_1ar8g_46:last-child {
1250
+ border-right: 0;
1277
1251
  }
1278
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1279
- max-width: 256px;
1252
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureName_1ar8g_44,
1253
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureValue_1ar8g_46 {
1254
+ border-bottom: 0;
1280
1255
  }
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;
1256
+ ._PlanGrid-enterprise_1ar8g_201 {
1257
+ color: var(--puck-color-grey-04);
1258
+ font-size: var(--puck-font-size-xxs);
1259
+ margin-left: auto;
1260
+ margin-right: auto;
1261
+ padding-inline: 4px;
1262
+ padding-top: 20px;
1263
+ text-align: center;
1264
+ }
1265
+ ._PlanGrid-enterprise_1ar8g_201 a {
1266
+ color: var(--puck-color-azure-04);
1267
+ cursor: pointer;
1268
+ font-weight: 500;
1285
1269
  }
1286
1270
 
1287
1271
  /* 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;