ide-assi 0.606.0 → 0.608.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.
- package/dist/bundle.cjs.js +13 -12
- package/dist/bundle.esm.js +13 -12
- package/dist/components/ideAi.js +11 -10
- package/dist/components/ideDiff.js +2 -2
- package/package.json +1 -1
- package/src/components/ideAi.js +11 -10
- package/src/components/ideDiff.js +2 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -202271,7 +202271,7 @@ class IdeAi
|
|
|
202271
202271
|
const activeIndex = this.#findActiveDetailWrapperIndex();
|
|
202272
202272
|
const javascriptFrom = activeIndex ? javascript + "-detail-" + activeIndex : javascript;
|
|
202273
202273
|
|
|
202274
|
-
console.log("************", javascriptFrom, javascriptTo);
|
|
202274
|
+
//console.log("************", javascriptFrom, javascriptTo);
|
|
202275
202275
|
|
|
202276
202276
|
return {
|
|
202277
202277
|
package: packageName,
|
|
@@ -202522,7 +202522,7 @@ console.log(el, href, title);
|
|
|
202522
202522
|
const href = el.getAttribute("href");
|
|
202523
202523
|
const title = el.getAttribute("title");
|
|
202524
202524
|
|
|
202525
|
-
console.log(el, href, title);
|
|
202525
|
+
//console.log(el, href, title);
|
|
202526
202526
|
|
|
202527
202527
|
const srcPath = this.#getSourcePath(href);
|
|
202528
202528
|
console.log(srcPath);
|
|
@@ -202623,10 +202623,10 @@ console.log(el, href, title);
|
|
|
202623
202623
|
controllerSrc = src.controller;
|
|
202624
202624
|
}
|
|
202625
202625
|
|
|
202626
|
-
let
|
|
202627
|
-
let
|
|
202626
|
+
let jsSrcFrom;
|
|
202627
|
+
let jsSrcTo;
|
|
202628
202628
|
if (apply.javascript) {
|
|
202629
|
-
|
|
202629
|
+
jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
|
|
202630
202630
|
userPrompt: userPrompt,
|
|
202631
202631
|
mybatis: srcPath.mybatis,
|
|
202632
202632
|
originSrc: src.javascriptFrom,
|
|
@@ -202638,9 +202638,9 @@ console.log(el, href, title);
|
|
|
202638
202638
|
tableDefinitions: JSON.stringify(columnInfo),
|
|
202639
202639
|
});
|
|
202640
202640
|
//this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
202641
|
-
progressMessageInstance.updateProgress('javascript', 'completed');
|
|
202641
|
+
//progressMessageInstance.updateProgress('javascript', 'completed');
|
|
202642
202642
|
|
|
202643
|
-
|
|
202643
|
+
jsSrcTo = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Detail.txt", "reactTo.jsx", {
|
|
202644
202644
|
userPrompt: userPrompt,
|
|
202645
202645
|
mybatis: srcPath.mybatis,
|
|
202646
202646
|
originSrc: src.javascriptTo,
|
|
@@ -202670,7 +202670,7 @@ console.log(el, href, title);
|
|
|
202670
202670
|
*/
|
|
202671
202671
|
}
|
|
202672
202672
|
else {
|
|
202673
|
-
|
|
202673
|
+
jsSrcTo = src.javascriptTo;
|
|
202674
202674
|
}
|
|
202675
202675
|
|
|
202676
202676
|
//await this.#generateRealFile(srcPath, apply);
|
|
@@ -202692,14 +202692,15 @@ console.log(el, href, title);
|
|
|
202692
202692
|
},
|
|
202693
202693
|
javascript: {
|
|
202694
202694
|
path: srcPath.javascriptToPullPath,
|
|
202695
|
-
src:
|
|
202695
|
+
src: jsSrcTo,
|
|
202696
202696
|
},
|
|
202697
202697
|
javascript2: {
|
|
202698
202698
|
path: srcPath.javascriptFromPullPath,
|
|
202699
|
-
src:
|
|
202699
|
+
src: jsSrcFrom,
|
|
202700
202700
|
},
|
|
202701
202701
|
};
|
|
202702
202702
|
|
|
202703
|
+
console.log(srcPath.javascriptToPullPath, jsSrcTo);
|
|
202703
202704
|
|
|
202704
202705
|
if (apply.javascript) {
|
|
202705
202706
|
apply.javascript2 = true;
|
|
@@ -236376,7 +236377,7 @@ class IdeDiff extends HTMLElement {
|
|
|
236376
236377
|
dmp.diff_cleanupSemantic(diffs);
|
|
236377
236378
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
236378
236379
|
|
|
236379
|
-
console.log("Calculated Diffs:", diffs);
|
|
236380
|
+
//console.log("Calculated Diffs:", diffs);
|
|
236380
236381
|
|
|
236381
236382
|
const asisLineBuilder = new RangeSetBuilder();
|
|
236382
236383
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
@@ -236494,7 +236495,7 @@ class IdeDiff extends HTMLElement {
|
|
|
236494
236495
|
}
|
|
236495
236496
|
|
|
236496
236497
|
|
|
236497
|
-
console.log(src1, src2, language);
|
|
236498
|
+
//console.log(src1, src2, language);
|
|
236498
236499
|
|
|
236499
236500
|
this.#isScrollSyncActive = false;
|
|
236500
236501
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202267,7 +202267,7 @@ class IdeAi
|
|
|
202267
202267
|
const activeIndex = this.#findActiveDetailWrapperIndex();
|
|
202268
202268
|
const javascriptFrom = activeIndex ? javascript + "-detail-" + activeIndex : javascript;
|
|
202269
202269
|
|
|
202270
|
-
console.log("************", javascriptFrom, javascriptTo);
|
|
202270
|
+
//console.log("************", javascriptFrom, javascriptTo);
|
|
202271
202271
|
|
|
202272
202272
|
return {
|
|
202273
202273
|
package: packageName,
|
|
@@ -202518,7 +202518,7 @@ console.log(el, href, title);
|
|
|
202518
202518
|
const href = el.getAttribute("href");
|
|
202519
202519
|
const title = el.getAttribute("title");
|
|
202520
202520
|
|
|
202521
|
-
console.log(el, href, title);
|
|
202521
|
+
//console.log(el, href, title);
|
|
202522
202522
|
|
|
202523
202523
|
const srcPath = this.#getSourcePath(href);
|
|
202524
202524
|
console.log(srcPath);
|
|
@@ -202619,10 +202619,10 @@ console.log(el, href, title);
|
|
|
202619
202619
|
controllerSrc = src.controller;
|
|
202620
202620
|
}
|
|
202621
202621
|
|
|
202622
|
-
let
|
|
202623
|
-
let
|
|
202622
|
+
let jsSrcFrom;
|
|
202623
|
+
let jsSrcTo;
|
|
202624
202624
|
if (apply.javascript) {
|
|
202625
|
-
|
|
202625
|
+
jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
|
|
202626
202626
|
userPrompt: userPrompt,
|
|
202627
202627
|
mybatis: srcPath.mybatis,
|
|
202628
202628
|
originSrc: src.javascriptFrom,
|
|
@@ -202634,9 +202634,9 @@ console.log(el, href, title);
|
|
|
202634
202634
|
tableDefinitions: JSON.stringify(columnInfo),
|
|
202635
202635
|
});
|
|
202636
202636
|
//this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
202637
|
-
progressMessageInstance.updateProgress('javascript', 'completed');
|
|
202637
|
+
//progressMessageInstance.updateProgress('javascript', 'completed');
|
|
202638
202638
|
|
|
202639
|
-
|
|
202639
|
+
jsSrcTo = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Detail.txt", "reactTo.jsx", {
|
|
202640
202640
|
userPrompt: userPrompt,
|
|
202641
202641
|
mybatis: srcPath.mybatis,
|
|
202642
202642
|
originSrc: src.javascriptTo,
|
|
@@ -202666,7 +202666,7 @@ console.log(el, href, title);
|
|
|
202666
202666
|
*/
|
|
202667
202667
|
}
|
|
202668
202668
|
else {
|
|
202669
|
-
|
|
202669
|
+
jsSrcTo = src.javascriptTo;
|
|
202670
202670
|
}
|
|
202671
202671
|
|
|
202672
202672
|
//await this.#generateRealFile(srcPath, apply);
|
|
@@ -202688,14 +202688,15 @@ console.log(el, href, title);
|
|
|
202688
202688
|
},
|
|
202689
202689
|
javascript: {
|
|
202690
202690
|
path: srcPath.javascriptToPullPath,
|
|
202691
|
-
src:
|
|
202691
|
+
src: jsSrcTo,
|
|
202692
202692
|
},
|
|
202693
202693
|
javascript2: {
|
|
202694
202694
|
path: srcPath.javascriptFromPullPath,
|
|
202695
|
-
src:
|
|
202695
|
+
src: jsSrcFrom,
|
|
202696
202696
|
},
|
|
202697
202697
|
};
|
|
202698
202698
|
|
|
202699
|
+
console.log(srcPath.javascriptToPullPath, jsSrcTo);
|
|
202699
202700
|
|
|
202700
202701
|
if (apply.javascript) {
|
|
202701
202702
|
apply.javascript2 = true;
|
|
@@ -236372,7 +236373,7 @@ class IdeDiff extends HTMLElement {
|
|
|
236372
236373
|
dmp.diff_cleanupSemantic(diffs);
|
|
236373
236374
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
236374
236375
|
|
|
236375
|
-
console.log("Calculated Diffs:", diffs);
|
|
236376
|
+
//console.log("Calculated Diffs:", diffs);
|
|
236376
236377
|
|
|
236377
236378
|
const asisLineBuilder = new RangeSetBuilder();
|
|
236378
236379
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
@@ -236490,7 +236491,7 @@ class IdeDiff extends HTMLElement {
|
|
|
236490
236491
|
}
|
|
236491
236492
|
|
|
236492
236493
|
|
|
236493
|
-
console.log(src1, src2, language);
|
|
236494
|
+
//console.log(src1, src2, language);
|
|
236494
236495
|
|
|
236495
236496
|
this.#isScrollSyncActive = false;
|
|
236496
236497
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -401,7 +401,7 @@ export class IdeAi
|
|
|
401
401
|
const activeIndex = this.#findActiveDetailWrapperIndex();
|
|
402
402
|
const javascriptFrom = activeIndex ? javascript + "-detail-" + activeIndex : javascript;
|
|
403
403
|
|
|
404
|
-
console.log("************", javascriptFrom, javascriptTo);
|
|
404
|
+
//console.log("************", javascriptFrom, javascriptTo);
|
|
405
405
|
|
|
406
406
|
return {
|
|
407
407
|
package: packageName,
|
|
@@ -652,7 +652,7 @@ console.log(el, href, title);
|
|
|
652
652
|
const href = el.getAttribute("href");
|
|
653
653
|
const title = el.getAttribute("title");
|
|
654
654
|
|
|
655
|
-
console.log(el, href, title);
|
|
655
|
+
//console.log(el, href, title);
|
|
656
656
|
|
|
657
657
|
const srcPath = this.#getSourcePath(href);
|
|
658
658
|
console.log(srcPath);
|
|
@@ -753,10 +753,10 @@ console.log(el, href, title);
|
|
|
753
753
|
controllerSrc = src.controller;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
let
|
|
757
|
-
let
|
|
756
|
+
let jsSrcFrom;
|
|
757
|
+
let jsSrcTo;
|
|
758
758
|
if (apply.javascript) {
|
|
759
|
-
|
|
759
|
+
jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
|
|
760
760
|
userPrompt: userPrompt,
|
|
761
761
|
mybatis: srcPath.mybatis,
|
|
762
762
|
originSrc: src.javascriptFrom,
|
|
@@ -768,9 +768,9 @@ console.log(el, href, title);
|
|
|
768
768
|
tableDefinitions: JSON.stringify(columnInfo),
|
|
769
769
|
});
|
|
770
770
|
//this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
771
|
-
progressMessageInstance.updateProgress('javascript', 'completed');
|
|
771
|
+
//progressMessageInstance.updateProgress('javascript', 'completed');
|
|
772
772
|
|
|
773
|
-
|
|
773
|
+
jsSrcTo = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Detail.txt", "reactTo.jsx", {
|
|
774
774
|
userPrompt: userPrompt,
|
|
775
775
|
mybatis: srcPath.mybatis,
|
|
776
776
|
originSrc: src.javascriptTo,
|
|
@@ -800,7 +800,7 @@ console.log(el, href, title);
|
|
|
800
800
|
*/
|
|
801
801
|
}
|
|
802
802
|
else {
|
|
803
|
-
|
|
803
|
+
jsSrcTo = src.javascriptTo;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
//await this.#generateRealFile(srcPath, apply);
|
|
@@ -822,14 +822,15 @@ console.log(el, href, title);
|
|
|
822
822
|
},
|
|
823
823
|
javascript: {
|
|
824
824
|
path: srcPath.javascriptToPullPath,
|
|
825
|
-
src:
|
|
825
|
+
src: jsSrcTo,
|
|
826
826
|
},
|
|
827
827
|
javascript2: {
|
|
828
828
|
path: srcPath.javascriptFromPullPath,
|
|
829
|
-
src:
|
|
829
|
+
src: jsSrcFrom,
|
|
830
830
|
},
|
|
831
831
|
};
|
|
832
832
|
|
|
833
|
+
console.log(srcPath.javascriptToPullPath, jsSrcTo);
|
|
833
834
|
|
|
834
835
|
if (apply.javascript) {
|
|
835
836
|
apply.javascript2 = true;
|
|
@@ -351,7 +351,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
351
351
|
dmp.diff_cleanupSemantic(diffs);
|
|
352
352
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
353
353
|
|
|
354
|
-
console.log("Calculated Diffs:", diffs);
|
|
354
|
+
//console.log("Calculated Diffs:", diffs);
|
|
355
355
|
|
|
356
356
|
const asisLineBuilder = new RangeSetBuilder();
|
|
357
357
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
@@ -469,7 +469,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
|
|
472
|
-
console.log(src1, src2, language);
|
|
472
|
+
//console.log(src1, src2, language);
|
|
473
473
|
|
|
474
474
|
this.#isScrollSyncActive = false;
|
|
475
475
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -401,7 +401,7 @@ export class IdeAi
|
|
|
401
401
|
const activeIndex = this.#findActiveDetailWrapperIndex();
|
|
402
402
|
const javascriptFrom = activeIndex ? javascript + "-detail-" + activeIndex : javascript;
|
|
403
403
|
|
|
404
|
-
console.log("************", javascriptFrom, javascriptTo);
|
|
404
|
+
//console.log("************", javascriptFrom, javascriptTo);
|
|
405
405
|
|
|
406
406
|
return {
|
|
407
407
|
package: packageName,
|
|
@@ -652,7 +652,7 @@ console.log(el, href, title);
|
|
|
652
652
|
const href = el.getAttribute("href");
|
|
653
653
|
const title = el.getAttribute("title");
|
|
654
654
|
|
|
655
|
-
console.log(el, href, title);
|
|
655
|
+
//console.log(el, href, title);
|
|
656
656
|
|
|
657
657
|
const srcPath = this.#getSourcePath(href);
|
|
658
658
|
console.log(srcPath);
|
|
@@ -753,10 +753,10 @@ console.log(el, href, title);
|
|
|
753
753
|
controllerSrc = src.controller;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
let
|
|
757
|
-
let
|
|
756
|
+
let jsSrcFrom;
|
|
757
|
+
let jsSrcTo;
|
|
758
758
|
if (apply.javascript) {
|
|
759
|
-
|
|
759
|
+
jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
|
|
760
760
|
userPrompt: userPrompt,
|
|
761
761
|
mybatis: srcPath.mybatis,
|
|
762
762
|
originSrc: src.javascriptFrom,
|
|
@@ -768,9 +768,9 @@ console.log(el, href, title);
|
|
|
768
768
|
tableDefinitions: JSON.stringify(columnInfo),
|
|
769
769
|
});
|
|
770
770
|
//this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
|
|
771
|
-
progressMessageInstance.updateProgress('javascript', 'completed');
|
|
771
|
+
//progressMessageInstance.updateProgress('javascript', 'completed');
|
|
772
772
|
|
|
773
|
-
|
|
773
|
+
jsSrcTo = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Detail.txt", "reactTo.jsx", {
|
|
774
774
|
userPrompt: userPrompt,
|
|
775
775
|
mybatis: srcPath.mybatis,
|
|
776
776
|
originSrc: src.javascriptTo,
|
|
@@ -800,7 +800,7 @@ console.log(el, href, title);
|
|
|
800
800
|
*/
|
|
801
801
|
}
|
|
802
802
|
else {
|
|
803
|
-
|
|
803
|
+
jsSrcTo = src.javascriptTo;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
//await this.#generateRealFile(srcPath, apply);
|
|
@@ -822,14 +822,15 @@ console.log(el, href, title);
|
|
|
822
822
|
},
|
|
823
823
|
javascript: {
|
|
824
824
|
path: srcPath.javascriptToPullPath,
|
|
825
|
-
src:
|
|
825
|
+
src: jsSrcTo,
|
|
826
826
|
},
|
|
827
827
|
javascript2: {
|
|
828
828
|
path: srcPath.javascriptFromPullPath,
|
|
829
|
-
src:
|
|
829
|
+
src: jsSrcFrom,
|
|
830
830
|
},
|
|
831
831
|
};
|
|
832
832
|
|
|
833
|
+
console.log(srcPath.javascriptToPullPath, jsSrcTo);
|
|
833
834
|
|
|
834
835
|
if (apply.javascript) {
|
|
835
836
|
apply.javascript2 = true;
|
|
@@ -351,7 +351,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
351
351
|
dmp.diff_cleanupSemantic(diffs);
|
|
352
352
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
353
353
|
|
|
354
|
-
console.log("Calculated Diffs:", diffs);
|
|
354
|
+
//console.log("Calculated Diffs:", diffs);
|
|
355
355
|
|
|
356
356
|
const asisLineBuilder = new RangeSetBuilder();
|
|
357
357
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
@@ -469,7 +469,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
|
|
472
|
-
console.log(src1, src2, language);
|
|
472
|
+
//console.log(src1, src2, language);
|
|
473
473
|
|
|
474
474
|
this.#isScrollSyncActive = false;
|
|
475
475
|
|