fivocell 5.3.0 → 5.4.0
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.
|
@@ -207,6 +207,10 @@ switch (cmd) {
|
|
|
207
207
|
case 'sync':
|
|
208
208
|
doSync();
|
|
209
209
|
break;
|
|
210
|
+
case 'dashboard':
|
|
211
|
+
case 'dash':
|
|
212
|
+
doDashboard();
|
|
213
|
+
break;
|
|
210
214
|
case 'cross-project':
|
|
211
215
|
doCrossProject();
|
|
212
216
|
break;
|
|
@@ -3124,6 +3128,7 @@ function doHelp() {
|
|
|
3124
3128
|
console.log(` ${C.primary('cell handoff')} Show/update handoff context`);
|
|
3125
3129
|
console.log(` ${C.primary('cell memory')} Search/timeline/compact/verify/export memory`);
|
|
3126
3130
|
console.log(` ${C.primary('cell cross-project')} Share/list/insights from cross-project memory`);
|
|
3131
|
+
console.log(` ${C.primary('cell dashboard')} Open web dashboard in browser`);
|
|
3127
3132
|
console.log(` ${C.primary('cell context --topic')} Add topic-based memory search to context`);
|
|
3128
3133
|
console.log(` ${C.primary('cell repl')} Interactive REPL with / completion (or just run \`cell\` in a TTY)`);
|
|
3129
3134
|
console.log(` ${C.primary('cell help')} Show this help`);
|
|
@@ -3382,6 +3387,31 @@ function doHandoff() {
|
|
|
3382
3387
|
console.log(C.dim(' cell handoff --log "title" "summary" Log new entry'));
|
|
3383
3388
|
console.log();
|
|
3384
3389
|
}
|
|
3390
|
+
// ─── cell dashboard — open web dashboard ───────────────────────────────────
|
|
3391
|
+
function doDashboard() {
|
|
3392
|
+
console.log(C.bold(' ── Cell Dashboard ──\n'));
|
|
3393
|
+
const port = process.env.CELL_PORT || '9877';
|
|
3394
|
+
const url = `http://localhost:${port}/dashboard`;
|
|
3395
|
+
console.log(C.dim(` Opening: ${url}\n`));
|
|
3396
|
+
try {
|
|
3397
|
+
const { execSync } = require('child_process');
|
|
3398
|
+
if (process.platform === 'win32') {
|
|
3399
|
+
execSync(`start "" "${url}"`, { stdio: 'ignore' });
|
|
3400
|
+
}
|
|
3401
|
+
else if (process.platform === 'darwin') {
|
|
3402
|
+
execSync(`open "${url}"`, { stdio: 'ignore' });
|
|
3403
|
+
}
|
|
3404
|
+
else {
|
|
3405
|
+
execSync(`xdg-open "${url}"`, { stdio: 'ignore' });
|
|
3406
|
+
}
|
|
3407
|
+
console.log(C.success(` Dashboard opened in browser.`));
|
|
3408
|
+
}
|
|
3409
|
+
catch {
|
|
3410
|
+
console.log(C.warn(` Could not open browser automatically.`));
|
|
3411
|
+
console.log(C.dim(` Visit: ${url}`));
|
|
3412
|
+
}
|
|
3413
|
+
console.log();
|
|
3414
|
+
}
|
|
3385
3415
|
// ─── cell cross-project — shared patterns & insights ───────────────────────
|
|
3386
3416
|
function doCrossProject() {
|
|
3387
3417
|
const sub = args[1] || '';
|
|
@@ -4170,10 +4200,9 @@ function doMemory() {
|
|
|
4170
4200
|
console.log(C.dim(' cell memory automate Sync git commits'));
|
|
4171
4201
|
console.log(C.dim(' cell memory recommend Smart recommendations'));
|
|
4172
4202
|
console.log(C.dim(' cell memory compress [mode] Compress context'));
|
|
4173
|
-
console.log(C.dim(' cell memory export Export to JSON'));
|
|
4174
|
-
console.log(C.dim(' cell memory stats Show memory stats'));
|
|
4175
4203
|
console.log(C.dim(' cell memory export Export memory archive'));
|
|
4176
4204
|
console.log(C.dim(' cell memory import Import memory archive'));
|
|
4205
|
+
console.log(C.dim(' cell memory stats Show memory stats'));
|
|
4177
4206
|
console.log();
|
|
4178
4207
|
}
|
|
4179
4208
|
function doCI() {
|