@vm0/cli 9.94.3 → 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.
@@ -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.94.3",
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.94.3",
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"
@@ -1050,8 +1053,6 @@ var unifiedRunRequestSchema = z8.object({
1050
1053
  memoryName: z8.string().optional(),
1051
1054
  // Debug flag to force real Claude in mock environments (internal use only)
1052
1055
  debugNoMockClaude: z8.boolean().optional(),
1053
- // Model provider for automatic secret injection
1054
- modelProvider: z8.string().optional(),
1055
1056
  // Required
1056
1057
  prompt: z8.string().min(1, "Missing prompt"),
1057
1058
  // Optional system prompt to append to the agent's system prompt
@@ -23962,7 +23963,87 @@ var stravaFirewall = {
23962
23963
  Authorization: "Bearer ${{ secrets.STRAVA_TOKEN }}"
23963
23964
  }
23964
23965
  },
23965
- permissions: []
23966
+ permissions: [
23967
+ {
23968
+ name: "activity:read",
23969
+ rules: [
23970
+ "GET /api/v3/activities/{id}",
23971
+ "GET /api/v3/activities/{id}/comments",
23972
+ "GET /api/v3/activities/{id}/kudos",
23973
+ "GET /api/v3/activities/{id}/laps",
23974
+ "GET /api/v3/activities/{id}/streams",
23975
+ "GET /api/v3/activities/{id}/zones",
23976
+ "GET /api/v3/athlete/activities"
23977
+ ]
23978
+ },
23979
+ {
23980
+ name: "activity:read_all",
23981
+ rules: [
23982
+ "GET /api/v3/activities/{id}",
23983
+ "GET /api/v3/activities/{id}/comments",
23984
+ "GET /api/v3/activities/{id}/kudos",
23985
+ "GET /api/v3/activities/{id}/laps",
23986
+ "GET /api/v3/activities/{id}/streams",
23987
+ "GET /api/v3/activities/{id}/zones",
23988
+ "GET /api/v3/athlete/activities"
23989
+ ]
23990
+ },
23991
+ {
23992
+ name: "activity:write",
23993
+ rules: [
23994
+ "POST /api/v3/activities",
23995
+ "PUT /api/v3/activities/{id}",
23996
+ "POST /api/v3/uploads",
23997
+ "GET /api/v3/uploads/{uploadId}"
23998
+ ]
23999
+ },
24000
+ {
24001
+ name: "profile:read_all",
24002
+ rules: ["GET /api/v3/athlete", "GET /api/v3/athlete/zones"]
24003
+ },
24004
+ {
24005
+ name: "profile:write",
24006
+ rules: ["PUT /api/v3/athlete", "PUT /api/v3/segments/{id}/starred"]
24007
+ },
24008
+ {
24009
+ name: "read",
24010
+ rules: [
24011
+ "GET /api/v3/athlete",
24012
+ "GET /api/v3/athlete/clubs",
24013
+ "GET /api/v3/athletes/{id}/routes",
24014
+ "GET /api/v3/athletes/{id}/stats",
24015
+ "GET /api/v3/clubs/{id}",
24016
+ "GET /api/v3/clubs/{id}/activities",
24017
+ "GET /api/v3/clubs/{id}/admins",
24018
+ "GET /api/v3/clubs/{id}/members",
24019
+ "GET /api/v3/gear/{id}",
24020
+ "GET /api/v3/routes/{id}",
24021
+ "GET /api/v3/routes/{id}/export_gpx",
24022
+ "GET /api/v3/routes/{id}/export_tcx",
24023
+ "GET /api/v3/routes/{id}/streams",
24024
+ "GET /api/v3/segment_efforts",
24025
+ "GET /api/v3/segment_efforts/{id}",
24026
+ "GET /api/v3/segments/explore",
24027
+ "GET /api/v3/segments/starred",
24028
+ "GET /api/v3/segments/{id}",
24029
+ "GET /api/v3/segments/{id}/streams"
24030
+ ]
24031
+ },
24032
+ {
24033
+ name: "read_all",
24034
+ rules: [
24035
+ "GET /api/v3/athletes/{id}/routes",
24036
+ "GET /api/v3/routes/{id}",
24037
+ "GET /api/v3/routes/{id}/export_gpx",
24038
+ "GET /api/v3/routes/{id}/export_tcx",
24039
+ "GET /api/v3/routes/{id}/streams",
24040
+ "GET /api/v3/segment_efforts/{id}/streams",
24041
+ "GET /api/v3/segments/starred",
24042
+ "GET /api/v3/segments/{id}",
24043
+ "GET /api/v3/segments/{id}/streams"
24044
+ ]
24045
+ }
24046
+ ]
23966
24047
  }
23967
24048
  ]
23968
24049
  };
@@ -27956,7 +28037,8 @@ var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
27956
28037
  agentComposeId: true,
27957
28038
  appendSystemPrompt: true
27958
28039
  }).extend({
27959
- agentId: z31.string().optional()
28040
+ agentId: z31.string().optional(),
28041
+ modelProvider: z31.string().optional()
27960
28042
  });
27961
28043
  var c25 = initContract();
27962
28044
  var zeroRunsMainContract = c25.router({
@@ -28122,6 +28204,28 @@ var zeroRunNetworkLogsContract = c25.router({
28122
28204
  summary: "Get network logs for a run"
28123
28205
  }
28124
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
+ });
28125
28229
 
28126
28230
  // ../../packages/core/src/contracts/zero-schedules.ts
28127
28231
  import { z as z32 } from "zod";
@@ -31321,6 +31425,7 @@ function showNextSteps(result) {
31321
31425
 
31322
31426
  export {
31323
31427
  configureGlobalProxyFromEnv,
31428
+ decodeCliTokenPayload,
31324
31429
  decodeZeroTokenPayload,
31325
31430
  loadConfig,
31326
31431
  saveConfig,
@@ -31466,4 +31571,4 @@ export {
31466
31571
  pollEvents,
31467
31572
  showNextSteps
31468
31573
  };
31469
- //# sourceMappingURL=chunk-WBYVVABR.js.map
31574
+ //# sourceMappingURL=chunk-WN2AD3KW.js.map