@mrciphersmith/keryx 0.2.118 → 0.2.120

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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -50252,7 +50252,7 @@ import path47 from "path";
50252
50252
  // package.json
50253
50253
  var package_default = {
50254
50254
  name: "@mrciphersmith/keryx",
50255
- version: "0.2.118",
50255
+ version: "0.2.120",
50256
50256
  description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
50257
50257
  private: false,
50258
50258
  publishConfig: {
@@ -85105,13 +85105,14 @@ function createSearchProviderRegistry(transport, resolveCredential = () => {
85105
85105
  return normalize2("searxng", query, parsed === undefined ? [] : resultsFrom(parsed), { title: "title", url: "url", snippet: "content", date: "publishedDate" });
85106
85106
  }
85107
85107
  };
85108
+ const apiKeyLabel = (displayName) => /\bAPI$/.test(displayName) ? `${displayName} key` : `${displayName} API key`;
85108
85109
  const remote = (id, displayName, endpoint, injection, name, mapping) => ({
85109
85110
  id,
85110
85111
  displayName,
85111
85112
  kind: "remote",
85112
85113
  fields: [],
85113
85114
  defaults: {},
85114
- credentialSchema: { required: true, label: `${displayName} API key`, secret: true },
85115
+ credentialSchema: { required: true, label: apiKeyLabel(displayName), secret: true },
85115
85116
  documentationUrl: id === "brave" ? "https://api.search.brave.com/app/documentation" : id === "tavily" ? "https://docs.tavily.com/" : "https://docs.exa.ai/",
85116
85117
  capabilities: { localLoopback: false, supportsPublicationDate: Boolean(mapping.date) },
85117
85118
  async testConnection(_fields) {
@@ -91437,6 +91438,9 @@ function fitRowsByLines(lineCounts, start, rows) {
91437
91438
  used += lineCounts[end] ?? 1;
91438
91439
  end += 1;
91439
91440
  }
91441
+ if (end < lineCounts.length && used < rows) {
91442
+ return { start: from, end: end + 1, lastLines: rows - used };
91443
+ }
91440
91444
  return { start: from, end };
91441
91445
  }
91442
91446
  function isActionable(id) {
@@ -91511,9 +91515,11 @@ function presentMcpTools(openModal, otui, chrome, options) {
91511
91515
  const window = toolsWindow(rows);
91512
91516
  toolsScroll = window.start;
91513
91517
  for (let index = window.start;index < window.end; index++) {
91518
+ const lines = rows[index] ?? [];
91519
+ const cut = index === window.end - 1 && window.lastLines !== undefined;
91514
91520
  toolsBody.add(new rowCtor(activeRenderer, {
91515
91521
  id: `mcp-tool-row-${index}`,
91516
- content: (rows[index] ?? []).join(`
91522
+ content: (cut ? lines.slice(0, window.lastLines) : lines).join(`
91517
91523
  `)
91518
91524
  }));
91519
91525
  }
@@ -91632,11 +91638,13 @@ function presentMcpTools(openModal, otui, chrome, options) {
91632
91638
  bodyWidth = ctx?.width;
91633
91639
  if (tabId === "tools") {
91634
91640
  toolsBody = target;
91641
+ mcpBody = undefined;
91635
91642
  toolsScroll = Math.max(0, toolsScroll);
91636
91643
  paintToolsRows();
91637
91644
  return;
91638
91645
  }
91639
91646
  mcpBody = target;
91647
+ toolsBody = undefined;
91640
91648
  mcpScroll = scrollToReveal3(mcpSelected, mcpScroll, bodyRows);
91641
91649
  paintMcpRows();
91642
91650
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.2.118",
3
+ "version": "0.2.120",
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": {