@isaacthoman/pulpo 0.133.0 → 0.134.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17840,7 +17840,14 @@ var createApiKeySchema = external_exports.object({
17840
17840
  lifetimeBudgetMicros: external_exports.number().int().positive().nullable().default(null)
17841
17841
  });
17842
17842
  var updateApiKeySchema = external_exports.object({
17843
- enabled: external_exports.boolean()
17843
+ name: createApiKeySchema.shape.name.optional(),
17844
+ scopes: createApiKeySchema.shape.scopes.optional(),
17845
+ allowedModels: createApiKeySchema.shape.allowedModels.removeDefault().optional(),
17846
+ monthlyBudgetMicros: createApiKeySchema.shape.monthlyBudgetMicros.removeDefault().optional(),
17847
+ lifetimeBudgetMicros: createApiKeySchema.shape.lifetimeBudgetMicros.removeDefault().optional(),
17848
+ enabled: external_exports.boolean().optional()
17849
+ }).refine((input) => Object.values(input).some((value) => value !== void 0), {
17850
+ message: "Provide at least one API key setting"
17844
17851
  });
17845
17852
  var chatSummarySchema = external_exports.object({
17846
17853
  id: idSchema,
@@ -20748,7 +20755,7 @@ async function runModelTest(input) {
20748
20755
  }
20749
20756
 
20750
20757
  // src/index.ts
20751
- var CLI_VERSION = true ? "0.133.0" : "0.1.0";
20758
+ var CLI_VERSION = true ? "0.134.0" : "0.1.0";
20752
20759
  var CLI_BUNDLED = true;
20753
20760
  var commandIo = /* @__PURE__ */ new WeakMap();
20754
20761
  var commandClientFactory = /* @__PURE__ */ new WeakMap();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isaacthoman/pulpo",
3
- "version": "0.133.0",
3
+ "version": "0.134.0",
4
4
  "description": "Operator-first command-line client for Pulpo",
5
5
  "type": "module",
6
6
  "bin": {