@cotal-ai/connector-hermes 0.29.1 → 0.29.2

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/index.js CHANGED
@@ -14809,7 +14809,7 @@ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAll
14809
14809
 
14810
14810
  // ../connector-core/dist/docs-bundle.generated.js
14811
14811
  var DOCS_BUNDLE = {
14812
- "version": "0.29.1",
14812
+ "version": "0.29.2",
14813
14813
  "generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
14814
14814
  "pages": [
14815
14815
  {
package/dist/launch.js CHANGED
@@ -39574,6 +39574,9 @@ function isPublishPermissionDenied(e) {
39574
39574
  function wsServers(servers) {
39575
39575
  return /^wss?:\/\//i.test((servers.split(",")[0] ?? "").trim());
39576
39576
  }
39577
+ function defaultProbeTimeoutMs(servers) {
39578
+ return wsServers(servers) ? 5e3 : 1e3;
39579
+ }
39577
39580
  function dialerFor(servers) {
39578
39581
  if (!wsServers(servers))
39579
39582
  return import_transport_node14.connect;
@@ -39619,7 +39622,7 @@ function tcpDialable(server, timeoutMs) {
39619
39622
  });
39620
39623
  }
39621
39624
  async function probeConnect(server = DEFAULT_SERVER, opts = {}) {
39622
- const timeoutMs = opts.timeoutMs ?? 1e3;
39625
+ const timeoutMs = opts.timeoutMs ?? defaultProbeTimeoutMs(server);
39623
39626
  const started = Date.now();
39624
39627
  if (!await tcpDialable(server, timeoutMs))
39625
39628
  return classifyProbeFailure(void 0, opts);
@@ -55873,7 +55876,7 @@ config(en_default());
55873
55876
 
55874
55877
  // ../connector-core/dist/docs-bundle.generated.js
55875
55878
  var DOCS_BUNDLE = {
55876
- "version": "0.29.1",
55879
+ "version": "0.29.2",
55877
55880
  "generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
55878
55881
  "pages": [
55879
55882
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cotal-ai/connector-hermes",
3
3
  "description": "Cotal connector for the Hermes (Nous Research) agent.",
4
- "version": "0.29.1",
4
+ "version": "0.29.2",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -27,8 +27,8 @@
27
27
  "esbuild": "^0.28.0",
28
28
  "tsx": "^4.22.4",
29
29
  "zod": "^4.4.3",
30
- "@cotal-ai/core": "0.29.1",
31
- "@cotal-ai/connector-core": "0.29.1"
30
+ "@cotal-ai/core": "0.29.2",
31
+ "@cotal-ai/connector-core": "0.29.2"
32
32
  },
33
33
  "files": [
34
34
  "bin",
@@ -39568,6 +39568,9 @@ function isPublishPermissionDenied(e) {
39568
39568
  function wsServers(servers) {
39569
39569
  return /^wss?:\/\//i.test((servers.split(",")[0] ?? "").trim());
39570
39570
  }
39571
+ function defaultProbeTimeoutMs(servers) {
39572
+ return wsServers(servers) ? 5e3 : 1e3;
39573
+ }
39571
39574
  function dialerFor(servers) {
39572
39575
  if (!wsServers(servers))
39573
39576
  return import_transport_node14.connect;
@@ -39613,7 +39616,7 @@ function tcpDialable(server, timeoutMs) {
39613
39616
  });
39614
39617
  }
39615
39618
  async function probeConnect(server = DEFAULT_SERVER, opts = {}) {
39616
- const timeoutMs = opts.timeoutMs ?? 1e3;
39619
+ const timeoutMs = opts.timeoutMs ?? defaultProbeTimeoutMs(server);
39617
39620
  const started = Date.now();
39618
39621
  if (!await tcpDialable(server, timeoutMs))
39619
39622
  return classifyProbeFailure(void 0, opts);
@@ -55768,7 +55771,7 @@ config(en_default());
55768
55771
 
55769
55772
  // ../connector-core/dist/docs-bundle.generated.js
55770
55773
  var DOCS_BUNDLE = {
55771
- "version": "0.29.1",
55774
+ "version": "0.29.2",
55772
55775
  "generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
55773
55776
  "pages": [
55774
55777
  {