@vellumai/vellum-gateway 0.4.57 → 0.5.1
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.
package/package.json
CHANGED
|
@@ -118,10 +118,7 @@ function writeEncryptedStore(botToken: string, webhookSecret: string): void {
|
|
|
118
118
|
* Write Telegram credentials into a v2 encrypted store using a random
|
|
119
119
|
* store.key file (no PBKDF2 derivation).
|
|
120
120
|
*/
|
|
121
|
-
function writeEncryptedStoreV2(
|
|
122
|
-
botToken: string,
|
|
123
|
-
webhookSecret: string,
|
|
124
|
-
): void {
|
|
121
|
+
function writeEncryptedStoreV2(botToken: string, webhookSecret: string): void {
|
|
125
122
|
const protectedDir = join(testDir, ".vellum", "protected");
|
|
126
123
|
mkdirSync(protectedDir, { recursive: true });
|
|
127
124
|
|
|
@@ -77,16 +77,12 @@ export class CredentialWatcher {
|
|
|
77
77
|
|
|
78
78
|
private startWatcher(dir: string, targetFilename: string): void {
|
|
79
79
|
try {
|
|
80
|
-
const watcher = watch(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
this.scheduleCheck();
|
|
88
|
-
},
|
|
89
|
-
);
|
|
80
|
+
const watcher = watch(dir, { persistent: false }, (_event, filename) => {
|
|
81
|
+
if (filename && filename !== targetFilename) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
this.scheduleCheck();
|
|
85
|
+
});
|
|
90
86
|
this.watchers.push(watcher);
|
|
91
87
|
|
|
92
88
|
log.info(
|
|
@@ -94,10 +90,7 @@ export class CredentialWatcher {
|
|
|
94
90
|
"Watching for credential changes",
|
|
95
91
|
);
|
|
96
92
|
} catch (err) {
|
|
97
|
-
log.warn(
|
|
98
|
-
{ err, path: dir },
|
|
99
|
-
"Failed to start credential file watcher",
|
|
100
|
-
);
|
|
93
|
+
log.warn({ err, path: dir }, "Failed to start credential file watcher");
|
|
101
94
|
}
|
|
102
95
|
}
|
|
103
96
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"key": "feature_flags.contacts.enabled",
|
|
24
24
|
"label": "Contacts",
|
|
25
25
|
"description": "Show the Contacts tab in Settings for viewing and managing contacts",
|
|
26
|
-
"defaultEnabled":
|
|
26
|
+
"defaultEnabled": true
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"id": "email-channel",
|
|
@@ -256,6 +256,14 @@
|
|
|
256
256
|
"label": "Quick Input",
|
|
257
257
|
"description": "Enable the Quick Input popover on right-click of the menu bar icon",
|
|
258
258
|
"defaultEnabled": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "expand-completed-steps",
|
|
262
|
+
"scope": "macos",
|
|
263
|
+
"key": "expand_completed_steps",
|
|
264
|
+
"label": "Expand Completed Steps",
|
|
265
|
+
"description": "Auto-expand completed tool call step groups instead of showing them collapsed",
|
|
266
|
+
"defaultEnabled": false
|
|
259
267
|
}
|
|
260
268
|
]
|
|
261
269
|
}
|