From 71ae753556e3520221a7b118bae96c6e16d58fcb Mon Sep 17 00:00:00 2001 From: Piers Date: Tue, 21 Apr 2026 20:34:56 +1000 Subject: [PATCH] Add setup.fields, remove internal transport config from UI - Add setup.fields with labels, placeholders, and help text - Remove MCP_TRANSPORT, MCP_AUTH_TOKEN from env Co-Authored-By: Claude Opus 4.6 --- stallari-plugin.yaml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/stallari-plugin.yaml b/stallari-plugin.yaml index 3c3cbbf..22142f8 100644 --- a/stallari-plugin.yaml +++ b/stallari-plugin.yaml @@ -59,6 +59,23 @@ setup: blurb: "Syncthing file sync — multi-instance replication status, safe disk-space reclamation, device management" auth_model: api_key complexity: simple + fields: + - key: SYNCTHING_API_KEY + label: "API Key" + secret: true + required: true + help: "Syncthing REST API key — find in Actions → Settings → API Key" + - key: SYNCTHING_URL + label: "Server URL" + required: false + placeholder: "http://localhost:8384" + help: "Syncthing web GUI URL. Defaults to localhost:8384" + - key: SYNCTHING_INSTANCES + label: "Multi-Instance Config" + secret: true + required: false + placeholder: '{"name": {"url": "...", "apiKey": "..."}}' + help: "JSON object for multi-instance mode. Overrides API Key and URL above" install: runtime: uv @@ -78,14 +95,6 @@ env: secret: true required: false description: "JSON object for multi-instance mode (overrides API_KEY/URL)" - - name: MCP_TRANSPORT - secret: false - required: false - description: "Transport: stdio (default) or streamable-http" - - name: MCP_AUTH_TOKEN - secret: true - required: false - description: "Bearer token for HTTP transport auth" conformance: required: "38"