@levr-one/cli 0.5.11 → 0.5.12
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 +7 -7
- package/dist/{importHandler-7N05jQtg.js → importHandler-Bnyx-U3z.js} +2 -2
- package/dist/{listHandler-DofIDDfm.js → listHandler-Bsv-WRO5.js} +1 -1
- package/dist/{loginHandler-teEUMhcx.js → loginHandler-CJK-EvQR.js} +2 -2
- package/dist/{pushHandler-CGP3GXBs.js → pushHandler-DqwTndrh.js} +2 -2
- package/dist/{resolve-workspace-CfgaIAXE.js → resolve-workspace-CBBAbNqF.js} +1 -1
- package/dist/{sdk-client-BjvJ-M_m.js → sdk-client-C5-tPv06.js} +108 -82
- package/dist/{selectHandler-B6mttYcu.js → selectHandler-sCE63-w3.js} +1 -1
- package/dist/{statusHandler-BQyhKidh.js → statusHandler-CFwH9bOl.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -180,7 +180,7 @@ Examples:
|
|
|
180
180
|
aliases: { d: "device-code" }
|
|
181
181
|
},
|
|
182
182
|
loader: async () => {
|
|
183
|
-
const { loginHandler } = await import("./loginHandler-
|
|
183
|
+
const { loginHandler } = await import("./loginHandler-CJK-EvQR.js");
|
|
184
184
|
return loginHandler;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -219,7 +219,7 @@ Examples:
|
|
|
219
219
|
},
|
|
220
220
|
parameters: {},
|
|
221
221
|
loader: async () => {
|
|
222
|
-
const { statusHandler } = await import("./statusHandler-
|
|
222
|
+
const { statusHandler } = await import("./statusHandler-CFwH9bOl.js");
|
|
223
223
|
return statusHandler;
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -330,7 +330,7 @@ Examples:
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
loader: async () => {
|
|
333
|
-
const { pushHandler } = await import("./pushHandler-
|
|
333
|
+
const { pushHandler } = await import("./pushHandler-DqwTndrh.js");
|
|
334
334
|
return pushHandler;
|
|
335
335
|
}
|
|
336
336
|
});
|
|
@@ -442,7 +442,7 @@ Examples:
|
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
loader: async () => {
|
|
445
|
-
const { importHandler } = await import("./importHandler-
|
|
445
|
+
const { importHandler } = await import("./importHandler-Bnyx-U3z.js");
|
|
446
446
|
return importHandler;
|
|
447
447
|
}
|
|
448
448
|
});
|
|
@@ -463,7 +463,7 @@ Examples:
|
|
|
463
463
|
},
|
|
464
464
|
parameters: {},
|
|
465
465
|
loader: async () => {
|
|
466
|
-
const { listHandler } = await import("./listHandler-
|
|
466
|
+
const { listHandler } = await import("./listHandler-Bsv-WRO5.js");
|
|
467
467
|
return listHandler;
|
|
468
468
|
}
|
|
469
469
|
});
|
|
@@ -496,7 +496,7 @@ Examples:
|
|
|
496
496
|
flags: {}
|
|
497
497
|
},
|
|
498
498
|
loader: async () => {
|
|
499
|
-
const { selectHandler } = await import("./selectHandler-
|
|
499
|
+
const { selectHandler } = await import("./selectHandler-sCE63-w3.js");
|
|
500
500
|
return selectHandler;
|
|
501
501
|
}
|
|
502
502
|
});
|
|
@@ -520,7 +520,7 @@ Examples:
|
|
|
520
520
|
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region package.json
|
|
523
|
-
var version = "0.5.
|
|
523
|
+
var version = "0.5.12";
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CBBAbNqF.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import { loadWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient } from "./sdk-client-
|
|
2
|
+
import { configureClient } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-CBBAbNqF.js";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
import { createHash, randomBytes } from "node:crypto";
|
|
7
7
|
import { createServer } from "node:http";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CBBAbNqF.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { readFileSync, statSync } from "node:fs";
|
|
@@ -2,53 +2,53 @@ import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
|
2
2
|
import { z } from "zod/v3";
|
|
3
3
|
|
|
4
4
|
//#region ../sdk/dist/gen/_common/zod.js
|
|
5
|
-
const
|
|
6
|
-
id: z.string(),
|
|
7
|
-
profileName: z.string(),
|
|
8
|
-
providerType: z.number(),
|
|
9
|
-
providerName: z.string(),
|
|
10
|
-
modelName: z.string(),
|
|
11
|
-
temperature: z.number().optional(),
|
|
12
|
-
baseUrl: z.string().optional(),
|
|
13
|
-
isSystem: z.boolean(),
|
|
14
|
-
llmProviderId: z.string(),
|
|
15
|
-
createdAt: z.unknown(),
|
|
16
|
-
updatedAt: z.unknown()
|
|
17
|
-
});
|
|
18
|
-
const zUpdateProfileDto = z.object({
|
|
19
|
-
profileName: z.string().optional(),
|
|
20
|
-
providerType: z.number().optional(),
|
|
21
|
-
apiKey: z.string().optional(),
|
|
22
|
-
baseUrl: z.string().nullable().optional(),
|
|
23
|
-
modelName: z.string().optional(),
|
|
24
|
-
temperature: z.number().nullable().optional()
|
|
25
|
-
});
|
|
26
|
-
const zSuccessResponseDto = z.object({ success: z.boolean() });
|
|
27
|
-
const zResponseWorkspaceDto = z.object({
|
|
5
|
+
const zResponseIssueDto = z.object({
|
|
28
6
|
id: z.string().describe(""),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
company_url: z.string().nullable().optional().describe(""),
|
|
7
|
+
identifier: z.string().optional().describe(""),
|
|
8
|
+
number: z.number().optional().describe(""),
|
|
9
|
+
title: z.string().describe(""),
|
|
33
10
|
description: z.string().nullable().optional().describe(""),
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
11
|
+
priority: z.number().optional().describe(""),
|
|
12
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
13
|
+
rolled_up_estimate: z.number().nullable().optional().describe(""),
|
|
14
|
+
rolled_up_completed_estimate: z.number().nullable().optional().describe(""),
|
|
15
|
+
sequence: z.string().optional().describe(""),
|
|
16
|
+
sub_issue_sequence: z.string().nullable().optional().describe(""),
|
|
17
|
+
due_date: z.unknown().optional().describe(""),
|
|
18
|
+
snoozed_until: z.unknown().optional().describe(""),
|
|
19
|
+
started_at: z.unknown().optional().describe(""),
|
|
20
|
+
completed_at: z.unknown().optional().describe(""),
|
|
21
|
+
canceled_at: z.unknown().optional().describe(""),
|
|
22
|
+
auto_closed_at: z.unknown().optional().describe(""),
|
|
23
|
+
origin: z.string().optional().describe(""),
|
|
24
|
+
origin_detail: z.string().nullable().optional().describe(""),
|
|
25
|
+
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
26
|
+
verification_status: z.string().optional().describe(""),
|
|
27
|
+
confidence_score: z.number().nullable().optional().describe(""),
|
|
28
|
+
added_to_cycle_at: z.unknown().optional().describe(""),
|
|
29
|
+
sla_status: z.string().nullable().optional().describe(""),
|
|
30
|
+
team_id: z.string().describe(""),
|
|
31
|
+
workflow_state_id: z.string().optional().describe(""),
|
|
32
|
+
creator_id: z.string().optional().describe(""),
|
|
33
|
+
gate_set_id: z.string().nullable().optional().describe(""),
|
|
34
|
+
milestone_id: z.string().nullable().optional().describe(""),
|
|
35
|
+
spoke_key: z.string().nullable().optional().describe(""),
|
|
36
|
+
project_id: z.string().nullable().optional(),
|
|
37
|
+
assignee_id: z.string().nullable().optional(),
|
|
38
|
+
parent_id: z.string().nullable().optional(),
|
|
39
|
+
cycle_id: z.string().nullable().optional(),
|
|
40
|
+
type_label_id: z.string().nullable().optional(),
|
|
47
41
|
created_at: z.unknown().describe(""),
|
|
48
42
|
updated_at: z.unknown().describe(""),
|
|
49
43
|
epoch: z.number().describe(""),
|
|
50
44
|
created_by: z.string().describe(""),
|
|
51
|
-
updated_by: z.string().describe("")
|
|
45
|
+
updated_by: z.string().describe(""),
|
|
46
|
+
workspace_id: z.string().describe(""),
|
|
47
|
+
deleted_at: z.unknown().describe(""),
|
|
48
|
+
deleted_by: z.string().nullable().describe(""),
|
|
49
|
+
archived_at: z.unknown().describe(""),
|
|
50
|
+
archived_by: z.string().nullable().describe(""),
|
|
51
|
+
auto_archived_at: z.unknown().describe("")
|
|
52
52
|
});
|
|
53
53
|
const zPaginatedMetaDocumented = z.object({
|
|
54
54
|
itemsPerPage: z.number(),
|
|
@@ -96,53 +96,53 @@ const zResponseLabelDto = z.object({
|
|
|
96
96
|
archived_at: z.unknown().describe(""),
|
|
97
97
|
archived_by: z.string().nullable().describe("")
|
|
98
98
|
});
|
|
99
|
-
const
|
|
99
|
+
const zProfileResponseDto = z.object({
|
|
100
|
+
id: z.string(),
|
|
101
|
+
profileName: z.string(),
|
|
102
|
+
providerType: z.number(),
|
|
103
|
+
providerName: z.string(),
|
|
104
|
+
modelName: z.string(),
|
|
105
|
+
temperature: z.number().optional(),
|
|
106
|
+
baseUrl: z.string().optional(),
|
|
107
|
+
isSystem: z.boolean(),
|
|
108
|
+
llmProviderId: z.string(),
|
|
109
|
+
createdAt: z.unknown(),
|
|
110
|
+
updatedAt: z.unknown()
|
|
111
|
+
});
|
|
112
|
+
const zUpdateProfileDto = z.object({
|
|
113
|
+
profileName: z.string().optional(),
|
|
114
|
+
providerType: z.number().optional(),
|
|
115
|
+
apiKey: z.string().optional(),
|
|
116
|
+
baseUrl: z.string().nullable().optional(),
|
|
117
|
+
modelName: z.string().optional(),
|
|
118
|
+
temperature: z.number().nullable().optional()
|
|
119
|
+
});
|
|
120
|
+
const zSuccessResponseDto = z.object({ success: z.boolean() });
|
|
121
|
+
const zResponseWorkspaceDto = z.object({
|
|
100
122
|
id: z.string().describe(""),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
123
|
+
name: z.string().describe(""),
|
|
124
|
+
database_name: z.string().nullable().optional().describe(""),
|
|
125
|
+
company_name: z.string().nullable().optional().describe(""),
|
|
126
|
+
company_url: z.string().nullable().optional().describe(""),
|
|
104
127
|
description: z.string().nullable().optional().describe(""),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
origin_detail: z.string().nullable().optional().describe(""),
|
|
119
|
-
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
120
|
-
verification_status: z.string().optional().describe(""),
|
|
121
|
-
confidence_score: z.number().nullable().optional().describe(""),
|
|
122
|
-
added_to_cycle_at: z.unknown().optional().describe(""),
|
|
123
|
-
sla_status: z.string().nullable().optional().describe(""),
|
|
124
|
-
team_id: z.string().describe(""),
|
|
125
|
-
workflow_state_id: z.string().optional().describe(""),
|
|
126
|
-
creator_id: z.string().optional().describe(""),
|
|
127
|
-
gate_set_id: z.string().nullable().optional().describe(""),
|
|
128
|
-
milestone_id: z.string().nullable().optional().describe(""),
|
|
129
|
-
spoke_key: z.string().nullable().optional().describe(""),
|
|
130
|
-
project_id: z.string().nullable().optional(),
|
|
131
|
-
assignee_id: z.string().nullable().optional(),
|
|
132
|
-
parent_id: z.string().nullable().optional(),
|
|
133
|
-
cycle_id: z.string().nullable().optional(),
|
|
134
|
-
type_label_id: z.string().nullable().optional(),
|
|
128
|
+
company_email: z.string().nullable().optional().describe(""),
|
|
129
|
+
company_phone: z.string().nullable().optional().describe(""),
|
|
130
|
+
total_run_rows: z.number().optional().describe(""),
|
|
131
|
+
total_run_result_rows: z.number().optional().describe(""),
|
|
132
|
+
total_run_result_step_rows: z.number().optional().describe(""),
|
|
133
|
+
space_limit_per_user: z.number().optional().describe(""),
|
|
134
|
+
openid_url: z.string().nullable().optional().describe(""),
|
|
135
|
+
openid_client_id: z.string().nullable().optional().describe(""),
|
|
136
|
+
type: z.number().nullable().optional().describe(""),
|
|
137
|
+
parent_workspace_id: z.string().nullable().optional().describe(""),
|
|
138
|
+
url_key: z.string().describe(""),
|
|
139
|
+
ai_budget_daily_usd: z.number().nullable().optional().describe(""),
|
|
140
|
+
ai_budget_monthly_usd: z.number().nullable().optional().describe(""),
|
|
135
141
|
created_at: z.unknown().describe(""),
|
|
136
142
|
updated_at: z.unknown().describe(""),
|
|
137
143
|
epoch: z.number().describe(""),
|
|
138
144
|
created_by: z.string().describe(""),
|
|
139
|
-
updated_by: z.string().describe("")
|
|
140
|
-
workspace_id: z.string().describe(""),
|
|
141
|
-
deleted_at: z.unknown().describe(""),
|
|
142
|
-
deleted_by: z.string().nullable().describe(""),
|
|
143
|
-
archived_at: z.unknown().describe(""),
|
|
144
|
-
archived_by: z.string().nullable().describe(""),
|
|
145
|
-
auto_archived_at: z.unknown().describe("")
|
|
145
|
+
updated_by: z.string().describe("")
|
|
146
146
|
});
|
|
147
147
|
const zResponseCommentTestDto = z.object({
|
|
148
148
|
id: z.string().describe(""),
|
|
@@ -212,6 +212,15 @@ const zResponseRoleDto = z.object({
|
|
|
212
212
|
deleted_at: z.unknown().describe(""),
|
|
213
213
|
deleted_by: z.string().nullable().describe("")
|
|
214
214
|
});
|
|
215
|
+
const zCascadeIssueRefDto = z.object({
|
|
216
|
+
id: z.string(),
|
|
217
|
+
identifier: z.record(z.string(), z.unknown()).nullable(),
|
|
218
|
+
title: z.record(z.string(), z.unknown()).nullable()
|
|
219
|
+
});
|
|
220
|
+
const zCascadeSkipDto = z.object({
|
|
221
|
+
issue: zCascadeIssueRefDto,
|
|
222
|
+
reason: z.string()
|
|
223
|
+
});
|
|
215
224
|
|
|
216
225
|
//#endregion
|
|
217
226
|
//#region ../sdk/dist/runtime/client.js
|
|
@@ -16580,6 +16589,23 @@ const zIssueTestLinkBulkOperationV1Data = z.object({
|
|
|
16580
16589
|
url: z.literal("/v1/issue-test-link/bulk")
|
|
16581
16590
|
});
|
|
16582
16591
|
|
|
16592
|
+
//#endregion
|
|
16593
|
+
//#region ../sdk/dist/gen/issue-transition/zod.js
|
|
16594
|
+
const zTransitionIssueDto = z.object({
|
|
16595
|
+
workflow_state_id: z.string().describe(""),
|
|
16596
|
+
child_completion: z.enum([
|
|
16597
|
+
"require_children",
|
|
16598
|
+
"leave_children",
|
|
16599
|
+
"cascade_children"
|
|
16600
|
+
]).optional().describe(""),
|
|
16601
|
+
batch_scope: z.array(z.string()).optional().describe("")
|
|
16602
|
+
});
|
|
16603
|
+
const zIssueTransitionTransitionV1Data = z.object({
|
|
16604
|
+
body: zTransitionIssueDto,
|
|
16605
|
+
path: z.object({ "id": z.string() }),
|
|
16606
|
+
url: z.literal("/v1/issue/{id}/transition")
|
|
16607
|
+
});
|
|
16608
|
+
|
|
16583
16609
|
//#endregion
|
|
16584
16610
|
//#region ../sdk/dist/gen/issue-type-config/zod.js
|
|
16585
16611
|
const zCreateIssueTypeConfigDto = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import { saveWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getApiUrl, getPatToken, readCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient } from "./sdk-client-C5-tPv06.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|