@liberseek/boft-cli-win32-arm64 0.8.0 → 0.8.2

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.
@@ -14873,6 +14873,15 @@ var harnessDisplaySetSchema = external_exports.strictObject({
14873
14873
  initializeOnly: external_exports.boolean().optional()
14874
14874
  });
14875
14875
 
14876
+ // packages/shared-contracts/dist/harness-presentation.js
14877
+ var localeSchema = external_exports.string().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u);
14878
+ var displayText = (maximum) => external_exports.string().min(1).max(maximum).refine((text) => text.trim().length > 0);
14879
+ var harnessLocalizationsSchema = external_exports.record(localeSchema, external_exports.object({
14880
+ label: displayText(256).optional(),
14881
+ description: displayText(1024).optional()
14882
+ }).strict()).refine((entries) => Object.keys(entries).length <= 16, "Too many locales");
14883
+ var harnessLocalizedTextSchema = external_exports.record(localeSchema, displayText(4096)).refine((entries) => typeof entries.en === "string", "English fallback is required").refine((entries) => Object.keys(entries).length <= 16, "Too many locales");
14884
+
14876
14885
  // packages/shared-contracts/dist/model-price-overrides.js
14877
14886
  var usdPerMillionTokens = external_exports.number().finite().nonnegative();
14878
14887
  var modelPriceOverrideSchema = external_exports.strictObject({
@@ -14951,6 +14960,8 @@ var usageStatisticsSessionSchema = external_exports.strictObject({
14951
14960
  harness,
14952
14961
  sessionId: external_exports.string().min(1).max(512),
14953
14962
  project: project.nullable(),
14963
+ /** Persisted Desktop title for a mapped Session, otherwise its native name; may be absent. */
14964
+ title: external_exports.string().min(1).max(200).optional(),
14954
14965
  /** Models the session used, most requests first. */
14955
14966
  models: external_exports.array(model).max(16),
14956
14967
  firstAtMs: count,
@@ -15017,7 +15028,12 @@ var usageStatisticsResultSchema = external_exports.strictObject({
15017
15028
  * The sessions that spent the most, by cost and by tokens without cache, all filters applied;
15018
15029
  * requests without a native session are not listed here but count everywhere else.
15019
15030
  */
15020
- sessions: external_exports.array(usageStatisticsSessionSchema).max(100)
15031
+ sessions: external_exports.array(usageStatisticsSessionSchema).max(100),
15032
+ /**
15033
+ * The sessions last active in the range, newest first, all filters applied. Optional for older
15034
+ * Hosts; missing is treated as no list rather than no sessions.
15035
+ */
15036
+ recentSessions: external_exports.array(usageStatisticsSessionSchema).max(100).optional()
15021
15037
  });
15022
15038
 
15023
15039
  // packages/shared-contracts/dist/ids.js
@@ -15286,8 +15302,24 @@ var threadUsageSnapshotSchema = external_exports.object({
15286
15302
  }
15287
15303
  });
15288
15304
  var usagePercentSchema = external_exports.number().finite().min(0).max(100);
15305
+ var accountCreditsPeriodSchema = external_exports.enum([
15306
+ "weekly",
15307
+ "monthly",
15308
+ "five_hour",
15309
+ "seven_day",
15310
+ "unknown"
15311
+ ]);
15312
+ var accountCreditsScopeSchema = external_exports.object({
15313
+ id: external_exports.string().min(1).max(256),
15314
+ label: external_exports.string().min(1).max(256),
15315
+ localizations: harnessLocalizationsSchema.optional()
15316
+ }).strict();
15289
15317
  var accountCreditsProductUsageSchema = external_exports.object({
15290
15318
  product: external_exports.string().min(1),
15319
+ /** Native period and scope, never inferred from the display name. */
15320
+ periodType: accountCreditsPeriodSchema.optional(),
15321
+ scope: accountCreditsScopeSchema.optional(),
15322
+ localizations: harnessLocalizationsSchema.optional(),
15291
15323
  used: external_exports.number().finite().nonnegative().optional(),
15292
15324
  // Zero is a real empty cap, not an absent field.
15293
15325
  limit: external_exports.number().finite().nonnegative().optional(),
@@ -15309,8 +15341,10 @@ var accountCreditsSnapshotSchema = external_exports.object({
15309
15341
  label: external_exports.string().min(1).optional(),
15310
15342
  usedPercent: usagePercentSchema.optional(),
15311
15343
  remaining: external_exports.number().finite().optional(),
15344
+ scope: accountCreditsScopeSchema.optional(),
15345
+ localizations: harnessLocalizationsSchema.optional(),
15312
15346
  resetsAt: external_exports.string().min(1).optional(),
15313
- periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
15347
+ periodType: accountCreditsPeriodSchema,
15314
15348
  productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
15315
15349
  resetCredits: accountResetCreditsSchema.optional()
15316
15350
  }).strict().superRefine((credits, context) => {
@@ -15335,7 +15369,9 @@ var threadUsageInspectionParamsSchema = external_exports.object({
15335
15369
  var threadUsageInspectionSchema = external_exports.object({
15336
15370
  threadId: hostThreadIdSchema,
15337
15371
  usage: threadUsageSnapshotSchema.nullable(),
15338
- accountCredits: accountCreditsSnapshotSchema.optional()
15372
+ accountCredits: accountCreditsSnapshotSchema.optional(),
15373
+ /** Whether this source can provide cached account quota independently of usage. */
15374
+ accountCreditsSupported: external_exports.boolean().optional()
15339
15375
  }).strict();
15340
15376
 
15341
15377
  // packages/shared-contracts/dist/harness-accounts.js
@@ -15462,7 +15498,8 @@ var harnessPermissionModeSchema = external_exports.object({
15462
15498
  id: harnessPermissionModeIdSchema,
15463
15499
  label: nonBlankTextSchema.max(HARNESS_PERMISSION_MODE_LABEL_MAX_LENGTH),
15464
15500
  description: nonBlankTextSchema.max(HARNESS_PERMISSION_MODE_DESCRIPTION_MAX_LENGTH).optional(),
15465
- dangerous: external_exports.boolean().optional()
15501
+ dangerous: external_exports.boolean().optional(),
15502
+ localizations: harnessLocalizationsSchema.optional()
15466
15503
  }).strict();
15467
15504
  var harnessPermissionModeCatalogSchema = external_exports.object({
15468
15505
  modes: external_exports.array(harnessPermissionModeSchema).min(1).max(HARNESS_PERMISSION_MODE_CATALOG_MAX_LENGTH),
@@ -15785,6 +15822,8 @@ var harnessInstallationStateSchema = external_exports.object({
15785
15822
  // Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
15786
15823
  message: external_exports.string().max(2048).optional(),
15787
15824
  messageCode: external_exports.string().min(1).max(128).optional(),
15825
+ /** Safe plugin-owned explanation, distinct from raw diagnostic message. */
15826
+ notice: harnessLocalizedTextSchema.optional(),
15788
15827
  latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
15789
15828
  }).strict();
15790
15829
 
@@ -15923,6 +15962,7 @@ var harnessCommandDescriptorSchema = external_exports.object({
15923
15962
  invocation: commandInvocationSchema,
15924
15963
  label: commandLabelSchema,
15925
15964
  description: commandDescriptionSchema.optional(),
15965
+ localizations: harnessLocalizationsSchema.optional(),
15926
15966
  argumentMode: external_exports.enum(["none", "text"]),
15927
15967
  /**
15928
15968
  * Native distinction reported by the Harness. Omitted when the Harness does