@protolabsai/proto 0.26.21 → 0.26.22
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 +8 -5
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -171130,7 +171130,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
171130
171130
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
171131
171131
|
});
|
|
171132
171132
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
171133
|
-
const version2 = "0.26.
|
|
171133
|
+
const version2 = "0.26.22";
|
|
171134
171134
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
171135
171135
|
const baseHeaders = {
|
|
171136
171136
|
"User-Agent": userAgent2
|
|
@@ -417044,7 +417044,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
417044
417044
|
// packages/cli/src/utils/version.ts
|
|
417045
417045
|
async function getCliVersion() {
|
|
417046
417046
|
const pkgJson = await getPackageJson();
|
|
417047
|
-
return "0.26.
|
|
417047
|
+
return "0.26.22";
|
|
417048
417048
|
}
|
|
417049
417049
|
__name(getCliVersion, "getCliVersion");
|
|
417050
417050
|
|
|
@@ -424816,7 +424816,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
424816
424816
|
|
|
424817
424817
|
// packages/cli/src/generated/git-commit.ts
|
|
424818
424818
|
init_esbuild_shims();
|
|
424819
|
-
var GIT_COMMIT_INFO = "
|
|
424819
|
+
var GIT_COMMIT_INFO = "c11682d8a";
|
|
424820
424820
|
|
|
424821
424821
|
// packages/cli/src/utils/systemInfo.ts
|
|
424822
424822
|
async function getNpmVersion() {
|
|
@@ -482432,10 +482432,13 @@ function useRecap(opts) {
|
|
|
482432
482432
|
const longEnough = durationSec > thresholdSeconds || toolCount > thresholdToolCalls;
|
|
482433
482433
|
if (!longEnough) return;
|
|
482434
482434
|
if (hasRecapSinceLastUserTurn(history)) return;
|
|
482435
|
+
const conversation = geminiClient.getHistory?.() ?? [];
|
|
482436
|
+
const hasModelHistory = conversation.some((c4) => c4.role === "model");
|
|
482437
|
+
const hasUserHistory = conversation.some((c4) => c4.role === "user");
|
|
482438
|
+
if (!hasModelHistory || !hasUserHistory) return;
|
|
482435
482439
|
abortRef.current?.abort();
|
|
482436
482440
|
const controller = new AbortController();
|
|
482437
482441
|
abortRef.current = controller;
|
|
482438
|
-
const conversation = geminiClient.getHistory?.() ?? [];
|
|
482439
482442
|
void generateRecap(config2, conversation, controller.signal).then(
|
|
482440
482443
|
(text) => {
|
|
482441
482444
|
if (controller.signal.aborted || !text) return;
|
|
@@ -493059,7 +493062,7 @@ var QwenAgent = class {
|
|
|
493059
493062
|
async initialize(args2) {
|
|
493060
493063
|
this.clientCapabilities = args2.clientCapabilities;
|
|
493061
493064
|
const authMethods = buildAuthMethods();
|
|
493062
|
-
const version2 = "0.26.
|
|
493065
|
+
const version2 = "0.26.22";
|
|
493063
493066
|
return {
|
|
493064
493067
|
protocolVersion: PROTOCOL_VERSION,
|
|
493065
493068
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.22",
|
|
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.26.
|
|
24
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.22"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|