@vm0/cli 9.244.5 → 9.244.6
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-NQVS6VCY.js → agent-AOWGKKI7.js} +7 -7
- package/{banking-U5U2G6QH.js → banking-2ZRGXQJB.js} +3 -3
- package/{chat-BGF7IB3O.js → chat-XT3ZFO2U.js} +4 -4
- package/{chunk-SBH7L4UT.js → chunk-2GMLVBYY.js} +4 -4
- package/{chunk-PBFD5MP4.js → chunk-GGJ3V5JF.js} +3 -3
- package/{chunk-CK6ATTWW.js → chunk-HEAUPGDO.js} +1 -2
- package/{chunk-624QMD56.js → chunk-J7NZ4R4R.js} +2 -2
- package/{chunk-NOUED6XP.js → chunk-LX7FTB2W.js} +2 -2
- package/{chunk-KS62N6VR.js → chunk-MBYTQ3JJ.js} +14 -98
- package/chunk-MBYTQ3JJ.js.map +1 -0
- package/{chunk-UEGRDQR3.js → chunk-MWXV2NJK.js} +2 -2
- package/{chunk-UEGRDQR3.js.map → chunk-MWXV2NJK.js.map} +1 -1
- package/{chunk-ZMTKJ4VW.js → chunk-MZUWWKCF.js} +69 -6
- package/chunk-MZUWWKCF.js.map +1 -0
- package/{chunk-VUUGKMER.js → chunk-OPYEYUSY.js} +28 -192
- package/chunk-OPYEYUSY.js.map +1 -0
- package/chunk-PB66MQ5U.js +55 -0
- package/chunk-PB66MQ5U.js.map +1 -0
- package/{chunk-4V373IPM.js → chunk-RPQMDXP2.js} +2 -2
- package/{chunk-MKPBFN7W.js → chunk-V33YE2AE.js} +2 -2
- package/{computer-use-F4VFLO6X.js → computer-use-IP4SF35H.js} +3 -3
- package/{connector-SWU3H7YL.js → connector-XK7EPZWH.js} +9 -21
- package/connector-XK7EPZWH.js.map +1 -0
- package/{credit-ZMXGA5CQ.js → credit-VPTX7ZTC.js} +4 -4
- package/{developer-support-IOTX3JWR.js → developer-support-3ED5W5G3.js} +3 -3
- package/{doctor-DTMFWDXL.js → doctor-JZG5ZNW2.js} +3 -3
- package/{generate-IQUCOIYW.js → generate-PAMRL3B5.js} +4 -4
- package/{github-AJT3E56L.js → github-OUIYACCV.js} +3 -3
- package/{goal-NCK5T57P.js → goal-PXTE4BCJ.js} +3 -3
- package/{host-BRKGWZLP.js → host-3KVI5HIB.js} +4 -5
- package/{host-BRKGWZLP.js.map → host-3KVI5HIB.js.map} +1 -1
- package/index.js +28 -1337
- package/index.js.map +1 -1
- package/{logs-WZVT4BS7.js → logs-LEPXLZOA.js} +8 -8
- package/{mail-QS4HABXH.js → mail-22YJ3HFW.js} +5 -5
- package/{maps-3X6V34JQ.js → maps-GTBQWQOV.js} +3 -3
- package/{model-6ETRDASM.js → model-RWQNBS3N.js} +4 -4
- package/{model-provider-XEKOLWZY.js → model-provider-6B54DC7X.js} +4 -4
- package/{org-DKGPME4L.js → org-JEJIR4XQ.js} +3 -3
- package/package.json +1 -1
- package/{phone-6455TFON.js → phone-CI77EG37.js} +3 -3
- package/{preference-2XMANS52.js → preference-546TA23L.js} +3 -3
- package/{resource-MIFLTTK6.js → resource-HRVLBG7N.js} +4 -4
- package/{scrape-CIP2FZED.js → scrape-VZJ67GNU.js} +3 -3
- package/{search-GCQ55FYS.js → search-L5ICIORF.js} +7 -7
- package/{secret-NVLEVYXQ.js → secret-FKMH53Y4.js} +3 -3
- package/{slack-EGYW76W2.js → slack-BQ4KIZPV.js} +3 -3
- package/{teams-2D63XX2R.js → teams-YZSKKRY4.js} +3 -3
- package/{telegram-GQARG3MD.js → telegram-HHGB5PE3.js} +3 -3
- package/{variable-WMKLX7TF.js → variable-4CIAHKLM.js} +3 -3
- package/{video-NAUNUYGP.js → video-54PFQIQD.js} +2 -2
- package/{web-7U3YS3KP.js → web-BOBLQ27H.js} +3 -3
- package/{web-search-EIO3GVKH.js → web-search-27452WDH.js} +3 -3
- package/{whoami-QZJAGTDW.js → whoami-5SIOEBZY.js} +5 -5
- package/{workflow-RMJIYOUB.js → workflow-62JWPXNK.js} +3 -3
- package/zero.js +35 -35
- package/chunk-KS62N6VR.js.map +0 -1
- package/chunk-T6TZMDU6.js +0 -132
- package/chunk-T6TZMDU6.js.map +0 -1
- package/chunk-VUUGKMER.js.map +0 -1
- package/chunk-ZMTKJ4VW.js.map +0 -1
- package/connector-SWU3H7YL.js.map +0 -1
- /package/{agent-NQVS6VCY.js.map → agent-AOWGKKI7.js.map} +0 -0
- /package/{banking-U5U2G6QH.js.map → banking-2ZRGXQJB.js.map} +0 -0
- /package/{chat-BGF7IB3O.js.map → chat-XT3ZFO2U.js.map} +0 -0
- /package/{chunk-SBH7L4UT.js.map → chunk-2GMLVBYY.js.map} +0 -0
- /package/{chunk-PBFD5MP4.js.map → chunk-GGJ3V5JF.js.map} +0 -0
- /package/{chunk-CK6ATTWW.js.map → chunk-HEAUPGDO.js.map} +0 -0
- /package/{chunk-624QMD56.js.map → chunk-J7NZ4R4R.js.map} +0 -0
- /package/{chunk-NOUED6XP.js.map → chunk-LX7FTB2W.js.map} +0 -0
- /package/{chunk-4V373IPM.js.map → chunk-RPQMDXP2.js.map} +0 -0
- /package/{chunk-MKPBFN7W.js.map → chunk-V33YE2AE.js.map} +0 -0
- /package/{computer-use-F4VFLO6X.js.map → computer-use-IP4SF35H.js.map} +0 -0
- /package/{credit-ZMXGA5CQ.js.map → credit-VPTX7ZTC.js.map} +0 -0
- /package/{developer-support-IOTX3JWR.js.map → developer-support-3ED5W5G3.js.map} +0 -0
- /package/{doctor-DTMFWDXL.js.map → doctor-JZG5ZNW2.js.map} +0 -0
- /package/{generate-IQUCOIYW.js.map → generate-PAMRL3B5.js.map} +0 -0
- /package/{github-AJT3E56L.js.map → github-OUIYACCV.js.map} +0 -0
- /package/{goal-NCK5T57P.js.map → goal-PXTE4BCJ.js.map} +0 -0
- /package/{logs-WZVT4BS7.js.map → logs-LEPXLZOA.js.map} +0 -0
- /package/{mail-QS4HABXH.js.map → mail-22YJ3HFW.js.map} +0 -0
- /package/{maps-3X6V34JQ.js.map → maps-GTBQWQOV.js.map} +0 -0
- /package/{model-6ETRDASM.js.map → model-RWQNBS3N.js.map} +0 -0
- /package/{model-provider-XEKOLWZY.js.map → model-provider-6B54DC7X.js.map} +0 -0
- /package/{org-DKGPME4L.js.map → org-JEJIR4XQ.js.map} +0 -0
- /package/{phone-6455TFON.js.map → phone-CI77EG37.js.map} +0 -0
- /package/{preference-2XMANS52.js.map → preference-546TA23L.js.map} +0 -0
- /package/{resource-MIFLTTK6.js.map → resource-HRVLBG7N.js.map} +0 -0
- /package/{scrape-CIP2FZED.js.map → scrape-VZJ67GNU.js.map} +0 -0
- /package/{search-GCQ55FYS.js.map → search-L5ICIORF.js.map} +0 -0
- /package/{secret-NVLEVYXQ.js.map → secret-FKMH53Y4.js.map} +0 -0
- /package/{slack-EGYW76W2.js.map → slack-BQ4KIZPV.js.map} +0 -0
- /package/{teams-2D63XX2R.js.map → teams-YZSKKRY4.js.map} +0 -0
- /package/{telegram-GQARG3MD.js.map → telegram-HHGB5PE3.js.map} +0 -0
- /package/{variable-WMKLX7TF.js.map → variable-4CIAHKLM.js.map} +0 -0
- /package/{video-NAUNUYGP.js.map → video-54PFQIQD.js.map} +0 -0
- /package/{web-7U3YS3KP.js.map → web-BOBLQ27H.js.map} +0 -0
- /package/{web-search-EIO3GVKH.js.map → web-search-27452WDH.js.map} +0 -0
- /package/{whoami-QZJAGTDW.js.map → whoami-5SIOEBZY.js.map} +0 -0
- /package/{workflow-RMJIYOUB.js.map → workflow-62JWPXNK.js.map} +0 -0
|
@@ -4,14 +4,14 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
loadConnectorPermissionInfos,
|
|
6
6
|
policyIcon
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
permissionGrantsToFirewallPolicies
|
|
10
|
-
} from "./chunk-MKPBFN7W.js";
|
|
7
|
+
} from "./chunk-2GMLVBYY.js";
|
|
11
8
|
import {
|
|
12
9
|
isInteractive,
|
|
13
10
|
promptConfirm
|
|
14
11
|
} from "./chunk-JFY6GK7Y.js";
|
|
12
|
+
import {
|
|
13
|
+
permissionGrantsToFirewallPolicies
|
|
14
|
+
} from "./chunk-V33YE2AE.js";
|
|
15
15
|
import {
|
|
16
16
|
createZeroAgent,
|
|
17
17
|
deleteZeroAgent,
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
listZeroUserPermissionGrants,
|
|
24
24
|
updateZeroAgent,
|
|
25
25
|
updateZeroAgentInstructions
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OPYEYUSY.js";
|
|
27
27
|
import "./chunk-LTDQISD7.js";
|
|
28
28
|
import {
|
|
29
29
|
source_default,
|
|
30
30
|
withErrorHandler
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MWXV2NJK.js";
|
|
32
32
|
import "./chunk-LRHXR7JT.js";
|
|
33
33
|
import {
|
|
34
34
|
Command
|
|
@@ -593,4 +593,4 @@ Notes:
|
|
|
593
593
|
export {
|
|
594
594
|
zeroAgentCommand
|
|
595
595
|
};
|
|
596
|
-
//# sourceMappingURL=agent-
|
|
596
|
+
//# sourceMappingURL=agent-AOWGKKI7.js.map
|
|
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
callZeroBanking
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPYEYUSY.js";
|
|
7
7
|
import "./chunk-LTDQISD7.js";
|
|
8
8
|
import {
|
|
9
9
|
source_default,
|
|
10
10
|
withErrorHandler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MWXV2NJK.js";
|
|
12
12
|
import "./chunk-LRHXR7JT.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
@@ -113,4 +113,4 @@ Notes:
|
|
|
113
113
|
export {
|
|
114
114
|
zeroBankingCommand
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=banking-
|
|
116
|
+
//# sourceMappingURL=banking-2ZRGXQJB.js.map
|
|
@@ -3,18 +3,18 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
formatModelProviderRoute
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RPQMDXP2.js";
|
|
7
7
|
import {
|
|
8
8
|
getZeroChatThread,
|
|
9
9
|
listZeroModelPolicies,
|
|
10
10
|
renameZeroChatThread,
|
|
11
11
|
updateZeroChatThreadModelSelection
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OPYEYUSY.js";
|
|
13
13
|
import "./chunk-LTDQISD7.js";
|
|
14
14
|
import {
|
|
15
15
|
source_default,
|
|
16
16
|
withErrorHandler
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MWXV2NJK.js";
|
|
18
18
|
import "./chunk-LRHXR7JT.js";
|
|
19
19
|
import {
|
|
20
20
|
Command
|
|
@@ -242,4 +242,4 @@ Examples:
|
|
|
242
242
|
export {
|
|
243
243
|
zeroChatCommand
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chat-
|
|
245
|
+
//# sourceMappingURL=chat-XT3ZFO2U.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
|
resolveFirewallMetadataPolicies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V33YE2AE.js";
|
|
7
7
|
import {
|
|
8
8
|
getZeroConnectorCatalogPermissions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OPYEYUSY.js";
|
|
10
10
|
import {
|
|
11
11
|
source_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MWXV2NJK.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esm_shims
|
|
15
15
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -89,4 +89,4 @@ export {
|
|
|
89
89
|
policyIcon,
|
|
90
90
|
loadConnectorPermissionInfos
|
|
91
91
|
};
|
|
92
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-2GMLVBYY.js.map
|
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.244.
|
|
53
|
+
release: "9.244.6",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.244.
|
|
72
|
+
version: "9.244.6",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-GGJ3V5JF.js.map
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
getApiUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MWXV2NJK.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
toPlatformUrl,
|
|
40
40
|
getPlatformOrigin
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-J7NZ4R4R.js.map
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
getZeroAgent,
|
|
6
6
|
getZeroAgentUserConnectors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OPYEYUSY.js";
|
|
8
8
|
import {
|
|
9
9
|
init_esm_shims
|
|
10
10
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -265,4 +265,4 @@ export {
|
|
|
265
265
|
resolveManualGrantAuthMethod,
|
|
266
266
|
resolveAgentContext
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=chunk-
|
|
268
|
+
//# sourceMappingURL=chunk-LX7FTB2W.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getEvents,
|
|
13
13
|
runnerGroupSchema,
|
|
14
14
|
zeroAgentVisibilitySchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OPYEYUSY.js";
|
|
16
16
|
import {
|
|
17
17
|
apiErrorSchema,
|
|
18
18
|
external_exports,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
supportedRunModelSchema,
|
|
25
25
|
upsertModelProviderRequestSchema,
|
|
26
26
|
upsertModelProviderResponseSchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MWXV2NJK.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
|
@@ -31957,11 +31957,6 @@ var FEATURE_SWITCHES = {
|
|
|
31957
31957
|
enabled: false,
|
|
31958
31958
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
31959
31959
|
},
|
|
31960
|
-
["mobileUnreadChatThreadShortcuts" /* MobileUnreadChatThreadShortcuts */]: {
|
|
31961
|
-
maintainer: "ethan@vm0.ai",
|
|
31962
|
-
description: "Show unread chat thread shortcuts between the mobile agent chat composer and suggested prompt cards.",
|
|
31963
|
-
enabled: false
|
|
31964
|
-
},
|
|
31965
31960
|
["chatThreadUnifiedSearch" /* ChatThreadUnifiedSearch */]: {
|
|
31966
31961
|
maintainer: "ethan@vm0.ai",
|
|
31967
31962
|
description: "Show chat thread title results from the local event-driven thread cache in the command-shift-a conversation picker.",
|
|
@@ -32031,11 +32026,6 @@ var FEATURE_SWITCHES = {
|
|
|
32031
32026
|
enabled: false,
|
|
32032
32027
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
32033
32028
|
},
|
|
32034
|
-
["artifactPreviewImage" /* ArtifactPreviewImage */]: {
|
|
32035
|
-
maintainer: "bingjie@vm0.ai",
|
|
32036
|
-
description: "Render a static preview image (screenshot) for HTML/website artifacts on deploy so the artifacts grid shows an image instead of a live iframe.",
|
|
32037
|
-
enabled: true
|
|
32038
|
-
},
|
|
32039
32029
|
["websiteTemplateV2" /* WebsiteTemplateV2 */]: {
|
|
32040
32030
|
maintainer: "bingjie@vm0.ai",
|
|
32041
32031
|
description: "Generate websites from refreshed self-contained template packages. When off, website generation uses the existing package versions.",
|
|
@@ -32056,11 +32046,6 @@ var FEATURE_SWITCHES = {
|
|
|
32056
32046
|
enabledOrgIdHashes: STAFF_ORG_ID_HASHES,
|
|
32057
32047
|
userOverridable: false
|
|
32058
32048
|
},
|
|
32059
|
-
["connectorActionCallback" /* ConnectorActionCallback */]: {
|
|
32060
|
-
maintainer: "ethan@vm0.ai",
|
|
32061
|
-
description: "Resume a web chat with a callback prompt after a connector or permission action succeeds.",
|
|
32062
|
-
enabled: true
|
|
32063
|
-
},
|
|
32064
32049
|
["zeroMail" /* ZeroMail */]: {
|
|
32065
32050
|
maintainer: "yuma@vm0.ai",
|
|
32066
32051
|
description: "Enable persistent Gmail and Outlook draft cards created through the Zero Mail CLI.",
|
|
@@ -33314,7 +33299,7 @@ function formatToolResult(toolUse, result, verbose) {
|
|
|
33314
33299
|
const remaining = resultLines.length - previewCount;
|
|
33315
33300
|
if (remaining > 0) {
|
|
33316
33301
|
lines.push(
|
|
33317
|
-
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (
|
|
33302
|
+
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
|
|
33318
33303
|
);
|
|
33319
33304
|
}
|
|
33320
33305
|
}
|
|
@@ -33378,7 +33363,7 @@ function formatReadContent(resultText, verbose) {
|
|
|
33378
33363
|
const remaining = totalLines - previewCount;
|
|
33379
33364
|
if (remaining > 0) {
|
|
33380
33365
|
lines.push(
|
|
33381
|
-
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (
|
|
33366
|
+
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
|
|
33382
33367
|
);
|
|
33383
33368
|
}
|
|
33384
33369
|
}
|
|
@@ -33403,7 +33388,7 @@ function formatWritePreview(input, verbose) {
|
|
|
33403
33388
|
const remaining = totalLines - previewCount;
|
|
33404
33389
|
if (remaining > 0) {
|
|
33405
33390
|
lines.push(
|
|
33406
|
-
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (
|
|
33391
|
+
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
|
|
33407
33392
|
);
|
|
33408
33393
|
}
|
|
33409
33394
|
}
|
|
@@ -33436,7 +33421,7 @@ function formatEditDiff(input, verbose) {
|
|
|
33436
33421
|
const remainingOld = oldLines.length - previewLimit;
|
|
33437
33422
|
if (remainingOld > 0) {
|
|
33438
33423
|
lines.push(
|
|
33439
|
-
` ${source_default.dim(`\u2026 +${remainingOld} ${pluralize(remainingOld, "line", "lines")} (
|
|
33424
|
+
` ${source_default.dim(`\u2026 +${remainingOld} ${pluralize(remainingOld, "line", "lines")} (zero logs <runId> to see all)`)}`
|
|
33440
33425
|
);
|
|
33441
33426
|
}
|
|
33442
33427
|
for (let i = 0; i < showNew; i++) {
|
|
@@ -33445,7 +33430,7 @@ function formatEditDiff(input, verbose) {
|
|
|
33445
33430
|
const remainingNew = newLines.length - previewLimit;
|
|
33446
33431
|
if (remainingNew > 0) {
|
|
33447
33432
|
lines.push(
|
|
33448
|
-
` ${source_default.dim(`\u2026 +${remainingNew} ${pluralize(remainingNew, "line", "lines")} (
|
|
33433
|
+
` ${source_default.dim(`\u2026 +${remainingNew} ${pluralize(remainingNew, "line", "lines")} (zero logs <runId> to see all)`)}`
|
|
33449
33434
|
);
|
|
33450
33435
|
}
|
|
33451
33436
|
}
|
|
@@ -33475,7 +33460,7 @@ function formatTodoList(input) {
|
|
|
33475
33460
|
const remaining = todos.length - MAX_FORMATTED_TODOS;
|
|
33476
33461
|
if (remaining > 0) {
|
|
33477
33462
|
lines.push(
|
|
33478
|
-
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "task", "tasks")} (
|
|
33463
|
+
` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "task", "tasks")} (zero logs <runId> to see all)`)}`
|
|
33479
33464
|
);
|
|
33480
33465
|
}
|
|
33481
33466
|
return lines;
|
|
@@ -33537,7 +33522,7 @@ var EventRenderer = class _EventRenderer {
|
|
|
33537
33522
|
if (info.sandboxId) {
|
|
33538
33523
|
console.log(` Sandbox: ${source_default.dim(info.sandboxId)}`);
|
|
33539
33524
|
}
|
|
33540
|
-
console.log(source_default.dim(` (use "
|
|
33525
|
+
console.log(source_default.dim(` (use "zero logs ${info.runId}" to view logs)`));
|
|
33541
33526
|
console.log();
|
|
33542
33527
|
}
|
|
33543
33528
|
/**
|
|
@@ -33636,9 +33621,7 @@ var EventRenderer = class _EventRenderer {
|
|
|
33636
33621
|
} else {
|
|
33637
33622
|
console.error(` Error: ${source_default.red(errorText)}`);
|
|
33638
33623
|
}
|
|
33639
|
-
console.error(
|
|
33640
|
-
source_default.dim(` (use "vm0 logs ${runId} --system" to view system logs)`)
|
|
33641
|
-
);
|
|
33624
|
+
console.error(source_default.dim(` (use "zero logs ${runId}" to view agent logs)`));
|
|
33642
33625
|
}
|
|
33643
33626
|
/**
|
|
33644
33627
|
* Handle tool_use event - buffer it for later grouping with result (when buffered)
|
|
@@ -34125,9 +34108,7 @@ function renderTerminalRunResult(runId, run) {
|
|
|
34125
34108
|
}
|
|
34126
34109
|
if (run.status === "timeout") {
|
|
34127
34110
|
console.error(source_default.red("\n\u2717 Run timed out"));
|
|
34128
|
-
console.error(
|
|
34129
|
-
source_default.dim(` (use "vm0 logs ${runId} --system" to view system logs)`)
|
|
34130
|
-
);
|
|
34111
|
+
console.error(source_default.dim(` (use "zero logs ${runId}" to view logs)`));
|
|
34131
34112
|
return { succeeded: false, runId };
|
|
34132
34113
|
}
|
|
34133
34114
|
console.error(source_default.yellow("\n\u2717 Run cancelled"));
|
|
@@ -34214,7 +34195,7 @@ function showNextSteps(result) {
|
|
|
34214
34195
|
const { runId, sessionId, checkpointId } = result;
|
|
34215
34196
|
console.log();
|
|
34216
34197
|
console.log(" View agent logs:");
|
|
34217
|
-
console.log(source_default.cyan(`
|
|
34198
|
+
console.log(source_default.cyan(` zero logs ${runId}`));
|
|
34218
34199
|
if (sessionId) {
|
|
34219
34200
|
console.log(" Continue with session (latest conversation and artifact):");
|
|
34220
34201
|
console.log(
|
|
@@ -34315,67 +34296,6 @@ function isValidTimestamp(timestamp) {
|
|
|
34315
34296
|
return Number.isSafeInteger(timestamp) && Math.abs(timestamp) <= MAX_DATE_TIMESTAMP_MS;
|
|
34316
34297
|
}
|
|
34317
34298
|
|
|
34318
|
-
// src/lib/utils/log-pagination.ts
|
|
34319
|
-
init_esm_shims();
|
|
34320
|
-
function parsePositiveLogCount(value, optionName) {
|
|
34321
|
-
const trimmed = value.trim();
|
|
34322
|
-
if (!/^0*[1-9]\d*$/.test(trimmed)) {
|
|
34323
|
-
throw new Error(`Option ${optionName} must be a positive integer`);
|
|
34324
|
-
}
|
|
34325
|
-
const count = Number(trimmed);
|
|
34326
|
-
if (!Number.isSafeInteger(count)) {
|
|
34327
|
-
throw new Error(`Option ${optionName} must be a positive integer`);
|
|
34328
|
-
}
|
|
34329
|
-
return count;
|
|
34330
|
-
}
|
|
34331
|
-
function parseBoundedLogCount(value, optionName, min, max) {
|
|
34332
|
-
const trimmed = value.trim();
|
|
34333
|
-
if (!/^\d+$/.test(trimmed)) {
|
|
34334
|
-
throw new Error(`${optionName} must be between ${min} and ${max}`);
|
|
34335
|
-
}
|
|
34336
|
-
const count = Number(trimmed);
|
|
34337
|
-
if (!Number.isSafeInteger(count) || count < min || count > max) {
|
|
34338
|
-
throw new Error(`${optionName} must be between ${min} and ${max}`);
|
|
34339
|
-
}
|
|
34340
|
-
return count;
|
|
34341
|
-
}
|
|
34342
|
-
async function collectLogItems(options) {
|
|
34343
|
-
const collected = [];
|
|
34344
|
-
const seenCursors = /* @__PURE__ */ new Set();
|
|
34345
|
-
let cursor2;
|
|
34346
|
-
while (true) {
|
|
34347
|
-
const requestLimit = options.targetCount === "all" ? options.pageLimit : Math.min(options.pageLimit, options.targetCount - collected.length);
|
|
34348
|
-
const page = await options.fetchPage({
|
|
34349
|
-
sinceTime: options.sinceTime,
|
|
34350
|
-
cursor: cursor2,
|
|
34351
|
-
limit: requestLimit,
|
|
34352
|
-
order: options.order
|
|
34353
|
-
});
|
|
34354
|
-
collected.push(...page.items);
|
|
34355
|
-
if (options.targetCount !== "all" && collected.length >= options.targetCount) {
|
|
34356
|
-
break;
|
|
34357
|
-
}
|
|
34358
|
-
const nextCursor = page.nextCursor ?? null;
|
|
34359
|
-
if (!page.hasMore || !nextCursor || seenCursors.has(nextCursor)) {
|
|
34360
|
-
break;
|
|
34361
|
-
}
|
|
34362
|
-
seenCursors.add(nextCursor);
|
|
34363
|
-
cursor2 = nextCursor;
|
|
34364
|
-
}
|
|
34365
|
-
const entries = options.targetCount === "all" ? collected : collected.slice(0, options.targetCount);
|
|
34366
|
-
return options.order === "desc" ? entries.reverse() : entries;
|
|
34367
|
-
}
|
|
34368
|
-
|
|
34369
|
-
// src/lib/utils/search-query.ts
|
|
34370
|
-
init_esm_shims();
|
|
34371
|
-
function parseSearchQuery(value, label) {
|
|
34372
|
-
const trimmed = value.trim();
|
|
34373
|
-
if (!trimmed) {
|
|
34374
|
-
throw new Error(`${label} cannot be empty.`);
|
|
34375
|
-
}
|
|
34376
|
-
return trimmed;
|
|
34377
|
-
}
|
|
34378
|
-
|
|
34379
34299
|
export {
|
|
34380
34300
|
require_dist,
|
|
34381
34301
|
extractAndGroupVariables,
|
|
@@ -34398,10 +34318,6 @@ export {
|
|
|
34398
34318
|
renderRunCreated,
|
|
34399
34319
|
pollEvents,
|
|
34400
34320
|
showNextSteps,
|
|
34401
|
-
parseTime
|
|
34402
|
-
parsePositiveLogCount,
|
|
34403
|
-
parseBoundedLogCount,
|
|
34404
|
-
collectLogItems,
|
|
34405
|
-
parseSearchQuery
|
|
34321
|
+
parseTime
|
|
34406
34322
|
};
|
|
34407
|
-
//# sourceMappingURL=chunk-
|
|
34323
|
+
//# sourceMappingURL=chunk-MBYTQ3JJ.js.map
|