@trydecember/cli 0.3.31 → 0.3.32

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.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  December is a coding agent that lives in your terminal. It understands your codebase and helps you build faster by writing code, fixing bugs, and running commands. Use it directly in your terminal or alongside your favorite IDE.
4
4
 
5
- **Also available on the web at <a href="https://app.trydecember.com" target="_blank">app.trydecember.com</a>**
5
+ **Also available on the web at <a href="https://trydecember.com" target="_blank">trydecember.com</a>**
6
6
 
7
7
  <p align="center">
8
- <img src="https://github.com/user-attachments/assets/585e6ff5-0403-45f5-89c3-c2d3d168962c" alt="December" width="80%"/>
8
+ <img src="https://github.com/user-attachments/assets/585e6ff5-0403-45f5-89c3-c2d3d168962c" alt="December"/>
9
9
  </p>
10
10
 
11
11
  - **Writes code & runs commands:** Ask it to build features, fix bugs, or run tests. It does the work for you.
12
- - **Cloud Handoff:** Use _/handoff_ to continue your session on **<a href="https://app.trydecember.com" target="_blank">app.trydecember.com</a>**
12
+ - **Cloud Handoff:** Use _/handoff_ to continue your session on **<a href="https://trydecember.com" target="_blank">trydecember.com</a>**
13
13
  - **Bring your own AI:** Use API keys for OpenAI, Anthropic, Gemini, and 50+ others, or log in via December to use December credits.
14
14
 
15
15
  ### Get Started
