@theclawlab/pai 1.0.2 → 1.0.4
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/USAGE.md +3 -3
- package/package.json +3 -2
package/USAGE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pai Usage Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
pai is a Unix-style command-line tool for interacting with Large Language Models (LLMs).
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ npm link # or use: node dist/index.js
|
|
|
14
14
|
|
|
15
15
|
### 1. Configure a Provider
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
pai supports many providers via `@mariozechner/pi-ai`. Different providers use different authentication methods.
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
# API Key providers (e.g. OpenAI)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theclawlab/pai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "pai is a linux command to interact with LLMs (with only one bash_exec tool and basic session support).",
|
|
6
6
|
"bin": {
|
|
7
7
|
"pai": "dist/index.js"
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"test": "vitest",
|
|
14
14
|
"test:coverage": "vitest run --coverage",
|
|
15
15
|
"release:local": "npm run build && npm link",
|
|
16
|
-
"release:public": "npm run build && npm publish --access public"
|
|
16
|
+
"release:public": "npm test && npm run build && npm publish --access public",
|
|
17
|
+
"release:public:skip-test": "npm run build && npm publish --access public"
|
|
17
18
|
},
|
|
18
19
|
"publishConfig": {
|
|
19
20
|
"access": "public",
|