@dosu/cli 0.52.0 → 0.52.1
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 +7 -16
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -5000,7 +5000,7 @@ function isNpxInvocation(channel = INSTALL_CHANNEL, env = process.env) {
|
|
|
5000
5000
|
function getVersionString() {
|
|
5001
5001
|
return `v${VERSION}`;
|
|
5002
5002
|
}
|
|
5003
|
-
var VERSION = "0.52.
|
|
5003
|
+
var VERSION = "0.52.1", INSTALL_CHANNEL = "npm";
|
|
5004
5004
|
|
|
5005
5005
|
// src/debug/logger.ts
|
|
5006
5006
|
import {
|
|
@@ -5134,7 +5134,7 @@ var init_logger = __esm(() => {
|
|
|
5134
5134
|
});
|
|
5135
5135
|
|
|
5136
5136
|
// src/client/contract.ts
|
|
5137
|
-
var CLI_CONTRACT_HASH = "
|
|
5137
|
+
var CLI_CONTRACT_HASH = "85b07f7689e2";
|
|
5138
5138
|
|
|
5139
5139
|
// src/client/trpc.ts
|
|
5140
5140
|
var exports_trpc = {};
|
|
@@ -11444,7 +11444,7 @@ var init_settings = __esm(() => {
|
|
|
11444
11444
|
});
|
|
11445
11445
|
|
|
11446
11446
|
// src/telemetry/debug-id.ts
|
|
11447
|
-
var BUNDLE_DEBUG_ID_PLACEHOLDER = "
|
|
11447
|
+
var BUNDLE_DEBUG_ID_PLACEHOLDER = "61606b23-6c2b-78a9-6475-6e2164756e21";
|
|
11448
11448
|
|
|
11449
11449
|
// src/telemetry/telemetry.ts
|
|
11450
11450
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
@@ -12401,9 +12401,6 @@ function binOnPath(bin) {
|
|
|
12401
12401
|
return false;
|
|
12402
12402
|
}
|
|
12403
12403
|
}
|
|
12404
|
-
function kickoffAgentLabel(agent) {
|
|
12405
|
-
return AGENT_LABELS[agent];
|
|
12406
|
-
}
|
|
12407
12404
|
function cursorAgentBin() {
|
|
12408
12405
|
if (binOnPath("agent"))
|
|
12409
12406
|
return "agent";
|
|
@@ -12483,15 +12480,10 @@ function launchKickoffAgent(agent, prompt, options = {}) {
|
|
|
12483
12480
|
logger.warn("setup", "No Cursor kickoff binary found");
|
|
12484
12481
|
return false;
|
|
12485
12482
|
}
|
|
12486
|
-
var KICKOFF_AGENTS
|
|
12483
|
+
var KICKOFF_AGENTS;
|
|
12487
12484
|
var init_agent_kickoff = __esm(() => {
|
|
12488
12485
|
init_logger();
|
|
12489
12486
|
KICKOFF_AGENTS = ["cursor", "claude", "codex"];
|
|
12490
|
-
AGENT_LABELS = {
|
|
12491
|
-
cursor: "Cursor",
|
|
12492
|
-
claude: "Claude Code",
|
|
12493
|
-
codex: "Codex"
|
|
12494
|
-
};
|
|
12495
12487
|
});
|
|
12496
12488
|
|
|
12497
12489
|
// src/setup/logs-handoff.ts
|
|
@@ -12587,8 +12579,8 @@ function printManualLogsNudge(opts = {}) {
|
|
|
12587
12579
|
log.message(info(prompt));
|
|
12588
12580
|
}
|
|
12589
12581
|
function confirmLogsHandoffMessage(agent) {
|
|
12590
|
-
const lead = agent === "cursor" && !cursorAgentBin() ? "We'll print a prompt to paste into Agent to mine these into Dosu. Cursor CLI isn't on PATH, so nothing runs until you send it." :
|
|
12591
|
-
return `${lead} ${LOGS_HANDOFF_PRIVACY}
|
|
12582
|
+
const lead = agent === "cursor" && !cursorAgentBin() ? "We'll print a prompt to paste into Agent to mine these into Dosu. Cursor CLI isn't on PATH, so nothing runs until you send it." : null;
|
|
12583
|
+
return lead ? `${lead} ${LOGS_HANDOFF_PRIVACY}` : LOGS_HANDOFF_PRIVACY;
|
|
12592
12584
|
}
|
|
12593
12585
|
async function offerLogsHandoff(options = {}) {
|
|
12594
12586
|
const hits = detectLogSources(options.home);
|
|
@@ -16494,7 +16486,6 @@ var LIBRARY_VISIBILITIES = ["public", "internal", "private"];
|
|
|
16494
16486
|
var CONFIG_SETTINGS = {
|
|
16495
16487
|
commit_to_trigger_pr: true,
|
|
16496
16488
|
default_accept_review: true,
|
|
16497
|
-
default_save_publish: true,
|
|
16498
16489
|
review_timeout_days: true
|
|
16499
16490
|
};
|
|
16500
16491
|
var CONFIG_SETTING_NAMES = Object.keys(CONFIG_SETTINGS);
|
|
@@ -18348,4 +18339,4 @@ execute().catch((err) => {
|
|
|
18348
18339
|
process.exit(1);
|
|
18349
18340
|
});
|
|
18350
18341
|
|
|
18351
|
-
//# debugId=
|
|
18342
|
+
//# debugId=61606b23-6c2b-78a9-6475-6e2164756e21
|