@yanlinglabs/winter-agent-sdk 0.0.30 → 0.0.31
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 +3 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -904,7 +904,8 @@ function query(args) {
|
|
|
904
904
|
for (const frame of frames) {
|
|
905
905
|
if (!sawInit) {
|
|
906
906
|
if (frame.type !== "init") {
|
|
907
|
-
|
|
907
|
+
const subtype = frame.type === "control_request" ? frame.subtype : undefined;
|
|
908
|
+
throw new ProtocolDecodeError(`protocol violation: expected 'init' as the first frame, got '${frame.type}'${typeof subtype === "string" ? ` (${subtype})` : ""}`);
|
|
908
909
|
}
|
|
909
910
|
const init = frame;
|
|
910
911
|
const runtimeMajor = init.protocolVersion.split(".")[0];
|
|
@@ -1118,7 +1119,7 @@ function query(args) {
|
|
|
1118
1119
|
return gen;
|
|
1119
1120
|
}
|
|
1120
1121
|
// src/version.ts
|
|
1121
|
-
var SDK_VERSION = "0.0.
|
|
1122
|
+
var SDK_VERSION = "0.0.31";
|
|
1122
1123
|
// src/paths/project-key.ts
|
|
1123
1124
|
var TRANSCRIPT_PROJECT_KEY_MAX_LENGTH = 64;
|
|
1124
1125
|
var VENDOR_PROJECT_KEY_PATTERN = /^[A-Za-z0-9_-]{1,64}$/;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yanlinglabs/winter-agent-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@yanlinglabs/winter-provider-catalog": "0.0.
|
|
48
|
+
"@yanlinglabs/winter-provider-catalog": "0.0.31"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@yanlinglabs/winter-agent-sdk-darwin-arm64": "0.0.
|
|
51
|
+
"@yanlinglabs/winter-agent-sdk-darwin-arm64": "0.0.31"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^26.4.0",
|
|
55
|
-
"@yanlinglabs/winter-agent-runtime": "0.0.
|
|
56
|
-
"@yanlinglabs/winter-conformance": "0.0.
|
|
55
|
+
"@yanlinglabs/winter-agent-runtime": "0.0.31",
|
|
56
|
+
"@yanlinglabs/winter-conformance": "0.0.31"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {}
|
|
59
59
|
}
|