@deepraxis/sdk 0.2.0-dev.bc5a12b → 0.2.0-dev.bda9e20
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/METHODS.md +41 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +67 -13
- package/dist/generated/sdk.gen.js +141 -12
- package/dist/generated/types.gen.d.ts +1594 -218
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +5 -1
- package/dist/helpers/browser-connect-error.d.ts +7 -1
- package/dist/helpers/browser-connect-error.js +12 -1
- package/dist/helpers/browser-connect.d.ts +1 -1
- package/dist/helpers/browser-connect.js +16 -5
- package/dist/helpers/browser-decisions.d.ts +3 -0
- package/dist/helpers/browser-decisions.js +5 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +3 -0
- package/dist/operations.generated.js +309 -20
- package/dist/resources.generated.d.ts +90 -0
- package/dist/resources.generated.js +25 -0
- package/package.json +1 -1
|
@@ -248,6 +248,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
248
248
|
name: string;
|
|
249
249
|
}>;
|
|
250
250
|
};
|
|
251
|
+
browser?: {
|
|
252
|
+
byob: string;
|
|
253
|
+
} | null;
|
|
251
254
|
computer_id?: string;
|
|
252
255
|
subagent_model?: string | null;
|
|
253
256
|
subagents?: Array<{
|
|
@@ -460,6 +463,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
460
463
|
}>;
|
|
461
464
|
};
|
|
462
465
|
};
|
|
466
|
+
devices: {
|
|
467
|
+
localSessions: {
|
|
468
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentDeviceLocalSessionsData>) => Promise<import("./automation.js").Page<{
|
|
469
|
+
id: string;
|
|
470
|
+
title: string;
|
|
471
|
+
updated_at: string | null;
|
|
472
|
+
cwd: string | null;
|
|
473
|
+
}>>;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
463
476
|
events: {
|
|
464
477
|
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
|
|
465
478
|
data: Array<{
|
|
@@ -833,6 +846,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
833
846
|
reason?: "project_removed";
|
|
834
847
|
message_id?: string;
|
|
835
848
|
session_thread_id?: string | null;
|
|
849
|
+
} | {
|
|
850
|
+
id: string;
|
|
851
|
+
type: "session.status_preparing";
|
|
852
|
+
processed_at: string;
|
|
853
|
+
stage: "launching" | "loading" | "ready";
|
|
854
|
+
message_id?: string;
|
|
855
|
+
session_thread_id?: string | null;
|
|
836
856
|
}>;
|
|
837
857
|
next_page: string | null;
|
|
838
858
|
}>;
|
|
@@ -931,6 +951,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
931
951
|
name: string;
|
|
932
952
|
}>;
|
|
933
953
|
};
|
|
954
|
+
browser?: {
|
|
955
|
+
byob: string;
|
|
956
|
+
} | null;
|
|
934
957
|
computer_id?: string;
|
|
935
958
|
subagent_model?: string | null;
|
|
936
959
|
subagents?: Array<{
|
|
@@ -1139,6 +1162,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1162
|
name: string;
|
|
1140
1163
|
}>;
|
|
1141
1164
|
};
|
|
1165
|
+
browser?: {
|
|
1166
|
+
byob: string;
|
|
1167
|
+
} | null;
|
|
1142
1168
|
computer_id?: string;
|
|
1143
1169
|
subagent_model?: string | null;
|
|
1144
1170
|
subagents?: Array<{
|
|
@@ -1598,6 +1624,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1598
1624
|
name: string;
|
|
1599
1625
|
}>;
|
|
1600
1626
|
};
|
|
1627
|
+
browser?: {
|
|
1628
|
+
byob: string;
|
|
1629
|
+
} | null;
|
|
1601
1630
|
computer_id?: string;
|
|
1602
1631
|
subagent_model?: string | null;
|
|
1603
1632
|
subagents?: Array<{
|
|
@@ -1777,6 +1806,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1777
1806
|
name: string;
|
|
1778
1807
|
}>;
|
|
1779
1808
|
};
|
|
1809
|
+
browser?: {
|
|
1810
|
+
byob: string;
|
|
1811
|
+
} | null;
|
|
1780
1812
|
computer_id?: string;
|
|
1781
1813
|
subagent_model?: string | null;
|
|
1782
1814
|
subagents?: Array<{
|
|
@@ -2173,6 +2205,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2173
2205
|
name: string;
|
|
2174
2206
|
}>;
|
|
2175
2207
|
};
|
|
2208
|
+
browser?: {
|
|
2209
|
+
byob: string;
|
|
2210
|
+
} | null;
|
|
2176
2211
|
computer_id?: string;
|
|
2177
2212
|
subagent_model?: string | null;
|
|
2178
2213
|
subagents?: Array<{
|
|
@@ -2351,6 +2386,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2351
2386
|
name: string;
|
|
2352
2387
|
}>;
|
|
2353
2388
|
};
|
|
2389
|
+
browser?: {
|
|
2390
|
+
byob: string;
|
|
2391
|
+
} | null;
|
|
2354
2392
|
computer_id?: string;
|
|
2355
2393
|
subagent_model?: string | null;
|
|
2356
2394
|
subagents?: Array<{
|
|
@@ -4080,6 +4118,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
4080
4118
|
reason?: "project_removed";
|
|
4081
4119
|
message_id?: string;
|
|
4082
4120
|
session_thread_id?: string | null;
|
|
4121
|
+
} | {
|
|
4122
|
+
id: string;
|
|
4123
|
+
type: "session.status_preparing";
|
|
4124
|
+
processed_at: string;
|
|
4125
|
+
stage: "launching" | "loading" | "ready";
|
|
4126
|
+
message_id?: string;
|
|
4127
|
+
session_thread_id?: string | null;
|
|
4083
4128
|
}>;
|
|
4084
4129
|
next_page: string | null;
|
|
4085
4130
|
}>;
|
|
@@ -5810,6 +5855,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
5810
5855
|
reason?: "project_removed";
|
|
5811
5856
|
message_id?: string;
|
|
5812
5857
|
session_thread_id?: string | null;
|
|
5858
|
+
} | {
|
|
5859
|
+
id: string;
|
|
5860
|
+
type: "session.status_preparing";
|
|
5861
|
+
processed_at: string;
|
|
5862
|
+
stage: "launching" | "loading" | "ready";
|
|
5863
|
+
message_id?: string;
|
|
5864
|
+
session_thread_id?: string | null;
|
|
5813
5865
|
}>;
|
|
5814
5866
|
next_page: string | null;
|
|
5815
5867
|
}>;
|
|
@@ -6231,6 +6283,26 @@ export declare function createBilling(transport: Transport): {
|
|
|
6231
6283
|
};
|
|
6232
6284
|
};
|
|
6233
6285
|
export declare function createBrowser(transport: Transport): {
|
|
6286
|
+
byob: {
|
|
6287
|
+
browsers: {
|
|
6288
|
+
disconnect: {
|
|
6289
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserDisconnectByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6290
|
+
};
|
|
6291
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListByobBrowsersData> | undefined) => Promise<{
|
|
6292
|
+
data: Array<Types.BrowserByobBrowser>;
|
|
6293
|
+
nextCursor: string | null;
|
|
6294
|
+
}>;
|
|
6295
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6296
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6297
|
+
};
|
|
6298
|
+
pairings: {
|
|
6299
|
+
claim: {
|
|
6300
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserClaimByobPairingData>) => Promise<Types.BrowserByobClaimResult>;
|
|
6301
|
+
};
|
|
6302
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.BrowserCreateByobPairingData> | undefined) => Promise<Types.BrowserByobPairing>;
|
|
6303
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserReadByobPairingData>) => Promise<Types.BrowserByobPairingView>;
|
|
6304
|
+
};
|
|
6305
|
+
};
|
|
6234
6306
|
connect: {
|
|
6235
6307
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
6236
6308
|
};
|
|
@@ -6687,6 +6759,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6687
6759
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6688
6760
|
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6689
6761
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6762
|
+
slices: {
|
|
6763
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesSlicesCreateData>) => Promise<Types.DevopsChangeSliceOpened>;
|
|
6764
|
+
};
|
|
6690
6765
|
};
|
|
6691
6766
|
connections: {
|
|
6692
6767
|
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
@@ -8167,6 +8242,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8167
8242
|
created_at: string;
|
|
8168
8243
|
capabilities: Array<"display" | "agent">;
|
|
8169
8244
|
agent_dirs: Array<string>;
|
|
8245
|
+
agent_bindings: Array<{
|
|
8246
|
+
dir: string;
|
|
8247
|
+
agent: string;
|
|
8248
|
+
}>;
|
|
8249
|
+
envd_version: string | null;
|
|
8170
8250
|
allow_bypass: boolean;
|
|
8171
8251
|
}>;
|
|
8172
8252
|
}>;
|
|
@@ -8182,6 +8262,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8182
8262
|
created_at: string;
|
|
8183
8263
|
capabilities: Array<"display" | "agent">;
|
|
8184
8264
|
agent_dirs: Array<string>;
|
|
8265
|
+
agent_bindings: Array<{
|
|
8266
|
+
dir: string;
|
|
8267
|
+
agent: string;
|
|
8268
|
+
}>;
|
|
8269
|
+
envd_version: string | null;
|
|
8185
8270
|
allow_bypass: boolean;
|
|
8186
8271
|
}>;
|
|
8187
8272
|
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
@@ -8196,6 +8281,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8196
8281
|
created_at: string;
|
|
8197
8282
|
capabilities: Array<"display" | "agent">;
|
|
8198
8283
|
agent_dirs: Array<string>;
|
|
8284
|
+
agent_bindings: Array<{
|
|
8285
|
+
dir: string;
|
|
8286
|
+
agent: string;
|
|
8287
|
+
}>;
|
|
8288
|
+
envd_version: string | null;
|
|
8199
8289
|
allow_bypass: boolean;
|
|
8200
8290
|
}>;
|
|
8201
8291
|
};
|
|
@@ -141,6 +141,11 @@ export function createAgent(transport) {
|
|
|
141
141
|
create: bind(transport, sdk.unblockCustomer),
|
|
142
142
|
},
|
|
143
143
|
},
|
|
144
|
+
devices: {
|
|
145
|
+
localSessions: {
|
|
146
|
+
list: bindPage(transport, sdk.listAgentDeviceLocalSessions),
|
|
147
|
+
},
|
|
148
|
+
},
|
|
144
149
|
events: {
|
|
145
150
|
list: bind(transport, sdk.listAgentEvents),
|
|
146
151
|
send: bind(transport, sdk.sendAgentEvents),
|
|
@@ -509,6 +514,23 @@ export function createBilling(transport) {
|
|
|
509
514
|
}
|
|
510
515
|
export function createBrowser(transport) {
|
|
511
516
|
return {
|
|
517
|
+
byob: {
|
|
518
|
+
browsers: {
|
|
519
|
+
disconnect: {
|
|
520
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
521
|
+
},
|
|
522
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
523
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
524
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
525
|
+
},
|
|
526
|
+
pairings: {
|
|
527
|
+
claim: {
|
|
528
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
529
|
+
},
|
|
530
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
531
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
532
|
+
},
|
|
533
|
+
},
|
|
512
534
|
connect: {
|
|
513
535
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
536
|
},
|
|
@@ -890,6 +912,9 @@ export function createDevops(transport) {
|
|
|
890
912
|
markLastSlice: bind(transport, sdk.devopsChangesMarkLastSlice),
|
|
891
913
|
openPullRequest: bind(transport, sdk.devopsChangesOpenPullRequest),
|
|
892
914
|
retrieve: bind(transport, sdk.devopsChangesGet),
|
|
915
|
+
slices: {
|
|
916
|
+
create: bind(transport, sdk.devopsChangesSlicesCreate),
|
|
917
|
+
},
|
|
893
918
|
},
|
|
894
919
|
connections: {
|
|
895
920
|
complete: bind(transport, sdk.devopsConnectionsComplete),
|