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