@isaacthoman/pulpo 0.167.0 → 0.169.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 +38 -3
- 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
|
|
@@ -24703,9 +24705,40 @@ var mobileConfigSchema = external_exports.object({
|
|
|
24703
24705
|
files: external_exports.object({
|
|
24704
24706
|
enabled: external_exports.boolean(),
|
|
24705
24707
|
docSchemaVersion: external_exports.number().int().positive()
|
|
24706
|
-
}).optional()
|
|
24708
|
+
}).optional(),
|
|
24709
|
+
/**
|
|
24710
|
+
* App Store subscriptions, with the StoreKit environments whose purchases this server accepts.
|
|
24711
|
+
* The app offers purchases only when its own environment is listed. Null or omitted: no purchases.
|
|
24712
|
+
*/
|
|
24713
|
+
appStoreBilling: external_exports.object({
|
|
24714
|
+
environments: external_exports.array(external_exports.enum(["production", "sandbox"])).min(1)
|
|
24715
|
+
}).nullable().optional().default(null)
|
|
24707
24716
|
})
|
|
24708
24717
|
});
|
|
24718
|
+
var usageLimitPercentagesSchema = external_exports.object({
|
|
24719
|
+
remainingPercentage: external_exports.number().int().min(0).max(100),
|
|
24720
|
+
availableBarPercentage: external_exports.number().min(0).max(100),
|
|
24721
|
+
/** Part of the limit held by responses still running. */
|
|
24722
|
+
pendingBarPercentage: external_exports.number().min(0).max(100),
|
|
24723
|
+
/** Null for a rolling window that starts on first use. */
|
|
24724
|
+
resetsAt: isoDateSchema.nullable()
|
|
24725
|
+
});
|
|
24726
|
+
var customUsageLimitSchema = usageLimitPercentagesSchema.extend({
|
|
24727
|
+
id: external_exports.string(),
|
|
24728
|
+
name: external_exports.string(),
|
|
24729
|
+
period: external_exports.enum(["five_hour", "daily", "weekly"]),
|
|
24730
|
+
/** False when it funds only model usage, not tools, workspace time, or background tasks. */
|
|
24731
|
+
coversExtras: external_exports.boolean(),
|
|
24732
|
+
/** Names of the models the limit covers; empty when it covers every model. */
|
|
24733
|
+
models: external_exports.array(external_exports.string())
|
|
24734
|
+
});
|
|
24735
|
+
var usageLimitsSchema = external_exports.object({
|
|
24736
|
+
plan: external_exports.enum(["baby", "eight", "fat"]),
|
|
24737
|
+
weekly: usageLimitPercentagesSchema.nullable(),
|
|
24738
|
+
fiveHour: usageLimitPercentagesSchema.nullable(),
|
|
24739
|
+
/** Admin-defined allowances the account spends first. */
|
|
24740
|
+
custom: external_exports.array(customUsageLimitSchema)
|
|
24741
|
+
});
|
|
24709
24742
|
var twoFactorStatusSchema = external_exports.object({
|
|
24710
24743
|
enabled: external_exports.boolean(),
|
|
24711
24744
|
recoveryCodesRemaining: external_exports.number().int().nonnegative()
|
|
@@ -25697,7 +25730,9 @@ var managementTokenSchema = external_exports.object({
|
|
|
25697
25730
|
createdAt: isoDateSchema
|
|
25698
25731
|
});
|
|
25699
25732
|
var accountDeletionRequirementsSchema = external_exports.object({
|
|
25700
|
-
twoFactorEnabled: external_exports.boolean()
|
|
25733
|
+
twoFactorEnabled: external_exports.boolean(),
|
|
25734
|
+
/** Apple keeps billing an App Store subscription after deletion. Older servers omit it. */
|
|
25735
|
+
appStoreSubscriptionRenews: external_exports.boolean().optional().default(false)
|
|
25701
25736
|
});
|
|
25702
25737
|
var accountDeletionInputSchema = external_exports.object({
|
|
25703
25738
|
currentPassword: external_exports.string().min(1).max(1024),
|
|
@@ -36590,7 +36625,7 @@ async function runModelTest(input2) {
|
|
|
36590
36625
|
}
|
|
36591
36626
|
|
|
36592
36627
|
// src/index.ts
|
|
36593
|
-
var CLI_VERSION = true ? "0.
|
|
36628
|
+
var CLI_VERSION = true ? "0.169.0" : "0.1.0";
|
|
36594
36629
|
var CLI_BUNDLED = true;
|
|
36595
36630
|
var commandIo = /* @__PURE__ */ new WeakMap();
|
|
36596
36631
|
var commandClientFactory = /* @__PURE__ */ new WeakMap();
|