Bump version to 2.2.27 and update package

This commit is contained in:
2026-05-18 16:36:41 +09:00
parent 26fdce6525
commit 0834608f7e
16 changed files with 33 additions and 1151 deletions
+8 -16
View File
@@ -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;