@method-ai-hq/sdk 0.14.2 → 0.14.3
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.
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
MIT-licensed JavaScript API and the `method` CLI. Source and releases: https://github.com/method-ai-hq/method-sdk
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm install https://github.com/method-ai-hq/method-sdk/releases/download/v0.14.
|
|
6
|
+
npm install https://github.com/method-ai-hq/method-sdk/releases/download/v0.14.3/method-ai-hq-sdk-0.14.3.tgz
|
|
7
7
|
npx method --version
|
|
8
8
|
```
|
|
9
9
|
|
|
@@ -37,7 +37,7 @@ function installLine(app, language) {
|
|
|
37
37
|
const pack = process.env.METHOD_NODE_PACKAGE || "@method-ai-hq/sdk";
|
|
38
38
|
return has("pnpm-lock.yaml") ? `pnpm add ${pack}` : has("yarn.lock") ? `yarn add ${pack}` : has("bun.lockb") || has("bun.lock") ? `bun add ${pack}` : `npm install ${pack}`;
|
|
39
39
|
}
|
|
40
|
-
const pack = process.env.METHOD_PYTHON_PACKAGE || "
|
|
40
|
+
const pack = process.env.METHOD_PYTHON_PACKAGE || "method-ai";
|
|
41
41
|
return has("uv.lock") ? `uv add ${pack}` : has("poetry.lock") ? `poetry add ${pack}` : `pip install ${pack}`;
|
|
42
42
|
}
|
|
43
43
|
function example(document, language, methodId, hasAsk) {
|