@liberseek/boft-cli-win32-arm64 0.7.9 → 0.8.1

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 (57) hide show
  1. package/README.md +1 -1
  2. package/THIRD_PARTY_NOTICES.txt +9 -1
  3. package/app/codexhost-distribution.json +1 -1
  4. package/app/console-server.mjs +322 -67
  5. package/app/console-web.js +9202 -5218
  6. package/app/desktop-controller.mjs +259 -42
  7. package/app/host-runtime.mjs +6250 -1689
  8. package/app/plugins/antigravity/manifest.json +18 -1
  9. package/app/plugins/antigravity/plugin.mjs +283 -42
  10. package/app/plugins/claude-code/manifest.json +28 -0
  11. package/app/plugins/claude-code/plugin.mjs +35676 -24151
  12. package/app/plugins/codebuddy/manifest.json +17 -0
  13. package/app/plugins/codebuddy/plugin.mjs +5972 -5356
  14. package/app/plugins/codex-usage/manifest.json +9 -0
  15. package/app/plugins/codex-usage/plugin.mjs +17386 -0
  16. package/app/plugins/cursor-cli/manifest.json +18 -1
  17. package/app/plugins/cursor-cli/plugin.mjs +358 -77
  18. package/app/plugins/deepseek-harness/assets/icon.svg +1 -0
  19. package/app/plugins/deepseek-harness/manifest.json +35 -2
  20. package/app/plugins/deepseek-harness/plugin.mjs +823 -242
  21. package/app/plugins/enabled.json +2 -1
  22. package/app/plugins/grok/manifest.json +21 -1
  23. package/app/plugins/grok/plugin.mjs +933 -268
  24. package/app/plugins/hermes/assets/icon.png +0 -0
  25. package/app/plugins/hermes/manifest.json +30 -2
  26. package/app/plugins/hermes/plugin.mjs +469 -73
  27. package/app/plugins/kimi-code/assets/icon.svg +5 -0
  28. package/app/plugins/kimi-code/manifest.json +25 -2
  29. package/app/plugins/kimi-code/plugin.mjs +562 -36
  30. package/app/plugins/kiro-cli/assets/kiro-agent.svg +11 -0
  31. package/app/plugins/kiro-cli/manifest.json +18 -1
  32. package/app/plugins/kiro-cli/plugin.mjs +291 -22
  33. package/app/plugins/muse/manifest.json +18 -1
  34. package/app/plugins/muse/plugin.mjs +258 -17
  35. package/app/plugins/omp/manifest.json +21 -1
  36. package/app/plugins/omp/plugin.mjs +2763 -1958
  37. package/app/plugins/opencode/manifest.json +18 -1
  38. package/app/plugins/opencode/plugin.mjs +724 -147
  39. package/app/plugins/pi/manifest.json +32 -0
  40. package/app/plugins/pi/plugin.mjs +2908 -2312
  41. package/app/plugins/qoder/manifest.json +18 -1
  42. package/app/plugins/qoder/plugin.mjs +635 -81
  43. package/app/plugins/qoder-cn/manifest.json +18 -1
  44. package/app/plugins/qoder-cn/plugin.mjs +635 -81
  45. package/app/plugins/workbuddy/manifest.json +18 -0
  46. package/app/plugins/workbuddy/plugin.mjs +6362 -5748
  47. package/app/plugins/zcode/manifest.json +19 -1
  48. package/app/plugins/zcode/plugin.mjs +1117 -278
  49. package/app/renderer-extension.js +14675 -10087
  50. package/bin/boft.exe +0 -0
  51. package/libexec/boft-node-repl.exe +0 -0
  52. package/libexec/boft-shim.exe +0 -0
  53. package/libexec/boft-updater.exe +0 -0
  54. package/licenses/Cordis-LICENSE.txt +21 -0
  55. package/licenses/Cosmokit-LICENSE.txt +21 -0
  56. package/package.json +4 -4
  57. package/app/plugins/kiro-cli/assets/icon.svg +0 -5
@@ -4896,8 +4896,8 @@ function az_default() {
4896
4896
  }
4897
4897
 
