@vellumai/cli 0.12.2-dev.202609180126.8de5565 → 0.12.2-dev.202609181315.9aaf787
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.
|
@@ -222,13 +222,6 @@ function defaultPorts(env: Record<string, string | undefined>): {
|
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
function defaultInstanceDir(
|
|
226
|
-
env: Record<string, string | undefined>,
|
|
227
|
-
assistantId: string,
|
|
228
|
-
): string {
|
|
229
|
-
return resolveInstanceDir(env, assistantId);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
225
|
function firstString(...values: unknown[]): string | undefined {
|
|
233
226
|
for (const value of values) {
|
|
234
227
|
if (typeof value === "string" && value.length > 0) return value;
|
|
@@ -302,7 +295,7 @@ export function resolveLockfileInstanceDir(
|
|
|
302
295
|
ok: true,
|
|
303
296
|
instanceDir:
|
|
304
297
|
lockfileInstanceDir(entry, rawEntry) ??
|
|
305
|
-
|
|
298
|
+
resolveInstanceDir(env, assistantId),
|
|
306
299
|
};
|
|
307
300
|
} catch {
|
|
308
301
|
return { ok: true };
|
|
@@ -320,7 +313,7 @@ function resolveStatusResources(
|
|
|
320
313
|
const ports = defaultPorts(env);
|
|
321
314
|
const instanceDir =
|
|
322
315
|
lockfileInstanceDir(entry, rawEntry) ??
|
|
323
|
-
|
|
316
|
+
resolveInstanceDir(env, entry.assistantId);
|
|
324
317
|
return {
|
|
325
318
|
instanceDir,
|
|
326
319
|
daemonPort:
|