@ainative/cody-cli 0.3.7 → 0.3.9
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 +3 -3
- 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"
|
|
@@ -155791,7 +155791,7 @@ async function trackDatadogEvent(eventName, properties) {
|
|
|
155791
155791
|
function getFlushIntervalMs() {
|
|
155792
155792
|
return parseInt(process.env.CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS || "", 10) || DEFAULT_FLUSH_INTERVAL_MS;
|
|
155793
155793
|
}
|
|
155794
|
-
var DATADOG_LOGS_ENDPOINT = "https://http-intake.logs.us5.datadoghq.com/api/v2/logs", DATADOG_CLIENT_TOKEN = "
|
|
155794
|
+
var DATADOG_LOGS_ENDPOINT = "https://http-intake.logs.us5.datadoghq.com/api/v2/logs", DATADOG_CLIENT_TOKEN = "", DEFAULT_FLUSH_INTERVAL_MS = 15000, MAX_BATCH_SIZE = 100, NETWORK_TIMEOUT_MS = 5000, DATADOG_ALLOWED_EVENTS, TAG_FIELDS, logBatch, flushTimer = null, datadogInitialized = null, initializeDatadog, NUM_USER_BUCKETS = 30, getUserBucket;
|
|
155795
155795
|
var init_datadog = __esm(() => {
|
|
155796
155796
|
init_axios2();
|
|
155797
155797
|
init_memoize();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainative/cody-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
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": {
|