@apilift/cli 1.8.9 → 1.8.10-dev.1794166910.ed2ebe92e1a2bc9a191cc1a5f9977c4fb8a31538
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/apilift.js
CHANGED
|
@@ -49547,7 +49547,7 @@ Review: ${command4(invocation, "discover status")}
|
|
|
49547
49547
|
`);
|
|
49548
49548
|
if (key === "discoverCaptureStop" || key === "discoverCaptureCancel") {
|
|
49549
49549
|
if (!row.scope_id) return key === "discoverCaptureCancel" ? ok4("Recording admission is already closed. App operations were not undone.\n") : fail5("This recording is already closed. Inspect its candidates with discover capture list.\n");
|
|
49550
|
-
|
|
49550
|
+
const client = await captureClient(root2, false);
|
|
49551
49551
|
if (!(await client.scopes()).scopes.some((scope2) => scope2.id === row.scope_id)) {
|
|
49552
49552
|
state.db.prepare("UPDATE discovery_capture SET evidence_scope_id=COALESCE(evidence_scope_id,scope_id),scope_id=NULL,job_id=NULL,phase='lost' WHERE draft_id=?").run(draft.id);
|
|
49553
49553
|
try {
|
|
@@ -49561,7 +49561,6 @@ Review: ${command4(invocation, "discover status")}
|
|
|
49561
49561
|
}
|
|
49562
49562
|
const previous = row.phase === "stopping" && row.job_id ? await captureJobResult(client, row.job_id) : null;
|
|
49563
49563
|
if (previous?.status === "missing" && await releaseUnconfirmedCapture(client, state, draft.id, row.scope_id, root2)) return ok4(lostCaptureMessage);
|
|
49564
|
-
client = await captureClient(root2);
|
|
49565
49564
|
let stopId = row.phase === "stopping" && row.job_id ? row.job_id : randomUUID13();
|
|
49566
49565
|
if (row.phase !== "stopping") {
|
|
49567
49566
|
state.db.prepare("UPDATE discovery_capture SET phase='stopping',job_id=? WHERE draft_id=?").run(stopId, draft.id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apilift/cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.10-dev.1794166910.ed2ebe92e1a2bc9a191cc1a5f9977c4fb8a31538",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=24.16.0 <27"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ed2ebe92e1a2bc9a191cc1a5f9977c4fb8a31538",
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|
|
43
43
|
"url": "git+https://github.com/egor-sergeev/apilift.git",
|