Skip to content

Conversation

@KOWX712
Copy link
Contributor

@KOWX712 KOWX712 commented Nov 14, 2025

npm update #2928

@tiann
Copy link
Owner

tiann commented Nov 14, 2025

Please bump version in package.json

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds two new package management functions to the KernelSU JavaScript API, providing the ability to list installed packages and retrieve detailed package information.

  • Adds listPackages() function to list installed packages by type (user/system/all)
  • Adds getPackagesInfo() function to retrieve detailed information about specific packages
  • Includes TypeScript definitions and comprehensive documentation for both functions

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
js/index.js Implements listPackages() and getPackagesInfo() with JSON parsing and error handling
js/index.d.ts Adds TypeScript interface PackagesInfo and type declarations for the new functions
js/README.md Documents the new functions with usage examples and parameter descriptions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

KOWX712 and others added 2 commits November 14, 2025 13:12
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@KOWX712
Copy link
Contributor Author

KOWX712 commented Nov 14, 2025

Is it fine to keep in sync with latest v2.1.1 tag?

@tiann tiann merged commit ab3840a into tiann:main Nov 14, 2025
@tiann
Copy link
Owner

tiann commented Nov 14, 2025

https://www.npmjs.com/package/kernelsu/v/2.1.1

@KOWX712 KOWX712 deleted the webui_doc branch November 14, 2025 10:15
KOWX712 added a commit to KOWX712/KernelSU that referenced this pull request Nov 14, 2025
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 3, 2026
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 5, 2026
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.

2 participants