@protolabsai/proto 0.18.3 → 0.18.4
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/cli.js +13 -12
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -170765,7 +170765,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
170765
170765
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
170766
170766
|
});
|
|
170767
170767
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
170768
|
-
const version2 = "0.18.
|
|
170768
|
+
const version2 = "0.18.4";
|
|
170769
170769
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
170770
170770
|
const baseHeaders = {
|
|
170771
170771
|
"User-Agent": userAgent2
|
|
@@ -411779,7 +411779,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
411779
411779
|
// packages/cli/src/utils/version.ts
|
|
411780
411780
|
async function getCliVersion() {
|
|
411781
411781
|
const pkgJson = await getPackageJson();
|
|
411782
|
-
return "0.18.
|
|
411782
|
+
return "0.18.4";
|
|
411783
411783
|
}
|
|
411784
411784
|
__name(getCliVersion, "getCliVersion");
|
|
411785
411785
|
|
|
@@ -419551,7 +419551,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
419551
419551
|
|
|
419552
419552
|
// packages/cli/src/generated/git-commit.ts
|
|
419553
419553
|
init_esbuild_shims();
|
|
419554
|
-
var GIT_COMMIT_INFO = "
|
|
419554
|
+
var GIT_COMMIT_INFO = "5f66aefe7";
|
|
419555
419555
|
|
|
419556
419556
|
// packages/cli/src/utils/systemInfo.ts
|
|
419557
419557
|
async function getNpmVersion() {
|
|
@@ -427893,14 +427893,7 @@ async function startRecording(outputPath, backend) {
|
|
|
427893
427893
|
"signed",
|
|
427894
427894
|
"-b",
|
|
427895
427895
|
"16",
|
|
427896
|
-
outputPath
|
|
427897
|
-
"silence",
|
|
427898
|
-
"1",
|
|
427899
|
-
"0.1",
|
|
427900
|
-
"1%",
|
|
427901
|
-
"1",
|
|
427902
|
-
"1.5",
|
|
427903
|
-
"1%"
|
|
427896
|
+
outputPath
|
|
427904
427897
|
]);
|
|
427905
427898
|
} else if (backend === "arecord") {
|
|
427906
427899
|
return spawn10("arecord", [
|
|
@@ -480655,6 +480648,14 @@ function useVoice(sttEndpoint, sttApiKey) {
|
|
|
480655
480648
|
const audioPath = audioPathRef.current;
|
|
480656
480649
|
try {
|
|
480657
480650
|
await stopRecording(procRef.current);
|
|
480651
|
+
const stat12 = fs126.statSync(audioPath);
|
|
480652
|
+
if (stat12.size <= 44) {
|
|
480653
|
+
setVoiceState("idle");
|
|
480654
|
+
fs126.unlink(audioPath, () => {
|
|
480655
|
+
});
|
|
480656
|
+
audioPathRef.current = null;
|
|
480657
|
+
return "";
|
|
480658
|
+
}
|
|
480658
480659
|
const text = await transcribe(
|
|
480659
480660
|
audioPath,
|
|
480660
480661
|
sttEndpoint,
|
|
@@ -486336,7 +486337,7 @@ var QwenAgent = class {
|
|
|
486336
486337
|
async initialize(args2) {
|
|
486337
486338
|
this.clientCapabilities = args2.clientCapabilities;
|
|
486338
486339
|
const authMethods = buildAuthMethods();
|
|
486339
|
-
const version2 = "0.18.
|
|
486340
|
+
const version2 = "0.18.4";
|
|
486340
486341
|
return {
|
|
486341
486342
|
protocolVersion: PROTOCOL_VERSION,
|
|
486342
486343
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.4",
|
|
4
4
|
"description": "proto - AI-powered coding agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bundled"
|
|
22
22
|
],
|
|
23
23
|
"config": {
|
|
24
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.18.
|
|
24
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.18.4"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|