@cotal-ai/connector-core 0.160.8 → 0.161.1

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.
Binary file
@@ -1,6 +1,6 @@
1
1
  import type { DocsBundle, DocsMetadata } from "./docs.js";
2
2
  /** The installed Cotal version, for stamping the orientation card and other surfaces. */
3
- export declare const DOCS_VERSION = "0.160.8";
3
+ export declare const DOCS_VERSION = "0.161.1";
4
4
  export declare function loadDocsMetadata(): DocsMetadata;
5
5
  /** Validate the coupled corpus before the index uses its UTF-16 source bounds. No body is decoded. */
6
6
  export declare function loadDocsSourceLengths(): number[];
@@ -3,10 +3,10 @@ import { readFileSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  import { gunzipSync } from "node:zlib";
5
5
  /** The installed Cotal version, for stamping the orientation card and other surfaces. */
6
- export const DOCS_VERSION = "0.160.8";
6
+ export const DOCS_VERSION = "0.161.1";
7
7
  export function loadDocsMetadata() {
8
8
  return {
9
- "version": "0.160.8",
9
+ "version": "0.161.1",
10
10
  "pages": [
11
11
  {
12
12
  "slug": "what-is-cotal",
@@ -796,12 +796,12 @@ function corpusData() {
796
796
  if (corpusPacked)
797
797
  return corpusPacked;
798
798
  const packed = readFileSync(join(import.meta.dirname, "docs-bundle.bin"));
799
- if (packed.length !== 1225421 || createHash("sha256").update(packed).digest("hex") !== "74525a74c63540a2bc8f2a2819631af20ba60e4563fa88ecec8a7890cb154a9d")
799
+ if (packed.length !== 1227340 || createHash("sha256").update(packed).digest("hex") !== "e6a982179a00fdc6569e96dcd711a6fefb88283867a05ee87ee48f8f9c8a9e10")
800
800
  throw new Error("docs data file docs-bundle.bin beside this module is not the one built with it");
801
801
  return (corpusPacked = packed);
802
802
  }
803
- const sourceBounds = [[0, 2205], [2205, 4000], [4000, 9323], [9323, 31350], [31350, 35747], [35747, 40128], [40128, 43688], [43688, 50491], [50491, 54595], [54595, 64392], [64392, 68544], [68544, 72992], [72992, 75276], [75276, 79287], [79287, 110644], [110644, 126112], [126112, 141585], [141585, 159654], [159654, 175136], [175136, 190187], [190187, 206127], [206127, 229448], [229448, 235178], [235178, 244993], [244993, 265267], [265267, 269756], [269756, 306636], [306636, 316356], [316356, 347058], [347058, 364559], [364559, 388724], [388724, 419643], [419643, 433849], [433849, 435796], [435796, 444672], [444672, 461277], [461277, 469114], [469114, 472733], [472733, 476114], [476114, 479417], [479417, 481548], [481548, 484321], [484321, 489182], [489182, 491079], [491079, 494638], [494638, 506710], [506710, 514775], [514775, 518300], [518300, 525573], [525573, 530617], [530617, 533524], [533524, 544044], [544044, 547021], [547021, 555112], [555112, 558102], [558102, 563047], [563047, 575205], [575205, 587498], [587498, 593468], [593468, 601049], [601049, 604398], [604398, 607347], [607347, 614904], [614904, 618324], [618324, 620534], [620534, 623996], [623996, 627413], [627413, 628527], [628527, 630276], [630276, 633939], [633939, 638580], [638580, 645216], [645216, 655726], [655726, 669031], [669031, 670868], [670868, 683853], [683853, 689240], [689240, 693196], [693196, 695705], [695705, 700747], [700747, 714934], [714934, 721709], [721709, 728700], [728700, 729517], [729517, 733826], [733826, 739642], [739642, 743020], [743020, 747228], [747228, 752194], [752194, 757775], [757775, 761197], [761197, 764788], [764788, 769953], [769953, 773596], [773596, 786822], [786822, 789640], [789640, 792323], [792323, 794990], [794990, 797481], [797481, 801501], [801501, 806246], [806246, 809255], [809255, 877939], [877939, 881010], [881010, 882203], [882203, 888704], [888704, 897311], [897311, 908089], [908089, 916900], [916900, 922083], [922083, 1180900], [1180900, 1220209], [1220209, 1225421]];
804
- const sourceLengths = [4844, 4048, 13310, 87378, 12190, 10741, 36165, 17849, 9941, 85121, 37758, 10864, 5079, 9872, 85540, 41602, 43505, 51405, 42826, 43514, 43587, 65805, 14399, 25780, 58259, 10129, 109195, 26839, 92706, 49557, 72388, 95384, 39154, 8216, 22172, 44626, 21302, 8796, 8035, 7790, 4874, 6360, 12290, 4537, 8347, 32163, 19884, 8745, 47165, 12743, 7133, 27685, 7140, 21069, 6860, 12405, 31433, 32561, 14963, 18466, 8355, 7031, 19589, 7536, 5100, 8160, 9930, 2248, 5412, 9845, 11102, 16082, 26828, 34181, 4227, 35397, 12378, 9651, 8201, 13306, 98055, 16844, 17247, 1638, 9825, 15068, 7818, 10170, 12425, 14071, 7511, 9014, 12695, 8527, 35301, 6519, 6405, 6095, 6007, 9711, 11859, 7205, 202714, 6927, 2473, 15538, 21977, 27911, 21160, 12616, 750658, 111139, 21676];
803
+ const sourceBounds = [[0, 2205], [2205, 4000], [4000, 9323], [9323, 31350], [31350, 35747], [35747, 40128], [40128, 43688], [43688, 50491], [50491, 54595], [54595, 64392], [64392, 68544], [68544, 72992], [72992, 75276], [75276, 79287], [79287, 110644], [110644, 126112], [126112, 141585], [141585, 159654], [159654, 175437], [175437, 190488], [190488, 206428], [206428, 229870], [229870, 235600], [235600, 245415], [245415, 265689], [265689, 270178], [270178, 308304], [308304, 318024], [318024, 348977], [348977, 366478], [366478, 390643], [390643, 421562], [421562, 435768], [435768, 437715], [437715, 446591], [446591, 463196], [463196, 471033], [471033, 474652], [474652, 478033], [478033, 481336], [481336, 483467], [483467, 486240], [486240, 491101], [491101, 492998], [492998, 496557], [496557, 508629], [508629, 516694], [516694, 520219], [520219, 527492], [527492, 532536], [532536, 535443], [535443, 545963], [545963, 548940], [548940, 557031], [557031, 560021], [560021, 564966], [564966, 577124], [577124, 589417], [589417, 595387], [595387, 602968], [602968, 606317], [606317, 609266], [609266, 616823], [616823, 620243], [620243, 622453], [622453, 625915], [625915, 629332], [629332, 630446], [630446, 632195], [632195, 635858], [635858, 640499], [640499, 647135], [647135, 657645], [657645, 670950], [670950, 672787], [672787, 685772], [685772, 691159], [691159, 695115], [695115, 697624], [697624, 702666], [702666, 716853], [716853, 723628], [723628, 730619], [730619, 731436], [731436, 735745], [735745, 741561], [741561, 744939], [744939, 749147], [749147, 754113], [754113, 759694], [759694, 763116], [763116, 766707], [766707, 771872], [771872, 775515], [775515, 788741], [788741, 791559], [791559, 794242], [794242, 796909], [796909, 799400], [799400, 803420], [803420, 808165], [808165, 811174], [811174, 879858], [879858, 882929], [882929, 884122], [884122, 890623], [890623, 899230], [899230, 910008], [910008, 918819], [918819, 924002], [924002, 1182819], [1182819, 1222128], [1222128, 1227340]];
804
+ const sourceLengths = [4844, 4048, 13310, 87378, 12190, 10741, 36165, 17849, 9941, 85121, 37758, 10864, 5079, 9872, 85540, 41602, 43505, 51405, 43567, 43514, 43587, 66202, 14399, 25780, 58259, 10129, 113000, 26839, 93535, 49557, 72388, 95384, 39154, 8216, 22172, 44626, 21302, 8796, 8035, 7790, 4874, 6360, 12290, 4537, 8347, 32163, 19884, 8745, 47165, 12743, 7133, 27685, 7140, 21069, 6860, 12405, 31433, 32561, 14963, 18466, 8355, 7031, 19589, 7536, 5100, 8160, 9930, 2248, 5412, 9845, 11102, 16082, 26828, 34181, 4227, 35397, 12378, 9651, 8201, 13306, 98055, 16844, 17247, 1638, 9825, 15068, 7818, 10170, 12425, 14071, 7511, 9014, 12695, 8527, 35301, 6519, 6405, 6095, 6007, 9711, 11859, 7205, 202714, 6927, 2473, 15538, 21977, 27911, 21160, 12616, 750658, 111139, 21676];
805
805
  const decodedBodies = [];
806
806
  /** Validate the coupled corpus before the index uses its UTF-16 source bounds. No body is decoded. */
807
807
  export function loadDocsSourceLengths() {
@@ -834,7 +834,7 @@ export function loadDocsBundle() {
834
834
  /** The compact search index of that bundle: the sibling file docs-index.bin, read, checked and unzipped on the first search. */
835
835
  export function loadDocsIndex() {
836
836
  const packed = readFileSync(join(import.meta.dirname, "docs-index.bin"));
837
- if (packed.length !== 629729 || createHash("sha256").update(packed).digest("hex") !== "530ad406179d7fb5fe2b7604fd6218c09d3ea420275662226131035c739a1f85")
837
+ if (packed.length !== 630179 || createHash("sha256").update(packed).digest("hex") !== "931a44bcfe6f3f666c8af8ffc46a99c2767ea5403ce4181b7ac37d03a7ff27ea")
838
838
  throw new Error("docs data file docs-index.bin beside this module is not the one built with it");
839
839
  return gunzipSync(packed);
840
840
  }
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cotal-ai/connector-core",
3
3
  "description": "Shared MCP-bridge runtime for Cotal connectors: the mesh agent, cotal_* tools, and hook relay.",
4
- "version": "0.160.8",
4
+ "version": "0.161.1",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -41,11 +41,11 @@
41
41
  "@cotal-ai/core": ">=0.1.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@cotal-ai/auth": "0.160.8",
44
+ "@cotal-ai/auth": "0.161.1",
45
45
  "jose": "^6.2.3",
46
46
  "@cotal-ai/smoke-kit": "0.0.0",
47
47
  "@ag-ui/core": "0.0.57",
48
- "@cotal-ai/core": "0.160.8",
48
+ "@cotal-ai/core": "0.161.1",
49
49
  "@nats-io/jetstream": "^3.4.0",
50
50
  "@nats-io/transport-node": "^3.4.0"
51
51
  },