@vm0/cli 9.147.1 → 9.147.2

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.147.1",
74086
+ release: "9.147.2",
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.147.1",
74105
+ version: "9.147.2",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -105156,6 +105156,17 @@ var chatMessagesContract = c21.router({
105156
105156
  * pick it. Gated by the Goal feature switch.
105157
105157
  */
105158
105158
  goal: external_exports.boolean().optional(),
105159
+ /**
105160
+ * Force a new CLI session for this run instead of resuming the
105161
+ * thread's latest session. Set by the web composer when the user
105162
+ * picks a different `selectedModel` than the one pinned on the
105163
+ * thread — the persisted CLI session history was produced by the
105164
+ * previous model and is not safe to replay through a different one.
105165
+ * Server skips `getLatestSessionIdForThread`, allows the thread pin
105166
+ * to be rewritten, and injects prior chat messages into the system
105167
+ * prompt so the agent still has the conversation context.
105168
+ */
105169
+ forceNewSession: external_exports.boolean().optional(),
105159
105170
  // Test-only escape hatch: when the host runner has USE_MOCK_CODEX
105160
105171
  // set (CI default), allow the request to bypass the mock and execute
105161
105172
  // the real codex CLI. Mirrors `debugNoMockClaude` / `debugNoMockCodex`
@@ -105180,7 +105191,8 @@ var chatMessagesContract = c21.router({
105180
105191
  debugNoMockClaude: external_exports.undefined().optional(),
105181
105192
  debugNoMockCodex: external_exports.undefined().optional(),
105182
105193
  interruptsRunId: external_exports.undefined().optional(),
105183
- goal: external_exports.undefined().optional()
105194
+ goal: external_exports.undefined().optional(),
105195
+ forceNewSession: external_exports.undefined().optional()
105184
105196
  }),
105185
105197
  external_exports.object({
105186
105198
  agentId: external_exports.string().min(1),
@@ -105196,7 +105208,8 @@ var chatMessagesContract = c21.router({
105196
105208
  debugNoMockClaude: external_exports.undefined().optional(),
105197
105209
  debugNoMockCodex: external_exports.undefined().optional(),
105198
105210
  revokesMessageId: external_exports.undefined().optional(),
105199
- goal: external_exports.undefined().optional()
105211
+ goal: external_exports.undefined().optional(),
105212
+ forceNewSession: external_exports.undefined().optional()
105200
105213
  })
105201
105214
  ]),
105202
105215
  responses: {
@@ -125433,4 +125446,4 @@ undici/lib/web/fetch/body.js:
125433
125446
  undici/lib/web/websocket/frame.js:
125434
125447
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
125435
125448
  */
125436
- //# sourceMappingURL=chunk-C6I7YMC6.js.map
125449
+ //# sourceMappingURL=chunk-EFG3ZEWH.js.map