@opensteer/protocol 0.8.0 → 0.8.2

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.cjs CHANGED
@@ -833,55 +833,6 @@ var orderedHeadersSchema = arraySchema(headerEntrySchema, {
833
833
  title: "OrderedHeaders"
834
834
  });
835
835
 
836
- // src/captcha.ts
837
- var captchaTypeSchema = enumSchema(
838
- ["recaptcha-v2", "hcaptcha", "turnstile"],
839
- {
840
- title: "CaptchaType"
841
- }
842
- );
843
- var captchaProviderSchema = enumSchema(["2captcha", "capsolver"], {
844
- title: "CaptchaProvider"
845
- });
846
- var captchaDetectionResultSchema = objectSchema(
847
- {
848
- type: captchaTypeSchema,
849
- siteKey: stringSchema({ minLength: 1 }),
850
- pageUrl: stringSchema({ minLength: 1 })
851
- },
852
- {
853
- title: "CaptchaDetectionResult",
854
- required: ["type", "siteKey", "pageUrl"]
855
- }
856
- );
857
- var opensteerCaptchaSolveInputSchema = objectSchema(
858
- {
859
- provider: captchaProviderSchema,
860
- apiKey: stringSchema({ minLength: 1 }),
861
- pageRef: pageRefSchema,
862
- timeoutMs: integerSchema({ minimum: 1 }),
863
- type: captchaTypeSchema,
864
- siteKey: stringSchema({ minLength: 1 }),
865
- pageUrl: stringSchema({ minLength: 1 })
866
- },
867
- {
868
- title: "OpensteerCaptchaSolveInput",
869
- required: ["provider", "apiKey"]
870
- }
871
- );
872
- var opensteerCaptchaSolveOutputSchema = objectSchema(
873
- {
874
- captcha: captchaDetectionResultSchema,
875
- token: stringSchema({ minLength: 1 }),
876
- injected: { type: "boolean" },
877
- provider: captchaProviderSchema
878
- },
879
- {
880
- title: "OpensteerCaptchaSolveOutput",
881
- required: ["captcha", "token", "injected", "provider"]
882
- }
883
- );
884
-
885
836
  // src/storage.ts
886
837
  var jsonUnknownSchema = {};
