Bump version to 2.2.27 and update package
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
<div class="header-actions">
|
||||
<button class="icon-btn" id="newChatBtn" data-tooltip="새 대화 시작 (현재 대화는 기록에 저장)">새 대화</button>
|
||||
<button class="icon-btn toggle-chip active" id="brainTraceBtn" data-tooltip="답변에 사용된 두뇌(지식) 근거를 함께 표시">근거 추적</button>
|
||||
<button class="icon-btn toggle-chip" id="internetBtn" data-tooltip="필요할 때 웹에서 정보를 가져옵니다">웹 검색</button>
|
||||
<!--
|
||||
Corp toggle — replaces the old pill-shaped chip that lived
|
||||
in the records-line. Same rounded-rectangle style as the
|
||||
@@ -46,7 +45,6 @@
|
||||
<button class="hdr-menu-item toggle-item" id="brainTraceDebugBtn" data-tooltip="근거 추적의 원본 JSON 표시 (개발자용)">근거 추적 JSON 보기</button>
|
||||
<button class="hdr-menu-item" id="saveWikiRawBtn" data-tooltip="현재 답변의 원본 마크다운을 두뇌(지식)에 저장">원본 답변을 두뇌에 저장</button>
|
||||
<button class="hdr-menu-item" id="brainBtn" data-tooltip="두뇌(지식) 폴더 변경사항을 git commit + push">두뇌 동기화</button>
|
||||
<button class="hdr-menu-item" id="ytExtractBtn" data-tooltip="채널/플레이리스트/단일 영상 URL에서 자막을 일괄 추출해 지정 폴더에 저장">▶ YouTube 자막 추출</button>
|
||||
</div>
|
||||
</div>
|
||||
<button class="icon-btn" id="historyBtn" data-tooltip="이전 대화 기록 보기">기록</button>
|
||||
|
||||
+8
-16
@@ -647,7 +647,6 @@
|
||||
}
|
||||
|
||||
let streamBody = null;
|
||||
let internetEnabled = false;
|
||||
let secondBrainTraceEnabled = true;
|
||||
let secondBrainTraceDebug = false;
|
||||
let pendingFiles = [];
|
||||
@@ -1577,11 +1576,10 @@
|
||||
const val = input.value.trim();
|
||||
if (!val && pendingFiles.length === 0) return;
|
||||
addMsg(val || (pendingFiles.length > 0 ? `[Sent ${pendingFiles.length} files]` : ''), 'user');
|
||||
vscode.postMessage({
|
||||
type: 'prompt',
|
||||
value: val,
|
||||
model: modelSel.value,
|
||||
internet: internetEnabled,
|
||||
vscode.postMessage({
|
||||
type: 'prompt',
|
||||
value: val,
|
||||
model: modelSel.value,
|
||||
files: pendingFiles.length > 0 ? pendingFiles : undefined,
|
||||
agentFile: agentSel.value === 'none' ? undefined : agentSel.value,
|
||||
brainProfileId: brainSel.value && brainSel.value !== 'new' ? brainSel.value : undefined,
|
||||
@@ -1640,9 +1638,6 @@
|
||||
// Both actions remain available in the top toolbar (newChatBtn / brainBtn / Tools menu).
|
||||
|
||||
document.getElementById('settingsBtn').onclick = () => vscode.postMessage({ type: 'openSettings' });
|
||||
document.getElementById('internetBtn').onclick = () => {
|
||||
internetEnabled = !internetEnabled; document.getElementById('internetBtn').classList.toggle('active', internetEnabled);
|
||||
};
|
||||
document.getElementById('brainTraceBtn').onclick = () => {
|
||||
secondBrainTraceEnabled = !secondBrainTraceEnabled;
|
||||
const btn = document.getElementById('brainTraceBtn');
|
||||
@@ -1661,9 +1656,6 @@
|
||||
const syncBrain = () => { Sound.play(550, 'sine', 0.1); vscode.postMessage({ type: 'syncBrain' }); };
|
||||
document.getElementById('brainBtn').onclick = syncBrain;
|
||||
saveWikiRawBtn.onclick = () => vscode.postMessage({ type: 'saveWikiRaw' });
|
||||
// YouTube 자막 추출 — 도구 메뉴 진입. backend가 wizard(URL/폴더/언어/limit)를 띄움.
|
||||
const ytExtractBtn = document.getElementById('ytExtractBtn');
|
||||
if (ytExtractBtn) ytExtractBtn.onclick = () => vscode.postMessage({ type: 'extractYoutubeTranscripts' });
|
||||
addBrainBtn.onclick = () => vscode.postMessage({ type: 'addBrain' });
|
||||
editBrainBtn.onclick = () => {
|
||||
if (!brainSel.value || brainSel.value === 'new') return;
|
||||
@@ -1909,10 +1901,10 @@
|
||||
|
||||
/**
|
||||
* Chip lives in the main header toolbar now, so it uses the same
|
||||
* `icon-btn.active` styling as `brainTraceBtn` / `internetBtn`.
|
||||
* Detail (company name + agent count) goes in the tooltip — the
|
||||
* label stays a constant "Corp" so the toolbar tone-and-manner
|
||||
* isn't broken by a wildly varying-width chip.
|
||||
* `icon-btn.active` styling as `brainTraceBtn`. Detail (company name
|
||||
* + agent count) goes in the tooltip — the label stays a constant
|
||||
* "Corp" so the toolbar tone-and-manner isn't broken by a wildly
|
||||
* varying-width chip.
|
||||
*/
|
||||
const renderCompanyChip = (active, summary) => {
|
||||
if (!_companyChip) return;
|
||||
|
||||
Reference in New Issue
Block a user