@vm0/cli 9.180.11 → 9.180.12

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.
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.180.11",
74086
+ release: "9.180.12",
74087
74087
  sendDefaultPii: false,
74088
74088
  tracesSampleRate: 0,
74089
74089
  shutdownTimeout: 500,
@@ -74102,7 +74102,7 @@ if (DSN) {
74102
74102
  }
74103
74103
  });
74104
74104
  setContext("cli", {
74105
- version: "9.180.11",
74105
+ version: "9.180.12",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -88709,6 +88709,19 @@ var RUN_ERROR_GUIDANCE = {
88709
88709
  guidance: "Wait for your current run to complete before starting a new one."
88710
88710
  }
88711
88711
  };
88712
+ var CODEX_OAUTH_RECONNECT_REQUIRED_MESSAGE = "ChatGPT session needs reconnection. Reconnect ChatGPT (Codex) in Model Providers, then retry.";
88713
+ var codexOAuthReconnectRequiredRunErrorBodySchema = external_exports.object({
88714
+ error: external_exports.literal("TOKEN_REFRESH_FAILED"),
88715
+ connectors: external_exports.tuple([external_exports.literal("codex-oauth-token")]),
88716
+ failureReason: external_exports.literal("reconnect_required")
88717
+ });
88718
+ var codexOAuthReconnectRequiredRunErrorEnvelopeSchema = external_exports.object({
88719
+ error: external_exports.object({
88720
+ code: external_exports.literal("TOKEN_REFRESH_FAILED"),
88721
+ connectors: external_exports.tuple([external_exports.literal("codex-oauth-token")]),
88722
+ failureReason: external_exports.literal("reconnect_required")
88723
+ })
88724
+ });
88712
88725
  var ACTIONABLE_RUN_ERROR_SNIPPETS = [
88713
88726
  ...Object.values(RUN_ERROR_GUIDANCE).flatMap((guidance) => {
88714
88727
  return [guidance.title, guidance.guidance];
@@ -88727,7 +88740,8 @@ var ACTIONABLE_RUN_ERROR_SNIPPETS = [
88727
88740
  // "You've hit your session limit · resets …"
88728
88741
  // "You've hit your weekly limit · resets …"
88729
88742
  "session limit",
88730
- "weekly limit"
88743
+ "weekly limit",
88744
+ CODEX_OAUTH_RECONNECT_REQUIRED_MESSAGE
88731
88745
  ];
88732
88746
 
88733
88747
  // src/lib/api/core/client-factory.ts
@@ -107385,6 +107399,22 @@ var TEST_OAUTH_API_AUTH_CODE_GRANT = {
107385
107399
  initialRefreshToken: "$secrets.TEST_OAUTH_API_REFRESH_TOKEN"
107386
107400
  }
107387
107401
  };
107402
+ var TEST_OAUTH_API_TOKEN_MANUAL_GRANT = {
107403
+ kind: "manual",
107404
+ fields: {
107405
+ TEST_OAUTH_TOKEN: {
107406
+ label: "API Token",
107407
+ required: true,
107408
+ placeholder: "test-oauth-token"
107409
+ },
107410
+ TEST_OAUTH_API_TOKEN_INPUT_VAR: {
107411
+ label: "Input Variable",
107412
+ required: true,
107413
+ placeholder: "test-input-variable",
107414
+ storage: "variable"
107415
+ }
107416
+ }
107417
+ };
107388
107418
  var TEST_OAUTH_REVOKE = { kind: "none" };
107389
107419
  var testOauth = {
107390
107420
  "test-oauth": {
@@ -107449,6 +107479,31 @@ var testOauth = {
107449
107479
  }
107450
107480
  },
107451
107481
  revoke: TEST_OAUTH_REVOKE
107482
+ },
107483
+ "api-token": {
107484
+ featureFlag: "testOauthConnector" /* TestOauthConnector */,
107485
+ label: "API Token",
107486
+ helpText: "Test-only manual method used to exercise refreshable access without a platform auth client.",
107487
+ storage: {
107488
+ secrets: ["TEST_OAUTH_TOKEN", "TEST_OAUTH_API_TOKEN_ACCESS_TOKEN"],
107489
+ variables: ["TEST_OAUTH_API_TOKEN_INPUT_VAR"]
107490
+ },
107491
+ grant: TEST_OAUTH_API_TOKEN_MANUAL_GRANT,
107492
+ access: {
107493
+ kind: "refresh-token",
107494
+ inputs: {
107495
+ inputSecret: "$secrets.TEST_OAUTH_TOKEN",
107496
+ inputVariable: "$vars.TEST_OAUTH_API_TOKEN_INPUT_VAR"
107497
+ },
107498
+ outputs: {
107499
+ accessToken: "$secrets.TEST_OAUTH_API_TOKEN_ACCESS_TOKEN"
107500
+ },
107501
+ refreshableSecrets: ["TEST_OAUTH_API_TOKEN_ACCESS_TOKEN"],
107502
+ envBindings: {
107503
+ TEST_OAUTH_API_TOKEN: "$secrets.TEST_OAUTH_API_TOKEN_ACCESS_TOKEN"
107504
+ }
107505
+ },
107506
+ revoke: TEST_OAUTH_REVOKE
107452
107507
  }
107453
107508
  },
107454
107509
  defaultAuthMethod: "oauth"
@@ -111284,6 +111339,7 @@ var chatMessagesContract = c22.router({
111284
111339
  clientThreadId: external_exports.undefined().optional(),
111285
111340
  modelProvider: external_exports.undefined().optional(),
111286
111341
  modelSelection: external_exports.undefined().optional(),
111342
+ generationTemplate: external_exports.undefined().optional(),
111287
111343
  hasTextContent: external_exports.undefined().optional(),
111288
111344
  attachFiles: external_exports.undefined().optional(),
111289
111345
  debugNoMockClaude: external_exports.undefined().optional(),
@@ -111300,6 +111356,7 @@ var chatMessagesContract = c22.router({
111300
111356
  clientThreadId: external_exports.undefined().optional(),
111301
111357
  modelProvider: external_exports.undefined().optional(),
111302
111358
  modelSelection: external_exports.undefined().optional(),
111359
+ generationTemplate: external_exports.undefined().optional(),
111303
111360
  hasTextContent: external_exports.undefined().optional(),
111304
111361
  attachFiles: external_exports.undefined().optional(),
111305
111362
  debugNoMockClaude: external_exports.undefined().optional(),
@@ -134506,6 +134563,12 @@ var FEATURE_SWITCHES = {
134506
134563
  enabled: false,
134507
134564
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
134508
134565
  },
134566
+ ["chatTemplatePicker" /* ChatTemplatePicker */]: {
134567
+ maintainer: "linghan@vm0.ai",
134568
+ description: "Show the Template picker in the Zero chat composer for per-message generation template selection.",
134569
+ enabled: false,
134570
+ enabledOrgIdHashes: STAFF_ORG_ID_HASHES
134571
+ },
134509
134572
  ["memoryViewer" /* MemoryViewer */]: {
134510
134573
  maintainer: "lancy@vm0.ai",
134511
134574
  description: "Show the read-only memory viewer page in the Zero sidebar and at /memory, listing the files in the user's memory artifact.",
@@ -136078,4 +136141,4 @@ undici/lib/web/fetch/body.js:
136078
136141
  undici/lib/web/websocket/frame.js:
136079
136142
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
136080
136143
  */
136081
- //# sourceMappingURL=chunk-CAIJ56SU.js.map
136144
+ //# sourceMappingURL=chunk-6L4Z5I4P.js.map