MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / readClientPin

Function readClientPin

scripts/check-sdk-version-sync.mjs:209–214  ·  view source on GitHub ↗

* Read the typescript-client pin from package.json.

()

Source from the content-addressed store, hash-verified

207 * Read the typescript-client pin from package.json.
208 */
209function readClientPin() {
210 const pkg = JSON.parse(
211 readFileSync(join(projectRoot, "package.json"), "utf-8"),
212 );
213 return pkg.dependencies?.[CLIENT_PACKAGE_NAME] ?? null;
214}
215
216/**
217 * Fetch the latest version of a package from PyPI

Callers 2

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected