@vm0/cli 9.244.5 → 9.244.7
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-2TIFNP32.js} +7 -7
- package/{banking-U5U2G6QH.js → banking-UR7XJI3L.js} +3 -3
- package/{chat-BGF7IB3O.js → chat-5N4C3FDV.js} +4 -4
- package/{chunk-UEGRDQR3.js → chunk-26BGLMA3.js} +4 -32
- package/chunk-26BGLMA3.js.map +1 -0
- package/{chunk-ZMTKJ4VW.js → chunk-5QJVQEHO.js} +69 -6
- package/chunk-5QJVQEHO.js.map +1 -0
- package/{chunk-SBH7L4UT.js → chunk-7KSTVBNN.js} +4 -4
- package/{chunk-624QMD56.js → chunk-BIJC6U3G.js} +2 -2
- package/{chunk-KS62N6VR.js → chunk-E32I3TNQ.js} +26 -129
- package/chunk-E32I3TNQ.js.map +1 -0
- package/{chunk-4V373IPM.js → chunk-JWDLLCI3.js} +2 -2
- package/{chunk-PBFD5MP4.js → chunk-M6GLCPCJ.js} +3 -3
- package/{chunk-VUUGKMER.js → chunk-NR6ANGRK.js} +41 -245
- package/chunk-NR6ANGRK.js.map +1 -0
- package/{chunk-NOUED6XP.js → chunk-QCG2H3VD.js} +2 -2
- package/{chunk-MKPBFN7W.js → chunk-STMJYQTH.js} +2 -2
- package/chunk-ZUSDQG2O.js +50 -0
- package/chunk-ZUSDQG2O.js.map +1 -0
- package/{computer-use-F4VFLO6X.js → computer-use-3WUKJYHK.js} +3 -3
- package/{connector-SWU3H7YL.js → connector-PDEOFNTE.js} +9 -21
- package/connector-PDEOFNTE.js.map +1 -0
- package/{credit-ZMXGA5CQ.js → credit-ET4RS32X.js} +4 -4
- package/{developer-support-IOTX3JWR.js → developer-support-3DJEJT2A.js} +3 -3
- package/{doctor-DTMFWDXL.js → doctor-F7OWYXXH.js} +3 -3
- package/{generate-IQUCOIYW.js → generate-4GKWSL6P.js} +4 -4
- package/{github-AJT3E56L.js → github-S5HFK2IC.js} +3 -3
- package/{goal-NCK5T57P.js → goal-ISJWIT2Q.js} +3 -3
- package/{host-BRKGWZLP.js → host-T52XQ2SZ.js} +4 -5
- package/{host-BRKGWZLP.js.map → host-T52XQ2SZ.js.map} +1 -1
- package/index.js +12 -2040
- package/index.js.map +1 -1
- package/{logs-WZVT4BS7.js → logs-D4IL5OLR.js} +8 -8
- package/{mail-QS4HABXH.js → mail-JXO3GW72.js} +5 -5
- package/{maps-3X6V34JQ.js → maps-T3YFBRLP.js} +3 -3
- package/{model-6ETRDASM.js → model-GJRTV6E5.js} +4 -4
- package/{model-provider-XEKOLWZY.js → model-provider-T4VN4HNU.js} +4 -4
- package/{org-DKGPME4L.js → org-GNNU77Y5.js} +3 -3
- package/package.json +1 -1
- package/{phone-6455TFON.js → phone-EQ4R2GBO.js} +3 -3
- package/{preference-2XMANS52.js → preference-3FHEQPKG.js} +3 -3
- package/{chunk-CK6ATTWW.js → resource-EOO2VATC.js} +133 -4
- package/resource-EOO2VATC.js.map +1 -0
- package/{scrape-CIP2FZED.js → scrape-TZCFJY6X.js} +3 -3
- package/{search-GCQ55FYS.js → search-RXP4DMUC.js} +7 -7
- package/{secret-NVLEVYXQ.js → secret-S4ZCVY2X.js} +3 -3
- package/{slack-EGYW76W2.js → slack-7YJFUJE6.js} +3 -3
- package/{teams-2D63XX2R.js → teams-45MMUROF.js} +3 -3
- package/{telegram-GQARG3MD.js → telegram-7ZCSI24W.js} +3 -3
- package/{variable-WMKLX7TF.js → variable-O33TDP4J.js} +3 -3
- package/{video-NAUNUYGP.js → video-D5LSABFJ.js} +2 -2
- package/{web-7U3YS3KP.js → web-JW7AH2UT.js} +3 -3
- package/{web-search-EIO3GVKH.js → web-search-MHFQFZS6.js} +3 -3
- package/{whoami-QZJAGTDW.js → whoami-5DJLOQUZ.js} +5 -5
- package/{workflow-RMJIYOUB.js → workflow-TXG3RBJR.js} +3 -3
- package/zero.js +35 -35
- package/chunk-CK6ATTWW.js.map +0 -1
- package/chunk-KS62N6VR.js.map +0 -1
- package/chunk-T6TZMDU6.js +0 -132
- package/chunk-T6TZMDU6.js.map +0 -1
- package/chunk-UEGRDQR3.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/resource-MIFLTTK6.js +0 -143
- package/resource-MIFLTTK6.js.map +0 -1
- /package/{agent-NQVS6VCY.js.map → agent-2TIFNP32.js.map} +0 -0
- /package/{banking-U5U2G6QH.js.map → banking-UR7XJI3L.js.map} +0 -0
- /package/{chat-BGF7IB3O.js.map → chat-5N4C3FDV.js.map} +0 -0
- /package/{chunk-SBH7L4UT.js.map → chunk-7KSTVBNN.js.map} +0 -0
- /package/{chunk-624QMD56.js.map → chunk-BIJC6U3G.js.map} +0 -0
- /package/{chunk-4V373IPM.js.map → chunk-JWDLLCI3.js.map} +0 -0
- /package/{chunk-PBFD5MP4.js.map → chunk-M6GLCPCJ.js.map} +0 -0
- /package/{chunk-NOUED6XP.js.map → chunk-QCG2H3VD.js.map} +0 -0
- /package/{chunk-MKPBFN7W.js.map → chunk-STMJYQTH.js.map} +0 -0
- /package/{computer-use-F4VFLO6X.js.map → computer-use-3WUKJYHK.js.map} +0 -0
- /package/{credit-ZMXGA5CQ.js.map → credit-ET4RS32X.js.map} +0 -0
- /package/{developer-support-IOTX3JWR.js.map → developer-support-3DJEJT2A.js.map} +0 -0
- /package/{doctor-DTMFWDXL.js.map → doctor-F7OWYXXH.js.map} +0 -0
- /package/{generate-IQUCOIYW.js.map → generate-4GKWSL6P.js.map} +0 -0
- /package/{github-AJT3E56L.js.map → github-S5HFK2IC.js.map} +0 -0
- /package/{goal-NCK5T57P.js.map → goal-ISJWIT2Q.js.map} +0 -0
- /package/{logs-WZVT4BS7.js.map → logs-D4IL5OLR.js.map} +0 -0
- /package/{mail-QS4HABXH.js.map → mail-JXO3GW72.js.map} +0 -0
- /package/{maps-3X6V34JQ.js.map → maps-T3YFBRLP.js.map} +0 -0
- /package/{model-6ETRDASM.js.map → model-GJRTV6E5.js.map} +0 -0
- /package/{model-provider-XEKOLWZY.js.map → model-provider-T4VN4HNU.js.map} +0 -0
- /package/{org-DKGPME4L.js.map → org-GNNU77Y5.js.map} +0 -0
- /package/{phone-6455TFON.js.map → phone-EQ4R2GBO.js.map} +0 -0
- /package/{preference-2XMANS52.js.map → preference-3FHEQPKG.js.map} +0 -0
- /package/{scrape-CIP2FZED.js.map → scrape-TZCFJY6X.js.map} +0 -0
- /package/{search-GCQ55FYS.js.map → search-RXP4DMUC.js.map} +0 -0
- /package/{secret-NVLEVYXQ.js.map → secret-S4ZCVY2X.js.map} +0 -0
- /package/{slack-EGYW76W2.js.map → slack-7YJFUJE6.js.map} +0 -0
- /package/{teams-2D63XX2R.js.map → teams-45MMUROF.js.map} +0 -0
- /package/{telegram-GQARG3MD.js.map → telegram-7ZCSI24W.js.map} +0 -0
- /package/{variable-WMKLX7TF.js.map → variable-O33TDP4J.js.map} +0 -0
- /package/{video-NAUNUYGP.js.map → video-D5LSABFJ.js.map} +0 -0
- /package/{web-7U3YS3KP.js.map → web-JW7AH2UT.js.map} +0 -0
- /package/{web-search-EIO3GVKH.js.map → web-search-MHFQFZS6.js.map} +0 -0
- /package/{whoami-QZJAGTDW.js.map → whoami-5DJLOQUZ.js.map} +0 -0
- /package/{workflow-RMJIYOUB.js.map → workflow-TXG3RBJR.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
MODEL_PROVIDER_TYPES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-26BGLMA3.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
formatModelProviderRoute,
|
|
41
41
|
formatModelPolicyStatus
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-JWDLLCI3.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.7",
|
|
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.7",
|
|
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-M6GLCPCJ.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateOrgModelPoliciesRequestSchema,
|
|
23
23
|
upsertModelProviderRequestSchema,
|
|
24
24
|
upsertModelProviderResponseSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-26BGLMA3.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__esm,
|
|
@@ -3058,9 +3058,6 @@ function createLogPaginationQuerySchema(options) {
|
|
|
3058
3058
|
}
|
|
3059
3059
|
});
|
|
3060
3060
|
}
|
|
3061
|
-
var sequenceLogPaginationQuerySchema = createLogPaginationQuerySchema({
|
|
3062
|
-
cursorKind: "sequence"
|
|
3063
|
-
});
|
|
3064
3061
|
var timeLogPaginationQuerySchema = createLogPaginationQuerySchema({
|
|
3065
3062
|
cursorKind: "time"
|
|
3066
3063
|
});
|
|
@@ -3195,50 +3192,6 @@ var runMetricsContract = c13.router({
|
|
|
3195
3192
|
summary: "Get metrics with pagination"
|
|
3196
3193
|
}
|
|
3197
3194
|
});
|
|
3198
|
-
var runAgentEventsContract = c13.router({
|
|
3199
|
-
/**
|
|
3200
|
-
* GET /api/agent/runs/:id/telemetry/agent
|
|
3201
|
-
* Get agent events with pagination (for vm0 logs default)
|
|
3202
|
-
*/
|
|
3203
|
-
getAgentEvents: {
|
|
3204
|
-
method: "GET",
|
|
3205
|
-
path: "/api/agent/runs/:id/telemetry/agent",
|
|
3206
|
-
headers: authHeadersSchema,
|
|
3207
|
-
pathParams: external_exports.object({
|
|
3208
|
-
id: external_exports.uuid("Run ID must be a valid UUID")
|
|
3209
|
-
}),
|
|
3210
|
-
query: sequenceLogPaginationQuerySchema,
|
|
3211
|
-
responses: {
|
|
3212
|
-
200: agentEventsResponseSchema,
|
|
3213
|
-
400: apiErrorSchema,
|
|
3214
|
-
401: apiErrorSchema,
|
|
3215
|
-
404: apiErrorSchema
|
|
3216
|
-
},
|
|
3217
|
-
summary: "Get agent events with pagination"
|
|
3218
|
-
}
|
|
3219
|
-
});
|
|
3220
|
-
var runNetworkLogsContract = c13.router({
|
|
3221
|
-
/**
|
|
3222
|
-
* GET /api/agent/runs/:id/telemetry/network
|
|
3223
|
-
* Get network logs with pagination (for vm0 logs --network)
|
|
3224
|
-
*/
|
|
3225
|
-
getNetworkLogs: {
|
|
3226
|
-
method: "GET",
|
|
3227
|
-
path: "/api/agent/runs/:id/telemetry/network",
|
|
3228
|
-
headers: authHeadersSchema,
|
|
3229
|
-
pathParams: external_exports.object({
|
|
3230
|
-
id: external_exports.uuid("Run ID must be a valid UUID")
|
|
3231
|
-
}),
|
|
3232
|
-
query: timeLogPaginationQuerySchema,
|
|
3233
|
-
responses: {
|
|
3234
|
-
200: networkLogsResponseSchema,
|
|
3235
|
-
400: apiErrorSchema,
|
|
3236
|
-
401: apiErrorSchema,
|
|
3237
|
-
404: apiErrorSchema
|
|
3238
|
-
},
|
|
3239
|
-
summary: "Get network logs with pagination"
|
|
3240
|
-
}
|
|
3241
|
-
});
|
|
3242
3195
|
var searchResultSchema = external_exports.object({
|
|
3243
3196
|
runId: external_exports.string(),
|
|
3244
3197
|
agentName: external_exports.string(),
|
|
@@ -3260,24 +3213,6 @@ var logsSearchQuerySchema = external_exports.object({
|
|
|
3260
3213
|
before: boundedIntegerQueryNumberSchema(0, 10).default(0),
|
|
3261
3214
|
after: boundedIntegerQueryNumberSchema(0, 10).default(0)
|
|
3262
3215
|
});
|
|
3263
|
-
var logsSearchContract = c13.router({
|
|
3264
|
-
/**
|
|
3265
|
-
* GET /api/logs/search
|
|
3266
|
-
* Search agent events across runs using keyword matching
|
|
3267
|
-
*/
|
|
3268
|
-
searchLogs: {
|
|
3269
|
-
method: "GET",
|
|
3270
|
-
path: "/api/logs/search",
|
|
3271
|
-
headers: authHeadersSchema,
|
|
3272
|
-
query: logsSearchQuerySchema,
|
|
3273
|
-
responses: {
|
|
3274
|
-
200: logsSearchResponseSchema,
|
|
3275
|
-
400: apiErrorSchema,
|
|
3276
|
-
401: apiErrorSchema
|
|
3277
|
-
},
|
|
3278
|
-
summary: "Search agent events across runs"
|
|
3279
|
-
}
|
|
3280
|
-
});
|
|
3281
3216
|
var queueEntrySchema = external_exports.object({
|
|
3282
3217
|
position: external_exports.number(),
|
|
3283
3218
|
agentName: external_exports.string().nullable(),
|
|
@@ -3732,6 +3667,32 @@ var generationTemplateRequestSchema = external_exports.discriminatedUnion("type"
|
|
|
3732
3667
|
workflowGenerationTemplateRequestSchema,
|
|
3733
3668
|
websiteGenerationTemplateRequestSchema
|
|
3734
3669
|
]);
|
|
3670
|
+
var userMessagePartSchema = external_exports.discriminatedUnion("type", [
|
|
3671
|
+
external_exports.object({
|
|
3672
|
+
type: external_exports.literal("text"),
|
|
3673
|
+
text: external_exports.string().min(1)
|
|
3674
|
+
}).strict(),
|
|
3675
|
+
external_exports.object({
|
|
3676
|
+
type: external_exports.literal("chat_thread"),
|
|
3677
|
+
threadId: external_exports.string().uuid(),
|
|
3678
|
+
titleSnapshot: external_exports.string().min(1)
|
|
3679
|
+
}).strict(),
|
|
3680
|
+
external_exports.object({
|
|
3681
|
+
type: external_exports.literal("template"),
|
|
3682
|
+
titleSnapshot: external_exports.string().min(1),
|
|
3683
|
+
template: generationTemplateRequestSchema
|
|
3684
|
+
}).strict(),
|
|
3685
|
+
external_exports.object({
|
|
3686
|
+
type: external_exports.literal("file"),
|
|
3687
|
+
fileId: external_exports.string().min(1),
|
|
3688
|
+
filenameSnapshot: external_exports.string().min(1),
|
|
3689
|
+
contentType: external_exports.string().min(1)
|
|
3690
|
+
}).strict()
|
|
3691
|
+
]);
|
|
3692
|
+
var userMessageDocumentSchema = external_exports.object({
|
|
3693
|
+
version: external_exports.literal(1),
|
|
3694
|
+
parts: external_exports.array(userMessagePartSchema).min(1)
|
|
3695
|
+
}).strict();
|
|
3735
3696
|
var workflowSnapshotSchema = external_exports.object({
|
|
3736
3697
|
id: external_exports.string().uuid().optional(),
|
|
3737
3698
|
agentId: external_exports.string().uuid().optional(),
|
|
@@ -3779,7 +3740,8 @@ var chatMessageRecommendedFollowupsSchema = external_exports.preprocess((value)
|
|
|
3779
3740
|
}, external_exports.array(chatMessageRecommendedFollowupSchema));
|
|
3780
3741
|
var pagedChatMessageSchema = external_exports.discriminatedUnion("role", [
|
|
3781
3742
|
pagedChatMessageBaseSchema.extend({
|
|
3782
|
-
role: external_exports.literal("user")
|
|
3743
|
+
role: external_exports.literal("user"),
|
|
3744
|
+
structuredPrompt: userMessageDocumentSchema.optional()
|
|
3783
3745
|
}).strict(),
|
|
3784
3746
|
pagedChatMessageBaseSchema.extend({
|
|
3785
3747
|
role: external_exports.literal("assistant"),
|
|
@@ -3804,6 +3766,7 @@ var chatThreadMetadataSchema = external_exports.object({
|
|
|
3804
3766
|
});
|
|
3805
3767
|
var chatThreadDraftSchema = external_exports.object({
|
|
3806
3768
|
draftContent: external_exports.string().nullable(),
|
|
3769
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
3807
3770
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable()
|
|
3808
3771
|
});
|
|
3809
3772
|
var selectedModelRequestSchema = external_exports.string().min(1).superRefine((value, ctx) => {
|
|
@@ -3889,6 +3852,7 @@ var chatMessageNormalSendBodySchema = external_exports.preprocess(
|
|
|
3889
3852
|
*/
|
|
3890
3853
|
model: selectedModelRequestSchema.optional(),
|
|
3891
3854
|
runOptions: chatRunOptionsRequestSchema.optional(),
|
|
3855
|
+
structuredPrompt: userMessageDocumentSchema.optional(),
|
|
3892
3856
|
generationTemplate: generationTemplateRequestSchema.optional(),
|
|
3893
3857
|
computerUseHostId: external_exports.string().uuid().nullable().optional(),
|
|
3894
3858
|
// Optional for backward compatibility: older clients that omit this field
|
|
@@ -3977,7 +3941,8 @@ var chatThreadsContract = c15.router({
|
|
|
3977
3941
|
200: external_exports.object({
|
|
3978
3942
|
/**
|
|
3979
3943
|
* Thread ids owned by the caller that currently hold an unsent draft
|
|
3980
|
-
* (non-empty `draftContent
|
|
3944
|
+
* (non-empty `draftContent`, a structured prompt, or one+
|
|
3945
|
+
* `draftAttachments`).
|
|
3981
3946
|
*/
|
|
3982
3947
|
draftThreadIds: external_exports.array(external_exports.string())
|
|
3983
3948
|
}),
|
|
@@ -4038,6 +4003,7 @@ var chatThreadByIdContract = c15.router({
|
|
|
4038
4003
|
pathParams: chatThreadIdPathParamsSchema,
|
|
4039
4004
|
body: external_exports.object({
|
|
4040
4005
|
draftContent: external_exports.string().nullable().optional(),
|
|
4006
|
+
draftStructuredPrompt: userMessageDocumentSchema.nullable().optional(),
|
|
4041
4007
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable().optional()
|
|
4042
4008
|
}),
|
|
4043
4009
|
responses: {
|
|
@@ -4246,6 +4212,7 @@ var chatMessagesContract = c15.router({
|
|
|
4246
4212
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4247
4213
|
model: external_exports.undefined().optional(),
|
|
4248
4214
|
runOptions: external_exports.undefined().optional(),
|
|
4215
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4249
4216
|
generationTemplate: external_exports.undefined().optional(),
|
|
4250
4217
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4251
4218
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -4264,6 +4231,7 @@ var chatMessagesContract = c15.router({
|
|
|
4264
4231
|
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4265
4232
|
model: external_exports.undefined().optional(),
|
|
4266
4233
|
runOptions: external_exports.undefined().optional(),
|
|
4234
|
+
structuredPrompt: external_exports.undefined().optional(),
|
|
4267
4235
|
generationTemplate: external_exports.undefined().optional(),
|
|
4268
4236
|
computerUseHostId: external_exports.undefined().optional(),
|
|
4269
4237
|
hasTextContent: external_exports.undefined().optional(),
|
|
@@ -5139,15 +5107,6 @@ var connectorProvidedBindingSchema = external_exports.object({
|
|
|
5139
5107
|
optional: external_exports.boolean(),
|
|
5140
5108
|
source: connectorProvidedBindingSourceSchema
|
|
5141
5109
|
});
|
|
5142
|
-
function guaranteedConnectorProvidedBindingNames(args) {
|
|
5143
|
-
const names = /* @__PURE__ */ new Set();
|
|
5144
|
-
for (const binding of args.bindings) {
|
|
5145
|
-
if (binding.namespace === args.namespace && !binding.optional) {
|
|
5146
|
-
names.add(binding.name);
|
|
5147
|
-
}
|
|
5148
|
-
}
|
|
5149
|
-
return names;
|
|
5150
|
-
}
|
|
5151
5110
|
var connectorListResponseSchema = external_exports.object({
|
|
5152
5111
|
connectors: external_exports.array(connectorResponseSchema),
|
|
5153
5112
|
configuredTypes: external_exports.array(connectorCatalogRefSchema),
|
|
@@ -9497,17 +9456,6 @@ async function getComposeVersion(composeId, version) {
|
|
|
9497
9456
|
}
|
|
9498
9457
|
handleError(result, `Version not found: ${version}`);
|
|
9499
9458
|
}
|
|
9500
|
-
async function createOrUpdateCompose(body) {
|
|
9501
|
-
const config = await getClientConfig();
|
|
9502
|
-
const client = initClient(composesMainContract, config);
|
|
9503
|
-
const result = await client.create({
|
|
9504
|
-
body
|
|
9505
|
-
});
|
|
9506
|
-
if (result.status === 200 || result.status === 201) {
|
|
9507
|
-
return result.body;
|
|
9508
|
-
}
|
|
9509
|
-
handleError(result, "Failed to create compose");
|
|
9510
|
-
}
|
|
9511
9459
|
|
|
9512
9460
|
// src/lib/api/domains/runs.ts
|
|
9513
9461
|
init_esm_shims();
|
|
@@ -9676,51 +9624,6 @@ async function getCheckpoint(checkpointId) {
|
|
|
9676
9624
|
handleError(result, `Checkpoint not found: ${checkpointId}`);
|
|
9677
9625
|
}
|
|
9678
9626
|
|
|
9679
|
-
// src/lib/api/domains/storages.ts
|
|
9680
|
-
init_esm_shims();
|
|
9681
|
-
async function prepareStorage(body) {
|
|
9682
|
-
const config = await getClientConfig();
|
|
9683
|
-
const client = initClient(storagesPrepareContract, config);
|
|
9684
|
-
const result = await client.prepare({ body });
|
|
9685
|
-
if (result.status === 200) {
|
|
9686
|
-
return result.body;
|
|
9687
|
-
}
|
|
9688
|
-
handleError(result, "Failed to prepare storage");
|
|
9689
|
-
}
|
|
9690
|
-
async function commitStorage(body) {
|
|
9691
|
-
const config = await getClientConfig();
|
|
9692
|
-
const client = initClient(storagesCommitContract, config);
|
|
9693
|
-
const result = await client.commit({ body });
|
|
9694
|
-
if (result.status === 200) {
|
|
9695
|
-
return result.body;
|
|
9696
|
-
}
|
|
9697
|
-
handleError(result, "Failed to commit storage");
|
|
9698
|
-
}
|
|
9699
|
-
async function getStorageDownload(query) {
|
|
9700
|
-
const config = await getClientConfig();
|
|
9701
|
-
const client = initClient(storagesDownloadContract, config);
|
|
9702
|
-
const result = await client.download({
|
|
9703
|
-
query: {
|
|
9704
|
-
name: query.name,
|
|
9705
|
-
type: query.type,
|
|
9706
|
-
version: query.version
|
|
9707
|
-
}
|
|
9708
|
-
});
|
|
9709
|
-
if (result.status === 200) {
|
|
9710
|
-
return result.body;
|
|
9711
|
-
}
|
|
9712
|
-
handleError(result, `Storage "${query.name}" not found`);
|
|
9713
|
-
}
|
|
9714
|
-
async function listStorages(query) {
|
|
9715
|
-
const config = await getClientConfig();
|
|
9716
|
-
const client = initClient(storagesListContract, config);
|
|
9717
|
-
const result = await client.list({ query });
|
|
9718
|
-
if (result.status === 200) {
|
|
9719
|
-
return result.body;
|
|
9720
|
-
}
|
|
9721
|
-
handleError(result, `Failed to list ${query.type}s`);
|
|
9722
|
-
}
|
|
9723
|
-
|
|
9724
9627
|
// src/lib/api/domains/zero-secrets.ts
|
|
9725
9628
|
init_esm_shims();
|
|
9726
9629
|
|
|
@@ -12302,100 +12205,6 @@ async function searchZeroLogs(options) {
|
|
|
12302
12205
|
handleError(result, "Failed to search zero logs");
|
|
12303
12206
|
}
|
|
12304
12207
|
|
|
12305
|
-
// src/lib/api/domains/logs.ts
|
|
12306
|
-
init_esm_shims();
|
|
12307
|
-
async function getSystemLog(runId, options) {
|
|
12308
|
-
const config = await getClientConfig();
|
|
12309
|
-
const client = initClient(runSystemLogContract, config);
|
|
12310
|
-
const result = await client.getSystemLog({
|
|
12311
|
-
params: { id: runId },
|
|
12312
|
-
query: {
|
|
12313
|
-
since: options?.since,
|
|
12314
|
-
sinceTime: options?.sinceTime,
|
|
12315
|
-
cursor: options?.cursor,
|
|
12316
|
-
limit: options?.limit,
|
|
12317
|
-
order: options?.order
|
|
12318
|
-
}
|
|
12319
|
-
});
|
|
12320
|
-
if (result.status === 200) {
|
|
12321
|
-
return result.body;
|
|
12322
|
-
}
|
|
12323
|
-
handleError(result, "Failed to fetch system log");
|
|
12324
|
-
}
|
|
12325
|
-
async function getMetrics(runId, options) {
|
|
12326
|
-
const config = await getClientConfig();
|
|
12327
|
-
const client = initClient(runMetricsContract, config);
|
|
12328
|
-
const result = await client.getMetrics({
|
|
12329
|
-
params: { id: runId },
|
|
12330
|
-
query: {
|
|
12331
|
-
since: options?.since,
|
|
12332
|
-
sinceTime: options?.sinceTime,
|
|
12333
|
-
cursor: options?.cursor,
|
|
12334
|
-
limit: options?.limit,
|
|
12335
|
-
order: options?.order
|
|
12336
|
-
}
|
|
12337
|
-
});
|
|
12338
|
-
if (result.status === 200) {
|
|
12339
|
-
return result.body;
|
|
12340
|
-
}
|
|
12341
|
-
handleError(result, "Failed to fetch metrics");
|
|
12342
|
-
}
|
|
12343
|
-
async function getAgentEvents(runId, options) {
|
|
12344
|
-
const config = await getClientConfig();
|
|
12345
|
-
const client = initClient(runAgentEventsContract, config);
|
|
12346
|
-
const result = await client.getAgentEvents({
|
|
12347
|
-
params: { id: runId },
|
|
12348
|
-
query: {
|
|
12349
|
-
since: options?.since,
|
|
12350
|
-
sinceTime: options?.sinceTime,
|
|
12351
|
-
cursor: options?.cursor,
|
|
12352
|
-
limit: options?.limit,
|
|
12353
|
-
order: options?.order
|
|
12354
|
-
}
|
|
12355
|
-
});
|
|
12356
|
-
if (result.status === 200) {
|
|
12357
|
-
return result.body;
|
|
12358
|
-
}
|
|
12359
|
-
handleError(result, "Failed to fetch agent events");
|
|
12360
|
-
}
|
|
12361
|
-
async function getNetworkLogs(runId, options) {
|
|
12362
|
-
const config = await getClientConfig();
|
|
12363
|
-
const client = initClient(runNetworkLogsContract, config);
|
|
12364
|
-
const result = await client.getNetworkLogs({
|
|
12365
|
-
params: { id: runId },
|
|
12366
|
-
query: {
|
|
12367
|
-
since: options?.since,
|
|
12368
|
-
sinceTime: options?.sinceTime,
|
|
12369
|
-
cursor: options?.cursor,
|
|
12370
|
-
limit: options?.limit,
|
|
12371
|
-
order: options?.order
|
|
12372
|
-
}
|
|
12373
|
-
});
|
|
12374
|
-
if (result.status === 200) {
|
|
12375
|
-
return result.body;
|
|
12376
|
-
}
|
|
12377
|
-
handleError(result, "Failed to fetch network logs");
|
|
12378
|
-
}
|
|
12379
|
-
async function searchLogs(options) {
|
|
12380
|
-
const config = await getClientConfig();
|
|
12381
|
-
const client = initClient(logsSearchContract, config);
|
|
12382
|
-
const result = await client.searchLogs({
|
|
12383
|
-
query: {
|
|
12384
|
-
keyword: options.keyword,
|
|
12385
|
-
agentId: options.agentId,
|
|
12386
|
-
runId: options.runId,
|
|
12387
|
-
since: options.since,
|
|
12388
|
-
limit: options.limit,
|
|
12389
|
-
before: options.before,
|
|
12390
|
-
after: options.after
|
|
12391
|
-
}
|
|
12392
|
-
});
|
|
12393
|
-
if (result.status === 200) {
|
|
12394
|
-
return result.body;
|
|
12395
|
-
}
|
|
12396
|
-
handleError(result, "Failed to search logs");
|
|
12397
|
-
}
|
|
12398
|
-
|
|
12399
12208
|
// src/lib/api/domains/zero-host.ts
|
|
12400
12209
|
init_esm_shims();
|
|
12401
12210
|
function authHeaders(token, options = {}) {
|
|
@@ -12494,21 +12303,16 @@ async function getHostedSiteFiles(publicSlug) {
|
|
|
12494
12303
|
}
|
|
12495
12304
|
|
|
12496
12305
|
export {
|
|
12497
|
-
|
|
12498
|
-
guaranteedConnectorProvidedBindingNames,
|
|
12306
|
+
authHeadersSchema,
|
|
12499
12307
|
UNKNOWN_PERMISSION_GRANT,
|
|
12500
12308
|
firewallPoliciesSchema,
|
|
12501
|
-
|
|
12309
|
+
directRunModelProviderTypeSchema,
|
|
12310
|
+
ALL_RUN_STATUSES,
|
|
12502
12311
|
runnerGroupSchema,
|
|
12503
|
-
volumeConfigSchema,
|
|
12504
|
-
agentDefinitionSchema,
|
|
12505
12312
|
composeListItemSchema,
|
|
12506
12313
|
getComposeByName,
|
|
12507
12314
|
getComposeById,
|
|
12508
12315
|
getComposeVersion,
|
|
12509
|
-
createOrUpdateCompose,
|
|
12510
|
-
directRunModelProviderTypeSchema,
|
|
12511
|
-
ALL_RUN_STATUSES,
|
|
12512
12316
|
createRun,
|
|
12513
12317
|
getEvents,
|
|
12514
12318
|
listRuns,
|
|
@@ -12516,10 +12320,6 @@ export {
|
|
|
12516
12320
|
cancelRun,
|
|
12517
12321
|
getSession,
|
|
12518
12322
|
getCheckpoint,
|
|
12519
|
-
prepareStorage,
|
|
12520
|
-
commitStorage,
|
|
12521
|
-
getStorageDownload,
|
|
12522
|
-
listStorages,
|
|
12523
12323
|
getRegistryResourceDownload,
|
|
12524
12324
|
getZeroUserPreferences,
|
|
12525
12325
|
updateZeroUserPreferences,
|
|
@@ -12552,6 +12352,7 @@ export {
|
|
|
12552
12352
|
listZeroModelPolicies,
|
|
12553
12353
|
hostedArtifactKindSchema,
|
|
12554
12354
|
zeroAgentVisibilitySchema,
|
|
12355
|
+
connectorCatalogRefSchema,
|
|
12555
12356
|
createZeroAgent,
|
|
12556
12357
|
listZeroAgents,
|
|
12557
12358
|
getZeroAgent,
|
|
@@ -12621,11 +12422,6 @@ export {
|
|
|
12621
12422
|
renameZeroChatThread,
|
|
12622
12423
|
getZeroChatThread,
|
|
12623
12424
|
updateZeroChatThreadModelSelection,
|
|
12624
|
-
getSystemLog,
|
|
12625
|
-
getMetrics,
|
|
12626
|
-
getAgentEvents,
|
|
12627
|
-
getNetworkLogs,
|
|
12628
|
-
searchLogs,
|
|
12629
12425
|
requestDeveloperSupportConsent,
|
|
12630
12426
|
submitDeveloperSupport,
|
|
12631
12427
|
COMPUTER_USE_FILESYSTEM_PLUGIN,
|
|
@@ -12655,4 +12451,4 @@ export {
|
|
|
12655
12451
|
completeHostedSite,
|
|
12656
12452
|
getHostedSiteFiles
|
|
12657
12453
|
};
|
|
12658
|
-
//# sourceMappingURL=chunk-
|
|
12454
|
+
//# sourceMappingURL=chunk-NR6ANGRK.js.map
|