@isaacthoman/pulpo 0.176.0 → 0.178.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 +21 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24623,6 +24623,7 @@ var RESERVED_PROFILE_USERNAMES = [
24623
24623
  var reservedProfileUsernames = new Set(RESERVED_PROFILE_USERNAMES);
24624
24624
  var usernameSchema = external_exports.string().trim().toLowerCase().regex(/^[a-z0-9][a-z0-9_]{1,28}[a-z0-9]$/, "Use 3\u201330 letters, numbers, or underscores; begin and end with a letter or number").refine((username) => !reservedProfileUsernames.has(username), "That username is reserved by Pulpo");
24625
24625
  var profileColorSchema = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
24626
+ var usageVisibilitySchema = external_exports.enum(["pool", "friends", "public"]);
24626
24627
  var userSchema = external_exports.object({
24627
24628
  id: idSchema,
24628
24629
  email: external_exports.email(),
@@ -24630,6 +24631,7 @@ var userSchema = external_exports.object({
24630
24631
  username: usernameSchema,
24631
24632
  avatarUrl: external_exports.string().nullable(),
24632
24633
  profileColor: profileColorSchema.nullable(),
24634
+ usageVisibility: usageVisibilitySchema,
24633
24635
  role: roleSchema,
24634
24636
  balanceMicros: external_exports.number().int(),
24635
24637
  storageLimitBytes: external_exports.number().int().nonnegative(),
@@ -24903,7 +24905,8 @@ var mobilePasskeyCodeExchangeInputSchema = external_exports.object({
24903
24905
  var updateProfileInputSchema = external_exports.object({
24904
24906
  name: external_exports.string().trim().min(1).max(120).optional(),
24905
24907
  username: usernameSchema.optional(),
24906
- profileColor: profileColorSchema.nullable().optional()
24908
+ profileColor: profileColorSchema.nullable().optional(),
24909
+ usageVisibility: usageVisibilitySchema.optional()
24907
24910
  }).refine((value) => Object.keys(value).length > 0, "At least one profile field is required");
24908
24911
  var friendProfileSchema = external_exports.object({
24909
24912
  id: idSchema,
@@ -24945,7 +24948,13 @@ var friendProfileDetailSchema = external_exports.object({
24945
24948
  relationship: friendRelationshipSchema,
24946
24949
  requestId: idSchema.nullable(),
24947
24950
  friendsSince: isoDateSchema.nullable(),
24948
- mutualFriends: external_exports.array(friendProfileSchema)
24951
+ mutualFriends: external_exports.array(friendProfileSchema),
24952
+ /** Whether the viewer may see this profile's usage; always true for the viewer's own profile. */
24953
+ usageVisible: external_exports.boolean(),
24954
+ /** Who this profile shares its usage with, shown as an icon beside the handle. */
24955
+ usageVisibility: usageVisibilitySchema,
24956
+ /** When the account was created. */
24957
+ joinedAt: isoDateSchema
24949
24958
  });
24950
24959
  var poolMemberSchema = external_exports.object({
24951
24960
  profile: friendProfileSchema,
@@ -25398,8 +25407,10 @@ var sidebarPinsSchema = external_exports.object({
25398
25407
  // Shown by default; saved preferences that predate these keys keep them visible.
25399
25408
  searchChats: external_exports.boolean().default(true),
25400
25409
  files: external_exports.boolean().default(true),
25410
+ /** Deprecated: usage moved into your profile, so no sidebar item reads it; kept so saved pins still parse. */
25401
25411
  usage: external_exports.boolean().default(false),
25402
25412
  billing: external_exports.boolean().default(false),
25413
+ /** The People item, keyed by its former name. */
25403
25414
  friends: external_exports.boolean().default(false),
25404
25415
  apiKeys: external_exports.boolean().default(false)
25405
25416
  });
@@ -25946,13 +25957,19 @@ var managementAccountSettingsSchema = external_exports.object({
25946
25957
  nickname: external_exports.string().max(80).default(""),
25947
25958
  username: usernameSchema,
25948
25959
  profileColor: profileColorSchema.nullable().default(null),
25960
+ /**
25961
+ * Reads always include the stored level. Writes that omit it keep that level, because
25962
+ * older clients strip fields they don't know and a default here would change who can see usage.
25963
+ */
25964
+ usageVisibility: usageVisibilitySchema.optional(),
25949
25965
  memoryEnabled: external_exports.boolean().default(false),
25950
25966
  instructionPresetSelections: instructionPresetSelectionsSchema.default({}),
25951
25967
  /** Per-model composer Agent mode selections. Missing model ids default on in clients. */
25952
25968
  agentModes: agentModesSchema.default({}),
25953
25969
  /** @deprecated Retained so older management documents remain readable. */
25954
25970
  agentModeEnabled: external_exports.boolean().optional(),
25955
- leaderboardVisible: external_exports.boolean().default(false),
25971
+ /** @deprecated Retained so older management documents remain readable. */
25972
+ leaderboardVisible: external_exports.boolean().optional(),
25956
25973
  leaderboardColor: external_exports.string().regex(/^#[0-9a-fA-F]{6}$/).default("#10b981"),
25957
25974
  localChatLimit: external_exports.number().int().min(0).max(500).default(50),
25958
25975
  localAttachmentCacheMb: external_exports.number().int().min(0).max(2048).default(50),
@@ -36695,7 +36712,7 @@ async function runModelTest(input2) {
36695
36712
  }
36696
36713
 
36697
36714
  // src/index.ts
36698
- var CLI_VERSION = true ? "0.176.0" : "0.1.0";
36715
+ var CLI_VERSION = true ? "0.178.0" : "0.1.0";
36699
36716
  var CLI_BUNDLED = true;
36700
36717
  var commandIo = /* @__PURE__ */ new WeakMap();
36701
36718
  var commandClientFactory = /* @__PURE__ */ new WeakMap();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isaacthoman/pulpo",
3
- "version": "0.176.0",
3
+ "version": "0.178.0",
4
4
  "description": "Operator-first command-line client for Pulpo",
5
5
  "type": "module",
6
6
  "bin": {