claude-roi 0.8.3 → 0.8.4
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/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -99,7 +99,7 @@ async function main() {
|
|
|
99
99
|
const days = parseInt(opts.days, 10);
|
|
100
100
|
|
|
101
101
|
const invokedAs = path.basename(process.argv[1]);
|
|
102
|
-
if (invokedAs
|
|
102
|
+
if (invokedAs.includes('claude-roi')) {
|
|
103
103
|
console.log(`\x1b[33m⚠ claude-roi has been renamed to codelens-ai\x1b[0m`);
|
|
104
104
|
console.log(` Switch to: \x1b[36mnpx codelens-ai\x1b[0m`);
|
|
105
105
|
console.log('');
|
|
@@ -109,7 +109,7 @@ async function main() {
|
|
|
109
109
|
const claudeDir = path.join(os.homedir(), '.claude', 'projects');
|
|
110
110
|
|
|
111
111
|
const payload = await buildPayload(claudeDir, days, opts.project, opts.refresh);
|
|
112
|
-
if (payload) payload.meta.invokedAs = invokedAs;
|
|
112
|
+
if (payload) payload.meta.invokedAs = invokedAs.includes('claude-roi') ? 'claude-roi' : 'codelens-ai';
|
|
113
113
|
|
|
114
114
|
if (!payload) {
|
|
115
115
|
console.log('\x1b[33mNo Claude Code sessions found.\x1b[0m');
|