4898
4898
  // ../../../node_modules/zod/v4/locales/be.js
4899
- function getBelarusianPlural(count, one, few, many) {
4900
- const absCount = Math.abs(count);
4899
+ function getBelarusianPlural(count2, one, few, many) {
4900
+ const absCount = Math.abs(count2);
4901
4901
  const lastDigit = absCount % 10;
4902
4902
  const lastTwoDigits = absCount % 100;
4903
4903
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -6975,8 +6975,8 @@ function hu_default() {
6975
6975
  }
6976
6976
 
6977
6977
  // ../../../node_modules/zod/v4/locales/hy.js
6978
- function getArmenianPlural(count, one, many) {
6979
- return Math.abs(count) === 1 ? one : many;
6978
+ function getArmenianPlural(count2, one, many) {
6979
+ return Math.abs(count2) === 1 ? one : many;
6980
6980
  }
6981
6981
  function withDefiniteArticle(word) {
6982
6982
  if (!word)
@@ -9104,8 +9104,8 @@ function ro_default() {
9104
9104
  }
9105
9105
 
9106
9106
  // ../../../node_modules/zod/v4/locales/ru.js
9107
- function getRussianPlural(count, one, few, many) {
9108
- const absCount = Math.abs(count);
9107
+ function getRussianPlural(count2, one, few, many) {
9108
+ const absCount = Math.abs(count2);
9109
9109
  const lastDigit = absCount % 10;
9110
9110
  const lastTwoDigits = absCount % 100;
9111
9111
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -14774,6 +14774,15 @@ function date4(params) {
14774
14774
  // ../../../node_modules/zod/v4/classic/external.js
14775
14775
  config(en_default());
14776
14776
 
14777
+ // ../../shared-contracts/dist/delegation-read.js
14778
+ var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
14779
+ var delegationReadParamsSchema = external_exports.strictObject({
14780
+ threadId: external_exports.string().min(1).max(1024),
14781
+ view: external_exports.enum(["result", "messages"]),
14782
+ cursor: external_exports.string().min(1).max(8192).optional(),
14783
+ limit: external_exports.number().int().min(1).max(100).optional()
14784
+ });
14785
+
14777
14786
  // ../../shared-contracts/dist/credential-imports.js
14778
14787
  var credentialSourceSchema = external_exports.object({
14779
14788
  id: external_exports.string().min(1).max(256),
@@ -14844,6 +14853,160 @@ var harnessDisplaySetSchema = external_exports.strictObject({
14844
14853
  initializeOnly: external_exports.boolean().optional()
14845
14854
  });
14846
14855
 
14856
+ // ../../shared-contracts/dist/model-price-overrides.js
14857
+ var usdPerMillionTokens = external_exports.number().finite().nonnegative();
14858
+ var modelPriceOverrideSchema = external_exports.strictObject({
14859
+ input: usdPerMillionTokens,
14860
+ output: usdPerMillionTokens,
14861
+ cacheRead: usdPerMillionTokens.optional(),
14862
+ cacheWrite: usdPerMillionTokens.optional(),
14863
+ cacheWrite1h: usdPerMillionTokens.optional()
14864
+ });
14865
+ var modelPriceKeySchema = external_exports.string().max(512).refine((key) => key.trim() === key && key.length > 0, "Model ID is required");
14866
+ var modelPriceOverridesSchema = external_exports.strictObject({
14867
+ /** Absolute path of the Host's `pricing.json`. */
14868
+ path: external_exports.string(),
14869
+ entries: external_exports.array(external_exports.strictObject({ key: external_exports.string(), price: modelPriceOverrideSchema })),
14870
+ /** Why the existing file is unusable; the Host then ignores it and refuses to overwrite it. */
14871
+ error: external_exports.string().nullable()
14872
+ });
14873
+ var modelPriceOverridesGetSchema = external_exports.strictObject({});
14874
+ var modelPriceOverridesSetSchema = external_exports.strictObject({
14875
+ key: modelPriceKeySchema,
14876
+ price: modelPriceOverrideSchema.nullable(),
14877
+ previousKey: modelPriceKeySchema.optional()
14878
+ });
14879
+ var modelPriceDefaultParamsSchema = external_exports.strictObject({
14880
+ model: modelPriceKeySchema
14881
+ });
14882
+ var modelPriceSuggestionSchema = external_exports.strictObject({
14883
+ /** Verified from catalog canonical links, not inferred from names or equal prices. */
14884
+ official: external_exports.boolean().optional(),
14885
+ canonicalModelId: external_exports.string().min(1).optional(),
14886
+ provider: external_exports.string().min(1).max(512),
14887
+ model: external_exports.string().min(1).max(512),
14888
+ price: modelPriceOverrideSchema
14889
+ });
14890
+ var modelPriceDefaultResultSchema = external_exports.strictObject({
14891
+ price: modelPriceOverrideSchema.nullable(),
14892
+ /** Local catalog suggestions only; never used automatically for pricing. */
14893
+ suggestions: external_exports.array(modelPriceSuggestionSchema).max(6).optional()
14894
+ });
14895
+
14896
+ // ../../shared-contracts/dist/usage-statistics.js
14897
+ var USAGE_STATISTICS_RANGES = ["today", "7d", "30d", "90d", "all"];
14898
+ var count = external_exports.number().int().min(0).max(Number.MAX_SAFE_INTEGER);
14899
+ var localDate = external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/u);
14900
+ var harness = external_exports.string().min(1).max(128);
14901
+ var model = external_exports.string().min(1).max(512);
14902
+ var project = external_exports.string().min(1).max(4096);
14903
+ var usageStatisticsParamsSchema = external_exports.strictObject({
14904
+ range: external_exports.enum(USAGE_STATISTICS_RANGES),
14905
+ harness: harness.optional(),
14906
+ model: model.nullable().optional(),
14907
+ project: project.nullable().optional(),
14908
+ /** One local date inside the range. */
14909
+ date: localDate.optional()
14910
+ });
14911
+ var usageStatisticsTotalsSchema = external_exports.strictObject({
14912
+ requests: count,
14913
+ inputTokens: count,
14914
+ cachedInputTokens: count,
14915
+ cacheWriteInputTokens: count,
14916
+ cacheKnownInputTokens: count,
14917
+ outputTokens: count,
14918
+ reasoningOutputTokens: count,
14919
+ /** USD at the public price, summed over the priced requests only. */
14920
+ costUsd: external_exports.number().finite().min(0),
14921
+ /** Requests without a price (or the cache data the price needs); not in `costUsd`. */
14922
+ unpricedRequests: count,
14923
+ /**
14924
+ * Requests whose storage gave no token counts: counted as requests, with neither tokens nor
14925
+ * cost, and not as unpriced.
14926
+ */
14927
+ unmeteredRequests: count
14928
+ });
14929
+ var totals = usageStatisticsTotalsSchema.shape;
14930
+ var usageStatisticsSessionSchema = external_exports.strictObject({
14931
+ harness,
14932
+ sessionId: external_exports.string().min(1).max(512),
14933
+ project: project.nullable(),
14934
+ /** Persisted Desktop title for a mapped Session, otherwise its native name; may be absent. */
14935
+ title: external_exports.string().min(1).max(200).optional(),
14936
+ /** Models the session used, most requests first. */
14937
+ models: external_exports.array(model).max(16),
14938
+ firstAtMs: count,
14939
+ lastAtMs: count,
14940
+ ...totals
14941
+ });
14942
+ var usageStatisticsResultSchema = external_exports.strictObject({
14943
+ range: external_exports.enum(USAGE_STATISTICS_RANGES),
14944
+ /** First local date of the range; null for all time. */
14945
+ from: localDate.nullable(),
14946
+ to: localDate,
14947
+ /** The filters these figures apply, echoed so a late answer to older filters is recognised. */
14948
+ filters: external_exports.strictObject({
14949
+ harness: harness.nullable(),
14950
+ model: model.nullable(),
14951
+ unknownModel: external_exports.boolean(),
14952
+ project: project.nullable(),
14953
+ unknownProject: external_exports.boolean(),
14954
+ date: localDate.nullable()
14955
+ }),
14956
+ /** Reading of native storage: incomplete while the first read, or a refresh, is under way. */
14957
+ reading: external_exports.strictObject({ complete: external_exports.boolean(), sources: count, read: count }),
14958
+ /** Harnesses whose storage could not be read; their part is missing, the rest is complete. */
14959
+ failures: external_exports.array(external_exports.strictObject({ harness, message: external_exports.string().max(2048) })).max(256),
14960
+ /** Every value seen in the range, ignoring the filters, to choose filters from. */
14961
+ options: external_exports.strictObject({
14962
+ harnesses: external_exports.array(harness).max(256),
14963
+ models: external_exports.array(model.nullable()).max(4096),
14964
+ projects: external_exports.array(project.nullable()).max(4096)
14965
+ }),
14966
+ /** Current display metadata, scoped by Harness. Never a pricing or filter identity.
14967
+ * Optional for older Hosts; missing/conflicting labels fall back to the native model ID.
14968
+ */
14969
+ modelLabels: external_exports.array(external_exports.strictObject({ harness, model, label: model })).max(4096).optional(),
14970
+ /** Native credits, all filters applied, never combined across Harnesses or treated as USD.
14971
+ * Only groups with at least one reported value appear; reportedRequests exposes partial data.
14972
+ */
14973
+ credits: external_exports.array(external_exports.strictObject({
14974
+ harness,
14975
+ model: model.nullable(),
14976
+ credits: external_exports.number().finite().min(0),
14977
+ reportedRequests: count,
14978
+ requests: count
14979
+ })).max(4096).optional(),
14980
+ /** All filters applied. */
14981
+ totals: usageStatisticsTotalsSchema,
14982
+ /** Each date and Harness of the range: every filter except the day. */
14983
+ daily: external_exports.array(external_exports.strictObject({ date: localDate, harness, ...totals })).max(2e5),
14984
+ /** Local weekday (0 = Sunday) and hour, all filters applied. */
14985
+ hourly: external_exports.array(external_exports.strictObject({
14986
+ weekday: external_exports.number().int().min(0).max(6),
14987
+ hour: external_exports.number().int().min(0).max(23),
14988
+ ...totals
14989
+ })).max(168),
14990
+ byHarness: external_exports.array(external_exports.strictObject({ harness, ...totals })).max(256),
14991
+ byModel: external_exports.array(external_exports.strictObject({
14992
+ model: model.nullable(),
14993
+ ...totals,
14994
+ /** Requests priced by what the Harness recorded they cost, not by a price list. */
14995
+ harnessPricedRequests: count
14996
+ })).max(4096),
14997
+ byProject: external_exports.array(external_exports.strictObject({ project: project.nullable(), ...totals })).max(4096),
14998
+ /**
14999
+ * The sessions that spent the most, by cost and by tokens without cache, all filters applied;
15000
+ * requests without a native session are not listed here but count everywhere else.
15001
+ */
15002
+ sessions: external_exports.array(usageStatisticsSessionSchema).max(100),
15003
+ /**
15004
+ * The sessions last active in the range, newest first, all filters applied. Optional for older
15005
+ * Hosts; missing is treated as no list rather than no sessions.
15006
+ */
15007
+ recentSessions: external_exports.array(usageStatisticsSessionSchema).max(100).optional()
15008
+ });
15009
+
14847
15010
  // ../../shared-contracts/dist/ids.js
14848
15011
  var opaqueIdSchema = external_exports.string().refine((value) => value.trim().length > 0, {
14849
15012
  message: "Identifier must not be empty or whitespace"
@@ -14865,13 +15028,40 @@ var HARNESS_PLUGIN_LIMIT = 128;
14865
15028
  var harnessPluginIdSchema = external_exports.string().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u).refine((id) => id !== "codex", "The official Codex identity is reserved").pipe(harnessIdSchema);
14866
15029
  var relativeResourceSchema = external_exports.string().min(1).max(512).refine((value) => !/[\\\u0000:#?]/u.test(value) && !value.startsWith("/") && !value.split("/").some((part) => part === ".." || part === ""), "Plugin resources must be relative paths inside the plugin");
14867
15030
  var documentationUrlSchema = external_exports.url().refine((value) => /^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(value), "Plugin documentation links must be credential-free HTTPS URLs");
15031
+ var localizedTextSchema = external_exports.object({ en: external_exports.string().max(4096), "zh-CN": external_exports.string().max(4096).optional() }).strict();
15032
+ var harnessInstallationGuideSchema = external_exports.object({
15033
+ commands: external_exports.array(external_exports.object({ terminal: external_exports.string().max(256), command: external_exports.string().max(4096) }).strict()).max(8),
15034
+ before: localizedTextSchema.optional(),
15035
+ after: localizedTextSchema.optional(),
15036
+ downloads: external_exports.array(external_exports.object({ label: external_exports.string().max(128), url: documentationUrlSchema }).strict()).max(8).optional()
15037
+ }).strict();
14868
15038
  var pluginPresentationShape = {
14869
15039
  id: harnessPluginIdSchema,
14870
15040
  name: external_exports.string().trim().min(1).max(128),
14871
15041
  version: external_exports.string().min(1).max(128),
15042
+ /** Capability-only plugin; omitted for existing session-capable plugins. */
15043
+ kind: external_exports.literal("usage").optional(),
15044
+ /** Original image styling or bounded vector paths; never arbitrary CSS/SVG markup. */
15045
+ iconStyle: external_exports.object({
15046
+ vector: external_exports.object({
15047
+ viewBox: external_exports.string().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),
15048
+ color: external_exports.string().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),
15049
+ paths: external_exports.array(external_exports.object({
15050
+ d: external_exports.string().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),
15051
+ fillRule: external_exports.enum(["evenodd", "nonzero"]).optional(),
15052
+ fill: external_exports.string().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()
15053
+ }).strict()).min(1).max(32)
15054
+ }).strict().optional(),
15055
+ background: external_exports.string().regex(/^#[a-f0-9]{6}$/iu).optional(),
15056
+ borderRadius: external_exports.number().min(0).max(50).optional(),
15057
+ paddingRatio: external_exports.number().min(0).max(0.25).optional()
15058
+ }).strict().optional(),
15059
+ installation: harnessInstallationGuideSchema.optional(),
15060
+ notice: localizedTextSchema.optional(),
14872
15061
  /** The factory accepts a persisted local entrypoint through its construction context. */
14873
15062
  launchCommand: external_exports.literal(true).optional(),
14874
15063
  links: external_exports.object({
15064
+ website: documentationUrlSchema.optional(),
14875
15065
  documentation: documentationUrlSchema.optional(),
14876
15066
  installation: documentationUrlSchema.optional()
14877
15067
  }).strict().optional()
@@ -14948,6 +15138,10 @@ var CONSOLE_HOST_METHODS = Object.freeze([
14948
15138
  "codexhost/account/list",
14949
15139
  "codexhost/account/refresh",
14950
15140
  "codexhost/account/usage/inspect",
15141
+ "codexhost/usage/model-prices/get",
15142
+ "codexhost/usage/model-prices/set",
15143
+ "codexhost/usage/model-prices/default",
15144
+ "codexhost/usage/statistics/get",
14951
15145
  "codexhost/update/check",
14952
15146
  "codexhost/update/start",
14953
15147
  "codexhost/update/status"
@@ -15012,6 +15206,7 @@ var threadUsageSnapshotSchema = external_exports.object({
15012
15206
  cacheWriteInputTokens: nonNegativeSafeIntegerSchema.optional(),
15013
15207
  outputTokens: nonNegativeSafeIntegerSchema.optional(),
15014
15208
  outputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
15209
+ apiOutputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
15015
15210
  reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
15016
15211
  totalTokens: nonNegativeSafeIntegerSchema.optional(),
15017
15212
  totalCostUsd: finiteNonNegativeNumberSchema.optional(),
@@ -15023,7 +15218,11 @@ var threadUsageSnapshotSchema = external_exports.object({
15023
15218
  planFiveHourUsedPercent: cacheHitRatePercentSchema.optional(),
15024
15219
  planFiveHourResetsAtUnix: nonNegativeSafeIntegerSchema.optional(),
15025
15220
  planSevenDayUsedPercent: cacheHitRatePercentSchema.optional(),
15026
- planSevenDayResetsAtUnix: nonNegativeSafeIntegerSchema.optional()
15221
+ planSevenDayResetsAtUnix: nonNegativeSafeIntegerSchema.optional(),
15222
+ sessionCacheHitRatePercent: cacheHitRatePercentSchema.optional(),
15223
+ timeToFirstOutputMs: nonNegativeSafeIntegerSchema.optional(),
15224
+ costSource: external_exports.enum(["publicPrice", "native"]).optional(),
15225
+ unpricedModels: external_exports.array(external_exports.string().min(1)).min(1).optional()
15027
15226
  }).strict().superRefine((usage, context) => {
15028
15227
  if (Object.keys(usage).length === 0) {
15029
15228
  context.addIssue({ code: "custom", message: "Thread Usage must contain a reliable field" });
@@ -15044,6 +15243,20 @@ var threadUsageSnapshotSchema = external_exports.object({
15044
15243
  path: ["contextWindowTokens"]
15045
15244
  });
15046
15245
  }
15246
+ if (usage.costSource !== void 0 && usage.totalCostUsd === void 0) {
15247
+ context.addIssue({
15248
+ code: "custom",
15249
+ message: "Thread Usage costSource must be provided with totalCostUsd",
15250
+ path: ["costSource"]
15251
+ });
15252
+ }
15253
+ if (usage.unpricedModels !== void 0 && usage.costSource !== "publicPrice") {
15254
+ context.addIssue({
15255
+ code: "custom",
15256
+ message: "Thread Usage unpricedModels must be provided with a publicPrice cost",
15257
+ path: ["unpricedModels"]
15258
+ });
15259
+ }
15047
15260
  if (usage.planFiveHourResetsAtUnix !== void 0 && usage.planFiveHourUsedPercent === void 0) {
15048
15261
  context.addIssue({
15049
15262
  code: "custom",
@@ -15313,27 +15526,27 @@ var harnessModelCatalogSchema = external_exports.object({
15313
15526
  }).strict().superRefine((catalog, context) => {
15314
15527
  const refs = /* @__PURE__ */ new Set();
15315
15528
  const thinkingIds = new Set(catalog.thinkingOptions.map(({ id }) => id));
15316
- for (const [index, model] of catalog.models.entries()) {
15317
- if (refs.has(model.ref.id)) {
15529
+ for (const [index, model2] of catalog.models.entries()) {
15530
+ if (refs.has(model2.ref.id)) {
15318
15531
  context.addIssue({
15319
15532
  code: "custom",
15320
15533
  message: "Model Catalog refs must be unique",
15321
15534
  path: ["models", index, "ref", "id"]
15322
15535
  });
15323
15536
  }
15324
- refs.add(model.ref.id);
15325
- if (model.fastModel) {
15326
- if (refs.has(model.fastModel.id) || catalog.models.some((entry) => entry.ref.id === model.fastModel?.id)) {
15537
+ refs.add(model2.ref.id);
15538
+ if (model2.fastModel) {
15539
+ if (refs.has(model2.fastModel.id) || catalog.models.some((entry) => entry.ref.id === model2.fastModel?.id)) {
15327
15540
  context.addIssue({
15328
15541
  code: "custom",
15329
15542
  message: "Fast Model refs must be distinct and unique",
15330
15543
  path: ["models", index, "fastModel"]
15331
15544
  });
15332
15545
  }
15333
- refs.add(model.fastModel.id);
15546
+ refs.add(model2.fastModel.id);
15334
15547
  }
15335
15548
  const supportedThinkingIds = /* @__PURE__ */ new Set();
15336
- for (const [optionIndex, optionId] of (model.supportedThinkingOptionIds ?? []).entries()) {
15549
+ for (const [optionIndex, optionId] of (model2.supportedThinkingOptionIds ?? []).entries()) {
15337
15550
  if (supportedThinkingIds.has(optionId)) {
15338
15551
  context.addIssue({
15339
15552
  code: "custom",
@@ -15927,6 +16140,11 @@ var codexSshDraftSchema = external_exports.strictObject({
15927
16140
  });
15928
16141
  var remoteConnectionsRequestSchema = external_exports.discriminatedUnion("action", [
15929
16142
  external_exports.strictObject({ action: external_exports.literal("list") }),
16143
+ external_exports.strictObject({
16144
+ action: external_exports.literal("read-thread"),
16145
+ hostId: hostId.refine((id) => id !== "local"),
16146
+ input: delegationReadParamsSchema
16147
+ }),
15930
16148
  external_exports.strictObject({
15931
16149
  action: external_exports.literal("save"),
15932
16150
  draft: codexSshDraftSchema,
@@ -16061,7 +16279,6 @@ var tokenFields = [
16061
16279
  "cachedInputTokens",
16062
16280
  "cacheWriteInputTokens",
16063
16281
  "outputTokens",
16064
- "outputTokensPerSecond",
16065
16282
  "reasoningOutputTokens",
16066
16283
  "totalTokens",
16067
16284
  "contextWindowTokens",
@@ -16069,10 +16286,12 @@ var tokenFields = [
16069
16286
  ];
16070
16287
  var safeIntegerFields = [
16071
16288
  "planFiveHourResetsAtUnix",
16072
- "planSevenDayResetsAtUnix"
16289
+ "planSevenDayResetsAtUnix",
16290
+ "timeToFirstOutputMs"
16073
16291
  ];
16074
16292
  var percentFields = [
16075
16293
  "cacheHitRatePercent",
16294
+ "sessionCacheHitRatePercent",
16076
16295
  "planFiveHourUsedPercent",
16077
16296
  "planSevenDayUsedPercent"
16078
16297
  ];
@@ -16080,9 +16299,31 @@ var usageFields = /* @__PURE__ */ new Set([
16080
16299
  ...tokenFields,
16081
16300
  ...safeIntegerFields,
16082
16301
  ...percentFields,
16302
+ "sessionCacheUsage",
16083
16303
  "totalCostUsd",
16084
16304
  "totalCredits",
16085
- "contextUsagePercent"
16305
+ "contextUsagePercent",
16306
+ "outputTokensPerSecond",
16307
+ "apiOutputTokensPerSecond",
16308
+ "costSource",
16309
+ "unpricedModels"
16310
+ ]);
16311
+ var requestTokenFields = [
16312
+ "inputTokens",
16313
+ "cachedInputTokens",
16314
+ "cacheWriteInputTokens",
16315
+ "cacheWrite1hInputTokens",
16316
+ "outputTokens",
16317
+ "reasoningOutputTokens",
16318
+ "startedAtMs",
16319
+ "completedAtMs"
16320
+ ];
16321
+ var requestFields = /* @__PURE__ */ new Set([
16322
+ ...requestTokenFields,
16323
+ "requestId",
16324
+ "historical",
16325
+ "model",
16326
+ "provider"
16086
16327
  ]);
16087
16328
 
16088
16329
  // dist/msp-client.js
@@ -3,8 +3,28 @@
3
3
  "id": "omp",
4
4
  "name": "Oh My Pi",
5
5
  "version": "0.0.0",
6
+ "iconStyle": {
7
+ "borderRadius": 22.37
8
+ },
9
+ "installation": {
10
+ "commands": [
11
+ {
12
+ "terminal": "macOS / Linux · Terminal (sh/bash)",
13
+ "command": "curl -fsSL https://omp.sh/install | sh"
14
+ },
15
+ {
16
+ "terminal": "Windows · PowerShell",
17
+ "command": "irm https://omp.sh/install.ps1 | iex"
18
+ }
19
+ ],
20
+ "after": {
21
+ "en": "After installation, run omp to complete login or setup.",
22
+ "zh-CN": "安装后运行 omp,完成登录或配置。"
23
+ }
24
+ },
6
25
  "links": {
7
- "installation": "https://github.com/can1357/oh-my-pi"
26
+ "website": "https://github.com/can1357/oh-my-pi",
27
+ "installation": "https://github.com/can1357/oh-my-pi#install"
8
28
  },
9
29
  "adapterApiVersion": 1,
10
30
  "entry": "plugin.mjs",