887
838
  var cookieSameSiteSchema = enumSchema(["strict", "lax", "none"], {
@@ -1134,17 +1085,6 @@ var opensteerRequestPlanResponseExpectationSchema = objectSchema(
1134
1085
  required: ["status"]
1135
1086
  }
1136
1087
  );
1137
- var opensteerRecipeRefSchema = objectSchema(
1138
- {
1139
- key: stringSchema({ minLength: 1 }),
1140
- version: stringSchema({ minLength: 1 })
1141
- },
1142
- {
1143
- title: "OpensteerRecipeRef",
1144
- required: ["key"]
1145
- }
1146
- );
1147
- var opensteerAuthRecipeRefSchema = opensteerRecipeRefSchema;
1148
1088
  var opensteerRequestFailurePolicyHeaderMatchSchema = objectSchema(
1149
1089
  {
1150
1090
  name: stringSchema({ minLength: 1 }),
@@ -1200,46 +1140,9 @@ var opensteerRequestRetryPolicySchema = objectSchema(
1200
1140
  required: ["maxRetries"]
1201
1141
  }
1202
1142
  );
1203
- var opensteerRecipeCachePolicySchema = enumSchema(
1204
- ["none", "untilFailure"],
1205
- {
1206
- title: "OpensteerRecipeCachePolicy"
1207
- }
1208
- );
1209
- var opensteerRequestPlanRecipeBindingSchema = objectSchema(
1210
- {
1211
- recipe: opensteerRecipeRefSchema,
1212
- cachePolicy: opensteerRecipeCachePolicySchema
1213
- },
1214
- {
1215
- title: "OpensteerRequestPlanRecipeBinding",
1216
- required: ["recipe"]
1217
- }
1218
- );
1219
- var opensteerRequestPlanRecoverBindingSchema = objectSchema(
1220
- {
1221
- recipe: opensteerRecipeRefSchema,
1222
- cachePolicy: opensteerRecipeCachePolicySchema,
1223
- failurePolicy: opensteerRequestFailurePolicySchema
1224
- },
1225
- {
1226
- title: "OpensteerRequestPlanRecoverBinding",
1227
- required: ["recipe", "failurePolicy"]
1228
- }
1229
- );
1230
- var opensteerRequestPlanRecipesSchema = objectSchema(
1231
- {
1232
- prepare: opensteerRequestPlanRecipeBindingSchema,
1233
- recover: opensteerRequestPlanRecoverBindingSchema
1234
- },
1235
- {
1236
- title: "OpensteerRequestPlanRecipes"
1237
- }
1238
- );
1239
1143
  var opensteerRequestPlanAuthSchema = objectSchema(
1240
1144
  {
1241
1145
  strategy: enumSchema(["session-cookie", "bearer-token", "api-key", "custom"]),
1242
- recipe: opensteerRecipeRefSchema,
1243
1146
  failurePolicy: opensteerRequestFailurePolicySchema,
1244
1147
  description: stringSchema({ minLength: 1 })
1245
1148
  },
@@ -1255,7 +1158,6 @@ var opensteerRequestPlanPayloadSchema = objectSchema(
1255
1158
  parameters: arraySchema(opensteerRequestPlanParameterSchema),
1256
1159
  body: opensteerRequestPlanBodySchema,
1257
1160
  response: opensteerRequestPlanResponseExpectationSchema,
1258
- recipes: opensteerRequestPlanRecipesSchema,
1259
1161
  retryPolicy: opensteerRequestRetryPolicySchema,
1260
1162
  auth: opensteerRequestPlanAuthSchema
1261
1163
  },
@@ -1346,321 +1248,6 @@ var opensteerRequestBodyInputSchema = oneOfSchema(
1346
1248
  title: "OpensteerRequestBodyInput"
1347
1249
  }
1348
1250
  );
1349
- var opensteerRecipeRetryOverridesSchema = objectSchema(
1350
- {
1351
- params: recordSchema(stringSchema(), {
1352
- title: "OpensteerRecipeParams"
1353
- }),
1354
- headers: recordSchema(stringSchema(), {
1355
- title: "OpensteerRecipeHeaders"
1356
- }),
1357
- query: recordSchema(stringSchema(), {
1358
- title: "OpensteerRecipeQuery"
1359
- }),
1360
- body: recordSchema(stringSchema(), {
1361
- title: "OpensteerRecipeBodyVariables"
1362
- })
1363
- },
1364
- {
1365
- title: "OpensteerRecipeRetryOverrides"
1366
- }
1367
- );
1368
- var opensteerRecipeStepResponseCaptureSchema = objectSchema(
1369
- {
1370
- header: objectSchema(
1371
- {
1372
- name: stringSchema({ minLength: 1 }),
1373
- saveAs: stringSchema({ minLength: 1 })
1374
- },
1375
- {
1376
- title: "OpensteerAuthRecipeHeaderCapture",
1377
- required: ["name", "saveAs"]
1378
- }
1379
- ),
1380
- bodyJsonPointer: objectSchema(
1381
- {
1382
- pointer: stringSchema({ minLength: 1 }),
1383
- saveAs: stringSchema({ minLength: 1 })
1384
- },
1385
- {
1386
- title: "OpensteerAuthRecipeBodyJsonPointerCapture",
1387
- required: ["pointer", "saveAs"]
1388
- }
1389
- ),
1390
- bodyText: objectSchema(
1391
- {
1392
- saveAs: stringSchema({ minLength: 1 })
1393
- },
1394
- {
1395
- title: "OpensteerAuthRecipeBodyTextCapture",
1396
- required: ["saveAs"]
1397
- }
1398
- )
1399
- },
1400
- {
1401
- title: "OpensteerRecipeStepResponseCapture"
1402
- }
1403
- );
1404
- var opensteerRecipeRequestStepInputSchema = objectSchema(
1405
- {
1406
- url: stringSchema({ minLength: 1 }),
1407
- transport: transportKindSchema,
1408
- pageRef: pageRefSchema,
1409
- cookieJar: stringSchema({ minLength: 1 }),
1410
- method: stringSchema({ minLength: 1 }),
1411
- headers: recordSchema(stringSchema(), {
1412
- title: "OpensteerRecipeRequestHeaders"
1413
- }),
1414
- query: recordSchema(stringSchema(), {
1415
- title: "OpensteerRecipeRequestQuery"
1416
- }),
1417
- body: opensteerRequestBodyInputSchema,
1418
- followRedirects: { type: "boolean" }
1419
- },
1420
- {
1421
- title: "OpensteerRecipeRequestStepInput",
1422
- required: ["url"]
1423
- }
1424
- );
1425
- var opensteerRecipeHookRefSchema = objectSchema(
1426
- {
1427
- specifier: stringSchema({ minLength: 1 }),
1428
- export: stringSchema({ minLength: 1 })
1429
- },
1430
- {
1431
- title: "OpensteerRecipeHookRef",
1432
- required: ["specifier", "export"]
1433
- }
1434
- );
1435
- var opensteerAuthRecipeHookRefSchema = opensteerRecipeHookRefSchema;
1436
- var opensteerRecipeStepSchema = oneOfSchema(
1437
- [
1438
- objectSchema(
1439
- {
1440
- kind: enumSchema(["goto"]),
1441
- url: stringSchema({ minLength: 1 })
1442
- },
1443
- {
1444
- title: "OpensteerAuthRecipeGotoStep",
1445
- required: ["kind", "url"]
1446
- }
1447
- ),
1448
- objectSchema(
1449
- {
1450
- kind: enumSchema(["reload"])
1451
- },
1452
- {
1453
- title: "OpensteerAuthRecipeReloadStep",
1454
- required: ["kind"]
1455
- }
1456
- ),
1457
- objectSchema(
1458
- {
1459
- kind: enumSchema(["waitForUrl"]),
1460
- includes: stringSchema({ minLength: 1 }),
1461
- timeoutMs: integerSchema({ minimum: 0 })
1462
- },
1463
- {
1464
- title: "OpensteerAuthRecipeWaitForUrlStep",
1465
- required: ["kind", "includes"]
1466
- }
1467
- ),
1468
- objectSchema(
1469
- {
1470
- kind: enumSchema(["waitForNetwork"]),
1471
- url: stringSchema({ minLength: 1 }),
1472
- hostname: stringSchema({ minLength: 1 }),
1473
- path: stringSchema({ minLength: 1 }),
1474
- method: stringSchema({ minLength: 1 }),
1475
- status: stringSchema({ minLength: 1 }),
1476
- includeBodies: { type: "boolean" },
1477
- timeoutMs: integerSchema({ minimum: 0 }),
1478
- saveAs: stringSchema({ minLength: 1 })
1479
- },
1480
- {
1481
- title: "OpensteerRecipeWaitForNetworkStep",
1482
- required: ["kind"]
1483
- }
1484
- ),
1485
- objectSchema(
1486
- {
1487
- kind: enumSchema(["waitForCookie"]),
1488
- name: stringSchema({ minLength: 1 }),
1489
- url: stringSchema({ minLength: 1 }),
1490
- timeoutMs: integerSchema({ minimum: 0 }),
1491
- saveAs: stringSchema({ minLength: 1 })
1492
- },
1493
- {
1494
- title: "OpensteerAuthRecipeWaitForCookieStep",
1495
- required: ["kind", "name"]
1496
- }
1497
- ),
1498
- objectSchema(
1499
- {
1500
- kind: enumSchema(["waitForStorage"]),
1501
- area: enumSchema(["local", "session"]),
1502
- origin: stringSchema({ minLength: 1 }),
1503
- key: stringSchema({ minLength: 1 }),
1504
- timeoutMs: integerSchema({ minimum: 0 }),
1505
- saveAs: stringSchema({ minLength: 1 })
1506
- },
1507
- {
1508
- title: "OpensteerAuthRecipeWaitForStorageStep",
1509
- required: ["kind", "area", "origin", "key"]
1510
- }
1511
- ),
1512
- objectSchema(
1513
- {
1514
- kind: enumSchema(["readCookie"]),
1515
- name: stringSchema({ minLength: 1 }),
1516
- url: stringSchema({ minLength: 1 }),
1517
- saveAs: stringSchema({ minLength: 1 })
1518
- },
1519
- {
1520
- title: "OpensteerAuthRecipeReadCookieStep",
1521
- required: ["kind", "name", "saveAs"]
1522
- }
1523
- ),
1524
- objectSchema(
1525
- {
1526
- kind: enumSchema(["readStorage"]),
1527
- area: enumSchema(["local", "session"]),
1528
- origin: stringSchema({ minLength: 1 }),
1529
- key: stringSchema({ minLength: 1 }),
1530
- pageUrl: stringSchema({ minLength: 1 }),
1531
- saveAs: stringSchema({ minLength: 1 })
1532
- },
1533
- {
1534
- title: "OpensteerRecipeReadStorageStep",
1535
- required: ["kind", "area", "origin", "key", "saveAs"]
1536
- }
1537
- ),
1538
- objectSchema(
1539
- {
1540
- kind: enumSchema(["evaluate"]),
1541
- script: stringSchema({ minLength: 1 }),
1542
- args: arraySchema(jsonValueSchema),
1543
- pageRef: pageRefSchema,
1544
- saveAs: stringSchema({ minLength: 1 })
1545
- },
1546
- {
1547
- title: "OpensteerRecipeEvaluateStep",
1548
- required: ["kind", "script"]
1549
- }
1550
- ),
1551
- objectSchema(
1552
- {
1553
- kind: enumSchema(["syncCookiesToJar"]),
1554
- jar: stringSchema({ minLength: 1 }),
1555
- urls: arraySchema(stringSchema({ minLength: 1 }), {
1556
- minItems: 1
1557
- })
1558
- },
1559
- {
1560
- title: "OpensteerRecipeSyncCookiesToJarStep",
1561
- required: ["kind", "jar"]
1562
- }
1563
- ),
1564
- objectSchema(
1565
- {
1566
- kind: enumSchema(["request"]),
1567
- request: opensteerRecipeRequestStepInputSchema,
1568
- capture: opensteerRecipeStepResponseCaptureSchema
1569
- },
1570
- {
1571
- title: "OpensteerRecipeRequestStep",
1572
- required: ["kind", "request"]
1573
- }
1574
- ),
1575
- objectSchema(
1576
- {
1577
- kind: enumSchema(["sessionRequest"]),
1578
- request: opensteerRecipeRequestStepInputSchema,
1579
- capture: opensteerRecipeStepResponseCaptureSchema
1580
- },
1581
- {
1582
- title: "OpensteerAuthRecipeSessionRequestStep",
1583
- required: ["kind", "request"]
1584
- }
1585
- ),
1586
- objectSchema(
1587
- {
1588
- kind: enumSchema(["directRequest"]),
1589
- request: opensteerRecipeRequestStepInputSchema,
1590
- capture: opensteerRecipeStepResponseCaptureSchema
1591
- },
1592
- {
1593
- title: "OpensteerAuthRecipeDirectRequestStep",
1594
- required: ["kind", "request"]
1595
- }
1596
- ),
1597
- objectSchema(
1598
- {
1599
- kind: enumSchema(["solveCaptcha"]),
1600
- provider: captchaProviderSchema,
1601
- apiKey: stringSchema({ minLength: 1 }),
1602
- pageRef: pageRefSchema,
1603
- timeoutMs: integerSchema({ minimum: 1 }),
1604
- type: captchaTypeSchema,
1605
- siteKey: stringSchema({ minLength: 1 }),
1606
- pageUrl: stringSchema({ minLength: 1 }),
1607
- saveAs: stringSchema({ minLength: 1 })
1608
- },
1609
- {
1610
- title: "OpensteerRecipeSolveCaptchaStep",
1611
- required: ["kind", "provider", "apiKey"]
1612
- }
1613
- ),
1614
- objectSchema(
1615
- {
1616
- kind: enumSchema(["hook"]),
1617
- hook: opensteerRecipeHookRefSchema
1618
- },
1619
- {
1620
- title: "OpensteerRecipeHookStep",
1621
- required: ["kind", "hook"]
1622
- }
1623
- )
1624
- ],
1625
- {
1626
- title: "OpensteerRecipeStep"
1627
- }
1628
- );
1629
- var opensteerAuthRecipeStepSchema = opensteerRecipeStepSchema;
1630
- var opensteerRecipePayloadSchema = objectSchema(
1631
- {
1632
- description: stringSchema({ minLength: 1 }),
1633
- steps: arraySchema(opensteerRecipeStepSchema, {
1634
- minItems: 1
1635
- }),
1636
- outputs: opensteerRecipeRetryOverridesSchema
1637
- },
1638
- {
1639
- title: "OpensteerRecipePayload",
1640
- required: ["steps"]
1641
- }
1642
- );
1643
- var opensteerAuthRecipePayloadSchema = opensteerRecipePayloadSchema;
1644
- var opensteerRecipeRecordSchema = objectSchema(
1645
- {
1646
- id: stringSchema({ minLength: 1 }),
1647
- key: stringSchema({ minLength: 1 }),
1648
- version: stringSchema({ minLength: 1 }),
1649
- createdAt: integerSchema({ minimum: 0 }),
1650
- updatedAt: integerSchema({ minimum: 0 }),
1651
- contentHash: stringSchema({ minLength: 1 }),
1652
- tags: arraySchema(stringSchema({ minLength: 1 }), {
1653
- uniqueItems: true
1654
- }),
1655
- provenance: opensteerRegistryProvenanceSchema,
1656
- payload: opensteerRecipePayloadSchema
1657
- },
1658
- {
1659
- title: "OpensteerRecipeRecord",
1660
- required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
1661
- }
1662
- );
1663
- var opensteerAuthRecipeRecordSchema = opensteerRecipeRecordSchema;
1664
1251
  var opensteerNetworkQueryInputSchema = objectSchema(
1665
1252
  {
1666
1253
  pageRef: pageRefSchema,
@@ -2060,92 +1647,7 @@ var opensteerListRequestPlansOutputSchema = objectSchema(
2060
1647
  required: ["plans"]
2061
1648
  }
2062
1649
  );
2063
- var opensteerWriteRecipeInputSchema = objectSchema(
2064
- {
2065
- id: stringSchema({ minLength: 1 }),
2066
- key: stringSchema({ minLength: 1 }),
2067
- version: stringSchema({ minLength: 1 }),
2068
- tags: arraySchema(stringSchema({ minLength: 1 }), {
2069
- uniqueItems: true
2070
- }),
2071
- provenance: opensteerRegistryProvenanceSchema,
2072
- payload: opensteerRecipePayloadSchema
2073
- },
2074
- {
2075
- title: "OpensteerWriteRecipeInput",
2076
- required: ["key", "version", "payload"]
2077
- }
2078
- );
2079
- var opensteerWriteAuthRecipeInputSchema = opensteerWriteRecipeInputSchema;
2080
- var opensteerGetRecipeInputSchema = objectSchema(
2081
- {
2082
- key: stringSchema({ minLength: 1 }),
2083
- version: stringSchema({ minLength: 1 })
2084
- },
2085
- {
2086
- title: "OpensteerGetRecipeInput",
2087
- required: ["key"]
2088
- }
2089
- );
2090
- var opensteerGetAuthRecipeInputSchema = opensteerGetRecipeInputSchema;
2091
- var opensteerListRecipesInputSchema = objectSchema(
2092
- {
2093
- key: stringSchema({ minLength: 1 })
2094
- },
2095
- {
2096
- title: "OpensteerListRecipesInput"
2097
- }
2098
- );
2099
- var opensteerListAuthRecipesInputSchema = opensteerListRecipesInputSchema;
2100
- var opensteerListRecipesOutputSchema = objectSchema(
2101
- {
2102
- recipes: arraySchema(opensteerRecipeRecordSchema)
2103
- },
2104
- {
2105
- title: "OpensteerListRecipesOutput",
2106
- required: ["recipes"]
2107
- }
2108
- );
2109
- var opensteerListAuthRecipesOutputSchema = opensteerListRecipesOutputSchema;
2110
- var opensteerRunRecipeInputSchema = objectSchema(
2111
- {
2112
- key: stringSchema({ minLength: 1 }),
2113
- version: stringSchema({ minLength: 1 }),
2114
- variables: recordSchema(stringSchema(), {
2115
- title: "OpensteerRecipeVariables"
2116
- })
2117
- },
2118
- {
2119
- title: "OpensteerRunRecipeInput",
2120
- required: ["key"]
2121
- }
2122
- );
2123
- var opensteerRunAuthRecipeInputSchema = opensteerRunRecipeInputSchema;
2124
- var opensteerRunRecipeOutputSchema = objectSchema(
2125
- {
2126
- recipe: objectSchema(
2127
- {
2128
- id: stringSchema({ minLength: 1 }),
2129
- key: stringSchema({ minLength: 1 }),
2130
- version: stringSchema({ minLength: 1 })
2131
- },
2132
- {
2133
- title: "OpensteerResolvedRecipeRef",
2134
- required: ["id", "key", "version"]
2135
- }
2136
- ),
2137
- variables: recordSchema(stringSchema(), {
2138
- title: "OpensteerResolvedRecipeVariables"
2139
- }),
2140
- overrides: opensteerRecipeRetryOverridesSchema
2141
- },
2142
- {
2143
- title: "OpensteerRunRecipeOutput",
2144
- required: ["recipe", "variables"]
2145
- }
2146
- );
2147
- var opensteerRunAuthRecipeOutputSchema = opensteerRunRecipeOutputSchema;
2148
- var opensteerRequestExecuteInputSchema = objectSchema(
1650
+ var opensteerRequestExecuteInputSchema = objectSchema(
2149
1651
  {
2150
1652
  key: stringSchema({ minLength: 1 }),
2151
1653
  version: stringSchema({ minLength: 1 }),
@@ -2251,17 +1753,7 @@ var opensteerRequestExecuteOutputSchema = objectSchema(
2251
1753
  {
2252
1754
  attempted: { type: "boolean" },
2253
1755
  succeeded: { type: "boolean" },
2254
- matchedFailurePolicy: { type: "boolean" },
2255
- recipe: objectSchema(
2256
- {
2257
- key: stringSchema({ minLength: 1 }),
2258
- version: stringSchema({ minLength: 1 })
2259
- },
2260
- {
2261
- title: "OpensteerResolvedRecoveryRecipeRef",
2262
- required: ["key", "version"]
2263
- }
2264
- )
1756
+ matchedFailurePolicy: { type: "boolean" }
2265
1757
  },
2266
1758
  {
2267
1759
  title: "OpensteerRequestRecoveryMetadata",
@@ -2299,6 +1791,69 @@ var opensteerInferRequestPlanInputSchema = objectSchema(
2299
1791
  required: ["recordId", "key", "version"]
2300
1792
  }
2301
1793
  );
1794
+
1795
+ // src/state.ts
1796
+ var opensteerStateSnapshotCookieSchema = objectSchema(
1797
+ {
1798
+ name: stringSchema({ minLength: 1 }),
1799
+ value: stringSchema(),
1800
+ domain: stringSchema({ minLength: 1 }),
1801
+ path: stringSchema({ minLength: 1 }),
1802
+ secure: { type: "boolean" },
1803
+ httpOnly: { type: "boolean" },
1804
+ sameSite: enumSchema(["strict", "lax", "none"]),
1805
+ priority: enumSchema(["low", "medium", "high"]),
1806
+ partitionKey: stringSchema({ minLength: 1 }),
1807
+ session: { type: "boolean" },
1808
+ expiresAt: oneOfSchema([integerSchema({ minimum: 0 }), { type: "null" }])
1809
+ },
1810
+ {
1811
+ title: "OpensteerStateSnapshotCookie",
1812
+ required: ["name", "value", "domain", "path", "secure", "httpOnly", "session"]
1813
+ }
1814
+ );
1815
+ var opensteerStateSnapshotSchema = objectSchema(
1816
+ {
1817
+ id: stringSchema({ minLength: 1 }),
1818
+ capturedAt: integerSchema({ minimum: 0 }),
1819
+ pageRef: pageRefSchema,
1820
+ url: stringSchema({ minLength: 1 }),
1821
+ cookies: arraySchema(opensteerStateSnapshotCookieSchema),
1822
+ storage: storageSnapshotSchema,
1823
+ hiddenFields: arraySchema(
1824
+ objectSchema(
1825
+ {
1826
+ path: stringSchema({ minLength: 1 }),
1827
+ name: stringSchema({ minLength: 1 }),
1828
+ value: stringSchema()
1829
+ },
1830
+ {
1831
+ title: "OpensteerStateSnapshotHiddenField",
1832
+ required: ["path", "name", "value"]
1833
+ }
1834
+ )
1835
+ ),
1836
+ globals: recordSchema({}, { title: "OpensteerStateSnapshotGlobals" })
1837
+ },
1838
+ {
1839
+ title: "OpensteerStateSnapshot",
1840
+ required: ["id", "capturedAt"]
1841
+ }
1842
+ );
1843
+ var opensteerStateDeltaSchema = objectSchema(
1844
+ {
1845
+ beforeStateId: stringSchema({ minLength: 1 }),
1846
+ afterStateId: stringSchema({ minLength: 1 }),
1847
+ cookiesChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
1848
+ storageChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
1849
+ hiddenFieldsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
1850
+ globalsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
1851
+ },
1852
+ {
1853
+ title: "OpensteerStateDelta",
1854
+ required: ["cookiesChanged", "storageChanged", "hiddenFieldsChanged", "globalsChanged"]
1855
+ }
1856
+ );
2302
1857
  var screenshotFormatSchema = enumSchema(["png", "jpeg", "webp"], {
2303
1858
  title: "ScreenshotFormat"
2304
1859
  });
@@ -3413,6 +2968,55 @@ var opensteerArtifactReadOutputSchema = objectSchema(
3413
2968
  }
3414
2969
  );
3415
2970
 
2971
+ // src/captcha.ts
2972
+ var captchaTypeSchema = enumSchema(
2973
+ ["recaptcha-v2", "hcaptcha", "turnstile"],
2974
+ {
2975
+ title: "CaptchaType"
2976
+ }
2977
+ );
2978
+ var captchaProviderSchema = enumSchema(["2captcha", "capsolver"], {
2979
+ title: "CaptchaProvider"
2980
+ });
2981
+ var captchaDetectionResultSchema = objectSchema(
2982
+ {
2983
+ type: captchaTypeSchema,
2984
+ siteKey: stringSchema({ minLength: 1 }),
2985
+ pageUrl: stringSchema({ minLength: 1 })
2986
+ },
2987
+ {
2988
+ title: "CaptchaDetectionResult",
2989
+ required: ["type", "siteKey", "pageUrl"]
2990
+ }
2991
+ );
2992
+ var opensteerCaptchaSolveInputSchema = objectSchema(
2993
+ {
2994
+ provider: captchaProviderSchema,
2995
+ apiKey: stringSchema({ minLength: 1 }),
2996
+ pageRef: pageRefSchema,
2997
+ timeoutMs: integerSchema({ minimum: 1 }),
2998
+ type: captchaTypeSchema,
2999
+ siteKey: stringSchema({ minLength: 1 }),
3000
+ pageUrl: stringSchema({ minLength: 1 })
3001
+ },
3002
+ {
3003
+ title: "OpensteerCaptchaSolveInput",
3004
+ required: ["provider", "apiKey"]
3005
+ }
3006
+ );
3007
+ var opensteerCaptchaSolveOutputSchema = objectSchema(
3008
+ {
3009
+ captcha: captchaDetectionResultSchema,
3010
+ token: stringSchema({ minLength: 1 }),
3011
+ injected: { type: "boolean" },
3012
+ provider: captchaProviderSchema
3013
+ },
3014
+ {
3015
+ title: "OpensteerCaptchaSolveOutput",
3016
+ required: ["captcha", "token", "injected", "provider"]
3017
+ }
3018
+ );
3019
+
3416
3020
  // src/traces.ts
3417
3021
  var traceContextSchema = objectSchema(
3418
3022
  {
@@ -4685,1548 +4289,6 @@ var opensteerScriptSandboxOutputSchema = objectSchema(
4685
4289
  }
4686
4290
  );
4687
4291
 
4688
- // src/reverse.ts
4689
- var opensteerStateSourceKindSchema = enumSchema(
4690
- ["temporary", "persistent", "attach"],
4691
- { title: "OpensteerStateSourceKind" }
4692
- );
4693
- var opensteerReverseCaseStatusSchema = enumSchema(
4694
- ["capturing", "analyzing", "ready", "attention"],
4695
- { title: "OpensteerReverseCaseStatus" }
4696
- );
4697
- var opensteerReverseChannelKindSchema = enumSchema(
4698
- ["http", "event-stream", "websocket"],
4699
- { title: "OpensteerReverseChannelKind" }
4700
- );
4701
- var opensteerReverseManualCalibrationModeSchema = enumSchema(
4702
- ["allow", "avoid", "require"],
4703
- { title: "OpensteerReverseManualCalibrationMode" }
4704
- );
4705
- var opensteerReverseCandidateBoundarySchema = enumSchema(
4706
- ["first-party", "same-site", "third-party"],
4707
- { title: "OpensteerReverseCandidateBoundary" }
4708
- );
4709
- var opensteerReverseAdvisoryTagSchema = enumSchema(
4710
- [
4711
- "data",
4712
- "facet",
4713
- "telemetry",
4714
- "subscription",
4715
- "navigation",
4716
- "document",
4717
- "route-data",
4718
- "search",
4719
- "tracking",
4720
- "unknown"
4721
- ],
4722
- { title: "OpensteerReverseAdvisoryTag" }
4723
- );
4724
- var opensteerReverseConstraintKindSchema = enumSchema(
4725
- [
4726
- "requires-browser",
4727
- "requires-cookie",
4728
- "requires-storage",
4729
- "requires-script",
4730
- "requires-guard",
4731
- "requires-live-state",
4732
- "opaque-body",
4733
- "unsupported"
4734
- ],
4735
- { title: "OpensteerReverseConstraintKind" }
4736
- );
4737
- var opensteerRequestInputLocationSchema = enumSchema(
4738
- ["path", "query", "header", "cookie", "body-field"],
4739
- { title: "OpensteerRequestInputLocation" }
4740
- );
4741
- var opensteerRequestInputRequirednessSchema = enumSchema(
4742
- ["required", "optional", "unknown"],
4743
- { title: "OpensteerRequestInputRequiredness" }
4744
- );
4745
- var opensteerRequestInputClassificationSchema = enumSchema(
4746
- ["managed", "static", "contextual", "volatile"],
4747
- { title: "OpensteerRequestInputClassification" }
4748
- );
4749
- var opensteerRequestInputSourceSchema = enumSchema(
4750
- [
4751
- "literal",
4752
- "cookie",
4753
- "storage",
4754
- "prior-response",
4755
- "page",
4756
- "script",
4757
- "guard-output",
4758
- "runtime-managed",
4759
- "unknown"
4760
- ],
4761
- { title: "OpensteerRequestInputSource" }
4762
- );
4763
- var opensteerRequestInputMaterializationPolicySchema = enumSchema(
4764
- ["copy", "omit", "recompute", "resolve"],
4765
- { title: "OpensteerRequestInputMaterializationPolicy" }
4766
- );
4767
- var opensteerRequestInputExportPolicySchema = enumSchema(
4768
- ["portable", "browser-bound", "blocked"],
4769
- { title: "OpensteerRequestInputExportPolicy" }
4770
- );
4771
- var opensteerReverseQueryViewSchema = enumSchema(
4772
- ["records", "clusters", "candidates"],
4773
- { title: "OpensteerReverseQueryView" }
4774
- );
4775
- var opensteerReverseSortKeySchema = enumSchema(
4776
- [
4777
- "observed-at",
4778
- "advisory-rank",
4779
- "target-hint-matches",
4780
- "response-richness",
4781
- "portability",
4782
- "boundary",
4783
- "success"
4784
- ],
4785
- { title: "OpensteerReverseSortKey" }
4786
- );
4787
- var opensteerReverseSortPresetSchema = enumSchema(
4788
- [
4789
- "advisory-rank",
4790
- "observed-at",
4791
- "portability",
4792
- "first-party",
4793
- "hint-match",
4794
- "response-richness"
4795
- ],
4796
- { title: "OpensteerReverseSortPreset" }
4797
- );
4798
- var opensteerReverseSortDirectionSchema = enumSchema(
4799
- ["asc", "desc"],
4800
- {
4801
- title: "OpensteerReverseSortDirection"
4802
- }
4803
- );
4804
- var opensteerObservationClusterRelationshipKindSchema = enumSchema(
4805
- ["seed", "preflight", "redirect", "retry", "duplicate", "follow-on"],
4806
- { title: "OpensteerObservationClusterRelationshipKind" }
4807
- );
4808
- var opensteerReverseReportKindSchema = enumSchema(
4809
- ["discovery", "package"],
4810
- { title: "OpensteerReverseReportKind" }
4811
- );
4812
- var opensteerReversePackageKindSchema = enumSchema(
4813
- ["portable-http", "browser-workflow"],
4814
- { title: "OpensteerReversePackageKind" }
4815
- );
4816
- var opensteerReversePackageReadinessSchema = enumSchema(
4817
- ["runnable", "draft", "unsupported"],
4818
- { title: "OpensteerReversePackageReadiness" }
4819
- );
4820
- var opensteerBodyCodecKindSchema = enumSchema(
4821
- [
4822
- "json",
4823
- "form-urlencoded",
4824
- "multipart",
4825
- "graphql",
4826
- "persisted-graphql",
4827
- "text",
4828
- "opaque-binary",
4829
- "sse",
4830
- "websocket-json",
4831
- "websocket-text",
4832
- "unknown"
4833
- ],
4834
- { title: "OpensteerBodyCodecKind" }
4835
- );
4836
- var opensteerExecutableResolverKindSchema = enumSchema(
4837
- [
4838
- "literal",
4839
- "cookie",
4840
- "storage",
4841
- "prior-record",
4842
- "binding",
4843
- "candidate",
4844
- "case",
4845
- "state-snapshot",
4846
- "artifact",
4847
- "manual",
4848
- "runtime-managed"
4849
- ],
4850
- { title: "OpensteerExecutableResolverKind" }
4851
- );
4852
- var opensteerValueReferenceKindSchema = enumSchema(
4853
- [
4854
- "literal",
4855
- "resolver",
4856
- "binding",
4857
- "candidate",
4858
- "case",
4859
- "record",
4860
- "artifact",
4861
- "state-snapshot",
4862
- "runtime",
4863
- "manual"
4864
- ],
4865
- { title: "OpensteerValueReferenceKind" }
4866
- );
4867
- var opensteerRuntimeValueKeySchema = enumSchema(
4868
- ["pageRef", "packageId", "caseId", "candidateId", "objective"],
4869
- { title: "OpensteerRuntimeValueKey" }
4870
- );
4871
- var opensteerValidationRuleKindSchema = enumSchema(
4872
- [
4873
- "status",
4874
- "json-structure",
4875
- "text-includes",
4876
- "stream-first-chunk",
4877
- "websocket-open",
4878
- "message-count-at-least"
4879
- ],
4880
- { title: "OpensteerValidationRuleKind" }
4881
- );
4882
- var opensteerReverseWorkflowStepKindSchema = enumSchema(
4883
- ["operation", "await-record", "assert"],
4884
- { title: "OpensteerReverseWorkflowStepKind" }
4885
- );
4886
- var opensteerReverseRequirementKindSchema = enumSchema(
4887
- ["resolver", "guard", "workflow-step", "state", "channel", "unsupported"],
4888
- { title: "OpensteerReverseRequirementKind" }
4889
- );
4890
- var opensteerReverseRequirementStatusSchema = enumSchema(
4891
- ["required", "recommended"],
4892
- { title: "OpensteerReverseRequirementStatus" }
4893
- );
4894
- var opensteerReverseSuggestedEditKindSchema = enumSchema(
4895
- [
4896
- "set-resolver",
4897
- "attach-trace",
4898
- "replace-workflow",
4899
- "patch-step-input",
4900
- "switch-state-source",
4901
- "inspect-evidence",
4902
- "mark-unsupported"
4903
- ],
4904
- { title: "OpensteerReverseSuggestedEditKind" }
4905
- );
4906
- var jsonValueSchema2 = defineSchema({
4907
- title: "JsonValue"
4908
- });
4909
- var opensteerValueReferenceSchema = objectSchema(
4910
- {
4911
- kind: opensteerValueReferenceKindSchema,
4912
- pointer: stringSchema({ minLength: 1 }),
4913
- resolverId: stringSchema({ minLength: 1 }),
4914
- binding: stringSchema({ minLength: 1 }),
4915
- recordId: stringSchema({ minLength: 1 }),
4916
- artifactId: stringSchema({ minLength: 1 }),
4917
- stateSnapshotId: stringSchema({ minLength: 1 }),
4918
- runtimeKey: opensteerRuntimeValueKeySchema,
4919
- value: jsonValueSchema2,
4920
- placeholder: stringSchema({ minLength: 1 })
4921
- },
4922
- {
4923
- title: "OpensteerValueReference",
4924
- required: ["kind"]
4925
- }
4926
- );
4927
- var opensteerValueTemplateSchema = defineSchema({
4928
- title: "OpensteerValueTemplate"
4929
- });
4930
- var opensteerReverseTargetHintsSchema = objectSchema(
4931
- {
4932
- hosts: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
4933
- paths: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
4934
- operationNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
4935
- channels: arraySchema(opensteerReverseChannelKindSchema, { uniqueItems: true })
4936
- },
4937
- {
4938
- title: "OpensteerReverseTargetHints"
4939
- }
4940
- );
4941
- var opensteerBodyCodecDescriptorSchema = objectSchema(
4942
- {
4943
- kind: opensteerBodyCodecKindSchema,
4944
- contentType: stringSchema({ minLength: 1 }),
4945
- operationName: stringSchema({ minLength: 1 }),
4946
- fieldPaths: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
4947
- },
4948
- {
4949
- title: "OpensteerBodyCodecDescriptor",
4950
- required: ["kind", "fieldPaths"]
4951
- }
4952
- );
4953
- var opensteerObservationClusterSchema = objectSchema(
4954
- {
4955
- id: stringSchema({ minLength: 1 }),
4956
- observationId: stringSchema({ minLength: 1 }),
4957
- label: stringSchema({ minLength: 1 }),
4958
- channel: opensteerReverseChannelKindSchema,
4959
- method: stringSchema({ minLength: 1 }),
4960
- url: stringSchema({ minLength: 1 }),
4961
- matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
4962
- members: arraySchema(
4963
- objectSchema(
4964
- {
4965
- recordId: stringSchema({ minLength: 1 }),
4966
- observedAt: integerSchema({ minimum: 0 }),
4967
- resourceType: stringSchema({ minLength: 1 }),
4968
- status: integerSchema({ minimum: 0 }),
4969
- relation: opensteerObservationClusterRelationshipKindSchema,
4970
- relatedRecordId: stringSchema({ minLength: 1 }),
4971
- matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
4972
- },
4973
- {
4974
- title: "OpensteerObservationClusterMember",
4975
- required: ["recordId", "relation", "matchedTargetHints"]
4976
- }
4977
- )
4978
- )
4979
- },
4980
- {
4981
- title: "OpensteerObservationCluster",
4982
- required: ["id", "observationId", "label", "channel", "url", "matchedTargetHints", "members"]
4983
- }
4984
- );
4985
- var opensteerStateSnapshotCookieSchema = objectSchema(
4986
- {
4987
- name: stringSchema({ minLength: 1 }),
4988
- value: stringSchema(),
4989
- domain: stringSchema({ minLength: 1 }),
4990
- path: stringSchema({ minLength: 1 }),
4991
- secure: { type: "boolean" },
4992
- httpOnly: { type: "boolean" },
4993
- sameSite: enumSchema(["strict", "lax", "none"]),
4994
- priority: enumSchema(["low", "medium", "high"]),
4995
- partitionKey: stringSchema({ minLength: 1 }),
4996
- session: { type: "boolean" },
4997
- expiresAt: oneOfSchema([integerSchema({ minimum: 0 }), { type: "null" }])
4998
- },
4999
- {
5000
- title: "OpensteerStateSnapshotCookie",
5001
- required: ["name", "value", "domain", "path", "secure", "httpOnly", "session"]
5002
- }
5003
- );
5004
- var opensteerStateSnapshotSchema = objectSchema(
5005
- {
5006
- id: stringSchema({ minLength: 1 }),
5007
- capturedAt: integerSchema({ minimum: 0 }),
5008
- pageRef: pageRefSchema,
5009
- url: stringSchema({ minLength: 1 }),
5010
- cookies: arraySchema(opensteerStateSnapshotCookieSchema),
5011
- storage: storageSnapshotSchema,
5012
- hiddenFields: arraySchema(
5013
- objectSchema(
5014
- {
5015
- path: stringSchema({ minLength: 1 }),
5016
- name: stringSchema({ minLength: 1 }),
5017
- value: stringSchema()
5018
- },
5019
- {
5020
- title: "OpensteerStateSnapshotHiddenField",
5021
- required: ["path", "name", "value"]
5022
- }
5023
- )
5024
- ),
5025
- globals: recordSchema({}, { title: "OpensteerStateSnapshotGlobals" })
5026
- },
5027
- {
5028
- title: "OpensteerStateSnapshot",
5029
- required: ["id", "capturedAt"]
5030
- }
5031
- );
5032
- var opensteerStateDeltaSchema = objectSchema(
5033
- {
5034
- beforeStateId: stringSchema({ minLength: 1 }),
5035
- afterStateId: stringSchema({ minLength: 1 }),
5036
- cookiesChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5037
- storageChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5038
- hiddenFieldsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5039
- globalsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5040
- },
5041
- {
5042
- title: "OpensteerStateDelta",
5043
- required: ["cookiesChanged", "storageChanged", "hiddenFieldsChanged", "globalsChanged"]
5044
- }
5045
- );
5046
- var opensteerRequestInputDescriptorSchema = objectSchema(
5047
- {
5048
- name: stringSchema({ minLength: 1 }),
5049
- location: opensteerRequestInputLocationSchema,
5050
- path: stringSchema({ minLength: 1 }),
5051
- wireName: stringSchema({ minLength: 1 }),
5052
- requiredness: opensteerRequestInputRequirednessSchema,
5053
- classification: opensteerRequestInputClassificationSchema,
5054
- source: opensteerRequestInputSourceSchema,
5055
- materializationPolicy: opensteerRequestInputMaterializationPolicySchema,
5056
- exportPolicy: opensteerRequestInputExportPolicySchema,
5057
- originalValue: stringSchema(),
5058
- provenance: objectSchema(
5059
- {
5060
- recordId: stringSchema({ minLength: 1 }),
5061
- observationId: stringSchema({ minLength: 1 }),
5062
- sourcePointer: stringSchema({ minLength: 1 }),
5063
- notes: stringSchema({ minLength: 1 })
5064
- },
5065
- {
5066
- title: "OpensteerRequestInputDescriptorProvenance"
5067
- }
5068
- ),
5069
- unlockedByGuardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5070
- },
5071
- {
5072
- title: "OpensteerRequestInputDescriptor",
5073
- required: [
5074
- "name",
5075
- "location",
5076
- "requiredness",
5077
- "classification",
5078
- "source",
5079
- "materializationPolicy",
5080
- "exportPolicy"
5081
- ]
5082
- }
5083
- );
5084
- var opensteerExecutableResolverSchema = objectSchema(
5085
- {
5086
- id: stringSchema({ minLength: 1 }),
5087
- kind: opensteerExecutableResolverKindSchema,
5088
- label: stringSchema({ minLength: 1 }),
5089
- status: enumSchema(["ready", "missing"]),
5090
- requiresBrowser: { type: "boolean" },
5091
- requiresLiveState: { type: "boolean" },
5092
- description: stringSchema({ minLength: 1 }),
5093
- inputNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5094
- guardId: stringSchema({ minLength: 1 }),
5095
- traceId: stringSchema({ minLength: 1 }),
5096
- valueRef: opensteerValueReferenceSchema
5097
- },
5098
- {
5099
- title: "OpensteerExecutableResolver",
5100
- required: ["id", "kind", "label", "status", "requiresBrowser", "requiresLiveState"]
5101
- }
5102
- );
5103
- var opensteerReverseAdvisorySignalsSchema = objectSchema(
5104
- {
5105
- advisoryRank: numberSchema(),
5106
- observedAt: integerSchema({ minimum: 0 }),
5107
- targetHintMatches: integerSchema({ minimum: 0 }),
5108
- responseRichness: integerSchema({ minimum: 0 }),
5109
- portabilityWeight: integerSchema({ minimum: 0 }),
5110
- boundaryWeight: integerSchema({ minimum: 0 }),
5111
- successfulStatus: { type: "boolean" },
5112
- fetchLike: { type: "boolean" },
5113
- hasResponseBody: { type: "boolean" },
5114
- dataPathMatch: { type: "boolean" },
5115
- cookieInputCount: integerSchema({ minimum: 0 }),
5116
- storageInputCount: integerSchema({ minimum: 0 }),
5117
- volatileInputCount: integerSchema({ minimum: 0 }),
5118
- guardCount: integerSchema({ minimum: 0 })
5119
- },
5120
- {
5121
- title: "OpensteerReverseAdvisorySignals",
5122
- required: [
5123
- "advisoryRank",
5124
- "targetHintMatches",
5125
- "responseRichness",
5126
- "portabilityWeight",
5127
- "boundaryWeight",
5128
- "successfulStatus",
5129
- "fetchLike",
5130
- "hasResponseBody",
5131
- "dataPathMatch",
5132
- "cookieInputCount",
5133
- "storageInputCount",
5134
- "volatileInputCount",
5135
- "guardCount"
5136
- ]
5137
- }
5138
- );
5139
- var opensteerValidationRuleSchema = objectSchema(
5140
- {
5141
- id: stringSchema({ minLength: 1 }),
5142
- kind: opensteerValidationRuleKindSchema,
5143
- label: stringSchema({ minLength: 1 }),
5144
- required: { type: "boolean" },
5145
- expectedStatus: integerSchema({ minimum: 0 }),
5146
- structureHash: stringSchema({ minLength: 1 }),
5147
- textIncludes: stringSchema({ minLength: 1 }),
5148
- minimumCount: integerSchema({ minimum: 0 })
5149
- },
5150
- {
5151
- title: "OpensteerValidationRule",
5152
- required: ["id", "kind", "label", "required"]
5153
- }
5154
- );
5155
- var opensteerChannelDescriptorSchema = objectSchema(
5156
- {
5157
- kind: opensteerReverseChannelKindSchema,
5158
- recordKind: networkRecordKindSchema,
5159
- method: stringSchema({ minLength: 1 }),
5160
- url: stringSchema({ minLength: 1 }),
5161
- subprotocol: stringSchema({ minLength: 1 })
5162
- },
5163
- {
5164
- title: "OpensteerChannelDescriptor",
5165
- required: ["kind", "recordKind", "url"]
5166
- }
5167
- );
5168
- var opensteerReverseOperationWorkflowStepSchema = objectSchema(
5169
- {
5170
- id: stringSchema({ minLength: 1 }),
5171
- kind: enumSchema(["operation"]),
5172
- label: stringSchema({ minLength: 1 }),
5173
- operation: stringSchema({ minLength: 1 }),
5174
- input: opensteerValueTemplateSchema,
5175
- bindAs: stringSchema({ minLength: 1 })
5176
- },
5177
- {
5178
- title: "OpensteerReverseOperationWorkflowStep",
5179
- required: ["id", "kind", "label", "operation", "input"]
5180
- }
5181
- );
5182
- var opensteerReverseAwaitRecordWorkflowStepSchema = objectSchema(
5183
- {
5184
- id: stringSchema({ minLength: 1 }),
5185
- kind: enumSchema(["await-record"]),
5186
- label: stringSchema({ minLength: 1 }),
5187
- channel: opensteerChannelDescriptorSchema,
5188
- recordId: stringSchema({ minLength: 1 }),
5189
- match: objectSchema(
5190
- {
5191
- recordId: stringSchema({ minLength: 1 }),
5192
- host: stringSchema({ minLength: 1 }),
5193
- path: stringSchema({ minLength: 1 }),
5194
- method: stringSchema({ minLength: 1 }),
5195
- channel: opensteerReverseChannelKindSchema,
5196
- status: integerSchema({ minimum: 0 }),
5197
- text: stringSchema({ minLength: 1 })
5198
- },
5199
- {
5200
- title: "OpensteerReverseAwaitRecordMatch"
5201
- }
5202
- ),
5203
- validationRuleIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5204
- timeoutMs: integerSchema({ minimum: 0 }),
5205
- bindAs: stringSchema({ minLength: 1 })
5206
- },
5207
- {
5208
- title: "OpensteerReverseAwaitRecordWorkflowStep",
5209
- required: ["id", "kind", "label", "channel"]
5210
- }
5211
- );
5212
- var opensteerReverseAssertWorkflowStepSchema = objectSchema(
5213
- {
5214
- id: stringSchema({ minLength: 1 }),
5215
- kind: enumSchema(["assert"]),
5216
- label: stringSchema({ minLength: 1 }),
5217
- validationRuleIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5218
- binding: stringSchema({ minLength: 1 })
5219
- },
5220
- {
5221
- title: "OpensteerReverseAssertWorkflowStep",
5222
- required: ["id", "kind", "label", "validationRuleIds"]
5223
- }
5224
- );
5225
- var opensteerReverseWorkflowStepSchema = oneOfSchema(
5226
- [
5227
- opensteerReverseOperationWorkflowStepSchema,
5228
- opensteerReverseAwaitRecordWorkflowStepSchema,
5229
- opensteerReverseAssertWorkflowStepSchema
5230
- ],
5231
- {
5232
- title: "OpensteerReverseWorkflowStep"
5233
- }
5234
- );
5235
- var opensteerReversePackageRequirementsSchema = objectSchema(
5236
- {
5237
- requiresBrowser: { type: "boolean" },
5238
- requiresLiveState: { type: "boolean" },
5239
- manualCalibration: enumSchema(["not-needed", "recommended", "required"]),
5240
- stateSources: arraySchema(opensteerStateSourceKindSchema, { uniqueItems: true })
5241
- },
5242
- {
5243
- title: "OpensteerReversePackageRequirements",
5244
- required: ["requiresBrowser", "requiresLiveState", "manualCalibration", "stateSources"]
5245
- }
5246
- );
5247
- var opensteerReverseAdvisoryTemplateSchema = objectSchema(
5248
- {
5249
- id: stringSchema({ minLength: 1 }),
5250
- label: stringSchema({ minLength: 1 }),
5251
- channel: opensteerReverseChannelKindSchema,
5252
- execution: enumSchema(["transport", "page-observation"]),
5253
- stateSource: opensteerStateSourceKindSchema,
5254
- observationId: stringSchema({ minLength: 1 }),
5255
- transport: transportKindSchema,
5256
- guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5257
- resolverIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5258
- requiresBrowser: { type: "boolean" },
5259
- requiresLiveState: { type: "boolean" },
5260
- viability: enumSchema(["ready", "draft", "unsupported"]),
5261
- notes: stringSchema({ minLength: 1 })
5262
- },
5263
- {
5264
- title: "OpensteerReverseAdvisoryTemplate",
5265
- required: [
5266
- "id",
5267
- "label",
5268
- "channel",
5269
- "execution",
5270
- "stateSource",
5271
- "guardIds",
5272
- "resolverIds",
5273
- "requiresBrowser",
5274
- "requiresLiveState",
5275
- "viability"
5276
- ]
5277
- }
5278
- );
5279
- var opensteerReverseGuardRecordSchema = objectSchema(
5280
- {
5281
- id: stringSchema({ minLength: 1 }),
5282
- kind: enumSchema(["interaction", "state", "script", "manual"]),
5283
- label: stringSchema({ minLength: 1 }),
5284
- status: enumSchema(["required", "satisfied", "unresolved"]),
5285
- interactionTraceId: stringSchema({ minLength: 1 }),
5286
- notes: stringSchema({ minLength: 1 })
5287
- },
5288
- {
5289
- title: "OpensteerReverseGuardRecord",
5290
- required: ["id", "kind", "label", "status"]
5291
- }
5292
- );
5293
- var opensteerReverseObservationRecordSchema = objectSchema(
5294
- {
5295
- id: stringSchema({ minLength: 1 }),
5296
- capturedAt: integerSchema({ minimum: 0 }),
5297
- pageRef: pageRefSchema,
5298
- url: stringSchema({ minLength: 1 }),
5299
- stateSource: opensteerStateSourceKindSchema,
5300
- networkRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5301
- scriptArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5302
- interactionTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5303
- stateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5304
- notes: stringSchema({ minLength: 1 })
5305
- },
5306
- {
5307
- title: "OpensteerReverseObservationRecord",
5308
- required: [
5309
- "id",
5310
- "capturedAt",
5311
- "stateSource",
5312
- "networkRecordIds",
5313
- "scriptArtifactIds",
5314
- "interactionTraceIds",
5315
- "stateSnapshotIds"
5316
- ]
5317
- }
5318
- );
5319
- var opensteerReverseObservedRecordSchema = objectSchema(
5320
- {
5321
- recordId: stringSchema({ minLength: 1 }),
5322
- observationId: stringSchema({ minLength: 1 }),
5323
- clusterId: stringSchema({ minLength: 1 }),
5324
- observedAt: integerSchema({ minimum: 0 }),
5325
- channel: opensteerChannelDescriptorSchema,
5326
- bodyCodec: opensteerBodyCodecDescriptorSchema,
5327
- resourceType: stringSchema({ minLength: 1 }),
5328
- status: integerSchema({ minimum: 0 }),
5329
- matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5330
- relationKinds: arraySchema(opensteerObservationClusterRelationshipKindSchema, {
5331
- uniqueItems: true
5332
- })
5333
- },
5334
- {
5335
- title: "OpensteerReverseObservedRecord",
5336
- required: [
5337
- "recordId",
5338
- "observationId",
5339
- "clusterId",
5340
- "channel",
5341
- "bodyCodec",
5342
- "matchedTargetHints",
5343
- "relationKinds"
5344
- ]
5345
- }
5346
- );
5347
- var opensteerReverseCandidateRecordSchema = objectSchema(
5348
- {
5349
- id: stringSchema({ minLength: 1 }),
5350
- observationId: stringSchema({ minLength: 1 }),
5351
- clusterId: stringSchema({ minLength: 1 }),
5352
- recordId: stringSchema({ minLength: 1 }),
5353
- channel: opensteerChannelDescriptorSchema,
5354
- bodyCodec: opensteerBodyCodecDescriptorSchema,
5355
- boundary: opensteerReverseCandidateBoundarySchema,
5356
- summary: stringSchema({ minLength: 1 }),
5357
- matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5358
- advisoryTags: arraySchema(opensteerReverseAdvisoryTagSchema, { uniqueItems: true }),
5359
- constraints: arraySchema(opensteerReverseConstraintKindSchema, { uniqueItems: true }),
5360
- signals: opensteerReverseAdvisorySignalsSchema,
5361
- inputs: arraySchema(opensteerRequestInputDescriptorSchema),
5362
- resolvers: arraySchema(opensteerExecutableResolverSchema),
5363
- guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5364
- scriptArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5365
- advisoryTemplates: arraySchema(opensteerReverseAdvisoryTemplateSchema)
5366
- },
5367
- {
5368
- title: "OpensteerReverseCandidateRecord",
5369
- required: [
5370
- "id",
5371
- "observationId",
5372
- "clusterId",
5373
- "recordId",
5374
- "channel",
5375
- "bodyCodec",
5376
- "boundary",
5377
- "summary",
5378
- "matchedTargetHints",
5379
- "advisoryTags",
5380
- "constraints",
5381
- "signals",
5382
- "inputs",
5383
- "resolvers",
5384
- "guardIds",
5385
- "scriptArtifactIds",
5386
- "advisoryTemplates"
5387
- ]
5388
- }
5389
- );
5390
- var opensteerReverseReplayValidationSchema = objectSchema(
5391
- {
5392
- statusMatches: { type: "boolean" },
5393
- structureMatches: { type: "boolean" },
5394
- opened: { type: "boolean" },
5395
- firstChunkObserved: { type: "boolean" },
5396
- firstChunkMatches: { type: "boolean" },
5397
- messageObserved: { type: "boolean" },
5398
- messageCount: integerSchema({ minimum: 0 })
5399
- },
5400
- {
5401
- title: "OpensteerReverseReplayValidation"
5402
- }
5403
- );
5404
- var opensteerReverseReplayRunRecordSchema = objectSchema(
5405
- {
5406
- id: stringSchema({ minLength: 1 }),
5407
- createdAt: integerSchema({ minimum: 0 }),
5408
- candidateId: stringSchema({ minLength: 1 }),
5409
- templateId: stringSchema({ minLength: 1 }),
5410
- packageId: stringSchema({ minLength: 1 }),
5411
- success: { type: "boolean" },
5412
- channel: opensteerReverseChannelKindSchema,
5413
- kind: opensteerReversePackageKindSchema,
5414
- readiness: opensteerReversePackageReadinessSchema,
5415
- transport: transportKindSchema,
5416
- stateSource: opensteerStateSourceKindSchema,
5417
- executedStepIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5418
- failedStepId: stringSchema({ minLength: 1 }),
5419
- bindings: recordSchema({}, { title: "OpensteerReverseReplayRunBindings" }),
5420
- recordId: stringSchema({ minLength: 1 }),
5421
- status: integerSchema({ minimum: 0 }),
5422
- validation: opensteerReverseReplayValidationSchema,
5423
- error: stringSchema({ minLength: 1 })
5424
- },
5425
- {
5426
- title: "OpensteerReverseReplayRunRecord",
5427
- required: [
5428
- "id",
5429
- "createdAt",
5430
- "packageId",
5431
- "success",
5432
- "kind",
5433
- "readiness",
5434
- "executedStepIds",
5435
- "validation"
5436
- ]
5437
- }
5438
- );
5439
- var opensteerReverseExperimentRecordSchema = objectSchema(
5440
- {
5441
- id: stringSchema({ minLength: 1 }),
5442
- createdAt: integerSchema({ minimum: 0 }),
5443
- candidateId: stringSchema({ minLength: 1 }),
5444
- templateId: stringSchema({ minLength: 1 }),
5445
- kind: enumSchema(["replay-attempt", "field-variation"]),
5446
- hypothesis: stringSchema({ minLength: 1 }),
5447
- success: { type: "boolean" },
5448
- status: integerSchema({ minimum: 0 }),
5449
- notes: stringSchema({ minLength: 1 }),
5450
- validation: opensteerReverseReplayValidationSchema
5451
- },
5452
- {
5453
- title: "OpensteerReverseExperimentRecord",
5454
- required: ["id", "createdAt", "kind", "hypothesis", "success"]
5455
- }
5456
- );
5457
- var opensteerReverseRequirementSchema = objectSchema(
5458
- {
5459
- id: stringSchema({ minLength: 1 }),
5460
- kind: opensteerReverseRequirementKindSchema,
5461
- status: opensteerReverseRequirementStatusSchema,
5462
- label: stringSchema({ minLength: 1 }),
5463
- description: stringSchema({ minLength: 1 }),
5464
- blocking: { type: "boolean" },
5465
- resolverId: stringSchema({ minLength: 1 }),
5466
- guardId: stringSchema({ minLength: 1 }),
5467
- stepId: stringSchema({ minLength: 1 }),
5468
- inputNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5469
- traceId: stringSchema({ minLength: 1 }),
5470
- artifactId: stringSchema({ minLength: 1 }),
5471
- recordId: stringSchema({ minLength: 1 })
5472
- },
5473
- {
5474
- title: "OpensteerReverseRequirement",
5475
- required: ["id", "kind", "status", "label", "blocking"]
5476
- }
5477
- );
5478
- var opensteerReverseSuggestedEditSchema = objectSchema(
5479
- {
5480
- id: stringSchema({ minLength: 1 }),
5481
- kind: opensteerReverseSuggestedEditKindSchema,
5482
- label: stringSchema({ minLength: 1 }),
5483
- description: stringSchema({ minLength: 1 }),
5484
- resolverId: stringSchema({ minLength: 1 }),
5485
- guardId: stringSchema({ minLength: 1 }),
5486
- stepId: stringSchema({ minLength: 1 }),
5487
- traceId: stringSchema({ minLength: 1 }),
5488
- artifactId: stringSchema({ minLength: 1 }),
5489
- recordId: stringSchema({ minLength: 1 }),
5490
- payload: jsonValueSchema2
5491
- },
5492
- {
5493
- title: "OpensteerReverseSuggestedEdit",
5494
- required: ["id", "kind", "label"]
5495
- }
5496
- );
5497
- var opensteerReverseExportRecordSchema = objectSchema(
5498
- {
5499
- id: stringSchema({ minLength: 1 }),
5500
- createdAt: integerSchema({ minimum: 0 }),
5501
- candidateId: stringSchema({ minLength: 1 }),
5502
- templateId: stringSchema({ minLength: 1 }),
5503
- packageId: stringSchema({ minLength: 1 }),
5504
- kind: opensteerReversePackageKindSchema,
5505
- readiness: opensteerReversePackageReadinessSchema,
5506
- requestPlanId: stringSchema({ minLength: 1 })
5507
- },
5508
- {
5509
- title: "OpensteerReverseExportRecord",
5510
- required: ["id", "createdAt", "packageId", "kind", "readiness"]
5511
- }
5512
- );
5513
- var opensteerReverseCasePayloadSchema = objectSchema(
5514
- {
5515
- objective: stringSchema({ minLength: 1 }),
5516
- notes: stringSchema({ minLength: 1 }),
5517
- status: opensteerReverseCaseStatusSchema,
5518
- stateSource: opensteerStateSourceKindSchema,
5519
- observations: arraySchema(opensteerReverseObservationRecordSchema),
5520
- observationClusters: arraySchema(opensteerObservationClusterSchema),
5521
- observedRecords: arraySchema(opensteerReverseObservedRecordSchema),
5522
- candidates: arraySchema(opensteerReverseCandidateRecordSchema),
5523
- guards: arraySchema(opensteerReverseGuardRecordSchema),
5524
- stateSnapshots: arraySchema(opensteerStateSnapshotSchema),
5525
- stateDeltas: arraySchema(opensteerStateDeltaSchema),
5526
- experiments: arraySchema(opensteerReverseExperimentRecordSchema),
5527
- replayRuns: arraySchema(opensteerReverseReplayRunRecordSchema),
5528
- exports: arraySchema(opensteerReverseExportRecordSchema)
5529
- },
5530
- {
5531
- title: "OpensteerReverseCasePayload",
5532
- required: [
5533
- "objective",
5534
- "status",
5535
- "stateSource",
5536
- "observations",
5537
- "observationClusters",
5538
- "observedRecords",
5539
- "candidates",
5540
- "guards",
5541
- "stateSnapshots",
5542
- "stateDeltas",
5543
- "experiments",
5544
- "replayRuns",
5545
- "exports"
5546
- ]
5547
- }
5548
- );
5549
- var opensteerReverseCaseRecordSchema = objectSchema(
5550
- {
5551
- id: stringSchema({ minLength: 1 }),
5552
- key: stringSchema({ minLength: 1 }),
5553
- version: stringSchema({ minLength: 1 }),
5554
- createdAt: integerSchema({ minimum: 0 }),
5555
- updatedAt: integerSchema({ minimum: 0 }),
5556
- contentHash: stringSchema({ minLength: 1 }),
5557
- tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5558
- provenance: opensteerRegistryProvenanceSchema,
5559
- payload: opensteerReverseCasePayloadSchema
5560
- },
5561
- {
5562
- title: "OpensteerReverseCaseRecord",
5563
- required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
5564
- }
5565
- );
5566
- var opensteerReversePackagePayloadSchema = objectSchema(
5567
- {
5568
- kind: opensteerReversePackageKindSchema,
5569
- readiness: opensteerReversePackageReadinessSchema,
5570
- caseId: stringSchema({ minLength: 1 }),
5571
- objective: stringSchema({ minLength: 1 }),
5572
- source: objectSchema(
5573
- {
5574
- kind: enumSchema(["record", "candidate"]),
5575
- id: stringSchema({ minLength: 1 })
5576
- },
5577
- {
5578
- title: "OpensteerReversePackageSource",
5579
- required: ["kind", "id"]
5580
- }
5581
- ),
5582
- sourceRecordId: stringSchema({ minLength: 1 }),
5583
- candidateId: stringSchema({ minLength: 1 }),
5584
- candidate: opensteerReverseCandidateRecordSchema,
5585
- templateId: stringSchema({ minLength: 1 }),
5586
- template: opensteerReverseAdvisoryTemplateSchema,
5587
- channel: opensteerChannelDescriptorSchema,
5588
- stateSource: opensteerStateSourceKindSchema,
5589
- observationId: stringSchema({ minLength: 1 }),
5590
- transport: transportKindSchema,
5591
- guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5592
- workflow: arraySchema(opensteerReverseWorkflowStepSchema),
5593
- resolvers: arraySchema(opensteerExecutableResolverSchema),
5594
- validators: arraySchema(opensteerValidationRuleSchema),
5595
- stateSnapshots: arraySchema(opensteerStateSnapshotSchema),
5596
- requirements: opensteerReversePackageRequirementsSchema,
5597
- requestPlanId: stringSchema({ minLength: 1 }),
5598
- unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
5599
- suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
5600
- attachedTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5601
- attachedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5602
- attachedRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5603
- notes: stringSchema({ minLength: 1 }),
5604
- parentPackageId: stringSchema({ minLength: 1 })
5605
- },
5606
- {
5607
- title: "OpensteerReversePackagePayload",
5608
- required: [
5609
- "kind",
5610
- "readiness",
5611
- "caseId",
5612
- "objective",
5613
- "source",
5614
- "sourceRecordId",
5615
- "guardIds",
5616
- "workflow",
5617
- "resolvers",
5618
- "validators",
5619
- "stateSnapshots",
5620
- "requirements",
5621
- "unresolvedRequirements",
5622
- "suggestedEdits",
5623
- "attachedTraceIds",
5624
- "attachedArtifactIds",
5625
- "attachedRecordIds"
5626
- ]
5627
- }
5628
- );
5629
- var opensteerReversePackageRecordSchema = objectSchema(
5630
- {
5631
- id: stringSchema({ minLength: 1 }),
5632
- key: stringSchema({ minLength: 1 }),
5633
- version: stringSchema({ minLength: 1 }),
5634
- createdAt: integerSchema({ minimum: 0 }),
5635
- updatedAt: integerSchema({ minimum: 0 }),
5636
- contentHash: stringSchema({ minLength: 1 }),
5637
- tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5638
- provenance: opensteerRegistryProvenanceSchema,
5639
- payload: opensteerReversePackagePayloadSchema
5640
- },
5641
- {
5642
- title: "OpensteerReversePackageRecord",
5643
- required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
5644
- }
5645
- );
5646
- var opensteerReverseCandidateReportItemSchema = objectSchema(
5647
- {
5648
- candidateId: stringSchema({ minLength: 1 }),
5649
- clusterId: stringSchema({ minLength: 1 }),
5650
- advisoryRank: numberSchema(),
5651
- bodyCodec: opensteerBodyCodecDescriptorSchema,
5652
- summary: stringSchema({ minLength: 1 }),
5653
- advisoryTags: arraySchema(opensteerReverseAdvisoryTagSchema, { uniqueItems: true }),
5654
- constraints: arraySchema(opensteerReverseConstraintKindSchema, { uniqueItems: true }),
5655
- signals: opensteerReverseAdvisorySignalsSchema,
5656
- reasons: arraySchema(stringSchema({ minLength: 1 }))
5657
- },
5658
- {
5659
- title: "OpensteerReverseCandidateAdvisoryItem",
5660
- required: [
5661
- "candidateId",
5662
- "clusterId",
5663
- "advisoryRank",
5664
- "bodyCodec",
5665
- "summary",
5666
- "advisoryTags",
5667
- "constraints",
5668
- "signals",
5669
- "reasons"
5670
- ]
5671
- }
5672
- );
5673
- var opensteerReverseDiscoverySummaryCountsSchema = objectSchema(
5674
- {
5675
- hosts: recordSchema(integerSchema({ minimum: 0 }), { title: "OpensteerReverseSummaryHosts" }),
5676
- channels: recordSchema(integerSchema({ minimum: 0 }), {
5677
- title: "OpensteerReverseSummaryChannels"
5678
- }),
5679
- resourceTypes: recordSchema(integerSchema({ minimum: 0 }), {
5680
- title: "OpensteerReverseSummaryResourceTypes"
5681
- }),
5682
- advisoryTags: recordSchema(integerSchema({ minimum: 0 }), {
5683
- title: "OpensteerReverseSummaryAdvisoryTags"
5684
- }),
5685
- constraints: recordSchema(integerSchema({ minimum: 0 }), {
5686
- title: "OpensteerReverseSummaryConstraints"
5687
- }),
5688
- relationKinds: recordSchema(integerSchema({ minimum: 0 }), {
5689
- title: "OpensteerReverseSummaryRelationKinds"
5690
- })
5691
- },
5692
- {
5693
- title: "OpensteerReverseDiscoverySummaryCounts",
5694
- required: [
5695
- "hosts",
5696
- "channels",
5697
- "resourceTypes",
5698
- "advisoryTags",
5699
- "constraints",
5700
- "relationKinds"
5701
- ]
5702
- }
5703
- );
5704
- var opensteerReverseReportPayloadSchema = objectSchema(
5705
- {
5706
- kind: opensteerReverseReportKindSchema,
5707
- caseId: stringSchema({ minLength: 1 }),
5708
- objective: stringSchema({ minLength: 1 }),
5709
- packageId: stringSchema({ minLength: 1 }),
5710
- packageKind: opensteerReversePackageKindSchema,
5711
- packageReadiness: opensteerReversePackageReadinessSchema,
5712
- observations: arraySchema(opensteerReverseObservationRecordSchema),
5713
- observationClusters: arraySchema(opensteerObservationClusterSchema),
5714
- observedRecords: arraySchema(opensteerReverseObservedRecordSchema),
5715
- guards: arraySchema(opensteerReverseGuardRecordSchema),
5716
- stateDeltas: arraySchema(opensteerStateDeltaSchema),
5717
- summaryCounts: opensteerReverseDiscoverySummaryCountsSchema,
5718
- candidateAdvisories: arraySchema(opensteerReverseCandidateReportItemSchema),
5719
- query: objectSchema(
5720
- {
5721
- view: opensteerReverseQueryViewSchema,
5722
- filters: objectSchema(
5723
- {
5724
- recordId: stringSchema({ minLength: 1 }),
5725
- clusterId: stringSchema({ minLength: 1 }),
5726
- candidateId: stringSchema({ minLength: 1 }),
5727
- host: stringSchema({ minLength: 1 }),
5728
- path: stringSchema({ minLength: 1 }),
5729
- method: stringSchema({ minLength: 1 }),
5730
- status: stringSchema({ minLength: 1 }),
5731
- resourceType: stringSchema({ minLength: 1 }),
5732
- channel: opensteerReverseChannelKindSchema,
5733
- boundary: opensteerReverseCandidateBoundarySchema,
5734
- advisoryTag: opensteerReverseAdvisoryTagSchema,
5735
- constraint: opensteerReverseConstraintKindSchema,
5736
- bodyCodec: opensteerBodyCodecKindSchema,
5737
- relationKind: opensteerObservationClusterRelationshipKindSchema,
5738
- hasGuards: { type: "boolean" },
5739
- hasResolvers: { type: "boolean" },
5740
- artifactId: stringSchema({ minLength: 1 }),
5741
- stateSnapshotId: stringSchema({ minLength: 1 }),
5742
- traceId: stringSchema({ minLength: 1 }),
5743
- evidenceRef: stringSchema({ minLength: 1 }),
5744
- text: stringSchema({ minLength: 1 })
5745
- },
5746
- {
5747
- title: "OpensteerReverseReportQueryFilters"
5748
- }
5749
- ),
5750
- sort: objectSchema(
5751
- {
5752
- preset: opensteerReverseSortPresetSchema,
5753
- keys: arraySchema(
5754
- objectSchema(
5755
- {
5756
- key: opensteerReverseSortKeySchema,
5757
- direction: opensteerReverseSortDirectionSchema
5758
- },
5759
- {
5760
- title: "OpensteerReverseReportQuerySortTerm",
5761
- required: ["key"]
5762
- }
5763
- ),
5764
- { minItems: 1 }
5765
- )
5766
- },
5767
- {
5768
- title: "OpensteerReverseReportQuerySort"
5769
- }
5770
- ),
5771
- limit: integerSchema({ minimum: 1 }),
5772
- totalCount: integerSchema({ minimum: 0 }),
5773
- nextCursor: stringSchema({ minLength: 1 }),
5774
- resultIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5775
- },
5776
- {
5777
- title: "OpensteerReverseQuerySnapshot",
5778
- required: ["view", "sort", "limit", "totalCount", "resultIds"]
5779
- }
5780
- ),
5781
- experiments: arraySchema(opensteerReverseExperimentRecordSchema),
5782
- replayRuns: arraySchema(opensteerReverseReplayRunRecordSchema),
5783
- unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
5784
- suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
5785
- linkedNetworkRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5786
- linkedInteractionTraceIds: arraySchema(stringSchema({ minLength: 1 }), {
5787
- uniqueItems: true
5788
- }),
5789
- linkedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5790
- linkedStateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5791
- package: opensteerReversePackageRecordSchema
5792
- },
5793
- {
5794
- title: "OpensteerReverseReportPayload",
5795
- required: [
5796
- "kind",
5797
- "caseId",
5798
- "objective",
5799
- "observations",
5800
- "observationClusters",
5801
- "observedRecords",
5802
- "guards",
5803
- "stateDeltas",
5804
- "summaryCounts",
5805
- "candidateAdvisories",
5806
- "experiments",
5807
- "replayRuns",
5808
- "linkedNetworkRecordIds",
5809
- "linkedInteractionTraceIds",
5810
- "linkedArtifactIds",
5811
- "linkedStateSnapshotIds"
5812
- ]
5813
- }
5814
- );
5815
- var opensteerReverseReportRecordSchema = objectSchema(
5816
- {
5817
- id: stringSchema({ minLength: 1 }),
5818
- key: stringSchema({ minLength: 1 }),
5819
- version: stringSchema({ minLength: 1 }),
5820
- createdAt: integerSchema({ minimum: 0 }),
5821
- updatedAt: integerSchema({ minimum: 0 }),
5822
- contentHash: stringSchema({ minLength: 1 }),
5823
- tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5824
- provenance: opensteerRegistryProvenanceSchema,
5825
- payload: opensteerReverseReportPayloadSchema
5826
- },
5827
- {
5828
- title: "OpensteerReverseReportRecord",
5829
- required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
5830
- }
5831
- );
5832
- var opensteerReverseNetworkFilterSchema = objectSchema(
5833
- {
5834
- url: stringSchema({ minLength: 1 }),
5835
- hostname: stringSchema({ minLength: 1 }),
5836
- path: stringSchema({ minLength: 1 }),
5837
- method: stringSchema({ minLength: 1 }),
5838
- resourceType: stringSchema({ minLength: 1 }),
5839
- includeBodies: { type: "boolean" }
5840
- },
5841
- {
5842
- title: "OpensteerReverseCaptureNetworkFilter"
5843
- }
5844
- );
5845
- var opensteerReverseQueryFiltersSchema = objectSchema(
5846
- {
5847
- recordId: stringSchema({ minLength: 1 }),
5848
- clusterId: stringSchema({ minLength: 1 }),
5849
- candidateId: stringSchema({ minLength: 1 }),
5850
- host: stringSchema({ minLength: 1 }),
5851
- path: stringSchema({ minLength: 1 }),
5852
- method: stringSchema({ minLength: 1 }),
5853
- status: stringSchema({ minLength: 1 }),
5854
- resourceType: stringSchema({ minLength: 1 }),
5855
- channel: opensteerReverseChannelKindSchema,
5856
- boundary: opensteerReverseCandidateBoundarySchema,
5857
- advisoryTag: opensteerReverseAdvisoryTagSchema,
5858
- constraint: opensteerReverseConstraintKindSchema,
5859
- bodyCodec: opensteerBodyCodecKindSchema,
5860
- relationKind: opensteerObservationClusterRelationshipKindSchema,
5861
- hasGuards: { type: "boolean" },
5862
- hasResolvers: { type: "boolean" },
5863
- artifactId: stringSchema({ minLength: 1 }),
5864
- stateSnapshotId: stringSchema({ minLength: 1 }),
5865
- traceId: stringSchema({ minLength: 1 }),
5866
- evidenceRef: stringSchema({ minLength: 1 }),
5867
- text: stringSchema({ minLength: 1 })
5868
- },
5869
- {
5870
- title: "OpensteerReverseQueryFilters"
5871
- }
5872
- );
5873
- var opensteerReverseQuerySortSchema = objectSchema(
5874
- {
5875
- preset: opensteerReverseSortPresetSchema,
5876
- keys: arraySchema(
5877
- objectSchema(
5878
- {
5879
- key: opensteerReverseSortKeySchema,
5880
- direction: opensteerReverseSortDirectionSchema
5881
- },
5882
- {
5883
- title: "OpensteerReverseSortTerm",
5884
- required: ["key"]
5885
- }
5886
- ),
5887
- { minItems: 1 }
5888
- )
5889
- },
5890
- {
5891
- title: "OpensteerReverseQuerySort"
5892
- }
5893
- );
5894
- var opensteerReverseQuerySnapshotSchema = objectSchema(
5895
- {
5896
- view: opensteerReverseQueryViewSchema,
5897
- filters: opensteerReverseQueryFiltersSchema,
5898
- sort: opensteerReverseQuerySortSchema,
5899
- limit: integerSchema({ minimum: 1, maximum: 200 }),
5900
- totalCount: integerSchema({ minimum: 0 }),
5901
- nextCursor: stringSchema({ minLength: 1 }),
5902
- resultIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5903
- },
5904
- {
5905
- title: "OpensteerReverseQuerySnapshot",
5906
- required: ["view", "sort", "limit", "totalCount", "resultIds"]
5907
- }
5908
- );
5909
- var opensteerReverseQueryRecordItemSchema = objectSchema(
5910
- {
5911
- record: opensteerReverseObservedRecordSchema,
5912
- candidateIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5913
- },
5914
- {
5915
- title: "OpensteerReverseQueryRecordItem",
5916
- required: ["record", "candidateIds"]
5917
- }
5918
- );
5919
- var opensteerReverseQueryClusterItemSchema = objectSchema(
5920
- {
5921
- cluster: opensteerObservationClusterSchema,
5922
- candidateIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
5923
- },
5924
- {
5925
- title: "OpensteerReverseQueryClusterItem",
5926
- required: ["cluster", "candidateIds"]
5927
- }
5928
- );
5929
- var opensteerReverseQueryCandidateItemSchema = objectSchema(
5930
- {
5931
- candidate: opensteerReverseCandidateRecordSchema,
5932
- reasons: arraySchema(stringSchema({ minLength: 1 }))
5933
- },
5934
- {
5935
- title: "OpensteerReverseQueryCandidateItem",
5936
- required: ["candidate", "reasons"]
5937
- }
5938
- );
5939
- var opensteerReverseDiscoverInputSchema = objectSchema(
5940
- {
5941
- caseId: stringSchema({ minLength: 1 }),
5942
- key: stringSchema({ minLength: 1 }),
5943
- objective: stringSchema({ minLength: 1 }),
5944
- notes: stringSchema({ minLength: 1 }),
5945
- tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5946
- pageRef: pageRefSchema,
5947
- stateSource: opensteerStateSourceKindSchema,
5948
- network: opensteerReverseNetworkFilterSchema,
5949
- includeScripts: { type: "boolean" },
5950
- includeStorage: { type: "boolean" },
5951
- includeSessionStorage: { type: "boolean" },
5952
- includeIndexedDb: { type: "boolean" },
5953
- interactionTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5954
- targetHints: opensteerReverseTargetHintsSchema,
5955
- captureWindowMs: integerSchema({ minimum: 0 }),
5956
- manualCalibration: opensteerReverseManualCalibrationModeSchema
5957
- },
5958
- {
5959
- title: "OpensteerReverseDiscoverInput"
5960
- }
5961
- );
5962
- var opensteerReverseDiscoverOutputSchema = objectSchema(
5963
- {
5964
- caseId: stringSchema({ minLength: 1 }),
5965
- reportId: stringSchema({ minLength: 1 }),
5966
- summary: objectSchema(
5967
- {
5968
- observationIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5969
- recordCount: integerSchema({ minimum: 0 }),
5970
- clusterCount: integerSchema({ minimum: 0 }),
5971
- candidateCount: integerSchema({ minimum: 0 })
5972
- },
5973
- {
5974
- title: "OpensteerReverseDiscoverSummary",
5975
- required: ["observationIds", "recordCount", "clusterCount", "candidateCount"]
5976
- }
5977
- ),
5978
- index: objectSchema(
5979
- {
5980
- views: arraySchema(opensteerReverseQueryViewSchema, { uniqueItems: true }),
5981
- sortableKeys: arraySchema(opensteerReverseSortKeySchema, { uniqueItems: true }),
5982
- channels: arraySchema(opensteerReverseChannelKindSchema, { uniqueItems: true }),
5983
- hosts: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
5984
- relationKinds: arraySchema(opensteerObservationClusterRelationshipKindSchema, {
5985
- uniqueItems: true
5986
- })
5987
- },
5988
- {
5989
- title: "OpensteerReverseDiscoverIndex",
5990
- required: ["views", "sortableKeys", "channels", "hosts", "relationKinds"]
5991
- }
5992
- )
5993
- },
5994
- {
5995
- title: "OpensteerReverseDiscoverOutput",
5996
- required: ["caseId", "reportId", "summary", "index"]
5997
- }
5998
- );
5999
- var opensteerReverseQueryInputSchema = objectSchema(
6000
- {
6001
- caseId: stringSchema({ minLength: 1 }),
6002
- view: opensteerReverseQueryViewSchema,
6003
- filters: opensteerReverseQueryFiltersSchema,
6004
- sort: opensteerReverseQuerySortSchema,
6005
- limit: integerSchema({ minimum: 1, maximum: 200 }),
6006
- cursor: stringSchema({ minLength: 1 })
6007
- },
6008
- {
6009
- title: "OpensteerReverseQueryInput",
6010
- required: ["caseId"]
6011
- }
6012
- );
6013
- var opensteerReverseQueryOutputSchema = objectSchema(
6014
- {
6015
- caseId: stringSchema({ minLength: 1 }),
6016
- view: opensteerReverseQueryViewSchema,
6017
- query: opensteerReverseQuerySnapshotSchema,
6018
- totalCount: integerSchema({ minimum: 0 }),
6019
- nextCursor: stringSchema({ minLength: 1 }),
6020
- records: arraySchema(opensteerReverseQueryRecordItemSchema),
6021
- clusters: arraySchema(opensteerReverseQueryClusterItemSchema),
6022
- candidates: arraySchema(opensteerReverseQueryCandidateItemSchema)
6023
- },
6024
- {
6025
- title: "OpensteerReverseQueryOutput",
6026
- required: ["caseId", "view", "query", "totalCount"]
6027
- }
6028
- );
6029
- var opensteerReversePackageCreateInputSchema = objectSchema(
6030
- {
6031
- caseId: stringSchema({ minLength: 1 }),
6032
- source: objectSchema(
6033
- {
6034
- kind: enumSchema(["record", "candidate"]),
6035
- id: stringSchema({ minLength: 1 })
6036
- },
6037
- {
6038
- title: "OpensteerReversePackageCreateSource",
6039
- required: ["kind", "id"]
6040
- }
6041
- ),
6042
- templateId: stringSchema({ minLength: 1 }),
6043
- key: stringSchema({ minLength: 1 }),
6044
- version: stringSchema({ minLength: 1 }),
6045
- notes: stringSchema({ minLength: 1 })
6046
- },
6047
- {
6048
- title: "OpensteerReversePackageCreateInput",
6049
- required: ["caseId", "source"]
6050
- }
6051
- );
6052
- var opensteerReversePackageCreateOutputSchema = objectSchema(
6053
- {
6054
- package: opensteerReversePackageRecordSchema,
6055
- report: opensteerReverseReportRecordSchema
6056
- },
6057
- {
6058
- title: "OpensteerReversePackageCreateOutput",
6059
- required: ["package", "report"]
6060
- }
6061
- );
6062
- var opensteerReversePackageRunInputSchema = objectSchema(
6063
- {
6064
- packageId: stringSchema({ minLength: 1 }),
6065
- pageRef: pageRefSchema
6066
- },
6067
- {
6068
- title: "OpensteerReversePackageRunInput",
6069
- required: ["packageId"]
6070
- }
6071
- );
6072
- var opensteerReversePackageRunOutputSchema = objectSchema(
6073
- {
6074
- packageId: stringSchema({ minLength: 1 }),
6075
- caseId: stringSchema({ minLength: 1 }),
6076
- source: objectSchema(
6077
- {
6078
- kind: enumSchema(["record", "candidate"]),
6079
- id: stringSchema({ minLength: 1 })
6080
- },
6081
- {
6082
- title: "OpensteerReversePackageRunSource",
6083
- required: ["kind", "id"]
6084
- }
6085
- ),
6086
- candidateId: stringSchema({ minLength: 1 }),
6087
- templateId: stringSchema({ minLength: 1 }),
6088
- success: { type: "boolean" },
6089
- kind: opensteerReversePackageKindSchema,
6090
- readiness: opensteerReversePackageReadinessSchema,
6091
- channel: opensteerReverseChannelKindSchema,
6092
- transport: transportKindSchema,
6093
- stateSource: opensteerStateSourceKindSchema,
6094
- recordId: stringSchema({ minLength: 1 }),
6095
- status: integerSchema({ minimum: 0 }),
6096
- validation: opensteerReverseReplayValidationSchema,
6097
- executedStepIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
6098
- failedStepId: stringSchema({ minLength: 1 }),
6099
- bindings: recordSchema({}, { title: "OpensteerReversePackageRunBindings" }),
6100
- replayRunId: stringSchema({ minLength: 1 }),
6101
- unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
6102
- suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
6103
- error: stringSchema({ minLength: 1 })
6104
- },
6105
- {
6106
- title: "OpensteerReversePackageRunOutput",
6107
- required: [
6108
- "packageId",
6109
- "source",
6110
- "success",
6111
- "kind",
6112
- "readiness",
6113
- "validation",
6114
- "executedStepIds",
6115
- "bindings",
6116
- "unresolvedRequirements",
6117
- "suggestedEdits"
6118
- ]
6119
- }
6120
- );
6121
- var opensteerReverseExportInputSchema = objectSchema(
6122
- {
6123
- packageId: stringSchema({ minLength: 1 }),
6124
- key: stringSchema({ minLength: 1 }),
6125
- version: stringSchema({ minLength: 1 })
6126
- },
6127
- {
6128
- title: "OpensteerReverseExportInput",
6129
- required: ["packageId"]
6130
- }
6131
- );
6132
- var opensteerReverseExportOutputSchema = objectSchema(
6133
- {
6134
- package: opensteerReversePackageRecordSchema,
6135
- requestPlan: opensteerRequestPlanRecordSchema
6136
- },
6137
- {
6138
- title: "OpensteerReverseExportOutput",
6139
- required: ["package"]
6140
- }
6141
- );
6142
- var opensteerReverseReportInputSchema = objectSchema(
6143
- {
6144
- caseId: stringSchema({ minLength: 1 }),
6145
- packageId: stringSchema({ minLength: 1 }),
6146
- reportId: stringSchema({ minLength: 1 }),
6147
- kind: opensteerReverseReportKindSchema
6148
- },
6149
- {
6150
- title: "OpensteerReverseReportInput"
6151
- }
6152
- );
6153
- var opensteerReverseReportOutputSchema = objectSchema(
6154
- {
6155
- report: opensteerReverseReportRecordSchema
6156
- },
6157
- {
6158
- title: "OpensteerReverseReportOutput",
6159
- required: ["report"]
6160
- }
6161
- );
6162
- var opensteerReversePackageGetInputSchema = objectSchema(
6163
- {
6164
- packageId: stringSchema({ minLength: 1 })
6165
- },
6166
- {
6167
- title: "OpensteerReversePackageGetInput",
6168
- required: ["packageId"]
6169
- }
6170
- );
6171
- var opensteerReversePackageGetOutputSchema = objectSchema(
6172
- {
6173
- package: opensteerReversePackageRecordSchema
6174
- },
6175
- {
6176
- title: "OpensteerReversePackageGetOutput",
6177
- required: ["package"]
6178
- }
6179
- );
6180
- var opensteerReversePackageListInputSchema = objectSchema(
6181
- {
6182
- caseId: stringSchema({ minLength: 1 }),
6183
- key: stringSchema({ minLength: 1 }),
6184
- kind: opensteerReversePackageKindSchema,
6185
- readiness: opensteerReversePackageReadinessSchema
6186
- },
6187
- {
6188
- title: "OpensteerReversePackageListInput"
6189
- }
6190
- );
6191
- var opensteerReversePackageListOutputSchema = objectSchema(
6192
- {
6193
- packages: arraySchema(opensteerReversePackageRecordSchema)
6194
- },
6195
- {
6196
- title: "OpensteerReversePackageListOutput",
6197
- required: ["packages"]
6198
- }
6199
- );
6200
- var opensteerReversePackagePatchInputSchema = objectSchema(
6201
- {
6202
- packageId: stringSchema({ minLength: 1 }),
6203
- key: stringSchema({ minLength: 1 }),
6204
- version: stringSchema({ minLength: 1 }),
6205
- notes: stringSchema({ minLength: 1 }),
6206
- workflow: arraySchema(opensteerReverseWorkflowStepSchema),
6207
- resolvers: arraySchema(opensteerExecutableResolverSchema),
6208
- validators: arraySchema(opensteerValidationRuleSchema),
6209
- attachedTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
6210
- attachedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
6211
- attachedRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
6212
- stateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
6213
- },
6214
- {
6215
- title: "OpensteerReversePackagePatchInput",
6216
- required: ["packageId"]
6217
- }
6218
- );
6219
- var opensteerReversePackagePatchOutputSchema = objectSchema(
6220
- {
6221
- package: opensteerReversePackageRecordSchema,
6222
- report: opensteerReverseReportRecordSchema
6223
- },
6224
- {
6225
- title: "OpensteerReversePackagePatchOutput",
6226
- required: ["package", "report"]
6227
- }
6228
- );
6229
-
6230
4292
  // src/interaction.ts
6231
4293
  var opensteerInteractionEventRecordSchema = objectSchema(
6232
4294
  {
@@ -7112,12 +5174,12 @@ var opensteerDomExtractInputSchema = defineSchema({
7112
5174
  ),
7113
5175
  anyOf: [defineSchema({ required: ["persist"] }), defineSchema({ required: ["schema"] })]
7114
5176
  });
7115
- var jsonValueSchema3 = recordSchema({}, { title: "JsonValueRecord" });
5177
+ var jsonValueSchema2 = recordSchema({}, { title: "JsonValueRecord" });
7116
5178
  var opensteerDomExtractOutputSchema = objectSchema(
7117
5179
  {
7118
5180
  data: oneOfSchema(
7119
5181
  [
7120
- jsonValueSchema3,
5182
+ jsonValueSchema2,
7121
5183
  arraySchema({}),
7122
5184
  stringSchema(),
7123
5185
  numberSchema(),
@@ -7523,7 +5585,7 @@ var opensteerSemanticOperationSpecificationsBase = [
7523
5585
  }),
7524
5586
  defineSemanticOperationSpec({
7525
5587
  name: "artifact.read",
7526
- description: "Read a persisted artifact by ID so agents can inspect captured scripts, storage, cookies, or snapshots linked from reverse packages and reports.",
5588
+ description: "Read a persisted artifact by ID so agents can inspect captured scripts, storage, cookies, or snapshots linked from recorded workflows.",
7527
5589
  inputSchema: opensteerArtifactReadInputSchema,
7528
5590
  outputSchema: opensteerArtifactReadOutputSchema,
7529
5591
  requiredCapabilities: []
@@ -7954,14 +6016,7 @@ exports.oneOfSchema = oneOfSchema;
7954
6016
  exports.opensteerArtifactReadInputSchema = opensteerArtifactReadInputSchema;
7955
6017
  exports.opensteerArtifactReadOutputSchema = opensteerArtifactReadOutputSchema;
7956
6018
  exports.opensteerArtifactSchema = opensteerArtifactSchema;
7957
- exports.opensteerAuthRecipeHookRefSchema = opensteerAuthRecipeHookRefSchema;
7958
- exports.opensteerAuthRecipePayloadSchema = opensteerAuthRecipePayloadSchema;
7959
- exports.opensteerAuthRecipeRecordSchema = opensteerAuthRecipeRecordSchema;
7960
- exports.opensteerAuthRecipeRefSchema = opensteerAuthRecipeRefSchema;
7961
- exports.opensteerAuthRecipeStepSchema = opensteerAuthRecipeStepSchema;
7962
6019
  exports.opensteerAutomationOperationNames = opensteerAutomationOperationNames;
7963
- exports.opensteerBodyCodecDescriptorSchema = opensteerBodyCodecDescriptorSchema;
7964
- exports.opensteerBodyCodecKindSchema = opensteerBodyCodecKindSchema;
7965
6020
  exports.opensteerCapabilities = opensteerCapabilities;
7966
6021
  exports.opensteerCapabilityDescriptorListSchema = opensteerCapabilityDescriptorListSchema;
7967
6022
  exports.opensteerCapabilityDescriptorSchema = opensteerCapabilityDescriptorSchema;
@@ -7978,11 +6033,7 @@ exports.opensteerErrorCodes = opensteerErrorCodes;
7978
6033
  exports.opensteerErrorEnvelopeSchema = opensteerErrorEnvelopeSchema;
7979
6034
  exports.opensteerErrorSchema = opensteerErrorSchema;
7980
6035
  exports.opensteerEventSchema = opensteerEventSchema;
7981
- exports.opensteerExecutableResolverKindSchema = opensteerExecutableResolverKindSchema;
7982
- exports.opensteerExecutableResolverSchema = opensteerExecutableResolverSchema;
7983
6036
  exports.opensteerExposedSemanticOperationNames = opensteerExposedSemanticOperationNames;
7984
- exports.opensteerGetAuthRecipeInputSchema = opensteerGetAuthRecipeInputSchema;
7985
- exports.opensteerGetRecipeInputSchema = opensteerGetRecipeInputSchema;
7986
6037
  exports.opensteerGetRequestPlanInputSchema = opensteerGetRequestPlanInputSchema;
7987
6038
  exports.opensteerInferRequestPlanInputSchema = opensteerInferRequestPlanInputSchema;
7988
6039
  exports.opensteerInteractionCaptureInputSchema = opensteerInteractionCaptureInputSchema;
@@ -7996,10 +6047,6 @@ exports.opensteerInteractionReplayInputSchema = opensteerInteractionReplayInputS
7996
6047
  exports.opensteerInteractionReplayOutputSchema = opensteerInteractionReplayOutputSchema;
7997
6048
  exports.opensteerInteractionTracePayloadSchema = opensteerInteractionTracePayloadSchema;
7998
6049
  exports.opensteerInteractionTraceRecordSchema = opensteerInteractionTraceRecordSchema;
7999
- exports.opensteerListAuthRecipesInputSchema = opensteerListAuthRecipesInputSchema;
8000
- exports.opensteerListAuthRecipesOutputSchema = opensteerListAuthRecipesOutputSchema;
8001
- exports.opensteerListRecipesInputSchema = opensteerListRecipesInputSchema;
8002
- exports.opensteerListRecipesOutputSchema = opensteerListRecipesOutputSchema;
8003
6050
  exports.opensteerListRequestPlansInputSchema = opensteerListRequestPlansInputSchema;
8004
6051
  exports.opensteerListRequestPlansOutputSchema = opensteerListRequestPlansOutputSchema;
8005
6052
  exports.opensteerMcpTools = opensteerMcpTools;
@@ -8013,8 +6060,6 @@ exports.opensteerNetworkReplayInputSchema = opensteerNetworkReplayInputSchema;
8013
6060
  exports.opensteerNetworkSummaryRecordSchema = opensteerNetworkSummaryRecordSchema;
8014
6061
  exports.opensteerNetworkTagInputSchema = opensteerNetworkTagInputSchema;
8015
6062
  exports.opensteerNetworkTagOutputSchema = opensteerNetworkTagOutputSchema;
8016
- exports.opensteerObservationClusterRelationshipKindSchema = opensteerObservationClusterRelationshipKindSchema;
8017
- exports.opensteerObservationClusterSchema = opensteerObservationClusterSchema;
8018
6063
  exports.opensteerOperationNames = opensteerOperationNames;
8019
6064
  exports.opensteerOperationSpecificationMap = opensteerOperationSpecificationMap;
8020
6065
  exports.opensteerOperationSpecifications = opensteerOperationSpecifications;
@@ -8022,12 +6067,6 @@ exports.opensteerProtocolDescriptor = opensteerProtocolDescriptor;
8022
6067
  exports.opensteerProtocolDescriptorSchema = opensteerProtocolDescriptorSchema;
8023
6068
  exports.opensteerRawRequestInputSchema = opensteerRawRequestInputSchema;
8024
6069
  exports.opensteerRawRequestOutputSchema = opensteerRawRequestOutputSchema;
8025
- exports.opensteerRecipeCachePolicySchema = opensteerRecipeCachePolicySchema;
8026
- exports.opensteerRecipeHookRefSchema = opensteerRecipeHookRefSchema;
8027
- exports.opensteerRecipePayloadSchema = opensteerRecipePayloadSchema;
8028
- exports.opensteerRecipeRecordSchema = opensteerRecipeRecordSchema;
8029
- exports.opensteerRecipeRefSchema = opensteerRecipeRefSchema;
8030
- exports.opensteerRecipeStepSchema = opensteerRecipeStepSchema;
8031
6070
  exports.opensteerRefKindSchema = opensteerRefKindSchema;
8032
6071
  exports.opensteerRefSchema = opensteerRefSchema;
8033
6072
  exports.opensteerRegistryProvenanceSchema = opensteerRegistryProvenanceSchema;
@@ -8037,13 +6076,6 @@ exports.opensteerRequestExecuteInputSchema = opensteerRequestExecuteInputSchema;
8037
6076
  exports.opensteerRequestExecuteOutputSchema = opensteerRequestExecuteOutputSchema;
8038
6077
  exports.opensteerRequestFailurePolicyHeaderMatchSchema = opensteerRequestFailurePolicyHeaderMatchSchema;
8039
6078
  exports.opensteerRequestFailurePolicySchema = opensteerRequestFailurePolicySchema;
8040
- exports.opensteerRequestInputClassificationSchema = opensteerRequestInputClassificationSchema;
8041
- exports.opensteerRequestInputDescriptorSchema = opensteerRequestInputDescriptorSchema;
8042
- exports.opensteerRequestInputExportPolicySchema = opensteerRequestInputExportPolicySchema;
8043
- exports.opensteerRequestInputLocationSchema = opensteerRequestInputLocationSchema;
8044
- exports.opensteerRequestInputMaterializationPolicySchema = opensteerRequestInputMaterializationPolicySchema;
8045
- exports.opensteerRequestInputRequirednessSchema = opensteerRequestInputRequirednessSchema;
8046
- exports.opensteerRequestInputSourceSchema = opensteerRequestInputSourceSchema;
8047
6079
  exports.opensteerRequestPlanAuthSchema = opensteerRequestPlanAuthSchema;
8048
6080
  exports.opensteerRequestPlanBodySchema = opensteerRequestPlanBodySchema;
8049
6081
  exports.opensteerRequestPlanEndpointSchema = opensteerRequestPlanEndpointSchema;
@@ -8051,10 +6083,7 @@ exports.opensteerRequestPlanFreshnessSchema = opensteerRequestPlanFreshnessSchem
8051
6083
  exports.opensteerRequestPlanParameterLocationSchema = opensteerRequestPlanParameterLocationSchema;
8052
6084
  exports.opensteerRequestPlanParameterSchema = opensteerRequestPlanParameterSchema;
8053
6085
  exports.opensteerRequestPlanPayloadSchema = opensteerRequestPlanPayloadSchema;
8054
- exports.opensteerRequestPlanRecipeBindingSchema = opensteerRequestPlanRecipeBindingSchema;
8055
- exports.opensteerRequestPlanRecipesSchema = opensteerRequestPlanRecipesSchema;
8056
6086
  exports.opensteerRequestPlanRecordSchema = opensteerRequestPlanRecordSchema;
8057
- exports.opensteerRequestPlanRecoverBindingSchema = opensteerRequestPlanRecoverBindingSchema;
8058
6087
  exports.opensteerRequestPlanResponseExpectationSchema = opensteerRequestPlanResponseExpectationSchema;
8059
6088
  exports.opensteerRequestPlanTransportSchema = opensteerRequestPlanTransportSchema;
8060
6089
  exports.opensteerRequestResponseResultSchema = opensteerRequestResponseResultSchema;
@@ -8063,68 +6092,6 @@ exports.opensteerRequestRetryPolicySchema = opensteerRequestRetryPolicySchema;
8063
6092
  exports.opensteerRequestScalarSchema = opensteerRequestScalarSchema;
8064
6093
  exports.opensteerRequestTransportResultSchema = opensteerRequestTransportResultSchema;
8065
6094
  exports.opensteerRestEndpoints = opensteerRestEndpoints;
8066
- exports.opensteerReverseAdvisorySignalsSchema = opensteerReverseAdvisorySignalsSchema;
8067
- exports.opensteerReverseAdvisoryTagSchema = opensteerReverseAdvisoryTagSchema;
8068
- exports.opensteerReverseAdvisoryTemplateSchema = opensteerReverseAdvisoryTemplateSchema;
8069
- exports.opensteerReverseCandidateBoundarySchema = opensteerReverseCandidateBoundarySchema;
8070
- exports.opensteerReverseCandidateRecordSchema = opensteerReverseCandidateRecordSchema;
8071
- exports.opensteerReverseCandidateReportItemSchema = opensteerReverseCandidateReportItemSchema;
8072
- exports.opensteerReverseCasePayloadSchema = opensteerReverseCasePayloadSchema;
8073
- exports.opensteerReverseCaseRecordSchema = opensteerReverseCaseRecordSchema;
8074
- exports.opensteerReverseCaseStatusSchema = opensteerReverseCaseStatusSchema;
8075
- exports.opensteerReverseChannelKindSchema = opensteerReverseChannelKindSchema;
8076
- exports.opensteerReverseConstraintKindSchema = opensteerReverseConstraintKindSchema;
8077
- exports.opensteerReverseDiscoverInputSchema = opensteerReverseDiscoverInputSchema;
8078
- exports.opensteerReverseDiscoverOutputSchema = opensteerReverseDiscoverOutputSchema;
8079
- exports.opensteerReverseExperimentRecordSchema = opensteerReverseExperimentRecordSchema;
8080
- exports.opensteerReverseExportInputSchema = opensteerReverseExportInputSchema;
8081
- exports.opensteerReverseExportOutputSchema = opensteerReverseExportOutputSchema;
8082
- exports.opensteerReverseExportRecordSchema = opensteerReverseExportRecordSchema;
8083
- exports.opensteerReverseGuardRecordSchema = opensteerReverseGuardRecordSchema;
8084
- exports.opensteerReverseManualCalibrationModeSchema = opensteerReverseManualCalibrationModeSchema;
8085
- exports.opensteerReverseObservationRecordSchema = opensteerReverseObservationRecordSchema;
8086
- exports.opensteerReverseObservedRecordSchema = opensteerReverseObservedRecordSchema;
8087
- exports.opensteerReversePackageCreateInputSchema = opensteerReversePackageCreateInputSchema;
8088
- exports.opensteerReversePackageCreateOutputSchema = opensteerReversePackageCreateOutputSchema;
8089
- exports.opensteerReversePackageGetInputSchema = opensteerReversePackageGetInputSchema;
8090
- exports.opensteerReversePackageGetOutputSchema = opensteerReversePackageGetOutputSchema;
8091
- exports.opensteerReversePackageKindSchema = opensteerReversePackageKindSchema;
8092
- exports.opensteerReversePackageListInputSchema = opensteerReversePackageListInputSchema;
8093
- exports.opensteerReversePackageListOutputSchema = opensteerReversePackageListOutputSchema;
8094
- exports.opensteerReversePackagePatchInputSchema = opensteerReversePackagePatchInputSchema;
8095
- exports.opensteerReversePackagePatchOutputSchema = opensteerReversePackagePatchOutputSchema;
8096
- exports.opensteerReversePackagePayloadSchema = opensteerReversePackagePayloadSchema;
8097
- exports.opensteerReversePackageReadinessSchema = opensteerReversePackageReadinessSchema;
8098
- exports.opensteerReversePackageRecordSchema = opensteerReversePackageRecordSchema;
8099
- exports.opensteerReversePackageRequirementsSchema = opensteerReversePackageRequirementsSchema;
8100
- exports.opensteerReversePackageRunInputSchema = opensteerReversePackageRunInputSchema;
8101
- exports.opensteerReversePackageRunOutputSchema = opensteerReversePackageRunOutputSchema;
8102
- exports.opensteerReverseQueryInputSchema = opensteerReverseQueryInputSchema;
8103
- exports.opensteerReverseQueryOutputSchema = opensteerReverseQueryOutputSchema;
8104
- exports.opensteerReverseQueryViewSchema = opensteerReverseQueryViewSchema;
8105
- exports.opensteerReverseReplayRunRecordSchema = opensteerReverseReplayRunRecordSchema;
8106
- exports.opensteerReverseReplayValidationSchema = opensteerReverseReplayValidationSchema;
8107
- exports.opensteerReverseReportInputSchema = opensteerReverseReportInputSchema;
8108
- exports.opensteerReverseReportKindSchema = opensteerReverseReportKindSchema;
8109
- exports.opensteerReverseReportOutputSchema = opensteerReverseReportOutputSchema;
8110
- exports.opensteerReverseReportPayloadSchema = opensteerReverseReportPayloadSchema;
8111
- exports.opensteerReverseReportRecordSchema = opensteerReverseReportRecordSchema;
8112
- exports.opensteerReverseRequirementKindSchema = opensteerReverseRequirementKindSchema;
8113
- exports.opensteerReverseRequirementSchema = opensteerReverseRequirementSchema;
8114
- exports.opensteerReverseRequirementStatusSchema = opensteerReverseRequirementStatusSchema;
8115
- exports.opensteerReverseSortDirectionSchema = opensteerReverseSortDirectionSchema;
8116
- exports.opensteerReverseSortKeySchema = opensteerReverseSortKeySchema;
8117
- exports.opensteerReverseSortPresetSchema = opensteerReverseSortPresetSchema;
8118
- exports.opensteerReverseSuggestedEditKindSchema = opensteerReverseSuggestedEditKindSchema;
8119
- exports.opensteerReverseSuggestedEditSchema = opensteerReverseSuggestedEditSchema;
8120
- exports.opensteerReverseTargetHintsSchema = opensteerReverseTargetHintsSchema;
8121
- exports.opensteerReverseWorkflowStepKindSchema = opensteerReverseWorkflowStepKindSchema;
8122
- exports.opensteerReverseWorkflowStepSchema = opensteerReverseWorkflowStepSchema;
8123
- exports.opensteerRunAuthRecipeInputSchema = opensteerRunAuthRecipeInputSchema;
8124
- exports.opensteerRunAuthRecipeOutputSchema = opensteerRunAuthRecipeOutputSchema;
8125
- exports.opensteerRunRecipeInputSchema = opensteerRunRecipeInputSchema;
8126
- exports.opensteerRunRecipeOutputSchema = opensteerRunRecipeOutputSchema;
8127
- exports.opensteerRuntimeValueKeySchema = opensteerRuntimeValueKeySchema;
8128
6095
  exports.opensteerScriptBeautifyInputSchema = opensteerScriptBeautifyInputSchema;
8129
6096
  exports.opensteerScriptBeautifyOutputSchema = opensteerScriptBeautifyOutputSchema;
8130
6097
  exports.opensteerScriptDeobfuscateInputSchema = opensteerScriptDeobfuscateInputSchema;
@@ -8141,16 +6108,8 @@ exports.opensteerStateDeltaSchema = opensteerStateDeltaSchema;
8141
6108
  exports.opensteerStateQueryInputSchema = opensteerStateQueryInputSchema;
8142
6109
  exports.opensteerStateQueryOutputSchema = opensteerStateQueryOutputSchema;
8143
6110
  exports.opensteerStateSnapshotSchema = opensteerStateSnapshotSchema;
8144
- exports.opensteerStateSourceKindSchema = opensteerStateSourceKindSchema;
8145
6111
  exports.opensteerStorageQueryInputSchema = opensteerStorageQueryInputSchema;
8146
6112
  exports.opensteerStorageQueryOutputSchema = opensteerStorageQueryOutputSchema;
8147
- exports.opensteerValidationRuleKindSchema = opensteerValidationRuleKindSchema;
8148
- exports.opensteerValidationRuleSchema = opensteerValidationRuleSchema;
8149
- exports.opensteerValueReferenceKindSchema = opensteerValueReferenceKindSchema;
8150
- exports.opensteerValueReferenceSchema = opensteerValueReferenceSchema;
8151
- exports.opensteerValueTemplateSchema = opensteerValueTemplateSchema;
8152
- exports.opensteerWriteAuthRecipeInputSchema = opensteerWriteAuthRecipeInputSchema;
8153
- exports.opensteerWriteRecipeInputSchema = opensteerWriteRecipeInputSchema;
8154
6113
  exports.opensteerWriteRequestPlanInputSchema = opensteerWriteRequestPlanInputSchema;
8155
6114
  exports.orderedHeadersSchema = orderedHeadersSchema;
8156
6115
  exports.pageInfoSchema = pageInfoSchema;