cyberdesk 2.2.57 → 2.2.58
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/client/index.d.ts +2 -2
- package/dist/client/index.js +31 -3
- package/dist/client/sdk.gen.d.ts +128 -1
- package/dist/client/sdk.gen.js +209 -3
- package/dist/client/types.gen.d.ts +988 -51
- package/dist/index.d.ts +20 -0
- package/dist/index.js +18 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1202,6 +1202,26 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1202
1202
|
request: Request;
|
|
1203
1203
|
response: Response;
|
|
1204
1204
|
}>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Get a temporary signed URL for a screenshot referenced in a run's message history.
|
|
1207
|
+
*
|
|
1208
|
+
* @param runId - The ID of the run that contains the screenshot reference
|
|
1209
|
+
* @param imageUrl - Exact supabase://run-images/... URL from run_message_history
|
|
1210
|
+
* @param params - Optional parameters
|
|
1211
|
+
* @param params.expires_in - URL expiration time in seconds (10-3600). Default: 3600
|
|
1212
|
+
*/
|
|
1213
|
+
getImageSignedUrl: (runId: string, imageUrl: string, params?: {
|
|
1214
|
+
expires_in?: number;
|
|
1215
|
+
}) => Promise<({
|
|
1216
|
+
data: import("./client/types.gen").RunImageSignedUrlResponse;
|
|
1217
|
+
error: undefined;
|
|
1218
|
+
} | {
|
|
1219
|
+
data: undefined;
|
|
1220
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1221
|
+
}) & {
|
|
1222
|
+
request: Request;
|
|
1223
|
+
response: Response;
|
|
1224
|
+
}>;
|
|
1205
1225
|
/**
|
|
1206
1226
|
* Get the latest trajectory associated with a run.
|
|
1207
1227
|
*
|
package/dist/index.js
CHANGED
|
@@ -1213,6 +1213,24 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1213
1213
|
query: { include: (_a = params === null || params === void 0 ? void 0 : params.include) === null || _a === void 0 ? void 0 : _a.join(',') },
|
|
1214
1214
|
});
|
|
1215
1215
|
}),
|
|
1216
|
+
/**
|
|
1217
|
+
* Get a temporary signed URL for a screenshot referenced in a run's message history.
|
|
1218
|
+
*
|
|
1219
|
+
* @param runId - The ID of the run that contains the screenshot reference
|
|
1220
|
+
* @param imageUrl - Exact supabase://run-images/... URL from run_message_history
|
|
1221
|
+
* @param params - Optional parameters
|
|
1222
|
+
* @param params.expires_in - URL expiration time in seconds (10-3600). Default: 3600
|
|
1223
|
+
*/
|
|
1224
|
+
getImageSignedUrl: (runId, imageUrl, params) => __awaiter(this, void 0, void 0, function* () {
|
|
1225
|
+
return (0, sdk_gen_1.getRunImageSignedUrlV1RunsRunIdImageSignedUrlGet)({
|
|
1226
|
+
client,
|
|
1227
|
+
path: { run_id: runId },
|
|
1228
|
+
query: {
|
|
1229
|
+
image_url: imageUrl,
|
|
1230
|
+
expires_in: params === null || params === void 0 ? void 0 : params.expires_in,
|
|
1231
|
+
},
|
|
1232
|
+
});
|
|
1233
|
+
}),
|
|
1216
1234
|
/**
|
|
1217
1235
|
* Get the latest trajectory associated with a run.
|
|
1218
1236
|
*
|