@cliphijack/santaclaude 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/santaclaude.js +3 -2
package/package.json
CHANGED
package/santaclaude.js
CHANGED
|
@@ -76,8 +76,8 @@ function listWindows(session) {
|
|
|
76
76
|
}
|
|
77
77
|
// 각 루돌프(탭) 화면 캡처 — 웹 미러용 (마지막 ~30줄)
|
|
78
78
|
function captureWindow(session, name) {
|
|
79
|
-
// -e: ANSI 색상 보존(웹에서 터미널 색 재현), -S -
|
|
80
|
-
try { return execFileSync('tmux', ['capture-pane', '-t', session + ':' + name, '-p', '-e', '-S', '-
|
|
79
|
+
// -e: ANSI 색상 보존(웹에서 터미널 색 재현), -S -700: 최근 700줄 (반응속도 vs 스크롤 균형 — 2000은 렌더 비용 4배라 맥에서 느림)
|
|
80
|
+
try { return execFileSync('tmux', ['capture-pane', '-t', session + ':' + name, '-p', '-e', '-S', '-700'], { encoding: 'utf8' }).replace(/\n+$/, '').slice(-75000); }
|
|
81
81
|
catch (e) { return ''; }
|
|
82
82
|
}
|
|
83
83
|
// 🔍 로컬 스킬 발견 — ~/.claude/skills + 각 루돌프 프로젝트 .claude/skills 스캔 (등록 누를 때만 1회)
|
|
@@ -333,6 +333,7 @@ async function run(conf) {
|
|
|
333
333
|
let txState = { until: 0, off: 0, file: null, win: '' }; // 💬 루돌프톡 라이브: 무장시각·읽은 오프셋·세션파일·창
|
|
334
334
|
|
|
335
335
|
cleanOldImages();
|
|
336
|
+
try { execFileSync('tmux', ['set-option', '-g', 'history-limit', '50000'], { stdio: 'ignore' }); } catch (e) {} // 새로 띄우는 루돌프 pane은 스크롤백 5만줄(기존 pane은 유지)
|
|
336
337
|
console.log(`🛷 SantaClaude 커넥터 가동 — pane=${pane} · ${every / 1000}s 폴링 · ${api}`);
|
|
337
338
|
if (paneExists(pane)) {
|
|
338
339
|
// 기존(고객) 세션엔 사람이 안 붙어있을 때만 리사이즈 — 직접 쓰고 있으면 화면 절대 안 건드림
|