@mrciphersmith/keryx 0.4.59 → 0.4.60
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/cli.js +19 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -38567,7 +38567,7 @@ var package_default;
|
|
|
38567
38567
|
var init_package = __esm(() => {
|
|
38568
38568
|
package_default = {
|
|
38569
38569
|
name: "@mrciphersmith/keryx",
|
|
38570
|
-
version: "0.4.
|
|
38570
|
+
version: "0.4.60",
|
|
38571
38571
|
description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
38572
38572
|
private: false,
|
|
38573
38573
|
publishConfig: {
|
|
@@ -225501,8 +225501,10 @@ function presentDecisions(open, otui, chrome, options) {
|
|
|
225501
225501
|
return handle;
|
|
225502
225502
|
}
|
|
225503
225503
|
async function openDecisions(otui, chrome, options) {
|
|
225504
|
-
const { cwd, confirmationLines, ...rest } = options;
|
|
225504
|
+
const { cwd, confirmationLines, alive, ...rest } = options;
|
|
225505
225505
|
const report = await reportText(cwd).catch(() => UNREADABLE);
|
|
225506
|
+
if (alive?.() === false)
|
|
225507
|
+
return;
|
|
225506
225508
|
const text = withConfirmationLines(report, confirmationLines?.() ?? []);
|
|
225507
225509
|
return presentDecisions((hostOtui, hostChrome, input) => openModal(hostOtui, hostChrome, input), otui, chrome, { ...rest, text });
|
|
225508
225510
|
}
|
|
@@ -225513,8 +225515,10 @@ ${cards.join(`
|
|
|
225513
225515
|
`)}`;
|
|
225514
225516
|
}
|
|
225515
225517
|
async function openDecisionsArms(otui, chrome, options) {
|
|
225516
|
-
const { cwd, confirmationLines: _cards, ...rest } = options;
|
|
225518
|
+
const { cwd, confirmationLines: _cards, alive, ...rest } = options;
|
|
225517
225519
|
const text = await armsText(cwd);
|
|
225520
|
+
if (alive?.() === false)
|
|
225521
|
+
return;
|
|
225518
225522
|
return presentDecisions((hostOtui, hostChrome, input) => openModal(hostOtui, hostChrome, input), otui, chrome, { ...rest, text, tabLabel: "Arms" });
|
|
225519
225523
|
}
|
|
225520
225524
|
function projectDecisionsPanel(count, width, backfilled = 0, annotated = 0, hostQuestions = 0) {
|
|
@@ -225604,14 +225608,22 @@ function mountDecisionsSidebar(options) {
|
|
|
225604
225608
|
}
|
|
225605
225609
|
}));
|
|
225606
225610
|
};
|
|
225611
|
+
let openGeneration = 0;
|
|
225612
|
+
const gone = () => disposed || isRenderableGone(box);
|
|
225607
225613
|
const openWith = async (open) => {
|
|
225614
|
+
if (gone())
|
|
225615
|
+
return;
|
|
225616
|
+
const generation = ++openGeneration;
|
|
225608
225617
|
modal?.close({ restoreFocus: false });
|
|
225609
|
-
|
|
225618
|
+
const opened = await open(core, chrome, {
|
|
225610
225619
|
cwd: options.cwd,
|
|
225620
|
+
alive: () => !gone() && generation === openGeneration,
|
|
225611
225621
|
...options.confirmationLines !== undefined ? { confirmationLines: options.confirmationLines } : {},
|
|
225612
225622
|
...options.onKeypress !== undefined ? { onKeypress: options.onKeypress } : {}
|
|
225613
225623
|
});
|
|
225614
|
-
|
|
225624
|
+
if (generation === openGeneration)
|
|
225625
|
+
modal = opened;
|
|
225626
|
+
return opened;
|
|
225615
225627
|
};
|
|
225616
225628
|
const show = () => openWith(openDecisions);
|
|
225617
225629
|
const showArms = () => openWith(openDecisionsArms);
|
|
@@ -335369,7 +335381,7 @@ var init_native_coverage_generated = __esm(() => {
|
|
|
335369
335381
|
registryDigest: "96f6ac176ce1847bcc637495a22b7e217d5f472d7a97651ea1614cfe26bfc27e",
|
|
335370
335382
|
contractDigest: "95fd86252f56e1ddca9e5acc8f3817e1dba30c7a576e7a7130ded3424d23b018",
|
|
335371
335383
|
subjectCatalogueDigest: "0aaa0f567b5b26de53e54af7b8441fd4f475d2e044c127543db635eb47569430",
|
|
335372
|
-
inventoryDigest: "
|
|
335384
|
+
inventoryDigest: "c1349c9c1db960093bd995a61945ae23313a2e2c827bd22ab974cb2ed66de5f6",
|
|
335373
335385
|
releaseReady: true,
|
|
335374
335386
|
counts: {
|
|
335375
335387
|
registeredCommands: 76,
|
|
@@ -335649,7 +335661,7 @@ var init_native_coverage_generated = __esm(() => {
|
|
|
335649
335661
|
"workspace.navigate"
|
|
335650
335662
|
],
|
|
335651
335663
|
otherBlockers: [],
|
|
335652
|
-
descriptorDigest: "
|
|
335664
|
+
descriptorDigest: "2d26ab2a2343691b0f5eba412bc324f7d6edaf395d3795093b71f54746780539"
|
|
335653
335665
|
};
|
|
335654
335666
|
});
|
|
335655
335667
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.60",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|