hanseol-dev 5.0.3-dev.7 → 5.0.3-dev.8

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.
@@ -305,7 +305,7 @@ function injectTitleContrastFix(html, designTextColor) {
305
305
  function injectOverflowScale(html) {
306
306
  const script = `<script>(function(){` +
307
307
  `var b=document.body;var h=b.scrollHeight;` +
308
- `if(h>1085){var s=Math.max(0.75,1080/h);` +
308
+ `if(h>1085){var s=Math.max(0.85,1080/h);` +
309
309
  `b.style.transform='scale('+s+')';` +
310
310
  `b.style.transformOrigin='top left';` +
311
311
  `b.style.width=(1920/s)+'px';` +
@@ -384,8 +384,8 @@ export function validateSlideHtml(html, layoutType) {
384
384
  .replace(/<[^>]+>/g, ' ')
385
385
  .replace(/\s+/g, ' ')
386
386
  .trim();
387
- if (visibleText.length > 3000) {
388
- return { pass: false, feedback: `Content overflow risk: ${visibleText.length} chars of visible text. Reduce to under 3000 chars to prevent overflow on 1920×1080.` };
387
+ if (visibleText.length > 2200) {
388
+ return { pass: false, feedback: `Content overflow risk: ${visibleText.length} chars of visible text. Reduce to under 2200 chars to prevent overflow on 1920×1080.` };
389
389
  }
390
390
  const smallFonts = html.match(/font-size\s*:\s*(\d+)px/gi) || [];
391
391
  for (const match of smallFonts) {
@@ -7,7 +7,7 @@ export declare const PROJECTS_DIR: string;
7
7
  export declare const CREDENTIALS_FILE_PATH: string;
8
8
  export declare const APP_NAME = "hanseol-dev";
9
9
  export declare const SERVICE_ID = "hanseol";
10
- export declare const APP_VERSION = "5.0.3-dev.7";
10
+ export declare const APP_VERSION = "5.0.3-dev.8";
11
11
  export declare const DASHBOARD_URL = "https://52.78.246.50.nip.io";
12
12
  export declare const ONCE_URL = "https://52.78.246.50.nip.io:5090";
13
13
  export declare const FREE_URL = "https://52.78.246.50.nip.io:6090";
package/dist/constants.js CHANGED
@@ -9,7 +9,7 @@ export const PROJECTS_DIR = path.join(LOCAL_HOME_DIR, 'projects');
9
9
  export const CREDENTIALS_FILE_PATH = path.join(LOCAL_HOME_DIR, 'credentials.json');
10
10
  export const APP_NAME = 'hanseol-dev';
11
11
  export const SERVICE_ID = 'hanseol';
12
- export const APP_VERSION = '5.0.3-dev.7';
12
+ export const APP_VERSION = '5.0.3-dev.8';
13
13
  export const DASHBOARD_URL = 'https://52.78.246.50.nip.io';
14
14
  export const ONCE_URL = 'https://52.78.246.50.nip.io:5090';
15
15
  export const FREE_URL = 'https://52.78.246.50.nip.io:6090';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanseol-dev",
3
- "version": "5.0.3-dev.7",
3
+ "version": "5.0.3-dev.8",
4
4
  "description": "Hanseol - OpenAI-Compatible Coding Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",