@protolabsai/proto 0.54.0 → 0.54.1

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 +12 -28
  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.54.0";
168687
+ const version2 = "0.54.1";
168688
168688
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
168689
168689
  const baseHeaders = {
168690
168690
  "User-Agent": userAgent2
@@ -405845,7 +405845,7 @@ var SETTINGS_SCHEMA = {
405845
405845
  category: "UI",
405846
405846
  requiresRestart: false,
405847
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.",
405848
+ description: "Show proto status and thoughts in the terminal window/tab title, prefixed with a status dot (\u25CF working / \u25CB idle) 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.54.0";
416788
+ return "0.54.1";
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 = "8133cceb7";
424988
+ var GIT_COMMIT_INFO = "8f2c5921f";
424989
424989
 
424990
424990
  // packages/cli/src/utils/systemInfo.ts
424991
424991
  async function getNpmVersion() {
@@ -484174,38 +484174,22 @@ 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
+ var GLYPH_ACTIVE = "\u25CF";
484178
+ var GLYPH_IDLE = "\u25CB";
484179
484179
  function useWindowTitle(streamingState, thought, settings2, stdout3, targetDir) {
484180
484180
  const originalTitleRef = (0, import_react160.useRef)(computeWindowTitle(basename31(targetDir)));
484181
484181
  const lastTitleRef = (0, import_react160.useRef)(null);
484182
484182
  (0, import_react160.useEffect)(() => {
484183
484183
  if (!settings2.merged.ui?.showStatusInTitle || settings2.merged.ui?.hideWindowTitle)
484184
484184
  return;
484185
- const writeTitle = /* @__PURE__ */ __name((title) => {
484186
- const paddedTitle = title.padEnd(80, " ");
484187
- if (lastTitleRef.current === paddedTitle) return;
484185
+ const isActive = streamingState === "responding" /* Responding */;
484186
+ const glyph = isActive ? GLYPH_ACTIVE : GLYPH_IDLE;
484187
+ const text = streamingState === "idle" /* Idle */ ? originalTitleRef.current : thought?.subject?.replace(/[\r\n]+/g, " ").substring(0, 80) || originalTitleRef.current;
484188
+ const paddedTitle = `${glyph} ${text}`.padEnd(80, " ");
484189
+ if (lastTitleRef.current !== paddedTitle) {
484188
484190
  lastTitleRef.current = paddedTitle;
484189
484191
  stdout3.write(`\x1B[?2026h\x1B]2;${paddedTitle}\x07\x1B[?2026l`);
484190
- }, "writeTitle");
484191
- if (streamingState === "idle" /* Idle */) {
484192
- writeTitle(originalTitleRef.current);
484193
- return;
484194
484192
  }
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);
484209
484193
  }, [
484210
484194
  streamingState,
484211
484195
  thought,
@@ -493801,7 +493785,7 @@ var QwenAgent = class {
493801
493785
  async initialize(args2) {
493802
493786
  this.clientCapabilities = args2.clientCapabilities;
493803
493787
  const authMethods = buildAuthMethods();
493804
- const version2 = "0.54.0";
493788
+ const version2 = "0.54.1";
493805
493789
  return {
493806
493790
  protocolVersion: PROTOCOL_VERSION,
493807
493791
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protolabsai/proto",
3
- "version": "0.54.0",
3
+ "version": "0.54.1",
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.54.0"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.54.1"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {