@devness/useai-cli 0.4.15 → 0.4.16
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 +15 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
|
|
|
30
30
|
var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
|
|
31
31
|
|
|
32
32
|
// ../shared/dist/constants/version.js
|
|
33
|
-
var VERSION = "0.4.
|
|
33
|
+
var VERSION = "0.4.16";
|
|
34
34
|
|
|
35
35
|
// ../shared/dist/constants/defaults.js
|
|
36
36
|
var DEFAULT_CONFIG = {
|
|
@@ -290,9 +290,10 @@ var milestonesCommand = new Command3("milestones").description("List local miles
|
|
|
290
290
|
console.log(header(`Milestones (${milestones.length})`));
|
|
291
291
|
for (const m of milestones) {
|
|
292
292
|
const status = m.published ? chalk4.green("published") : chalk4.yellow("local");
|
|
293
|
+
const displayTitle = m.private_title ?? m.title;
|
|
293
294
|
console.log(
|
|
294
295
|
`
|
|
295
|
-
${chalk4.bold(
|
|
296
|
+
${chalk4.bold(displayTitle)} ${status}`
|
|
296
297
|
);
|
|
297
298
|
console.log(
|
|
298
299
|
table([
|
|
@@ -303,16 +304,18 @@ var milestonesCommand = new Command3("milestones").description("List local miles
|
|
|
303
304
|
])
|
|
304
305
|
);
|
|
305
306
|
if (opts.verbose) {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
307
|
+
const verboseRows = [
|
|
308
|
+
["ID", chalk4.dim(m.id)],
|
|
309
|
+
["Session", chalk4.dim(m.session_id)],
|
|
310
|
+
["Client", m.client],
|
|
311
|
+
["Languages", m.languages.join(", ") || "none"],
|
|
312
|
+
["Chain hash", chalk4.dim(m.chain_hash.slice(0, 16) + "...")],
|
|
313
|
+
["Published at", m.published_at ?? "n/a"]
|
|
314
|
+
];
|
|
315
|
+
if (m.private_title) {
|
|
316
|
+
verboseRows.push(["Public title", m.title]);
|
|
317
|
+
}
|
|
318
|
+
console.log(table(verboseRows));
|
|
316
319
|
}
|
|
317
320
|
}
|
|
318
321
|
console.log("");
|