@deepraxis/sdk 0.2.0-dev.af2cf98 → 0.2.0-dev.b391673
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 +36 -1
- package/dist/core/retry.js +2 -0
- package/dist/core/transport.js +15 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +60 -6
- package/dist/generated/sdk.gen.js +134 -5
- package/dist/generated/types.gen.d.ts +1500 -165
- 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 +278 -5
- package/dist/resources.generated.d.ts +103 -0
- package/dist/resources.generated.js +21 -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<{
|
|
@@ -833,6 +836,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
833
836
|
reason?: "project_removed";
|
|
834
837
|
message_id?: string;
|
|
835
838
|
session_thread_id?: string | null;
|
|
839
|
+
} | {
|
|
840
|
+
id: string;
|
|
841
|
+
type: "session.status_preparing";
|
|
842
|
+
processed_at: string;
|
|
843
|
+
stage: "launching" | "loading" | "ready";
|
|
844
|
+
message_id?: string;
|
|
845
|
+
session_thread_id?: string | null;
|
|
836
846
|
}>;
|
|
837
847
|
next_page: string | null;
|
|
838
848
|
}>;
|
|
@@ -931,6 +941,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
931
941
|
name: string;
|
|
932
942
|
}>;
|
|
933
943
|
};
|
|
944
|
+
browser?: {
|
|
945
|
+
byob: string;
|
|
946
|
+
} | null;
|
|
934
947
|
computer_id?: string;
|
|
935
948
|
subagent_model?: string | null;
|
|
936
949
|
subagents?: Array<{
|
|
@@ -1139,6 +1152,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1152
|
name: string;
|
|
1140
1153
|
}>;
|
|
1141
1154
|
};
|
|
1155
|
+
browser?: {
|
|
1156
|
+
byob: string;
|
|
1157
|
+
} | null;
|
|
1142
1158
|
computer_id?: string;
|
|
1143
1159
|
subagent_model?: string | null;
|
|
1144
1160
|
subagents?: Array<{
|
|
@@ -1598,6 +1614,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1598
1614
|
name: string;
|
|
1599
1615
|
}>;
|
|
1600
1616
|
};
|
|
1617
|
+
browser?: {
|
|
1618
|
+
byob: string;
|
|
1619
|
+
} | null;
|
|
1601
1620
|
computer_id?: string;
|
|
1602
1621
|
subagent_model?: string | null;
|
|
1603
1622
|
subagents?: Array<{
|
|
@@ -1777,6 +1796,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1777
1796
|
name: string;
|
|
1778
1797
|
}>;
|
|
1779
1798
|
};
|
|
1799
|
+
browser?: {
|
|
1800
|
+
byob: string;
|
|
1801
|
+
} | null;
|
|
1780
1802
|
computer_id?: string;
|
|
1781
1803
|
subagent_model?: string | null;
|
|
1782
1804
|
subagents?: Array<{
|
|
@@ -2173,6 +2195,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2173
2195
|
name: string;
|
|
2174
2196
|
}>;
|
|
2175
2197
|
};
|
|
2198
|
+
browser?: {
|
|
2199
|
+
byob: string;
|
|
2200
|
+
} | null;
|
|
2176
2201
|
computer_id?: string;
|
|
2177
2202
|
subagent_model?: string | null;
|
|
2178
2203
|
subagents?: Array<{
|
|
@@ -2351,6 +2376,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2351
2376
|
name: string;
|
|
2352
2377
|
}>;
|
|
2353
2378
|
};
|
|
2379
|
+
browser?: {
|
|
2380
|
+
byob: string;
|
|
2381
|
+
} | null;
|
|
2354
2382
|
computer_id?: string;
|
|
2355
2383
|
subagent_model?: string | null;
|
|
2356
2384
|
subagents?: Array<{
|
|
@@ -4080,6 +4108,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
4080
4108
|
reason?: "project_removed";
|
|
4081
4109
|
message_id?: string;
|
|
4082
4110
|
session_thread_id?: string | null;
|
|
4111
|
+
} | {
|
|
4112
|
+
id: string;
|
|
4113
|
+
type: "session.status_preparing";
|
|
4114
|
+
processed_at: string;
|
|
4115
|
+
stage: "launching" | "loading" | "ready";
|
|
4116
|
+
message_id?: string;
|
|
4117
|
+
session_thread_id?: string | null;
|
|
4083
4118
|
}>;
|
|
4084
4119
|
next_page: string | null;
|
|
4085
4120
|
}>;
|
|
@@ -5810,6 +5845,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
5810
5845
|
reason?: "project_removed";
|
|
5811
5846
|
message_id?: string;
|
|
5812
5847
|
session_thread_id?: string | null;
|
|
5848
|
+
} | {
|
|
5849
|
+
id: string;
|
|
5850
|
+
type: "session.status_preparing";
|
|
5851
|
+
processed_at: string;
|
|
5852
|
+
stage: "launching" | "loading" | "ready";
|
|
5853
|
+
message_id?: string;
|
|
5854
|
+
session_thread_id?: string | null;
|
|
5813
5855
|
}>;
|
|
5814
5856
|
next_page: string | null;
|
|
5815
5857
|
}>;
|
|
@@ -6231,6 +6273,26 @@ export declare function createBilling(transport: Transport): {
|
|
|
6231
6273
|
};
|
|
6232
6274
|
};
|
|
6233
6275
|
export declare function createBrowser(transport: Transport): {
|
|
6276
|
+
byob: {
|
|
6277
|
+
browsers: {
|
|
6278
|
+
disconnect: {
|
|
6279
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserDisconnectByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6280
|
+
};
|
|
6281
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListByobBrowsersData> | undefined) => Promise<{
|
|
6282
|
+
data: Array<Types.BrowserByobBrowser>;
|
|
6283
|
+
nextCursor: string | null;
|
|
6284
|
+
}>;
|
|
6285
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6286
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6287
|
+
};
|
|
6288
|
+
pairings: {
|
|
6289
|
+
claim: {
|
|
6290
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserClaimByobPairingData>) => Promise<Types.BrowserByobClaimResult>;
|
|
6291
|
+
};
|
|
6292
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.BrowserCreateByobPairingData> | undefined) => Promise<Types.BrowserByobPairing>;
|
|
6293
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserReadByobPairingData>) => Promise<Types.BrowserByobPairingView>;
|
|
6294
|
+
};
|
|
6295
|
+
};
|
|
6234
6296
|
connect: {
|
|
6235
6297
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
6236
6298
|
};
|
|
@@ -6687,6 +6749,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6687
6749
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6688
6750
|
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6689
6751
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6752
|
+
slices: {
|
|
6753
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesSlicesCreateData>) => Promise<Types.DevopsChangeSliceOpened>;
|
|
6754
|
+
};
|
|
6690
6755
|
};
|
|
6691
6756
|
connections: {
|
|
6692
6757
|
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
@@ -7986,6 +8051,11 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7986
8051
|
createTime: string;
|
|
7987
8052
|
reason: string;
|
|
7988
8053
|
archived: boolean;
|
|
8054
|
+
organization: {
|
|
8055
|
+
id: string;
|
|
8056
|
+
slug: string;
|
|
8057
|
+
name: string;
|
|
8058
|
+
};
|
|
7989
8059
|
}>;
|
|
7990
8060
|
nextCursor: string;
|
|
7991
8061
|
unread: number;
|
|
@@ -7996,6 +8066,27 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7996
8066
|
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7997
8067
|
unread: number;
|
|
7998
8068
|
}>;
|
|
8069
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationLetterData>) => Promise<{
|
|
8070
|
+
id: string;
|
|
8071
|
+
sender: string;
|
|
8072
|
+
summary: string;
|
|
8073
|
+
body: string;
|
|
8074
|
+
thread: string;
|
|
8075
|
+
kind: "notice" | "mention" | "decision";
|
|
8076
|
+
source: {
|
|
8077
|
+
[key: string]: unknown;
|
|
8078
|
+
};
|
|
8079
|
+
read: boolean;
|
|
8080
|
+
deliveredAt: string;
|
|
8081
|
+
createTime: string;
|
|
8082
|
+
reason: string;
|
|
8083
|
+
archived: boolean;
|
|
8084
|
+
organization: {
|
|
8085
|
+
id: string;
|
|
8086
|
+
slug: string;
|
|
8087
|
+
name: string;
|
|
8088
|
+
};
|
|
8089
|
+
}>;
|
|
7999
8090
|
};
|
|
8000
8091
|
organizationDefault: {
|
|
8001
8092
|
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
@@ -8141,6 +8232,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8141
8232
|
created_at: string;
|
|
8142
8233
|
capabilities: Array<"display" | "agent">;
|
|
8143
8234
|
agent_dirs: Array<string>;
|
|
8235
|
+
agent_bindings: Array<{
|
|
8236
|
+
dir: string;
|
|
8237
|
+
agent: string;
|
|
8238
|
+
}>;
|
|
8144
8239
|
allow_bypass: boolean;
|
|
8145
8240
|
}>;
|
|
8146
8241
|
}>;
|
|
@@ -8156,6 +8251,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8156
8251
|
created_at: string;
|
|
8157
8252
|
capabilities: Array<"display" | "agent">;
|
|
8158
8253
|
agent_dirs: Array<string>;
|
|
8254
|
+
agent_bindings: Array<{
|
|
8255
|
+
dir: string;
|
|
8256
|
+
agent: string;
|
|
8257
|
+
}>;
|
|
8159
8258
|
allow_bypass: boolean;
|
|
8160
8259
|
}>;
|
|
8161
8260
|
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
@@ -8170,6 +8269,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8170
8269
|
created_at: string;
|
|
8171
8270
|
capabilities: Array<"display" | "agent">;
|
|
8172
8271
|
agent_dirs: Array<string>;
|
|
8272
|
+
agent_bindings: Array<{
|
|
8273
|
+
dir: string;
|
|
8274
|
+
agent: string;
|
|
8275
|
+
}>;
|
|
8173
8276
|
allow_bypass: boolean;
|
|
8174
8277
|
}>;
|
|
8175
8278
|
};
|
|
@@ -509,6 +509,23 @@ export function createBilling(transport) {
|
|
|
509
509
|
}
|
|
510
510
|
export function createBrowser(transport) {
|
|
511
511
|
return {
|
|
512
|
+
byob: {
|
|
513
|
+
browsers: {
|
|
514
|
+
disconnect: {
|
|
515
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
516
|
+
},
|
|
517
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
518
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
519
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
520
|
+
},
|
|
521
|
+
pairings: {
|
|
522
|
+
claim: {
|
|
523
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
524
|
+
},
|
|
525
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
526
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
527
|
+
},
|
|
528
|
+
},
|
|
512
529
|
connect: {
|
|
513
530
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
531
|
},
|
|
@@ -890,6 +907,9 @@ export function createDevops(transport) {
|
|
|
890
907
|
markLastSlice: bind(transport, sdk.devopsChangesMarkLastSlice),
|
|
891
908
|
openPullRequest: bind(transport, sdk.devopsChangesOpenPullRequest),
|
|
892
909
|
retrieve: bind(transport, sdk.devopsChangesGet),
|
|
910
|
+
slices: {
|
|
911
|
+
create: bind(transport, sdk.devopsChangesSlicesCreate),
|
|
912
|
+
},
|
|
893
913
|
},
|
|
894
914
|
connections: {
|
|
895
915
|
complete: bind(transport, sdk.devopsConnectionsComplete),
|
|
@@ -1468,6 +1488,7 @@ export function createOrganization(transport) {
|
|
|
1468
1488
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1469
1489
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1470
1490
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|
|
1491
|
+
retrieve: bind(transport, sdk.getOrganizationNotificationLetter),
|
|
1471
1492
|
},
|
|
1472
1493
|
organizationDefault: {
|
|
1473
1494
|
create: bind(transport, sdk.updateOrganizationNotificationDefaults),
|