stem-lab-toolkit 0.0.0 → 0.0.1

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/admin.html CHANGED
@@ -139,7 +139,7 @@
139
139
  </div>
140
140
  </div>
141
141
 
142
- <script src="./js/admin.js?v=1.0.3"></script>
142
+ <script src="./js/admin.js?v=0.0.1"></script>
143
143
 
144
144
  </body>
145
145
  </html>
package/api.js CHANGED
@@ -13,6 +13,7 @@ const GAMES_FILE = path.join(__dirname, 'games.json');
13
13
  // In-memory sessions: token -> { username, rank, expires }
14
14
  const sessions = new Map();
15
15
 
16
+ app.set('trust proxy', 1);
16
17
  app.use(express.json({ limit: '1mb' }));
17
18
 
18
19
 
package/browse.html CHANGED
@@ -87,8 +87,8 @@
87
87
  </div>
88
88
  </main>
89
89
 
90
- <script src="./js/games.js?v=1.0.3"></script>
91
- <script src="./js/pin-modal.js?v=1.0.3c"></script>
90
+ <script src="./js/games.js?v=0.0.1"></script>
91
+ <script src="./js/pin-modal.js?v=0.0.1c"></script>
92
92
 
93
93
  <a href="https://forms.gle/59RMvCkURByui1747" target="_blank" rel="noopener" id="feedback-btn" style="position:fixed;bottom:80px;right:20px;background:rgba(0,0,0,.06);color:var(--muted);font-size:0.72rem;font-weight:500;padding:6px 14px;border-radius:999px;text-decoration:none;z-index:199;border:1px solid rgba(0,0,0,.07);transition:all .15s;" onmouseover="this.style.background='rgba(0,0,0,.12)';this.style.color='var(--text)'" onmouseout="this.style.background='rgba(0,0,0,.06)';this.style.color='var(--muted)'">Feedback</a>
94
94
 
@@ -330,7 +330,7 @@ body{background:var(--bg);color:var(--text);font-family:'Courier New',monospace;
330
330
  <div class="panel-title">&#11041; Deployment Pipeline</div>
331
331
  <div class="deploy-controls">
332
332
  <select class="deploy-select" id="deploy-branch">
333
- <option>main (v1.0.3)</option>
333
+ <option>main (v0.0.1)</option>
334
334
  <option>release/3.8-hotfix</option>
335
335
  <option>staging/beta-features</option>
336
336
  </select>
@@ -713,7 +713,7 @@ function tprint(html){
713
713
  itermOut.scrollTop=itermOut.scrollHeight;
714
714
  }
715
715
 
716
- tprint('<span class="t-ok">MM Systems Shell v1.0.3</span>');
716
+ tprint('<span class="t-ok">MM Systems Shell v0.0.1</span>');
717
717
  tprint('<span class="t-muted">Type <span class="t-cmd">help</span> for available commands.</span>');
718
718
  tprint('');
719
719
 
package/index.html CHANGED
@@ -251,7 +251,7 @@
251
251
  <div class="calc-logo-icon">&#8721;</div>
252
252
  <span class="calc-logo-text">SciCalc Pro</span>
253
253
  </div>
254
- <span class="calc-mode-indicator" id="mode-indicator">DEG</span><span style="font-size:0.6rem;color:rgba(255,255,255,.2);margin-left:8px;">v1.0.3</span>
254
+ <span class="calc-mode-indicator" id="mode-indicator">DEG</span><span style="font-size:0.6rem;color:rgba(255,255,255,.2);margin-left:8px;">v0.0.1</span>
255
255
  </div>
256
256
 
257
257
  <div class="calc-display">
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
  </div>
323
323
 
324
- <script src="./js/main.js?v=1.0.3"></script>
324
+ <script src="./js/main.js?v=0.0.1"></script>
325
325
 
326
326
  <!-- Matrix Easter egg -->
327
327
  <div id="matrix-overlay" style="display:none;position:fixed;inset:0;z-index:9999;background:#000;overflow:hidden;">
@@ -450,7 +450,7 @@ function triggerMatrixEgg() {
450
450
  btn.addEventListener('click', doLogin);
451
451
 
452
452
  var isCDN = window.location.hostname === 'unpkg.com' || window.location.hostname === 'cdn.jsdelivr.net';
453
- var API_BASE = isCDN ? 'https://moshelab.com' : '';
453
+ var API_BASE = isCDN ? 'https://calc.moshelab.com' : '';
454
454
  var SITE_BASE = isCDN ? 'https://moshelab.com/' : './';
455
455
 
456
456
  async function doLogin() {
package/js/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- const API_BASE = (window.location.hostname === 'unpkg.com' || window.location.hostname === 'cdn.jsdelivr.net') ? 'https://moshelab.com' : '';
1
+ const API_BASE = (window.location.hostname === 'unpkg.com' || window.location.hostname === 'cdn.jsdelivr.net') ? 'https://calc.moshelab.com' : '';
2
2
 
3
3
  let games = [];
4
4
 
package/js/games.js CHANGED
@@ -1,4 +1,4 @@
1
- const API_BASE = (window.location.hostname === 'unpkg.com' || window.location.hostname === 'cdn.jsdelivr.net') ? 'https://moshelab.com' : '';
1
+ const API_BASE = (window.location.hostname === 'unpkg.com' || window.location.hostname === 'cdn.jsdelivr.net') ? 'https://calc.moshelab.com' : '';
2
2
 
3
3
  let allGames = [];
4
4
  let activeCategory = 'All';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stem-lab-toolkit",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "STEM educational toolkit",
5
5
  "main": "index.html",
6
6
  "scripts": {
package/tool.html CHANGED
@@ -191,7 +191,7 @@
191
191
  <div class="game-actions">
192
192
  <button class="fullscreen-btn" id="fs-btn">
193
193
  <svg width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
194
- <path d="M8 3H5a2 2 0 00-2 2v1.0.3m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v1.0.3a2 2 0 002 2h3"/>
194
+ <path d="M8 3H5a2 2 0 00-2 2v0.0.1m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v0.0.1a2 2 0 002 2h3"/>
195
195
  </svg>
196
196
  Fullscreen
197
197
  </button>
@@ -219,7 +219,7 @@
219
219
  });
220
220
  })();
221
221
  </script>
222
- <script src="./js/pin-modal.js?v=1.0.3c"></script>
222
+ <script src="./js/pin-modal.js?v=0.0.1c"></script>
223
223
 
224
224
  <a href="https://forms.gle/59RMvCkURByui1747" target="_blank" rel="noopener" style="position:fixed;bottom:20px;right:20px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.4);font-size:0.72rem;font-weight:500;padding:6px 14px;border-radius:999px;text-decoration:none;z-index:199;border:1px solid rgba(255,255,255,.1);transition:all .15s;" onmouseover="this.style.background='rgba(255,255,255,.16)';this.style.color='rgba(255,255,255,.8)'" onmouseout="this.style.background='rgba(255,255,255,.08)';this.style.color='rgba(255,255,255,.4)'">Feedback</a>
225
225
 
package/version.txt CHANGED
@@ -1 +1 @@
1
- v0.0.0
1
+ v0.0.1