package/dist/december.js CHANGED
@@ -65,7 +65,7 @@ var package_default;
65
65
  var init_package = __esm(() => {
66
66
  package_default = {
67
67
  name: "@trydecember/cli",
68
- version: "0.3.31",
68
+ version: "0.3.32",
69
69
  description: "a coding agent for terminal and cloud.",
70
70
  homepage: "https://trydecember.com",
71
71
  repository: {
@@ -63589,7 +63589,7 @@ function formatInsufficientCreditsNotice(provider, model, rawErrorMsg) {
63589
63589
  }
63590
63590
  const isDecember = normalized === "december" || normalized === "december_proxy" || rawLower.includes("december wallet") || rawLower.includes("trydecember.com");
63591
63591
  if (isDecember || !normalized && !model) {
63592
- return "Insufficient credits in December Wallet. Please add credits at https://trydecember.com/settings/billing or configure Bring Your Own Key (BYOK) via `/login` to continue using December.";
63592
+ return "Insufficient credits in December Wallet. Please add credits at https://app.trydecember.com/settings/billing or configure Bring Your Own Key (BYOK) via `/login` to continue using December.";
63593
63593
  }
63594
63594
  if (normalized === "arcee" || normalized === "arceeai" || normalized === "arcee-ai") {
63595
63595
  return "Insufficient credits in your Arcee AI account. Please add credits or top up your balance at https://platform.arcee.ai/api/api-keys";
@@ -63684,7 +63684,7 @@ function formatRateLimitNotice(provider, model, rawError) {
63684
63684
  if (displayName && billingLink) {
63685
63685
  return `Rate limit or quota exhausted from ${displayName}. Please check your account limits at ${billingLink} or switch models using /model.`;
63686
63686
  }
63687
- return "Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://trydecember.com/pricing";
63687
+ return "Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://app.trydecember.com/settings/billing";
63688
63688
  }
63689
63689
  function getCleanProviderDisplayName(providerId, model) {
63690
63690
  const id = (providerId || "").toLowerCase().trim();
@@ -63765,8 +63765,8 @@ function getCleanProviderDisplayName(providerId, model) {
63765
63765
  var PROVIDER_BILLING_LINKS, PROVIDER_DISPLAY_NAMES;
63766
63766
  var init_usage_rates = __esm(() => {
63767
63767
  PROVIDER_BILLING_LINKS = {
63768
- december: "https://trydecember.com/settings/billing",
63769
- december_proxy: "https://trydecember.com/settings/billing",
63768
+ december: "https://app.trydecember.com/settings/billing",
63769
+ december_proxy: "https://app.trydecember.com/settings/billing",
63770
63770
  google: "https://aistudio.google.com/app/usage",
63771
63771
  gemini: "https://aistudio.google.com/app/usage",
63772
63772
  anthropic: "https://console.anthropic.com/settings/billing",
@@ -110680,7 +110680,7 @@ function resolveDocsSectionPath(section) {
110680
110680
  async function handleDocsCommand(options) {
110681
110681
  const rawSection = options?.section?.toLowerCase().trim();
110682
110682
  const sectionPath = resolveDocsSectionPath(rawSection);
110683
- const baseUrl = (process.env.DECEMBER_DOCS_URL || process.env.DOCS_URL || process.env.LANDING_URL || "https://trydecember.com").replace(/\/$/, "");
110683
+ const baseUrl = (process.env.WEB_URL || "https://trydecember.com").replace(/\/$/, "");
110684
110684
  const targetUrl = `${baseUrl}/docs${sectionPath}`;
110685
110685
  console.log("Opening December documentation in your default browser...");
110686
110686
  console.log(`\x1B[38;2;135;178;244m${targetUrl}\x1B[0m`);
@@ -162546,7 +162546,7 @@ ${errorMsg}`;
162546
162546
  ${errorMsg}`;
162547
162547
  }
162548
162548
  } else if (errorMsg.includes("503") || errorMsg.includes("529") || errorMsg.toLowerCase().includes("high demand") || errorMsg.toLowerCase().includes("overloaded") || errorMsg.toLowerCase().includes("capacity")) {
162549
- errorMsg = `This model is currently experiencing high demand or capacity limits from the provider. Spikes in demand are usually temporary. Please try again in a few moments or switch to a different model at https://trydecember.com/pricing
162549
+ errorMsg = `This model is currently experiencing high demand or capacity limits from the provider. Spikes in demand are usually temporary. Please try again in a few moments or switch to a different model at https://app.trydecember.com/settings/billing
162550
162550
  ` + errorMsg;
162551
162551
  }
162552
162552
  eventQueue.push({ type: "AgentError", error: errorMsg });
@@ -209022,7 +209022,7 @@ var init_commands2 = __esm(() => {
209022
209022
  if (balance <= 0) {
209023
209023
  ctx.toast.show({
209024
209024
  variant: "error",
209025
- message: "Insufficient credits in December Wallet. Please add credits at https://trydecember.com/settings/billing to continue."
209025
+ message: "Insufficient credits in December Wallet. Please add credits at https://app.trydecember.com/settings/billing to continue."
209026
209026
  });
209027
209027
  return;
209028
209028
  }
@@ -209046,7 +209046,7 @@ var init_commands2 = __esm(() => {
209046
209046
  if (urlRes.status === 402) {
209047
209047
  ctx.toast.show({
209048
209048
  variant: "error",
209049
- message: "Insufficient credits in December Wallet. Please add credits at https://trydecember.com/settings/billing to continue."
209049
+ message: "Insufficient credits in December Wallet. Please add credits at https://app.trydecember.com/settings/billing to continue."
209050
209050
  });
209051
209051
  return;
209052
209052
  }
@@ -261550,7 +261550,7 @@ var init_messages5 = __esm(() => {
261550
261550
  MAX_TOKENS_SET: (tokens) => `Max tokens set to ${tokens}`
261551
261551
  },
261552
261552
  ERROR: {
261553
- RATE_LIMIT: `Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://trydecember.com/pricing
261553
+ RATE_LIMIT: `Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://app.trydecember.com/settings/billing
261554
261554
 
261555
261555
  `
261556
261556
  }
@@ -262864,8 +262864,8 @@ function resolveRateLimitDetails(combined, context) {
262864
262864
  }
262865
262865
  return {
262866
262866
  message: "Rate limit or quota exhausted from LLM provider.",
262867
- hint: "Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://trydecember.com/pricing",
262868
- notice: `Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://trydecember.com/pricing
262867
+ hint: "Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://app.trydecember.com/settings/billing",
262868
+ notice: `Rate limit or quota exhausted from LLM provider. Please upgrade your API key tier with your provider (OpenAI, Anthropic, Gemini) or switch to December Cloud Subscription at https://app.trydecember.com/settings/billing
262869
262869
  `
262870
262870
  };
262871
262871
  }
@@ -266188,7 +266188,7 @@ ${decStatus}
266188
266188
  const section = parts[1];
266189
266189
  await Promise.resolve().then(() => init_commands());
266190
266190
  const sectionPath = resolveDocsSectionPath(section);
266191
- const baseUrl = (process.env.DECEMBER_DOCS_URL || process.env.DOCS_URL || process.env.LANDING_URL || "https://trydecember.com").replace(/\/$/, "");
266191
+ const baseUrl = (process.env.WEB_URL || "https://trydecember.com").replace(/\/$/, "");
266192
266192
  const targetUrl = `${baseUrl}/docs${sectionPath}`;
266193
266193
  addToast("Opening documentation in your browser...", "info");
266194
266194
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trydecember/cli",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "a coding agent for terminal and cloud.",
5
5
  "homepage": "https://trydecember.com",
6
6
  "repository": {