@64mb/freelens-power 2.21.9 → 2.22.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/renderer.js CHANGED
@@ -6291,7 +6291,19 @@ var CODEX_API_MODELS = [{
6291
6291
  "max"
6292
6292
  ],
6293
6293
  defaultReasoningEffort: "medium"
6294
- }];
6294
+ }, ...["Sol", "Astra"].map((name) => ({
6295
+ id: `gpt-6.2-${name.toLowerCase()}`,
6296
+ label: `GPT-6.2 ${name}`,
6297
+ reasoningEfforts: [
6298
+ "low",
6299
+ "medium",
6300
+ "high",
6301
+ "xhigh",
6302
+ "max",
6303
+ "ultra"
6304
+ ],
6305
+ defaultReasoningEffort: "low"
6306
+ }))];
6295
6307
  // src/common/ai-prompts.ts
6296
6308
  var LEGACY_AI_SYSTEM_PROMPT = `You are an experienced Kubernetes SRE and DevOps engineer assisting in Freelens Power.
6297
6309
  Investigate the current cluster and screen with the available read-only tools. Start with inventory and discover resource types when necessary, then request focused resource specifications and health evidence.
@@ -6413,7 +6425,7 @@ var AiPreferencesStore = class extends Common.Store.ExtensionStore {
6413
6425
  this.model = typeof data?.model === "string" ? data.model : "";
6414
6426
  const reasoningEffort = data?.reasoningEffort ?? "";
6415
6427
  this.reasoningEffort = CODEX_REASONING_EFFORTS.includes(reasoningEffort) ? reasoningEffort : "";
6416
- this.speed = data?.speed === "fast" ? "fast" : "default";
6428
+ this.speed = data?.speed === "fast" || data?.speed === "ultrafast" ? data.speed : "default";
6417
6429
  this.chatFontSize = typeof data?.chatFontSize === "number" && Number.isInteger(data.chatFontSize) && data.chatFontSize >= 10 && data.chatFontSize <= 24 ? data.chatFontSize : 14;
6418
6430
  this.chatPanelWidth = typeof data?.chatPanelWidth === "number" && Number.isFinite(data.chatPanelWidth) ? Math.min(1e4, Math.max(360, Math.round(data.chatPanelWidth))) : 560;
6419
6431
  this.conversations = {};
@@ -21246,7 +21258,7 @@ function startExtensionUpdateNotifications() {
21246
21258
  };
21247
21259
  const started = () => {
21248
21260
  attempt = {
21249
- version: current?.installedVersion ?? "2.21.9",
21261
+ version: current?.installedVersion ?? "2.22.0",
21250
21262
  startedAt: Date.now()
21251
21263
  };
21252
21264
  try {
@@ -40062,7 +40074,7 @@ var AiPreferences = observer(() => {
40062
40074
  label: effortLabel(effort)
40063
40075
  }))], currentEffort, effortLabel(currentEffort));
40064
40076
  const modelHint = isApi ? "Codex model catalog. API access may differ." : isPi ? currentModel ? "Local Pi model catalog." : "Configure a Pi model in the CLI, then select it here." : isClaude ? "Claude model aliases." : "Local Codex model catalog.";
40065
- const speedHint = isApi ? "Fast and Ultrafast use higher-priced API service tiers; model and account access required." : isClaude ? "Fast mode for Opus; account access required." : "Fast mode depends on model and account.";
40077
+ const speedHint = isApi ? "Fast and Ultrafast use higher-priced API service tiers; model and account access required." : isClaude ? "Fast mode for Opus; account access required." : "Fast and Ultrafast depend on model and account access.";
40066
40078
  const controlStyle = {
40067
40079
  width: 220,
40068
40080
  maxWidth: "100%",
@@ -40242,7 +40254,7 @@ var AiPreferences = observer(() => {
40242
40254
  value: "fast",
40243
40255
  label: "Fast"
40244
40256
  },
40245
- ...isApi ? [{
40257
+ ...!isClaude ? [{
40246
40258
  value: "ultrafast",
40247
40259
  label: "Ultrafast"
40248
40260
  }] : []