autokap 1.3.4 → 1.3.5
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/cli.js +8 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -249,7 +249,8 @@ program
|
|
|
249
249
|
}
|
|
250
250
|
if (opts.cloud) {
|
|
251
251
|
process.env.AUTOKAP_CLOUD_RUNNER = '1';
|
|
252
|
-
|
|
252
|
+
const runnerVersion = process.env.AUTOKAP_CLI_VERSION ?? version;
|
|
253
|
+
logger.info(`[capture] Cloud runner mode — CLI ${runnerVersion}; Linux FPS cap lifted (clips target 30 fps)`);
|
|
253
254
|
}
|
|
254
255
|
if (opts.local) {
|
|
255
256
|
process.env[API_BASE_URL_ENV_VAR] = LOCAL_API_BASE_URL;
|
|
@@ -265,6 +266,12 @@ program
|
|
|
265
266
|
const checkpointUrl = cloudRunId
|
|
266
267
|
? buildApiUrl(config, `/api/cli/cloud-recapture/${cloudRunId}/checkpoint`)
|
|
267
268
|
: null;
|
|
269
|
+
if (opts.cloud && cloudRunId) {
|
|
270
|
+
logger.info(`[auto-recapture] Cloud progress callbacks enabled for run ${cloudRunId}`);
|
|
271
|
+
}
|
|
272
|
+
else if (opts.cloud) {
|
|
273
|
+
logger.warn('[auto-recapture] Cloud progress disabled: AUTOKAP_RUN_ID is not set');
|
|
274
|
+
}
|
|
268
275
|
let lastProgressCheckpointAt = 0;
|
|
269
276
|
const postCloudCheckpoint = async (body, options = {}) => {
|
|
270
277
|
if (!checkpointUrl)
|