Skip to content

deps(deps): bump onnxruntime-node from 1.27.0 to 1.31.1 - #59

Merged
Lambertyan merged 2 commits into
masterfrom
dependabot/npm_and_yarn/onnxruntime-node-1.31.1
Nov 11, 2026
Merged

Lambertyan merged 2 commits into
masterfrom
dependabot/npm_and_yarn/onnxruntime-node-1.31.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bumps onnxruntime-node from 1.27.0 to 1.31.1.

Release notes

Sourced from onnxruntime-node's releases.

ONNX Runtime v1.31.1

ONNX Runtime 1.31.1 is a patch release that fixes an OpenVINO-enabled Python build regression and corrects WASM Debug external-data tests. These notes cover changes since ONNX Runtime 1.31.0.

Highlights

  • Fixed a provider-info namespace mismatch that caused compilation failures when building with both OpenVINO and Python enabled (#33327).
  • Fixed WASM Debug test failures by skipping file-backed external-data cases unsupported by the WASM test module, while retaining compile-output checks, buffer-destination coverage, and native test coverage. This is a test-only change and does not change runtime behavior (#33226).

Contributors

Thanks to our 3 human contributors for this release!

@​eserscor, @​mustjab, @​tianleiwu

Full Changelog: rel-1.31.0...rel-1.31.1

Release highlights were prepared with AI assistance.

ONNX Runtime v1.31.0

ONNX Runtime 1.31.0 stabilizes model-package and EPContext data APIs, improves CPU model loading and quantized MoE inference, expands device-based execution-provider selection, and strengthens model-loading and runtime reliability. These notes cover changes since ONNX Runtime 1.30.0. CUDA and WebGPU kernel updates are summarized here; detailed provider notes are covered by their separate plugin EP releases.

Highlights

  • Promoted the model-package API and EPContext data callbacks to stable C and C++ APIs, with EPContext callback support added across language bindings (#33166, #32265).
  • Reduced CPU session-initialization overhead by parallelizing eligible weight prepacking, and accelerated block-wise INT4/INT8 QMoE experts with MLAS QNBit kernels and grouped expert dispatch (#31691, #32644, #32668).
  • Added x86 FP16 LayerNorm/RMSNorm acceleration, Arm KleidiAI SVE2.1 FP16 GEMM support, and additional RISC-V vector kernels (#32715, #32670, #32710).
  • Enabled CoreML participation in device-based EP selection, including Apple Neural Engine selection through PREFER_NPU (#31975).
  • Added workspace-memory accounting and verification for constrained-memory graph partitioning, alongside broader model, graph, and tensor validation (#31962, #32189).

Announcements & Compatibility

  • CUDA Plugin EP v0.3.0 and WebGPU Plugin EP v0.5.0 are matched with ONNX Runtime 1.31.0. For contrib-op compatibility, core and the plugin must use the same contributed-operator schemas; building both from the same ONNX Runtime revision is recommended. Schema mismatches can cause incorrect execution or crashes and may not be detected during plugin registration.
  • GatherBlockQuantized behavior change: out-of-range indices now produce zero output slices across CPU, CUDA, and WebGPU for both integer and floating-point quantized formats. This deliberately differs from ONNX Gather error semantics (#32480).
  • Experimental API migration: model-package consumers should use OrtApi::GetModelPackageApi and the stable OrtModelPackageApi table. EPContext callback registration now uses stable APIs; the corresponding experimental lookup entries were removed. The stable native callback contract carries callback/state pointers, with payload limits enforced by application callbacks, bindings, or EPs rather than a native read-options policy (#33166, #32265).
  • ACL EP is deprecated and will be removed in a future release. Source builds using --use_acl now receive a deprecation warning (#32564).
  • The ONNX dependency remains at 1.22.0. The initial ONNX 1.23 integration was reverted pending upstream fixes; this release does not ship that integration's new opset or FLOAT6 support (#33073).
  • Supported native builds now default to 1DS telemetry. Windows TraceLogging remains selectable with --use_windows_telemetry or onnxruntime_USE_WINDOWS_TELEMETRY=ON; telemetry can be disabled with --no_telemetry (#32384).

New Features

Core APIs & Runtime

  • Stabilized the model-package C and C++ APIs for loading packages, selecting compatible model variants, and creating sessions (#33166).
  • Stabilized named EPContext data read/write callbacks for application-managed storage. Added EP support negotiation so registered callbacks do not silently fall back to filesystem I/O (#32265).
  • Extended the Compile API to write external initializers and EP context data to buffers, enabling in-memory compilation workflows for models larger than 2 GB (#31347).
  • Added workspace-memory accounting, source reporting, and post-partition reservation verification. Set session.strict_workspace_verification=1 to fail initialization on workspace declaration overruns or nonzero orphaned reservations; strict verification is not supported for ORT-format model loads (#31962, #32189).
  • Added the opt-in source-build option onnxruntime_DISABLE_DEVICE_DISCOVERY=ON to skip platform accelerator probing and report only the CPU device (#32592).

Shared Contrib Operators

... (truncated)

Commits
  • 6af1a93 1.31.1 version bump and cherry pick
  • 402979a Revert "Bump version to 1.32.0 (#33197)" (#33212)
  • 660125b [Compile API] Add support for writing external initializers and EP context to...
  • 06cab16 Update parameterized requirement from >=0.8.1 to >=0.9.0 (#33022)
  • 864d871 Fix isolated provider tests in Windows GPU CI (#33203)
  • 1744702 Bump baseline-browser-mapping from 2.10.31 to 2.11.26 in /js/react_native/e2e...
  • be3b8e8 Fix complex STFT window handling (#33136)
  • 40a7167 [CPU] Avoid degenerate GQA FlashAttention tiles when L2 cache size is unknown...
  • 430f563 Fix EP assignment reporting after NHWC layout transformation (#33184)
  • 26ab6c7 Improve GQA shared-cache and sliding-window handling (#33175)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for onnxruntime-node since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [onnxruntime-node](https://github.com/Microsoft/onnxruntime) from 1.27.0 to 1.31.1.
- [Release notes](https://github.com/Microsoft/onnxruntime/releases)
- [Changelog](https://github.com/microsoft/onnxruntime/blob/main/docs/ReleaseNotesWorkflow.md)
- [Commits](microsoft/onnxruntime@v1.27.0...v1.31.1)

---
updated-dependencies:
- dependency-name: onnxruntime-node
  dependency-version: 1.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Lambertyan as a code owner November 10, 2026 23:43
@dependabot @github

dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/onnxruntime-node ^1.31.1 UnknownUnknown
npm/global-agent 4.1.7 🟢 4.1
Details
CheckScoreReason
Binary-Artifacts🟢 10no binaries found in the repo
Maintained🟢 66 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 6
Code-Review🟢 3Found 11/30 approved changesets -- score normalized to 3
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Security-Policy⚠️ 0security policy file not detected
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/onnxruntime-common 1.31.1 🟢 6.8
Details
CheckScoreReason
Code-Review🟢 10all last 30 commits are reviewed through GitHub
Maintained🟢 1030 commit(s) out of 30 and 8 issue activity out of 30 found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no badge detected
Vulnerabilities🟢 10no vulnerabilities detected
Signed-Releases⚠️ 00 out of 5 artifacts are signed or have provenance
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1no published package detected
License🟢 10license file detected
Token-Permissions⚠️ 0non read-only tokens detected in GitHub workflows
Dependency-Update-Tool🟢 10update tool detected
Binary-Artifacts🟢 10no binaries found in the repo
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
npm/onnxruntime-node 1.31.1 🟢 6.8
Details
CheckScoreReason
Code-Review🟢 10all last 30 commits are reviewed through GitHub
Maintained🟢 1030 commit(s) out of 30 and 8 issue activity out of 30 found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no badge detected
Vulnerabilities🟢 10no vulnerabilities detected
Signed-Releases⚠️ 00 out of 5 artifacts are signed or have provenance
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1no published package detected
License🟢 10license file detected
Token-Permissions⚠️ 0non read-only tokens detected in GitHub workflows
Dependency-Update-Tool🟢 10update tool detected
Binary-Artifacts🟢 10no binaries found in the repo
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
npm/semver 7.8.6 🟢 5.7
Details
CheckScoreReason
Code-Review🟢 8Found 14/16 approved changesets -- score normalized to 8
Maintained⚠️ 23 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Security-Policy🟢 10security policy file detected
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST🟢 9SAST tool detected but not run on all commits

Scanned Files

  • packages/vscode/package.json
  • pnpm-lock.yaml

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Code Analyzer — Pull Request Review

Reviewed: AgentiX-E/code-analyzer#59 (github mode)
Files: 2 analyzed of 2 changed
Decision: mergeable — approve-with-comments: 1 high-severity finding(s) should be reviewed.

Severity Findings
critical 0
high 1
medium 37
low 12
info 0

Findings

high · pnpm-lock.yaml:1 · structure · struct-complexity

High Cyclomatic Complexity: 105 branches

This file has cyclomatic complexity of 105. Consider splitting into smaller functions or modules.

File-level cyclomatic complexity: 105

Suggestion: Extract related logic into helper functions to reduce complexity.

medium · packages/vscode/package.json:1 · structure · struct-deep-nesting

Deep Nesting: 9 levels

Code has nesting depth of 9 (>4 threshold). Deep nesting makes code hard to read and test. Use early returns or extract inner logic.

Maximum nesting depth detected: 9 levels

Suggestion: Use guard clauses (early returns) to reduce nesting.

medium · packages/vscode/package.json:35 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vscode" has an unpinned version range "^1.95.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vscode": "^1.95.0",

Suggestion: Replace "^1.95.0" with a specific version number.

medium · packages/vscode/package.json:36 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "node" has an unpinned version range ">=22.14.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"node": ">=22.14.0"

Suggestion: Replace ">=22.14.0" with a specific version number.

medium · packages/vscode/package.json:442 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:443 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-bash" has an unpinned version range "^0.25.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-bash": "^0.25.1",

Suggestion: Replace "^0.25.1" with a specific version number.

medium · packages/vscode/package.json:444 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c" has an unpinned version range "^0.24.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c": "^0.24.0",

Suggestion: Replace "^0.24.0" with a specific version number.

medium · packages/vscode/package.json:445 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c-sharp" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c-sharp": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:446 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-cpp" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-cpp": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:447 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-css" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-css": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:448 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-dart" has an unpinned version range "^1.0.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-dart": "^1.0.0",

Suggestion: Replace "^1.0.0" with a specific version number.

medium · packages/vscode/package.json:449 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-elixir" has an unpinned version range "^0.3.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-elixir": "^0.3.0",

Suggestion: Replace "^0.3.0" with a specific version number.

medium · packages/vscode/package.json:450 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-go" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-go": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:451 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-groovy" has an unpinned version range "^0.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-groovy": "^0.1.2",

Suggestion: Replace "^0.1.2" with a specific version number.

medium · packages/vscode/package.json:452 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-html" has an unpinned version range "^0.23.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-html": "^0.23.2",

Suggestion: Replace "^0.23.2" with a specific version number.

medium · packages/vscode/package.json:453 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-java" has an unpinned version range "^0.23.5". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-java": "^0.23.5",

Suggestion: Replace "^0.23.5" with a specific version number.

medium · packages/vscode/package.json:454 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-javascript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-javascript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:455 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-json" has an unpinned version range "^0.24.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-json": "^0.24.8",

Suggestion: Replace "^0.24.8" with a specific version number.

medium · packages/vscode/package.json:456 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-kotlin" has an unpinned version range "^0.3.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-kotlin": "^0.3.8",

Suggestion: Replace "^0.3.8" with a specific version number.

medium · packages/vscode/package.json:457 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-lua" has an unpinned version range "^2.1.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-lua": "^2.1.3",

Suggestion: Replace "^2.1.3" with a specific version number.

medium · packages/vscode/package.json:458 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-php" has an unpinned version range "^0.24.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-php": "^0.24.2",

Suggestion: Replace "^0.24.2" with a specific version number.

medium · packages/vscode/package.json:459 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-python" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-python": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:460 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-ruby" has an unpinned version range "^0.23.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-ruby": "^0.23.1",

Suggestion: Replace "^0.23.1" with a specific version number.

medium · packages/vscode/package.json:461 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-rust" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-rust": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:462 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-scala" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-scala": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:463 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-sql" has an unpinned version range "^0.1.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-sql": "^0.1.0",

Suggestion: Replace "^0.1.0" with a specific version number.

medium · packages/vscode/package.json:464 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-swift" has an unpinned version range "^0.7.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-swift": "^0.7.1",

Suggestion: Replace "^0.7.1" with a specific version number.

medium · packages/vscode/package.json:465 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-typescript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-typescript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:466 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-yaml" has an unpinned version range "^0.5.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-yaml": "^0.5.0",

Suggestion: Replace "^0.5.0" with a specific version number.

medium · packages/vscode/package.json:467 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-zig" has an unpinned version range "^0.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-zig": "^0.2.0",

Suggestion: Replace "^0.2.0" with a specific version number.

medium · packages/vscode/package.json:468 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@eagleoutice/tree-sitter-r" has an unpinned version range "^1.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@eagleoutice/tree-sitter-r": "^1.1.2",

Suggestion: Replace "^1.1.2" with a specific version number.

medium · packages/vscode/package.json:469 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@tree-sitter-grammars/tree-sitter-hcl" has an unpinned version range "^1.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

Suggestion: Replace "^1.2.0" with a specific version number.

medium · packages/vscode/package.json:472 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "onnxruntime-node" has an unpinned version range "^1.31.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"onnxruntime-node": "^1.31.1"

Suggestion: Replace "^1.31.1" with a specific version number.

medium · packages/vscode/package.json:479 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@types/vscode" has an unpinned version range "^1.144.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@types/vscode": "^1.144.0",

Suggestion: Replace "^1.144.0" with a specific version number.

medium · packages/vscode/package.json:480 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "esbuild" has an unpinned version range "^0.28.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"esbuild": "^0.28.1",

Suggestion: Replace "^0.28.1" with a specific version number.

medium · packages/vscode/package.json:481 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "typescript" has an unpinned version range "^6.0.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"typescript": "^6.0.3",

Suggestion: Replace "^6.0.3" with a specific version number.

medium · packages/vscode/package.json:482 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vitest" has an unpinned version range "^4.1.12". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vitest": "^4.1.12"

Suggestion: Replace "^4.1.12" with a specific version number.

medium · pnpm-lock.yaml:23 · performance · perf-nested-loop

Nested Loop (Potential O(n²))

Nested loops can cause O(n²) runtime. Check if the inner loop can be avoided.

Suggestion: Consider using Map/Set for O(1) lookups, or extract the inner loop to a helper.

  source-map-js: '>=1.2.2'
  vite: '>=6.4.4 <9'
  minimatch@>=10.0.0 <11.0.0: '>=11.0.1'

pnpmfileChecksum: nadx52pcy4cxu6z3br7tmxiu3i

importers:

  .:
    dependencies:
      tree-sitter:
        specifier: ^0.25.0
        version: 0.25.0
      tree-sitter-c-sharp:
        specifier: ^0.21.3
        version: 0.21.3(tree-sitter@0.25.0)
      tree-sitter-go:
        specifier: ^0.25.0
        version: 0.25.0(tree-sitter@0.25.0)
      tree-sitter-java:
        specifier: ^0.23.5
        version: 

low · packages/vscode/package.json:1 · docs · docs-missing-readme

Missing README Reference

No "readme" field in package.json. Add a README.md for project documentation.

No README referenced in package.json

Suggestion: Add "readme": "README.md" to package.json

low · packages/vscode/package.json:185 · style · style-magic-number

Magic Numbers: 10485760

Literal values 10485760 should be extracted to named constants for readability.

"default": 10485760,

Suggestion: Extract to const: const MEANINGFUL_NAME = 10485760;

low · packages/vscode/package.json:219 · style · style-magic-number

Magic Numbers: 4

Literal values 4 should be extracted to named constants for readability.

"default": 4,

Suggestion: Extract to const: const MEANINGFUL_NAME = 4;

low · packages/vscode/package.json:221 · style · style-magic-number

Magic Numbers: 32

Literal values 32 should be extracted to named constants for readability.

"maximum": 32,

Suggestion: Extract to const: const MEANINGFUL_NAME = 32;

low · packages/vscode/package.json:277 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"default": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:279 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"maximum": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:291 · style · style-magic-number

Magic Numbers: 20

Literal values 20 should be extracted to named constants for readability.

"default": 20,

Suggestion: Extract to const: const MEANINGFUL_NAME = 20;

low · packages/vscode/package.json:317 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"default": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:318 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"minimum": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:319 · style · style-magic-number

Magic Numbers: 5000

Literal values 5000 should be extracted to named constants for readability.

"maximum": 5000,

Suggestion: Extract to const: const MEANINGFUL_NAME = 5000;

low · pnpm-lock.yaml:8 · style · style-magic-number

Magic Numbers: 4.28

Literal values 4.28 should be extracted to named constants for readability.

browserslist: ^4.28.9

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.28;

low · pnpm-lock.yaml:10 · style · style-magic-number

Magic Numbers: 4.6

Literal values 4.6 should be extracted to named constants for readability.

zod: ^4.6.6

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.6;

1876 finding(s) beyond --max-findings were not reported.

48 finding(s) are on lines this change did not touch: they are listed here rather than posted as inline comments, which a pull request can only attach to a changed line.

71064 lines across 2 file(s) in 847 ms · 0 rejected for missing evidence · 59 merged as duplicates

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

📊 Coverage Report

Dimension Covered Total % Status
Lines 37446 37524 99.8% ✅
Branches 25590 26017 98.3% ✅
Functions 6097 6106 99.8% ✅
Statements 41830 42030 99.5% ✅

Threshold: ≥95%

✅ All coverage dimensions meet the threshold.

@github-actions

Copy link
Copy Markdown

Code Analyzer Review

Code Analyzer — Pull Request Review

Reviewed: AgentiX-E/code-analyzer#59 (github mode)
Files: 2 analyzed of 2 changed
Decision: mergeable — approve-with-comments: 1 high-severity finding(s) should be reviewed.

Severity Findings
critical 0
high 1
medium 37
low 12
info 0

Findings

high · pnpm-lock.yaml:1 · structure · struct-complexity

High Cyclomatic Complexity: 105 branches

This file has cyclomatic complexity of 105. Consider splitting into smaller functions or modules.

File-level cyclomatic complexity: 105

Suggestion: Extract related logic into helper functions to reduce complexity.

medium · packages/vscode/package.json:1 · structure · struct-deep-nesting

Deep Nesting: 9 levels

Code has nesting depth of 9 (>4 threshold). Deep nesting makes code hard to read and test. Use early returns or extract inner logic.

Maximum nesting depth detected: 9 levels

Suggestion: Use guard clauses (early returns) to reduce nesting.

medium · packages/vscode/package.json:35 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vscode" has an unpinned version range "^1.95.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vscode": "^1.95.0",

Suggestion: Replace "^1.95.0" with a specific version number.

medium · packages/vscode/package.json:36 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "node" has an unpinned version range ">=22.14.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"node": ">=22.14.0"

Suggestion: Replace ">=22.14.0" with a specific version number.

medium · packages/vscode/package.json:442 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:443 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-bash" has an unpinned version range "^0.25.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-bash": "^0.25.1",

Suggestion: Replace "^0.25.1" with a specific version number.

medium · packages/vscode/package.json:444 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c" has an unpinned version range "^0.24.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c": "^0.24.0",

Suggestion: Replace "^0.24.0" with a specific version number.

medium · packages/vscode/package.json:445 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c-sharp" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c-sharp": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:446 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-cpp" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-cpp": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:447 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-css" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-css": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:448 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-dart" has an unpinned version range "^1.0.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-dart": "^1.0.0",

Suggestion: Replace "^1.0.0" with a specific version number.

medium · packages/vscode/package.json:449 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-elixir" has an unpinned version range "^0.3.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-elixir": "^0.3.0",

Suggestion: Replace "^0.3.0" with a specific version number.

medium · packages/vscode/package.json:450 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-go" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-go": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:451 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-groovy" has an unpinned version range "^0.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-groovy": "^0.1.2",

Suggestion: Replace "^0.1.2" with a specific version number.

medium · packages/vscode/package.json:452 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-html" has an unpinned version range "^0.23.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-html": "^0.23.2",

Suggestion: Replace "^0.23.2" with a specific version number.

medium · packages/vscode/package.json:453 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-java" has an unpinned version range "^0.23.5". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-java": "^0.23.5",

Suggestion: Replace "^0.23.5" with a specific version number.

medium · packages/vscode/package.json:454 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-javascript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-javascript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:455 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-json" has an unpinned version range "^0.24.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-json": "^0.24.8",

Suggestion: Replace "^0.24.8" with a specific version number.

medium · packages/vscode/package.json:456 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-kotlin" has an unpinned version range "^0.3.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-kotlin": "^0.3.8",

Suggestion: Replace "^0.3.8" with a specific version number.

medium · packages/vscode/package.json:457 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-lua" has an unpinned version range "^2.1.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-lua": "^2.1.3",

Suggestion: Replace "^2.1.3" with a specific version number.

medium · packages/vscode/package.json:458 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-php" has an unpinned version range "^0.24.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-php": "^0.24.2",

Suggestion: Replace "^0.24.2" with a specific version number.

medium · packages/vscode/package.json:459 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-python" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-python": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:460 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-ruby" has an unpinned version range "^0.23.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-ruby": "^0.23.1",

Suggestion: Replace "^0.23.1" with a specific version number.

medium · packages/vscode/package.json:461 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-rust" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-rust": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:462 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-scala" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-scala": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:463 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-sql" has an unpinned version range "^0.1.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-sql": "^0.1.0",

Suggestion: Replace "^0.1.0" with a specific version number.

medium · packages/vscode/package.json:464 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-swift" has an unpinned version range "^0.7.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-swift": "^0.7.1",

Suggestion: Replace "^0.7.1" with a specific version number.

medium · packages/vscode/package.json:465 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-typescript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-typescript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:466 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-yaml" has an unpinned version range "^0.5.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-yaml": "^0.5.0",

Suggestion: Replace "^0.5.0" with a specific version number.

medium · packages/vscode/package.json:467 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-zig" has an unpinned version range "^0.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-zig": "^0.2.0",

Suggestion: Replace "^0.2.0" with a specific version number.

medium · packages/vscode/package.json:468 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@eagleoutice/tree-sitter-r" has an unpinned version range "^1.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@eagleoutice/tree-sitter-r": "^1.1.2",

Suggestion: Replace "^1.1.2" with a specific version number.

medium · packages/vscode/package.json:469 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@tree-sitter-grammars/tree-sitter-hcl" has an unpinned version range "^1.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

Suggestion: Replace "^1.2.0" with a specific version number.

medium · packages/vscode/package.json:472 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "onnxruntime-node" has an unpinned version range "^1.31.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"onnxruntime-node": "^1.31.1"

Suggestion: Replace "^1.31.1" with a specific version number.

medium · packages/vscode/package.json:479 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@types/vscode" has an unpinned version range "^1.144.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@types/vscode": "^1.144.0",

Suggestion: Replace "^1.144.0" with a specific version number.

medium · packages/vscode/package.json:480 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "esbuild" has an unpinned version range "^0.28.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"esbuild": "^0.28.1",

Suggestion: Replace "^0.28.1" with a specific version number.

medium · packages/vscode/package.json:481 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "typescript" has an unpinned version range "^6.0.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"typescript": "^6.0.3",

Suggestion: Replace "^6.0.3" with a specific version number.

medium · packages/vscode/package.json:482 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vitest" has an unpinned version range "^4.1.12". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vitest": "^4.1.12"

Suggestion: Replace "^4.1.12" with a specific version number.

medium · pnpm-lock.yaml:23 · performance · perf-nested-loop

Nested Loop (Potential O(n²))

Nested loops can cause O(n²) runtime. Check if the inner loop can be avoided.

Suggestion: Consider using Map/Set for O(1) lookups, or extract the inner loop to a helper.

  source-map-js: '>=1.2.2'
  vite: '>=6.4.4 <9'
  minimatch@>=10.0.0 <11.0.0: '>=11.0.1'

pnpmfileChecksum: nadx52pcy4cxu6z3br7tmxiu3i

importers:

  .:
    dependencies:
      tree-sitter:
        specifier: ^0.25.0
        version: 0.25.0
      tree-sitter-c-sharp:
        specifier: ^0.21.3
        version: 0.21.3(tree-sitter@0.25.0)
      tree-sitter-go:
        specifier: ^0.25.0
        version: 0.25.0(tree-sitter@0.25.0)
      tree-sitter-java:
        specifier: ^0.23.5
        version: 

low · packages/vscode/package.json:1 · docs · docs-missing-readme

Missing README Reference

No "readme" field in package.json. Add a README.md for project documentation.

No README referenced in package.json

Suggestion: Add "readme": "README.md" to package.json

low · packages/vscode/package.json:185 · style · style-magic-number

Magic Numbers: 10485760

Literal values 10485760 should be extracted to named constants for readability.

"default": 10485760,

Suggestion: Extract to const: const MEANINGFUL_NAME = 10485760;

low · packages/vscode/package.json:219 · style · style-magic-number

Magic Numbers: 4

Literal values 4 should be extracted to named constants for readability.

"default": 4,

Suggestion: Extract to const: const MEANINGFUL_NAME = 4;

low · packages/vscode/package.json:221 · style · style-magic-number

Magic Numbers: 32

Literal values 32 should be extracted to named constants for readability.

"maximum": 32,

Suggestion: Extract to const: const MEANINGFUL_NAME = 32;

low · packages/vscode/package.json:277 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"default": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:279 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"maximum": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:291 · style · style-magic-number

Magic Numbers: 20

Literal values 20 should be extracted to named constants for readability.

"default": 20,

Suggestion: Extract to const: const MEANINGFUL_NAME = 20;

low · packages/vscode/package.json:317 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"default": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:318 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"minimum": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:319 · style · style-magic-number

Magic Numbers: 5000

Literal values 5000 should be extracted to named constants for readability.

"maximum": 5000,

Suggestion: Extract to const: const MEANINGFUL_NAME = 5000;

low · pnpm-lock.yaml:8 · style · style-magic-number

Magic Numbers: 4.28

Literal values 4.28 should be extracted to named constants for readability.

browserslist: ^4.28.9

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.28;

low · pnpm-lock.yaml:10 · style · style-magic-number

Magic Numbers: 4.6

Literal values 4.6 should be extracted to named constants for readability.

zod: ^4.6.6

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.6;

1876 finding(s) beyond --max-findings were not reported.

48 finding(s) are on lines this change did not touch: they are listed here rather than posted as inline comments, which a pull request can only attach to a changed line.

71064 lines across 2 file(s) in 627 ms · 0 rejected for missing evidence · 59 merged as duplicates

@@ -469,7 +469,7 @@
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 [deps-unpinned] medium

Dependency "@tree-sitter-grammars/tree-sitter-hcl" has an unpinned version range "^1.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

💡 Suggestion: Replace "^1.2.0" with a specific version number.

Suggested change
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

🤖 Generated by Code Analyzer | 2026-11-10T23:54:46.491Z

"@agentix-e/embed-code-core": "0.1.1",
"@agentix-e/embed-code-node": "0.1.1",
"onnxruntime-node": "^1.27.0"
"onnxruntime-node": "^1.31.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 [deps-unpinned] medium

Dependency "onnxruntime-node" has an unpinned version range "^1.31.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

💡 Suggestion: Replace "^1.31.1" with a specific version number.

Suggested change
"onnxruntime-node": "^1.31.1"
"onnxruntime-node": "^1.31.1"

🤖 Generated by Code Analyzer | 2026-11-10T23:54:46.491Z

@github-actions

Copy link
Copy Markdown

🏎️ Benchmark Results

Suite Category Mean P50 P95

✅ No performance regressions detected

@github-actions

Copy link
Copy Markdown

Code Analyzer — Standards Compliance

Standard Compliance Files Critical High Medium Low Info
std-func-length 100% 2 0 0 0 0 0
std-nesting-depth 100% 2 0 0 0 0 0
std-naming 100% 2 0 0 0 0 0
std-error-handling 100% 2 0 0 0 0 0
std-security 100% 2 0 0 0 0 0
std-security-essentials 100% 2 0 0 0 0 0
std-general 100% 2 0 0 0 0 0

No violations at or above the reported severity.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

📊 Coverage Report

Dimension Covered Total Pct Gate
lines 37445 37524 99.8% ✅
branches 25591 26017 98.4% ✅
functions 6097 6106 99.8% ✅
statements 41829 42030 99.5% ✅

Threshold: ≥95%

✅ All dimensions pass.

@github-actions

Copy link
Copy Markdown

Code Analyzer Review

Code Analyzer — Pull Request Review

Reviewed: AgentiX-E/code-analyzer#59 (github mode)
Files: 2 analyzed of 2 changed
Decision: mergeable — approve-with-comments: 1 high-severity finding(s) should be reviewed.

Severity Findings
critical 0
high 1
medium 37
low 12
info 0

Findings

high · pnpm-lock.yaml:1 · structure · struct-complexity

High Cyclomatic Complexity: 105 branches

This file has cyclomatic complexity of 105. Consider splitting into smaller functions or modules.

File-level cyclomatic complexity: 105

Suggestion: Extract related logic into helper functions to reduce complexity.

medium · packages/vscode/package.json:1 · structure · struct-deep-nesting

Deep Nesting: 9 levels

Code has nesting depth of 9 (>4 threshold). Deep nesting makes code hard to read and test. Use early returns or extract inner logic.

Maximum nesting depth detected: 9 levels

Suggestion: Use guard clauses (early returns) to reduce nesting.

medium · packages/vscode/package.json:35 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vscode" has an unpinned version range "^1.95.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vscode": "^1.95.0",

Suggestion: Replace "^1.95.0" with a specific version number.

medium · packages/vscode/package.json:36 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "node" has an unpinned version range ">=22.14.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"node": ">=22.14.0"

Suggestion: Replace ">=22.14.0" with a specific version number.

medium · packages/vscode/package.json:442 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:443 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-bash" has an unpinned version range "^0.25.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-bash": "^0.25.1",

Suggestion: Replace "^0.25.1" with a specific version number.

medium · packages/vscode/package.json:444 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c" has an unpinned version range "^0.24.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c": "^0.24.0",

Suggestion: Replace "^0.24.0" with a specific version number.

medium · packages/vscode/package.json:445 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-c-sharp" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-c-sharp": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:446 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-cpp" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-cpp": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:447 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-css" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-css": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:448 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-dart" has an unpinned version range "^1.0.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-dart": "^1.0.0",

Suggestion: Replace "^1.0.0" with a specific version number.

medium · packages/vscode/package.json:449 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-elixir" has an unpinned version range "^0.3.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-elixir": "^0.3.0",

Suggestion: Replace "^0.3.0" with a specific version number.

medium · packages/vscode/package.json:450 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-go" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-go": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:451 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-groovy" has an unpinned version range "^0.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-groovy": "^0.1.2",

Suggestion: Replace "^0.1.2" with a specific version number.

medium · packages/vscode/package.json:452 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-html" has an unpinned version range "^0.23.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-html": "^0.23.2",

Suggestion: Replace "^0.23.2" with a specific version number.

medium · packages/vscode/package.json:453 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-java" has an unpinned version range "^0.23.5". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-java": "^0.23.5",

Suggestion: Replace "^0.23.5" with a specific version number.

medium · packages/vscode/package.json:454 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-javascript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-javascript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:455 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-json" has an unpinned version range "^0.24.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-json": "^0.24.8",

Suggestion: Replace "^0.24.8" with a specific version number.

medium · packages/vscode/package.json:456 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-kotlin" has an unpinned version range "^0.3.8". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-kotlin": "^0.3.8",

Suggestion: Replace "^0.3.8" with a specific version number.

medium · packages/vscode/package.json:457 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-lua" has an unpinned version range "^2.1.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-lua": "^2.1.3",

Suggestion: Replace "^2.1.3" with a specific version number.

medium · packages/vscode/package.json:458 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-php" has an unpinned version range "^0.24.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-php": "^0.24.2",

Suggestion: Replace "^0.24.2" with a specific version number.

medium · packages/vscode/package.json:459 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-python" has an unpinned version range "^0.25.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-python": "^0.25.0",

Suggestion: Replace "^0.25.0" with a specific version number.

medium · packages/vscode/package.json:460 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-ruby" has an unpinned version range "^0.23.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-ruby": "^0.23.1",

Suggestion: Replace "^0.23.1" with a specific version number.

medium · packages/vscode/package.json:461 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-rust" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-rust": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:462 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-scala" has an unpinned version range "^0.23.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-scala": "^0.23.0",

Suggestion: Replace "^0.23.0" with a specific version number.

medium · packages/vscode/package.json:463 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-sql" has an unpinned version range "^0.1.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-sql": "^0.1.0",

Suggestion: Replace "^0.1.0" with a specific version number.

medium · packages/vscode/package.json:464 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-swift" has an unpinned version range "^0.7.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-swift": "^0.7.1",

Suggestion: Replace "^0.7.1" with a specific version number.

medium · packages/vscode/package.json:465 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-typescript" has an unpinned version range "^0.21.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-typescript": "^0.21.0",

Suggestion: Replace "^0.21.0" with a specific version number.

medium · packages/vscode/package.json:466 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-yaml" has an unpinned version range "^0.5.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-yaml": "^0.5.0",

Suggestion: Replace "^0.5.0" with a specific version number.

medium · packages/vscode/package.json:467 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "tree-sitter-zig" has an unpinned version range "^0.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"tree-sitter-zig": "^0.2.0",

Suggestion: Replace "^0.2.0" with a specific version number.

medium · packages/vscode/package.json:468 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@eagleoutice/tree-sitter-r" has an unpinned version range "^1.1.2". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@eagleoutice/tree-sitter-r": "^1.1.2",

Suggestion: Replace "^1.1.2" with a specific version number.

medium · packages/vscode/package.json:469 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@tree-sitter-grammars/tree-sitter-hcl" has an unpinned version range "^1.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

Suggestion: Replace "^1.2.0" with a specific version number.

medium · packages/vscode/package.json:472 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "onnxruntime-node" has an unpinned version range "^1.31.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"onnxruntime-node": "^1.31.1"

Suggestion: Replace "^1.31.1" with a specific version number.

medium · packages/vscode/package.json:479 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "@types/vscode" has an unpinned version range "^1.144.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"@types/vscode": "^1.144.0",

Suggestion: Replace "^1.144.0" with a specific version number.

medium · packages/vscode/package.json:480 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "esbuild" has an unpinned version range "^0.28.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"esbuild": "^0.28.1",

Suggestion: Replace "^0.28.1" with a specific version number.

medium · packages/vscode/package.json:481 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "typescript" has an unpinned version range "^6.0.3". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"typescript": "^6.0.3",

Suggestion: Replace "^6.0.3" with a specific version number.

medium · packages/vscode/package.json:482 · deps · deps-unpinned

Unpinned Dependency Version

Dependency "vitest" has an unpinned version range "^4.1.12". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

"vitest": "^4.1.12"

Suggestion: Replace "^4.1.12" with a specific version number.

medium · pnpm-lock.yaml:23 · performance · perf-nested-loop

Nested Loop (Potential O(n²))

Nested loops can cause O(n²) runtime. Check if the inner loop can be avoided.

Suggestion: Consider using Map/Set for O(1) lookups, or extract the inner loop to a helper.

  source-map-js: '>=1.2.2'
  vite: '>=6.4.4 <9'
  minimatch@>=10.0.0 <11.0.0: '>=11.0.1'

pnpmfileChecksum: nadx52pcy4cxu6z3br7tmxiu3i

importers:

  .:
    dependencies:
      tree-sitter:
        specifier: ^0.25.0
        version: 0.25.0
      tree-sitter-c-sharp:
        specifier: ^0.21.3
        version: 0.21.3(tree-sitter@0.25.0)
      tree-sitter-go:
        specifier: ^0.25.0
        version: 0.25.0(tree-sitter@0.25.0)
      tree-sitter-java:
        specifier: ^0.23.5
        version: 

low · packages/vscode/package.json:1 · docs · docs-missing-readme

Missing README Reference

No "readme" field in package.json. Add a README.md for project documentation.

No README referenced in package.json

Suggestion: Add "readme": "README.md" to package.json

low · packages/vscode/package.json:185 · style · style-magic-number

Magic Numbers: 10485760

Literal values 10485760 should be extracted to named constants for readability.

"default": 10485760,

Suggestion: Extract to const: const MEANINGFUL_NAME = 10485760;

low · packages/vscode/package.json:219 · style · style-magic-number

Magic Numbers: 4

Literal values 4 should be extracted to named constants for readability.

"default": 4,

Suggestion: Extract to const: const MEANINGFUL_NAME = 4;

low · packages/vscode/package.json:221 · style · style-magic-number

Magic Numbers: 32

Literal values 32 should be extracted to named constants for readability.

"maximum": 32,

Suggestion: Extract to const: const MEANINGFUL_NAME = 32;

low · packages/vscode/package.json:277 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"default": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:279 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"maximum": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:291 · style · style-magic-number

Magic Numbers: 20

Literal values 20 should be extracted to named constants for readability.

"default": 20,

Suggestion: Extract to const: const MEANINGFUL_NAME = 20;

low · packages/vscode/package.json:317 · style · style-magic-number

Magic Numbers: 500

Literal values 500 should be extracted to named constants for readability.

"default": 500,

Suggestion: Extract to const: const MEANINGFUL_NAME = 500;

low · packages/vscode/package.json:318 · style · style-magic-number

Magic Numbers: 50

Literal values 50 should be extracted to named constants for readability.

"minimum": 50,

Suggestion: Extract to const: const MEANINGFUL_NAME = 50;

low · packages/vscode/package.json:319 · style · style-magic-number

Magic Numbers: 5000

Literal values 5000 should be extracted to named constants for readability.

"maximum": 5000,

Suggestion: Extract to const: const MEANINGFUL_NAME = 5000;

low · pnpm-lock.yaml:8 · style · style-magic-number

Magic Numbers: 4.28

Literal values 4.28 should be extracted to named constants for readability.

browserslist: ^4.28.9

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.28;

low · pnpm-lock.yaml:10 · style · style-magic-number

Magic Numbers: 4.6

Literal values 4.6 should be extracted to named constants for readability.

zod: ^4.6.6

Suggestion: Extract to const: const MEANINGFUL_NAME = 4.6;

1876 finding(s) beyond --max-findings were not reported.

48 finding(s) are on lines this change did not touch: they are listed here rather than posted as inline comments, which a pull request can only attach to a changed line.

71064 lines across 2 file(s) in 595 ms · 0 rejected for missing evidence · 59 merged as duplicates

@@ -469,7 +469,7 @@
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 [deps-unpinned] medium

Dependency "@tree-sitter-grammars/tree-sitter-hcl" has an unpinned version range "^1.2.0". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

💡 Suggestion: Replace "^1.2.0" with a specific version number.

Suggested change
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",

🤖 Generated by Code Analyzer | 2026-11-11T07:27:57.690Z

"@agentix-e/embed-code-core": "0.1.1",
"@agentix-e/embed-code-node": "0.1.1",
"onnxruntime-node": "^1.27.0"
"onnxruntime-node": "^1.31.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 [deps-unpinned] medium

Dependency "onnxruntime-node" has an unpinned version range "^1.31.1". Pin to a specific version to ensure reproducible builds and prevent supply chain attacks.

💡 Suggestion: Replace "^1.31.1" with a specific version number.

Suggested change
"onnxruntime-node": "^1.31.1"
"onnxruntime-node": "^1.31.1"

🤖 Generated by Code Analyzer | 2026-11-11T07:27:57.690Z

@Lambertyan
Lambertyan merged commit ec178ce into master Nov 11, 2026
35 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/onnxruntime-node-1.31.1 branch November 11, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant