@vm0/cli 9.95.0 → 9.95.1
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/{chunk-RLI2BL4P.js → chunk-WN2AD3KW.js} +29 -4
- package/chunk-WN2AD3KW.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +2 -2
- package/chunk-RLI2BL4P.js.map +0 -1
|
@@ -49,7 +49,7 @@ if (DSN) {
|
|
|
49
49
|
Sentry.init({
|
|
50
50
|
dsn: DSN,
|
|
51
51
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
52
|
-
release: "9.95.
|
|
52
|
+
release: "9.95.1",
|
|
53
53
|
sendDefaultPii: false,
|
|
54
54
|
tracesSampleRate: 0,
|
|
55
55
|
shutdownTimeout: 500,
|
|
@@ -68,7 +68,7 @@ if (DSN) {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("cli", {
|
|
71
|
-
version: "9.95.
|
|
71
|
+
version: "9.95.1",
|
|
72
72
|
command: process.argv.slice(2).join(" ")
|
|
73
73
|
});
|
|
74
74
|
Sentry.setContext("runtime", {
|
|
@@ -852,6 +852,7 @@ var logsListContract = c2.router({
|
|
|
852
852
|
list: {
|
|
853
853
|
method: "GET",
|
|
854
854
|
path: "/api/zero/logs",
|
|
855
|
+
headers: authHeadersSchema,
|
|
855
856
|
query: listQuerySchema.extend({
|
|
856
857
|
search: z5.string().optional(),
|
|
857
858
|
agent: z5.string().optional(),
|
|
@@ -862,7 +863,8 @@ var logsListContract = c2.router({
|
|
|
862
863
|
}),
|
|
863
864
|
responses: {
|
|
864
865
|
200: logsListResponseSchema,
|
|
865
|
-
401: apiErrorSchema
|
|
866
|
+
401: apiErrorSchema,
|
|
867
|
+
403: apiErrorSchema
|
|
866
868
|
},
|
|
867
869
|
summary: "List agent run logs with pagination"
|
|
868
870
|
}
|
|
@@ -878,6 +880,7 @@ var logsByIdContract = c2.router({
|
|
|
878
880
|
responses: {
|
|
879
881
|
200: logDetailSchema,
|
|
880
882
|
401: apiErrorSchema,
|
|
883
|
+
403: apiErrorSchema,
|
|
881
884
|
404: apiErrorSchema
|
|
882
885
|
},
|
|
883
886
|
summary: "Get agent run log details by ID"
|
|
@@ -28201,6 +28204,28 @@ var zeroRunNetworkLogsContract = c25.router({
|
|
|
28201
28204
|
summary: "Get network logs for a run"
|
|
28202
28205
|
}
|
|
28203
28206
|
});
|
|
28207
|
+
var zeroLogsSearchContract = c25.router({
|
|
28208
|
+
searchLogs: {
|
|
28209
|
+
method: "GET",
|
|
28210
|
+
path: "/api/zero/logs/search",
|
|
28211
|
+
headers: authHeadersSchema,
|
|
28212
|
+
query: z31.object({
|
|
28213
|
+
keyword: z31.string().min(1),
|
|
28214
|
+
agent: z31.string().optional(),
|
|
28215
|
+
runId: z31.string().optional(),
|
|
28216
|
+
since: z31.coerce.number().optional(),
|
|
28217
|
+
limit: z31.coerce.number().min(1).max(50).default(20),
|
|
28218
|
+
before: z31.coerce.number().min(0).max(10).default(0),
|
|
28219
|
+
after: z31.coerce.number().min(0).max(10).default(0)
|
|
28220
|
+
}),
|
|
28221
|
+
responses: {
|
|
28222
|
+
200: logsSearchResponseSchema,
|
|
28223
|
+
401: apiErrorSchema,
|
|
28224
|
+
403: apiErrorSchema
|
|
28225
|
+
},
|
|
28226
|
+
summary: "Search agent events across runs (zero proxy)"
|
|
28227
|
+
}
|
|
28228
|
+
});
|
|
28204
28229
|
|
|
28205
28230
|
// ../../packages/core/src/contracts/zero-schedules.ts
|
|
28206
28231
|
import { z as z32 } from "zod";
|
|
@@ -31546,4 +31571,4 @@ export {
|
|
|
31546
31571
|
pollEvents,
|
|
31547
31572
|
showNextSteps
|
|
31548
31573
|
};
|
|
31549
|
-
//# sourceMappingURL=chunk-
|
|
31574
|
+
//# sourceMappingURL=chunk-WN2AD3KW.js.map
|