@flop-labs/cli 0.4.0 → 0.4.2
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/CHANGELOG.md +43 -0
- package/README.md +6 -4
- package/dist/cli.js +822 -191
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,49 @@ and this package follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.2] - 2026-11-09
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `flop model backup <model_hash>` streams a registered `content-v1` checkpoint from its
|
|
15
|
+
Hugging Face mirror into the validators' DA copy under the running box's own DA key,
|
|
16
|
+
piping the packed image into `da-validator` instead of writing it out, so the box needs
|
|
17
|
+
room for the checkpoint rather than twice it. It refuses a root the hub table does not
|
|
18
|
+
reproduce, prints the plan and refundable DA deposit under `--dry-run`, and leaves the
|
|
19
|
+
`ModelWeightsRef` binding to the model publisher. Both the download and the DA push
|
|
20
|
+
resume on a rerun. Metadata-only onboarding now prints this command as its next step.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Wallet enrollment now waits up to 120 seconds for the gateway's answer, so a slow enrollment
|
|
25
|
+
completes and a refusal such as a full daily cap is reported instead of a timeout.
|
|
26
|
+
|
|
27
|
+
## [0.4.1] - 2026-11-08
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Gateway renewal follows the same operator-owned static-to-public handoffs as the gateway,
|
|
32
|
+
retaining admission expiry, identity checks and static budget ceilings.
|
|
33
|
+
|
|
34
|
+
- Gateway renewal consumes optional dynamic admissions, verifies their pinned identity and
|
|
35
|
+
uses channel-signed paid conformance probes without extending admission or location evidence.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- Report session failures as structured nonzero errors with channel recovery guidance.
|
|
40
|
+
- Route package bug reports to the public network issue forms.
|
|
41
|
+
|
|
42
|
+
- Require a fresh dynamic admission before expiry-bound renewal probes, even when a static
|
|
43
|
+
route shadows that slot; retain operator handoff withdrawal checks.
|
|
44
|
+
|
|
45
|
+
- Bound unreachable RPC connections and release wallet-creation connections after errors.
|
|
46
|
+
- Report balance totals including reserves and expose frozen funds; retain the live validator
|
|
47
|
+
minimum in JSON, human and agent output, including an explicit offline state.
|
|
48
|
+
- Resolve exact model names before hash queries and carry the resolved hash into chat.
|
|
49
|
+
- Preflight caller-supplied HTLC appraisal commitments against finalized governed state;
|
|
50
|
+
missing profiles remain unavailable. Forward the appraisal tuple through chat's agent
|
|
51
|
+
inference handoff. Surface faucet readiness and server retry guidance.
|
|
52
|
+
|
|
10
53
|
## [0.4.0] - 2026-10-28
|
|
11
54
|
|
|
12
55
|
### Added
|
package/README.md
CHANGED
|
@@ -405,8 +405,8 @@ From a source checkout, replace `flop` with `node sdk/cli/dist/cli.js` after
|
|
|
405
405
|
the build above.
|
|
406
406
|
The alternate public hosted launcher requires managed-home preparation described
|
|
407
407
|
in the public guide; an immediate Desktop launch is not qualified. With the
|
|
408
|
-
tailnet `--gateway`,
|
|
409
|
-
|
|
408
|
+
tailnet `--gateway`, your Tailscale user ID must be approved first; request it with an
|
|
409
|
+
[access request](https://github.com/flop-labs/network/issues/new?template=access.yml). The CLI then obtains a seven-day, 25 FLOP model-scoped allowance and
|
|
410
410
|
stores the key in `~/.flop/devnet-agent-key.json` (mode 0600). Later launches
|
|
411
411
|
and other local agent clients check and reuse the cached key.
|
|
412
412
|
If the local key is lost or rejected, enrollment rotates the bearer while preserving
|
|
@@ -441,7 +441,7 @@ tailnet.
|
|
|
441
441
|
#### Local OpenAI Proxy
|
|
442
442
|
Expose a local OpenAI-compatible API (like LM Studio / Ollama's local server)
|
|
443
443
|
where **every request is submitted and settled on-chain under your signer**.
|
|
444
|
-
The proxy estimates G_n, submits the
|
|
444
|
+
The proxy estimates G_n, submits the PoI task, waits for a TEE miner to settle
|
|
445
445
|
it, then returns the result — all behind the OpenAI REST schema:
|
|
446
446
|
```bash
|
|
447
447
|
flop proxy # http://127.0.0.1:3201/v1
|
|
@@ -497,4 +497,6 @@ Operator images: use `ghcr.io/flop-labs/flop-core/cli:stable` (minimum 0.1.172),
|
|
|
497
497
|
`ghcr.io/flop-labs/flop-core/miner-worker:stable` (minimum 0.1.172), and
|
|
498
498
|
`ghcr.io/flop-labs/flop-core/miner-vllm-toploc:stable` (minimum 0.1.172).
|
|
499
499
|
For a reproducible pin, use the version and digest in [releases.json](https://flop.network/releases.json).
|
|
500
|
-
`just miner-pack /tmp/flop-miner-pack`
|
|
500
|
+
`just miner-pack /tmp/flop-miner-pack` checks that manifest against the minimums, copies it, and sets the images to `:stable`.
|
|
501
|
+
The pack is for the public path, without the tailnet: public RPC, mailbox and sponsor, and
|
|
502
|
+
`docker-compose.tls.yml` for the session endpoint.
|