@vm0/cli 9.140.1 → 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.
|
@@ -74046,26 +74046,20 @@ function _init2(options = {}, getDefaultIntegrationsImpl) {
|
|
|
74046
74046
|
import * as os3 from "os";
|
|
74047
74047
|
var DSN = process.env.SENTRY_DSN ?? "https://268d9b4cd051531805af76a5b3934dca@o4510583739777024.ingest.us.sentry.io/4510832047947776";
|
|
74048
74048
|
var OPERATIONAL_ERROR_PATTERNS = [
|
|
74049
|
-
// Authentication errors (user needs to login)
|
|
74050
74049
|
/not authenticated/i,
|
|
74051
|
-
// Resource not found (user typo or deleted resource)
|
|
74052
74050
|
/not found/i,
|
|
74053
74051
|
/agent not found/i,
|
|
74054
74052
|
/version not found/i,
|
|
74055
74053
|
/checkpoint not found/i,
|
|
74056
74054
|
/session not found/i,
|
|
74057
|
-
// File errors (user provided wrong path)
|
|
74058
74055
|
/file not found/i,
|
|
74059
74056
|
/environment file not found/i,
|
|
74060
|
-
// Validation errors (user input issues)
|
|
74061
74057
|
/invalid format/i,
|
|
74062
74058
|
/invalid.*config/i,
|
|
74063
|
-
// Rate limiting (expected operational condition)
|
|
74064
74059
|
/rate limit/i,
|
|
74065
74060
|
/concurrent run limit/i,
|
|
74066
74061
|
/insufficient.*credit/i,
|
|
74067
74062
|
/no model provider/i,
|
|
74068
|
-
// Network issues (transient, not bugs)
|
|
74069
74063
|
/network error/i,
|
|
74070
74064
|
/network issue/i,
|
|
74071
74065
|
/fetch failed/i,
|
|
@@ -74073,7 +74067,6 @@ var OPERATIONAL_ERROR_PATTERNS = [
|
|
|
74073
74067
|
/timeout/i,
|
|
74074
74068
|
/ECONNREFUSED/i,
|
|
74075
74069
|
/ETIMEDOUT/i,
|
|
74076
|
-
// Permission/access errors (operational, not bugs)
|
|
74077
74070
|
/forbidden/i,
|
|
74078
74071
|
/access denied/i
|
|
74079
74072
|
];
|
|
@@ -74090,7 +74083,7 @@ if (DSN) {
|
|
|
74090
74083
|
init2({
|
|
74091
74084
|
dsn: DSN,
|
|
74092
74085
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74093
|
-
release: "9.140.
|
|
74086
|
+
release: "9.140.3",
|
|
74094
74087
|
sendDefaultPii: false,
|
|
74095
74088
|
tracesSampleRate: 0,
|
|
74096
74089
|
shutdownTimeout: 500,
|
|
@@ -74109,7 +74102,7 @@ if (DSN) {
|
|
|
74109
74102
|
}
|
|
74110
74103
|
});
|
|
74111
74104
|
setContext("cli", {
|
|
74112
|
-
version: "9.140.
|
|
74105
|
+
version: "9.140.3",
|
|
74113
74106
|
command: process.argv.slice(2).join(" ")
|
|
74114
74107
|
});
|
|
74115
74108
|
setContext("runtime", {
|
|
@@ -102887,7 +102880,14 @@ var chatThreadListItemSchema = external_exports.object({
|
|
|
102887
102880
|
* (non-empty `draftContent` or one+ `draftAttachments`). Drives the sidebar
|
|
102888
102881
|
* draft indicator. Optional for back-compat with fixtures predating the field.
|
|
102889
102882
|
*/
|
|
102890
|
-
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
102891
|
});
|
|
102892
102892
|
var toolSummaryEntrySchema = external_exports.object({
|
|
102893
102893
|
kind: external_exports.literal("tool"),
|
|
@@ -103052,6 +103052,36 @@ var chatThreadMarkReadContract = c13.router({
|
|
|
103052
103052
|
summary: "Mark a chat thread as read up to the latest message"
|
|
103053
103053
|
}
|
|
103054
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
|
+
});
|
|
103055
103085
|
var chatMessagesContract = c13.router({
|
|
103056
103086
|
send: {
|
|
103057
103087
|
method: "POST",
|
|
@@ -118725,7 +118755,7 @@ var zeroUsageRunsContract = c41.router({
|
|
|
118725
118755
|
403: apiErrorSchema,
|
|
118726
118756
|
500: apiErrorSchema
|
|
118727
118757
|
},
|
|
118728
|
-
summary: "Get per-run
|
|
118758
|
+
summary: "Get per-run usage records for the org"
|
|
118729
118759
|
}
|
|
118730
118760
|
});
|
|
118731
118761
|
|
|
@@ -119944,13 +119974,18 @@ var FEATURE_SWITCHES = {
|
|
|
119944
119974
|
["chatManualHistory" /* ChatManualHistory */]: {
|
|
119945
119975
|
maintainer: "linghan@vm0.ai",
|
|
119946
119976
|
description: "Enable manual chat history loading from a Load history button at the top of a thread. When off, chat stays in the latest-50/no-history mode.",
|
|
119947
|
-
enabled:
|
|
119977
|
+
enabled: true
|
|
119948
119978
|
},
|
|
119949
119979
|
["chatMessageStartButton" /* ChatMessageStartButton */]: {
|
|
119950
119980
|
maintainer: "linghan@vm0.ai",
|
|
119951
119981
|
description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
|
|
119952
119982
|
enabled: false
|
|
119953
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
|
+
},
|
|
119954
119989
|
["freshdeskConnector" /* FreshdeskConnector */]: {
|
|
119955
119990
|
maintainer: "ethan@vm0.ai",
|
|
119956
119991
|
description: "Enable the Freshdesk helpdesk connector",
|
|
@@ -121384,4 +121419,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121384
121419
|
undici/lib/web/websocket/frame.js:
|
|
121385
121420
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121386
121421
|
*/
|
|
121387
|
-
//# sourceMappingURL=chunk-
|
|
121422
|
+
//# sourceMappingURL=chunk-EET534DP.js.map
|