skykoi 2026.3.201 → 2026.3.221

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2026.3.201",
3
- "commit": "e72ad948ad5c744e5e0e68dcf67959368c8521fd",
4
- "builtAt": "2026-05-01T01:59:44.784Z"
2
+ "version": "2026.3.221",
3
+ "commit": "e5b00dbbca755488b5c28a5f31b883df5be1488c",
4
+ "builtAt": "2026-05-01T02:10:54.515Z"
5
5
  }
@@ -1 +1 @@
1
- 3dbf07ebc3de8b3b4a9dc2eeb5345aa18174d4dafca9d307a05fdb416c652183
1
+ 3570a3f7ac0e19cadf474dfccc044ad2bb37783b8701ce3ecabd5c00940a7cc1
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
2
- import { a as require_jws, i as require_dist_cjs$1, n as LRUCache$1, o as require_safe_buffer, r as getOAuthProviders, s as getEnvApiKey } from "./pi-model-discovery-CeYPOTBg.js";
2
+ import { a as require_jws, i as require_dist_cjs$1, n as LRUCache$1, o as require_safe_buffer, r as getOAuthProviders, s as getEnvApiKey } from "./pi-model-discovery-B1kAe0kx.js";
3
3
  import { t as require_dist_cjs$2 } from "./dist-cjs-B9iGzXDA.js";
4
4
  import { C as require_dist_cjs$3, E as init_dist_es$1, M as require_dist_cjs$13, N as require_dist_cjs$12, T as dist_es_exports$1, a as require_dist_cjs$5, c as require_dist_cjs$17, d as require_dist_cjs$15, f as dist_es_exports, h as protocols_exports, i as require_dist_cjs$7, j as require_dist_cjs$14, l as require_dist_cjs$16, m as init_protocols, n as require_dist_cjs$10, o as require_dist_cjs$8, p as init_dist_es, r as require_dist_cjs$9, s as require_dist_cjs$11, t as require_dist_cjs$18, u as require_dist_cjs$6, w as require_dist_cjs$4 } from "./dist-cjs-Cpdu8jQP.js";
5
5
  import { C as schema_exports, N as require_dist_cjs$21, P as require_dist_cjs$19, S as init_schema, t as require_dist_cjs$20 } from "./dist-cjs-BVSr8ctW.js";
@@ -21,7 +21,7 @@ import chalk, { Chalk } from "chalk";
21
21
  import fs, { constants, createWriteStream, existsSync, promises, statSync } from "node:fs";
22
22
  import path, { join } from "node:path";
23
23
  import { Logger } from "tslog";
24
- import json5 from "json5";
24
+ import JSON5 from "json5";
25
25
  import os, { homedir, tmpdir } from "node:os";
26
26
  import { promisify } from "node:util";
27
27
  import fs$1 from "node:fs/promises";
@@ -33,7 +33,7 @@ import { exec } from "child_process";
33
33
  import { createReadStream as createReadStream$1, createWriteStream as createWriteStream$1, promises as promises$1 } from "fs";
34
34
  import { Readable, Transform } from "stream";
35
35
  import { platform, release, tmpdir as tmpdir$1 } from "os";
36
- import EventEmitter$1, { EventEmitter, once } from "events";
36
+ import EventEmitter, { EventEmitter as EventEmitter$1, once } from "events";
37
37
  import { promisify as promisify$1 } from "util";
38
38
  import { join as join$1 } from "path";
39
39
  import * as Crypto from "crypto";
@@ -42,7 +42,7 @@ import { mkdir, readFile, stat as stat$1, unlink, writeFile } from "fs/promises"
42
42
  import { Readable as Readable$1 } from "node:stream";
43
43
  import { pipeline as pipeline$1 } from "node:stream/promises";
44
44
  import WebSocket, { WebSocket as WebSocket$1 } from "ws";
45
- import AjvPkg from "ajv";
45
+ import AjvModule from "ajv";
46
46
  import lockfile from "proper-lockfile";
47
47
  import { URL as URL$1 } from "url";
48
48
  import "yaml";
