@fastino-ai/pioneer-cli 0.2.9 → 0.2.11

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
@@ -59,26 +59,37 @@ pioneer agent --mode research # Research mode (Pro subscri
59
59
  pioneer job list
60
60
  pioneer job get <id>
61
61
  pioneer job logs <id>
62
- pioneer job create --model-name "My Model" --dataset-ids ds_123,ds_456
62
+ pioneer job delete <id>
63
+ # To create a training job, use the agent — it will help you pick a base model
64
+ # and datasets conversationally:
65
+ pioneer agent
63
66
 
64
67
  # Models
65
- pioneer model endpoints list # List model catalog entries (/projects)
68
+ pioneer model base-models # List available base models (tabular)
69
+ pioneer model endpoints list # List model catalog entries
66
70
  pioneer model endpoints create # Create a model entry (interactive by default)
67
71
  pioneer model endpoints create --model "qwen/Qwen3-8B-Instruct" --repo https://github.com/fastino-ai/Pioneer
68
- pioneer model endpoints get <model-id>
72
+ pioneer model endpoints get <model-id> # Endpoint details (incl. attached dataset count)
69
73
  pioneer model endpoints update <model-id> --description "Updated model metadata"
70
74
  pioneer model endpoints delete <model-id>
71
- pioneer model endpoints dataset-count <model-id>
72
75
  pioneer model endpoints quality-metrics <model-id>
73
- pioneer model endpoints deploy <model-id> --job <training-job-id> [--reason "..." ]
76
+ pioneer model endpoints deploy <model-id> [--job <training-job-id>] [--reason "..." ] [--all]
77
+ # If --job is omitted, pick from a list of deployable jobs interactively.
78
+ # The list is filtered to jobs whose base model matches the endpoint; pass --all to bypass that filter.
74
79
  pioneer model endpoints rollback <model-id> <deployment-id>
75
80
 
76
81
  pioneer model artifacts list # List trained and deployed artifacts
77
82
  pioneer model artifacts trained # List trained artifacts
78
83
  pioneer model artifacts deployed # List deployed artifacts
79
- pioneer model artifacts download <job-id>
84
+ pioneer model artifacts download <job-id> # Get a signed download URL for the artifact
80
85
  pioneer model artifacts upload <job-id> --to hf --repo username/model # Push trained artifact to HF
81
86
 
87
+ # Datasets
88
+ pioneer dataset list # List remote + local datasets (tabular)
89
+ pioneer dataset get <name[:version]> # Dataset details (key/value layout)
90
+
91
+ # Most read commands also accept --json for the raw JSON payload.
92
+
82
93
  # Aliases
83
94
  pioneer model_endpoints list
84
95
  pioneer model_artifacts list
@@ -113,6 +124,8 @@ pioneer agent resume 4f2a...
113
124
 
114
125
  When you start any of these commands, the CLI opens a conversational prompt and keeps accepting follow-up messages in the same session.
115
126
 
127
+ Interactive **standard** mode uses the same WebSocket agent as the Pioneer app’s sidebar: Felix tools plus **local** CLI tools (**bash**, **read_file**, **write_file**, **edit_file**, **list_directory**, **search_files**, and **`browse_url`** — HTTP GET for public pages with HTML stripped; no JavaScript). Full **Browser Use** (driving your open Pioneer UI with click/type/navigate against the live DOM) remains **web-only**; the CLI surfaces a clear hint if those tools appear.
128
+
116
129
  ## End-to-End Example
117
130
 
118
131
  This example shows the complete workflow from running jobs to using agent support.
@@ -129,14 +142,12 @@ pioneer agent
129
142
 
130
143
  ### Step 3: Create a Training Job
131
144
 
132
- Start training with one or more datasets:
145
+ Use `pioneer agent` to create a training job. The agent will guide you through
146
+ picking a base model, selecting datasets, and configuring hyperparameters
147
+ without needing to remember flags or dataset IDs:
133
148
 
134
149
  ```bash
135
- pioneer job create \
136
- --model-name "Medical NER Model v1" \
137
- --dataset-ids "<dataset-id>" \
138
- --base-model "fastino/gliner2-base-v1" \
139
- --epochs 10
150
+ pioneer agent
140
151
  ```
141
152
 
142
153
  ### Step 4: Monitor Training Progress
@@ -227,6 +238,32 @@ bun run dev # Hot reload
227
238
  bun run typecheck # Type checking
228
239
  ```
229
240
 
241
+ ### Release
242
+
243
+ Before publishing, bump `package.json` to a version that is not already on npm:
244
+
245
+ ```bash
246
+ npm version patch --no-git-tag-version
247
+ ```
248
+
249
+ Then verify the npm package tarball locally:
250
+
251
+ ```bash
252
+ bun run release:check-version
253
+ bun run release:pack
254
+ ```
255
+
256
+ `release:pack` writes the verified package to `release-artifacts/*.tgz` and checks that the tarball contains only:
257
+
258
+ ```text
259
+ README.md
260
+ dist/index.js
261
+ dist/yoga.wasm
262
+ package.json
263
+ ```
264
+
265
+ To publish, run the **Publish Pioneer CLI npm Package** GitHub Actions workflow from `main`. Leave `dry_run=true` to build and upload the tarball as a GitHub Actions artifact without publishing. Set `dry_run=false` to publish the verified tarball to npm and attach the same `.tgz` to a `vX.Y.Z` GitHub Release.
266
+
230
267
  ## Tech Stack
231
268
 
232
269
  - **Runtime**: [Bun](https://bun.sh)