@cotal-ai/pi 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 +1 -1
- package/dist/standalone.js +5 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15963,7 +15963,7 @@ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAll
|
|
|
15963
15963
|
|
|
15964
15964
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
15965
15965
|
var DOCS_BUNDLE = {
|
|
15966
|
-
"version": "0.29.
|
|
15966
|
+
"version": "0.29.2",
|
|
15967
15967
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
15968
15968
|
"pages": [
|
|
15969
15969
|
{
|
package/dist/standalone.js
CHANGED
|
@@ -39576,6 +39576,9 @@ function isPublishPermissionDenied(e) {
|
|
|
39576
39576
|
function wsServers(servers) {
|
|
39577
39577
|
return /^wss?:\/\//i.test((servers.split(",")[0] ?? "").trim());
|
|
39578
39578
|
}
|
|
39579
|
+
function defaultProbeTimeoutMs(servers) {
|
|
39580
|
+
return wsServers(servers) ? 5e3 : 1e3;
|
|
39581
|
+
}
|
|
39579
39582
|
function dialerFor(servers) {
|
|
39580
39583
|
if (!wsServers(servers))
|
|
39581
39584
|
return import_transport_node14.connect;
|
|
@@ -39621,7 +39624,7 @@ function tcpDialable(server, timeoutMs) {
|
|
|
39621
39624
|
});
|
|
39622
39625
|
}
|
|
39623
39626
|
async function probeConnect(server = DEFAULT_SERVER, opts = {}) {
|
|
39624
|
-
const timeoutMs = opts.timeoutMs ??
|
|
39627
|
+
const timeoutMs = opts.timeoutMs ?? defaultProbeTimeoutMs(server);
|
|
39625
39628
|
const started = Date.now();
|
|
39626
39629
|
if (!await tcpDialable(server, timeoutMs))
|
|
39627
39630
|
return classifyProbeFailure(void 0, opts);
|
|
@@ -55878,7 +55881,7 @@ config(en_default());
|
|
|
55878
55881
|
|
|
55879
55882
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
55880
55883
|
var DOCS_BUNDLE = {
|
|
55881
|
-
"version": "0.29.
|
|
55884
|
+
"version": "0.29.2",
|
|
55882
55885
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
55883
55886
|
"pages": [
|
|
55884
55887
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/pi",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"esbuild": "^0.28.0",
|
|
35
35
|
"typebox": "^1.1.0",
|
|
36
36
|
"zod": "^4.4.3",
|
|
37
|
-
"@cotal-ai/
|
|
38
|
-
"@cotal-ai/core": "0.29.
|
|
37
|
+
"@cotal-ai/core": "0.29.2",
|
|
38
|
+
"@cotal-ai/connector-core": "0.29.2"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"dist"
|