@vm0/cli 9.273.3 → 9.274.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/{agent-ROFGSLJS.js → agent-MUG5WD3V.js} +6 -6
- package/{banking-OWZFEI5C.js → banking-G4Q6YFEZ.js} +4 -4
- package/{browser-RT3R4P3O.js → browser-UHGQKYH7.js} +4 -4
- package/{chat-GH6N2CBP.js → chat-GU2XWHZW.js} +5 -5
- package/{chunk-3DL543CI.js → chunk-3ZYMM4RF.js} +2 -2
- package/{chunk-VJPDFFST.js → chunk-7AAQ7XGP.js} +2 -2
- package/{chunk-NM26VCJ7.js → chunk-A5SPZSZF.js} +4 -4
- package/{chunk-NM26VCJ7.js.map → chunk-A5SPZSZF.js.map} +1 -1
- package/{chunk-HNMIWZNA.js → chunk-AX63BTJR.js} +2 -2
- package/{chunk-R6VVASMT.js → chunk-JFBH5ECP.js} +124 -64
- package/chunk-JFBH5ECP.js.map +1 -0
- package/{chunk-7O7I6VR2.js → chunk-OENKKFD2.js} +7 -1
- package/chunk-OENKKFD2.js.map +1 -0
- package/{chunk-23EQW3W2.js → chunk-PW3ZHUAL.js} +2 -2
- package/{chunk-5VOINOLD.js → chunk-VY5UZWNH.js} +2 -2
- package/{chunk-MO2XWJEW.js → chunk-Y5GM2XHQ.js} +2 -2
- package/{chunk-H5ZDAOUG.js → chunk-ZGUBOMWL.js} +2 -2
- package/{computer-use-CCGBBMYY.js → computer-use-MSQNA6L4.js} +4 -4
- package/{connector-SQOQEF6D.js → connector-I27IAZBI.js} +7 -7
- package/{credit-56YUOPSK.js → credit-M66EN7YV.js} +5 -5
- package/{developer-support-J3LJJLLQ.js → developer-support-AAPBA2VZ.js} +4 -4
- package/{doctor-PEXEN5C2.js → doctor-XXJVTAUO.js} +5 -5
- package/{feishu-M544BGPK.js → feishu-GFUZK6ZO.js} +4 -4
- package/{finance-KJB4QEW6.js → finance-SGGZ27LU.js} +4 -4
- package/{generate-K6ZZISXN.js → generate-R7L7EKJM.js} +6 -6
- package/{github-NADYYAZQ.js → github-XOIVYA4U.js} +4 -4
- package/{goal-CY7A5HOE.js → goal-YH5JT33E.js} +4 -4
- package/{host-PTACRTGY.js → host-ZM2IJAZN.js} +4 -4
- package/{logs-XRNRTDSA.js → logs-US5E67D6.js} +6 -6
- package/{mail-R3P6GA4Z.js → mail-CQP3HDUG.js} +6 -6
- package/{maps-7AVZ3KYV.js → maps-N7CARSHD.js} +4 -4
- package/{model-PHIZES77.js → model-CQZGURMD.js} +5 -5
- package/{model-provider-UVX37QH4.js → model-provider-QY46J6AM.js} +5 -5
- package/{org-CBANY547.js → org-XU4M6X3S.js} +4 -4
- package/package.json +1 -1
- package/{people-search-BUUVBEAU.js → people-search-EN7Y43JJ.js} +4 -4
- package/{phone-URMH7TDK.js → phone-RSXXCHIM.js} +4 -4
- package/{preference-ILGWJ3ZH.js → preference-XWUAGMXE.js} +4 -4
- package/recognize-ZZNW22A5.js +107 -0
- package/recognize-ZZNW22A5.js.map +1 -0
- package/{resource-IUSJNWGH.js → resource-4IZLVI6V.js} +4 -4
- package/{scrape-JVB32RYK.js → scrape-MKP3VVJA.js} +4 -4
- package/{search-RB7O5H74.js → search-LJ2FVG5Z.js} +6 -6
- package/{secret-KZSH4MKS.js → secret-4Z4QJM5A.js} +4 -4
- package/{slack-L55IPK2Z.js → slack-6UTPLYJE.js} +4 -4
- package/{teams-ZEQUL7DV.js → teams-U27Z4UWW.js} +4 -4
- package/{telegram-3KRZQSNY.js → telegram-BGYGDYFE.js} +4 -4
- package/{upgrade-CUBDACZF.js → upgrade-TXB3TOOU.js} +3 -3
- package/{variable-BGEDG5QS.js → variable-OVHL6NNQ.js} +4 -4
- package/{video-X6SAR2Z6.js → video-LOHICDWI.js} +3 -3
- package/{weather-KOF3Q5ER.js → weather-GNKNIRR4.js} +4 -4
- package/{web-UMLMW5QG.js → web-SWQDEPWR.js} +4 -4
- package/{web-search-FUXASRM4.js → web-search-XXJAXPBL.js} +4 -4
- package/{whoami-SLO2Q7YZ.js → whoami-7TW4YOVK.js} +6 -6
- package/{workflow-XCGO36R2.js → workflow-CDGND6NJ.js} +5 -5
- package/zero.js +61 -45
- package/zero.js.map +1 -1
- package/chunk-7O7I6VR2.js.map +0 -1
- package/chunk-R6VVASMT.js.map +0 -1
- /package/{agent-ROFGSLJS.js.map → agent-MUG5WD3V.js.map} +0 -0
- /package/{banking-OWZFEI5C.js.map → banking-G4Q6YFEZ.js.map} +0 -0
- /package/{browser-RT3R4P3O.js.map → browser-UHGQKYH7.js.map} +0 -0
- /package/{chat-GH6N2CBP.js.map → chat-GU2XWHZW.js.map} +0 -0
- /package/{chunk-3DL543CI.js.map → chunk-3ZYMM4RF.js.map} +0 -0
- /package/{chunk-VJPDFFST.js.map → chunk-7AAQ7XGP.js.map} +0 -0
- /package/{chunk-HNMIWZNA.js.map → chunk-AX63BTJR.js.map} +0 -0
- /package/{chunk-23EQW3W2.js.map → chunk-PW3ZHUAL.js.map} +0 -0
- /package/{chunk-5VOINOLD.js.map → chunk-VY5UZWNH.js.map} +0 -0
- /package/{chunk-MO2XWJEW.js.map → chunk-Y5GM2XHQ.js.map} +0 -0
- /package/{chunk-H5ZDAOUG.js.map → chunk-ZGUBOMWL.js.map} +0 -0
- /package/{computer-use-CCGBBMYY.js.map → computer-use-MSQNA6L4.js.map} +0 -0
- /package/{connector-SQOQEF6D.js.map → connector-I27IAZBI.js.map} +0 -0
- /package/{credit-56YUOPSK.js.map → credit-M66EN7YV.js.map} +0 -0
- /package/{developer-support-J3LJJLLQ.js.map → developer-support-AAPBA2VZ.js.map} +0 -0
- /package/{doctor-PEXEN5C2.js.map → doctor-XXJVTAUO.js.map} +0 -0
- /package/{feishu-M544BGPK.js.map → feishu-GFUZK6ZO.js.map} +0 -0
- /package/{finance-KJB4QEW6.js.map → finance-SGGZ27LU.js.map} +0 -0
- /package/{generate-K6ZZISXN.js.map → generate-R7L7EKJM.js.map} +0 -0
- /package/{github-NADYYAZQ.js.map → github-XOIVYA4U.js.map} +0 -0
- /package/{goal-CY7A5HOE.js.map → goal-YH5JT33E.js.map} +0 -0
- /package/{host-PTACRTGY.js.map → host-ZM2IJAZN.js.map} +0 -0
- /package/{logs-XRNRTDSA.js.map → logs-US5E67D6.js.map} +0 -0
- /package/{mail-R3P6GA4Z.js.map → mail-CQP3HDUG.js.map} +0 -0
- /package/{maps-7AVZ3KYV.js.map → maps-N7CARSHD.js.map} +0 -0
- /package/{model-PHIZES77.js.map → model-CQZGURMD.js.map} +0 -0
- /package/{model-provider-UVX37QH4.js.map → model-provider-QY46J6AM.js.map} +0 -0
- /package/{org-CBANY547.js.map → org-XU4M6X3S.js.map} +0 -0
- /package/{people-search-BUUVBEAU.js.map → people-search-EN7Y43JJ.js.map} +0 -0
- /package/{phone-URMH7TDK.js.map → phone-RSXXCHIM.js.map} +0 -0
- /package/{preference-ILGWJ3ZH.js.map → preference-XWUAGMXE.js.map} +0 -0
- /package/{resource-IUSJNWGH.js.map → resource-4IZLVI6V.js.map} +0 -0
- /package/{scrape-JVB32RYK.js.map → scrape-MKP3VVJA.js.map} +0 -0
- /package/{search-RB7O5H74.js.map → search-LJ2FVG5Z.js.map} +0 -0
- /package/{secret-KZSH4MKS.js.map → secret-4Z4QJM5A.js.map} +0 -0
- /package/{slack-L55IPK2Z.js.map → slack-6UTPLYJE.js.map} +0 -0
- /package/{teams-ZEQUL7DV.js.map → teams-U27Z4UWW.js.map} +0 -0
- /package/{telegram-3KRZQSNY.js.map → telegram-BGYGDYFE.js.map} +0 -0
- /package/{upgrade-CUBDACZF.js.map → upgrade-TXB3TOOU.js.map} +0 -0
- /package/{variable-BGEDG5QS.js.map → variable-OVHL6NNQ.js.map} +0 -0
- /package/{video-X6SAR2Z6.js.map → video-LOHICDWI.js.map} +0 -0
- /package/{weather-KOF3Q5ER.js.map → weather-GNKNIRR4.js.map} +0 -0
- /package/{web-UMLMW5QG.js.map → web-SWQDEPWR.js.map} +0 -0
- /package/{web-search-FUXASRM4.js.map → web-search-XXJAXPBL.js.map} +0 -0
- /package/{whoami-SLO2Q7YZ.js.map → whoami-7TW4YOVK.js.map} +0 -0
- /package/{workflow-XCGO36R2.js.map → workflow-CDGND6NJ.js.map} +0 -0
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
setZeroOrgVariable,
|
|
26
26
|
updateZeroOrg,
|
|
27
27
|
upsertZeroOrgModelProvider
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-JFBH5ECP.js";
|
|
29
|
+
import "./chunk-3ZYMM4RF.js";
|
|
30
30
|
import "./chunk-MA22KQYU.js";
|
|
31
31
|
import {
|
|
32
32
|
ApiRequestError,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
hasAuthMethods,
|
|
40
40
|
source_default,
|
|
41
41
|
withErrorHandler
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VY5UZWNH.js";
|
|
43
43
|
import "./chunk-MD3YWUKO.js";
|
|
44
44
|
import {
|
|
45
45
|
Command
|
|
@@ -879,4 +879,4 @@ var zeroOrgCommand = new Command().name("org").description("Manage organization
|
|
|
879
879
|
export {
|
|
880
880
|
zeroOrgCommand
|
|
881
881
|
};
|
|
882
|
-
//# sourceMappingURL=org-
|
|
882
|
+
//# sourceMappingURL=org-XU4M6X3S.js.map
|
package/package.json
CHANGED
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
ZERO_PEOPLE_SEARCH_MAX_LIMIT,
|
|
7
7
|
callZeroPeopleSearch,
|
|
8
8
|
zeroPeopleSearchRequestSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JFBH5ECP.js";
|
|
10
|
+
import "./chunk-3ZYMM4RF.js";
|
|
11
11
|
import "./chunk-MA22KQYU.js";
|
|
12
12
|
import {
|
|
13
13
|
source_default,
|
|
14
14
|
withErrorHandler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VY5UZWNH.js";
|
|
16
16
|
import "./chunk-MD3YWUKO.js";
|
|
17
17
|
import {
|
|
18
18
|
Command,
|
|
@@ -125,4 +125,4 @@ Notes:
|
|
|
125
125
|
export {
|
|
126
126
|
zeroPeopleSearchCommand
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=people-search-
|
|
128
|
+
//# sourceMappingURL=people-search-EN7Y43JJ.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
downloadPhoneFile,
|
|
7
7
|
initPhoneFileUpload,
|
|
8
8
|
sendPhoneMessage
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JFBH5ECP.js";
|
|
10
|
+
import "./chunk-3ZYMM4RF.js";
|
|
11
11
|
import "./chunk-MA22KQYU.js";
|
|
12
12
|
import {
|
|
13
13
|
source_default,
|
|
14
14
|
withErrorHandler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VY5UZWNH.js";
|
|
16
16
|
import "./chunk-MD3YWUKO.js";
|
|
17
17
|
import {
|
|
18
18
|
Command
|
|
@@ -204,4 +204,4 @@ Examples:
|
|
|
204
204
|
export {
|
|
205
205
|
zeroPhoneCommand
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=phone-
|
|
207
|
+
//# sourceMappingURL=phone-RSXXCHIM.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
getZeroUserPreferences,
|
|
10
10
|
updateZeroUserPreferences
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-JFBH5ECP.js";
|
|
12
|
+
import "./chunk-3ZYMM4RF.js";
|
|
13
13
|
import "./chunk-MA22KQYU.js";
|
|
14
14
|
import {
|
|
15
15
|
source_default,
|
|
16
16
|
withErrorHandler
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VY5UZWNH.js";
|
|
18
18
|
import "./chunk-MD3YWUKO.js";
|
|
19
19
|
import {
|
|
20
20
|
Command
|
|
@@ -106,4 +106,4 @@ var zeroPreferenceCommand = new Command().name("preference").description("View o
|
|
|
106
106
|
export {
|
|
107
107
|
zeroPreferenceCommand
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=preference-
|
|
109
|
+
//# sourceMappingURL=preference-XWUAGMXE.js.map
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from "node:module";
|
|
3
|
+
const require = __createRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
ZERO_RECOGNITION_MAX_FILE_BYTES,
|
|
6
|
+
ZERO_RECOGNITION_MAX_PROMPT_CHARS,
|
|
7
|
+
callZeroRecognition,
|
|
8
|
+
zeroRecognitionImageMimeTypeSchema
|
|
9
|
+
} from "./chunk-JFBH5ECP.js";
|
|
10
|
+
import {
|
|
11
|
+
inferWebUploadContentType,
|
|
12
|
+
uploadWebFile
|
|
13
|
+
} from "./chunk-3ZYMM4RF.js";
|
|
14
|
+
import "./chunk-MA22KQYU.js";
|
|
15
|
+
import {
|
|
16
|
+
ApiRequestError,
|
|
17
|
+
withErrorHandler
|
|
18
|
+
} from "./chunk-VY5UZWNH.js";
|
|
19
|
+
import "./chunk-MD3YWUKO.js";
|
|
20
|
+
import {
|
|
21
|
+
Command
|
|
22
|
+
} from "./chunk-CCWPKGTB.js";
|
|
23
|
+
import {
|
|
24
|
+
init_esm_shims
|
|
25
|
+
} from "./chunk-GPYQ24DR.js";
|
|
26
|
+
|
|
27
|
+
// src/commands/zero/recognize/index.ts
|
|
28
|
+
init_esm_shims();
|
|
29
|
+
import { statSync } from "fs";
|
|
30
|
+
function validatePrompt(prompt) {
|
|
31
|
+
const trimmed = prompt.trim();
|
|
32
|
+
if (!trimmed) {
|
|
33
|
+
throw new ApiRequestError(
|
|
34
|
+
"Recognition prompt must not be empty",
|
|
35
|
+
"BAD_REQUEST",
|
|
36
|
+
400
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
if (trimmed.length > ZERO_RECOGNITION_MAX_PROMPT_CHARS) {
|
|
40
|
+
throw new ApiRequestError(
|
|
41
|
+
`Recognition prompt must be ${ZERO_RECOGNITION_MAX_PROMPT_CHARS} characters or fewer`,
|
|
42
|
+
"BAD_REQUEST",
|
|
43
|
+
400
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
return trimmed;
|
|
47
|
+
}
|
|
48
|
+
function validateImageFile(file) {
|
|
49
|
+
const stats = statSync(file);
|
|
50
|
+
if (!stats.isFile()) {
|
|
51
|
+
throw new ApiRequestError(
|
|
52
|
+
`Not a regular file: ${file}`,
|
|
53
|
+
"BAD_REQUEST",
|
|
54
|
+
400
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
if (stats.size === 0) {
|
|
58
|
+
throw new ApiRequestError(
|
|
59
|
+
"Image file must not be empty",
|
|
60
|
+
"BAD_REQUEST",
|
|
61
|
+
400
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
if (stats.size > ZERO_RECOGNITION_MAX_FILE_BYTES) {
|
|
65
|
+
throw new ApiRequestError(
|
|
66
|
+
"Image file must be 20 MB or smaller",
|
|
67
|
+
"PAYLOAD_TOO_LARGE",
|
|
68
|
+
413
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
const contentType = inferWebUploadContentType(file);
|
|
72
|
+
const parsed = zeroRecognitionImageMimeTypeSchema.safeParse(contentType);
|
|
73
|
+
if (!parsed.success) {
|
|
74
|
+
throw new ApiRequestError(
|
|
75
|
+
"Image must be a PNG, JPEG, or WebP file",
|
|
76
|
+
"BAD_REQUEST",
|
|
77
|
+
400
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
return parsed.data;
|
|
81
|
+
}
|
|
82
|
+
var zeroRecognizeCommand = new Command().name("recognize").description("Recognize one image through a managed multimodal model").requiredOption("-f, --file <path>", "Local PNG, JPEG, or WebP image").requiredOption("-p, --prompt <instruction>", "Recognition instruction").action(
|
|
83
|
+
withErrorHandler(async (options) => {
|
|
84
|
+
const prompt = validatePrompt(options.prompt);
|
|
85
|
+
const contentType = validateImageFile(options.file);
|
|
86
|
+
const uploaded = await uploadWebFile(options.file, { contentType });
|
|
87
|
+
const response = await callZeroRecognition({
|
|
88
|
+
fileId: uploaded.id,
|
|
89
|
+
prompt
|
|
90
|
+
});
|
|
91
|
+
console.log(response.text);
|
|
92
|
+
})
|
|
93
|
+
).addHelpText(
|
|
94
|
+
"after",
|
|
95
|
+
`
|
|
96
|
+
Example:
|
|
97
|
+
zero recognize --file ./screenshot.png --prompt "Describe the error shown"
|
|
98
|
+
|
|
99
|
+
Notes:
|
|
100
|
+
- Available only in runs whose selected model does not support image input
|
|
101
|
+
- Accepts one PNG, JPEG, or WebP image up to 20 MB
|
|
102
|
+
- Uses a fixed vm0-managed recognition model and prints only recognized text`
|
|
103
|
+
);
|
|
104
|
+
export {
|
|
105
|
+
zeroRecognizeCommand
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=recognize-ZZNW22A5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/zero/recognize/index.ts"],"sourcesContent":["import { statSync } from \"node:fs\";\n\nimport {\n ZERO_RECOGNITION_MAX_FILE_BYTES,\n ZERO_RECOGNITION_MAX_PROMPT_CHARS,\n zeroRecognitionImageMimeTypeSchema,\n type ZeroRecognitionImageMimeType,\n} from \"@vm0/api-contracts/contracts/zero-recognition\";\nimport { Command } from \"commander\";\n\nimport {\n ApiRequestError,\n callZeroRecognition,\n inferWebUploadContentType,\n uploadWebFile,\n} from \"../../../lib/api\";\nimport { withErrorHandler } from \"../../../lib/command\";\n\ninterface RecognizeOptions {\n readonly file: string;\n readonly prompt: string;\n}\n\nfunction validatePrompt(prompt: string): string {\n const trimmed = prompt.trim();\n if (!trimmed) {\n throw new ApiRequestError(\n \"Recognition prompt must not be empty\",\n \"BAD_REQUEST\",\n 400,\n );\n }\n if (trimmed.length > ZERO_RECOGNITION_MAX_PROMPT_CHARS) {\n throw new ApiRequestError(\n `Recognition prompt must be ${ZERO_RECOGNITION_MAX_PROMPT_CHARS} characters or fewer`,\n \"BAD_REQUEST\",\n 400,\n );\n }\n return trimmed;\n}\n\nfunction validateImageFile(file: string): ZeroRecognitionImageMimeType {\n const stats = statSync(file);\n if (!stats.isFile()) {\n throw new ApiRequestError(\n `Not a regular file: ${file}`,\n \"BAD_REQUEST\",\n 400,\n );\n }\n if (stats.size === 0) {\n throw new ApiRequestError(\n \"Image file must not be empty\",\n \"BAD_REQUEST\",\n 400,\n );\n }\n if (stats.size > ZERO_RECOGNITION_MAX_FILE_BYTES) {\n throw new ApiRequestError(\n \"Image file must be 20 MB or smaller\",\n \"PAYLOAD_TOO_LARGE\",\n 413,\n );\n }\n\n const contentType = inferWebUploadContentType(file);\n const parsed = zeroRecognitionImageMimeTypeSchema.safeParse(contentType);\n if (!parsed.success) {\n throw new ApiRequestError(\n \"Image must be a PNG, JPEG, or WebP file\",\n \"BAD_REQUEST\",\n 400,\n );\n }\n return parsed.data;\n}\n\nexport const zeroRecognizeCommand = new Command()\n .name(\"recognize\")\n .description(\"Recognize one image through a managed multimodal model\")\n .requiredOption(\"-f, --file <path>\", \"Local PNG, JPEG, or WebP image\")\n .requiredOption(\"-p, --prompt <instruction>\", \"Recognition instruction\")\n .action(\n withErrorHandler(async (options: RecognizeOptions) => {\n const prompt = validatePrompt(options.prompt);\n const contentType = validateImageFile(options.file);\n const uploaded = await uploadWebFile(options.file, { contentType });\n const response = await callZeroRecognition({\n fileId: uploaded.id,\n prompt,\n });\n console.log(response.text);\n }),\n )\n .addHelpText(\n \"after\",\n `\nExample:\n zero recognize --file ./screenshot.png --prompt \"Describe the error shown\"\n\nNotes:\n - Available only in runs whose selected model does not support image input\n - Accepts one PNG, JPEG, or WebP image up to 20 MB\n - Uses a fixed vm0-managed recognition model and prints only recognized text`,\n );\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,SAAS,gBAAgB;AAuBzB,SAAS,eAAe,QAAwB;AAC9C,QAAM,UAAU,OAAO,KAAK;AAC5B,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACA,MAAI,QAAQ,SAAS,mCAAmC;AACtD,UAAM,IAAI;AAAA,MACR,8BAA8B,iCAAiC;AAAA,MAC/D;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;AAEA,SAAS,kBAAkB,MAA4C;AACrE,QAAM,QAAQ,SAAS,IAAI;AAC3B,MAAI,CAAC,MAAM,OAAO,GAAG;AACnB,UAAM,IAAI;AAAA,MACR,uBAAuB,IAAI;AAAA,MAC3B;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACA,MAAI,MAAM,SAAS,GAAG;AACpB,UAAM,IAAI;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACA,MAAI,MAAM,OAAO,iCAAiC;AAChD,UAAM,IAAI;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAEA,QAAM,cAAc,0BAA0B,IAAI;AAClD,QAAM,SAAS,mCAAmC,UAAU,WAAW;AACvE,MAAI,CAAC,OAAO,SAAS;AACnB,UAAM,IAAI;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACA,SAAO,OAAO;AAChB;AAEO,IAAM,uBAAuB,IAAI,QAAQ,EAC7C,KAAK,WAAW,EAChB,YAAY,wDAAwD,EACpE,eAAe,qBAAqB,gCAAgC,EACpE,eAAe,8BAA8B,yBAAyB,EACtE;AAAA,EACC,iBAAiB,OAAO,YAA8B;AACpD,UAAM,SAAS,eAAe,QAAQ,MAAM;AAC5C,UAAM,cAAc,kBAAkB,QAAQ,IAAI;AAClD,UAAM,WAAW,MAAM,cAAc,QAAQ,MAAM,EAAE,YAAY,CAAC;AAClE,UAAM,WAAW,MAAM,oBAAoB;AAAA,MACzC,QAAQ,SAAS;AAAA,MACjB;AAAA,IACF,CAAC;AACD,YAAQ,IAAI,SAAS,IAAI;AAAA,EAC3B,CAAC;AACH,EACC;AAAA,EACC;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQF;","names":[]}
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-2D4YK5MB.js";
|
|
14
14
|
import {
|
|
15
15
|
getRegistryResourceDownload
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-JFBH5ECP.js";
|
|
17
|
+
import "./chunk-3ZYMM4RF.js";
|
|
18
18
|
import "./chunk-MA22KQYU.js";
|
|
19
19
|
import {
|
|
20
20
|
source_default,
|
|
21
21
|
withErrorHandler
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VY5UZWNH.js";
|
|
23
23
|
import "./chunk-MD3YWUKO.js";
|
|
24
24
|
import {
|
|
25
25
|
Command
|
|
@@ -3110,4 +3110,4 @@ export {
|
|
|
3110
3110
|
findRegistryResourceForPull,
|
|
3111
3111
|
zeroResourceCommand
|
|
3112
3112
|
};
|
|
3113
|
-
//# sourceMappingURL=resource-
|
|
3113
|
+
//# sourceMappingURL=resource-4IZLVI6V.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
callZeroScrape,
|
|
6
6
|
zeroScrapeFormatSchema,
|
|
7
7
|
zeroScrapeModeSchema
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-JFBH5ECP.js";
|
|
9
|
+
import "./chunk-3ZYMM4RF.js";
|
|
10
10
|
import "./chunk-MA22KQYU.js";
|
|
11
11
|
import {
|
|
12
12
|
source_default,
|
|
13
13
|
withErrorHandler
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VY5UZWNH.js";
|
|
15
15
|
import "./chunk-MD3YWUKO.js";
|
|
16
16
|
import {
|
|
17
17
|
Command,
|
|
@@ -97,4 +97,4 @@ Notes:
|
|
|
97
97
|
export {
|
|
98
98
|
zeroScrapeCommand
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=scrape-
|
|
100
|
+
//# sourceMappingURL=scrape-MKP3VVJA.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parseSearchQuery,
|
|
6
6
|
parseTime,
|
|
7
7
|
runLogsSearch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A5SPZSZF.js";
|
|
9
9
|
import {
|
|
10
10
|
formatIsoTimestamp,
|
|
11
11
|
isUuid,
|
|
@@ -15,14 +15,14 @@ import "./chunk-LN2ATWKS.js";
|
|
|
15
15
|
import "./chunk-2D4YK5MB.js";
|
|
16
16
|
import {
|
|
17
17
|
searchZeroChat
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-JFBH5ECP.js";
|
|
19
|
+
import "./chunk-3ZYMM4RF.js";
|
|
20
20
|
import "./chunk-MA22KQYU.js";
|
|
21
21
|
import {
|
|
22
22
|
source_default,
|
|
23
23
|
withErrorHandler
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-VY5UZWNH.js";
|
|
25
|
+
import "./chunk-OENKKFD2.js";
|
|
26
26
|
import "./chunk-MD3YWUKO.js";
|
|
27
27
|
import {
|
|
28
28
|
Command
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
buildSlackRecipe,
|
|
201
201
|
zeroSearchCommand
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=search-
|
|
203
|
+
//# sourceMappingURL=search-LJ2FVG5Z.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
deleteZeroSecret,
|
|
11
11
|
listZeroSecrets,
|
|
12
12
|
setZeroSecret
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-JFBH5ECP.js";
|
|
14
|
+
import "./chunk-3ZYMM4RF.js";
|
|
15
15
|
import "./chunk-MA22KQYU.js";
|
|
16
16
|
import {
|
|
17
17
|
source_default,
|
|
18
18
|
withErrorHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VY5UZWNH.js";
|
|
20
20
|
import "./chunk-MD3YWUKO.js";
|
|
21
21
|
import {
|
|
22
22
|
Command
|
|
@@ -147,4 +147,4 @@ var zeroSecretCommand = new Command().name("secret").description("Read or write
|
|
|
147
147
|
export {
|
|
148
148
|
zeroSecretCommand
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=secret-
|
|
150
|
+
//# sourceMappingURL=secret-4Z4QJM5A.js.map
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
initSlackFileUpload,
|
|
8
8
|
materializeSlackFileUpload,
|
|
9
9
|
sendSlackMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JFBH5ECP.js";
|
|
11
11
|
import {
|
|
12
12
|
inferWebUploadContentType
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3ZYMM4RF.js";
|
|
14
14
|
import "./chunk-MA22KQYU.js";
|
|
15
15
|
import {
|
|
16
16
|
source_default,
|
|
17
17
|
withErrorHandler
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VY5UZWNH.js";
|
|
19
19
|
import "./chunk-MD3YWUKO.js";
|
|
20
20
|
import {
|
|
21
21
|
Command
|
|
@@ -350,4 +350,4 @@ Examples:
|
|
|
350
350
|
export {
|
|
351
351
|
zeroSlackCommand
|
|
352
352
|
};
|
|
353
|
-
//# sourceMappingURL=slack-
|
|
353
|
+
//# sourceMappingURL=slack-6UTPLYJE.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
downloadTeamsFile,
|
|
7
7
|
initTeamsFileUpload,
|
|
8
8
|
sendTeamsMessage
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JFBH5ECP.js";
|
|
10
|
+
import "./chunk-3ZYMM4RF.js";
|
|
11
11
|
import "./chunk-MA22KQYU.js";
|
|
12
12
|
import {
|
|
13
13
|
source_default,
|
|
14
14
|
withErrorHandler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VY5UZWNH.js";
|
|
16
16
|
import "./chunk-MD3YWUKO.js";
|
|
17
17
|
import {
|
|
18
18
|
Command
|
|
@@ -284,4 +284,4 @@ Examples:
|
|
|
284
284
|
export {
|
|
285
285
|
zeroTeamsCommand
|
|
286
286
|
};
|
|
287
|
-
//# sourceMappingURL=teams-
|
|
287
|
+
//# sourceMappingURL=teams-U27Z4UWW.js.map
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
initTelegramFileUpload,
|
|
8
8
|
listTelegramBots,
|
|
9
9
|
sendTelegramMessage
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-JFBH5ECP.js";
|
|
11
|
+
import "./chunk-3ZYMM4RF.js";
|
|
12
12
|
import "./chunk-MA22KQYU.js";
|
|
13
13
|
import {
|
|
14
14
|
source_default,
|
|
15
15
|
withErrorHandler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VY5UZWNH.js";
|
|
17
17
|
import "./chunk-MD3YWUKO.js";
|
|
18
18
|
import {
|
|
19
19
|
Command
|
|
@@ -338,4 +338,4 @@ Examples:
|
|
|
338
338
|
export {
|
|
339
339
|
zeroTelegramCommand
|
|
340
340
|
};
|
|
341
|
-
//# sourceMappingURL=telegram-
|
|
341
|
+
//# sourceMappingURL=telegram-BGYGDYFE.js.map
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-2NW76WYJ.js";
|
|
7
7
|
import {
|
|
8
8
|
getPlatformOrigin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5GM2XHQ.js";
|
|
10
10
|
import "./chunk-MA22KQYU.js";
|
|
11
11
|
import {
|
|
12
12
|
source_default,
|
|
13
13
|
withErrorHandler
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VY5UZWNH.js";
|
|
15
15
|
import "./chunk-MD3YWUKO.js";
|
|
16
16
|
import {
|
|
17
17
|
Command,
|
|
@@ -47,4 +47,4 @@ Output:
|
|
|
47
47
|
export {
|
|
48
48
|
zeroUpgradeCommand
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=upgrade-
|
|
50
|
+
//# sourceMappingURL=upgrade-TXB3TOOU.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
deleteZeroVariable,
|
|
10
10
|
listZeroVariables,
|
|
11
11
|
setZeroVariable
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JFBH5ECP.js";
|
|
13
|
+
import "./chunk-3ZYMM4RF.js";
|
|
14
14
|
import "./chunk-MA22KQYU.js";
|
|
15
15
|
import {
|
|
16
16
|
source_default,
|
|
17
17
|
withErrorHandler
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VY5UZWNH.js";
|
|
19
19
|
import "./chunk-MD3YWUKO.js";
|
|
20
20
|
import {
|
|
21
21
|
Command
|
|
@@ -116,4 +116,4 @@ var zeroVariableCommand = new Command().name("variable").description("Read or wr
|
|
|
116
116
|
export {
|
|
117
117
|
zeroVariableCommand
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=variable-
|
|
119
|
+
//# sourceMappingURL=variable-OVHL6NNQ.js.map
|
|
@@ -4,11 +4,11 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
downloadWebFile,
|
|
6
6
|
transcribeAudio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3ZYMM4RF.js";
|
|
8
8
|
import "./chunk-MA22KQYU.js";
|
|
9
9
|
import {
|
|
10
10
|
withErrorHandler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VY5UZWNH.js";
|
|
12
12
|
import "./chunk-MD3YWUKO.js";
|
|
13
13
|
import {
|
|
14
14
|
Command
|
|
@@ -247,4 +247,4 @@ Tip (video understanding):
|
|
|
247
247
|
export {
|
|
248
248
|
zeroVideoCommand
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=video-
|
|
250
|
+
//# sourceMappingURL=video-LOHICDWI.js.map
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
callZeroWeather
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-JFBH5ECP.js";
|
|
7
|
+
import "./chunk-3ZYMM4RF.js";
|
|
8
8
|
import "./chunk-MA22KQYU.js";
|
|
9
9
|
import {
|
|
10
10
|
source_default,
|
|
11
11
|
withErrorHandler
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VY5UZWNH.js";
|
|
13
13
|
import "./chunk-MD3YWUKO.js";
|
|
14
14
|
import {
|
|
15
15
|
Command,
|
|
@@ -588,4 +588,4 @@ Notes:
|
|
|
588
588
|
export {
|
|
589
589
|
zeroWeatherCommand
|
|
590
590
|
};
|
|
591
|
-
//# sourceMappingURL=weather-
|
|
591
|
+
//# sourceMappingURL=weather-GNKNIRR4.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __createRequire } from "node:module";
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-JFBH5ECP.js";
|
|
5
5
|
import {
|
|
6
6
|
downloadWebFile,
|
|
7
7
|
uploadWebFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3ZYMM4RF.js";
|
|
9
9
|
import "./chunk-MA22KQYU.js";
|
|
10
10
|
import {
|
|
11
11
|
withErrorHandler
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VY5UZWNH.js";
|
|
13
13
|
import "./chunk-MD3YWUKO.js";
|
|
14
14
|
import {
|
|
15
15
|
Command
|
|
@@ -107,4 +107,4 @@ Examples:
|
|
|
107
107
|
export {
|
|
108
108
|
zeroWebCommand
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=web-
|
|
110
|
+
//# sourceMappingURL=web-SWQDEPWR.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
zeroWebSearchDomainSchema,
|
|
10
10
|
zeroWebSearchRecencySchema,
|
|
11
11
|
zeroWebSearchRequestSchema
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JFBH5ECP.js";
|
|
13
|
+
import "./chunk-3ZYMM4RF.js";
|
|
14
14
|
import "./chunk-MA22KQYU.js";
|
|
15
15
|
import {
|
|
16
16
|
source_default,
|
|
17
17
|
withErrorHandler
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VY5UZWNH.js";
|
|
19
19
|
import "./chunk-MD3YWUKO.js";
|
|
20
20
|
import {
|
|
21
21
|
Command,
|
|
@@ -148,4 +148,4 @@ Notes:
|
|
|
148
148
|
export {
|
|
149
149
|
zeroWebSearchCommand
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=web-search-
|
|
151
|
+
//# sourceMappingURL=web-search-XXJAXPBL.js.map
|
|
@@ -3,17 +3,17 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
policyIcon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PW3ZHUAL.js";
|
|
7
7
|
import {
|
|
8
8
|
connectorPermissionGrantsToFirewallPolicies,
|
|
9
9
|
loadConnectorPermissionInfos
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AX63BTJR.js";
|
|
11
11
|
import {
|
|
12
12
|
getZeroAgentUserConnectors,
|
|
13
13
|
listZeroConnectors,
|
|
14
14
|
listZeroUserPermissionGrants
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-JFBH5ECP.js";
|
|
16
|
+
import "./chunk-3ZYMM4RF.js";
|
|
17
17
|
import "./chunk-MA22KQYU.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveOrg,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
getToken,
|
|
22
22
|
source_default,
|
|
23
23
|
withErrorHandler
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VY5UZWNH.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeZeroTokenPayload
|
|
27
27
|
} from "./chunk-MD3YWUKO.js";
|
|
@@ -196,4 +196,4 @@ Notes:
|
|
|
196
196
|
export {
|
|
197
197
|
zeroWhoamiCommand
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=whoami-
|
|
199
|
+
//# sourceMappingURL=whoami-7TW4YOVK.js.map
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
listZeroModelPolicies,
|
|
26
26
|
updateWorkflow,
|
|
27
27
|
updateWorkflowAutomation
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-JFBH5ECP.js";
|
|
29
|
+
import "./chunk-3ZYMM4RF.js";
|
|
30
30
|
import "./chunk-MA22KQYU.js";
|
|
31
31
|
import {
|
|
32
32
|
source_default,
|
|
33
33
|
withErrorHandler
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VY5UZWNH.js";
|
|
35
35
|
import {
|
|
36
36
|
isFeatureEnabled
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-OENKKFD2.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeZeroTokenPayload
|
|
40
40
|
} from "./chunk-MD3YWUKO.js";
|
|
@@ -2848,4 +2848,4 @@ Examples:
|
|
|
2848
2848
|
export {
|
|
2849
2849
|
zeroWorkflowCommand
|
|
2850
2850
|
};
|
|
2851
|
-
//# sourceMappingURL=workflow-
|
|
2851
|
+
//# sourceMappingURL=workflow-CDGND6NJ.js.map
|