@nine-lab/nine-mu 0.1.356 → 0.1.358
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/dist/nine-mu.js +28 -24
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/exception/ExceptionHook.js +19 -17
package/dist/nine-mu.js
CHANGED
|
@@ -17538,7 +17538,7 @@ render_fn = function() {
|
|
|
17538
17538
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
17539
17539
|
this.shadowRoot.innerHTML = `
|
|
17540
17540
|
<style>
|
|
17541
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17541
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.357"}/dist/css/nine-mu.css";
|
|
17542
17542
|
${customImport}
|
|
17543
17543
|
</style>
|
|
17544
17544
|
<div class="wrapper">
|
|
@@ -43788,7 +43788,7 @@ class NineDiff extends HTMLElement {
|
|
|
43788
43788
|
const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
|
|
43789
43789
|
this.shadowRoot.innerHTML = `
|
|
43790
43790
|
<style>
|
|
43791
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43791
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.357"}/dist/css/nine-mu.css";
|
|
43792
43792
|
${customImport}
|
|
43793
43793
|
</style>
|
|
43794
43794
|
|
|
@@ -43928,7 +43928,7 @@ renderScaffolding_fn = function() {
|
|
|
43928
43928
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43929
43929
|
this.shadowRoot.innerHTML = `
|
|
43930
43930
|
<style>
|
|
43931
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43931
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.357"}/dist/css/nine-mu.css";
|
|
43932
43932
|
${customImport}
|
|
43933
43933
|
</style>
|
|
43934
43934
|
|
|
@@ -44037,7 +44037,7 @@ render_fn2 = function() {
|
|
|
44037
44037
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44038
44038
|
this.shadowRoot.innerHTML = `
|
|
44039
44039
|
<style>
|
|
44040
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44040
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.357"}/dist/css/nine-mu.css";
|
|
44041
44041
|
${customImport}
|
|
44042
44042
|
</style>
|
|
44043
44043
|
|
|
@@ -44367,7 +44367,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44367
44367
|
const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
|
|
44368
44368
|
this.shadowRoot.innerHTML = `
|
|
44369
44369
|
<style>
|
|
44370
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44370
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.357"}/dist/css/nine-mu.css";
|
|
44371
44371
|
${customImport}
|
|
44372
44372
|
</style>
|
|
44373
44373
|
|
|
@@ -44467,24 +44467,33 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44467
44467
|
}
|
|
44468
44468
|
const NineExceptionStyles = {
|
|
44469
44469
|
container: {
|
|
44470
|
-
padding: "25px",
|
|
44471
|
-
|
|
44470
|
+
padding: "20px 25px",
|
|
44471
|
+
// 위아래 여백을 적절히 줄여 꽉 찬 느낌 유도
|
|
44472
|
+
margin: "20px 0",
|
|
44473
|
+
// 좌우 마진을 없애 부모 너비에 100% 꽉 차게 설정
|
|
44472
44474
|
background: "#121314",
|
|
44475
|
+
// 터미널 다크 블랙 배경
|
|
44473
44476
|
border: "1px solid #343A40",
|
|
44474
44477
|
borderRadius: "6px",
|
|
44478
|
+
// ⭐ 모든 요소가 완벽한 터미널 정렬을 갖추도록 고정폭 서체를 부모에 강제 주입
|
|
44475
44479
|
fontFamily: 'Consolas, Monaco, "Courier New", monospace',
|
|
44476
44480
|
textAlign: "left",
|
|
44477
44481
|
boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
|
|
44478
|
-
//
|
|
44479
|
-
|
|
44482
|
+
// 내부 라인들을 인라인 텍스트 흐름처럼 촘촘하게 쌓기 위해 flex 간격 조정
|
|
44483
|
+
display: "flex",
|
|
44484
|
+
flexDirection: "column",
|
|
44485
|
+
gap: "10px",
|
|
44486
|
+
// 줄간 간격을 10px로 타이트하게 조여 터미널 감성 극대화
|
|
44487
|
+
lineHeight: "1.2"
|
|
44488
|
+
// 모든 라인의 글자 높이 기준 통일
|
|
44480
44489
|
},
|
|
44481
44490
|
systemError: {
|
|
44482
44491
|
color: "#999",
|
|
44483
|
-
//
|
|
44492
|
+
// 요청하신 대로 #999 색상 지정
|
|
44484
44493
|
fontWeight: "bold",
|
|
44485
44494
|
fontSize: "14px",
|
|
44486
44495
|
margin: "0",
|
|
44487
|
-
//
|
|
44496
|
+
// 수동 마진 제거 (부모 gap으로 일괄 제어)
|
|
44488
44497
|
letterSpacing: "0.5px",
|
|
44489
44498
|
padding: "0"
|
|
44490
44499
|
},
|
|
@@ -44493,46 +44502,41 @@ const NineExceptionStyles = {
|
|
|
44493
44502
|
color: "#F8F9FA",
|
|
44494
44503
|
padding: "0",
|
|
44495
44504
|
margin: "0",
|
|
44496
|
-
//
|
|
44505
|
+
// pre 태그 고유의 불규칙한 여백 완전 제거
|
|
44497
44506
|
border: "none",
|
|
44498
44507
|
overflowX: "auto",
|
|
44499
44508
|
whiteSpace: "pre-wrap",
|
|
44500
44509
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44501
44510
|
fontSize: "14px",
|
|
44502
|
-
// 4. 추가: 브라우저가 pre 태그에 임의로 잡는 베이스라인 정렬을 강제로 리셋
|
|
44503
44511
|
display: "block"
|
|
44504
44512
|
},
|
|
44505
44513
|
footer: {
|
|
44506
44514
|
fontSize: "14px",
|
|
44507
44515
|
color: "#999",
|
|
44508
|
-
// ⭐ 전체 기본 텍스트 톤을 #999로 변경
|
|
44509
44516
|
margin: "0",
|
|
44510
44517
|
padding: "0",
|
|
44511
44518
|
display: "flex",
|
|
44512
44519
|
flexDirection: "column",
|
|
44513
|
-
gap: "
|
|
44514
|
-
//
|
|
44520
|
+
gap: "10px"
|
|
44521
|
+
// 후속 로그가 찍힐 때도 동일한 간격 유지
|
|
44515
44522
|
},
|
|
44516
44523
|
promptRow: {
|
|
44517
44524
|
margin: "0",
|
|
44518
44525
|
padding: "0",
|
|
44519
44526
|
display: "block",
|
|
44520
|
-
lineHeight: "1",
|
|
44521
|
-
// 줄간 격차 원천 차단
|
|
44522
44527
|
color: "#999"
|
|
44523
|
-
//
|
|
44528
|
+
// 대화형 구문도 완벽하게 #999 색상 일치
|
|
44524
44529
|
},
|
|
44525
44530
|
cliLink: {
|
|
44526
44531
|
color: "#38A169",
|
|
44527
|
-
//
|
|
44528
|
-
padding: "0",
|
|
44532
|
+
// 선택지 y는 선명한 터미널 그린
|
|
44533
|
+
padding: "0 2px",
|
|
44529
44534
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44530
44535
|
fontSize: "14px",
|
|
44531
44536
|
fontWeight: "bold",
|
|
44532
44537
|
cursor: "pointer",
|
|
44533
44538
|
textDecoration: "underline",
|
|
44534
|
-
textUnderlineOffset: "3px"
|
|
44535
|
-
lineHeight: "1"
|
|
44539
|
+
textUnderlineOffset: "3px"
|
|
44536
44540
|
}
|
|
44537
44541
|
};
|
|
44538
44542
|
class NineExceptionHook extends React.Component {
|
|
@@ -44651,7 +44655,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44651
44655
|
}
|
|
44652
44656
|
}
|
|
44653
44657
|
const NineMu = {
|
|
44654
|
-
version: "0.1.
|
|
44658
|
+
version: "0.1.357",
|
|
44655
44659
|
init: (config2) => {
|
|
44656
44660
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44657
44661
|
}
|