@sanity/ailf-studio 1.16.0 → 1.17.1

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/index.js +96 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1362,6 +1362,102 @@ var reportSchema = defineType4({
1362
1362
  title: "Overall",
1363
1363
  type: "object"
1364
1364
  }),
1365
+ defineField4({
1366
+ description: "Phase 6 / DIAG-06 synthesis cost telemetry. Populated by the post-run hook; readonly forever.",
1367
+ fields: [
1368
+ defineField4({
1369
+ fields: [
1370
+ defineField4({
1371
+ name: "cost",
1372
+ title: "Synthesis Cost (USD)",
1373
+ type: "number",
1374
+ readOnly: true
1375
+ }),
1376
+ defineField4({
1377
+ name: "parseFailureCount",
1378
+ title: "Parse Failure Count",
1379
+ type: "number",
1380
+ readOnly: true
1381
+ }),
1382
+ defineField4({
1383
+ name: "parseFailureRate",
1384
+ title: "Parse Failure Rate",
1385
+ type: "number",
1386
+ readOnly: true
1387
+ }),
1388
+ defineField4({
1389
+ name: "perCard",
1390
+ title: "Per-card Telemetry",
1391
+ type: "array",
1392
+ readOnly: true,
1393
+ of: [
1394
+ {
1395
+ type: "object",
1396
+ fields: [
1397
+ defineField4({
1398
+ name: "cardType",
1399
+ title: "Card Type",
1400
+ type: "string",
1401
+ readOnly: true
1402
+ }),
1403
+ defineField4({
1404
+ name: "cost",
1405
+ title: "Cost (USD)",
1406
+ type: "number",
1407
+ readOnly: true
1408
+ }),
1409
+ defineField4({
1410
+ name: "parseFailed",
1411
+ title: "Parse Failed",
1412
+ type: "boolean",
1413
+ readOnly: true
1414
+ }),
1415
+ defineField4({
1416
+ name: "latencyMs",
1417
+ title: "Latency (ms)",
1418
+ type: "number",
1419
+ readOnly: true
1420
+ }),
1421
+ defineField4({
1422
+ name: "tokenInput",
1423
+ title: "Token Input",
1424
+ type: "number",
1425
+ readOnly: true
1426
+ }),
1427
+ defineField4({
1428
+ name: "tokenOutput",
1429
+ title: "Token Output",
1430
+ type: "number",
1431
+ readOnly: true
1432
+ }),
1433
+ defineField4({
1434
+ name: "cardVersion",
1435
+ title: "Card Version",
1436
+ type: "string",
1437
+ readOnly: true
1438
+ }),
1439
+ defineField4({
1440
+ name: "generatedAt",
1441
+ title: "Generated At",
1442
+ type: "datetime",
1443
+ readOnly: true
1444
+ })
1445
+ ]
1446
+ }
1447
+ ]
1448
+ })
1449
+ ],
1450
+ name: "diagnosis",
1451
+ title: "Diagnosis",
1452
+ type: "object",
1453
+ readOnly: true
1454
+ })
1455
+ ],
1456
+ name: "synthesis",
1457
+ title: "Synthesis",
1458
+ type: "object",
1459
+ readOnly: true
1460
+ }),
1365
1461
  defineField4({
1366
1462
  name: "scores",
1367
1463
  of: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ailf-studio",
3
- "version": "1.16.0",
3
+ "version": "1.17.1",
4
4
  "description": "AI Literacy Framework — Sanity Studio dashboard plugin",
5
5
  "type": "module",
6
6
  "license": "MIT",