@deepraxis/sdk 0.2.0-dev.0ea50e2 → 0.2.0-dev.142bee8
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 +42 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +74 -14
- package/dist/generated/sdk.gen.js +164 -13
- package/dist/generated/types.gen.d.ts +2197 -401
- 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 +382 -23
- package/dist/resources.generated.d.ts +96 -0
- package/dist/resources.generated.js +26 -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>;
|
|
@@ -7970,6 +8045,12 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7970
8045
|
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7971
8046
|
unread: number;
|
|
7972
8047
|
}>;
|
|
8048
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationNotificationLetterData>) => Promise<{
|
|
8049
|
+
letter: {
|
|
8050
|
+
id: string;
|
|
8051
|
+
deliverAt: string;
|
|
8052
|
+
};
|
|
8053
|
+
}>;
|
|
7973
8054
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7974
8055
|
letters: Array<{
|
|
7975
8056
|
id: string;
|
|
@@ -8167,6 +8248,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8167
8248
|
created_at: string;
|
|
8168
8249
|
capabilities: Array<"display" | "agent">;
|
|
8169
8250
|
agent_dirs: Array<string>;
|
|
8251
|
+
agent_bindings: Array<{
|
|
8252
|
+
dir: string;
|
|
8253
|
+
agent: string;
|
|
8254
|
+
}>;
|
|
8255
|
+
envd_version: string | null;
|
|
8170
8256
|
allow_bypass: boolean;
|
|
8171
8257
|
}>;
|
|
8172
8258
|
}>;
|
|
@@ -8182,6 +8268,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8182
8268
|
created_at: string;
|
|
8183
8269
|
capabilities: Array<"display" | "agent">;
|
|
8184
8270
|
agent_dirs: Array<string>;
|
|
8271
|
+
agent_bindings: Array<{
|
|
8272
|
+
dir: string;
|
|
8273
|
+
agent: string;
|
|
8274
|
+
}>;
|
|
8275
|
+
envd_version: string | null;
|
|
8185
8276
|
allow_bypass: boolean;
|
|
8186
8277
|
}>;
|
|
8187
8278
|
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
@@ -8196,6 +8287,11 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8196
8287
|
created_at: string;
|
|
8197
8288
|
capabilities: Array<"display" | "agent">;
|
|
8198
8289
|
agent_dirs: Array<string>;
|
|
8290
|
+
agent_bindings: Array<{
|
|
8291
|
+
dir: string;
|
|
8292
|
+
agent: string;
|
|
8293
|
+
}>;
|
|
8294
|
+
envd_version: string | null;
|
|
8199
8295
|
allow_bypass: boolean;
|
|
8200
8296
|
}>;
|
|
8201
8297
|
};
|
|
@@ -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),
|
|
@@ -1465,6 +1490,7 @@ export function createOrganization(transport) {
|
|
|
1465
1490
|
},
|
|
1466
1491
|
letters: {
|
|
1467
1492
|
archive: bind(transport, sdk.archiveOrganizationNotificationLetter),
|
|
1493
|
+
create: bind(transport, sdk.createOrganizationNotificationLetter),
|
|
1468
1494
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1469
1495
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1470
1496
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|