@isaacthoman/pulpo 0.151.1 → 0.153.0
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/dist/index.js +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17391,7 +17391,8 @@ var modelPreferencesSchema = external_exports.object({
|
|
|
17391
17391
|
providerOrder: orderedPreferenceIdsSchema.default([])
|
|
17392
17392
|
});
|
|
17393
17393
|
var modelPreferencesPatchSchema = external_exports.object({
|
|
17394
|
-
|
|
17394
|
+
/** Null returns the account to following the new-account default favorites. */
|
|
17395
|
+
favoriteModelIds: orderedPreferenceIdsSchema.nullable().optional(),
|
|
17395
17396
|
providerOrder: orderedPreferenceIdsSchema.optional()
|
|
17396
17397
|
});
|
|
17397
17398
|
var sidebarPinsSchema = external_exports.object({
|
|
@@ -17948,7 +17949,8 @@ var managementAccountSettingsSchema = external_exports.object({
|
|
|
17948
17949
|
fileDoubleClickAction: fileDoubleClickActionSchema.default("open"),
|
|
17949
17950
|
defaultModelId: external_exports.string().max(120).nullable().default(null),
|
|
17950
17951
|
generation: external_exports.record(external_exports.string(), external_exports.record(external_exports.string(), external_exports.string())).default({}),
|
|
17951
|
-
|
|
17952
|
+
/** Null follows the instance's new-account default favorites. */
|
|
17953
|
+
favoriteModelIds: accountPreferenceIdsSchema.nullable().default(null),
|
|
17952
17954
|
providerOrder: accountPreferenceIdsSchema.default([]),
|
|
17953
17955
|
sidebarPins: sidebarPinsSchema.default(() => sidebarPinsSchema.parse({}))
|
|
17954
17956
|
});
|
|
@@ -21032,7 +21034,7 @@ async function runModelTest(input) {
|
|
|
21032
21034
|
}
|
|
21033
21035
|
|
|
21034
21036
|
// src/index.ts
|
|
21035
|
-
var CLI_VERSION = true ? "0.
|
|
21037
|
+
var CLI_VERSION = true ? "0.153.0" : "0.1.0";
|
|
21036
21038
|
var CLI_BUNDLED = true;
|
|
21037
21039
|
var commandIo = /* @__PURE__ */ new WeakMap();
|
|
21038
21040
|
var commandClientFactory = /* @__PURE__ */ new WeakMap();
|
|
@@ -21568,6 +21570,10 @@ function createProgram(io = processIo, dependencies = {}) {
|
|
|
21568
21570
|
const { client } = await clientFor(command);
|
|
21569
21571
|
emit(io, command, await client.request(`/api/management/v1/labs/${encodeURIComponent(id)}/models/order`, { method: "PUT", body: await jsonFile(options2.file) }));
|
|
21570
21572
|
});
|
|
21573
|
+
lab.command("order").requiredOption("-f, --file <path>", "JSON with labIds in default model-menu order").action(async (options2, command) => {
|
|
21574
|
+
const { client } = await clientFor(command);
|
|
21575
|
+
emit(io, command, await client.request("/api/management/v1/labs/order", { method: "PUT", body: await jsonFile(options2.file) }));
|
|
21576
|
+
});
|
|
21571
21577
|
const icon = registerFileCrud(program, io, {
|
|
21572
21578
|
name: "icon",
|
|
21573
21579
|
pluralPath: "/api/management/v1/catalog-icons",
|