Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protolabsai/proto",
"version": "0.26.24",
"version": "0.26.25",
"publishConfig": {
"access": "public"
},
Expand All @@ -20,7 +20,7 @@
"url": "https://github.com/protoLabsAI/protoCLI/issues"
},
"config": {
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.24"
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.25"
},
Comment on lines 22 to 24

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only verification: confirm version skew scheme across workspaces.
set -euo pipefail

ROOT_VERSION="$(node -p "require('./package.json').version")"
echo "Root version: ${ROOT_VERSION}"

ROOT_SBOX="$(node -p "require('./package.json').config?.sandboxImageUri ?? ''")"
echo "Root sandboxImageUri: ${ROOT_SBOX}"

# Collect workspace versions
node - <<'NODE'
import fs from 'fs';
import path from 'path';

const root = process.cwd();
const rootPkg = JSON.parse(fs.readFileSync(path.join(root,'package.json'),'utf8'));
const workspaces = rootPkg.workspaces || [];
const patterns = workspaces[0]?.split?.(',') ? workspaces : workspaces; // tolerant

// repo uses ["packages/*"] in this file; hardcode minimal resolution to avoid glob libraries
const base = path.join(root, 'packages');
const entries = fs.existsSync(base) ? fs.readdirSync(base, { withFileTypes: true }) : [];
const versions = [];
for (const e of entries) {
  if (!e.isDirectory()) continue;
  const pkgPath = path.join(base, e.name, 'package.json');
  if (!fs.existsSync(pkgPath)) continue;
  const pkg = JSON.parse(fs.readFileSync(pkgPath,'utf8'));
  versions.push({ name: pkg.name, version: pkg.version, sandboxImageUri: pkg.config?.sandboxImageUri ?? null });
}
console.log("Workspace packages (name/version/sandboxImageUri):");
for (const v of versions) {
  console.log(`${v.name} ${v.version} sandboxImageUri=${v.sandboxImageUri}`);
}
NODE

Repository: protoLabsAI/protoCLI

Length of output: 526


Resolve workspace package version consistency: @protolabs/proto has version 0.26.24 but sandboxImageUri points to 0.26.25.

The root config.sandboxImageUri is set to 0.26.25, and the @protolabs/proto workspace package has the same sandboxImageUri value. However, @protolabs/proto is still at version 0.26.24. Either bump @protolabs/proto to 0.26.25 or downgrade its sandboxImageUri to match the release it's part of. Other workspace packages do not define sandboxImageUri, so they are unaffected.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` around lines 22 - 24, Update the workspace package version or
the sandbox image to keep them consistent: either bump the package
"@protolabs/proto" to version "0.26.25" (update its package.json version field
and any relevant changelog/lockfile) or change the root "config.sandboxImageUri"
value back to "ghcr.io/qwenlm/qwen-code:0.26.24" so it matches the current
"@protolabs/proto" release; ensure whichever you choose is reflected everywhere
the package/version is referenced (package.json of "@protolabs/proto", workspace
manifests, and lockfiles) so workspace versioning remains consistent.

"scripts": {
"start": "cross-env node scripts/start.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protolabs/proto",
"version": "0.26.23",
"version": "0.26.24",
"description": "proto",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,7 +37,7 @@
"dist"
],
"config": {
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.24"
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.26.25"
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.14.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code-core",
"version": "0.26.23",
"version": "0.26.24",
"description": "proto core",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code-test-utils",
"version": "0.26.23",
"version": "0.26.24",
"private": true,
"main": "src/index.ts",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qwen-code/web-templates",
"version": "0.26.23",
"version": "0.26.24",
"description": "Web templates bundled as embeddable JS/CSS strings",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/webui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qwen-code/webui",
"version": "0.26.23",
"version": "0.26.24",
"description": "Shared UI components for proto packages",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
Loading