From 69aa34f9e4f81dcf1221c75745cc2b4f104416cc Mon Sep 17 00:00:00 2001 From: Yi-111-a <153097222+Yi-111-a@users.noreply.github.com> Date: Sun, 4 Oct 2026 02:46:01 +0800 Subject: [PATCH] fix(docs): README denies named hub packages and accounts Fixes #1295 The limitations list said "The hub has no names, versions, accounts or search yet. Packages are hashes." Three of those four claims are stale: - guide/GUIDE.md documents `import @/main.bend as P` and `bend main.bend --publish @` after `bend login`. - bend2/main.ts backs them: `bend login` writes the Bender key, `cli_link` calls `hub_name`, `--publish @` runs `hub_check`, and its help already reads "a name needs login". So the bullet now says what is actually true - a package is a hash unless its author names and versions it after logging in - which is also the shape the surrounding limitations take. The bullet says nothing about search. bend2/main.ts has no search verb, but the hub UI lives in the sibling bend-lang.com checkout, so whether search exists there is not answerable from this repo, and #1295 scopes that claim out separately rather than asking me to restate it. README.md is 2980 ttok against the permanent 4000 cap in gates/repo.ts. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 156ea173f..9cc6abcfe 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,7 @@ def add_zero(x): - The Lean formalization and bend.ts mismatch. Early consistency bugs may occur. - A binary needs clang 14+; ! needs 19+, Metal or CUDA 12. - No Windows (WSL works); on Linux, Window and Audio need X11 and ALSA headers. -- The hub has no names, versions, accounts or search yet. Packages are hashes. +- A hub package is a hash, unless its author names and versions it after `bend login`. - Error messages are terse; no debugger, profiler or REPL. - The bundled editor support is limited to formatting; the community [bend2-lsp](https://github.com/don2e4/bend2-lsp) provides diagnostics and hover, but no completion. - No test framework and no documentation beyond the guide.