@fastino-ai/pioneer-cli 0.2.10 → 0.3.0
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 +48 -58
- package/dist/index.js +208 -0
- package/dist/yoga.wasm +0 -0
- package/package.json +9 -11
- package/src/api.ts +0 -3187
- package/src/chat/ChatApp.tsx +0 -1028
- package/src/chat/index.ts +0 -7
- package/src/client/ToolExecutor.ts +0 -175
- package/src/client/WebSocketClient.ts +0 -379
- package/src/client/index.ts +0 -2
- package/src/config.ts +0 -225
- package/src/index.tsx +0 -6677
- package/src/telemetry.ts +0 -173
- package/src/tests/api.test.ts +0 -104
- package/src/tests/config-functions.test.ts +0 -163
- package/src/tests/config.test.ts +0 -33
- package/src/tests/file-resolver-edge-cases.test.ts +0 -92
- package/src/tests/telemetry.test.ts +0 -111
- package/src/tests/tool-types.test.ts +0 -104
- package/src/tests/utils.test.ts +0 -90
- package/src/tools/bash.ts +0 -184
- package/src/tools/filesystem.ts +0 -444
- package/src/tools/index.ts +0 -22
- package/src/tools/sandbox.ts +0 -310
- package/src/tools/types.ts +0 -25
- package/src/utils/FileResolver.ts +0 -321
- package/src/utils/index.ts +0 -6
package/README.md
CHANGED
|
@@ -11,6 +11,21 @@ Command-line interface for the Pioneer AI training platform.
|
|
|
11
11
|
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝╚══════╝╚═╝ ╚═╝
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## What's new in 0.3.0 (security release)
|
|
15
|
+
|
|
16
|
+
The `pioneer agent` interactive chat command and its WebSocket runtime have
|
|
17
|
+
been **removed** in this release for security reasons. The agent shipped with
|
|
18
|
+
local tool execution (shell, filesystem write/read, URL fetching) and a sandbox
|
|
19
|
+
surface that we are no longer comfortable shipping in a CLI binary.
|
|
20
|
+
|
|
21
|
+
If you need conversational workflows for training jobs, datasets, or model
|
|
22
|
+
deployment, use the Pioneer web app at <https://app.pioneer.ai/> instead. All
|
|
23
|
+
non-agent commands in this CLI (auth, dataset, job, model, telemetry) continue
|
|
24
|
+
to work unchanged.
|
|
25
|
+
|
|
26
|
+
Running `pioneer agent` (or any `agent` subcommand) now prints a clear
|
|
27
|
+
deprecation message and exits.
|
|
28
|
+
|
|
14
29
|
## Installation
|
|
15
30
|
|
|
16
31
|
### npm
|
|
@@ -51,18 +66,12 @@ pioneer auth login # Enter API key interactively
|
|
|
51
66
|
pioneer auth logout # Clear stored API key
|
|
52
67
|
pioneer auth status # Check if logged in
|
|
53
68
|
|
|
54
|
-
# Agent
|
|
55
|
-
pioneer agent # Interactive chat (default)
|
|
56
|
-
pioneer agent --mode research # Research mode (Pro subscription required)
|
|
57
|
-
|
|
58
69
|
# Training Jobs
|
|
59
70
|
pioneer job list
|
|
60
71
|
pioneer job get <id>
|
|
61
72
|
pioneer job logs <id>
|
|
62
73
|
pioneer job delete <id>
|
|
63
|
-
# To create a training job, use the
|
|
64
|
-
# and datasets conversationally:
|
|
65
|
-
pioneer agent
|
|
74
|
+
# To create a training job, use the Pioneer web app at https://app.pioneer.ai/.
|
|
66
75
|
|
|
67
76
|
# Models
|
|
68
77
|
pioneer model base-models # List available base models (tabular)
|
|
@@ -95,60 +104,15 @@ pioneer model_endpoints list
|
|
|
95
104
|
pioneer model_artifacts list
|
|
96
105
|
```
|
|
97
106
|
|
|
98
|
-
## Agent command
|
|
99
|
-
|
|
100
|
-
`agent` starts in interactive mode by default (standard workflow). For the only explicit alternate mode:
|
|
101
|
-
- `--mode research`: Pro mode with deeper research response style.
|
|
102
|
-
- `agent resume`: list recent conversations and resume a selected session.
|
|
103
|
-
- `agent sessions`: explicit alias for listing sessions and resuming one.
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
# Interactive (default)
|
|
107
|
-
pioneer agent
|
|
108
|
-
|
|
109
|
-
# Standard mode is the default:
|
|
110
|
-
pioneer agent
|
|
111
|
-
|
|
112
|
-
# Research mode (Pro subscription required)
|
|
113
|
-
pioneer agent --mode research
|
|
114
|
-
|
|
115
|
-
# Open a session list and pick one to continue
|
|
116
|
-
pioneer agent resume
|
|
117
|
-
|
|
118
|
-
# Equivalent: explicit sessions command
|
|
119
|
-
pioneer agent sessions
|
|
120
|
-
|
|
121
|
-
# Resume a specific conversation id
|
|
122
|
-
pioneer agent resume 4f2a...
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
When you start any of these commands, the CLI opens a conversational prompt and keeps accepting follow-up messages in the same session.
|
|
126
|
-
|
|
127
107
|
## End-to-End Example
|
|
128
108
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### Step 1: Start a planning session
|
|
132
|
-
Use `agent` for quick iteration while preparing jobs and reviewing results.
|
|
133
|
-
|
|
134
|
-
### Step 2: Open the interactive helper
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
# Open a short interactive helper session
|
|
138
|
-
pioneer agent
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Step 3: Create a Training Job
|
|
109
|
+
### Step 1: Create a Training Job
|
|
142
110
|
|
|
143
|
-
Use
|
|
144
|
-
picking a base model, selecting datasets,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
```bash
|
|
148
|
-
pioneer agent
|
|
149
|
-
```
|
|
111
|
+
Use the Pioneer web app at <https://app.pioneer.ai/> to create a training job.
|
|
112
|
+
The web app will guide you through picking a base model, selecting datasets,
|
|
113
|
+
and configuring hyperparameters.
|
|
150
114
|
|
|
151
|
-
### Step
|
|
115
|
+
### Step 2: Monitor Training Progress
|
|
152
116
|
|
|
153
117
|
```bash
|
|
154
118
|
# List all training jobs
|
|
@@ -161,7 +125,7 @@ pioneer job get <job-id>
|
|
|
161
125
|
pioneer job logs <job-id>
|
|
162
126
|
```
|
|
163
127
|
|
|
164
|
-
### Step
|
|
128
|
+
### Step 3: Use Your Trained Model
|
|
165
129
|
|
|
166
130
|
Once training completes:
|
|
167
131
|
|
|
@@ -236,6 +200,32 @@ bun run dev # Hot reload
|
|
|
236
200
|
bun run typecheck # Type checking
|
|
237
201
|
```
|
|
238
202
|
|
|
203
|
+
### Release
|
|
204
|
+
|
|
205
|
+
Before publishing, bump `package.json` to a version that is not already on npm:
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
npm version patch --no-git-tag-version
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Then verify the npm package tarball locally:
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
bun run release:check-version
|
|
215
|
+
bun run release:pack
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
`release:pack` writes the verified package to `release-artifacts/*.tgz` and checks that the tarball contains only:
|
|
219
|
+
|
|
220
|
+
```text
|
|
221
|
+
README.md
|
|
222
|
+
dist/index.js
|
|
223
|
+
dist/yoga.wasm
|
|
224
|
+
package.json
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
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.
|
|
228
|
+
|
|
239
229
|
## Tech Stack
|
|
240
230
|
|
|
241
231
|
- **Runtime**: [Bun](https://bun.sh)
|