@superblocksteam/types 1.350.0 → 1.352.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/agent/v1/service_pb.d.ts +55 -1
- package/dist/src/agent/v1/service_pb.d.ts.map +1 -1
- package/dist/src/agent/v1/service_pb.js +88 -1
- package/dist/src/agent/v1/service_pb.js.map +1 -1
- package/dist/src/api/v1/event_pb.d.ts +64 -0
- package/dist/src/api/v1/event_pb.d.ts.map +1 -1
- package/dist/src/api/v1/event_pb.js +86 -1
- package/dist/src/api/v1/event_pb.js.map +1 -1
- package/dist/src/api/v1/service_pb.d.ts +16 -0
- package/dist/src/api/v1/service_pb.d.ts.map +1 -1
- package/dist/src/api/v1/service_pb.js +18 -0
- package/dist/src/api/v1/service_pb.js.map +1 -1
- package/dist/src/plugins/common/v1/auth_pb.d.ts +6 -0
- package/dist/src/plugins/common/v1/auth_pb.d.ts.map +1 -1
- package/dist/src/plugins/common/v1/auth_pb.js +1 -0
- package/dist/src/plugins/common/v1/auth_pb.js.map +1 -1
- package/dist/src/transport/v1/transport_pb.d.ts +19 -0
- package/dist/src/transport/v1/transport_pb.d.ts.map +1 -1
- package/dist/src/transport/v1/transport_pb.js +23 -0
- package/dist/src/transport/v1/transport_pb.js.map +1 -1
- package/dist/src/worker/v1/sandbox_transport_pb.d.ts +7 -1
- package/dist/src/worker/v1/sandbox_transport_pb.d.ts.map +1 -1
- package/dist/src/worker/v1/sandbox_transport_pb.js +7 -0
- package/dist/src/worker/v1/sandbox_transport_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/agent/v1/service_pb.ts +104 -0
- package/src/api/v1/event_pb.ts +98 -0
- package/src/api/v1/service_pb.ts +20 -0
- package/src/plugins/common/v1/auth_pb.ts +7 -0
- package/src/transport/v1/transport_pb.ts +27 -0
- package/src/worker/v1/sandbox_transport_pb.ts +9 -1
|
@@ -920,6 +920,12 @@ export class Auth extends Message<Auth> {
|
|
|
920
920
|
*/
|
|
921
921
|
value: Auth_Nothing;
|
|
922
922
|
case: "oauthTokenExchange";
|
|
923
|
+
} | {
|
|
924
|
+
/**
|
|
925
|
+
* @generated from field: plugins.common.v1.Auth.Nothing oauth_idp_token_passthrough = 7;
|
|
926
|
+
*/
|
|
927
|
+
value: Auth_Nothing;
|
|
928
|
+
case: "oauthIdpTokenPassthrough";
|
|
923
929
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
924
930
|
|
|
925
931
|
constructor(data?: PartialMessage<Auth>) {
|
|
@@ -936,6 +942,7 @@ export class Auth extends Message<Auth> {
|
|
|
936
942
|
{ no: 4, name: "client_credentials_flow", kind: "message", T: OAuth_ClientCredentialsFlow, oneof: "method" },
|
|
937
943
|
{ no: 5, name: "key", kind: "message", T: Azure_Key, oneof: "method" },
|
|
938
944
|
{ no: 6, name: "oauth_token_exchange", kind: "message", T: Auth_Nothing, oneof: "method" },
|
|
945
|
+
{ no: 7, name: "oauth_idp_token_passthrough", kind: "message", T: Auth_Nothing, oneof: "method" },
|
|
939
946
|
]);
|
|
940
947
|
|
|
941
948
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth {
|
|
@@ -57,6 +57,29 @@ export class Performance extends Message<Performance> {
|
|
|
57
57
|
*/
|
|
58
58
|
total?: Performance_Observable;
|
|
59
59
|
|
|
60
|
+
/**
|
|
61
|
+
* Bootstrap phase breakdown for SDK API (code-mode) executions.
|
|
62
|
+
* Populated by the javascriptsdkapi worker to attribute time within plugin_execution.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: transport.v1.Performance.Observable bootstrap_sdk_import = 8;
|
|
65
|
+
*/
|
|
66
|
+
bootstrapSdkImport?: Performance_Observable;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: transport.v1.Performance.Observable bootstrap_bridge_setup = 9;
|
|
70
|
+
*/
|
|
71
|
+
bootstrapBridgeSetup?: Performance_Observable;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: transport.v1.Performance.Observable bootstrap_require_root = 10;
|
|
75
|
+
*/
|
|
76
|
+
bootstrapRequireRoot?: Performance_Observable;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: transport.v1.Performance.Observable bootstrap_code_execution = 11;
|
|
80
|
+
*/
|
|
81
|
+
bootstrapCodeExecution?: Performance_Observable;
|
|
82
|
+
|
|
60
83
|
constructor(data?: PartialMessage<Performance>) {
|
|
61
84
|
super();
|
|
62
85
|
proto3.util.initPartial(data, this);
|
|
@@ -72,6 +95,10 @@ export class Performance extends Message<Performance> {
|
|
|
72
95
|
{ no: 5, name: "kv_store_fetch", kind: "message", T: Performance_Observable },
|
|
73
96
|
{ no: 6, name: "kv_store_push", kind: "message", T: Performance_Observable },
|
|
74
97
|
{ no: 7, name: "total", kind: "message", T: Performance_Observable },
|
|
98
|
+
{ no: 8, name: "bootstrap_sdk_import", kind: "message", T: Performance_Observable },
|
|
99
|
+
{ no: 9, name: "bootstrap_bridge_setup", kind: "message", T: Performance_Observable },
|
|
100
|
+
{ no: 10, name: "bootstrap_require_root", kind: "message", T: Performance_Observable },
|
|
101
|
+
{ no: 11, name: "bootstrap_code_execution", kind: "message", T: Performance_Observable },
|
|
75
102
|
]);
|
|
76
103
|
|
|
77
104
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Performance {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Duration, Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
import { Request_Data_Data_Props, Request_Data_Data_Quota, Request_Data_Pinned } from "../../transport/v1/transport_pb";
|
|
8
|
+
import { Performance, Request_Data_Data_Props, Request_Data_Data_Quota, Request_Data_Pinned } from "../../transport/v1/transport_pb";
|
|
9
9
|
import { IntegrationDiagnostic, OutputOld } from "../../api/v1/event_pb";
|
|
10
10
|
import { Error } from "../../common/v1/errors_pb";
|
|
11
11
|
|
|
@@ -171,6 +171,13 @@ export class ExecuteResponse extends Message<ExecuteResponse> {
|
|
|
171
171
|
*/
|
|
172
172
|
diagnostics: IntegrationDiagnostic[] = [];
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Worker-side performance metrics (bootstrap timing, plugin execution, etc.).
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: transport.v1.Performance performance = 9;
|
|
178
|
+
*/
|
|
179
|
+
performance?: Performance;
|
|
180
|
+
|
|
174
181
|
constructor(data?: PartialMessage<ExecuteResponse>) {
|
|
175
182
|
super();
|
|
176
183
|
proto3.util.initPartial(data, this);
|
|
@@ -187,6 +194,7 @@ export class ExecuteResponse extends Message<ExecuteResponse> {
|
|
|
187
194
|
{ no: 6, name: "executionTime", kind: "message", T: Duration },
|
|
188
195
|
{ no: 7, name: "structuredLog", kind: "message", T: StructuredLog, repeated: true },
|
|
189
196
|
{ no: 8, name: "diagnostics", kind: "message", T: IntegrationDiagnostic, repeated: true },
|
|
197
|
+
{ no: 9, name: "performance", kind: "message", T: Performance },
|
|
190
198
|
]);
|
|
191
199
|
|
|
192
200
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExecuteResponse {
|