@cotal-ai/connector-opencode 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
@@ -14831,7 +14831,7 @@ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAll
14831
14831
 
14832
14832
  // ../connector-core/dist/docs-bundle.generated.js
14833
14833
  var DOCS_BUNDLE = {
14834
- "version": "0.29.1",
14834
+ "version": "0.29.2",
14835
14835
  "generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
14836
14836
  "pages": [
14837
14837
  {
@@ -39570,6 +39570,9 @@ function isPublishPermissionDenied(e) {
39570
39570
  function wsServers(servers) {
39571
39571
  return /^wss?:\/\//i.test((servers.split(",")[0] ?? "").trim());
39572
39572
  }
39573
+ function defaultProbeTimeoutMs(servers) {
39574
+ return wsServers(servers) ? 5e3 : 1e3;
39575
+ }
39573
39576
  function dialerFor(servers) {
39574
39577
  if (!wsServers(servers))
39575
39578
  return import_transport_node14.connect;
@@ -39615,7 +39618,7 @@ function tcpDialable(server, timeoutMs) {
39615
39618
  });
39616
39619
  }
39617
39620
  async function probeConnect(server = DEFAULT_SERVER, opts = {}) {
39618
- const timeoutMs = opts.timeoutMs ?? 1e3;
39621
+ const timeoutMs = opts.timeoutMs ?? defaultProbeTimeoutMs(server);
39619
39622
  const started = Date.now();
39620
39623
  if (!await tcpDialable(server, timeoutMs))
39621
39624
  return classifyProbeFailure(void 0, opts);
@@ -57618,7 +57621,7 @@ config(en_default());
57618
57621
 
57619
57622
  // ../connector-core/dist/docs-bundle.generated.js
57620
57623
  var DOCS_BUNDLE = {
57621
- "version": "0.29.1",
57624
+ "version": "0.29.2",
57622
57625
  "generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
57623
57626
  "pages": [
57624
57627
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cotal-ai/connector-opencode",
3
3
  "description": "Cotal connector for OpenCode: a native in-process plugin that joins a session to the mesh.",
4
- "version": "0.29.1",
4
+ "version": "0.29.2",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,9 +24,9 @@
24
24
  "@opencode-ai/plugin": "^1.16.2",
25
25
  "esbuild": "^0.28.0",
26
26
  "tsx": "^4.22.4",
27
- "@cotal-ai/connector-core": "0.29.1",
27
+ "@cotal-ai/connector-core": "0.29.2",
28
28
  "@cotal-ai/smoke-kit": "0.0.0",
29
- "@cotal-ai/core": "0.29.1"
29
+ "@cotal-ai/core": "0.29.2"
30
30
  },
31
31
  "files": [
32
32
  "dist"