Have others join by sharing the following url:
{ if (wsProvider?.shouldConnect) { disableCollaboration() } else { setCollaborationMode() } }} on:showDiffMode={showDiffMode} on:hideDiffMode={hideDiffMode} customUi={{ ...customUi?.editorBar, aiGen: false }} collabLive={wsProvider?.shouldConnect} {collabMode} {validCode} iconOnly={width < EDITOR_BAR_WIDTH_THRESHOLD} on:collabPopup={() => (showCollabPopup = true)} {editor} {lang} on:createScriptFromInlineScript {websocketAlive} collabUsers={peers} kind={asKind(kind)} {template} {diffEditor} {args} {noHistory} {saveToWorkspace} lastDeployedCode={lastDeployedCode && lastDeployedCode !== code ? lastDeployedCode : undefined} {diffMode} bind:showHistoryDrawer > {#if !noSyncFromGithub && customUi?.editorBar?.useVsCode != false}
{/if}
{#if aiPanelSize === 0} {#if customUi?.editorBar?.aiGen != false && SUPPORTED_CHAT_SCRIPT_LANGUAGES.includes(lang ?? '')} {/if} {#if testPanelSize === 0}
{#key lang} { inferSchema(e.detail) }} on:saveDraft on:toggleAiPanel={toggleAiPanel} on:addSelectedLinesToAiChat={addSelectedLinesToAiChat} on:toggleTestPanel={toggleTestPanel} isAiPanelOpen={aiPanelSize > 0} cmdEnterAction={async () => { await inferSchema(code) runTest() }} formatAction={async () => { await inferSchema(code) try { localStorage.setItem(path ?? 'last_save', code) } catch (e) { console.error('Could not save last_save to local storage', e) } dispatch('format') }} class="flex flex-1 h-full !overflow-visible" scriptLang={lang} automaticLayout={true} {fixedOverflowWidgets} {args} /> { showHistoryDrawer = true }} /> {/key}
{#if lang && $copilotInfo.enabled} {#snippet aiChatHeaderRight()} {#if testPanelSize === 0}