@seanxdo/superview 0.1.15 → 0.2.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.
package/README.zh-CN.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## 快速开始
6
6
 
7
7
  ```bash
8
- npx @seanxdo/superview
8
+ npx --yes @seanxdo/superview@latest
9
9
  ```
10
10
 
11
11
  或全局安装:
package/core/cost.ts CHANGED
@@ -24,6 +24,10 @@ export const DEFAULT_PRICING: ModelPricing[] = [
24
24
  { id: "oGpt5", provider: "OpenAI", label: "GPT-5", test: /(gpt-?5|o3|o4)/i, inRate: 2.5, outRate: 15 },
25
25
  { id: "o55", provider: "OpenAI", label: "GPT-5.5", test: /gpt-?5\.?5/i, inRate: 5, outRate: 30 },
26
26
 
27
+ // Provider-level defaults (when session only records provider, not model)
28
+ { id: "anthropic", provider: "Anthropic", label: "Claude (unspecified)", test: /anthropic/i, inRate: 3, outRate: 15 },
29
+ { id: "openai", provider: "OpenAI", label: "GPT (unspecified)", test: /openai/i, inRate: 2.5, outRate: 15 },
30
+
27
31
  // Fallback
28
32
  { id: "unknown", provider: "Other", label: "Unknown", test: /.*/, inRate: 3, outRate: 15 },
29
33
  ];