@moxt-ai/cli 0.3.3-moxt-run.2 → 0.4.0-beta.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 +0 -40
- package/dist/index.js +1728 -2066
- package/dist/index.js.map +1 -1
- package/package.json +4 -6
package/README.md
CHANGED
|
@@ -152,41 +152,6 @@ moxt memory search -w <workspace-id> --teammate-id <teammateId> <query>
|
|
|
152
152
|
moxt memory search -w <workspace-id> -l 10 <query>
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
### run
|
|
156
|
-
|
|
157
|
-
Run a local Codex or Claude Code process and capture the run as Moxt workspace context.
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
# Local-only capture, no API key required
|
|
161
|
-
moxt run codex -- exec "summarize this repository"
|
|
162
|
-
moxt run claude -- -p "summarize this repository"
|
|
163
|
-
|
|
164
|
-
# Capture and upload source artifacts to the API key owner's personal space
|
|
165
|
-
moxt run -w <workspace-id> codex -- exec "summarize this repository"
|
|
166
|
-
moxt run -w <workspace-id> claude -- -p "summarize this repository"
|
|
167
|
-
|
|
168
|
-
# Or set a default workspace for repeated uploads
|
|
169
|
-
export MOXT_WORKSPACE_ID=<workspace-id>
|
|
170
|
-
moxt run codex -- exec "summarize this repository"
|
|
171
|
-
moxt run claude -- -p "summarize this repository"
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
Uploaded files are stored by Moxt under `Local Agent Sessions/<run-id>/` in personal space. For upload mode, `-w, --workspace` takes precedence over `MOXT_WORKSPACE_ID`; when neither is set, `moxt run` only writes the local capture artifact. While the local agent is running, Moxt periodically uploads changed artifact files and overwrites the same `run-id + artifact path` on the server. When the agent exits, Moxt performs one final flush. The command does not accept a workspace destination selector for run uploads; the server chooses the storage location. `moxt run` preserves the local agent's stdin/stdout/stderr behavior and returns the agent's exit code even when upload cleanup fails afterward.
|
|
175
|
-
|
|
176
|
-
Local run artifacts are written under the platform user data directory by default:
|
|
177
|
-
macOS `~/Library/Application Support/moxt/runs/<run-id>/`, Linux `${XDG_DATA_HOME:-~/.local/share}/moxt/runs/<run-id>/`, and Windows `%LOCALAPPDATA%\Moxt\runs\<run-id>`. For tests or local debugging, override with `MOXT_RUN_OUTPUT_ROOT` or `MOXT_RUN_OUTPUT_DIR`.
|
|
178
|
-
|
|
179
|
-
Real local-agent upload verification:
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
MOXT_HOST=web-api.moxt.ws \
|
|
183
|
-
MOXT_API_KEY=moxt_... \
|
|
184
|
-
MOXT_WORKSPACE_ID=<workspace-id> \
|
|
185
|
-
pnpm --dir moxt-cli test:ai-e2e
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
By default this starts both real `codex` and real `claude`. Set `MOXT_RUN_AI_E2E_AGENTS=codex` or `claude` to run only one. For `*.moxt.ws` hosts behind Cloudflare Access, the runner reads the local `cloudflared` `moxt.ws` token when present; alternatively set `MOXT_CF_ACCESS_TOKEN`, `CF_ACCESS_TOKEN`, or Cloudflare Access service-token env vars.
|
|
189
|
-
|
|
190
155
|
#### File command options
|
|
191
156
|
|
|
192
157
|
| Option | Description |
|
|
@@ -213,12 +178,7 @@ Set the following environment variables:
|
|
|
213
178
|
| Variable | Description |
|
|
214
179
|
|----------|-------------|
|
|
215
180
|
| `MOXT_API_KEY` | Your Moxt API key |
|
|
216
|
-
| `MOXT_WORKSPACE_ID` | Default workspace ID for `moxt run` upload mode and AI E2E verification |
|
|
217
181
|
| `MOXT_HOST` | API hostname (default: `api.moxt.ai`) |
|
|
218
|
-
| `MOXT_RUN_UPLOAD_INTERVAL_MS` | Optional `moxt run` live-upload scan interval, default `5000`, minimum `250` |
|
|
219
|
-
| `MOXT_RUN_UPLOAD_TIMEOUT_MS` | Optional `moxt run` per-file upload timeout, default `30000`, minimum `100` |
|
|
220
|
-
| `MOXT_CF_ACCESS_TOKEN` / `CF_ACCESS_TOKEN` | Optional Cloudflare Access token for protected development or testing hosts |
|
|
221
|
-
| `MOXT_CF_ACCESS_CLIENT_ID` / `MOXT_CF_ACCESS_CLIENT_SECRET` | Optional Cloudflare Access service-token credentials |
|
|
222
182
|
| `MOXT_TELEMETRY_DISABLED` | Set to `1` to disable anonymous usage telemetry |
|
|
223
183
|
| `DO_NOT_TRACK` | Set to `1` to disable anonymous usage telemetry (community standard) |
|
|
224
184
|
|