revdeck 0.16.1 → 0.18.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.
- package/CHANGELOG.md +72 -0
- package/README.md +32 -9
- package/README.ru.md +32 -9
- package/dist/cli.js +786 -82
- package/dist/cli.js.map +4 -4
- package/dist/daemon.js +706 -111
- package/dist/daemon.js.map +4 -4
- package/dist/mcp.js +30 -1
- package/dist/mcp.js.map +4 -4
- package/dist/ui/assets/index-D3hJTLAL.js +21 -0
- package/dist/ui/assets/index-ahIeys_y.css +1 -0
- package/dist/ui/index.html +2 -2
- package/docs/architecture.md +2 -1
- package/docs/capabilities.md +36 -4
- package/docs/configuration.md +5 -0
- package/docs/protocol.md +6 -1
- package/docs/ru/architecture.md +2 -1
- package/docs/ru/capabilities.md +39 -4
- package/docs/ru/configuration.md +5 -0
- package/docs/ru/protocol.md +6 -1
- package/docs/ru/threat-model.md +5 -1
- package/docs/threat-model.md +5 -1
- package/package.json +1 -1
- package/dist/ui/assets/index-C5KVhmLm.js +0 -21
- package/dist/ui/assets/index-pbZQ6bv_.css +0 -1
package/dist/mcp.js
CHANGED
|
@@ -291,7 +291,7 @@ async function readTextNoFollow(file, maxBytes = 4 * 1024 * 1024) {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
// src/version.ts
|
|
294
|
-
var VERSION = "0.
|
|
294
|
+
var VERSION = "0.18.0";
|
|
295
295
|
|
|
296
296
|
// src/client.ts
|
|
297
297
|
var RpcError = class extends Error {
|
|
@@ -501,6 +501,35 @@ function daemonEntry() {
|
|
|
501
501
|
// src/cli/format.ts
|
|
502
502
|
init_redact();
|
|
503
503
|
init_locale();
|
|
504
|
+
|
|
505
|
+
// src/cli/report.ts
|
|
506
|
+
init_locale();
|
|
507
|
+
function createPalette(stream) {
|
|
508
|
+
const enabled = (() => {
|
|
509
|
+
if (process.env.NO_COLOR) return false;
|
|
510
|
+
const force = process.env.FORCE_COLOR;
|
|
511
|
+
if (force === "0") return false;
|
|
512
|
+
if (force !== void 0 && force !== "") return true;
|
|
513
|
+
return Boolean(stream.isTTY) && process.env.TERM !== "dumb";
|
|
514
|
+
})();
|
|
515
|
+
const wrap = (open2, close) => (text) => enabled ? `\x1B[${open2}m${text}\x1B[${close}m` : text;
|
|
516
|
+
return {
|
|
517
|
+
enabled,
|
|
518
|
+
bold: wrap("1", "22"),
|
|
519
|
+
dim: wrap("2", "22"),
|
|
520
|
+
red: wrap("31", "39"),
|
|
521
|
+
green: wrap("32", "39"),
|
|
522
|
+
yellow: wrap("33", "39"),
|
|
523
|
+
blue: wrap("34", "39"),
|
|
524
|
+
magenta: wrap("35", "39"),
|
|
525
|
+
cyan: wrap("36", "39"),
|
|
526
|
+
link: (text) => enabled ? `\x1B[4;34m${text}\x1B[0m` : text
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
var colors = createPalette(process.stdout);
|
|
530
|
+
var errorColors = createPalette(process.stderr);
|
|
531
|
+
|
|
532
|
+
// src/cli/format.ts
|
|
504
533
|
function truncate(value, max = 400) {
|
|
505
534
|
const single = value.replace(/\s+/g, " ").trim();
|
|
506
535
|
return single.length > max ? `${single.slice(0, max)}\u2026` : single;
|