ccsini 0.1.38 → 0.1.39

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/index.js +2 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28018,7 +28018,7 @@ var {
28018
28018
  } = import__.default;
28019
28019
 
28020
28020
  // src/version.ts
28021
- var VERSION = "0.1.38";
28021
+ var VERSION = "0.1.39";
28022
28022
 
28023
28023
  // src/commands/init.ts
28024
28024
  init_source();
@@ -29912,15 +29912,6 @@ function registerDoctorCommand(program2) {
29912
29912
 
29913
29913
  // src/commands/self.ts
29914
29914
  import { execSync } from "child_process";
29915
- function detectInstalledWith() {
29916
- try {
29917
- const whichResult = execSync(process.platform === "win32" ? "where ccsini" : "which ccsini", { encoding: "utf-8" }).trim().split(`
29918
- `)[0];
29919
- if (whichResult.includes(".bun"))
29920
- return "bun";
29921
- } catch {}
29922
- return "npm";
29923
- }
29924
29915
  function getLatestVersion() {
29925
29916
  try {
29926
29917
  const result = execSync("npm view ccsini version", { encoding: "utf-8" }).trim();
@@ -29944,8 +29935,7 @@ function registerSelfCommands(program2) {
29944
29935
  console.log(`New version available: ${latest}`);
29945
29936
  console.log(`Updating...
29946
29937
  `);
29947
- const installedWith = detectInstalledWith();
29948
- const cmd = installedWith === "bun" ? `bun add -g ccsini@${latest} --force` : `npm install -g ccsini@${latest}`;
29938
+ const cmd = `npm install -g ccsini@${latest}`;
29949
29939
  try {
29950
29940
  execSync(cmd, { stdio: "inherit" });
29951
29941
  console.log(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccsini",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "description": "Claude Code seamless sync across devices",
5
5
  "type": "module",
6
6
  "bin": {