@isaacthoman/pulpo 0.167.0 → 0.168.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 +27 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24695,6 +24695,8 @@ var mobileConfigSchema = external_exports.object({
|
|
|
24695
24695
|
passkeys: external_exports.boolean().optional().default(false),
|
|
24696
24696
|
/** Whether users can report messages to administrators. Older servers omit it. */
|
|
24697
24697
|
messageReports: external_exports.boolean().optional().default(false),
|
|
24698
|
+
/** Whether the instance bills usage, so accounts can have plan usage limits. Older servers omit it. */
|
|
24699
|
+
usageLimits: external_exports.boolean().optional().default(false),
|
|
24698
24700
|
/**
|
|
24699
24701
|
* Files and its collaborative documents. Older servers omit it; clients then hide Files.
|
|
24700
24702
|
* `docSchemaVersion` is the document schema the server accepts edits in, so a client whose
|
|
@@ -24706,6 +24708,30 @@ var mobileConfigSchema = external_exports.object({
|
|
|
24706
24708
|
}).optional()
|
|
24707
24709
|
})
|
|
24708
24710
|
});
|
|
24711
|
+
var usageLimitPercentagesSchema = external_exports.object({
|
|
24712
|
+
remainingPercentage: external_exports.number().int().min(0).max(100),
|
|
24713
|
+
availableBarPercentage: external_exports.number().min(0).max(100),
|
|
24714
|
+
/** Part of the limit held by responses still running. */
|
|
24715
|
+
pendingBarPercentage: external_exports.number().min(0).max(100),
|
|
24716
|
+
/** Null for a rolling window that starts on first use. */
|
|
24717
|
+
resetsAt: isoDateSchema.nullable()
|
|
24718
|
+
});
|
|
24719
|
+
var customUsageLimitSchema = usageLimitPercentagesSchema.extend({
|
|
24720
|
+
id: external_exports.string(),
|
|
24721
|
+
name: external_exports.string(),
|
|
24722
|
+
period: external_exports.enum(["five_hour", "daily", "weekly"]),
|
|
24723
|
+
/** False when it funds only model usage, not tools, workspace time, or background tasks. */
|
|
24724
|
+
coversExtras: external_exports.boolean(),
|
|
24725
|
+
/** Names of the models the limit covers; empty when it covers every model. */
|
|
24726
|
+
models: external_exports.array(external_exports.string())
|
|
24727
|
+
});
|
|
24728
|
+
var usageLimitsSchema = external_exports.object({
|
|
24729
|
+
plan: external_exports.enum(["baby", "eight", "fat"]),
|
|
24730
|
+
weekly: usageLimitPercentagesSchema.nullable(),
|
|
24731
|
+
fiveHour: usageLimitPercentagesSchema.nullable(),
|
|
24732
|
+
/** Admin-defined allowances the account spends first. */
|
|
24733
|
+
custom: external_exports.array(customUsageLimitSchema)
|
|
24734
|
+
});
|
|
24709
24735
|
var twoFactorStatusSchema = external_exports.object({
|
|
24710
24736
|
enabled: external_exports.boolean(),
|
|
24711
24737
|
recoveryCodesRemaining: external_exports.number().int().nonnegative()
|
|
@@ -36590,7 +36616,7 @@ async function runModelTest(input2) {
|
|
|
36590
36616
|
}
|
|
36591
36617
|
|
|
36592
36618
|
// src/index.ts
|
|
36593
|
-
var CLI_VERSION = true ? "0.
|
|
36619
|
+
var CLI_VERSION = true ? "0.168.0" : "0.1.0";
|
|
36594
36620
|
var CLI_BUNDLED = true;
|
|
36595
36621
|
var commandIo = /* @__PURE__ */ new WeakMap();
|
|
36596
36622
|
var commandClientFactory = /* @__PURE__ */ new WeakMap();
|