@cotal-ai/connector-core 0.157.8 → 0.158.0
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/docs-bundle.bin
CHANGED
|
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.
|
|
3
|
+
export declare const DOCS_VERSION = "0.158.0";
|
|
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.
|
|
6
|
+
export const DOCS_VERSION = "0.158.0";
|
|
7
7
|
export function loadDocsMetadata() {
|
|
8
8
|
return {
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.158.0",
|
|
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 !==
|
|
799
|
+
if (packed.length !== 1216236 || createHash("sha256").update(packed).digest("hex") !== "6c585eae182e17e21327e2cc6acfb316cca7b434134718ba4e6a853391d7d35d")
|
|
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, 31318], [31318, 35715], [35715, 40096], [40096, 43691], [43691, 50494], [50494, 54598], [54598,
|
|
804
|
-
const sourceLengths = [4844, 4048, 13310, 87273, 12190, 10741, 36760, 17849, 9941,
|
|
803
|
+
const sourceBounds = [[0, 2205], [2205, 4000], [4000, 9323], [9323, 31318], [31318, 35715], [35715, 40096], [40096, 43691], [43691, 50494], [50494, 54598], [54598, 64395], [64395, 68547], [68547, 72995], [72995, 75279], [75279, 79290], [79290, 110647], [110647, 126115], [126115, 141588], [141588, 159597], [159597, 175079], [175079, 190130], [190130, 206070], [206070, 228332], [228332, 234062], [234062, 243877], [243877, 264151], [264151, 268640], [268640, 302701], [302701, 312421], [312421, 343102], [343102, 360603], [360603, 384768], [384768, 415382], [415382, 429527], [429527, 431474], [431474, 440350], [440350, 456784], [456784, 464556], [464556, 468175], [468175, 471556], [471556, 474859], [474859, 476990], [476990, 479646], [479646, 484371], [484371, 486176], [486176, 489735], [489735, 501218], [501218, 509283], [509283, 512808], [512808, 520081], [520081, 525125], [525125, 528032], [528032, 538552], [538552, 541529], [541529, 549620], [549620, 552610], [552610, 557555], [557555, 569181], [569181, 581315], [581315, 586207], [586207, 593788], [593788, 597137], [597137, 600086], [600086, 607643], [607643, 611063], [611063, 613273], [613273, 616735], [616735, 620152], [620152, 621266], [621266, 623015], [623015, 626678], [626678, 631319], [631319, 637955], [637955, 648465], [648465, 661770], [661770, 663607], [663607, 676592], [676592, 681979], [681979, 685918], [685918, 688427], [688427, 693469], [693469, 707376], [707376, 714151], [714151, 721002], [721002, 721819], [721819, 726128], [726128, 731944], [731944, 735322], [735322, 739530], [739530, 744496], [744496, 749741], [749741, 753163], [753163, 756754], [756754, 761919], [761919, 765562], [765562, 778788], [778788, 781606], [781606, 784289], [784289, 786956], [786956, 789447], [789447, 793467], [793467, 798167], [798167, 800690], [800690, 869374], [869374, 872445], [872445, 873638], [873638, 880139], [880139, 888746], [888746, 899524], [899524, 908335], [908335, 913518], [913518, 1171715], [1171715, 1211024], [1211024, 1216236]];
|
|
804
|
+
const sourceLengths = [4844, 4048, 13310, 87273, 12190, 10741, 36760, 17849, 9941, 85121, 37758, 10864, 5079, 9872, 85540, 41602, 43505, 51200, 42826, 43514, 43587, 62482, 14399, 25780, 58259, 10129, 100338, 26839, 92646, 49557, 72388, 94244, 38982, 8216, 22172, 44099, 21106, 8796, 8035, 7790, 4909, 6062, 11949, 4291, 8347, 30577, 19884, 8745, 47165, 12743, 7133, 27685, 7140, 21069, 6860, 12405, 30020, 32107, 12022, 18466, 8355, 7031, 19589, 7536, 5100, 8160, 9930, 2248, 5412, 9845, 11102, 16082, 26828, 34181, 4227, 35397, 12378, 9603, 8201, 13306, 96391, 16844, 16847, 1638, 9825, 15068, 7818, 10170, 12425, 13148, 7511, 9014, 12695, 8527, 35301, 6519, 6405, 6095, 6007, 9711, 11730, 6049, 202714, 6927, 2473, 15538, 21977, 27911, 21160, 12616, 749060, 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 !==
|
|
837
|
+
if (packed.length !== 626127 || createHash("sha256").update(packed).digest("hex") !== "716a1d2734a8dec21f8f0116214eb34120551cb4d19d844687463a35aca44f34")
|
|
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
|
}
|
package/dist/docs-index.bin
CHANGED
|
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.
|
|
4
|
+
"version": "0.158.0",
|
|
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.
|
|
44
|
+
"@cotal-ai/auth": "0.158.0",
|
|
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.
|
|
48
|
+
"@cotal-ai/core": "0.158.0",
|
|
49
49
|
"@nats-io/jetstream": "^3.4.0",
|
|
50
50
|
"@nats-io/transport-node": "^3.4.0"
|
|
51
51
|
},
|