@trops/dash-core 0.1.634 → 0.1.636
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/electron/index.js +15 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +70 -15
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +70 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -40826,6 +40826,21 @@ const PROVIDERS = {
|
|
|
40826
40826
|
},
|
|
40827
40827
|
};
|
|
40828
40828
|
|
|
40829
|
+
// Claude Code (CLI): authenticate via the user's logged-in Claude Code CLI
|
|
40830
|
+
// session — no API key. Routed to the claude-agent engine, which the SDK runs
|
|
40831
|
+
// through the CLI. Same Claude models as Anthropic; the CLI has no Models API,
|
|
40832
|
+
// so the curated list is the source (listModels omitted → dispatcher falls back
|
|
40833
|
+
// to curated). Defined after the literal so it can reuse Anthropic's models.
|
|
40834
|
+
PROVIDERS["claude-code"] = {
|
|
40835
|
+
id: "claude-code",
|
|
40836
|
+
label: "Claude Code (CLI)",
|
|
40837
|
+
engine: "claude-agent",
|
|
40838
|
+
adapter: null,
|
|
40839
|
+
defaultModel: PROVIDERS.anthropic.defaultModel,
|
|
40840
|
+
curatedModels: PROVIDERS.anthropic.curatedModels,
|
|
40841
|
+
retiredMap: PROVIDERS.anthropic.retiredMap,
|
|
40842
|
+
};
|
|
40843
|
+
|
|
40829
40844
|
const DEFAULT_PROVIDER$1 = "anthropic";
|
|
40830
40845
|
|
|
40831
40846
|
function getProvider$2(providerId) {
|