Changeset 0.28.3 (#187)

This commit is contained in:
2026-03-14 12:30:57 +00:00
parent b2c03be001
commit f68a58b073
46 changed files with 1589 additions and 107 deletions

View File

@@ -2,6 +2,11 @@
// Chat Switchboard Token Estimation
// ==========================================
// Context tracking, token estimation, and context warning.
//
// Exports: window.Tokens,window.updateInputTokens,window.updateContextWarning
(function() {
'use strict';
// ── Token Estimation + Context Tracking ─────
@@ -157,3 +162,9 @@ function dismissContextWarning() {
const el = document.getElementById('contextWarning');
if (el) el.style.display = 'none';
}
// ── Exports ─────────────────────────────────
window.Tokens = Tokens;
window.updateInputTokens = updateInputTokens;
window.updateContextWarning = updateContextWarning;
})();