6.0.0~ynh7 : modifier les documents par le MCP #9

Merged
cedric merged 8 commits from feat/edit-content into v6 2026-10-11 21:38:05 +00:00
Owner

Modification des documents par le MCP : patch 0004-edit-content (y-provider, yhub, backend), docs-mcp v0.2.0, version 6.0.0~ynh7.

Corrections trouvées pendant la recette sur docs.dev.hansen.tl :

  • OIDC_OP_URL = issuer exact annoncé par Dex (sans / final quand Dex est sous /dex) : sinon tout jeton MCP était refusé.
  • Sous-étapes de _common.sh en ynh_print_info : la barre de progression débordait, bash s'arrêtait et le script se disait réussi, sans installer le MCP.

Recette dev OK : ajout, remplacement, renommage, restauration par Versions, refus pour un lecteur (403) ; mise à jour rejouée avec le MCP réinstallé.

Modification des documents par le MCP : patch `0004-edit-content` (y-provider, yhub, backend), `docs-mcp` v0.2.0, version `6.0.0~ynh7`. Corrections trouvées pendant la recette sur docs.dev.hansen.tl : - `OIDC_OP_URL` = issuer exact annoncé par Dex (sans `/` final quand Dex est sous `/dex`) : sinon tout jeton MCP était refusé. - Sous-étapes de `_common.sh` en `ynh_print_info` : la barre de progression débordait, bash s'arrêtait et le script se disait réussi, sans installer le MCP. Recette dev OK : ajout, remplacement, renommage, restauration par Versions, refus pour un lecteur (403) ; mise à jour rejouée avec le MCP réinstallé.
Patch 0004 adds the edit-content action (y-provider, yhub, backend) and
the external API exposes it with partial_update (rename) for the MCP.
apply_frontend_patches now hands the whole src/ back to the app: a patch
can touch the backend and yhub too. Not released yet: the MCP tools
(lot D) and the test run on docs.dev.hansen.tl come first.
docs-mcp is pinned on the commit of its PR #2 for the test run on
docs.dev.hansen.tl; it moves to the v0.2.0 tag before the merge.
Derived from the auth URL it always ended with a slash, which only matches
a Dex at the root of its domain (https://auth.example.org/). Under a path
Dex announces https://example.org/dex, and the resource server rejected
every MCP token ("Failed to validate token's claims"). Read it from the
Dex config instead.
ynh_script_progression sizes the bar by counting its calls in the running
script only ($0). The 12 calls of _common.sh came on top: past twice the
expected count the bar expansion fails ("substring expression < 0") and
the script stops there while reporting success. The upgrade to ynh7
silently skipped setup_mcp (docs-mcp stayed unchanged), and an install
could stop before its end too. The sub-steps are now plain info lines.
cedric deleted branch feat/edit-content 2026-10-11 21:38:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cedric/lasuite-docs_ynh!9
No description provided.