@dosu/cli 0.53.0-beta.14 → 0.53.0-beta.15
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/bin/dosu.js +34 -34
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -5018,7 +5018,7 @@ function isNpxInvocation(channel = INSTALL_CHANNEL, env = process.env) {
|
|
|
5018
5018
|
function getVersionString() {
|
|
5019
5019
|
return `v${VERSION}`;
|
|
5020
5020
|
}
|
|
5021
|
-
var VERSION = "0.53.0-beta.
|
|
5021
|
+
var VERSION = "0.53.0-beta.15", INSTALL_CHANNEL = "npm";
|
|
5022
5022
|
|
|
5023
5023
|
// src/debug/logger.ts
|
|
5024
5024
|
import {
|
|
@@ -73535,7 +73535,7 @@ var init_settings = __esm(() => {
|
|
|
73535
73535
|
});
|
|
73536
73536
|
|
|
73537
73537
|
// src/telemetry/debug-id.ts
|
|
73538
|
-
var BUNDLE_DEBUG_ID_PLACEHOLDER = "
|
|
73538
|
+
var BUNDLE_DEBUG_ID_PLACEHOLDER = "33c6d65c-87a5-5e97-6475-6e2164756e21";
|
|
73539
73539
|
|
|
73540
73540
|
// src/telemetry/telemetry.ts
|
|
73541
73541
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -75733,10 +75733,10 @@ function progressLine(done, ready, width, notes = 0) {
|
|
|
75733
75733
|
}
|
|
75734
75734
|
function tabBar(tab, queuedCount, openCount, studiedCount, width) {
|
|
75735
75735
|
return tabStrip([
|
|
75736
|
-
["activity", "
|
|
75737
|
-
["studied", `
|
|
75738
|
-
["queued", `
|
|
75739
|
-
["open", `
|
|
75736
|
+
["activity", "activity"],
|
|
75737
|
+
["studied", `studied (${studiedCount})`],
|
|
75738
|
+
["queued", `queued (${queuedCount})`],
|
|
75739
|
+
["open", `open (${openCount})`]
|
|
75740
75740
|
], tab, width);
|
|
75741
75741
|
}
|
|
75742
75742
|
function activityWidth(columns) {
|
|
@@ -75823,7 +75823,7 @@ function renderActivityFrame(status, activity, width, backlog = null, pane = DEF
|
|
|
75823
75823
|
if (below > 0)
|
|
75824
75824
|
scrollParts.push(`↓ ${below} newer`);
|
|
75825
75825
|
const lines = [
|
|
75826
|
-
breadcrumb(["
|
|
75826
|
+
breadcrumb(["home", "activity"], width),
|
|
75827
75827
|
"",
|
|
75828
75828
|
statusLine(status),
|
|
75829
75829
|
import_picocolors30.default.dim(studied),
|
|
@@ -77869,12 +77869,12 @@ function renderAnalyticsFrame(state, tab, scroll, pageStats = null, pagesPending
|
|
|
77869
77869
|
if (below > 0)
|
|
77870
77870
|
scrollParts.push(`↓ ${below} more`);
|
|
77871
77871
|
const lines = [
|
|
77872
|
-
breadcrumb(["
|
|
77872
|
+
breadcrumb(["home", "analytics"], width),
|
|
77873
77873
|
"",
|
|
77874
77874
|
...tabStrip([
|
|
77875
|
-
["overview", "
|
|
77876
|
-
["projects", "
|
|
77877
|
-
["pages", "
|
|
77875
|
+
["overview", "overview"],
|
|
77876
|
+
["projects", "projects"],
|
|
77877
|
+
["pages", "pages"]
|
|
77878
77878
|
], tab, width, { spread: false }),
|
|
77879
77879
|
"",
|
|
77880
77880
|
...listRows,
|
|
@@ -78040,7 +78040,7 @@ function checklistRows(ctx) {
|
|
|
78040
78040
|
if (ctx.studying) {
|
|
78041
78041
|
rows.push([
|
|
78042
78042
|
"sync",
|
|
78043
|
-
`\uD83D\uDCDA ${brand("studying sessions...")} ${import_picocolors33.default.dim(`${DOT3} see
|
|
78043
|
+
`\uD83D\uDCDA ${brand("studying sessions...")} ${import_picocolors33.default.dim(`${DOT3} see activity`)}`
|
|
78044
78044
|
]);
|
|
78045
78045
|
}
|
|
78046
78046
|
if (ctx.update) {
|
|
@@ -78217,7 +78217,7 @@ function renderPagesFrame(model, width, selected) {
|
|
|
78217
78217
|
}
|
|
78218
78218
|
const count = model.phase === "ready" ? ` ${import_picocolors34.default.dim(model.pages.length < model.total ? `(${model.pages.length} of ${model.total})` : `(${model.pages.length})`)}` : "";
|
|
78219
78219
|
const lines = [
|
|
78220
|
-
`${breadcrumb(["
|
|
78220
|
+
`${breadcrumb(["home", "pages"], width)}${count}`,
|
|
78221
78221
|
"",
|
|
78222
78222
|
...body,
|
|
78223
78223
|
...scrollHint ? [import_picocolors34.default.dim(scrollHint)] : [],
|
|
@@ -78247,7 +78247,7 @@ function renderPageFrame(page, content, width, scroll) {
|
|
|
78247
78247
|
}
|
|
78248
78248
|
const meta3 = `${page.type} · ${page.published ? "published" : "draft"} · updated ${page.updated_at.slice(0, 10)}`;
|
|
78249
78249
|
const lines = [
|
|
78250
|
-
breadcrumb(["
|
|
78250
|
+
breadcrumb(["home", "pages", page.title], width),
|
|
78251
78251
|
import_picocolors34.default.dim(clip3(meta3, width)),
|
|
78252
78252
|
"",
|
|
78253
78253
|
...body,
|
|
@@ -78562,36 +78562,36 @@ async function runMainMenu() {
|
|
|
78562
78562
|
if (session.expired) {
|
|
78563
78563
|
return [
|
|
78564
78564
|
{
|
|
78565
|
-
label: "
|
|
78565
|
+
label: "log in again",
|
|
78566
78566
|
hint: "(session expired · opens your browser)",
|
|
78567
78567
|
value: "auth"
|
|
78568
78568
|
},
|
|
78569
|
-
{ label: "
|
|
78569
|
+
{ label: "exit", value: "exit" }
|
|
78570
78570
|
];
|
|
78571
78571
|
}
|
|
78572
78572
|
if (!isAuthenticated(cfg)) {
|
|
78573
78573
|
return [
|
|
78574
|
-
{ label: "
|
|
78575
|
-
{ label: "
|
|
78574
|
+
{ label: "log in / sign up", hint: "(opens your browser)", value: "auth" },
|
|
78575
|
+
{ label: "exit", value: "exit" }
|
|
78576
78576
|
];
|
|
78577
78577
|
}
|
|
78578
78578
|
if (!isSetUp(cfg)) {
|
|
78579
78579
|
return [
|
|
78580
|
-
{ label: "
|
|
78581
|
-
{ label: "
|
|
78580
|
+
{ label: "setup", hint: setupHint(cfg), value: "setup" },
|
|
78581
|
+
{ label: "exit", value: "exit" }
|
|
78582
78582
|
];
|
|
78583
78583
|
}
|
|
78584
78584
|
const studying = isStudying();
|
|
78585
78585
|
return [
|
|
78586
78586
|
{
|
|
78587
|
-
label: studying ? `
|
|
78587
|
+
label: studying ? `activity \uD83D\uDCDA ${brand("studying sessions...")}` : "activity",
|
|
78588
78588
|
value: "sync"
|
|
78589
78589
|
},
|
|
78590
|
-
{ label: "
|
|
78591
|
-
{ label: "
|
|
78592
|
-
{ label: "
|
|
78593
|
-
{ label: "
|
|
78594
|
-
{ label: "
|
|
78590
|
+
{ label: "knowledge report", hint: "(opens in browser)", value: "report" },
|
|
78591
|
+
{ label: "analytics", value: "analytics" },
|
|
78592
|
+
{ label: "pages", value: "pages" },
|
|
78593
|
+
{ label: "settings", value: "settings" },
|
|
78594
|
+
{ label: "exit", value: "exit" }
|
|
78595
78595
|
];
|
|
78596
78596
|
};
|
|
78597
78597
|
const home = () => drawHome(cfg, session);
|
|
@@ -78661,13 +78661,13 @@ async function runSettings(cfg) {
|
|
|
78661
78661
|
const library = target?.library_name ?? target?.deployment_name ?? "not configured";
|
|
78662
78662
|
const filter = loadSyncState().project_filter;
|
|
78663
78663
|
const scope = !filter?.length ? "all projects" : filter.length <= 2 ? filter.map((dir) => dir === UNKNOWN_PROJECT ? "unknown" : basename6(dir)).join(", ") : `${filter.length} projects`;
|
|
78664
|
-
const action = await menuSelect("
|
|
78665
|
-
{ label: "
|
|
78666
|
-
{ label: "
|
|
78667
|
-
{ label: "
|
|
78668
|
-
{ label: "
|
|
78669
|
-
{ label: "
|
|
78670
|
-
{ label: "
|
|
78664
|
+
const action = await menuSelect("settings", [
|
|
78665
|
+
{ label: "switch organization", hint: target?.org_name, value: "switch-org" },
|
|
78666
|
+
{ label: "switch library", hint: library, value: "switch-library" },
|
|
78667
|
+
{ label: "study scope", hint: scope, value: "projects" },
|
|
78668
|
+
{ label: "run setup", hint: "rerun the setup wizard", value: "setup" },
|
|
78669
|
+
{ label: "log out", hint: "clear stored credentials", value: "logout" },
|
|
78670
|
+
{ label: "back", value: "back" }
|
|
78671
78671
|
]);
|
|
78672
78672
|
if (action === null || action === "back")
|
|
78673
78673
|
return;
|
|
@@ -84894,4 +84894,4 @@ execute().catch((err) => {
|
|
|
84894
84894
|
process.exit(1);
|
|
84895
84895
|
});
|
|
84896
84896
|
|
|
84897
|
-
//# debugId=
|
|
84897
|
+
//# debugId=33c6d65c-87a5-5e97-6475-6e2164756e21
|