tokenfactory-pi 0.2.2 → 0.2.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/README.md +28 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Fetches the current model catalog from the Token Factory API on startup and registers all tool-capable models. No changes to pi-mono required.
|
|
6
6
|
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Install pi coding agent globally (required)
|
|
11
|
+
npm install -g @mariozechner/pi-coding-agent
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Install the extension using pi's built-in package manager
|
|
18
|
+
pi install npm:tokenfactory-pi
|
|
19
|
+
```
|
|
20
|
+
|
|
7
21
|
## Setup
|
|
8
22
|
|
|
9
23
|
```bash
|
|
@@ -14,17 +28,23 @@ export NEBIUS_API_KEY=your-key-here
|
|
|
14
28
|
## Usage
|
|
15
29
|
|
|
16
30
|
```bash
|
|
17
|
-
#
|
|
18
|
-
pi -
|
|
31
|
+
# List available models to verify installation
|
|
32
|
+
pi --list-models | grep nebius
|
|
33
|
+
```
|
|
19
34
|
|
|
20
|
-
|
|
21
|
-
pi -e tokenfactory-pi --provider nebius
|
|
35
|
+
Once running in interactive mode, use `/nebius-models` to list all available models.
|
|
22
36
|
|
|
23
|
-
|
|
24
|
-
pi -e tokenfactory-pi --provider nebius --model Qwen/Qwen3-32B
|
|
25
|
-
```
|
|
37
|
+
## Development
|
|
26
38
|
|
|
27
|
-
|
|
39
|
+
For local development:
|
|
40
|
+
```bash
|
|
41
|
+
# Build the TypeScript
|
|
42
|
+
npm run build
|
|
43
|
+
|
|
44
|
+
# Test locally from the project directory
|
|
45
|
+
cd path/to/tokenfactory-pi
|
|
46
|
+
pi -e . --provider nebius
|
|
47
|
+
```
|
|
28
48
|
|
|
29
49
|
## How it works
|
|
30
50
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tokenfactory-pi",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Nebius Token Factory provider extension for pi coding agent",
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "Nebius Token Factory provider extension for pi coding agent. Requires `npm install -g @mariozechner/pi-coding-agent`. Install with `pi install npm:tokenfactory-pi`",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|