ccsini 0.1.39 → 0.1.41
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/index.js +20 -16
- package/package.json +4 -6
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.
|
|
28021
|
+
var VERSION = "0.1.41";
|
|
28022
28022
|
|
|
28023
28023
|
// src/commands/init.ts
|
|
28024
28024
|
init_source();
|
|
@@ -29543,6 +29543,22 @@ function chunkArray(arr, size) {
|
|
|
29543
29543
|
// src/commands/init.ts
|
|
29544
29544
|
import { writeFile as writeFile6 } from "fs/promises";
|
|
29545
29545
|
import { join as join7 } from "path";
|
|
29546
|
+
|
|
29547
|
+
// src/branding.ts
|
|
29548
|
+
init_source();
|
|
29549
|
+
var LOGO = source_default.hex("#FFA500").bold(`
|
|
29550
|
+
\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557
|
|
29551
|
+
\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
29552
|
+
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
29553
|
+
\u2588\u2588\u2551 \u2588\u2588\u2551 \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551
|
|
29554
|
+
\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551
|
|
29555
|
+
\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D
|
|
29556
|
+
`);
|
|
29557
|
+
var TAGLINE = ` ${source_default.bold(`ccsini v${VERSION}`)} \u2014 Claude Code seamless sync
|
|
29558
|
+
${source_default.dim("Encrypted sync for your Claude Code settings across devices")}
|
|
29559
|
+
`;
|
|
29560
|
+
|
|
29561
|
+
// src/commands/init.ts
|
|
29546
29562
|
function registerInitCommand(program2) {
|
|
29547
29563
|
program2.command("init").description("Connect this device to your ccsini account").option("--token <token>", "Setup token from dashboard").action(async (opts) => {
|
|
29548
29564
|
const configDir = getConfigDir();
|
|
@@ -29558,9 +29574,8 @@ function registerInitCommand(program2) {
|
|
|
29558
29574
|
if (!overwrite)
|
|
29559
29575
|
return;
|
|
29560
29576
|
}
|
|
29561
|
-
console.log(
|
|
29562
|
-
|
|
29563
|
-
`));
|
|
29577
|
+
console.log(LOGO);
|
|
29578
|
+
console.log(TAGLINE);
|
|
29564
29579
|
let token = opts.token;
|
|
29565
29580
|
if (!token) {
|
|
29566
29581
|
const answer = await dist_default12.prompt([
|
|
@@ -29935,7 +29950,7 @@ function registerSelfCommands(program2) {
|
|
|
29935
29950
|
console.log(`New version available: ${latest}`);
|
|
29936
29951
|
console.log(`Updating...
|
|
29937
29952
|
`);
|
|
29938
|
-
const cmd = `
|
|
29953
|
+
const cmd = `bun add -g ccsini@${latest}`;
|
|
29939
29954
|
try {
|
|
29940
29955
|
execSync(cmd, { stdio: "inherit" });
|
|
29941
29956
|
console.log(`
|
|
@@ -30402,17 +30417,6 @@ function registerSessionsCommand(program2) {
|
|
|
30402
30417
|
// src/commands/menu.ts
|
|
30403
30418
|
init_source();
|
|
30404
30419
|
init_dist16();
|
|
30405
|
-
var LOGO = source_default.hex("#FFA500").bold(`
|
|
30406
|
-
\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557
|
|
30407
|
-
\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
30408
|
-
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551
|
|
30409
|
-
\u2588\u2588\u2551 \u2588\u2588\u2551 \u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551
|
|
30410
|
-
\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551
|
|
30411
|
-
\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D
|
|
30412
|
-
`);
|
|
30413
|
-
var TAGLINE = ` ${source_default.bold(`ccsini v${VERSION}`)} \u2014 Claude Code seamless sync
|
|
30414
|
-
${source_default.dim("Encrypted sync for your Claude Code settings across devices")}
|
|
30415
|
-
`;
|
|
30416
30420
|
async function showInteractiveMenu(program2) {
|
|
30417
30421
|
if (!process.stdin.isTTY) {
|
|
30418
30422
|
program2.help();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccsini",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"description": "Claude Code seamless sync across devices",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"test": "bun test",
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/bun": "^1.2.0",
|
|
30
|
+
"@types/inquirer": "^9.0.9",
|
|
29
31
|
"chalk": "^5.4.0",
|
|
30
32
|
"chokidar": "^5.0.0",
|
|
31
33
|
"commander": "^13.0.0",
|
|
@@ -33,9 +35,5 @@
|
|
|
33
35
|
"inquirer": "^13.2.2",
|
|
34
36
|
"jose": "^6.1.3",
|
|
35
37
|
"ora": "^8.2.0"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/bun": "^1.2.0",
|
|
39
|
-
"@types/inquirer": "^9.0.9"
|
|
40
38
|
}
|
|
41
39
|
}
|