@trydecember/cli 0.4.6 → 0.4.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.
Files changed (2) hide show
  1. package/dist/december.js +7 -21
  2. package/package.json +1 -1
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.4.6",
68
+ version: "0.4.8",
69
69
  description: "a (so much) better coding agent for terminal and cloud.",
70
70
  homepage: "https://trydecember.com",
71
71
  repository: {
@@ -114781,7 +114781,7 @@ function isPermissionDeniedError2(errMsg) {
114781
114781
  }
114782
114782
  function detectInstallMethod(options) {
114783
114783
  const configMethod = options?.configInstallMethod;
114784
- const validMethods = ["npm", "bun", "pnpm", "npx", "curl", "source"];
114784
+ const validMethods = ["npm", "bun", "pnpm", "npx", "source"];
114785
114785
  if (configMethod && validMethods.includes(configMethod)) {
114786
114786
  return configMethod;
114787
114787
  }
@@ -114803,9 +114803,6 @@ function detectInstallMethod(options) {
114803
114803
  if (combined.includes("/_npx/") || combined.includes("\\_npx\\") || combined.includes("/.bunx/") || env.npm_config_user_agent?.includes("npx")) {
114804
114804
  return "npx";
114805
114805
  }
114806
- if (execPath.includes(".december/bin") || combined.includes(".december/bin") || execPath.includes(".local/bin/december") || combined.includes(".local/bin/december") || execPath.endsWith("/december") && !execPath.includes("node_modules") && !execPath.includes(".bun") && !execPath.includes("/node")) {
114807
- return "curl";
114808
- }
114809
114806
  if (combined.includes(".bun/bin") || combined.includes("/.bun/") || execPath.includes("/bun") && !execPath.endsWith("/node")) {
114810
114807
  return "bun";
114811
114808
  }
@@ -114816,13 +114813,6 @@ function detectInstallMethod(options) {
114816
114813
  }
114817
114814
  function getUpdateCommand(method, _platform = process.platform) {
114818
114815
  switch (method) {
114819
- case "curl": {
114820
- return {
114821
- command: "curl -fsSL https://trydecember.com/install.sh | bash",
114822
- manualCmd: "curl -fsSL https://trydecember.com/install.sh | bash",
114823
- description: "Standalone binary via curl installer"
114824
- };
114825
- }
114826
114816
  case "bun": {
114827
114817
  return {
114828
114818
  command: "bun add -g @trydecember/cli@latest",
@@ -114884,8 +114874,8 @@ async function performCliUpdate(options) {
114884
114874
  });
114885
114875
  if (!options?.configInstallMethod && preDiagnosis?.activeBinary?.manager) {
114886
114876
  const activeMgr = preDiagnosis.activeBinary.manager;
114887
- if (activeMgr === "bun" || activeMgr === "npm" || activeMgr === "pnpm" || activeMgr === "curl" || activeMgr === "standalone" || activeMgr === "source") {
114888
- detectedMethod = activeMgr === "standalone" ? "curl" : activeMgr;
114877
+ if (activeMgr === "bun" || activeMgr === "npm" || activeMgr === "pnpm" || activeMgr === "source") {
114878
+ detectedMethod = activeMgr;
114889
114879
  }
114890
114880
  }
114891
114881
  const method = detectedMethod;
@@ -276816,13 +276806,9 @@ Options:
276816
276806
  }
276817
276807
  // src/constants/release-highlights.json
276818
276808
  var release_highlights_default = {
276819
- version: "0.4.6",
276820
- title: "What's New in v0.4.6",
276821
- bullets: [
276822
- "*(providers,scripts)* Fix anthropic user key auth and update email scripts",
276823
- "*(docs,web)* Clean redundant png assets, add marathi readme, and update landing hero",
276824
- "*(docs)* Update brand blue banner, navbar links, and profile cards"
276825
- ],
276809
+ version: "0.4.8",
276810
+ title: "What's New in v0.4.8",
276811
+ bullets: ["*(cli)* Remove standalone install script and update installer references to npm"],
276826
276812
  url: "https://trydecember.com/docs/changelog"
276827
276813
  };
276828
276814
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trydecember/cli",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "a (so much) better coding agent for terminal and cloud.",
5
5
  "homepage": "https://trydecember.com",
6
6
  "repository": {