@protolabsai/proto 0.52.1 → 0.54.0

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 +29 -15
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -168684,7 +168684,7 @@ __export(geminiContentGenerator_exports, {
168684
168684
  createGeminiContentGenerator: () => createGeminiContentGenerator
168685
168685
  });
168686
168686
  function createGeminiContentGenerator(config2, gcConfig) {
168687
- const version2 = "0.52.1";
168687
+ const version2 = "0.54.0";
168688
168688
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
168689
168689
  const baseHeaders = {
168690
168690
  "User-Agent": userAgent2
@@ -405844,8 +405844,8 @@ var SETTINGS_SCHEMA = {
405844
405844
  label: "Show Status in Title",
405845
405845
  category: "UI",
405846
405846
  requiresRestart: false,
405847
- default: false,
405848
- description: "Show proto status and thoughts in the terminal window title",
405847
+ default: true,
405848
+ description: "Show proto status and thoughts in the terminal window/tab title, with an animated spinner while running (so you can tell which tabs are active). Set to false to leave the title untouched.",
405849
405849
  showInDialog: false
405850
405850
  },
405851
405851
  hideTips: {
@@ -416785,7 +416785,7 @@ __name(getPackageJson, "getPackageJson");
416785
416785
  // packages/cli/src/utils/version.ts
416786
416786
  async function getCliVersion() {
416787
416787
  const pkgJson = await getPackageJson();
416788
- return "0.52.1";
416788
+ return "0.54.0";
416789
416789
  }
416790
416790
  __name(getCliVersion, "getCliVersion");
416791
416791
 
@@ -424985,7 +424985,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
424985
424985
 
424986
424986
  // packages/cli/src/generated/git-commit.ts
424987
424987
  init_esbuild_shims();
424988
- var GIT_COMMIT_INFO = "53bb568d2";
424988
+ var GIT_COMMIT_INFO = "8133cceb7";
424989
424989
 
424990
424990
  // packages/cli/src/utils/systemInfo.ts
424991
424991
  async function getNpmVersion() {
@@ -484174,24 +484174,38 @@ function computeWindowTitle(folderName) {
484174
484174
  __name(computeWindowTitle, "computeWindowTitle");
484175
484175
 
484176
484176
  // packages/cli/src/ui/hooks/useWindowTitle.ts
484177
+ var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
484178
+ var SPINNER_INTERVAL_MS = 100;
484177
484179
  function useWindowTitle(streamingState, thought, settings2, stdout3, targetDir) {
484178
484180
  const originalTitleRef = (0, import_react160.useRef)(computeWindowTitle(basename31(targetDir)));
484179
484181
  const lastTitleRef = (0, import_react160.useRef)(null);
484180
484182
  (0, import_react160.useEffect)(() => {
484181
484183
  if (!settings2.merged.ui?.showStatusInTitle || settings2.merged.ui?.hideWindowTitle)
484182
484184
  return;
484183
- let title;
484184
- if (streamingState === "idle" /* Idle */) {
484185
- title = originalTitleRef.current;
484186
- } else {
484187
- const statusText2 = thought?.subject?.replace(/[\r\n]+/g, " ").substring(0, 80);
484188
- title = statusText2 || originalTitleRef.current;
484189
- }
484190
- const paddedTitle = title.padEnd(80, " ");
484191
- if (lastTitleRef.current !== paddedTitle) {
484185
+ const writeTitle = /* @__PURE__ */ __name((title) => {
484186
+ const paddedTitle = title.padEnd(80, " ");
484187
+ if (lastTitleRef.current === paddedTitle) return;
484192
484188
  lastTitleRef.current = paddedTitle;
484193
484189
  stdout3.write(`\x1B[?2026h\x1B]2;${paddedTitle}\x07\x1B[?2026l`);
484190
+ }, "writeTitle");
484191
+ if (streamingState === "idle" /* Idle */) {
484192
+ writeTitle(originalTitleRef.current);
484193
+ return;
484194
484194
  }
484195
+ const statusText2 = thought?.subject?.replace(/[\r\n]+/g, " ").substring(0, 80) || originalTitleRef.current;
484196
+ if (streamingState !== "responding" /* Responding */) {
484197
+ writeTitle(statusText2);
484198
+ return;
484199
+ }
484200
+ let frame = 0;
484201
+ const renderFrame = /* @__PURE__ */ __name(() => {
484202
+ const glyph = SPINNER_FRAMES[frame % SPINNER_FRAMES.length];
484203
+ writeTitle(`${glyph} ${statusText2}`);
484204
+ frame++;
484205
+ }, "renderFrame");
484206
+ renderFrame();
484207
+ const intervalId = setInterval(renderFrame, SPINNER_INTERVAL_MS);
484208
+ return () => clearInterval(intervalId);
484195
484209
  }, [
484196
484210
  streamingState,
484197
484211
  thought,
@@ -493787,7 +493801,7 @@ var QwenAgent = class {
493787
493801
  async initialize(args2) {
493788
493802
  this.clientCapabilities = args2.clientCapabilities;
493789
493803
  const authMethods = buildAuthMethods();
493790
- const version2 = "0.52.1";
493804
+ const version2 = "0.54.0";
493791
493805
  return {
493792
493806
  protocolVersion: PROTOCOL_VERSION,
493793
493807
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protolabsai/proto",
3
- "version": "0.52.1",
3
+ "version": "0.54.0",
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.52.1"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.54.0"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {