mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-20 16:09:26 +00:00
* feat: configurable public base url for the MCP gateway Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep mcpTokenUrlDisabled's doc comment on its function Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: build MCP OAuth urls from the api base url, narrowable per surface Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: save and discard companion setting keys in the per-category settings flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.1 KiB
Svelte
35 lines
1.1 KiB
Svelte
<script lang="ts">
|
|
import ClipboardPanel from './details/ClipboardPanel.svelte'
|
|
import Section from './Section.svelte'
|
|
import { useOperatingWorkspace } from '$lib/components/operatingWorkspace.svelte'
|
|
import { apiBaseUrl } from '$lib/apiBaseUrl.svelte'
|
|
|
|
const operatingWorkspace = useOperatingWorkspace()
|
|
|
|
let url = $derived(`${apiBaseUrl('cli')}/`)
|
|
</script>
|
|
|
|
<Section label="CLI quick setup">
|
|
<div class="text-xs" role="alert" id="dynamic-input-help-box">
|
|
<ul class="pl-0 list-decimal list-inside flex flex-col gap-4">
|
|
<li>
|
|
<span class="font-medium">Install the latest wmill CLI from npm: </span>
|
|
<div class="mt-1">
|
|
<ClipboardPanel content={'npm install -g windmill-cli'} />
|
|
</div>
|
|
</li>
|
|
|
|
<li>
|
|
<span class="font-medium">Setup the wmill cli for this workspace & remote:</span>
|
|
<div class="mt-1">
|
|
<ClipboardPanel
|
|
content={`wmill workspace add ${$operatingWorkspace} ${$operatingWorkspace} ${url}`}
|
|
/>
|
|
</div>
|
|
</li>
|
|
<li><span class="font-medium">Follow the prompts in your terminal</span></li>
|
|
<li><span class="font-medium">Use the run command above!</span></li>
|
|
</ul>
|
|
</div>
|
|
</Section>
|