@protolabsai/proto 0.26.21 → 0.26.23
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 +17 -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.23";
|
|
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.23";
|
|
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 = "71e734ffb";
|
|
424820
424820
|
|
|
424821
424821
|
// packages/cli/src/utils/systemInfo.ts
|
|
424822
424822
|
async function getNpmVersion() {
|
|
@@ -482073,6 +482073,15 @@ ${preview}`
|
|
|
482073
482073
|
);
|
|
482074
482074
|
return;
|
|
482075
482075
|
}
|
|
482076
|
+
if (turnCancelledRef.current) {
|
|
482077
|
+
const terminalCallIds = completedToolCallsFromScheduler.filter(
|
|
482078
|
+
(tc) => tc.status === "success" || tc.status === "error" || tc.status === "cancelled"
|
|
482079
|
+
).map((tc) => tc.request.callId);
|
|
482080
|
+
if (terminalCallIds.length > 0) {
|
|
482081
|
+
markToolsAsSubmitted(terminalCallIds);
|
|
482082
|
+
}
|
|
482083
|
+
return;
|
|
482084
|
+
}
|
|
482076
482085
|
const completedAndReadyToSubmitTools = completedToolCallsFromScheduler.filter(
|
|
482077
482086
|
(tc) => {
|
|
482078
482087
|
const isTerminalState = tc.status === "success" || tc.status === "error" || tc.status === "cancelled";
|
|
@@ -482432,10 +482441,13 @@ function useRecap(opts) {
|
|
|
482432
482441
|
const longEnough = durationSec > thresholdSeconds || toolCount > thresholdToolCalls;
|
|
482433
482442
|
if (!longEnough) return;
|
|
482434
482443
|
if (hasRecapSinceLastUserTurn(history)) return;
|
|
482444
|
+
const conversation = geminiClient.getHistory?.() ?? [];
|
|
482445
|
+
const hasModelHistory = conversation.some((c4) => c4.role === "model");
|
|
482446
|
+
const hasUserHistory = conversation.some((c4) => c4.role === "user");
|
|
482447
|
+
if (!hasModelHistory || !hasUserHistory) return;
|
|
482435
482448
|
abortRef.current?.abort();
|
|
482436
482449
|
const controller = new AbortController();
|
|
482437
482450
|
abortRef.current = controller;
|
|
482438
|
-
const conversation = geminiClient.getHistory?.() ?? [];
|
|
482439
482451
|
void generateRecap(config2, conversation, controller.signal).then(
|
|
482440
482452
|
(text) => {
|
|
482441
482453
|
if (controller.signal.aborted || !text) return;
|
|
@@ -493059,7 +493071,7 @@ var QwenAgent = class {
|
|
|
493059
493071
|
async initialize(args2) {
|
|
493060
493072
|
this.clientCapabilities = args2.clientCapabilities;
|
|
493061
493073
|
const authMethods = buildAuthMethods();
|
|
493062
|
-
const version2 = "0.26.
|
|
493074
|
+
const version2 = "0.26.23";
|
|
493063
493075
|
return {
|
|
493064
493076
|
protocolVersion: PROTOCOL_VERSION,
|
|
493065
493077
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.23",
|
|
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.23"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|