@protolabsai/proto 0.25.5 → 0.25.7

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.
Files changed (2) hide show
  1. package/cli.js +15 -14
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -170887,7 +170887,7 @@ __export(geminiContentGenerator_exports, {
170887
170887
  createGeminiContentGenerator: () => createGeminiContentGenerator
170888
170888
  });
170889
170889
  function createGeminiContentGenerator(config2, gcConfig) {
170890
- const version2 = "0.25.5";
170890
+ const version2 = "0.25.7";
170891
170891
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
170892
170892
  const baseHeaders = {
170893
170893
  "User-Agent": userAgent2
@@ -173467,7 +173467,7 @@ var init_turn = __esm({
173467
173467
  init_errors();
173468
173468
  init_thoughtUtils();
173469
173469
  init_streamStall();
173470
- STREAM_STALL_TIMEOUT_MS = parseInt(process.env["PROTO_STREAM_STALL_TIMEOUT_MS"] ?? "30000", 10);
173470
+ STREAM_STALL_TIMEOUT_MS = parseInt(process.env["PROTO_STREAM_STALL_TIMEOUT_MS"] ?? "60000", 10);
173471
173471
  (function(GeminiEventType2) {
173472
173472
  GeminiEventType2["Content"] = "content";
173473
173473
  GeminiEventType2["ToolCallRequest"] = "tool_call_request";
@@ -192050,22 +192050,23 @@ var init_agent = __esm({
192050
192050
  const now = Date.now();
192051
192051
  const updated = [];
192052
192052
  for (const p2 of persisted) {
192053
- let entry = p2;
192054
- if (p2.status === "running") {
192055
- entry = {
192056
- ...p2,
192057
- status: "error",
192058
- error: "Agent did not complete before process restart",
192059
- completedTime: now
192060
- };
192053
+ if (p2.status !== "running") {
192054
+ updated.push(p2);
192055
+ continue;
192061
192056
  }
192057
+ const entry = {
192058
+ ...p2,
192059
+ status: "error",
192060
+ error: "Agent did not complete before process restart",
192061
+ completedTime: now
192062
+ };
192062
192063
  updated.push(entry);
192063
192064
  this.backgroundAgents.set(entry.agentId, {
192064
192065
  agentId: entry.agentId,
192065
192066
  agentName: entry.agentName,
192066
192067
  description: entry.description,
192067
192068
  startTime: entry.startTime,
192068
- completed: entry.status !== "running",
192069
+ completed: true,
192069
192070
  result: entry.result,
192070
192071
  error: entry.error
192071
192072
  });
@@ -414863,7 +414864,7 @@ __name(getPackageJson, "getPackageJson");
414863
414864
  // packages/cli/src/utils/version.ts
414864
414865
  async function getCliVersion() {
414865
414866
  const pkgJson = await getPackageJson();
414866
- return "0.25.5";
414867
+ return "0.25.7";
414867
414868
  }
414868
414869
  __name(getCliVersion, "getCliVersion");
414869
414870
 
@@ -422635,7 +422636,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
422635
422636
 
422636
422637
  // packages/cli/src/generated/git-commit.ts
422637
422638
  init_esbuild_shims();
422638
- var GIT_COMMIT_INFO = "b657765a7";
422639
+ var GIT_COMMIT_INFO = "aba2ebc7c";
422639
422640
 
422640
422641
  // packages/cli/src/utils/systemInfo.ts
422641
422642
  async function getNpmVersion() {
@@ -490067,7 +490068,7 @@ var QwenAgent = class {
490067
490068
  async initialize(args2) {
490068
490069
  this.clientCapabilities = args2.clientCapabilities;
490069
490070
  const authMethods = buildAuthMethods();
490070
- const version2 = "0.25.5";
490071
+ const version2 = "0.25.7";
490071
490072
  return {
490072
490073
  protocolVersion: PROTOCOL_VERSION,
490073
490074
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protolabsai/proto",
3
- "version": "0.25.5",
3
+ "version": "0.25.7",
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.25.5"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.25.7"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {