@fastino-ai/pioneer-cli 0.2.7 → 0.2.8

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
@@ -51,15 +51,9 @@ pioneer auth login # Enter API key interactively
51
51
  pioneer auth logout # Clear stored API key
52
52
  pioneer auth status # Check if logged in
53
53
 
54
- # Chat (interactive agent)
55
- pioneer chat # Start chat with AI agent
56
-
57
- # Datasets
58
- pioneer dataset list
59
- pioneer dataset get <id>
60
- pioneer dataset delete <id>
61
- pioneer dataset download <id>
62
- pioneer dataset analyze <id>
54
+ # Agent
55
+ pioneer agent # Interactive chat (default)
56
+ pioneer agent --mode research # Research mode (Pro subscription required)
63
57
 
64
58
  # Training Jobs
65
59
  pioneer job list
@@ -68,58 +62,58 @@ pioneer job logs <id>
68
62
  pioneer job create --model-name "My Model" --dataset-ids ds_123,ds_456
69
63
 
70
64
  # Models
71
- pioneer model list # List deployed models
72
- pioneer model trained # List trained models
73
- pioneer model delete <id>
74
- pioneer model download <id>
75
- ```
65
+ pioneer model endpoints list # List model catalog entries (/projects)
66
+ pioneer model endpoints create # Create a model entry (interactive by default)
67
+ pioneer model endpoints create --model "qwen/Qwen3-8B-Instruct" --repo https://github.com/fastino-ai/Pioneer
68
+ pioneer model endpoints get <model-id>
69
+ pioneer model endpoints update <model-id> --description "Updated model metadata"
70
+ pioneer model endpoints delete <model-id>
71
+ pioneer model endpoints dataset-count <model-id>
72
+ pioneer model endpoints quality-metrics <model-id>
73
+ pioneer model endpoints deploy <model-id> --job <training-job-id> [--reason "..." ]
74
+ pioneer model endpoints rollback <model-id> <deployment-id>
76
75
 
77
- ## End-to-End Example
76
+ pioneer model artifacts list # List trained and deployed artifacts
77
+ pioneer model artifacts trained # List trained artifacts
78
+ pioneer model artifacts deployed # List deployed artifacts
79
+ pioneer model artifacts download <job-id>
80
+ pioneer model artifacts upload <job-id> --to hf --repo username/model # Push trained artifact to HF
78
81
 
79
- This example shows the complete workflow from generating a dataset to training a model.
82
+ # Aliases
83
+ pioneer model_endpoints list
84
+ pioneer model_artifacts list
85
+ ```
80
86
 
81
- ### Step 1: Generate a Dataset
87
+ ## Agent command
82
88
 
83
- Generate a NER (Named Entity Recognition) dataset for medical text:
89
+ `agent` starts in interactive mode by default (standard workflow). For the only explicit alternate mode:
90
+ - `--mode research`: Pro mode with deeper research response style.
84
91
 
85
92
  ```bash
86
- # Save locally to ./datasets/ (default)
87
- pioneer dataset generate ner \
88
- --labels "DISEASE,SYMPTOM,TREATMENT,MEDICATION" \
89
- --num 50 \
90
- --domain "Medical clinical notes and patient records" \
91
- --name "medical-ner"
92
-
93
- # Or save to remote database
94
- pioneer dataset generate ner \
95
- --labels "DISEASE,SYMPTOM,TREATMENT,MEDICATION" \
96
- --num 50 \
97
- --domain "Medical clinical notes and patient records" \
98
- --save true \
99
- --name "Medical NER Dataset"
100
- ```
93
+ # Interactive (default)
94
+ pioneer agent
101
95
 
102
- Or generate a classification dataset for sentiment analysis:
96
+ # Standard mode is the default:
97
+ pioneer agent
103
98
 
104
- ```bash
105
- pioneer dataset generate classification \
106
- --labels "positive,negative,neutral" \
107
- --num 200 \
108
- --domain "Customer product reviews" \
109
- --name "sentiment"
99
+ # Research mode (Pro subscription required)
100
+ pioneer agent --mode research
110
101
  ```
111
102
 
112
- ### Step 2: View Your Datasets
103
+ When you start any of these commands, the CLI opens a conversational prompt and keeps accepting follow-up messages in the same session.
113
104
 
114
- ```bash
115
- # List all datasets (both remote and local ./datasets/*.json)
116
- pioneer dataset list
105
+ ## End-to-End Example
106
+
107
+ This example shows the complete workflow from running jobs to using agent support.
108
+
109
+ ### Step 1: Start a planning session
110
+ Use `agent` for quick iteration while preparing jobs and reviewing results.
117
111
 
118
- # Get details for a remote dataset
119
- pioneer dataset get <dataset-id>
112
+ ### Step 2: Open the interactive helper
120
113
 
121
- # Analyze dataset statistics
122
- pioneer dataset analyze <dataset-id>
114
+ ```bash
115
+ # Open a short interactive helper session
116
+ pioneer agent
123
117
  ```
124
118
 
125
119
  ### Step 3: Create a Training Job
@@ -153,10 +147,10 @@ Once training completes:
153
147
 
154
148
  ```bash
155
149
  # List trained models
156
- pioneer model list trained
150
+ pioneer model artifacts trained
157
151
 
158
152
  # Download the trained model
159
- pioneer model download <job-id>
153
+ pioneer model artifacts download <job-id>
160
154
  ```
161
155
 
162
156
  ## Configuration
@@ -178,7 +172,10 @@ The CLI stores your API key in `~/.pioneer/config.json` after running `pioneer a
178
172
 
179
173
  ### Pioneer API
180
174
 
181
- To use the CLI, you'll need a Pioneer API key. Get one at https://app.pioneer.ai/api-keys .
175
+ To use the CLI, you'll need a Pioneer API key. Get one at https://app.pioneer.ai/api-keys.
176
+
177
+ By default, the CLI points at production (`https://api.pioneer.ai`).
178
+ For dev/staging and local debugging, set `PIONEER_API_URL` explicitly (for example: `https://api-dev.pioneer.ai` or `http://localhost:5001`).
182
179
 
183
180
  ```bash
184
181
  # Login with your API key
@@ -193,7 +190,7 @@ pioneer auth logout
193
190
 
194
191
  ### Hugging Face (Optional)
195
192
 
196
- For pushing/pulling datasets and models to/from Hugging Face, you'll need an HF token. Get one at https://huggingface.co/settings/tokens .
193
+ For uploading model artifacts to Hugging Face, you'll need an HF token. Get one at https://huggingface.co/settings/tokens .
197
194
 
198
195
  ```bash
199
196
  # Set your Hugging Face token
@@ -206,6 +203,8 @@ pioneer auth hf status
206
203
  pioneer auth hf logout
207
204
  ```
208
205
 
206
+ Note: Hugging Face-backed dataset import/export is currently behind the hidden dataset workflow, so the main recommended HF flow today is model artifact upload via `model artifacts upload --to hf`.
207
+
209
208
  ## Development & Testing
210
209
 
211
210
  ### Building & Running
@@ -217,25 +216,6 @@ bun run dev # Hot reload
217
216
  bun run typecheck # Type checking
218
217
  ```
219
218
 
220
- ### Internal Testing Environment Variables
221
-
222
- For Pioneer team members testing against local or staging environments:
223
-
224
- | Variable | Description | Example |
225
- |----------|-------------|---------|
226
- | `PIONEER_API_URL` | Override API base URL | `http://localhost:5001` |
227
- | `PIONEER_API_KEY` | Override saved API key | `your-test-key` |
228
- | `HF_TOKEN` | Override saved HF token | `your-hf-token` |
229
-
230
- ```bash
231
- # Example: Test against local backend
232
- export PIONEER_API_URL=http://localhost:5001
233
- export PIONEER_API_KEY=your-local-test-key
234
- pioneer dataset list
235
- ```
236
-
237
- > **Note:** External users should never need to set these variables. The CLI defaults to production (`https://api.pioneer.ai`) and uses `pioneer auth login` for authentication.
238
-
239
219
  ## Tech Stack
240
220
 
241
221
  - **Runtime**: [Bun](https://bun.sh)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastino-ai/pioneer-cli",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Pioneer CLI - AI training platform with chat agent",
5
5
  "type": "module",
6
6
  "files": [