opensteer 0.9.1 → 0.9.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/README.md +0 -3
- package/dist/{chunk-4LP7QP2O.js → chunk-2TIVULZY.js} +3 -236
- package/dist/chunk-2TIVULZY.js.map +1 -0
- package/dist/{chunk-Z53HNZ7Z.js → chunk-FIMNKEG5.js} +3 -3
- package/dist/{chunk-Z53HNZ7Z.js.map → chunk-FIMNKEG5.js.map} +1 -1
- package/dist/{chunk-6PGXWW3X.js → chunk-HD6KVZ42.js} +120 -2047
- package/dist/chunk-HD6KVZ42.js.map +1 -0
- package/dist/{chunk-L4FWHBQJ.js → chunk-KPYLS2KQ.js} +5 -36
- package/dist/chunk-KPYLS2KQ.js.map +1 -0
- package/dist/cli/bin.cjs +422 -2616
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +5 -5
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +170 -2361
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -757
- package/dist/index.d.ts +59 -757
- package/dist/index.js +3 -3
- package/dist/local-view/serve-entry.cjs +2 -235
- package/dist/local-view/serve-entry.cjs.map +1 -1
- package/dist/local-view/serve-entry.js +1 -1
- package/dist/opensteer-MIQ43CY4.js +6 -0
- package/dist/{opensteer-KZCRP425.js.map → opensteer-MIQ43CY4.js.map} +1 -1
- package/dist/{session-control-VGBFOH3Y.js → session-control-IFE3IPS3.js} +3 -3
- package/dist/{session-control-VGBFOH3Y.js.map → session-control-IFE3IPS3.js.map} +1 -1
- package/package.json +6 -6
- package/skills/opensteer/SKILL.md +1 -1
- package/dist/chunk-4LP7QP2O.js.map +0 -1
- package/dist/chunk-6PGXWW3X.js.map +0 -1
- package/dist/chunk-L4FWHBQJ.js.map +0 -1
- package/dist/opensteer-KZCRP425.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveFilesystemWorkspacePath, createFilesystemOpensteerWorkspace, DEFAULT_OPENSTEER_ENGINE, assertSupportedEngineOptions, OpensteerBrowserManager, normalizeObservabilityConfig, manifestToExternalBinaryLocation, normalizeObservationContext } from './chunk-
|
|
1
|
+
import { resolveFilesystemWorkspacePath, createFilesystemOpensteerWorkspace, DEFAULT_OPENSTEER_ENGINE, assertSupportedEngineOptions, OpensteerBrowserManager, normalizeObservabilityConfig, manifestToExternalBinaryLocation, normalizeObservationContext } from './chunk-2TIVULZY.js';
|
|
2
2
|
import { canonicalJsonString, toCanonicalJsonValue, readPersistedCloudSessionRecord, writePersistedSessionRecord, clearPersistedSessionRecord, sha256Hex, resolveBrandUserDataDir, getBrowserBrand, detectInstalledBrowserBrands, __require } from './chunk-BMPUL66S.js';
|
|
3
3
|
import { selectAll } from 'css-select';
|
|
4
4
|
import { createHash, randomUUID, pbkdf2Sync, createDecipheriv } from 'crypto';
|
|
@@ -1193,55 +1193,6 @@ arraySchema(headerEntrySchema, {
|
|
|
1193
1193
|
title: "OrderedHeaders"
|
|
1194
1194
|
});
|
|
1195
1195
|
|
|
1196
|
-
// ../protocol/src/captcha.ts
|
|
1197
|
-
var captchaTypeSchema = enumSchema(
|
|
1198
|
-
["recaptcha-v2", "hcaptcha", "turnstile"],
|
|
1199
|
-
{
|
|
1200
|
-
title: "CaptchaType"
|
|
1201
|
-
}
|
|
1202
|
-
);
|
|
1203
|
-
var captchaProviderSchema = enumSchema(["2captcha", "capsolver"], {
|
|
1204
|
-
title: "CaptchaProvider"
|
|
1205
|
-
});
|
|
1206
|
-
var captchaDetectionResultSchema = objectSchema(
|
|
1207
|
-
{
|
|
1208
|
-
type: captchaTypeSchema,
|
|
1209
|
-
siteKey: stringSchema({ minLength: 1 }),
|
|
1210
|
-
pageUrl: stringSchema({ minLength: 1 })
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
title: "CaptchaDetectionResult",
|
|
1214
|
-
required: ["type", "siteKey", "pageUrl"]
|
|
1215
|
-
}
|
|
1216
|
-
);
|
|
1217
|
-
var opensteerCaptchaSolveInputSchema = objectSchema(
|
|
1218
|
-
{
|
|
1219
|
-
provider: captchaProviderSchema,
|
|
1220
|
-
apiKey: stringSchema({ minLength: 1 }),
|
|
1221
|
-
pageRef: pageRefSchema,
|
|
1222
|
-
timeoutMs: integerSchema({ minimum: 1 }),
|
|
1223
|
-
type: captchaTypeSchema,
|
|
1224
|
-
siteKey: stringSchema({ minLength: 1 }),
|
|
1225
|
-
pageUrl: stringSchema({ minLength: 1 })
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
title: "OpensteerCaptchaSolveInput",
|
|
1229
|
-
required: ["provider", "apiKey"]
|
|
1230
|
-
}
|
|
1231
|
-
);
|
|
1232
|
-
var opensteerCaptchaSolveOutputSchema = objectSchema(
|
|
1233
|
-
{
|
|
1234
|
-
captcha: captchaDetectionResultSchema,
|
|
1235
|
-
token: stringSchema({ minLength: 1 }),
|
|
1236
|
-
injected: { type: "boolean" },
|
|
1237
|
-
provider: captchaProviderSchema
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
title: "OpensteerCaptchaSolveOutput",
|
|
1241
|
-
required: ["captcha", "token", "injected", "provider"]
|
|
1242
|
-
}
|
|
1243
|
-
);
|
|
1244
|
-
|
|
1245
1196
|
// ../protocol/src/storage.ts
|
|
1246
1197
|
var jsonUnknownSchema = {};
|
|
1247
1198
|
var cookieSameSiteSchema = enumSchema(["strict", "lax", "none"], {
|
|
@@ -1494,16 +1445,6 @@ var opensteerRequestPlanResponseExpectationSchema = objectSchema(
|
|
|
1494
1445
|
required: ["status"]
|
|
1495
1446
|
}
|
|
1496
1447
|
);
|
|
1497
|
-
var opensteerRecipeRefSchema = objectSchema(
|
|
1498
|
-
{
|
|
1499
|
-
key: stringSchema({ minLength: 1 }),
|
|
1500
|
-
version: stringSchema({ minLength: 1 })
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
title: "OpensteerRecipeRef",
|
|
1504
|
-
required: ["key"]
|
|
1505
|
-
}
|
|
1506
|
-
);
|
|
1507
1448
|
var opensteerRequestFailurePolicyHeaderMatchSchema = objectSchema(
|
|
1508
1449
|
{
|
|
1509
1450
|
name: stringSchema({ minLength: 1 }),
|
|
@@ -1559,46 +1500,9 @@ var opensteerRequestRetryPolicySchema = objectSchema(
|
|
|
1559
1500
|
required: ["maxRetries"]
|
|
1560
1501
|
}
|
|
1561
1502
|
);
|
|
1562
|
-
var opensteerRecipeCachePolicySchema = enumSchema(
|
|
1563
|
-
["none", "untilFailure"],
|
|
1564
|
-
{
|
|
1565
|
-
title: "OpensteerRecipeCachePolicy"
|
|
1566
|
-
}
|
|
1567
|
-
);
|
|
1568
|
-
var opensteerRequestPlanRecipeBindingSchema = objectSchema(
|
|
1569
|
-
{
|
|
1570
|
-
recipe: opensteerRecipeRefSchema,
|
|
1571
|
-
cachePolicy: opensteerRecipeCachePolicySchema
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
title: "OpensteerRequestPlanRecipeBinding",
|
|
1575
|
-
required: ["recipe"]
|
|
1576
|
-
}
|
|
1577
|
-
);
|
|
1578
|
-
var opensteerRequestPlanRecoverBindingSchema = objectSchema(
|
|
1579
|
-
{
|
|
1580
|
-
recipe: opensteerRecipeRefSchema,
|
|
1581
|
-
cachePolicy: opensteerRecipeCachePolicySchema,
|
|
1582
|
-
failurePolicy: opensteerRequestFailurePolicySchema
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
title: "OpensteerRequestPlanRecoverBinding",
|
|
1586
|
-
required: ["recipe", "failurePolicy"]
|
|
1587
|
-
}
|
|
1588
|
-
);
|
|
1589
|
-
var opensteerRequestPlanRecipesSchema = objectSchema(
|
|
1590
|
-
{
|
|
1591
|
-
prepare: opensteerRequestPlanRecipeBindingSchema,
|
|
1592
|
-
recover: opensteerRequestPlanRecoverBindingSchema
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
title: "OpensteerRequestPlanRecipes"
|
|
1596
|
-
}
|
|
1597
|
-
);
|
|
1598
1503
|
var opensteerRequestPlanAuthSchema = objectSchema(
|
|
1599
1504
|
{
|
|
1600
1505
|
strategy: enumSchema(["session-cookie", "bearer-token", "api-key", "custom"]),
|
|
1601
|
-
recipe: opensteerRecipeRefSchema,
|
|
1602
1506
|
failurePolicy: opensteerRequestFailurePolicySchema,
|
|
1603
1507
|
description: stringSchema({ minLength: 1 })
|
|
1604
1508
|
},
|
|
@@ -1614,7 +1518,6 @@ var opensteerRequestPlanPayloadSchema = objectSchema(
|
|
|
1614
1518
|
parameters: arraySchema(opensteerRequestPlanParameterSchema),
|
|
1615
1519
|
body: opensteerRequestPlanBodySchema,
|
|
1616
1520
|
response: opensteerRequestPlanResponseExpectationSchema,
|
|
1617
|
-
recipes: opensteerRequestPlanRecipesSchema,
|
|
1618
1521
|
retryPolicy: opensteerRequestRetryPolicySchema,
|
|
1619
1522
|
auth: opensteerRequestPlanAuthSchema
|
|
1620
1523
|
},
|
|
@@ -1705,317 +1608,6 @@ var opensteerRequestBodyInputSchema = oneOfSchema(
|
|
|
1705
1608
|
title: "OpensteerRequestBodyInput"
|
|
1706
1609
|
}
|
|
1707
1610
|
);
|
|
1708
|
-
var opensteerRecipeRetryOverridesSchema = objectSchema(
|
|
1709
|
-
{
|
|
1710
|
-
params: recordSchema(stringSchema(), {
|
|
1711
|
-
title: "OpensteerRecipeParams"
|
|
1712
|
-
}),
|
|
1713
|
-
headers: recordSchema(stringSchema(), {
|
|
1714
|
-
title: "OpensteerRecipeHeaders"
|
|
1715
|
-
}),
|
|
1716
|
-
query: recordSchema(stringSchema(), {
|
|
1717
|
-
title: "OpensteerRecipeQuery"
|
|
1718
|
-
}),
|
|
1719
|
-
body: recordSchema(stringSchema(), {
|
|
1720
|
-
title: "OpensteerRecipeBodyVariables"
|
|
1721
|
-
})
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
title: "OpensteerRecipeRetryOverrides"
|
|
1725
|
-
}
|
|
1726
|
-
);
|
|
1727
|
-
var opensteerRecipeStepResponseCaptureSchema = objectSchema(
|
|
1728
|
-
{
|
|
1729
|
-
header: objectSchema(
|
|
1730
|
-
{
|
|
1731
|
-
name: stringSchema({ minLength: 1 }),
|
|
1732
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
title: "OpensteerAuthRecipeHeaderCapture",
|
|
1736
|
-
required: ["name", "saveAs"]
|
|
1737
|
-
}
|
|
1738
|
-
),
|
|
1739
|
-
bodyJsonPointer: objectSchema(
|
|
1740
|
-
{
|
|
1741
|
-
pointer: stringSchema({ minLength: 1 }),
|
|
1742
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
title: "OpensteerAuthRecipeBodyJsonPointerCapture",
|
|
1746
|
-
required: ["pointer", "saveAs"]
|
|
1747
|
-
}
|
|
1748
|
-
),
|
|
1749
|
-
bodyText: objectSchema(
|
|
1750
|
-
{
|
|
1751
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1752
|
-
},
|
|
1753
|
-
{
|
|
1754
|
-
title: "OpensteerAuthRecipeBodyTextCapture",
|
|
1755
|
-
required: ["saveAs"]
|
|
1756
|
-
}
|
|
1757
|
-
)
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
title: "OpensteerRecipeStepResponseCapture"
|
|
1761
|
-
}
|
|
1762
|
-
);
|
|
1763
|
-
var opensteerRecipeRequestStepInputSchema = objectSchema(
|
|
1764
|
-
{
|
|
1765
|
-
url: stringSchema({ minLength: 1 }),
|
|
1766
|
-
transport: transportKindSchema,
|
|
1767
|
-
pageRef: pageRefSchema,
|
|
1768
|
-
cookieJar: stringSchema({ minLength: 1 }),
|
|
1769
|
-
method: stringSchema({ minLength: 1 }),
|
|
1770
|
-
headers: recordSchema(stringSchema(), {
|
|
1771
|
-
title: "OpensteerRecipeRequestHeaders"
|
|
1772
|
-
}),
|
|
1773
|
-
query: recordSchema(stringSchema(), {
|
|
1774
|
-
title: "OpensteerRecipeRequestQuery"
|
|
1775
|
-
}),
|
|
1776
|
-
body: opensteerRequestBodyInputSchema,
|
|
1777
|
-
followRedirects: { type: "boolean" }
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
title: "OpensteerRecipeRequestStepInput",
|
|
1781
|
-
required: ["url"]
|
|
1782
|
-
}
|
|
1783
|
-
);
|
|
1784
|
-
var opensteerRecipeHookRefSchema = objectSchema(
|
|
1785
|
-
{
|
|
1786
|
-
specifier: stringSchema({ minLength: 1 }),
|
|
1787
|
-
export: stringSchema({ minLength: 1 })
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
title: "OpensteerRecipeHookRef",
|
|
1791
|
-
required: ["specifier", "export"]
|
|
1792
|
-
}
|
|
1793
|
-
);
|
|
1794
|
-
var opensteerRecipeStepSchema = oneOfSchema(
|
|
1795
|
-
[
|
|
1796
|
-
objectSchema(
|
|
1797
|
-
{
|
|
1798
|
-
kind: enumSchema(["goto"]),
|
|
1799
|
-
url: stringSchema({ minLength: 1 })
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
title: "OpensteerAuthRecipeGotoStep",
|
|
1803
|
-
required: ["kind", "url"]
|
|
1804
|
-
}
|
|
1805
|
-
),
|
|
1806
|
-
objectSchema(
|
|
1807
|
-
{
|
|
1808
|
-
kind: enumSchema(["reload"])
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
title: "OpensteerAuthRecipeReloadStep",
|
|
1812
|
-
required: ["kind"]
|
|
1813
|
-
}
|
|
1814
|
-
),
|
|
1815
|
-
objectSchema(
|
|
1816
|
-
{
|
|
1817
|
-
kind: enumSchema(["waitForUrl"]),
|
|
1818
|
-
includes: stringSchema({ minLength: 1 }),
|
|
1819
|
-
timeoutMs: integerSchema({ minimum: 0 })
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
title: "OpensteerAuthRecipeWaitForUrlStep",
|
|
1823
|
-
required: ["kind", "includes"]
|
|
1824
|
-
}
|
|
1825
|
-
),
|
|
1826
|
-
objectSchema(
|
|
1827
|
-
{
|
|
1828
|
-
kind: enumSchema(["waitForNetwork"]),
|
|
1829
|
-
url: stringSchema({ minLength: 1 }),
|
|
1830
|
-
hostname: stringSchema({ minLength: 1 }),
|
|
1831
|
-
path: stringSchema({ minLength: 1 }),
|
|
1832
|
-
method: stringSchema({ minLength: 1 }),
|
|
1833
|
-
status: stringSchema({ minLength: 1 }),
|
|
1834
|
-
includeBodies: { type: "boolean" },
|
|
1835
|
-
timeoutMs: integerSchema({ minimum: 0 }),
|
|
1836
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
title: "OpensteerRecipeWaitForNetworkStep",
|
|
1840
|
-
required: ["kind"]
|
|
1841
|
-
}
|
|
1842
|
-
),
|
|
1843
|
-
objectSchema(
|
|
1844
|
-
{
|
|
1845
|
-
kind: enumSchema(["waitForCookie"]),
|
|
1846
|
-
name: stringSchema({ minLength: 1 }),
|
|
1847
|
-
url: stringSchema({ minLength: 1 }),
|
|
1848
|
-
timeoutMs: integerSchema({ minimum: 0 }),
|
|
1849
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
title: "OpensteerAuthRecipeWaitForCookieStep",
|
|
1853
|
-
required: ["kind", "name"]
|
|
1854
|
-
}
|
|
1855
|
-
),
|
|
1856
|
-
objectSchema(
|
|
1857
|
-
{
|
|
1858
|
-
kind: enumSchema(["waitForStorage"]),
|
|
1859
|
-
area: enumSchema(["local", "session"]),
|
|
1860
|
-
origin: stringSchema({ minLength: 1 }),
|
|
1861
|
-
key: stringSchema({ minLength: 1 }),
|
|
1862
|
-
timeoutMs: integerSchema({ minimum: 0 }),
|
|
1863
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
title: "OpensteerAuthRecipeWaitForStorageStep",
|
|
1867
|
-
required: ["kind", "area", "origin", "key"]
|
|
1868
|
-
}
|
|
1869
|
-
),
|
|
1870
|
-
objectSchema(
|
|
1871
|
-
{
|
|
1872
|
-
kind: enumSchema(["readCookie"]),
|
|
1873
|
-
name: stringSchema({ minLength: 1 }),
|
|
1874
|
-
url: stringSchema({ minLength: 1 }),
|
|
1875
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
title: "OpensteerAuthRecipeReadCookieStep",
|
|
1879
|
-
required: ["kind", "name", "saveAs"]
|
|
1880
|
-
}
|
|
1881
|
-
),
|
|
1882
|
-
objectSchema(
|
|
1883
|
-
{
|
|
1884
|
-
kind: enumSchema(["readStorage"]),
|
|
1885
|
-
area: enumSchema(["local", "session"]),
|
|
1886
|
-
origin: stringSchema({ minLength: 1 }),
|
|
1887
|
-
key: stringSchema({ minLength: 1 }),
|
|
1888
|
-
pageUrl: stringSchema({ minLength: 1 }),
|
|
1889
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
title: "OpensteerRecipeReadStorageStep",
|
|
1893
|
-
required: ["kind", "area", "origin", "key", "saveAs"]
|
|
1894
|
-
}
|
|
1895
|
-
),
|
|
1896
|
-
objectSchema(
|
|
1897
|
-
{
|
|
1898
|
-
kind: enumSchema(["evaluate"]),
|
|
1899
|
-
script: stringSchema({ minLength: 1 }),
|
|
1900
|
-
args: arraySchema(jsonValueSchema),
|
|
1901
|
-
pageRef: pageRefSchema,
|
|
1902
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
title: "OpensteerRecipeEvaluateStep",
|
|
1906
|
-
required: ["kind", "script"]
|
|
1907
|
-
}
|
|
1908
|
-
),
|
|
1909
|
-
objectSchema(
|
|
1910
|
-
{
|
|
1911
|
-
kind: enumSchema(["syncCookiesToJar"]),
|
|
1912
|
-
jar: stringSchema({ minLength: 1 }),
|
|
1913
|
-
urls: arraySchema(stringSchema({ minLength: 1 }), {
|
|
1914
|
-
minItems: 1
|
|
1915
|
-
})
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
title: "OpensteerRecipeSyncCookiesToJarStep",
|
|
1919
|
-
required: ["kind", "jar"]
|
|
1920
|
-
}
|
|
1921
|
-
),
|
|
1922
|
-
objectSchema(
|
|
1923
|
-
{
|
|
1924
|
-
kind: enumSchema(["request"]),
|
|
1925
|
-
request: opensteerRecipeRequestStepInputSchema,
|
|
1926
|
-
capture: opensteerRecipeStepResponseCaptureSchema
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
title: "OpensteerRecipeRequestStep",
|
|
1930
|
-
required: ["kind", "request"]
|
|
1931
|
-
}
|
|
1932
|
-
),
|
|
1933
|
-
objectSchema(
|
|
1934
|
-
{
|
|
1935
|
-
kind: enumSchema(["sessionRequest"]),
|
|
1936
|
-
request: opensteerRecipeRequestStepInputSchema,
|
|
1937
|
-
capture: opensteerRecipeStepResponseCaptureSchema
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
title: "OpensteerAuthRecipeSessionRequestStep",
|
|
1941
|
-
required: ["kind", "request"]
|
|
1942
|
-
}
|
|
1943
|
-
),
|
|
1944
|
-
objectSchema(
|
|
1945
|
-
{
|
|
1946
|
-
kind: enumSchema(["directRequest"]),
|
|
1947
|
-
request: opensteerRecipeRequestStepInputSchema,
|
|
1948
|
-
capture: opensteerRecipeStepResponseCaptureSchema
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
title: "OpensteerAuthRecipeDirectRequestStep",
|
|
1952
|
-
required: ["kind", "request"]
|
|
1953
|
-
}
|
|
1954
|
-
),
|
|
1955
|
-
objectSchema(
|
|
1956
|
-
{
|
|
1957
|
-
kind: enumSchema(["solveCaptcha"]),
|
|
1958
|
-
provider: captchaProviderSchema,
|
|
1959
|
-
apiKey: stringSchema({ minLength: 1 }),
|
|
1960
|
-
pageRef: pageRefSchema,
|
|
1961
|
-
timeoutMs: integerSchema({ minimum: 1 }),
|
|
1962
|
-
type: captchaTypeSchema,
|
|
1963
|
-
siteKey: stringSchema({ minLength: 1 }),
|
|
1964
|
-
pageUrl: stringSchema({ minLength: 1 }),
|
|
1965
|
-
saveAs: stringSchema({ minLength: 1 })
|
|
1966
|
-
},
|
|
1967
|
-
{
|
|
1968
|
-
title: "OpensteerRecipeSolveCaptchaStep",
|
|
1969
|
-
required: ["kind", "provider", "apiKey"]
|
|
1970
|
-
}
|
|
1971
|
-
),
|
|
1972
|
-
objectSchema(
|
|
1973
|
-
{
|
|
1974
|
-
kind: enumSchema(["hook"]),
|
|
1975
|
-
hook: opensteerRecipeHookRefSchema
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
title: "OpensteerRecipeHookStep",
|
|
1979
|
-
required: ["kind", "hook"]
|
|
1980
|
-
}
|
|
1981
|
-
)
|
|
1982
|
-
],
|
|
1983
|
-
{
|
|
1984
|
-
title: "OpensteerRecipeStep"
|
|
1985
|
-
}
|
|
1986
|
-
);
|
|
1987
|
-
var opensteerRecipePayloadSchema = objectSchema(
|
|
1988
|
-
{
|
|
1989
|
-
description: stringSchema({ minLength: 1 }),
|
|
1990
|
-
steps: arraySchema(opensteerRecipeStepSchema, {
|
|
1991
|
-
minItems: 1
|
|
1992
|
-
}),
|
|
1993
|
-
outputs: opensteerRecipeRetryOverridesSchema
|
|
1994
|
-
},
|
|
1995
|
-
{
|
|
1996
|
-
title: "OpensteerRecipePayload",
|
|
1997
|
-
required: ["steps"]
|
|
1998
|
-
}
|
|
1999
|
-
);
|
|
2000
|
-
var opensteerRecipeRecordSchema = objectSchema(
|
|
2001
|
-
{
|
|
2002
|
-
id: stringSchema({ minLength: 1 }),
|
|
2003
|
-
key: stringSchema({ minLength: 1 }),
|
|
2004
|
-
version: stringSchema({ minLength: 1 }),
|
|
2005
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
2006
|
-
updatedAt: integerSchema({ minimum: 0 }),
|
|
2007
|
-
contentHash: stringSchema({ minLength: 1 }),
|
|
2008
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), {
|
|
2009
|
-
uniqueItems: true
|
|
2010
|
-
}),
|
|
2011
|
-
provenance: opensteerRegistryProvenanceSchema,
|
|
2012
|
-
payload: opensteerRecipePayloadSchema
|
|
2013
|
-
},
|
|
2014
|
-
{
|
|
2015
|
-
title: "OpensteerRecipeRecord",
|
|
2016
|
-
required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
|
|
2017
|
-
}
|
|
2018
|
-
);
|
|
2019
1611
|
var opensteerNetworkQueryInputSchema = objectSchema(
|
|
2020
1612
|
{
|
|
2021
1613
|
pageRef: pageRefSchema,
|
|
@@ -2414,85 +2006,6 @@ objectSchema(
|
|
|
2414
2006
|
required: ["plans"]
|
|
2415
2007
|
}
|
|
2416
2008
|
);
|
|
2417
|
-
objectSchema(
|
|
2418
|
-
{
|
|
2419
|
-
id: stringSchema({ minLength: 1 }),
|
|
2420
|
-
key: stringSchema({ minLength: 1 }),
|
|
2421
|
-
version: stringSchema({ minLength: 1 }),
|
|
2422
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), {
|
|
2423
|
-
uniqueItems: true
|
|
2424
|
-
}),
|
|
2425
|
-
provenance: opensteerRegistryProvenanceSchema,
|
|
2426
|
-
payload: opensteerRecipePayloadSchema
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
title: "OpensteerWriteRecipeInput",
|
|
2430
|
-
required: ["key", "version", "payload"]
|
|
2431
|
-
}
|
|
2432
|
-
);
|
|
2433
|
-
objectSchema(
|
|
2434
|
-
{
|
|
2435
|
-
key: stringSchema({ minLength: 1 }),
|
|
2436
|
-
version: stringSchema({ minLength: 1 })
|
|
2437
|
-
},
|
|
2438
|
-
{
|
|
2439
|
-
title: "OpensteerGetRecipeInput",
|
|
2440
|
-
required: ["key"]
|
|
2441
|
-
}
|
|
2442
|
-
);
|
|
2443
|
-
objectSchema(
|
|
2444
|
-
{
|
|
2445
|
-
key: stringSchema({ minLength: 1 })
|
|
2446
|
-
},
|
|
2447
|
-
{
|
|
2448
|
-
title: "OpensteerListRecipesInput"
|
|
2449
|
-
}
|
|
2450
|
-
);
|
|
2451
|
-
objectSchema(
|
|
2452
|
-
{
|
|
2453
|
-
recipes: arraySchema(opensteerRecipeRecordSchema)
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
title: "OpensteerListRecipesOutput",
|
|
2457
|
-
required: ["recipes"]
|
|
2458
|
-
}
|
|
2459
|
-
);
|
|
2460
|
-
objectSchema(
|
|
2461
|
-
{
|
|
2462
|
-
key: stringSchema({ minLength: 1 }),
|
|
2463
|
-
version: stringSchema({ minLength: 1 }),
|
|
2464
|
-
variables: recordSchema(stringSchema(), {
|
|
2465
|
-
title: "OpensteerRecipeVariables"
|
|
2466
|
-
})
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
title: "OpensteerRunRecipeInput",
|
|
2470
|
-
required: ["key"]
|
|
2471
|
-
}
|
|
2472
|
-
);
|
|
2473
|
-
objectSchema(
|
|
2474
|
-
{
|
|
2475
|
-
recipe: objectSchema(
|
|
2476
|
-
{
|
|
2477
|
-
id: stringSchema({ minLength: 1 }),
|
|
2478
|
-
key: stringSchema({ minLength: 1 }),
|
|
2479
|
-
version: stringSchema({ minLength: 1 })
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
title: "OpensteerResolvedRecipeRef",
|
|
2483
|
-
required: ["id", "key", "version"]
|
|
2484
|
-
}
|
|
2485
|
-
),
|
|
2486
|
-
variables: recordSchema(stringSchema(), {
|
|
2487
|
-
title: "OpensteerResolvedRecipeVariables"
|
|
2488
|
-
}),
|
|
2489
|
-
overrides: opensteerRecipeRetryOverridesSchema
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
title: "OpensteerRunRecipeOutput",
|
|
2493
|
-
required: ["recipe", "variables"]
|
|
2494
|
-
}
|
|
2495
|
-
);
|
|
2496
2009
|
objectSchema(
|
|
2497
2010
|
{
|
|
2498
2011
|
key: stringSchema({ minLength: 1 }),
|
|
@@ -2599,17 +2112,7 @@ objectSchema(
|
|
|
2599
2112
|
{
|
|
2600
2113
|
attempted: { type: "boolean" },
|
|
2601
2114
|
succeeded: { type: "boolean" },
|
|
2602
|
-
matchedFailurePolicy: { type: "boolean" }
|
|
2603
|
-
recipe: objectSchema(
|
|
2604
|
-
{
|
|
2605
|
-
key: stringSchema({ minLength: 1 }),
|
|
2606
|
-
version: stringSchema({ minLength: 1 })
|
|
2607
|
-
},
|
|
2608
|
-
{
|
|
2609
|
-
title: "OpensteerResolvedRecoveryRecipeRef",
|
|
2610
|
-
required: ["key", "version"]
|
|
2611
|
-
}
|
|
2612
|
-
)
|
|
2115
|
+
matchedFailurePolicy: { type: "boolean" }
|
|
2613
2116
|
},
|
|
2614
2117
|
{
|
|
2615
2118
|
title: "OpensteerRequestRecoveryMetadata",
|
|
@@ -2648,6 +2151,69 @@ objectSchema(
|
|
|
2648
2151
|
}
|
|
2649
2152
|
);
|
|
2650
2153
|
|
|
2154
|
+
// ../protocol/src/state.ts
|
|
2155
|
+
var opensteerStateSnapshotCookieSchema = objectSchema(
|
|
2156
|
+
{
|
|
2157
|
+
name: stringSchema({ minLength: 1 }),
|
|
2158
|
+
value: stringSchema(),
|
|
2159
|
+
domain: stringSchema({ minLength: 1 }),
|
|
2160
|
+
path: stringSchema({ minLength: 1 }),
|
|
2161
|
+
secure: { type: "boolean" },
|
|
2162
|
+
httpOnly: { type: "boolean" },
|
|
2163
|
+
sameSite: enumSchema(["strict", "lax", "none"]),
|
|
2164
|
+
priority: enumSchema(["low", "medium", "high"]),
|
|
2165
|
+
partitionKey: stringSchema({ minLength: 1 }),
|
|
2166
|
+
session: { type: "boolean" },
|
|
2167
|
+
expiresAt: oneOfSchema([integerSchema({ minimum: 0 }), { type: "null" }])
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
title: "OpensteerStateSnapshotCookie",
|
|
2171
|
+
required: ["name", "value", "domain", "path", "secure", "httpOnly", "session"]
|
|
2172
|
+
}
|
|
2173
|
+
);
|
|
2174
|
+
var opensteerStateSnapshotSchema = objectSchema(
|
|
2175
|
+
{
|
|
2176
|
+
id: stringSchema({ minLength: 1 }),
|
|
2177
|
+
capturedAt: integerSchema({ minimum: 0 }),
|
|
2178
|
+
pageRef: pageRefSchema,
|
|
2179
|
+
url: stringSchema({ minLength: 1 }),
|
|
2180
|
+
cookies: arraySchema(opensteerStateSnapshotCookieSchema),
|
|
2181
|
+
storage: storageSnapshotSchema,
|
|
2182
|
+
hiddenFields: arraySchema(
|
|
2183
|
+
objectSchema(
|
|
2184
|
+
{
|
|
2185
|
+
path: stringSchema({ minLength: 1 }),
|
|
2186
|
+
name: stringSchema({ minLength: 1 }),
|
|
2187
|
+
value: stringSchema()
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
title: "OpensteerStateSnapshotHiddenField",
|
|
2191
|
+
required: ["path", "name", "value"]
|
|
2192
|
+
}
|
|
2193
|
+
)
|
|
2194
|
+
),
|
|
2195
|
+
globals: recordSchema({}, { title: "OpensteerStateSnapshotGlobals" })
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
title: "OpensteerStateSnapshot",
|
|
2199
|
+
required: ["id", "capturedAt"]
|
|
2200
|
+
}
|
|
2201
|
+
);
|
|
2202
|
+
var opensteerStateDeltaSchema = objectSchema(
|
|
2203
|
+
{
|
|
2204
|
+
beforeStateId: stringSchema({ minLength: 1 }),
|
|
2205
|
+
afterStateId: stringSchema({ minLength: 1 }),
|
|
2206
|
+
cookiesChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
2207
|
+
storageChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
2208
|
+
hiddenFieldsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
2209
|
+
globalsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
title: "OpensteerStateDelta",
|
|
2213
|
+
required: ["cookiesChanged", "storageChanged", "hiddenFieldsChanged", "globalsChanged"]
|
|
2214
|
+
}
|
|
2215
|
+
);
|
|
2216
|
+
|
|
2651
2217
|
// ../protocol/src/snapshots.ts
|
|
2652
2218
|
var screenshotFormatSchema = enumSchema(["png", "jpeg", "webp"], {
|
|
2653
2219
|
title: "ScreenshotFormat"
|
|
@@ -3421,6 +2987,55 @@ var opensteerArtifactReadOutputSchema = objectSchema(
|
|
|
3421
2987
|
}
|
|
3422
2988
|
);
|
|
3423
2989
|
|
|
2990
|
+
// ../protocol/src/captcha.ts
|
|
2991
|
+
var captchaTypeSchema = enumSchema(
|
|
2992
|
+
["recaptcha-v2", "hcaptcha", "turnstile"],
|
|
2993
|
+
{
|
|
2994
|
+
title: "CaptchaType"
|
|
2995
|
+
}
|
|
2996
|
+
);
|
|
2997
|
+
var captchaProviderSchema = enumSchema(["2captcha", "capsolver"], {
|
|
2998
|
+
title: "CaptchaProvider"
|
|
2999
|
+
});
|
|
3000
|
+
var captchaDetectionResultSchema = objectSchema(
|
|
3001
|
+
{
|
|
3002
|
+
type: captchaTypeSchema,
|
|
3003
|
+
siteKey: stringSchema({ minLength: 1 }),
|
|
3004
|
+
pageUrl: stringSchema({ minLength: 1 })
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
title: "CaptchaDetectionResult",
|
|
3008
|
+
required: ["type", "siteKey", "pageUrl"]
|
|
3009
|
+
}
|
|
3010
|
+
);
|
|
3011
|
+
var opensteerCaptchaSolveInputSchema = objectSchema(
|
|
3012
|
+
{
|
|
3013
|
+
provider: captchaProviderSchema,
|
|
3014
|
+
apiKey: stringSchema({ minLength: 1 }),
|
|
3015
|
+
pageRef: pageRefSchema,
|
|
3016
|
+
timeoutMs: integerSchema({ minimum: 1 }),
|
|
3017
|
+
type: captchaTypeSchema,
|
|
3018
|
+
siteKey: stringSchema({ minLength: 1 }),
|
|
3019
|
+
pageUrl: stringSchema({ minLength: 1 })
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
title: "OpensteerCaptchaSolveInput",
|
|
3023
|
+
required: ["provider", "apiKey"]
|
|
3024
|
+
}
|
|
3025
|
+
);
|
|
3026
|
+
var opensteerCaptchaSolveOutputSchema = objectSchema(
|
|
3027
|
+
{
|
|
3028
|
+
captcha: captchaDetectionResultSchema,
|
|
3029
|
+
token: stringSchema({ minLength: 1 }),
|
|
3030
|
+
injected: { type: "boolean" },
|
|
3031
|
+
provider: captchaProviderSchema
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
title: "OpensteerCaptchaSolveOutput",
|
|
3035
|
+
required: ["captcha", "token", "injected", "provider"]
|
|
3036
|
+
}
|
|
3037
|
+
);
|
|
3038
|
+
|
|
3424
3039
|
// ../protocol/src/traces.ts
|
|
3425
3040
|
var traceContextSchema = objectSchema(
|
|
3426
3041
|
{
|
|
@@ -3688,1548 +3303,6 @@ var opensteerScriptSandboxOutputSchema = objectSchema(
|
|
|
3688
3303
|
}
|
|
3689
3304
|
);
|
|
3690
3305
|
|
|
3691
|
-
// ../protocol/src/reverse.ts
|
|
3692
|
-
var opensteerStateSourceKindSchema = enumSchema(
|
|
3693
|
-
["temporary", "persistent", "attach"],
|
|
3694
|
-
{ title: "OpensteerStateSourceKind" }
|
|
3695
|
-
);
|
|
3696
|
-
var opensteerReverseCaseStatusSchema = enumSchema(
|
|
3697
|
-
["capturing", "analyzing", "ready", "attention"],
|
|
3698
|
-
{ title: "OpensteerReverseCaseStatus" }
|
|
3699
|
-
);
|
|
3700
|
-
var opensteerReverseChannelKindSchema = enumSchema(
|
|
3701
|
-
["http", "event-stream", "websocket"],
|
|
3702
|
-
{ title: "OpensteerReverseChannelKind" }
|
|
3703
|
-
);
|
|
3704
|
-
var opensteerReverseManualCalibrationModeSchema = enumSchema(
|
|
3705
|
-
["allow", "avoid", "require"],
|
|
3706
|
-
{ title: "OpensteerReverseManualCalibrationMode" }
|
|
3707
|
-
);
|
|
3708
|
-
var opensteerReverseCandidateBoundarySchema = enumSchema(
|
|
3709
|
-
["first-party", "same-site", "third-party"],
|
|
3710
|
-
{ title: "OpensteerReverseCandidateBoundary" }
|
|
3711
|
-
);
|
|
3712
|
-
var opensteerReverseAdvisoryTagSchema = enumSchema(
|
|
3713
|
-
[
|
|
3714
|
-
"data",
|
|
3715
|
-
"facet",
|
|
3716
|
-
"telemetry",
|
|
3717
|
-
"subscription",
|
|
3718
|
-
"navigation",
|
|
3719
|
-
"document",
|
|
3720
|
-
"route-data",
|
|
3721
|
-
"search",
|
|
3722
|
-
"tracking",
|
|
3723
|
-
"unknown"
|
|
3724
|
-
],
|
|
3725
|
-
{ title: "OpensteerReverseAdvisoryTag" }
|
|
3726
|
-
);
|
|
3727
|
-
var opensteerReverseConstraintKindSchema = enumSchema(
|
|
3728
|
-
[
|
|
3729
|
-
"requires-browser",
|
|
3730
|
-
"requires-cookie",
|
|
3731
|
-
"requires-storage",
|
|
3732
|
-
"requires-script",
|
|
3733
|
-
"requires-guard",
|
|
3734
|
-
"requires-live-state",
|
|
3735
|
-
"opaque-body",
|
|
3736
|
-
"unsupported"
|
|
3737
|
-
],
|
|
3738
|
-
{ title: "OpensteerReverseConstraintKind" }
|
|
3739
|
-
);
|
|
3740
|
-
var opensteerRequestInputLocationSchema = enumSchema(
|
|
3741
|
-
["path", "query", "header", "cookie", "body-field"],
|
|
3742
|
-
{ title: "OpensteerRequestInputLocation" }
|
|
3743
|
-
);
|
|
3744
|
-
var opensteerRequestInputRequirednessSchema = enumSchema(
|
|
3745
|
-
["required", "optional", "unknown"],
|
|
3746
|
-
{ title: "OpensteerRequestInputRequiredness" }
|
|
3747
|
-
);
|
|
3748
|
-
var opensteerRequestInputClassificationSchema = enumSchema(
|
|
3749
|
-
["managed", "static", "contextual", "volatile"],
|
|
3750
|
-
{ title: "OpensteerRequestInputClassification" }
|
|
3751
|
-
);
|
|
3752
|
-
var opensteerRequestInputSourceSchema = enumSchema(
|
|
3753
|
-
[
|
|
3754
|
-
"literal",
|
|
3755
|
-
"cookie",
|
|
3756
|
-
"storage",
|
|
3757
|
-
"prior-response",
|
|
3758
|
-
"page",
|
|
3759
|
-
"script",
|
|
3760
|
-
"guard-output",
|
|
3761
|
-
"runtime-managed",
|
|
3762
|
-
"unknown"
|
|
3763
|
-
],
|
|
3764
|
-
{ title: "OpensteerRequestInputSource" }
|
|
3765
|
-
);
|
|
3766
|
-
var opensteerRequestInputMaterializationPolicySchema = enumSchema(
|
|
3767
|
-
["copy", "omit", "recompute", "resolve"],
|
|
3768
|
-
{ title: "OpensteerRequestInputMaterializationPolicy" }
|
|
3769
|
-
);
|
|
3770
|
-
var opensteerRequestInputExportPolicySchema = enumSchema(
|
|
3771
|
-
["portable", "browser-bound", "blocked"],
|
|
3772
|
-
{ title: "OpensteerRequestInputExportPolicy" }
|
|
3773
|
-
);
|
|
3774
|
-
var opensteerReverseQueryViewSchema = enumSchema(
|
|
3775
|
-
["records", "clusters", "candidates"],
|
|
3776
|
-
{ title: "OpensteerReverseQueryView" }
|
|
3777
|
-
);
|
|
3778
|
-
var opensteerReverseSortKeySchema = enumSchema(
|
|
3779
|
-
[
|
|
3780
|
-
"observed-at",
|
|
3781
|
-
"advisory-rank",
|
|
3782
|
-
"target-hint-matches",
|
|
3783
|
-
"response-richness",
|
|
3784
|
-
"portability",
|
|
3785
|
-
"boundary",
|
|
3786
|
-
"success"
|
|
3787
|
-
],
|
|
3788
|
-
{ title: "OpensteerReverseSortKey" }
|
|
3789
|
-
);
|
|
3790
|
-
var opensteerReverseSortPresetSchema = enumSchema(
|
|
3791
|
-
[
|
|
3792
|
-
"advisory-rank",
|
|
3793
|
-
"observed-at",
|
|
3794
|
-
"portability",
|
|
3795
|
-
"first-party",
|
|
3796
|
-
"hint-match",
|
|
3797
|
-
"response-richness"
|
|
3798
|
-
],
|
|
3799
|
-
{ title: "OpensteerReverseSortPreset" }
|
|
3800
|
-
);
|
|
3801
|
-
var opensteerReverseSortDirectionSchema = enumSchema(
|
|
3802
|
-
["asc", "desc"],
|
|
3803
|
-
{
|
|
3804
|
-
title: "OpensteerReverseSortDirection"
|
|
3805
|
-
}
|
|
3806
|
-
);
|
|
3807
|
-
var opensteerObservationClusterRelationshipKindSchema = enumSchema(
|
|
3808
|
-
["seed", "preflight", "redirect", "retry", "duplicate", "follow-on"],
|
|
3809
|
-
{ title: "OpensteerObservationClusterRelationshipKind" }
|
|
3810
|
-
);
|
|
3811
|
-
var opensteerReverseReportKindSchema = enumSchema(
|
|
3812
|
-
["discovery", "package"],
|
|
3813
|
-
{ title: "OpensteerReverseReportKind" }
|
|
3814
|
-
);
|
|
3815
|
-
var opensteerReversePackageKindSchema = enumSchema(
|
|
3816
|
-
["portable-http", "browser-workflow"],
|
|
3817
|
-
{ title: "OpensteerReversePackageKind" }
|
|
3818
|
-
);
|
|
3819
|
-
var opensteerReversePackageReadinessSchema = enumSchema(
|
|
3820
|
-
["runnable", "draft", "unsupported"],
|
|
3821
|
-
{ title: "OpensteerReversePackageReadiness" }
|
|
3822
|
-
);
|
|
3823
|
-
var opensteerBodyCodecKindSchema = enumSchema(
|
|
3824
|
-
[
|
|
3825
|
-
"json",
|
|
3826
|
-
"form-urlencoded",
|
|
3827
|
-
"multipart",
|
|
3828
|
-
"graphql",
|
|
3829
|
-
"persisted-graphql",
|
|
3830
|
-
"text",
|
|
3831
|
-
"opaque-binary",
|
|
3832
|
-
"sse",
|
|
3833
|
-
"websocket-json",
|
|
3834
|
-
"websocket-text",
|
|
3835
|
-
"unknown"
|
|
3836
|
-
],
|
|
3837
|
-
{ title: "OpensteerBodyCodecKind" }
|
|
3838
|
-
);
|
|
3839
|
-
var opensteerExecutableResolverKindSchema = enumSchema(
|
|
3840
|
-
[
|
|
3841
|
-
"literal",
|
|
3842
|
-
"cookie",
|
|
3843
|
-
"storage",
|
|
3844
|
-
"prior-record",
|
|
3845
|
-
"binding",
|
|
3846
|
-
"candidate",
|
|
3847
|
-
"case",
|
|
3848
|
-
"state-snapshot",
|
|
3849
|
-
"artifact",
|
|
3850
|
-
"manual",
|
|
3851
|
-
"runtime-managed"
|
|
3852
|
-
],
|
|
3853
|
-
{ title: "OpensteerExecutableResolverKind" }
|
|
3854
|
-
);
|
|
3855
|
-
var opensteerValueReferenceKindSchema = enumSchema(
|
|
3856
|
-
[
|
|
3857
|
-
"literal",
|
|
3858
|
-
"resolver",
|
|
3859
|
-
"binding",
|
|
3860
|
-
"candidate",
|
|
3861
|
-
"case",
|
|
3862
|
-
"record",
|
|
3863
|
-
"artifact",
|
|
3864
|
-
"state-snapshot",
|
|
3865
|
-
"runtime",
|
|
3866
|
-
"manual"
|
|
3867
|
-
],
|
|
3868
|
-
{ title: "OpensteerValueReferenceKind" }
|
|
3869
|
-
);
|
|
3870
|
-
var opensteerRuntimeValueKeySchema = enumSchema(
|
|
3871
|
-
["pageRef", "packageId", "caseId", "candidateId", "objective"],
|
|
3872
|
-
{ title: "OpensteerRuntimeValueKey" }
|
|
3873
|
-
);
|
|
3874
|
-
var opensteerValidationRuleKindSchema = enumSchema(
|
|
3875
|
-
[
|
|
3876
|
-
"status",
|
|
3877
|
-
"json-structure",
|
|
3878
|
-
"text-includes",
|
|
3879
|
-
"stream-first-chunk",
|
|
3880
|
-
"websocket-open",
|
|
3881
|
-
"message-count-at-least"
|
|
3882
|
-
],
|
|
3883
|
-
{ title: "OpensteerValidationRuleKind" }
|
|
3884
|
-
);
|
|
3885
|
-
enumSchema(
|
|
3886
|
-
["operation", "await-record", "assert"],
|
|
3887
|
-
{ title: "OpensteerReverseWorkflowStepKind" }
|
|
3888
|
-
);
|
|
3889
|
-
var opensteerReverseRequirementKindSchema = enumSchema(
|
|
3890
|
-
["resolver", "guard", "workflow-step", "state", "channel", "unsupported"],
|
|
3891
|
-
{ title: "OpensteerReverseRequirementKind" }
|
|
3892
|
-
);
|
|
3893
|
-
var opensteerReverseRequirementStatusSchema = enumSchema(
|
|
3894
|
-
["required", "recommended"],
|
|
3895
|
-
{ title: "OpensteerReverseRequirementStatus" }
|
|
3896
|
-
);
|
|
3897
|
-
var opensteerReverseSuggestedEditKindSchema = enumSchema(
|
|
3898
|
-
[
|
|
3899
|
-
"set-resolver",
|
|
3900
|
-
"attach-trace",
|
|
3901
|
-
"replace-workflow",
|
|
3902
|
-
"patch-step-input",
|
|
3903
|
-
"switch-state-source",
|
|
3904
|
-
"inspect-evidence",
|
|
3905
|
-
"mark-unsupported"
|
|
3906
|
-
],
|
|
3907
|
-
{ title: "OpensteerReverseSuggestedEditKind" }
|
|
3908
|
-
);
|
|
3909
|
-
var jsonValueSchema2 = defineSchema({
|
|
3910
|
-
title: "JsonValue"
|
|
3911
|
-
});
|
|
3912
|
-
var opensteerValueReferenceSchema = objectSchema(
|
|
3913
|
-
{
|
|
3914
|
-
kind: opensteerValueReferenceKindSchema,
|
|
3915
|
-
pointer: stringSchema({ minLength: 1 }),
|
|
3916
|
-
resolverId: stringSchema({ minLength: 1 }),
|
|
3917
|
-
binding: stringSchema({ minLength: 1 }),
|
|
3918
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
3919
|
-
artifactId: stringSchema({ minLength: 1 }),
|
|
3920
|
-
stateSnapshotId: stringSchema({ minLength: 1 }),
|
|
3921
|
-
runtimeKey: opensteerRuntimeValueKeySchema,
|
|
3922
|
-
value: jsonValueSchema2,
|
|
3923
|
-
placeholder: stringSchema({ minLength: 1 })
|
|
3924
|
-
},
|
|
3925
|
-
{
|
|
3926
|
-
title: "OpensteerValueReference",
|
|
3927
|
-
required: ["kind"]
|
|
3928
|
-
}
|
|
3929
|
-
);
|
|
3930
|
-
var opensteerValueTemplateSchema = defineSchema({
|
|
3931
|
-
title: "OpensteerValueTemplate"
|
|
3932
|
-
});
|
|
3933
|
-
var opensteerReverseTargetHintsSchema = objectSchema(
|
|
3934
|
-
{
|
|
3935
|
-
hosts: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
3936
|
-
paths: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
3937
|
-
operationNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
3938
|
-
channels: arraySchema(opensteerReverseChannelKindSchema, { uniqueItems: true })
|
|
3939
|
-
},
|
|
3940
|
-
{
|
|
3941
|
-
title: "OpensteerReverseTargetHints"
|
|
3942
|
-
}
|
|
3943
|
-
);
|
|
3944
|
-
var opensteerBodyCodecDescriptorSchema = objectSchema(
|
|
3945
|
-
{
|
|
3946
|
-
kind: opensteerBodyCodecKindSchema,
|
|
3947
|
-
contentType: stringSchema({ minLength: 1 }),
|
|
3948
|
-
operationName: stringSchema({ minLength: 1 }),
|
|
3949
|
-
fieldPaths: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
3950
|
-
},
|
|
3951
|
-
{
|
|
3952
|
-
title: "OpensteerBodyCodecDescriptor",
|
|
3953
|
-
required: ["kind", "fieldPaths"]
|
|
3954
|
-
}
|
|
3955
|
-
);
|
|
3956
|
-
var opensteerObservationClusterSchema = objectSchema(
|
|
3957
|
-
{
|
|
3958
|
-
id: stringSchema({ minLength: 1 }),
|
|
3959
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
3960
|
-
label: stringSchema({ minLength: 1 }),
|
|
3961
|
-
channel: opensteerReverseChannelKindSchema,
|
|
3962
|
-
method: stringSchema({ minLength: 1 }),
|
|
3963
|
-
url: stringSchema({ minLength: 1 }),
|
|
3964
|
-
matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
3965
|
-
members: arraySchema(
|
|
3966
|
-
objectSchema(
|
|
3967
|
-
{
|
|
3968
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
3969
|
-
observedAt: integerSchema({ minimum: 0 }),
|
|
3970
|
-
resourceType: stringSchema({ minLength: 1 }),
|
|
3971
|
-
status: integerSchema({ minimum: 0 }),
|
|
3972
|
-
relation: opensteerObservationClusterRelationshipKindSchema,
|
|
3973
|
-
relatedRecordId: stringSchema({ minLength: 1 }),
|
|
3974
|
-
matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
3975
|
-
},
|
|
3976
|
-
{
|
|
3977
|
-
title: "OpensteerObservationClusterMember",
|
|
3978
|
-
required: ["recordId", "relation", "matchedTargetHints"]
|
|
3979
|
-
}
|
|
3980
|
-
)
|
|
3981
|
-
)
|
|
3982
|
-
},
|
|
3983
|
-
{
|
|
3984
|
-
title: "OpensteerObservationCluster",
|
|
3985
|
-
required: ["id", "observationId", "label", "channel", "url", "matchedTargetHints", "members"]
|
|
3986
|
-
}
|
|
3987
|
-
);
|
|
3988
|
-
var opensteerStateSnapshotCookieSchema = objectSchema(
|
|
3989
|
-
{
|
|
3990
|
-
name: stringSchema({ minLength: 1 }),
|
|
3991
|
-
value: stringSchema(),
|
|
3992
|
-
domain: stringSchema({ minLength: 1 }),
|
|
3993
|
-
path: stringSchema({ minLength: 1 }),
|
|
3994
|
-
secure: { type: "boolean" },
|
|
3995
|
-
httpOnly: { type: "boolean" },
|
|
3996
|
-
sameSite: enumSchema(["strict", "lax", "none"]),
|
|
3997
|
-
priority: enumSchema(["low", "medium", "high"]),
|
|
3998
|
-
partitionKey: stringSchema({ minLength: 1 }),
|
|
3999
|
-
session: { type: "boolean" },
|
|
4000
|
-
expiresAt: oneOfSchema([integerSchema({ minimum: 0 }), { type: "null" }])
|
|
4001
|
-
},
|
|
4002
|
-
{
|
|
4003
|
-
title: "OpensteerStateSnapshotCookie",
|
|
4004
|
-
required: ["name", "value", "domain", "path", "secure", "httpOnly", "session"]
|
|
4005
|
-
}
|
|
4006
|
-
);
|
|
4007
|
-
var opensteerStateSnapshotSchema = objectSchema(
|
|
4008
|
-
{
|
|
4009
|
-
id: stringSchema({ minLength: 1 }),
|
|
4010
|
-
capturedAt: integerSchema({ minimum: 0 }),
|
|
4011
|
-
pageRef: pageRefSchema,
|
|
4012
|
-
url: stringSchema({ minLength: 1 }),
|
|
4013
|
-
cookies: arraySchema(opensteerStateSnapshotCookieSchema),
|
|
4014
|
-
storage: storageSnapshotSchema,
|
|
4015
|
-
hiddenFields: arraySchema(
|
|
4016
|
-
objectSchema(
|
|
4017
|
-
{
|
|
4018
|
-
path: stringSchema({ minLength: 1 }),
|
|
4019
|
-
name: stringSchema({ minLength: 1 }),
|
|
4020
|
-
value: stringSchema()
|
|
4021
|
-
},
|
|
4022
|
-
{
|
|
4023
|
-
title: "OpensteerStateSnapshotHiddenField",
|
|
4024
|
-
required: ["path", "name", "value"]
|
|
4025
|
-
}
|
|
4026
|
-
)
|
|
4027
|
-
),
|
|
4028
|
-
globals: recordSchema({}, { title: "OpensteerStateSnapshotGlobals" })
|
|
4029
|
-
},
|
|
4030
|
-
{
|
|
4031
|
-
title: "OpensteerStateSnapshot",
|
|
4032
|
-
required: ["id", "capturedAt"]
|
|
4033
|
-
}
|
|
4034
|
-
);
|
|
4035
|
-
var opensteerStateDeltaSchema = objectSchema(
|
|
4036
|
-
{
|
|
4037
|
-
beforeStateId: stringSchema({ minLength: 1 }),
|
|
4038
|
-
afterStateId: stringSchema({ minLength: 1 }),
|
|
4039
|
-
cookiesChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4040
|
-
storageChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4041
|
-
hiddenFieldsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4042
|
-
globalsChanged: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4043
|
-
},
|
|
4044
|
-
{
|
|
4045
|
-
title: "OpensteerStateDelta",
|
|
4046
|
-
required: ["cookiesChanged", "storageChanged", "hiddenFieldsChanged", "globalsChanged"]
|
|
4047
|
-
}
|
|
4048
|
-
);
|
|
4049
|
-
var opensteerRequestInputDescriptorSchema = objectSchema(
|
|
4050
|
-
{
|
|
4051
|
-
name: stringSchema({ minLength: 1 }),
|
|
4052
|
-
location: opensteerRequestInputLocationSchema,
|
|
4053
|
-
path: stringSchema({ minLength: 1 }),
|
|
4054
|
-
wireName: stringSchema({ minLength: 1 }),
|
|
4055
|
-
requiredness: opensteerRequestInputRequirednessSchema,
|
|
4056
|
-
classification: opensteerRequestInputClassificationSchema,
|
|
4057
|
-
source: opensteerRequestInputSourceSchema,
|
|
4058
|
-
materializationPolicy: opensteerRequestInputMaterializationPolicySchema,
|
|
4059
|
-
exportPolicy: opensteerRequestInputExportPolicySchema,
|
|
4060
|
-
originalValue: stringSchema(),
|
|
4061
|
-
provenance: objectSchema(
|
|
4062
|
-
{
|
|
4063
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4064
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
4065
|
-
sourcePointer: stringSchema({ minLength: 1 }),
|
|
4066
|
-
notes: stringSchema({ minLength: 1 })
|
|
4067
|
-
},
|
|
4068
|
-
{
|
|
4069
|
-
title: "OpensteerRequestInputDescriptorProvenance"
|
|
4070
|
-
}
|
|
4071
|
-
),
|
|
4072
|
-
unlockedByGuardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4073
|
-
},
|
|
4074
|
-
{
|
|
4075
|
-
title: "OpensteerRequestInputDescriptor",
|
|
4076
|
-
required: [
|
|
4077
|
-
"name",
|
|
4078
|
-
"location",
|
|
4079
|
-
"requiredness",
|
|
4080
|
-
"classification",
|
|
4081
|
-
"source",
|
|
4082
|
-
"materializationPolicy",
|
|
4083
|
-
"exportPolicy"
|
|
4084
|
-
]
|
|
4085
|
-
}
|
|
4086
|
-
);
|
|
4087
|
-
var opensteerExecutableResolverSchema = objectSchema(
|
|
4088
|
-
{
|
|
4089
|
-
id: stringSchema({ minLength: 1 }),
|
|
4090
|
-
kind: opensteerExecutableResolverKindSchema,
|
|
4091
|
-
label: stringSchema({ minLength: 1 }),
|
|
4092
|
-
status: enumSchema(["ready", "missing"]),
|
|
4093
|
-
requiresBrowser: { type: "boolean" },
|
|
4094
|
-
requiresLiveState: { type: "boolean" },
|
|
4095
|
-
description: stringSchema({ minLength: 1 }),
|
|
4096
|
-
inputNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4097
|
-
guardId: stringSchema({ minLength: 1 }),
|
|
4098
|
-
traceId: stringSchema({ minLength: 1 }),
|
|
4099
|
-
valueRef: opensteerValueReferenceSchema
|
|
4100
|
-
},
|
|
4101
|
-
{
|
|
4102
|
-
title: "OpensteerExecutableResolver",
|
|
4103
|
-
required: ["id", "kind", "label", "status", "requiresBrowser", "requiresLiveState"]
|
|
4104
|
-
}
|
|
4105
|
-
);
|
|
4106
|
-
var opensteerReverseAdvisorySignalsSchema = objectSchema(
|
|
4107
|
-
{
|
|
4108
|
-
advisoryRank: numberSchema(),
|
|
4109
|
-
observedAt: integerSchema({ minimum: 0 }),
|
|
4110
|
-
targetHintMatches: integerSchema({ minimum: 0 }),
|
|
4111
|
-
responseRichness: integerSchema({ minimum: 0 }),
|
|
4112
|
-
portabilityWeight: integerSchema({ minimum: 0 }),
|
|
4113
|
-
boundaryWeight: integerSchema({ minimum: 0 }),
|
|
4114
|
-
successfulStatus: { type: "boolean" },
|
|
4115
|
-
fetchLike: { type: "boolean" },
|
|
4116
|
-
hasResponseBody: { type: "boolean" },
|
|
4117
|
-
dataPathMatch: { type: "boolean" },
|
|
4118
|
-
cookieInputCount: integerSchema({ minimum: 0 }),
|
|
4119
|
-
storageInputCount: integerSchema({ minimum: 0 }),
|
|
4120
|
-
volatileInputCount: integerSchema({ minimum: 0 }),
|
|
4121
|
-
guardCount: integerSchema({ minimum: 0 })
|
|
4122
|
-
},
|
|
4123
|
-
{
|
|
4124
|
-
title: "OpensteerReverseAdvisorySignals",
|
|
4125
|
-
required: [
|
|
4126
|
-
"advisoryRank",
|
|
4127
|
-
"targetHintMatches",
|
|
4128
|
-
"responseRichness",
|
|
4129
|
-
"portabilityWeight",
|
|
4130
|
-
"boundaryWeight",
|
|
4131
|
-
"successfulStatus",
|
|
4132
|
-
"fetchLike",
|
|
4133
|
-
"hasResponseBody",
|
|
4134
|
-
"dataPathMatch",
|
|
4135
|
-
"cookieInputCount",
|
|
4136
|
-
"storageInputCount",
|
|
4137
|
-
"volatileInputCount",
|
|
4138
|
-
"guardCount"
|
|
4139
|
-
]
|
|
4140
|
-
}
|
|
4141
|
-
);
|
|
4142
|
-
var opensteerValidationRuleSchema = objectSchema(
|
|
4143
|
-
{
|
|
4144
|
-
id: stringSchema({ minLength: 1 }),
|
|
4145
|
-
kind: opensteerValidationRuleKindSchema,
|
|
4146
|
-
label: stringSchema({ minLength: 1 }),
|
|
4147
|
-
required: { type: "boolean" },
|
|
4148
|
-
expectedStatus: integerSchema({ minimum: 0 }),
|
|
4149
|
-
structureHash: stringSchema({ minLength: 1 }),
|
|
4150
|
-
textIncludes: stringSchema({ minLength: 1 }),
|
|
4151
|
-
minimumCount: integerSchema({ minimum: 0 })
|
|
4152
|
-
},
|
|
4153
|
-
{
|
|
4154
|
-
title: "OpensteerValidationRule",
|
|
4155
|
-
required: ["id", "kind", "label", "required"]
|
|
4156
|
-
}
|
|
4157
|
-
);
|
|
4158
|
-
var opensteerChannelDescriptorSchema = objectSchema(
|
|
4159
|
-
{
|
|
4160
|
-
kind: opensteerReverseChannelKindSchema,
|
|
4161
|
-
recordKind: networkRecordKindSchema,
|
|
4162
|
-
method: stringSchema({ minLength: 1 }),
|
|
4163
|
-
url: stringSchema({ minLength: 1 }),
|
|
4164
|
-
subprotocol: stringSchema({ minLength: 1 })
|
|
4165
|
-
},
|
|
4166
|
-
{
|
|
4167
|
-
title: "OpensteerChannelDescriptor",
|
|
4168
|
-
required: ["kind", "recordKind", "url"]
|
|
4169
|
-
}
|
|
4170
|
-
);
|
|
4171
|
-
var opensteerReverseOperationWorkflowStepSchema = objectSchema(
|
|
4172
|
-
{
|
|
4173
|
-
id: stringSchema({ minLength: 1 }),
|
|
4174
|
-
kind: enumSchema(["operation"]),
|
|
4175
|
-
label: stringSchema({ minLength: 1 }),
|
|
4176
|
-
operation: stringSchema({ minLength: 1 }),
|
|
4177
|
-
input: opensteerValueTemplateSchema,
|
|
4178
|
-
bindAs: stringSchema({ minLength: 1 })
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
title: "OpensteerReverseOperationWorkflowStep",
|
|
4182
|
-
required: ["id", "kind", "label", "operation", "input"]
|
|
4183
|
-
}
|
|
4184
|
-
);
|
|
4185
|
-
var opensteerReverseAwaitRecordWorkflowStepSchema = objectSchema(
|
|
4186
|
-
{
|
|
4187
|
-
id: stringSchema({ minLength: 1 }),
|
|
4188
|
-
kind: enumSchema(["await-record"]),
|
|
4189
|
-
label: stringSchema({ minLength: 1 }),
|
|
4190
|
-
channel: opensteerChannelDescriptorSchema,
|
|
4191
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4192
|
-
match: objectSchema(
|
|
4193
|
-
{
|
|
4194
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4195
|
-
host: stringSchema({ minLength: 1 }),
|
|
4196
|
-
path: stringSchema({ minLength: 1 }),
|
|
4197
|
-
method: stringSchema({ minLength: 1 }),
|
|
4198
|
-
channel: opensteerReverseChannelKindSchema,
|
|
4199
|
-
status: integerSchema({ minimum: 0 }),
|
|
4200
|
-
text: stringSchema({ minLength: 1 })
|
|
4201
|
-
},
|
|
4202
|
-
{
|
|
4203
|
-
title: "OpensteerReverseAwaitRecordMatch"
|
|
4204
|
-
}
|
|
4205
|
-
),
|
|
4206
|
-
validationRuleIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4207
|
-
timeoutMs: integerSchema({ minimum: 0 }),
|
|
4208
|
-
bindAs: stringSchema({ minLength: 1 })
|
|
4209
|
-
},
|
|
4210
|
-
{
|
|
4211
|
-
title: "OpensteerReverseAwaitRecordWorkflowStep",
|
|
4212
|
-
required: ["id", "kind", "label", "channel"]
|
|
4213
|
-
}
|
|
4214
|
-
);
|
|
4215
|
-
var opensteerReverseAssertWorkflowStepSchema = objectSchema(
|
|
4216
|
-
{
|
|
4217
|
-
id: stringSchema({ minLength: 1 }),
|
|
4218
|
-
kind: enumSchema(["assert"]),
|
|
4219
|
-
label: stringSchema({ minLength: 1 }),
|
|
4220
|
-
validationRuleIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4221
|
-
binding: stringSchema({ minLength: 1 })
|
|
4222
|
-
},
|
|
4223
|
-
{
|
|
4224
|
-
title: "OpensteerReverseAssertWorkflowStep",
|
|
4225
|
-
required: ["id", "kind", "label", "validationRuleIds"]
|
|
4226
|
-
}
|
|
4227
|
-
);
|
|
4228
|
-
var opensteerReverseWorkflowStepSchema = oneOfSchema(
|
|
4229
|
-
[
|
|
4230
|
-
opensteerReverseOperationWorkflowStepSchema,
|
|
4231
|
-
opensteerReverseAwaitRecordWorkflowStepSchema,
|
|
4232
|
-
opensteerReverseAssertWorkflowStepSchema
|
|
4233
|
-
],
|
|
4234
|
-
{
|
|
4235
|
-
title: "OpensteerReverseWorkflowStep"
|
|
4236
|
-
}
|
|
4237
|
-
);
|
|
4238
|
-
var opensteerReversePackageRequirementsSchema = objectSchema(
|
|
4239
|
-
{
|
|
4240
|
-
requiresBrowser: { type: "boolean" },
|
|
4241
|
-
requiresLiveState: { type: "boolean" },
|
|
4242
|
-
manualCalibration: enumSchema(["not-needed", "recommended", "required"]),
|
|
4243
|
-
stateSources: arraySchema(opensteerStateSourceKindSchema, { uniqueItems: true })
|
|
4244
|
-
},
|
|
4245
|
-
{
|
|
4246
|
-
title: "OpensteerReversePackageRequirements",
|
|
4247
|
-
required: ["requiresBrowser", "requiresLiveState", "manualCalibration", "stateSources"]
|
|
4248
|
-
}
|
|
4249
|
-
);
|
|
4250
|
-
var opensteerReverseAdvisoryTemplateSchema = objectSchema(
|
|
4251
|
-
{
|
|
4252
|
-
id: stringSchema({ minLength: 1 }),
|
|
4253
|
-
label: stringSchema({ minLength: 1 }),
|
|
4254
|
-
channel: opensteerReverseChannelKindSchema,
|
|
4255
|
-
execution: enumSchema(["transport", "page-observation"]),
|
|
4256
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4257
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
4258
|
-
transport: transportKindSchema,
|
|
4259
|
-
guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4260
|
-
resolverIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4261
|
-
requiresBrowser: { type: "boolean" },
|
|
4262
|
-
requiresLiveState: { type: "boolean" },
|
|
4263
|
-
viability: enumSchema(["ready", "draft", "unsupported"]),
|
|
4264
|
-
notes: stringSchema({ minLength: 1 })
|
|
4265
|
-
},
|
|
4266
|
-
{
|
|
4267
|
-
title: "OpensteerReverseAdvisoryTemplate",
|
|
4268
|
-
required: [
|
|
4269
|
-
"id",
|
|
4270
|
-
"label",
|
|
4271
|
-
"channel",
|
|
4272
|
-
"execution",
|
|
4273
|
-
"stateSource",
|
|
4274
|
-
"guardIds",
|
|
4275
|
-
"resolverIds",
|
|
4276
|
-
"requiresBrowser",
|
|
4277
|
-
"requiresLiveState",
|
|
4278
|
-
"viability"
|
|
4279
|
-
]
|
|
4280
|
-
}
|
|
4281
|
-
);
|
|
4282
|
-
var opensteerReverseGuardRecordSchema = objectSchema(
|
|
4283
|
-
{
|
|
4284
|
-
id: stringSchema({ minLength: 1 }),
|
|
4285
|
-
kind: enumSchema(["interaction", "state", "script", "manual"]),
|
|
4286
|
-
label: stringSchema({ minLength: 1 }),
|
|
4287
|
-
status: enumSchema(["required", "satisfied", "unresolved"]),
|
|
4288
|
-
interactionTraceId: stringSchema({ minLength: 1 }),
|
|
4289
|
-
notes: stringSchema({ minLength: 1 })
|
|
4290
|
-
},
|
|
4291
|
-
{
|
|
4292
|
-
title: "OpensteerReverseGuardRecord",
|
|
4293
|
-
required: ["id", "kind", "label", "status"]
|
|
4294
|
-
}
|
|
4295
|
-
);
|
|
4296
|
-
var opensteerReverseObservationRecordSchema = objectSchema(
|
|
4297
|
-
{
|
|
4298
|
-
id: stringSchema({ minLength: 1 }),
|
|
4299
|
-
capturedAt: integerSchema({ minimum: 0 }),
|
|
4300
|
-
pageRef: pageRefSchema,
|
|
4301
|
-
url: stringSchema({ minLength: 1 }),
|
|
4302
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4303
|
-
networkRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4304
|
-
scriptArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4305
|
-
interactionTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4306
|
-
stateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4307
|
-
notes: stringSchema({ minLength: 1 })
|
|
4308
|
-
},
|
|
4309
|
-
{
|
|
4310
|
-
title: "OpensteerReverseObservationRecord",
|
|
4311
|
-
required: [
|
|
4312
|
-
"id",
|
|
4313
|
-
"capturedAt",
|
|
4314
|
-
"stateSource",
|
|
4315
|
-
"networkRecordIds",
|
|
4316
|
-
"scriptArtifactIds",
|
|
4317
|
-
"interactionTraceIds",
|
|
4318
|
-
"stateSnapshotIds"
|
|
4319
|
-
]
|
|
4320
|
-
}
|
|
4321
|
-
);
|
|
4322
|
-
var opensteerReverseObservedRecordSchema = objectSchema(
|
|
4323
|
-
{
|
|
4324
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4325
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
4326
|
-
clusterId: stringSchema({ minLength: 1 }),
|
|
4327
|
-
observedAt: integerSchema({ minimum: 0 }),
|
|
4328
|
-
channel: opensteerChannelDescriptorSchema,
|
|
4329
|
-
bodyCodec: opensteerBodyCodecDescriptorSchema,
|
|
4330
|
-
resourceType: stringSchema({ minLength: 1 }),
|
|
4331
|
-
status: integerSchema({ minimum: 0 }),
|
|
4332
|
-
matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4333
|
-
relationKinds: arraySchema(opensteerObservationClusterRelationshipKindSchema, {
|
|
4334
|
-
uniqueItems: true
|
|
4335
|
-
})
|
|
4336
|
-
},
|
|
4337
|
-
{
|
|
4338
|
-
title: "OpensteerReverseObservedRecord",
|
|
4339
|
-
required: [
|
|
4340
|
-
"recordId",
|
|
4341
|
-
"observationId",
|
|
4342
|
-
"clusterId",
|
|
4343
|
-
"channel",
|
|
4344
|
-
"bodyCodec",
|
|
4345
|
-
"matchedTargetHints",
|
|
4346
|
-
"relationKinds"
|
|
4347
|
-
]
|
|
4348
|
-
}
|
|
4349
|
-
);
|
|
4350
|
-
var opensteerReverseCandidateRecordSchema = objectSchema(
|
|
4351
|
-
{
|
|
4352
|
-
id: stringSchema({ minLength: 1 }),
|
|
4353
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
4354
|
-
clusterId: stringSchema({ minLength: 1 }),
|
|
4355
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4356
|
-
channel: opensteerChannelDescriptorSchema,
|
|
4357
|
-
bodyCodec: opensteerBodyCodecDescriptorSchema,
|
|
4358
|
-
boundary: opensteerReverseCandidateBoundarySchema,
|
|
4359
|
-
summary: stringSchema({ minLength: 1 }),
|
|
4360
|
-
matchedTargetHints: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4361
|
-
advisoryTags: arraySchema(opensteerReverseAdvisoryTagSchema, { uniqueItems: true }),
|
|
4362
|
-
constraints: arraySchema(opensteerReverseConstraintKindSchema, { uniqueItems: true }),
|
|
4363
|
-
signals: opensteerReverseAdvisorySignalsSchema,
|
|
4364
|
-
inputs: arraySchema(opensteerRequestInputDescriptorSchema),
|
|
4365
|
-
resolvers: arraySchema(opensteerExecutableResolverSchema),
|
|
4366
|
-
guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4367
|
-
scriptArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4368
|
-
advisoryTemplates: arraySchema(opensteerReverseAdvisoryTemplateSchema)
|
|
4369
|
-
},
|
|
4370
|
-
{
|
|
4371
|
-
title: "OpensteerReverseCandidateRecord",
|
|
4372
|
-
required: [
|
|
4373
|
-
"id",
|
|
4374
|
-
"observationId",
|
|
4375
|
-
"clusterId",
|
|
4376
|
-
"recordId",
|
|
4377
|
-
"channel",
|
|
4378
|
-
"bodyCodec",
|
|
4379
|
-
"boundary",
|
|
4380
|
-
"summary",
|
|
4381
|
-
"matchedTargetHints",
|
|
4382
|
-
"advisoryTags",
|
|
4383
|
-
"constraints",
|
|
4384
|
-
"signals",
|
|
4385
|
-
"inputs",
|
|
4386
|
-
"resolvers",
|
|
4387
|
-
"guardIds",
|
|
4388
|
-
"scriptArtifactIds",
|
|
4389
|
-
"advisoryTemplates"
|
|
4390
|
-
]
|
|
4391
|
-
}
|
|
4392
|
-
);
|
|
4393
|
-
var opensteerReverseReplayValidationSchema = objectSchema(
|
|
4394
|
-
{
|
|
4395
|
-
statusMatches: { type: "boolean" },
|
|
4396
|
-
structureMatches: { type: "boolean" },
|
|
4397
|
-
opened: { type: "boolean" },
|
|
4398
|
-
firstChunkObserved: { type: "boolean" },
|
|
4399
|
-
firstChunkMatches: { type: "boolean" },
|
|
4400
|
-
messageObserved: { type: "boolean" },
|
|
4401
|
-
messageCount: integerSchema({ minimum: 0 })
|
|
4402
|
-
},
|
|
4403
|
-
{
|
|
4404
|
-
title: "OpensteerReverseReplayValidation"
|
|
4405
|
-
}
|
|
4406
|
-
);
|
|
4407
|
-
var opensteerReverseReplayRunRecordSchema = objectSchema(
|
|
4408
|
-
{
|
|
4409
|
-
id: stringSchema({ minLength: 1 }),
|
|
4410
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4411
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4412
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
4413
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
4414
|
-
success: { type: "boolean" },
|
|
4415
|
-
channel: opensteerReverseChannelKindSchema,
|
|
4416
|
-
kind: opensteerReversePackageKindSchema,
|
|
4417
|
-
readiness: opensteerReversePackageReadinessSchema,
|
|
4418
|
-
transport: transportKindSchema,
|
|
4419
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4420
|
-
executedStepIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4421
|
-
failedStepId: stringSchema({ minLength: 1 }),
|
|
4422
|
-
bindings: recordSchema({}, { title: "OpensteerReverseReplayRunBindings" }),
|
|
4423
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4424
|
-
status: integerSchema({ minimum: 0 }),
|
|
4425
|
-
validation: opensteerReverseReplayValidationSchema,
|
|
4426
|
-
error: stringSchema({ minLength: 1 })
|
|
4427
|
-
},
|
|
4428
|
-
{
|
|
4429
|
-
title: "OpensteerReverseReplayRunRecord",
|
|
4430
|
-
required: [
|
|
4431
|
-
"id",
|
|
4432
|
-
"createdAt",
|
|
4433
|
-
"packageId",
|
|
4434
|
-
"success",
|
|
4435
|
-
"kind",
|
|
4436
|
-
"readiness",
|
|
4437
|
-
"executedStepIds",
|
|
4438
|
-
"validation"
|
|
4439
|
-
]
|
|
4440
|
-
}
|
|
4441
|
-
);
|
|
4442
|
-
var opensteerReverseExperimentRecordSchema = objectSchema(
|
|
4443
|
-
{
|
|
4444
|
-
id: stringSchema({ minLength: 1 }),
|
|
4445
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4446
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4447
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
4448
|
-
kind: enumSchema(["replay-attempt", "field-variation"]),
|
|
4449
|
-
hypothesis: stringSchema({ minLength: 1 }),
|
|
4450
|
-
success: { type: "boolean" },
|
|
4451
|
-
status: integerSchema({ minimum: 0 }),
|
|
4452
|
-
notes: stringSchema({ minLength: 1 }),
|
|
4453
|
-
validation: opensteerReverseReplayValidationSchema
|
|
4454
|
-
},
|
|
4455
|
-
{
|
|
4456
|
-
title: "OpensteerReverseExperimentRecord",
|
|
4457
|
-
required: ["id", "createdAt", "kind", "hypothesis", "success"]
|
|
4458
|
-
}
|
|
4459
|
-
);
|
|
4460
|
-
var opensteerReverseRequirementSchema = objectSchema(
|
|
4461
|
-
{
|
|
4462
|
-
id: stringSchema({ minLength: 1 }),
|
|
4463
|
-
kind: opensteerReverseRequirementKindSchema,
|
|
4464
|
-
status: opensteerReverseRequirementStatusSchema,
|
|
4465
|
-
label: stringSchema({ minLength: 1 }),
|
|
4466
|
-
description: stringSchema({ minLength: 1 }),
|
|
4467
|
-
blocking: { type: "boolean" },
|
|
4468
|
-
resolverId: stringSchema({ minLength: 1 }),
|
|
4469
|
-
guardId: stringSchema({ minLength: 1 }),
|
|
4470
|
-
stepId: stringSchema({ minLength: 1 }),
|
|
4471
|
-
inputNames: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4472
|
-
traceId: stringSchema({ minLength: 1 }),
|
|
4473
|
-
artifactId: stringSchema({ minLength: 1 }),
|
|
4474
|
-
recordId: stringSchema({ minLength: 1 })
|
|
4475
|
-
},
|
|
4476
|
-
{
|
|
4477
|
-
title: "OpensteerReverseRequirement",
|
|
4478
|
-
required: ["id", "kind", "status", "label", "blocking"]
|
|
4479
|
-
}
|
|
4480
|
-
);
|
|
4481
|
-
var opensteerReverseSuggestedEditSchema = objectSchema(
|
|
4482
|
-
{
|
|
4483
|
-
id: stringSchema({ minLength: 1 }),
|
|
4484
|
-
kind: opensteerReverseSuggestedEditKindSchema,
|
|
4485
|
-
label: stringSchema({ minLength: 1 }),
|
|
4486
|
-
description: stringSchema({ minLength: 1 }),
|
|
4487
|
-
resolverId: stringSchema({ minLength: 1 }),
|
|
4488
|
-
guardId: stringSchema({ minLength: 1 }),
|
|
4489
|
-
stepId: stringSchema({ minLength: 1 }),
|
|
4490
|
-
traceId: stringSchema({ minLength: 1 }),
|
|
4491
|
-
artifactId: stringSchema({ minLength: 1 }),
|
|
4492
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4493
|
-
payload: jsonValueSchema2
|
|
4494
|
-
},
|
|
4495
|
-
{
|
|
4496
|
-
title: "OpensteerReverseSuggestedEdit",
|
|
4497
|
-
required: ["id", "kind", "label"]
|
|
4498
|
-
}
|
|
4499
|
-
);
|
|
4500
|
-
var opensteerReverseExportRecordSchema = objectSchema(
|
|
4501
|
-
{
|
|
4502
|
-
id: stringSchema({ minLength: 1 }),
|
|
4503
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4504
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4505
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
4506
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
4507
|
-
kind: opensteerReversePackageKindSchema,
|
|
4508
|
-
readiness: opensteerReversePackageReadinessSchema,
|
|
4509
|
-
requestPlanId: stringSchema({ minLength: 1 })
|
|
4510
|
-
},
|
|
4511
|
-
{
|
|
4512
|
-
title: "OpensteerReverseExportRecord",
|
|
4513
|
-
required: ["id", "createdAt", "packageId", "kind", "readiness"]
|
|
4514
|
-
}
|
|
4515
|
-
);
|
|
4516
|
-
var opensteerReverseCasePayloadSchema = objectSchema(
|
|
4517
|
-
{
|
|
4518
|
-
objective: stringSchema({ minLength: 1 }),
|
|
4519
|
-
notes: stringSchema({ minLength: 1 }),
|
|
4520
|
-
status: opensteerReverseCaseStatusSchema,
|
|
4521
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4522
|
-
observations: arraySchema(opensteerReverseObservationRecordSchema),
|
|
4523
|
-
observationClusters: arraySchema(opensteerObservationClusterSchema),
|
|
4524
|
-
observedRecords: arraySchema(opensteerReverseObservedRecordSchema),
|
|
4525
|
-
candidates: arraySchema(opensteerReverseCandidateRecordSchema),
|
|
4526
|
-
guards: arraySchema(opensteerReverseGuardRecordSchema),
|
|
4527
|
-
stateSnapshots: arraySchema(opensteerStateSnapshotSchema),
|
|
4528
|
-
stateDeltas: arraySchema(opensteerStateDeltaSchema),
|
|
4529
|
-
experiments: arraySchema(opensteerReverseExperimentRecordSchema),
|
|
4530
|
-
replayRuns: arraySchema(opensteerReverseReplayRunRecordSchema),
|
|
4531
|
-
exports: arraySchema(opensteerReverseExportRecordSchema)
|
|
4532
|
-
},
|
|
4533
|
-
{
|
|
4534
|
-
title: "OpensteerReverseCasePayload",
|
|
4535
|
-
required: [
|
|
4536
|
-
"objective",
|
|
4537
|
-
"status",
|
|
4538
|
-
"stateSource",
|
|
4539
|
-
"observations",
|
|
4540
|
-
"observationClusters",
|
|
4541
|
-
"observedRecords",
|
|
4542
|
-
"candidates",
|
|
4543
|
-
"guards",
|
|
4544
|
-
"stateSnapshots",
|
|
4545
|
-
"stateDeltas",
|
|
4546
|
-
"experiments",
|
|
4547
|
-
"replayRuns",
|
|
4548
|
-
"exports"
|
|
4549
|
-
]
|
|
4550
|
-
}
|
|
4551
|
-
);
|
|
4552
|
-
objectSchema(
|
|
4553
|
-
{
|
|
4554
|
-
id: stringSchema({ minLength: 1 }),
|
|
4555
|
-
key: stringSchema({ minLength: 1 }),
|
|
4556
|
-
version: stringSchema({ minLength: 1 }),
|
|
4557
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4558
|
-
updatedAt: integerSchema({ minimum: 0 }),
|
|
4559
|
-
contentHash: stringSchema({ minLength: 1 }),
|
|
4560
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4561
|
-
provenance: opensteerRegistryProvenanceSchema,
|
|
4562
|
-
payload: opensteerReverseCasePayloadSchema
|
|
4563
|
-
},
|
|
4564
|
-
{
|
|
4565
|
-
title: "OpensteerReverseCaseRecord",
|
|
4566
|
-
required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
|
|
4567
|
-
}
|
|
4568
|
-
);
|
|
4569
|
-
var opensteerReversePackagePayloadSchema = objectSchema(
|
|
4570
|
-
{
|
|
4571
|
-
kind: opensteerReversePackageKindSchema,
|
|
4572
|
-
readiness: opensteerReversePackageReadinessSchema,
|
|
4573
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
4574
|
-
objective: stringSchema({ minLength: 1 }),
|
|
4575
|
-
source: objectSchema(
|
|
4576
|
-
{
|
|
4577
|
-
kind: enumSchema(["record", "candidate"]),
|
|
4578
|
-
id: stringSchema({ minLength: 1 })
|
|
4579
|
-
},
|
|
4580
|
-
{
|
|
4581
|
-
title: "OpensteerReversePackageSource",
|
|
4582
|
-
required: ["kind", "id"]
|
|
4583
|
-
}
|
|
4584
|
-
),
|
|
4585
|
-
sourceRecordId: stringSchema({ minLength: 1 }),
|
|
4586
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4587
|
-
candidate: opensteerReverseCandidateRecordSchema,
|
|
4588
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
4589
|
-
template: opensteerReverseAdvisoryTemplateSchema,
|
|
4590
|
-
channel: opensteerChannelDescriptorSchema,
|
|
4591
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4592
|
-
observationId: stringSchema({ minLength: 1 }),
|
|
4593
|
-
transport: transportKindSchema,
|
|
4594
|
-
guardIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4595
|
-
workflow: arraySchema(opensteerReverseWorkflowStepSchema),
|
|
4596
|
-
resolvers: arraySchema(opensteerExecutableResolverSchema),
|
|
4597
|
-
validators: arraySchema(opensteerValidationRuleSchema),
|
|
4598
|
-
stateSnapshots: arraySchema(opensteerStateSnapshotSchema),
|
|
4599
|
-
requirements: opensteerReversePackageRequirementsSchema,
|
|
4600
|
-
requestPlanId: stringSchema({ minLength: 1 }),
|
|
4601
|
-
unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
|
|
4602
|
-
suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
|
|
4603
|
-
attachedTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4604
|
-
attachedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4605
|
-
attachedRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4606
|
-
notes: stringSchema({ minLength: 1 }),
|
|
4607
|
-
parentPackageId: stringSchema({ minLength: 1 })
|
|
4608
|
-
},
|
|
4609
|
-
{
|
|
4610
|
-
title: "OpensteerReversePackagePayload",
|
|
4611
|
-
required: [
|
|
4612
|
-
"kind",
|
|
4613
|
-
"readiness",
|
|
4614
|
-
"caseId",
|
|
4615
|
-
"objective",
|
|
4616
|
-
"source",
|
|
4617
|
-
"sourceRecordId",
|
|
4618
|
-
"guardIds",
|
|
4619
|
-
"workflow",
|
|
4620
|
-
"resolvers",
|
|
4621
|
-
"validators",
|
|
4622
|
-
"stateSnapshots",
|
|
4623
|
-
"requirements",
|
|
4624
|
-
"unresolvedRequirements",
|
|
4625
|
-
"suggestedEdits",
|
|
4626
|
-
"attachedTraceIds",
|
|
4627
|
-
"attachedArtifactIds",
|
|
4628
|
-
"attachedRecordIds"
|
|
4629
|
-
]
|
|
4630
|
-
}
|
|
4631
|
-
);
|
|
4632
|
-
var opensteerReversePackageRecordSchema = objectSchema(
|
|
4633
|
-
{
|
|
4634
|
-
id: stringSchema({ minLength: 1 }),
|
|
4635
|
-
key: stringSchema({ minLength: 1 }),
|
|
4636
|
-
version: stringSchema({ minLength: 1 }),
|
|
4637
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4638
|
-
updatedAt: integerSchema({ minimum: 0 }),
|
|
4639
|
-
contentHash: stringSchema({ minLength: 1 }),
|
|
4640
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4641
|
-
provenance: opensteerRegistryProvenanceSchema,
|
|
4642
|
-
payload: opensteerReversePackagePayloadSchema
|
|
4643
|
-
},
|
|
4644
|
-
{
|
|
4645
|
-
title: "OpensteerReversePackageRecord",
|
|
4646
|
-
required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
|
|
4647
|
-
}
|
|
4648
|
-
);
|
|
4649
|
-
var opensteerReverseCandidateReportItemSchema = objectSchema(
|
|
4650
|
-
{
|
|
4651
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4652
|
-
clusterId: stringSchema({ minLength: 1 }),
|
|
4653
|
-
advisoryRank: numberSchema(),
|
|
4654
|
-
bodyCodec: opensteerBodyCodecDescriptorSchema,
|
|
4655
|
-
summary: stringSchema({ minLength: 1 }),
|
|
4656
|
-
advisoryTags: arraySchema(opensteerReverseAdvisoryTagSchema, { uniqueItems: true }),
|
|
4657
|
-
constraints: arraySchema(opensteerReverseConstraintKindSchema, { uniqueItems: true }),
|
|
4658
|
-
signals: opensteerReverseAdvisorySignalsSchema,
|
|
4659
|
-
reasons: arraySchema(stringSchema({ minLength: 1 }))
|
|
4660
|
-
},
|
|
4661
|
-
{
|
|
4662
|
-
title: "OpensteerReverseCandidateAdvisoryItem",
|
|
4663
|
-
required: [
|
|
4664
|
-
"candidateId",
|
|
4665
|
-
"clusterId",
|
|
4666
|
-
"advisoryRank",
|
|
4667
|
-
"bodyCodec",
|
|
4668
|
-
"summary",
|
|
4669
|
-
"advisoryTags",
|
|
4670
|
-
"constraints",
|
|
4671
|
-
"signals",
|
|
4672
|
-
"reasons"
|
|
4673
|
-
]
|
|
4674
|
-
}
|
|
4675
|
-
);
|
|
4676
|
-
var opensteerReverseDiscoverySummaryCountsSchema = objectSchema(
|
|
4677
|
-
{
|
|
4678
|
-
hosts: recordSchema(integerSchema({ minimum: 0 }), { title: "OpensteerReverseSummaryHosts" }),
|
|
4679
|
-
channels: recordSchema(integerSchema({ minimum: 0 }), {
|
|
4680
|
-
title: "OpensteerReverseSummaryChannels"
|
|
4681
|
-
}),
|
|
4682
|
-
resourceTypes: recordSchema(integerSchema({ minimum: 0 }), {
|
|
4683
|
-
title: "OpensteerReverseSummaryResourceTypes"
|
|
4684
|
-
}),
|
|
4685
|
-
advisoryTags: recordSchema(integerSchema({ minimum: 0 }), {
|
|
4686
|
-
title: "OpensteerReverseSummaryAdvisoryTags"
|
|
4687
|
-
}),
|
|
4688
|
-
constraints: recordSchema(integerSchema({ minimum: 0 }), {
|
|
4689
|
-
title: "OpensteerReverseSummaryConstraints"
|
|
4690
|
-
}),
|
|
4691
|
-
relationKinds: recordSchema(integerSchema({ minimum: 0 }), {
|
|
4692
|
-
title: "OpensteerReverseSummaryRelationKinds"
|
|
4693
|
-
})
|
|
4694
|
-
},
|
|
4695
|
-
{
|
|
4696
|
-
title: "OpensteerReverseDiscoverySummaryCounts",
|
|
4697
|
-
required: [
|
|
4698
|
-
"hosts",
|
|
4699
|
-
"channels",
|
|
4700
|
-
"resourceTypes",
|
|
4701
|
-
"advisoryTags",
|
|
4702
|
-
"constraints",
|
|
4703
|
-
"relationKinds"
|
|
4704
|
-
]
|
|
4705
|
-
}
|
|
4706
|
-
);
|
|
4707
|
-
var opensteerReverseReportPayloadSchema = objectSchema(
|
|
4708
|
-
{
|
|
4709
|
-
kind: opensteerReverseReportKindSchema,
|
|
4710
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
4711
|
-
objective: stringSchema({ minLength: 1 }),
|
|
4712
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
4713
|
-
packageKind: opensteerReversePackageKindSchema,
|
|
4714
|
-
packageReadiness: opensteerReversePackageReadinessSchema,
|
|
4715
|
-
observations: arraySchema(opensteerReverseObservationRecordSchema),
|
|
4716
|
-
observationClusters: arraySchema(opensteerObservationClusterSchema),
|
|
4717
|
-
observedRecords: arraySchema(opensteerReverseObservedRecordSchema),
|
|
4718
|
-
guards: arraySchema(opensteerReverseGuardRecordSchema),
|
|
4719
|
-
stateDeltas: arraySchema(opensteerStateDeltaSchema),
|
|
4720
|
-
summaryCounts: opensteerReverseDiscoverySummaryCountsSchema,
|
|
4721
|
-
candidateAdvisories: arraySchema(opensteerReverseCandidateReportItemSchema),
|
|
4722
|
-
query: objectSchema(
|
|
4723
|
-
{
|
|
4724
|
-
view: opensteerReverseQueryViewSchema,
|
|
4725
|
-
filters: objectSchema(
|
|
4726
|
-
{
|
|
4727
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4728
|
-
clusterId: stringSchema({ minLength: 1 }),
|
|
4729
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4730
|
-
host: stringSchema({ minLength: 1 }),
|
|
4731
|
-
path: stringSchema({ minLength: 1 }),
|
|
4732
|
-
method: stringSchema({ minLength: 1 }),
|
|
4733
|
-
status: stringSchema({ minLength: 1 }),
|
|
4734
|
-
resourceType: stringSchema({ minLength: 1 }),
|
|
4735
|
-
channel: opensteerReverseChannelKindSchema,
|
|
4736
|
-
boundary: opensteerReverseCandidateBoundarySchema,
|
|
4737
|
-
advisoryTag: opensteerReverseAdvisoryTagSchema,
|
|
4738
|
-
constraint: opensteerReverseConstraintKindSchema,
|
|
4739
|
-
bodyCodec: opensteerBodyCodecKindSchema,
|
|
4740
|
-
relationKind: opensteerObservationClusterRelationshipKindSchema,
|
|
4741
|
-
hasGuards: { type: "boolean" },
|
|
4742
|
-
hasResolvers: { type: "boolean" },
|
|
4743
|
-
artifactId: stringSchema({ minLength: 1 }),
|
|
4744
|
-
stateSnapshotId: stringSchema({ minLength: 1 }),
|
|
4745
|
-
traceId: stringSchema({ minLength: 1 }),
|
|
4746
|
-
evidenceRef: stringSchema({ minLength: 1 }),
|
|
4747
|
-
text: stringSchema({ minLength: 1 })
|
|
4748
|
-
},
|
|
4749
|
-
{
|
|
4750
|
-
title: "OpensteerReverseReportQueryFilters"
|
|
4751
|
-
}
|
|
4752
|
-
),
|
|
4753
|
-
sort: objectSchema(
|
|
4754
|
-
{
|
|
4755
|
-
preset: opensteerReverseSortPresetSchema,
|
|
4756
|
-
keys: arraySchema(
|
|
4757
|
-
objectSchema(
|
|
4758
|
-
{
|
|
4759
|
-
key: opensteerReverseSortKeySchema,
|
|
4760
|
-
direction: opensteerReverseSortDirectionSchema
|
|
4761
|
-
},
|
|
4762
|
-
{
|
|
4763
|
-
title: "OpensteerReverseReportQuerySortTerm",
|
|
4764
|
-
required: ["key"]
|
|
4765
|
-
}
|
|
4766
|
-
),
|
|
4767
|
-
{ minItems: 1 }
|
|
4768
|
-
)
|
|
4769
|
-
},
|
|
4770
|
-
{
|
|
4771
|
-
title: "OpensteerReverseReportQuerySort"
|
|
4772
|
-
}
|
|
4773
|
-
),
|
|
4774
|
-
limit: integerSchema({ minimum: 1 }),
|
|
4775
|
-
totalCount: integerSchema({ minimum: 0 }),
|
|
4776
|
-
nextCursor: stringSchema({ minLength: 1 }),
|
|
4777
|
-
resultIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4778
|
-
},
|
|
4779
|
-
{
|
|
4780
|
-
title: "OpensteerReverseQuerySnapshot",
|
|
4781
|
-
required: ["view", "sort", "limit", "totalCount", "resultIds"]
|
|
4782
|
-
}
|
|
4783
|
-
),
|
|
4784
|
-
experiments: arraySchema(opensteerReverseExperimentRecordSchema),
|
|
4785
|
-
replayRuns: arraySchema(opensteerReverseReplayRunRecordSchema),
|
|
4786
|
-
unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
|
|
4787
|
-
suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
|
|
4788
|
-
linkedNetworkRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4789
|
-
linkedInteractionTraceIds: arraySchema(stringSchema({ minLength: 1 }), {
|
|
4790
|
-
uniqueItems: true
|
|
4791
|
-
}),
|
|
4792
|
-
linkedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4793
|
-
linkedStateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4794
|
-
package: opensteerReversePackageRecordSchema
|
|
4795
|
-
},
|
|
4796
|
-
{
|
|
4797
|
-
title: "OpensteerReverseReportPayload",
|
|
4798
|
-
required: [
|
|
4799
|
-
"kind",
|
|
4800
|
-
"caseId",
|
|
4801
|
-
"objective",
|
|
4802
|
-
"observations",
|
|
4803
|
-
"observationClusters",
|
|
4804
|
-
"observedRecords",
|
|
4805
|
-
"guards",
|
|
4806
|
-
"stateDeltas",
|
|
4807
|
-
"summaryCounts",
|
|
4808
|
-
"candidateAdvisories",
|
|
4809
|
-
"experiments",
|
|
4810
|
-
"replayRuns",
|
|
4811
|
-
"linkedNetworkRecordIds",
|
|
4812
|
-
"linkedInteractionTraceIds",
|
|
4813
|
-
"linkedArtifactIds",
|
|
4814
|
-
"linkedStateSnapshotIds"
|
|
4815
|
-
]
|
|
4816
|
-
}
|
|
4817
|
-
);
|
|
4818
|
-
var opensteerReverseReportRecordSchema = objectSchema(
|
|
4819
|
-
{
|
|
4820
|
-
id: stringSchema({ minLength: 1 }),
|
|
4821
|
-
key: stringSchema({ minLength: 1 }),
|
|
4822
|
-
version: stringSchema({ minLength: 1 }),
|
|
4823
|
-
createdAt: integerSchema({ minimum: 0 }),
|
|
4824
|
-
updatedAt: integerSchema({ minimum: 0 }),
|
|
4825
|
-
contentHash: stringSchema({ minLength: 1 }),
|
|
4826
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4827
|
-
provenance: opensteerRegistryProvenanceSchema,
|
|
4828
|
-
payload: opensteerReverseReportPayloadSchema
|
|
4829
|
-
},
|
|
4830
|
-
{
|
|
4831
|
-
title: "OpensteerReverseReportRecord",
|
|
4832
|
-
required: ["id", "key", "version", "createdAt", "updatedAt", "contentHash", "tags", "payload"]
|
|
4833
|
-
}
|
|
4834
|
-
);
|
|
4835
|
-
var opensteerReverseNetworkFilterSchema = objectSchema(
|
|
4836
|
-
{
|
|
4837
|
-
url: stringSchema({ minLength: 1 }),
|
|
4838
|
-
hostname: stringSchema({ minLength: 1 }),
|
|
4839
|
-
path: stringSchema({ minLength: 1 }),
|
|
4840
|
-
method: stringSchema({ minLength: 1 }),
|
|
4841
|
-
resourceType: stringSchema({ minLength: 1 }),
|
|
4842
|
-
includeBodies: { type: "boolean" }
|
|
4843
|
-
},
|
|
4844
|
-
{
|
|
4845
|
-
title: "OpensteerReverseCaptureNetworkFilter"
|
|
4846
|
-
}
|
|
4847
|
-
);
|
|
4848
|
-
var opensteerReverseQueryFiltersSchema = objectSchema(
|
|
4849
|
-
{
|
|
4850
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
4851
|
-
clusterId: stringSchema({ minLength: 1 }),
|
|
4852
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
4853
|
-
host: stringSchema({ minLength: 1 }),
|
|
4854
|
-
path: stringSchema({ minLength: 1 }),
|
|
4855
|
-
method: stringSchema({ minLength: 1 }),
|
|
4856
|
-
status: stringSchema({ minLength: 1 }),
|
|
4857
|
-
resourceType: stringSchema({ minLength: 1 }),
|
|
4858
|
-
channel: opensteerReverseChannelKindSchema,
|
|
4859
|
-
boundary: opensteerReverseCandidateBoundarySchema,
|
|
4860
|
-
advisoryTag: opensteerReverseAdvisoryTagSchema,
|
|
4861
|
-
constraint: opensteerReverseConstraintKindSchema,
|
|
4862
|
-
bodyCodec: opensteerBodyCodecKindSchema,
|
|
4863
|
-
relationKind: opensteerObservationClusterRelationshipKindSchema,
|
|
4864
|
-
hasGuards: { type: "boolean" },
|
|
4865
|
-
hasResolvers: { type: "boolean" },
|
|
4866
|
-
artifactId: stringSchema({ minLength: 1 }),
|
|
4867
|
-
stateSnapshotId: stringSchema({ minLength: 1 }),
|
|
4868
|
-
traceId: stringSchema({ minLength: 1 }),
|
|
4869
|
-
evidenceRef: stringSchema({ minLength: 1 }),
|
|
4870
|
-
text: stringSchema({ minLength: 1 })
|
|
4871
|
-
},
|
|
4872
|
-
{
|
|
4873
|
-
title: "OpensteerReverseQueryFilters"
|
|
4874
|
-
}
|
|
4875
|
-
);
|
|
4876
|
-
var opensteerReverseQuerySortSchema = objectSchema(
|
|
4877
|
-
{
|
|
4878
|
-
preset: opensteerReverseSortPresetSchema,
|
|
4879
|
-
keys: arraySchema(
|
|
4880
|
-
objectSchema(
|
|
4881
|
-
{
|
|
4882
|
-
key: opensteerReverseSortKeySchema,
|
|
4883
|
-
direction: opensteerReverseSortDirectionSchema
|
|
4884
|
-
},
|
|
4885
|
-
{
|
|
4886
|
-
title: "OpensteerReverseSortTerm",
|
|
4887
|
-
required: ["key"]
|
|
4888
|
-
}
|
|
4889
|
-
),
|
|
4890
|
-
{ minItems: 1 }
|
|
4891
|
-
)
|
|
4892
|
-
},
|
|
4893
|
-
{
|
|
4894
|
-
title: "OpensteerReverseQuerySort"
|
|
4895
|
-
}
|
|
4896
|
-
);
|
|
4897
|
-
var opensteerReverseQuerySnapshotSchema = objectSchema(
|
|
4898
|
-
{
|
|
4899
|
-
view: opensteerReverseQueryViewSchema,
|
|
4900
|
-
filters: opensteerReverseQueryFiltersSchema,
|
|
4901
|
-
sort: opensteerReverseQuerySortSchema,
|
|
4902
|
-
limit: integerSchema({ minimum: 1, maximum: 200 }),
|
|
4903
|
-
totalCount: integerSchema({ minimum: 0 }),
|
|
4904
|
-
nextCursor: stringSchema({ minLength: 1 }),
|
|
4905
|
-
resultIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4906
|
-
},
|
|
4907
|
-
{
|
|
4908
|
-
title: "OpensteerReverseQuerySnapshot",
|
|
4909
|
-
required: ["view", "sort", "limit", "totalCount", "resultIds"]
|
|
4910
|
-
}
|
|
4911
|
-
);
|
|
4912
|
-
var opensteerReverseQueryRecordItemSchema = objectSchema(
|
|
4913
|
-
{
|
|
4914
|
-
record: opensteerReverseObservedRecordSchema,
|
|
4915
|
-
candidateIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4916
|
-
},
|
|
4917
|
-
{
|
|
4918
|
-
title: "OpensteerReverseQueryRecordItem",
|
|
4919
|
-
required: ["record", "candidateIds"]
|
|
4920
|
-
}
|
|
4921
|
-
);
|
|
4922
|
-
var opensteerReverseQueryClusterItemSchema = objectSchema(
|
|
4923
|
-
{
|
|
4924
|
-
cluster: opensteerObservationClusterSchema,
|
|
4925
|
-
candidateIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
4926
|
-
},
|
|
4927
|
-
{
|
|
4928
|
-
title: "OpensteerReverseQueryClusterItem",
|
|
4929
|
-
required: ["cluster", "candidateIds"]
|
|
4930
|
-
}
|
|
4931
|
-
);
|
|
4932
|
-
var opensteerReverseQueryCandidateItemSchema = objectSchema(
|
|
4933
|
-
{
|
|
4934
|
-
candidate: opensteerReverseCandidateRecordSchema,
|
|
4935
|
-
reasons: arraySchema(stringSchema({ minLength: 1 }))
|
|
4936
|
-
},
|
|
4937
|
-
{
|
|
4938
|
-
title: "OpensteerReverseQueryCandidateItem",
|
|
4939
|
-
required: ["candidate", "reasons"]
|
|
4940
|
-
}
|
|
4941
|
-
);
|
|
4942
|
-
objectSchema(
|
|
4943
|
-
{
|
|
4944
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
4945
|
-
key: stringSchema({ minLength: 1 }),
|
|
4946
|
-
objective: stringSchema({ minLength: 1 }),
|
|
4947
|
-
notes: stringSchema({ minLength: 1 }),
|
|
4948
|
-
tags: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4949
|
-
pageRef: pageRefSchema,
|
|
4950
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
4951
|
-
network: opensteerReverseNetworkFilterSchema,
|
|
4952
|
-
includeScripts: { type: "boolean" },
|
|
4953
|
-
includeStorage: { type: "boolean" },
|
|
4954
|
-
includeSessionStorage: { type: "boolean" },
|
|
4955
|
-
includeIndexedDb: { type: "boolean" },
|
|
4956
|
-
interactionTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4957
|
-
targetHints: opensteerReverseTargetHintsSchema,
|
|
4958
|
-
captureWindowMs: integerSchema({ minimum: 0 }),
|
|
4959
|
-
manualCalibration: opensteerReverseManualCalibrationModeSchema
|
|
4960
|
-
},
|
|
4961
|
-
{
|
|
4962
|
-
title: "OpensteerReverseDiscoverInput"
|
|
4963
|
-
}
|
|
4964
|
-
);
|
|
4965
|
-
objectSchema(
|
|
4966
|
-
{
|
|
4967
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
4968
|
-
reportId: stringSchema({ minLength: 1 }),
|
|
4969
|
-
summary: objectSchema(
|
|
4970
|
-
{
|
|
4971
|
-
observationIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4972
|
-
recordCount: integerSchema({ minimum: 0 }),
|
|
4973
|
-
clusterCount: integerSchema({ minimum: 0 }),
|
|
4974
|
-
candidateCount: integerSchema({ minimum: 0 })
|
|
4975
|
-
},
|
|
4976
|
-
{
|
|
4977
|
-
title: "OpensteerReverseDiscoverSummary",
|
|
4978
|
-
required: ["observationIds", "recordCount", "clusterCount", "candidateCount"]
|
|
4979
|
-
}
|
|
4980
|
-
),
|
|
4981
|
-
index: objectSchema(
|
|
4982
|
-
{
|
|
4983
|
-
views: arraySchema(opensteerReverseQueryViewSchema, { uniqueItems: true }),
|
|
4984
|
-
sortableKeys: arraySchema(opensteerReverseSortKeySchema, { uniqueItems: true }),
|
|
4985
|
-
channels: arraySchema(opensteerReverseChannelKindSchema, { uniqueItems: true }),
|
|
4986
|
-
hosts: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
4987
|
-
relationKinds: arraySchema(opensteerObservationClusterRelationshipKindSchema, {
|
|
4988
|
-
uniqueItems: true
|
|
4989
|
-
})
|
|
4990
|
-
},
|
|
4991
|
-
{
|
|
4992
|
-
title: "OpensteerReverseDiscoverIndex",
|
|
4993
|
-
required: ["views", "sortableKeys", "channels", "hosts", "relationKinds"]
|
|
4994
|
-
}
|
|
4995
|
-
)
|
|
4996
|
-
},
|
|
4997
|
-
{
|
|
4998
|
-
title: "OpensteerReverseDiscoverOutput",
|
|
4999
|
-
required: ["caseId", "reportId", "summary", "index"]
|
|
5000
|
-
}
|
|
5001
|
-
);
|
|
5002
|
-
objectSchema(
|
|
5003
|
-
{
|
|
5004
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5005
|
-
view: opensteerReverseQueryViewSchema,
|
|
5006
|
-
filters: opensteerReverseQueryFiltersSchema,
|
|
5007
|
-
sort: opensteerReverseQuerySortSchema,
|
|
5008
|
-
limit: integerSchema({ minimum: 1, maximum: 200 }),
|
|
5009
|
-
cursor: stringSchema({ minLength: 1 })
|
|
5010
|
-
},
|
|
5011
|
-
{
|
|
5012
|
-
title: "OpensteerReverseQueryInput",
|
|
5013
|
-
required: ["caseId"]
|
|
5014
|
-
}
|
|
5015
|
-
);
|
|
5016
|
-
objectSchema(
|
|
5017
|
-
{
|
|
5018
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5019
|
-
view: opensteerReverseQueryViewSchema,
|
|
5020
|
-
query: opensteerReverseQuerySnapshotSchema,
|
|
5021
|
-
totalCount: integerSchema({ minimum: 0 }),
|
|
5022
|
-
nextCursor: stringSchema({ minLength: 1 }),
|
|
5023
|
-
records: arraySchema(opensteerReverseQueryRecordItemSchema),
|
|
5024
|
-
clusters: arraySchema(opensteerReverseQueryClusterItemSchema),
|
|
5025
|
-
candidates: arraySchema(opensteerReverseQueryCandidateItemSchema)
|
|
5026
|
-
},
|
|
5027
|
-
{
|
|
5028
|
-
title: "OpensteerReverseQueryOutput",
|
|
5029
|
-
required: ["caseId", "view", "query", "totalCount"]
|
|
5030
|
-
}
|
|
5031
|
-
);
|
|
5032
|
-
objectSchema(
|
|
5033
|
-
{
|
|
5034
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5035
|
-
source: objectSchema(
|
|
5036
|
-
{
|
|
5037
|
-
kind: enumSchema(["record", "candidate"]),
|
|
5038
|
-
id: stringSchema({ minLength: 1 })
|
|
5039
|
-
},
|
|
5040
|
-
{
|
|
5041
|
-
title: "OpensteerReversePackageCreateSource",
|
|
5042
|
-
required: ["kind", "id"]
|
|
5043
|
-
}
|
|
5044
|
-
),
|
|
5045
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
5046
|
-
key: stringSchema({ minLength: 1 }),
|
|
5047
|
-
version: stringSchema({ minLength: 1 }),
|
|
5048
|
-
notes: stringSchema({ minLength: 1 })
|
|
5049
|
-
},
|
|
5050
|
-
{
|
|
5051
|
-
title: "OpensteerReversePackageCreateInput",
|
|
5052
|
-
required: ["caseId", "source"]
|
|
5053
|
-
}
|
|
5054
|
-
);
|
|
5055
|
-
objectSchema(
|
|
5056
|
-
{
|
|
5057
|
-
package: opensteerReversePackageRecordSchema,
|
|
5058
|
-
report: opensteerReverseReportRecordSchema
|
|
5059
|
-
},
|
|
5060
|
-
{
|
|
5061
|
-
title: "OpensteerReversePackageCreateOutput",
|
|
5062
|
-
required: ["package", "report"]
|
|
5063
|
-
}
|
|
5064
|
-
);
|
|
5065
|
-
objectSchema(
|
|
5066
|
-
{
|
|
5067
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
5068
|
-
pageRef: pageRefSchema
|
|
5069
|
-
},
|
|
5070
|
-
{
|
|
5071
|
-
title: "OpensteerReversePackageRunInput",
|
|
5072
|
-
required: ["packageId"]
|
|
5073
|
-
}
|
|
5074
|
-
);
|
|
5075
|
-
objectSchema(
|
|
5076
|
-
{
|
|
5077
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
5078
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5079
|
-
source: objectSchema(
|
|
5080
|
-
{
|
|
5081
|
-
kind: enumSchema(["record", "candidate"]),
|
|
5082
|
-
id: stringSchema({ minLength: 1 })
|
|
5083
|
-
},
|
|
5084
|
-
{
|
|
5085
|
-
title: "OpensteerReversePackageRunSource",
|
|
5086
|
-
required: ["kind", "id"]
|
|
5087
|
-
}
|
|
5088
|
-
),
|
|
5089
|
-
candidateId: stringSchema({ minLength: 1 }),
|
|
5090
|
-
templateId: stringSchema({ minLength: 1 }),
|
|
5091
|
-
success: { type: "boolean" },
|
|
5092
|
-
kind: opensteerReversePackageKindSchema,
|
|
5093
|
-
readiness: opensteerReversePackageReadinessSchema,
|
|
5094
|
-
channel: opensteerReverseChannelKindSchema,
|
|
5095
|
-
transport: transportKindSchema,
|
|
5096
|
-
stateSource: opensteerStateSourceKindSchema,
|
|
5097
|
-
recordId: stringSchema({ minLength: 1 }),
|
|
5098
|
-
status: integerSchema({ minimum: 0 }),
|
|
5099
|
-
validation: opensteerReverseReplayValidationSchema,
|
|
5100
|
-
executedStepIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
5101
|
-
failedStepId: stringSchema({ minLength: 1 }),
|
|
5102
|
-
bindings: recordSchema({}, { title: "OpensteerReversePackageRunBindings" }),
|
|
5103
|
-
replayRunId: stringSchema({ minLength: 1 }),
|
|
5104
|
-
unresolvedRequirements: arraySchema(opensteerReverseRequirementSchema),
|
|
5105
|
-
suggestedEdits: arraySchema(opensteerReverseSuggestedEditSchema),
|
|
5106
|
-
error: stringSchema({ minLength: 1 })
|
|
5107
|
-
},
|
|
5108
|
-
{
|
|
5109
|
-
title: "OpensteerReversePackageRunOutput",
|
|
5110
|
-
required: [
|
|
5111
|
-
"packageId",
|
|
5112
|
-
"source",
|
|
5113
|
-
"success",
|
|
5114
|
-
"kind",
|
|
5115
|
-
"readiness",
|
|
5116
|
-
"validation",
|
|
5117
|
-
"executedStepIds",
|
|
5118
|
-
"bindings",
|
|
5119
|
-
"unresolvedRequirements",
|
|
5120
|
-
"suggestedEdits"
|
|
5121
|
-
]
|
|
5122
|
-
}
|
|
5123
|
-
);
|
|
5124
|
-
objectSchema(
|
|
5125
|
-
{
|
|
5126
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
5127
|
-
key: stringSchema({ minLength: 1 }),
|
|
5128
|
-
version: stringSchema({ minLength: 1 })
|
|
5129
|
-
},
|
|
5130
|
-
{
|
|
5131
|
-
title: "OpensteerReverseExportInput",
|
|
5132
|
-
required: ["packageId"]
|
|
5133
|
-
}
|
|
5134
|
-
);
|
|
5135
|
-
objectSchema(
|
|
5136
|
-
{
|
|
5137
|
-
package: opensteerReversePackageRecordSchema,
|
|
5138
|
-
requestPlan: opensteerRequestPlanRecordSchema
|
|
5139
|
-
},
|
|
5140
|
-
{
|
|
5141
|
-
title: "OpensteerReverseExportOutput",
|
|
5142
|
-
required: ["package"]
|
|
5143
|
-
}
|
|
5144
|
-
);
|
|
5145
|
-
objectSchema(
|
|
5146
|
-
{
|
|
5147
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5148
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
5149
|
-
reportId: stringSchema({ minLength: 1 }),
|
|
5150
|
-
kind: opensteerReverseReportKindSchema
|
|
5151
|
-
},
|
|
5152
|
-
{
|
|
5153
|
-
title: "OpensteerReverseReportInput"
|
|
5154
|
-
}
|
|
5155
|
-
);
|
|
5156
|
-
objectSchema(
|
|
5157
|
-
{
|
|
5158
|
-
report: opensteerReverseReportRecordSchema
|
|
5159
|
-
},
|
|
5160
|
-
{
|
|
5161
|
-
title: "OpensteerReverseReportOutput",
|
|
5162
|
-
required: ["report"]
|
|
5163
|
-
}
|
|
5164
|
-
);
|
|
5165
|
-
objectSchema(
|
|
5166
|
-
{
|
|
5167
|
-
packageId: stringSchema({ minLength: 1 })
|
|
5168
|
-
},
|
|
5169
|
-
{
|
|
5170
|
-
title: "OpensteerReversePackageGetInput",
|
|
5171
|
-
required: ["packageId"]
|
|
5172
|
-
}
|
|
5173
|
-
);
|
|
5174
|
-
objectSchema(
|
|
5175
|
-
{
|
|
5176
|
-
package: opensteerReversePackageRecordSchema
|
|
5177
|
-
},
|
|
5178
|
-
{
|
|
5179
|
-
title: "OpensteerReversePackageGetOutput",
|
|
5180
|
-
required: ["package"]
|
|
5181
|
-
}
|
|
5182
|
-
);
|
|
5183
|
-
objectSchema(
|
|
5184
|
-
{
|
|
5185
|
-
caseId: stringSchema({ minLength: 1 }),
|
|
5186
|
-
key: stringSchema({ minLength: 1 }),
|
|
5187
|
-
kind: opensteerReversePackageKindSchema,
|
|
5188
|
-
readiness: opensteerReversePackageReadinessSchema
|
|
5189
|
-
},
|
|
5190
|
-
{
|
|
5191
|
-
title: "OpensteerReversePackageListInput"
|
|
5192
|
-
}
|
|
5193
|
-
);
|
|
5194
|
-
objectSchema(
|
|
5195
|
-
{
|
|
5196
|
-
packages: arraySchema(opensteerReversePackageRecordSchema)
|
|
5197
|
-
},
|
|
5198
|
-
{
|
|
5199
|
-
title: "OpensteerReversePackageListOutput",
|
|
5200
|
-
required: ["packages"]
|
|
5201
|
-
}
|
|
5202
|
-
);
|
|
5203
|
-
objectSchema(
|
|
5204
|
-
{
|
|
5205
|
-
packageId: stringSchema({ minLength: 1 }),
|
|
5206
|
-
key: stringSchema({ minLength: 1 }),
|
|
5207
|
-
version: stringSchema({ minLength: 1 }),
|
|
5208
|
-
notes: stringSchema({ minLength: 1 }),
|
|
5209
|
-
workflow: arraySchema(opensteerReverseWorkflowStepSchema),
|
|
5210
|
-
resolvers: arraySchema(opensteerExecutableResolverSchema),
|
|
5211
|
-
validators: arraySchema(opensteerValidationRuleSchema),
|
|
5212
|
-
attachedTraceIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
5213
|
-
attachedArtifactIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
5214
|
-
attachedRecordIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true }),
|
|
5215
|
-
stateSnapshotIds: arraySchema(stringSchema({ minLength: 1 }), { uniqueItems: true })
|
|
5216
|
-
},
|
|
5217
|
-
{
|
|
5218
|
-
title: "OpensteerReversePackagePatchInput",
|
|
5219
|
-
required: ["packageId"]
|
|
5220
|
-
}
|
|
5221
|
-
);
|
|
5222
|
-
objectSchema(
|
|
5223
|
-
{
|
|
5224
|
-
package: opensteerReversePackageRecordSchema,
|
|
5225
|
-
report: opensteerReverseReportRecordSchema
|
|
5226
|
-
},
|
|
5227
|
-
{
|
|
5228
|
-
title: "OpensteerReversePackagePatchOutput",
|
|
5229
|
-
required: ["package", "report"]
|
|
5230
|
-
}
|
|
5231
|
-
);
|
|
5232
|
-
|
|
5233
3306
|
// ../protocol/src/interaction.ts
|
|
5234
3307
|
var opensteerInteractionEventRecordSchema = objectSchema(
|
|
5235
3308
|
{
|
|
@@ -6081,12 +4154,12 @@ var opensteerDomExtractInputSchema = defineSchema({
|
|
|
6081
4154
|
),
|
|
6082
4155
|
anyOf: [defineSchema({ required: ["persist"] }), defineSchema({ required: ["schema"] })]
|
|
6083
4156
|
});
|
|
6084
|
-
var
|
|
4157
|
+
var jsonValueSchema2 = recordSchema({}, { title: "JsonValueRecord" });
|
|
6085
4158
|
var opensteerDomExtractOutputSchema = objectSchema(
|
|
6086
4159
|
{
|
|
6087
4160
|
data: oneOfSchema(
|
|
6088
4161
|
[
|
|
6089
|
-
|
|
4162
|
+
jsonValueSchema2,
|
|
6090
4163
|
arraySchema({}),
|
|
6091
4164
|
stringSchema(),
|
|
6092
4165
|
numberSchema(),
|
|
@@ -6489,7 +4562,7 @@ var opensteerSemanticOperationSpecificationsBase = [
|
|
|
6489
4562
|
}),
|
|
6490
4563
|
defineSemanticOperationSpec({
|
|
6491
4564
|
name: "artifact.read",
|
|
6492
|
-
description: "Read a persisted artifact by ID so agents can inspect captured scripts, storage, cookies, or snapshots linked from
|
|
4565
|
+
description: "Read a persisted artifact by ID so agents can inspect captured scripts, storage, cookies, or snapshots linked from recorded workflows.",
|
|
6493
4566
|
inputSchema: opensteerArtifactReadInputSchema,
|
|
6494
4567
|
outputSchema: opensteerArtifactReadOutputSchema,
|
|
6495
4568
|
requiredCapabilities: []
|
|
@@ -12521,7 +10594,7 @@ async function dispatchSemanticOperation(runtime, operation, input, options = {}
|
|
|
12521
10594
|
|
|
12522
10595
|
// ../runtime-core/package.json
|
|
12523
10596
|
var package_default = {
|
|
12524
|
-
version: "0.2.
|
|
10597
|
+
version: "0.2.2"};
|
|
12525
10598
|
|
|
12526
10599
|
// ../runtime-core/src/version.ts
|
|
12527
10600
|
var OPENSTEER_RUNTIME_CORE_VERSION = package_default.version;
|
|
@@ -24365,5 +22438,5 @@ function createOpensteerSemanticRuntime(input = {}) {
|
|
|
24365
22438
|
}
|
|
24366
22439
|
|
|
24367
22440
|
export { CloudSessionProxy, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, FlowRecorderCollector, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OpensteerCloudClient, OpensteerRuntime, OpensteerSessionRuntime2 as OpensteerSessionRuntime, STABLE_PRIMARY_ATTR_KEYS, assertProviderSupportsEngine, buildArrayFieldPathCandidates, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, buildPathCandidates, buildPathSelectorHint, buildSegmentSelector, cloneElementPath, cloneReplayElementPath, cloneStructuralElementAnchor, createDomDescriptorStore, createDomRuntime, createOpensteerExtractionDescriptorStore, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, dispatchSemanticOperation, generateReplayScript, hashDomDescriptorPersist, isCurrentUrlField, isValidCssAttributeKey, loadEnvironment, normalizeExtractedValue, normalizeOpensteerProviderMode, parseDomDescriptorRecord, parseExtractionDescriptorRecord, requireCloudAppBaseUrl, resolveCloudConfig, resolveDomActionBridge, resolveExtractedValueInContext, resolveOpensteerEnvironment, resolveOpensteerProvider, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath };
|
|
24368
|
-
//# sourceMappingURL=chunk-
|
|
24369
|
-
//# sourceMappingURL=chunk-
|
|
22441
|
+
//# sourceMappingURL=chunk-HD6KVZ42.js.map
|
|
22442
|
+
//# sourceMappingURL=chunk-HD6KVZ42.js.map
|