@mrciphersmith/keryx 0.2.159 → 0.2.161
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 +1916 -1367
- package/dist/core.js +33 -20
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -26937,15 +26937,15 @@ function extractCapabilities(manifest) {
|
|
|
26937
26937
|
|
|
26938
26938
|
// src/standard/help-groups.ts
|
|
26939
26939
|
var HELP_GROUP_ORDER = [
|
|
26940
|
-
{ name: "Start here", slug: "start-here" },
|
|
26941
|
-
{ name: "Connect a model provider", slug: "connect" },
|
|
26942
|
-
{ name: "Look and feel", slug: "look-and-feel" },
|
|
26943
|
-
{ name: "Working in keryx shell", slug: "shell-work" },
|
|
26944
|
-
{ name: "Project knowledge", slug: "project-knowledge" },
|
|
26945
|
-
{ name: "Managed work", slug: "managed-work" },
|
|
26946
|
-
{ name: "Automation", slug: "automation" },
|
|
26947
|
-
{ name: "External agents, ACP and MCP", slug: "external-agents" },
|
|
26948
|
-
{ name: "Maintenance and diagnostics", slug: "maintenance" }
|
|
26940
|
+
{ name: "Start here", slug: "start-here", tab: "Start", tabShort: "Start" },
|
|
26941
|
+
{ name: "Connect a model provider", slug: "connect", tab: "Connect", tabShort: "Conn" },
|
|
26942
|
+
{ name: "Look and feel", slug: "look-and-feel", tab: "Look", tabShort: "Look" },
|
|
26943
|
+
{ name: "Working in keryx shell", slug: "shell-work", tab: "Shell", tabShort: "Shell" },
|
|
26944
|
+
{ name: "Project knowledge", slug: "project-knowledge", tab: "Knowledge", tabShort: "Know" },
|
|
26945
|
+
{ name: "Managed work", slug: "managed-work", tab: "Work", tabShort: "Work" },
|
|
26946
|
+
{ name: "Automation", slug: "automation", tab: "Automate", tabShort: "Auto" },
|
|
26947
|
+
{ name: "External agents, ACP and MCP", slug: "external-agents", tab: "Agents", tabShort: "Agents" },
|
|
26948
|
+
{ name: "Maintenance and diagnostics", slug: "maintenance", tab: "Maintain", tabShort: "Maint" }
|
|
26949
26949
|
];
|
|
26950
26950
|
var HELP_GROUPS = [
|
|
26951
26951
|
{ kind: "cli", name: "init", group: "Start here", summary: "Initialize .metaproject in the current project." },
|
|
@@ -26975,7 +26975,7 @@ var HELP_GROUPS = [
|
|
|
26975
26975
|
group: "Connect a model provider",
|
|
26976
26976
|
summary: "Providers this operator has configured, and cross-family review eligibility."
|
|
26977
26977
|
},
|
|
26978
|
-
{ kind: "slash", name: "/connect", group: "Connect a model provider", summary: "Switch provider /
|
|
26978
|
+
{ kind: "slash", name: "/connect", group: "Connect a model provider", summary: "Switch provider; row buttons test/disconnect it." },
|
|
26979
26979
|
{
|
|
26980
26980
|
kind: "slash",
|
|
26981
26981
|
name: "/search-provider",
|
|
@@ -27408,15 +27408,29 @@ function renderEntryRows(entries, maxColumns) {
|
|
|
27408
27408
|
}
|
|
27409
27409
|
return rows;
|
|
27410
27410
|
}
|
|
27411
|
+
var SHELL_SUBHEADING = " in keryx shell:";
|
|
27412
|
+
function renderGroupLines(group, maxColumns) {
|
|
27413
|
+
const cliEntries = entriesInGroup(group.name, "cli");
|
|
27414
|
+
const slashEntries = entriesInGroup(group.name, "slash");
|
|
27415
|
+
if (cliEntries.length === 0 && slashEntries.length === 0) {
|
|
27416
|
+
return [];
|
|
27417
|
+
}
|
|
27418
|
+
const lines = [`${group.name}:`];
|
|
27419
|
+
lines.push(...renderEntryRows(cliEntries, maxColumns));
|
|
27420
|
+
if (slashEntries.length > 0) {
|
|
27421
|
+
lines.push(SHELL_SUBHEADING);
|
|
27422
|
+
lines.push(...renderEntryRows(slashEntries, maxColumns));
|
|
27423
|
+
}
|
|
27424
|
+
return lines;
|
|
27425
|
+
}
|
|
27411
27426
|
function renderGroupedCliHelp(maxColumns = HELP_DEFAULT_COLUMNS) {
|
|
27412
27427
|
const lines = [];
|
|
27413
27428
|
for (const group of HELP_GROUP_ORDER) {
|
|
27414
|
-
const
|
|
27415
|
-
if (
|
|
27429
|
+
const groupLines = renderGroupLines(group, maxColumns);
|
|
27430
|
+
if (groupLines.length === 0) {
|
|
27416
27431
|
continue;
|
|
27417
27432
|
}
|
|
27418
|
-
lines.push(
|
|
27419
|
-
lines.push(...renderEntryRows(entries, maxColumns));
|
|
27433
|
+
lines.push(...groupLines);
|
|
27420
27434
|
lines.push("");
|
|
27421
27435
|
}
|
|
27422
27436
|
return lines.join(`
|
|
@@ -27424,8 +27438,7 @@ function renderGroupedCliHelp(maxColumns = HELP_DEFAULT_COLUMNS) {
|
|
|
27424
27438
|
`);
|
|
27425
27439
|
}
|
|
27426
27440
|
function renderCliGroupHelp(group, maxColumns = HELP_DEFAULT_COLUMNS) {
|
|
27427
|
-
const
|
|
27428
|
-
const lines = [`${group.name}:`, ...renderEntryRows(entries, maxColumns)];
|
|
27441
|
+
const lines = renderGroupLines(group, maxColumns);
|
|
27429
27442
|
return lines.join(`
|
|
27430
27443
|
`) + `
|
|
27431
27444
|
`;
|
|
@@ -27459,12 +27472,12 @@ function renderGroupedNamedHelp(options, maxColumns) {
|
|
|
27459
27472
|
`) + `
|
|
27460
27473
|
`;
|
|
27461
27474
|
}
|
|
27462
|
-
function renderEntryDetail(entry) {
|
|
27463
|
-
const lines = [`${entry.name}`, "", entry.summary, ""];
|
|
27475
|
+
function renderEntryDetail(entry, maxColumns = HELP_DEFAULT_COLUMNS) {
|
|
27476
|
+
const lines = [`${entry.name}`, "", ...wrapWords(entry.summary, maxColumns), ""];
|
|
27464
27477
|
if (entry.kind === "slash") {
|
|
27465
|
-
lines.push("This is a keryx shell command \u2014 type it inside `keryx shell` (readline chat/agent mode, or
|
|
27478
|
+
lines.push(...wrapWords("This is a keryx shell command \u2014 type it inside `keryx shell` (readline chat/agent mode, or " + "the TUI's `/`-menu). It has no standalone CLI form.", maxColumns));
|
|
27466
27479
|
} else {
|
|
27467
|
-
lines.push(`Run \`keryx ${entry.name} --help\` (or \`keryx help ${entry.name}\`) for its full usage
|
|
27480
|
+
lines.push(...wrapWords(`Run \`keryx ${entry.name} --help\` (or \`keryx help ${entry.name}\`) for its full usage.`, maxColumns));
|
|
27468
27481
|
}
|
|
27469
27482
|
return lines.join(`
|
|
27470
27483
|
`) + `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.161",
|
|
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": {
|