@vm0/cli 9.140.2 → 9.140.4

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.140.2",
74086
+ release: "9.140.4",
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.140.2",
74105
+ version: "9.140.4",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -102880,7 +102880,20 @@ var chatThreadListItemSchema = external_exports.object({
102880
102880
  * (non-empty `draftContent` or one+ `draftAttachments`). Drives the sidebar
102881
102881
  * draft indicator. Optional for back-compat with fixtures predating the field.
102882
102882
  */
102883
- hasDraft: external_exports.boolean().optional()
102883
+ hasDraft: external_exports.boolean().optional(),
102884
+ /**
102885
+ * ISO timestamp at which the user pinned this thread. Null/undefined means
102886
+ * unpinned. Pinned threads sort above unpinned in the sidebar; both groups
102887
+ * keep recency order. Optional for back-compat with fixtures that predate
102888
+ * the field.
102889
+ */
102890
+ pinnedAt: external_exports.string().nullable().optional(),
102891
+ /**
102892
+ * ISO timestamp at which the user manually renamed this thread. Null/undefined
102893
+ * means never renamed. When set, automated title generation is suppressed.
102894
+ * Optional for back-compat with fixtures that predate the field.
102895
+ */
102896
+ renamedAt: external_exports.string().nullable().optional()
102884
102897
  });
102885
102898
  var toolSummaryEntrySchema = external_exports.object({
102886
102899
  kind: external_exports.literal("tool"),
@@ -102942,7 +102955,13 @@ var chatThreadDetailSchema = external_exports.object({
102942
102955
  * and org defaults) for the next run. Optional for back-compat.
102943
102956
  */
102944
102957
  modelProviderId: external_exports.string().nullable().optional(),
102945
- selectedModel: external_exports.string().nullable().optional()
102958
+ selectedModel: external_exports.string().nullable().optional(),
102959
+ /**
102960
+ * ISO timestamp at which the user manually renamed this thread. Null/undefined
102961
+ * means never renamed. When set, automated title generation is suppressed.
102962
+ * Optional for back-compat with fixtures that predate the field.
102963
+ */
102964
+ renamedAt: external_exports.string().nullable().optional()
102946
102965
  });
102947
102966
  var modelSelectionRequestSchema = external_exports.object({
102948
102967
  modelProviderId: external_exports.string().uuid(),
@@ -103045,6 +103064,51 @@ var chatThreadMarkReadContract = c13.router({
103045
103064
  summary: "Mark a chat thread as read up to the latest message"
103046
103065
  }
103047
103066
  });
103067
+ var chatThreadPinContract = c13.router({
103068
+ pin: {
103069
+ method: "POST",
103070
+ path: "/api/zero/chat-threads/:id/pin",
103071
+ headers: authHeadersSchema,
103072
+ pathParams: external_exports.object({ id: external_exports.string() }),
103073
+ body: c13.noBody(),
103074
+ responses: {
103075
+ 204: c13.noBody(),
103076
+ 401: apiErrorSchema,
103077
+ 404: apiErrorSchema
103078
+ },
103079
+ summary: "Pin a chat thread to the top of the sidebar"
103080
+ }
103081
+ });
103082
+ var chatThreadUnpinContract = c13.router({
103083
+ unpin: {
103084
+ method: "POST",
103085
+ path: "/api/zero/chat-threads/:id/unpin",
103086
+ headers: authHeadersSchema,
103087
+ pathParams: external_exports.object({ id: external_exports.string() }),
103088
+ body: c13.noBody(),
103089
+ responses: {
103090
+ 204: c13.noBody(),
103091
+ 401: apiErrorSchema,
103092
+ 404: apiErrorSchema
103093
+ },
103094
+ summary: "Remove the pin from a chat thread"
103095
+ }
103096
+ });
103097
+ var chatThreadRenameContract = c13.router({
103098
+ rename: {
103099
+ method: "POST",
103100
+ path: "/api/zero/chat-threads/:id/rename",
103101
+ headers: authHeadersSchema,
103102
+ pathParams: external_exports.object({ id: external_exports.string() }),
103103
+ body: external_exports.object({ title: external_exports.string().min(1) }),
103104
+ responses: {
103105
+ 204: c13.noBody(),
103106
+ 401: apiErrorSchema,
103107
+ 404: apiErrorSchema
103108
+ },
103109
+ summary: "Rename a chat thread (suppresses automated title generation)"
103110
+ }
103111
+ });
103048
103112
  var chatMessagesContract = c13.router({
103049
103113
  send: {
103050
103114
  method: "POST",
@@ -119944,6 +120008,16 @@ var FEATURE_SWITCHES = {
119944
120008
  description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
119945
120009
  enabled: false
119946
120010
  },
120011
+ ["chatThreadPin" /* ChatThreadPin */]: {
120012
+ maintainer: "ethan@vm0.ai",
120013
+ description: "Replace the sidebar's per-thread trash button with a kebab/pin menu that exposes Pin/Unpin and Delete. Pinned threads sort to the top of the agent's chat list. Mobile shows the menu trigger always; desktop shows it on hover.",
120014
+ enabled: false
120015
+ },
120016
+ ["chatThreadRename" /* ChatThreadRename */]: {
120017
+ maintainer: "ethan@vm0.ai",
120018
+ description: "Adds a Rename chat item to the sidebar thread kebab menu. When the user renames a thread, automated title generation is suppressed for that thread.",
120019
+ enabled: false
120020
+ },
119947
120021
  ["freshdeskConnector" /* FreshdeskConnector */]: {
119948
120022
  maintainer: "ethan@vm0.ai",
119949
120023
  description: "Enable the Freshdesk helpdesk connector",
@@ -121377,4 +121451,4 @@ undici/lib/web/fetch/body.js:
121377
121451
  undici/lib/web/websocket/frame.js:
121378
121452
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
121379
121453
  */
121380
- //# sourceMappingURL=chunk-227GLSPR.js.map
121454
+ //# sourceMappingURL=chunk-HAU7SVZ3.js.map