feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07)

This commit is contained in:
Yun Chan 2026-10-31 02:54:54 +09:00
parent f49acf0105
commit 10af20a0ad
157 changed files with 29455 additions and 913 deletions

View file

@ -231,7 +231,7 @@ h1 {
.actions {
display: grid;
grid-template-columns: 1.25fr 1fr;
grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
gap: 12px;
margin-top: 24px;
}

View file

@ -1,11 +1,12 @@
(() => {
'use strict'
const tokenPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i
const tokenPattern = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|[A-Za-z0-9_-]{32})$/i
const status = document.getElementById('invite-status')
const fingerprint = document.getElementById('token-fingerprint')
const error = document.getElementById('invite-error')
const openApp = document.getElementById('open-app')
const openWeb = document.getElementById('open-web')
const copyLink = document.getElementById('copy-link')
const token = new URLSearchParams(window.location.search).get('token')?.trim() ?? ''
@ -22,6 +23,10 @@
fingerprint.textContent = `${token.slice(0, 8)}…${token.slice(-4)}`
openApp.href = `d3ro-voice://accept-invite?token=${encodeURIComponent(token)}`
openApp.removeAttribute('aria-disabled')
if (openWeb) {
openWeb.href = `/app/accept-invite?token=${encodeURIComponent(token)}`
openWeb.removeAttribute('aria-disabled')
}
copyLink.disabled = false
copyLink.addEventListener('click', async () => {

View file

@ -60,6 +60,9 @@
<a id="open-app" class="button button--primary" href="#" aria-disabled="true">
D3RO Voice 앱 열기
</a>
<a id="open-web" class="button button--secondary" href="/app/accept-invite" aria-disabled="true">
웹 브라우저에서 수락하기
</a>
<button id="copy-link" class="button button--secondary" type="button" disabled>
초대 링크 복사
</button>