@mrciphersmith/keryx 0.2.27 → 0.2.28

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 +5 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -38944,7 +38944,8 @@ import { homedir as homedir5 } from "os";
38944
38944
  var WORKER_TIMEOUT_MS = 1e4;
38945
38945
  var MAX_WORKER_OUTPUT_BYTES = 192000;
38946
38946
  var WORKER_SOURCE = String.raw`
38947
- const { request } = await import("node:https");
38947
+ const { request: httpsRequest } = await import("node:https");
38948
+ const { request: httpRequest } = await import("node:http");
38948
38949
  const { isIP } = await import("node:net");
38949
38950
  const input = JSON.parse(await Bun.stdin.text());
38950
38951
  const fail = () => process.stdout.write(JSON.stringify({ ok: false, reason: "request failed or timed out" }));
@@ -38959,6 +38960,7 @@ try {
38959
38960
  }
38960
38961
  const encoded = payload ? JSON.stringify(payload) : undefined;
38961
38962
  if (encoded) { headers["content-type"] = "application/json"; headers["content-length"] = String(Buffer.byteLength(encoded)); }
38963
+ const request = input.url.startsWith("http:") ? httpRequest : httpsRequest;
38962
38964
  const req = request(input.url, {
38963
38965
  method: input.method,
38964
38966
  lookup: (_host, options, callback) => {
@@ -38969,7 +38971,7 @@ try {
38969
38971
  if (options && options.all) callback(null, [record]);
38970
38972
  else callback(null, record.address, record.family);
38971
38973
  },
38972
- servername: input.hostname,
38974
+ ...(input.url.startsWith("https:") ? { servername: input.hostname } : {}),
38973
38975
  headers,
38974
38976
  }, (res) => {
38975
38977
  const chunks = []; let size = 0;
@@ -46153,7 +46155,7 @@ init_shell_config();
46153
46155
  // package.json
46154
46156
  var package_default = {
46155
46157
  name: "@mrciphersmith/keryx",
46156
- version: "0.2.27",
46158
+ version: "0.2.28",
46157
46159
  description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
46158
46160
  private: false,
46159
46161
  publishConfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
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": {