@onkernel/sdk 0.86.0 → 0.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +306 -0
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +306 -0
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browser-pools.d.mts +153 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +153 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +105 -3
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +105 -3
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +29 -1
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +29 -1
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/src/resources/auth/connections.ts +342 -0
- package/src/resources/browser-pools.ts +171 -0
- package/src/resources/browsers/browsers.ts +119 -1
- package/src/resources/browsers/index.ts +2 -0
- package/src/resources/browsers/telemetry.ts +34 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -91,6 +91,8 @@ import {
|
|
|
91
91
|
BrowserTelemetryCategoryConfig,
|
|
92
92
|
BrowserTelemetryConfig,
|
|
93
93
|
BrowserTelemetryEvent,
|
|
94
|
+
BrowserTelemetryExportConfig,
|
|
95
|
+
BrowserTelemetryOtlpExportConfig,
|
|
94
96
|
Telemetry as TelemetryAPITelemetry,
|
|
95
97
|
TelemetryEventsParams,
|
|
96
98
|
TelemetryEventsResponse,
|
|
@@ -1037,6 +1039,63 @@ export namespace BrowserCreateParams {
|
|
|
1037
1039
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1038
1040
|
*/
|
|
1039
1041
|
enabled?: boolean;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1045
|
+
* exporting.
|
|
1046
|
+
*/
|
|
1047
|
+
export?: Telemetry.Export;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export namespace Telemetry {
|
|
1051
|
+
/**
|
|
1052
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1053
|
+
* exporting.
|
|
1054
|
+
*/
|
|
1055
|
+
export interface Export {
|
|
1056
|
+
/**
|
|
1057
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1058
|
+
*/
|
|
1059
|
+
otlp?: Export.Otlp;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export namespace Export {
|
|
1063
|
+
/**
|
|
1064
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1065
|
+
*/
|
|
1066
|
+
export interface Otlp {
|
|
1067
|
+
/**
|
|
1068
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1069
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1070
|
+
*/
|
|
1071
|
+
destination?: Otlp.Destination;
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
1075
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
1076
|
+
* (enabled=false with a destination is rejected).
|
|
1077
|
+
*/
|
|
1078
|
+
enabled?: boolean;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
export namespace Otlp {
|
|
1082
|
+
/**
|
|
1083
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1084
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1085
|
+
*/
|
|
1086
|
+
export interface Destination {
|
|
1087
|
+
/**
|
|
1088
|
+
* OTLP destination ID
|
|
1089
|
+
*/
|
|
1090
|
+
id?: string;
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* OTLP destination name
|
|
1094
|
+
*/
|
|
1095
|
+
name?: string;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1040
1099
|
}
|
|
1041
1100
|
}
|
|
1042
1101
|
|
|
@@ -1128,6 +1187,63 @@ export namespace BrowserUpdateParams {
|
|
|
1128
1187
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1129
1188
|
*/
|
|
1130
1189
|
enabled?: boolean;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1193
|
+
* exporting.
|
|
1194
|
+
*/
|
|
1195
|
+
export?: Telemetry.Export;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export namespace Telemetry {
|
|
1199
|
+
/**
|
|
1200
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1201
|
+
* exporting.
|
|
1202
|
+
*/
|
|
1203
|
+
export interface Export {
|
|
1204
|
+
/**
|
|
1205
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1206
|
+
*/
|
|
1207
|
+
otlp?: Export.Otlp;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export namespace Export {
|
|
1211
|
+
/**
|
|
1212
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1213
|
+
*/
|
|
1214
|
+
export interface Otlp {
|
|
1215
|
+
/**
|
|
1216
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1217
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1218
|
+
*/
|
|
1219
|
+
destination?: Otlp.Destination;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
1223
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
1224
|
+
* (enabled=false with a destination is rejected).
|
|
1225
|
+
*/
|
|
1226
|
+
enabled?: boolean;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
export namespace Otlp {
|
|
1230
|
+
/**
|
|
1231
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1232
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1233
|
+
*/
|
|
1234
|
+
export interface Destination {
|
|
1235
|
+
/**
|
|
1236
|
+
* OTLP destination ID
|
|
1237
|
+
*/
|
|
1238
|
+
id?: string;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* OTLP destination name
|
|
1242
|
+
*/
|
|
1243
|
+
name?: string;
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1131
1247
|
}
|
|
1132
1248
|
|
|
1133
1249
|
/**
|
|
@@ -1152,7 +1268,7 @@ export interface BrowserListParams extends OffsetPaginationParams {
|
|
|
1152
1268
|
include_deleted?: boolean;
|
|
1153
1269
|
|
|
1154
1270
|
/**
|
|
1155
|
-
* Search browsers by name, session ID, profile ID, proxy ID, or pool name.
|
|
1271
|
+
* Search browsers by name, session ID, profile name or ID, proxy ID, or pool name.
|
|
1156
1272
|
*/
|
|
1157
1273
|
query?: string;
|
|
1158
1274
|
|
|
@@ -1292,6 +1408,8 @@ export declare namespace Browsers {
|
|
|
1292
1408
|
type BrowserTelemetryCategoryConfig as BrowserTelemetryCategoryConfig,
|
|
1293
1409
|
type BrowserTelemetryConfig as BrowserTelemetryConfig,
|
|
1294
1410
|
type BrowserTelemetryEvent as BrowserTelemetryEvent,
|
|
1411
|
+
type BrowserTelemetryExportConfig as BrowserTelemetryExportConfig,
|
|
1412
|
+
type BrowserTelemetryOtlpExportConfig as BrowserTelemetryOtlpExportConfig,
|
|
1295
1413
|
type TelemetryEventsResponse as TelemetryEventsResponse,
|
|
1296
1414
|
type TelemetryStreamResponse as TelemetryStreamResponse,
|
|
1297
1415
|
type TelemetryEventsResponsesOffsetPagination as TelemetryEventsResponsesOffsetPagination,
|
|
@@ -120,6 +120,8 @@ export {
|
|
|
120
120
|
type BrowserTelemetryCategoryConfig,
|
|
121
121
|
type BrowserTelemetryConfig,
|
|
122
122
|
type BrowserTelemetryEvent,
|
|
123
|
+
type BrowserTelemetryExportConfig,
|
|
124
|
+
type BrowserTelemetryOtlpExportConfig,
|
|
123
125
|
type TelemetryEventsResponse,
|
|
124
126
|
type TelemetryStreamResponse,
|
|
125
127
|
type TelemetryEventsParams,
|
|
@@ -1965,6 +1965,12 @@ export interface BrowserTelemetryConfig {
|
|
|
1965
1965
|
* Per-category enable/disable flags.
|
|
1966
1966
|
*/
|
|
1967
1967
|
browser?: BrowserTelemetryCategoriesConfig;
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* Where the session's captured telemetry is being exported. Omitted when the
|
|
1971
|
+
* export state is unknown.
|
|
1972
|
+
*/
|
|
1973
|
+
export?: BrowserTelemetryExportConfig;
|
|
1968
1974
|
}
|
|
1969
1975
|
|
|
1970
1976
|
/**
|
|
@@ -2009,6 +2015,32 @@ export type BrowserTelemetryEvent =
|
|
|
2009
2015
|
| BrowserSystemOomKillEvent
|
|
2010
2016
|
| BrowserServiceCrashedEvent;
|
|
2011
2017
|
|
|
2018
|
+
/**
|
|
2019
|
+
* Active export state for a session's captured telemetry, by protocol.
|
|
2020
|
+
*/
|
|
2021
|
+
export interface BrowserTelemetryExportConfig {
|
|
2022
|
+
/**
|
|
2023
|
+
* Active OTLP export state.
|
|
2024
|
+
*/
|
|
2025
|
+
otlp?: BrowserTelemetryOtlpExportConfig;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* Active OTLP export state for a browser session.
|
|
2030
|
+
*/
|
|
2031
|
+
export interface BrowserTelemetryOtlpExportConfig {
|
|
2032
|
+
/**
|
|
2033
|
+
* ID of the OTLP destination the session is bound to. Omitted when the session is
|
|
2034
|
+
* not exporting.
|
|
2035
|
+
*/
|
|
2036
|
+
destination?: string;
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* Whether the session is exporting captured telemetry over OTLP.
|
|
2040
|
+
*/
|
|
2041
|
+
enabled?: boolean;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2012
2044
|
/**
|
|
2013
2045
|
* Envelope wrapping a browser telemetry event with its monotonic sequence number.
|
|
2014
2046
|
* Each SSE data: frame carries one envelope as JSON. The seq value is also emitted
|
|
@@ -2158,6 +2190,8 @@ export declare namespace Telemetry {
|
|
|
2158
2190
|
type BrowserTelemetryCategoryConfig as BrowserTelemetryCategoryConfig,
|
|
2159
2191
|
type BrowserTelemetryConfig as BrowserTelemetryConfig,
|
|
2160
2192
|
type BrowserTelemetryEvent as BrowserTelemetryEvent,
|
|
2193
|
+
type BrowserTelemetryExportConfig as BrowserTelemetryExportConfig,
|
|
2194
|
+
type BrowserTelemetryOtlpExportConfig as BrowserTelemetryOtlpExportConfig,
|
|
2161
2195
|
type TelemetryEventsResponse as TelemetryEventsResponse,
|
|
2162
2196
|
type TelemetryStreamResponse as TelemetryStreamResponse,
|
|
2163
2197
|
type TelemetryEventsResponsesOffsetPagination as TelemetryEventsResponsesOffsetPagination,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.86.
|
|
1
|
+
export const VERSION = '0.86.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.86.
|
|
1
|
+
export declare const VERSION = "0.86.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.86.
|
|
1
|
+
export declare const VERSION = "0.86.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.86.
|
|
1
|
+
export const VERSION = '0.86.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|