lua-cli 3.7.5 → 3.9.0
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/README.md +90 -2
- package/dist/api/webhook.api.service.d.ts +10 -1
- package/dist/api/webhook.api.service.d.ts.map +1 -1
- package/dist/api/webhook.api.service.js +5 -0
- package/dist/api/webhook.api.service.js.map +1 -1
- package/dist/cli/command-definitions.d.ts.map +1 -1
- package/dist/cli/command-definitions.js +42 -26
- package/dist/cli/command-definitions.js.map +1 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +2 -11
- package/dist/commands/agents.js.map +1 -1
- package/dist/commands/apiKey.d.ts +1 -21
- package/dist/commands/apiKey.d.ts.map +1 -1
- package/dist/commands/apiKey.js +7 -25
- package/dist/commands/apiKey.js.map +1 -1
- package/dist/commands/compile.d.ts.map +1 -1
- package/dist/commands/compile.js +11 -3
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/configure.d.ts +2 -2
- package/dist/commands/configure.js +2 -2
- package/dist/commands/deploy.d.ts +7 -9
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +380 -123
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/destroy.d.ts +0 -24
- package/dist/commands/destroy.d.ts.map +1 -1
- package/dist/commands/destroy.js +8 -30
- package/dist/commands/destroy.js.map +1 -1
- package/dist/commands/jobs.js +57 -32
- package/dist/commands/jobs.js.map +1 -1
- package/dist/commands/postprocessors.js +2 -2
- package/dist/commands/postprocessors.js.map +1 -1
- package/dist/commands/preprocessors.js +2 -2
- package/dist/commands/preprocessors.js.map +1 -1
- package/dist/commands/webhooks.d.ts.map +1 -1
- package/dist/commands/webhooks.js +128 -6
- package/dist/commands/webhooks.js.map +1 -1
- package/dist/config/constants.d.ts +7 -11
- package/dist/config/constants.d.ts.map +1 -1
- package/dist/config/constants.js +7 -11
- package/dist/config/constants.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/interfaces/webhooks.d.ts +6 -0
- package/dist/interfaces/webhooks.d.ts.map +1 -1
- package/dist/services/analytics.d.ts.map +1 -1
- package/dist/services/analytics.js +6 -2
- package/dist/services/analytics.js.map +1 -1
- package/dist/services/auth.d.ts +16 -26
- package/dist/services/auth.d.ts.map +1 -1
- package/dist/services/auth.js +45 -101
- package/dist/services/auth.js.map +1 -1
- package/dist/utils/auth-flows.d.ts.map +1 -1
- package/dist/utils/auth-flows.js +8 -12
- package/dist/utils/auth-flows.js.map +1 -1
- package/dist/utils/cli.d.ts.map +1 -1
- package/dist/utils/cli.js +2 -3
- package/dist/utils/cli.js.map +1 -1
- package/dist/utils/command-utils.d.ts +4 -3
- package/dist/utils/command-utils.d.ts.map +1 -1
- package/dist/utils/command-utils.js +9 -20
- package/dist/utils/command-utils.js.map +1 -1
- package/dist/utils/files.d.ts +1 -5
- package/dist/utils/files.d.ts.map +1 -1
- package/dist/utils/files.js +3 -12
- package/dist/utils/files.js.map +1 -1
- package/dist/utils/sandbox-storage.d.ts +18 -18
- package/dist/utils/sandbox-storage.d.ts.map +1 -1
- package/dist/utils/sandbox-storage.js +77 -101
- package/dist/utils/sandbox-storage.js.map +1 -1
- package/package.json +4 -6
- package/template/package.json +1 -1
- package/dist/utils/keytar-loader.d.ts +0 -20
- package/dist/utils/keytar-loader.d.ts.map +0 -1
- package/dist/utils/keytar-loader.js +0 -35
- package/dist/utils/keytar-loader.js.map +0 -1
- package/node_modules/@lua/shared-types/dist/index.d.mts +0 -92
- package/node_modules/@lua/shared-types/dist/index.d.ts +0 -92
- package/node_modules/@lua/shared-types/dist/index.js +0 -104
- package/node_modules/@lua/shared-types/dist/index.mjs +0 -79
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
UNSTRUCTURED_SUPPORTED_MEDIA_TYPES: () => UNSTRUCTURED_SUPPORTED_MEDIA_TYPES,
|
|
24
|
-
aiGenerateInputFromSimplified: () => aiGenerateInputFromSimplified
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(index_exports);
|
|
27
|
-
|
|
28
|
-
// src/unstructured-types.ts
|
|
29
|
-
var UNSTRUCTURED_SUPPORTED_MEDIA_TYPES = /* @__PURE__ */ new Set([
|
|
30
|
-
// PDF
|
|
31
|
-
"application/pdf",
|
|
32
|
-
// Word processing (.doc, .docx, .dot, .dotm, .zabw)
|
|
33
|
-
"application/msword",
|
|
34
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
35
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.template",
|
|
36
|
-
"application/vnd.oasis.opendocument.text",
|
|
37
|
-
"application/rtf",
|
|
38
|
-
"text/rtf",
|
|
39
|
-
"application/x-abiword",
|
|
40
|
-
// Spreadsheets (.xls, .xlsx, .fods, .csv, .tsv, .dbf, .et, .mw)
|
|
41
|
-
"application/vnd.ms-excel",
|
|
42
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
43
|
-
"application/vnd.oasis.opendocument.spreadsheet",
|
|
44
|
-
"text/csv",
|
|
45
|
-
"text/tab-separated-values",
|
|
46
|
-
"application/dbase",
|
|
47
|
-
"application/x-et",
|
|
48
|
-
// Presentations (.ppt, .pptx, .pptm, .pot)
|
|
49
|
-
"application/vnd.ms-powerpoint",
|
|
50
|
-
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
51
|
-
"application/vnd.openxmlformats-officedocument.presentationml.template",
|
|
52
|
-
// Images — OCR (.bmp, .heic, .jpeg, .jpg, .png, .prn, .tiff)
|
|
53
|
-
"image/jpeg",
|
|
54
|
-
"image/jpg",
|
|
55
|
-
"image/png",
|
|
56
|
-
"image/tiff",
|
|
57
|
-
"image/bmp",
|
|
58
|
-
"image/heic",
|
|
59
|
-
// Email (.eml, .msg, .p7s)
|
|
60
|
-
"message/rfc822",
|
|
61
|
-
"application/vnd.ms-outlook",
|
|
62
|
-
"application/pkcs7-signature",
|
|
63
|
-
// Web/Markup (.htm, .html, .md, .rst, .xml, .org)
|
|
64
|
-
"text/html",
|
|
65
|
-
"text/markdown",
|
|
66
|
-
"text/x-rst",
|
|
67
|
-
"text/x-org",
|
|
68
|
-
"application/xml",
|
|
69
|
-
"text/xml",
|
|
70
|
-
// Text (.txt)
|
|
71
|
-
"text/plain",
|
|
72
|
-
// eBook (.epub)
|
|
73
|
-
"application/epub+zip",
|
|
74
|
-
// Other (.hwp, .json, .cwk, .mcw, .dif, .sxg)
|
|
75
|
-
"application/json",
|
|
76
|
-
"application/x-hwp",
|
|
77
|
-
"application/clarisworks",
|
|
78
|
-
"application/x-dif",
|
|
79
|
-
"application/vnd.sun.xml.writer.global"
|
|
80
|
-
]);
|
|
81
|
-
|
|
82
|
-
// src/ai-generate.utils.ts
|
|
83
|
-
function aiGenerateInputFromSimplified(prompt, content) {
|
|
84
|
-
if (content === void 0) {
|
|
85
|
-
return {
|
|
86
|
-
prompt
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
system: prompt,
|
|
91
|
-
messages: [
|
|
92
|
-
{
|
|
93
|
-
role: "user",
|
|
94
|
-
content
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
__name(aiGenerateInputFromSimplified, "aiGenerateInputFromSimplified");
|
|
100
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
101
|
-
0 && (module.exports = {
|
|
102
|
-
UNSTRUCTURED_SUPPORTED_MEDIA_TYPES,
|
|
103
|
-
aiGenerateInputFromSimplified
|
|
104
|
-
});
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
|
|
4
|
-
// src/unstructured-types.ts
|
|
5
|
-
var UNSTRUCTURED_SUPPORTED_MEDIA_TYPES = /* @__PURE__ */ new Set([
|
|
6
|
-
// PDF
|
|
7
|
-
"application/pdf",
|
|
8
|
-
// Word processing (.doc, .docx, .dot, .dotm, .zabw)
|
|
9
|
-
"application/msword",
|
|
10
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
11
|
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.template",
|
|
12
|
-
"application/vnd.oasis.opendocument.text",
|
|
13
|
-
"application/rtf",
|
|
14
|
-
"text/rtf",
|
|
15
|
-
"application/x-abiword",
|
|
16
|
-
// Spreadsheets (.xls, .xlsx, .fods, .csv, .tsv, .dbf, .et, .mw)
|
|
17
|
-
"application/vnd.ms-excel",
|
|
18
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
19
|
-
"application/vnd.oasis.opendocument.spreadsheet",
|
|
20
|
-
"text/csv",
|
|
21
|
-
"text/tab-separated-values",
|
|
22
|
-
"application/dbase",
|
|
23
|
-
"application/x-et",
|
|
24
|
-
// Presentations (.ppt, .pptx, .pptm, .pot)
|
|
25
|
-
"application/vnd.ms-powerpoint",
|
|
26
|
-
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
27
|
-
"application/vnd.openxmlformats-officedocument.presentationml.template",
|
|
28
|
-
// Images — OCR (.bmp, .heic, .jpeg, .jpg, .png, .prn, .tiff)
|
|
29
|
-
"image/jpeg",
|
|
30
|
-
"image/jpg",
|
|
31
|
-
"image/png",
|
|
32
|
-
"image/tiff",
|
|
33
|
-
"image/bmp",
|
|
34
|
-
"image/heic",
|
|
35
|
-
// Email (.eml, .msg, .p7s)
|
|
36
|
-
"message/rfc822",
|
|
37
|
-
"application/vnd.ms-outlook",
|
|
38
|
-
"application/pkcs7-signature",
|
|
39
|
-
// Web/Markup (.htm, .html, .md, .rst, .xml, .org)
|
|
40
|
-
"text/html",
|
|
41
|
-
"text/markdown",
|
|
42
|
-
"text/x-rst",
|
|
43
|
-
"text/x-org",
|
|
44
|
-
"application/xml",
|
|
45
|
-
"text/xml",
|
|
46
|
-
// Text (.txt)
|
|
47
|
-
"text/plain",
|
|
48
|
-
// eBook (.epub)
|
|
49
|
-
"application/epub+zip",
|
|
50
|
-
// Other (.hwp, .json, .cwk, .mcw, .dif, .sxg)
|
|
51
|
-
"application/json",
|
|
52
|
-
"application/x-hwp",
|
|
53
|
-
"application/clarisworks",
|
|
54
|
-
"application/x-dif",
|
|
55
|
-
"application/vnd.sun.xml.writer.global"
|
|
56
|
-
]);
|
|
57
|
-
|
|
58
|
-
// src/ai-generate.utils.ts
|
|
59
|
-
function aiGenerateInputFromSimplified(prompt, content) {
|
|
60
|
-
if (content === void 0) {
|
|
61
|
-
return {
|
|
62
|
-
prompt
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
system: prompt,
|
|
67
|
-
messages: [
|
|
68
|
-
{
|
|
69
|
-
role: "user",
|
|
70
|
-
content
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
__name(aiGenerateInputFromSimplified, "aiGenerateInputFromSimplified");
|
|
76
|
-
export {
|
|
77
|
-
UNSTRUCTURED_SUPPORTED_MEDIA_TYPES,
|
|
78
|
-
aiGenerateInputFromSimplified
|
|
79
|
-
};
|