privateboard 0.1.0

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.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +120 -0
  3. package/dist/cli.js +10502 -0
  4. package/dist/cli.js.map +1 -0
  5. package/package.json +63 -0
  6. package/public/adjourn-overlay.css +253 -0
  7. package/public/agent-overlay.css +444 -0
  8. package/public/agent-overlay.js +604 -0
  9. package/public/agent-profile.css +3230 -0
  10. package/public/agent-profile.js +3329 -0
  11. package/public/app.js +6629 -0
  12. package/public/auto-hide-scroll.js +90 -0
  13. package/public/avatar-skill.js +793 -0
  14. package/public/avatars/chair.svg +98 -0
  15. package/public/avatars/first-principles.svg +122 -0
  16. package/public/avatars/long-horizon.svg +147 -0
  17. package/public/avatars/open_ai.png +0 -0
  18. package/public/avatars/phenomenologist.svg +130 -0
  19. package/public/avatars/socrates.svg +187 -0
  20. package/public/avatars/user-empathy.svg +117 -0
  21. package/public/avatars/value-investor.svg +117 -0
  22. package/public/favicon.svg +10 -0
  23. package/public/fonts/agent-Italic.woff2 +0 -0
  24. package/public/fonts/human-sans.woff2 +0 -0
  25. package/public/icons.css +103 -0
  26. package/public/models-cache.js +57 -0
  27. package/public/new-agent.css +1359 -0
  28. package/public/new-agent.js +675 -0
  29. package/public/onboarding.css +628 -0
  30. package/public/onboarding.js +782 -0
  31. package/public/prototype-dashboard.html +7596 -0
  32. package/public/report/spines/a16z-thesis.css +1055 -0
  33. package/public/report/spines/anthropic-essay.css +556 -0
  34. package/public/report/spines/boardroom-dark.css +1082 -0
  35. package/public/report/spines/gartner-note.css +538 -0
  36. package/public/report/spines/mckinsey-deck.css +523 -0
  37. package/public/report/spines/openai-paper.css +516 -0
  38. package/public/report.html +1417 -0
  39. package/public/room-settings.css +895 -0
  40. package/public/room-settings.js +1039 -0
  41. package/public/themes.css +338 -0
  42. package/public/user-settings.css +1236 -0
  43. package/public/user-settings.js +1291 -0
@@ -0,0 +1,90 @@
1
+ /* ═══════════════════════════════════════════
2
+ AUTO-HIDE SCROLL
3
+ Hides the scrollbar on registered containers when not scrolling,
4
+ shows it briefly while the user is scrolling. Mirrors macOS
5
+ "Show scroll bars · When scrolling" behavior.
6
+
7
+ Targets:
8
+ · sidebar rooms list (.sessions-scroll)
9
+ · sidebar agents list (.agents-scroll)
10
+ · chat transcript (.chat)
11
+ ═══════════════════════════════════════════ */
12
+ (function () {
13
+ const SELECTORS = [".sessions-scroll", ".agents-scroll", ".chat"];
14
+ const HIDE_DELAY = 700;
15
+
16
+ function injectStyles() {
17
+ if (document.getElementById("auto-hide-scroll-styles")) return;
18
+ const sel = SELECTORS.join(", ");
19
+ const wkScroll = SELECTORS.map((s) => `${s}::-webkit-scrollbar`).join(", ");
20
+ const wkTrack = SELECTORS.map((s) => `${s}::-webkit-scrollbar-track`).join(", ");
21
+ const wkThumb = SELECTORS.map((s) => `${s}::-webkit-scrollbar-thumb`).join(", ");
22
+ const wkThumbActive = SELECTORS.map((s) => `${s}.is-scrolling::-webkit-scrollbar-thumb`).join(", ");
23
+ const wkThumbHover = SELECTORS.map((s) => `${s}.is-scrolling::-webkit-scrollbar-thumb:hover`).join(", ");
24
+ const cssScrolling = SELECTORS.map((s) => `${s}.is-scrolling`).join(", ");
25
+
26
+ const style = document.createElement("style");
27
+ style.id = "auto-hide-scroll-styles";
28
+ style.textContent = `
29
+ ${sel} {
30
+ scrollbar-width: thin;
31
+ scrollbar-color: transparent transparent;
32
+ transition: scrollbar-color 0.3s ease;
33
+ }
34
+ ${cssScrolling} {
35
+ scrollbar-color: var(--line-strong, #3A3A35) transparent;
36
+ }
37
+ ${wkScroll} {
38
+ width: 8px;
39
+ height: 8px;
40
+ }
41
+ ${wkTrack} {
42
+ background: transparent;
43
+ }
44
+ ${wkThumb} {
45
+ background: transparent;
46
+ border-radius: 4px;
47
+ transition: background 0.3s ease;
48
+ }
49
+ ${wkThumbActive} {
50
+ background: var(--line-strong, #3A3A35);
51
+ }
52
+ ${wkThumbHover} {
53
+ background: var(--text-faint, #5C5A52);
54
+ }
55
+ `;
56
+ document.head.appendChild(style);
57
+ }
58
+
59
+ function attach(el) {
60
+ if (el.__autoHideAttached) return;
61
+ el.__autoHideAttached = true;
62
+ let timer = null;
63
+ const onScroll = () => {
64
+ el.classList.add("is-scrolling");
65
+ if (timer) clearTimeout(timer);
66
+ timer = setTimeout(() => el.classList.remove("is-scrolling"), HIDE_DELAY);
67
+ };
68
+ el.addEventListener("scroll", onScroll, { passive: true });
69
+ }
70
+
71
+ function attachAll() {
72
+ SELECTORS.forEach((sel) => {
73
+ document.querySelectorAll(sel).forEach(attach);
74
+ });
75
+ }
76
+
77
+ function init() {
78
+ injectStyles();
79
+ attachAll();
80
+ // Watch for late-rendered scroll containers (e.g. when tabs swap content)
81
+ const obs = new MutationObserver(() => attachAll());
82
+ obs.observe(document.body, { childList: true, subtree: true });
83
+ }
84
+
85
+ if (document.readyState === "loading") {
86
+ document.addEventListener("DOMContentLoaded", init);
87
+ } else {
88
+ init();
89
+ }
90
+ })();