@levr-one/cli 0.10.21 → 0.10.22
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/{appendHandler-DkbMvFOn.js → appendHandler-u-NvHPDW.js} +4 -4
- package/dist/{artifact-upload-BnqeVY_b.js → artifact-upload-CF2iXUiR.js} +1 -1
- package/dist/{attachHandler-BOxIqxAw.js → attachHandler-DgVCvhz7.js} +4 -4
- package/dist/cli.js +10 -10
- package/dist/{connect-CPybjrXT.js → connect-DX41Im8c.js} +2 -2
- package/dist/{importHandler-oENkrali.js → importHandler-CUUroX_n.js} +2 -2
- package/dist/{listHandler-E666F9uV.js → listHandler-CB_9cISi.js} +1 -1
- package/dist/{loginHandler-DS29PzLz.js → loginHandler-DSznhtmk.js} +2 -2
- package/dist/{pushHandler-CR5vu3ci.js → pushHandler-Q9Cbo2HC.js} +3 -3
- package/dist/{resolve-workspace-Dsm8Xzut.js → resolve-workspace-B3Gz3-Vh.js} +1 -1
- package/dist/{runHandler-B2DlFleh.js → runHandler-DmRAoyJc.js} +2 -2
- package/dist/{sdk-client-B_urshDp.js → sdk-client-CTvYVr7D.js} +1 -22
- package/dist/{selectHandler-Cv5fJl-p.js → selectHandler-CdOVuuTa.js} +1 -1
- package/dist/{statusHandler-CwO5kl3m.js → statusHandler-p6CmwgjS.js} +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { appendActualResult } from "./sdk-client-
|
|
1
|
+
import { appendActualResult } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import "./resolve-workspace-
|
|
7
|
-
import { connect } from "./connect-
|
|
6
|
+
import "./resolve-workspace-B3Gz3-Vh.js";
|
|
7
|
+
import { connect } from "./connect-DX41Im8c.js";
|
|
8
8
|
import "./sleep-BpJ39Ypm.js";
|
|
9
|
-
import { embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-
|
|
9
|
+
import { embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-CF2iXUiR.js";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
11
11
|
import { basename } from "node:path";
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { uploadAttachment } from "./sdk-client-
|
|
1
|
+
import { uploadAttachment } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { sleep } from "./sleep-BpJ39Ypm.js";
|
|
3
3
|
import { constants, promises, readlinkSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { appendActualResult, createComment } from "./sdk-client-
|
|
1
|
+
import { appendActualResult, createComment } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import "./resolve-workspace-
|
|
7
|
-
import { connect } from "./connect-
|
|
6
|
+
import "./resolve-workspace-B3Gz3-Vh.js";
|
|
7
|
+
import { connect } from "./connect-DX41Im8c.js";
|
|
8
8
|
import "./sleep-BpJ39Ypm.js";
|
|
9
|
-
import { TargetParseError, embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-
|
|
9
|
+
import { TargetParseError, embedMarkdown, parseTarget, uploadArtifactFile } from "./artifact-upload-CF2iXUiR.js";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
11
11
|
import { basename } from "node:path";
|
|
12
12
|
|
package/dist/cli.js
CHANGED
|
@@ -213,7 +213,7 @@ Examples:
|
|
|
213
213
|
aliases: { d: "device-code" }
|
|
214
214
|
},
|
|
215
215
|
loader: async () => {
|
|
216
|
-
const { loginHandler } = await import("./loginHandler-
|
|
216
|
+
const { loginHandler } = await import("./loginHandler-DSznhtmk.js");
|
|
217
217
|
return loginHandler;
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -252,7 +252,7 @@ Examples:
|
|
|
252
252
|
},
|
|
253
253
|
parameters: {},
|
|
254
254
|
loader: async () => {
|
|
255
|
-
const { statusHandler } = await import("./statusHandler-
|
|
255
|
+
const { statusHandler } = await import("./statusHandler-p6CmwgjS.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -381,7 +381,7 @@ levr attach --manifest or later uploads.`
|
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
383
|
loader: async () => {
|
|
384
|
-
const { pushHandler } = await import("./pushHandler-
|
|
384
|
+
const { pushHandler } = await import("./pushHandler-Q9Cbo2HC.js");
|
|
385
385
|
return pushHandler;
|
|
386
386
|
}
|
|
387
387
|
});
|
|
@@ -501,7 +501,7 @@ Examples:
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
loader: async () => {
|
|
504
|
-
const { importHandler } = await import("./importHandler-
|
|
504
|
+
const { importHandler } = await import("./importHandler-CUUroX_n.js");
|
|
505
505
|
return importHandler;
|
|
506
506
|
}
|
|
507
507
|
});
|
|
@@ -522,7 +522,7 @@ Examples:
|
|
|
522
522
|
},
|
|
523
523
|
parameters: {},
|
|
524
524
|
loader: async () => {
|
|
525
|
-
const { listHandler } = await import("./listHandler-
|
|
525
|
+
const { listHandler } = await import("./listHandler-CB_9cISi.js");
|
|
526
526
|
return listHandler;
|
|
527
527
|
}
|
|
528
528
|
});
|
|
@@ -555,7 +555,7 @@ Examples:
|
|
|
555
555
|
flags: {}
|
|
556
556
|
},
|
|
557
557
|
loader: async () => {
|
|
558
|
-
const { selectHandler } = await import("./selectHandler-
|
|
558
|
+
const { selectHandler } = await import("./selectHandler-CdOVuuTa.js");
|
|
559
559
|
return selectHandler;
|
|
560
560
|
}
|
|
561
561
|
});
|
|
@@ -641,7 +641,7 @@ Examples:
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
loader: async () => {
|
|
644
|
-
const { gatesRunHandler } = await import("./runHandler-
|
|
644
|
+
const { gatesRunHandler } = await import("./runHandler-DmRAoyJc.js");
|
|
645
645
|
return gatesRunHandler;
|
|
646
646
|
}
|
|
647
647
|
});
|
|
@@ -754,7 +754,7 @@ Examples:
|
|
|
754
754
|
}
|
|
755
755
|
},
|
|
756
756
|
loader: async () => {
|
|
757
|
-
const { attachHandler } = await import("./attachHandler-
|
|
757
|
+
const { attachHandler } = await import("./attachHandler-DgVCvhz7.js");
|
|
758
758
|
return attachHandler;
|
|
759
759
|
}
|
|
760
760
|
});
|
|
@@ -830,14 +830,14 @@ Examples:
|
|
|
830
830
|
}
|
|
831
831
|
},
|
|
832
832
|
loader: async () => {
|
|
833
|
-
const { resultAppendHandler } = await import("./appendHandler-
|
|
833
|
+
const { resultAppendHandler } = await import("./appendHandler-u-NvHPDW.js");
|
|
834
834
|
return resultAppendHandler;
|
|
835
835
|
}
|
|
836
836
|
});
|
|
837
837
|
|
|
838
838
|
//#endregion
|
|
839
839
|
//#region package.json
|
|
840
|
-
var version = "0.10.
|
|
840
|
+
var version = "0.10.22";
|
|
841
841
|
|
|
842
842
|
//#endregion
|
|
843
843
|
//#region src/app.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { client, configureClient } from "./sdk-client-
|
|
1
|
+
import { client, configureClient } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
3
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
3
|
+
import { resolveWorkspace } from "./resolve-workspace-B3Gz3-Vh.js";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/connect.ts
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
1
|
+
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { getApiUrl, getTeamId } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-B3Gz3-Vh.js";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
import { createReadStream } from "node:fs";
|
|
9
9
|
import { basename } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
1
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { configureClient } from "./sdk-client-
|
|
1
|
+
import { configureClient } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./workspace-store-CnrxyYRB.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-B3Gz3-Vh.js";
|
|
5
5
|
import { sleep } from "./sleep-BpJ39Ypm.js";
|
|
6
6
|
import chalk from "chalk";
|
|
7
7
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { client, configureClient, uploadImport } from "./sdk-client-
|
|
1
|
+
import { client, configureClient, uploadImport } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-B3Gz3-Vh.js";
|
|
7
7
|
import "./sleep-BpJ39Ypm.js";
|
|
8
|
-
import { resolveArtifactPath, uploadArtifactFile } from "./artifact-upload-
|
|
8
|
+
import { resolveArtifactPath, uploadArtifactFile } from "./artifact-upload-CF2iXUiR.js";
|
|
9
9
|
import { readFileSync, statSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { basename, dirname, resolve } from "node:path";
|
|
11
11
|
import { execSync } from "node:child_process";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-
|
|
1
|
+
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
5
5
|
import "./workspace-store-CnrxyYRB.js";
|
|
6
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
6
|
+
import { resolveWorkspace } from "./resolve-workspace-B3Gz3-Vh.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
8
|
import { constants as constants$1 } from "node:os";
|
|
9
9
|
import { spawnSync } from "node:child_process";
|
|
@@ -30224,15 +30224,6 @@ const zFormattedImprovementsDto = z.object({
|
|
|
30224
30224
|
improvement_ids: z.array(z.string()).describe(""),
|
|
30225
30225
|
count: z.number().describe("")
|
|
30226
30226
|
});
|
|
30227
|
-
const zRecordOutcomeDto = z.object({
|
|
30228
|
-
improvement_ids: z.array(z.string()).describe(""),
|
|
30229
|
-
outcome: z.enum([
|
|
30230
|
-
"applied",
|
|
30231
|
-
"helped",
|
|
30232
|
-
"ignored",
|
|
30233
|
-
"overridden"
|
|
30234
|
-
]).describe("")
|
|
30235
|
-
});
|
|
30236
30227
|
const zCreateInjectionDto = z.object({
|
|
30237
30228
|
session_id: z.string().optional().describe(""),
|
|
30238
30229
|
content: z.string().describe(""),
|
|
@@ -30283,7 +30274,6 @@ const zUnifiedChatCaptureV1Data = z.object({
|
|
|
30283
30274
|
const zUnifiedChatGetHistoryV1Data = z.object({
|
|
30284
30275
|
path: z.object({ "sessionId": z.string() }),
|
|
30285
30276
|
query: z.object({
|
|
30286
|
-
"workspaceId": z.string(),
|
|
30287
30277
|
"limit": z.number().optional(),
|
|
30288
30278
|
"before": z.string().optional()
|
|
30289
30279
|
}).optional(),
|
|
@@ -30291,7 +30281,6 @@ const zUnifiedChatGetHistoryV1Data = z.object({
|
|
|
30291
30281
|
});
|
|
30292
30282
|
const zUnifiedChatGetAnalyticsV1Data = z.object({
|
|
30293
30283
|
query: z.object({
|
|
30294
|
-
"workspaceId": z.string(),
|
|
30295
30284
|
"session_id": z.string().optional(),
|
|
30296
30285
|
"user_id": z.string().optional(),
|
|
30297
30286
|
"project_id": z.string().optional(),
|
|
@@ -30337,13 +30326,11 @@ const zUnifiedChatGetWorkspaceUsageV1Data = z.object({
|
|
|
30337
30326
|
});
|
|
30338
30327
|
const zUnifiedChatGetIssueContextV1Data = z.object({
|
|
30339
30328
|
path: z.object({ "issueId": z.string() }),
|
|
30340
|
-
query: z.object({ "workspaceId": z.string() }).optional(),
|
|
30341
30329
|
url: z.literal("/v1/chat/issues/{issueId}/context")
|
|
30342
30330
|
});
|
|
30343
30331
|
const zUnifiedChatStreamEventsV1Data = z.object({
|
|
30344
30332
|
path: z.object({ "sessionId": z.string() }),
|
|
30345
30333
|
query: z.object({
|
|
30346
|
-
"workspaceId": z.string(),
|
|
30347
30334
|
"includeHistory": z.boolean().optional(),
|
|
30348
30335
|
"historyLimit": z.number().optional()
|
|
30349
30336
|
}).optional(),
|
|
@@ -30366,21 +30353,13 @@ const zUnifiedChatGetPendingImprovementsV1Data = z.object({
|
|
|
30366
30353
|
});
|
|
30367
30354
|
const zUnifiedChatMatchImprovementsV1Data = z.object({
|
|
30368
30355
|
body: zImprovementMatchContextDto,
|
|
30369
|
-
query: z.object({ "workspaceId": z.string() }).optional(),
|
|
30370
30356
|
url: z.literal("/v1/chat/improvements/match")
|
|
30371
30357
|
});
|
|
30372
30358
|
const zUnifiedChatFormatImprovementsV1Data = z.object({
|
|
30373
30359
|
body: zImprovementMatchContextDto,
|
|
30374
|
-
query: z.object({
|
|
30375
|
-
"workspaceId": z.string(),
|
|
30376
|
-
"maxImprovements": z.number().optional()
|
|
30377
|
-
}).optional(),
|
|
30360
|
+
query: z.object({ "maxImprovements": z.number().optional() }).optional(),
|
|
30378
30361
|
url: z.literal("/v1/chat/improvements/format")
|
|
30379
30362
|
});
|
|
30380
|
-
const zUnifiedChatRecordOutcomeV1Data = z.object({
|
|
30381
|
-
body: zRecordOutcomeDto,
|
|
30382
|
-
url: z.literal("/v1/chat/improvements/outcome")
|
|
30383
|
-
});
|
|
30384
30363
|
const zUnifiedChatGetInjectionV1Data = z.object({
|
|
30385
30364
|
query: z.object({ "session_id": z.string() }).optional(),
|
|
30386
30365
|
url: z.literal("/v1/chat/injection")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
1
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import "./env-CdwyPHGV.js";
|
|
3
3
|
import "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import { resolveToken } from "./resolve-token-7xb7kG7h.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { authGetProfileV1, configureClient } from "./sdk-client-
|
|
1
|
+
import { authGetProfileV1, configureClient } from "./sdk-client-CTvYVr7D.js";
|
|
2
2
|
import { getApiUrl, getPatToken, readCredentials } from "./env-CdwyPHGV.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-DeusLK8H.js";
|
|
4
4
|
import chalk from "chalk";
|