@cotal-ai/connector-core 0.149.0 → 0.150.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.
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.149.0";
3
+ export declare const DOCS_VERSION = "0.150.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.149.0";
6
+ export const DOCS_VERSION = "0.150.0";
7
7
  export function loadDocsMetadata() {
8
8
  return {
9
- "version": "0.149.0",
9
+ "version": "0.150.0",
10
10
  "pages": [
11
11
  {
12
12
  "slug": "what-is-cotal",
@@ -789,12 +789,12 @@ function corpusData() {
789
789
  if (corpusPacked)
790
790
  return corpusPacked;
791
791
  const packed = readFileSync(join(import.meta.dirname, "docs-bundle.bin"));
792
- if (packed.length !== 1153933 || createHash("sha256").update(packed).digest("hex") !== "135f0fb418c1f6ec7ac38d0db20facd59bde2ad8739b28db8b5a7566bee00e0e")
792
+ if (packed.length !== 1154873 || createHash("sha256").update(packed).digest("hex") !== "6dcf838582bc6f75c5792a3569652152e536a1ca593a30574d337d0d6ff5a4d6")
793
793
  throw new Error("docs data file docs-bundle.bin beside this module is not the one built with it");
794
794
  return (corpusPacked = packed);
795
795
  }
796
- const sourceBounds = [[0, 2205], [2205, 4000], [4000, 9323], [9323, 29930], [29930, 34327], [34327, 38705], [38705, 42227], [42227, 48659], [48659, 52554], [52554, 61542], [61542, 65694], [65694, 70142], [70142, 72213], [72213, 76224], [76224, 107392], [107392, 122880], [122880, 138010], [138010, 155736], [155736, 170600], [170600, 185325], [185325, 200813], [200813, 221146], [221146, 226862], [226862, 236420], [236420, 255336], [255336, 259735], [259735, 282425], [282425, 291531], [291531, 320960], [320960, 337046], [337046, 359828], [359828, 389519], [389519, 402613], [402613, 404560], [404560, 413436], [413436, 429613], [429613, 437250], [437250, 440869], [440869, 444250], [444250, 447553], [447553, 449598], [449598, 452254], [452254, 456979], [456979, 458807], [458807, 462366], [462366, 473835], [473835, 481900], [481900, 485425], [485425, 492698], [492698, 497742], [497742, 500649], [500649, 508608], [508608, 511585], [511585, 518855], [518855, 521845], [521845, 526652], [526652, 538278], [538278, 550193], [550193, 555085], [555085, 562616], [562616, 565965], [565965, 568536], [568536, 575794], [575794, 579214], [579214, 581424], [581424, 584886], [584886, 588303], [588303, 589417], [589417, 591166], [591166, 594829], [594829, 599382], [599382, 605973], [605973, 616483], [616483, 629754], [629754, 631591], [631591, 644576], [644576, 649959], [649959, 653824], [653824, 656333], [656333, 661375], [661375, 668150], [668150, 674360], [674360, 675107], [675107, 679276], [679276, 684581], [684581, 687959], [687959, 692167], [692167, 696989], [696989, 701791], [701791, 705213], [705213, 708612], [708612, 713194], [713194, 716837], [716837, 730063], [730063, 732881], [732881, 735564], [735564, 738231], [738231, 740722], [740722, 744742], [744742, 749442], [749442, 751661], [751661, 816607], [816607, 819678], [819678, 820871], [820871, 827372], [827372, 835380], [835380, 845982], [845982, 854700], [854700, 859757], [859757, 1109796], [1109796, 1148721], [1148721, 1153933]];
797
- const sourceLengths = [4844, 4048, 13310, 80626, 12190, 10700, 35598, 16675, 9375, 78405, 37758, 10864, 4656, 9872, 84938, 41661, 42535, 50397, 41170, 42638, 42202, 56449, 14375, 25041, 53944, 9884, 65192, 24959, 88758, 45388, 68054, 91273, 36249, 8216, 22172, 43312, 20768, 8796, 8035, 7790, 4835, 6062, 11949, 4349, 8347, 30545, 19884, 8745, 47165, 12743, 7133, 20461, 7140, 18798, 6860, 11996, 30020, 31428, 12022, 18311, 8355, 6090, 18823, 7536, 5100, 8160, 9930, 2248, 5412, 9845, 10853, 15950, 26828, 34058, 4227, 35397, 12366, 9420, 8201, 13306, 16844, 15126, 1464, 9444, 13555, 7818, 10170, 12034, 11921, 7511, 8528, 11024, 8527, 35301, 6519, 6405, 6095, 6007, 9711, 11730, 5283, 191844, 6927, 2473, 15538, 20475, 27423, 20876, 12299, 724977, 109957, 21676];
796
+ const sourceBounds = [[0, 2205], [2205, 4000], [4000, 9323], [9323, 30004], [30004, 34401], [34401, 38779], [38779, 42301], [42301, 48733], [48733, 52628], [52628, 61616], [61616, 65768], [65768, 70216], [70216, 72287], [72287, 76298], [76298, 107466], [107466, 122954], [122954, 138084], [138084, 155810], [155810, 170674], [170674, 185399], [185399, 200887], [200887, 221220], [221220, 226936], [226936, 236494], [236494, 255410], [255410, 259809], [259809, 282499], [282499, 291605], [291605, 321034], [321034, 337120], [337120, 359902], [359902, 389593], [389593, 402687], [402687, 404634], [404634, 413510], [413510, 429687], [429687, 437324], [437324, 440943], [440943, 444324], [444324, 447627], [447627, 449672], [449672, 452328], [452328, 457053], [457053, 458881], [458881, 462440], [462440, 473909], [473909, 481974], [481974, 485499], [485499, 492772], [492772, 497816], [497816, 500723], [500723, 508682], [508682, 511659], [511659, 519016], [519016, 522006], [522006, 526951], [526951, 538577], [538577, 550492], [550492, 555384], [555384, 562915], [562915, 566264], [566264, 568835], [568835, 576093], [576093, 579513], [579513, 581723], [581723, 585185], [585185, 588602], [588602, 589716], [589716, 591465], [591465, 595128], [595128, 599681], [599681, 606272], [606272, 616782], [616782, 630053], [630053, 631890], [631890, 644875], [644875, 650258], [650258, 654123], [654123, 656632], [656632, 661674], [661674, 668449], [668449, 674659], [674659, 675406], [675406, 679575], [679575, 684880], [684880, 688258], [688258, 692466], [692466, 697288], [697288, 702090], [702090, 705512], [705512, 708911], [708911, 713493], [713493, 717136], [717136, 730362], [730362, 733180], [733180, 735863], [735863, 738530], [738530, 741021], [741021, 745041], [745041, 749741], [749741, 751960], [751960, 817547], [817547, 820618], [820618, 821811], [821811, 828312], [828312, 836320], [836320, 846922], [846922, 855640], [855640, 860697], [860697, 1110736], [1110736, 1149661], [1149661, 1154873]];
797
+ const sourceLengths = [4844, 4048, 13310, 80803, 12190, 10700, 35598, 16675, 9375, 78405, 37758, 10864, 4656, 9872, 84938, 41661, 42535, 50397, 41170, 42638, 42202, 56449, 14375, 25041, 53944, 9884, 65192, 24959, 88758, 45388, 68054, 91273, 36249, 8216, 22172, 43312, 20768, 8796, 8035, 7790, 4835, 6062, 11949, 4349, 8347, 30545, 19884, 8745, 47165, 12743, 7133, 20461, 7140, 19027, 6860, 12405, 30020, 31428, 12022, 18311, 8355, 6090, 18823, 7536, 5100, 8160, 9930, 2248, 5412, 9845, 10853, 15950, 26828, 34058, 4227, 35397, 12366, 9420, 8201, 13306, 16844, 15126, 1464, 9444, 13555, 7818, 10170, 12034, 11921, 7511, 8528, 11024, 8527, 35301, 6519, 6405, 6095, 6007, 9711, 11730, 5283, 193807, 6927, 2473, 15538, 20475, 27423, 20876, 12299, 724977, 109957, 21676];
798
798
  const decodedBodies = [];
799
799
  /** Validate the coupled corpus before the index uses its UTF-16 source bounds. No body is decoded. */
800
800
  export function loadDocsSourceLengths() {
@@ -827,7 +827,7 @@ export function loadDocsBundle() {
827
827
  /** The compact search index of that bundle: the sibling file docs-index.bin, read, checked and unzipped on the first search. */
828
828
  export function loadDocsIndex() {
829
829
  const packed = readFileSync(join(import.meta.dirname, "docs-index.bin"));
830
- if (packed.length !== 597584 || createHash("sha256").update(packed).digest("hex") !== "f3c5e8c1299caaee9177f92df4f71ce1a9ac1c7f5cf99b1b08142d44010adc30")
830
+ if (packed.length !== 598334 || createHash("sha256").update(packed).digest("hex") !== "8f5c36282a158b4fcdd8e0c36622c9711d93c48bdf26a543b21b97ee8e842caf")
831
831
  throw new Error("docs data file docs-index.bin beside this module is not the one built with it");
832
832
  return gunzipSync(packed);
833
833
  }
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/feedback.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAKD,wFAAwF;AACxF,wBAAsB,cAAc,CAClC,KAAK,EAAE,aAAa,EACpB,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CA8BzB"}
1
+ {"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/feedback.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAeD,wFAAwF;AACxF,wBAAsB,cAAc,CAClC,KAAK,EAAE,aAAa,EACpB,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CA0CzB"}
package/dist/feedback.js CHANGED
@@ -1,6 +1,19 @@
1
1
  import { FEEDBACK_URL, PUBLIC_FEEDBACK_URL } from "./config.js";
2
2
  const ok = (text) => ({ text });
3
3
  const err = (text) => ({ text, isError: true });
4
+ /** A stored submission: the documented 202 receipt, with a printable id and a boolean published. */
5
+ function receipt(status, value) {
6
+ if (status !== 202 || typeof value !== "object" || value === null || Array.isArray(value))
7
+ return undefined;
8
+ const body = value;
9
+ if (body.ok !== true || typeof body.id !== "string" || body.id.length === 0 || body.id.length > 200)
10
+ return undefined;
11
+ if (/[\u0000-\u001f\u007f]/.test(body.id) || body.id.trim() !== body.id)
12
+ return undefined;
13
+ if (typeof body.published !== "boolean")
14
+ return undefined;
15
+ return { id: body.id, published: body.published };
16
+ }
4
17
  /** Submit feedback through the same keyed or public intake used by `cotal_feedback`. */
5
18
  export async function submitFeedback(input, options = {}) {
6
19
  const url = options.url ?? (options.key ? FEEDBACK_URL : PUBLIC_FEEDBACK_URL);
@@ -14,24 +27,34 @@ export async function submitFeedback(input, options = {}) {
14
27
  return err("Keyless feedback goes to the public cotal.ai intake, which requires a traceable contact email — ask the user for one and retry with the email argument (or set COTAL_FEEDBACK_EMAIL).");
15
28
  body.email = options.email;
16
29
  }
30
+ let res;
31
+ let raw;
17
32
  try {
18
- const res = await fetch(url, { method: "POST", headers, body: JSON.stringify(body) });
19
- const raw = await res.text();
20
- let reply = {};
21
- if (raw)
22
- try {
23
- reply = JSON.parse(raw);
24
- }
25
- catch {
26
- reply = { error: raw };
27
- }
28
- if (!res.ok)
29
- return err(`Feedback rejected (${res.status}${reply.error ? `: ${reply.error}` : ""}).`);
30
- const note = reply.published === false ? " (stored, but the internal feedback channel publish failed)" : "";
31
- return ok(`Feedback sent${reply.id ? ` (id ${reply.id})` : ""}${note}. Thanks!`);
33
+ // One POST, and only to the configured intake. A redirect is an unconfirmed outcome, not a second destination.
34
+ res = await fetch(url, { method: "POST", headers, body: JSON.stringify(body), redirect: "error" });
35
+ raw = await res.text();
32
36
  }
33
37
  catch (e) {
34
- return err(`Couldn't reach the feedback intake at ${url}: ${e.message}`);
38
+ return err(`Couldn't reach the feedback intake at ${url}: ${e.message} The submission was not retried.`);
39
+ }
40
+ let reply = undefined;
41
+ if (raw)
42
+ try {
43
+ reply = JSON.parse(raw);
44
+ }
45
+ catch {
46
+ reply = undefined;
47
+ }
48
+ const stored = receipt(res.status, reply);
49
+ if (stored) {
50
+ const note = stored.published === false ? " (stored, but the internal feedback channel publish failed)" : "";
51
+ return ok(`Feedback sent (id ${stored.id})${note}. Thanks!`);
35
52
  }
53
+ const errorText = typeof reply === "object" && reply !== null && typeof reply.error === "string"
54
+ ? reply.error
55
+ : undefined;
56
+ if (!res.ok)
57
+ return err(`Feedback rejected (${res.status}${errorText ? `: ${errorText}` : ""}).`);
58
+ return err(`Feedback acceptance is unconfirmed (${res.status}). The request may have reached the intake and was not retried.`);
36
59
  }
37
60
  //# sourceMappingURL=feedback.js.map
@@ -1 +1 @@
1
-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;IAChB,IAAI,CAAC,GAAG,CAAC,EAAE;QAAE,OAAO,GAAG,CAAC,sBAAsB,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IAClG,OAAO,GAAG,CACR,uCAAuC,GAAG,CAAC,MAAM,iEAAiE,CACnH,CAAC;AACJ,CAAC"}
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.149.0",
4
+ "version": "0.150.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.149.0",
44
+ "@cotal-ai/auth": "0.150.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.149.0",
48
+ "@cotal-ai/core": "0.150.0",
49
49
  "@nats-io/jetstream": "^3.4.0",
50
50
  "@nats-io/transport-node": "^3.4.0"
51
51
  },