@puckeditor/plugin-ai 0.8.0-canary.8c80c5fd → 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_16opg_1 {
336
+ ._Button_16or4_1 {
334
337
  appearance: none;
335
338
  background: none;
336
339
  border: 1px solid transparent;
@@ -352,32 +355,36 @@ p {
352
355
  white-space: nowrap;
353
356
  margin: 0;
354
357
  }
355
- ._Button_16opg_1:hover,
356
- ._Button_16opg_1:active {
358
+ ._Button_16or4_1:hover,
359
+ ._Button_16or4_1:active {
357
360
  transition: none;
358
361
  }
359
- ._Button_16opg_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--small_16opg_34 {
364
- font-size: 12px;
366
+ ._Button--tiny_16or4_34 {
367
+ font-size: var(--puck-font-size-xxxs);
365
368
  padding: 2px 8px;
366
369
  }
367
- ._Button--medium_16opg_39 {
370
+ ._Button--small_16or4_39 {
371
+ font-size: var(--puck-font-size-xxs);
372
+ padding: 4px 8px;
373
+ }
374
+ ._Button--medium_16or4_44 {
368
375
  min-height: 34px;
369
376
  padding-bottom: 7px;
370
377
  padding-left: 15px;
371
378
  padding-right: 15px;
372
379
  padding-top: 7px;
373
380
  }
374
- ._Button--large_16opg_47 {
381
+ ._Button--large_16or4_52 {
375
382
  padding-bottom: 11px;
376
383
  padding-left: 19px;
377
384
  padding-right: 19px;
378
385
  padding-top: 11px;
379
386
  }
380
- ._Button--brand_16opg_54 {
387
+ ._Button--brand_16or4_59 {
381
388
  background-image:
382
389
  linear-gradient(
383
390
  210deg,
@@ -387,53 +394,54 @@ p {
387
394
  border: none;
388
395
  }
389
396
  @media (hover: hover) and (pointer: fine) {
390
- ._Button--brand_16opg_54:hover {
397
+ ._Button--brand_16or4_59:hover {
391
398
  opacity: 0.8;
392
399
  }
393
400
  }
394
- ._Button--brand_16opg_54:active {
401
+ ._Button--brand_16or4_59:active {
395
402
  opacity: 0.8;
396
403
  }
397
- ._Button--primary_16opg_74 {
404
+ ._Button--primary_16or4_79 {
398
405
  background: var(--puck-color-azure-04);
399
406
  }
400
407
  @media (hover: hover) and (pointer: fine) {
401
- ._Button--primary_16opg_74:hover {
408
+ ._Button--primary_16or4_79:hover {
402
409
  background-color: var(--puck-color-azure-03);
403
410
  }
404
411
  }
405
- ._Button--primary_16opg_74:active {
412
+ ._Button--primary_16or4_79:active {
406
413
  background-color: var(--puck-color-azure-02);
407
414
  }
408
- ._Button--secondary_16opg_88 {
415
+ ._Button--secondary_16or4_93 {
409
416
  border: 1px solid currentColor;
410
417
  color: currentColor;
411
418
  }
412
419
  @media (hover: hover) and (pointer: fine) {
413
- ._Button--secondary_16opg_88:hover {
420
+ ._Button--secondary_16or4_93:hover {
414
421
  background-color: var(--puck-color-azure-12);
415
- color: var(--puck-color-black);
422
+ border-color: var(--puck-color-azure-12);
423
+ color: var(--puck-color-azure-04);
416
424
  }
417
425
  }
418
- ._Button--secondary_16opg_88:active {
426
+ ._Button--secondary_16or4_93:active {
419
427
  background-color: var(--puck-color-azure-11);
420
428
  color: var(--puck-color-black);
421
429
  }
422
- ._Button--danger_16opg_105 {
430
+ ._Button--danger_16or4_111 {
423
431
  background: var(--puck-color-red-04);
424
432
  }
425
433
  @media (hover: hover) and (pointer: fine) {
426
- ._Button--danger_16opg_105:hover {
434
+ ._Button--danger_16or4_111:hover {
427
435
  background-color: var(--puck-color-red-03);
428
436
  }
429
437
  }
430
- ._Button--danger_16opg_105:active {
438
+ ._Button--danger_16or4_111:active {
431
439
  background-color: var(--puck-color-red-02);
432
440
  }
433
- ._Button--flush_16opg_119 {
441
+ ._Button--flush_16or4_125 {
434
442
  border-radius: 0;
435
443
  }
436
- ._Button--ghost_16opg_123 {
444
+ ._Button--ghost_16or4_129 {
437
445
  align-items: center;
438
446
  background-color: transparent;
439
447
  border: none;
@@ -442,26 +450,26 @@ p {
442
450
  display: flex;
443
451
  }
444
452
  @media (hover: hover) and (pointer: fine) {
445
- ._Button--ghost_16opg_123:hover {
453
+ ._Button--ghost_16or4_129:hover {
446
454
  background-color: var(--puck-color-grey-11);
447
455
  color: var(--puck-color-azure-04);
448
456
  cursor: pointer;
449
457
  }
450
458
  }
451
- ._Button--disabled_16opg_140,
452
- ._Button--disabled_16opg_140:hover,
453
- ._Button--secondary_16opg_88._Button--disabled_16opg_140,
454
- ._Button--secondary_16opg_88._Button--disabled_16opg_140: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 {
455
463
  background-color: var(--puck-color-grey-12);
456
464
  border-color: var(--puck-color-grey-08);
457
465
  color: var(--puck-color-grey-07);
458
466
  cursor: not-allowed;
459
467
  }
460
- ._Button--fullWidth_16opg_150 {
468
+ ._Button--fullWidth_16or4_156 {
461
469
  justify-content: center;
462
470
  width: 100%;
463
471
  }
464
- ._Button-spinner_16opg_155 {
472
+ ._Button-spinner_16or4_161 {
465
473
  padding-left: 8px;
466
474
  }
467
475
 
@@ -1077,238 +1085,187 @@ button._Menu-item_1tu16_55:hover {
1077
1085
  }
1078
1086
 
1079
1087
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1080
- ._PlanGrid--loading_1v43l_1 {
1081
- opacity: 0;
1082
- }
1083
- ._PlanGrid-grid_1v43l_5 {
1088
+ ._PlanGrid_1ar8g_1 {
1084
1089
  color: var(--puck-color-grey-02);
1085
- display: grid;
1086
- gap: 32px;
1087
1090
  text-align: left;
1088
- padding-inline: 32px;
1089
- padding-block: 20px;
1090
- @media (min-width: 768px) {
1091
- grid-template-columns: 1fr 1fr 1fr;
1092
- margin: 8px;
1093
- }
1091
+ position: relative;
1092
+ z-index: 0;
1094
1093
  }
1095
- ._PlanGrid-enterprise_1v43l_21 {
1096
- color: var(--puck-color-grey-04);
1097
- font-size: var(--puck-font-size-xxs);
1098
- margin-left: auto;
1099
- margin-right: auto;
1100
- padding-inline: 4px;
1101
- padding-top: 20px;
1102
- 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;
1103
1098
  }
1104
- ._PlanGrid-enterprise_1v43l_21 a {
1105
- color: var(--puck-color-azure-04);
1106
- cursor: pointer;
1107
- font-weight: 500;
1099
+ ._PlanGrid-billingNote_1ar8g_8 {
1100
+ color: var(--puck-color-grey-05);
1108
1101
  }
1109
-
1110
- /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1111
- ._PlanCard_11294_1 {
1102
+ ._PlanGrid-tableWrapper_1ar8g_18 {
1112
1103
  border: 1px solid var(--puck-color-grey-09);
1113
1104
  border-radius: 16px;
1114
- display: flex;
1115
- gap: 8px;
1116
- flex-direction: column;
1117
- min-width: 256px;
1118
- padding: 8px;
1119
- position: relative;
1105
+ overflow-x: auto;
1120
1106
  }
1121
- ._PlanCard--enterprise_11294_12 {
1122
- flex-direction: row;
1123
- 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%;
1124
1114
  }
1125
- ._PlanCard-title_11294_17 {
1126
- display: flex;
1127
- gap: 8px;
1128
- justify-content: space-between;
1129
- font-size: var(--puck-font-size-xs);
1130
- 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;
1131
1121
  white-space: nowrap;
1122
+ width: 1px;
1132
1123
  }
1133
- ._PlanCard-header_11294_26 {
1134
- box-sizing: border-box;
1135
- display: flex;
1136
- flex-direction: column;
1137
- gap: 4px;
1138
- padding: 12px 16px;
1139
- width: 100%;
1140
- min-height: 80px;
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);
1141
1130
  }
1142
- ._PlanCard-features_11294_36 {
1143
- display: grid;
1144
- gap: 4px;
1145
- list-style: none;
1146
- 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;
1147
1148
  padding: 0;
1149
+ text-align: left;
1150
+ vertical-align: top;
1151
+ width: 25.333%;
1148
1152
  }
1149
- ._PlanCard-feature_11294_36 {
1150
- align-items: center;
1153
+ ._PlanGrid-planHeaderInner_1ar8g_76 {
1154
+ box-sizing: border-box;
1151
1155
  display: flex;
1152
- gap: 4px;
1153
- color: var(--puck-color-grey-05);
1154
- font-size: var(--puck-font-size-xxs);
1155
- }
1156
- ._PlanCard-featureIcon_11294_52 {
1157
- align-self: flex-start;
1158
- margin-top: 5px;
1156
+ flex-direction: column;
1157
+ height: 100%;
1158
+ padding: 28px 24px 24px;
1159
1159
  }
1160
- ._PlanCard-featureTitle_11294_57 {
1161
- color: var(--puck-color-grey-04);
1162
- 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;
1163
1165
  }
1164
- ._PlanCard-priceValue_11294_62 {
1165
- 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;
1166
1170
  }
1167
- ._PlanCard-priceInterval_11294_66 {
1171
+ ._PlanGrid-planDescription_1ar8g_97 {
1168
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;
1169
1177
  }
1170
- ._PlanCard-body_11294_70 {
1171
- background-color: var(--puck-color-grey-12);
1172
- border: 1px solid var(--puck-color-grey-11);
1173
- border-radius: 8px;
1174
- padding: 16px;
1175
- flex-grow: 1;
1178
+ ._PlanGrid-priceBlock_1ar8g_105 {
1179
+ margin-top: auto;
1180
+ padding: 20px 0 16px;
1176
1181
  }
1177
- ._PlanCard--enterprise_11294_12 ._PlanCard-body_11294_70 {
1182
+ ._PlanGrid-price_1ar8g_105 {
1183
+ align-items: baseline;
1178
1184
  display: flex;
1179
- gap: 8px;
1180
- width: 100%;
1181
- }
1182
- ._PlanCard-section_11294_84 {
1183
- padding-bottom: 16px;
1184
- min-width: 192px;
1185
- }
1186
- ._PlanCard-section_11294_84:last-of-type {
1187
- padding-bottom: 0;
1188
- }
1189
- ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1190
- border-top: 1px solid var(--puck-color-grey-09);
1191
- padding-top: 16px;
1192
- }
1193
- ._PlanCard--enterprise_11294_12 {
1194
- ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1195
- border-left: 1px solid var(--puck-color-grey-09);
1196
- border-top: none;
1197
- padding-left: 16px;
1198
- padding-top: 0;
1199
- }
1185
+ gap: 4px;
1186
+ white-space: nowrap;
1200
1187
  }
1201
- ._PlanCard-sectionTitle_11294_107 {
1188
+ ._PlanGrid-standardPrice_1ar8g_117 {
1189
+ color: var(--puck-color-grey-06);
1202
1190
  font-size: var(--puck-font-size-xs);
1203
1191
  font-weight: 500;
1204
- margin-bottom: 8px;
1192
+ text-decoration: line-through;
1205
1193
  }
1206
- ._PlanCard-sectionBody_11294_113 + ._PlanCard-sectionTitle_11294_107 {
1207
- border-top: 1px solid var(--puck-color-grey-09);
1208
- margin-top: 16px;
1209
- 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;
1210
1198
  }
1211
- ._PlanCard-sectionBody_11294_113 {
1212
- color: var(--puck-color-grey-03);
1199
+ ._PlanGrid-priceInterval_1ar8g_130 {
1200
+ color: var(--puck-color-grey-05);
1213
1201
  font-size: var(--puck-font-size-xxs);
1214
- display: grid;
1215
- gap: 2px;
1202
+ font-weight: 400;
1216
1203
  }
1217
- ._PlanCard-usageItem_11294_126 {
1218
- display: flex;
1219
- gap: 8px;
1220
- font-size: var(--puck-font-size-xxs);
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;
1221
1209
  }
1222
- ._PlanCard-usageLabel_11294_132 {
1223
- color: var(--puck-color-grey-04);
1224
- font-weight: 500;
1210
+ ._PlanGrid-action_1ar8g_143 {
1211
+ width: 100%;
1225
1212
  }
1226
- ._PlanCard-usageValue_11294_137 {
1227
- color: var(--puck-color-grey-05);
1228
- font-family: var(--puck-font-family-monospaced);
1229
- margin-left: auto;
1213
+ ._PlanGrid-featureName_1ar8g_44,
1214
+ ._PlanGrid-featureValue_1ar8g_46 {
1215
+ font-size: var(--puck-font-size-xxs);
1216
+ min-height: 68px;
1217
+ padding: 20px 24px;
1230
1218
  }
1231
- ._PlanCard-action_11294_143 {
1232
- align-items: flex-end;
1233
- display: flex;
1234
- justify-content: flex-end;
1235
- width: 100%;
1219
+ ._PlanGrid-featureName_1ar8g_44 {
1220
+ font-weight: 600;
1221
+ text-align: left;
1236
1222
  }
1237
- ._PlanCard-description_11294_150 {
1223
+ ._PlanGrid-featureValue_1ar8g_46 {
1224
+ background: var(--puck-color-white);
1238
1225
  color: var(--puck-color-grey-04);
1239
- margin-top: 8px;
1240
- font-size: var(--puck-font-size-xxs);
1241
1226
  }
1242
- ._PlanCard_11294_1 {
1243
- position: relative;
1244
- z-index: 0;
1227
+ ._PlanGrid-featureValue_1ar8g_46 a {
1228
+ color: var(--puck-color-azure-04);
1245
1229
  }
1246
- @property --shadow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
1247
- ._PlanCard_11294_1::before {
1248
- content: "";
1249
- position: absolute;
1250
- inset: 0;
1251
- z-index: -1;
1252
- border-radius: inherit;
1253
- background: #fff;
1230
+ ._PlanGrid-included_1ar8g_168 {
1231
+ align-items: center;
1232
+ color: var(--puck-color-grey-03);
1233
+ display: inline-flex;
1234
+ gap: 8px;
1254
1235
  }
1255
- ._PlanCard--highlight_11294_176::after {
1256
- content: "";
1257
- position: absolute;
1258
- inset: -18px;
1259
- z-index: -2;
1260
- border: 16px solid transparent;
1261
- border-radius: 34px;
1262
- opacity: 0.6;
1263
- background:
1264
- conic-gradient(
1265
- from var(--shadow-angle),
1266
- var(--puck-color-azure-07),
1267
- transparent,
1268
- var(--puck-color-rose-06),
1269
- var(--puck-color-azure-05),
1270
- transparent,
1271
- var(--puck-color-azure-07));
1272
- background-clip: padding-box;
1273
- filter: blur(12px);
1274
- }
1275
- ._PlanCard--highlight_11294_176::after {
1276
- animation: _spin_11294_1 8s linear infinite;
1277
- }
1278
- @keyframes _spin_11294_1 {
1279
- to {
1280
- --shadow-angle: 360deg;
1281
- }
1236
+ ._PlanGrid-included_1ar8g_168 svg {
1237
+ color: var(--puck-color-azure-04);
1282
1238
  }
1283
- ._PlanCard-highlightText_11294_209 {
1284
- @supports (background-clip: text) or (-webkit-background-clip: text) {
1285
- color: transparent;
1286
- background-clip: text;
1287
- -webkit-background-clip: text;
1288
- background-image:
1289
- linear-gradient(
1290
- 210deg,
1291
- var(--puck-color-azure-01) 0%,
1292
- var(--puck-color-azure-03) 40%,
1293
- var(--puck-color-red-05) 100%);
1294
- background-size: cover;
1295
- background-position: center;
1296
- }
1239
+ ._PlanGrid-unavailable_1ar8g_179 {
1240
+ color: var(--puck-color-grey-07);
1297
1241
  }
1298
- ._PlanCard--fullWidth_11294_225 {
1299
- flex-direction: row;
1300
- grid-column: 1 / -1;
1242
+ ._PlanGrid-highlightCell_1ar8g_183 {
1243
+ background: var(--puck-color-azure-12);
1301
1244
  }
1302
- ._PlanCard--fullWidth_11294_225 ._PlanCard-header_11294_26 {
1303
- max-width: 312px;
1245
+ ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1246
+ box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1304
1247
  }
1305
- ._PlanCard--fullWidth_11294_225 ._PlanCard-action_11294_143 {
1306
- max-width: 256px;
1248
+ ._PlanGrid-planHeader_1ar8g_45:last-child,
1249
+ ._PlanGrid-featureValue_1ar8g_46:last-child {
1250
+ border-right: 0;
1307
1251
  }
1308
- ._PlanCard--fullWidth_11294_225 ._PlanCard-sectionBody_11294_113 {
1309
- display: grid;
1310
- grid-template-rows: 1fr 1fr 1fr 1fr;
1311
- grid-auto-flow: column;
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;
1255
+ }
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;
1312
1269
  }
1313
1270
 
1314
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;