Fix subscripted-variable false positives; finalize plugin metadata
verify-calculations.sh mistook subscripted/numbered variables (x_1, x1, 3x_1) for bare numeric equations, flagging e.g. "x_1 = 0" as the false claim "1 = 0". The single-letter variable regex only excluded adjacent letters, not trailing digits/underscores, and the prose segment extractor could start a fresh match right after such a break, mining a free digit out of the identifier. Also carries over the author/repository metadata and the SSH-vs-HTTP install note for the Forgejo marketplace (DISABLE_HTTP_GIT blocks the https URL; the ssh:// path has no /forgejo/ segment). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
318644f4b0
commit
f672241e9c
4 changed files with 38 additions and 5 deletions
15
README.md
15
README.md
|
|
@ -19,10 +19,23 @@ vérification automatique des calculs tapés dans les messages.
|
|||
> d'un message). Voir [Se passer de Nix](#se-passer-de-nix) pour l'adapter.
|
||||
|
||||
```bash
|
||||
/plugin marketplace add <url-de-ce-dépôt>
|
||||
/plugin marketplace add https://zospace.freeboxos.fr/forgejo/zo/claude-math
|
||||
/plugin install claude-math@claude-math
|
||||
```
|
||||
|
||||
L'instance Forgejo refuse actuellement le git en HTTP (`DISABLE_HTTP_GIT`), si
|
||||
bien que l'URL ci-dessus ne sert qu'à consulter le dépôt. Pour que
|
||||
`/plugin marketplace add` fonctionne en HTTPS, passer `DISABLE_HTTP_GIT =
|
||||
false` dans `app.ini` ; sinon, installer par SSH :
|
||||
|
||||
```bash
|
||||
/plugin marketplace add ssh://forgejo@zospace.freeboxos.fr/zo/claude-math
|
||||
/plugin install claude-math@claude-math
|
||||
```
|
||||
|
||||
Noter que le chemin diffère entre les deux protocoles : le segment `/forgejo/`
|
||||
est celui du reverse-proxy web et n'existe pas côté SSH.
|
||||
|
||||
Le dépôt est à la fois le plugin (`.claude-plugin/plugin.json`) et une
|
||||
marketplace à entrée unique (`.claude-plugin/marketplace.json`), donc les deux
|
||||
commandes suffisent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue