@cotal-ai/connector-jcode 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/host.js +5 -2
- package/dist/index.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +3 -3
package/dist/host.js
CHANGED
|
@@ -41270,6 +41270,9 @@ function isPublishPermissionDenied(e) {
|
|
|
41270
41270
|
function wsServers(servers) {
|
|
41271
41271
|
return /^wss?:\/\//i.test((servers.split(",")[0] ?? "").trim());
|
|
41272
41272
|
}
|
|
41273
|
+
function defaultProbeTimeoutMs(servers) {
|
|
41274
|
+
return wsServers(servers) ? 5e3 : 1e3;
|
|
41275
|
+
}
|
|
41273
41276
|
function dialerFor(servers) {
|
|
41274
41277
|
if (!wsServers(servers))
|
|
41275
41278
|
return import_transport_node14.connect;
|
|
@@ -41315,7 +41318,7 @@ function tcpDialable(server, timeoutMs) {
|
|
|
41315
41318
|
});
|
|
41316
41319
|
}
|
|
41317
41320
|
async function probeConnect(server = DEFAULT_SERVER, opts = {}) {
|
|
41318
|
-
const timeoutMs = opts.timeoutMs ??
|
|
41321
|
+
const timeoutMs = opts.timeoutMs ?? defaultProbeTimeoutMs(server);
|
|
41319
41322
|
const started = Date.now();
|
|
41320
41323
|
if (!await tcpDialable(server, timeoutMs))
|
|
41321
41324
|
return classifyProbeFailure(void 0, opts);
|
|
@@ -57735,7 +57738,7 @@ config(en_default());
|
|
|
57735
57738
|
|
|
57736
57739
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
57737
57740
|
var DOCS_BUNDLE = {
|
|
57738
|
-
"version": "0.29.
|
|
57741
|
+
"version": "0.29.2",
|
|
57739
57742
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
57740
57743
|
"pages": [
|
|
57741
57744
|
{
|
package/dist/index.js
CHANGED
|
@@ -14830,7 +14830,7 @@ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAll
|
|
|
14830
14830
|
|
|
14831
14831
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
14832
14832
|
var DOCS_BUNDLE = {
|
|
14833
|
-
"version": "0.29.
|
|
14833
|
+
"version": "0.29.2",
|
|
14834
14834
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
14835
14835
|
"pages": [
|
|
14836
14836
|
{
|
package/dist/mcp.js
CHANGED
|
@@ -57520,7 +57520,7 @@ import { execFileSync } from "node:child_process";
|
|
|
57520
57520
|
|
|
57521
57521
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
57522
57522
|
var DOCS_BUNDLE = {
|
|
57523
|
-
"version": "0.29.
|
|
57523
|
+
"version": "0.29.2",
|
|
57524
57524
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
57525
57525
|
"pages": [
|
|
57526
57526
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/connector-jcode",
|
|
3
3
|
"description": "Cotal connector for Jcode: a host-mode mesh peer driven through Jcode's Harness API bridge.",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"esbuild": "^0.28.0",
|
|
29
29
|
"tsx": "^4.22.4",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
|
-
"@cotal-ai/
|
|
32
|
-
"@cotal-ai/core": "0.29.
|
|
31
|
+
"@cotal-ai/core": "0.29.2",
|
|
32
|
+
"@cotal-ai/connector-core": "0.29.2",
|
|
33
33
|
"@cotal-ai/smoke-kit": "0.0.0"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|