v2.2.297: stocks 목록 클라우드 백업 — Sheets _backup 탭 자동 백업 + /stocks backup·restore
로컬 .astra/stocks.json 뿐이던 워치리스트를 spreadsheet _backup 탭에 원본 JSON 그대로 자동 백업(변경 시 30초 디바운스). 새 컴퓨터에서는 /stocks restore 한 번으로 복원. sheetsApi 에 ensureSheetTab/clearSheetRange 추가, writeStocksStore 성공 시 변경 리스너 발화로 모든 변경 경로 포착. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -39,7 +39,7 @@ import { getBrainTokenIndex, clearBrainTokenIndex } from './retrieval';
|
||||
import { lessonTemplate, lessonSlug, parseLessonFrontmatter, normalizeLessonTitle, bumpLessonOccurrences } from './retrieval/lessonHelpers';
|
||||
import { runConnectGoogleCalendarIcal, runConnectGoogleCalendarOAuth } from './extension/calendarSetup';
|
||||
import { runInitialSetup } from './extension/initialSetup';
|
||||
import { startStocksWatcher } from './features/stocks';
|
||||
import { startStocksWatcher, registerStocksAutoBackup } from './features/stocks';
|
||||
import { startDailyBriefingWatcher } from './features/briefing/dailyBriefing';
|
||||
import { startEmailWatcher } from './features/email/emailWatcher';
|
||||
import { ensureDefaultBrainConfigured } from './extension/brainBootstrap';
|
||||
@@ -327,6 +327,8 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
// Stocks watcher — VS Code 시작 시 자동 활성화. KST 09:00 / 15:00 자동 트리거.
|
||||
// disposable 은 subscriptions 에 푸시해 종료 시 timer cleanup.
|
||||
context.subscriptions.push(startStocksWatcher(context));
|
||||
// Stocks 자동 백업 — stocks.json 변경 시 Sheets `_backup` 탭으로 (v2.2.297).
|
||||
context.subscriptions.push(registerStocksAutoBackup(context));
|
||||
|
||||
// Daily briefing — 평일 KST 09:30 오늘의 일정·할일을 텔레그램으로 발송.
|
||||
// 텔레그램/캘린더 미연결이면 fire 시점에 조용히 skip (로그만).
|
||||
|
||||
Reference in New Issue
Block a user