@ainative/cody-cli 0.3.7 → 0.3.8
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/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -144749,8 +144749,8 @@ function getAnthropicApiKeyWithSource(opts = {}) {
|
|
|
144749
144749
|
}
|
|
144750
144750
|
return { key: null, source: "none" };
|
|
144751
144751
|
}
|
|
144752
|
-
const apiKeyEnv = isRunningOnHomespace() ? undefined : process.env.ANTHROPIC_API_KEY;
|
|
144753
|
-
if (
|
|
144752
|
+
const apiKeyEnv = isRunningOnHomespace() ? undefined : (process.env.AINATIVE_API_KEY || process.env.ANTHROPIC_API_KEY);
|
|
144753
|
+
if (apiKeyEnv) {
|
|
144754
144754
|
return {
|
|
144755
144755
|
key: apiKeyEnv,
|
|
144756
144756
|
source: "ANTHROPIC_API_KEY"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainative/cody-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|