@nine-lab/nine-mu 0.1.78 → 0.1.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -22,7 +22,11 @@ export class NineChat extends HTMLElement {
22
22
 
23
23
 
24
24
  const res = await api.post("/nine-mu/config/get", {});
25
- res?.userDir + "/" + this.getAttribute('package-name') + "/public/prompts/data/routes.json";
25
+ const routeUrl = res?.userDir + "/" + this.getAttribute('package-name') + "/public/prompts/data/routes.json";
26
+ trace.log(routeUrl);
27
+
28
+ const res2 = await api.post("/nine-mu/source/readFile", { path: routeUrl });
29
+ trace.log(res2);
26
30
 
27
31
  const r = await fetch(routeUrl);
28
32
  if (!r.ok) {
@@ -33,7 +37,7 @@ export class NineChat extends HTMLElement {
33
37
 
34
38
 
35
39
 
36
- console.log(asisSource);
40
+ trace.log(asisSource);
37
41
 
38
42
  // 경로 데이터 로드
39
43
  this.#routes = await this.#service.fetchRoutes(this.getAttribute('route-url'));