@liberseek/boft-cli-win32-arm64 0.6.2 → 0.6.3

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.
@@ -18252,6 +18252,8 @@ var threadUsageSnapshotSchema = external_exports.object({
18252
18252
  reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
18253
18253
  totalTokens: nonNegativeSafeIntegerSchema.optional(),
18254
18254
  totalCostUsd: finiteNonNegativeNumberSchema.optional(),
18255
+ totalCredits: finiteNonNegativeNumberSchema.optional(),
18256
+ contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
18255
18257
  cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
18256
18258
  contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
18257
18259
  contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
@@ -19228,7 +19230,9 @@ var usageFields = /* @__PURE__ */ new Set([
19228
19230
  ...tokenFields,
19229
19231
  ...safeIntegerFields,
19230
19232
  ...percentFields,
19231
- "totalCostUsd"
19233
+ "totalCostUsd",
19234
+ "totalCredits",
19235
+ "contextUsagePercent"
19232
19236
  ]);
19233
19237
  function isRecord(value) {
19234
19238
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -19262,6 +19266,12 @@ function parseHostUsage(value) {
19262
19266
  if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
19263
19267
  throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
19264
19268
  }
19269
+ for (const field of ["totalCredits", "contextUsagePercent"]) {
19270
+ const candidate = value[field];
19271
+ if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
19272
+ throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
19273
+ }
19274
+ }
19265
19275
  for (const field of percentFields) {
19266
19276
  const candidate = value[field];
19267
19277
  if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
@@ -7,6 +7,9 @@
7
7
  "opencode",
8
8
  "grok",
9
9
  "omp",
10
- "antigravity"
10
+ "antigravity",
11
+ "hermes",
12
+ "muse",
13
+ "kiro-cli"
11
14
  ]
12
15
  }
@@ -18710,6 +18710,8 @@ var threadUsageSnapshotSchema = external_exports.object({
18710
18710
  reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
18711
18711
  totalTokens: nonNegativeSafeIntegerSchema.optional(),
18712
18712
  totalCostUsd: finiteNonNegativeNumberSchema.optional(),
18713
+ totalCredits: finiteNonNegativeNumberSchema.optional(),
18714
+ contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
18713
18715
  cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
18714
18716
  contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
18715
18717
  contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
@@ -19665,7 +19667,9 @@ var usageFields = /* @__PURE__ */ new Set([
19665
19667
  ...tokenFields,
19666
19668
  ...safeIntegerFields,
19667
19669
  ...percentFields,
19668
- "totalCostUsd"
19670
+ "totalCostUsd",
19671
+ "totalCredits",
19672
+ "contextUsagePercent"
19669
19673
  ]);
19670
19674
  function isRecord2(value) {
19671
19675
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -19699,6 +19703,12 @@ function parseHostUsage(value) {
19699
19703
  if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
19700
19704
  throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
19701
19705
  }
19706
+ for (const field of ["totalCredits", "contextUsagePercent"]) {
19707
+ const candidate = value[field];
19708
+ if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
19709
+ throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
19710
+ }
19711
+ }
19702
19712
  for (const field of percentFields) {
19703
19713
  const candidate = value[field];
19704
19714
  if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
@@ -0,0 +1,11 @@
1
+ {
2
+ "manifestVersion": 1,
3
+ "id": "hermes",
4
+ "name": "Hermes",
5
+ "version": "0.1.0",
6
+ "links": {
7
+ "documentation": "https://hermes-agent.nousresearch.com/docs"
8
+ },
9
+ "adapterApiVersion": 1,
10
+ "entry": "plugin.mjs"
11
+ }