@vm0/cli 9.140.2 → 9.140.3

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.3",
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.3",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -102880,7 +102880,14 @@ 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()
102884
102891
  });
102885
102892
  var toolSummaryEntrySchema = external_exports.object({
102886
102893
  kind: external_exports.literal("tool"),
@@ -103045,6 +103052,36 @@ var chatThreadMarkReadContract = c13.router({
103045
103052
  summary: "Mark a chat thread as read up to the latest message"
103046
103053
  }
103047
103054
  });
103055
+ var chatThreadPinContract = c13.router({
103056
+ pin: {
103057
+ method: "POST",
103058
+ path: "/api/zero/chat-threads/:id/pin",
103059
+ headers: authHeadersSchema,
103060
+ pathParams: external_exports.object({ id: external_exports.string() }),
103061
+ body: c13.noBody(),
103062
+ responses: {
103063
+ 204: c13.noBody(),
103064
+ 401: apiErrorSchema,
103065
+ 404: apiErrorSchema
103066
+ },
103067
+ summary: "Pin a chat thread to the top of the sidebar"
103068
+ }
103069
+ });
103070
+ var chatThreadUnpinContract = c13.router({
103071
+ unpin: {
103072
+ method: "POST",
103073
+ path: "/api/zero/chat-threads/:id/unpin",
103074
+ headers: authHeadersSchema,
103075
+ pathParams: external_exports.object({ id: external_exports.string() }),
103076
+ body: c13.noBody(),
103077
+ responses: {
103078
+ 204: c13.noBody(),
103079
+ 401: apiErrorSchema,
103080
+ 404: apiErrorSchema
103081
+ },
103082
+ summary: "Remove the pin from a chat thread"
103083
+ }
103084
+ });
103048
103085
  var chatMessagesContract = c13.router({
103049
103086
  send: {
103050
103087
  method: "POST",
@@ -119944,6 +119981,11 @@ var FEATURE_SWITCHES = {
119944
119981
  description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
119945
119982
  enabled: false
119946
119983
  },
119984
+ ["chatThreadPin" /* ChatThreadPin */]: {
119985
+ maintainer: "ethan@vm0.ai",
119986
+ 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.",
119987
+ enabled: false
119988
+ },
119947
119989
  ["freshdeskConnector" /* FreshdeskConnector */]: {
119948
119990
  maintainer: "ethan@vm0.ai",
119949
119991
  description: "Enable the Freshdesk helpdesk connector",
@@ -121377,4 +121419,4 @@ undici/lib/web/fetch/body.js:
121377
121419
  undici/lib/web/websocket/frame.js:
121378
121420
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
121379
121421
  */
121380
- //# sourceMappingURL=chunk-227GLSPR.js.map
121422
+ //# sourceMappingURL=chunk-EET534DP.js.map