@@ -2262,7 +2262,7 @@ function readLoggingConfig() {
2262
2262
  try {
2263
2263
  if (!fs.existsSync(configPath)) return;
2264
2264
  const raw = fs.readFileSync(configPath, "utf-8");
2265
- const logging = json5.parse(raw)?.logging;
2265
+ const logging = JSON5.parse(raw)?.logging;
2266
2266
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
2267
2267
  return logging;
2268
2268
  } catch {
@@ -19012,7 +19012,7 @@ var IncludeProcessor = class IncludeProcessor {
19012
19012
  };
19013
19013
  const defaultResolver = {
19014
19014
  readFile: (p) => fs.readFileSync(p, "utf-8"),
19015
- parseJson: (raw) => json5.parse(raw)
19015
+ parseJson: (raw) => JSON5.parse(raw)
19016
19016
  };
19017
19017
  /**
19018
19018
  * Resolves all $include directives in a parsed config object.
@@ -20500,7 +20500,7 @@ function loadPluginManifestRegistry(params) {
20500
20500
 
20501
20501
  //#endregion
20502
20502
  //#region src/plugins/schema-validator.ts
20503
- const ajv$1 = new AjvPkg({
20503
+ const ajv$1 = new AjvModule({
20504
20504
  allErrors: true,
20505
20505
  strict: false,
20506
20506
  removeAdditional: false
@@ -21687,18 +21687,18 @@ function resolveConfigPathForDeps(deps) {
21687
21687
  function normalizeDeps(overrides = {}) {
21688
21688
  return {
21689
21689
  fs: overrides.fs ?? fs,
21690
- json5: overrides.json5 ?? json5,
21690
+ json5: overrides.json5 ?? JSON5,
21691
21691
  env: overrides.env ?? process.env,
21692
21692
  homedir: overrides.homedir ?? os.homedir,
21693
21693
  configPath: overrides.configPath ?? "",
21694
21694
  logger: overrides.logger ?? console
21695
21695
  };
21696
21696
  }
21697
- function parseConfigJson5(raw, json5$1 = json5) {
21697
+ function parseConfigJson5(raw, json5 = JSON5) {
21698
21698
  try {
21699
21699
  return {
21700
21700
  ok: true,
21701
- parsed: json5$1.parse(raw)
21701
+ parsed: json5.parse(raw)
21702
21702
  };
21703
21703
  } catch (err) {
21704
21704
  return {
@@ -22212,7 +22212,7 @@ function loadSessionStore(storePath, opts = {}) {
22212
22212
  let mtimeMs = getFileMtimeMs(storePath);
22213
22213
  try {
22214
22214
  const raw = fs.readFileSync(storePath, "utf-8");
22215
- const parsed = json5.parse(raw);
22215
+ const parsed = JSON5.parse(raw);
22216
22216
  if (isSessionStoreRecord(parsed)) store = parsed;
22217
22217
  mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
22218
22218
  } catch {}
@@ -47073,7 +47073,7 @@ const PROTOCOL_VERSION = 3;
47073
47073
 
47074
47074
  //#endregion
47075
47075
  //#region src/gateway/protocol/index.ts
47076
- const ajv = new AjvPkg({
47076
+ const ajv = new AjvModule({
47077
47077
  allErrors: true,
47078
47078
  strict: false,
47079
47079
  removeAdditional: false
@@ -66393,7 +66393,7 @@ function enqueueSystemEvent(text, options) {
66393
66393
  const MODEL_CACHE = /* @__PURE__ */ new Map();
66394
66394
  (async () => {
66395
66395
  try {
66396
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CeYPOTBg.js").then((n) => n.t);
66396
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-B1kAe0kx.js").then((n) => n.t);
66397
66397
  await ensureSKYKOIModelsJson(loadConfig());
66398
66398
  const koiDir = resolveSKYKOIKoiDir();
66399
66399
  const models = discoverModels(discoverAuthStorage(koiDir), koiDir).getAll();
@@ -226436,7 +226436,7 @@ const BUFFERABLE_EVENT_SET = new Set([
226436
226436
  * making the data processing more efficient.
226437
226437
  */
226438
226438
  const makeEventBuffer = (logger) => {
226439
- const ev = new EventEmitter$1();
226439
+ const ev = new EventEmitter();
226440
226440
  const historyCache = /* @__PURE__ */ new Set();
226441
226441
  let data = makeBufferData();
226442
226442
  let isBuffering = false;
@@ -232006,7 +232006,7 @@ var BinaryInfo = class {
232006
232006
 
232007
232007
  //#endregion
232008
232008
  //#region node_modules/.pnpm/@whiskeysockets+baileys@7.0.0-rc.9_audio-decode@2.2.3_sharp@0.34.5/node_modules/@whiskeysockets/baileys/lib/Socket/Client/types.js
232009
- var AbstractSocketClient = class extends EventEmitter {
232009
+ var AbstractSocketClient = class extends EventEmitter$1 {
232010
232010
  constructor(url, config) {
232011
232011
  super();
232012
232012
  this.url = url;
@@ -34,7 +34,7 @@ import { access, mkdir, readFile, stat as stat$1, writeFile } from "fs/promises"
34
34
  import Stream, { Readable as Readable$1 } from "node:stream";
35
35
  import { finished } from "node:stream/promises";
36
36
  import * as NodeWs from "ws";
37
- import AjvPkg from "ajv";
37
+ import AjvModule from "ajv";
38
38
  import lockfile from "proper-lockfile";
39
39
  import { fileURLToPath as fileURLToPath$1 } from "url";
40
40
  import { TypeCompiler } from "@sinclair/typebox/compiler";
@@ -59699,7 +59699,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
59699
59699
  //#endregion
59700
59700
  //#region node_modules/.pnpm/@mariozechner+pi-ai@0.52.8_ws@8.19.0_zod@4.3.6/node_modules/@mariozechner/pi-ai/dist/utils/validation.js
59701
59701
  var import_dist$1 = /* @__PURE__ */ __toESM(require_dist$1(), 1);
59702
- const Ajv$1 = AjvPkg.default || AjvPkg;
59702
+ const Ajv$1 = AjvModule.default || AjvModule;
59703
59703
  const addFormats = import_dist$1.default.default || import_dist$1.default;
59704
59704
  const isBrowserExtension = typeof globalThis !== "undefined" && globalThis.chrome?.runtime?.id !== void 0;
59705
59705
  let ajv = null;
@@ -174026,7 +174026,7 @@ var AuthStorage = class {
174026
174026
  /**
174027
174027
  * Model registry - manages built-in and custom models, provides API key resolution.
174028
174028
  */
174029
- const Ajv = AjvPkg.default || AjvPkg;
174029
+ const Ajv = AjvModule.default || AjvModule;
174030
174030
  const OpenRouterRoutingSchema = Type.Object({
174031
174031
  only: Type.Optional(Type.Array(Type.String())),
174032
174032
  order: Type.Optional(Type.Array(Type.String()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skykoi",
3
- "version": "2026.3.201",
3
+ "version": "2026.3.221",
4
4
  "description": "SkyKoi — Koi runtime. Multi-channel gateway CLI with RPC Koi.",
5
5
  "keywords": [
6
6
  "skykoi",